News for hackers. Stuff that matters.

idbfs

Re:Ziplm: Gzip-Backed Language Model on Saturday July 15, 2023 @01:39AM (#36733907)
Cool! I had been thinking about trying this as well, after reading about the idea in one of Cosma Shalizi's notebooks [0]. I'd love to see how something like this performs when "trained" on a corpus the size of the web when given the same kind of computational resources used to train modern LLMs.

[0] http://bactra.org/notebooks/nn-attention-and-transformers.ht...

Re:Go 1.21 on Wednesday June 21, 2023 @09:47PM (#36427095)
Worth noting that the release announcement was written by Eli Bendersky, of https://eli.thegreenplace.net/ fame. It's a fantastic technical blog with literally decades of content.
The authors of these slides also wrote a well-regarded textbook, Engineering a Compiler.
Re:SpaceMonger on Saturday August 06, 2022 @06:05PM (#32371991)
I use Baobab on Linux. It appears to support MacOS as well.

https://apps.gnome.org/app/org.gnome.baobab/

Re:Programming Fonts on Saturday July 09, 2022 @07:20AM (#32033949)
About once a year I see a cool new programming font and decide to try it out. Then, shortly after, I invariably switch back to DejaVu Sans Mono.

I suspect that if I gave myself more time to acclimatize to the new font, I might even grow to prefer it. That, or perhaps DVSM is simply the perfect font for me.

I knew what this was going to be as soon as I saw "aux.h" in the screenshot.

Some years ago I was working on an embedded system that involved DisplayPort. For those unaware, DP's control channel is called AUX. One day, my new co-worker who used Windows asked me, who used Linux, why my AUX-related code wasn't checked in - which it most certainly was.

And that, folks, is how I learned about this absurd property of Windows that exists to this day.

Re:On Binary Search on Wednesday October 30, 2019 @07:48PM (#21404278)
I was wondering the same thing. It's either a horrible human-written article, or an impressive machine-written one.
Re:Designing state machines on Monday June 26, 2017 @03:22PM (#14639507)
A paper that changed my approach to designing state machines is "Statecharts: A Visual Formalism for Complex Systems" by Harel (http://www.wisdom.weizmann.ac.il/~harel/papers/Statecharts.p...).

Statecharts (also called hierarchical state machines) are essentially generalized state machines which allow for nesting and parallel composition of states. The 'nesting' part is my favourite, since it allows one to delegate event handling logic shared by multiple states to a 'parent' state, reducing code duplication.

The great thing about this paper is that you can glean most of its key ideas by just looking at the diagrams.

Re:Popular Myths about C++, Part 1 on Tuesday December 09, 2014 @02:50PM (#8725206)
I'm not sure about Lua, but for Python it sounds like you may be interested in the "with" statement.
Re:My First Keyboard Build on Sunday October 19, 2014 @08:17AM (#8478042)
"Because USB keyboards don't support arbitrary numbers of keys being pressed at once."

There is actually nothing in the USB or HID specifications preventing USB keyboards from supporting n-key rollover (when using the report protocol -- keyboards using the boot protocol are limited to a 6-key rollover). The reason most don't is simply to reduce cost and complexity. A sufficiently motivated person could build a USB-compliant keyboard that supported an arbitrary number of simultaneoue keypresses, and some do (e.g. http://www.maxkeyboard.com/max-keyboard-nighthawk-x9-red-bac...).

Re:Andreessen Goes on Tweet Storm About Burn Rates, Says to Worry on Thursday September 25, 2014 @07:41PM (#8370463)
10/Fifth: More people multiplies communication overhead exponentially, slows everything down. Company bogs down, becomes bad place to work.

Warning: pedantic.

Adding people increases communication overhead quadratically, not exponentially. To see why, consider the complete graph on n vertices (people), K_n. The number of edges (lines of communication) in K_n is n(n-1)/2, i.e., proportional to n^2.

Re:Cross-platform Rust Rewrite of the GNU Coreutils on Thursday June 12, 2014 @04:58PM (#7885898)
A nitpick: C has been able to achieve the same performance as Fortran since C99 introduced the "restrict" keyword.
Re:The C++ and programming books I recommend on Sunday February 23, 2014 @08:38AM (#7285851)
Seconding the C++ Primer! I've been slowly working through it over the past year, and have found it to be outstanding.
Re:The PuzzlOR bimonthly operations research-related problems on Sunday November 17, 2013 @09:33PM (#6752159)
Yes, you're right. Good point.
Re:The PuzzlOR bimonthly operations research-related problems on Sunday November 17, 2013 @08:55PM (#6752073)
A simple, principled way of solving October's problem is to model it as a Markov chain with absorbing states (the "Finish" square, and the two invisible squares past it -- the two invisible squares are unnecessary as mentioned by jtsummers below), and compute the expected absorption time starting from the first square.

See e.g. http://en.wikipedia.org/wiki/Absorbing_Markov_chain

Re:The Rest of the Lenna Story on Sunday September 01, 2013 @02:03AM (#6309306)
Two female image processing researchers recently used a picture of Fabio as a test image in a paper of theirs:

http://arxiv.org/abs/1202.6429

(Additional discussion at http://www.kitware.com/blog/home/post/246)

Personally, I'm all for the use of amusing (arousing?) test images, as long as they exhibit features that actually make for a good test image (a mix of flat and textured regions, sharp boundaries, etc.).

I was referring to the "mebi" prefix. I agree that, currently, the old SI prefixes have perhaps been made slightly more ambiguous due to the introduction of the new prefixes. It is my hope that the computing community will eventually reach the consensus that the SI prefixes refer only to powers of 10.
I agree that it looks odd. However, especially in applications like cryptography, I think that removing the ambiguity of "megabyte" (i.e. do we mean 10^6 or 2^20 bytes?) is worth the introduction of a new term.
Re:At what point can I say I’ve “learned” a language? on Saturday August 18, 2012 @06:46PM (#4402561)
To those giving serious replies: I'm quite sure (rather, I hope!) the parent is being sarcastic.