skysight-inc/HackerNews huggingface dataset:
Or if you make a film about child abuse in which a child actor pretends to be abused, can you arrest the actor who abuses? If any depiction of the act is a crime, then you can.

This issue came before the US Supreme Court about a decade ago and they ruled that the depiction of a crime is not a crime so long as the depiction can in any way be called "art". In effect, any synthetic depiction of a crime is permitted.

However that ruling predated the rise of deep fakes. Would the SC reverse that decision now that fakes are essentially indistinguishable from the real thing? Frankly I think the current SC would flip since it's 67% conservative and has shown a willingness to reconsider limits on the first Amendment (esp. speech and religion).

But how would we re-draw the line between art and crime? Will all depictions of nudes have to be reassessed for whether the subject even might be perceived as underage? What about films like "Pan's Labyrinth" in which a child is tortured and murdered off-screen?

Do we really want to go there? This enters the realm of thought-crime, since the infraction was solely virtual and no one in the real world was harmed. If we choose this path, the freedom to share ideas will be changed forever.
Those channels existing doesn't mean there isn't a market need. The grocery store I go to has a big international foods section and I still shop at the Indian market because they have a much better selection.
Even in Germany it may vary between €/kg and €/100g for the same type of product. But at least that's easy to convert (just append/remove a 0) compared to switching between imperial units.
incrementing ids requires a centralized server of some sort to hand out IDs when you get to a certain scale. you don't have that issue with UUIDs. for small apps just incrementing ids works fine though

this approach also allows you to generate ids client side. which if you're working with a local db on ios/android etc this is very convenient
Why break the existing library instead of making a new one? Concretely, why not do like jinja2 and psycopg2?
How do you police people reaching out to children via messaging with sexual content?

> Why count only privacy-betraying technology as a "solution", while ignoring the rise of police and surveillance capabilities?

I don’t. But if your solution is ‘just police more’, you need to explain how the police should detect people who are grooming children by sending images to them.
From the "Introduction" section of the linked document:

"The motivation for using UUIDs as database keys stems primarily from the fact that applications are increasingly distributed in nature. Simplistic "auto increment" schemes with integers in sequence do not work well in a distributed system since the effort required to synchronize such numbers across a network can easily become a burden. The fact that UUIDs can be used to create unique and reasonably short values in distributed systems without requiring synchronization makes them a good candidate for use as a database key in such environments.
"
ReadMe (YC W15) is hiring a product marketer who loves developers
Nobody should always DRY or WET; my context is I wrote some code for a greenfield part of a project and was told to DRY multiple times. Was easy to reply 'I prefer WET here' and link to an article on WET rather than explaining the redundancy.

Interestingly, I just looked at the wikipedia page for DRY (https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) and see they also mention another acronym - AHA (avoid hasty abstractions); I might use that in the future.
This feels like a GPT3 comment, or something you'd find scrawled on the side of a van in a walrmart parking lot. Please stop lowering the overall comment quality of HN.
Most of the complaints are that being an expat US citizen is:

1. a right pain in the ass, because you have to fill US taxes even when you don't reside in the US, work with the US, and haven't set foot there in years.

2. a right pain in the ass because you have to declare local welfare as income to the US government

3. a right pain in the ass because taxes being so much simpler in most other countries means accountants is a much rarer career very much specialised for extremely high income, far beyond your means, and most of them don't know and can't help with US taxes anyway

4. a right pain in the ass because things like FATCA means most financial institution have decided it's just not worth interacting with US citizens and will refuse to deal with them — this can make it very difficult to function at any sort of level especially as countries progressively increase their cashlessness

5. a right pain in the ass because even if you decide you've had enough and decide to renounce it's expensive and complicated

I'm sure I'm missing a bunch as I'm not a US citizen let alone a US expat.
It's the confusion of estimates and plans with commitments. "How long will this take?" "About a week" "Great, ship it Monday morning" "Wait, if it has to be Monday then let's spend 30 minutes figuring out what needs to be shipped and what can slip until a later update release" "No, you said a week".
Home assistant is great, but I wouldn't really expect someone who isn't very good with technology to be able to use it well.
"only Apple has the capability of rolling out this system"

Right. Exactly. Any country in the world can mandate that Apple do anything they want (any of the slippery slope mandates), and Apple can comply or withdraw from the market. If any country wanted to demand that Apple compare all files against a ban list, they could have done that in 2007, or any year since. There is zero technical barrier and it would be a trivial task.

