Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
valcron1000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
valcron1000
2y ago
More like `newtype` with implicit `coerce`
62.
▲
by
valcron1000
2y ago
You already have something like this (production ready) through effect systems in Haskell (ex. https://hackage.haskell.org/package/effectful )
63.
▲
by
valcron1000
2y ago
> love2d For Lua last time I tried I just did not install any Lua extension, just use the native syntax highlighting and move on.
64.
▲
by
valcron1000
3y ago
> The only reasonable answer crypto advocates can ever offer is “decentralization” and the lack of trust required. That a very big "only". For me that's the killer app. I do not trust financial institutions and the ones th
65.
▲
by
valcron1000
3y ago
> It looks like not a single HN reader is using blockchain technology for anything. > If nobody is using blockchain technology outside of blockchain projects HN is very adverse to the blockchain space. This is not the best place to lo
66.
▲
by
valcron1000
3y ago
> In both codebases I’ve merged PRs without any tests and frequently see others do the same. I would never accept such PR. This kind of policies then end up biting you in the long run (experience talking)
67.
▲
by
valcron1000
3y ago
Except for the structural editing enabled by the usage of parenthesis, all the other features can be achieved without them in ex. Haskell: a = let foo = 10 bar = foo + 32 in foo * bar b = 1 & (+ 2) & (*
68.
▲
by
valcron1000
3y ago
I also find it curious that a language with a preemptive scheduler requires manual "yield" points by constantly checking on the context if the current function should stop executing.
69.
▲
by
valcron1000
3y ago
Is it correct to assume that the "cancellation" part of `Context` is similar to C#'s `CancellationToken`? Also, it looks like it allows to pass some "implicit parameters" to another function. If that's the case
70.
▲
by
valcron1000
3y ago
100% agree. It usually autocompletes better than the language's LSP since it takes a lot of context into consideration. It's a godsend for repetitive tasks or trivial stuff.
71.
▲
by
valcron1000
3y ago
> They are equivalent to the Lisp condition system Not exactly correct due to the lack of higher order effects ( https://news.ycombinator.com/item?id=20513370 ), but the condition system is "good enough" for a lo
72.
▲
by
valcron1000
3y ago
> Rust should learn from this work and skip the layering. As someone who uses Haskell professionally, 100% agree. Monad transformers are an (unfortunate) solution to the problem of stacking effects, not only due to the required lifting (
73.
▲
by
valcron1000
3y ago
The author has no background studies on economics.
74.
▲
by
valcron1000
3y ago
I'll never understand why people decide to blog about topics in which they don't have any background studies.
75.
▲
by
valcron1000
3y ago
It was tried and the dotnet team decided to drop it: https://github.com/dotnet/runtimelab/issues/2398
76.
▲
by
valcron1000
3y ago
> Let individuals freely transact. Which as you rightly point out, has failed for good reasons. How has this failed? Every month I transact in crypto while I could not do the same using traditional methods.
77.
▲
by
valcron1000
3y ago
I don't care how many credentials Jonathan Blow has, this take is pure bs. "we're spending all this time overcomplicating stuff that we used to be able to do in 1960", yet he takes the time to explain "tricks"
78.
▲
by
valcron1000
3y ago
> In Python you have a simple function, `int()` that will happily turn any string consisting of numbers into a proper integer that can be used for math operations. For starters this is not the case, it does not work on a string of number
79.
▲
by
valcron1000
3y ago
Look up 'Hindley–Milner type system'. AFAIK, one feature that break this system is subtyping which is very common in many programming languages.
80.
▲
by
valcron1000
3y ago
In the general case, adding IO to any piece of code requires changing all callers. I would argue that it's a feature, not a bug: now `f x` is no longer a value, but an action: calling it twice can result in duplicated logs, for example
81.
▲
by
valcron1000
3y ago
My experience has been a total opposite. I've been able to deliver quite complex features in a couple of lines of vert readable code thanks Observables. Of course, you can write terrible code with it, but the same goes for every techno
82.
▲
by
valcron1000
3y ago
Sounds like a great way to burn money: the company was founded in 2019 and they still haven't released anything, probably because they've spent most of their time building other stuff. Their devs sure are having a lot of fun thoug
83.
▲
by
valcron1000
3y ago
Does anyone know a good resource on how to efficiently build a Merkle tree from a big k/v store? for example, should you cache intermediate nodes?
84.
▲
by
valcron1000
3y ago
How much did Avast paid for the extension?
85.
▲
by
valcron1000
3y ago
And what are you using now?
86.
▲
by
valcron1000
3y ago
> Forget what people should do, look at what people actually do I'm going to borrow that one mate.
87.
▲
by
valcron1000
3y ago
> Once this headset's form factor shrinks down to sunglass size it will be the next iPhone. So true. The company that is able to do so will have such an advantage over the competitors it won't even be fair. I sure as hell will
88.
▲
by
valcron1000
3y ago
> To this end, I think Haskell, in its pursuit of the purest, can lead to incredibly-high cognitive load abstractions that make reading code daunting. Hard disagree. The Haskell abstractions in the standard library are (mostly) great. Cl
89.
▲
by
valcron1000
3y ago
Not at all in my experience, extremely laggy and resource hungry, not even mentioning incorrect multiple times
90.
▲
by
valcron1000
3y ago
TIL that C cannot be used for serious projects
More ›