skysight-inc/HackerNews huggingface dataset:
Really? OpenGL drivers on macOS are absolutely shitty and I've seen plenty of strange behavior from them that definitely wasn't a hardware issue. It's also not hard to get suspend-resume issues on macOS with perfectly healthy hardware, especially if you keep upgrading instead of installing the new OS fresh. Plus there are plenty of small issues across various utilities here and there. It really isn't the most stable piece of software out there.
Or curl, or openssl s_client

Sure.

I'm still trying to understand domain fronting, and exactly what is being disallowed now. Do all of my CDN requests have to have identical Host headers and TLS server name indicators now? What if they're mismatched? Does the TLS handshake still succeed, and the traffic just doesn't get passed through the CDN server?

Well, the current conflict is with Amazon; your CDN might or might not object to domain fronting.

Amazon is not saying that they must match, they're saying that you can't use someone else's domain for domain fronting without their permission. That is, if the domains don't match, whoever owns the domain indicated in the TLS server name must give express permission to do that.

I don't think their infrastructure can actually block it, they just ban your Cloudfront account if they happen to know this is going on. So you can probably get away with it if you keep quiet and nobody finds out.
I don't particularly agreed about this being what "Python is supposed to be such a great fit for."

I've been to quite a few PyCons and never heard anyone espousing this view, but I'm open to the possibility that I have missed it. Can you link me to a piece of media that you think persuasively makes the case that this is what Python is supposed to be for?
I really don't understand the HN reaction here. Why all the presumed negativity? This is tech, the best encyclopedia in the world is built on volunteer work and donations. A genius builds the de-facto version control system on his own in 3 months for fun. 2 guys in a garage build revolutionize search.

Certainly there are logistical differences between these things, but I don't understand why one would assert with confidence that such a project (that already seems to be working) couldn't work.
> I worry when I talk to my friends at Google, OpenAI, and other well-funded institutions that their easy access to massive resources is stifling their creativity. Why do things smart when you can just throw more resources at them?

I'm not convinced that this is a real problem. The big tech companies have way more compute than anyone else, so they should do the large-scale experiments that no one else is able to do. It's true that you don't have to be particularly creative to come up with a lot of these experiments, but nevertheless they should be done and there is a lot of scientific value there.

I absolutely agree that more attention needs to be paid to smaller institutions since they're just as likely as anyone to come up with the next great idea. Double blind conference submissions help with this to an extent, but they're not a panacea. If you see an anonymous paper that has performed a thousand Imagenet experiments, is there really any doubt where it came from? And similarly, if they didn't perform a bunch of Imagenet experiments, is there really any doubt that it didn't come from one of the big players? So now you can mask a bias against small institutions as a subtler "you didn't perform enough Imagenet experiments" excuse. (Incidentally, this was the main reason that the paper by Smith & Topin was rejected from ICLR [1].)

EDIT: Full disclosure, I'm currently working on a set of not-so-creative (but still IMO important) experiments that use a large amount of compute at Google. So I have some bias here. :-)

[1]: https://openreview.net/forum?id=H1A5ztj3b
It think it's pronounced numpy...

That said, I've always rhymed it with lumpy, haha
Nice. Our 200+ unit condo building in Portland just got gigabit internet via line of sight radio on the roof from another building with fiber.

This is a trend that will definitely take off and removes the huge barriers of entry that laying cable requires. 1ms latency too.
So don’t? The dev isn’t forcing you to give five referrals to sign up.
That's a nice sounding comment, but... could you be a little more specific about what particular "traditional Unix-y things" did Python 3 say "no" to?

...I can't really think of many, if any at all. Sometimes you just say "no" to "inertia".
I also see the quarterly cash burn of $1.054 billion, and also don't understand how the company could reduce capex by $0.4 billion this year at the same time it aggressively ramps up Model 3 production... seems optimistic.

Looks like Tesla will need to raise more cash fairly soon.
I find Amazon's products often have bizarre constraints like that. They seem to do well anyway though :/

