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

comment 7y ago · link · parent

This is an extremely common pattern in Erlang and is super useful so it's nice to see Rust embrace it.

comment 7y ago · link · parent

Oh interesting, that's definitely changed since I was writing compilers for Z. Neat!

comment 7y ago · link · parent

As of about 10 years ago they still made those reference cards. And you're right about it making more sense than the 8086 if others are interested what you want to look for is the Principle of Operations document. I could only find the one for z9[1] but z13 is the latest mainframe out and there should be some somewhere.

Another interesting thing is that while you can technically run a version of Linux on these mainframe, most of them run z/OS with Unix System Services. So it acts somewhat familiar but you're sometimes forced to boot up a 3270 terminal emulator to connect and do some non-unix things.

[1] https://www.ibm.com/support/libraryserver/download/dz9zr006....

comment 7y ago · link · parent

No, it just means your input latency will be longer than 16ms.

comment 7y ago · link · parent

This is really neat, I wonder if there's a way to keep a "remainder" around, kind of like Bresenham's algorithm, so that you can always do aligned reads from memory.

The speedup on English text is really good, and I love the exploration into the AVX intrinsics.

comment 7y ago · link · parent

I can't tell if you're being serious or not, but I actually do this. I've got a spork, a glass cup, a metal straw, and a fabric napkin that I bring with me everywhere. If I'm going somewhere I know that I'll want to bring food home I'll also bring one of my metal lunch containers.

I'm carrying a backpack anyway and this is a really small amount of things to bring around. It's a very small impact from a single person, but every few times someone will say "ooh, that's a good idea" or something like that and it makes me feel like the idea is spreading.

comment 8y ago · link · parent

Performance is nice and all but for driving on city streets it's really unnecessary. 8.2 seconds is plenty fast for modern driving and is roughly the same as a 2017 Honda Accord.

comment 8y ago · link · parent

That I honestly don't know. Everyone but one person in the compiler area had at least a Bachelor's degree, and that one person had what was essentially a 4 year diploma. I'm not familiar enough with any of the areas or the bank hiring to know for sure.

comment 8y ago · link · parent

Hi, I worked on the C/C++ compiler for zLinux, the COBOL compiler for zOS, and on the non-open-source version of Hercules.

If you've got zOS and COBOL knowledge then Toronto is the place for you. IBM develops their zOS software in Toronto (well, Markham) mostly. At least the compilers, DB2, and parts of WebSphere.

The other users are the major banks, and they're all headquartered in downtown Toronto. They're desperately looking for people with zOS and COBOL knowledge, I get plenty of recruiter emails for that despite not really having much COBOL knowledge.

Honestly, if you apply for any of those jobs with even a passing familiarity of COBOL you're pretty much guaranteed. Also, welcome to the mainframe club!

comment 8y ago · link · parent

So NDP is essentially what Commodore did with their 1541 disk drive. That disk drive had a 6502 in there to complement the 6502 in the actual VIC-20.

From what I remember, the IBM System Z mainframes also do this sort of thing and have dedicated IO processors that can decode XML on the fly for you and other fun things like that.

comment 9y ago · link · parent

I worked a compiler backend for 5 years. Despite the insane amount of testing, fuzzing, standards tests, etc that we did, there were always bugs coming in, and not always in code that looked dodgy. Sometimes an optimization interacts with another in JUST the right way to cause incorrect code to get generated.

Honestly, I'm surprised that I haven't run into more of them in the wild.

comment 9y ago · link · parent

This is so much better than I expected. I thought it was yet another person who put libcaca in front of a game but this. THIS! This is awesome!

I used to love playing on the MOO and other MUDs and this brings me right back there. Excellent!

163.

Canadian spy agency releases its top anti-malware tool as free software(boingboing.net ↗)

1 points · by CountHackulus · 9y ago · discuss

comment 9y ago · link · parent

Unless you don't live in United States, Australia, Mexico, New Zealand, South Korea.

comment 9y ago · link · parent

Opel is owned by GM (well, until March 2017). You're actually driving an American car. Assuming the 2015 and up model year it's platform sharing with the Buick Verano. The big difference here is that your engine is a diesel, and that makes a big difference in city driving when you're idling a lot.

comment 9y ago · link · parent

Here's the paper for the just before lunch claim: http://www.pnas.org/content/108/17/6889

comment 9y ago · link · parent

If memory usage matters to you, have you tried telling the JVM not to use all the memory? Have you tried any of the tuning options? Can't say I've ever used app engine, but the pure java applications I've worked on did in fact use a fair bit of memory, much like windows and OSX will aggressively use spare memory for caching. Then I use -Xmx to tell it not to use all the memory and now it's much better. For a server, I'd say that this is both expected and the correct behaviour.

comment 9y ago · link · parent

While I really do like this article and the really interesting techniques it showed me, I'm bothered by the fact that they constantly mention performance but there's not a single benchmark on that page. It's not that I don't believe that these are huge theoretical gains, it's just that I'd like to see how these perform in practice compared to other approaches.

169.

HTML5 gaming studio Big Viking raises $21.75M in funding(venturebeat.com ↗)

2 points · by CountHackulus · 10y ago · discuss

comment 10y ago · link · parent

I agree, it would be interesting to see. I'd also like to see it handle driving in both a heavy snow winter, like Calgary, and also a muddy brown snow winter, like in Ottawa. I feel like for a long time self driving cars won't be able to handle unplowed streets and will have to get the human to do anything truly difficult.

comment 10y ago · link · parent

This article makes it clear that I'm missing a lot of math background. Anyone have a good source for getting up to speed on tensors and manifolds?

comment 10y ago · link · parent

My Nokia N900 from 2009 had decent depth of field and a decent lens. It's nothing really to write home about.

173.

Atom.io Activate Power Mode(atom.io ↗)

2 points · by CountHackulus · 10y ago · discuss

comment 10y ago · link · parent

The thing I love about the eieio instruction is that it serves the same purpose on-chip as in the song. Sort of a sync point.

comment 10y ago · link · parent

Big O isn't fooling you, it's giving you a one-function explanation of how the algorithm runs on an idealized system as the size of the problem increases. There's other systems you can simulate for big O, but the math is much harder and you wouldn't generally use it unless you're doing something complex like a cache-oblivious algorithm.

If you're using solely big O to decide on an algorithm, you're fooling yourself. If performance is an issue, profile, benchmark, study, don't guess.

comment 10y ago · link · parent

That doesn't really answer the issue, or the question. How are we supposed to get in touch when things go wrong? The blog post clearly showed that support was an afterthought and not properly QA'd.

comment 10y ago · link · parent

This is especially true if you've got large smooth curves with small "sharp" curves that you want to keep a constant speed over. You can mostly just ignore it if all of your curves have a fairly constant curvature, but obviously test first.

comment 10y ago · link · parent

I did end up using Hermite curves and letting the designers and animators tune it how they wanted.

comment 10y ago · link · parent

I only really found out how easy and fast Bezier curves are recently when I was adding some smoothing pathing to a game. They're really impressively useful.

comment 10y ago · link · parent

I don't think I've gotten through a single episode without the PS4 app either crashing or the stream freezing.
1
567
21