skysight-inc/HackerNews huggingface dataset:
Fun fact: Recursive CTEs are one of those things where, if you come in relatively new to them, would make you go "who would ever want to use this, and why?!"

Funner fact: Once you come across a problem to which the solution is to use a recursive CTE (handling train movement graphs in an RDBMS? yes please!), you'll find yourself having to explain your reasoning for it in a manner that will let you truly grok recursive CTEs.

Funnest fact: Both the above will almost certainly happen more than once in your data-wrangling lifetime.

(Or maybe that was just me...)
Symbolic Side-Channel Analysis for Probabilistic Programs [pdf]
For every Theranos, there are 25 Stripes, Dropboxes, and Mixpanels.

It’s not a good trade off at all.
You're comparing apples and oranges. Rocketry is a domain which until very recently was completely the province of governments. Lack of competition definitely causes problems with innovation. Also, I've read some articles that suggest SpaceX is unlikely to achieve the economies they tout.

The car industry has essentially always been very competitive, with a number of innovative companies. Consider the rise of hybrid cars with Honda and Toyota leading the way. GM famously did a lot of the pioneering of modern EVs.

Also, the point grandparent was making is that you see a similar pattern of deception from Tesla. Sure, maybe sometimes it works out. But not always.

Another interesting question is whether deception is actually bad for human advancement in the long run. In fact, maybe the answer is no. I bet a lot of innovations came about because of founders essentially lying to investors to get a check and then ultimately finding a way.
>Macartney would never have really considered Quianlong as equal to the King of Britain (England and Scotland became Britain a little earlier). I am also sure that Quianlong's people would have had exactly the same notion in reverse for exactly the same reason.

Only one side would be justified, being an ancient civilization (as opposed to a recent-ish tribe that entered written history only after the Roman conquest), and the biggest economy of the world for many millennia...
Yes, but the costs might prove to be too high. For example, if people owned their own, they wouldn't need people driving around town collecting scooters to recharge, and then driving them back to a drop-off point. Likewise, rented scooters probably have a far shorter lifetime due to theft, harsh treatment, abandonment and so on.
Every year spent studying you miss out on working at some entry level job for ~25k/y. After 5 years of study, you (in Europe) have accumulated a debt of ~$25k-$50k depending on whether you've had a side job or help from your parents. That means you've lived for ~$10k/y for 5 years, where someone in the workforce lives on significantly more, and at the end you're in debt as well.

Obviously the upside is that you get a job where it is reasonable to expect that you'll be able to repay the loan in about 10 years, but that's something you worked for, and something an ambitious person in the workforce might achieve as well.

Anyway, I don't think you can simply say it's unfair to aid students in their living expenses while they're studying. Obviously they're usually having a great time studying, but they also don't own a car, or a house and instead live in tiny apartments sharing privacy with other students. They usually delay their family building for the entire span of their studies, and often even until they've paid of (most of) their debt. But yeah, have them work some extra in the summer while the workforce is driving their caravans to southern France...
Agreed, when an app I don't love does this I now go out of my way to always click the "I love the app" button and then give a negative (honest) review.

OTOH if I developed an app I'd probably do the same thing :/
The best part is when your kids complain about having to write a 1500 word essay and you show them what's up.
How to create a drag and drop component for mobile
Meanwhile, Ather Energy, an electric scooter startup based in Bangalore, India is launching charging stations across the city and it'd be free to use for the next six months (for any type of electric vehicle).

https://blog.atherenergy.com/ev-adoption-made-easy-with-athe...
India and Netherlands to Set Up ‘Startup Link’ on May 25
Scala vs. Python – What You Need to Know
In bike-friendly European cities like Amsterdam and many German cities you generally have dedicated biking lanes which makes this a non-issue. On bike-unfriendly cities like Paris the sidewalks are often so crowded and filled with obstacles that merely walking fast can be challenging at times.

I can believe that it works great in American cities with very large roads and mostly deserted sidewalks but that wouldn't translate well everywhere I think.
Compile Time Prevention of SQL-Injections in Rust
America's Rich and Powerful Have Permission Slips to Get High
Interesting, I must have overlooked that before. Thanks for the info.
Continuous, but if digital systems are limited by bit count precision, analog systems are limited by SNR, distortions and "inertia".

How the brain deals with it is the interesting part (hence why our "adversarial examples" are different from Artificial Neural Network ones)
See, my problem isn't that I worry about the children getting ill from dirt etc. If they want to eat mud then be my guest. I just don't want them touching me / my things afterwards...
Movie and video game soundtracks.

Can't recommend Ramin Djawadi enough(he wrote soundtracks for Game of Thrones and Westworld). Here's a great example of his music:

https://www.youtube.com/watch?v=pS-gbqbVd8c&t=0s&list=PLTT-X...

Hans Zimmer and James Newton Howard are also great:

https://www.youtube.com/watch?v=RxabLA7UQ9k&list=PLyVPkvhD7G...

And I love halo soundtracks, here's my collection:

https://www.youtube.com/playlist?list=PLTT-Xb7kSZWWp4MXXUtny...
>The more I get to know China and the Chinese, the more I realize that these are still the lenses they see the world through.

So, just like major Western powers see other western countries?

(Because for non-western countries, major western powers just see them just as areas to colonize, plunder, and steal from).
Warning: Extremely limiting NDA and CTO used very broad language during interview. The NDA is likely unenforceable, but be warned that interviewing here can set you up for future liabilities for little to no gain.
That doesn't solve the problem, because the question is really how the set of paths available to the particle is constrained.

If you go Full Copenhagen, there are no waves, no particles, and no paths. There are only evolving probabilities - which act in unintuitively non-local but predictable ways - and events which appear to sample one possible result from the current state of a probability density.

The probabilities can be composite, which allows for entanglement and superposition.

The probability part is fairly well understood, or at least fairly easy to calculate.

The exact nature of an event/measurement/whatever is still a complete mystery.

But there is nothing in a naive wave/particle/path model that makes it any less mysterious or easier to understand.
Yes it is, as a matter of fact. Future historians will have this very approach to such matters to thank for the darkness. People have been talking about a digital dark age for some years, now.
4cec+9c
I put a textured matte screen protector on my ipad pro. It feels very much like pen on paper when writing with the Apple stylus.
OPA draws some inspiration from XACML. For example, OPA helps systems separate policy decision-making from policy enforcement. Decoupling means that policy decisions can be more easily updated and more readily understood.

XACML as a specification covers multiple things (e.g., access control language, overall architecture, etc.) If you wanted to map OPA to a component in XACML, it's closest to the PDP.

That being said, OPA gives you a more expressive language to author policy. Also, OPA is intended to be used as building block in other systems. OPA exposes APIs to offload policy decisions from services and manage the policies and data that are evaluated. One of the non-goals of OPA is management-plane concerns around policy storage, policy administration, etc.
Unbelievable. Often wondered how a prolog friendly os would feel..
4acs35sdc
You can easily get cover for working at home. But usually work is excluded from domestic policies; particularly third party liability.

Obviously the liabilities vary, if you're doing prototyping of fireworks in your garage then it's a little more risky than coding!

Insurance isn't always priced solely by risk; work-from-home insurance probably reduces claims for many people but that doesn't mean you can't charge more for it.

It would be interesting to know how occupier presence varies with claims made.
I'm not really convinced by his arguments, a lot of European countries have a higher free market index than the US and US taxes are more complex than a good half of European countries.

