skysight-inc/HackerNews huggingface dataset:
> Why is it needed, instead of just creating an anonymous class?

I think the question should be: why do you want an anonymous class? If it's sufficiently ad-hoc that it doesn't warrant a name, you would typically use a dict.

> Or allowing the class factory to manipulate the current namespace?

I think that would just be considered too surprising and non-standard behaviour (other Python functions don't get to modify the scope they're called from).
I wonder if this is a BC-specific problem, because Amazon and Shopify appear to be paying seniors in Toronto around $150-200k CAD/year+RSUs. With Google opening an office, and Snap already here, and Yelp already here, and Square already here, and others, I think the market in Toronto has already started changing.
> With Chrome taking the lion's share of the browser user market, you end up with a lot of sites that work well in Chrome but not so well with other browsers.

TBH the only sites where I have noticed this are Google sites like Hangouts and YouTube. But even those work fine, they just seem to use quite a lot more CPU than I think they should. I do have Chrome as a backup in case something doesn't work, but I can't remember the last time I had to use that.
That doesn't sound like us, though of course it's always possible that we made a mistake. I've made hundreds of thousands of moderation decisions and tens of thousands of posts. No doubt thousands of those, at least, were wrong.

If you're going to make a claim like this, you should provide a link so that readers can make up their own minds. When such complaints show up linklessly, it's usually because there's more to the story that the complaint is omitting (https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...).
json is already valid yaml
I have always loved this site.

I wish there was a search engine that indexed only pages like these. Something that penalized pages with ads[1], and penalized larger sites. A search engine for the "personal" web.

[1]: Not that I'm actually opposed to ads. The trouble is the incentive of "more views = more money" leads to content farming, which is what has destroyed the usefulness of most search engines.
They have paid services an despite what cloud providers and CDNs might have you believe, bandwidth is exceedingly cheap.
Seems like some projects survive their parent company abandoning them like illumos (successor to opensolaris). It's not common, but also not impossible.
Build a Positive News iOS Application Using the Power of Machine Learning
This one looks interesting:

How transistors really work (1995)

http://amasci.com/amateur/transis.html
That seems like a great way to mitigate the availability bias.
Samuel Doe
(Disclosure: proud US submariner '94 - '00)

We're talking about them paying for military surplus like vehicles, machineguns and other items that 95% of departments don't need.

If the DoD weren't spreading surplus Army gear out like candy to babies who don't know how to use it, there would be a lot fewer opportunities for the not so stable elements of police departments to escalate otherwise normal situations just so they can play with big boy toys/get that "underfire" adrenaline hit again/get that power trip high that they craved from high school/soothe that sociopathic itch to dominate others.

We can put our voices together and force the DoD to stop this bullshit surplus program and acjnowledge that they built and bought too much and get egg on their faces as they destroy old gear and vehicles.
> fundamental principle of a corporation is to give you the LEAST possible service for the highest possible price.

And as a consumer you want to get as many goods as possible for as little price as possible.
Same here. I have gotten everything in emails, but I don't live in the same location as my similarly named cohorts.

Home Depot pickups, business invoices, Ticketmaster tickets, invitations to so many events, boat rides, cycling clubs...
Cool, how does it compare to OpenSCAD?

http://www.openscad.org/

EDIT: found an answer here: [1]

[1] https://news.ycombinator.com/item?id=9248701
Yes, double newlines between. For paragraph-length bullets that makes sense, but for a few words each it is a lot of extra vertical space.
Visit this website and watch the TV Shows from 1980s on an old CRT TV
Not too difficult to configure Firefox imo. My recommendations on plugins:

* HTTPS Everywhere: https://addons.mozilla.org/en-US/firefox/addon/https-everywh...
* DuckDuckGo Privacy Essentials: https://addons.mozilla.org/en-US/firefox/addon/duckduckgo-fo...
* uBlock Origin Firefox: https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...
You can also append .compact to any url for a simple mobile- friendly version of reddit. I refuse to use the app and this works great for me.
> Chrome takes 102-200ms to render the page, Firefox takes 150-400ms. 1.5 to 2x slower -- and that's after all the performance upgrades they've done with Rust and Quantum.

How did you actually measure this? I wonder whether these small timing differences may just be differences in how the respective dev tools report the timing info.

FWIW I also don't think the relative difference will be this large for bigger sites - I'd be very surprised if a site that takes 1s to load in Chrome would take 1.5-2s in Firefox.
You didn't understand the article. The article doesn't contain a single loophole. Each of those features has legitimate use cases and it is impossible to detect whether they are illegitimate.

Just look at the first example. It straight up denies access to the content and the reason why lighthouse accepts it is because hiding content just hides content. Usually when content is marked hidden the user is not supposed to see it. It is therefore not a concern if a user can't see hidden content. Imagine if you had a hidden dialog that is only shown on user interaction. Any automated tool cannot tell if this is an accessibility issue or not. It's like deciding if your car should be blue or black. There is no objective answer and choosing the wrong color won't reduce your score.

