Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
belmont_sup
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
31.
▲
by
belmont_sup
3y ago
I can feel the raw anger and exasperation. Well done.
32.
▲
by
belmont_sup
3y ago
Figured you were questioning dogma, so I also wanted to continue the conversation explicitly.
33.
▲
by
belmont_sup
3y ago
Guess I’ll have to say it. It maximizes the user market. https://iosref.com/ios-usage Losing a potential 10% of your market share because they’re 2 versions away is unquestionable for some companies.
34.
▲
by
belmont_sup
3y ago
I agree that hiding coloring entirely is really a trap. I want to know when some IO work runs because it means potential exceptions unknown with unpredictable latency in my program. As a design choice of OCaml’s eio - an async runtime, you
35.
▲
by
belmont_sup
3y ago
Yawar’s explained it all, but I’ll share tidbits of my own. When reading ocaml on _text_ like from GitHub, I personally accept that I won’t need to know the type and underlying data structures just yet unless I read and have open the .mli f
36.
▲
by
belmont_sup
3y ago
Algebraic effects like how OCaml’s now implementing it may be possible! The ecosystem around effects in OCaml is still really young, but here’s an example of an http request being made that is asynchronous, non-blocking but looks synchronou
37.
▲
by
belmont_sup
3y ago
At this point, if it’s painful enough, why isn’t compiling-to-yml tools more popular? Example: https://github.com/dhall-lang/dhall-kubernetes Haven’t used dhall myself but I’d definitely prefer a DSL on top of yaml.
38.
▲
by
belmont_sup
3y ago
Reminds me of https://lexi-lambda.github.io/blog/2020/01/19/no-dynamic-typ... . Always a fun revisit.
39.
▲
by
belmont_sup
3y ago
Seriously. Anyone only has to look for a second and see how many Americans are struggling day to day, paycheck by paycheck. Quick search says up to 78% of Americans do. That’s “essentially indentured servitude”.
40.
▲
by
belmont_sup
3y ago
Here with you 3. I use the warp terminal. They integrated chatgpt into it. I almost never leave my terminal now if I need to search something quickly. If I forget some api or technique in some language, I ask it. Depending on its results, I
41.
▲
by
belmont_sup
3y ago
https://kern.al/ does this too, but if you want to do it, just do it and draw inspiration!
42.
▲
by
belmont_sup
3y ago
Having the simple CRUD apis for a table/model is super helpful though. I use prisma, and then when it becomes too complex, or is annoying, switch to sql. Sometimes I don’t want to have to manually deserialize rows into my objects (and
43.
▲
by
belmont_sup
3y ago
For those that are using open source js software to build web applications and are able to pick apart and understand what each tool does, his choice of tools are actually tried and true. Even a C# developer building with aspnet has to reach
44.
▲
by
belmont_sup
3y ago
Here’s one https://www.wsj.com/articles/amazon-scooped-up-data-from-its... The gist is that yes it’s true. They’d come out with their own Amazon Basics branded stuff and push it to the top.
45.
▲
by
belmont_sup
3y ago
I read the first statement as being able to do IO judiciously with a subset of IO work, e.g. network, filesystem. The second is no IO.
46.
▲
by
belmont_sup
3y ago
But you can always just try ocaml for the sake of it, for the fun of it!
47.
▲
by
belmont_sup
3y ago
Syntax and sugar is subjective, right? Instead, easier to discuss the layer beneath syntax, and that’s to compare the type systems. Java now has some version of sum types aka algebraic data types, but because of its beginnings, it may never
48.
▲
by
belmont_sup
3y ago
If Ocaml fixes this and makes opam/dune play in the same field as cargo, life would be great as an ocaml programmer. Sometimes I go back to F# and sigh because I can just print any complex data structure. Sure, there’re limits, but it’
49.
▲
by
belmont_sup
3y ago
Handful of great new hosts I’ve seen pop up: Render.com, Fly.io, northflank. And I actually like AWS lambdas, so great option for me is SST.dev, which wraps AWS CDK, and provides an actual live development workflow with actual AWS resources
50.
▲
by
belmont_sup
4y ago
The other way around is to point at great React based apps. Linear’s project management tool is so quick and fast. It takes a whole mindset embedded into a team to make a product fast from the get-go.
51.
▲
by
belmont_sup
4y ago
Isn’t based around Consul or etcd, but the encore folks https://encore.dev/docs have been building a framework that makes working with microservices much more straight forward. I haven’t used it much, but the tool is able t
52.
▲
by
belmont_sup
4y ago
If you ask barebones, that's going to get so many different answers here because everyone will have their own definition and bias. If I inherited a small game that needs a backend, I'd pick any of those backend-as-a-service option
53.
▲
by
belmont_sup
4y ago
I’m guessing you’ve referring to what https://caramel.run/ could’ve been? I think Gleam is pretty good enough to get that typed feel on the BEAM.
54.
▲
by
belmont_sup
4y ago
It’s all about handling state in a careful manner. A helpful consequence of immutability is that it makes concurrent and parallel programming easier. Take Erlang/Elixir. The main reason it’s able to share state between processes so eas
55.
▲
by
belmont_sup
4y ago
I forgot where I read this, but I'll paraphrase: it's easier to work with 10 objects with 1000 applicable functions than with 1000 objects with 10 methods each. In Haskell or other typed fp languages, you have all these well-recog
56.
▲
by
belmont_sup
4y ago
If I’ve stepped away from the code a while, and come back later 1-2 months with new requirements, that sometimes requires me to rewrite a pattern or so.
57.
▲
by
belmont_sup
4y ago
Like many others are hinting, you’re trying to learn the entire ecosystem of web dev, which is vast, in a haphazard way. A lot of tutorials and guides out there are terrible. They fail to teach the basics of web dev before teaching the abst
58.
▲
by
belmont_sup
4y ago
I’d call Postgres “heavyweight” compared to SQLite. Maintaining a SQLite db is as simple as a file, and then you can use litefs or litestream to back it up. Maintaining a Postgres server or cluster is hard. But it offers way more functional
59.
▲
by
belmont_sup
4y ago
Seeing as how you prob can’t consolidate apis to a single process for more control. Seriously, having an http mocking tool is so helpful. I use msw, a node equivalent of wiremock. To help with a situation like yours, it’s easy to say “befor
60.
▲
by
belmont_sup
4y ago
Have you tried Slack's huddle feature? It entirely replaces Zoom for us now. However, Slack's screenshare capabilities are just not as robust.
More ›