skysight-inc/HackerNews huggingface dataset:
I was keen for the quiet car future as well, but now they're adding buzzers to them when traveling less than 30kph. Bleah.
I use pythonanywhere. Seems to work well enough and isn’t expensive. Main problem I have with it is I cannot use Altair-viz in a Jupyter notebook because their notebook server is out of date.
Ease of use and advanced features are not polar opposites.

I do a lot of geospatial work and Python bindings for GDAL [1] are godsend. In 10 lines of code, I can read shapes stored in different projections and file formats; load, reproject and merge them into an in-memory SQLite database; do all sorts of complex geospatial operations on them using spatial extensions, and save results to a file.

I'd spend half a day writing C++ code that Python abstracts away into very few commands. It's a joy to work with, and I struggle to see any downsides.

[1] https://en.wikipedia.org/wiki/GDAL
I do OpsDev too and I’m a fan of the term!

I’m an ops engineer but develop the code to do my team’s operations tasks.
A iPod touchwheel can be used without looking at it. It's much more like a knob than a touchscreen display, even if it uses similar technology.
Can they regrow teeth as well? What about gum disease?
I doubt that... You are comparing a random variable (the size of the data) to a sum of random variables (the index of the data). Thus I would expect the index to be greater than the size... But I am fairly uncertain.
pip install --user and sudo pip install won't break your venv. But they will break your system Python and any OS commands that depend upon system Python, perhaps including pip and virtualenv themselves, which is incredibly confusing. I've helped both friends and coworkers un-break it, and the symptoms aren't generally obvious. I wrote the patch to pip in Debian to prevent sudo pip install from removing files from Debian packages via upgrading packages. It's a huge pain, it's only worth running if you know exactly what you're doing, and as someone who does know exactly what they're doing I can attest that it's never necessary. After all, you can always just make a virtualenv.

One thing I did at my last job was to make a Nagios alert for machines with files in /usr/local/lib/pythonX.Y/site-packages, indicating that someone had run a sudo pip install, which was super helpful for "why is this machine behaving slightly differently from this other machine which should be identical". We had a supported workflow involving virtualenvs and also we had multiple members of the Debian Python team on staff if you needed systemwide packages, so not only was there always a better solution, there were people to help you with that better solution. :)

Re activate/deactivate, that's a matter of taste but I find it easier to avoid it completely too - see my reply in https://news.ycombinator.com/item?id=20672299 for why. Basically, you get the simple rule of "Never run bare pip" instead of "Remember which pip is your current pip and whether it's the one you meant."
There's Python Anywhere: https://www.pythonanywhere.com/
I see. I agree with that point generally. I think we're talking past each other? I'm thinking about the morality and ethics of a supply chain and how it's disclosed/understood. Where should we be working to offload the understanding of how vast humans in a societal context impact ecology?
Conda doesn't really solve the packaging problems of python. It can make them worse if conda doesn't have a package you need.
What do you think will happen if they need to pay 900k/yr to get good engineers in SV?

As the pay rises, the tendency and pressure to offshore increases. It will start slowly, but as more competitors do it, will accelerate.

https://www.seattletimes.com/business/microsoft/trumps-immig...
The solution to this is Poetry. https://poetry.eustace.io

It's good. Projects should use it.
Cathay Pacific, Icon of Hong Kong’s Rise, Now Reflects China’s Grip
Would rather hear him reading the complete text, rather than brief clips of proper nouns. It all sounds weird like that.
Nobody is feeling bad for Apple, but I do think it's ridiculous how we talk about what Apple does as if the majority of their competitors aren't doing exactly the same things. Looked inside a Microsoft Surface product recently?

It's just like with the criticisms of working conditions at the Chinese/Foxconn iPhone factories. The same factories make Xboxes, Playstations and thousands of other devices that we all buy without such consideration.

