skysight-inc/HackerNews huggingface dataset:
For everybody reading this and scratching their head why this is relevant: Python subclassing is strange.

Essentially super().__init__() will resolve to a statically unknowable class at run-time because super() refers to the next class in the MRO. Knowing what class you will call is essentially unknowable as soon as you accept that either your provider class hierarchy may change or you have consumers you do not control. And probably even worse, you aren't even guaranteed that the class calling your constructor will be one of your subclasses.

Which is why for example super().__init__() is pretty much mandatory to have as soon as you expect that your class will be inherited from. That applies even if your class inherits only from object, which has an __init__() that is guaranteed to be a nop. Because you may not even be calling object.__init__() but rather some sibling.

So the easiest way to solve this is: Declare everything you need as keyword argument, but then only give **kwargs in your function signature to allow your __init__() to handle any set of arguments your children or siblings may throw at you. Then remove all of "your" arguments via kwargs.pop('argname') before calling super().__init__() in case your parent or uncle does not use this kwargs trick and would complain about unknown arguments. Only then pass on the cleaned kwargs to your MRO foster parent.

So while using **kwargs seems kind of lazy, there is good arguments, why you cannot completely avoid it in all codebases without major rework to pre-existing class hierarchies.

For the obvious question "Why on earth?"
These semantics allow us to resolve diamond dependencies without forcing the user to use interfaces or traits or throwing runtime errors as soon as something does not resolve cleanly (which would all not fit well into the Python typing philosophy.)
maybe -simplicity- will apper obvious after the hard path to reach it.
maybe -obvious- is a (very) relative concept:

some are nice (obvious?) "Find your tribe by filtering people, not converting them"..
others appear more relative to the context.. "Stereotypes exist for a reason", sound like: every stereotype has it's (mostrly wrong) reason..

"Practice doesn’t make perfect. Practice makes permanent" remind me: "If i study, i know. If i do, i understand"

Some reminds me Perlis epigrams.. like
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it."
http://www.cs.yale.edu/homes/perlis-alan/quotes.html
I think you're underestimating the CPU requirements. If a weak Android phone is only able to decode 50Mb/s of TLS traffic, that's not a big problem in practice. It's a slow phone, usually connected to slow networks. On the other hand, if you have a gigabit internet connection at home and it is being bottlenecked to 50Mb/s by that weak device sitting between all of your computers and the internet, then that is a big problem.

The CPU requirements for TLS are extremely dependent on the desired bandwidth. At even higher bandwidth, offloading onto accelerators becomes important to be able to do it at all. The cost of handshakes is also nontrivial, and can limit the number of connections per second. For a single device, rarely a big deal. For an entire network of devices, it can be a bigger problem.
Really? To me most of JS quirks are things like `(1 == '1') == true`. Or why there are both `for .. of` and `for .. in`. Maybe you're just too familiar with the language to forgot about these things.
Nobody, not even Elon Musk burns that much money on a whim, besides, he tried everything he could to get out of the deal.

All these weird 'genius play' defenses really are hard to follow, people make mistakes, even Elon Musk and if he had been able to walk away from it he would have.
My company had a mandatory come-to-office for every but people who are truly remote. For the truly remote (e.g. me) they cut all fringe benefits. They also have gone out of their way to find subtle ways to rub it in our face: expensive lunches and dinners for people who come in, all "fun events" happen locally and to attend you have to pay your own way, etc. So remote workers like me are second-class citizens. I've even heard "remote work will hurt your ability to advance in the company".

They'll never stop hiring remote. Remote workers will simply become second class citizens at a company with fewer benefits for the same work. Most people, including myself, will happily sacrifice beer coolers and ping pong for the privilege of never having to deal with an office again.

I do feel bad for people who are coming into the office. I hope those fun events and food are worth the gas money, increased risk, and reduced health going into the office entails.
> I'd prefer to get rid of the app and just have users go to the website and install the PWA, but the average user still doesn't know how to do this

