skysight-inc/HackerNews huggingface dataset:
The mental loops the author jumps to justify/accept ads themselves is interesting. We agree any of these is bad:

- I used to treat my employees well, but my agency was not sustainable with it so now I crank the whip every time someone wastes few minutes.

- I used to sell fresh food, but my restaurant was not profitable so now I sell low quality food while claiming it's organic.

Both of these are also clearly immoral, but in these fields it's clear that they don't become moral because of the profit factor. However the author seems to be saying because the business is not profitable that makes ads morally correct*? That doesn't seem good reasoning, I'm all for changing your own morality over time and each person having a custom set of rules but "profitability" is/should def not be what makes something moral or immoral.

Maybe the author unknowingly had a more complex set of rules to define ads as moral under certain circumstances, maybe they just changed them, or maybe they are doing something they themselves consider immoral, but I find it strange to say profitability is part of moral.

*Edit: actually the author doesn't talk about morality so these are more my rumblings/ideas based on the article than a correct review of the article. Probably because right now I have a somewhat strong moral belief, fairly weakly held, about ads and I'm thinking about similar questions as the author :)
My small input to this debate: I know I certainly bought—-actually paid for—-magazines like Computer Shopper just to browse the ads. I think many folks on HN of my generation likely did the same.
That is a pretty convenient way to calculate CPI. Rents are up over 20% and the cost of homes has been a rocket ship.
Is "Cringe Rap" a genre or is "Cringe Rapper" simply a rapper that is cringe?
But it is still the case that IF the axioms hold, THEN the proofs are either valid or not.
Meh, when I look at pictures from today it is mostly of of pretty, skinny people. Almost like there were a bias or something.

On the other hand back in the 1920s there were fat men clubs.
https://en.wikipedia.org/wiki/Fat_men%27s_club
Ask HN: Let's discuss Python type hints guidelines
I am starting to appreciate how Python type serve as extra documentation, as well as how they are bing hacked to make stuff like data classes.

Nevertheless, I feel they are sometimes overused, and maybe we need to think about guidelines, so we can have a better balance between clarity and verbosity.

We learned from experience that clear code doesn't need comments. Functions and variables with good naming do not require comments. For example, is the following comment useful?

# Adding a and b and putting results in c
c = a + b

Not saying that comments aren't needed at all. In fact they are essential for the subtle details not that clear. Or as John Ousterhout put it, “Comments augment the code by providing information at a different level of detail.”

Now with type hints, I want to argue the same, obvious stuff don't need to be annotated. Here are some examples.

- args and *kwargs: We all know that these are lists and dictionaries respectively.However, I've seen code where they are annotated still.
- dictionaries: Like 99% of the time, the dictionary keys are strings, yet I've seen them being annotated with Dict[str, float] or such. Sure, maybe you are dealing with a case where the dict keys are something else, but then I'd argue that the reader needs to know more about that dict then and what it carries then its types.
- When a function doesn't return anything, should we still annotate it with None, or we are kinda stating the obvious here.
- When the variable name is obvious. Do I still need to tell the type if the variable is called timestamp, days_since_creation, is_valid, num_item_sold, currency, or amount_paid?
- All data scientists use df to refer to DataFrame, the name df should be enough to infer the type and a type hint here will be just noise?

The point is, I want to know what do people smarter than me think? Maybe, I am wrong about it, and type hints still offer some value that I miss here.

Finally, one might argue that obvious types hints need to be stated still to be enforced by tools like mypy or so. That's a different argument, and personally, I feel like type checking is a way to hack a dynamic language like Python to become Java. So, I'm only interested here in the documentation value of type hints.
>uBO works best on Firefox

Not a fan of the recent Firefox changes, but alone makes me keep it as the default browser
My mistake, I didn’t read the sqm number correctly, despite coming back to check.
The EU is big enough that companies like Microsoft will find a way to offer their services legally, and if they wouldn't, it would be a huge opportunity to EU based competitors. It's not like we don't have any software companies in the EU.

Also, there's no reason that collaboration tools must be hosted on a US cloud. Especially Microsoft traditionally provided tools for their customers to host their own infrastructure -- it's only a recent phenomenon that everything is hosted by the vendor themselves.
I assume there have been, but based on all the reported costs of building infrastructure, I concluded that any reductions in costs must have been greatly offset by increases in costs.
tbh I don't know on transport class planes. The GA aircraft I fly won't STFU about traffic on the ground though, quite annoying. I still would have missed it in this case as I'm used to tuning it out on the ground.
> European startups will not be able to use standard SaaS or PaaS tools

I wish!
I never used Telegram. How do channels work? Does Telegram has that kind of visibility into what is happening in them?
No, it's not, but this new Node.js feature is for loading dependencies
Because FB is a company on the edge of collapsing.

