skysight-inc/HackerNews huggingface dataset:
Hmm, you're right... that one is actually quite hard to do in a Python-ish way. There is a one liner, just for the record, but it's absolutely horrific code because it redundantly re-evaluates the same conditions over and over:

g = {fn(x): [y for y in foo if f(y)==f(x)] for x in foo}

As you said, you'd have to use a for loop. I think sometimes people are unnecessarily afraid of for loops in Python (not everything has to fit on one line!) but this is a case it's a pity to take up so many lines. Or, back to square one, probably this is a case it's best just to use itertools groupby (after a sort) after all.
At least MS makes it pretty obvious when they are being predatory. Of course they dont need to know your email , yet they even have a huge telemetry control panel. Meanwhile author is being hush about apple that you could never use without them having your email and credit card. Trust is not just low, it has been hacked and become a marketing term.
Have you actually used other languages like clojure, haskell, kotlin, go or ruby? Python is the weird one here for not allowing multi-line lambdas. There are legitimate and actual useful cases for multi-line lambdas, disallowing them does more harm than good.

If the idea of multi-line alone compromises readability, then why even have multi-line blocks at all? Function, loop and conditional blocks should all at most have one line each. I hope you can see the absurdity of this.
I see most of the comments here being around specs, I think that leaves the more interesting bits out of the convo.

Since this challenge does not affect work. You're free for a week to find a new fun workflow to do with an old computer. It doesn't need to be the same stuff you usually do. You might not need to be able to load the web, it is OK to stay away from the Web for a couple days off-work, and find something else to do that is suitable for your old machine.

Also, I expected most people to take this as an invitation for some retrocomputing week, but from what I see most people will be running some form of modern UNIX-based system. There is nothing wrong with it, it is just that wouldn't that make it simply feel very much like your normal machines?
Bigger Fish
Synthetic 3D Recording of a Shipwreck Embedded in Seafloor Sediments
I don't believe it's a critical component of Autopilot. From the last public video release in 2019 [1], it seems like they use the stereo cameras to derive depth information, and use radar as a kind of ground-truth in informing the model. I would think the source-of-truth for what the Autopilot system thinks is the position of objects is the stereo camera, i.e. the radar is not part of the online flow, but is used offline to correct the model.

See specifically at 2:20:22 [2]:

> We use that radar to annotate what the vision is seeing, the bounding boxes that come out of the neural networks, so instead of human annotators telling you that this car, in this bounding box, is roughly 25 meters away, you can annotate that data much better using sensors.

I take that to mean that the radar is used as part of supervised learning for updating the model offline, whereas just the cameras are used as input to the model.

[1] https://youtu.be/Ucp0TTmvqOE?t=8254

[2] https://youtu.be/Ucp0TTmvqOE?t=8422
Not only Microsoft basically bough OpenAI a couple of years ago, they also made the GPT-3 closed thing that you can only access via API.

Don't let the name fool you, OpenAI is anything but Open.
I was surprised reading the Chronicle article after her own post. If it hadn't been from the archive.org link I would have been certain they went back and added "Elbakyan, who is originally from Kazakhstan, has a bachelor’s degree in computer science and coded Sci-Hub herself." after she complained but nope, there all the time.

Also "Pirate Queen"? "beloved outlaw"? They couldn't have made her sound cooler if they tried.
Doesn't Linux require an MMU for virtual memory, which the 286 doesn't have iirc?
CRM Software – Customer Relationship Management Software
filter(fn): [x for x in foo if fn(x)]

Python has filter(predicate, iterable) -> iterable built in.
Translators move things into idiom all the time; "one-man show" (gender is easily swappable) is an idiom that comes from stage, refers to single-actor plays where one person plays multiple roles, and comes with connotations of skill versatility and industriousness.
You might be perfectly suited for a devops-style of job.

