skysight-inc/HackerNews huggingface dataset:
Fair use doesn't work preemptively. It's only good when presented as a defense in a court. Even then ere are a lot of caveats and precedent that exists, so simply calling it a parody probably won't work in a court.
Dell owners should file a class action for use of defective speaker components.
Niles Eldredge and Stephen Jay Gould – "Biology Rules" (1998)
Is it me or the title seems to suggest the use of '===' considered as a bad practice ?
You don't. It's Java. It's like a kid asking you to build a car engine from scratch day one. We kindly point them to our Scratch class as a way to learn how to program.
The lack of wildcard types in C# consistently bothers me when I use it.
I live 30 miles from work, having more pedestrian and cycle friendly laws won't do one bit of good.
Oh don't get me wrong, I'm well aware you weren't claiming that people are planning to kill Armstrong. I'm just saying you're making ridiculous claims over a fairly tame paraphrase. Even from the well established metaphorical usage standpoint, this is nothing like a lynch mob. It's one guy expressing his frustrations. And he should be able to do that without you saying that the people supporting/upvoting him are like a lynch mob. Why do you think that everyone else responding to your post drawing those comparisons also thought the use of the term "lynch mob" was out of place?
A slightly more charitable view is that they are trying to actually make progress given the circumstances they have. Looking at their 'Advocacy' category, a previous post talked about closing sections of the same street to cars, but they do focus on streets (I suppose that is related to the street already being public property).
Absolutely right. We are 8-14 year olds, and the pre-teens are the most excited.
I would be interested in the amount that AOL paid compared with the amount that Medicaid would have paid for the same infant.

I would also like to know how much costs would be in France, UK, Germany, Japan.
Likely not an mp3 because most of the super high frequencies that result from digital clipping wouldn't be encoded in an mp3. Most encoders do a low pass filter as their first step (getting rid of most of the problem) and then smooth out the rest of the waveform when compressing it.

It's possible, however, to create raw PCM that will destroy a lot of consumer equipment if played long and loud enough. VLC basically gives consumers a way to do that and labels it a feature.
I am he as you are he as you are me and we are all together.
I am the eggman, they are the eggmen.
I am the walrus, goo goo g'joob goo goo g'joob.
Lennon
People are Waiting Hours to Visit a Mysterious Coffee Shop Called Dumb Starbucks
A very ambitious example of culture jamming, I'll say. I just hope it it's grassroots and not an astroturf. That'd be disappointing, although evan_'s explanation seems plausible.
>Can a price be really put on a human life?

This is the crux of the problem. You can't really.

The interesting thing is that his brother is a physician with very similar training in the UK (they both went to Trinity in Dublin). Does he get $4 million a year? Not by a long shot. Is he hurting for money? No. He has a large house and equally large family, travels all over the world and in general has a wonderful life. Granted he's never bought a yacht on a whim 6 states away, neglected the insurance and have it sink in a hurricane before he ever got it out of the marina (true story) but he is not hurting. Is he any less responsible or hardworking than his brother? Were any fewer lives saved under his care?

You can't measure these things in terms of widgets and currency.

To do so is mere rationalization as if the current state of affairs isan economic inevitability. It clearly is not.
Tim Cook Admits Apple Has Stopped Growing In North America
And all the servers? They are supposed to just keep rebooting all the time as if they were Windows desktops?
On-line actors in political theater
Tech companies dumping tons of money into the real estate market is _not_ a government generated problem.
High school boys in tech are much more likely to be misogynistic and socially inept than other high schoolers are.

No
You would likely take them into account if you happened to move.
It's still worth noting, as others have, that there's a huge assumption baked in to your estimate: that all operations are created equal when it comes to execution time.

If we're going to talk "practically" here :) things like branch prediction will ensure that nothing like 2x the execution time will be spent on just the double conditional.

Meanwhile, what you do inside that loop becomes much more important to the time estimate than the conditional (.length is a fast single property lookup, whereas just accessing a value in the array (which is presumably the purpose of this method) will often trigger a bounds check on length, then an offset into a looked-up offset into memory, etc).

So it's not really worth doing for speed. All that said, I think yours reads better anyway.
When I was learning PC gaming and interest in programming tended to go hand in hand, people wanted to program because they wanted to build games or mod games. Though I guess now it might be social media, iphone apps or something.

As a teenager I didn't exactly grow up poor but my income was restricted to what I could earn by working around my studies, so at most 12 hours a week at minimum wage which for a teenager was something like £3 an hour.

At that sort of income doing things like renting servers , iphone SDKs, decent computers etc start to look more expensive.
Why don't you just say what you mean.
You make a good case, but I would like to see the numbers. What would it cost, for example, to run power lines to these "inconvenient places"? Under present-day circumstances, might it not be cost-effective?

