skysight-inc/HackerNews huggingface dataset:
Yes but the source-to-source compilers do a fraction of the work needed to get a code base migrated. I've tried both the builtin 2to3 utility and many proprietary converters, including fancy ones that run type inference on Python 2 code and produce type annotations. None of them, as expected, can deal with the str/bytes split without manual intervention.

Fundamentally the issue is that the Python language is too dynamic for static analyzers to fully understand the code and perform conversions. I'm not just talking about type systems, but also monkey patching, reflections, etc.

What we really need is a tool that runs your Python 2 code, records types and other dynamic manipulations, and then produce Python 3 code. But I'm not aware of such a tool.
The nice thing, is that as a julia programmer get to choose how 'fortran-like' things get. You often start off writing naïve dynamic code that is more like Python or Lisp, and then identify performance bottlenecks and optimize those. This prescription is familiar to Python programmers except the 'optimize this bottleneck' step involves leaving CPython and using Cython or Numba or whatever.

In julia, you optimize your code by just writing slightly uglier julia code, not leaving the language. This has huge implications for

1) People 'looking under the hood'. Instead of having to read C as well as Julia, they only need to read Julia (albeit, more advanced, ugly technical julia code). This tends to greatly lower the bar for a julia user to become a julia developer and actively encourages learning more about the language.

2) Programs 'looking under the hood'. Code modification, injection and re-use is really common in julia and is part of what makes writing it so magical. Part of that is multiple dispatch code: https://www.youtube.com/watch?v=kc9HwsxE1OY but another major thing this enables is prevalent language wide automatic differentiation tools. Julia users tend to take it for granted at this point that they can take just about any function which takes in a number and spits out a number and then take a derivative of that code at compile time, no matter if that function was ever written with auto-diff in mind or if it ever knew about tools like Zygote or Forward diff. This sort of stuff would not be nearly as powerful in a language which did a lot of calling out to other languages to achieve performance.

The entire idea of julia is trying to get as much expressiveness and dynamism as possible while still allowing for C/Fortran levels of speed.
Exactly, they eminent domained the dhit out of that house in pursuit of the criminal.
Author here. The meta-point of my post is that different formats have their advantages and disadvantages, and it's good to understand those when deciding on what's appropriate for a given use case. So I'm glad to see a discussion weighing the pros and cons in the thread!

I see some comments saying that JSON can represent trees just as well as XML, which is technically true. However, XML natively supports a distinction between node metadata (via properties) and relationships (via child elements) that has to be implied in JSON. For pure-data, this may not matter . But in cases like UI layouts, it's helpful to have the format distinguish between node properties and child components. As others have mentioned, the document use case is also a natural fit for XML by clearly separating the content from markup.
Jesus holy fuck that's SUPER IMPRESSIVE

I'd be delighted to learn how you translate musical structure to a point in latent space!
Actually there were some problems (very long procedures I think would be one example). Other then that compatibility shines.
Guido has been working there for 6 years yet only now is starting the conversion?
Home owner in this scenario != shoplifter. It was different people. Shoplifter guy posted up in a random house, which was subsequently bombed. Now the feds won't pay up to the rando who actually owned the place.
Did you _read_ TFA?
A suspect would likely be liable for damage caused by the police in the course of them resisting arrest. However, they are likely judgement-proof, not having the wealth or income to compensate the homeowner. They will likely "pay" in the form of a custodial sentence, but of course that's little remedy for the homeowner.

I expect the police would be liable if a court found them to have caused damage which was completely unnecessary, although they have a lot of latitude in interpreting this. It's fairly easy to argue that doing whatever is safest for them (doesn't put them in the line of fire) is justified, and they shouldn't take any unnecessary risk to protect property.

Given that (rightly or wrongly) typically the police will not be liable for these situations, and the liable criminal will be unable to compensate, the burden should probably fall to insurers.
PayPal De-Platforms Conservative Street Artist Sabo Holds His Funds for 6 Months
it's five dollars and filling out a web form. its not exactly onerous requirement.
Oh man, blast from the past! Sjur the spin doctor and Roberto the master mind...
We had a collaboration where their robot was used as platform for a mid-size league robocup participant (wannabe :-})...
That realtime Oberon on PowerPC was really cool!
In Denver there are "Civilian Crash Investigation" cars which drives me crazy. Police and government officials are also civilians. The distinction on the car is such an "us vs them" mentality and very out of touch.
That is encouraging, thank you for your hard work.
Hyperbolic much?

> Jefferson's future or Stalin's

You know, there is an awful lot of space between the two, the entire globe doesn't need to adopt US mores on everything or is inevitably an oppressive dictatorship shipping folks off to the Siberian gulag. That kind of black and white expression of the "correct ideology" helps no one.

