Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
krig
12y ago
I thought it was a pretty nice demonstration on what pythonic means. But I agree that it was weaker than his usual talks.
182.
▲
Raymond Hettinger – Beyond PEP 8 – PyCon 2015
(youtube.com)
3 points
by
krig
12y ago
|
2 comments
183.
▲
by
krig
12y ago
I don't understand what point he is trying to make about the Dunning-Kruger effect. The only pop-sci version of the study that I've heard is that the bottom percentile tends to overestimate their abilities while the top percentile
184.
▲
by
krig
12y ago
I don't think it should be surprising that few users actually look at the code or are willing to dig into a foreign code base. It's still true that open source makes it possible, which is a huge step up from any other model. There
185.
▲
by
krig
12y ago
"Because in reality, many many bugs are never really found by all those given “eyeballs” in the first place. They are found when someone trips over a problem and is annoyed enough to go searching for the culprit, the reason for the mal
186.
▲
by
krig
12y ago
Yeah, the simple explanation as to why the programming community at large doesn't agree on languages or methodologies is that no one knows what they are doing. This is still a very new field. We're all just bashing rocks together.
187.
▲
by
krig
12y ago
One reason would be that the very idea of religion is offensive to me. That someone else, without evidence, says not only that they know how the universe came to be but that they have direct contact with the divine creator who tells them ho
188.
▲
by
krig
12y ago
I really don't think this is an argument that will convince Stallman. As stated, there have been forks of GCC (as well as Emacs) before. It's not as terrible a threat as it might seem.
189.
▲
by
krig
12y ago
It's interesting that one of the first things he does is to effectively build a REPL - the executable is a shim and the actual game code is kept in a shared library which is recompiled and reloaded on the fly. Together with manually la
190.
▲
by
krig
12y ago
Those are all aspects of his acts, and the acts of the Islamic State as well. You can't separate religion cleanly from traditionalism for example, because religion is to a large part tradition - it is not a coincidence that sons common
191.
▲
by
krig
12y ago
Right, maybe I was not clear enough in my meaning - I have some hope that there are ways to make this not happen at all or at least happen a lot more rarely, and I think the way to get there is to get the standard of living and education, a
192.
▲
by
krig
12y ago
No? He himself claims that it does, in the sense that he sees himself as a Christian crusader defending the european christian monoculture against an islamic invasion. His reason for killing social democrats was that he feels that the party
193.
▲
by
krig
12y ago
This is horrible, and we as a society need to somehow make this kind of thing not happen. I have no idea what that means in practice, though. It seems everything that has been tried so far has only escalated the hatred and strengthened the
194.
▲
by
krig
12y ago
He can always get a regular programming job again, I doubt he'd have a hard time finding work if he needed it. But yes, once the money starts rolling, they can probably roll pretty fast... just ask MC Hammer. :)
195.
▲
by
krig
12y ago
I think it is difficult to imagine what it would actually be like to have that kind of money, the Minecraft success is such a ridiculous outlier. He pretty much went from being an average swede with little savings to having more money than
196.
▲
by
krig
12y ago
In my experience, the people forcing schemas and bloat on JSON are the same people who forced schemas and bloat on XML.
197.
▲
by
krig
12y ago
Well, I don't disagree with any of that. I wrote my comments in a bad mood and they came out harsher than I wish they had. I'm just thinking that if I was the author of dbus, I wouldn't engage the noise on HN. It was an hones
198.
▲
by
krig
12y ago
No, I am just curious. It seems overly defensive. In game development, there was/is a guy named Derek Smart who is famous for popping up in every thread on the internet about one of his games and defending it relentlessly. The result i
199.
▲
by
krig
12y ago
Alright. I didn't realise that I was talking directly to one of the designers of dbus, which makes some of the things I said unnecessarily harsh and perhaps even personal. Apologies for that. I have to ask, though - why engage in a thr
200.
▲
by
krig
12y ago
I would absolutely argue that websockets is a terrible protocol as well, and the only justification for it that I can see is that it was created as a hack on top of HTTP. It's certainly not the model of an ideal protocol design or the
201.
▲
by
krig
12y ago
Let me get this straight. To you, there is nothing wrong with embedding a separate ASCII protocol for authentication inside a binary protocol? Of course I realize that the quoted text about ascii-only describes a subset of the full protocol
202.
▲
by
krig
12y ago
Okay. From the spec: "D-Bus is low-overhead because it uses a binary protocol" - Alright, got it. It's binary. "The protocol is a line-based protocol, where each line ends with \r\n. Each line begins with an all-caps ASC
203.
▲
by
krig
12y ago
I also don't like the ligatures that Slack uses, but it's entirely a problem with the font they use, not with ligatures in general.
204.
▲
Interview with Stefan Karpinski on Julia (Oredev 2014)
(youtube.com)
3 points
by
krig
12y ago
|
0 comments
205.
▲
by
krig
12y ago
The code does have fence instructions. I have no idea if it is correct, I just took a look at the source code.
206.
▲
Life is terrible: Lets talk about the web [video]
(vimeo.com)
11 points
by
krig
12y ago
|
3 comments
207.
▲
by
krig
12y ago
Maybe the word check is a bit confusing, but the purpose of the feature is compile-time checking. Runtime checks would be implemented differently. To clarify the probable mindset of the language designer: For games, runtime checks are prett
208.
▲
by
krig
12y ago
I see, yes. Implementation-wise, I don't think this is a problem, the inner function can easily be inlined by the compiler. But language-wise I agree that it is somewhat ugly. Some kind of sugar over this kind of construction would be
209.
▲
by
krig
12y ago
Maybe I am missing some subtleity here, but isn't the whole point of the described proposed feature that you would be able to replicate the Python code pretty much exactly? fn read_database() -> Result<Document, DatabaseError
210.
▲
by
krig
12y ago
It sounds like they are talking about a semi-space collector, which I can imagine might in theory be faster than scoped allocation since allocation is a simple pointer bump (just like stack allocation) but when garbage collecting you only h
More ›