skysight-inc/HackerNews huggingface dataset:
It depends on the type of video game. Maybe Carmack's view of industry is stuck in the old 100% focus paradigm, whereas video games of the future will be more casual, more mobile and more interlinked. In such an environment, issues such as strict resource consumption governance and power management can become critically important. Linux features such as control groups can be ideal for facilitating real solutions here. Maybe Carmack is too low level to see the big picture.
1) That is pretty far from downtown and 2) that's a horrible area. There are many areas close to downtown Oakland which are nicer. Lake Merrit. Rockridge. Just to name two.
I was looking into using google for my next project just out of spite towards amazon. I've used aws only in the past so figured getting familiar with a competitor and giving them some business does some good for the world.
This sort of sarcastic sniping is one thing we really don't want on Hacker News. We don't ban people for it, but it should be downvoted.

I don't mean to pick on vermooten here; lots of HNers post comments like this. Please don't post comments like this. Re-read what you post and, if it contains sarcastic sniping, edit it out.

I'll be pointing out examples of what's good and what's bad on HN, in the hope that the feedback will be helpful to the community. When I do that, I hope everyone understands that it's never personal, only about the content and only for trying to make HN better.
It's not a strawman: most people who use inheritance directly access properties defined in a superclass. It's a really, really common problem: in fact, most programmers, and most books, don't consider it a problem at all -- they just consider it "using inheritance."

What is happening here is that you are redefining "inheritance" in a new, more restricted way that is not in line with common usage, and then saying "But real inheritance doesn't have these problems...."
It's surprisingly hard to displace companies with significant network effects even if they have no technology to speak of, pay little attention to the market or users, or really do anything else except exist with a large market share. See: eBay, Craigslist. Closer to AirBnB's niche (since I see AirBnB as essentially "Couchsurfing for money"), Couchsurfing has also persisted despite taking the initial community organization private, which resulted in much of its initial active community leaving, and not really improving the site much since then... because it's Couchsurfing, the site identified with a verb that refers to a particular kind of travel. (Large parts of the initial community founded BeWelcome, fwiw, which is a less-successful fork, though it has moderate traction.)

It's possible to lose a big lead (see: MySpace), but a company that is popularly identified with a particular niche can coast for a really long time without doing much to deserve it.
> “Of course a child is not allowed to kill another child,” Mr. McLachlan said. “One of the rules I said facetiously is kids aren’t allowed to hurt other people. But in fact they are. … If you hurt somebody in a game where you are playing hard, or a boxing match or a stone-throwing competition, for me it’s absolutely fine — as long as the other person was willing to get hurt.”

This is a very interesting article but is the administrator being serious when he talked about boxing matches? My American English parses that to mean throwing punches actual physical contact between fists and the body. Surely that is a bad idea?
I believe he was talking about possessions. You don't own humans.
Oculus VR's John Carmack sees bright future in Facebook deal
But a competitor would have to add something else on top of it to get over the existing brand awareness of AirBnB. Everyone knows AirBnB and it's hard to shake up the incumbents without something innovative.
I can't see how the the same thing won't happen though - one kid suffers some form of awful permanent damage (or death) and then the rules and safer equipment come back.

It seems like the wager the west has generally accepted is that we aren't willing to accept the the gains from 'risky' play compared with the small chance of tragedy.
I'm very strongly anti-pirate and very strongly anti-dropboox snooping. It's quite possible to be both.
If clojure is only a little bit better than ruby, is there a language you think is a lot better?
I'm from Australia as well. I lived in Canada for a while and we use to joke that when there was snow there'd be signs saying you can't play in the snow.
You have a terminal case of Dunning-Kruger.

http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
Yes to both, save for the limitations these parties themselves agree to. That is, after all, what the 4th amendment is: a limitation on the United States' sovereign rights.
SDP is a session description protocol, not an addressing protocol. WebRTC will be able to use IPv6 addressing in future, too, and supporting IPv4 where possible means it's practical to use now as well.
I think your fair use argument is reasonable. Interestingly fair use for sheet music (as one example) in an educational context is far more limited than you might think [1]. There are a number of limited exceptions for sharing copyrighted materials with a student but all of them would involve transforming the sheet music by only sharing part of it. In this scenario this would change the hash of the file and the file blacklist wouldn't pick it up.

[1] http://copyright.lib.utexas.edu/musguid.html
You're right, storing keys would completely defeat the purpose. We don't do it. Master keys are generated from a user's login information, which we have no knowledge of.

