Better HN
topnewbestaskshowjobs
Log inSign up

CountHackulus

2,246 karma · joined Feb 1, 2010 (16y ago) · 627 submissions

HTML5 Game Dev Compiler grey beard Functional programming fan guillaumecl.ca
Submissions

301.

Using HTML5 to build Mech Force, and why we aren't looking back(bigvikinggames.com ↗)

3 points · by CountHackulus · 13y ago · discuss

comment 13y ago · link · parent

I've written part of a compiler for Power and never used the shift machine code, maybe it's just the setup I was using, but I use rlwinm[.] all the time.

comment 13y ago · link · parent

Maybe IS Null, they're just two different implementations of monads.

comment 13y ago · link · parent

Found this one in my feeds: http://www.youtube.com/watch?v=TV96zjowHhU

Kind of seems like most of the videos uploaded today have it.

305.

YouTube Introduces Tape Mode(plus.google.com ↗)

5 points · by CountHackulus · 13y ago · 3 comments

comment 13y ago · link · parent

For nearly any other assembly language, like say System 390 or PowerPC, it's a straightforward 1-1 mapping. Macros and pseudo instructions more fall into the real of text pre-processing than compiling.

comment 13y ago · link · parent

This is probably the simplest article about the subject: http://www.reedbeta.com/blog/2013/01/12/quick-and-easy-gpu-r...

comment 13y ago · link · parent

That's something the demoscene loves to do. There's a few ways to do it, but what's usually done is to have a large bitmap filled with random values that's accessed by a function of threadID and current pixel (or whatever other info you have handy). Essentially, the large bitmap acts as a precalculated PRNG.

comment 13y ago · link · parent

How am I supposed to represent multiple voices in this? Something like a 4-part fugue would be much more difficult to represent in this notation than in traditional notation.

comment 13y ago · link · parent

Went to a Tesla "dealership" today, this article is entirely true. I was horribly disappointed that I couldn't actually afford the car.

comment 13y ago · link · parent

iq is very well known in the demoscene. He's one of the greatest and most creative coders that there's ever been.

comment 13y ago · link · parent

All sensors are monochrome just with red, green, and blue filters over pixels in what's called a Bayer pattern. The only real exception to this rule that I can think of is the Foveon sensor.

comment 13y ago · link · parent

That security is going to be disabled so fast it'll make Sony's head spin. x86 is a well known processor with a ton of corner cases, legacy code, and know attacks that should make this a lot easier than the Cell, where no one really knew how to attack an IBM LPAR.

comment 13y ago · link · parent

But in this case it's not really the CFM that matters, it's also the static pressure. Especially since they're trying to make a nice sheet flow at good speed.

comment 13y ago · link · parent

Should it be illegal? They shared a public link to a spreadsheet exposed on a .gov address. If anything, it's the owner of that .gov address that needs to get in trouble for placing sensitive documents in a publicly accessible location.

comment 13y ago · link · parent

While I do agree with you that Iceland is pretty cool, the fact that pornography is illegal doesn't sit well with me. Plus Icelandair has been nothing but unhelpful to me.

comment 13y ago · link · parent

The ability to vary elasticity is indeed pretty neat, and I wonder if this will bring around a new era of "your logo on a tshirt" shops offering custom 3d-printed designer clothing.

comment 13y ago · link · parent

I'm 28 and I work in mainframes. Or rather, I write compilers for mainframes and I have to say that I disagree with the top voted post.

Mainframes have an amazing CPU architecture that is different enough from x86 to really open your mind. Ever move 2GB of memory with 1 instruction? (Well 2 really if I'm being pedantic.) It's got what's easily the industries most complicated branch predictor, and runs at well over 5Ghz. If you're interested in that, you should check out the slides from Hot Chips. Oh right, and it's got hardware transactional memory.

Now I'll readily admit that using z/OS through a 3270 terminal is quite painful, and using USS through SSH isn't much better, but thankfully mainframes now run RHEL. That's right, big iron runs linux. Yes, you'll likely have to recompile your favourite software, but you can run vim, emacs, bash, zsh, and whatever else you want, and you don't even have to deal with EBCDIC.

As for the comment that there's no development on mainframes, well that's just plain wrong. There's a ton of development, to the point where nearly every single financial transaction you make in a day goes through a Z mainframe, and nearly all major retailers use one.

You just can't beat the security and stability. Can you think of another platform where you can hot swap EVERY part? Reportedly, the Z in SystemZ stands for Zero downtime, and that includes OS upgrades and hardware upgrades.

No, you're not going to write PHP, Ruby, or node.js on a mainframe, you're going to be using C/C++, Java, or COBOL (surprisingly good language in some cases). But you're also not falling behind technologically.

This might come off as preachy, but I really do enjoy working on zLinux, it's a really nice environment, and I think that young people might actually enjoy the experience of working on something that's not x86.

319.

President Obama would choose to fight the horse-sized duck(theatlantic.com ↗)

1 points · by CountHackulus · 13y ago · discuss

comment 13y ago · link · parent

Well this should be fun to data mine.

comment 13y ago · link · parent

Not to mention that it's rotating by +-90 or 180 degrees, which is a whole lot faster than an arbitrary rotation.

comment 13y ago · link · parent

The problem is that they're using it for encryption.

comment 13y ago · link · parent

That's weird, it's a major Canadian newspaper.

comment 13y ago · link · parent

My guess here is that either the Partial Redundancy Elimination or Loop Invariant Code Motion (or some interaction between the two) in MSVC2010 needed a helping hand, but I agree with mmastrac, it's hard to know exactly what's going on without seeing the assembler.

comment 13y ago · link · parent

That's absolutely brilliant. The sorting part is fairly straightforward, but the alignment and filtering steps are pure genius.

326.

Time to toss the floss(ottawacitizen.com ↗)

45 points · by CountHackulus · 13y ago · 55 comments

327.

2012: The year Irish newspapers tried to destroy the web(mcgarrsolicitors.ie ↗)

56 points · by CountHackulus · 13y ago · 33 comments

comment 13y ago · link · parent

Pretty sure that's isomorphic to rule 17: Every win fails eventually

329.

White House releases their home brewing recipes(petitions.whitehouse.gov ↗)

1 points · by CountHackulus · 13y ago · discuss

1
101112
21