I think he overestimates the impact of regulation & "culture" (what does that even mean in a place as diverse as Europe?) and underestimates the effect of having a large market in the US where everyone speaks the same language and have more or less the same culture.
There are no Greeks among the core contributors :-(
Be careful of performance when using CTEs in Postgres: unlike in other DBMSs they are optimisation fences with regard to predicate pushdown so for some queries will result in extra scans for every level of call needed.

Doesn't affect all queries of course, and where is does the difference may not be significant compared to what else is going on (i.e. querying a small tree/graph structure to pull out some large/complex data), but it is something to watch out for when working with data of any appreciable size.
> they were inspired a lot by systems thinking / theory and related fields like biology

How's that?
Electric car battery report shows China overtaking Japan
"Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should." :D
Lose your Amazon.com account for doing returns
Does it mean we can create some machine (let's call it timegraph):

- before some sport event (NBA finals 7th match) we write a question 'who will win, A (1st team name) or B (2nd team name)?'

- do 2 experiments with photon and slits:

* (A)

* (B)

- do not measure their results until tomorrow

- tomorrow (after the match is over) you measure result of the experiment of the team that won and destroy results of the another experiment

- (returning to the previous day): look which experiment shows inteference and which doesn't
65cscc
That sounds a bit like starting with a smoothie and running the blender in reverse until the starberries put themselves back together. The n-body problem is chaotic and 4.5By is a long time. It's incredible.

edit: The actual paper is very readable and very interesting. Props to the NYT for linking it.
A country handing out a brochure on civil defence which was last published during the days of the cold war is a political issue. When that same country clearly has internal problems which threaten to overwhelm parts of society - something even the current government doesn't deny so it would be pointless to deny it here - my reply is very much in line with the subject. To get a better perspective on the situation in Sweden you might want to take a look at what neighbouring countries' governments - Denmark, Norway and Finland being the closest as well as the most interesting examples - state about Sweden and the situation here.

I do not know where you live so I can not make assumptions about your direct knowledge on the situation in Sweden. If you do live in Sweden I assume you follow the news - and by that I don't mean you only listen to Sveriges Radio, watch Sveriges Television and read Dagens Nyheter and Aftonbladet as that will give you a rather skewed image of current affairs. Read both national and foreign publications, especially those from neighbouring countries as these often have direct input but are not hampered by the 'åsiktskorridor' (look it up, it is a real thing). I you do not live in Sweden you can still do the same and draw your own conclusions but you will not have the experience of actually living in the place itself.

By the way, on the subject of me going on 'anti-immigration tirades' it might interest you to know I'm an immigrant myself. This gives me a perspective on the situation in Sweden which some natives lack, both because of my experience from other societies as well as that of my reception in this country.
Why does it seem like every cryptocurrency article is written by someone in 10 minutes?
Why does it seem like the same article is then edited by a 6 year old who speaks English as a third language?
> Seems now it's a wild west when it comes to who gets at them first.

Why’s that a problem for the companies though?
A look back at Rory McIlroy’s sponsorships and earnings
Show HN: Online Accounting Software with End-To-End Encryption
Yeah it only comes bundled if you do a "full" install off the MacOS media. I do a fresh minimal install on mine.

Windows users, myself included, have always been upset about the bundling. When you buy a PC these days you have to spend about 2-3 hours removing all the crap from it or doing an install from scratch to remove the cocked up default windows install. I think that less upset is more toleration via attrition. Accepting the status quo.
Nothing to do with CTEs. The queries were badly written to begin with and should have used LATERAL.
Lead developer here. This is Windows/Mac desktop software which encrypts data locally using a symmetric AES/CBC cipher before storing it to the cloud. In addition we use Secure Remote Password protocol so the server never has access to the user's password.

End-to-end encryption is enabled by default - this provides a very strong layer of security but the downside is that we cannot recover the user's login credentials if the user forgets them. We recommend users write down their User ID and a password hint on a piece of paper and store it somewhere safe (or alternatively disable end-to-end encryption, which allows us to reset the user's login credentials).

The current version is designed for the UK market, but we are looking at producing a US version soon.

Feedback welcome.
This is way too short to be of any use and doesn't mention the big nuclear accidents.
TIL the euphamism "cigar shaped" when something clearly looks like a turd.
85xcewcac
Eh? Currently or in the future? The war is mostly already there; while Iran and Saudi aren't directly shooting at each other they've on opposite sides of the wars in Syria and Yemen.
Show HN: WordPress is 15 years old this week, here are the versions over time
If we are able to get any DNA out amber that would be amazing. From what I understand DNA is not stable for that long. If we are able to get any DNA it would probably be inferred some microscopic structures or something left behind from the DNA. However, even then I doubt it would be complete. So why it would be amazing it would just be tiny fragments of DNA. I doubt we will even get a tiny fragment. So highly doubt we will ever get enough genetic information to be able resurrect a dinosaur. Even if we would could fill in the blanks with bird DNA.

So even if you wanted to I don't think you could. However, a mammoth for instance might be possible to clone.
Only the basic telemetry (which I assume doesn't include any personal data) can't be opted out of in Windows 10 home. Other privacy settings have to be opted in now. The recent "April update" forces you to say yes/no to all data collection settings.
In that case this story should have been voted down or even flagged as it clearly is a political issue. Civil defence, the resurrection of the antagonism between 'east' and 'west', terrorism (look in the brochure, it is one of the discussed issues) - all politics. Even the history of the document itself involves politics, it being part of Sweden's avowed neutral stance in the east-west conflict.
Prolog: just say no.

(To explain the joke, one of the main problems with Prolog is that solutions which cannot be unified just emit a "no" with no further explanation, making large Prolog setups hard to debug)
Interesting that this coincides with his appearance to the EU parliament [0]?

What's most interesting to me, is that whilst many say this is flat out illegal under the GDPR. If after this appearance, i.e some form of lobbying to the EU. Whether it sets a new precedent?

If bigger companies can get away with this sort of action due to lobbying. Then smaller companies/startups will surely lose out as they are unable to match lobbying efforts and will result in not being able to be as competitive.

I'm very interested to see how things progress in the coming weeks. Whether there is an amendment (due to a backdown by Facebook) or this becomes the norm and other larger companies follow.

[0]: https://www.theguardian.com/technology/2018/may/22/european-...
5swac
> I knew if I didn't people would comment that I should've ;)

That and following good practise even when not actually necessary due to other mitigations, you obviously hint to less experienced readers what good practise is.
Really? Someone was offended and/ or defending the obscene pricing of Oracle?
If gender doesn't matter, why is it a good thing to see more of a specific one?
Growing demand for ride-hailing services: Strengths and limitations of Uber
What pattern ought one look for in the explained plan to identify this issue?

Is this something that can likely be improved, technically speaking?
I really like this, but I can't help but think that encouraging young people to throw away the best time of their lives being startup founders has been a massive mistake and will be looked back on as stupid by future generations.

I tried it, thought I wanted it, but when it failed the relief that I could keep fucking up and partying was immense. Some friends are now very successful founders, and while they say they're happy, that they don't regret spending their youth 'businessing', this is always said with a pang of insincerity.

There's no right way to live your life, and people will take different paths, but more and more it seems like the myth of founder, the desirability of it, is a farce sold by VC's who want to turn £2 million into a 10x google acquisition.
Go have a look around. Since about 2010 it's frowned upon. There are a few dealers who do it but most of the new cars don't have them.
5asccc
Everybody I know who bought any kind of VR system has it sitting somewhere only to be taken out if someone comes over who "hasn't done this already". Then they go back to playing regular video games.
From top sprinter to homeless in London – what happened next to Jimmy Thoronka?
Tomas Sowell's Basic Economics has a chapter on the failures of rent control, specifically addressing New York City (among others).

These controls suffocate supply and now the owners of an artificially scarce basic resource have a lot of power. It's not exactly a surprise.
65sccsz
spacex also had a total vehicle and payload loss while standing on the pad with engines off, so your metric should be more like 1/540... but then you want to count test firings at mcgregor and every wet dress rehearsals/static fires.
in summary:
1. start a company (that might be the easiest one in his expereince!)
2. Find a VC
3. Find good mentor to enter the group of "rich people".
I've been having similar feelings about the state of the world for the past few years, and that's only been amplified by revelations like Cambridge Analytica and hysteria around GDPR. We're in a dystopian world now, one that could have been written about in the 70s or 80s when people feared technology, except worse. In those dystopian visions the world was chaotic. Today we are seeing the surveillance and panopticons that were envisioned in those dystopias, but we are, largely, comfortable.

So it's almost illusory. Am I paranoid, or is the world really walking down a dark path towards....what?
The LA beach cities seem a good environment for them. I'm skeptical how successful they'll be more broadly especially to the degree cities get more aggressive about keeping riders off sidewalks. It's not a big problem in less crowded areas and a relatively small number of users but it's a problem with more riders and more crowded areas.
Unfortunately this isn't the sort of thing where you're going to have an obvious answer because the causation chain is really long.

1) Person sits in traffic getting to work

