Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
panzi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
511.
▲
by
panzi
12y ago
The benchmarks you linked are interesting. Rust is #1, right before C: http://benchmarksgame.alioth.debian.org/u32/performance.php?... Maybe Rust will finally be a real competitor to C.
512.
▲
by
panzi
12y ago
Oh, wow. I didn't know the dict comprehensions. Since when do they exist? I always used: d = dict((key(x), value(x)) for x in xs)
513.
▲
by
panzi
12y ago
"Some people say this has already happened."
514.
▲
by
panzi
12y ago
> XCB (a clean X11 equivalent binary protocol for Xorg that, iirc libX11 is now built on top of) I thought XCB implements the same protocol but provides another (more modern) API. Am I mistaken? I never wrote code using libx11 or libxcb.
515.
▲
by
panzi
12y ago
Do we (I'm from Austria) even have that amount of money?
516.
▲
by
panzi
12y ago
That won't always work, because often there are OS specific files. E.g. different implementations of "mmap" for Unix and Windows or strlcmp and snprintf implementations for platforms that don't provide them their self. A
517.
▲
by
panzi
12y ago
So did you forward all these comments? What did they say? "We know, but we have other things to do right now"?
518.
▲
by
panzi
12y ago
To me it looks like speed is one of the major advantages. JavaScript speed is only one thing. There is also render speed. E.g. this runs totally smoothly (with a bit of flickering (z order problems?)) in Chrome: http://keithclark
519.
▲
by
panzi
12y ago
Yep, I also used that. And several entries in /etc/hosts.
520.
▲
by
panzi
12y ago
If you want a simple key-value-store in the browser, why don't you directly use localStorage(+JSON)? It's supported since IE8. My guess is that this thing is using localStorage under the hood.
521.
▲
by
panzi
12y ago
Oh I want to add: I'm a big fan of the Mozilla foundation and the work it does for the free web. I just currently don't use Firefox. I do use Thunderbird and Chatzilla and I'm a fan of Rust. I hope the Phone will be a success
522.
▲
by
panzi
12y ago
I think calling IE's development tools high-quality is a stretch. They got nice recently, but by far not as good as those of Chrome or even Firefox. Also it does not help that the development tools in the most recent IE are ok, I still
523.
▲
by
panzi
12y ago
That reminds me: It would be nice if you could open several different incognito windows, each with their own session. That way one can debug user interactions without needing as many browsers as users in the interaction (or half of it becau
524.
▲
by
panzi
12y ago
But while all that features of Chrome are really nice, sometimes they stop working and you need to reload the inspector. The "show element in DOM inspector" context menu for elements logged in the console is what breaks most frequ
525.
▲
by
panzi
12y ago
PS: The monitorEvents helper function is a nice thing in Chrome. But that's not so hard to do inline using e.g.: foo.addEventListener("mousemove", function (event) { console.log(this,event); }) It's only a few c
526.
▲
by
panzi
12y ago
It's starts with GUI issues where you can't resize certain things (e.g. columns in the network tab) or only in a very limited way (it got better). Not being able to inspect objects inline in the console is very annoying. Is there
527.
▲
by
panzi
12y ago
Sounds cool. Shame that Mozilla's developer tools are in some respects that are important to me still inferior to Chrome.
528.
▲
by
panzi
12y ago
I guess using setjmp/longjmp to implement something like try-catch in C is something everyone does when they discover this the first time. I did. But I was aware that it isn't a good idea, I just wanted to try it. It was some time
529.
▲
by
panzi
12y ago
Why would you want to do that in Java?
530.
▲
by
panzi
12y ago
Yeah but for some reason they don't always do this. Also in case they actually do that part right, they often don't give people who ask questions a mic and don't repeat their questions. Then you don't have any idea what
531.
▲
by
panzi
12y ago
It won't be a recording that you could bear listening to. Even more professional setups/bigger conferences often screw up the audio so that the recording is basically binnable.
532.
▲
by
panzi
12y ago
I seem to have overlooked the "and written".
533.
▲
by
panzi
12y ago
Of course you can use grep on binaries perfectly save, if you just don't print all the results to the terminal. Use `grep -lr <pattern> <dir>` to find binaries that contain a certain pattern, use `grep --byte-offset --only-
534.
▲
by
panzi
12y ago
If something that shouldn't be written is written then yes. But from all the reports it sounds like it just reads something that shouldn't be read and produces a segmentation fault because it reads an unallocated page. I could be
535.
▲
by
panzi
12y ago
> A "read buffer" overflow is still nothing but a program reading some form of input and then overwriting the buffer. The target program has to read to somewhere -- namely to the buffer -- and thus it has to write over the boun
536.
▲
by
panzi
12y ago
How will they do this if it's a read buffer overflow, not a writer overflow?
537.
▲
by
panzi
12y ago
But I don't think that strings will print escape characters. It's the point of strings to extract printable ASCII characters. Or am I mistaken?
538.
▲
by
panzi
12y ago
But probably in the context of your Google account: can access and maybe manipulate all your Goole Drive files. Maybe access mails in your GMail account? Probably not (other domain).
539.
▲
by
panzi
12y ago
There are tools that let you draw on the screen, no matter what other applications are running. At least there are such tools for Linux, but I'd guess there also would be one for Windows. Heck, I'd guess there is such a tool as a
540.
▲
by
panzi
12y ago
Well, yeah. A sandbox should be able to control restrict, but in principle I want to have the ability to control other windows.
More ›