HNHacker News
TopNewBestAskShowJobs

birktj

287 karma · joined April 28, 2020

submissionscomments
birktj··on Judge: Citibank isn't entitled to $500M it sent to various creditors last August
I think it makes sense. If you are already owing money the creditor is expecting the payment and has no reason to believe it is a mistake. If you then afterwards come and say "hey I was not supposed to pay the money i owe you, please pay it back" things become sort of complicated.
birktj··on Robinhood is limiting purchases of stocks: AMC, Blackberry, Nokia, and GameStop
Could you in theory buy your own debt?
birktj··on All problems stem from man's inability to sit quietly in a room alone (2014)
Do people here feel the same way? That is, do you feel that it is uncomfortable to not do anything? I, like most people I guess, am easily distracted with various things like reading HN or fiddling with whatever is on the table. When given the opportunity to sit down with nothing with my thoughts however, I always feel very enjoyable. It is definitely nothing I would think about as uncomfortable.
birktj··on A swarm of drones flying through heavy forest–while staying in formation
I was part of a student drone group last year. Previously they have been using various embedded systems like intel nuc's and nvidia tx2's. However this year they decided that it would be much better to just strap on a good old i9 instead, makes development so much easier when you don't have to spend a bunch of time optimizing stuff.
birktj··on U.S. Treasury breached by hackers backed by foreign government – sources
The HashClash tool [1] was written back in 2006 and can construct chosen-prefix md5 collisions. Don't know if it has anything to do with Dan Kaminsky though.

[1]: https://www.win.tue.nl/hashclash/

birktj··on Hyundai to acquire Boston Dynamics
Metalhead https://en.wikipedia.org/wiki/Metalhead_(Black_Mirror)
birktj··on Oasis: a small statically-linked Linux system
I don't know if this is what you are thinking of, but there is this concept in embedded systems sometimes refereed to as library operating systems [1]. My understanding is that in this model the operating system is implemented as a library and you your system would consider of one application that uses the os library to do tasks usually handled by the operating system.

[1]: https://en.wikipedia.org/wiki/Operating_system#Library

birktj··on IoT Unravelled Part 3: Security
I do agree that segmenting IoT devices is definitely a good idea. However if your door access control cannot handle a busy network I really don't think it should be used as such.
birktj··on Linus Torvalds on the new MacBook Air
Does there exist soc any that would be suitable for a powerful arm laptop that can run Linux? How does for example the nvidia xavier soc stack up against the apple m1?
birktj··on ‘Extremely aggressive’ internet censorship spreads in the world’s democracies
I believe it is the court case with ID TOSLO-2015-67093 [1]. Trough my old university account I still have access to lovdata pro so I was able to search for it and view it. I am to lazy to reupload it tonight, but if you are interested I could do it tomorrow.

[1]: https://lovdata.no/pro/#document/TRSIV/avgjorelse/toslo-2015...

birktj··on ‘Extremely aggressive’ internet censorship spreads in the world’s democracies
This is pretty bad. As have been pointed out by multiple commenters in this thread a lot of the examples in this article and the underlying paper are simply incorrect. I'm Norwegian and I can say with extremely high confidence that three domains given as an example in the paper [1] (page 10): hrw.org, match.com and 163.com has never been blocked by any major ISP in Norway. However I do know that some piracy and gambling sites are. I tried to download the data for myself [2] to take a closer look, however as I do not study in the US and thus do not have a .edu email address access is blocked.

[1]: https://censoredplanet.org/assets/censoredplanet.pdf

[2]: https://censoredplanet.org/data/raw

birktj··on ‘Extremely aggressive’ internet censorship spreads in the world’s democracies
It does, they even have a selection that is translated to english [1]. However I don't know what kind of terms I would search for. I tried "DNS", but it didn't give me anything. I also tried "internet blocking", no luck there either.

[1]: https://lovdata.no/register/loverEngelsk