The point is that this development moves the bar infinitesimally. I would argue not at all. Fearmongering that depends upon "Well what if..." didn't actually think it through very well.
This raises an interesting question - why are the police doing this in the first place? It seems more appropriate to have healthcare workers monitoring peoples' health than the police department.
There was a company back in around 2014 that had an implementation of iOS libraries for Android that they used in porting games by recompiling. I can't remember the name, and last I checked they did not seem to be in business, but maybe that could be a good starting point for some of the non-UIKit stuff.
That is a bit odd. AUM isn't the same as revenue.
General question, can the concentration of items like dish soap/shampoo change?
There are times I feel like I can wash a lot more with less soap using the same brand, size, etc.
How would we as the consumer be able to detect if products get diluted, when it's sold in the same packaging. The $/oz remains the same, but the product is inferior than previously.
DALL·E mini online demo
Can someone do the analysis from a game theory perspective to see what harms/benefits something like this can cause to the larger society? And if that is too complex to analyze (my suspicion) isn't this dangerous if we don't fully understand the negative consequences of it?
See ulid for similar prior art. We generate Ulids in code and then store them in uuid columns in Postgres to realize the compact (binary) size benefits.

https://github.com/ulid/spec
>Child pornography and the related abuse is a massive problem

>proposals for better solution

How do you define "massive"? What makes you think that current approach is not working well enough?

Of course, it's really bad as soon as the very first case.

But we need to go beyond the sensationalist articles which talk about millions of pictures outthere. Even though this is, yes, a problem.

In the US, it looks like the number of child pornography cases is going down each year, from 1,593 in 2016 to 1,023 cases in 2020:

https://www.ussc.gov/sites/default/files/pdf/research-and-pu...

So yes, there is a problem, but I would love some to see some justification that the problem is actually as massive as people imply, or getting worse. Or if they have a political goal in mind.

And it feels to me like we talk about it a lot more, there is less taboo or social protections for perpetrators about it, which must help to fight this more efficiently than in the past.
Another day another Facebook “inaccuracy”. A rose by any other name.
I am on Google Fiber and I get < 10 ms to anything served out of a CDN or to servers in my own state. If I ping google, reddit, amazon, etc they are all about 8 ms.
HOME ASSIS TANT

It's really the only thing that's good in the smart home world rn. It makes all sorts of otherwise crappy IOT hardware work decently together.
Here's a list of why gazelles love to eaten, by a cheetah.
Maybe I just have enough black friends in Hollywood, but in the past few years, the following shows from black showrunners all made the cultural zeitgist on broadcast tv: Blackish, Empire, How to Get Away with Murder, and Bob and Abishola; and on on cable/streaming: Atlanta, Insecure, Power, Dear White People, Lovecraft Country, and I May Destroy You. (Note, I am friends with some of the writing staff and crew on several of these shows, so I am aware that I am not representative of the general public.)

And that doesn't even include anything on BET, or shows with black executive producers or showrunners but which were based on existing IP or were from non-black creators, like LA's Finest, All Rise, The Neighborhood, or the Shondaland shows.

And really, the big elephant in the room is BET. Which does everything you want to do, but it already has the connections to the black creators, and the black audience, and the black investors.

So it kind of seems like this is another SV startup that was created without a critical examination of what the market actually is beyond hoping to be potential acquisition target for an actual player (in this case, presumably BET).
microG support mainly, it's needed for some Play Services APIs like push notifications and maps, though the choice all depends on what apps you use. GrapheneOS is great also and even better for those with very high security and privacy requirements.
Hey...this is really great stuff! Thank you so much for this. This...this is what I was hoping for!
I'm not sure you can get much more "middlebrow dismissive" than assuming that people objecting are white and the people they are objecting to are black and therefore it must be for similar reasons to why white people objected to black people in the past for bad reasons, so you can just ignore them.

Importantly, even if you're right in a lot of the instances, it doesn't actually move the discussion forward in a useful way because it paints with too broad a brush and encourages others to do the same.
> Page last modified: December 3, 1992 at 3:37:20 AM EST
If you read more than the headline it might better your understanding.

Racism is the belief that different races are distinctly inferior or superior to one another. [1] I don't see anything in the author's post or the product that indicates they believe Black people are racially superior.

Segregation, specifically in context of what King was fighting for, means spatial or institutional separation of the races. [2] Clearly not the case here, they are pushing for more representation of Black people in media, not less.