But because Apple is an effective punching bag, they bear the brunt of the industry's collective sins.
I've come back from Ruby as the default scripting language to Python. Over the years, the accumulated Python scripts are much more consistent and easier to read than aged Ruby script. Ease of use, sure. But the language itself I would argue is much better thought-out and consistent. Now, only if it has better type and dependency management ...
Just use Poetry. https://poetry.eustace.io
What about bills that people wrote on? Where's George and political stuff. I don't want it on the bills I receive.
I don't see where you are getting the idea that humans had to be pulled out of a hat of all possible genetic sequences.

They, like, evolved, right? As the GP says, there was a short sequence that worked, a little got built on, a little more...

There was never any time that any creature was generated by random choice.
> and maintenance issues on the road involving moving/operational vehicles.

I'm moved to share about being very careful when opening the hood (engine compartment cover) of a vehicle that's overheated. I did that once, and there was a flash fire. From oil and grease on the engine. Fortunately I didn't get burned. And closing the hood put out the fire.

But damn, it was a shock.
>This time around, they linked the experiment to tax records and concluded that people whom MTO had placed in lower-poverty neighborhoods really were likelier to go to college and had higher average earnings than kids who didn’t move.

Doesn't seem terribly surprising. The cultural atmosphere pervading low-income areas is not conducive to academic and financial achievement. Children who see strangers walking down the street at night are not going to have the same attitude towards school and behavior in general as children who see neighbors walking dogs in the morning. Garbage in, garbage out. ANY kid is capable of doing great when they're not surrounded by shit-heads.
In general JavaScript is eating the world.

Python still dominates in numerical computing and JavaScript hasn't been
able to make a single dent. Because nobody wants to write

a.mul(k).add(b)

rather than

k * a + b

or

a.set([i,j], b)

rather than

a[i,j] = b

JavaScript's lack of operator overloading is keeping Python alive.

Python also has integers that feel part of the language, rather than being
segregated from normal numbers in case anybody uses integers by accident.
Check out the Orthogonal trilogy by Greg Egan. Given what you described above you would love it.
It is their prerogative to push an agenda. It is not illegal to create an organization or business that pushes a political agenda - in fact, many do.
Ever try to click on a LinkedIn profile from a search result? Most of them just show a LinkedIn login screen, and none of the text from the search result's snippet.
> By activating a dormant software lock on their newest iPhones, Apple is effectively announcing a drastic new policy: only Apple batteries can go in iPhones, and only they can install them.

I really dislike the phrasing attached to this story.

It's not a lock: a third party installed battery still works, the phone isn't refusing to start up until you go to an Apple Store and have an authentic Apple(tm) battery installed. Rather, it's a warning in the "battery health" section basically saying "we don't know if your battery is any good, you might need to get it replaced".

That said, I'd prefer a clearer phrasing of their error message. It looks like it's just triggering the generic "your battery may need service" warning, which is more of a scare tactic than I'd like. "You don't have a certified Apple battery" would be completely sufficient.