FWIW I happen to have a fair amount of sympathy for the Catalan separatists in light of the draconian Spanish response to a group seeking self-determination. Hopefully Spain can first achieve less anachronistic law on secession, as I generally think what the locals want is what matters most. They should have opportunity to vote for independence -- or remain part of Spain.
Would like to see them use some of this to put out a LoRa board as an alternative to cellular / WiFi.
Police aren't supposed to go on high-speed chases anymore, especially because they could hurt innocent people. They made the situation worse in every way.
If you and your family were being held hostage the actions by the police would have put them in far more danger if they didn't know where you were since they were blind firing launchers throughout the house. The police can shut off the power and water, could have flooded the house with tear gas, could have breached with multiple teams. You realize this was more damage than gets caused in a war zone breaching right? The house was so overly damaged it was condemned. That's so in excess of what's required to get a single suspect that they know is in a confined area. They could have sent in a drone with a grenade and caused less damage. This was willful negligence on the part of the police department who didn't use proper judgement in the apprehension of a serious criminal. They literally used military rounds over and over for 19 hours, military vehicles, explosives, grenades. The same city then condemned the house and offered $5000. Destroying the property is going to cost more than that. The city decided to take the house, the city should pay for the house.
Whenever a new technology matures, people would create a bunch of nonsense products anyway. Remember radium condoms?
https://gizmodo.com/once-upon-a-time-we-used-radium-condoms-...
> You can't say that for sure until you've read the document that allows PG and E to utilize the land.

I'm kind of assuming that their own lawyers in assessing their probable liability for the 2017 and 2018 fires that led to the bankruptcy filing, and the federal judge who assessed that their failures to do what is legally required were, on top of any civil violations, a violation of their criminal probation, and so on, have done their homework on what the legal requirements are.

If you've got some reason to think they're all wrong, though, I'd be interested to hear it, but as far as I can tell there's not really even a serious question on the legal responsibility issue.
Can't relate with that... I'm still hosting some WordPress websites for clients from a few years ago. I'm afraid to upgrade PHP versions because many things broke in the past. True, it's not the WordPress core but the plugins that usually break, but I can't think of a single client of mine that doesn't have at least 3 plugins installed.
Typing: dominos.pizza.new / login and select last order / reorder

vs typing dominos / click the link / login and select last order / reorder.
> It's almost like police officers signed up for a career that puts them at risk.

That's how you lose Police Officers. Workers prefer to work in safer jobs, and are even willing to take pay-cuts to work in a safer area.

A US-police department is in constant competition with rival cities for the same pool of applicants. If your local police department gets a reputation of not backing its officers, your officers will LEAVE to other cities. Period.

There's a reason why all cities back their Police Departments with as much support as possible. Its a necessary part of attracting the best candidates. Some Police Officers have degrees in criminal law theory, college-educated. Other police officers are just high-school graduates with some muscle.

When police departments struggle, they lose the higher-quality officers to their local rivals. Which means either fewer officers, or being forced to hire low-quality officers.

-------------

The fundamental issue here is that Police Departments are too small, making the politics of "local rivals" a toxic culture. Police departments need to be forced to merge together and cover larger areas.

A nation-wide police force would probably be too big, but we can start by eradicating all town-level police forces (less than 20,000 citizens) and merging them into a larger regional area. As long as there are Police Departments that only protect $1-Million homes (where virtually no crimes are committed), you'll have the quality Police Officers leaving the dangerous areas where they're needed (ie: typical inner cities) and working to move towards the richer areas.

You gotta fix the fundamental politics: the underlying driver of the culture.
Not trying to start a flame war here, but its not a fantasy. There are 36,000 gun deaths, and over 100,000 gun related injuries in the US every year (thats roughly 3000 per week). There was an armed man who lead a high-speed chase and shot at police. The odds are very high he will injure or kill another person, its not a fantasy to think the police are thinking worst case.

https://everytownresearch.org/gun-violence-america/

We are looking at this article with hindsight that his only crime was taking the belt, but you can't know that _at the time_, and given that these officers see shootings, robberies, and murders on a regular basis, its impossible to make the assumption that "well he's probably just harmless, lets wait this out".

I pose this simple question -- if someone broke into your house, armed, and fired shots. Would you wait it out, or assume the worst? If you assumed the worst, and that meant sacrificing your property to possibly save your life and the life of your family, but then it turned out the guy was just looking for a few items to sell, and wasn't really that bad, would you say you made the wrong call?
As someone living in Barcelona I can tell you that the majority of violence was caused by the Police starting to go after protestors, police provoking protestors with Spanish flags, playing the Spanish national anthem. Its was caused be a few people who always cause violence, does not matter if its a soccer game or a peaceful protest. It was caused by the central government spending years changing the law, to the point where its illegal to protest the government, unless they authorize it. Its caused by police stopping and searching people daily on the streets, confiscating anything that can hide your face, and Catalan flags. There are even cases where Spanish police officers sent to catalunya from other parts of spain have been identified with swastika tattoos.