Thanks for your comments! I wonder if I can create some kind of personalized briefing based on which stories people seem interested in.
Also not obvious or noticeable from a position of privilege: many, many white men have no opportunities or privilege and thus are discriminated against for simply being the same race and gender as a very thin slice of upperclass society.
A strategy for this is outlined in the (great, IMO) book "Never Split the Difference": treat the interaction as a negotiation, and adopt a EQ-first approach. The book has some good phrasing hacks and other subtle messaging techniques designed to place both people on the same team, solving a common challenge.

Yes, it can be exhausting if you do this in every interaction. But I've been picking 1 interaction per day and implementing those techniques to significant success.

[edit] Relevant article from the author's site: http://blog.blackswanltd.com/the-edge/the-key-to-disarming-t...
The only silver lining is that www.openstreetmap.org (OSM) will hopefully get more love.

Since google admits that 98% of current users will continue to incur 0 cost this is simply a blatant way of getting a real name associated with their user data.
CNBC business:

In the quarter ended March 31, Tesla's net loss widened to $784.6 million, or $4.19 per share, from a loss of $397.2 million, or $2.04 per share, a year ago.

Revenue rose to $3.41 billion from $2.7 billion a year ago, and outpaced analysts estimates of $3.22 billion.

It's deceptive to list the revenue in dollars and the loss in dollars per share. Reality is a loss of $785 million on $3.41 billion revenue.
The GIL is a pretty nasty problem once you try to scale things beyond one core.

Simply try something like unpickling a 10 GB data structure while keeping your GUI in the main thread responsive. You cannot do that because the GIL locks up everything while modifying data structures. Move the data to another process instead of another thread. Great, your GUI is responsive but you can't access the data from the main thread.

You can say that such a humongous data structure is wrong or that a GUI isn't meant to be responsive or programmed in Python or that I'm holding it wrong. Probably right.
Do you mean Huge Pages?
Here's your Hello World in real Qt code for reference:

import QtQuick 2.7
import QtQuick.Controls 2.2
ApplicationWindow
{
title: "Example"
Button {
height: 300
width: 300
x: 50
y: 50 // not represented in the react code for some reason

onClicked: console.log("Hello")
}
}
If you're on mobile, I'll save you some time. There is no way to locate the pricing page. And yes, the navigation menu is completely empty.

I was able to get on a desktop and find the pricing page. Here's a link:

https://cloud.google.com/maps-platform/pricing/sheet/
I've got to know more about this. Who set it up? Local start up? Bored engineers?
That would be amazing if they did achieve GAAP profitably, considering that GAAP earnings include stock-based compensation, non-operating expenses, and R&D expense.

OTOH, GAAP because generally requires R&D to be expensed in the period incurred, Tesla may really be saying that R&D expenditures are expected to drop to near $0 in Q3 (R&D being their biggest non-operating expense). That should worry investors if that's really what's happening.
I've used it in a couple production deployments and it's solid. It's only ~300 lines of Rust code, so I'm confident it is simple and even if I had a problem, would be easy to understand.
In case you ever feel like its a waste of time, I, for one, appreciate your posts with notes + numbers.

Its so easy for conversations about these things to get derailed about, oh, I dunno, flying cars, that its great having your post with hard numbers there to keep the discussion grounded.

Its great that companies have big dreams and grand visions, but how will it work out in the numbers?
QML isn't only about markup, it also support property binding directly in the language - it's a full-fledged reactive environment.
$ time ruby --disable-gems -e 'puts "hi"'
hi

real 0m0.009s
user 0m0.008s
sys 0m0.000s
Yep. I ranted about this in another thread recently so I won't rehash (much), but part of what I dislike about Windows is that its excessive complexity creates a gulf between the quick fix and "welp, time to reformat." And thanks to the need for backward compatibility, I doubt it will ever get better.
The 3 series is pretty late it its product cycle:
Sixth generation (F30/F31/F34; 2011–present)

