Better HN
topnewbestaskshowjobs
Log inSign up

timakro

156 karma · joined Feb 22, 2019 (7y ago) · 23 submissions

Submissions

comment 3y ago · link · parent

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!

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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}'

comment 4y ago · link · parent

I believe no distro actually ships this version of awk by default. They ship GNU awk which has Unicode support anyways.

comment 4y ago · link · parent

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.

6.

Answering 'OK' May Make Millennials and Gen-Zers Think You're Mad at Them (2019)(inc.com ↗)

4 points · by timakro · 5y ago · 2 comments

comment 5y ago · link · parent

Maybe if we'd do it more software would actually learn to deal with it.

comment 5y ago · link · parent

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-...

9.

Subtleties of configuring Nginx’s auth_basic to “remember me”(tschumacher.net ↗)

3 points · by timakro · 5y ago · discuss

10.

Vimpc is a client for mpd with vi-like key bindings(github.com ↗)

1 points · by timakro · 5y ago · discuss

comment 6y ago · link · parent

Great! Be sure to check out the first part if you have trouble getting started. Best of luck :)

comment 6y ago · link · parent

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:

https://files.timakro.de/IMG_20191201_142259.jpg

https://files.timakro.de/IMG_20191201_142246.jpg

13.

Quadcopter Programming Part 2: Using the CMSIS Library and First Takeoff(timakro.de ↗)

71 points · by timakro · 6y ago · 18 comments

14.

My Windows Gaming VM with PCI Passthrough and First Thoughts on Arch Linux(timakro.de ↗)

2 points · by timakro · 7y ago · discuss

15.

New Hardware, Switching to Arch Linux and PCI Passthrough for Gaming(timakro.de ↗)

5 points · by timakro · 7y ago · 1 comment

comment 7y ago · link · parent

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.

17.

EU Abolishes Tan Lists and Banking Apps on Rooted Phones Ridiculousness(timakro.de ↗)

4 points · by timakro · 7y ago · 2 comments

comment 7y ago · link · parent

Thanks, I updated the post.

comment 7y ago · link · parent

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!

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

22.

Bare Metal STM32 Programming and a Quadcopters Awakening(timakro.de ↗)

124 points · by timakro · 7y ago · 55 comments