There is a HUGE issue, where people on both sides have been abusing the system for their own gains. Both political sides know that as long as they can keep the people fighting and "hating" each other, they can continue with the corruption that exists here.
The distinction is longstanding, from a simpler time. The problem is that the police are taking more and more advantage of it.

Indemnifying police for the damages they cause makes it so they have no reason to even consider them. We'd expect these externalities to grow larger over time, because there's no incentive for them not to. Wait for the suspect to come out, or play commando? It's all the same to them.

The current situation is a weird reverse-lottery wherein only a rare unlucky victim is expected to bear the burden of a societal cost. Police departments should be civilly responsible for damage caused by their actions, end of story.

This story, casualties from high speed chases, arrests of innocent people. These are all damages created by explicit choices by police, and thus whomever is enabling/funding the police departments should be responsible for them. If cities/insurers/taxpayers don't like having to pay for what they're enabling, then they will institute policies to reign in the police to keep them from doing such things!
>The homeowner deserves to be made whole and I think that should be the police departments responsibility...

It sounds like the homeowner was likely made whole by their insurance company, the article hints that the home was insured and the Police department paid for both temporary housing and the insurance deductible.

It is unknown, but in all likelihood the homeowner probably got the full policy limits on the insurance claim. Then, either: a) the insurance limits didn't cover the full amount of damages and they sued for the difference (and additional damages); or b) the insurer was behind the suit in a subrogation claim against the Police station for the claim amount.

One of the problems with insurance cases is your not allowed to talk about the insurance companies. Nevertheless believe it or not these kinds of cases (house destroyed in emergency responses) are quite common, but usually it has to do with fires (not armed police chases of criminals) where in order to stop fires from spreading from house to house a team of firefighters may purposely damage/destroy houses that are not on fire to prevent the lateral spread of the fire. Of course homeowners/their insurers sue the Fire departments with similar outcomes to this case.

>This story is insane and infuriating.

Losing a family home/all your belongings can't be minimized, but as a kidnapping victim myself, I also want to point out the gunman broke into a home where a 9 year old boy was alone and the boy was permitted to leave unharmed. Consider the guy blindly opened fire on the police, things could have been a lot worse had he kept the boy.
Except that goes against decades of studies that have shown that people read columns of text faster with better comprehension. So while you may prefer the column-less design, it is empirically worse.
This is the police policy we have in the Netherlands – and I believe in much of Europe – and last time I checked crime is not "skyrocketing" here.

I am not claiming the police should just give up once someone runs, but there is a cost/benefit ratio to these things, and endangering random people in a high-speed car chase to catch a shoplifter does not seem a good cost/benefit ratio.

It's also hardly the case that you can just "run and you're home free". There is CCTV, license plates, the guy can be caught next time he shoplifts, etc. etc. There is more than one way to catch criminals than this kind of brute force.
If we are talking client side JS I think they're just trying to solve the problems that desktop had solved ages ago. And they keep smashing heads in a process.
> This is normal.

Whoa there. It may happen, it may even be common, but it’s certainly not expected or ok.

There’s also a huge difference between the regulatory capture of businesses like oil, airlines and banking that pose danger so the government regulates them, and this situation where the IRS apparently decided it was more expedient to essentially give these companies a business rather than write software that would implement their own regulations.

So, it’s a very different situation.

In fact you’ve got to wonder what the IRS is thinking. They should be holding all the cards. But they act like the Intuit has them over a barrel. The IRS gave them a business under certain conditions. Intuit has failed to meet the terms of the agreement. So, start writing the software and terminate the agreement once its ready.
As someone who wants hardware that does what I instruct it to after I have purchased it, regardless of the manufacturer's wishes, I don't think I can support buying DJI's otherwise-excellent products any longer. The firmware updates and activation locks and flight restrictions imposed by the DJI Go app are too onerous.

If I buy a tool, and the tool now belongs to me, the manufacturer attempting to restrict my use of that tool is morally unjustifiable.

