skysight-inc/HackerNews huggingface dataset:
I used the Bluetooth Audio in my new car for about two weeks.

It was actually pretty reliable, and felt like the future. I'd get in, turn the car on, my phone would pair itself and pick up where it left off, and I never once had to take it or my keys out of my pocket. Then I started to actually listen to my music.

The audio over bluetooth was frequently out of tune. I'm a musician, so I can definitely hear this and it's infuriating. VLC on Windows had the same problem for years and everyone told me I was crazy, but the car was at least twice as bad. It sounded like an old cassette player, if anyone remembers those. Googling reveals this to be a common issue with many different varieties of bluetooth speaker. I can only imagine it's doing some sort of time stretching to "hide" latency in the packets but, well, it's not hiding it well enough for my ears. Trying to listen to anything melodic, especially piano pieces, was just awful.

Fortunately, I discovered that my car also has a shockingly excellent USB Audio implementation, so I copied the Music from my phone onto a large USB drive and have been happy ever since. More wires for me please, the future isn't ready.
None of this seems to apply to documents you generate to supply to someone else you trust. Compress and encrypt seems perfectly fine.
Thank you for the effort.

The sama account rarely makes responses and Sam Altman basically never responds to criticism of his pieces, or even outright proofs of wrongness. Honestly, this is the treatment I expect to receive here.
We detached this subthread from https://news.ycombinator.com/item?id=11990293 and marked it off-topic.
Except that this allows organizations to participate in fallguyism. Organizations that cannot be punished and individuals who can create an effect where the individual can do something illegal but extremely beneficial for the corporation, bear the consequences, and then be received into lifelong benefits after their punishment is complete, jail time over, etc. The extreme rub here is that even if an individual is hit with a finance demolishing, unbankruptable fine and extended jail time, that individual's situation can STILL be VASTLY improved, finances strengthened, etc. by being the fall guy for a large organization. (If you've ever thought, "I would go to jail for ten years if I got 10 million dollars at the end," then you understand the incentive structure there already.)

There is no way to effectively punish saavy, loyal individuals when individuals from within their respective organizations can shelter them from the consequences and/or incentivize them to break the law despite the consequences.

If the whole matter is implicit, it doesn't even necessarily require the organization to 'rescue' their fall guy afterwards, people are just another resource in an organization, if the benefit to the organization of breaking the law is greater than the benefit the organization derives from the person who would ultimately be the fall guy, then even the potential of a 'rescue' is enough, if the incentives are otherwise strong enough!

Only if BOTH the individual AND the organization must pay a price for misbehavior is it possible to truly disincent illegal but profitable behavior. Under your scenario, an organization can simply shuffle through its minions until it finds one willing to break the law and offer the profits for a given incentive package- indeed, organizations under your model are incentivized to seek out and hire criminals who lack analytical depth, and then implicitly make the desired course clear, and then allow the criminal to take the fall for them, while the organization and its investors pocket the profits.
Email Your Next Sale
The Ruby on Rails Tutorial book, updated for Rails 5
Both, neither, does it really matter? In my experience any server-side programming language will be good enough for 99% of the websites out there. Once you get up to the size of a google, twitter, facebook, etc. then you can start worrying about which server-side language you should use. Otherwise just use whichever one you prefer.
You were a newbie too, once. Some people read Hacker News precisely to learn things like this.
We will probably need a source for that - all the data I've seen suggests that 'leave' support was inversely correlated with income http://www.newstatesman.com/politics/staggers/2016/06/how-di...
Elastic Network Adapter – High Performance Network Interface for Amazon EC2
Quinlans https://en.wikipedia.org/wiki/C4.5_algorithm is somewhat popular for similar tasks, it allows to build decision trees from data that are conceptually similar to such fuzzy rules, and the rules can be human-readable so they can be really powerful after expert review.

For example, a very specific condition can either mean that this particular condition is useful, or that simply the training data happened to have those particular instances of a more general condition - and a human expert can usually easily decide which rules need to be extended for proper generalization beyond your training data, but the automated generation helps identify factors that the expert could recognize, but wouldn't think of if doing it themselves from scratch.
maybe both are related.

I never understood people that create a function only to set a flag or a set of flags in another and pass everything else.

Also sometime doing code that looks like this

>
> if a:
> getting_started(d,e)
> if a and c:
> maybe_prepare(f,g)
> common(d,e,f,g)
>

Instead of

>
> getting_started(a,b,c,d,e)
> maybe_prepare(a,b,c,d,e)
> common(a,b,c,d,e)
>

Usually I leave branching for the leaf code. It's maybe just me.
LayoutKit: a fast view layout library for iOS
Lending Club plans layoffs, discloses loans to former CEO and family members
Don't we need to wait to see what happens? This is the second business day since the vote; maybe in a month stock prices will be back to normal.
I submitted a link directly to the free online version of the Ruby on Rails Tutorial, but to find out more about the new edition (and to get a 20% launch discount) see the news post here:

https://news.learnenough.com/rails-5-edition-of-rails-tutori...
I have been working with PHP steadily over the last year, and, coming from a Rails background (learned it at General Assembly), I used to hate the "ugly" syntax, weird method calls, and strictness of PHP (missing a semicolon can be damnable offense in the eyes of the compiler). Ruby to me seemed a lot more flexible, but over time, after hacking at PHP, I have come to appreciate it as a language that gets the job done.

My preference is still with Ruby on Rails; however, I have been thinking of using a more lightweight framework like Sinatra. I am still impressed with how flexible and expressive Ruby can be. Alongside bash, it has really become one of my favorite languages to work with particularly for scraping/writing automations.

Would love to get into Node, but the idea of javascript on the back-end hurts my head. All I have used Node for is for basic utilities like uglify-js and minifier. Been hacking on Angular and Mithril on the front end, I love javascript as a front end language, but still haven't wrapped my head around Node. Javascript isn't too far off syntax-wise from PHP, but my struggle with Node is how to organize the codebase as well as understanding a clean separation of concerns when it comes to front-end and back-end code.

Might be off topic, but I am really excited to see how the GraalVM is going to impact languages like Javascript and Ruby.
'ultimately the "output" length has to be correlated with the input length'

But perhaps not relative to the size of the secret data, right?

(Note that I'm not saying, "Oh, obviously we should just do this to avoid that attack" - I'm hoping to learn by carefully understanding where it breaks down).
For reference, here's the discussion of the Washington Post article the author refers to, which hit 411 points on HN:

https://news.ycombinator.com/item?id=11970344

Also, a related article from yesterday:

"Inappropriate Uses of Google Trends"

https://news.ycombinator.com/item?id=11987414
Congratulations on breaking free. Humbly, I would suggest, however, that your incredibly difficult journey made your now better life possible.

Many of us have sacrificed multiple years of our lives for a better future. Four years of medical school and 6 years of residency/fellowship were my sacrifice.

Certain paths in life require some initial torture, unfortunately.
Is that some kind of weird content reposter that took over some kind of Jets fan site.
Really? I've been reading, and following encryption news for 10+ years, and it had never occurred to me that you should not compress prior to encrypting. The article was an eye opener for me - in hindsight, maybe obvious, but I bet 90% of your average technical audience wouldn't realize that you should not compress prior to encrypting.
That's a bit of a faulty sum that excludes externalities though. If we end up outside the single market and the economic cost is substantial, then any reduction in EU contributions will be outweighed.
> The European histrionics are mostly yank-bashing with a side of whistling in the dark

If I recall correctly, there was much in the media around the time of the Arab Spring about UK and German companies selling the tools of mass surveillance to governments that were less than friendly to their residents. It's easier to point a finger at the US than to acknowledge that the major European governments are usually deeply involved in the same activities and equally responsible for much of the conflict we see in the world today via the legacy of colonialism and actions such as the Sykes–Picot Agreement.
> NY residents didn't invest anything in fiber

As I mentioned in my original comment, New York already had fiber networks covering large parts of the city. Verizon was able to access these, which already "ran past" many buildings in the city (including mine), and still never bothered to hook up those buildings as they had already agreed to.
Considering how well productivity gains have treated the working class from the 70's until now, I'm not optimistic.
Otec – an app powered by two of our best Swift libraries: Jayme and EventSource
Rust has:

- Static typing

- Type inference (and pattern matching)

- No dependency on JVM, .NET, or BEAM

But the number of web frameworks, etc. for Rust sucks compared to that of older languages like Go. Go 1.0 was released in early 2012 and Rust 1.0 in May 2015.

Rust is more verbose than Go, but Go's FFI to functions written in C isn't as efficient and since "cgo isn't go", I'm not sure cgo covered by Go 1.0 compatibility guarantee.