Anyway, I still find it disingenuous that the paper never mentioned any of these issues (I think I looked carefully, but this was years ago so who knows). I think that's essential context that had to have been omitted deliberately.
Highly speculative.
I'm just genuinely curious. And the commenters here have come through with good answers. I think some explanations like this need to end up on the project's site and GitHub page now. I think there's a lot of value in this. I think saying "Ghost is a pain to run yourself but this is easy" is all that needs to be said to answer questions like mine.
You are going to compare most of America to New York? The city with perhaps the best American public transport, and the lowest per capita car ownership? I'd rather take public transit to a stadium (barring the recent super bowl) but due to poor public transportation in some places I don't have a choice.
The solution isn't to decrease parking lots first. The solution is to improve public transportation, then you can remove the parking lots.
Most cities already have plenty of public transportation.

I thought we were talking about expanding it to sub-urban areas too, and in those places finding all those things within distance is much much harder.
The predominant gender role seems to be: men and boys are more things-focused and women and girls are more people-focused. So girls aren't willing to sacrifice social capital just to play with computers the way boys are.
I admit I am a total noob here, but couldn't you make something with a TV turned to a station with just static? I have often wondered about this but lack the 'propriate schoolin'.
>> corruptive infos
> What exactly is corruptive information?

I'd image 'grooming' a kid would match the criteria of corrupting a kid's personality. Or suicide/'special' interests sites crafted to target people lacking enough discrimination to understand how they work.
Honestly I think there are things that I don't know and don't really want to know about on the web.

In general I'd say information that is crafted in a way to bypass common safeguards and push someone to do or believe something that would usually be considered harmful and he/she doesn't agree with in principle.

> Is it okay for you to force your child to wear a wire to school?

The thing is, at school he will meet professional staff and other kids with roughly the same level of knowledge. In theory bad things could happen, but it's a very controlled environment. Actually teachers will inform parents of conflicts or marking events when it's serious enough, and kids are generally not good at lying or hiding things.

To try another analogy, letting a kid access internet without any check is similar to giving 1000$ in cash and just hoping for the best. Wonderful things can come of it, or the kid can go to a drug dealer. Personally I'd prefer to give him a credit card. If we get a phone call from VISA because of fraudulent transactions, at least we have a chance to do something for the kid.

There will be a time when just sitting down and talking to own's kid should be enough to avoid most of the very deep trouble. But until he/she matures enough to be able to have such discussions, parents need to compromise, with the two extreme of restricting the kid's freedom to such extent that he can't put him/herself in trouble, or let the kid free to do what he/she wants but keep an eye on everything's going on. I tend to err on the 'keep an eye' side until just trusting the kid becomes an option.

> Is it healthy to use the tapes to intervene in her conflicts?*

No, it's not, in any extent. As it's not healthy in general to intervene in a kid's conflicts. You'll intervene when there is a crisis and your kid will get critically hurt.

I think having a log of what a kid does online doesn't mean checking it every night word by word. I means having a place to look at when there is something going seriously wrong and you know or need to know if you have to intervene.

For everything less than that, it's business as usual, talking to your kid, just getting involve enough in his life to have a feel of how it's going and give useful advice.
High school boys in tech are much more likely to be misogynistic

That rings very false to me. It was not at all the case when I was in high school. In fact it was just the opposite, and I see no reason why that would have changed.
I feel that instead of taking the game down he could use the money that he was getting from the game and give it to charity. That way he could still live the simple life that he wanted while doing something positive as well.
That's what I think. Those are just way too much reviews, I would like to see this numbers stacked up against angry birds in its prime.
Let see what findings the cited studies in the paper has to say:

"teachers give boys greater opportunity to expand ideas and be animated than they do girls and that they reinforce boys more for general responses than they do for girls." (1994)

"teachers who are made aware of their gender-biased teaching behaviors and then provided with strategies and resources to combat bias are better able to promote gender equity in their classrooms." (2000)

All good and all, but nothing about single-sex education. Nothing about gender inequality in programming. Their conclusions are also very low hanging fruits. Is it non-obvious that educating teachers about discriminating behavior will have an effect in how they teach? It is good that they tested it, but it was not a very controversial proposition. Single-sex education is.
Almost all markets work like this it's basically the innovation diffusion model from Crossing the Chasm.
> I don't know of any widely used definition of "clipping",

But there is one. In electrical engineering, it's any process that arbitrarily limits a signal's amplitude. By far the most common meaning is a signal that exceeds the voltage range of an amplifier or signal pathway.

> nor any definition that fits the context of this discussion, that allows for a signal's peak value not to be reduced.

See above.

> It's called clipping because the extreme values look to have been clipped away, as if by scissors.

