News for hackers. Stuff that matters.

hawkinsw

Re:Ask HN: Why Bother with All This? on Wednesday September 01, 2021 @02:49AM (#28377065)
Second what everyone else is saying: Please find professional help as soon as possible. In the meantime, know that we are all rooting for you! Hang in there!
Re:The time Pepsi got sued for a $33M fighter jet on Sunday August 15, 2021 @05:10PM (#28192562)
Pretty much a classic in every 1L law school class.
If you like that video, you might enjoy this great book about Minitel:

https://www.amazon.com/Minitel-Welcome-Internet-Platform-Stu...

I have started to read it, but haven't made it all the way through. I love tech history and the book is great so far!

Rob Pike explains this manifesto in several videos available on YouTube:

https://www.youtube.com/watch?v=ENLWEfi0Tkg

It's a fascinating talk. I really enjoyed it. I hope you do too!

Re:A tiny Unix dynamic memory allocator library on Saturday September 23, 2017 @01:40AM (#15318341)
I wondered the same thing! If the goal is to add "debuggability", then there are other options out there too -- dmalloc and electric fence, to name just two.

I went to the repo fully expecting to see a call to brk() somewhere in the code.

Will

Re:Ask HN: What books are you currently reading? on Wednesday July 26, 2017 @04:12PM (#14859820)
Watched a few great presentations by Greg McKeown. Very interesting, I think! Check out this one from when he gave a talk at Google:

https://youtu.be/sQKrt1-IDaE

Re:Using select(2) the right way on Sunday June 04, 2017 @07:48PM (#14484372)
I've written lots of servers in C and found this article quite interesting.

The techniques that the author presents are new to me and I know that I will take them into consideration when I write a server in C the next time.

More importantly, they are techniques that I think library writers should use. My uneducated guess is that the underlying implementations of servers in Node.js and Iron, etc, could be improved with these ideas, even though they might not be directly applicable since those servers are written in different languages.

I can't vouch for the results, but the author's experiments seem conclusive.

Re:Building a Mesh Network in Rural Somaliland on Friday January 03, 2014 @02:13PM (#7007402)
Here are some of the steps that I use to unsquash the binary Commotion images to make changes:

1. Find the PARTs

2. Extract them

3. unsquash: unsquashfs -d image/ squashfs.bin

4. Make the changes.

5. squash: ~/code/commotion-openwrt/commotion-openwrt/openwrt/staging_dir/host/bin/mksquashfs4 image/ squashfs-made.bin -nopad -noappend -root-owned -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2 -b 256k

6. pad: ~/code/commotion-openwrt/commotion-openwrt/openwrt/staging_dir/host/bin/padjffs2 squashfs-made.bin 64

7. mkfwimage: ~/code/commotion-openwrt/commotion-openwrt/openwrt/staging_dir/host/bin/mkfwimage -B XM -k kernel.img -r squashfs-made.bin -v XM.ar7240.v6.0.0-OpenWrt-r36682 -o openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory-DR2-tn.bin

If you are modifying a sysugrade image: Extract 0-1048576 (bytes): that's the kernel Extract the rest: that's the squashfs

Put them back together with ( dd if=vmlinux bs=1048576 conv=sync; dd if=squashfs-made.bin ) > openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade-DR2-custom.bin

These are just my notes. Feel free to contact me if you want more information.

Re:48% Of IT Workers Don't Get "Cloud Computing" on Wednesday January 05, 2011 @05:37PM (#2072853)
This article and headline are completely misleading. The question, from TFA,

"One of the survey's questions asked: "Do you feel that the cloud has potential for your business?" 49% answered: "I don't know." 48% likewise responded "I don't know" when asked if their company used any cloud-based applications or services."

If someone asked me those questions, there are myriads reasons to respond "I don't know". Perhaps I don't know about EVERY initiative going on in the business or perhaps (gasp!) I don't believe that the cloud "magically" helps my business. It does not NECESSARILY mean that I am clueless about the cloud.

This type of thing really makes me angry.