On the other hand, Go has tons of "batteries included" plus web frameworks so that is pretty awesome to have on stable platforms (I don't consider Windows a stable platform for Go and got burned several times, but Go works great on FreeBSD & Ubuntu.)

I suspect Go & Swift won't have robust reliability on Windows (compared to other platforms) but they'll be rock solid on the ones they favor. Rust may have better prospects regarding this, but Rust still too new this year for web server language -- wait until MIR is integrated and a couple more releases after that.
Correct. This is rather why the glorious past is such a dangerous fallacy - they see the artefacts and remnants of regimes that specialises in propaganda, and mistake it for reality. The same happens within minds as it does in the external world - rose-tinted glasses - and so the cycle repeats.

I honestly don't know if we're up to escaping it. We are beautifully fallible and flawed - without, we would not have art and love and all that is good, so we must take the bad with, lest we lose what it is to be human.
Thanks!

- You'll get a single check for free for life and after that we'll be charging $5 per check / month.

- Teams are coming in the next week or so, we can add you to the whitelist for early access.

- feedback has been relayed to the team, thanks.

- Checks run every 30 seconds, we go into detail in the docs: https://app.opsee.com/docs/checks.

- Unfortunately we don't support IPv6 or custom headers on webhooks quite yet, but we'll put them in the queue to implement.
Freedom of movement is great, unfortunately we live in a world with 7 billion people and it's likely a vast majority would move from where they are at if they could. 1.3 billion people make less than $1.25 a day. What do you think would happen if they could move somewhere else easily? Equality and economic parity is necessary without creating a humanitarian and environmental disaster of human movement.
The assumption that exporting manufacturing to the third-world is generally good for humanity is a bit hard to stomach.
well actions speak louder than anything, so I would say yes, with a 21st century approach (better PR)
It's been a few months and some of the details have grown a bit fuzzy in my mind, but in the Upper Peninsula of Michigan -- and throughout Michigan, Indiana, and elsewhere regionally that the story touched upon -- erstwhile big box retailers have started controlling ownership and leasing to PREVENT any sort of effective competition from taking over and using the "boxes" they abandon.

Even after they move out of one, they effecively prevent the local community and private developers from putting it to good use.

As far as I'm concerned, the FTC should be investigating and looking to break them up. In cities, they form an incomplete oligarchy. In smaller communities, they've become a very effective monopoly, and they demonstrate overt, brazen business practices squashing competition to further consolidate and perpetuate this.

In other words, they are not simply competing on "price", anymore. (Where that pricing was already disadvantageous due to political influence with respect to taxes, international trade, et al.)

They are purchasing and exerting outright political and legislative favor to disable competitors including by separating them from otherwise available resources.
1.95m. And thanks!
This pink snow is a very bad sign
For the purpose of this bill, how is "tech company" defined?
The article is bad but let's not turn that into a personal attack.
If you only tax for workers above a certain wage and use that money to support rentals for lower income folks you might make it work. Maybe such a thing would incentivize tech companies to move elsewhere which of course has other side effects. There is no free lunch when using taxation to enact public policy.
It's sort of hard to grasp how much more difficult long-distance communication was back then. Phone calls were relatively expensive and charged by the minute; you generally wouldn't call someone across the country without good reason or special occasion, and you'd feel real pressure to try to "keep it short".

Phone phreaking let you talk to whoever you wanted, as long as you wanted, as often as you wanted. This was a big deal in the days before instant messaging and was looked on almost as a type of magic.
GCE has an interface that is painfully slow at times though. It's a complete slouch compared to the speed of the AWS interface.
This is well known in the transgender community.

Facebook has a history of forcing trans people to verify their names by providing legal ID. This hurts people who haven't yet been able to legally change their names for one reason or another even if they go by their new name exclusively in real life.

So to deal with this, the community discovered a while back that you can just scan your ID and Photoshop in whatever name you'd like, and Facebook will accept it. They don't look too closely.
IntelliJ Idea is head and shoulders better than many other IDEs, particularly Eclipse in the reliability department.
"If you're really concerned about this you should campaign for us all to stop driving, that will really move the needle."

I do that, too, to the best of my ability. And, whenever given the chance I argue for self-driving cars, too. Yes, the entire auto industry (and our addiction to it as a society) is terrible.

But, my point is that even the mild environmental and health regulations we have were defeated for years for VW profits, all while they advertised "clean diesel" and went head to head in the market with technologies that are actually superior and safer (unless those companies are cheating, too), claiming to be better than them by using falsified data.

My point is really that when a company in an industry that already kills on an unprecedented scale decides to willfully harm even more because they'll profit, there should be truly dire consequences. BP is another great example of a company that consistently made decisions that knowingly endangered entire communities over a long period of time. Their only regret seems to be getting caught.
Gmail

Microsoft Excel

Scrivener
I was talking about politics in general. In this particular case, some economic aspects might be matters of fact to which one can apply forecasting techniques, whereas other aspects (e.g. whether one does or does not accept that power over one's country is given to the EU, and whether one wishes to strive towards or away from being one country with the other European Union countries) are more matters of opinion.
I live out of evernote most days. It could be better but it works for me.
> your IDE (IntelliJ in my case) stops working because your project has million of files.

This is not really an issue, because it depends on your local project files, not on the size of the repository. You only have problems with the IDE in a large project such as Chrome. Most projects will have moderate sizes that can still be handled by Eclipse.
Hey that's pretty cool. I just did a similar thing, I started about 3 weeks ago on Donors Choose app
https://appsto.re/us/JVmbab.i it's not for profit or anything , just figured I would do a small side project in the evening while I hang out with my kids over summer break
I'd be curious to see how this works with third party libraries/etc...

For instance did everyone at Google migrate to Java 8 at the same time? That seems like a huge amount of work in a mono repo.
DMVPN capability would be outstanding and would make WireGuard much more useful in a AWS VPN situation. This video from the 2015 AWS re:Invent [0] conference has an overview of DMVPN and how it could be used in a AWS VPC.

0: https://youtu.be/ykmqjgLdmL4?t=53m20s
I didn't know that, cool! Though also depressing...
Clojure (recently) and PHP (legacy)
Every time Microsoft tries something creative (Win 8) the users complain.
I appreciate your analysis. I couldn't quite find what was wrong with this idea, but you've identified it.
They probably aren't using location but IP block. In fact, I'm almost certain your IP block is used for both suggested friends and your Newsfeed.

I used to see my coworkers all the time in my Newsfeed, but now that I don't work there (and therefore we don't share an IP anymore) I suddenly started seeing them a lot less.

I go to their page and see they are posting, and after interacting with a few posts they started showing up again, but I have to go to their page and interact every few weeks to get them to keep showing up.

Also, whenever I go and visit the old office, if I use Facebook there, all of a sudden I get them all showing up in my Newsfeed again.
"The term is gradually flipping back again, thankfully."

I suppose that makes sense, as there is (largely) no such thing as non-free calls ...
[Free, iOS] Doozyrama App-Instagram for places- create and share places on the map
They spend a lot of time talking about how dataset owners don't have to do anything to expose it to GOODS. It sounds like a big part of the work that goes into GOODS is automatic metadata inference.
Please don't make HN worse by being rude.
Pinterest’s new shopping frontier: the real world
> Is it possible to create a better economic arrangement for our people?

Bootstrap a basic income.

We don't need to wait for the state or the multinationals to have mercy on us. I don't think they will. We should take matters into our own hands.

My idea is that people should create non-profit associations for the purpose of assuring their basic necessities. These associations should buy land to farm, own factories, organize their own education and health systems. Being owned by their founders, such organizations's sole purpose will be the well being of their creators.

In order to work out, these co-ops need to become independent of external conditions. They need to have a full stack of services, just like a country in miniature: they need to have farms, factories, hospitals, schools and domestic homes.

When the robot age will finally come, people will find it very hard to find a job. In the past, people could trade their skills and effort for money, but now, they have nothing to trade for. So the only solution is to rely on themselves, not on the new economy which doesn't need them except as consumers, or on the government which is too large and too corrupted to be trusted. We should boostrap our own basic income.
I did, VW is being made an example. How do the other manufacturers get similar test results? Their turn comes.
I have just run into this problem when migrating my project. I see the build is nearly done; when it is, what's the best way of patching?
Thanks for the response.

We don't have corporate death penalties because to a first approximation there are no laws that enable us to do that. To put companies to death, we'd need to pass enabling laws. But those aren't the only new sanctions we can enable in new laws.

It seems to me that we can break down those impacted by sanctions against corporations as follows:

* Officers and directors of the company

* Employees of the company

* Shareholders in the company

* Customers of the company

When we think about how to structure sanctions against a company, we should think about where (a) deterrence will have the most effect and (b) where retribution is most warranted.

How does a "corporate death penalty" apply those effects? It seems to me:

* Officers and directors of the company have a demonstrated track record of harming their employers for personal short-term gain; see, for instance, every stock buyback scandal. Moreover, officers and directors tend to be wealthy and thus more likely to have a professionally or at least competently managed portfolio: they're diversified out of a lot of impact.

* Employees of the company have extremely limited ability to alter strategic decisions made by management, and so aren't useful for deterrence. They also tend not to profit from strategic high-level malfeasance, and so aren't deserving of much retribution. Meanwhile: mergers, spinoffs, and acquisitions are almost invariable dreadful for employees, huge numbers of whom are made redundant, pension obligations scrapped, benefits reduced, and so on.

* Shareholders have virtually no insight into the operation of their holdings. Moreover, vast numbers of shareholders don't even know they hold companies, because they do so through pension plans and mutual funds.

* Customers who, for instance, bought VW cars during this scandal did so in an effort to minimize their impact on the environment; the scandal is that VW lied to them. Not only are they demonstrably incapable of being deterred from future scandals, but it's hard to argue that they've in any way earned warranty confusion, loss of service stations and personnel, and slashed resale values.

Compare that to a new law making this kind of malfeasance a strict-liability felony for officers of the company. Doesn't that make much more sense than a death penalty?
Thanks for all the feedback!

Appreciate your taking the time to write this up in detail, and thanks for not sugar-coating it. We'll share this with the relevant teams and work on improvements across the board. Great to hear that you like the changes to the docs!

Please keep providing feedback and suggestions.