Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I was certain my parser spent its time converting decimal numbers.
-
This one isn’t even funny… Starting in the top left corner of a 2×22 \times 2 grid, there are 6 routes (without backtracking) to the bottom right corner.
-
Project Euler’s problem #11 statement goes: In the 20×2020 \times 20 grid below, four numbers along a diagonal line have been marked in bold. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56…
-
I decided to take on Project Euler’s problem #10.
-
The language can make a brute-force search faster, but eliminating unnecessary work is better.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
So the other night I was a bit bored and decided to do something to pass the time.
-
I needed to pass structured measurements between two copies of a test program.
-
I have too much useful C code to pretend a new language arrives on an empty disk.
-
This is part of a series of posts about Argentina and the City of Cordoba.
-
The new goinstall tool removes some Makefile work from small Go packages.
-
I rewrote a small Python log processor as three stages: read lines, parse records, and aggregate counters.
-
I usually notice a missing cleanup path during review, which is a dignified way of saying after I wrote it.
-
I’m not a big believer in keeping books forever, even though I do keep some.
-
Coincidences have a way of catching one’s attention, haven’t they?
-
My reflex when seeing go f() was to translate it into “start a thread.”
-
Qt taught me to appreciate explicit contracts.
-
Go declarations looked backward to me for about ten minutes: var retries int var name string = "worker" count := 12 Then I noticed how little punctuation I was reading.
-
Things are starting to get busier on my new project.
-
Most of my systems work still begins in C.
-
After I recently accepted my old age, I was talking to some friends who, to their own surprise, found they were old too.
-
So today I was called grumpy, which was inconsiderate and uncalled-for, so I did what every stable adult man would do.
-
Ever came across someone who wanted to show off how independent and free their own thinking was?
-
I had two versions of a parser.
-
Google announced a new language called Go last week, and I spent an evening rewriting a small concurrent program in it.
-
My event-driven server stayed responsive under load, but its memory use climbed steadily.
-
Two things have repeatedly made Qt harder to suggest: licensing confusion and the lack of an obvious first development environment.
-
Btrfs entered the mainline kernel earlier this year, so naturally I created a filesystem and started putting unimportant data on it.
-
My test laptop changes display modes several times while booting: firmware text, a console mode, the X server’s preferred resolution, and sometimes another mode after resume.
-
I was chasing a latency spike in a kernel path and began adding printk() calls.
-
A multithreaded parser scaled nicely to two workers and then barely improved.
-
I wrote a file server in the most direct way possible: read a block into a user-space buffer, then write that block to the socket.
-
After changing a small server to use an event loop, I began with select().
-
I wrote a small TCP service using one thread per connection.
-
One of two batch jobs was eating the workstation, but their worker processes came and went too quickly for top to give me a useful total.
-
I have been testing ext4 on disposable filesystems for a while, but I have avoided recommending it for ordinary machines.
-
I needed to show a formatted report inside a Qt application.
-
I had a directory full of images to scale and a progress dialog that froze while doing it.
-
I left an import dialog open, pulled the card reader, and clicked Import.
-
My sound preview worked with the Xine Phonon backend and failed as soon as I switched the machine to GStreamer.
-
I used to respond to a sluggish desktop by disabling compositing.
-
I wanted a tiny display for a script: one number, updated every few seconds, sitting in the panel.
-
I installed KDE 4.0 on a spare partition earlier this year and lasted about two days.
-
My laptop stayed warm with an apparently idle KVM guest running.
-
I added filtering to a Qt 4.3 table by copying matching records into a second list.