skysight-inc/HackerNews huggingface dataset:
American political writing, especially to courts and legal bodies but in some cases also public appeals (like campaign ads and ballot statements on propositions in CA) tend to swap 1 and 2; I believe this is with the intent of making the statements on the issue a more coherent and concise message.

I believe that in legal writing, there's the additional intent of making it easier for a professional to skip over the boilerplate introductions of the bona fides and jump straight to the relevant content - and make no mistake, this is absolutely a legal filing, intended to persuade a small group of professionals, with their careers and maybe also some actual principles at stake. The effect on the broader public is kind of incidental.
Those are good points. Really, Linux needs a proper, non-deprecated, syscall for this.
Hello, nice to meet you. Would love to meet with you too. My email is me(at)yelinaung(dot)com. :)
Maybe the limiting factor for each participant is social interactions of a certain sort -- something to act as a rough proxy for "time", specifically "time interacting with fellow humans". After all, time is the finite resource that we can only divide between our sockpuppet identities, but we can't poof more of it into our aggregate identities. That's assuming that this "certain sort of interaction" is something that can't easily be scaled out of sync with our time (as could perhaps be done with our digital interactions on Twitter).

My first crazy thought was some sort of average proximity from other human beings, where perhaps our phones could sign a digital transaction when we pass within a certain proximity and stay there some amount of time /t/, for some value weighted by proximity and time. The time-proximity (to make up a word, because why not?) from fellow humans might vary by geography, but I assume it might have some degree of consistency on the order of magnitude. So someone in Toronto, Canada would have a value comparable to fellow citizens, but would obviously not be on the same magnitude as someone in a rural Russian village. So if I'm in a certain geographic place and my time-proximity for interacting with my fellow humans is consistent, and aligns with margins of error for that place, then maybe some undescribed service or oracle monitoring the identity network are happy. but if that drops drastically, then maybe that's because i've created a new identity and started to sign interactions with that. Or maybe it's something more innocent, like a job switch. Or a depression. Maybe that's what the oracle needs to confirm.

But anyhow, simple time-proximity wouldn't work, as the real humans are using phones that aren't visually confirming the interaction with another real human. So maybe it would need to be something like Google Glass that recognizes and signs transactions using eye contact as the trigger -- detecting eye contact as a symmetrical relationship, reading/sharing identities, signing and broadcasting a record of that human interaction. Someone could fake data, but it would likely interact with the "real" world network's data in a detectably odd way.

I guess what this is all about is a distributed, self-referential version of TrustCloud.com. But none of this seems to solve the "this is a human: y/n" sort of question -- but more like a "this human is likely 80% of a human identity in geography X" or something like that. So maybe they now deserve a certain take of a pie (if socialcoin were a thing).

Anyhow, I'm sure this is incredibly flawed on many levels, but it was a fun thought experiment to work through :) Feel free to point out any glaring errors in logic, or to promptly ignore it, for that matter
Oracle actually has upsert functionality. It is called Merge and has been available for quite a long time:
http://docs.oracle.com/cd/B28359_01/server.111/b28286/statem...
> But you're also cut off from the majority of positions in the industry for better or worse.

Why? do they fire you if they discover that you secretly have a CS PhD?
David Waring – Helping Brick and Mortar Businesses Thrive Online
Have a look at the Beaglebone Black.
Ranger Supercomputer Begins New Life in Africa
I'm all in when there is somebody abusing the system as majors or big lobbies. I don't feel the same when it is smaller.

That's why small producers' crowdfundings tend to work, because we appreciate the effort.

Information wants to be free. True. It doesn't mean free-for-all.

A little note aside the link saying: "hey, wouldn't be great to donate to them if we like it" would be fairer than just simply pasting the link.
What are the advantages of a syscall in place of /dev/urandom?
How hard can canceling your Comcast account be
fetchtext.herokuapp.com

Took me about 3 hours, because the library it is based on is wonderful :)
Awesome & Thanks.
Yeah. Crazy/evil people. Gotta keep an eye on 'em.