Right now if you forget your login/password your account is lost unrecoverably. We have a feature slated that would let you download a file version of your account key, meaning if you lost your username or password, you could log in with the special key file and reset your info. Obviously, you'd have to keep the file encrypted/safe, but that's the user's responsibility ultimately.
Searchable Real-time World Tweetmap (best on desktop; Twitter 1.1 api)
With respect, I think it's likely that you don't understand the threat model here and are making dangerous promises of security that you can't keep.

If the NSA shows up and demands that you help them access a user's data and not tell anyone about it, they won't merely be asking for a copy of your hard disk. They could ask that you modify your javascript (since you're a webapp, presumably you're doing client-side cryptography in JS, which is a terrible idea but let's ignore that for now) to send the user's key to you, or otherwise transfer cleartext back to you.

I don't mean to be harsh, but I think it would be better not to release anything at all than to release a product that can't live up to its privacy promises. If you really want to innovate in this field, please do it with open source code and peer review from expert cryptographers.
I agree with you that there are cases in which Dropbox might pick up false positives. I think the DMCA should be updated with harsher penalties for improper takedown requests ("copyfraud"). Still, the policy Dropbox has seems pretty reasonable. And you can always choose to encrypt your files locally or even not use Dropbox. After all, it's a company competing in a relatively free market. But I think for most people Dropbox is a pretty good choice and this takedown policy shouldn't be a reason for them to stop using it.
A statically typed language enforces an interface, but an interface is just a concept. All it does is ask: does this object respond to the following methods? You and your team can ask that question, or the type checker can.
Tip if you feel like you have to maintain a lot of infrastructure with your TURN server: You can scrap your STUN server, since TURN is an extension of STUN. The TURN server will produce the same server reflex candidate as your STUN server.

What port(s) were you using on your TURN server endpoint? Keep in mind that port 80 is often filtered, and many corporate networks often block non-HTTP(S) ports. At the WebRTC-utilizing service https://appear.in, we have found that using port 443 plays nicely with most restrictive networks.
That's possible, although it's less likely because if the X11 fork won, then there's a chance the project would lose the original Litecoin developers.

That would be very disruptive, and would probably pull the price down, and that is a risk which may deter some people from using the X11 fork.
UDP hole punching does not work with all types of NAT, e.g. symmetric NAT where a user can appear from the outside to be coming from multiple different IP addresses. (This makes the STUN server useless for telling the other peer where to connect.) Symmetric NAT is common in corporate networks, which I suppose is not the first place you'd find gamers (or you could just run LAN games with co-workers). I guess WebRTC is the first place you'd run in to networking problems with NAT outside of gaming, torrents and bitcoin - and is perhaps the first developer-accessible peer-to-peer tech which is obviously useful in the workplace.
Yup. You should change that.
We had boxing matches in High School.
The point I was making is that "Give me money for pizza" is not a lawful order and you're within your rights to refuse it. You can not be found guilty of refusing a lawful order if you did not give him the money.

The same is true for things like photography. It's been established that on duty officers have no expectation of privacy, and you have the right to watch and record them. If a police officer demands that you erase photos from your camera, you are under absolutely no obligation to comply with that order.

https://www.aclu.org/free-speech/know-your-rights-photograph...
Here's one of my favorite new startups in uptown Oakland http://spotlabs.com
I'd take a NullPointerException over a memory (edit: space) leak any day of the week; the former is instantly resolved, the latter, ?.

Anyway, in Java 8 they've started taking steps to address the null problem with the new Optional type, and, FWIW, in Scala nulls are a more or less a non-issue when you use the FP side of the language.
Is Facebook Too Big to Care?
You are your own worst enemy
well, i guess ... having a second thought about it, clojure is very different from ruby, being a lisp

i am sure most of the ideas in clojure wont be alien to most rubyist ... but still its a fairly large departure from ruby

a language that is only one or few steps above ruby, will have to use closer syntax ... be more or less focused on OO rather than functional programming
Who says I would be reading it? I will just compare all that content with my hash checker, and delete all illegal stuff. Do not worry I use ultra strong 8 bit hash :-)

It is user who has to deal with blocking, false positives and other negative externalities of this. Copyright holders are just passing on their costs to entire society.
They only add their preface if the text is greater or equal to 185 characters, it seems.
The problem in the west is law suits. If New Zeland judges throw out any attempts from parents suing the schools, the fun times can continue.

All these rules didn't exist when I was a kid in the '80s... http://thestir.cafemom.com/big_kid/165499/21_things_80s_kids...
In my own experience, I've noticed when I tell others my plans I feel pressured to deliver to them. If I don't tell anyone, nobody knows and nobody can copy it.
Are you strongly against dropbox hashing files you have shared and comparing them against a known blacklist?
The singular "perfect" language would have to have pluggable syntax - so that anyone can have their perfect syntax as long as it generates the same parse tree.

