HN user

rcfox

5,615 karma

ryan@rcfox.ca

http://rcfox.ca

@RyanFox

Posts104
Comments1,112
View on HN
cglab.ca 11y ago

Memory Layouts for Binary Search

rcfox
113pts24
www.onshape.com 11y ago

Introducing Onshape Beta

rcfox
5pts0
blogs.msdn.com 12y ago

Help me optimize this code which enumerates all possible GUIDs

rcfox
8pts0
www.forbes.com 12y ago

The Problems With Reinventing CAD Software

rcfox
1pts0
www.gamasutra.com 13y ago

The Top F2P Monetization Tricks

rcfox
6pts0
cstheory.stackexchange.com 13y ago

How do the state-of-the-art pathfinding algorithms for changing graphs differ?

rcfox
1pts0
stevehanov.ca 13y ago

How I run my business selling software to Americans

rcfox
3pts0
sourceforge.net 13y ago

Jedi Academy Source Code Released Under GPLv2

rcfox
3pts0
codesuppository.blogspot.ca 13y ago

So your teenager tells you they want to 'make video games' for a living...

rcfox
2pts0
embeddedgurus.com 13y ago

Real world variables

rcfox
1pts0
gustedt.wordpress.com 13y ago

Inline functions can be as good as templates

rcfox
1pts0
www.forbes.com 13y ago

Meet Cody Brocious, The Hacker Who Cracked Four Million Hotel Room Locks

rcfox
1pts0
www.greghendershott.com 13y ago

Fear of Macros

rcfox
3pts0
www.cst.uwaterloo.ca 14y ago

True Full-duplex Connectivity: The Future of Wireless

rcfox
1pts0
www.modernperlbooks.com 14y ago

Programming Breaks Things

rcfox
4pts0
www.goblinscomic.com 14y ago

How To Spot A Bad Critic

rcfox
2pts0
www.altdevblogaday.com 14y ago

Functional Programming in C++

rcfox
246pts43
penny-arcade.com 14y ago

How To Prevent Harassment in Online Games

rcfox
1pts0
www.cs.utah.edu 14y ago

Understanding Integer Overflow in C/C++

rcfox
2pts0
apenwarr.ca 14y ago

A profitable, growing, useful, legal, well-loved... failure

rcfox
436pts90
chrishanel.tumblr.com 14y ago

Android App Puts Ads on Free Webcomics

rcfox
4pts0
www2.macleans.ca 14y ago

Remember UBB? This is worse.

rcfox
1pts0
waxy.org 14y ago

YouTube's Content ID Disputes Are Judged by the Accuser

rcfox
2pts0
www.fortressofdoors.com 14y ago

Piracy and the Four Currencies

rcfox
1pts0
10rem.net 14y ago

Emulating Pointers in a sandbox when the real thing is not allowed

rcfox
2pts0
rcfox.ca 14y ago

Skyrim's Social Network

rcfox
1pts0
embeddedgurus.com 14y ago

The absolute truth about abs()

rcfox
4pts0
blog.regehr.org 14y ago

Discovering New Instructions

rcfox
3pts0
blog.wikimedia.org 14y ago

The message from the Wikipedia Blackout: Please leave the Internet alone

rcfox
3pts0
procworld.blogspot.com 14y ago

A trip to the Voxel Farm

rcfox
2pts0

It looks like SARIF is JSON, with a formal schema. I'm guessing the JSON they used to output used their own, non-standard schema.

Your comment heavily implied (to me) scaling databases horizontally. Yes, it's not necessarily "Google scale" either, but it's a ton of extra complexity that I'm happy to avoid. But a Google employee is probably going to approach every public-facing project with the assumption of scaling everything horizontally.

With multiple servers talking to a single database, I'd still prefer to let the database handle generating IDs.

I worked on creating a card game with a couple of my friends. We kept all of the cards in a Google Sheet, allowing everyone to easily edit or create new cards. Then, I wrote a script to compile the sheet into a card atlas so that it could be consumed by Tabletop Simulator. It worked amazingly well.

The only issue was that I had to run the script myself, since my friends were less technical. I'd probably see if I could setup a workflow in Github Actions to do it for me if I were to do this again.

In Python, every variable is either defined or imported in the file in which it's used, so you always know where to find it. (Assuming you don't do `from foo import *`, which is frowned upon.)

In C++, a variable might be defined in a header or in a parent class somewhere else, and there's no indication of where it came from.

Is this just because LLMs don't have state?

As far as I understand it, as you have a back-and-forth conversation with an LLM, you have to provide the entire history of the conversation plus your new response each time.

With Typescript, I find it pretty eager to just try `(foo as any).bar` when it gets the initial typing wrong. It also likes to redefine types in every file they're used instead of importing.

It will fix those if you catch them, but I haven't been able to figure out a prompt that prevents this in the first place.

I welcome being out of touch. The current trends seem ridiculous to me.

There's no practical difference between sending a message via Instagram vs via email. It's all just marketing. You probably can't even get an Instagram account without first getting an email account.

I graduated 15 years ago, so who know if my advice is worth anything anymore...

I think the best part of my computer engineering program at the University of Waterloo was the integrated co-op system. (Basically, internships.) It meant my degree was 5 years instead of 4, but I got work experience and professional connections at several companies and came out with a slight profit instead of a ton of debt. I even turned my last internship into a full-time job after I graduated.