HNHacker News
TopNewBestAskShowJobs

birktj

287 karma · joined April 28, 2020

submissionscomments
birktj··on Tell HN: SMS-based two-factor authentication is not secure
This. SMS is a great second factor and is perfectly suitable to prevent the main attack that you want second factors to prevent: that is if your password appears in a password list for any reason it should stopp anyone from just running away with your account. Note that if you are targeted directly SMS is not going to help you much but in this case maybe your password can (depending on the capabilities of the attacker).

Now is SMS the best second factor? Of course not and a proper U2F token will be a lot more secure in many cases but for most people SMS should be perfectly suitable. All this of course requires the auth provider to be somewhat competent and not use SMS as an only factor in any circumstances.

birktj··on The top-ranking HTML editor on Google is an SEO scam
Note that as I quite recently learned DDG has support for a bunch of bang-commands listed at [1]. There are a bunch of them for documentation sites for all kinds of programming languages, including a couple for lisp it seems like.

[1]: https://duckduckgo.com/bang_lite.html

birktj··on G7 nations committing billions more to fossil fuel than green energy
Are they competitive with cars/trains though. In the article linked by the sibling it says the Airlander can reach speeds of 50 knots. That is probably fine for a cruise-ship type experience, but for actually going anywhere a well designed train network seems like it would be much more effective?
birktj··on Abolish High School (2015)
In Norway you get to choose your high school after middle school, all the pupils in a region is ranked solely based on their grades from middle school and for the ones who are sick of books they can go to a more trade-oriented high school (training to become a mechanic, electrician, etc). Obviously it is not perfect and in the district the choices can be quite limited, but it definitely prevents the stereotypical American high school.

Taking my school as an example it was pretty much filled with nerds, many being active in politics, math competitions, etc. I remember very well it being the first time no-one in the class wanted to do football in PE.

Some people criticize it for being worse for the students who don't do well in middle school and end up with very little choices and also separating stronger students. But for the stronger students it so nice with everybody being at least somewhat interested in learning and the teachers being very relaxed.

birktj··on Many temptations of an open-source Chrome extension developer
There must be something more that they want as well? Seems very strange that Microsoft and Yahoo would be interested in paying big bucks to lure people to their search engines through some dodgy extensions?
birktj··on Why Some Old Computers Are Interesting
I have been looking for a cheap fpga devboard for this sort of thing, but results have been somewhat disappointing. The tinyfpgas look great but have been sold out for a long time. I have seen some interesting ones on tindie but the selection is quite limited. Does anyone here have any good pointers? (Plus for one with a hand-solderable fpga)
birktj··on The True Size of Africa (2015)
I really like the Dymaxion projection as well, especially the fact that one can easily see that all major land masses are separated by only small distances of water.

https://en.wikipedia.org/wiki/Dymaxion_map

birktj··on Google Docs will now use canvas based rendering
That is absolutely horrible. I am only waiting for the day when people start making desktop apps using electron + Flutter on the web.
birktj··on Volvo and Daimler bet on hydrogen truck boom this decade
Is syngas/synfuel [1] a viable route? Obviously it would be less efficient to produce than pure hydrogen (anyone know how much energy would be lost in the hydrogen conversion step?) and probably cannot compete with natural hydrocarbons with current tech, electricity prices and carbon taxes. However compared to pure hydrogen it should have a couple of advantages: compact (same energy by volume as current fuels) and can take advantage of current infrastructure. If done right it could probably power both current ICE vehicles as well as future fuel-cell vehicles. Can anyone comment on any major downsides except it not really being economically viable with current tech.

[1]: https://en.wikipedia.org/wiki/Synthetic_fuel

birktj··on Cycles X
> Deprecation

> OpenCL rendering kernels. The combination of the limited Cycles split kernel implementation, driver bugs, and stalled OpenCL standard has made maintenance too difficult.

I am not really up to date on the GPGPU world, but is OpenCL in such a bad shape that it is not really usable? If so that is very sad. Are there any alternative open hardware agnostic GPGPU apis or has CUDA eaten the entire market?

birktj··on Light Pollution Map
The North Sea ones are oil platforms, yes. I believe the light intensity is largely because of gas flares [1], but I might be wrong.

[1]: https://en.wikipedia.org/wiki/Gas_flare

birktj··on Stranded sailor allowed to leave abandoned ship after four years
I don't get it. I might be misunderstanding things, but my understanding is that here in Norway the owner of a vessel has the ultimate responsibility in cases like these. Why is the Egyptian law this way? It doesn't seem very practical to legally require this one guy to stay on board, what problem is that supposed to solve?
birktj··on Show HN: I built a tool to generate triangulated art from images
Note that the subgraph isomorphism problem [1] is NP-complete (also for planar graphs). There are very efficient data structures like k-d trees [2] that can be used to efficiently search for points in euclidean spaces, doing something similar for graphs would be quite difficult.

[1]: https://en.wikipedia.org/wiki/Subgraph_isomorphism_problem

[2]: https://en.wikipedia.org/wiki/K-d_tree

[EDIT]:

Graph canonization [3] on the other hand is not known to be either polynomial time solvable (I think it is for planar graphs though) or NP-complete and has implementations that are quite efficient in practice. It can be used to search for the exact same graph, but again extending to searching for similar graphs is probably quite difficult.

