Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dewie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
331.
▲
by
Dewie
12y ago
What I don't get about AI optimism: So we humans are very fallible and can easily make mistakes. Computers are better at us when it comes to problems that are clearly defined and for the problem is decidable (can implement an algorithm
332.
▲
by
Dewie
12y ago
> This returns the zero value of the value type in the map if the key doesn't exist in the map. Wow, that's quite horrible (for a static language, anyway). So if my map returns `0`, I can't really be sure whether that is t
333.
▲
by
Dewie
12y ago
Does there exist a similar optimization for arbitrary size integers? Like using the pointer that is supposed to point to something like an array of ints, instead store the int itself (with a bit of bit twiddling to make room for a flag that
334.
▲
by
Dewie
12y ago
> Obviously there wasn't Git back then, but did they use some sort of version control when developing C? I'm gonna guess printouts.
335.
▲
by
Dewie
12y ago
> The type system, for example, does not help you when you have five Ints and you use the wrong one for an index and the output of the procedure is thereby completely messed up at runtime. You could use newtype.
336.
▲
by
Dewie
12y ago
A "grind" is a sort of gate, for example a port through a fence that keep livestock contained. "Val" comes from "Valhalla" (as mentioned in the link). I still thought it was pronounced "val-grined".
337.
▲
by
Dewie
12y ago
Huh, for some reason I assumed that we were talking about Idris. I didn't read the post well enough.
338.
▲
by
Dewie
12y ago
Shouldn't the then- and else-"branches" be made lazy?
339.
▲
by
Dewie
12y ago
> I think it is arguable that the code from this article is as easy as it is to understand as much from the prose that goes with it as from the language it is written in. This was hard to understand.
340.
▲
by
Dewie
12y ago
And the alternatives are... nothing beyond text editor + terminal, it seems. So does anyone have any plans?
341.
▲
by
Dewie
12y ago
> It conveys, she told me recently, both a European sensibility What?
342.
▲
by
Dewie
12y ago
> So, you can't really just appeal to the author's authority without addressing a single one of the parents points. The 'appeal to authority' is addressing one of the parents points/claims: that he seems to be a
343.
▲
by
Dewie
12y ago
> Is a gendered word really different? Yes. A typo is objectively wrong (as objectively as you can be in such matters, anyway). Gendered words is a matter of style. One style is to only masculine pronouns, another to only use feminine, t
344.
▲
by
Dewie
12y ago
> My customer's servers have usually 8Gb or RAM, 16Gb is becoming the norm. Does the cache sizes not matter? Honest question.
345.
▲
by
Dewie
12y ago
I wonder how cavalier people treat strings when they feel like "primitive values" in the language - like Java having the (+) operator for concatenation. I don't agree with the view that "costly" (it's all relat
346.
▲
by
Dewie
12y ago
> You can't provide it in all cases, I'm curious how reliable it is. It seems simple, intuitively, but Java (the JVM?) seems to have a reputation of being sub-par in this respect. Maybe it has to do with knowing how the the var
347.
▲
by
Dewie
12y ago
I don't know of anyone called Steve Jobs in Australia, no.
348.
▲
by
Dewie
12y ago
> Why does total GDP matter so much? Matter in what sense? If you are measuring international influence, GDP probably matters more than per capita GDP. If you are measuring standard of living, per capita GDP probably matters more than GD
349.
▲
by
Dewie
12y ago
> Functions are also like arrays, because at the compiler level, the function body is basically an array of statements. "Being like an array" and "can be stored in an array" seems to be two different things.
350.
▲
by
Dewie
12y ago
It's hard to imagine how they would go from discussing the conundrums of whether-to-use-braces-or-indentation, to discussing the merits of efficiency + memory safety. Though I guess they could have chosen to bring up the peculiar meani
351.
▲
by
Dewie
12y ago
This article seems to be written for non-programmers.
352.
▲
by
Dewie
12y ago
> What was him supposed to do? Use some automated backup tool that had nothing to do with fossil.
353.
▲
by
Dewie
12y ago
A disgruntled Zed Shaw must be how you battle test people's tact and composure.
354.
▲
by
Dewie
12y ago
Pacifier
355.
▲
by
Dewie
12y ago
> If you need some ammunition to prove to your management that your startup times are killing your team’s productivity then use the stopwatch on your phone to count the total minutes per day wasted by waiting for the app to start. But...
356.
▲
by
Dewie
12y ago
From what I understand, composition in OO basically means that I put another object as a field in my new object. Is that correct? If so, I don't really see the fundamental difference from doing the same thing with a struct/record:
357.
▲
by
Dewie
12y ago
That was but one of the mentions in the article. Take it away and it still is true; many of us programmers seem to be attracted to new and shiny things. No, they don't have to be super-complicated, ground-breaking languages that make y
358.
▲
by
Dewie
12y ago
Someone should make a front-end (preprocessor?) for Ada or a Pascal with braces et.al. Then publish it as a brand new systems programming language. (Optional: "inspired by Go".)
359.
▲
by
Dewie
12y ago
> Not sure what you are trying to imply here? He's saying that being interpreted and being high level are orthogonal. > Well, that would negate a lot of benefits of using some of the higher level languages and/or their p
360.
▲
by
Dewie
12y ago
It's presumptuous to assume that I will bring it up, to be specific.
More ›