Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
overgard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
961.
▲
by
overgard
3y ago
I'm not sure that's true, when I look at the code bases of some of the most productive coders I can think of (John Carmack and the Doom and Quake code bases for example), they tend to be fairly conservative with how much they abst
962.
▲
by
overgard
3y ago
Every time you create an abstraction to remove duplication, you're tying two pieces of code together and creating a common dependency. The more dependencies you have, the harder it is to change code, because a change in one place rever
963.
▲
by
overgard
3y ago
Apple is definitely not going back to OpenGL. I can't say I'm particularly sad, OpenGL is very long in the tooth and writing a good driver for it seems like a nightmare, considering how hard it is to even write good performant app
964.
▲
by
overgard
3y ago
I think I'd rather be perceived old than follow Gen Z's weird rules, if that article is to be believed. I will keep my slight smiley thank you very much
965.
▲
by
overgard
3y ago
I've always been afraid of using thumbs up because I've heard in some cultures as a gesture it means "up yours", although I suppose at this point almost everyone realizes what it means in a global/digital sense.
966.
▲
by
overgard
3y ago
To be fair, the blue/green thing is kinda useful, I don't use a ton of apple-ecosystem exclusive things but it's nice to tell when I can or not.
967.
▲
by
overgard
3y ago
It's funny the way language is evolving; even things like how you use punctuation and capitalization now has meaning. Like 20 years ago, if I was sending an IM or something, I would always just write like I'm writing here. But now
968.
▲
by
overgard
3y ago
I think about this a lot whenever I'm waiting on a long compile. How many lives has complicated template metaprogramming in C++ taken?
969.
▲
by
overgard
3y ago
No doubt, idea languages are where the innovation happens and they're very important in that regard.
970.
▲
by
overgard
3y ago
I think there are really two types of programming languages, "idea" languages and "practical" languages. "Idea" languages take a concept and try to build almost everything out of it. So like, lisp with lambdas,
971.
▲
by
overgard
3y ago
Hmm, I know it's frowned upon generally to say one culture is better than another, but I grew up in guess culture and I tend to gravitate towards that naturally, but a lot of my maturing as an adult has come from adopting more of ask c
972.
▲
by
overgard
3y ago
To be fair, most C++ projects (outside of embedded and games) use STL for string/dynamic array/hashtable, and while that standardization is certainly convenient I'm not sure STL is generally faster than most hand written C da
973.
▲
by
overgard
3y ago
x86 assembly doesn't represent the actual opcodes the CPU executes anymore, but it's still the low level "API" we have to the CPU. Even if assembly isn't programming to the metal, it's definitely more to the me
974.
▲
by
overgard
3y ago
I think the reason to use C/C++ over java has less to do with the various optimizations and more to do with control over memory layout (and thus at least indirect control over cache usage and so on). Plus you remove a lot of "nois
975.
▲
by
overgard
3y ago
I phrased it poorly, I didn't mean to imply Rust is GC'd. I mean that it's still niche. C++ very much is not niche, which is my point. The other non-niche languages generally are GC'd (java, C#, javascript, etc.) > Th
976.
▲
by
overgard
3y ago
> C++ makes it laughably easy to write incorrect code It also provides a lot of mechanisms and tools to produce correct safe code, especially modern C++. Most codebases you're not seeing a lot of pointer arithmetic or void pointer
977.
▲
by
overgard
3y ago
> No. This is what I call the "portable assembler"-understanding of undefined behavior and it is entirely false. Clang does not need to pretend that i is initialized with a value larger than 10, there is no requirement in the C
978.
▲
by
overgard
3y ago
The sheer amount of software that you're likely using right now that's written in C would seem to contradict your claim.
979.
▲
by
overgard
3y ago
> In the 1970s, C may have been considered a general-purpose programming langauge. Today, given the landscape of languages currently available, C and C++ have a much more niche role. They are appropriate for the "power users" d
980.
▲
by
overgard
3y ago
One potential flaw I see with this thinking is why would I want to use a built-in video chat feature if I can just send a zoom link? If you've ever watched the thousands of parody videos of things that go wrong with meetings over video
981.
▲
by
overgard
3y ago
One thing that's funny to think about is in the distant past, one of the big selling points of automation and industrialization was that we could have the same things but work much less. That didn't quite work out. Now we work mor
982.
▲
by
overgard
3y ago
I don't think that's true. Think about musicians -- someone can create incredible music and never make enough to support themselves, it happens all the time. Same with visual art. It has much less to do with quality and more to do
983.
▲
by
overgard
3y ago
They did keep classic mode up till Windows 7. After that it must have just been too niche
984.
▲
by
overgard
3y ago
I think nostalgia might have rewritten your memory. Spinning rust disks meant apps would take 5-10 seconds to load, moving and resizing windows was laggy and left behind repaint artifacts, and anything network related took approximately for
985.
▲
by
overgard
3y ago
I've replaced 2 iPhones and and an iPad for no other reason than that the lightning socket came loose and unreliable after a few years (even though the devices were otherwise fine). I've never had a single issue with USB-C
986.
▲
by
overgard
3y ago
My experience is that they're not particularly useful. By trying to fit everything into two week windows, the team either overcommits and works harder than necessary for no true reason and risks looking bad, or they undercommit and thi
987.
▲
by
overgard
3y ago
I was assuming that calibration of difficulty implied some sort of curve. I'm admittedly not a teacher so there's much I don't know, but I don't really understand why difficulty would be a useful metric, which is what
988.
▲
by
overgard
3y ago
No it's not, it's his job to teach people that want to learn. If uninterested people that are forced to be there drift through without creating a fuss, who cares? Let me ask you people something. Of the college graduates that have
989.
▲
by
overgard
3y ago
Grading on a curve also strikes me as bad. Either you know it or you don't. If I score 50% in the class, but 60% of the class cheated so I pass based on the curve.. is that a good thing?
990.
▲
by
overgard
3y ago
I can't think of anything that's been ratio'ed hard where it would make me think that the dislike count needs to be hidden everywhere. For instance , Rings of Power trailers got hit pretty hard, and some of the more woke holl
More ›