As a developer working on business-related tasks your net contribution might even be negative with this attitude (because if you don't understand the business and you are not even interested in understanding it then the only tasks you can do yourself must be so small and so well specified that it (the specification) might take more time than doing the task itself).
at my university (Italy), exams were typically composed by one or more written session and a final oral exam. In the written one we were asked to solve exercises, no multiple-choices questions. They would last between 30m and 2 hours, depending on the size of the exam. In the oral one, we would also go over the solved exercises and discuss about mistakes and choices. Sometimes, mostly for laboratories, the written one was replaced by an assignment to be done at home, typically in form of a report of the activities.
I'm of a separatist mindset in situations like these where the entire ecosystem has turned corrupt. It can't be legislated because legislators are part of the problem as you say.

So you need an independent organization that can fund and provide the resources needed by researchers, and which disregards publication in the corrupt publications. You also need a publication that can support free access.

Something like a hackerspace on steroids, perhaps.

In theory, if you can get enough momentum behind this sort of project, then libraries can turn that license money towards this project and accelerate the research that can be done, where rather than padding publisher's pockets the fees are going directly towards supporting research.
Funny seeing all of the comments span multiple years asking to buy or distribute this product.
Excess deaths takes projected deaths into account. That's mostly covid. Or covid adjacent.
Email Campaign Performance Metrics Guide
How many "independent" voices you see depends on your bubble. How many users are there of these platforms? What fraction wrote a rant? Not saying those opinions are wrong, but it's not particularly insightful.
So it's equivalent to setting:

left: x%;
top: y%;
transform: translate(-x%, -y%);
One way of doing this is to make the viva entirely pass-fail, with a fairly low bar for passing. More of a sanity check to see that a student is generally familiar with the material as taught, and is capable of explaining their answers to questions they’ve previously solved (or variants)
It might not be possible to run a site like sci hub without being extremely paranoid all the time.
Another anecdote (Britain):

I was a part-time visiting lecturer in computing, paid by the lesson. Cheating was rife; I often got duplicate submission of coding exercises. Scoring was mainly by coursework, not exams.

I asked my colleagues what to do about it. They said:

1. You can ignore it.

2. You can report it; you will be accused of racism (the majority of the class were people with brown skin). You will be required to sit on an exam board for several days during the holiday season, unpaid.

3. You can explain to them that collaboration is encouraged, but submitting work you didn't do as if it were your own is cheating, and not permitted.

I took option 3.
The Future IBM We Will Probably Never See
> get rid of "male" and "female" connector terminology and replace it with something not horrible

This is despicable hermaphrodite supremacy. Neither male nor female genders are "horrible", all genders are valid.
What are the system requirements? (For example, I’m on 10.9, I assume that won’t work.)
Show HN: Search Right on VSCode
Again, I think the problem is elsewhere. Where I'm from(Poland) cheating is rampant and universities have absolutely no trouble kicking people out over it. Got caught cheating? Good bye, apply again next year. It doesn't lead to litigation or messy PR. Maybe it's because all universities are free to attend so no one can argue that they paid for something they aren't getting - all they are losing is their own time.
A funny thing is that I read that post years ago

And this week I randomly thought about it.

I also thought I should have bookmarked it, because now I do not know where to find it again
Cloud Migration and 5 Cybersecurity Risks
The Man Who Got Economists to Take Climate Nightmares Seriously (2019)
I can just as easily imagine Apple failing to remain an independent going concern through some of its trough periods in the inevitable cycles that companies go through. As a user and an engineer, I’m 100% Woz, but I think Woz without Jobs probably doesn’t give us the Apple of today (just as much as the converse is also true).
>yet act internally as if it's some terrible place doing terrible things

>Some of the most coddled/well compensated employees in human history acting as if tthey're in some sort of oppressive sweat shop.

Does the existence of people worse off than you eliminate your right to complain?

It kind of sounds like that's what you're saying. If you're coddled (by some metric) you should... shut up?
When you write it like that, it sounds insane. But it's very far from how compilers work. There is nothing like "find UB, then take advantage of it", it's completely inverted.

The normal rules the optimizer works from assume there is no UB. It's just always the normal rules, and they work the same way for all programs.

MichaelBurge's comment has illustrated this better than I could.
Gee, a new contagious disease in birds. What could it be!
For anybody wondering about the technical offer of Tutanota:

"Why Tutanota is the most secure email service."

https://tutanota.com/blog/posts/most-secure-email-service
scrollbar-gutter

https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-g...

Not something you can actually use though.
Ask HN: Collection of Pitch Decks?
I'm looking for collection of pitch decks because I'm planning on starting a startup soon and I want to know how good pitch decks look like.

It seems like a website[0] of this person is down but I remember it was a good site.

[0] https://news.ycombinator.com/item?id=23305196
"Async/await is always strictly harder to use than green threads"

I'm sorry but I can't take you seriously after you say something like that.
Twitter is not the only place for discussion. And people do not vote exclusively based on public discussion. Indians have tight knit communities and how the community votes is a much major influence on the elections than what is being discussed on twitter/facebook or even national TV.

Case in point, Indians might elect BJP for the central government but consistently have been booting them out at the state level for the past 3-4 years. BJP has actually lost power in multiple states since 2014.

Indian politics is way more nuanced than any discussion on an internet forum would ever allow for.
> except when you're in charge of the law and order of a city, and you have messages such as these doing the rounds in the midst of a large scale protest.

I think that cannot justify it. There are lines that should not be crossed, no matter what.

Because if some kind of unrest gives you the justification to take some freedom away from the people, then nothing is preventing you from staging such an unrest, and proceeding to do exactly what you wanted.

> legitimize people armed with daggers and sickles and machetes belonging to sundry outfits pouring out onto the streets and indulging in arson, rioting, and murder.

Also can you give be some proof that this was happening?
Funding is dostributed based on citation counts and the most "prestigious" journals.

"Prestigious" is completely arbitrary and heavily lobbied for by the publishers.
I'm running HA inside docker with two networks: one macvlan-based, which is connected to iot-VLAN host interface. Here, HA can talk to devices (this adapter is set in Settings | General | Network Adapters for the broadcast).

The other is bridge (docker net driver one, not linux one) - i.e. it is in it's private, host-only subnet and a reverse proxy running on a host publishes the web app for the users on the main LAN.
This Week in Rust 398
1. The software should’ve never existed, it’s a testimony to the failure of our education system.

2. You are far luckier than most when it comes to your circumstances, i have seen myself people failing exams for similar mishaps to yours.
>scam covid-19 treatments

One problem I have with this is that Ivermectin is proposed by real doctors who treat patients on ground zero. As far as one can see, there is zero incentives for them to promote a treatment that does not work.

But on the other hand, there are huge incentives to censor the efficacy of Ivermectin and other treatments.

In a perfect world where research and reporting is done with out bias and financial incentives, you would be right. But sadly we don't live in that perfect world.
Unfortunate that you found it disappointing and it wasn't my intent for the title to imply data. It was intended to describe my experience. I can see how you were primed to think otherwise.

This is very much a rant. Hope you find your numbers elsewhere :)
When a university grants a degree, they are attesting that the student has demonstrated mastery of the subject matter, because that’s important to both employers and postgraduate programs. Without that it’s harder to justify paying a university’s price, or spending such a large fraction of your adult life there.
> I'm running on Linux / Ubuntu 20.04 with Python 3.8. How about you?