All the other tricks in the article follow the same pattern.
Good question. The answer is that it requires you to keep your driver maintained as a patch that applies against the kernel you want to use it on.

Every release, there's refactoring and improvements of the kernel subsystems. They don't offer stable APIs (by design) for drivers - you need to keep it up to date.

If you want to see this for real, try getting a "code thrown over the wall once" type embedded device kernel tree, figure out the kernel version it shipped on (likely ancient), and try to apply the latest patch level for that release to it. Then resolve the inevitable issues even just applying a few minor bug fixes.

Now if you to to update to the next major kernel version, you'll start to find functions your driver tried to call aren't there, or have new function definitions. You need to dig through the code to see what's changed. Over a few major versions, you'll eventually realise this is a whole lot of bother. If you just mainline your driver, you'll no longer need to worry about this costly maintenance burden - it might well be a few engineers spending most of their time on it. That quickly adds up, and suddenly mainlining starts to make sense.

Nvidia has to keep updating their proprietary driver every release, and presumably has a few developers doing this. I can't speak for how well it works, as I always go for AMD, but other comments here seem to confirm distributions will happily break Nvidia drivers because they aren't mainline and therefore aren't tested.
> unlike the cylindrical profile which again just steers with the flange basically rubbing against the edge of the railhead.

That's crazy. That means that the wheels are actually slipping when going around a corner, because the wheels are all the same diameter. Unlike conical wheels, which are essentially self-steering.

Here's a great explanation by Richard Feynman: https://youtu.be/WAwDvbIfkos

How could the BART trains possibly have cylindrical wheels? Conical wheels have been used on trains for ages, so that's seems weird. But doing some research, it seems that, yes, they were cylindrical:

> Queensland Railways, for its first hundred years, used cylindrical wheels and vertical rails. With non-inclined rails and cylindrical wheels, the wheel squeal from trains taking curves on that railway was slight. After adopting coned wheels and inclined rails from the mid 1980s, the wheel squeal from trains curving at the same location and at the same speed decreased immensely. Some modern systems, such as Bay Area Rapid Transit (BART) in San Francisco, use cylindrical wheels and flat-topped rails; BART is now switching to conical tread to reduce the noise caused by flange/rail contact and loss of adhesion of one of the wheels on curves.

-- https://en.wikipedia.org/wiki/Wheelset_(rail_transport)#Semi...
I hate it too. You never know if it's someone that legit used a wrong email, or if it's some kind of phishing scam.
Minneapolis and Outside Agitators
the imposters handbook

DON'T HAVE A CS DEGREE AND FEEL LIKE YOU SHOULD?
Hey I don't have one either and I always managed to get the job done anyway... then again...

https://bigmachine.io/products/the-imposters-handbook/
It's why I now run a software company. Reading this (and the Advanced User Guide) at 10 years old gave me a career.
I agree that this technique probably makes better characters, but I'm not so sure that better = memorable. The title and the article itself don't entirely match up imo
Very well articulated. The author unfortunately uses generic phrasing to paint a mischaracterizing image. Like so many other examples, it appears to be an attempt to fit words over preconceived, negative feelings. There are good versions of this argument, but this isn't one of them.
> I just don't feel like I'm nearly educated enough on CBD in dogs to start using that as an ingredient. I know it's become very common very quickly, but I'd have to read all the research before I could consider it.

It's been done:

https://www.carolinahempcompany.com/products/lalas-cbd-dog-t...

When hemp was still in the grey area they got hit with shut down by CDPHE at the behest of an undisclosed pharma giant. The creator of those treats was a friend of my co-founder and a regular at our parent company's events in CO where she sold her products. She might have gotten an award at the hemp awards, I'm not sure.

The efficacy of CBD is well understood, what isn't is the standardization and practices for effective administration be it in Humans or animals. My guess is you'd get into issues with freezing the hemp oil/extract infused cbd effectively. I mean you could use shatter, if you were really motivated.

Also, this could subject you to bank account shutdowns and business license delays if your bank(s) find out.

Source: Ex fintech founder with hemp farmers, and ex biodynamic farmer that studied hemp and its various properties during apprenticeship and biologist.
I think I ran across this at Bloomberg.com:

"Linguistic scholar George Lakoff was among the first to acknowledge the Sanders milestone, comparing it to a President Richard Nixon quip from 1973. Lakoff tweeted, 'When you negate the frame, you activate the frame. When Nixon said, ‘I’m not a crook,’ people saw a crook.' Lakoff didn’t go there, but President Bill Clinton likewise negated the frame to activate it in 1998 when he insisted that he had not had 'sexual relations with that woman.'

