Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qb45
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
86 ms
·
781.
▲
by
qb45
10y ago
It's worth noting that as far as resource distribution goes, East Side was said to receive more funding per student. Too bad they didn't investigate where this money goes.
782.
▲
by
qb45
10y ago
Well, they pretty much described what actually happened, which is that VMware wasn't all that confident about their security and panicked when the source appeared. While I too would like the article to poke some fun at VMware's at
783.
▲
by
qb45
10y ago
I think that doing security audits only when your source code leaks (not even when somebody threatens to leak it) is bad software development, not bad journalism.
784.
▲
by
qb45
10y ago
Those instructions are treated as "legacy PITA" by CPU vendors and, being complex and harder to implement than simpler ones, aren't implemented as efficiently. The CPUs have lots of duplicated logic to process many instructio
785.
▲
by
qb45
10y ago
Indeed. While repurposing ESP might be rightfully considered ugly, repurposing EBP is quite common and EBX, ECX, ESI, EDI pretty much are general purpose because nobody has been using them for their fixed functions for two decades.
786.
▲
by
qb45
10y ago
> I've never seen anyone store 10 byte IEEE-754 values in memory. But you can, if you are after precision as the OP apparently was. I'm not sure what this c-word is doing in your post, I thought we were talking assembly, but as
787.
▲
by
qb45
10y ago
FST/FLD can store/load full 80 bits if you need such precision. No problem whatsoever.
788.
▲
by
qb45
10y ago
That's true. I started with 16b and transitions to 32b and 64b were pretty straightforward. It's mostly just registers becoming wider.
789.
▲
by
qb45
10y ago
Almost correct. If you want to call C code conforming to the x86-64 SYSV ABI, RSP needs to be aligned to 16 bytes when you execute the call . If the code you generate never calls alien code, 8 byte alignment is enough. Since 8 bytes are oc
790.
▲
by
qb45
10y ago
Unicomp.
791.
▲
by
qb45
10y ago
Audacious has optional WinAmp-style GUI (with skins being WinAmp 2.x compatible AFAIK) and supports global hotkeys, including a "search and jump to file" popup.
792.
▲
by
qb45
10y ago
> What's wrong with your tap water? Don't they have the same safety standards to meet? Tap water quality varies from place to place. For example, in SV (at least Sunnyvale, Santa Clara) it stinks so badly that I barely care whe
793.
▲
by
qb45
10y ago
But 1080x1920 is stupidly narrow. On 1440x1920 (4:3) you could place two windows side by side without much effort. It barely becomes possible at 1200 (16:10), though not with the font size I'd be long-term comfortable with.
794.
▲
by
qb45
10y ago
> The war is over, friend. Come on home. Actually, remote Philippines are still fighting. Try sending your patches in HTML to some FOSS project's mailing list :) I've even been at a place where Exchange/Outlook were used f
795.
▲
by
qb45
10y ago
Well, but you don't have this bot and instead (I suppose) you waste your private time responding with links to something they should have read. You don't have to be an asshole, just refuse to be mistreated by assholes. I've s
796.
▲
by
qb45
10y ago
I was under impression that, at least on gcc, everybody uses -O2 and -O3 is reserved for those who have the patience to verify that their software not only still works correctly, but even actually becomes faster. FWIW, I once tried -O3 on s
797.
▲
by
qb45
10y ago
> I see no WTF here. Not WTF in itself, but has WTF potential. The way I read it is: If you forget to put synchronization around accesses to global state, in addition to the usual problems, we will also overwrite your globals with rando
798.
▲
by
qb45
10y ago
I love the WTF potential of this one: Another interesting optimization is to use potentially shared memory locations (on the stack, heap and globals) as scratch storage, if the compiler can prove that they are not accessed in other threads
799.
▲
by
qb45
10y ago
There are two kinds of laziness: one which makes you visit course website, copy teacher's email and send him some stupid question whose answer is one CTRL+F away on the same website, and another which makes you want to automate respond
800.
▲
by
qb45
10y ago
You can automate replying with a link to the course webpage ToC. Also, make it absolutely clear that the reply is automatic. Hopefully they'll get the hint. Or heck, just make it a policy that if they haven't received an answer
801.
▲
by
qb45
10y ago
Yeah, there exist humans who fail the Turing test. Another thing is foreign students and teachers who, even if otherwise competent, quickly get one used to language comparable with machine output. I think I may have been guilty of that at
802.
▲
by
qb45
10y ago
There was some widely circulated study few years ago which found that most SSD models they tested had problems on power loss. Some even bricked. They didn't publish concrete names, unfortunately. But yeah, I agree it's a bug and s
803.
▲
by
qb45
10y ago
Part of what you count as firmware bugs may have been cases of data/firmware corruption caused by unexpected power loss.
804.
▲
by
qb45
10y ago
> __is documented__ Documentation is indeed the name of the game. Few things are more frustrating than seeing a code do something and having no idea why . I want to see comments, names of any clever algorithms used, links to applicable
805.
▲
by
qb45
10y ago
> Finally, code reviews sometimes substitute for design review, which catches the most serious problems much earlier. At this same company, it drove me crazy that we always had time for code reviews, but never for design reviews. You rem
806.
▲
by
qb45
10y ago
> Call it a reflex. PTSD? :) Use local topic branches for everything to avoid unpleasant surprise merges. Once you are ready to merge, pull the shared branch, merge/rebase onto that and push/submit/whatever. I sometimes ke
807.
▲
by
qb45
10y ago
They just look for counterexamples. Say, for Goldbach: is_prime(n) { for (i = 2; i < n; i++) if (n % i == 0) return false; // sorry, this isn't prime return true; // no divisors found,
808.
▲
by
qb45
10y ago
There is much to exploit if the driver itself is buggy. Theoretically it's possible that between various 8bit/16bit encodings, locales, collations, client/server configuration mismatches somebody could find a creative way to
809.
▲
by
qb45
10y ago
OK, that makes sense. I imagined that hg implicitly updates remote working set and that parent complained about git's behavior because hg push ssh://testing-server/ worked as lazy man's single command deploym
810.
▲
by
qb45
10y ago
> And placeholders make any input sanitization unnecessary, because it's the library that does the escaping part of constructing a query. I quietly hope that they don't send concatenated query full of escapes, but some binary e
More ›