A from scratch GPU-free introduction to modern machine learning. Many tutorials exist already of course, but this one aims to really explain what is going on, from the ground up. Also, we’ll develop the demo until it is actually useful on real life data which you can supply yourself.
Other documents start out from the (very impressive) PyTorch environment, or they attempt to math it up from first principles. Trying to understand deep learning via PyTorch is like trying to learn aerodynamics from flying an Airbus A380.
Recent content on Bert Hubert's writings
- Generator
- Hugo -- gohugo.io
- Public lists
- davewiner/hackerNewsStars
- Fetched
EU Cyber Resilience Act part two: Updates & Impracticalities
This is a living document - I’d normally spend a few days polishing everything, but since CRA talks are ongoing right now, there’s simply no time for that. Check back frequently for updates! Also please let me know urgently on bert@hubertnet.nl if you think I’m reading things incorrectly!
As a follow-up to my earlier post on the EU Cyber Resilience Act, here I’d like to address some practicalities: how would it actually work.
The EU's new Cyber Resilience Act is about to tell us how to code
First a round of thanks for the many people in industry and government who provided valuable links, background and insights! I could not have done this without your help! If you spot any mistakes, or have suggestions, please do contact me on bert@hubertnet.nl
The EU’s new Cyber Resilience Act is admirable in its goal. And the EU is not alone in thinking something needs to be done about the dreadful state of security online – the Biden administration has just released its National Cybersecurity Strategy that has similar aims.
Celebrating Cerebration: ON CREATIVITY - by Isaac Asimov
“The history of human thought would make it seem that there is difficulty in thinking of an idea even when all the facts are on the table” – Isaac Asimov
In 2014, MIT’s Technology Review wrote a very interesting article about an attempt to have Isaac Asimov be part of a group of scientists attempting to think outside of the box. In this article they included a 1959 essay that Asimov wrote instead of continuing to taking part in this (classified) government work.
Reactie consultatie Nota van wijziging Tijdelijke Cyberwet AIVD en MIVD
Deze reactie is als PDF ook te vinden op de site internetconsultatie.nl. Ook kan er tot en met 16 januari nog gereageerd worden.
Aan de minister van Binnenlandse Zaken en Koninkrijksrelaties, H.G.J Bruins Slot
en aan minister van Defensie, K.H. Ollongren
Betreft: Tijdelijke wet onderzoeken AIVD en MIVD naar landen met een offensief cyberprogramma
Geachte ministers,
In aanvulling op de uitstekende reacties van mijn voormalige collega’s van de Toetsingscommissie Inzet Bevoegdheden, de stichting Bits of Freedom en het College voor de Rechten van de Mens wil ik graag het volgende kwijt.
Elektriciteitsprijzen: Hoe zit het precies
Deze pagina is mede tot stand gekomen door kritisch commentaar & feedback van Marien Boonman en Hidde Brugmans & anonieme experts. Dank! En mochten er desondanks fouten zijn -> bert@hubertnet.nl
We beginnen simpel, een woonhuis zonder zonnepanelen, verbruik minder dan 10.000kWh/jaar.
Je elektriciteitsrekening bestaat (volgens de regels geldend op op 2 januari 2023) dan uit de volgende componenten:
De kale kWh-prijs die je energieleverancier verzonnen heeft (waarover later meer, per kWh) Opslag Duurzame Energie- en Klimaattransitie (ODE) (3,05 cent per kWh in 2022, 0 cent in 2023) Energiebelasting (3,679 cent per kWh, 12,599 cent per kWh in 2023) BTW over al het bovenstaande (9% laatste helft 2022, per 1 januari 2023 weer 21%) Dit samen is wat je elektriciteitsbedrijf hun “tarief per kWh inclusief belastingen” moet noemen.
Always use feenableexcept() when doing floating point math
This is a refreshed & expanded copy of a very old page I hosted outside of this blog. I recently ran into “silent NaNs” again, and thought it might be a good idea to republish this advice here.
A small post that documents something that almost no one appears to know. And if you do anything with floating point, you do need to know.
Exceptions In C or C++, try this:
Vervang vergeten verontwaardiging over privacyschendingen door inhoudelijke analyse
Dit artikel verscheen in iets andere vorm in de Volkskrant. Hier een versie met klikbare links ter onderbouwing:
Recent presenteerde het kabinet een nieuwe wet die volgens de Autoriteit Persoonsgegevens inhoudt dat alle banktransacties van alle Nederlandse rekeninghouders gemonitord zullen worden in één gecentraliseerde database, met gebruik van algoritmes. De uitvoering zal in handen komen van een commerciële derde partij. Dit alles ter voorkoming van witwassen en terrorismefinanciering.
Foto van Isaac Chou op Unsplash
Is Europe Just Not Good at Innovating?
This article is part of a series on (European) innovation and capabilities. Feedback is very welcome on bert@hubertnet.nl. I’d also like to thank the many proofreaders, but all mistakes remain mine!
In the world of (high) technology, Europe is exceptionally weak at innovating. There are many ways to explain how this came to be, and a lot of the discussion focuses on unfair business conditions and regulation. In this post however I want to talk about important cultural and social reasons that are at least part of the reason, and present some possible solutions.
De Tijdelijke Wet op Inlichtingen- en Veiligheidsdiensten 2022
UPDATE: Nu ik niet meer werk voor de TIB kan deze uitleg van de nieuwe wet weer online. Via dit artikel zijn interviews en podcasts te vinden met meer context.
UPDATE: Het rondetafelgesprek op 5 april 2023 in de Tweede Kamer is hier te bekijken en hier te lezen. En hier mijn spreektekst met voetnoten.
Het kabinet heeft een wetsvoorstel gepubliceerd wat het toezicht en de bevoegdheden van de inlichtingen- en veiligheidsdiensten ingrijpend verandert.
The World of Yesterday: a brief review of a 1942 book
A brief review of Stefan Zweig’s 1942 book “Die Welt von Gestern: Erinnerungen eines Europäers”, which I read in the earlier English translation by Benjamin W. Huebsch and Helmut Ripperger (public domain copy). There is also a more recent translation by Anthea Bell, The World of Yesterday: Memoirs of a European. It too appears to be excellent.
It is not often that one feels the urge to review an 80 year old work, but it left such a huge impression on me that I simply must tell you about what I’ve just read.
Bonds and the Ten Year Interest Rate
So in these wild times, the “ten year interest rate” is suddenly in the news again. But what does this mean? There is no committee that sets these rates, but it is also not something you can just measure. While you’ll find various other explanations of how to calculate the 10 year interest rate online, this may be the geekiest one, and definitely is the only one with a built-in calculator.
Big Data Storage
This is a page about some of the mechanics of ‘big data’, specifically how to store, transfer and process perhaps 100s of millions or billions of rows/events.
Although some people think big data starts at 65k rows, at which point Excel used to lose it, I’m talking about gigabytes of data here.
Infrastructure for this kind of thing abounds. Data can however come from lots of sources, and go to lots of different places.
Vertrek TIB
Vandaag was mijn laatste dag als lid van de Toetsingscommissie Inzet Bevoegdheden Inlichtingen- en Veiligheidsdiensten (TIB), de commissie die vooraf bindend toetst of de voorgenomen inzet van de zwaarste bevoegdheden van de AIVD en MIVD rechtmatig is.
Update: Onderaan dit artikel staat een uitgebreid media overzicht
De reden voor dit vertrek is mijn zorg over de “Tijdelijke wet onderzoeken AIVD en MIVD naar landen met een offensief cyberprogramma” (samenvatting), die tot doel heeft het toezicht vooraf te beperken, het toezicht vooraf op de technische risico’s af te schaffen en die aanvullend een forse verruiming van de bevoegdheden van de diensten inhoudt.
On my resignation as regulator of the Dutch intelligence and security services
I’ve seen some mediocre automated translations of my Dutch language resignation statement go round. To prevent any confusion, please find the story here in English:
Until today I was one of the three members of the board that checks warrants for the Dutch intelligence and security services. This board is called “Toetsingscommissie Inzet Bevoegdheden” or TIB.
If either of the civil or the military intelligence and security services of The Netherlands want to use their lawful intercept, SIGINT or hacking (& some other) legal powers, they have to first convince their own jurists, then their ministry and finally the TIB.
De Wet op Inlichtingen- en Veiligheidsdiensten 2017
Recent is er een nieuw wetsvoorstel gepresenteerd bedoeld om de AIVD en de militaire MIVD meer ruimte te geven om onderzoek te doen naar landen met een offensief cyberprogramma.
Op deze pagina bespreek ik de zwaarste bevoegdheden die de diensten hebben om hun werk te doen.
De Wet op de Inlichtingen- en Veiligheidsdiensten 2017 (‘Wiv’) is een moderne wet die de Nederlandse inlichtingen- en veiligheidsdiensten, als het noodzakelijk is, juridisch toestemming geeft alles af te luisteren, te hacken of te laten kopiëren, waar ook ter wereld.
Improved Galileo Time to First Fix
In the world of Global Navigation Satellite Systems (GNSS), change tends to happen very slowly and cautiously. It is therefore quite exciting how many new features Galileo, the “European GPS” has been rolling out lately.
Earlier I wrote a little bit about the High Accuracy Service (HAS), whereby the Galileo satellites themselves provide properly equipped receivers (not your phone) with near-realtime updates that can be used to achieve very good accuracy.
Tracker Beeper
A week ago, I finally got round to implementing an idea I’d been toying with for years: what if your computer made a little bit of noise every time it sent data to Google?
From studying logs, I’d long known just how many sites send all your visits and clicks to (at least) Google, but a log that you have to manually create first and then analyze is not very dramatic.
MCH2022: DNA and GPS/Galileo/GNSS Talks
(scroll down for my two talks if you are in a hurry)
As I write this I’m suffering from severe post-camp blues. Every four years the Dutch hacker community organizes a stupendously large multi-day campsite event, with ample international help. To a large extent, “everyone” is there. And this time, like every time, people who originally decided they could not make it.. show up by day two. Because the pull is just too strong.
Nerdfluisteraar
Eerder dit jaar spraken Kustaw Bessems en ik elkaar in een aflevering van de Volkskrant podcast ‘Stuurloos’ (reservelink). In een uitzending van meer dan een uur behandelden we waarom het zo moeilijk is voor de overheid en grote bedrijven om mensen te werven die ergens echt veel vanaf weten, en die mensen vervolgens ook te behouden.
Ik had me gemeld bij ‘Stuurloos’ na het beluisteren van de zeer waardevolle eerdere aflevering Gevaarlijke combinatie: politici én ambtenaren zonder vakkennis met Geert-Jan Hamilton en Peter van Lieshout (artikel).
Presentation at the European Energy Law Seminar 2022
As presented on the 24th of May 2022 at the European Energy Law Seminar 2022 organized by the Dutch Energy Law Association (NeVER), in cooperation with the University of Groningen’s Centre of Energy Law and Sustainability and the University of Oslo’s Scandinavian Institute of Maritime Law
So before we delve into the fascinating relation between cybersecurity and the worlds of oil, gas, energy and electricity, I need to introduce myself a bit.
Looking for an editor for my book
Hi everyone,
A brief note, I’ve written a book, and the content is nearly done. You can read all about it here.
The first 90% of the project went well, but I need (well paid) help with the remaining 90% to turn it into a decent book.
This is a ‘for profit’ book, but it will be given away for free to schools, universities and readers/students unable to afford it. So there is a bit of feel-good factor involved.
Dutch Electrical Power Numbers part 2
In an earlier post I presented a naive model for estimating Dutch electrical solar power generation numbers. It turns out that the Dutch electrical power generation numbers are an even bigger mess than I appreciated.
It appears that “everyone knows” that the numbers are confusing, incomplete and perhaps even wrong. But somehow this state of confusion isn’t written down anywhere.
So I’ll give it a shot.
A round of thanks to a small number of anonymous industry insiders that provided invaluable help!
Open versus Proprietary: (re)calculating Dutch solar power generation
As part of my coping mechanisms, I like to make graphs of important things I worry about.
Recently with the Russia-inflicted horrors in Ukraine, I’ve been looking at the torrent of Russian gas being bought by Europe. This turned into a live plot that shows just how much money we are sending to Russia.
In that post, I also dwell on how we are using that gas to heat our houses and generate electricity.
About That Russian Gas
The horrors of the Russian war on Ukraine continue unabated. Every eurocent we send to Russia is an intolerable assault on the senses.
The world buys lots of things from Russia. For some of these, if Europe does not buy them, someone else will. But there is one major exception: natural gas.
Over the past few weeks I’ve been automating graphs that show, on an hourly basis, just how much gas we buy from Russia:
Some business advice for academic startups/spinouts
So I love academia, and I also built two businesses. When I dropped out of studying physics to focus on my company, I assumed I knew everything, since I had studied physics!
Turned out that if you enter the world of commerce, it is very bad if you are visibly confused about the difference between business development and sales. It does nothing for your credibility. People in enterprise will likely and correctly conclude that you know nothing about running companies if you are hazy on concepts that are fundamental to them.
A Science Experiment: published!
And we’re back! As noted in part 1 and part 2 I thought it might be possible that I had discovered something interesting in biology. Lacking an academic peer group, I had decided to use a series of blog posts to gather feedback and to keep myself honest.
I’m very pleased to report that this process worked! I just received word that Nature Scientific Data has formally accepted my paper “SkewDB, a comprehensive database of GC and 10 other skews for over 30,000 chromosomes and plasmids” for publication!
Simple generic parallelism idiom & C++17 specifics
If you programmed something and it turns out to be too slow, often you’d like to farm out the work to multiple threads. At this point you typically have a few choices:
use some kind of producer/consumer pipe half-ass it by dividing the work into n chunks and launch n threads and hope for the best rely on one of the magic parallelization solutions (#pragma omp) use (newfangled) language features All of these options are painful to some extent.
Corona: Ooit houdt het op
Na mijn vorige deprimerende stukje over ons stompzinnige Coronabeleid gooi ik het nu over een wat positievere boeg. Want het lijkt er soms wel op alsof er geen enkele vooruitgang geboekt is, en we hier nooit meer uit gaan komen, maar dat is echt niet zo.
Foto van Ivan Diaz op Unsplash
Om met het begin te beginnen, de coronacijfers zijn hoger dan we ooit gemeten hebben (al waren ze in werkelijkheid in maart 2020 vermoedelijk nog hoger).
Het onuitstaanbaar stompzinnige Coronabeleid
Echt, ik trek het niet meer. Regeren is vooruitzien. Ik denk dat we dus niet regeren in Nederland.
Corona is, ook na twee jaar, nog steeds een ontwikkelend ding. Het virus, de vaccins, de reacties van mensen, ze blijven ons verbazen.
Maar een ding is inmiddels wel constant: geïnformeerde mensen in de buitenwereld zien maanden van tevoren ontwikkelingen aankomen die daarna tot het uiterste genegeerd worden door onze politieke leiders.