drkrab
Re:You can beat the binary search
on Thursday April 30, 2026 @03:48PM (#47967360)
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.
Re:Payphone Go
on Friday March 06, 2026 @02:03PM (#47279541)
In Denmark there are no payphones. Like none. The copper network is being decommissioned.
Re:LT6502: A 6502-based homebrew laptop
on Sunday February 15, 2026 @12:46PM (#47025712)
Way cool! When can I buy one?
Re:A Eulogy for Dark Sky, a Data Visualization Masterpiece (2023)
on Saturday January 10, 2026 @12:30PM (#46567812)
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?
Re:Asyncio: A library with too many sharp corners
on Sunday July 27, 2025 @12:41AM (#44698945)
“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
Re:GitHub MCP Exploited: Accessing Private Repositories via MCP
on Monday May 26, 2025 @09:26PM (#44103144)
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.
Re:Go European: Discover European products and services
on Monday March 10, 2025 @08:23AM (#43319822)
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.
Re:Swimmable Cities
on Friday September 13, 2024 @07:51AM (#41530306)
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-...
Re:Philosophy of Coroutines
on Saturday September 02, 2023 @06:44AM (#37360270)
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.
Re:Why messaging is much better than REST for inter-microservice commu...
on Sunday February 12, 2023 @03:55PM (#34766840)
Yep
Re:Stepping Back from Speaking
on Tuesday June 29, 2021 @05:59PM (#27682303)
Thanks for all the talks Martin
Re:Joe Is Wrong (2009)
on Friday March 26, 2021 @08:27AM (#26591246)
Further context: Joe Armstrong and Alan Kay interview. https://youtu.be/fhOHn9TClXY
Re:Java on Truffle – Going Fully Metacircular
on Wednesday January 20, 2021 @04:14AM (#25844264)
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.
Re:Statecharts: A Visual Formalism for Complex Systems (1987) [pdf]
on Friday December 18, 2020 @04:26PM (#25472254)
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.
Re:NSA Spied on Denmark as It Chose Its Future Fighter Aircraft: Report
on Thursday November 19, 2020 @05:50AM (#25148194)
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.
Re:US travel firm $4.5M ransom negotiation open chat
on Monday August 03, 2020 @01:55PM (#24041036)
Looks like Garmin also payed https://www.bleepingcomputer.com/news/security/confirmed-gar...
Finite State Machines in Erlang
Re:The Amazon Premium
on Thursday December 19, 2019 @05:18PM (#21839876)
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.)
Re:Open Distro for Elasticsearch
on Monday March 11, 2019 @11:55AM (#19359889)
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.
Re:Sweden's cashless society is no longer a utopia
on Sunday November 11, 2018 @04:55AM (#18425658)
Reminds me of this classic
Re:DevTube: Searchable index of developer videos
on Monday June 25, 2018 @06:12AM (#17391178)
There is also a lot of good stuff here: https://www.youtube.com/user/GotoConferences
Re:FTC Probing Facebook for Use of Personal Data, Source Says
on Tuesday March 20, 2018 @01:42PM (#16630782)
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/
What is cloud native?
Re:LLVM 4.0.0
on Monday March 13, 2017 @02:41PM (#13860947)
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.
Re:Automatic Image Colorization with Simultaneous Classification
on Sunday May 01, 2016 @02:55PM (#11607387)
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.
Re:Texas sets single-day wind power record
on Saturday January 23, 2016 @04:43PM (#10960246)
In Denmark, it was 42% for all of 2015; https://en.m.wikipedia.org/wiki/Wind_power_in_Denmark
Wind turbines in Denmark reached record level in 2014
Re:“Swift will be open source later this year”
on Monday June 08, 2015 @06:15PM (#9682839)
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.
Re:Joxa – A Modern Lisp for the Erlang VM
on Monday June 08, 2015 @05:55PM (#9682728)
Indeed, it would be nice to have an EFL: Elixir Flavoured Lisp. (Lazy) Streams and clojure'ish protocols (lispy virtual methods) makes a big difference in abstraction. Erlang as it is, supports ADTs but not object abstraction (i.e. different kinds of set implementations with different implementation/representation) See http://www.cs.utexas.edu/~wcook/Drafts/2009/essay.pdf for discussion.