At the same time, its type system will be pluggable too, so that people can keep improving the type system (dependent types, dynamic types, etc.) without changing the language.

Oh yeah, and of course its code generation/execution model will be pluggable as well. Do you want to interpret it? Sure! Do you want to compile it so it performs better on your target computers? No problem! Compile it to JavaScript? Why not?

In that way everyone can be programming in the same language that's flexible enough for everyone's use, but at the same time can contain DSLs. Pluggable syntax/custom type checking means you can embed SQL code and make sure it's valid before running it. It also means SQL could be a custom SQLStatement data type with its own semantics.

In short, only a language that allows every type of programming can be the "one true language"
This reminds me of a design question I recently faced when building a simple multi-player game. The idea was pretty standard; The server sent events (player dies, player moves to pos, etc.) to its clients over a TCP socket. When programming the client in Java (for Android) I wanted a clean way to update the world based on the event type. In Haskell I would have done something like

data Event = PlayerDied Player Reason | PlayerMove Player Coords | ...

and use pattern matching on the event type. In C I would have used a combination of unions and structs with an event type. But how to do that in Java? I ended up with

interface Event {
public update(Game g);
}

and used e.g.

class DeathEvent implements Event {

DeathEvent(String player, String reason) { ... }

update(Game g) {
g.killPlayer(player, reason);
}

}

Combined with a parsing function (public Event parse(String line) {...}) I could read from the socket and update the game in a convenient way, but to be fair I used that mostly because Java guys discourage you to use instanceof although it seemed clearer.

So is this the preferred way to do something like this? I think "they" (the OOP warriors) call this the Visitor pattern. However I really find the data-type encapsulation in Haskell and other languages (in Python a tuple (type, object) would do) superior. But maybe my Java just got rusty.
When you can't read all the data.

~(From a math professor I worked with)
You also say you're schizophrenic in your profile. So, it's hard to compare your workflow to those who don't have schizophrenia.
Any permanent injuries? This stuff is quite dangerous unless performed with disciplined caution.

I would not want to observe kids boxing (ouside a boxing sports club). Hit the throat. Bad day.
Long term sustainable value creation doesn't happen by treating everything as a game to be won.
Thanks for the heads up, this does look like it will help a lot! (Assuming IPv6 reaches most people eventually)
Ask HN: Good books on economic history?
It makes sense that Dropbox wants to avoid the popularity that would come from being an easy way to distribute unauthorized content.

However, takedown notices have been abused on YouTube to censor criticism, and dishonestly claim ownership. The problem could be even worse if what it covered wasn't limited to when links are posted publicly, but also covered shares between family members, colleagues, and friends.

While distributing backups from your DVD collection to a colleague may not make sense, and that isn't much better than posting public links, qwerta has a point when it comes to the potential for someone unethical to abuse the system.

I appreciate the challenges Dropbox faces with respect to copyright, and that it is easier to focus on making a viable business if a broad policy wastes less of their time on the issue. However, it's also a complicated when you've given a service read/write access to your hard drive—not necessarily because its reasonable to assume that Dropbox would take a legal risk like proactively deleting content on your computer, but because it's almost an unreasonable amount of trust you're granting them in the first place.

Anyway, maybe you meant, "Not all of your arguments apply to shared files."
Except that interface are not supposed to have behaviors.

Shape can lay itself out with regards to its enclosing rectangle for example.

From my experience, using IS-A only works on simple concepts, and almost never on more than 2 layers. But it's still useful.

I suppose that if languages had the same "automatic function redirection" to sub-components, such as Golang, then people would use composition a lot more, though. That's actually the thing that seduces me the most about this language.
If you don't want someone looking at your data then you probably shouldn't store it on their servers. Especially when the contract you entered with that person says they they can snoop the data.

You could try negotiating a contract that says you can store your data on their servers but they aren't allowed to look at that data under any circumstances ever.

There are a variety of Dropbox competitors that focus on letting you run the server so you can control the data. If data privacy is of maximum concern, and that is a legitimate thing to be concerned about, then I'd recommend one of those options.
Admire your chops for doing this. But what do you honestly want to do with it? From a professional POV, I think this may be a good tool for a mood reel. But, even still, client will usually still want precision with that.

I would never use this professionally for any of the descriptors you - aside from a wedding video. Your logic entirely negates storytelling - which is why people are saying the example you've posted is so unwatchable. I'm not hating here - just trying to give you a solid critique.