(Yes, I have an iPhone, and yes, I'm pissed off about that, too.)
High speed police chases are also dangerous and police should not engage in them.
I humbly disagree with your first point. Yes, pursuing self-actualization may be selfish in some ways, but in other ways, it allows one to be better at making the world a better place. A primary focus of my own self-actualization journey is being an overall more effective person - procrastinating less, taking better care of myself, becoming more mindful, and so on. Doing those things will enable me to help others more efficiently and effectively.

I feel the rest of your comment, though interesting, wandered a bit from the original topic.
I would really like that page to show a static picture of the final device instead of making me watch the video for glances of it.
The city succeeded to keep talent because they invested in them.

Somewhat unrelated but this really reminds me of Germany's Kurzarbeitslosengeld - short working hour unemployment benefits - which was introduced in the crisis years and is given credit why Germany has high employment and the economy quickly recovered after 2009. Companies were allowed to send employees on "part time unemployment" for a certain period of low work. So eg 300 staff get 60% hours and work 3/5 days per week and get 3/5 of their full time salary and in addition 2/5 of what they would get as unemployment benefits. This kept workers in employment, unemployment and benefit payouts low and helped make it easy for companies to keep skilled staff - and for staff to stay in employment and maybe upskill themselves in their spare time.

The scheme had some issues but overall a similarly positive impact.

I wish more countries & companies would recognise the benefits of investing in and catering for staff, rather than to see workers as replaceable widgets.
I'm curious, what do you use as an alternative to Qt for Nim?
"...after __believing__ they heard Seacat fire several rounds."

Seems like that isn't even 100% certain.
> The court acknowledged that this may seem “unfair,” but when police have to protect the public, they can’t be “burdened with the condition” that they compensate whoever is damaged by their actions along the way.

I actually agree, the police should not be concerned about this, they should be concerned with policing. Which is why the state should pay compensation and then take it up with the police department if police actions are costing the state too much.
Personally, I find that animated buttons scream "ads" to me. And animated "download" buttons scream "malware ads"!
I've added some initial paper towel and toilet paper listings, FYI! More to come, so expect an even better deal later this evening! https://unitprice.org/categories/home
Do you know of any results besides those 3 people recounted in this paper?

https://casereports.bmj.com/content/casereports/2018/bcr-201...
Sounds like mathematics.
Battery backup with solar generator would more than be enough for most homes and residences in California.
This is the one advantage of the column-less layout... you can create your own column by resizing your browser where otherwise you don't get a vote, you get what they think is best.
One nit on an otherwise strong explanation:

Fires become bigger and bigger the more fuel they accumulate. Security vulnerabilities lack this attribute.

I'd argue that this isn't the case. The threats of Big Data and Big Data Breaches is directly analagous to fuel-load accumulation, with the added bonus of attractive nuisance / induced risk.

That is, we're seeing the same class of bugs we've always seen (ignition sources), but the consequences are vastly higher (international finance, national security, organised crime, personal details and blackmail on billions of souls, greatly expanded venues for long-standing frauds).

Buffer overflows, viruses, worms, trojans, social engineering, phishing, and MITM all predated the past decade. Advanced-fee fraud, impersonation, Ponzi schemes, etc., all existed previously. Married through high-speed, high-capacity data networks, tied to comprehensive and deep data stores, the whole system is weaponised. And the stakes and consequences are huge.

Rather like wildfires in California.

By the way, I've got a Mr. Fusion cannister sitting in the garage, interested?
Since we are at the dawn of the space era, I have always wondered if earth mass loss due to massive space exploration will become a problem.
'The climate doesn't need awards': Greta Thunberg declines environmental prize
if its like talking, fourier helps !
John Cusack in his podcast with Joe Rogan made an interesting point: that BlueOrigin's slow and steady approach might be counterintuitive to space flight. He said that you want to be fast and test out as many crazy ideas - moonshots - as you can, and that having essentially limitless money can actually slow your progress down.
There is not a mention of that because the author knows what he is talking about - https://caseyhandmer.wordpress.com/2019/10/25/space-debris-p...
FORTRAN?
This is like saying treating lung cancer is a horrible idea because it will encourage more people to smoke.
> she is her own person and I support her choises

You can support her as a person but you should not support her choice to work for a clearly unethical company who has actively contributed to the violation of human rights and murder of innocents.
The CEO is just an opinion poll, but it shows that there's a lot of people for independence, if anything.

The two referendums (the older non-binding "consultation", and the newer binding), along with the results of elections, and the fact the current government is pro-independence, are the best data we've got, by mere size of sample.
Not exactlty the same thing, but Volvo has stated they plan to limit the top speed of all their cars to 180km/h
I bike in rain, fog, sleet, snow, and -20C. Get wool underwear and a raincoat + pants. It’s a habit, so I just get up in the morning and do it.

Oh, and I have a child seat and a trailer, so I bring all 3 kids to kindergarden, too. I did get an electric bike to go with the 3. child though.

If someone thinks I’m a die hard environmentalist, idealist or nut job: the bike is cheap and the commute is faster as I don’t have to wait for other cars, the bus to come, etc.

It’s just the best solution for me, hands down, on all fronts.
I had the same problem - but US based. I reached out to their support as they recently sent me an email and they comped me a year of their Prime plan. It was nice of them but kind of too little too late.