Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
f2f
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
f2f
13y ago
... where it will compete with articles about the Star Wars Weather Forecast and discussions on TV programmes. yes, the humour is not lost on me ;)
272.
▲
by
f2f
13y ago
i agree, but the context nowadays is different. you don't often see articles about modifying the binaries of major operating system kernels. what impressed me most is that the hack worked flawlessly on one of my 10.8.5 pre-release kern
273.
▲
by
f2f
13y ago
I'm afraid the title may scare people off the article. i assure you, "hacking" here is used in the canonical sense: "An incredibly good, and perhaps very time-consuming, piece of work that produces exactly what is needed
274.
▲
Hacking the OS X Kernel for Fun and Profiles
(research.swtch.com)
174 points
by
f2f
13y ago
|
35 comments
275.
▲
by
f2f
13y ago
plenty "women in computing" archive photos available if you search for it. like this set from Bell Labs: http://www.luckham.org/LHL.Bell%20Labs%20Days.html somehow the computer scientist's workplace appears m
276.
▲
by
f2f
13y ago
or, in "explosive tabloid headline style": Go: Stop!
277.
▲
by
f2f
13y ago
for those not familiar with Go, here's the problem translated in C terms: "I passed a pointer to your function and it called free() on it. how dare you!"
278.
▲
by
f2f
13y ago
or, better yet, use crypto/rand to seed it.
279.
▲
by
f2f
13y ago
i like green.
280.
▲
by
f2f
13y ago
the %v and %T flags to the printing package. surprisingly powerful :)
281.
▲
by
f2f
14y ago
i understand why you did the explicit conversion, the idea i was trying to relay is why i undid it... nevermind the semicolons, 'twas a joke :)
282.
▲
by
f2f
14y ago
Here's a more idiomatic go version: http://play.golang.org/p/oH850AdLuQ what you don't realize (apart from the fact that go doesn't terminate lines with semicolons since 2009) is that you don't need to create a copy that's typed []interfa
283.
▲
by
f2f
14y ago
the C code is also being run under Go's control via Cgo.
284.
▲
by
f2f
14y ago
what university was that?