HNHacker News
TopNewBestAskShowJobs

DDR0

149 karma · joined April 20, 2012

DDR is not Dance Dance Revolution.
submissionscomments
DDR0··on Show HN: A basketball hoop to maximize shots that go in [video]
They're also not standard basketball height, so if you're used to aiming at a standard hoop—
DDR0··on Ask HN: Do I need to register a lot of redundant domains?
IMO, if you register n domains to keep someone from misusing them, whoever is out for you will will just register the n+1th domain. There's not really much point to having a higher n. Get the .com, maybe one with your country code, maybe the .io.
DDR0··on Show HN: A tiny isometric city builder in JavaScript
Oh cool! I made something similar for my website gallery[1], it was an easter egg that you could play with if you pulled the pull-cord at the bottom of the page. In the middle of the page. Scrolling is a bit broken it seems now, though, so you have to find it yourself. (I really need to revisit it, I know so much more now.)

[1] http://ddr0.github.io/gallery

DDR0··on ECMAScript proposal: String.prototype.replaceAll
Could you provide an example of what this desugars to? I'm not sure I understand.
DDR0··on macOS no longer allows changing wifi mac address
To gimp something means to severely reduce it's functionality. The photoshopped part is a joke; it doesn't mean anything.
DDR0··on Pilotwings demos act differently depending on when the cartridge was made
You're right – but I don't think "hardware" usually counts as state!
DDR0··on Our Software Dependency Problem
Dang, that's _beautiful_.
DDR0··on Sandspiel – A falling sand game built in Rust and WebGL
Try feeding them dust.
DDR0··on Ask HN: What's the best book on modern UI/UX?
Or in your local public library, which is quite free. :)
DDR0··on Ask HN: Which abandoned proprietary software would you resurrect?
You're not the only one - check out https://getwacup.com/ for a more modern version. The new offering from https://winamp.com/ is - I think - going to be mobile-focussed? A new codebase entirely?

Webamp can also do Milkdrop visualizations, which is pretty crazy - eg https://webamp.org/?butterchurnPresetUrl=https%3A%2F%2Funpkg... I had a link I've since lost to one which was a shader-skin, which mirrored milkdrop back into the rest of the UI. It was pretty trippy, and wholly unexpected!

Both projects have good Discord servers, as well. :) See https://discord.gg/XuJPJEm and https://discord.gg/248Z7QA, respectively.

DDR0··on Ask HN: Where are the good jobs in Canada?
Make your own startup or join an interesting small company. How do you do this? It is very easy.

Step 1: Go to https://vanstartupweek.ca/. It's next week. Maybe you can still volunteer and get in for free if you want. Step 2: Talk to people! It's a very business-focused crowd there, so your skills are both hard to find and in very high demand. Step 3: Pick a company. They tend to range between "nonexistent as of yet" to "small". (Note the venues, they're often looking for programmers as well.) Be friendly, personable, and make some contacts. Enjoy the food, it's good. :)

DDR0··on The Worm Ouroboros
The conclusion of the article is that the correctness of the memory model is circular, feeding upon itself, like the Ouroboros of myth.
DDR0··on Ask HN: “Expert Level” JavaScript questions?
No one ever thought it would be a good idea, Contravariant. :/ It's just an unfortunate interaction between two APIs. Map's callback gets three args, and parseInt takes two (and ignores the third). After a while, you get used to wrapping callbacks to slough off the spare variables as shown.

In this case, the index of the element (1, 2, 3) is getting passed as the radix with which to parse the element (1, 1, 1).

DDR0··on Warriorjs – An exciting game of programming and artificial intelligence
`console.log()` does nothing. `debugger` does nothing. How am I supposed to figure out why 'this.isTakingDamage' function isn't working? Just look at it real hard?

I'm not some sort of deity who can just write perfect javascript the first time around.

On a side note, running with `entr -p warriorjs --time 0.4 <<< Player.js` is quite convenient. (Run the warrior through the level on save of file.)

DDR0··on Ask HN: Clever ways to run a media-heavy website on a budget?
How about using something like Websockets to reduce outbound cost? It'll have anyone on the page viewing the media also host the media for their fellow web surfers. If I recall, there is a socket-based bittorrent library floating around somewhere - https://github.com/webtorrent might be a good start. :)

Serve the static web-page files from a decent host. Seed the 5tb of content from the cheap host.

DDR0··on The $20 Starbucks Test
How about the $5 DMV test? There's a bunch more people there, and they're all bored stiff!
DDR0··on Ask HN: What are your favorite algorithms?
Given the head of a linked list, how do you determine if it loops? eg, an l-shaped list is easy to determine - you simply process each element in the list until you find one without a subsequent element. But what if it's a 9-shaped linked list? You'll never run out of elements, so the best you could seem to do would be to store a reference to each element and check against all references to see if you've found a duplicate.

There's a way to do it in O(1) space, though.