That leaves, in my mind, the casual user not really well versed in video literacy. I'm talking your mom'n'pops and road trip bros who have a bunch of Iphone/DSLR footage they want to throw down on a timeline.

As someone else said, I think there's a fair few apps out there like this. How is yours going to be different? I think the motion graphics is a nice add.
Hmm, that was pretty one-sided.

The author fails to acknowledge any of the good consequences of typescript. Adding static typing, classes, modules, enums, shorter anonymous method syntax, default arguments, etc. etc. make a world of difference for writing clean, structured code that is rid of a whole class of bugs at compile time. It's simpler to read, easier to write, and more likely to be correct in typescript. And the intellisense in Visual Studio is phenomenal. Contrary to what he says, I think typescript does tackle head on the biggest problems of javascript and makes massive improvements.

Regarding type definitions, I've never had problems getting correct type definitions for all the libraries I use, and it's also always possible to just not use type definitions as a backup. He forgets to mention how great it is to be able to use any javascript library straight up (unlike most compile-to-javascript languages) -- and that in 99% of the cases there are existing type definitions which add on static types to regular javascript.

That's right, in perhaps one of the most brilliant features, typescript lets you add types after the fact to any javascript library, and it works well. Thus, IMHO, most javascript libraries are actually better in typescript!

Though typescript doesn't fix every problem (like the mechanics of what "this" refers to, although it helps here too), you almost don't want it to fix these, because only this way can you use regular javascript and its vast libraries so simply.

Typescript has always been a sort of compromise between making a better statically typed language and retaining a javascript core for compatibility, but this balance is executed so well that you just about have the best of both worlds.
Probably, but it's pretty damn convenient. To be fair, I still use 1Password for "critical" passwords (e.g., my personal email address, my credit cards, my bank accounts, etc). But yeah, security is a concern...
While I admire both Pike and Graham, I've never liked the use of zingers to articulate a programming point. Invariably, programming involves trade-offs, acceptance of limitations in one dimension to gain benefits in another. So, zinging the limitations is easy to do and doesn't advance understanding.
Where there's less risk of being sued, the outcome of that wager is likely to be different.

Here in New Zealand, you can't sue for personal injury, each school sets its own rules via a parent-controlled school Board and parents have quite a bit of discretion about where their kids go to school. If a school has deficient processes when injuries occur, parents will walk.
not tryin to hate; I wish we had that shit in Atlanta
I guess I just don't think it's a serious issue. I've found that often when I have an "issue" it's more so my design lacking not the tool (javascript) itself.
My blog is backed by github and jekyll.
Optimizing memory usage of scikit-learn models using succinct Tries
Yes, it's wrong. If the creators wanted people to share their work for free, they could allow it. Furthermore, it's their server, they can forbid it if they want, even if it was legal.
FYI: /etc/passwd is world readable. You get get the same info with the command:

getent passwd

Reading /etc/shadow is a real problem, /etc/passwd is really not a huge issue.
You want gang controlled, high-crime areas? I'm sure Atlanta already has them.
One of the things I admire most about PG is that everything he creates seem like extensions of his mind. He, more than anyone else I've ever met, seems to take life as a genuine exploration: not just of the world, but of himself.

It's kind of sad to see him "sign of" HN and YC so quickly and without fuss. Part of me wants a grander send-off, with commemorations, "look backs", speeches etc. He certainly would deserve this, though I doubt he'd want it.

But it's not really that sad, because each act of his life's play has been greater than the last. Having been so inspired by what he's done so far, I can only imagine what comes next.

Thanks PG for Hacker News and Y-combinator .. both have changed the world for the better. Also, thanks for handing them off to such awesome hackers, who will certainly carry them on and up.
Yeah, that the penguins and bats example would be a problem for class hierarchies is totally silly. Those were the exact examples that were originally used to teach me about class hierarchies; you can _override_ stuff like that in subclasses. That was the entire point.
While it might not be the answer, it has been a very good answer for me. Recently I worked on an Angular project that had a pretty complex data model, and converting the model to CS made the code much more readable. The rest of the app was still in JS, minus a ./models directory which was CS. The other devs found the code very readable also.

I am biased towards Python and Ruby. I think that they are nice looking languages.

Different tools for different jobs. Next time I am on a JS project and I want to model data, I will probably use CS again.
Your example sounds like something more in the realm of taxes, but I get where you're going.
What costs? That you can't share pirated movies over dropbox? Big deal.

Funny speaking about externalities on copyright. The entire purpose is to get rid of externalities.
Yeah, go and tell Elon Musk or Steve Jobs to raise SpaceX, Tesla, Apple and so on with this "4 hour week"...