HN user

hnur

55 karma

Homepage : http://nurh.org

Twitter : @nurhussein

Location : The high ground.

Posts2
Comments14
View on HN

"a technique for reducing the memory footprint of programs in compiled languages with C-like structures"

I figure that's not the primary reason for structure packing, but rather for fine-grained control over writing to very specific memory layouts (think global descriptor table) as structs.

It was a random sampling of songs that I was already playing while I was writing that. All my music is either folk (with a lot of Irish and American folk), rock, or indie. If you like though, you could try it yourself.

The great (or perhaps, not, depending on what you want) thing about the Flickr search is that it picks from a set of curated photos, so it's highly unlikely you'll get an unpleasant one. However since it is picking random pictures from the internet, don't run it where you'd get into trouble if something inappropriate does manage to come up.

You aren't by any chance interested in separating that, in hosting a server which gives a link to a good flickr image when given a word? I searched for something like that and in the end stayed with my ugly approach of parsing flickriver for getting a random image from a hard-coded group with a fitting topic.

Flickr already does this if you use their search API. The Flickr part of the script in my Github repo has an example.

UNIX-like kernels are easy, in that you don't have to have >that much running before you can run "Hello World".

Well, it depends on what you mean by "Hello World". Simply printing it out from the kernel? Easy. Getting a workable userspace up and running so a user program prints out "Hello World"? Hard. Also, you can have a microkernel that gives you a UNIX-like personality too (as is it is often the case when implemented), so I am not sure how one precludes the other.

Also, the emphasis on virtual memory and page faults is >becoming dated. Paging out to disk is obsolete technology. >RAM is too cheap, and mobile devices don't page.

Uh, of course mobile devices use paging and virtual memory. You might be conflating virtual memory with swapping here.

Another folk/americana fan here, and I get contemporary pop music ads between my tracks on Spotify, and there's nothing more annoying than autotuned screeching between my Bob Dylan and Gillian Welch.

However instead of buying premium, I just use Spotify for discovery. If I like something I just get the album off iTunes, Amazon or Bandcamp. I find myself spending less per year than if I had subscribed to Spotify, _and_ I get to keep my music.