If you start off two runners in the list, and each "step" move one twice and the other only once, if there's a loop they will eventually run into each other and be processing the same element. Simple, elegant, and nothing I'd have ever thought of. :)

DDR0··on [dead]
For those wondering; the meat of the library is:

  def call(conn, _opts) do
    rails_penalty = 500..1200 |> Enum.shuffle |> Enum.at(0)
    :timer.sleep(rails_penalty)
    conn
  end
(from https://github.com/BlakeWilliams/rails/blob/master/lib/rails...)
DDR0··on How Space Cadet pinball won the Windows desktop
Ah, here it is! https://tcrf.net/Full_Tilt!_Pinball
DDR0··on How Space Cadet pinball won the Windows desktop
There was an updated version of Space Cadet on the https://en.wikipedia.org/wiki/Marble_Drop I got as a kid. (I somehow played that before I found the standard windows version, so I might be a bit biased. ;) ) The Marble Drop version is way more polished windows version, everything 'just works' a little better. Shots line up better, graphics are better... it feels like a really solid patch. Plus, two new tables, "pirates" and "dragons"!
DDR0··on 30 second arithmetic challenge
Jeez, I got to like operation 3. That said, I am surrounded by beer cans, so... yeah, don't drink and derive.
DDR0··on Universal Constructor Based Spaceship in Conway's Life (2010)
I believe from the forum comments, and my knowledge of the simulation, that you are correct.
DDR0··on Ask HN: Show us your abandoned (and probably incomplete) side projects
Update: Both hands. This week in emails, some people bought it off of the itch.io site.
DDR0··on Ask HN: Show us your abandoned (and probably incomplete) side projects
Open Pixel Platformer: https://github.com/DDR0/open_pixel_platformer A sample game using a custom engine. However, the organizer, Hapiel iirc, got busy. I got busy and couldn't take over, but it had some nice support from the artists at Pixel Joint, and I'd be willing to continue implementation work on it. I don't feel I have the time at the moment to organize it, though. Currently, you can walk around, and ctrl-e gets you an editor.

Editabled, the editable pixel editor: https://dl.dropboxusercontent.com/u/138485812/editabled/full... (live demo) Broken on chrome, because they effed around with web workers. So I need to look at that. It's basically a JS-based rendering engine. If you look closely, you'll note the lines you draw aren't antiailiased, which lines drawn with the canvas2d API are. Fast compositing engine using typed arrays. Async rendering using Web Workers. Infinite canvas, you can scroll with the arrow keys and no matter how large it gets it never seems to slow down. ^_^ Potential, might have the time to pick it up again, but that was before I was properly employed. Very technical atm, but I might get back around to it in a bit. :/ That's about it here. There's also http://ddr0.github.io/cube%20trains/index.html, my attempt at an indie game, which is downloadable from Github. I am no marketer, so I only sold a handful of units. (ie, I can count sales on one hand) Also available on http://ddr.itch.io/cube-trains. There's more potential here, and I think it's pretty easy to extend. The game comes with an editor, so you can make and share your own maps. Sort of cute, really pushing my graphics abilities, and ended up with it's own pathing algorithm which I never did add the people for. It was scheduled for v2, but I was pretty tired of the project by then.

Eh, hardly an impressive folder compared to some of this stuff (nanopond), but oh well.

DDR0··on Show HN: Wesnoth – Free, turn-based strategy game
I think it uses the art, or at least was heavily inspired... seems to be something there, but the original programmer moved on to do this ccg instead. https://github.com/davewx7/Citadel (It's still a work in progress, though.)
DDR0··on KeePass: OpenSource Password Manager
I started using KeePassX because it was a good cross-platform way to store my passwords. I'd had a couple cases where a password had simply gone -missing- for me, so I figured it was time to put all my eggs in one basket and try to not drop that. I figured it was less of a security vulnerability than reusing the same password a bunch of times. I've currently got the kbd file up on the internet at large, in case my house burns down. I figure it'll make HN if the .kbd files are ever found to be hackable, right?

It's a sort of wishful, hopeful approach to password security, really.

DDR0··on Ask HN: Have you remapped the Caps Lock key? [Poll]
At the moment, I am surprised by how even the votes are. (~10% more remappers.)
DDR0··on Ask HN: Have you remapped the Caps Lock key? [Poll]
I find caps lock useful for both typing CAPITAL_CONSTANTS and YELLING AT PEOPLE. I have remapped other keys, such as the the menu key to compose, and I usually use the super key to trigger custom key shortcuts.

(Filed under ⌨.)

DDR0··on uTorrent tricking users into changing default browser settings?
Oh, man, this one ultimately was the last straw that broke my old XP box's back. I accidentally clicked through the set-up, and I didn't really have the sysadmin chops to fix it at that point. Whatever hitched a ride on search protect slowed that machine to a crawl. I ultimately ended up installing linux on it, but it's just not the same anymore.
DDR0··on Could we kill the icon?
What in the world are we suppose to replace it _with_, though?
← PreviousPage 2 of 3Next →