skysight-inc/HackerNews huggingface dataset:
> If I was in the market for a product, I'd buy mine from the EFF. Simple sticker covers the camera, and supports a good group.

So the market's valid, which is good. ;) Perhaps there's a place for something less disposable?

Once OP's product becomes popular it would help EFF more in the long run, too—raising public awareness about potential privacy issues with personal tech.
>by casting an integer to a pointer type
That's implementation-defined. The opposite too except if the result can't be represented in the integer type.

>by taking an existing pointer to one type and casting it so that it becomes a pointer to an entirely different type.
It isn't that easy, but it's well-defined as long as both pointers are compatible and identically qualified.
Version control systems were developed to enable developers to quickly and efficiently find the specific change that caused a bug or other problem discovered later. Rewriting history, for example squashing numerous changes into a single commit using Git's interactive rebase, defeats this main purpose of version control.

That's not a problem of git, but the person using it. In fact, I often saw people using Subversion making jumbo commits, since Subversion makes it so hard to split changes in a working tree up in multiple commits and makes branching painful.

You mention finding bugs. I'd rather look at a history that was rewritten in 5 tidy commits than 10 commits where 5 are 'fixed indenting', 'fixed typo', or intermediate data structure changes.
React Community Round-up #21
I actually prefer Ubuntu Mono over Consolas or Inconsolata but fonts are a very subjective thing. :)
I'm actually curious if you have any sources or statistics to back this up. I'm not saying it's wrong, but I'd love to see some data on this.

I suspect you're almost surely right when it comes to the number of companies, but I'd be far more interested in seeing analysis on this broken down by volume of dollars / revenue.

For instance, most (all?) professional and even college sports, TV shows, numerous web companies, etc. -- tons of ad revenue, though perhaps relatively small number of companies, but is why I'd be curious to see data on this if you know of any?
I will likely never stop using M+ 1m, which is a somewhat unknown font. Nice and narrow. Efficient. http://www.fontsquirrel.com/fonts/M-1m
Localizing Papers, Please
Ubuntu mono always seemed a bit crowded to me, it was my default before I got my hands on Consolas. With infinality freetype it looks really beautiful too.
We can put people on the Moon and smash protons to pieces, but we can't handle apostrophes.
I'm late, but there is now a similar *nix terminal emulator: https://github.com/Swordifish90/cool-old-term
Maybe exaggerating? Martial arts vs lead pipe can be very effective. Likewise crowbar. Knife - everybody gets hurt but you can still 'win'.
The idea sounds great, but in practice, how will a software implementation compete with the malware, assuming it too gets root access? If you wanted to make a hardware based kill switch, that would be interesting.
Richard Branson: My illustrated top 10 tips for success
HN would benefit from a programming font respite.
Pretty useful to play games designed for the 8086 on a 286 or 386. Alley cat with the turbo was more like alley cat on meth.
You could have said this at almost any time in history. Does your "theory" make any useful predictions?
That's a very different crime than simple robbery. 5 years to life. May as well kill the victim.
What Founders Could Learn from Skateboarders
I think I have a good understanding of why people like Git. I question whether they should.

In my experience, the time to learn Git for people unfamiliar with it is significantly larger than for any RCS-style version control system including Subversion which is probably the most complicated RCS-style version control system. Similarly, even if you are proficient with Git, on average it takes significantly longer to use Git to do the same things as an RCS style version control system. This is true even if you use Git in a very simple way. If you use it in one of the very complex ways like the Android project/Git/Gerrit/Jenkins morass, it will take a lot longer.

This time is a real cost to a business or an open-source project or what have you. Simplicity is often faster, cheaper, and better.

I argue that it is more effective in a team project to share the actual history of the development in a shared development branch -- warts and all. Production and release candidates -- the works of art that you are trying to create -- can be tagged or identified in some other way.

Bit by Git
We USED to be able to put people on the moon. Sigh.
Proletarian effect in programming
Yeah I was thinking the same thing. Nobody actually conforms perfectly to any of those archetypes, but I think most programmers can identify with all of them to some degree.
> C is anti-GC because it hides the aspects of the machine which are needed to implement it,

Otherwise known as it hides reality. I read most of what you say as in agreement with what I am saying. Maybe some context got lost somewhere?

I never said C exposes all of what you can do machine code, or that it doesn't add some amount of abstraction that might seem odd (the article mentions integer overflow behavior), just that the particular areas of pointers and lack of GC are fundamental to how the machine works.
Yeah, but what about the UI performance.
I've got a Pebble - It's much easier for me to glance at my wrist to get the date, time, weather, or to tell who that email came from rather than fishing my phone out of my pocket - especially when driving. On the downside, it's a pretty ugly watch, but when I accidently let the battery run down I miss it.
The problem is that the underlying logic for all arguments that apply to criminalization of marijuana/psychedelics would also apply to the criminalization of alcohol, cigarettes, riding motorcycles, and so on.