What I'm talking about is an 80 year old guy who is well documented for professionally photographing public art.

When they saw someone taking pictures of that piece there could be a couple reasons: A) he's scoping it out to come back later and lob an RPG at it, B) he's working on the second edition of his book you can buy on Amazon.

They don't need to talk to the guy to find out which one it is. That's what I'm saying.
Lots of copyrighted material there already.
O'Reilley, Prentice Hall etc
Get ready for a DCMA deluge.
Mi India Media Launch Event
... and in some cases, we've seen how using proprietary software turned out.

You're not making a substantial argument, but if someone has a track record of writing completely safe software that doesn't have to be secured through third party products, like Microsoft, I will be willing to listen.
Ahh, not really - while the process thing the author describes is real - what you're saying is that any two processes show the same values, and that isn't the case. the bad guy needs to control one process to read the values in a useful way, have it exit, and be able to maniuplate the system by killing or creating processes until his intended victim comes up on his selected PID. While that's far from impossible to do (just as the author's program does it) It is likely going to imply enough access to your system by the attacker that you're already pretty much p0wned.
Its an inside joke, there was a lot of 'cachet' associated with being a 'peninsula city' (like Palo Alto or Menlo Park) and folks would define the peninsula ending at Mountain View, and Sunnyvale being the start of the 'South bay'. Generally meant about a 15% difference in home price. (Mtn View/Sunnyvale). However since 'south bay' is associated with San Jose (which is a nice, if rather boring city compared to San Francisco) there has been an argument for at least 30 years as to whether or not Sunnyvale is a peninsula city or a south bay city. Everyone agrees that the center of Silicon Valley is somewhere inside Sunnyvale but that is about all they agree on.
Similar in difficulty (but worser) than when we called to downgrade service for our HOA and our shared office account.

Would it be possible to have 10m people cancel for a month in protest?
but it's weird that Firefox doesn't support the WebSQL HTML5 API. All modern browsers except Firefox (and IE) support WebSQL by using SQLite.
Thank god I'm Scottish and not "English", that's all I can say. But in defence of my neighbours, I think you're being grossly unfair.

In my experience, British workers are not "lazy fucks".
The statement about Kafka sounds a bit strange... Producers don't need to know about the consumers/clients. They just post messages to the brokers.
>I need stuff that works and fast, not to re-invent the wheel by using outdated techniques your professors taught you.

It seems you have a very wrong idea of what PhD training is. It isn't about any outdated techniques, unless you call science outdated.
PhDs is about doing research and writing scientific articles and presentations documenting that research. Everything else is a side effect.
The lack of response to my point that Scribd has content not found anywhere else is the most telling. Objectively, it seems like that point should win the debate. The disagreement is therefore subjective.

I wouldn't quite call this "tribalism," but perhaps it's one step short. In the old days of HN, a valid point wouldn't simply be dismissed without a response. The fact that no one is stepping up to point out why I'm mistaken is suggestive; if it continues to happen, then it's indicative of a trend. And over the last year I've seen this happen to others somewhat frequently.
In general, enabling WAL mode in sqlite tends to lead to happiness.

https://www.sqlite.org/wal.html
Maybe the question should be re-phrased as:

"Are contract programmers more productive than salaried programmers?"

