Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zenhack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
zenhack
7y ago
The key thing is the user has somewhere they can actually run your app ; it doesn't necessarily have to be their own box, it could be one provided by a friend or a hosting provider. That said: > The one way out of this trap would b
92.
▲
by
zenhack
7y ago
There's some talk of trying to figure out funding stuff, though none of it is super organized yet. I personally set up a GitHub sponsors profile and a couple folks are donating. I could see us getting organized enough to scrounge up mo
93.
▲
by
zenhack
7y ago
https://sandstorm.io/news/2014-08-19-why-not-run-docker-apps
94.
▲
by
zenhack
7y ago
In fairness, this did come a bit later; it was there for quite a while before the company shut down, but when I first showed up I had a similar wtf reaction since at the time it was just GitHub and Google. But yeah, that was fixed a very lo
95.
▲
by
zenhack
7y ago
It's possible to log in with just an email address; you don't need to use GitHub or Google. There's an FAQ entry about this too: https://docs.sandstorm.io/en/latest/administering/faq/#why-d
96.
▲
by
zenhack
7y ago
At the time sandcats took some of that burden off, so you could still self-host without having to wrangle with the cert stuff yourself: https://docs.sandstorm.io/en/latest/administering/sandcats/ ...but
97.
▲
by
zenhack
7y ago
Yeah, I don't think I've ever encountered an ISP in the US that didn't give you a public IP. Maybe they exist? You only get one, so you typically NAT everything, port 25 is blocked and often port 80 is as well, but that'
98.
▲
by
zenhack
7y ago
It's definitely easier to deal with when using a debugger. But that brings a question to my mind: Why are there so many debuggers that make inspecting the results of intermediate expressions difficult? I should be able to step through
99.
▲
by
zenhack
7y ago
Re: the language feature: This is standard in ML-family/typed functional languages (OCaml, Haskell...), and lately has been being adopted by a lot of newer languages, including Rust and Swift.
100.
▲
by
zenhack
7y ago
My first full time job was at a university, and we had a lot of student interns, most of them not native speakers (lots of chinese students especially). What I've found is that it wasn't worth the trouble to correct every grammar
101.
▲
by
zenhack
7y ago
Fossil[1] integrates a bug tracker & wiki into the repo proper, and I agree that it would be good for these to just stay pinned together in general. I'm kinda sad that git has basically "won" the SCM wars in the FOSS worl
102.
▲
by
zenhack
7y ago
Fwiw, I think what's important about homoiconicity isn't so much that the language uses "boring" data structures for its (intermediate?) syntax tree, but that the both the syntax itself and the representation of the synt
103.
▲
by
zenhack
7y ago
I've been using vim for roughly half my life at this point. What I've found is that actually using the editor is so thoroughly muscle memory at this point that using another editor, where I actually have to consciously think about
104.
▲
by
zenhack
7y ago
Except that Nix doesn't manage your home directory! (though some folks have put together some less-than-prime-time solutions). That's actually something that's a major hole for me; it would be like twice as useful if it did.
105.
▲
by
zenhack
7y ago
As others have pointed out, if they weren't distributing source and passing on the license, this is a blatant copyright violation, and what they were (still are?) doing is illegal. If you're at all interested in doing anything abo
106.
▲
by
zenhack
7y ago
> but it’s not universally applicable either. Nothing is universally applicable. But yeah, I certainly wouldn't use it for hard real-time tasks. If you can't tolerate missing deadlines ever, there is a very short list of accept
107.
▲
by
zenhack
7y ago
Re: pause times, Go's garbage collector is actually really good here; you're looking at 10s of microseconds. I'm convinced the term "systems language" doesn't have a coherent meaning at this point. See: https:
108.
▲
by
zenhack
7y ago
I was having a similar experience earlier this year, so I reluctantly did the same for a while. I got sick of chromium though, really missed reader mode for one thing, so I decided to put in some more effort to troubleshoot. For me what did
109.
▲
by
zenhack
7y ago
> If you choose one of the more generic ones, now it takes more mental steps to collapse the indirection when reading it. (1. I have a Maybe Int. 2. This function expects an `s`. 3. `s` is constrained by `Semigroup s`. 4. Can I pass a Ma
110.
▲
by
zenhack
7y ago
Yeah, I've read the STG paper, though its been a while. IIRC there isn't a call stack as we'd normally think of it, but there's still a stack of pending pattern matches, so you actually do hit the same issues. I vaguely
111.
▲
by
zenhack
7y ago
> * Laziness and higher-kinded types are both features with costs that significantly outweigh their benefits. > It sounds like you disagree with the last bullet point. If so, then either we've had different experiences or we walk
112.
▲
by
zenhack
7y ago
You can turn off overcommit, in which case you'll get a null return instead of OOM killing. But also, you can still get a malloc failure without actually be running out of memory if the allocator can't find a big enough contiguous
113.
▲
by
zenhack
7y ago
> you can not get referential transparency with mutable variables Sure you can: https://homepages.inf.ed.ac.uk/wadler/topics/linear-logic.ht... Rust's ownership types and lifetimes actually allow for this
114.
▲
by
zenhack
7y ago
Don't get me wrong, I like Elm a lot, but the drop in expressiveness/ability to build abstractions from Haskell is substantial. Especially when you're looking at modularity, there are a bunch of things that Elm can't abs
115.
▲
by
zenhack
7y ago
It isn't a matter of memory usage; the memory usage is still linear in the size of the input regardless of the depth. If an attacker can get you to oom by feeding you a deeply nested data structure, they can do the same with a shallow
116.
▲
by
zenhack
7y ago
I'd argue this is a pitfall that languages can and should solve. There's no reason why writing a naive recursive descent parser should cause this problem. The fix, using a separate stack data structure, is telling, since it's
117.
▲
by
zenhack
7y ago
I kindof wonder if this isn't one of those things that falls flat because it's a toy example, and anything but the most direct approach is going to look clumsy and over-engineered. I've spent a bunch of time working in Elm,
118.
▲
by
zenhack
7y ago
Wait, is Arch back to being a hipster thing? I thought we'd graduated to well-known distro. I've been using Arch since '06, back when Judd was still in charge and the repos were divided up in terms of "stuff Judd maintai
119.
▲
by
zenhack
7y ago
Perhaps -- it would be easier to scruitinize if the OP cited where their numbers came from. And given that the undocumented immigrants number is still off by more than a factor of 2, to me it reads more like it's just reactionary nonse
120.
▲
by
zenhack
7y ago
I suspect part of the reason others are downvoting you is: 1. It's too much suspension of disbelief for them to think that he really could not have been expected to figure this stuff out on his own. 2. Your comments are also lacking an
More ›