So either you believe alcohol should be made illegal again etc., or you believe marijuana should be legal - but there is no logical consistency to a "middle of the road" approach.

Also the blog post you linked to has links to interesting studies, but it's a bit hard to take seriously when it holds gems of stupidity such as:

"Those 400,000 teens would lose 8 IQ points each. IQ increases your yearly earnings by about $500 per point, so these people would lose about $4,000 a year. Making very strong assumptions about salary being a measure of value to society, society would lose about $1.6 billion a year directly, plus various intangibles from potential artists and scientists losing the ability to create masterpieces and inventions, plus various really intangibles like a slightly dumber electorate."

I also heavily disagree with your premise: "There are very few policy arguments in the modern world where there is literally no rational argument on one side"

I do believe that the media and various partisans groups are very skilled at spinning stories in such a way that it seems that all sides on an issue have their good points, but in retrospect it is often obvious how barbaric and misguided certain sides of the debate were. Examples: death penalty, women's right to vote, black people's right to vote, gay right to marry, etc.

There is no doubt when I say that none of the arguments against women's right to vote, or for the death penalty, are consistent, rational, or logical in anyway. They ultimately all stem from FUD. So what current debates will be seen the same way 50 years from now? 100 years from now?
DOM Event Delegation without jQuery
Show HN: Nice Weather 2
The Video Game Graveyard – Archaeology Magazine
>banlieue = subburbs.

Yeah, but you have to explain that subburbs are not the same in France as in the U.S. Here, subburbs are generally where educated, middle-class people go to live (although that is changing in some places).

In France, the "banlieu" subburbs are what we would call the "inner-city". Speaking colloquially, the ghetto.

Big difference, and just translating "banlieu" as "subburb" does not explain this.
A Mound of Forgotten Money, and Even You May Have a Claim
Is it me, or these blog posts built on memes are a tad annoying? I can't really take the content seriously anymore.
Ask HN: JavaScript code base to read and learn from
I just discovered this amazing site http://www.readingcodegood.com/ and watched the talk, it's very inspire. She gives good examples of Ruby that is nearly ~ 100 line of code. I just want to do this exercise with JavaScript and I want to get some very good and clean JavaScript code to read and learn from. Any suggestions?

Thanks
He may also become the next MLK (I'm not sure it's doable without dying, tho).
Seriously. One solution would be removing a laptops internal microphone, and plugging in a USB mic as needed.
This is some truly amazing work. Love the option to change the built-in line spacing.

(I’m a monospace addict, and I always switch between Source Code Pro, M+ 1m, and others. What I don’t like about M+ 1m is that it’s narrow, and the line-spacing in the web font is too small.)
It should be on a timer so it stays on for n seconds after being turned off.
Actually my reflection started with using tee and pipes in bash, having a desire to sync/join on the multiple paths created by tees. Interesting job that you did.
Exercise works well for me. I do Muay Thai (AKA Thai kickboxing) which is a high-energy, high-impact, quick, always-on-your-toes sort of sport. When I spar, I find myself in a state of psychological flow and that whatever was bothering me just melts away.
I...

Is there some context I'm missing here?

It's an article taking about unidan having a bunch of alts to vote himself up. Referring to that as vote manipulation is a completely acceptable practice.

Why are you being so pedandic? You must have a reason. I refuse to believe you see this as a "Terrible trend that must be stopped". Because that would be hopelessly insane.

edit:

>Is there some context I'm missing here?

answer: YES

give me a link or something, jesus -.-
My point is the user interface, the command line interface, should be really simple, not much more than RCS's nine commands. Any necessary complexity should be hidden from the software developer so he or she can focus on developing the software and getting it working as quickly and effectively as possible.

There are many examples of simple user interfaces layered on top of very complex programs and algorithms. Media players usually have a very simple GUI with a PLAY/STOP/PAUSE buttons and a volume control. Audio/video codecs, display drivers and so forth are extraordinarily complex but ideally the end user should not need to worry about this at all.

Many of the Git GUI tools like sourcetree are an attempt to address this usability problem with the Git command line interface.

Bit by Git
>the analogous word in American media is ‘urban’