They aren't innovative, the market is saturated, new users in developing countries are not worth as much as those from "first world countries".

As the users in first world countries are getting more and more aware of all the privacy issues, how FB fails to keep their platforms clean (either from spam or fake news) and other companies starting to like the taste of being valued as "privacy-friendly", the business model of FB is starting to crumble.

They have long only made (more) money because they found more ways to put together all the bits and pieces and breadcrumbs and build profiles they could sell to advertisers.

That age seems to be over (soon), so they are done, too.
An interesting read is Galbraith's "The New Industrial State" which lays out an argument that the US is also a planned economy, just with non-state planners. It came out before the 80s so things have changed from the era of corporate conglomerates in the US, but the underlying nature of advertising as a mechanism for generating the demand that is allowing companies to continue to convert resources into sellable products I think is spot on.

https://en.wikipedia.org/wiki/The_New_Industrial_State
It depends.

Flowers blossom to attract insects in exchange for nectar. You might call this good advertisement.

But there are plants who "advertise" like flowers who have nectar, but really don't. So they trick the insects into visiting them to spread their pollen, but they do notngive nectqr in return.
> illegal for the folks who live there to have radar detectors

I can't get over the idea that its illegal possess devices sensitive to certain types of RF like radar detectors. I don't use radar detectors, I don't see the logic of paying hundreds to attempt to avoid paying a ticket instead of just following speed limits and save hundreds overall. However, the basic concept of outlawing a machine sensitive to certain EM waves seems absurd. Imagine if IR cameras were made illegal or it was illegal to own a SDR.
Do you genuinely think they're the only office products providers in the world?
Anecdote unrelated to your point:

I’ve grown up close to a sewage treatment plant and have been taken on a couple hours’ tour of it in middle school. And what do you know, while there is a faint odour in the air (much weaker than, say, near a barn or a stable, but it’s there), it’s one of the most sparkling-clean, meticulously organized workplaces I’ve seen before or since. I’ve been to chemistry labs with worse plumbing and more clutter than that, let alone industrial facilities.

I mean, it’s not that surprising in hindsight—if it’s clean everything or drown in literal shit, you bet it’s going to be clean. But it’s definitely not what I expected. (Probably helps they didn’t get their funding or wages cut while the surrounding country was falling apart, chemistry labs and all, for the same reason.)
IP addresses are PII when they can identify a person, and that's not always the case, e.g. a company network using NAT for outgoing connections so that dozens, if not hundreds of people appear from the same IP address.
Manually auditing an update of potentially hundreds of packages when package-lock.json gets regenerated is so challenging that many projects won't do it — and for those projects, the cryptographic hashes offer limited value.

To make industry-wide improvements, we need to share resources for auditing of packages. There are many such endeavors underway at various stages of maturity.

But this feature doesn't move that ball forwards. From the comments:

https://github.com/nodejs/node/pull/36328#issuecomment-73603...

> It is insecure because there is no signature of the original file. Anybody that can take control of a domain name can take control of a server.

Downloaded arbitrary code can't be added to a pool of pre-validated packages, except insofar as you control the server and only make pre-validated packages available on it exclusively to your own services.
That means that Firefox is also illegal in France.
>The EU combined is the largest economic region in the world.

It's not 2011 anymore. The GDP of the US has surpassed the GDP of the EU.
My company (UK FMCG manufacturer) has been back in the office, five days a week, since last summer
Speed reading and paragraph parsing
DXC in New Orleans has the reputation of mud among local devs.
I made an NFT collection and they can definitely be changed :)

The only part that can't be changed is the portion written on the blockchain which is, for most collections, only the token number.

So yeah, I can't change the fact that token #450 was minted, but I can change the image, name, description and metadata (e.g. traits) associated to it.
> ps. Isn't it ironic that Satoshi invented BTC as a non-centralised system and instead the tech will be used to enable the most tightly controlled monetary flow ever :-P

This is why many people put a high[ish] plausibility argument for "Satoshi" being a governmental (or quasi-governmental) agency vs some remarkably smart individual
> Electromagnetic field changes are described by complex numbers.

You can do this, but there's no need to. You can describe electromagnetism using only real numbers.

A better argument for imaginary numbers being necessary to describe the universe is quantum mechanics, since quantum interference (in particular destructive interference) means that two possible events that each have a positive probability taken in isolation can cancel each other out, implying that probabilities can combine with a minus sign. And that means that probability amplitudes, which are square roots of probabilities, can have nonzero imaginary parts.
How can you say there's no uncertainty here. Do you work at TikTok or do you have information beyond the article to ground your claim?
It would probably depend on the purpose. If the purpose is the show the image and all logging is done to an access file and not processed into advertising models I'd think it would be ok.