Yes, but this can result from trying to pass a signal too large for the circuit, or it can mean an intentional scheme in which a fixed signal amplitude is truncated, the meaning you're discussing.

In the present discussion, in which a volume setting is increased until the speakers are jeopardized, the meaning is clear -- it's an increase in signal amplitude that the amplifier cannot support, resulting in the waveform being clipped at the maximum available amplifier voltage.

> The parts that have been clipped away contain energy, don't they? So won't the clipped signal will carry less energy than the original?

Not if the signal amplitude is increased. In the present discussion, the problem is being caused by raising the volume level too high, which causes the signal to exceed the available amplifier voltage. My diagram shows this case:

http://i.imgur.com/oE5NFZ9.png

The red trace is the maximum volume setting that the amplifier can support without distorting the signal. The green trace is a much higher volume setting that essentially reduced the output to a square wave. In both cases, the peak voltage is the same.

> When you take a sine wave of peak value 1 and clip it, what you get is not a square wave with a peak value of 1.

That depends on how you define "clip". If you increase the size of the sinewave, clipping takes place at the maximum voltage. If you clip by reducing the possible range of voltages, the sinewave remains the same size but maximum amplitude goes down. The present discussion revolves around the first of these choices.
Woot! Ditto. :)
It would be so awesome if this is from "Nathan For You" - that show is hilarious, especially if you appreciate dry humor and have ever watched a season of The Apprentice :)
Even after the Challenger disaster people were afraid. Feynmann didn't discover the O-ring problem so much as learn about it through tip-offs from NASA insiders (something he freely acknowledged later). They'd got him onto the investigation panel because he was someone with the public stature, and of course the personality, to stick his head up and report it.
Why do some people find that braces are a deal-breaker? I couldn't care less that python doesn't have them, i.e. its not a 'feature' at all for me. I much prefer having them.
It does make sense, but of course you can expect this useless line of comment to follow you around because certain people want to make everything about politics.
That's a bad idea. You shouldn't be trusting random.org with your random data (what if they get hacked or something).
Also if it's send over http then an attacker could listen in to the random data you were being sent (either at your end or at random.org).
Ultimately I think you'd do best to use several software methods and 2 hardware methods and just xor them all together into a single secure source of random numbers.
I mean, if you're doing this as a business the small cost of this is well worth not having to deal with your random source having issues.
It seems to me that, in keeping with its long tradition of being conservative, Debian should put off switching its init system for at least another release, since systemd is by no means the clear winner from a strictly technical point of view.
While I definitely think everyone should learn C in college, I don't think it should be a first language. I'm currently teaching it in high school, and the amount of pain that goes into something as simple as managing arrays makes it extremely intimidating for students.

I would recommend a language like Python, where simple data structures like lists and dictionaries can be created on a whim, freeing up students to tackle more fun problems.
Does anybody know when TikZ/PGF were first released?
My exact point was that this is non-trivial to ensure.
Well in this case, the original author was relying on '0' == 0 for their code to work. Even if you were dead set against using strict equality (which is silly, but whatever), the code is still disingenuous and should have tested index == '0' to make its intent clear. There's no other value that they could have being relying on it to coerce without some other very nasty things going on.

> overzealous developers might accidentally break your code trying to be proactive

It's not just people changing your code, it's people trying to read your code (including you, months later).
Sure, but isn't that the point? I mean, did that stop any of the other gatekeeper models?
Install NES and SNES emulator on your phone and play the old classics, then ;)
Folks on #musl found 2 integer overflow bugs in the UTF-8 handling code within seconds of checking out the source to read it. It's not clear to me where the code is called from and what inputs reach it, but that kind of bug does not inspire confidence in the safety of the project as a whole. I also quickly found a case where a potentially-null string pointer is passed to a logging function which might or might not be able to accept null string pointers. (I suspect it uses snprintf and therefore depends on the underlying C library's handling of this usage, which is undefined behavior.)
I meant remove the Schwartz set candidates from the ballots, and then recount the ballots to find the next ranked candidate.
Thanks, that's very kind. As you say, it all hinges on every single one of their big mistakes being correctable now and avoidable in the future. Microsoft doesn't have to figure out how to be Apple or Google or what have you; it has to figure out what products they're missing and what the products they already do have has to do in the year 2014 to be relevant. That's not completely different from what they did in the year 2004, but it won't be solved by serving up what they had in 2004 either, nor by skipping to what they think is the endgame.
Thanks a lot! I'll drop you a line very soon!
There is a bigger world exist beyond being an engineer. Some of your coworkers are wonder how they can help you to move beyond that mentality.
Terence Eden was saying the same thing that this post said, which is why I was confused at the contradictory tone in this article. It's vital to a good computer science education to understand pointers at a hardware level, differences between stack and heap variables, etc. It's a tragedy that the students at Lewis and Clark looked at pointers to functions and thought voodoo, but it would also be wrong to only teach them the low level stuff, since there most certainly is enough to fill a college experience with. That being said, the only thing that seems missing at Lewis and Clark was a good introductory course. A good background on what languages are doing behind the scenes, as provided by something like C, is a part of computer science and is necessary for a thorough understanding of the subject.

