Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dbrgn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
dbrgn
5y ago
I agree about hot-swap, but I'm not sure if hot-swap exists on the market for low-profile switches. A non-low-profile keyboard would need to be designed differently, to avoid the keys colliding (due to the curving). It's probably
182.
▲
by
dbrgn
5y ago
Unfortunately TypeScript's enums have various shortcomings compared to powerful sum types in languages like Rust: - https://stackoverflow.com/questions/40275832/typescript-has-... - https://github.
183.
▲
by
dbrgn
5y ago
Developing UI components based on ContentEditable is trial and error, with a lot of code held together by cross-browser integration tests where you always have to pray that a browser upgrade doesn't brake something new in a subtle and
184.
▲
Tealdeer 1.5.0
(github.com)
2 points
by
dbrgn
5y ago
|
0 comments
185.
▲
by
dbrgn
5y ago
Hmm, putting them in a subcrate / separate compilation unit is pretty smart. I can imagine that quite a chunk of the compilation time goes into the proc macros :)
186.
▲
by
dbrgn
5y ago
I like Docopt for quick scripts, used it both in Python and Rust projects. It is quite unflexible though. The Rust Docopt implementation¹ was deprecated this year, which is probably good because clap v3² is so awesome. In a project of mine
187.
▲
Signing Git Commits with SSH Keys
(blog.dbrgn.ch)
1 points
by
dbrgn
5y ago
|
0 comments
188.
▲
by
dbrgn
5y ago
Looks nice! Did you try fuzzing your implementation (e.g. with AFL++ or libfuzzer)? Codecs and especially decoders written in C that handle untrusted binary data are quite worthwhile targets for fuzzing.
189.
▲
Signing Git Commits with SSH Keys
(blog.dbrgn.ch)
2 points
by
dbrgn
5y ago
|
0 comments
190.
▲
Signing Git Commits with SSH Keys
(blog.dbrgn.ch)
3 points
by
dbrgn
5y ago
|
0 comments
191.
▲
by
dbrgn
5y ago
How is that related to serde?
192.
▲
by
dbrgn
5y ago
> If we mean to say this tractor is all-electric, keep in mind most small farms arent equipped to charge anything more advanced than a cordless drill or flashlight. Are you sure? In Switzerland, most farms I know have at least one dusty
193.
▲
by
dbrgn
5y ago
Yep, the core concepts did not change. It's still relevant.
194.
▲
by
dbrgn
5y ago
Note: If someone wants to learn Rust by implementing linked lists, then https://rust-unofficial.github.io/too-many-lists/ is a must-read :)
195.
▲
by
dbrgn
5y ago
Just start a small project and figure out how things work on-the-go :) My first one was a small PCB to control a RGB LED strip using three potentiometers.
196.
▲
by
dbrgn
5y ago
Instead of discussing the ideas presented, the _person_ behind the ideas is discussed. In my book, that's pretty close to an ad-hominem, even if the accusations are only implied.
197.
▲
by
dbrgn
5y ago
Instead of attacking the person (ad-hominem), how about discussing the technical merits and deficiencies of the proposed solution to a real problem that no Linux distro has tackled so far? I'm sure the NSA is happy about unauthenticate
198.
▲
by
dbrgn
5y ago
Yeah, I have good experiences with Mattermost (bundled with GitLab) as chat for a hackerspace/makerspace. As long as you're OK with unencrypted push messages, building your own version of the app and keeping it up to date is horri
199.
▲
by
dbrgn
5y ago
Rocket can be used with sync handlers.
200.
▲
by
dbrgn
5y ago
I've memorized my last 2 credit card numbers. Takes about 5-10 minutes and is absolutely worth it!
201.
▲
by
dbrgn
5y ago
Different organizations have different requirements, so they choose different solutions. Threema Work is used by the Swiss government, Bosch, Daimler and others. Threema and Matrix are quite different. Matrix is a centralized / federat
202.
▲
by
dbrgn
5y ago
Yeah, but for less than 30k € you can already get a Renault Zoe with a speed of 145 km/h and a range of almost 400 km (52 kWh battery). At the price of 50k €, you're in the Tesla Model 3 range.
203.
▲
by
dbrgn
5y ago
Wow. For that price, you can easily buy an electric car.
204.
▲
by
dbrgn
5y ago
Yep, I can totally relate. I found multiple bugs in a MessagePack JS implementation that were related to this issue. I also worked on a project once where unique IDs of objects could get quite large (because they were random u64 integers).
205.
▲
by
dbrgn
5y ago
Haha, yeah JS integers "can grow". Kind of. And then they bite you in the worst way possible. Especially when combined with cryptography (e.g. nonces). Try this: >> const x = 288230376151711740; >> x == x + 1 t
206.
▲
by
dbrgn
5y ago
Maybe give https://librepcb.org/ a try? The file format is optimized for version control. While it isn't yet as feature-rich as KiCAD yet (e.g. no differential pair length matching, no 3D preview) it tries to do better
207.
▲
Threema Hit 10M Users
(twitter.com)
2 points
by
dbrgn
5y ago
|
0 comments
208.
▲
by
dbrgn
5y ago
The title is misleading, because defmt is not a debugger, but a logger (with a twist). A better title would be "Cheap Logging with Embedded Rust", or something like that. The cool thing about defmt is that it doesn't do strin
209.
▲
by
dbrgn
5y ago
They will still work.
210.
▲
by
dbrgn
5y ago
This is what reproducible builds try to fix: https://wiki.debian.org/ReproducibleBuilds
More ›