Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BonsaiDen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
BonsaiDen
11y ago
Especially under Node.js prototype modification can be a very big issue. Because once you start any third party module, all bets about knowledge and control of your environment are off. Someone, somewhere down the module chain might have me
32.
▲
by
BonsaiDen
11y ago
Negative interest rates will primarily affect big players like for example pension funds, even at -0.75% percent interest these will loose a lot of money. And buying gold is not particularly easy / cost effective when you need to conve
33.
▲
by
BonsaiDen
12y ago
Some things are hard, if you're moving to fully automated flying, you'll might just end up shifting the "training issue" to the hardware and software engineers, while removing the factor of "human intervention"
34.
▲
by
BonsaiDen
12y ago
Thing is though, making one minute of lets-play costs a lot less (time / money) than making one minute physics or crash course or you name it. Also, I probably watch hundreds of hours of youtube every month so the amount that ends up a
35.
▲
by
BonsaiDen
12y ago
Thing is though, this and stuff like "hand over the keys to that encrypted data" are really easy ways of getting just about everyone into prison. I could for example argue that you, by changing the profile picture on your blog, ha
36.
▲
by
BonsaiDen
12y ago
I can wholeheartedly agree with this. I do Web Development for a living, so I write a lot off business application backend / frontend JS code. While it's certainly fun (especially when there's no pre-built solution for some p
37.
▲
by
BonsaiDen
12y ago
What would make Apple Servers secure in this case? They most likely have the VeriSign Private Keys at their hands already. Getting an Apple Private Key for signing the binary is also just a few blackmails and a gag order away. The average A
38.
▲
by
BonsaiDen
12y ago
Focussing on the cause won't give you the side-effects (or benefits, depending on how you look at it) of installing a surveillance state / building up intelligence for economic advantages etc. If in today’s world the act of merely
39.
▲
by
BonsaiDen
12y ago
ES6 classes are nothing more than syntactic sugar for the existing prototypical inheritance model.
40.
▲
by
BonsaiDen
12y ago
There are a whole lot of things every programmer should know because they'll have a profound impact on their code no matter how far up they sit in the abstraction chain. Even things like memory alignment and cache lines can bite you re
41.
▲
by
BonsaiDen
12y ago
Vanilla JS is perfectly fine and there are a ton of people out there who are using it every day on a highly professional level. There is a huge amount of tooling these days and specially the Node.js community and ecosystem are flourishing.
42.
▲
by
BonsaiDen
12y ago
It's probably not possible at this time. The whole map is just a giant demo level which evolved (and still is) along with the gameplay and other features (like spikes and lava). I've got some rough sketches for the final world as
43.
▲
by
BonsaiDen
12y ago
There are quite a few resources you can find after searching for a bit e.g http://problemkaputt.de/pandocs.htm or http://students.washington.edu/fidelp/galp/megaguides/GameBo... (the latter o
44.
▲
by
BonsaiDen
12y ago
That's a "recent" development though :) The original title back in the day were all written in assembly, you really have to squeeze out every single byte and cycle for something like Pokemon or Kirby.
45.
▲
by
BonsaiDen
12y ago
It's a bit hard to find, but it's all there :) - http://gameboy.mongenel.com/dmg/gbspec.txt (html version http://problemkaputt.de/pandocs.htm#soundcontroller ) - http://www.otakuno
46.
▲
by
BonsaiDen
12y ago
You got me! I enjoyed Knytt so much, and it was the game that first inspired me to make the first version of Tuff way back in 2010 :) https://github.com/BonsaiDen/Tuff/commits/master
47.
▲
by
BonsaiDen
12y ago
It's known issue, I've to the exact same issue here on Linux, seems to be related with their Web Audio implementation.
48.
▲
by
BonsaiDen
12y ago
I was looking at these option initially too, but ended up going for the challenge since, both I read some not-so-good reviews and shipping the thing to germany would probably ended up being at least as expensive as buying the soldering equi
49.
▲
by
BonsaiDen
12y ago
I'm a full stack Web Developer at daytime and I'd argue that I probably do speak JavaScript more fluently than I do English. So for me it really was a no brainer. The custom conversion tools needed for the graphics / map 
50.
▲
by
BonsaiDen
12y ago
Sure! I'll start with the graphics part, since that's the easier part of the two. Since the original GameBoy has only 4 shades of gray, all "bitmaps" are 2 bits per pixel so you can squeeze a total of 4 pixels into 1 byt
51.
▲
by
BonsaiDen
12y ago
Nah' I would only be showing off if I were to put it onto a real cartrdige and GameBoy, wouldn't I? ;) - https://dl.dropboxusercontent.com/u/2332843/tuff.cartridge.j... - https://www.youtube.c
52.
▲
by
BonsaiDen
12y ago
Yes, it's all written in z80 assembly, although the GameBoy CPU really uses a mix of i8080 and z80 instructions, the mnemonics are all z80. I've also written my own assembler just recently, to have more control over the output and
53.
▲
by
BonsaiDen
12y ago
It's a 16x16 screen world which wraps around, if you move to the left or right you should eventually land on a non-empty screen. The "world" is anything but finished, to be honest, it's more of a debug / feature tes
54.
▲
by
BonsaiDen
12y ago
You can do a wall jump or a double jump, at the moment all powerups are enable from the start since I'm missing out on the animation for collecting them an all other sorts of things. I tend to deviate from the gameplay aspects of progr
55.
▲
Show HN: I'm building a game for the Nintendo GameBoy
(bonsaiden.github.io)
260 points
by
BonsaiDen
12y ago
|
102 comments
56.
▲
by
BonsaiDen
12y ago
In general there are two types of JS code bases you'll encounter, the ones for the Browser which end up putting everything into a single file and the ones for Node.js, which (in most cases) organize their code in the usual directory &#
57.
▲
by
BonsaiDen
12y ago
I wouldn't necessarily say that you immediately know whether you're in danger or not. There's no clear statement on how exactly they will "restructure" the company within the next year, this makes it incredible hard
58.
▲
by
BonsaiDen
12y ago
At least for me - a native German speaker with English as a self taught second language - I find that the `y` in bay actually makes it easier to figure out the correct pronunciation. Since `a` is pronounced as `ah` in German, just having `b
59.
▲
by
BonsaiDen
12y ago
Here's another Version: http://selmiak.bplaced.net/games/ps2/index.php?lang=eng&game...
60.
▲
by
BonsaiDen
12y ago
Prepending a ! results in the parser picking up the line as a expression instead of a statement. function foo(){}; // statement var a = function() {}; // the right side of the = is a expression, a function keyw
More ›