I think you misunderstood users, it's not just ignorance. I want apps to go back in the direction of real(not cordova) apps, not some low effort web thing. Basically zero web apps match the experience of a well crafted actual app.
At least for the moment, it isn't necessary. All costs and time associated with commuting are pure externalities.
This is literally me. It is a math program that can evaluate equations and generate code. 6 layers of heterogeneous data structure which the math operation being act on 1st layer has its effect down to 6th layer. Temporarily using *kwargs to make it works but still thinking what is the proper way to do it right.
Haha, this is exactly what I asked for. :-) I should have checked Awesome OpenBSD. Thanks for making this list.
Lack of Precompiled Header support kills this for us immediately. (We also currently use the unsupported method of debug info generation which we could change). A local build cache is no better than UnrealBuildTool's detection though.
What the cone is made out of is irrelevant. Any sort of FOD ingestion will lead to downtime and inspection/rebuild depending on severity of the damage found.
There's a risk of significantly upsetting the employees by discriminating against remote work, so this experiment is probably not worth trying.

Another reason it's not worth trying is that the conclusion might be already evident - many top-skilled people are leaving their jobs and taking a pay cut to work in companies that respect their work-life balance. A pay differentiation will not make the best employees self-neglect.

I think the pandemic reset a lot of things, made a lot of us look at the bigger picture. Certainly not everyone, but some people probably thought they wouldn't be proud of their lives if they died of Covid when all they've achieved after school, college and uni was wage-slaving in an open office, sandwiched in between two rounds of commute each day.
Weird argument, you're mixing things up.

The NYT is a media property and a trademark, they can choose to deliver their content on any platform they want.

Wordpress is one of such platforms to deliver content (like the hot metal typesetting machine). Other sites could still be around and ditch Wordpress for any other new platform that comes up. And GP would be horrified to think that 100 years from now, people would still use said platform to deliver their content.
Seems to have been part of life as an ancient jew: https://www.biblegateway.com/passage/?search=Leviticus+14%3A...
I'd listen to him before I would listen to you.
Then why doesn’t a[1] return None?

I understand the logic behind both decisions, but it’s not surprising that people find it inconsistent and unintuitive.
I had NFI what MPW was until I read this: https://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Works...
Do you have any source of this scheme?

Support page clearly explains about revenue sharing, I don't see anything about pooling:

https://support.google.com/youtube/answer/72902?hl=en#zippy=...
Conspiracy theorists: the TMNT pizza boxes are encouraging Satanic ritual abuse
> The moon is the first step to becoming a permanent spacefaring civilization.

Can we stop pretending that? It's just marketing bullshit to get people excited about sending people in space. We won't become a permanent spacefaring civilization, period.

Check how far the next star is: quite obviously, without fundamental changes in how we understand physics, we will never get there in any kind of remotely useful way. Sending stuff to the Moon doesn't change our understanding of physics (which we need in order to reach other stars in non-ridiculous amounts of times), we can do that on Earth.

