skysight-inc/HackerNews huggingface dataset:
I always thought that "climate change" was coined to be harder to dispute for laypeople. A global warming denier can point to a chilly day, or a day of snow, and say "some global warming, huh?" because they are ignorant of the concept of global average temperature. Much harder when the it's phrased as climate change — snow certainly isn't warm, but can one really argue that it is a counterargument to the existence of change?
Yeah, it's unclear from the article what the product is actually going to be composed of. 70% dark chocolate means basically 70% cocao and 30% sugar. Is it still going to be 30% sugar? It might not be cane sugar, but it'll still be sugar.
>they swiped the name "substack", which is a handle that's been used by open source hacker James Halliday

Did they use the "substack" name because JH made it famous? I've heard of the word "substack" before but I've never heard of James Halliday.

"substack" was in use for several decades before 2006:

https://books.google.com/ngrams/graph?content=substack&year_...
Having had to discern performance issues (poorly align/absent indexes, optimization fences, etc...) I much prefer postgreSQL over mySQL especially since postgreSQL's query planner is much more advanced than mySQL's.

For highly patterned data access some of those options are quite good to investigate and invest in before getting serious about DB tuning (since, from my experience, once a company starts being serious about DB tuning it is a constant maintenance cost) but a lot of usage - especially for younger companies - are not such that caching will buy you much on the expensive components.

This comment is really conditional on a bunch of things so I wanted to clarify that I'm not disagreeing with your statement on performance directly, but I am disagreeing with it being a generalization. Performance is complicated and there is a lot to keep in mind.
weird title, seems like cnn is trying to make it seem that amazon is being effective at eliminating cardboard
I know TB3 is not USB-C, but as long as a TB3 cable is USB-C compatible (can you really call it "backward" compatible if TB3 is not USB?), that cable is a USB-C cable. You can use it to connect 2 USB-C devices. That means there is more than 6 kinds of cables you can use to connect USB-C devices to each other, contrary to what the article says.
If they can help podcasters monetize more effectively they'll unlock a big market
I was just thinking how awful of a human being Peter Thiel is for obviously trying to draw negative attention away from Facebook, but I guess the world rewards awful people.
Borked Unicode: Tips for journalists on writing clean copy
What is Thiel’s current stake in $FB? I’m wondering if this was a play out of the GOP playbook, accusing your opponent of the things you’re actually doing.
Snowflake: Turn the browser into a Tor bridge to help censored users
Uh, no? The idea is to have a full featured object mapping layer that can work with multiple database backends.

Doing mapping of db result sets to object is non trivial, no need to do develop it multiple times for each RDMBS when 90% of the code would overlap.

I'd work on the sarcastic attitude though
You seem to be including deaths of non-passengers in case of buses and trains. If you correct for that, buses and trains are still safer.
The first few years are indeed fairly taxing and energy/happiness sapping overall. Once they can have a conversation and you can experience (and guide) them learning things, it gets way, way better!
Interesting. Here in UK Apple maps seem to be a barren wasteland, at least up here in the north of England. Anything outside of major cities is exactly how my first Garmin satnav looked circa 2003 - lines going through absolute nothingness. And wow, don't even get me started about voice navigation - it constantly picks a wrong address, like 90% of the time. Google maps is pretty bad too(absolutely zero clue about one way streets or no left/right turns) but at least most POIs are actually there.
This article omits some pretty relevant info:

* Thiel founded Palantir [0], which has a very deep and ongoing relationship providing counter-terrorism info and analytics to 3-letter agencies. His comments are likely an attempt to protect Palantir's contracts from Google.

* Google recently (2018) had trouble with employees exposing a censored search engine project targeted for China, and quitting over it [1]

[0] https://en.wikipedia.org/wiki/Palantir_Technologies