Indeed, on Python 3.9 it doesn't install, as it requires Python 3.8.

I'd like to try this, how to proceed?
What business in the US makes more money then real estate? There's stuff like Apple where you almost literally own half the countries computers but outside of stuff that is or should be illegal there's very little.

Nothing is like land. You can just let it sit and make money borrowing against it. You can work on it yourself to improve (this has an extremely high $/hr rate.) Everyone has to go somewhere and zoning means "somewhere" is usually not clumped together which means demand for land.

Long term we definitely need to figure something out. Maybe better zoning, maybe LVT. Short term you want real estate if you can afford it.
I agree with you on that point, especially with extremely large sample sizes (think national exams like SATs or A-Levels).

My point is more that universities (in my opinion) should hope to foster a cooperative rather than ruthlessly competitive learning environment, and students know that curves mean that there’s effectively a quota of good grades available, and they’re competing with their friends for them. I feel this massively impacts peer learning dynamics.
Yes, yes, yesssss. Amazing.
Absolutely but it's not "Pythonic". Guido said:

> About 12 years ago, Python aquired lambda, reduce(), filter() and map(), courtesy of (I believe) a Lisp hacker who missed them and submitted working patches. But, despite of the PR value, I think these features should be cut from Python 3000.

("Python 3000" was the code name for Python 3.) He eventually stepped back from this hard line view but it remains a fact that it's a bit of a historical accident that it's present at all.

[1] https://www.artima.com/weblogs/viewpost.jsp?thread=98196
Only if you suppose a fully decentralized system.

Else, you would just send a transaction updating the sender's and receiver's accounts, and there would be no double spent either.

You can build robust currency systems that are only partially decentralized, and partially distributed.
I think the main point is that the decentralization of the whole concept makes it hard for single actors to "hack" the system. Imagine 99% of people agreeing to something and then 1% starts doing otherwise. Of course they will be crushed by the majority. The same goes for 51% vs. 49%.

IMHO I see it as a tool for reaching democratic agreement on anything. The data stored in the blockchain exist only as long as the whole network exist and the majority agrees about the data. It can be basically any type of data!

Also by this logic it could be compromisable by a large enough party. Since the whole existence is based on agreement and 50/50 scenario would only further splice the two groups, each following what they think is the "truth" or "correct".

By no means I'm not an expert on this topic and anyone who has PLEASE correct my if my understanding is skewed. Thanks
If you are comparing the match to the wanted string, it defeats the purpose of the capture group.

if "tarzan" == re.search(r'"tarzan"|tarzan', myvar)[0]:
...

Am I missing something?
Show HN: A Python native engine for web development
I hear they generally are "freely" available, just email the authors and ask.
I expressed myself poorly. The fact that aspects of Sci-Hub are illegal is the reason I wrote the comment. In a perfect world, academic institutions would have combined their efforts to provide a viable equivalent to Sci-Hub legally. Whether that means buying out publishers, or making do with a small selection of existing papers and focusing on future publications, I don't know.
I’m pro-repair (and a regular purchaser of 18-36 month old iPhones and 2-4 year old [often just off-lease] computers).