I think that's what's really being asked here.
tmux details: https://code.google.com/p/iterm2/wiki/TmuxIntegration
Less syscalls.
(There's a maximum nesting limit for replies?)

Scribd having a lot of unique content isn't a feature; it's an observed state. There is no reason why Scribd would exclusively be able to offer that, and any other PDF host wouldn't. It's simply a consequence of a lot of people using a service.

Scribd having amassed so much data due to their sheer size is not a point in favour of Scribd; if anything, it makes the walled-garden approach of Scribd even more frustrating.
It wasn't until after reading the article did it register that the event took place less than 3 years after 9/11. I think that's important context.

Don't get me wrong, I felt for the guy. It seems silly to investigate 76 year old man photographing public art. Today I would have argued my rights to photograph while on public property.

But back then, I distinctly remember calling the police when I saw someone with an SLR and a humongous zoom lens taking photos of the Seal Beach Naval Weapons Center. Better safe than sorry was my thinking.

That's very different from public art, but it was also public art on a 140' tall gas tank. It's not unreasonable to view that as a terrorist target, esp. 2.5 years after 9/11, and in a major city (that fairly recently suffered a terrorist attack). Again, just trying to provide some context.
How much does a representative sample of a cup of coffee cost?

The coffee I drink costs about $0.10 a cup.
StdAfx.h, precompiled headers
Contact the author of this presentation, he wrote epub.js and could provide helpful advice.

http://www.w3.org/2014/04/annotation/slides/Hartnell.pdf

http://www.youtube.com/watch?v=Xtj4LYBzRiw

Related: http://www.w3.org/2014/04/annotation/
The hashing algorithm is provided by Echonest in their Echoprint service and used to compare against their database (hopefully growing after their Spotify acquisition). However before this can be done, the individual tracks have to picked out - I've not had much luck with Echoprint identifying more than one track at a time.

Python, RQ / Redis for the task queue, RethinkDB for the backend, FFmpeg for transcoding and C for DSP (only in testing).
> So essentially changing diet is partly (or mostly) a placebo effect. IMO it is better to understand the causes of IBS/anxiety/stress and make changes to your lifestyle that address the root cause, rather than believing dubious science about gluten.

That sounds very much like the approach a software/hardware engineer would have towards a bug. And it's great!

However, I'd say that the human body can't really be approached that way because of its, very much, inconstant nature (at least until we've figured out 100% how our bodies function).

In the current state of knowledge human kind has about biology, it would be very hard to pin-point a "bug" (IBS/stress/anxiety for example) to a specific root cause (bacteria x or y). On the opposite end, a software bug ultimately has one (or multiple) very much identifiable root causes.

All that to say that, it might not be possible to understand the causes of IBS/anxiety/stress, and thus, treating the symptoms might actually be the cure. (who knows, maybe treating a "biological bug" fixes the actual bug?)

It's also a chicken and egg problem: which started first? IBS or stress/anxiety?
Why are we even discussing this?

I remember reading Chand's blog post when it was first written and found it unbelievable. First of all, it doesn't even _try_ to find evidence of a so-called "PhD-Industry Gap" beyond his own personal experience. This rehash, written a few days later, doesn't try either. Is there any actual evidence for the claim that industry doesn't want CS PhDs?

As someone with a CS PhD from a top school, my own anecdotal evidence is that there are lots of companies, both established and startup, who are interested in such people for programming positions. I'm with the professors and industry veterans who found Chand's story incredible. Either he was extremely unlucky or, more likely, there was something else going on with him personally that turned off these companies.
Show HN: Newtrien – nutrition facts labels for recipe blogs
After years of working for various web agencies and software companies, and then more years working as a full-time freelancer, I finally took the plunge and launched my first SaaS, newtrien.com.

While developing the website was time-consuming (especially since I'm doing it solo - programming, "design", etc.), I feel the hard part has only just begun, because I have zero experience on how to promote a service. But it doesn't matter, because even just launching the service was a great personal success for me, since I have a huge history of starting personal projects and not actually finishing them (who doesn't, right?).

So anyway, newtrien.com is a website where people who own recipe blogs or websites can easily create nutrition facts labels for their recipes, and them embed those labels on their site. It currently has a database of about 800.000 nutritional facts for over 10.000 ingredients, but I plan to import more nutritional databases in the short future, as well as build a feature where users can add their own custom ingredients, on the off chance that some exotic new ingredient is missing from the database.

I am looking for feedback on pretty much everything: business idea, website usability, design, etc. Thanks!
RabbitMQ was easier for me to develop a prototype to test out the idea.
Boston is very touchy and has been, as evidenced by past displays like the Mooninite scare where the called the bomb squad over some cartoon signs with blinking lights.

I have to wonder, though, the way things are, if they were protecting the copyright on the building or because it's filled with liquified natural gas? Then again, it could be both...
Development Patterns, Data Structures, and OOP
Censorship is mostly not about showing, but about looking. Censorship prevents you from seeing the world as it is (which includes seeing what people actually say), which is quite different from taking down a site that is infringing upon other people's rights. If you are prevented from looking at the world, that's a bad basis for democracy.
> how far should censorship go?

That's easy. There should be no government mandated censorship.

First of all - because it doesn't work for the intended purpose. The Internet is so dynamic that no method of censorship can stop information from being disseminated. Your own children are all "safe" and protected, until a friend teaches them how to get passed that filter to view porn or whatever and your children will want to view porn, especially given a lack of education from parents. It's also a pretty dumb filter and governments are failing even at censoring PirateBay or WikiLeaks. Without proper supervision and education, it will just happen. Censoring extreme political views, or any political views that go against the system doesn't work either. It never did. Actually censorship helps in disseminating extreme political views and the only thing that helps is proper education.

Second of all, there are no lines to be drawn - what represents useful information for some people, may hurt the feelings of other people. Nobody is in a position to decide what information should be censored. And if I want to jerk off on people having sex with horses, why should anybody have a problem with that. Being tolerant of people that are different from us in one way or another is a lesson that the German people should have learned, otherwise we are bound to repeat the same mistakes over and over again.
Android Apps on Chromebook
Awesome, congrats on the release!

Aside: Check For Update... still gives 1.0.0.20140629 as the latest version. Have to download a 2.0 build explicitly.

http://www.iterm2.com/downloads.html
Justin Miller on how Mapbox runs like an open source project
Most articles started as stubs. At the moment many language versions of Wikipedia have different opinions about stubs.

e.g. german wikipedia don't allow stubs anymore and the admins delete & reverts more pages every day than new ones are created. It's maybe a cultural problem as such admins identify themself with 'their articles' and don't allow any changes.
Polyglot as it is at the moment is an experiment, a prototype. Still fleshing things out, so feedback and contribution is always welcome :)
It's not a one-way mismatch. The so-called real world is also out of touch with academia: just witness countless upon countless of ill-chosen technologies and techniques in use.
A visual explorable wikipedia
'Six Californias' plan gets enough signatures to make 2016 ballot
Why doesn't Google add full Android to Chromebook?
Anecdotal evidence is useless.

The truth is, to learn any information about the usefullness of a PhD you need a proper study following the life of a group of people with CS PhDs, and a control group without CS PhDs.
And then, what is "usefullness" anyway? net worth? happiness?

My theory is that, like most professions, you are born a PhD. If you are not one, then don't waste time getting it. You'll be miserable.
Sweet look forward to trying out the new trigger and escape sequence features
Although seeing as this runs faster than the Caltrain, perhaps the real story is that Caltrain should be replaced by busses overnight.
The compute module itself does not include a USB/Ethernet chip, so only has the BCM's single USB.
$WORK anecdote:

We had a quartet of legacy-ish databases with sharded customer data (had some interconnection, but we sharded in the application-layer, so the database didn't have to move any data internally). It was a bitch to maintain, but it performed OK, by throwing fairly beefy machines at it.

We began a quest to replace the database with MongoDB/HDFS/Riak/CouchBase/Cassandra/whatever. We wrote a script that converted our data to JSON for easier ingestion and began hammering away. Until we discovered that by converting it to JSON (and simplifying some parts of the data-model), our dataset had actually become small enough to fit on a single server in memory (still ~100GB).

So we ditched the cluster-thingie and moved everything to CouchDB. Pricy hardware, but the saved man-hours recouped that within a month or two.

(And in half a year's time, the database will have outgrown whatever hardware we can reasonably throw at it, so then we'll have to start over for real...)
> "This would be a lot more useful to me if they came in between Caltrains, which can be an hour apart."

The fact that this bus actually seems more appealing than Caltrain actually makes me question the Caltrain's existence as a matter of transportation policy.

EDIT: note that the bus is faster.
To add to the collection of work-arounds posted here, most hotels seem to have reasonably modern/common printers. Often, they are connected to the untrustworthy hotel PC by a USB cable. It seems faster to unplug the printer from the hotel PC and install drivers on one's own laptop than it is to figure out how to gain access to the hotel's crappy computer. Hotel printers connected to hotel computers via ethernet/WiFi also likely have working USB ports, so one simply could bring his own cable with a "B" plug. I'm sure there are ways a malicious person could install rogue printer firmware, etc., the likelihood of such threats existing in the wild is 1/1000th that of the sum total likelihood of evil existing on hotel PCs.

I suppose the relevance of my entire comment hinges on the presumption that anyone reading HN only uses hotel PCs for printing stuff. Valid?
Incidentally, this would also change the balance in the senate...
Mozilla took a stance against WebSQL because there was essentially no "standards specification" for it. The standard has rather been defined by its implementation: SQLite. Obviously, this SQLite is a very pragmatic solution, but Mozilla wasn't just happy with something that couldn't have an alternative and therefore permanently constrained. Instead they implemented [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_A...), which is an open standard. However, indexed DB is not a relational SQL store and is therefore less familiar to developers. Instead, it is transactional indexed key-value store on which it is possible to develop an SQL or other type of store.
Do you know of anywhere I can buy this ready-made?
I think a challenge for many is what constitutes 200-500 calories and whether their will power allows them to accurately gauge and control.

Not eating is binary [ ] yes [ ] no, which for many is easier to control versus picking and choosing and limiting quantity.
IdeaListr : Let's build your next idea together
In contrast, the Italian site of censored sites (DNS domains) is public.

The bad thing is that it is "published" as a series of faxes to ISPs. Luckily those have been digitalized and put in a database: http://censura.bofh.it/ http://censura.bofh.it/elenchi.html
Show HN: Halaldata.org – Halal food and beverage search engine
iTerm is what the Terminal.app should have been. Thanks to the devs for your work.
Why code style matters in your project?
Add comments on each pdf and it could become an important tool for (anonymously) reviewing papers
You have to switch off development releases to get 2.0.
You know, as much as I hate seeing discussions diverging into unrelated issues involving Nazis, Jews, religion, or other such topics, I hate the invocation of a stupid Internet meme even more.

Yes, we should always remember what happened, because it represents an anti-pattern for what society should be like and oh look - censorship as been used by the communists and the nazis for "protecting the youth" and the German law supporting this was born after the war, therefore guess what - an argument involving the nazis, even if flawed, is on-topic and people shouldn't fear expressing their opinions because of some stupid Internet meme.
Google I/O 2014 Highlights Video • vlogg.com
Thanks for the confirmation.

The implementation today is as a task queue which removes the request from the queue once a responder acknowledges, but it could be a pub-sub model, where a number of independent responders can work on the same message in parallel, and only 1 responder need to return a response. In this case, persisting in the queue is useful.

An alternative is to chain the responders where one responder can leave a message in the queue for another responder, and the final responder returns the response.

Polyglot is still experimental though, and the current implementation is a prototype.
An attacker doesn't necessarily need to know the random values themselves to pull off an attack. For example, if a nonce is re-used, an attacker might be able to decrypt data sniffed from the network. Also, creating processes to force a PID wraparound might be as simple as making repeated requests to a server.
> there's no way out of this one without kernel support

This problem is due to LibreSSL's internal architecture being too closely matched to OpenBSD, not a fundamental problem with Linux.
That's not implemented yet I'm afraid, I haven't figured out a good mechanism to timeout the messages.
Some cities require a larger footprint. For example, Atlanta should include the entire I-285 Perimeter.
It's okay. I understand common sense isn't so common...