Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mamcx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
mamcx
1y ago
The problem is that error handling is far more complex than you think at first. The idea that "the happy path is the most common" is a total lie. a + b CAN fail. But HOW that is the question! So, errors are everywhere. An
182.
▲
by
mamcx
1y ago
And for small teams, what we want/need is the "all deps" mono-repo. I wanna link other repos I depend on, but that repos can be read-only. And then all the tools work without extra friction P.D: This could be another wish for
183.
▲
by
mamcx
1y ago
It will not happened. The problem is that people believe theirs app will be web-scale pretty-soon so need to solve the problem ASAP. Is only after being burned many many times that arise the need for simplicity. Is the same of NoSql. Only
184.
▲
by
mamcx
1y ago
Sure. Data is not static. But is foolish to pretend is. Adding surrogate keys not changed that, only add other column that COULD change.
185.
▲
by
mamcx
1y ago
We can debate the first usage (small type for storage/cpu optimization) but the other 2 are actually good examples of natural keys! Note the quotes: > Every software project needs to represent the reality of the business he is embed
186.
▲
by
mamcx
1y ago
Well, I don't deny the possibility, but... Have you looked at the ideas people had?
187.
▲
by
mamcx
1y ago
> the market buys bug-filled, inefficient software about as well as it buys pristine software In fact, the realization is that the market buy support . And that includes google and other companies that lack much of human support. Thi
188.
▲
by
mamcx
1y ago
If you can live without much of the ecosystem (specially if has async) there is way to write rust very simple. The core of Rust is actually very simple: Struct, Enum, Functions, Traits.
189.
▲
by
mamcx
1y ago
> why we don't have the ability to make websites and web apps appear and operate like an app The more we get this, the more dystopian thing will be. Make the web more powerful is negative. Is replace a 'wallen garden' with
190.
▲
by
mamcx
1y ago
This can be summarized in a simple way: UI is totally, another world. There is not chance for any language, not matter how good is it, to match the most horrendous (web!) but full-featured ui toolkit. I bet, 1000%, that is easier to do a OS
191.
▲
by
mamcx
2y ago
True, before was cool to see the ads. Now, skip all!
192.
▲
by
mamcx
2y ago
The irony of a retro computer with a web page that is unusable(can't click, scroll weird, ...) because too modern webdev :)
193.
▲
by
mamcx
2y ago
One small hitch I found is that this kind of tools are fixes in what to process, so for example I can't use them for structured logging. If it has an escape hatch where I can supply my own pipe (for example `process = 'vector ....
194.
▲
by
mamcx
2y ago
Hard agree. Is retrospect I think the model of Delphi, where you must assemble `manually` a `pkg` so you can export to the world should have been used instead. It also have solved the problem where you ended doing a lot of `public` not beca
195.
▲
by
mamcx
2y ago
> I agree Rust is easy to learn. I've done it 4 or 5 times now No joke, is true. When I see Rust first time I agree to everything, agree is the way, is correct and is nice (it hurt me a lot that have used around 10+ langs before pro
196.
▲
by
mamcx
2y ago
Correct. Also, because I output all the formatting and do the processing/filtering/joining on the server, a lot of data is removed before get into the client. This is the most beneficial thing related to perf. I don't yet r
197.
▲
by
mamcx
2y ago
I work with user in far location, bad internet signal, and terrible low-end androids. Htmx has been the best performant of all my tries before. HTML is fast. (also, I use svg everywhere I can)
198.
▲
by
mamcx
2y ago
Yes. And the keyword here `database` not need to mean the typical one. In fact, most tools (like git) are databases over the code. IDE, parsers, etc. POOR ONES, and probably in the way of 'any program is a poorly implemented half of l
199.
▲
by
mamcx
2y ago
Is weird, but what the OP was asking for, actually exist before in the case of FoxPro and similar tools. In Fox, you write more or less `physical query plans` as syntax: USE customer && Opens Customer table CLEAR SCAN FO
200.
▲
by
mamcx
2y ago
This. Making the web more powerful is also making the more powerful *more powerful*.
201.
▲
by
mamcx
2y ago
> we’d always have to fight for customers and investor money on (in comparison) ludicrously lower levels—our seed round were 100.000€! Lucky! Here in Colombia I went for the `get investor` phase, and despite get 'great' intere
202.
▲
by
mamcx
2y ago
> They are terrible in that removing obsolete columns requires a drop and recreation, which can become a nightmare when you build views on views. This is a problem with the `alter` abilities, but in fact the lack of using `views` is a pr
203.
▲
by
mamcx
2y ago
This hit me when looking at sci-fi shows that focused in music in the pre-2000 period (like stark trek) Before, it looked very off why people in the future only hear that music. Now it look perfectly accurate! (Also, the joke in my home is
204.
▲
by
mamcx
2y ago
> Doing something because all the big companies I learned this after many attempts early in my career to copy what the MS conferences were talking about. The thing is that what a big company do can be good (in fact MS was fine back then!
205.
▲
by
mamcx
2y ago
> Curious what you mean here. Is it `1+2` -> ast Binop{'+', left, right} -> gen `plus(1,2)` ?? Sorry it's late here and I should sleep.. Yes, `plus(1,2)`. The problem will become more apparent when you find things li
206.
▲
by
mamcx
2y ago
You have a lot of questions, so go to https://www.reddit.com/r/ProgrammingLanguages/ Some possible answers: > . Unfortunately I also designed a language with top-level execution and nested functions - neither o
207.
▲
by
mamcx
2y ago
Yeah, this is `manual` htmx.
208.
▲
by
mamcx
2y ago
> Somehow didn't know this --I can't help but wonder why. JS being the monolithic tyrant that other tyrants see with envy doesn't help. In the server and elsewhere you have several major langs with big enough sub-cultures
209.
▲
by
mamcx
2y ago
I go another notch: Why are so many different ones with so little major changes. If you experience the `shell` of FoxPro DOS or other tools you will see how poor are the ones we tolerate now. Is like we still live in the age of `ed`. (I eve
210.
▲
by
mamcx
2y ago
I consider now that all LLMs are just for give you a rough shape, but you must rewrite it manually, doing judgments on what to keep or not.
More ›