Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aszen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
aszen
6y ago
Is there any application that provides similar features but can be integrated into an existing web application. We want our users to be able to do similar things for their internal reporting within our own application. The kind of integrat
152.
▲
by
aszen
6y ago
If you are interested in fp and like building web application uis then I suggest you start learning elm (elm-lang.org). It's a beautifully small language , easy to learn with great error messages by the compiler. You can learn tk build
153.
▲
by
aszen
6y ago
On your point about compiler enforcing legitimate values, the way I see it is that if u don't get the right values from the outside world you should immediately exit the program with a nice error message. As the data moves further down
154.
▲
by
aszen
6y ago
I think many of these points are valid for a type system like Java's but they hold less ground for other languages a. Yes tests are still needed but you need far less of them thanks to type you can focus testing on the critical logic i
155.
▲
by
aszen
6y ago
I had this realisation too, after spending countless hours searching the code bases with regexes to try to extract valuable information. Right now we have ide's that provide rich language support but they only expose extremely basic tr
156.
▲
by
aszen
6y ago
The only reason you would want packages from different distro's is if they have a different version. With nix you can install packages with different versions, you can also install old packages by going back in nixpkgs history and bui
157.
▲
by
aszen
6y ago
Another solid alternative is to install the nix package manager[0] and get access to thousands of packages. I have stopped installing stuff from apt and thankfully my system never breaks now. [0] https://github.com/NixOS
158.
▲
by
aszen
6y ago
It's actually time travelling through the various UI states ur web application will go through. It's really awesome for debugging complex ui interactions but not for actual line by line code debugging
159.
▲
by
aszen
6y ago
The tooling is solid, the lsp server provides auto completions and edit by edit syntax checking in major editors like vim, Emacs and vscode, there is a good formatting tool in elm-format, a built in repl which is basic but works fast. A tes
160.
▲
by
aszen
6y ago
Limitations like Tuples in elm are restricted to just two elements, because the author feels tuples greater than length of two should be better modelled as a named record. Nested record updates are also not supported, so u have to write fun
161.
▲
by
aszen
6y ago
I think the main difference apart from syntax and lack of higher order functionality is that with elm you have to embrace the language restrictions and not try to fight them. The lack of advanced features can be frustrating for an experienc
162.
▲
by
aszen
6y ago
I have experience with elm, and since you are teaching students I would suggest you to go with it. There is no beating it's compiler for error messages, tooling and extensive beginner friendliness. Elm is how I learned functional progr
163.
▲
by
aszen
6y ago
Looks very promising, very clojure like in terms of syntax. The integration with composer is a good idea, and so is the interop with php. It can have a very bright future if it can leverage the existing enormous php ecosystem. Although I w
164.
▲
by
aszen
6y ago
Kind of sad to see GitHub doesn't use GitHub itself to deploy and monitor their releases.
165.
▲
by
aszen
6y ago
To create that ideal dsl one has to both know the domain well enough and have the technical skills which is a rare combination so i'm rather sceptical of this claim. Besides any dsl can only help with well understood repeatable problem
166.
▲
by
aszen
6y ago
Thanks for the suggestion, thoroughly enjoyed watching it
167.
▲
by
aszen
6y ago
See the video here https://youtu.be/z0mb0NteYjg
168.
▲
by
aszen
6y ago
This ELI5 is actually not a good summary, the article is way more nuanced than this simplistic summary would suggest. In an effective organisation middle managers are not incompetent rather they are clueless , they entangle their destiny wi
169.
▲
by
aszen
6y ago
The article deserves a good reading especially the middle part (look at the many comments in the article to understand different perspectives). Gist of it is People who are focused on doing good work and performing well in an effective orga
170.
▲
by
aszen
6y ago
Thanks for sharing this, I'm at the start of my career and reading this definitely makes me less clueless than before. I have a very idealized world view and this reading shattered that quite a bit.
171.
▲
by
aszen
6y ago
And what about job satisfaction, not doing an actual good job and spending miserable time doing leetcode is not going to add much worth to my day to day happiness. I instead always suggest to do a good job regardless (note that doesn't
172.
▲
by
aszen
6y ago
Thanks that is very interesting, I would imagine having all the data in one schema, and then few other schemas containing views and functions grouped together logically.
173.
▲
by
aszen
6y ago
Becuase of lack of tooling there is tons of duplicate logic in SQL based systems, I see the same logic repeated across queries which already exists in some view but no knows about it so it ends up being repeated. Lack of abstractions like
174.
▲
by
aszen
6y ago
I'm very curious about this pattern, but does the tooling exist to make this feasible across a team. One of the big problems with SQL views is their lack of discoverability. The lack of tooling also plagues SQL based systems, I would
175.
▲
by
aszen
6y ago
Is this a joke, US has already used Nuclear weapons offensively twice and has the most destructive offensive nuclear capability in the world.
176.
▲
by
aszen
6y ago
For those who are interested in what actual things the author knows, read https://overreacted.io/the-elements-of-ui-engineering/ Reading it I feel that creative problem solving is more important than simply knowing stu
177.
▲
by
aszen
6y ago
Very well said, there are times we lose the bigger picture of our lives and instead start wasting times with pointless stuff just to escape the reality of our lives.
178.
▲
by
aszen
6y ago
I would say it works surprisingly well 90% of the time. The main help type hints give to the compiler is that it can generate better error messages for when things do go wrong, apart from that there is no major difference. As I mentioned ea
179.
▲
by
aszen
6y ago
Yes, just pointing out the trade offs here. Btw many functional languages have quite good interactive experiences, (ocaml, f sharp, Haskell , clojure all have decent repl's). Usually they work instantly for small sized projects.
180.
▲
by
aszen
6y ago
Not really, rust is unusable for interactive programming because of this reason. I understand that's not rust target domain but still there's downsides to be had with their approach.
More ›