Context and contextualization is an important point to honest, open communication. What might appear as factual differences or a stubborn opponent might really be stepping into the conversation with intersection free frames. Sometimes we tend to frame things in such as way as to remove our agency, or posit the other guy as the jerk etc..
So knowing your frame, and knowing a frame often enters into it (ex. DBT deals with this) is an important element to honesty to self and honesty with your your audience.

Talking without a filter; that is without constantly editing oneself to make it PC or conform to the normative organizational human structure in the room is a kind of openness too. On the other hand merely free-form raw, honest feelings or bottom lining the situation to avoid social norms to let the "truth" out isn't per se really open.

To are caveats here: there are a range of defensive behaviors (see below on Human Element and Dr. Schutz) so that while one may come across as honest and authentic (ex. not PC, not catering, not-careful) are in fact non-self-aware behaviors one exhibits to avoid conflicts with self-esteem.

Consider a prototypical alpha-male: as long as I criticize and blame someone on their lack of competence and failure to succeed ... could seem like honest feedback. Or it's the fog I hide behind to avoid dealing with myself. As long as the other guy is on the hook, I don't have to look at myself. All the more so if this is my go-to in difficult situations. Other people don't do criticism. Their go-to is playing the victim, or playing it off (what problem? what are you so upset about?) etc ... these behaviors often arise in heated, hard to solve situations when one is unable to cope well.

Openness in the good way, and the ultimately the most beneficial way wherever pairs of people interact has a strong focus on self, feelings & fears about self, and is less outward looking that might otherwise be thought at first. And it's worth pointing then genuine openness needs safety. An office that's doesn't promote safety will just get a bunch of people who say what they have to or what they can get away without without losing their job or so pissing off someone that there's payback.
I was going to mention the same thing. This happens on Reddit too.

If your posts are unpopular for any reason you're automatically penalized. Doesn't matter if you're right or wrong, you're penalized for posting anything that people disagree with or don't want to hear.

That's why sites like Reddit and HN will always be echo chambers. Dissenting voices are automatically silenced. Not 100% of the time, but often enough that most will probably never waste their time posting.
This is the browser trying to produce a bold version of the typeface when one wasn’t loaded in.
Show AN: Search engines still scant answer queries
E.g.

A simple request in light of the recent death of George Floyd

“us black deaths in custody vs white”

Does not answer... returns news stories. If anything I’m finding searching engines regressing in quality and performance (I’ve been using since the days of Infoseek, Altavista etc)
First software ate the world. Then capitalism ate software, as it degenerated into rent-seeking.