Given the existence of refurbishment scams, where substandard parts are put into old phones to make them look good briefly, I can understand where Apple is coming from on this point. Someone who buys a second-hand iPhone and finds the battery dies after a month isn't going to be very happy with iPhones.
If this were the case we would expect to be able to send information through entangled particles. But it's well known that it cannot be used that way.
Newcomer EndeavourOS Offers a Friendlier Arch Linux Experience
Similar in concept is the Risset rhythm (it's briefly alluded to in the article), where the tempo of the rhythm seems to constantly speed up or slow down.

The song "Fold4, Wrap5" by Autechre is a cool example. It's not hard to see how it works, but it's a delightful effect regardless. Each bar has a point at which the beat shifts to a double-time version of itself, while the tempo of the track constantly decreases so that the double-time rhythm transitions back to the original rhythm.
This is more like helping them bridge a culture gap. Once you actually live somewhere, you slowly acculturate by osmosis. But getting there requires some means to not only move physically, but also navigate a cultural transition. That's a fairly tall order.

They got coaching for how to talk to landlords in better neighborhoods, they were fed information they didn't really know how to find and they were educated about various things. If you come from the right neighborhood, either your parents teach you a lot of that or you just pick it up without trying because you see it everywhere.

If there is no one in your social circle who knows how to navigate certain things, it easily becomes an insurmountable barrier.
If they want to block incognito mode, wouldn't they also want to block someone from an Internet cafe? If the reason you block incognito mode is because you can't track the user, you don't want a user coming from an Internet cafe that you can't track.
Also, here is the endeavor website in case anyone was looking for it: https://endeavouros.com/
Well, it was a building Povey ordinarily had a right to be in until protestors illegally chained all external doors shut. So, calling it "breaking in" is a sorta backward way to think about it, in my opinion. His right to be in the building was curtailed by people who did not have a right to be in the building (or at least did not have a right to exclude access).

As for the university explicitly telling him not to try to enter the building, that may be the case, but keep in mind that his personal work and career were being compromised by an illegal act that had dragged on FAR beyond reasonable accommodation (the sit-in had been ongoing a month and the chaining of doors went on over a week). Just because he was curently a Hopkins employee doesn't mean that his research was owned by Hopkins. Universities aren't like regular companies. Hopkins had a duty to him to provide safe and reasonable accommodations for his work. The grant money he obtained probably had a large payment to the university for these accommodations. Hopkins failed to uphold their end of the bargain with him by pussyfooting around blatantly dangerous and illegal activity by protestors.

What he did was imprudent, maybe even fireable. But unless the students who incited this all are also expelled (I'm pretty sure they weren't), then this would be a significant injustice against the professor due to selective enforcement of policy against some but not all Hopkins members.

Also, seeing Hopkins' sleezy firing letter makes it obvious that there is no good faith on the part of the university. You can tell by how it is written in "you admitted that we had to fire you!" style, that they grossly and intentionally mischaracterized statements he made to appease university lawyers. Dr. Povey doesn't look great, but Hopkins looks like a place where no decent person should ever hope to work.
I have another, more simple theory: Money. They want the aftermarket service business to themselves for that reason first, and control over the quality of repairs secondary.
I live in north Seattle. There is a tremendous amount of misleading information in this article.

In fact, the neighborhoods mentioned as 'high opportunity' already have quite a lot of low-income, public, and section 8 housing. Yes, demand exceeds availability, but that's true anywhere in Seattle.
Remember NOT to jump into Python for your new product if don't know Python. If you are developing for a young startup, have time crunch, then stick to what you know.

IF you do not have a language, or know Python a bit, then pick Python. Here are some of the reasons why I stick to Python (young startup/web APIs):

- OOPs is not too strict (might give a headache to some folks)
- Mixins, lambda, decorators, comprehensions - Pythonic ways make me feel productive easily
- Create a data Model, drop into a shell, import and try things
- Can do that on a live server
- Do the same with Controllers, or anything else actually
- really nothing fancy needed
- Command line processing, SSH, OS integration, etc. has so many great libs
- Python Dict someone looks like JSON (this is purely accidental but useful)
- Debugger support even in free IDE like PyCharm Community Ed is great
- Integration to a world of services is so easy, even ones you do not commonly see
- Documentation - many libs have consistent structure and that helps a LOT
- Really large community, perhaps only smaller than Java
- The even larger group of people using Python in all sorts of domains from Biotech to OS scripts

What I would like improved in the language would be an even longer list. Every language has a list like that, but when you are focused on being scrappy and building a product, yet making sure that software quality does not take a big hit, Python helps a lot.
Can't access the website. HN death effect?
What if we write a powerful AGI, but it just isn't interested in this problem?
This is a little off topic, but in the name of trying to be helpful... :D

If you're talking about MacBooks, there's currently a pretty expansive keyboard replacement program going on for many models since 2015, which naturally includes ones which are now out of warranty.

So, they may have told you that before, but there's decent odds they'll have changed their tune now.

Details: https://support.apple.com/keyboard-service-program-for-mac-n...
Having an input system with haptic feedback but also context-based controls and customizable layouts is still the Holy Grail.

Apple could still make it happen with a future version of their Taptic Engine. Preferably with hover haptic feedback, where you feel a "tingle" or something before touching the screen.
This is a very sensible reply. I live in flyover land and I don't want to move for a FAANG job. But I'm not going to take something for $90k: the amount I can contribute to my 401k is the same in SF or flyover land and the amount I have to pay for my kid to go to fancy college someday is the same whether I earned my money here or there.

It is apparently tough to find "quality talent" say some here; I did get a job offer with a nice compensation package in just two weeks when I recently started applying places and the word I heard was that it was competitive on employer's side.
I do this regularly and decided to, instead of automating things, simplifying and reducing my setup. I have a private cloud that stores documents, all software is in Git repositories. Setting up a new machine is really just copying my private key, setting up cloud access and emails, cloning repositories and copying my nvim config.

Comparing with my colleagues, I have to add that I hardly keep any personal stuff on my machines - I have no photos, music and movies are streamed. I use 128GB of my 512GB storage (including cloud and software). I also try to go with defaults as much as possible.
Gosh yes. These slow languages offload thinking to burning fossil fuels. INEFFICIENT.
I've had a good experience with pip-tools (https://github.com/jazzband/pip-tools/) which takes a requirements.in with loosely-pinned dependencies and writes your requirements.txt with the exact versions including transitive dependencies.
It is funny - half of the real desire/need for containers comes back to these sorts of issue with both node and Python. And then they bring in their own different challenges.
for bash/fish it automatically prefix with a (your-venv-name) so it's obvious you're under some venv, not sure about csh but I would assume it will do something similar. looks like venv supports bash/csh/fish only by default however.
Also, if the little 12-volt runs down, will it recharge itself from the main one?
You're gonna flip when you hear about the environmental impact of a developer.
> What's also quite different is that in Europe street numbers are usually consecutive while in the US you usually use the top digits for the block number and the bottom digit for the number in the block

Years ago I rented a newly constructed house in an outer suburb of Sydney, Australia. The suburb had (at the time) only been recently developed. The real estate agent told me the address I was renting was "Lot 8 Whatever Rd". I move in and get all the utilities transferred into my name. A couple of months later, I get a notice under my door warning that my electricity is going to be disconnected because I hadn't paid my bill. I found that odd since I had paid it. The next day, come home to find the power is off. Call the real estate agent, who sends out an electrician who discovers someone (presumably the electricity company) has removed the service fuse. He puts it back in. I call up the electricity company to complain.

Soon I discover the answer: "Whatever Rd" actually had three separate houses on it all called "Lot 8". I'd actually been paying the electricity bill of the "Lot 8" up the road. I give the electricity company the meter number from my electricity meter and they sent me a bill adjustment, no more problems with them. But, I keep on having problems with mail going missing, and getting other people's mail, because with three "Lot 8"s on one street, the post office doesn't know which one should get the mail, they seem to distribute it randomly between them.

I complain to the real estate agent about the street address situation. He says to me: "Nothing the landlord can do about it, street addressing is responsibility of the local council." I sent the local council an email to complain. Their response – "We can't assign new house numbers to that street yet, because development plans have not yet been approved for all the former rural blocks, so we don't know how many street numbers will be needed." I say – "Can't you just work out the maximum number of houses each of those blocks could possibly have, given planning regulations, and reserve that many for them, maybe even a few more for a margin of error?". Their response – "No, we can't do that. Then there might be gaps in the street numbers. Gaps in street numbers are not allowed."

They did tell me I could disambiguate my address by adding the development plan (DP) number to it (the DP is the legal plan approved by the government for subdivision of the original rural block of land). So my house was "Lot 8 DP 12345678" and the other "Lot 8"'s were "Lot 8 DP 4567890" etc. I asked how the post office would know what DP number my "Lot 8" was. The council said I should stick a sign out the front, next to the mailbox, with the DP number on it.

I didn't stay in that house for long, as soon as the fixed term of the lease was up, moved out.

But it did convince me that the American approach is actually superior.
Our local neighborhood pub is a very different scene at 5pm on a Tuesday, compared to 11pm on a Friday night. Bunch of local guys hanging out with the bartender yammering on about their downstairs neighbors playing music too loud, or cooking fish at 2am and the whole building smells like fish until breakfast time. Then Friday/Saturday night it's full of loud tourists looking to get ripped on tequila before staggering down the street to the next bar.

Some bars are just loud and noisy all the time. Depends on the location and the venue. We live in a tourist district with probably at least a hundred bars within walking distance, we visit two regularly (maybe once a week, midweek), and a third occasionally for a change of pace. Business district bars are also pretty chill from 4:30-7 as people are coming out of the office and wanting to blow off steam and complain about their boss or whatever.
> But they will break your system Python and any OS commands that depend upon system Python

Sudo pip install might on some distros (and I consider this to be a bug on the distro level, not a Python issue) but I've never heard of --user breaking anything
Monocultures are the problem, not your work. Your work will eventually impove current issues that we have with chemical intensive monocultures, yet it will be business as usual.

https://grist.org/industrial-agriculture/2011-04-13-big-ag-w...
oh dear lord ! how dumb of me :o) apologies...
Having such a basic part of a programming language be awful is inexcusable. It's not just that it takes a lot of time; even if it took no extra time, you're still wasting extra space on your computer, risking breakage on external updates, and compromising security because you can't even tell what code you're running.
To add to the chorus, I'm seeing that too. Work with a professional masters' program in a highly technical (non-software) field and all our non-US grads are getting hit with RFEs. It's making a lot of work for some of the folks in our program administration, as writing letters of support outlining the specific and substantial technical skills of these people is not trivial -- and these letters are under increased scrutiny from the feds.

