News for hackers. Stuff that matters.

frakturfreund

Re:'Go mod download' (to cache) and 'go mod why' added on Saturday August 11, 2018 @09:06AM (#17739521)
go mod why generics

(main module does not need package generics)

Re:Retiring Wave on Thursday February 22, 2018 @08:20PM (#16443349)
Can't stop the signal, Mal.
Re:Building a r/place in a weekend on Sunday April 16, 2017 @08:15PM (#14128395)
Currently, https://josephg.com/sp/current returns a png with 3x8 (RGB) bits/pixel. But since the image has only 16 colors, you can reduce its filesize to ~20% (from ~714 to ~147 KB, with http://optipng.sourceforge.net/). Can't you can gain performance and reduce bandwith by keeping the image serverside as a 4 bit png?
Re:Cache Sizes with CPUID on Intel CPU's on Monday May 16, 2016 @09:46AM (#11706193)
lscpu (from the preinstalled util-linux package) works too. And now that Windows comes with the Ubuntu Bash …
Re:OpenBSD 5.8 released on Sunday October 18, 2015 @11:59AM (#10408562)
Just the demanded mandatory comment to complain about CVS and Comic Sans. Whiiiiiiinne whine whine.... ;)
Re:Pluto-bound probe faces its toughest task: finding Pluto on Saturday June 27, 2015 @09:58AM (#9790154)
Wow, this is the first ›real‹ telnet interface i saw in years:

telnet horizons.jpl.nasa.gov 6775

Thanks, NASA!

Re:LispyScript on Tuesday June 09, 2015 @05:24PM (#9688651)
Also Spock (Chicken Scheme wiki): http://wiki.call-cc.org/eggref/4/spock
Re:NASA: We're sending humans to Mars on Tuesday December 02, 2014 @07:42PM (#8691150)
That’s a valid point. But Sputnik had also a component of harmed pride (›most advanced nation‹); at least this should be reproducible.
Re:NASA: We're sending humans to Mars on Tuesday December 02, 2014 @02:50PM (#8689393)
The NASA went to the moon because the russians wanted to do it. Today's space exploration is shaped by cooperation, but sometimes a little bit of competition is needed to achive great thinks.

This is why i'm really hoping for the chinese to announce a manned mission to mars. It's the red planet afterall ;), and this could be a modern sputnik shock for the NASA.

Re:Half a decade with Go on Monday November 10, 2014 @04:07PM (#8586439)
The RSS feed of this Blog is broken :(
Re:Martin Gardner's best mathematical puzzles on Tuesday October 21, 2014 @09:28AM (#8487185)
Hint: Think about the colors …
Re:Atari 2600 transistor-level simulation on Sunday October 19, 2014 @03:34PM (#8479294)
I didn’t know the chematics for the TIA, thank you very much!

I find this Chip quite intriguing because it's so minimal; its stunning how much could be archieved even under the hardest restrictions. Or how little, compared to later graphic chips of the 8-bit era (like the PPU of the NES).

Re:McSema: A native code to LLVM IR translation framework on Thursday August 07, 2014 @04:42PM (#8150029)
Yes, it’s a Disassembler: https://en.wikipedia.org/wiki/Disassembler
Re:Go generate: Proposal for Go 1.4 on Thursday July 03, 2014 @02:10PM (#7984696)
»the author commits the generated files to the source repository, so that they are available to clients that use go get:«

I understand that they want to keep $ go get fast, but i think that it is a bad practice to commit generate files into a repository. Instead, $ go get should call go generate.

Re:Go 1.3 is released on Wednesday June 18, 2014 @11:39PM (#7914330)
The release notes mention the graceful shutdown of a http.Server:

"The net/http package now provides an optional Server.ConnState callback to hook various phases of a server connection's lifecycle (see ConnState). This can be used to implement rate limiting or graceful shutdown."

Knows anyone here a code example for this?

Re:Brian's Rules for Writing Cross Platform 'C' Code (2008) on Saturday June 14, 2014 @07:52AM (#7892614)
The praise for OpenSSL („I can't recommend OpenSSL highly enough, […] we just could not have done better at Backblaze.“) is kinda funny now after Heartbleed and the massive code cleanup of the LibreSSL people …
Re:HFS+ Bit Rot on Tuesday June 10, 2014 @11:45PM (#7876426)
Instead of using ext2, just use ext4 (2008) without a journal to get 16 Years of Progress :)
Re:People of ACM: Donald Knuth on Thursday June 05, 2014 @03:10PM (#7853631)
That's a sad story … but thank you for sharing it.
Re:People of ACM: Donald Knuth on Thursday June 05, 2014 @01:44PM (#7853123)
Then why is so much whitespace in the .html? I mean, there doesn't seem to be a Easteregg encoded in Whitespace …
Re:Why CPUs aren't getting any faster (2010) on Monday April 28, 2014 @04:32PM (#7662793)
Nothing can't travel faster than the speed of light – including Electric current. So in a hypothetic 5 gigahertz CPU, there couldn't be a path through the wires/transistors longer than 5.99584916 – otherwise, the end result couldn't be correctly determined. That's why CPU's got smaller and smaller. But since the transistor shrinking slows down, and Adders/Multiplyer/Register/Decoding Logic etc. all takes some time and length, it's harder to make a CPU with a shorter longest path.
Re:Commit Message Generator on Monday May 06, 2013 @11:17PM (#5666344)
Yes, i forgot, it has to go into the [alias] section of .gitconfig.

It create a commit with a random message from whatthecommit.com; nothing you would push to your public repository; i use it in a script to backup some stuff in a git repo.

Re:Commit Message Generator on Monday May 06, 2013 @10:10PM (#5666160)
For your ~/.gitconfig:

  wtc = !git commit -m \"$(curl -s http://whatthecommit.com/index.txt)\"