Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emillon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
emillon
13y ago
As others said, you can't really do it without disassembling the function (bonus problem: the general case is undecidable). A solution is to have your linker insert a "end of function" symbol in the ELF object (using a linker
122.
▲
by
emillon
13y ago
That's quite surprising, it's a textbook XSS vulnerability. It seems to me that their markdown library should escape entities by default or they will have many other vulns.
123.
▲
by
emillon
13y ago
pickle is a (de-)serialization library for Python. It allows arbitrary code evaluation, so shouldn't be exposed to the outside world (for the same reason that we have JSON parsers and don't use JS eval() to parse JSON).
124.
▲
by
emillon
13y ago
Σ(2^i / (10^(5i)) = Σ(2/10^5)^i = 1/(1-(2/10^5)) = 10000/9998 (you get the idea)
125.
▲
Conference proceedings (git-annex repo)
(github.com)
1 points
by
emillon
13y ago
|
0 comments
126.
▲
Homophony Groups in Haskell
(andrew.gibiansky.com)
3 points
by
emillon
13y ago
|
0 comments
127.
▲
by
emillon
13y ago
It's not unlike the busy beaver problem, where you have to produce the highest number with a turing machine before halting: https://en.wikipedia.org/wiki/Busy_beaver
128.
▲
by
emillon
13y ago
It's not calling the git command that's problematic, it's calling an external command at all. So you pretty much have to recode the hot part in another language, where you just manipulate buffers instead of piping stuff aroun
129.
▲
by
emillon
13y ago
Rot13 for spoilers: Jura vaibxvat tvg va n furyy ybbc, lbh'er jnfgvat lbhe gvzr sbexvat. Qbvat guvf va n fvatyr cebprff jvyy fcrrq vg hc n ybg.
130.
▲
Green Bay Professional Packet Radio
(qsl.net)
1 points
by
emillon
13y ago
|
0 comments
131.
▲
by
emillon
13y ago
Thanks!
132.
▲
by
emillon
13y ago
Can you make it available somewhere? I'd be interested in that data, and sure that others would be too. Thanks!
133.
▲
by
emillon
13y ago
The difference is in the error message you get. Adding "if (x == NULL) abort()" will display a backtrace near the error. To understand the cause of the segfault, you will have to follow the data flow in your favorite debugger.
134.
▲
by
emillon
13y ago
> I remember holding it in my bare hand in chemistry lab (encouraged by the teacher). At a (not so remote) time, students used to put their hands into mercury to demonstrate that it is liquid but not wet.
135.
▲
by
emillon
13y ago
And fixes the permissions. With /etc in git it becomes world-readable.
136.
▲
by
emillon
13y ago
This was covered on PBD: http://programmersbeingdicks.tumblr.com/post/68153753288/pen...
137.
▲
by
emillon
13y ago
The big problem for me is the compilation time, which is very slow (this may or may not be because the compiler itself is written in Rust). I dedicated a few days to hacking on rustc this summer, and while the tooling and community are very
138.
▲
by
emillon
13y ago
Undefined behaviour is a dynamic property, not language constructs. It's akin to saying "remove run-time errors from your programs".
139.
▲
by
emillon
13y ago
Thanks!
140.
▲
by
emillon
13y ago
I think that the commit history says a lot about the development process and the company culture. First, is that it's interesting to see how these companies work internally. Second, it's easier to dive into the code by reading the
141.
▲
by
emillon
13y ago
I understand that it's not worth the cost to cleanup the history, but it's always frustrating to see such a project come with a 100kloc "initial" commit.
142.
▲
by
emillon
13y ago
Snapchat works like this and is reasonably successful. But of course, there is no technical way to enforce the ephemeral aspect.
143.
▲
by
emillon
13y ago
When microwaving a CD, the induction stops when the track is cut. There are usually big chunks of surface (~2cm²) unaffected. You can't read it with your drive but it's reasonable to think that some data can be retrieved from it,
144.
▲
by
emillon
13y ago
Interestingly enough, the switches are not electric ones. It's just something that can be physically (maybe even optically) detected by the device.
145.
▲
by
emillon
13y ago
X32 code is different from "plain" 32 bit code (x86 style) as it still runs in long mode and can use all registers.
146.
▲
by
emillon
13y ago
Make only understands rules such as "X depends on Y", but gcc can output these dependency rules (-M* switches). So yes, it is possible to do this but make itself is source code agnostic.
147.
▲
by
emillon
13y ago
There are very few releases of GNU make: 3.81 (in Debian too) is from 2006, 3.82 from 2010 and 4.0 from 2013.
148.
▲
by
emillon
13y ago
That was between S12 and W13: http://ycombinator.com/w13smaller.html I can't find the source for the cut in extra VC funding but it was around the same time.
149.
▲
by
emillon
13y ago
The difference is that Haskell does not check types at runtime like Clojure does (which is the point of strong static typing), so if the type is wrong it becomes as unsafe as C.
150.
▲
by
emillon
13y ago
> Processor speeds double approximately every generation which we can estimate is once every two years. Do you have any sources to back up this claim? Max processor speed has stalled to ~4GHz since 2005. If you're referring to Moore
More ›