Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zenhack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
zenhack
6y ago
I question the sensibility of having the primary interface to a database be a query language as such; It's a pain to work with programmatically. I agree with the notion of starting from relational algebra, but rather than the interfa
32.
▲
by
zenhack
6y ago
> they'd launch maybe a couple years later If at all; probably obvious, but important to point out that in a startup environment this kind of mistake could just outright kill the company. I work on an open source project (Sandstorm[
33.
▲
by
zenhack
6y ago
Yeah, I'm willing to let this slide coming from regular folk in everyday conversations, but when you're writing a blog post about algorithms and you just said it was O(n^2)... this is a situation where I think it's reasonab
34.
▲
by
zenhack
6y ago
As someone who's done a lot of python and a fair bit of JavaScript, I'll agree with the preference for the python ecosystem. I guess my perception of the difference is a quantity vs quality thing. My experience has been that pytho
35.
▲
by
zenhack
6y ago
> an AUR helper to make that transparent is standard kit for anyone using the box as a workstation Fwiw, I've been using arch as my daily driver continuously for 14 years and haven't ever really felt the strong need for an AUR
36.
▲
by
zenhack
6y ago
> The plains states had to kick the natives out ...and the rest of the states...
37.
▲
by
zenhack
6y ago
I seem to be in the most expensive state in the country for that. That's rent & food for a month. But it's a one-time fee, so you're probably still right in general, but for the moment I'm mostly coasting on savings
38.
▲
by
zenhack
6y ago
Yeah, we have an active person in the Sandstorm community from Finland who maintains Wekan[1]. I didn't previously know the specifics, but he's had to tell a lot of people "sorry, I can't accept donations" too. It&#
39.
▲
by
zenhack
6y ago
It may depend on what country you're in, but in the US if you're just some rando, "donations" are still taxable income. The form GitHub sends you for filling purposes is the same one used for contractors.
40.
▲
by
zenhack
6y ago
Can you expand on that? What about the culture would make this problematic for Rust specficially? It does seem like Rust is just enforcing the rough consensus in the Haskell community re: best practices.
41.
▲
by
zenhack
6y ago
It's not an either/or; we should be doing both.
42.
▲
by
zenhack
6y ago
I'm dubious of some of these -- the code signing thing strikes me as not that compelling for reasons other comments have already pointed out. Others are very valid. But more than "how are we doing vs Apple and Microsoft?" I&#
43.
▲
by
zenhack
6y ago
Fair enough; I suppose I was oversimplifying. I think the broader point I was trying to make (in addition to the specific downsides I mentioned) still holds though. The Template Haskell paper has some interesting things to say on the nature
44.
▲
by
zenhack
6y ago
I'm sympathetic to being somewhat impatient; I'd really like to have generics in Go years ago too. But I'm also glad they didn't just plow ahead with the first draft of the proposal that came out; the way contracts worke
45.
▲
by
zenhack
6y ago
Macros are not a substitute for parametric polymorphism ("generics"). With lisp-style macros you could easily implement something like C++ templates, but that's different in at least one critical way: with C++ templates, the
46.
▲
by
zenhack
6y ago
It is certainly possible to still monorphize some cases, but the point is it can't work as a comprehensive strategy like it does in rust; it's an optimization that applies in some cases.
47.
▲
by
zenhack
6y ago
The comment I originally replied to linked to a blog post arguing that in Haskell, the practice of wrapping type classes (which Rust calls traits) in an existential is an antipattern, because rather than using fancy type system features, yo
48.
▲
by
zenhack
6y ago
I was mostly talking about the type level; I certainly didn't mean to imply that Rust didn't have lambdas if that's what you're getting at. But there is no general type of Rust lambdas that take an A and return a B other
49.
▲
by
zenhack
6y ago
Also worth noting that Haskell's type system is too powerful for monomorphization to work as an implementation strategy for generics in all cases. In particular, polyorphic recursion[1] means that attempting to just monomorphize anythi
50.
▲
by
zenhack
6y ago
The difference is that the author's suggestion as to what to do instead doesn't work in Rust. In Haskell there's no need to use a type class/trait here at all; you can just use a record. We could try to do the same thing
51.
▲
by
zenhack
6y ago
I'm curious to the particulars (I have no opinion on the technical merits of Microsoft's offering as I've never tried it). What specifically does it do better?
52.
▲
by
zenhack
6y ago
Fwiw, I still get recruiter emails now and then years after having shut off my LinkedIn account. If they mention how they found me, it's usually through GitHub. ...not that I've ever had anything useful come from talking to a recr
53.
▲
by
zenhack
6y ago
Freedom of the press is certainly important, and if anything changes because of all this, people hearing about it will be instrumental, but it's not a replacement for proper systems of accountability. If the bar for getting away with m
54.
▲
by
zenhack
6y ago
This needn't be the case; it depends on the details and what the particular format is designed for. Wasm is a good example of a bytecode format designed for small code size. Though I expect wasm may often still be larger than equivalen
55.
▲
by
zenhack
6y ago
Back when I was doing a lot of Python work I was a big fan of Flask. The reason is that it really just provided an integration layer for existing stand alone libraries; it didn't feel like I was buying in to some massive framework, jus
56.
▲
by
zenhack
6y ago
Ultimately though this end probably would have been better served by bytecode.
57.
▲
by
zenhack
6y ago
On this bit: > Perhaps if ES4 landed, fewer people would need complex build tools like Babel, Webpack and Typescript. I'd pose it the other way: if stuff like Babel existed at the time, folks might have actually written es4 because
58.
▲
by
zenhack
6y ago
Relevant: https://idlewords.com/talks/haunted_by_data.htm (Maybe you were familiar). The closing is particularly worth taking in: > Finally, don't be surprised. The current model of total surveillance and perma
59.
▲
by
zenhack
6y ago
"for a while" suggests that this was ever a recommended choice, which is not the case. As others have pointed out, for password hashing you want a specialized algorithm, not a general purpose cryptographic hash function. This is t
60.
▲
by
zenhack
6y ago
> What platform are you on? Firefox on Linux.
More ›