Even given that, I don’t see how “end users must be able to change batteries in a practical way” would not negatively impact the quality of the iPhone I’m holding in my hand right now.

From a water-resistance standpoint alone, I think my phone would suffer in at least one dimension that matters to me. (It’s an Xs Max and yes, I bought used, confident that the water resistance was intact. If I sold it now, the next buyer has that same assurance.) Phones get wet at some low (but not insignificant) rate; it’s hard to avoid that across the entire population.
Stellantis to source over 260 GWH in EV battery capacity by 2030
Yeah, US companies make a lot of defense items, but it's not as if Raytheon is selling to ISIS.
>> "why doesn't water explode when you dissolve salt in it?".

> Because you have to melt the salt first.

Oh, god! You gave me a nice rabbit hole to explore. Thanks!

Also thanks for understanding my attitude. I loved this interaction.
I wonder to what degree is the cheating epidemics rooted in the fact that we have made a college title something of a Golden Calf. Or at least Bronze Calf with a thin gold finishing. (Even idol vendors cheat...)

Too many people feel the push to have a degree even if their capabilities (not just raw intelligence, but things like grit) aren't on the necessary level. Then they resort to cheating.
So my assumption is that for a given business model, like e-commerce or Saas business much of the highest value analysis is fairly standardized and can be templated. For example breaking down conversion rate by weekly cohort is something that can be pretty easily be done in google analytics.

The problem with English to sql translators or most coders in general are the assumptions we make, in particular about the underlying data. For example, say we want a join two tables, so we write a query to join on two columns and often call it correct which it is from a logical or schema perspective it is. However, null values, defaults like 0, many to one relationships vs one to one relationships, issues with instrumentation such as networking timeouts or bot detection, etc all can impact the down stream metrics. My point is that when there are 500 lines of sql in a query such as those mentioned the article, there’s a lot of ways to be mostly correct but to cumulatively be wrong.

Like many popular enough open source tools, 3rd party vendors get battle tested, issues get found before you, and they can justify devoting more resources to rigorously ensure correctness than the average analyst has the time or energy todo because their business depend on you trusting the outputs.

I’m not saying you couldn’t do all this yourself. But given the sheer number of analytics tools that are reasonably priced, you might have chosen to spend your time on something more specialized like a recommendation system.
> It could be even better if we can have function composition.

I think composition and piping are such basic programming tools that make a lot of code much cleaner. It's a shame they're not built-in in Python.

So, shameless plug, in the spirit of functools and itertools I made the pipetools library [0]. On top of forward-composition and piping it also enables more concise lambda expressions (e.g. X + 1) and more powerful partial application.

[0] https://0101.github.io/pipetools/doc/
Fun fact:

2134567890 is a valid IPv4 address

You can try and ping it
Remote Tech Jobs – Engineering, Data Science, UX Design, Blockchain
You are definitely not alone. I really enjoy airplane food. I think it might be a specific way they cook or reheat it. The meals I've had use strong gravies. The feeling of humidity when the foil on the main course gets lifted ... bliss! Maybe even the presentation has a quality that resonates with me personally.

To each their own, I guess.
The authors give the rights over to journal when they submit the paper. The authors depend on publishing in high impact-factor journals for tenure and continued funding.

Not all academics support it and several groups have opted out, publishing in open access only or organizing their own journals and conferences.
Seconded.

I was a bit sad to not see any mention of a data engineer anywhere in the article.

Like, if you gave me access to all the prod tables and the warehouse I'd be having a whale of a time and (hopefully) delivering enough business value to automate some of the more regular "English to SQL" translations.

> You very likely don't want a data scientist to be doing a data engineer's job.

100%. This is one of those things that would make "disgruntled ML people" in the article want to leave.
Audacity's telemetry is (for now) just:

- OS/IP/Audacity version when checking for updates (opt out) - should be opt-in if you ask me

- Crash reports if you choose to send the individual one which can include personal data
The Airbus HQ is in Toulouse, France.
The runway of TLS runs roughly perpendicular to the ring road, and it's
common to see the Belugas at very low altitudes crossing above.

The first time I saw one cross, I nearly drove off the road - the scale and form of these things is quite spectacular.
It very much depends on the design of the tricycle. Tricycles with two front wheels are rather stable. And they offer several advantages vs. motor bikes, as you don't have to lean before you can steer, recovering from a loss of grip is also more likely.
I am driving a tricycle (2 front wheels) recumbent bike and am very happy with it, especially on slippery ground. I also like having 2 front disc brakes for quick stopping - basically as fast as a car.
One of the worst explanations I've read so far
Show HN: Dacade, a Peer-to-Peer Blockchain Learning Platform