if the purpose is to collect PII and build advertising models like it was with the google fonts or the 1 pixel images then it is not ok.
Can't tell what the point of your post is, but there is a real responsibility for you to see what the job market will bear if you want to not have a 12% pay cut. You are a player in the economy, and I don't understand why people keep thinking that companies are going to kneel and adjust their employees salaries accordingly without a good economic reason to do so.
Does anyone know of a way to run uBlock Origin as an HTTP(s) proxy? I'd really like to be able to provide uBlock Origin style functionality to mobile and other browsers on my network that can't easily run uBlock. Historically privoxy could do some of what uBlock does, but development on privoxy seems to have declined...
Here here. Good riddance.
For 5G networks they can (Wavelength) and maybe do.
Close but, no, not really. There's a subtle difference:

"A lack of supply and increase in money" vs "A lack of supply BECAUSE of an increase in money"

So the situation gets muddied a lot when there is a rather large external factor (or, more generally, when society changes). When a global pandemic hits, mouth mask prices skyrocket. This is not inflation.
Is Musk credible to you given his rather optimistic statements regarding FSD?
GDPR is a standardisation of pre-existing national rules within the EU member states, at the time including the UK’s Data Protection Act. When I was at university, one of the examples of the scope of the Data Protection Act was a barbershop which kept hand-written (no computer involved) records of customers, and one customer used the DPA to demand to see their records and then to have those records destroyed.
Yes. And sometimes it even connects people with 'I have this thorny problem to which I would love to buy a solution instead of relying on manual workarounds' with people selling the actual solution, leading to win-win for everyone.
except I've no control over what I am attending
Probably makes sense. I'm not super familiar with Telegram, but to know a channel is doing stuff that's against German law probably means that someone with access to the channel reported it to authorities.

Germany is also one of those countries that blanket bans particular groups/parties in general, which the US didn't really do until after 9/11. Banning a group chat isn't much different.
Object Detection with Create ML: images and dataset
With enough good data (so probably not in all sectors) you can also identify people out of the system.

Sure, it's technically possible. But if you would actually do that, you run afoul of the GDPR requirements for informed consent: retroactively identifying people in a dataset requires the same consent as targeted data hoovering, so if an individual has only consented to being included in anonymized statistics that practice is sure to get flagged down as unlawful.
I do find it funny seeing speeders slow down when approaching toll bridges. If they really cared about your speeding they'd obviously know based on how fast you went from the last bridge, slowing down to the speed limit just before the bridge isn't going to change your time.
I’m hoping one of these days to use mine as a Unix terminal with an rs232 Bluetooth adapter I have.
> One thing I noticed— it seemed like people were running red lights with an abandon that I'd never witnessed before.

I don't know that it happens more often here now, because it wasn't enforced to begin with. I saw someone run a red light to make a left turn, in front of a police car who had a green light and had to slam on the brakes to let the guy run the red light in front of him. The police officer simply continued down the road afterwards. That kind of stuff happens all the time here. There's a few police that might give you a speeding ticket but mostly they only care if you have drugs, alcohol, or cash.
So a 928 is the minivan of Porsches?

Got it.
not sure where you're getting the idea you need admin intervention for tailscale. I've never needed to do anything beyond authenticate the machine with my account. tailscale has NAT traversal built into it.

If your network firewall is preventing the tunneling process, then that's on you. and if its not on you and its a company decision then its VERY unlikely they'd be okay with cloudflare's publicly exposed ports.
Check the health of your Laravel app
uBlock Origin + ungoogled-chromium [1] is what I use daily. And I don't how to appreciate people who are working on these projects

1, https://github.com/Eloston/ungoogled-chromium
That used car statistic is truly quite staggering. It's pretty frustrating how much of that is initially due to major manufacturer's own misread of the situation too, but no point in crying over spilled milk, right? Anyway...

> "The used cars and trucks index rose 1.5 percent in January, a deceleration from the 3.3-percent increase reported in December." (from your link)

It's good to see that this is slowing down. I was curious so I took it upon myself to gather a few links[0][1][2] with statistics on U.S. and global auto production. I wanted to know what the "old normal" looked like, what kind of drop in production is required to trigger this kind of inflation, and how close we are to getting back to normal. In short, my answers were our manufacturing numbers have been on a slow, steady decades long decline for some time now anyway[0] so I guess it depends on your level of pessimism, a 16-17% drop overall[1] (coincidentally about the same worldwide)[2], and
about halfway back to normal but progress is slow and inconsistent[0]. Everything blew up in March 2020, somehow managed to snap back to normal temporarily in July 2020, and finally proceeded to spend the rest of 2020 and all of 2021 on an increasingly bleak rollercoaster that is just now beginning to rebound (hopefully).

