|
Occasionally, I like to peruse uops.info . It is a great resource for micro-optimization: benchmark every x86 instruction on every architecture, and compile the results. Every time I look at this table, there is one thing that sticks out to me: the DIV instruction. On a Coffee Lake CPU, an 8-bit DIV takes a long time: 25 cycles. Cannon Lake and Ice Lake do a lot better, and so does AMD. We know that divider architecture is different bet..
|
|
In which we ponder the Functional Nature of Life, The Universe, and Everything. Please feel free to follow through the weeds, or jump straight to the bottom for my 2 nano BTC on the matter. (Or my current state of mind, at any rate.)
|
|
Join The Big Fix: a 24-hour livestream dedicated to fixing security vulnerabilities in your projects
-
snyk.io
-
4 years ago
-
eng
Join us for an epic 24-hour livestream on February 25th to celebrate The Big Fix 2022, featuring expert guests from around the world.
|
|
I have done a similar post in 2019 called 9 Productivity & personal growth rules made from my 2019 . I couldn’t do one in 2020 because of covid. So here it is. I am productivity nerd. What that means is I am trying to do things in a better way than yesterday. The word “trying” is important. Because you won’t always be productive as much as you want to be. But you still try to be productive. On my productivity journey, I have learned ....
|
|
I frequently encounter people eager to learn or interested in understanding current events but that do not know where to start. Many lack the experience to know what they should study. Others have become so disillusioned by the hyper-partisan twenty-four-hour news cycle that they just ignore current events altogether. While I have addressed those challenges in Personal Development and the two-part series Keeping Up with Current Events..
|
|
Jonny Greenwood pretended to play the keyboard when he first joined Radiohead
-
nicolaiarocci.com
-
4 years ago
-
eng
Kottke reports this juicy excerpt from Jonny Greenwood’s interview at npr: Thom [Yorke]’s band had a keyboard player — [whom] I think they didn’t get on with because he played his keyboard so loud. And so when I got the chance to play with them, the first thing I did was make sure my keyboard was turned off … I must have done months of rehearsals with them with this keyboard, and they didn’t know that I’d already turned it off.
|
|
Jonny Greenwood pretended to play the keyboard when he first joined Radiohead
-
nicolaiarocci.com
-
4 years ago
-
eng
Kottke reports this juicy excerpt from Jonny Greenwood’s interview at npr: Thom [Yorke]’s band had a keyboard player — [whom] I think they didn’t get on with because he played his keyboard so loud. And so when I got the chance to play with them, the first thing I did was make sure my keyboard was turned off … I must have done months of rehearsals with them with this keyboard, and they didn’t know that I’d already turned it off.
|
|
You might remember the craze that was Great British Bakeoff in its heyday. There was discussion around the water cooler at work about each episode, parodies at SNL, and several spinoff series. While I personally feel that the hype has died down somewhat over the years as it’s been going for over 10 years. While watching the most recent season, I noticed something interesting. There were three finalists and they were all incredible bakers in..
|
|
When building software for the Apple ecosystem, Xcode is often the editor of choice. With Emacs being my personal preference, I rarely find other iOS devs with a similar mindset. When I saw Mikael Konradsson 's post describing his Emacs Swift development setup , I reached out to say hello. While exchanging tips and tricks, the topic of searching Apple's docs came up. It had been a while since I looked into this, so it was a great remi....
|
|
I want to build a DIY modular synthesizer . A lot of the music I enjoy listening comes from synthesizers, so I want to experiment with it. Moreover, I haven't done any analog electronics work in a long time, so I see it as a creative way to get back into analog hardware. I have no experience with modular synths, so I'll be documenting my work and research here, with links and resources I found useful.
|
|
In a near future, a team of desktop computer designers are looking at the latest telemetry and updating the schematics of the hardware-as-a-service self-assembling nanohardware. Steve: “Hmm, they don’t seem to be using the power button very often.” Bob: “Compared to the other buttons, it’s only used 0.1% of the time” Steve: “Remove it?” Bob: “Remove it!” Computers now instantly boot up when plugged into the wall, and run until the..
|
|
The most common mistake I see developers make is building the wrong thing : Not tracking exactly what is required from the start, and instead getting excited about the cool technical problems ahead. Fast forward a few days, weeks, months, showcasing the product near completion, suddenly the rift between what’s needed and what was built becomes obvious, in a frenzy of last minute changes to reach the original goal under pressure from deadlin..
|
|
The most common mistake I see developers make is building the wrong thing : Not tracking exactly what is required from the start, and instead getting excited about the cool technical problems ahead. Fast forward a few days, weeks, months, showcasing the product near completion, suddenly the rift between what’s needed and what was built becomes obvious, in a frenzy of last minute changes to reach the original goal under pressure from deadlin..
|
|
The JDK Flight Recorder (JFR) is one of Java’s secret weapons; deeply integrated into the Hotspot VM, it’s a high-performance event collection framework, which lets you collect metrics on runtime aspects like object allocation and garbage collection, class loading, file and network I/O, and lock contention, do method profiling, and much more. JFR data is persisted in recording files (since Java 14, also "realtime" event streaming ..
|
|
The JDK Flight Recorder (JFR) is one of Java’s secret weapons; deeply integrated into the Hotspot VM, it’s a high-performance event collection framework, which lets you collect metrics on runtime aspects like object allocation and garbage collection, class loading, file and network I/O, and lock contention, do method profiling, and much more. JFR data is persisted in recording files (since Java 14, also "realtime" event streaming ..
|
|
Upcoming hard-fork updates, MineXMR majority, Monero.com released, Monerujo SideKick funded, and more...
|
|
This part of the 1995 Hackers movie shown above is right on par for the time. After all, by the mid 1990s Reduced Instruction Set Computer (RISC) processors were seen as the future of computing by most in the tech industry. By using a simplified instruction set, computers with RISC processors at the time could perform tasks in a quarter of the time compared to computers that had a traditional Complex Instruction Set Computer (CI..
|
|
This part of the 1995 Hackers movie shown above is right on par for the time. After all, by the mid 1990s Reduced Instruction Set Computer (RISC) processors were seen as the future of computing by most in the tech industry. By using a simplified instruction set, computers with RISC processors at the time could perform tasks in a quarter of the time compared to computers that had a traditional Complex Instruction Set Computer (CI..
|
|
SMTP protocol basics from scratch in Go: receiving email from Gmail
-
notes.eatonphil.com
-
4 years ago
-
eng
I've never run my own mail server before. Before today I had no clue how email worked under the hood other than the very few times I've set up mail clients. I've heard no few times how hard it is to send mail from a self-hosted server (because of spam filters). But how hard can it be to hook up DNS to my personal server and receive email to my domain sent from Gmail or another real-world client? I knew it would be simpler to just send....
|
|
Since today - February 20, 2022 - falls on a Sunday, I’m just going to post the numbers for my regular blog stats post.
|
|
As you may have noticed, our Matrix server has been down recently . Now, it has been up for the last few days, however, we were waiting a bit to publish this post, wanting to set up the bots first. We had some trouble installing NixOS on the corresponding machine, however, especially over the last days as the nixos-unstable channel was blocked , forcing us to switch to nixos-unstable-small. Now, however, these are running too, and our JS....
|
|
I hate passwords. Not as a user as password management is basically solved with most modern browsers and password managers. What I hate is having to deal with them as a developer. Hashing, storing, authentication, etc. I did a small project recently using my socket.io synced vuex state and needed a system where users could easily login. I will put a huge disclaimer on this that this is just what I did for my personal project where security ..
|
|
In the previous section we looked at how to build basic plots of your bearable data in python. Today we are going to check out correlations between factors, just like we did in R.
|
|
Not what I had intended to do this Saturday, but a hard drive failed on the server this morning, or at least so it seemed. MariaDB server went down, dmesg was full of error messages for the nvme drive it’s running off. That’s a pretty important drive. The drive itself may actually be okay, the working hypothesis is either the drive itself or the bus overheated and reset. After a reboot the system seems fine.
|
Learning Maths Where can you learn math Math Foundations from Scratch is part of a large course on AI, but nice and concise Robotics 501: Mathematics for Robotics for a more unexplored area of maths applied to robotics The Book of Proof - I love this one. If you ever want to understand maths at its roots, I would advise you to read this one. It’s a back to fundamentals where you demonstrate what is a multiplication using set theory and oth..
|
Learning Maths Where can you learn math Math Foundations from Scratch is part of a large course on AI, but nice and concise Robotics 501: Mathematics for Robotics for a more unexplored area of maths applied to robotics The Book of Proof - I love this one. If you ever want to understand maths at its roots, I would advise you to read this one. It’s a back to fundamentals where you demonstrate what is a multiplication using set theory and oth..
|
|
SnykCon 2021 gave us insights on how developers have shifted the industry and forged a new and improved approach to software development.
|
|
It's already been quite a while since the last update article in Spring last year. The dynamics around the pandemic have changed but it is still omnipresent and the constant weight is taking its toll on everyone. Similarly, I'm hearing an echo that can't be silenced, that of a need for change and return to what captivates me. As some readers might have noticed, I haven't posted nor been very active the past few months.
|
|
Git is a powerful tool used by almost everyone in the the tech industry. Worktrees are an often overlooked feature that is presented in this article.
|
|
Have you been wanting to explore fractals and complex numbers in Python? Would you like to practice working with APIs in Python through a new project? This week on the show, Christopher Trudeau is here, and he's taking on the task of curating new issues of PyCoder's Weekly going forward. He'll be joining me as a cohost every other week and bringing a fresh batch of PyCoder's Weekly articles and projects.
|
|
Understanding the Shifting Stockbroker Market: Exploring No-Fee Trading and the Impact on Investors
-
daanmiddendorp.com
-
4 years ago
-
eng
The market of stockbrokers has been shifting since a couple of years. Several newcomers are offering so-called no-fee trading: free stock trading on designated exchanges or particular stocks. What is driving these new business models? A brief introduction into exchanges Stockbrokers are executing orders to buy and sell stock for their clients on an exchange. Traditionally, their business model is based on fees that are paid for every ord....
|
|
From the perspective your more traditional software programming languages, multi-tasking in SystemVerilog is weird. On one hand, the language includes a special syntax (fork and join) that make it really easy to write code that “runs” in parallel. On the other hand, SystemVerilog “processes” aren’t really processes, or even threads, in the traditional sense. Even if you “get” the SystemVerilog model of cooperative cooperative multi-tasking..
|
|
From the perspective your more traditional software programming languages, multi-tasking in SystemVerilog is weird. On one hand, the language includes a special syntax (fork and join) that make it really easy to write code that “runs” in parallel. On the other hand, SystemVerilog “processes” aren’t really processes, or even threads, in the traditional sense. Even if you “get” the SystemVerilog model of cooperative cooperative multi-tasking....
|
|
From the perspective your more traditional software programming languages, multi-tasking in SystemVerilog is weird. On one hand, the language includes a special syntax (fork and join) that make it really easy to write code that “runs” in parallel. On the other hand, SystemVerilog “processes” aren’t really processes, or even threads, in the traditional sense. Even if you “get” the SystemVerilog model of cooperative cooperative multi-tasking..
|
|
From the perspective your more traditional software programming languages, multi-tasking in SystemVerilog is weird. On one hand, the language includes a special syntax (fork and join) that make it really easy to write code that “runs” in parallel. On the other hand, SystemVerilog “processes” aren’t really processes, or even threads, in the traditional sense. Even if you “get” the SystemVerilog model of cooperative cooperative multi-tasking..
|