It just seems like all the issues talked about were computer science issues.
Ask HN: daily emotional journal service?
I had an idea I think would be neat/fun to implement, but want to see if anything like it exists first. I was not able to find anything similar on google, but I would not be surprised if something similar existed and I am just searching for the wrong terms/keywords.

The idea is to implement a tool to help you track your daily mood. I was thinking of calling it "Good Day? Bad Day?".

You would get a daily email at a configurable time, and simply reply with "good", "bad", "neutral". You might be able to include an optional note explaining why you felt that way. You could log into your private profile on the website and see a calendar view of your past responses.

It would be very interesting to see historical trends in the data. If you felt "this was a really crappy month", then you could look back and see how often you felt that way and potentially identify patterns.

Do you know of any similar services or tools? Any suggestions about the idea? I think it would be a fun weekend project.
You've moved the goalposts. Neither ancestor comments nor the article were talking about founding a startup. But having conceded that programmers who start late are not necessarily at a disadvantage in terms of technical skill, you've changed the question to whether programmers are "fine and capable employees" or "more than that," apparently meaning success in the tech industry as a startup founder.

Younger people have advantages entrepreneurially speaking. But we shouldn't mistake that for technical skill by redefining hacking as "being a technical startup founder."
I see your point, but it's a bit of a stretch to call a style preference an anti-pattern. You even caveat it yourself in your stackoverflow response: "it's also a lot more readable (at least to me)".

Agreed on the hideousness of that 'instanceof Array' check.
And people buy rats to feed them to snakes. That isn't the point. If there was a giraffe farm that raised giraffes to be fed to lions, you wouldn't here much about it. But the worldwide giraffe population is fairly low. Its also interesting that several zoos offered to take it. I find it hard to believe that ALL the zoos that offered would have had the same inbreeding issues. If that is the case, then there is a bigger problem
As recent as 2010 we were finding major flaws in online poker security, here are a couple of videos I did of us sniffing hole cards out of the air because sites were lying about their use of SSL. They were using xOR encryption. Insane.

http://www.youtube.com/watch?v=4HBUe8Fb73Q
http://www.youtube.com/watch?v=AAQDEXJdbQc
Phineas and Ferb is awesome. I'm 22 and I watch that show.

Your frustration is justified IMO. Among the other interests I had growing up were movies like Johnny Tsunami and Brink where I wanted to get out and be a cool extreme sports athlete like the main characters in those movies. The fact that I picked the tech industry IMO shows that society doesn't always push kids to pick things up from examples, but providing the option to discover interests via same-gendered examples is imperative in my opinion. I really have no data for this other than my own personal experiences, however I did read a blog post maybe a year ago on the effects of television and career path choice which I thought was interesting.
In engineering terms, it's easier to use a reversed-biased diode as a noise source. An input circuit would transfer the diode's random waveform into a shift register as zeros and ones, until the desired word size has been assembled.

It's really quite simple, and it could produce a very high degree of randomness. It would differ from typical PRNGs in that the binary sequence could not be reproduced, no matter how much you knew about the circuit.

> I have often wondered about this but lack the 'propriate schoolin'.

That's an easily remedied problem. Remember what Mark Twain said: "I have never let my schooling interfere with my education".
It's the law of large numbers - you can't keep growing forever, and that's clearly what's happening in the US. They're still a wildly profitable company, though, and there's plenty of room for growth in emerging markets like China.
Show HN: Golang Angular Video Tutorials
This is childish bullshit and I'm disappointed that those in charge of (various aspects of) the Debian project are acting this way.

Everybody needs to grow up.
The argument is one of minimizing attack surface, not specific current attacks. I.e. it's a question of selecting the right technology security-wise and attack surface is a big part of that equation because with that surface area comes the strong likelihood that attacks will be found against the process over time.

I use systemd because that's what my distro comes with. There are positives and negatives. On the whole though, I agree with much of the criticism, and I hope that a real alternative comes along which is more security and uptime friendly.
Java's Comparator type is more general (you don't necessarily need to project the type for comparison) and an existing abstraction. It's not hard to introduce a combinator to transform the representation as a library, as in:

countries.sorted(by(x -> x.population)).limit(3).map(x -> x.name)

where `by` looks something like:

<S, T> Comparator<T> by(Projection<S, T> projection);

interface Projection<S, T> {
Comparable<S> project(T value);
}