[0]https://tradingeconomics.com/united-states/car-production
[1]https://www.goodcarbadcar.net/usa-auto-industry-total-sales-...
[2]https://www.oica.net/category/production-statistics/2020-sta...
That's a super interesting question. I suspect it is because Facebook dominates the market for advertising-that-tracks. They're just not as good as other players at advertising-that-doesn't-track.

So when they lost inventory (e.g. for retargetting), that is a direct loss of revenue for them. The question is, what did the company with the budget previously spent on those targetted adverts do instead? Did they buy less well targetted adverts elsewhere? Or up spend on offline marketing? The economic question is, how effective was that - more or less effective?

Obviously losing 10b dollars is bad for Facebook. It isn't clear that it is worse overall for ad spend, or economically.
This demo is really impressive!

I'm a ux designer and keeping my portfolio up to date is so tedious. For better or worse, I do a lot of "thinking" in Figma these days, so this would shorten my workflow considerably.

I currently use Squarespace (and previously rolled own code because I felt like I needed to prove I could) and even though it's about as easy as a WYSIWYG could be, I still find it a chore to use and struggle to get things just how I want.

All that to say, this is really exciting, and good luck!
Call me a heretic: I love PHP.
Scott Adams calls this the "laundry list" argument: if you have to list more than a couple solid reasons for something, you probably don't really have any solid reasons for believing what you believe
The real world isn't carefully structured studies with arbitrary rating scales, though. People match with each other and settle down.

If you want a scientific explanation, look up "Assortative mating": https://en.wikipedia.org/wiki/Assortative_mating

The idea that only the most attractive people are entering relationships with each other while everyone else, regardless of gender, is staying single is ridiculous.
While I don't think they should exist at all and are blatant corruption, that's wildly overstating the level of "discretion" you're likely to receive for a PBA card.

They might get you out of a minor ticket, in the state/area it's from, and that's less likely if you can't articulate why you have it/how you know the officer it was given to to distribute. (to my knowledge, they're only a particularly widespread thing in the NYC metro area, as well).

They're not likely to get you out of a ticket for the kinds of offenses Cannonball Run participants are committing, IMO.
We wrote a framework 15 years ago (almost exactly) that took rendered snippets from the servers and plugged them into the DOM; https://flexlists.com is 15 years old and uses that. It's really fast and was far easier to build with than all the manual jquery stuff. Fun times :) I should rewrite it in Liveview, seems a good fit.
You may find that, but I find that they amplify dissent in selected countries and minimize it especially in their own and their buddies.

So, people can be mad that I point out that it's completely bizarre for them to be funding this unless they are really just secret Trotskyists, but pretending al Jazeera is neutral and has no agenda is just another species of Americans' lack of worldliness. It's widely acknonwleged in the chronicles of the Arab spring that al-Jazeera played an important role. You may have agreed with that role, but it wasn't just delivering facts.

If you're a liberal, you should be troubled by that regime's use of slave labor to build for the World Cup and its part in the carbon economy. If you're a conservative, there's a lot more to trouble you there, but I won't speak for conservatives, but I would think state-owned media would be a problem for you.

I just don't understand why anyone who publishes a leftist view gets a pass from liberals even when they are involved in things liberals hate, especially in a world where people are getting cancelled for 15 year old tweets.
Exactly. If this make European startups build their own ecosystem and provides me with an alternative for the services I use but don't track me, I'm going to switch - simple as. I see this as a win for the internet.
Telegram does not have any meaningful e2e encryption (apart from 1-1 on-demand stuff nobody uses). So yes, everything is visible to Telegram.
It's still legal to ask your bookkeeper to go through the books and give you a list of your 10 best selling products broken down by season (given you have all the right paperwork in place with them etc. but no consent of the customers needed).
Telegram has, as far as I know, no revenue model at all so they most likely are mining the heck out of the users and what they post.
What would you think if somebody told you this, after following you or your kids the entire day, while taking pictures and notes?
Indeed. I'm no stranger to creating new browser profiles for different things, and the first thing I do when setting up a new profile (in Firefox) is to install uBo. I have it turned off in one profile for sites that break when using it. For some reason, some e-commerce stores don't work with it, because of KYC BS and having them flagging you as suspicious because you're using an AD-blocker. That I can tolerate though (it's finance right?). But for the bulk of my browsing, uBo is essential.
Without advertising how are you going to find out about anything? Are you going to search all the buildings in your neighborhood to try and figure out which one sells food? Signage is advertising. Every way for you to find out about anything to buy is advertising. You can have an opinion that some forms of advertising you would like to curtail but a blanket statement is nonsensical.