(There are other civil rights leaders you can invoke besides MLK when you're feigning outrage btw)

https://en.wikipedia.org/wiki/Racism

https://en.wikipedia.org/wiki/Racial_segregation
You're misunderstanding the concept of entrapment.
This is thinly veiled bullshit. The total federal budget income for 2021 is expected at $355 billion. Expenditures are north of $600 billion.

This proposal want to spend an extra $869 billion dollars per year, raising expenditures to 1.4 Trillion per year in a country of 37.8 million people.

This is a total expenditure of $37,000 per many woman and child in the country.

That would bring a deficit of $1 trillion dollars per year to a country with a gdp of $2 trillion.

Now, as for funding it, let's be clear, it WONT BE FUNDED! No matter what the article says.

The authors want to increase total federal tax income by almost 250% with the snap of the fingers.

This spells total disaster, and for what? To sleep better knowing that 5% of the country will be lifted out of poverty.

Sorry, get the hell out of my country with this crap. Go destroy another country.

The most successful countries in the world are NOT the places to try these schemes.

With 90+% of the population doing pretty well, the downside is MASSIVE, and the upside is minimal.

Take this kind of scheme to a place where the downside is minimal and the upside is large.

Unless of course it can't actually fund itself lol.
Isn't that a possible security issue. MACs used to be predictable but then became random.
> Okay, I don't know the authors exact history here, but I seriously doubt that they've had anything that's even close to 10k hours of deliberate practice of programming.

Yes.

10,000 hours of code kata might be "10,000 hours of deliberate practice".

http://codekata.com/

And in-any-case "Malcolm Gladwell got us wrong: Our research was key to the 10,000-hour rule, but here's what got oversimplified"

https://www.salon.com/2016/04/10/malcolm_gladwell_got_us_wro...
The billions of bulbs have the same proportional impact on the national energy budget as the few in your home have on yours, that is practically nothing.

See David MacKay's Sustainable Energy Without The Hot Air, chapter 19. https://www.withouthotair.com/c19/page_114.shtml
America’s Forgotten History of Forced Sterilization (2020)
I think the situation is clear when we think of this development from a threat modelling perspective.

Consider a back-door (subdivided into code-backdoors and data-backdoors) placed either on-device or on-cloud. (4 possibilities)

Scanning for CP is available to Apple on-cloud (in most countries).
Scanning for CP is available to the other countries on-cloud (e.g. China users have iCloud run by a Chinese on shore provider).
Scanning for CP is not available to Apple on-device (until now)

This is where the threat model comes in. Intelligence agencies would like a back door (ideally both Code and Data).

This development creates an on-device data-backdoor because scanning for CP is done via a neural network algorithm plus the use of a database of hashes supplied by a third party.

If the intelligence service poisons the hashes database then it won't work because the neural network scans for human flesh and things like that, not other kinds of content. So the attack works for other sexual content but not political memes. It is scope-limited back door.

For it to be a general back door, the intelligence agency would need the neural network (part of apple's on-device code) and well as the hashes database to be modified. So that is both requiring a new code back door (Apple has resisted this), and a data back door both on-device.

Currently Apple has resisted:

Code back doors (on device)
Data back doors on device (until now)

and Apple has allowed
Data back doors in cloud (in certain countries)
Code back doors in cloud (in certain countries)

In reality the option to not place your photos in iCloud is a euphemism for "don't allow any data backdoor". That is because iCloud is a data-backdoor due to it being able to be scanned (either by Apple or an on-shore data provider).

My analysis is that the on-device scanning does not improve Apple's ability to identify CP since it does so on iCloud anyway. But if my analysis is incorrect, I'd be genuinely interested if anyone can correct me on this point.
Sure, it won't be used for millions of users, but I am already seeing plenty of startup MVPs built entirely from no code.

I can see a near future where no code offers the ability to take the model as built and start hand optimizing the code once things start to get off the ground.
Because then you have to actively maintain two libraries forever instead of one.
If you take their technical summary [1] at face value, they designed it to be limited.

Even if the hashing and matching happen on the local device, a match can only be revealed server-side. The hash database distributed to local devices will be blind hashed with a server-side secret key and the locally derived hash match will need to be decrypted with that key to be read by Apple. So theoretically if the local device doesn't upload content to iCloud, no content matching can be revealed, even if the hashing and matching has been done locally.

Of course, you also need to trust that Apple won't be uploading those locally derived hashes to iCloud without the user's permission if iCloud backups are disabled.

[1]: https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni...
Imagine this but with emoji claps in the spaces of the first line. I guess HN doesn't do emoji ¯\_(ツ)_/¯
Random primary keys play hell on database indexes.
While I understand why you'd think of that... not really what I meant (actually, the Spruce Goose hadn't crossed my mind). Hughes as being an aircraft engineer type being involved with running a lot of different businesses seems a closer match than comparison with Jobs.
They list ULID and 15 other implementations in the document.
In the US, the vast majority of black people have descended from the enslaved Americans who have been in the US for hundreds of years. When people say "black culture" that's what they are referring to. Not that recent immigrants from Jamaica and Nigeria are from the same culture.

There's the further concept that due to systemic racism, Jamaican and Nigerian culture will blend into the larger black culture than the larger US culture. And the Nigerian and the Jamaican will experience a similar American experience, very different from what an Irish or German white person would.
One big one is distributed computing: for example, an app that can create To Do items offline and periodically syncs with a server.

If you have your To Do items identified by an incrementing integer, you have to come up with some other unique identifier to use for To Do items that have yet to be synced with the server's database (since you can't know which ID to use next).

