Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiedzia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
fiedzia
4y ago
crypto does change. Maybe not specifications of specific algorithms, but which of them are supported may change. Do we want to break existing code when one of them will become deprecated or do we want to allow insecure method to be used to
152.
▲
by
fiedzia
4y ago
> do you use Rust for (nearly) everything? Nearly. There are still some things easier to do in Python or JS, but the gap is closing quickly and I'm fine with spending small amount of convenience to get quality of Rust code. I am loo
153.
▲
by
fiedzia
4y ago
> Python, for example, has arbitrary precision integers. In the spirit on nitpicking on edge cases: It does, but quiet often you pass a number to some C library (other than stdlib) and C does not honour this arrangement.
154.
▲
by
fiedzia
4y ago
After spending some time on few forums I realized I miss heavily threaded discussions from NNTP times, so I started thinking about designing modern alternative (centralized, where server keeps track of messages you marked as read).
155.
▲
by
fiedzia
4y ago
To get it working client-side you'd need to change the app, while the whole premise here is that you don't have to (and often can't). One point tracking what UA string are here and what they need is better than expecting ever
156.
▲
by
fiedzia
4y ago
> In web tooling there are things like Django's Admin app. Which is great - for creating custom admin panels easily. You can't use it as "generic app" you just turn on and it works, so someone has to do it.
157.
▲
by
fiedzia
4y ago
> What should isMobile return? There was an joke (real story maybe) about soldiers being allowed to carry up to 25kg of gear, and therefore a device weighting 104kg supposed to be carried by 4 people was deemed not to be portable.
158.
▲
by
fiedzia
4y ago
> When I got started with the web 15 years ago, it was advised everywhere not to rely on user agent strings and rely on feature detection instead, Which is reasonable advice for a code running in a browser, not for a proxy/CDN (and
159.
▲
by
fiedzia
4y ago
There is https://www.meilisearch.com/ Few others based on tantivy Sphinx Nothing matches Solr/ES on functionality though, and ES doesn't require anyone to deal with Java (until you need tweak perfomance).
160.
▲
by
fiedzia
4y ago
I meant that increasing amount of projects related to Python/JS and others that would previously be created in C/C++ is now created in Rust. Some examples: TypeScript type checker written in Rust Ruff – a fast Python Linter writte
161.
▲
by
fiedzia
4y ago
> But these are all implemented in C++ or C? Mostly, but Rust is increasingly replacing them.
162.
▲
by
fiedzia
4y ago
> It makes it absurdly difficult to share common styles across components. It's a feature, not bug. In the world where many components are created independently by different developers, It's suddenly possible to define element
163.
▲
by
fiedzia
4y ago
They can and often are used for the same tasks. I ported code from Pyton to Rust several times to improve performance or memory usage. Both languages are fairly similar when it comes to syntax, language concepts and many Rust libraries are
164.
▲
by
fiedzia
4y ago
Cargo is best there is in this domain so far. Poetry is good. I rarely use anything else. Important things: 1. Consider what developer need and what devops need. Those are different needs. 2. Packages should be immutable. 3. Take care about
165.
▲
by
fiedzia
4y ago
>Is doing versioning explicitly in a database necessarily more complicated than with git histories? What "versioning" means depends heavily on the database. "Versioning" for typical relational databases like Postgres
166.
▲
by
fiedzia
4y ago
Db idea of versioning usually is useless for implementing version control as git does. You could store git objects in a relational database and that makes a lot of sense (becasuse transactions and better data integrity guarantees). Biggest
167.
▲
by
fiedzia
4y ago
You can use ES as data storage, and in that case SQL makes sense. It was originally created as full-text search utility, and for that part SQL is not very useful.
168.
▲
by
fiedzia
4y ago
It's groupchat, better sms (with photos) and calls over internet, already integrated with phone numbers. Also its more reliable than sms.
169.
▲
by
fiedzia
4y ago
It's to be or not to be for fb, they are the one asking and paying.
170.
▲
by
fiedzia
4y ago
There is also spyfall ( https://boardgamegeek.com/boardgame/166384/spyfall ) which is about one person not knowing what everyone else knows and trying to pretend otherwise. Very popular among my friends.
171.
▲
by
fiedzia
5y ago
As an interesting complement to this story, I've recently seen a video on youtube (I'll try to find it when I'll get home) showcasing poorly or not-at-all color-graded movies made with expensive gear and crew, either because
172.
▲
by
fiedzia
5y ago
> is that value of a different type than a foo constructed by X 1.1 I encountered this case once, and they are considered to be different types (in my case the issue was that using v1.0::foo with v1.1::foo traits wouldn't compile),
173.
▲
by
fiedzia
5y ago
In short, FOSS or not, do not work on something that doesn't benefit you (either by being paid or solving your problem).
174.
▲
by
fiedzia
5y ago
There should be a Doom version with that thing.
175.
▲
by
fiedzia
5y ago
Games include music, so the answer for that part is "not at all". Many games offer music at additional cost, so there is a market for that. Also certainly some games made their music iconic in the same way movies used to do it.
176.
▲
by
fiedzia
5y ago
this is normalization issue, not version issue import unicodedata list(unicodedata.normalize('NFD', "ñ")) >> ['n', '̃'] list(unicodedata.normalize('NFC', "ñ")) >> [
177.
▲
by
fiedzia
5y ago
Basic Rust, sure. For some definition of "basic", and average person that knows some other programming language. What I mean is something along this line: https://www.linuxjournal.com/content/getting-started-r
178.
▲
by
fiedzia
5y ago
> We are sending the data to the warehouse as a float There is your problem
179.
▲
by
fiedzia
5y ago
Absolutely. You can write some Rust by following some hello world tutorial and be productive in 15 minutes. That doesn't mean you'd be proficient in writing procedural macros or understanding all details of memory management, but
180.
▲
by
fiedzia
5y ago
> they are both system languages Due to ability to work without stdlib, Rust is system language in a sense Go never will be, to the point Go authors withdrawn this definition. > Is Rust really a suitable replacement for Go? It depends
More ›