birktj··on Exotic Programming Ideas, Part 2: Term Rewriting
I have looked a little bit at Pure before, it seems pretty neat. Do you know if there is anything interesting written about it?
birktj··on Exotic Programming Ideas, Part 2: Term Rewriting
That is a good point and there even is a sort of open source implementation of the Wolfram language, Mathics [1]. Although I would assume its value is kind of limited without the standard library included with Mathematica.

[1]: https://mathics.org/

birktj··on Exotic Programming Ideas, Part 2: Term Rewriting
I have always found term rewriting a fascinating idea as a programing paradigm and the Wolfram language seems very cool. It is a shame that it is a proprietary language.

An even more insane language based on term rewriting is the Egison programming language [1]. Egison even supports pattern matching on infinite data structures, it is pretty cool.

[1]: https://www.egison.org/

birktj··on International statement: End-to-end encryption and public safety
> Enable law enforcement access to content in a readable and usable format where an authorisation is lawfully issued

Does not sound much like end-to-end encryption at all.

birktj··on Algorithm-Visualizer
I don't think this is true. From Wikipedia [1]:

> The heuristic function is problem-specific. If the heuristic function is admissible, meaning that it never overestimates the actual cost to get to the goal, A* is guaranteed to return a least-cost path from start to goal.

In this case the euclidean does not overestimate so I would guess there is a bug in the implementation.

[1] https://en.wikipedia.org/wiki/A*_search_algorithm

Edit:

Having taken a look at the source code I believe the problems mostly stem from the `addNeighboursToOpen` function [2]. It sets the distance and parent of unvisited neighbors of the current node. However this may happen multiple times for a node before it is actually visited. Meaning that the distance and parent is updated multiple times and the value at the end is not the optimal one. A simple fix would be to do a if check to see if the node already has a distance assigned.

[2] https://github.com/Walker-TW/Algorithm-Visualizer/blob/maste...

birktj··on Source code of Germany’s official covid-19 contact tracing app
Even though it is getting better, I would argue Norway still has a pretty bad open data culture. As far as I know Kartverket has only released the N50 with the more detailed N5 data still not being available to the public. The biggest pain points for me is the fact that marine depth data of a certain resolution is classified information [1] and they still wont release nautical maps for free.

I am hoping the open trend will continue because the Norwegian government sits on some really high quality data that could see a lot of interesting uses.

[1] https://www.kartverket.no/en/data/bathymetric-data-and-DTM-o...

birktj··on Adobe to remove Flash Player from web site after December 2020
Ruffle is great! I just used it the other day to convert a flash website with a service manual for my outboard engine into a nice pdf. Each page was a swf file, so I only had to wget them all, convert them with ruffle, and at last convert the images into a complete pdf.
birktj··on MIT Ends Elsevier Negotiations
Recently (I believe around a year ago or so) my university lost access to many publisher services because of some negotiations. The negotiations were about a new Norwegian law requiring all publicly funded research to be publicly available. I don't remember exactly what happened with the negotiations, but I presume they somehow found a solution.

EDIT: Found a relevant website about open access in Norway https://www.openaccess.no/english/

birktj··on Serve Videos Instead of GIFs
Isn't this exactly what animated WebP [1] is supposed to address?

[1]: https://en.wikipedia.org/wiki/WebP#Animation

birktj··on Old box, dumb code, few thousand connections, no big deal
I believe the reason Rust dropped green threads was to get rid of the runtime system and become a more systems language.

Modern fast network code in Rust is based on async/cooperative multitasking distributed over num cpu worker threads which works very well.

birktj··on A brief introduction to the beauty of Information Theory
I like the original paper by Shannon "A Mathematical Theory of Communication" (http://people.math.harvard.edu/~ctm/home/text/others/shannon...) a lot. It is quite readable and also probably the most important paper in the field of information theory.
birktj··on 0.999...= 1
What's very neat is that the algebraic argument also works for other sequences like 0.888...

x = 0.8...

10x = 8.8... = 8 + x

9x = 8

8/9 = 0.8...

← PreviousPage 3 of 3