[1] https://www.nytimes.com/2018/08/16/technology/google-employe...
I think it's most likely done with the API. From what I remember from looking at it a while ago you can create the entry before, then it'll give you the right endpoint where you post your actual file to later on in the process. You just have to do that quickly enough so the endpoint doesn't expire.
This is not 100% true, if you go to an existing business listing and scroll to the bottom there's a "report an issue" option. Apple has fixed my reported issues within a few days in the past.

In another sense I'm not sure why it should matter to the end user how many interns Apple hires to do things behind the scenes. I'm imagining that Apple is well aware of these shortcomings. Not only that I wonder if operational information observations like this quickly become outdated. i.e. it's all manual and terrible until somebody gets around to automating it.
Tessa (and Ford previously) were actually oddballs in that they didn't use "off the shelf" infotainment units.

Isn't being different great sometimes?
Possibly JSON operators
> > Precomputing values without I/O is conceptually just an advanced kind of compiler optimization, and that’s why Rust is basically seeking to make const fns only pure functions.

I agree that generating an array at compile time is perfectly fine. I was saying that I/O should be restricted in compile-time computation, which the person I was responding to made me believe was entirely unrestricted in compile-time computation in D.
Perhaps a bit off-topic, but I'm curious: is there anything like this for Linux <-> iOS?
My brain doesn't do .co. No matter how I try. Duck.com works for me though.
Then why does the Space Shuttle use Titanium with high pressure NTO? You have to understand the context of that statement.
Maybe
1) start upload till URL appears
2) go offline
3) replace file
4) go online
The likelihood of a child becoming such a climate messiah is astronomically smaller than that of a mere additional exponentially-reproducing, exponentially-consuming carbon footprint.

You're better off trying to impress eco-friendly memes on the offspring of people who insist on breeding no matter what. The notion of having kids to fight climate change is silly at best.
my guess is the url is a hash of the video upload time, username , video length (is deterministic) so he uploaded 100 (or 1000) and kept the one that worked

tip: if you see something magic it's usually just dilligence in disguise. (like the Prestige)
Would you mind reviewing the site guidelines? They ask you not to take HN threads further into flamewar and not to call ante-upping names like "rats".

https://news.ycombinator.com/newsguidelines.html
Smaller box isn't always the most efficient.
Many software updates are effectively product recalls, even if we don't call them that. Replacing the most recent software with a recalled version could be a safety concern, depending on what bugs exist in the old software.

I don't know exactly what obligations automakers have with respect to recalls, but I would expect that it's something more than just "we aren't allowed to make the car any more broken than it was the day you bought it".
Not for me. When I'm uploading a video even when it's at 0% I see "The URL of your uploaded video will be: blah"

So it seems you can get the URL immediately... maybe then stop the upload mess with the video and then resume the upload... but I assume the resume feature takes a hash or something to make sure it's the same file..
This is why Thiel's backing Trump was such a smart move, purely in a realpolitik sense.

If Trump had lost, Thiel would have taken a minor reputational hit based on Trump's pre-election behavior, but since no one thought he would win anyway, it could have been written off as him just taking a chance on an outside candidate. None of the really controversial stuff would have happened, so worst case scenario Thiel looks kind of foolish and wasted a bit of money.

If he had backed Clinton and she won, he would just be one of many Silicon Valley backers, with no particular voice over and above the other billionaires.

But now, Thiel is the only person in Silicon Valley who the President will listen to. That's got to be worth way more than the 1.5 million or whatever that he spent on it.
It could be, or it could even be that whatever process that brings code from development to production is less stringent on internal applications. Maybe people don't review the code as closely (or at all!), maybe they have fewer tests for internal code. "Internal only" applications almost universally have less scrutiny applied to them in my experience.
If you're wondering what's with the upswing in media articles attacking Google in the last few days, it's because there is a tech 'anti-trust' summit in the White House today: https://www.wsj.com/articles/big-tech-summoned-to-washington...
In this case, the responsible solution would be to provide a room where animals would be restricted, such as an indoor dog-park ventilated to the outside.

