Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
catpolice
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
61.
▲
by
catpolice
9y ago
Sure, but the supported class of languages is very broad and certainly not limited to C/C++.
62.
▲
by
catpolice
9y ago
> LLVM is smaller at 1.6 million lines, but is newer, supports only C and C++ by default Unless I'm misunderstanding "by default", this isn't true. LLVM is language agnostic and supports many languages - even the prim
63.
▲
by
catpolice
9y ago
I think the claim is that this is true in practice (among the surveyed options) not that it is true in principle.
64.
▲
by
catpolice
9y ago
Microsoft is the one who said it will be called Windows 10 when it's done. They've repeatedly stressed that Windows 10 is the last numbered update to Windows. That's not to say that the underlying technology won't change
65.
▲
by
catpolice
9y ago
The market's pretty saturated with bootcamp grads right now. I get literally hundreds of responses every time I post an opening.
66.
▲
by
catpolice
9y ago
I always have to show up to reiterate this is not a problem limited to Javascript. There have been framework fads for as long as there have been frameworks. I have dim memories of dozens of C++/Java/Python/Ruby/etc. next
67.
▲
by
catpolice
9y ago
There's a sense of "unreadable" that I sometimes use that means "the code does not contain the information that you need to understand how it will typically function". E.g. things that have internal control flow det
68.
▲
by
catpolice
9y ago
I started today by setting out to write a response of the form "Certainly you couldn't rewrite MY HOC library to use render props, look at how it [etc]" and ended today having rewritten my HOC library to use render props. In
69.
▲
by
catpolice
9y ago
I think of the line from the Big Lebowski a lot: "You're not wrong, Walter. You're just an asshole."
70.
▲
by
catpolice
9y ago
Zero could be a perfectly "valid" value and still break your application if changing the function to always return zero breaks an implicit contract. Suppose the previous behavior of the function returned something you could use as
71.
▲
by
catpolice
9y ago
Many of the things I would be tempted to describe (and am seeing others here describe) as passive income aren't, at least in the strict sense: http://www.investopedia.com/terms/p/passiveincome.asp In the coll
72.
▲
by
catpolice
9y ago
Cool to see persistent data structures under the covers here. I tried to make a contentEditable editor some time ago and gave up when I realized how many edge cases there would be, but from what I learned when working on that, this general
73.
▲
by
catpolice
9y ago
At this point I feel like it's worthwhile to remember to why we even have districts. We could, in principle, get rid of the districts and just have some kind of statewide scheme for electing representatives proportional to the outcome
74.
▲
by
catpolice
9y ago
Perhaps they meant "idiosyncratic"
75.
▲
by
catpolice
9y ago
I think it depends on language and context a lot so I can only give some vauge advice. A lot of the idea is to write code that only does the one thing you know you need it to do, does it very simply and fails very obviously when it's n
76.
▲
by
catpolice
9y ago
Static typing prevents bugs in code to the degree that the programmer can correctly encode the desired behavior of the program into the type system. Relatively little behavior can be encoded in inexpressive type systems, so there's a l
77.
▲
by
catpolice
9y ago
One thing I think about a lot in these situations is how constraints that come in at the high level can end up influencing your low level design. I've spent the last couple months writing a codemirror replacement for an in-house DSL ID
78.
▲
by
catpolice
9y ago
I wish that I had been confused, it was an appalling thing to find. Basically, it was an interaction between the template system ( https://docs.sencha.com/extjs/6.5.0/modern/src/Template.js.h... ) and thei
79.
▲
by
catpolice
9y ago
I doubted it too, until I saw it and could come up with no other explanation. I don't think it was a full parse, just something like a dumb grep for certain patterns. It threw errors trying to import something that was only mentioned i
80.
▲
by
catpolice
9y ago
I remember the moment when I drew a line in the sand and simply refused to use ExtJS any more: I discovered that the mysterious bug I'd been hunting all day went away if I removed a comment. It turns out that ExtJS was building some ki
81.
▲
by
catpolice
9y ago
I guess I'm not saying that there aren't conceivable situations where you'd need an ID - it's just that they're typically small issues that are easily worked around. A duplicated "for" attribute problem is
82.
▲
by
catpolice
9y ago
I was really pumped about Web Components at first, largely because this sort of argument made a lot of sense to me. A few years on, I'm a lot less convinced that these are the problems that need to be solved. Element IDs, for example,
83.
▲
by
catpolice
9y ago
Yeah, this. I'm not actually sure the war is fully winnable - maybe it'll slow down at some point. UI frameworks have churned in every language I've ever worked with. Java had AWT/SWT/Swing/JavaFX/etc. I c
84.
▲
by
catpolice
9y ago
Yeah, I was cringing the moment I saw it. No rake on the fork? All that extra frame weight, only to introduce joints that maximize /lateral/ flex? Imagine the stress that top tube joint must be under in even normal riding conditio
85.
▲
by
catpolice
9y ago
Last time I did the research there wasn't a striiiictly better alternative to systemd, which is rather unfortunate. There are flame wars beyond number on the subject and I'd rather avoid starting another one. For my two cents: I d
86.
▲
by
catpolice
9y ago
I used to love Arch wholeheartedly. The systemd transition left a bad taste in my mouth, and I haven't felt like I've had full control of my system since then, but I periodically try other Linux distributions but I always end up c
87.
▲
by
catpolice
9y ago
Ah, this is very similar to some old maze generation toys I was working on a few years back. I was experimenting with adding a little extra stochasticity to the mix. E.g. selecting from the last ~30 neighbors added creates interesting mazes
88.
▲
by
catpolice
9y ago
I expected the answer to always be "you have no money, I just took it all".
89.
▲
by
catpolice
9y ago
"Daylight visualizer" is basically my job title.
90.
▲
by
catpolice
9y ago
The previous emoji were almost uniformly better looking. It's a shame - they were one of my favorite features of Android.
More ›