I would expect a surge in 3-series when they next release a new generation.
Wow, why would they ever send "id" as a number? Seems like a terrible idea when it doesn't fit in the medium's spec (JSON).
Makes sense.

I see that the limit you mention is for dynamic maps. Somewhere else, they say "Requests for Dynamic Maps and Dynamic Street View (Street View Panoramas) will be billed at a higher rate than requests for Static Maps and Static Street View. Dynamic Maps and Street View images respond to user input; the Static versions do not."

I imagine that this is an incentive for developers to use static maps (which you could replace with dynamic ones when the user clicks or hovers on them). If you used static maps alone, that's 300K loads per month, or $480. You would deduct the $200 credit, for a $280 bill, but then pay full price for all the other services. I can see how that adds up quickly...
binaries, not structured objects. Redundancy via erasure coding, etc.
Case in point: girls and boys are diagnosed with autism at wildly different rates. But how much of this is due to actual differences in the incidence of autism versus the differences in the way girls and boys are socialized resulting in different appearances of symptoms?

This is true of many behavioral and cognitive conditions. The symptoms and severity of things like schizophrenia vary significantly from culture to culture (in some cultures schizophrenics hear benign or even kind voices versus here in the western world where the voices tend to be harsh and violent).
> PayPal, and most other "payment facilitators" do a much better job handling disputes. In PayPal's case they provide a much fairer arbitration process (funds are held by PayPal, and a website with message thread is created allowing communication between the merchant, customer, and arbitrator).

How does this work if the customer paid Paypal with a credit card and initiated a chargeback? I get the credit card/user could be blacklisted but PayPal would still be out the money even if the seller won the arbitration case.
Ask HN: Help me choose a REST API to build
Hi HN! I've never built a pure REST API before and I'd like to build one as a side project. What simple API do you wish existed and why? Thanks in advance! :-)
Pfffft. Yeah there's "nothing stopping you" except for everything.

You can't get rid of the window manager, the Finder or the Dock. Heck, you can't even stop Finder from running in any supported way and even if you manage to, you can't replace Finder in every program to open or save files.

You can't replace the Dock because Apple won't let you modify a private API for describing available screen space. Every Dock replacement has the same bug - windows end up behind the replacement dock when you maximize them.

Even Microsoft gives you hooks to change things like the Taskbar, Explorer and so on where Apple gives you nothing.
And if we want to compare the syntax then this would be the QML equivalent:

import QtQuick 2.9
import QtQuick.Controls 1.3

ApplicationWindow {
title: "Example"
visible: true
width: 300
height: 300

Button {
text: "Button"
anchors.centerIn: parent
onClicked: console.log('Hello')
}
}
It's almost as if evolution of software is an iterative process where all parties move a bit at each step, not one from 0 to "fully planned ahead in advance (by expert committee)".
> Very plausibly, the main reason why we haven’t made progress [in physics] is that we’re not doing the right thing. We’re looking in the wrong places. We are letting ourselves be guided by the wrong principles. It’s about time that we rethink this because, clearly, it’s not working.

This is the vaguest possible call to action: "think different." Okay ... but who doesn't intrinsically understand that this is required for a 'breakthrough'? Perhaps it is just a plea to funding groups to consider more projects outside the mainstream?
Show HN: Convert JSON to code on any webpage with our interactive widget
>- "Our Model 3 general assembly line consists of fewer than 50 steps, which is about 70% less than conventional assembly lines. All Model 3 vehicles use only one standard body frame, down from more than 80 for Model S, a wiring harness that has 50% less mass than average vehicles, and a fraction of the number of controllers, connectors and CPUs."

There is a lot to unpack in this statement...

I find it hard to believe there were 80 unique body models for the model S. The S has 3 major trims and about 3 major options that could even theoretically change things like wiring harnesses or body panels. This seems to me another Elon overstatement (air resistance and heat and robots oh my...).