2) Person notices Bird scooters zipping by them

3) Person ALSO notices that their company has to pay them the cost of their parking space if they don't use it (in California at least - see parking cashout law)

4) Person starts taking Bird, and enjoying the cash from their company

5) Person's office now has an extra parking space

6) Person tells coworkers about how great it is getting to work 20 minutes faster and making a couple extra grand a year

....
(wait a year or two)

7) 20 of person's coworkers are now doing the same

8) Office building has more open parking spaces

9) Business leasing office space says "I actually don't care if my office has loads of parking, most of our employees take scooters/walk/transit/whatever"

10) Office building developer says "wow we can make more money if we build the office with more units instead of more parking"

11) Office building development petitions city to reduce legal minimum requirement of parking spaces

12) (couple years later) FINALLY gets the parking minimum reduced after overcoming the screams of NIMBYs who think only a few weirdos are the ones riding scooters "because the scooter/bike lanes are empty". (Related - this is a problem with people thinking bike lanes are unused - turns out a bike lane with 500 bikes an hour will LOOK emptier than a road with 500 cars an hour because, well, bikes are faster (in congestion) and smaller)

13) More of that space can be used for offices, homes, or just not built on, etc.

So if we can design an experiment that can track all of that, awesome, but in the meantime it's messy.

If nothing else, just making parking compete like any other land use reveals that there are people who would happily repurpose the land for other things. You can park your car in the absolute most prime land in downtown Santa Monica for $525 a month. That is CRAZY. I would pay ~$1600 a month for a few of those spots and build a studio in an INSTANT because you could rent that out to a human for about $5,000 a month.

But instead we use taxpayer money to subsidize sleeping spaces for cars, even though there are humans who would happily pay to sleep there instead. It must really suck for the person who can barely afford their $3400 rent at 16th and Santa Monica blvd that their taxes are helping provide affordable housing for cars right on the beach.
The objects are "alive", even the ones in the debug stack. You can "talk" to them and get their state, ask them to evaluate an alternate flow etc, for any line in the stack.

In fact, the stack itself is just a normal property of the system that shows up when the system encounters something it does not understand, and asks you to provide an answer.

Smalltalk is absolutely weird.