Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aszen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
aszen
5y ago
I agree, right now the home page is too specific about elm and types.
92.
▲
by
aszen
5y ago
I'll admit react is not the ideal technology for frontend but it is also not a bad one especially given the alternatives of designing one's own ui library. It is in demand not because it's the best technology but because it&
93.
▲
by
aszen
5y ago
Sorry but I really cannot understand how this is the case. In my short experience one can't make a significant impact to a mature large scale software product in 2 years. What kind of impact I'm talking, the kind of impact that
94.
▲
by
aszen
5y ago
I personally deeply understand a new language only if I write the same code in two languages, one that I already know very well in your case c++ and the other I'm trying to learn, in your case that's rust. If i just learn from th
95.
▲
by
aszen
5y ago
I think I have something very interesting to share here that's used in the real world and recently open sourced. https://morphir.finos.org/
96.
▲
by
aszen
5y ago
While this article doesn't do a good job of showing the benefits of state model, I still think it's a great way to build ui. Thinking of ui as derived state from your application model really helps in scaling ui applications relia
97.
▲
by
aszen
5y ago
Elm is generally known to be a simpler Haskell. It's only useful for frontend apps right now but worth a try
98.
▲
by
aszen
5y ago
I have found that the most important bit as a backend engineer is modelling the application domain precisely. A taste for making good APIs helps and knowing how to measure performance. These days most backend engineers also tend to manage d
99.
▲
by
aszen
5y ago
Yes higher order functions. A function that takes a function as an argument or returns a function. In lisp you can think of a higher order function as taking data, processing it and then returning it just like any other normal function bec
100.
▲
by
aszen
5y ago
Now they are switching to react
101.
▲
by
aszen
5y ago
Apparently it was written in AngularJS, yes the old angular version. Which may explain the performance or the lack of it
102.
▲
by
aszen
5y ago
Immutability doesn't mean you can't delete old records.
103.
▲
by
aszen
5y ago
what kind of language are u using, using a statically typed functional language most removal of code is self obvious and even automated. u remove a method, it tells u to remove this and this too.
104.
▲
by
aszen
5y ago
There's a problem here as the author himself notes. I can provide you a simple example of a function with monadic interface, you will understand it any language but that will not actually help you to conceptualize the idea of monads a
105.
▲
by
aszen
5y ago
If you want to just get things done, and then learn the concepts of fp, I always suggest using elm. In elm I had been using andThen functions without even knowing they were related to monads.
106.
▲
by
aszen
5y ago
Is that true though, you can't define a generic monadic interface yes but you can implement the same interface for your data types. That makes it less useful as the post says but still pretty powerful in some cases
107.
▲
by
aszen
5y ago
The problem with this comment is that it fails to account for the fact that US and other democratic countries have a reasonable judicial system that while flawed is not totally under the thumb of the government. One can be sure that a death
108.
▲
by
aszen
5y ago
It's important to note that Egypt is also run by an autocratic regime which is fearful of the influence of hamas and other revolutionary parties like Muslim brotherhood. I think Israel for all their supposed military intelligence is th
109.
▲
by
aszen
5y ago
Some test cases are really important and cover the whole domain, take as example the tc39 tests, they are really all you need to fulfill to create a compliant javascript implementation.
110.
▲
by
aszen
5y ago
Yes ofcourse. Having tests helps a lot, take as example someone building a markdown parser. If u have the knowledge of how to build parsers, then an existing suite of tests is going to speed your work quite a bit by ensuring that you build
111.
▲
by
aszen
5y ago
I think immutability isn't really a feature with use cases. It's a way of programming without modifying data structures in place/in memory. It's also enables us to retain old values by generating new ones without modifyi
112.
▲
by
aszen
5y ago
I'll try to justify, imagine you have working code with no tests, it's been running for years but no one can understand it or change any of it. It's providing a very fixed value. Now imagine you have all the tests laying out
113.
▲
by
aszen
5y ago
If you are trying to put structure to your code, you would like to get instant feedback on how that structure works from the outside. That is how the api works, the best way to do is to make a test which actually uses your code, and asserts
114.
▲
by
aszen
5y ago
Creating and destroying infra resources with the click of a button. Better visibility into what's provisioned and their configuration. If you need to main many individual pieces of infrastructure then it's nice to have a central c
115.
▲
by
aszen
5y ago
If u are looking at this from a profitable angle then getting ux right is about gaining more users and making them pay. Technical innovation is about creating something which wasn't possible before and not making a start-up wrapper ove
116.
▲
by
aszen
5y ago
Recently repl.it announced they will integrate nix pkgs into their environment. They are simply building a better ux on top of existing open source technology.
117.
▲
by
aszen
5y ago
When people say docker helps in making dev look like prod, I assume they are running everything on docker in production, but that is very rarely the case with dbs, queues and cloud specific services. Interesting I'll check this script,
118.
▲
by
aszen
5y ago
I'm on Linux, but still things aren't all rosy.
119.
▲
by
aszen
5y ago
This may change in the future with Nix moving to a content addressable store. I lack the technical know how behind it, but if the output of a package doesn't change on changing one of the inputs then nix will not rebuild it's cach
120.
▲
by
aszen
5y ago
Docker truthfully told is unusable for Dev envs that need to change constantly. It was never built to handle this use case. I haven't seen a good docker compose file that can be reliably used as a development environment in multiple os
More ›