also, re his later subcontractors comment. I have been given the impression here and by industry friends that subcontractors are increasingly unwilling to work with them.
Yes! The most effective treatment is behavioral therapy and the results are better if started early. At young age the brain is very plastic and for light cases you can teach all the things that are innate to neurotypical kids.
I don't understand what you mean with the remark about context. But otherwise no, I don't live in any of these countries. Also, it's not that I "don't care". It's just that by what I know, Apple is the least risk to my privacy and well being.
Here's an equivalent Qt example though, shortened like yours:

import QtQuick 2.7
import QtQuick.Controls 2.2
ApplicationWindow {
title: "Example"
Button { height: 300; width: 300; onClicked: console.log("Hello") }
}

look ma, 6 LOC !
I'm having a [Poe's law](https://en.wikipedia.org/wiki/Poe%27s_law) moment here. You've just applied Abstinence Only Sex Education 'logic' to infectious disease. This is either brilliant satire of the odd arguments against harm reduction in general, or... you're serious, and I agree, it's a crying shame nobody taught all those poor smallpox victims how to modify their behavior.
Check out Jim Camp. I have read a few of his books. One I really benefited from was "Starts With No!".

https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3...
Product Experimentation Should Be Modeled After Gambling, Not Academia
SEEKING WORK - Seattle Local or Remote

Full-stack web developer, specializing in engineering a solid User Experience. Expert-level JavaScript, PHP, and Ruby. Confident with Go, Perl, and Python too.

Specialties:

- User Experience Engineering

- Technical writing and documentation

- Elasticsearch Tuning

- RESTful API design and implementation

- React SPAs

- Web Scraping

- Speeding up large JS applications

- Cleaning up "stinky" internal applications (i.e. a home-grown time tracker)

Special Discounts:
Are you looking for someone to help with either an Alexa Skill or VR application? Let's talk!

Open to contract or full-time. Web presence:
* http://www.leesome.com/
* https://github.com/geetotes
* https://www.linkedin.com/in/leegillentine/

You can contact me at: lgillentine (at) gmail.com Thanks!
Imagine my confusion back then.

I could push fine to BitBucket if I used Python 2 version locally, and same for my VPS if I used the Python 2 version both locally and remotely.

But as soon as I touched the Python 3 version of Mercurial the pull/push problems began. I don't recall the exact error and maybe it's fixed now (this happened like 6 months ago), but I don't think I'll give it another try for some time.
So, take the Python 3 string changes as an example.

Python 2 scripting on Unix was great! Python just adopted the Unix tradition of pretending everything is ASCII up until it isn't, and then breaking horribly. And then the Linux world said "just use UTF-8 everywhere!" and really meant "just keep assuming things are ASCII, or at least one byte per code point, and break horribly when it isn't!"

This was great for people writing command-line scripts and utilities. This was a nightmare for people working in domains like web development.

Python 3 flipped the script: now, the string type is Unicode, and a lot of APIs broke immediately under Python 3 due to the underlying Unix environment being, well, kind of a clusterfuck when it came to locales and character encoding and hidden assumptions about ASCII or one-byte-per-character. Suddenly, all those people who had been using Python 2 -- which mostly worked identically to the way popular Linux distros did -- were using Python 3 and discovering the hell of character encoding that everybody else had been living in, and they complained loudly about it.

But for growing from a Unix-y scripting language into a general-purpose language, this change was absolutely necessary. Programmers should have to think about character encoding at their input/output boundaries, and in a high-level language should not be thinking of text as a sequence of bytes. But this requires some significant changes to how you write things like command-line utilities.

This is an example of a "yes" to one group being a "no" to another group. Or, at least, of it feeling that way.

Also, saying that Python was a great Unix-y language is not equivalent to "Python only ran on Unix and never supported Windows at all", and you know that, so it was kind of dishonest of you to try to start an argument from the assumption that I said the latter when really I said the former. Don't do that again, please.
I suspect that's 98% of users in the literal sense, with a very long tail of them having very little traffic. It's not the same as 98% of user traffic, i.e. API requests. :-)
they are the most popular because they are needed to access a service. But they are all a fucking pain to use.
Youtube is another big one too! youtube-dl is a godsend.

