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 11y ago · link · parent

I remember when it wasn't going to be on by default, and also when it was going to be JUST for really revolting/violent pornography. People say that you can't argue slippery slope here, but I say otherwise. The UK government has proven that the temptation to block anything they want by default and shame others into not turning off the block is too great, and I feel that this entire filtering experiment is a step or two away from a China-style firewall.

comment 11y ago · link · parent

They mention that they couldn't get 3.8Kb/s for displaying video, I wonder if they could employ a similar technique used for 8088 Domination http://trixter.oldskool.org/2014/06/19/8088-domination-post-... to cheat a whole bunch and get enough bandwidth for "full motion" video.

comment 11y ago · link · parent

I work in a game company that has paid overtime and this is exactly what's happening. Management tries very hard to not have any overtime as it's paid 1-1 into vacation time and eats directly into their budget.

Those of us working, don't really want the overtime because we'd like to go home at night and are usually brain dead by the time 7pm hits.

Really, it works for everyone involved. The company has happier, healthier, and more productive employees, and the employees get paid for all of their work. The only downside is that when doing pre-production, estimates are usually on the higher side to avoid going over the time budget.

comment 11y ago · link · parent

snprintf isn't a standard function. There's certain platforms that don't have it. I know, it happened to me on z/Linux.

comment 11y ago · link · parent

It is absolutely a solved problem, but printing hex floats into JSON or a CSV isn't going to be great when you need to re-import the data somewhere.

comment 11y ago · link · parent

That doesn't solve the lossless encoding of doubles problem.

comment 11y ago · link · parent

So what you're saying is that the tooling for Java is more advanced than the tooling for other languages. I'm not sure I see this as a negative. I did node dev for a while, it was horrible, no tools that were any good, got a memory leak? Have fun!

Had a memory leak happen in Java once, had the proper tools already, didn't have to interrupt a live server or anything, plus the tools were easy to use and well documented.

Really the problem is that when you program in Java, you need to restrain yourself. You could create another level of abstraction, or you could just solve the problem at hand and abstract it later when you find a concrete case for it. And guess what, when you get there, you've got excellent tools for it.

comment 12y ago · link · parent

If you're having trouble with that, I suggest you take a look at CompletableFuture, or ExecutorCompletionService, or any other number of methods to do this in Java. Just like node has it's own lingo, so does Java, and once you learn it, things become real simple.

comment 12y ago · link · parent

It seems incredible to me that the varnish on the wood has a bigger effect on the sound than the shape. It seems counter-intuitive at first, but the more I think about it, the more it seems that the shape of the resonance chamber at the edges doesn't really matter. Interesting takeaway!

comment 12y ago · link · parent

I worked with the people at IBM who did optimization work for Java on Power. The ridiculous amount of work they did was amazing. There's dozens upon dozens of compiler papers and presentations that are more or less power specific. It was an exciting, and stressful, thing to be a part of.

comment 12y ago · link · parent

Considering that this is already the case in D, it seems like it might be a good idea. Though who knows how much havoc this will cause in older code bases that are riddled with hacks.

comment 12y ago · link · parent

That's almost exactly how it worked at IBM. Plus there was always pressure from management to file patents.

comment 12y ago · link · parent

Disappointed it's explicitly not for download, but it's still excellent to be able to have access to all of these.

comment 12y ago · link · parent

While you're correct that the example is incorrect, technically speaking there are places where javascript does do dynamic scoping. Namely in a "with" or with "eval".

comment 12y ago · link · parent

IBM also has it's own version of this emulator, though obviously not free. I used to work on it, it was great fun.

http://www-304.ibm.com/partnerworld/wps/servlet/ContentHandl...

comment 12y ago · link · parent

Basically it's when you realize that it's just another bullshit town. (Though personally, I still love Paris.)

comment 12y ago · link · parent

How does the "measure with your iPhone" thing work? That seems to be the most error-prone part of the entire process, yet you claim very high accuracy? That would seem to imply that you can somehow get accurate measurements out of the camera?

comment 12y ago · link · parent

Ascii art is still alive and well. http://tmdc.scene.org/ I've done this compo twice and it's a ton of fun. Plus it's really easy to get started.

comment 12y ago · link · parent

The entire series of interviews on the site is very interesting. Nice to see a variety of perspectives on the demoscene.

comment 12y ago · link · parent

TYOOL = The year of our lord, he's just being overly dramatic about people using jQuery modals.

comment 12y ago · link · parent

If you do your research beforehand, and don't just follow a huge queue of tourists off a bus and into a restaurant, you'll likely have a much better experience.

comment 12y ago · link · parent

And that's almost exactly what the macro expands to. It's just some nice syntactic sugar on top.

comment 12y ago · link · parent

Many of the libraries you'd want to use are already ported or binary compatible (just need a header file) with D. Given that a fibre-based web framework has been written with it, and that it can use pointers natively, there's not a whole lot you can't do with it. Even writing bare metal code should in theory be doable with some work.

comment 12y ago · link · parent

Having used both, I'd say yes. C++11 does some wonderful things, many many improvements that were a long time coming, but D put those improvements into the core language and their standard library. This makes D much more readable and hackable than C++11. Not to mention the metaprogramming support is significantly easier to use (though not more powerful, as they're both technically turing complete).

comment 12y ago · link · parent

So it's not really the secrets of Swift's speed, it's more like not doing what made Objective-C slow.

comment 12y ago · link · parent

Guy is claiming to be a memeber of a legendary group, people are arguing for and against this. I personally couldn't tell you which side is right.

comment 12y ago · link · parent

No mention of relative memory usage though. I've been bitten by this kind of thing too many times in node in the past to not wonder about it here. Especially for such core functions.

comment 12y ago · link · parent

They said that the video was transmitted repeatedly over the course of the test.

comment 12y ago · link · parent

Wish the videos were more than just screen captures of the terminal, but regardless, this seems really nice and a good way to abstract away some of the boilerplate.

comment 12y ago · link · parent

Not to mention their error in claiming that NP problems were unsolvable.
1
789
21