Better HN
topnewbestaskshowjobs
Log inSign up

jpd

187 karma · joined Aug 22, 2008 (18y ago) · 127 submissions

Submissions

comment 9y ago · link · parent

The trick is to buy headphones with replaceable wires so you don't have to buy new headphones, just new wires.

comment 9y ago · link · parent

But was does Tejano music have to do with the internet or instagram?

comment 11y ago · link · parent

Doesn't this only encrypt the first line of input? I thought the idea was to generate a pad-file of equal length to the whole file.

    (with-open-file (input input-path)
      (with-open-file (pad pad-path)
        (setq input-buffer (%string-to-octets (read-line input) *encoding*))
        (setq pad-buffer (%string-to-octets (read-line pad) *encoding*))
Also, I'm not sure what (specifically) read-line looks for to stop reading, but if it can occur randomly you could receive errors if this first random new-line occurs before the length of the file's first line. Or at all when using the same pad for many files as you describe. This may be handled by your %octets-to-string handler though.

comment 11y ago · link · parent

You could coalesce the other courses.

  Day1: Course1
  Day2: Course2
  Day3: Course3
  Day4: Course1
  etc,...

comment 12y ago · link · parent

Besides those already mentioned, there's Dylan, which was originally S-expression based before switching to it's Wirth-style syntax.

comment 12y ago · link · parent

Not certain, but the writing style is similar to Orwell's 1984.

comment 12y ago · link · parent

The way I speak...

Pleased to meet you. I am an active sporty guy and 'I play on the soccer team'.

Also, the last variation, would be 'I play at The Soccer Team'. Landmarks are (usually) capitalized.

comment 12y ago · link · parent

I do not see how creating a doll with a more regular dimensioned body will make boys want to play with them more.

comment 13y ago · link · parent

I imagine that the names for for/list and its counterpart came from the scheme let and let*, which are parallel and sequential respectively.

comment 13y ago · link · parent

I think he may be thinking of more traditional forms of games. Soccer, Lacrosse, etc.

comment 13y ago · link · parent

I always figured that this was because a developer ran into a situation where the concept was naively applied and it ended up biting him. So, instead of staying quiet, he let people know the problems he ran into so that others don't get bitten as well and approach the problem more carefully.

comment 13y ago · link · parent

Isn't libc just a set of libraries and therefore not considered a runtime environment? C does have a small runtime environment, but I'd say it's the existence of the function call stack, as well as the on_exit system that's built into the core language.

comment 14y ago · link · parent

Instead of angled_brackets<> they should probably try to go with D's style of templates[1], which uses an operater !, to signify its use.

Also, I personally believe that camel case for type names would be a net loss; the underscore separates the words nicely, and I think it's pretty clear from the syntax what is and is not a type name (in my extremely limited experience).

[1]. http://dlang.org/templates-revisited.html

comment 14y ago · link · parent

Ah, thanks. I forgot about that.

comment 14y ago · link · parent

He needs 'lit' so dcpu_opr() can uniformly return a pointer for all results, including literal values.

comment 14y ago · link · parent

Instead of using dcpu.skip, why not just (d->pc += !res)? This way you don't have to call dcpu_step() again before getting to the next instruction and more accurately follow the way the hardware would likely work.

comment 14y ago · link · parent

You may also like Mark Twain's "On the Decay of the Art of Lying".

link: http://www.gutenberg.org/ebooks/2572

comment 14y ago · link · parent

Keeping silent is a form of a white lie. If it causes trouble, chances are it is something that must be said in order to hold on to your supposed "honesty". The reason white lies exist to keep from causing trouble. It is not a bad thing.

comment 14y ago · link · parent

Sadly, searching for "make it rain" does not produce the desired results.

comment 14y ago · link · parent

I'd argue that broken analogies are worth mentioning. They do not change the caliber of the point being made by the orginal author, but it is worthwhile to bring it to their attention so that they may fix it later.

comment 15y ago · link · parent

"Players don't finish games because they get bored...It was boring...Quests were simple and boring...It might have gotten better, but I'll never know because I got bored..."

You're kind of sending mixed messages here. You say it's not boredom, then you say you quit because you got bored... But I think I understand what you are trying to say. That people stop playing these games because they no longer expect good games, they expect inspired games. If the games just keep repeating the same thing over and over again it's going to start feeling like work.

I think a good example of the problem of repetition is the game reviews for Alice: Madness Returns, where they said the first 5 hours of the game were flawed, yet fun, and then kept going. And going. By the time they reached the end they were just sick of it. If a designer can't make a game that can hold your interest through the entire gameplay they are doing something wrong.

comment 15y ago · link · parent

Judging by the text of the hint you gave us, I believe it's trying to make you type:

   var six = numbers[2]
I am not sure where the hangup is, considering I just copy-pasted that from two parts of the hint. Have they described arrays to you yet? Perhaps the problem is that they insufficiently described what an array was and what it did? I have not tried to use the site, so I'm not sure.
12345