Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
seagreen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
seagreen
10y ago
I have a lot of accurately placed anger. Linux is great for experts, and I really respect it for that. It has been very empowering to people like us. The web is a peasantizing TV replacement and a trash fire. Linux is great on its own merit
152.
▲
by
seagreen
10y ago
> Then Linux happened, then scripting languages like Perl, Python and PHP proved themselves capable of getting the job done, and the modern web came about. This would never, ever have happened without those tools. So Linux was so good .
153.
▲
by
seagreen
10y ago
Maybe it's because I don't have the "depth" of some of the HN users, but Go feels great to me. I doubt I have any more depth than you as a programmer, but I've gone one step farther than you down the langu
154.
▲
Son: A Minimal Subset of JSON
(github.com)
1 points
by
seagreen
10y ago
|
0 comments
155.
▲
by
seagreen
10y ago
Have you considered replacing the example entirely? A toy program that looks good but is terribly nonperformant is exactly what I'd put up if I wanted to make a Haskell-style language look bad.
156.
▲
by
seagreen
10y ago
Executables should pin. Libraries should depend on ranges (though they can also pin internally for development).
157.
▲
by
seagreen
10y ago
Since this list doesn't actually make any sense, I'll list two actually great developer tools: + The Stack package manager for haskell: https://docs.haskellstack.org/en/stable/README/ + NixOS: http
158.
▲
by
seagreen
10y ago
Self-describing data is generally a bad idea. If you can't get programs to agree on the original document format, what makes you think you'll be able to get them to agree on this meta format? EDIT: The right solution is the simple
159.
▲
by
seagreen
10y ago
Leap seconds have no business being tracked in the core logic of our programs. Just like timezones and calendar changes, leap seconds are a display issue. While obviously very important in some circumstances there's no need to keep tra
160.
▲
by
seagreen
10y ago
Nixpkgs on a mac actually has a really bad reputation as being undersupported. I use NixOS as my main OS though and it works fine.
161.
▲
by
seagreen
10y ago
PureScript emphasizes a solid theoretical foundation. Its closest competitor, Elm, emphasizes ease of learning and use. Both are very tastefully designed (so I've heard, I haven't used Elm myself). If you're coming from somet
162.
▲
by
seagreen
10y ago
Personally, I like my addition associative, but you do you. EDIT: Also I like my numbers reflexive.
163.
▲
by
seagreen
10y ago
Totally agree! By the way, the Haskell community is working to make scripting easier in Haskell, so if you want to go from one of the most buggy languages straight to one of the least, now you can: https://docs.haskellstack.org&#
164.
▲
by
seagreen
10y ago
Well said. I can write exceedingly low defect code without folds. I can't do so with implicit IO everywhere, ad hoc polymorphism, and dynamic typing.
165.
▲
by
seagreen
10y ago
The fact that we need application-specific security measures against this just emphasizes the problem. There are a lot of applications.
166.
▲
by
seagreen
10y ago
Almost two weeks late, but I thought about this more and I totally agree with you. I should have said "JSON number's aren't machine numbers" (e.g. float, double, integer). But serialized, human-readable numbers are still
167.
▲
by
seagreen
10y ago
no program can be purely functional Pure functional programming means building up a machine. This machine will eventually be executed by the runtime system (at which point IO will happen) but from the programmer's perspective a
168.
▲
by
seagreen
10y ago
AAAAAAHHHHHHHHHHHHHHH. That's the point. If a genius can't make a tricky personal website without breaking things, what chance do normal people have? Just make a normal website. Brett Victor is awesome. If you copy his website, yo
169.
▲
by
seagreen
10y ago
I respect the pragmatism of your reply. At the same time "distinguish decimals and integers" is about as far from a subtle distinction as you can get.
170.
▲
by
seagreen
10y ago
Thanks for your analysis (and the Ruby and JS reports). The more I think about it the more I think parsers should not parse to numbers by default, but instead to (using a Haskell-based pseudo type): data Sign = Positive | Negative da
171.
▲
by
seagreen
10y ago
Exactly. JSON Number ARE NOT ACTUAL NUMBERS. They're really restricted strings (or, as you quote, a syntax for representing numbers). IMO this wasn't originally a bad thing at all. There are so many different types of numbers, wit
172.
▲
by
seagreen
10y ago
No he doesn't. "JSON, the good parts" is just JSON. The problems the post is describing have to do with RFC 7159 allowed extensions.
173.
▲
by
seagreen
10y ago
If we want it to be secure anyway... Oh God, I'm _really_ hoping you're being sarcastic. You've read about the dozens on dozens of compromised exchanges? You heard about the DAO hack? You realize that the majority of
174.
▲
by
seagreen
10y ago
Totally fair point. haskell.org has a very . . . casual approach to presenting the language. It's been such an issue some people made an alternate homepage at haskell-lang.org.
175.
▲
by
seagreen
10y ago
Railing against `curl https://foo/ | sh`? I guess security theater's not just for the TSA. (Do be aware of pastejacking though, but this is not nearly an important enough issue for a wall of shame) EDIT: We can all lea
176.
▲
by
seagreen
10y ago
Sorry to hear that OpenTable's moving out of Chattanooga. I was in Chattanooga from 2013-15 and have nothing but good things to say about their team. Most notably they ran a functional programming meetup that covered pretty advanced to
177.
▲
by
seagreen
10y ago
Dvorak! And nice to see you've got fonts working, that's not something I've messed with. Thanks!
178.
▲
by
seagreen
10y ago
Even worse, this matches the actual way URLs should have gone in the first place: com.site.subdomain/folder/subfolder/subsubfolder/.
179.
▲
by
seagreen
10y ago
Can you share your NixOS config?
180.
▲
by
seagreen
10y ago
Thanks. Too late to edit it now though. And nandhp's detective work was right, the adjective was originally "awful".
More ›