skysight-inc/HackerNews huggingface dataset:
The guy should try Rust and then explain why he prefers either, that would be interesting.
Honest question....

Is the problem of content blockers using rule lists? Or, is the issue that Chrome proposes to limit the number of rules. Quickly looking at Safari there isn't this limit to the number of rules.

I understand change being a problem and maybe uBlock Origin can't work in the new Safari model. But, could a new project do just a well based on similar blocking ideas?
Huh? Index fund buyers don't read EPS, so the frauds are targeting the dumb active investors.

It's generally agreed that index funds are going to eventually destroy the stock market because they are the free market reinvention of a central planning economy relying on fee riding on the valuation work of a shrinking number of active investors, but that's a different problem.
Also posted 21 hours ago by the same person https://news.ycombinator.com/item?id=21030168
It's his revisionist version of the article.
Lack of openness, and tolerance for politics at corporate offices ... jfk ... bane of many people's misery. VW is another one except that it was an on purpose.
I always find this an odd thing to say... as if corporations and states have less corruption...
The minute you give a bunch of people $1-3MM as upthread (https://news.ycombinator.com/item?id=21034871), you're sending $30-90BB "up", by definition, from the perspective of the typical American (median household wealth of $97,300). It's perhaps just not as far up, so not as far that it needs to trickle down, but it seems more or less the same on a zoomed out level and puts the recipients at 10-30x the median wealth. Simply investing that sum in index equity funds would typically provide a income to place a household around the median household income over a four decade period without working.

Maybe trickle down actually works. Maybe we all got a return on it in invisible ways. Maybe things would be a lot worse for the median taxpayer than they are after the policy was enacted. How would we know for sure?
Have you ever worked in a company where a significant number of people had morale-oriented complaints? IME it does not have an effect.
It's quite a daunting project, but if you want to join the @codeforcash on Keybase, would definitely welcome support.
No mention of Rust?
Can you spare an invite?
Didn't even consider Rust...
Thanks!

Yeah, short filters that are consist of couple of letters are searching all works that have them.

I renamed "ai" to "artificial intelligence".

Agree about filters. I added:
This year/month/week and last month, year.
Working on last week.
SDS is a safe, leak-proof C string implementation. Obviously you can misuse anything, but SDS is easy to use correctly. It's robust enough for Redis.

https://github.com/antirez/sds
While I’m opposed to corruption in unions, according to the BLS, workers are better off with unions than without them:

https://www.bls.gov/opub/mlr/2013/04/art2full.pdf
Nordic social democracy isn’t magic, it’s just what you get when most workers are in a union.
You'll probably find you're missing available warnings unless you add `-Wextra` too.
> If the UML people had remembered they were making a communication tool and not a programming tool, then maybe so many people hadn't run away screaming.

The problem is OMG turns every analytical tool into programming tools, sacrificing focus on the core purpose; they did the same thing (with similar effect) with BPMN.
That's a Steinbeck quote[1]. It's surely being used, just as it was originally, as a fun way to describe the somewhat banal point that people in demographics relevant to organized labor often hold opinions about public policy that are contrary to their personal interest. It's not a literal statement about what's in a republican voter's head.

That said: how many posters here consider themselves just One Great Idea away from being the next Zuckerberg, and thus tend to view discussions on, I dunno, work/life balance or engineers' unions from an employer's perspective instead of their own? Seems like more than a few to me.

[1] OK, I checked wikipedia, turns out that the original phrase was "temporarily embarrassed capitalists", but this is the variant that stuck.
A distinction that may seem like pedantry, but I think is actually the crux of the issue I've had with with ORM:

The problem is not in treating entities in the database as entities. It's in treating instances of classes in the application's memory space as local proxies for those entities.

You're on much firmer ground if you understand them as simple pieces of information derived from the state of those entities as of some point in time. Both in terms of ending up with a more internally consistent and robust approach to data (by virtue of removing some temptation to preserve an illusion that this data can be presumed to always be complete and up-to-date), and in terms of not artificially cutting yourself off from most of the power of the relational model.

You're right that this tension is somewhat resolved by just switching to using an object store of some sort. (NoSQL is far too diverse of a subject to treat as a single unit.) But it's a very particular sort of resolution, because it's a sort of least common denominator approach where you just drag the data store down to the level of the programming model. It strikes me as akin to resolving the difficulties in maintaining complex software in Perl by resolving to never let anyone write anything more powerful than a shell or CGI script rather than by looking for a language that will better support you for the long haul. It can certainly be a fine and reasonable choice. The problem comes in when people don't fully realize that that's the choice they're making.
I can only speak from my experience, which is watching a good friend go through the process. It's been very lengthy for them.

You're right that it takes time in many or most cases to get funding from a VC - but they can write a check the same day - that was my point. And there are a lot of them to go pitch your idea to as well.
Interesting.

I want to like rust but everytime I dive in it is getting more and more complicated and verbose.
I guess you did nothing about it, so they will continue.

I donated once to a charity via a text message, they phoned me back (told me it was a thank you call but obviously they wanted more), I told them never to call me again. That worked.

I'm on oxfam's list, I just asked them in-store to never send me any more crud, they got that put on the system, never got anything more again.

If there is a problem, fix it, don't hope it goes away.
Most modern C++ games use an Entity Component System (ECS)

https://en.wikipedia.org/wiki/Entity_component_system
Not quite. Safari extensions were, like other browsers, a package of JS that could mostly run as it liked in your tab. The new app extensions system is more generally applicable across the system, but more precise in what it allows. For example, it allows an app to provide a sharing target – so that other apps can share content to it.

The relevant thing that's provided here is a content blocking extension point. Unlike ad blockers providing a bundle of JS that may or may not block ads, record your browser history, etc, the content blocking extension point is a pull-based system. Safari asks the app for its list of content to block, then computes that into a fast lookup table of some sort, and never talks to the app during browsing. This means ad blocker app built with the app extensions API is more secure, more private, and in all likelihood, faster. Potential complexity is reduced, but that may be worth it.
It is interesting that to most "Made in Germany" is a sign of high quality and that most think Germans have the best work ethic in the world despite also having the strongest labor unions.
I don't know that I agree that capital is "under appreciated".

Capital is infinite. The US just prints an unlimited supply of dollars, and that has no effect on the value of the dollar. Governments around the world are now offering negative interest rate bonds and investors are buying them. The stock market will keep going up and never crash. Money just churns. There's no way to stop it.

Basically, there is too much money looking to invest around the world. Billions in hedge funds, pension funds, retirement accounts... Just billions and billions looking for a home.

And there's not really a good reason it will ever go away. Investors can't stop investing. They can't just sit there with a pile of cash. So investment will never end. We've entered a time of infinite capital.

Borrow $15 billion and we'll pay you to take it from us.
oh wow. just wow. i think it's really easy to be an armchair philosopher vs actually doing things. I for one, even though I am not a big fan of MS or Gates, have no doubt that he could find a niche and grow a successful business today. There is a lot of luck involved when starting from scratch so it's anyone's guess if it would grow as large as MS - but it would definitely take off the ground.

Competing fairly is IMHO nice, but I don't believe that's your number one concern when you're trying to get things off the ground and survive. We look at all the successful companies and nitpick on questionable things they did in they early days (or current days for that matter). We overlook that no successful company got where it is without actually aggressively pursuing their goals. Nobody hears about the companies that compete "fairly".
Factorio, prison architect, papers please, FTL... lots of the best reviewed and most influential recent games are 2d.

Civilization.
I tried Safari for the first time in a while a few days ago and I agree with you. But the amount of ads, videos, popups, and sticky crap all over the screen makes reading web sites impossible. I didn't realize just how bad the web browsing experience had become without an ad blocker. I'm rebuilding my Pihole at the moment so this nonsense will go away soon. But it's really, really bad to be without it.
Does everyone know Safari's developer menu, if enabled, lets you turn JS on or off in the menu? I find this very helpful browsing news websites. It's not as good as eg noscript in Firefox but it's not inconvenient either.
Many professions that tend to be highly individualistic and require complex mastery have historically been represented by a Guild. While Guilds these days are sometimes a specialized form of union, the distinctions are often significant. A couple examples that come to mind are the American Bar Association, the American Medical Association, the Screen Actors Guild, and the Writers Guild of America.
IIRC, the limit is 50k a list, but you can have unlimited lists. That is the difference between 1Blocker and 1Blocker X.
datamoic/ ions
I can see the value in C, especially for API wrappers and such, but it's entirely possible to just use a minimal set of C++ and avoid bloat. Simple templates, a vector math library with operator overloads, function overloads and std::vector alone are most of what you'll probably want to use from C++. Maybe std::unordered_map as long as you preallocate space for it. It doesn't have to be hairy.
It's about putting fear into the workers. I recently watched 'American Factory' on Netflix and this is what a union avoidance consultant says to the workers:

Good afternoon. I want to thank you so much for coming. I know you didn't have a choice. The union will go out of their way to try to convince you that it's a good thing for you and that it is in your best interest. The contract that you get, if you get one, might include better wages and benefits. That contract might include the same wages and benefits you have today. And that contract finally might include less wages and less benefits. And the threat of a strike is no longer scary to employers, because today if you go on strike, while you can't get fired, the employer has the right to permanently replace you. I'll let that sink in.
How to remove stickers and clean game cartridges
This ask avoids the problem of having the entire comparison determined by the arbitrary or deceptive choice of start date for baseline price.
You often hear about required ethics courses for engineers, but it strikes me that it is management that most requires this. The whole MBA thing & the implied notion of managerialism has been a straight up disaster to everything it has touched (other than, of course, the enriching of the 0.1%)
Criticizing how white men use their whiteness to preserve their exclusive access to money and power isn't racist
FWIW, in the US, the Department of Labor takes wage theft complaints very seriously in the event that you or anybody else submits a complaint about that kind of working situation.
Can you elaborate on what special tech make uBlock hard to beat ?
Spot on. In this vein, I think culture can be seen as a form of 'wetware' technology. Crime, inequality and so on are technical debts of early decisions by a few, it is a sector ripe for disruption but with very strong encumbents.

Unfortunately said encumbents know how important schools are in this.
To my knowledge, 1Blocker uses the iOS/macOS content blocking APIs, which essentially allow an app to provide lists of content to block to the system, which pre-computes a fast/efficient ruleset for use while browsing. This results in lower energy usage, faster browsing, and more privacy during browsing.

Chrome does not to my knowledge provide an API like this, and extensions are still roughly a JS bundle that defines blocking rules at runtime, slowly, using more energy, and potentially having access to your browser history while it does it.
Implying that typing does not prevent bugs is the strangest programming meme I’ve ever heard, and its proponents push it so hard that I wonder if there’s somewhere I can sign up to be paid for it. We rarely are able to directly compare the cost/benefit of strict typings vs loose typings, but with JS vs TS you get a pretty direct comparison, and it is absolutely unsurprising that TS is eating the JS world; it does prevent bugs, it does improve productivity. Tests do too when done correctly, but both together are better than either individually.

When you go further, you can see that the core innovation of Rust is basically adding ownership to the type system and therefore making typing even stronger. Strong typing is a win for less bugs. Full stop.
My point is that unions only suck if you let them suck. The devil is in the implementation details, and the effort put forth by members.
So is "pro-union activity". Of course when an important vote is about to happen, the campaigns on either side of that vote will make their case.
I honestly clicked that thinking (and hoping) it would be an article discussing the different types of water filled ditches, used as a defensive barrier.

https://en.wikipedia.org/wiki/Moat
What government survives 10K years?
I’ve spent 30 years in the US, many of those in red states, and I’ve heard the “temporarily embarrassed millionaire” canard way more often than I’ve heard anti-union rhetoric. In fact, I’m not sure I’ve ever heard anti- (private sector) union rhetoric.

Have you considered that maybe peoples’ reactions are based on bad experiences with unions? In particular, public sector unions. Even liberal areas are pretty anti-union, and with things like the DC and NYC Subways falling apart despite massive funding, who can blame them? With police unions protecting crooked cops and teachers unions protecting bad teachers, who can blame them?

(I think it’s also fair to say that the sheer rapaciousness of American public sector unions is the result of an anti-union war that has otherwise receded from the public consciousness. They fight everything tooth and nail, even reasonable reforms, because they’re the outnumbered survivors of anti-union movements.)
It sounds like you're counting your opponents as politicians and allies as the people whom you personally associate with politically.

If you were referring to only politicians, they're basically all millionaires.
HQ2 and Midlife Crises (Of Amazon CEO)
Count me in. Inculcated into the backwards ideas that free markets are good and monopolies are their enemy.
I'm not sure C is that much closer to the hardware, nowadays.
The article states that Safari does have a limit of 50,000 rules, and that this is less than Google's updated proposed limit of 120,000 rules that ad blockers have stated is too low.

I believe ad blockers like uBlock Origin also do some dynamic detection of behavior so that certain types of ad-serving that come from hosts you do not want to block. CBS Sports, for example, requires special handling -- in Google Chrome, accomplished by a separate extension for uBlock Origin -- to properly block ads on their site without destroying login and video functionality. This kind of blocking cannot be performed with host lists.
Comp Sci Rocks
i love comp sci
It's supposed to be an honest raw look at his life. And frankly, it makes a lot of sense that he had poor work life balance. It's to be expected that extraordinary effort is required to build extraordinary things.
The parent brought up a valid point, that organizing can be done without traditional union bureaucracy behind it - and perhaps suggesting sometimes this is a better approach.

Then you responded with a completely different set of points attacking the parent poster on completely unrelated topics that you somehow equated to what the parent said.

If we want positive change in our world we need respectful and rational discourse. Posts likes yours actively tear down discourse and makes worse the very problems you mention.
The perfect tool for your problem is https://tldr.sh/.

You don't even have to write the pages yourself, there are a lot of already pre-written.
Ask HN: What are your favorite YouTube channels for developers?
USW is completely the wrong union for representing Tech Workers.

This will not turn out well for the Workers. The USW membership dues will start at $100+ per month and go to strike funds, Lawyers, Representatives, and Stewards who have their own self-interests in mind.

This is basically just paying protection money to thugs.

EDIT: For those downvoting, perhaps you'd care to kindly suggest a better union for this cause?
Identity Access Management, Toolbox TP – Landing Page Released
The US does not "[print] an unlimited supply of dollars" for if we did, they would cease to be the world reserve currency and be valueless.

Dollars are basically a claim on labor or natural resources. That we print slightly (in relative terms) more each year is what causes the slow devaluing of existing dollars in circulation. This is also known as inflation. (The linkage isn't quite that direct, but it's fairly close to it.)
> Ah yes, the toothless cry of the moderate liberal.

Why should every position need teeth? Isn't it possible that we are largely doing things correctly enough, and we should focus on the exceptions to that?

> "...I just don't support ... my parents meeting my daughter and her black boyfriend" [your caricature of a moderate liberal]

What do you accomplish, if your parents really are so racist, by tactlessly exposing to something they will simply reject? You have better options, even if your goal is for them to change. What about his parents, are they good? Maybe if they knew your daughter's boyfriend's parents were responsible, the truth would be easier to accept. I don't get why empathy is no longer a common resource for solving problems in the left coast culture.

People who are wrong about something are still people, and you won't notice when you're wrong like them, so why can't you empathize sometimes?
Writing game engines in C++ without using any OOP features, makes perfect sense to me. Other than the author likes C, he failed to show me why his approach is better than yours. I found it very light on details.
> which seems like an obvious competitive advantage

I wonder if might be sort of the opposite. A lot of animals have natural downtime built into their schedules. Some animals are active only in the day because they need light to do whatever. Other animals are active only at night so they can avoid predators.

Being active all the time is not necessarily better. Idleness may seem like something you want to avoid (if you think in terms of the modern mindset of maximizing productivity), but activity requires energy. Which means it requires food, which is limited.

So you really would only want the amount of activity that actually helps you survive. Anything else should be eliminated because all activity has a cost.

Also, a bit of a tangent: when it comes to movement, rest is important. Endurance comes from the muscles. Muscles store energy inside themselves (in the form of glycogen), and they recharge slowly, on the order of hours. So we are a bit like an electric car that can run for a while but then needs to sit on a charger for a long time. Anyway, the point is that periods of rest help us keep our muscular charge topped up to 100%, and I'd bet there are situations where having your full endurance available is advantageous.

I suppose bodies could be built for faster muscle recharging, but that might make for a body that is more complicated or demands more resources to maintain. I'm not a biologist, but if I understand correctly, muscles draw energy from the bloodstream, and that energy can be supplied by the digestive system or by the liver converting fat. It's unlikely the digestive system could supply lots of energy fast, so you'd need a higher-throughput liver, which seems like a burden. It also might make it tricky to regulate blood sugar with things producing and consuming it at a high rate.

Point is, there might be advantages to a system where energy is staged near the final point of use in the muscles and can't be recharged all that quickly.
I thought I was pretty clear on that?

>Anything that touches on microsoft's history should at least mention the anti-competitive practices they used to cripple competition.

Do you want to clarify your statement a bit? Why "the hell" do you think they shouldn't?
Sorry - I just noticed that you're questions was more of: "If I were to go into teaching, what can I do to improve the process". My answer to you: have compassion. Create a sense of curiosity in your students. Look into Richard Feynman. If you can instill in them that deep sense of being incredibly curious and wanting to know more about the world (and it should come naturally - since the world and the universe is an incredibly interesting place!!!) - you will do well and you'll guide others towards a path that they'll always remember you for. I respect your sense of wanting to know how to improve this process, and I wish the best of luck to you if you decide to pursue it. If you do - you'll change a lot of lives, but I'm going to give you a heads up: it won't be the easiest path to take. You'll really struggle and I hope that you're persistent and you don't give up. In the end - it'll be a path that you'll definitely find a lot of meaning in, and you'll definitely more than change the world by doing it. All the best of luck to you my friend :)
Your assumptions about my personal politics are both incorrect and unwarranted.
A better view of the things they've learned while trying to help the world is Melinda Gate's interview with Dave Letterman on his Netflix show.

Melinda talked about how they were told by the women in small African villages not to bring condoms, that the women wanted birth control in the form for Depro-Prevara shots. Condoms have the stigma of AIDS prevention and so a wife that wants her mate to use a condom is seen as suggesting that he has been unfaithful and is infected.
to me it made sense. it was a parallel between his early years and what he was doing now - basically applying the same way of thinking/working just for a different class of problems.
Γεμάτη αγωνιστική δράση σε όλη την Ευρώπη – Aek1924.gr
Because Safari has no users.
My dad laminated his for some pretty cool looking bookmarks