Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AnyTimeTraveler
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
AnyTimeTraveler
10d ago
This can be done reliably, though. You can just do if a == b { ... Just that the check will be replaced at compiletime with a constant, since the borrow-checker tracks all objects lifetimes and can use that information to optimize the check
2.
▲
by
AnyTimeTraveler
14d ago
In my experience, it is pretty rare to run much actual work on a microcontroller. Testing at effectively idle represents most of my usecases. For the times where there is a background load: RTIC has task priorities and pre-emption, so you c
3.
▲
by
AnyTimeTraveler
27d ago
Each one reads to me as: User is lead to believe X, if they don't read the fineprint. X is not the case. Instead you get Y. That sounds perfectly fitting into a consumer rights wiki to me. Also, Clinton the cat is the much beloved cat
4.
▲
by
AnyTimeTraveler
1mo ago
Take the train instead. It's much better here in europe.
5.
▲
by
AnyTimeTraveler
4mo ago
In that AES encrypted file. It's a shellscript that they encrypted. They decrypt it and feed the decrypted output immediately into the shell, to be sourced. That encrypted secrets file could contain any shellscript, so the aliases are
6.
▲
by
AnyTimeTraveler
7mo ago
My work laptop currently has 96GB of RAM. 32 of it is allocated to the graphics portion of the APU. I have 128GB (2x) of SWAP allocated, since I sometimes do big FPGA Synthesizations, which take up 50GB of RAM on its own. Add another two ID
7.
▲
by
AnyTimeTraveler
8mo ago
Many Linux display managers let you chose what to do, when a window requests focus. For me on Sway, it just turns the border red. I chose what happens after. Can recommend. I wasn't even aware of my privilege.
8.
▲
by
AnyTimeTraveler
10mo ago
Weird. My android phone is 3+ years old and was not a flagship when I got it. It had a little problem with stuttering on more complex examples. It sounded like it was running out of things that can play at the same time, but scrolling was s
9.
▲
by
AnyTimeTraveler
11mo ago
What? This website 1. reacts well to my system preference of a dark theme in my news-reader 2. has a toggle at the top for dark theme 3. works flawlessly with DarkReader in my browser Until I saw your comment, I didn't even know the we
10.
▲
by
AnyTimeTraveler
1y ago
Have you thought about just not making the variable global and instead adding it as a parameter to the functions that actually need it? You can also create a struct, put your "global" variable inside it and then put all the functi
11.
▲
by
AnyTimeTraveler
1y ago
Rust's number types have functions like "wrapping_add" or "overflowing_add", which do not panic when overflowing and instead explicitly wrap around or return a result that must be checked. You can easily write code
12.
▲
by
AnyTimeTraveler
1y ago
That's Anubis. A proof-of-work based protection against AI-Crawlers. https://github.com/TecharoHQ/anubis
13.
▲
by
AnyTimeTraveler
1y ago
This readme could really benefit from a screenshot.
14.
▲
by
AnyTimeTraveler
1y ago
I'm pretty sure that that didn't exist in 2015 ;)
15.
▲
Show HN: A small library for stack-trace-like error messages in Rust
(docs.rs)
4 points
by
AnyTimeTraveler
1y ago
|
0 comments
16.
▲
by
AnyTimeTraveler
1y ago
My common sense tells me: "If you aren't paying for the product, you are the product." Am I the only one who finds it a bit weird, that they are hosting a the video conversion part of server with graphics cards etc. for free?
17.
▲
by
AnyTimeTraveler
1y ago
Take a look at the Intel 8052 Microcontroller. It has a part of its internal RAM that can be addressed as bytes with normal instructions, but also has special bit-instructions. You could set and clear a bit and jump if is was set or not set
18.
▲
by
AnyTimeTraveler
2y ago
My ID says D for "diverse". Equivalent to X in the US. What now?
19.
▲
by
AnyTimeTraveler
2y ago
I genuinely have no idea what to chose in the gender-screen (since neither option applies) and can't just say "You don't get to know that". Why is this needed? Edit: clarification
20.
▲
by
AnyTimeTraveler
2y ago
And what about the active hostilities towards trans people, who often can't get passports anymore (I personally know one person who has this problem) and can't update their names and gender entries anymore. What about the demolish
21.
▲
by
AnyTimeTraveler
2y ago
I learned 8086 (not x86) assembly in a university course during my bachelors degree and won a contest to create the first correct implementation that would play "Jingle Bells" on the PC-Speaker[0] attached to the custom built comp
22.
▲
by
AnyTimeTraveler
2y ago
From the Github Readme[1]: Automat's objective is to be able to semi-autonomously play a variety of games. It's the first step towards a more general environment for interacting with computers. Currently Automat's functionali
23.
▲
by
AnyTimeTraveler
2y ago
What they meant was probably, that you have the option to rely entirely on using git repositories for your dependencies or even just paths to other projects on your disk. You can also setup your own dependency registry and only work with th
24.
▲
by
AnyTimeTraveler
3y ago
In a no_std Rust environment, there is no allocator. There is no heap. So an allocator is needed to use things like Vectors or Strings. This is very common in embedded contexts, where you can take nothing for granted.
25.
▲
by
AnyTimeTraveler
3y ago
I really like the idea of running a watch on an sqlite table with my common cli tools. If I understand correctly, it is being re-read on every request. Does that mean that changes to the sqlite database will be visible on the next read of a
26.
▲
by
AnyTimeTraveler
3y ago
I've used Javalin as well and now I understand why it all looked pretty familiar, but I kept thinking "Javalin did x better". I can recommend Javalin as well! Having used the Spring Framework, this is a delight in comparison.
27.
▲
by
AnyTimeTraveler
3y ago
This reminds me of writing VHDL in the Sigasi IDE. You could write the description for a component, have it's syntax checked and get autocomplete while typing and once you were done, you could click a button and see an overview of your
28.
▲
by
AnyTimeTraveler
3y ago
These are absolutely beautiful. I can't seem to find a license anywhere. Are they public domain?
29.
▲
by
AnyTimeTraveler
3y ago
You mean a system like Audiobookshelf[0]? I can highly recommend this, by the way. Works more reliably than any paid service I've ever tried. [0] https://www.audiobookshelf.org/
30.
▲
by
AnyTimeTraveler
3y ago
I set up hourly borg backups instead. That resulted in me aliasing rm='rm -rf' without a worry in the world. So far, I made about ten recoveries and have never lost important data.
More ›