Better HN
topnewbestaskshowjobs
Log inSign up

brokenparser

3,510 karma · joined Aug 4, 2012 (14y ago) · 569 submissions

Submissions

comment 13y ago · link · parent

And {Global,Heap,Local}{,re}{Alloc,Free,Lock,Unlock}. 4 sets of APIs just to allocate memory. Although Local* and Global* are mapped to Heap for a while now and (IIRC) (un)lock functions don't do anything (but they used to). This BC is still required today.

422.

PRISM update(thenextweb.com ↗)

88 points · by brokenparser · 13y ago · 34 comments

comment 13y ago · link · parent

On the subversive list years before it was cool. Dude, you are the real hipster.

comment 13y ago · link · parent

If all of the common procedures like peer review and QA are absent, you've got some sweet freedom. The real problem is that you're trying to change it, try to live with it instead. This kind of workplace could be a lot of fun ;)

comment 13y ago · link · parent

http://www2.warnerbros.com/spacejam/movie/jam.htm

http://www.internic.net/

And the site you're on right now ;)

comment 13y ago · link · parent

That's true of pretty much any database.

427.

IMF to Admit Mistakes on Greece Bailout (online.wsj.com ↗)

2 points · by brokenparser · 13y ago · discuss

comment 13y ago · link · parent

Lie. No one ever sues MSFT for delivering a bad product, let alone (cash-strapped) schools.

comment 13y ago · link · parent

All these wonderful tools and they still can't release an operating system that's worth a single plugged nickel.

comment 13y ago · link · parent

'Course, there's an Emacs command to do that.

comment 13y ago · link · parent

That and the fact that wine only runs on *nix, so it'd require another compatibility layer to provide POSIX and BSD functionality under classic MacOS. OSX didn't even exist at the time IE for Mac was written. They'd also have to come up with a visual theme layer so they could at least pretend it's a Mac program, long before they introduced one in Windows. All of that still wouldn't get them menu bar support, though. In hindsight, I didn't think it through at all when I mentioned wine.

They do have MS-Office ports for Mac, so that product was probably written with much better separation of concerns.

comment 13y ago · link · parent

Surprisingly, no one mentioned that mysql_real_escape_string still fails to properly escape a string when the character set has been changed using a SET NAMES or SET CHARACTER SET query. Never mind the big yellow warning sign in the manual.

The search goes like this: https://github.com/search?q=mysql_query+%22SET+NAMES%22+mysq...

comment 13y ago · link · parent

No. It's because MSIE for Windows wouldn't run on MacOS and they couldn't use Wine. (MSFT would never do that.)

comment 13y ago · link · parent

MacOS had a built-in web server. You could've used that.

comment 13y ago · link · parent

Probably 4.0, it looks just fine here: https://www.manymo.com/emulators/82/connect

comment 13y ago · link · parent

So MSIE supports placeholders. How is that "bad"?

comment 13y ago · link · parent

Thank you! There's also a fix for Arch, no idea if it's the same patch, though. https://aur.archlinux.org/packages/jre7-openjdk-headless-fon...

comment 13y ago · link · parent

It only supports itself, so not a kernel. See: http://en.wikipedia.org/wiki/Kernel_(computing)

comment 13y ago · link · parent

Don´t know why this was downvoted, you hit the nail on its head. The fact that it runs directly on hardware doesn't make it a kernel, it doesn't provide any abstractions for applications to run unmodified without specific hardware provisions.

comment 13y ago · link · parent

Not really, it´s based on Swing. Fonts are going to look horrible.

comment 13y ago · link · parent

It's not "The universal operating system" for nothing.

comment 13y ago · link · parent

More likely a bug in the ACPI support of the specific motherboard model.

comment 13y ago · link · parent

I knew it!

comment 13y ago · link · parent

This seems backwards to me. Sure, use the right tool for the job, but still. SQL server -> noSQL / embedded SQL -> embedded noSQL. At every step there's someone going "X is hard, let's not do X" and we end up with a serverless, configuration-free, noSQL transactional database. The next logical steps are presumably the removal of transactions (who needs them, anyway?) and volatile storage (RAM is fast, let's use that).

I can't wait for the day malloc appears on a page with bullet points citing all the latest buzzwords.

comment 13y ago · link · parent

Indentation, yes. Braces, no. He uses K&R style because he was the R (obviously). But nothing new is being written in K&R C these days, favouring ANSI C (99/11 or 89 if you're stuck on cl) with usually Allman/KNF style or a variation thereof instead.

comment 13y ago · link · parent

But it still exists? It even says © 1999 in the footer.

comment 13y ago · link · parent

No, that's jQuery 2.0. Also, Zepto is slower.

comment 13y ago · link · parent

Ah, that explains it. I can't submit Firefox results, though. The crappy native equivalent just locks up after throwing several "unresponsive script" warnings.

comment 13y ago · link · parent

Okay. Revision 9 adds code to remove the inserted elements, to put every test on equal footing. Is the practical equivalent yours? Because it hits a sweet spot.

comment 13y ago · link · parent

It's crappy because it's not just slow, it manages to freeze Firefox 22 on a 2,8GHz CPU.

http://jsperf.com/leebrimelow-native-methods-jquery-dom

1
141516
19