Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_gabe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
_gabe_
3y ago
It’s funny how you describe it as “ASCII with the top bit set”. As in, by default ASCII doesn’t have the top bit set. You can have malformed Unicode too. There are plenty of invalid ranges defined in the UTF-8 spec, does that mean that UTF-
122.
▲
by
_gabe_
3y ago
If you have an overeager junior that went off and spent a week resolving a task that wasn’t prioritized and wasn’t what they were supposed to be working on, I think you could rightly take them aside and tell them “we’ll have to table this f
123.
▲
by
_gabe_
3y ago
Responses like this are why people still use C when it may make more sense to use a different language. Don’t just tell people, “trust me bro, never use C, there’s never a good reason”. Never make broad claims that leave no wiggle room, b
124.
▲
by
_gabe_
3y ago
You can share digital games. The PS5 allows you to share games with one other console if your account is logged in on that console. Steam allows you to share games with friends (or family I can’t remember). You and your friend just can’t pl
125.
▲
by
_gabe_
3y ago
> Instead of looking at a measure as a collection of individual notes that must be perceived, interpreted and executed in sequence, they take it in as a chunk. I’m not professional, but I have been playing for awhile and can sight-read f
126.
▲
by
_gabe_
3y ago
Normally I don’t continue with arguments like this haha. But I just want to point out that I keep saying generally more code means a slower algorithm. And when I say slower algorithm, that implies I’m comparing it to something. The thing
127.
▲
by
_gabe_
3y ago
Sure, lines of code doesn’t correlate to how much actual code is produced, but I feel like that’s just being pedantic. The assumption that I’m stating here is: the more stuff a CPU has to do, generally the longer it’s going to take to do
128.
▲
by
_gabe_
3y ago
> You can add lines of code which use a more efficient algorithm. Yes, so the burden of proof is on the algorithm. Adding more lines of code, by default, makes the code slower. If the algorithm is more efficient, it can make the code f
129.
▲
by
_gabe_
3y ago
You have a whole lot of words here and are making a lot of claims and provide no evidence. This story is still way too early to say whether any allegations have substance or not, but one of your claims was: > In fact, the Times' inv
130.
▲
by
_gabe_
3y ago
It’s not though. In lots of languages a namespace can span multiple files, whereas a class must be declared in a single file[0][1]. Modules can usually contain a collection of functions and classes. And namespaces can also contain multiple
131.
▲
by
_gabe_
3y ago
> Eventually I learned I had to rely on the standard instead of folklore Isn’t this the opposite of what should have been done in the case of coding systems for a nuclear facility? I thought the whole point of the exercises was to show t
132.
▲
by
_gabe_
3y ago
100% agree. You can create a HammerFactoryFactory to churn out HammerFactories in any language. But the ecosystem in Java (and C# is similar imo) promotes and encourages this type of problem solving. The one thing Java really does need is f
133.
▲
by
_gabe_
3y ago
Math books can be a hit or a miss, but Game Engine Architecture is an amazing overview of all the major systems in a game engine. You’d also be doing yourself a disservice if you didn’t read something like OpenGL Superbible (that book fille
134.
▲
by
_gabe_
3y ago
> Again, I predict a couple weeks. I’ve made similar predictions in the past… these days, I predict that a couple years actually makes a lot more sense. Especially if you’re not familiar with game engines, and especially if you have to f
135.
▲
by
_gabe_
3y ago
That Lua debugger/editor with ImGui looks awesome! I’ve been wanting to do a similar project since Lua makes the API for creating breakpoints and stuff pretty easy. Styling ImGui to look like a normal code editor must have been no easy
136.
▲
by
_gabe_
3y ago
There’s a Raymond Chen article (or maybe it’s in his book) about people that complain “why doesn’t windows just let me do…”, and he then goes on to give several examples and show what some of the downsides are if you allowed it. This articl
137.
▲
by
_gabe_
3y ago
I’ll have to check out the Lyra example! But yea, C++ definitely feels more comfortable for me at the moment. I’ll try blueprints again in a few years :)
138.
▲
by
_gabe_
3y ago
> I am a satisfied owner of an iPhone 14 Pro Max, and every phone I’ve owned since the iPhone 3GS has been an iPhone. I think this is the majority of iPhone users, and it really might behoove you to actually try an alternative (and give
139.
▲
by
_gabe_
3y ago
I just started using Unreal 5 to prototype a VR game (lots of quirks but this engine is amazing). I’ve been writing C++ for 5ish years now and am pretty comfortable with it. I’ve also been slowly converting all the blueprints in the VR temp
140.
▲
by
_gabe_
3y ago
Thanks for the clarification and detailed response! I think your final two points are probably the two things I was failing to take into consideration here. I’m used to trying to profile medium-ish systems (like 40-50k lines of code) so tha
141.
▲
by
_gabe_
3y ago
I’m curious, have you done much profiling? And what tools have you used if you have? This isn’t a judgment against you, it’s a genuine question because I’m wondering if perhaps I really am just this inexperienced. But the one thing I’ve lea
142.
▲
by
_gabe_
3y ago
> but I always multiply transfers times 10 to estimate bandwidth, since there is some overhead in the TCP/IP protocol
143.
▲
by
_gabe_
3y ago
> I would not argue that these meta-narratives are "ahistorical", though That seems to be what you were claiming though in your original comment: > as there is no shortage of fictional narratives anywhere — look no further t
144.
▲
by
_gabe_
3y ago
You both make good points, on second thought it’s all about how you spin it :)
145.
▲
by
_gabe_
3y ago
Now when you Google “Tim Mackinnon programmer”, the 5th or 6th result for me is a link titled “The Worst Programmer” and the little descriptive blurb below that says “His name is Tim Mackinnon…”. I know the author was click baiting and flip
146.
▲
by
_gabe_
3y ago
The 80:20 “rule” is interesting because it’s not a rule, it’s an observation. The Pareto Principle isn’t a law for a reason, because it’s observing the natural result of categorizing data. This medium article was surprisingly good[0] and ma
147.
▲
by
_gabe_
3y ago
I thought that the whole point of self driving cars is it eliminates every single one of the problems you just listed. Humans get tired, drunk, distracted, ignore warnings about low pressure in the tires etc. A computer doesn’t worry about
148.
▲
by
_gabe_
3y ago
Python is popular because of the ecosystem that’s been built around the language.
149.
▲
by
_gabe_
3y ago
This is completely tangential to language “safety” as it’s commonly referred to when discussing languages like Rust and C or C++. Typically, I’ve only heard safety used to mean memory corruption, out of bounds memory access, and undefined b
150.
▲
by
_gabe_
3y ago
I don’t program in Go, but this is the first I’ve heard of it being unsafe. I thought Go was a GC language implemented via the Go runtime and properly handles memory safety (memory corruption and OOB access). Are you using a different defin
More ›