timakro
Re:Rusty Ownership and the Lifecycle’s Stone
on Sunday November 27, 2022 @12:29PM (#33764709)
Small correction: contrary to what the post claims this does not compile:
fn main() {
let s = String::from("hello");
foo(s);
println!("{}", s);
}
fn foo(le_string: String) -> String {
println!("{}", le_string);
le_string
}
This does, which is probably what the author meant: fn main() {
let s = String::from("hello");
let s = foo(s);
println!("{}", s);
}
fn foo(le_string: String) -> String {
println!("{}", le_string);
le_string
}
Great post!
Re:Why it’s hard to buy deodorant in Manhattan
on Thursday November 24, 2022 @06:57PM (#33737528)
Amazon makes it easy to sell especially with FBA. That's as much a good thing as it can be misused. It allows new businesses to get started when they cannot afford to handle shipping to customers themselves.
Re:Brian Kernighan adds Unicode support to Awk
on Saturday August 20, 2022 @03:25PM (#32534543)
So it turns out the default on Debian is mawk which does NOT support Unicode. Thanks for pointing that out. This simple test gives different results for gawk and mawk.
$ echo 'ö' | awk '{print length}'
Re:Brian Kernighan adds Unicode support to Awk
on Saturday August 20, 2022 @03:04PM (#32534399)
I believe no distro actually ships this version of awk by default. They ship GNU awk which has Unicode support anyways.
Re:Library Writing Realizations (2015)
on Sunday July 24, 2022 @05:49PM (#32218096)
Even though I'm a prospective developer I read the title as "realizations I had when writing in a public library". I was hoping for tips or insights when working in public spaces.
Re:I'm “still afraid to use spaces in file names” years old
on Thursday November 11, 2021 @10:44AM (#29189149)
Maybe if we'd do it more software would actually learn to deal with it.
Re:On Apple’s “Expanded Protections for Children” – A Personal Story
on Friday August 06, 2021 @05:42AM (#28085027)
Some banks in Germany support chipTAN which doesn't require a phone. You can find a list of banks supporting chipTAN here: https://www.kostenloser-girokonto-vergleich.de/diese-banken-...
Subtleties of configuring Nginx’s auth_basic to “remember me”
Vimpc is a client for mpd with vi-like key bindings
Re:Quadcopter Programming Part 2: Using the CMSIS Library and First Ta...
on Monday December 02, 2019 @02:13AM (#21680494)
Great! Be sure to check out the first part if you have trouble getting started. Best of luck :)
Re:Quadcopter Programming Part 2: Using the CMSIS Library and First Ta...
on Sunday December 01, 2019 @08:28AM (#21675379)
SWD is purposefully exposed on that board and instead of flashing via the bootloader I got flashing with gdb via SWD with the `load` command working. I just use a male header with some jumper wires for the connection. It seems stable enough. Some pictures of the debug port here:
Quadcopter Programming Part 2: Using the CMSIS Library and First Takeoff
My Windows Gaming VM with PCI Passthrough and First Thoughts on Arch Linux
New Hardware, Switching to Arch Linux and PCI Passthrough for Gaming
Re:EU Abolishes Tan Lists and Banking Apps on Rooted Phones Ridiculous...
on Tuesday March 26, 2019 @02:19AM (#19489643)
It stands for "Transaction authentication number", in Germany this term is widely used, not sure about other European countries.
And yes you are correct, this is a one-time password you enter to authenticate a bank transaction.
EU Abolishes Tan Lists and Banking Apps on Rooted Phones Ridiculousness
Re:Bare Metal STM32 Programming and a Quadcopters Awakening
on Wednesday March 06, 2019 @11:07AM (#19319928)
Thanks, I updated the post.
Re:Bare Metal STM32 Programming and a Quadcopters Awakening
on Wednesday March 06, 2019 @10:24AM (#19319530)
Nice series you got there, I just took a look and found some really interesting projects. I would be honored for my article to be featured there!
Re:Bare Metal STM32 Programming and a Quadcopters Awakening
on Wednesday March 06, 2019 @01:27AM (#19316773)
Fair enough, my first idea was actually to use MicroPython. With a megabyte of Flash that would have been possible, but 64K is just not enough.
Re:Bare Metal STM32 Programming and a Quadcopters Awakening
on Tuesday March 05, 2019 @05:16PM (#19314779)
On-chip debugging with OpenOCD was actually one of the next things I wanted to try out with my drone. I need to get an ST-Link dongle because the drone doesn't have one on board.
I'm not sure if JTAG will even work or if they connected a pin to some sensor or similar on the board. SWD will work for sure, I saw the two SWCLK and SWDIO connectors on the board.