I would say the analogous word is "inner-city". "Urban" carries a limited range of socio-cultural connotations, unlike "banlieu" and "inner-city".
As an example of the problem with rumours in the press, look at the candidacy of Herman Cain. The opposition (be that his own, or on the other side) dug up a few women who had a dubious story of sexual harassment (something the US public is sensitive to) and the press gladly ran with it. Cain's campaign was shot down in literally days. From the little I followed, the accusations turned out to be baseless, but it was too late for Cain. In Singapore, the fear of rapid libel suits with proportional damage would have kept the press from publishing without verifying facts. The original article, of course, makes sure to leave just enough words in the right place to paint a very different picture ("look at how they abuse the national defense theme").
TBH on RHEL there is little motivation to use the Java installer from experience. The majority of drops I've seen use a JDK dumped somewhere for that specific app and a wrapper script to set up JAVA_HOME and PATH.
I (apparently unlike every other commenter) really love this and think it'll be a great way to showcase some of my projects.

Thanks!
Stay classy, downvoters. You know I've been a working OCaml programmer for the last 12 years, using the language most days, so I do know a bit about the pain points.
"There's all these different, sort of, approaches, which are fundamentally, obviously reflecting cultural models — cultural biases," Brunton adds. "But when they get substantiated into software, they turn into exclusionary systems."

"We are planning to cover all of Unicode and support all languages"[0]

None of the complains in this article seem valid. They appear to either complain about Unicode, or complain that Google hasn't added X language yet - and therefore Google is evil.

[0] https://code.google.com/p/noto/issues/detail?id=39
> I don't understand why people would flag this. It's clearly not spam - do people really think this is not appropriate for hackers?

It has been posted before [0], but I don't consider that to be sufficient justification.

Perhaps it has been flagged because it is appropriate for hackers, the flaggers have not furnished us with any reasoning so it is anyone's guess.

[0] https://news.ycombinator.com/item?id=7134798
Well, indo-europeans are known as civilization of peasants, I can see how we may exclude ourselves from spear chuckers.

http://www.urbandictionary.com/define.php?term=spear+chucker
Monads don't (quite) short-circuit the later computations unlike a return statement. Anyway, I'd like to see an example of writing this using monads, since it makes the idea more concrete.
Ask HN: My First Quadcopter
I'm looking at buying a quadcopter for recreational purposes, but I'm completely new to the field, so I'm not sure where to start looking. I've looked at [1], which seems to suggest getting a cheap/basic model to learn how to fly a quadcopter, before upgrading to a nicer model (with cameras, etc).

What is HN's experience with basic model quadcopters? I'm not looking for a ton of features. A camera may be nice, but I'm happy to skip it.
This is mind-bogglingly stupid.

It is 100% the point of a smartphone that its RF antennae work. If you're thinking of putting your smartphone in a Faraday cage whenever you're out in public, don't own one. Stick with the landline. It's cheaper anyway.

I guess you could argue that you still want to make outgoing calls and texts, but if people in general used these devices, there would be no point in making outgoing calls or texts because people would never receive them (except at home, where you have landlines and email anyway.)
I think that would make a nice poster to put on the wall of the office.
I don't think copying documents is a good comparison, because on the scale of FB/Twitter, the cost of transmitting status messages and photos is certainly not 0 :) You can't get around bandwidth bills by using open source software.
> as an advertiser on Twitter I'm surprised that I'm not allowed to create ads to be displayed to users in countries like India, Indonesia, Brazil, Russia, Mexico, Philippines, Vietnam, Germany, Turkey, Italy, Ukraine, Argentina, Poland, Peru, Saudi Arabia, Chile, Belgium, Greece, and all lesser populated countries.