What is left, then, is living in spacecrafts. Apart from the fact that nobody wants that (would be much easier to build a bunker on Earth and live alone there, if that's what you want), we are just not capable of doing it for a few people, let alone an entire "civilization". Actually, our civilization is quite probably about to collapse because we can't even manage to survive on fucking Earth.

Ok, sending stuff/people to the Moon is fun for the people who get to work there. I would definitely throw my principles out the window if I got to fly to space, like many. Let's just stop pretending that's "good for the civilization". It's a fun toy project for lucky people who haven't found a way to use their skills for actually helping us survive on Earth (or who don't give a shit).
Businesses should pay for commute time or deduct it from expected hours.
I mean, this is pretty much the paradigm for everything now. Angular versions go out of LTS in about 18 months, Android apps need an update in about the same timeframe, etc. Makes COBOL look like a dream - build a functional app that just works for 20 years.
> 35% of all jobs that could be done remotely were being done by people who worked remote full-time—five times as much as before the pandemic

I had to read this two times as it’s poorly worded.

An any rate, it should be 80% and not 35%. You don’t need to go into an office to make software.

There’s something just sinister how employers are handling this as it’s got nothing to do with actual output.
title shortened from "According to Pizzagate conspiracy theorists, the Teenage Mutant Ninja Turtles on Pizza Hut boxes are encouraging Satanic ritual abuse" to fit HN length limits
To quote the popular Jeremy Clarkson meme, "Oh no! Anyways..."

On a more serious note, once we return to a more jobseeker friendly market, I'm curious how companies that insist on RTO will be perceived by jobseekers. I imagine that those RTO companies will either change their tune very quickly or be considered a third rate place to work.
Where do fonts come from? This one business, mostly
Creators say they struggle to gain a foothold in a font market dominated by Monotype
I find this kind of article pointlessly inflammatory. Oh, some aggregation of nameless finance chiefs want more workers in the office, what does the proletariat think of that!? This just breeds division and blanket accusations.

Meanwhile, where I work, we're still allowed to be 100% remote, but also recognize this has pros and cons, especially for juniors and new members of the team who haven't met each other. Productivity is up, but team connection and cohesion is down. Generally people are happy with the tradeoff, but that doesn't mean it can't be improved via thoughtful tweaks (periodic get-togethers, hybrid meeting protocols, etc).

The key is some level of trust and dialogue with management, not this adversarial hand-wringing-for-pageviews noise.
My understanding from earlier notifications was that updates would not be accepted unless you targeted a new api version. That is fine, since I haven't updated the Google Play "app" since I first released it. This is because the real app is a PWA that I update through the web, and the Play Store app is just a shell around that.

The first time I was aware that the app would be delisted in the Play Store for new devices was in the August 18th email.
"Call me paranoid but finding '/*' inside this comment makes me suspicious"

That, Sir, is none of your business.
At least back then a blue check was an account that had some sort of verification
I think it works on Firefox for Android.
I've seen it called the company previously known as Twitter. Maybe with a nod to Prince.
How do you use stream deck in a typical remote work setting?
https://archive.is/ymdh4
every little thing happens in practice... usually unnoticed and buried while refactoring something innocent/ly.

sooner or later the __eq__ method will be redefined for some class, then reworked, and then.. == None might not be what was supposed to be..

or, my favorite, x='a' ; (x,)[0] == x[0] == x .. but are only equal until x changes to something not-1-long-sequence..
So how would you monetize YouTube with its huge infrastructure & payroll? And if everyone used something to block in-video sponsored ads, how would you monetize your hard work as a creator?
You do realize that Transformers were designed around the hardware that exists.

It's not as if we said wow, all you need is attention, and then Nvidia built some GPUs for it.
i hate it when sites are posted with out any descriptive title ;-) then i am curious, and end up getting drawn in.

now i want to run:

ssh level0 command to read pw1 | sshpass ssh level1 command to read pw2 | sshpass ssh level 2 ...
OT, but this is my number one peeve with code documentation: going to the effort to write a doc comment, taking up at least 6 lines, probably using some special syntax, cluttering up the code, but then adding no information that can't be derived from the signature.

If you're not going to document something (which I totally respect), at least don't make the code worse while doing it.
Haha totally! what a throwback
Read the privacy policy, they explicitly state they store it. Obviously, because in many cases they need to know who watched that. For instance for their licenses they need to be allowed to show you copyrighted content.

You can ‘pause history’ which means ‘If you turn off your YouTube watch history and have no significant prior watch history, YouTube features that rely on your watch history to give video recommendations, like recommendations on the YouTube homepage, are removed.’ it doesn’t mean they don’t store it.

Google stores everything and deletes nothing. If you don’t want Google to keep track of information, you have to make sure they don’t have it and never get it.
My immediate first thought is, optimisation? If you know you’ve been the same object, you could skip e.g. comparison, or change update logic
I'm a fan of Dash to Panel.

I'm surprised more people aren't mentioning these two extensions.
I actually created a library for this!

Forge: forge (python signatures) for fun and profit

https://python-forge.readthedocs.io/

https://github.com/dfee/forge
None of these are good since they involve way too many clicks on tiny square/round buttons with a lot of scrolling and expanding/collapsing various filter categories, so users can't "easily find" what they need
The old techniques didn’t fall out because building stopped. New materials and tools are why. The techniques used for some intricate carving were sure to be lost when electric tools and computer aided machine tech came into existence. The average rough carpenter is probably lousy with a hammer compared to 150 years ago but they can frame a house out just fine using a nail gun.
I self host one of those proxy services that plays the videos skipping the ads on my phone. I access it in my lan and in my vpn.

On my tv… i purposedly picked a tv without any form of smart feature, and have a small nuc to use the aforementioned proxy.
Tell that to all the people (especially women) living right now in Afghanistan, North Korea or Cuba. Truth is, it's hard to switch countries.

Out of curiosities, what are those four countries and did you also acquire their citizenship?
I've been remote for almost 7 years.

I live ~175 miles to the closest tech hub, so changing to in-office work isn't an option unless I move. If I was forced to move, an equivalent house to what I have now would cost about 3 times as much and I'd have at least an hour commute each way.

I save a lot of money not commuting and eating at home, and a lot of issues I'd otherwise have to miss work for if I went into an office (family illness, childcare issues) are super easy to adjust my schedule to work around.
The Musaicum EU-plus 10M resolution image of Europe
The interruptions are often no better with remote. Unless you completely disable Slack notifications, you'll be subject to annoying DMs and unnecessary @heres, and perhaps summoned to pointless Zoom calls where a not-actually "urgent" issue must be dealt with.
Previous discussion: https://news.ycombinator.com/item?id=30238928

To inline my comment in the previous thread:

Just for some context, the MPW C compiler that produced those messages was actually not developed internally at Apple, but was rather done by Green Hills Software [1] under contract as mentioned on the wikipedia page [2] and its source [3] which is funnily enough about this exact same topic.

[1] https://en.m.wikipedia.org/wiki/Green_Hills_Software

[2] https://en.m.wikipedia.org/wiki/Macintosh_Programmer%27s_Wor...

[3] https://web.archive.org/web/20140528005901/http://lists.appl...
A couple studies indicating benefits from Khan Academy, just from a cursory search:

16% lift in overall test scores: https://www.ischool.berkeley.edu/sites/default/files/sprojec...

11% lift in math test scores:
https://bearworks.missouristate.edu/cgi/viewcontent.cgi?arti...

And Khan Academy's impact page: https://www.khanacademy.org/about/impact has links to additional studies.
Ponzi Scheme

Any “forever” or “unlimited” are forms of a Ponzi scheme.

Note: I not saying Wordpress is being malicious. I’m just saying that for the economics of a “forever” or “unlimited” to work, you need to find new money to offset the old costs - and a lot of really good companies have had to learn this lesson the hard way.
> So much so that people talk about dropping it every now and then.

They did consider it in the 20th century when Japan was modernizing and catching up with the Western world. Nowadays nobody takes you seriously if you propose abolishing it. The debate was settled in 1962-1966 [1] when the government officially gave up any attempt to remove kanji from the Japanese writing system. It’s a very much a fringe idea now.

[1]: See 国語国字問題 on Japanese Wikipedia. The full quote is 漢字仮名交じり文が審議の前提。漢字全廃は考えられない。
I know it’s not as fun, but you could also pay for YouTube Premium to remove the ads.
There is also the Torah and Old Testament concept of Jubilee which was a 49 year cycle and involved the reset of the whole economy amongst other socio religious things so all Debts were erased for example and property rights were renegotiated. It would come as no surprise if the practice of Jubilee was related through the ages to this “burned house horizon" story.
8 jobs for COBOL is really high relative to Java, where is that?
Remote workers' connection to companies' missions hits record low
I'm also planning to jot down the approach and strategy into short form blogs as and when I keep solving them and publish it on my blogging site [1]. This will help me keep coming back to it and revise it more easily.

[1]: https://akashrajpurohit.com/
There must be some misunderstanding about re-licensing. That can only be done for code one has the copyright for. A CLA/CA assigns or grants copyright or grants the ability to perform actions on behalf of the copyright holder. So "that company" controls copyright and can relicense. Other parties cannot relicense because they don't control copyright.

Depending on the license, a party without copyright may be able to create a derived work that incorporates the original. The derived work may have a different license as long as the incorporation satisfies the original license. This is what people normally think of as using open source licensed code, and it does not include re-licensing code.
A year ago big money wasn’t at risk of being lost. What a coincidence, huh?
I think there’s an opportunity cost not considered explicitly here, which is heavy users of YouTube (such as myself) find $13/month cheaper than wastes time watching ads.

If I added up the total ad time I’d have to see on a free account, the math would heavily favor paying to not see them vs my (or really most software engineers at the level of YouTube I consume)’s hourly rate.

It’s made decisions much easier for me if I take my hourly post-tax rate and compare it to services I’m using. If math works out, it’s generally worth it.

I’d love to fight the good fight against ads and stuff, but between working 9-5 and a side business, relationships, hobbies, I just don’t have the time.
From those same docs, it appears you can build an API with Route Handlers when using Server Components:

https://nextjs.org/docs/app/building-your-application/routin...
Secret Memo to LBJ’s Special Assistant for National Security Affairs (1965)
I'm sorry to read you've had such an awful educational experience. Where was this? It does not resonate with my experience at all. I had my fair share of awful teachers, but the handful of excellent teachers really made a difference. The course material was generally pretty decent as well.

My formal education ended some 20 years ago, and I'm sure things have changed, and from what I hear from younger friends and relatives, it doesn't seem to be for the better ...
Pay a company for the services it provides!? Blasphemy.
I think this is supposed to be sarcastic
This is a nice gesture and I hope this really works out. However, one should keep in mind that things changes and be ready for that too. Here are two examples;

Network Solutions 100-year domain registration[1][1a] and Evernote's 100-Year Plan[2][2a].

1. https://www.networkworld.com/article/2332012/network-solutio...

1a. https://archive.ph/hpkn2

2. https://www.forbes.com/sites/mikeotoole/2014/11/13/evernote-...

2a. https://archive.ph/43Dwr
I've been sort-of adjacent to a lot of these groups when they were in their infancy (hackr.org darkdevelopments.com ssgroup.org etc;) and it's really cool how the majority of the kids who were running those sites in the 2000's are now so keen to create better environments for others to learn.

Hackthissite and websec.fr are other excellent resources from the same pedigree of people
Block all ads, support creators directly if you feel content is worth your money.
“Legitimise” is very subjective, this is why we have laws in place.

If you accept terms and conditions you don’t agree with, what are you complaining about?
Yeah, in large projects that span a number of developers I agree with you. In a project that only I will ever touch? Like my personal blog? No way am I not going to reach for the most powerful featurea of a language. That sounds like exactly the right place to experiment with them.
Think about the fact that office space and it's maintenance are the second largest overhead after personell, and these companies want that overhead back. What is it worth to them? I'd say a big part of it is inertia, they have leases and procedures presuming physical presence and what not, I'd be willing to bet some governments are leaning on the biggest ones to prevent a collapse of the commercial real estate market (this is big business, pensions rely on it, this is a systemic risk) and then there's the control. All in all I'd say if you let the first 2 shake out by staying the course, the third one won't seem as appealing, but shaking them out is a very painful process.
Just use '===' and all these "quirks" go away. Or learn the proper semantics for false-ish/true-ish (takes about 20 mins.) and you're on the other side.

The Python ones are abhorrent, here's a few of them:

* the 'is' operator behaving differently, even when called with operands of the exact same type?

* (from TFA) # This will print True or False depending on where you're invoking it (python shell / ipython / as a script) (WHAT?!)

* No multi-line lambdas because that makes the AST unparseable, literally. Then cover it up with some shit argument about how ackchually is more "pythonic" to only use one line functions, lol.