[3]: https://en.wikipedia.org/wiki/Graph_canonization

birktj··on Preparing Rustls for Wider Adoption
Could I ask why const generics would be a blocker? I see how it would help facilitate more elegant APIs as well as better stack allocated structures. However is it not possible to live without this, possibly with a slightly more clumsy design?
birktj··on The “Granny Knot”
Is it easy to do a tight Ian's Secure Knot? The only place I would need a more secure knot is when skiing and then I also need to tie the laces very tight. Keeping the laces tight while creating the loops seems slightly difficult.
birktj··on Luca App: CCC calls for a moratorium
As a Norwegian I would love some pointers to the Norwegian hacker spaces. I am vaguely familiar with some, but it would be nice with some more info.
birktj··on TSMC sees chip shortage lasting into 2022
Question: does the chip shortage only apply to the smallest process sizes? That is what I would assume, but with the talk about problems for car manufactures having supply issues it would seem the shortage extends to larger process sizes as well? (Do they really need the newest snapdragon processor in a modern car?)
birktj··on NASA space copter ready for first Mars flight
Ground effect? But I would assume with such low atmospheric density the effect is probably not so strong.
birktj··on Milky Way, 12 years, 1250 hours of exposures and 125 x 22 degrees of sky
That is exactly the feeling I get the couple of times when I am out hiking hiking and see the most spectacular winter night sky. The feeling of being in the middle of nowhere and seeing the dark sky with an uncountable number of stars is indescribable. I believe it is a great loss of modern society and I really hope we are able to do something about it, we could do just fine without most of the street lighting we have today.
birktj··on Docker Raises $23M
Is this kind of artificial delay even legal under the GDRP? Does anyone know if there has been any lawsuits against trust arc and co over this stuff? After waiting forever I was greeted with: "Some opt-outs failed. Opt-out requests responded with error or timeout. Please try again". How is this okay?
birktj··on Pangolin – Mobile AMD laptop with Ryzen CPU and Radeon graphics
My xiaomi notebook looks a bit like a mac clone and as 2x USB-C ports and 2x USB-A ports. It is not without its problems, but if you want a reasonably priced laptop that looks like a mac I would say it is a pretty good choice.
birktj··on Parsing can become accidentally quadratic because of sscanf
As is the case in this article it often happens that having the length of a string is required for certain operations, which leads to a lot of calls to strlen. This doesn't really seem like such a big problem to begin with as one assumes that the operations that require the length also have linear complexity. However it turns out (like in the article) that this is not always the case which leads to unexpected quadratic algorithms. The pointer + length representation is only 7 bytes longer on modern architectures and does not have this problem and has a few other advantages like being able to create substrings without allocating new memory.
birktj··on The Mars Helicopter Is Online and Getting Ready to Fly
What I imagine for long lived and high-cost missions is using some sort of co-processor setup with a radiation hardened processor and a faster and more modern processor. These rovers run a lot of computer vision algorithms and I believe more powerful hardware would be quite useful. They may already do something like this, however my understanding is that there is a lot of skepticism in integrating these less fault-tolerant processors. Ingenuity could help remove some of the skepticism and lead to more systems like this in the future.
birktj··on The Mars Helicopter Is Online and Getting Ready to Fly
One of the things I find really cool about Ingenuity is how it is in large based on consumer hardware. The main processor is a Snapdragon 801 running Linux which communicates with Perseverance using the Zigbee protocol [1]. Perseverance on the other hand uses a RAD750 from 2001! If successful I hope this can lead to more modern hardware for these kinds of missions in general.

[1] https://en.wikipedia.org/wiki/Ingenuity_(helicopter)

birktj··on Bitcoin's vast energy use could burst its bubble
Isn't there also a fundamental equivalence between information and energy in physics? And so is there not a lower limit to the amount of energy required to compute a SHA256 hash of a certain number of bytes, and by extension mine a bitcoin block?
birktj··on Taking a Stand in the War on General-Purpose Computing
The page linked says "space-separated list of default DNS servers". From this I would assume that this is just an option one could simply overwrite by using a non-default configuration. That doesn't seem so bad, however I could also be misunderstanding and in order to disable these servers one would need to patch the source code like you imply. Do you have a more specific source that would answer this question?

Edit: from the other comments in this thread it seems like it it is a build time option

birktj··on I heat my home by mining crypto currencies
I don't think this is entirely true. A lot of the modern "green industry" stuff in Norway is funded by the oil industry. However, the hydropower industry in Norway is way older than the oil industry and is quite economical on its own.
birktj··on Whistleblowers: Software keeping inmates in Arizona prisons beyond release dates
Sounds like a suitable task for formal verification languages like Coq and Isabelle.
birktj··on Passerine: A small extensible language designed for concise expression
I really like how this has zero dependencies [0]

[0] https://github.com/vrtbl/passerine/blob/master/Cargo.toml

birktj··on I Miss My Bar
Are you sure this is the case? From the Norwegian news it seems very much like the epidemiologists that are advising the government in many cases are advising lesser restrictions than what is actually implemented.
← PreviousPage 2 of 3Next →