Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
haskman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
haskman
2y ago
1. The scientific method is a way to rank all the available theories that has proven remarkably useful in practice. There is no presumption in the scientific method. It's the right way only because any other way is chaotic and doesn&#x
62.
▲
by
haskman
2y ago
What's true is determined by the scientific method. You can make as many theories as you want but if you can't make predictions based on that theory and devise experiments to verify those predictions, and perhaps most importantly,
63.
▲
by
haskman
3y ago
Seems you might have fixed it before I saw it! Thanks!
64.
▲
by
haskman
3y ago
XML semantics, not syntax, are good for configuration too. See https://kdl.dev/
65.
▲
by
haskman
3y ago
Looks fine to me. What's wrong with it?
66.
▲
by
haskman
3y ago
A lo of people in this thread seem to be misunderstanding what is being asked for. There is no runtime reflection needed. What is really needed is - 1. A way to get a value that represents the type of any statically known type (i.e. known
67.
▲
by
haskman
4y ago
How does it follow that the mediant (a+c)/(b+d) is a better approximation than both a/b and c/d? One of the bounds could be very close to the quantity you are trying to approximate already.
68.
▲
by
haskman
4y ago
Off the top of my head Coffeescript introduced the function arrow syntax to JS, as well as class based inheritence. Also you don't need to take my word for it, Brendan Eich, the creator of JS himself has said that CoffeeScript had a si
69.
▲
by
haskman
4y ago
I didn't mean the designers of Rust. I meant the author of the article did not consider a Haskell like syntax. I completely understand the reasons for Rust devs targeting a C like syntax. Rust had already blown its novelty budget on th
70.
▲
by
haskman
4y ago
Yup, this could and should be a separate preprocessor step. Changing the syntax of the Rust language itself so drastically would be nearly impossible at this stage.
71.
▲
by
haskman
4y ago
Why is that hard to comprehend? `do` starts a new block with sequencing semantics (so we don't need the `?` operators) in Haskell. CoffeeScript can actually be considered very successful, since it influenced the design of a lot of ot
72.
▲
by
haskman
4y ago
I've been thinking about something like this for a while too. Happy to collaborate!
73.
▲
by
haskman
4y ago
They didn't explore a Haskell (or PureScript) inspired syntax, but I think it could massively improve things without compromising on semantics. The separate function signature itself is a great improvement. "Haskell flavored Rust&
74.
▲
by
haskman
4y ago
I don’t use any traditional sources of news at all. I don’t get newspapers, or watch any tv news. Some time back I made a decision to cut back from toxic twitter and I haven’t used any other forms of social media as well. What I get in retu
75.
▲
PureConf – An Online PureScript Conference
(hasgeek.com)
1 points
by
haskman
5y ago
|
0 comments
76.
▲
by
haskman
5y ago
I'm currently learning Japanese and I tried playing with this for a bit. I have to say that this looks really nice, and almost exactly what I was looking for. The flashcards are interestingly presented, and the selection of sources is
77.
▲
by
haskman
5y ago
Thank you! All the manual wiring in Elm can be very frustrating! Also not having to expose all the action datatypes when they are only being used in a single place can really improve code structure.
78.
▲
by
haskman
5y ago
Well elm architecture is just a pattern in Concur. You don't need to store things globally at all. Currently the only thing to take care of is - when a child widget returns some value to the parent, if you want to reinvoke the child wi
79.
▲
by
haskman
5y ago
1. Application wide state is easy since you can always access state from parent components in child components. The problem occurs when you want to update parent state from child components. Fortunately, you can make your own abstractions
80.
▲
by
haskman
5y ago
Purescript-Concur is simpler, and allows you to use elm-architecture as well, but also allows you to use your existing functional programming toolkit to the fullest. It also has react bindings - https://github.com/purescript
81.
▲
by
haskman
5y ago
"If the people with the most money start screwing around with other people's money, then everybody will just abandon using money altogether, societal structure will collapse, and they will be left with nothing". Great argumen
82.
▲
by
haskman
6y ago
It's not. Ganja could mean either marijuana or "bald" depending on how you pronounce it. Not offensive or an insult which would "exclude 2 billion people" either way.
83.
▲
by
haskman
6y ago
This is exactly the right answer. There are two cases here (1. when the target is at the front of the list and necessitates changing the head of list, and 2. when the head doesn't need to be changed.) You handle both the cases separa
84.
▲
by
haskman
6y ago
JUSPAY (juspay.in) | Bangalore or REMOTE | Full time | Functional programming, Purescript, Haskell JUSPAY is a Payments Exchange connecting merchants, payment providers and banks. With a deep focus on delivering seamless payments UX at scal
85.
▲
by
haskman
6y ago
Thanks! I just disabled external images in gmail after reading your comment.
86.
▲
by
haskman
6y ago
JUSPAY | Full-Time | Bangalore or Remote JUSPAY provides a high throughput transaction processing system built using pure Functional Programming tech - Haskell and PureScript. We have processed over 2Bn payments so far, and currently handle
87.
▲
by
haskman
6y ago
Can you clarify the difference between developing "with" vs "on" react-native?
88.
▲
by
haskman
6y ago
I find all this code so hard to read, because there are very few elements being composed together. It reads like one monolithic chunk of code (and with a global state!). I find code enjoyable to read and write when it's like Lego. Yo
89.
▲
Concur – An unusual UI framework with multiple back ends
(github.com)
3 points
by
haskman
6y ago
|
0 comments
90.
▲
by
haskman
7y ago
I wrote a UI framework called Concur which is very similar to immediate mode UIs and hence very easy to use, but also scales fantastically well to complex UIs. The original code was written in Haskell ( https://github.com/ajn
More ›