Better HN
topnewbestaskshowjobs
Log inSign up

drkrab

165 karma · joined Jan 6, 2010 (16y ago) · 42 submissions

[ my public key: https://keybase.io/drkrab; my proof: https://keybase.io/drkrab/sigs/A9-PvxNJpGgZbGq0KiIrOQZHDzudMEWn3mhZ8q9UUVw ]
Submissions

comment 6mo ago · link · parent

Since the cpu always accesses a full cache line (64 bytes) at a time, you might as well search the entire cache line (it’s practically free once the data is on-cpu). So I’d like to try a ‘binary’ search that tests all the values in the ‘middle cache line’ and then chooses to go left or right if none match. You can do the cache line search as a single 512bit simd instruction. A cache line is 64 bytes (or 32 16-bit integers); such a search might well be almost 32 times faster than simple binary search; at least it’ll do 32x less memory accesses, which will dominate in most realistic programs.

comment 8mo ago · link · parent

In Denmark there are no payphones. Like none. The copper network is being decommissioned.

comment 9mo ago · link · parent

Way cool! When can I buy one?

4.

DHS Face-Scanning App Pulls from 1.2B‑Image Database(bloomberg.com ↗)

11 points · by drkrab · 9mo ago · discuss

comment 10mo ago · link · parent

I’m surprised how many places in the world measure rain in percentage chance. Must be a metropolitan concept. Here in Denmark, weather reports estimate mm/hr - the amount of rain. Maybe it’s our agricultural inheritance?

comment 1y ago · link · parent

“Any sufficiently complicated concurrent program in another language contains an ad hoc informally-specified bug-ridden slow implementation of half of Erlang.” – Virding’s first rule of programming

comment 1y ago · link · parent

Interesting. When you give a third-party access to your GitHub repositories, you also have to trust that the third-party implements all of GitHub’s security policies. This must be very hard to actually assume.

comment 1y ago · link · parent

Unfortunately that’s the case because large US-based companies can leverage their existing global sales / marketing / governance setup to rationalize very high exit valuations. In the EU we don’t have the large software shops that can do that. So for an EU based startup - it’s exit to a US-based company or go all the way to an IPO / profitability.

comment 2y ago · link · parent

Copenhagen’s sewage system was built in the 1850s and it was indeed considered to build a two-pronged solution. There was much resistance against this because it would eliminate a whole industry of “night men” (poop collectors), as well as people drying and trading it as fertilizer. So they build a single-pronged solution that was initially only allowed to be used for rain water.

https://ing.dk/artikel/ingenioerer-maatte-kaempe-haardt-faa-...

comment 3y ago · link · parent

Coroutines are great in a single threaded environment. But if you mix them with threads - even behind the scenes - there will be dragons. Erlang solves that problem with proper light weight isolated processes.

comment 3y ago · link · parent

Yep

comment 5y ago · link · parent

Thanks for all the talks Martin

https://youtu.be/qI_g07C_Q5I

comment 5y ago · link · parent

Further context: Joe Armstrong and Alan Kay interview. https://youtu.be/fhOHn9TClXY

comment 5y ago · link · parent

In a modern JIT with dynamic decompilation you can do these things in place, because the compiler essentially has global knowledge. The only real issue is to define the semantics (and then implement it of course). Objective-C is AOT compiled so the runtime checks are needed all the time.

comment 5y ago · link · parent

It’s easier when you write your application in Elixir or Erlang. Those are practically DSLs for state machines that also double as general purpose programming languages.

comment 6y ago · link · parent

Even in Denmark where the political system is much more cooperative than in the US, politics is still a “dirty job” full of spin and personal sacrifice, exposure etc. As a result many good people would never put it on themselves to enter politics.

comment 6y ago · link · parent

Looks like Garmin also payed https://www.bleepingcomputer.com/news/security/confirmed-gar...

18.

Finite State Machines in Erlang(learnyousomeerlang.com ↗)

3 points · by drkrab · 6y ago · discuss

comment 6y ago · link · parent

Netflix only uses amazon for the “control plane” - ie the “web app” you’re navigating when using the Netflix app. The actual delivery of media happens via their own CDN (of bare-metal servers.)

comment 7y ago · link · parent

How is elastic (the company) going to make a business going forward? I would expect that selling these enterprise add-ons (or similar ones) is a significant part of their revenue.

comment 8y ago · link · parent

Reminds me of this classic

https://youtu.be/pQHX-SjgQvQ

comment 8y ago · link · parent

There is also a lot of good stuff here: https://www.youtube.com/user/GotoConferences

comment 8y ago · link · parent

GDPR applies to anyone processing personal data about a subject who is in the EU. His or her citizenship does not matter. So you can just go to Europe and make your claim from there. https://gdpr-info.eu/art-3-gdpr/

24.

What is cloud native?(medium.com ↗)

2 points · by drkrab · 9y ago · discuss

comment 9y ago · link · parent

LLVM IR is a generalized assembly language whereas JVM byte code is quite specific to the Java language, i.e., it deals with objects and classes. This causes all kinds of troubles for someone wanting to translate other languages to the JVM.

comment 10y ago · link · parent

Can someone please put the file colornet.t7 on the torrent network or a high-volume service somewhere? I'm probably not the only having a hard time downloading that file.

comment 10y ago · link · parent

In Denmark, it was 42% for all of 2015; https://en.m.wikipedia.org/wiki/Wind_power_in_Denmark

28.

Wind turbines in Denmark reached record level in 2014(energinet.dk ↗)

102 points · by drkrab · 11y ago · 76 comments

comment 11y ago · link · parent

It seems to me that Dart would be a more obvious choice should Google choose to push a new application development language for the Android platform. It's closer to JavaScript and has more GUI/visually-oriented libraries. Plus, it's a no-brainer to box such apps in a HTML5 container for iOS/Windows.
12