These folks are getting market-rate positions -- since I'm in flyover country, there are no FAANG competitors here.
It's not a "model," but if you're able to 1) use fewer dependencies 2) use stable dependencies 3) use dependencies with fewer dependencies, it helps with dependency hell. I've even made commits to projects to reduce their dependency count.
Learn Sketch shortcuts interactively
This is an interesting question, but the situation that's being studied here is not the one that you describe. The "Moving to Opportunity" study upon which this new research is based is primarily not concerned with children who "get into top colleges" or "make lots of money". In that study, the mean annual income of subjects is $11.7k and $14.3k at ages 24 and 28 respectively [0]. Fundamentally these interventions are concerned with making extremely poor people slightly less poor.

The question you ask—are these opportunistic moves zero-sum?—is still an interesting one. But the realities of the sub-population studied here change the intuitive answer to that question. There may be a finite number of seats at Harvard, but there is plenty of capacity for upward mobility from lower classes into the middle class.

[0] p864 here for income statistics https://scholar.harvard.edu/files/lkatz/files/chk_aer_mto_04...
You’re right, but all of this flows from perceived status.

Status is not immutable. Stanford was not the elite institution it is today in the 1940s for instance.
Same here. Immediately wanted to add it to my reader for the future... and can't.
Show HN: Using crypto accumulators for decentralized auth
> Clicking a link and then loading the page works just fine for the web.

No, it doesn't. If it did, there would be no need for Facebook Instant Articles, Apple News, or their successor, AMP.

> Creating a custom HTML fork that puts more pressure on limited publisher dev teams to end up with another copy o the site

They're already doing this with Facebook Instant Articles and Apple News. Imagine if they had to do separate integrations with Bing, Google, Yahoo! Japan, Baidu, and any future link aggregators. AMP lets them publish one page and support all of them.