On the other hand, if you use UUIDs, your app can just create a new UUID for the To Do item, which will continue to be its ID for subsequent updates.
Where does a police department get 70k+ for a toy?
Postgres.app is great. It just works. And toggling between versions is super helpful too.
The next step is removing the olive.

That’s when you true acceptance has been achieved.
Mailing viable mouse freeze-dried spermatozoa on postcards
> Actually the courts think that a similar business, "cakes for straight people", is in fact discriminatory and also illegal.

Remind me again which side won Masterpiece Cakeshop at the Supreme Court.

Also, there is a huge difference between denying service on a particular basis and designing a service to appeal to a particular community while leaving it open to all.
Users do not rely on their services. That's similar to saying users rely on Spotify's services. If anyone truly believes that Facebook's services are necessary for society, they'll need to prove it.
The widely circulated twitter post on how to safely pull their kill switches possibly also had something to do with it.
data exports to users is what CA exploited to harvest the data. (they tricked your friends into handing over data about you)
This is one of the reasons I love Trader Joe’s. No comparison shopping. If you want granola just pick the flavor that looks best.
I'm not tedajax, but my guess as to what they meant is that it's an abysmal mindset to think that making a breaking change to an API means that the previous API was wrong. And I tend to agree. Needs and assumptions change and sometimes that means your API needs to adapt in a backwards-incompatible way. That doesn't mean your previous API was wrong for what it was built for. It just means it's wrong for the new expectations.

I agree with tedajax that looking at any breaking changes as a failure is a pessimistic, fatalistic, harmful viewpoint... assuming that's what tedajax had in mind.
Amazing, thanks. I swear, these sleazy guys are always into A) Cars and/or B) Bodybuilding.
> Throwing a webpage on a screen

Requires a static html-file
This is the sum of the market cap of all cryptocurrencies. Whether this is a fair way to value the industry or not is up to the reader.
I haven't tried Ruby at all to be honest. If I need to do some quick'n'dirty scratchpad calculations on x86 I'm using python but I find myself still using 'C-like' approach instead of idiomatic python. I.e. even 'for x in X:' gives me heebie-jeebies for some unexplained reason (though I use it). I think it's because I've been conditioned for so many years to think about data/code as just that, data in memory. So every time I need to access something I'm thinking *where* it is first, not about getting it - that's secondary and, paradoxically, unimportant. I'll use it in the next stage/line but by then I already have it (I don't know if that makes any sense at all).

It makes no sense to do it most of the time in most circumstances, and I think downvotes I'm getting represent that (though I'm not preaching it or anything, just commenting about my point of view), but if you have a hard deadline of X cycles you think about code differently.
Yup. We use code names for products internally for the same reason. Never use a user-facing value as an identifier, as obnoxious as trying to adhere to that can be.
So just like the US against Latin people until very recently. Or Canada. But not under a fascism regime like Franco, but under a self-called democracy, which is far worse.
I don't think adding a pandemic makes it less dystopian.
Type-Safe Errors with Algebraic Data Types (Giorgio Delgado)
>Even if it meant objectifying people into a market segment just to make money, under the branding of empathy and identity?

Not to be rude, but what do you think a 'market segment' is? What is there besides market segments? For that matter, what is there besides money? at least in terms of the entertainment biz.
Just for context those channels are more culturally specific than “Spanish-speakers” it’s basically Mexican which isn’t interchangeable with Spain or Bolivia for example.
Its interesting that its only brought up when Apple does it. Google, MS, Dropbox, etc gets a pass..
Interestingly your (mis) phrasing makes what is probably the distinctive difference.

It was actually "cakes for anyone except gay people."

It's the exclusion that gets you in hot water, not the targeting.
> Who said anything about it being illegal?

Sure, lets deescalate: are their broadcasting in America and commensurate content choices discriminatory or working against a cohesive national identity?

> You are being sarcastic and not engaging in good faith.

But I find the last bit ironic
https://en.wikipedia.org/wiki/Partial_sorting
They don't hate the gray area, they pretend to hate the gray area because the gray area doesn't get you on the front page of HN
JPM Gave 550 Customer Passwords and Usernames to “Active Customer” for a Decade
The linked RFC talks about this (it refers to UUIDv4, which is not much different from 128 random bits):

" First, most of the existing UUID versions such as UUIDv4
have poor database index locality. Meaning new values created in
succession are not close to each other in the index and thus require
inserts to be performed at random locations. The negative
performance effects of which on common structures used for this
(B-tree and its variants) can be dramatic. As such newly inserted
values SHOULD be time-ordered to address this."
I understand the impulse to turn away from Apple. However, it’s not a practical solution. How long until this tech or worse is mandated in all products? I think the real answer is for the people to stop bickering about primary colors and work together toward passing legislation that limits the pervasive invasion of privacy by governments and corporations.