The only time I saw animals roaming freely in an office was the office pet and those should be hypoallergenic.
I'd love to be wrong, but I really don't think you're going to find this.
It was a major strain on my marriage, among other shitty things.
New open-source language for describing web UI tests
Cue "Hackers" references. People are tossing smart TVs and other questionably secure internet appliances into random networks. As we add more and more convenience networks to industrial sites, these problems are going to become much more common.
Couldn't time account for that? Like my code looks nothing like it did years ago.
GP is a gigantic field, comprising a huge number of approaches to many different problems, while the paper you cite only offers a brief critique of a small subset of GP as applied only to symbolic regression. So it can not fairly be taken as a critique of GP as a whole.

Even when limited to symbolic regression alone, the objections they cite: 1 - that "state-of-the-art GP implementations often fail to return the original formula from which the input data was generated", and 2 - "the results returned are inconsistent and difficult to reproduce. A user who is not an expert in GP will not likely trust an algorithm which cannot reliably reproduce the same results with each invocation..." are not irrefutable arguments.

On point 1, not everyone is interested in "returning the original formula from which the input data was generated". For one, for many problems the original data was not generated with any formula, and any solution would suffice as long as it meets whatever requirements the user may have. Take the evolving of radio antennas with GP -- something that was done to a human-competitive level decades ago with GP. There the user wants a working antenna with certain properties, they are not interested in "returning the original formula from which the input data was generated". Or maybe the users are interested in evolving a team of soccer-playing robots (which was also done with GP). Once again, they're not interested in "returing the original formula from which the input data was generated". So for these users this critique would be irrelevant.

On point 2, yes, there is a random number generated involved with GP, and if the user is interested in evolving the exact same solution on a different run of the GP without reusing the same PRNG seed, they'd have a problem. But I'm not sure why they'd want to do that instead of just using the best solution(s) on new data. If they just used the best solutions, then they should get the same result every time when the solutions are used on the same data (unless the solutions themselves involved randomness, which is not usually the case, and would be independent of GP anyway).
I like to think a Platform is something that stands on its own (Browser, Node.js, Xbox One) and a Framework is something which brings code patterns and functionality to an existing platform (jQuery, Express.js, Microsoft XNA).
We might not need to dig at all if we can figure out how to navigate lava/magma (lava submarine?).

"The frontier" is an arbitrary concept that we choose. We can choose another one.

We have limited time and limited resources, whatever we use for one thing we stop using for another. When the public mind is focusing on a big thing like space, it is not focusing (and reallocating enough resources) to another big thing like reaching the Earth's core.
Live streaming your live stream
U.S. Poised for Dramatic Spikes in Extreme Heat
I know psycopg2 and other drivers for several languages. They're ok to make queries but they lack everything else ORMs are good at.

I want an ORM, but a smarter one and as similar as possible across languages. Instead everybody reinvented the wheel in every language, with different approaches, more or less over engineering their solution and making the polyglot experience as difficult as learning English and Russian instead of Italian, French, Portuguese, Spanish (learn one, you'll get the others quickly.)

My background is that I learned SQL almost 10 years before the first Java ORMs went mainstream. I've been using ORMs since the 90s but for writing queries they're a kind of waste: the query in the example in Rails is

Employee.joins(:departments).
limit(10).
order_by("employees.id desc")

at the cost of

1) defining some relationships between the tables in the models

2) learning how to translate SQL in Ruby

ActiveRecord is magically convenient most of the time. Sometimes it's quicker to write that SQL, sometimes is not. Django (I can't remember the name of the ORM) and Ecto are nearly always slower to write than SQL, especially Ecto.

For complex queries SQL is the only way to go in any framework and the ORM is there only to deserialize the results, so why not using it for simple ones too?

Employee.find(params["id"])

is about the limit.
Huskarl: The Modular Deep Reinforcement Learning Framework
While we're speculating, I imagine mosquitoes would be a good candidate as well - it's a natural vector of infections, common enough to be dismissed/ignored..

