Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
panzi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
721.
▲
by
panzi
13y ago
I'm not sure why general and special relativity are called like that. Special relativity is about movement and how that causes length contractions, time dilations and a change of mass of the moving object. General relativity is about h
722.
▲
by
panzi
13y ago
While some architectures have some special instructions/registers for handling stacks I still wouldn't say it's built into CPUs. The direction in which a stack grows depends on the architecture. Some programming languages don
723.
▲
by
panzi
13y ago
Exactly. But that they said FTL is a violation of general relativity made be doubt the article. General relativity does not disallow FTL, special relativity does. But that is about my extends of knowledge about these things.
724.
▲
by
panzi
13y ago
Ah, also FreeBSD, Solaris and probably many other Unix (like) operating systems have Python pre-installed.
725.
▲
by
panzi
13y ago
My experience with bash: Once you do something a bit more complex where bashisms would be handy any shell is so slow and complicated to use that you're better of with Python, even if all your system provides is Python 2.4. And Python i
726.
▲
by
panzi
13y ago
Maybe the homebrew libs (libogc) support OpenGL? I doubt that you can use to original Nintendo SDK to write homebrew.
727.
▲
by
panzi
13y ago
Which brings it back again to my initial comment: "I don't understand why functions like gets and sprintf weren't removed from the standard and headers a long time ago." And by a long time I mean before 1989 (certainly b
728.
▲
by
panzi
13y ago
I don't understand why functions like gets and sprintf weren't removed from the standard and headers a long time ago. It can't be for legacy reasons, because removing them from the headers has no effect on binaries and when y
729.
▲
by
panzi
13y ago
Hmm, so a function similar to fread, but reading from another buffer instead of a file.
730.
▲
by
panzi
13y ago
Then I'll just use a C-style cast. :P
731.
▲
by
panzi
13y ago
Android (Google) did not rebrand the kernel, they just don't mention it.
732.
▲
by
panzi
13y ago
Indeed.
733.
▲
by
panzi
13y ago
Did they make the switch to Qt 5 before the release or will the first version ship with Qt 4?
734.
▲
by
panzi
13y ago
Agreed with most of it except: "because their string API is correct" Apparently they have a bug in their UTF-7 parser that can lead to invalid unicode strings. Don't know if it's already fixed.
735.
▲
by
panzi
13y ago
One unicode character at a time or one unicode codepoint at a time? (see character composition)
736.
▲
by
panzi
13y ago
While JavaScript (in browsers) has no way to normalize precomposed/decomposed strings, it has standard methods to correctly compare them: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe.
737.
▲
by
panzi
13y ago
Wait, I just realized Audacious CAN play psf and spc (forgot about that). The only thing I'm missing is (mini)usf (Nintendo 64 music). Although the Winamp plugins are much more feature rich: more metadata, (live!) disabling and enablin
738.
▲
by
panzi
13y ago
What do you mean by "gets directly interpreted"? Interpreting the AST? Writing a bytecode interpreter is pretty easy and can run much faster than a tree interpreter, especially when you use gcc extensions (taking addresses from la
739.
▲
by
panzi
13y ago
Winamp is a great music player. It is still the best for some file formats. Via it's plugins it can play more exotic audio file formats than any other player. Some players support s3m and it, but play only half of some files: Winamp pl
740.
▲
by
panzi
13y ago
Firefox 25 (Linux): "[22:21:01.082] TypeError: Not enough arguments to mozRTCPeerConnection.createOffer. @ http://www.peer-server.com/shared/lib/peer.min.js:1"
741.
▲
by
panzi
13y ago
It's this easy to clone a credit card? Why is anyone using credit cards? I feel confirmed in not having one.
742.
▲
by
panzi
13y ago
> I never thought of bytecode as its own class with its own identity before. What do you mean? How did you think of it before?
743.
▲
by
panzi
13y ago
I think the question is the reverse: not what program implements the VM but which programs run on it and what are they doing? at least that is what I'm asking.
744.
▲
by
panzi
13y ago
If I would have seen this one or two hours ago it could have spared me hate on irc://irc.freenode.net/bash
745.
▲
by
panzi
13y ago
I once generated this: http://panzi.deviantart.com/art/Prime-Numbers-102507767 Each red pixel represents a prime number. The source download link is currently broken. I'll fix that in a minute (if I can find the s
746.
▲
by
panzi
13y ago
Why would you want to do that?
747.
▲
by
panzi
13y ago
> a working Python -> C translator Including generator functions? That would be impressive. Well, one could solve it by putting all locals into an heap allocated object and use the "switch over the whole function body"-trick
748.
▲
by
panzi
13y ago
So what? Everyone in a family has a bike (even the kids), but there are usually one one or two cars. Also bikes are cheaper and usually have a shorter lifetime. If cars would outsell bikes, THAT would be a headline.
749.
▲
by
panzi
13y ago
What do you mean by "raw information"? Can you publish a detailed protocol specification?
750.
▲
by
panzi
13y ago
Not a library but I think mercurial currently still only works with Python 2.
More ›