Better HN
topnewbestaskshowjobs
Log inSign up

dmgd

26 karma · joined Jan 15, 2010 (16y ago) · 14 submissions

Submissions

comment 10y ago · link · parent

I agree completely with what you say. I don't understand what relevance it has to my comment.

sdees requires a file server, specifically it prompts the user for one and saves it to ~/.config/sdees/config.json, therefore it is not serverless.

comment 10y ago · link · parent

Even the author doesn't believe it's really serverless: https://github.com/schollz/sdees/search?q=server

comment 10y ago · link · parent

Reading the code of others is no substitute for writing code yourself.

It's very easy when looking at the solution to a problem to say "I would've thought of that" and maybe you're right. But maybe not.

Having real experience of the consequences of your decisions, keeping skin in the game, is also important. Maybe not for every single decision, but a representative sample.

comment 10y ago · link · parent

http://lmgtfy.com/?q=Wage+slave

comment 10y ago · link · parent

you mean value types rather than primitives right? (Strings are objects)

It would be saner if everything was non null by default. There'd be no need for a ! then and no ambiguity for beginners around whether something is nullable or not. No downside for non-beginners either unless they're in the habit of using more nullable parameters/vars than non-nullable, which doesn't seem like a particularly good idea...

comment 10y ago · link · parent

I would like you to show me the "sarcasm" molecule

comment 12y ago · link · parent

> I don't have suggestions for dealing with it.

How about: 1. Keep companies small. 2. Ensure top level management has skin in the game (e.g. partnership).

comment 12y ago · link · parent

I was there for a few days at the beginning of July and they had those warnings then too (plus a body heat scanner, which was a little bit disconcerting because I was very warm at that point!!)

comment 13y ago · link · parent

with 1) it seems like what you're saying is that given a closed system, you cannot accurately observe and record the whole state of that system within the system itself.

This feels right on the surface, but is it actually true? A quine contains a complete record of itself. That's an extreme case to be sure, but it does seem to provide at least one counterexample . . . (of a system that contains itself, not necessarily a system that actually observes and records itself)

A recording of a system does not need to contain everything in order for that recording to by played back, as long as the replay system is deterministic -- you just need to record the random inputs. E.g. see the way they do it in video games [http://www.gamedev.net/topic/439336-replay-system/]

I'm not saying that it is possible, just it shouldn't be dismissed out of hand just because it feels like it should be impossible.

comment 13y ago · link · parent

why would you need to re-read every line if you are looking at methods that have a single responsibility and that responsibility is clearly communicated through the name? (and parameter types/name, return types/names, in languages where some of those things are available)

comment 13y ago · link · parent

both manners and the concept of "volume" seem to have escaped you.

using figured from ohwp's response above:

  iPad    : 6186 cm3
  iPad 2  : 3944 cm3 = saving of 2242cm3
  iPad 3  : 4213 cm3
  iPad 4  : 4213 cm3
  iPad Air: 3060 cm3 = saving of 884cm3 (vs smallest other iPad, the iPad 2)

comment 13y ago · link · parent

What are those "obvious" reasons?

The only reason I've ever had for knowing who wrote code is if the code+comments+tests do not adequately explain what's going on and I need to know. On most of those occasions the person who wrote the original code had already left the organisation.

comment 13y ago · link · parent

"Not only am I unintimidated by litigation" doesn't make sense on its own, so I personally wouldn't use a semicolon here

comment 16y ago · link · parent

You're 100% correct, but quite often I find that Wikipedia offers a broader view of what something is than the official website's description.