Yet rest (or don't) assured that users in at least couple of those countries do observe promoted tweets, pinned here and there in their timelines. Apparently there is a way.
Usually most people just cave and use Windows, on which ISE works a bit better.
The death of privacy
Tcl and Python also have (multiple) bolted on OO systems that can be altered at will.
Edward Z Yang[0] is doing a GSoC project (I think) on expanding Backpack[1][2]. He's a GHC contributor, so it's relatively big.

And here's overloaded record syntax: http://www.well-typed.com/blog/84/

[0]http://ezyang.com/
[1]http://plv.mpi-sws.org/backpack/
[2]http://blog.ezyang.com/2014/07/type-classes-confluence-coher...
I haven't tried, but life is better if you don't minify on save. I assume you're using Grunt or Gulp; make a "build" task and use that for minifying. Your preprocessing time will go down, and that means getting your changes into the browser faster. Feels better than having to pause before hitting refresh, or worse, having to refresh twice.
You could try /best [1], which is just highest points overall.

[1]: https://news.ycombinator.com/best
It's not really accurate to say the US is the one doing the morphing. Before the early 19th century, both spellings of most of these words were acceptable in the UK and the US, because these words came into English both from French and from Latin. It's more accurate to say that the UK and the US, when each settled on one of the two spellings as standard, chose to settle differently.

This standardization in the US was greatly influenced by Noah Webster and his dictionary. He tended to go with the spelling variant that fit more with how the word was pronounced. His dictionary was influential enough to make those spellings dominant in the US. Those spellings then came to be seen as Americanisms in the UK (even though they had long been acceptable UK spellings...), and so the UK standardized on the other spellings.

Webster was also an advocate of spelling simplification, and was responsible for dropping the 'k' from 'musick' and 'publick', and those were picked up in the UK.

See: http://www.livescience.com/33844-british-american-word-spell...
>Preventing pervasive monitoring of cell phones is their target.

It doesn't matter what they think their target is. They're making the devices not cell phones anymore. Maybe you want to be unreachable, but I highly doubt you want everyone you call/text to also be unreachable.
Internet piracy isn't killing Hollywood, Hollywood is killing Hollywood
Straight out of school. Hour was at least a year younger than I was.
Ask HN: Things that suck?
In your life what experience, product, service is just horrible? What is frustrating? What do you wish someone did better?

Some ideas: The DMV, Internet Speeds/Connectivity, ISP Service, etc.
Duke used to do this, too. They had a warehouse and you could just walk through the obsolete equipment and find bargains. Most was beat all to hell, but we used to troll through regularly, as Mac gear was often recent vintage and underused. A buddy got a couple of NeXT cubes for pocket money. I still regret not buying the Pixar rack (literally an entire rack cabinet, the size of a kitchen fridge, filled with... something) for $700.
Sun Java is no longer available on Ubuntu from the official repository as a part of ubuntu-restricted-extra. Installing Oracle Java on any distribution would be same amount of work. Here are my notes[1] on how to install Oracle Java on Fedora 20.

I find it a little weird that you would be using a bittorrent client on an enterprise Linux solution. On Fedora, you just have to do yum install transmission-qt to install Transmission Qt version.

[1]https://github.com/donniezazen/fedora#java
Embedded debuggers (JTAG) are almost always terrible

Weeeell debugging is difficult by nature. No such thing as code stepping, all you can really do is examine waveforms.
Maybe this is the place to ask about my pet peeve - why do fonts, including specialized coding fonts, position parenthesis with both sides equally?

I mean, it seems that for readability it would be better to emphasize the fact that they're asymmetrical - when looking at "foo(bar)baz" , it would be better if the parens would be a pixel or so closer to their inner contents; but currently "foo(bar" on most fonts looks as if the paren is merging with the initial text.

The same would apply for foo[bar]baz and foo{bar}baz.
4 on 1 is not a good place to be, indeed. It's preferable to being on the ground with multiple attackers, but that's another story. Search Youtube for "krav maga multiple attackers". It's not easy, but with some training it's not difficult either.

Another good point you make - sparring is nothing like the real thing. Totally agree. You can train for that too though, and there are a number of good techniques to prepare for it. Some good book on the subject include Facing Violence by Rory Miller, and On Kiling, by Lt. Col. Dave Grossman.
It's a shame Apple didn't have someone in front of the handwriting PR debacle. The software was way better than conventional wisdom now holds.
It's called fighting malware with malware logic. I will make the program available to the HN community for free once it's released and put it to the test.
I just stole Startup Weekend and put it online
From the Internet.org website itself, comes a very timely affirmation: "The future of the world economy is a knowledge economy - the Internet, its backbone". Should this backbone be on the hands of, or at least controlled by, one single company (or cartel, or association)?
This move is a very good strategic move to access the so called "other 3 billion", and the mixture of tech companies and public services in developing countries has been proven effective (see M-Pesa, an initiative that revolutionized the financial services ecosystem in Kenya). But there are very deep philosophical implications when private companies start taking the role of government on the internet. Nowadays, many public servants do not understand the implications of this "knowledge economy" referenced on the internet.org website. Specially when it relates to the forces that lead to huge market concentrations and even de facto monopolies in these industries (see Facebook, Google, Amazon, Microsoft, ...). The irony of this specific initiative is that a company that fights for net neutrality with the EFF against the telcos tries to do the same thing, but at a different layer, in developing countries.
In reality, this raises a very important question for the future of the internet: what is the right amount of private interference on services that were previously considered public ones (identification being the most prominent of these nowadays)? Are we heading to a new Bell style monopoly, but at a global scale, nowadays? And what will be the outcome of the very important fight of internet versus infrastructure companies that is going on?
Regarding these doubts, I really and firmly believe that the most interesting phenomenons will not happen in the US, but on the most unsuspecting countries out there (again, see M-Pesa). We just have to wait and see