Oh, I see it also happens to be popular among conspiracy theory enthusiasts, and not without basis in some fact.

http://www.hoaxorfact.com/technology/tiny-robot-mosquito-dro...
If the embedding relationships aren't stable over different trainings, then they aren't really meaningful right? It's just noise in that case
It's a problem of scale and similar to other issues of automated criminal justice. If having your issues heard in court were a few clicks away that would blow the system up, which is why cities swat away automated filings in any way possible.

It implies an uncomfortable truth that justice relies on underutilisation in order to service demand.
Berlin's Plan to Preserve Affordable Apartments: Buy Them
I buy carbon offsets, because it helps me feel better about the fact that I believe we are doomed. At least it won't be (as much) my fault personally.

This article has been [flagged] for "sensationalism", apparently. The situation is extremely dire, and getting worse, but people don't want to hear it.

They want a quick fix geoengineering, or magic nuclear (about 30 years too late for that, guys), or just to bury their heads in the sand and assume it won't be that bad.
CNBC, who employs one of the biggest Tesla fans out there as an automoive journalist (Phil Lebeau) is against Tesla? Then you cite a reddit forum and CleanTechnica, whose "authors" disclose their financial interest in Tesla, something against the rules for journalists at a place like CNBC?

These forums are getting astroturfed badly.
One of the Substack founders here. Thanks! We definitely aim to “build something people want”
Or you know just export your data to a data lake like redshift spectrum and let the analysts pay for their usage by querying from s3 and take them out of the equation on how you run the website. There is no need for a one size fits all solution here nor a centralized approach.
> hard to review code

I built ReviewNB specifically for Jupyter notebook code reviews [1]

> various kinds of tests for each of them

Checkout treon, open source test framework for Jupyter Notebooks [2]

Some other tips,

- Move code into Python modules whenever possible

- Maintain dockerfile / requirements.txt so your notebooks are easily reproducible

- Setup treon in a CI/CD pipeline

- Setup internal Binder [3] for quickly launching notebooks on cloud machines

[1] https://reviewnb.com

[2] https://github.com/reviewnb/treon

[3] https://gke.mybinder.org/
Wouldn't it say streamed instead of published then in the description box?
If I was their user, I'd want to know if they were so carelessly exposing my data.
>Facebook’s core revenue model around Libra is that more online commerce will lead businesses to spend more on Facebook ads

That's not believable, but I think it was meant as a believable motivation that could be told to people to make them feel like they understood Facebook's motivation.
Most of the expo line doesn't have gates.
Reminds me of the brilliant New York Times crossword which "predicted" the winner of the US election in 1996:

http://www.alaricstephen.com/main-featured/2017/7/3/the-clin...
> I can't think of a single software tool that has enabled more productivity than a spreadsheet.

I submit to you: a clock, and a calculator. :)
Strict mode is like 1/4'th of the safety that PostgreSQL gives you. Robust types for columns. Safe transaction semantics. Better tools for enforcing data consistency.

MySQL has a long way to go before it can give you the same security for you data that PostgreSQL does.
ContractorUK is actually pretty good, and have some good starter articles:

https://www.contractoruk.com/first_timers

Also their forum is active and also ok.

My only warning is that there's presently a shit storm for contractors raging which is HMRC's handling of IR35, basically them trying to tax all contractors as employees even though they have none of the protections.

I'm not contracting at the moment, but as I understand it, it makes a massive difference to take home if you get caught in IR35.

New rules are supposed to be coming in from April 2020. I think public sector contracts are already under new rules and it's much more likely in that sector to get a contract that they're declaring to be under IR35.

Because you have to pay the employer's NIC bill as well as your own I think it means some contracts are ultimately worth something like 16% less than advertised.
Thiel bragged about making contrarian bets like this. It's the political version of Moneyball.
I think one kid improved my life quite a bit. At three of them, it's hard to really enjoy time with any of 'em—not impossible, but much, much harder—yet the amount of time, effort, and money they take is way higher. Probably worse than no kids from a pure how-happy-am-I-on-average perspective.

