Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
59nadir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
541.
▲
by
59nadir
7y ago
> So they were not exactly novices in their language of choice. Writing a compiler is not a task for novices in general. Only having a few thousand lines of code written in Haskell very much makes you a novice. With that said, writing a
542.
▲
by
59nadir
7y ago
I would wager most of the people dealing in crypto currencies are actually precisely the kind of people that would fall for pretty much anything. I don't think it's a stretch to say that the fact that they deal in crypto currencie
543.
▲
by
59nadir
7y ago
> PureScript has a (much) more advanced type system but that's about it. There's a lot in "... but that's about it.". Elm has a very low upper bound on abstraction by choice. As an additional note: like many othe
544.
▲
by
59nadir
7y ago
> When I think about drains on my time and productivity, I've never been too setback by having to deal with a "for" loop instead of something more monadic. However, I HAVE spent days doing painful refactoring work, that co
545.
▲
by
59nadir
8y ago
Just switch for a day. You're making this out to be a much bigger issue than it has the capacity to be.
546.
▲
by
59nadir
8y ago
It might just be my soft spot for Racket, but I find this delightful. Elixir Radar is somewhat the same thing via e-mail but it's not as neat and tidy as this. You can skim this and get so much value out of it immediately.
547.
▲
by
59nadir
8y ago
> He did security checks: https://ruby.social/@amirrajan/101986725826245184 This is worth nothing to Nintendo and should be worth nothing to other people. This should've been done as a collaboration with Ninten
548.
▲
by
59nadir
8y ago
> I'm guessing that you two are having a communication problem as it is highly unlikely that a "senior colleague" can't understand simple logic. My former lead got promoted to his position because he was literally the
549.
▲
by
59nadir
8y ago
If you're able to make a faster service handling many concurrent requests in Python, you indeed should've never used Erlang from the beginning, because you clearly didn't know at all what you were doing. This article is spot
550.
▲
by
59nadir
8y ago
> Rust isn't "a comparatively bad starting position." From the standpoint of "How do we handle things that behave like these things (monads) in a general way?" it's certainly not a good one. It's not th
551.
▲
by
59nadir
8y ago
> What I think is really interesting is that the Virtual DOM was touted as the better abstraction when React came out (in comparison to Angular's dirty checking). I think the VDOM seemed to offer a maxima and people thought it might
552.
▲
by
59nadir
8y ago
Well, the compiler constrains the type automatically as far as it can go, so a `switch` on the `.type` property will constrain it down to the specific case in the union. Practically speaking it's not all that different to f.e. Haskell,
553.
▲
by
59nadir
8y ago
I'm not really talking about what's interesting or cool given a comparatively bad starting position, I'm talking about these language features in their own right. The idea of making special-case operators for what are just mo
554.
▲
by
59nadir
8y ago
You can have `Result<number, number>` in both. You generally have to treat `E` as an error because of the semantics of `.map()` in every language, though, because you have to essentially ignore one of the sides. `map<Result<T, E
555.
▲
by
59nadir
8y ago
I think propagating null operators, `?`, etc., all become a bit less interesting when you consider that mostly they're just specific implementations of a monadic interface and they could all just be represented like that instead. It do
556.
▲
by
59nadir
8y ago
Every language that has generics supports this via phantom type variables that can encode extra information only in the type system alongside some other type, or with a specific newtype keyword that effectively does the same: newtype
557.
▲
by
59nadir
8y ago
If anything, dynamically typed languages (without special tooling) is for super smart people or people who are lying to themselves/others about the limitations of the human mind. But I personally wouldn't hire someone who maintain
558.
▲
by
59nadir
8y ago
As far as I can remember it wasn't available as an option, no. Nor was Haskell, Common Lisp and a host of other languages.
559.
▲
by
59nadir
8y ago
As with all attempts at making big lists insiders don't really care about this one is perpetually out of date. Every time someone posts a message on Facebook it goes through an anti-spam system written in Haskell by way of their `Haxl`
560.
▲
by
59nadir
8y ago
> There's certainly not a cabal of project managers forcing C++ down peoples' throats. So instead of calling the reasons stupid, why not try to find out what this hidden variable is? Project managers do still matter. I've
561.
▲
by
59nadir
8y ago
> Well, for what its worth, I mostly agree with the author, except I never felt Ruby has made me "happy" more than any other programming language with at least some semi-decent features. In surveys, Ruby hasn't (to my know
562.
▲
by
59nadir
8y ago
> In my opinion half-baked micro-optimizations add nothing, but complexity in the long run, and should be avoided. I’m really worried that Ruby has been gradually losing its way and has strayed from its creed. It seems to me that "O
563.
▲
by
59nadir
8y ago
This is not at all my experience, neither with my own code or code other people produce. Unless the problem is extremely trivial the solution is very unlikely to work without a few test runs. The bigger point in all of this is that statical
564.
▲
by
59nadir
8y ago
If companies could keep their bullshit pranks in-house on April Fools that'd be great, yeah. Have fun with your coworkers and friends but don't infect everyone else with your unfunny crap.
565.
▲
by
59nadir
8y ago
This was my exact thought when I read the article as well. We currently have projects that are linux-specific in their build step and so even when I use a language server I actually have to run docker for it. I've patched the language
566.
▲
by
59nadir
8y ago
I wasn't speaking for all the world. I said I'll take it with a grain of salt. Reading the news in general has obviously taken a huge hit in popularity and doing so via a special app (outside of the community driven ones like Redd
567.
▲
by
59nadir
8y ago
> That's both amazing (the rise to prominence) and scary (the inherent centralized power). I don't know a single person that uses a "news app", so I'll take this feat with a grain of salt.
568.
▲
by
59nadir
8y ago
I have no basis for talking about this. My suspicion is that our OCaml apps perform pretty terribly if you look at raw numbers, because we use what is essentially a hobbyist library called `bucklescript-tea`[0], which implements the Elm Arc
569.
▲
by
59nadir
8y ago
TL;DR: I championed the addition of OCaml to write web apps in our team and had I had the decision now I would've just used TypeScript because of the much better tooling, better interop and pretty much as competent type system + less b
570.
▲
by
59nadir
8y ago
Except we've been waiting how many years for actual multicore support and ad-hoc polymorphism (or anything approaching it)...? No, OCaml really isn't a language where things move forward; quite the opposite. Also, if you had actua
More ›