skysight-inc/HackerNews huggingface dataset:
Here's what I learned in history class:
* Civil Rights Movement
* Jim Crow Laws
* Trail of Tears
* Vietnam War
* LA Riots / Rodney King
* Great Depression
* Chicago Fire
* WWII Internment Camps / War Propaganda
* Bay of Pigs in Cuba
* Other failed Coups in South America
* Sherman's March to the Sea
* "The Jungle" (disgusting food)
* Child Labor
* Growth of Monopolies
* Haymarket massacre

What the were YOU doing in school? Mine was mostly a public education, so... plenty of "US mistakes" taught throughout US history from my perspective. Plenty of good and bad in history.

Middle School was mostly basic stuff, borderline propaganda from my memory. (But LA Riots were in fact covered in Middle School, perhaps because they were more "current events" rather than "history" at that point in time). But High School was filled with "TRUTH", in depth analysis and so forth. It was quite eye opening from my perspective. My High School US History class didn't cover "modern US History" however, and stopped in the late 50s. "Modern US History" was an elective at my high school... so my knowledge past the 50s becomes a bit incomplete.

The school cop even ensured a visit to many classes, to describe the rights of citizens in the state. Along the lines of: "In this state, you have the right to know a Cop's identity. If he refuses, take down the number on his car. Here's the police number where you can complain about this stuff". Very specific advice on how to cooperate, and if necessary, complain, about cops.

I know this was unusual and probably specific to the school cop who was assigned to my school. He was African American "and proud of it", to describe his attitude. (may have contributed to his emphasis on teaching citizens rights).
> explains that leaving out overloading is "simpler", meaning _simpler for them_.

This also means your program code is simpler, and therefore, faster.

Function overloading usually means virtual method tables, and therefore indirect method calls. Depending on how deep your inheritance / overloading structure is, these vtables can get really messy.

(I had a class in university where we were given a C++ UML class diagram, and told to draw the vtables that resulted when one instance of a subclass was instantiated.)
New poster here, but someone needs to say this. Tor is amazing and great, but if you don't think the US/NSA don't know how to run their own Tor hops and cache the very same traffic that you think is on "anonymous" servers. . . then you have a more serious problem of understanding how this works. It's easy to run Tor servers. Even easier when you have an NSA budget. Also, ask yourself why wouldn't they be running thousands to tens of thousands of them knowing that most of that traffic is "suspicious".

Be safe. Not ignorant.
Because I didn't have an account (having previously nothing to contribute).
This is really cool, and also kind of sad. It shows me who I've grown close with in recent times, but it also shows who I've lost to distance and changing circumstances. :'( I guess that's just life but it's poignant to see it so starkly lit in colored globes and slopes of graphs.
You're right. You're not very familiar with Python. String slicing with numbered indices is used all the time. And you can slice more than just strings! It's one of the coolest features of Python and you're really missing out if your favorite language doesn't have that.

This might explain why my comments seem like heresy to you. I would point out that the OP is about Python programmers switching to Go.
US Emergency Alert System private SSH key mistakenly distributed
Purely mathematically, you cannot assert that a certain value will appear in a certain timeframe - it's random!
Not sure it will help, but the local universities/colleges that have good programming departments might have faculty who could steer you in the right direction?
While not a court case deciding the matter, as of 2008 the Harvard Law Review considered the FISC to be an article III court as well: http://harvardlawreview.org/media/pdf/shifting_the_FISA_para... (page 2).
First, this is a great article showing the bias in Cryptocat's very awkward PRNG code.

However, the off-by-one bias was actually the least of the problems with Cryptocat's random numbers...

From reading Steve's write-up, the problem was that their keys were ridiculous undersized, because they called their own function wrong:

May 7, 2012 (switched from DH to ECC):

myPrivateKey = Cryptocat.randomString(32, 0, 0, 1);

April 19, 2013:

rand = Cryptocat.randomString(32, 0, 0, 1);
myPrivateKey = BigInt.str2bigInt(rand, 10);

June 3, 2013:

rand = Cryptocat.randomString(64, 0, 0, 1, 0);
myPrivateKey = BigInt.str2bigInt(rand, 16);

