Better HN
topnewbestaskshowjobs
Log inSign up

hawkinsw

19 karma · joined Jan 5, 2011 (15y ago) · 11 submissions

Submissions

comment 5y ago · link · parent

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!

comment 5y ago · link · parent

Pretty much a classic in every 1L law school class.

comment 8y ago · link · parent

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!

comment 9y ago · link · parent

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!

comment 9y ago · link · parent

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

comment 9y ago · link · parent

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

comment 9y ago · link · parent

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.

comment 10y ago · link · parent

https://www.amazon.com/Psychology-Computer-Programming-Silve...

9.

Hacky Finally Support for C++ Exceptions(github.com ↗)

2 points · by hawkinsw · 11y ago · discuss

comment 12y ago · link · parent

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.

comment 15y ago · link · parent

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.