I'd think the relationships between the personal happiness and life-satisfaction at various states looks something like:

three kids < no kids or two kids < one kid

But they're all youngish, so we'll see how things change as they get older. Reckon there'll be a couple years in the middle where things are pretty good, then, odds are at least one or two of them will make life a living hell during their teenage years. But when they're grown up and I'm old probably that'll be OK.

[EDIT] though we'll see how I feel at 55 when I make the mistake of running the numbers and realize I could have already retired if we'd had zero :-/
You don't, at least if the syntax/semantics is as complex as Python!

Recommendation:

Find a subset grammar for Python, by doing a search on computer science classes on university sites. You will find the published Python subset grammars probably too small for your purposes, but they are a start.

See if any of those subset grammars meet your needs.

IF not, remove from the published official Python grammar, various features that you do not need or are not easily understood. I recommend you keep the production rule for "class"

When you get a subset grammar that meets your needs, it will have to be well-formed, meaning it passes reachability, derivability, and non-circularity tests, has no undefined non-terminals, and is complete with a start (i.e., goal symbol.

You should then remove left-recursion and left-factor the grammar so it is LL(1).

Run your grammar through some of the on-line syntax checking sites to be sure the grammar is unambigous and is LL(1). You can use the online Grammophone tool from the University of Calgary to check your subset grammar.

After the grammar passes the LL(1) tests, find a top-down, predictive, compiler-generator that generates recursive-descent parsers, and not tables. The compiler-generator will also perform tests on your grammar and let you know what needs fixing.

I forgot to mention that you will also need to define the lexical tokens needed for the scanner portion before you can generate your scanner and parser modules.

After you generate the scanner, parser, and a main module to call them, you will have created a fast syntax checker for your subset grammar.

Run the fast syntax checker, preferably within a program editor or IDE, as you write your Python programs

You can also create "template editing macros" that will insert into your editor, portions of a Python program, but with portions elided, that you gradually fill-in. Also, you can add syntax-highlighting to your editor.
> In an interview Monday with Fox News Channel’s Tucker Carlson, Mr. Thiel suggested Chinese intelligence agents are likely to have infiltrated Google as it works on an artificial-intelligence project in the country. Mr. Thiel, in the interview, didn’t offer evidence that backed his claims.
What seed-stage dilution tells us about changing investor expectations
FWIW, there are newer defaults and modes that help with old quirks.

Sadly MySQL still lacks TIMESTAMP WITH TIME ZONE.
> The term is used largely by cryptozoologists, proponents of ancient astronaut theories, young Earth creationists, and paranormal enthusiasts.
This. I’m missing KDE Connect so much since moving to iOS.
I am very sure that high profile users can do that.

edit: Yes, sorry for the crappy source though -> https://www.reviewjournal.com/insidetech/youtube-lets-some-u...
I love dogs and have one myself, but I don't think this is always a good idea. Maybe bring your dog in once a week or something like that but every day is too much. Some people have allergies, some dogs are poorly trained etc.
You can easily brute force the problem for realistic orders from amazon.

What probably happened is the picker in the fulfillment center just had a larger box more readily available than a smaller box, so they took that one.
I went to the OSHO meditation center in Pune, India for a few days, while working over there about a year ago. It changed my entire outlook on life, non-withstanding the Netflix documentary "Wild Wild Country" which is about the meditation group.

I did three days of 15 hour different meditations. To this day, I still feel totally relaxed during contentious business projects. I plan on going again at some point.
Okay, Trump is probably on his way out. And I wonder what all the other people in Silicon Valley think of Thiel, I guess when you have that much money it does not matter. Plus this is mostly grandstanding.
It's apparently even been done before, see here at around the three minute mark: https://youtube.com/watch?v=UMYTSJTU0Vk