> The bug that lasted 347 days was the confusion between a string and an array of integers. This made the ECC private keys ridiculously small because they passed a string of decimal digits into a function expecting an array of 17, 15 bit integers. Each character was considered an element in the array. So each of those "15 bit integers" were only the values 0 to 9 (3.32 bits). Also the least significant 3 bits are zeroed giving you a key space of 2*10^16 (2^54.15). -- http://tobtu.com/decryptocat.php

See for yourself here: https://github.com/cryptocat/cryptocat/commit/a17bb1599463e0...

Even now looking at this code, for me it just doesn't pass the 'WTFs per minute' test... It still looks fucking wrong to me... Cryptocat.randomString(64, 0, 0, 1, 0) returns a 64 character string of 0-9, why are they calling str2bigInt with a hex radix? Did they add the last '0' in the wrong place? Or maybe I'm looking at the wrong check in...

EDIT: Ok, it WAS still wrong as of June 4th... It wasn't until July 4th until it finally became:

var rand = Cryptocat.randomString(64, 0, 0, 0, 1)

See: https://github.com/cryptocat/cryptocat/commit/8fb7f4b8e59c76...

EDIT EDIT: So just to be clear... v2.1.11 which was supposed to fix this problem has this 'incorrect radix' bug in it? Please tell me I'm wrong, or do we need another CVE and another release?
I think we should have the right to prevent Facebook-like companies from aggregating our friends' data about ourselves, that's the only problem I have with Glass. Ideally we'd be able to force a company to delete any recognisable image of ourselves that we haven't signed a release for. Especially when your friends and neighbours are going to screw up privacy settings (by Facebook's design) and share it with at least everyone they know.
I think that's because the brightness on your monitor is very high. I keep the brightness knocked down since most sites use a lot of white, and I don't like reading off lightbulbs. This blog actually looks nice when I crank the brightness up, but then a site like HN (which is a typical website) looks terrible.
What exactly is the difference between a "shilling" and a "dollar"?
The Digital Royalty Fight: A Primer for Business Journalists. Part 1.
What caused the "urban revitalization"? Was it just that people who hadn't been around during the 1968-~1980 urban hell were finally in a position to be buying their first homes?
It may not be broken but it definitely has been co-opted.
I'm not sure this trend of IT's typography encoding making the introduction of new symbols difficult needs encouraging.
This is not Google, it is your phone company. You are describing a common practice and it does not matter if the phone OS is Google, Apple or MS.

If you don't want to jump through hoops to root your phone, you can pay full price for it.
>My default assumption is that anything I can't see the source code of and compile myself is compromised.

Did you also write and compile the compiler that compiled your compiler?
Yea a little brother future won't change these cases for most people. If everything is recorded you won't have to say anything to the police, you'll be arrested anyway.
I learned about the covert wars in South America. I also learned about the establishment of Israel after WWII, and how US / Allied Forces were involved in that, the Palestinian perspective, the 6-day war and the establishment of Israel as a dominant military power.

The only major stuff I think I missed out on was the history of US involvement in Iran (of which I later learned in College history classes). But global covert actions (and not-so-covert: ie Vietnam War) during the Cold War era was definitely taught to me in general. High School History may have missed a few countries, but I hardly think it was propaganda from my perspective at least.

-----------------

The closest thing to "propaganda" I can think of was the Civil War saga frankly. Abraham Lincoln is considered an extreme hero up here in the North, who prevented our country from falling apart. Later in college, I learned that Southerners have a different perspective... even today. Extremely interesting to me.

Also, a friend of mine from Hawaii told me the Hawaiian perspective on the Annexation of Hawaii. Apparently... there is a bit of controversy on that subject in Hawaii that wasn't taught to me.
Predictive Analytics: What Is It Good For?
Yes but how much is a claim worth? Anything centralized is at risk to be tracked by the government. It's not as if Google put in the TOS that the NSA is monitoring their data.
ThinApp, App-V, etc. are pretty much equivalent to a chroot jail on unix.
No. There is no general purpose compression that works on random byte streams.
Hmm null is easier to pass on purpose and undefined is easier to pass by accident.

Sending in undefined for a non-trailing argument takes effort.

I think the literal null is far more communicative of the developers intent.

But the general point is, JS APIs tend to fail silently on error by design and that's something that bugs me, literally. Bugs. Lots of them.

I agree regards returning a failure rather than throwing an exception, though.
Pretty sure its just google sites, because otherwise you might get false positives as other sites change servers/ips/certificates/etc
Not to put down the designers here, but how many ways can you take a K and add an =, which is pretty much the symbol design of every modern currency....
Filters are pretty easily replaced with Sieve and Sieve-Manage. At least anecdotally they have adequately replaced them for me.
Create your own TLD
Be less sure. Google provides certificate pinning as a service to other sites, who request it specifically.
I met someone who pronounced "queue" as "kway", as in "I need to go clear my mail kway".

That is all.
They state "save the lives of heart-attack patients". That (partially) supports the statement, since saving a life is definitely increasing their lifespan.

The rest of the quote is stating the inverse though, that not all angioplasty recipients live longer (converse? meh, you know what I mean). And that it might be over-proscribed. Neither of those have anything to do with it's ability to prolong life in other cases.
Cyanogenmod should have a big asterisk beside it noting that it's system is signed with PUBLICLY AVAILABLE KEYS. Also they have just the same proprietary blobs (most of them) that other android devices have (radio firmware, camera drivers, etc) that have just been pulled out of shipping factory android images. The description (without these) is playing people false IMO
::sniff sniff::

I smell bacon!
My concern is with why they are doing that in the first place. It is possible that I am missing something here, I haven't looked at their actual code, but it seems to me that this concern would have been entirely avoided if they went with 0-F instead of 0-9.
He very well may have, since you compile gcc using gcc.
Even though I will never be able to get this, I want this so much.
People I know constantly over share and refuse to listen about how the information is being used, and I know I make it into their streams.
And where did the bin version of GCC he or she used to compile that version of GCC come from?

Eventually, somewhere down the chain, you have to have trusted a compiler that wasn't GCC and you probably don't have the source to.
I would like to add some more interesting changes that will happen with driverless car (sounds familiar..um horseless carriage?)

You don’t need drivers license, so no more DMV lines.

Fewer parking lots means more parks,house and office space for people.

No more DUI

Car theft will go significantly down because there is no one to drive and steal it.

Car will be smaller and lighter because it will not need drivers seat and steering wheel and other driver related gears. This change will make cars more fuel efficient.

Less Pollution

More comfortable rides. The car will know when to gracefully slow down and speed up because it knows the "shake map" of the entire city at a very minute details. For example, it can remember in what area it experiences bumps and can slow down in those areas.

No road rage. All cars will be driven by machines so no need to show aggression.

By my rough estimate, 180 billion hours of time americans spend driving their car every year. These hours will become free to do basically anything. Another wave of Cognitive Surplus!

In car entertainment will mature to the level of in-home entertainment industry, because of more room and free time in the car.

In car office model will pop up. Professionals that rely on heavy traveling will prefer their offices right in their car.
https://reddit.com/r/femalefashionadvice
OK, so if someone had to point out where the "new SV/SF" is these days, where would you point?

Portland (maybe too obvious...not as much diversity?)
Seattle?
Austin?
LA somewhere? (too many entrenched interests?)
Boston? (too much blight in areas that are not Boston/Cambridge?)
If you go down Powdermill Road in Beltsville, you find yourself driving through incredibly spooky open fields and past "FEDERAL PROPERTY" signs on nondescript, unmarked buildings with huge numbers and no names. There's even a fire hydrant in the middle of some kind of field. Some buildings were marked USDA (a gate to APHIS leads to a bunch of buildings behind thick forest), but it seemed incredibly creepy.

https://maps.google.com/maps?q=beltsville,+md&ll=39.033795,-...

Other weird links: here's the StreetView car passing some kind of weird truck with cables and tanks on it: https://maps.google.com/maps?q=beltsville,+md&ll=39.030349,-...

Turn around to find the "Area Under Video Surveillance" sign (surveillance? for a corn field, a barn and a forest?) https://maps.google.com/maps?q=beltsville,+md&ll=39.030268,-...

Zoom out, and there's one large barn on the map view. https://maps.google.com/maps?q=beltsville,+md&ll=39.02984,-7...

There are a lot of gates. A lot. https://maps.google.com/maps?q=beltsville,+md&ll=39.033753,-...

Whatever this facility is, there are lots of gates and fences and lots of trees blocking view. The weird sprawling government fields could just be some kind of FDA testbeds (there's more nearby, I forget what road) but it's just... creepy. https://maps.google.com/maps?q=beltsville,+md&ll=39.037453,-...

(Ironically close to Snowden Pond)
Welcome!
Don't worry, most of us know this, and those that don't are constantly being shouted at by everyone else.
>I have not used nginx, and have never heard of it spoken about in such glowing terms.

Seriously? There are lots of glowing blog posts, articles etc about Nginx all the time, including on HN. Just last week or so, it was reported that it powers the majority of the top-1000 biggest sites.
kudos to effort and building things.
Is there any indication that this isn't disinformation geared toward a false sense of security? Call your government representatives instead, it'll have a greater effect.
True, but purely mathematically every cipher is vulnerable to the "get lucky and guess the key right the first time" attack (OTP excepted of course).

Almost all crypto operates in the realm of absurdly close to certain.
The small bias described in the article is a pointless and embarrassing flaw, but it's not the bug that made messages decryptable (this most recent time).

The recent work on biases in RC4 contains a good example of how small biases can end up being exploitable. http://www.isg.rhul.ac.uk/tls/
> - public transit disappears? though driverless buses would be cheaper too.

Driverless cars would be a very poor replacement for public transit in traditional cities. Transit has far, far, higher density than cars do, no matter who's driving them.

The problem with cars, for the most part is the immense amount of space that is dedicated to support them, usually at the expense of all other uses, and of the people living there. Driverless cars would reduce this somewhat, but as a 1-for-1 replacement, not nearly enough to be useful.

Probably the best effect of driverless cars will be the other effects you mention: taxi-type services will get cheaper, thus fewer people will own cars, thus fewer people will feel tempted to drive everywhere, thus other modes will get more use, and cities will become more pleasant as car infrastructure shrinks, thus causing even fewer people to drive, etc, etc.

[and yeah, driverless buses etc, are a great application of the tech, maybe more so than actual cars as they're more amenable to simplifications (dedicated routes with supporting infrastructure, etc)...]
Can you please point to the decks? I see only the software on that URL.
I don't know why people are expecting this to happen so soon (if at all). Even if we have the technology for driverless cars sometime in the next few decades (QAed for all possible conditions and failures, of course), there will be no way that they'll be street legal without a (sober) driver at the wheel. We have fully automated TRAINS -- vehicles that only have to go back and forth along a single axis -- that still require conductors. Airlines, despite being 99% automatic, are very, very strict about pilot safety and training. How could you possibly expect something that's an order of magnitude more complicated to be any different? Top it off with some of the most advanced AI (yet to be) invented and you have a problem with a solution much farther into the future than one might think. Me, I'd rather stick with good old fashioned public transit.
I'm probably a better person to answer this than Sam - I'm a former lead on this project - so I'll take a swing:

We chose Redis because it gave us the specific, incremental improvements over our existing memcached-based system that we required, without requiring us to write (yet another) component. There was enough to do, and this choice has turned out to be good enough, I think.

As the project progressed though, we treated Redis much like we did own it. We altered the wire protocol, changed the eviction strategy, and reduced protocol parsing overhead, for example. Much of that work has long since made it upstream.

[edit] grammar
I believe Nadim is being truthful in that someone at the border asked him about Cryptocat.

I think they probably saw his tweets "I'M CROSSING THE BORDER NOW OMG I HOPE THEY DON'T GIVE ME TROUBLE FOR BEING A BIGTIME HACKER ACTIVIST", they Googled him, and asked him about his website.
Yes, I definitely agree with that, and I don't understand why they did it that way. Generating a float in the [0,1) range by producing decimal digits seems utterly perverse. The sane, naive, and correct way to do it is to generate an integer between 0 and 2^53 and then divide by 2^53.
>String slicing with numbered indices is used all the time.

Ok, so it (EDIT FOR YOUR BENEFIT: I'm talking about slicing strings with rune indices here, not slicing in general. Array slicing is a useful language feature, and, uh, it's not unique to Python or anything) is not just a language wart, but a fertile source of pointless inefficiency in everyday Python code, glad to know.

>This might explain why my comments seem like heresy to you.

You aren't challenging my beliefs or anything, I'm just trying to make you see that you don't understand how UTF-8 string operations work very well. If you did, you'd understand that Python is doing the exact same thing as Go here, but in a less efficient manner.
Sketch is absolutely amazing. I moved from Illustrator to Sketch last year, as I was getting frustrated with cruft Adobe were adding, and things they weren't fixing.
It took a little longer for me to get used to Sketch at around 3 months of casual use, but I find it much faster, simpler, and easier to use than Illustrator.
It's interesting that none of the BitTorent software was mentioned, at least BitTorrent Sync as an alternative to proprietary cloud storage.
Suggestion: Make every hacker space a TOR exit node.
My condolences to you. Now your product has become a target of mockery.

Also I love cats and feel sorry that the name of those lovely animals is used in a discredited entity.

The problem is that your product did not have just a security vulnerability, but had a number of blatantly unprofessional mistakes showing off ignorance and carelessness of its authors.

This is the worst that can happen with an author of open source and especially security software.

I hope at least you the poor cat's devs realize what has happened.
Is this Lawrence Baum, an OSU professor of judicial politics, saying the opposite?

http://courtslaw.jotwell.com/judicial-specialization-and-the...
What Is Nostalgia Good For? Quite a Bit, Research Shows
You are being obtuse. There is an entire subsection on search engines and Mint can be configured to use them.
As an oDesk intern… is it really a shift so much as an expansion? It seems like we still do plenty of work on "small" accounts.
Some of the best times of my life and my closest friends were met at HacDC in Washington.

Since it is the top of a church, with terrible bandwidth, TOR exit node is not as appealing as it sounds.
> I think that's because the brightness on your monitor is very high

You'd be incorrect, then, as the brightness on my monitor isn't very high (indeed, I hate overly bright displays so I keep it somewhat dim)... :]
I haven't used i3, but I did use awesome for about a year before settling on Xfce. The thing all the tiling window managers don't have is a compositor. I don't care about shadows or animations, but it makes everything seem smoother and faster. The compositor in Xfce uses xrender instead of opengl, so it works pretty well even on low-end machines.
Investigador de Riad Proteja a sus hijos de la radiación del teléfono móvil
Google works for the NSA. Avoid.
>Revolution generally isn’t good for business. So it shouldn’t be much of a surprise to learn that the ouster of Egyptian strongman Hosni Mubarak in February 2011 didn’t exactly set up the Egyptian economy for a record-setting growth spurt.

Indeed, it ought to be common sense that social and political upheaval means people stop going to work so that they can protest, and therefore the economy tanks.

Is there a dearth of newsworthy issues to write about or something?
Is that official or does it also include gray market numbers? Also, remember women retire at 55 in China, compared to men at 60.

I told my wife what you said, she had a good laugh about it.
POST to get more data? That's bad.
Thats a very good concept. Is there a way of developing it into a localized client? These days (and no offense to you) users would rather know they have control over their own data.
This is why smart cards should be used. You should not be able to accidentally distribute a private key like this.
First, you █████████ ███ █████. Then, after █████ ████ █████ ████ the █████, you can either ████ █████ █████ ████ ██ ███████ ███, or ████ █████ ██████ ████ █ ███'█ ████ ██.
Ask HN: Content management using wikipedia style editing?
Hello hackers, I am working on an idea to create large text content on specific subjects. I plan to recruit 20 or so domain experts. Can I set up a backend that looks like wikipedia for these guys to create/edit these articles/content? I hope my question was clear.
> Apple, Microsoft and Google have all willingly turned over data to the feds

More like gave direct access to their backends. [1]

[1] https://www.youtube.com/watch?v=StlFKE_UVI4