Details
-
AboutI like programming for fun
-
SkillsRust, Python, Java, and a little bit of the C
-
LocationTurku
-
Github
Joined devRant on 6/15/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
What's wrong with being a hacker?
-
Transmission for desktop. Transmission-cli for the terminal. Transmission-daemon with the web interface enabled for a web interface.
-
The language where 1 === true == maybe
-
Simpsonwave
-
SYN ACK
wait, that's the wrong response
shit -
Had this exact problem with Windows 7 on a laptop... Installed Windows from a standard installation disc, had no drivers, including network and graphics drivers. So I was stuck in low-resolution mode with no network at all.
I ended up getting the drivers from a hard drive backup I had. -
On most Unices and Unix-likes (excluding macOS) it does.
There are two separate clipboards. One is the normal Ctrl-C, Ctrl-V one. The other one copies by selecting text and pastes it by middle clicking. It's glorious. -
this is obviously the best one:
fn main() {
println!("{}", "Hello World!");
} -
@markyosullivan It does, after all, stand for "Escape-Meta-Alt-Control-Shift"
-
No documentation is more efficient than incorrect documentation.
If the documentation is wrong, you try to follow it precisely and it ends up not working, then you go "fuck this" and try to figure it out by reading the code. Then you curse the developer.
If the documentation is just missing, you go straight to step 2.
No documentation is more efficient than incorrect documentation. -
Oh man, we have this book in the shelf at our hackerspace. I've been reading it to pass the time while 3D printing and it's been really inspiring and informative!
-
German? "Ich will ein Computer bekommen"
-
Windows 10 was the reason I bailed on Windows altogether...
-
Make your Caps Lock into a Ctrl key. Now experience how fluid all the Ctrl- shortcuts are.
-
WebAssembly...
-
C++: Segmentation fault
Java: Uncaught NullPointerException
Rust: Compilation error... -
what is :w
I use the vim-auto-save plugin configured to save after 400 ms of inactivity. Then I have tmux with a shell in a separate window where I build and run. So I just need to edit, then switch the tmux window and compile. If something goes wrong, there's undo and git to fix that 😀 -
What do you mean it's fiddly to move up and down? J and K are the same size as H and L, aren't they? 😀
-
My own one is just an IRC bouncer, but the one we set up at the hackerspace? It's a Raspberry Pi 3, which shows an information dashboard on a monitor, hosts an API for various environmental sensors in the room, hosts our IRC and Telegram bots, autouploads photos from our camera to Flickr, hosts a database and web-interface where everyone manages their credit (for buying drinks from the fridge!), streams music to the stereo, and drives a strip of RGB LEDs in the ceiling. It also forwards certain sensor data through a VPN to the outside world where our website is hosted.
Even worse, this was all done on an original Raspberry Pi 1 before we upgraded it to a 3! -
It was a lifetime problem in Rust (a mutable borrow which never expired, which was undesired). I came up with a hack that would "solve" the problem and it worked. Eventually I removed the hack and it still worked. Looking at the diffs now, I suspect there's just something about the behavior of the borrow checker/lifetimes that I didn't fully grasp (It's like learning pointers all over again).
-
Oh shit, I have the same NSA sticker on my laptop! I got it from a guy in my hackerspace in Turku, Finland. They have those in Austria too? 😃😃
-
I had a problem in Rust when I gave a function a time::Duration but it expected a std::time::Duration.
Turns out the standard library has its own time module with a struct called Duration, which is different from the Duration struct from the time crate... -
A programmer had a problem, and decided to use threads to solve it.
probhas lems. Now he two -
I had the same experience. Windows just wasn't worth the hassle for me anymore when everything I did (including my games) was available for Linux, so I got rid of my Windows dual-boot install and went all Fedora. 🎩
-
Can't tell why people like Emacs, maybe because it's the most feature-packed software there is. It comes with games, an IRC client, a news reader, a web browser and two mail readers built in by default!
I like Vim because it's extensible (lots of plugins) yet extremely lightweight and fast. (On my laptop,) it starts up with no loading time at all, and never ever slows down! -
Man collapses in the street, his wife tells "help, we need a doctor"
A dev says "I use Vim" -
Google Docs, Sheets and Slides are nice (and the exact same on every platform) and I tend to use them most, but I also don't have anything specifically against LibreOffice
-
Representing Finland 🇫🇮
-
C64 BASIC ;)
-
I prefer to solve problems lazily.
-What's 4828*124?
-Why do you ask?
-You said you were fast at math on your resume.
-Ok.
Of course, in this case the actual calculation was optimized out.