Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiedzia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
fiedzia
1y ago
I've found recently that CORS doesn't work with it, which kills it for a lot of usecases.
32.
▲
by
fiedzia
1y ago
> but neither Go or C# have issues with dependency hell like Rust or even more JavaScript, because they have exceptional std libs They also have a lot narrower scope of use, which means it is easier to create stdlib usable for most peopl
33.
▲
by
fiedzia
2y ago
Some do (Go), but it is really not the best idea. You do want to have one central place where you specify: - version constraints - source of packages (you may want to host them yourself one day) - any additional metadata (some packages have
34.
▲
by
fiedzia
2y ago
Unique comparing to what? There are other products that provide something similar, but are not as popular, as easy (part of easy here is integration with aws) to use and require extra tooling. This will be goto tool for many people working
35.
▲
by
fiedzia
2y ago
... and it uses SIMD encoding because the tooling made it available and convenient (and someone was willing to work on that, which is also a benefit of Rust). Tools matter.
36.
▲
by
fiedzia
2y ago
Same as any other full-text search solution - it's your job to integrate it.
37.
▲
by
fiedzia
2y ago
Most reasonable explanation I've heard is that black cats typically don't look good on pictures. Or maybe they are just overlooked by people visiting animal shelters?
38.
▲
by
fiedzia
2y ago
Internet legend. All cats do the same things. Some individuals are smarter, but I doubt it has anything to do with fur color. And I don't recall hearing anything special about orange cats from people who have many cats.
39.
▲
by
fiedzia
2y ago
First, any technical discussion here is irrelevant. Those organizations do not ask for it because they understand it, but because someone else told them, and that's where the definition of safety is located. In other words, if you are
40.
▲
by
fiedzia
2y ago
Debugging in Rust is substantially less common for me (and probably not only for me) because it is less often needed and more difficult - many things that are accessible in interpreted world don't exist in native binary. I do care abou
41.
▲
by
fiedzia
2y ago
I've added some sql functions, and support for decimal type for mysql (It didn't have it at some point). Wasn't complicated.
42.
▲
by
fiedzia
2y ago
>The second that you would benefit from using a DBMS specific feature, the ORM begins getting in the way. You can extend diesel (and probably many other orms, Diesel is just particularly easy here) to support any db feature you want. >
43.
▲
by
fiedzia
2y ago
> I'm not the best with pointers and memory allocation/deallocation You don't think about those at all when using Rust. That's why it was created. However because the conventions are different, some pattern will be di
44.
▲
by
fiedzia
2y ago
>It's $CURRENTYEAR and Java still doesn't support structs they call it records, added recently. Depending on where you work, you may see them in a decade
45.
▲
by
fiedzia
2y ago
> Let's also admit every language before Rust hasn't succeeded at out right replacing the vast majority of C/C++, Many languages expelled C/C++ from the domains they were once kings of entirely. It used to be "th
46.
▲
by
fiedzia
2y ago
I recall early Java having appetite for memory that hardware often could not satisfy (on a x86 desktop, it is of course still true for many microcontrollers). Also I read a story of a developer resisting move from hand-written assemby to C,
47.
▲
by
fiedzia
2y ago
> Tantivy, it’s just superior in every way now It lacks tons of features ES and Solr have, most notably geo search, but what it does it does a lot faster.
48.
▲
by
fiedzia
2y ago
I like my hp spectre. Not sure if they still make them, but I had no issues with it. Use lenovo carbon for work and can recommend them too. Framework is most configurable, but I have no personal experience.
49.
▲
by
fiedzia
2y ago
> this is practically impossible to hunt down in a big codebase use linters, they keep getting smarter
50.
▲
by
fiedzia
2y ago
No. Nobody is going read those (because most people won't even know that some unsafe is buried 5 layers of dependencies below what they work with). The author should make reasonable effort to prove the code is working correctly (and ca
51.
▲
by
fiedzia
2y ago
use Python, so that other people can read it
52.
▲
by
fiedzia
2y ago
> If the pieces of state are all well known at build time - and trusted in terms of their content .. than use library, because you should not rely on the assumption that next developer adding one more piece to this code will magically re
53.
▲
by
fiedzia
2y ago
> entering an email and passcode is materially different from entering a username and password The only difference is that passcode is one-time use, so it's not stored and even if someone would stole it, it cannot be reused.
54.
▲
by
fiedzia
2y ago
For "wifi to work" you will need updates. Though updating all devices at once is a really dumb policy.
55.
▲
by
fiedzia
2y ago
ints as user ids are fine, a language with tons of footguns isn't
56.
▲
by
fiedzia
3y ago
U.S. Navy Submarine First In World Fitted With Silent Caterpillar Drive https://www.navalnews.com/naval-news/2024/04/u-s-navy-submar...
57.
▲
by
fiedzia
3y ago
Landmines used to curb deer population in Scotland https://www.ukclimbing.com/news/2024/04/landmines_approved_f...
58.
▲
by
fiedzia
3y ago
> Look at any wild animal, do they want to be owned, do they want to be put on a leash? Numerous wild animals can be held as pets, without going through domestication, so apparently they do. If you feed them, they may have no reason to m
59.
▲
by
fiedzia
3y ago
Really early days of flying where like "let's add a few feathers and then add some more". Though architectural changes were added too.
60.
▲
by
fiedzia
3y ago
> the fact that it was abandoned shows that their society wasn't able to maintain it in the long term A flood, drought, climate change, war or better jobs elsewhere were common reasons for abandoning locations. We have many abandone
More ›