Better HN
topnewbestaskshowjobs
Log inSign up

teknas

99 karma · joined Dec 23, 2018 (7y ago) · 13 submissions

Submissions

comment 4y ago · link · parent

(I am the post author). I wrote the original version of this post using x86, but leetcode won't accept it. So I had to improvise...

comment 4y ago · link · parent

It's not that easy, you also have to account for the pointer sizes (4 bytes instead of 8). Also alignment requirements are different on x32.

3.

Inverting a binary tree using x64 assembly(sanket.tech ↗)

161 points · by teknas · 4y ago · 70 comments

4.

Inverting a binary tree using x64 assembly(sanket.tech ↗)

1 points · by teknas · 4y ago · discuss

comment 5y ago · link · parent

If anyone wants to try this challenge the talk by Alexander Rhatushnyak (the current #1 on leaderboard)[1] is a pretty good starting point

[1] https://www.youtube.com/watch?v=gqpsD6OKSjM

6.

Notes on Inflation(sanket.tech ↗)

2 points · by teknas · 5y ago · discuss

7.

Show HN: Script which detects and removes Hacktoberfest spam PR's(github.com ↗)

1 points · by teknas · 6y ago · discuss

comment 6y ago · link · parent

Shameless plug: I created a detection script to find and close such spammy PR's. https://github.com/TechieBoy/spamtoberfest

9.

Find and label low-effort Hacktoberfest PR's automatically(github.com ↗)

2 points · by teknas · 6y ago · 1 comment

comment 6y ago · link · parent

If one of your devices is guaranteed to be always online, you should take a look at syncthing. I found it to be faster than resilio.

https://syncthing.net/

comment 6y ago · link · parent

If you are open to trying out a functional programming style, I would recommend Phoenix(Elixir). Also Liveview is amazing when you want to create interactive frontends without using react/vue.

12.

Hammock driven development (How to think about and solve problems)(youtube.com ↗)

1 points · by teknas · 6y ago · discuss

comment 6y ago · link · parent

In a flame war the ratio of the number of people who commented to the actual number of comments would be greater as usually the people who feel strongly about the topic would comment more often. Wouldn't this be a better metric than simply number of likes to comments?