Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
augusto-moura
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
augusto-moura
11mo ago
Thought of it as soon as I read it
92.
▲
by
augusto-moura
1y ago
It's not a matter of being fond of, we're trying to be efficient here
93.
▲
by
augusto-moura
1y ago
Which version? Probably UUID v7, right? So names can be easily indexed in a btree database
94.
▲
by
augusto-moura
1y ago
3 of the listed leagues were created in the 90s (MLS, UFC and WNBA), even though they are from the previous century I would categorize them much closer to modern times. 30 years difference is not that big of a gap. UFC in specific just got
95.
▲
by
augusto-moura
1y ago
This is true for every moser package manager out there: pip, cargo, gradle and the lot. It is not about front end dev
96.
▲
by
augusto-moura
1y ago
Downloading things that you don't know about its common for every modern package manager out there, from maven, to nuget, to pip and npm. This is the new norm and there are reasons for it. I don't think the old C/C++ way of r
97.
▲
by
augusto-moura
1y ago
I believe the Pareto principle is used more of a figure of speech nowadays, it doesn't mean the 80 to 20 ratio literally. When I hear someone invoking the principle I tend to think of it as: this should solve the problem enough for our
98.
▲
by
augusto-moura
1y ago
I don't agree that the comment is empty, it did remind me of some philosophy classes, and it did entice my curiosity enough to search about Rousseau again. Your comment though, in poethic irony, doesn't bring anything to the table
99.
▲
by
augusto-moura
1y ago
Wait, you can actually remove /dev/null? I always thought of it as a special driver file I guess that might not be true for all nixes out there
100.
▲
by
augusto-moura
1y ago
Yep, I usually have it setup to whitelist mode, most pages will open normally, but if I want to read some long text and prefer it to be on dark mode, I activate it only for that page.
101.
▲
by
augusto-moura
1y ago
Can you share what was the new framework? At least some of the details, it sound interesting what was the new understand
102.
▲
by
augusto-moura
1y ago
I did a similar thing some years ago, when trying to hack my own cloud gaming setup by using AWS GPU Linux instances. While it worked the price per hour wasn't worth it compared to just buying a good GPU. My idea was very similar, usin
103.
▲
by
augusto-moura
1y ago
Breaking {} to be an empty set would be a HUGE breaking change, a _lot_ of code is already written where it is expected to be an empty dict. I don't think anyone in the Python committee would agree with breaking that
104.
▲
by
augusto-moura
1y ago
I agree that {:} would be a better empty expression for dicts, but that ship has already sailed. {/} looks like a good enough alternative
105.
▲
by
augusto-moura
1y ago
Problem is, we already have a syntax for empty lists [], empty tuples (), and {} is taken for an empty dict. So having a syntax for an empty set actually makes sense to me
106.
▲
by
augusto-moura
1y ago
Battleship sounds like a good analogy, but is very different because you don't have other options to "secure your ship" besides obscurity. If you had other options, let's say a sonar or moving your ship, they would defin
107.
▲
by
augusto-moura
1y ago
True, but I hardly open any ssh to the wide world. I would only allow it inside a closed network anyways. HTTP on the other hand _needs_ to be exposed on 80 or 443 (not technically, but in practice)
108.
▲
by
augusto-moura
1y ago
The issue is not that obscurity per se is bad, but relying _only_ on obscurity is absolute the same as not having any security measures at all. With the public ledger or not, you will still need to implement proper security measures. So it
109.
▲
by
augusto-moura
1y ago
Ideally (and in practice, so far) they shouldn't change that much. The agent instructions should be close to a human explanation, and they are pretty good at parsing instructions anyway. In my experience you can symlink the same file t
110.
▲
by
augusto-moura
1y ago
You are probably looking for `Promise.allSettled`[1]. Which, to be fair, becomes quite convulated with destructuring (note that the try-catch is not necessary anymore, since allSettled doesn't "throw"): // Paral
111.
▲
by
augusto-moura
1y ago
I also remember that tried running edit on windows 8 and got surprised that it was removed
112.
▲
by
augusto-moura
1y ago
I vividly remember using edit on an Windows XP (or was it a 98?) when I was a kid. It was one of those hidden commands that I learned while watching my uncles and father do trickery in CMD Edit: just read https://devblogs.microso
113.
▲
by
augusto-moura
1y ago
It is not, but it is the standard. So I would this is _not_ a solved problem
114.
▲
by
augusto-moura
1y ago
Solved problem is a strong statement. I've never heard of Hunter before. And as far as I can remember the most popular way of solving this is having a list of dependencies in a README somewhere so you can install them and their headers
115.
▲
by
augusto-moura
1y ago
What? JavaScript _has_ a standard library. And even though it has a lot of legacy baggage, it is very well defined [1] [2]. Much better defined than C, for example, where a lot of undefined behavior is given as common practice, but in reali
116.
▲
by
augusto-moura
1y ago
Also relevant, SQLite supports loading CSV files as virtual tables [1] [1]: https://sqlite.org/csv.html
117.
▲
by
augusto-moura
1y ago
Sometimes the size doesn't really matter, maybe if you are working on a constrained space (embedded software, let's say). But if you are doing Web or using any modern language, unused code is usually optimized out of the compiled
118.
▲
by
augusto-moura
1y ago
The lua language service [1] supports type annotations inside comments [2]. Sure, it is not the same as having types as first class citizens, but I would say that it solves 95% of the editor support and typying problems you mentioned in you
119.
▲
by
augusto-moura
1y ago
BTW, you might want to check Lux [1], it's a new approach for Lua packaging. They launched it recently, so there's a lot of work going on. But it looks and feels very promising [1]: https://github.com/nvim-neorocks
120.
▲
by
augusto-moura
1y ago
That's funny and sad at the same time. And it shows a deeper problem, even though they are willing to align behavior between each other, they failed to communicate and discuss what would be the best approach. That's a bit tragic,
More ›