> There is a serious push to criminalize memory.

I hadn't thought about it that way, but it seems so true. And thanks for sharing bup!
They're describing a different kind of automation. COM APIs were commonly used for hosting an application and automating functionality that normally would require UI interaction. You can do this with the MS Office applications, among others.
That would indeed be objectionable! For someone unfamiliar with that history, can you give a few projects I should read up on to find out more?
The biggest thing is likely the str/unicode change. In py2, if working on a unix system with only ascii, you never had to think about strings. Suddenly with python3, you had to a little bit.

The gain was that for everyone else (read: web, non-English, anywhere where unicode is common), python became much easier to use. But for those specific english-unix-ascii cases, it was a mild inconvenience.

Edit: as ubernostrum pointed out, more than a mild inconvenience if you were porting code. If writing new code, it was not much worse, but porting was absolutely a pain.
I accidentally shortened my USB port on a PC in a long chain of USB peripherals and only realized when I almost burned my finger on the most remote (wrongly connected) peripheral. I am really happy my mainboard didn't throw in the towel then.
> they should treat it like a serious business and not a nonprofit.

A non-profit organization can be as "serious" as any for-profit business. The only difference is the non-profit might, for example, be required by their charter to re-invest income back into the business instead of paying it out as profit to the owners/shareholders/etc.

The level of "seriousness" of an organization should be determined by their business plan (is it profitable? And sustainable?), not their profit motive or financial footprint.

> if they're going to invest significant amounts of their personal time/engineering resources

First, it's their time and resources to spend as they wish.

Additionally, a suggestion I've heard is that pursuing anything that requires a serious investment of your time and resources (e.g. a job/internship, school, non-paid opportunities for "exposure") is worth pursuing if and only if it at lest two of these are true: [pays well/profitable, will improve future opportunities, you really enjoy it]. (If you love doing something and you're learning a lot or gaining experience that looks great on a CV, it can be worth a serious pay cut)

> build a network that actually does meet five nines through sufficient diversity in topology and routing

That is a good goal, but it isn't strictly necessary at first. Limit growth to what is possible at the time, and grow into a larger organization if it's successful.
Why is it morally right for me to contribute to healthcare for someone who lives in America but doesn't pay taxes, but not morally right to pay for someone who lives in a different country and doesn't pay taxes?
Which you can easily argue is not the place right now to be picking your Starter Home.

The point still stands.
http://files.shareholder.com/downloads/ABEA-4CW8X0/623988100...

If you look at the financial statement their cash flow used by operation went up 4x from the same quarter last year. Their margins on their cars are getting worse, I guess probably due to the model 3. Maybe Musk would have been better off just focusing on their high end cars and get all the processes ironed out.
Solid cash burn of ~12 million per day.
My company already has a program to encourage this. And I've experience mentoring for such programs. In my experience there is a void to fill for children who are about to exit the foster-care system, or transitioning into legal adults.

I'm interested in targeting that void, and providing a working-mentorship where I can educate on things like what a supportive manager, how to prepare for an interview, look for jobs, etc.

Your comment is valid and I see no reason for them to let me re-invent the wheel. But this is something I'm pursuing with or without their support.
Except the only reason there aren't enough homes is because of artificial limits on construction. There's more than enough space for everyone, it's just that those who are currently winning are using their dominant position to make sure that no one else can have a fair shake.
> The GIL is an implementation detail, not poor language design.

As I understood the GIL simplifies data structures by removing any regard for concurrent access.

If you remove the GIL you must move your synchronization (mutexes) into the data structures and immediately get a big performance penalty.

If you wanted to avoid this overhead you run into swamplands where the programmer must take care of concurrent access patterns and everything. Also many CPython modules would stop working because they assume the GIL.

It can be done but last time I read about the GILectomy there was no clear way forward.
> Rewrite as much of Mercurial in Rust as possible, which will provide performance improvements well beyond what Python can possibly offer. https://www.mercurial-scm.org/wiki/OxidationPlan

I read that article and I'm still wondering: why Rust?