[1] https://en.wikipedia.org/wiki/Rent-seeking
This seems like a misunderstanding of XML. XML has no built in concept of arrays or properties. This is a problem with your application of XML, not XML itself.
I can't stand the new reddit I'm always on the old.reddit
I built a small library for synchronizing subtitles with video (https://github.com/smacke/ffsubsync) at a hackathon, and a couple of users appreciate it enough to sponsor me for $11 / month, which comes to $22 / month after Github matches contributions :)
This looks interesting. I’ve been using using Google Custom Search to add programming related bookmarks for git repos, blog posts, and solutions to problems to a private index. The downside is that adding new links to the index is a pain since google doesn’t have an add API. This looks like it could be a good alternative.
From the same browser that brought you “Hey we’ll just start taking donations for everyone whose ads we block, and we won’t put any effort into contacting anyone to tell them about this - and if they do find out, the process to start getting those donations is a giant pain in the ass!”

I’m tempted to add some browser sniffing to my site just so I can block this scammy thing. I don’t even have ads on my comics any more, just a Patreon. And I fully expect at this point that anyone clicking my Patreon link on Brave would get redirected to some weird site they built that skims my Patreon posts, makes you pay in crypto, and only pays me 5¢ out of every dollar you think you’re paying me.
The milky way is pretty small in comparison to the rest of the cosmos.
I can’t speak for the users of other OS, but for a long time Firefox was essentially unusable for me on OSX.

I have always liked Mozilla though so kept trying builds over time, eventually leading up to Quantum the nightlies became better and better and it was easy to switch back at that point.

What a shame it happened in the first place though.
Power is local citizens banding together, grilling city council members about what equipment they will authorize the municipal police to use, and voting them out until the next councilor is one who will follow through on their election deal.

Starts at home.

When local departments get their acquisitions tightened down, then we start pressuring governors to turn the state police back into officers instead of National Guard reserve.

Starts at home.
The problem is that none of it is consistently communicated. Maybe something like "let's replace the police with XYZ, this is why A, B and C" vs "defund the police".
Happens to me all the time. At this point I have 5 different peoples emails coming to my gmail.

One guy in New Zealand is a grip so I get a lot of filming schedules of movie locations/shoots and scripts.

I get Geico & Verizon bills and account updates for a guy called Judson (I'm Justin).

Another guy is a Teenager in Carolina so I get some dubious stuff for that one.

There were some others too but I auto filtered them to trash.
Welcome to the ranks of "old fogey." :-)

More seriously, this is not an unexpected response if you've been using a system for 10 years or more. If you were new to the system you would just say "oh, interesting, this is how it does self contained packages" but your perspective of having a system you understand well, has worked for all your needs, and you know all the ways in which to work around it if you can't get exactly what you want works against your perception of a new feature.

In my experience it is the leading cause of burnout in engineers. You learn things, you use things, you customize them to your needs, and then the 'new participants' who don't have any experience and find those things "arcane" or "opaque" re-implement them for themselves, their friends, their company whatever. And then its something new and something new gets the exposure so still more people see the 'new' thing without even knowing there was an 'old' thing and its just "the way this feature is done."

As an experienced person it is tiring and bothersome to have to re-implement tool flows, capabilities, and other parts of your environment because some youngster re-invented the wheel yet again and you were not in a place to educate them on why the existing wheel was just fine.

The longer you live the more cycles you go through and the more ridiculous each new re-imagining of how to do 'X' becomes until all you seem to do is complain about how in the previous versions everything worked fine and this new stuff is crap and you aren't going to put up with it.

At which point ageism kicks in and your employer lays you off with mumblings about "not a team player" or "resistant to learning new skills" as if sharpening a knife with a round stone is any different or any better than sharpening a knife with a square one. It is easy to get bitter. It is easy to just roll over and whine with your fellow "oldsters" about the "good old days". It is also a kind of death.

Counter intuitively, I suspect that if companies invested in keeping the status quo engineering salaries would go down. That would result from skills learned as a junior engineer always being relevant to the current environment but increasingly more efficiently applied (as it typical as people get more experienced, they do things more quickly). That minimizes the number of people you need to develop your products and that keeps the number of engineers you need to employ down, so your costs go down and the poor engineers who aren't currently working have to compete more aggressively for available entry jobs by taking a lower salary. Fortunately, because it is counter intuitive I don't think there is any risk of it coming to pass.

In my opinion, the elves have left Middle Earth. Ubuntu and Ubuntu's current cohort of developer/users are more interested in an open source version of Windows than anything else. As a result more and more "windows like" architecture and features are replacing the old "UNIX like" architecture and features.
I don't do architectural modeling, I build furniture, but check out bricscad.https://www.bricsys.com/en-intl/ I describe it to people as if AutoCAD and Sketchup had a baby. I bought it because it was a reasonable priced CAD with linux support, but it has gotten really amazing in the last few releases.

They even released a stripped down free version with a more sketchup like interface called BricsCAD shape.
Yeah, I also thought there would be a whole lot more red tape to get through before I started looking into it. I can't imagine starting a human food company with everything that's required for that.

I'm happy to chat with anybody in the space - I'm very early on, so it may be too early for any kind of collaboration, but definitely never hurts to talk to other folks who are interested in this kind of thing.
Yes lots of them died before 2013.

Conversely they're not charging you a massive one time update fee. They're charging many smaller fees for smaller updates which is more representative of the development costs of the product, where you'd have to split next years development on updates and bug fixes for customers that would never give you another dime.

This is unsustainable for many software shops which is why many of them died. We're seeing such growth in SaaS today because pricing based on how much value your product creates for users, on a schedule that reflects how much it costs to deliver it is much better for everyone involved.

Like Adobe is a good example of this. Their products are much better today than they used to be and more affordable for everyone. The real trouble is the CC runtimes which are just shitty software, the pricing model is not a problem.
This release has a well needed update to the gLTF exporter which is great as that's the preferred method of importing assets into Godot.

It was possible to update the exporter plugin separately via Github before but this will help a lot of people.
> Really depends on what you're developing, what for and in which language.

And? That doesnt change the fact that it's a valid reason from using closed-source operating systems, even if you're involved in other open source development and advocacy.

Ok it appears I made of mistake on extrapolating your criticism of the use of close-sourced operating systems to apply to closed sources software in generally, however from your profile you appear to be one such zealot as I mentioned.

> Closed or obfuscated? Virus!

So according to you any of the aforementioned proprietary firmware is somehow a "virus".
Weapons of Control
I have no opinion on anything, FWIW because I actually spent most of my time in Woods Hole. My recollection of all this is from the local paper.

EDIT:

Cliche as it as, the fish bites at Landfall are pretty good! And it was always fun to swing by the aquarium after hours and listen to the seals bumping around in their pool. It's a beautiful place to visit if you ever get a chance.
Ah, thanks - I'll have to look into that. I'm not opposed to selling internationally, but to your point I probably need to do a whole lot more research before I do.