skysight-inc/HackerNews huggingface dataset:
Why is pixelation preferable to a big black obliterating box?

To me, it seems like a lot of wasted time and effort and potential arms race between encoders and decoders and the risk of being exposed when you could just put a big black box over whatever you wish to obscure.
Fire them, all of them!8-))
> But please don't post complaints about paywalls.
UK prepares to roll out Pfizer-BioNTech Covid vaccine
If only they had a version that leaves the gpio pins accessible...
It's not. There's never going to be a tool that does this with black bars.

The only benefit I can think of is legitimacy. Having something blurred there suggests that there was actually something there.
It's of pretty limited value if it turns out all the solutions are worse than the problems.
rich wealthy country corruption: the building gets built and (if)when disaster strikes, the corruption is revealed by broken safety regulations.

3rd world country corruption: the project gets started, maybe they put the first stone in a ceremony. nothing gets built and years later there's an empty lot sitting there.
log2ram and fanotify are really handy to extend their lives.
I may have read your post the wrong way, but it seems that they did provide a way? The specifications on the product page [0] mentions it got speed control with PWM, I figured up to the Intel specs, to be able to use an off-the-shelf fan.

So if anything you should be able to connect the PWM pin of your Noctua fan to one of the GPIO pins, and use their software to specify the PIN number of your PWM output. What seems more complex is to get the input from the fan about the actual speed, which would be useful to detect that the fan is blocked and is not doing the job you ask it to do.

[0]: https://www.raspberrypi.org/products/raspberry-pi-4-case-fan...
How is it different than the word "function"?
If anybody wants a fully printable fan mount for a Pi that isn't coupled with a particular case, I designed one as part of an OSS project. The CAD files are available here: https://astroswarm.com/blog/build
In case of the optimized version, I would have liked to see comments explaining how much faster it was vs. the obvious one in a profiling experiment, and see it accompanied by a unit test to take care of the "what if there is a bug" concern.
I might be okay with this if powerschool wasn't a total effing mess of a platform, but I'm not because it is absolutely a total piece of shit.

While I appreciate that there is some complexity to what the platform needs to accommodate, navigating the user interface usually involves more work than completing an assignment.
In throwing out the complexity of HTML, Gemini is also disposing of some markup that really helped screenreaders properly handle content. It would be a real shame if this "return to the good internet" left out the visually impaired. I agree with the goals of returning to a more bare-bones, text-heavy internet, but please, include the disabled in your vision from day one!
I'm not sure why the article removed comments from the code and replaced variable names like "indirect" with "p". Here are the two code samples verbatim from Linus's presentation:

remove_list_entry(entry)
{
prev = NULL;
walk = head;

// Walk the list

while (walk != entry) {
prev = walk;
walk = walk->next;
}

// Remove the entry by updating the
// head or the previous entry

if (!prev)
head = entry->next;
else
prev->next = entry->next;
}

remove_list_entry(entry)
{
// The "indirect" pointer points to the
// *address* of the thing we'll update

indirect = &head;

// Walk the list, looking for the thing that
// points to the entry we want to remove

while ((*indirect) != entry)
indirect = &(*indirect)->next;

// .. and just remove it
*indirect = entry->next;
}
I used a small Noctua fan on my Pi project (actually a relatively large box) that I'm controlling via PWM. Didn't need any logic level conversion.
I never said we were essential. I personally don't watch tv, so I'd agree with you generally.
I think that comment says more about you than about the person in question.

And it’s not the operating system joke that’s bothering me here.
The risk profiles are completely different.

Every single person eating on the film set has been tested regularly and continuously and is not permitted on set if they have an ambiguous or positive result. In the event of a positive result, they're not even permitted on set for at least a week until after the last positive result, even when followup tests suggest that the positive result may have been false positive. When on set, all crew and cast must wear masks at all times except when filming, in which case cast but not crew may remove their masks for the duration of the take.

How often are the restaurant employees being tested? How often of the customers being tested? (For both questions, the answer is "not regularly, if at all".)
Is "pixelized" the norm somewhere? I'm used to "pixelated."
I wonder what percentage of that is businesses. E.g. all the fake trees in a shopping mall: Do they buy and trash them? Do they rent them from someone who stores them? I kinda doubt they store them themselves, but maybe?
thanks for the link da39a3ee, it's appreciated.
It's amusing how many of the websites are broken due to certificates or outright squatted.
> It’s also crap written by someone who clearly has never studied fire safety and has assumed that all fire safety experts are fools.

If those were "experts" who came with this advise, then they are indeed round morons who should be fired immediately, and people who appointed, and supervised them fired too.

People have a head on their shoulders to at least think about obvious life, or death decisions.

You do not jump in front of a truck, you do not eat rotten potatoes, and you do not stay in a burning house no matter what "genius" comes with an alternative opinion on that.

That is just mind boggling.
The parks department in our town always threw a bunch of old christmas trees in the local lakes, since submerged trees make good shelter for young fish, tadpoles, etc.
This is really not just about outdoor dining. Here, they are comparing outdoor dining that is open against outdoor dining that is closed. We already know the circumstances of how they operate and the precautions they are taking are likely not equal.
Christmas trees are not religious, and is about as secular of a tradition as it gets.
I found the author's blog post on LinkedIn more informative:

https://www.linkedin.com/pulse/recovering-passwords-from-pix...
My Revolut account is moving to Lithuania though. Are UK customers keeping their UK ones?

From experience with bank accounts from 4 different European countries those instant transfers definitely don't work everywhere and are often accompanied by an extra fee.

Edit: And this is 2020. I highly welcome some innovation in this field - five years ago..
If they laugh, they're smart.
I never said TV was essential. Entertainment in NY and LA feeds families as well, however. My Broadway friends who are losing their homes and apartments with no hope of work until at least June (but most likely September at least) might want a word about feeding families.
RHEL and CentOS has shed this debt already.
Surface Pros are catching on but schools are still using G-Suite instead of MS Office.
1. Use good quality cards

2. /tmp on tmpfs

You're welcome.
Only reason I can think of: Pixelation has a more elegant touch than covering everything with a box (be it black, or some better suited color).

Took a while to convince people to not use a bit of gaussian blur, because it's insecure. Well, ready for round 2...
I know plenty of people who are extremely intelligent who only talk about themselves. Isn't social intelligence only one component of overall intelligence?
C++14 is really just a small patch of improvements to 11, so I think if you're going to adopt 11, you may as well adopt 14 and get a better experience.

And that is where I intended to stop, but then I started reading and watching content on C++17 and realised the things I thought were complex and scary were not so bad. I mean, there's much code I just don't understand, but from how it affects me personally, its not so bad and adds a bunch of improvements.

C++20 is a different beast altogether and I told myself its too complicated so I'll never bother beyond C++17. And then I watched some cppcon videos and realised that concepts, ranges, modules and coroutines are pretty cool. I still don't understand anything but the basics of concepts and ranges have some cool properties, but otherwise I dunno if I'll use them. But coroutines open a world of interesting possibility and modules have a lot of potential too, so I've started playing around with C++20 and will slowly learn to use it (although I did already notice some stuff that's not yet implemented in the clang version my package manager gave me... so not quite ready yet).
Fair enough. Thanks for the clarification.
I know it's a bit frowned up but just wanted to say this is a great comment.

> as if the reason the unbanked were unbanked is because the local banks don't write whitepapers

Made me chuckle.
Other than breaking a couple of cards by opening the cases without removing them first, I haven't had any serious trouble with them.

But I do disable all logging and swap in the hope that this will extend their lifetimes.
There shouldn't even be an IntListItem type, just IntList, or it could be typedef-ed to make the API clearer. In that case there no need to be for special case, and NULL is the empty list.
I’ve lived in NC piedmont area (a couple hours drive from tree farms) since 2004 and basically paid $65-75 for a 6-7 ft tree every year. Every year but one we’ve gotten our tree from whatever corner lot was convenient. (One year we were late and only Home Depot had any trees left.)

There is either a shortage of trees this year or people shopped early. We got our tree earlier today and it was the last of two. They gave it to us for half off ($37 for a 6 ft tree) since it’s a somewhat sad (but fitting for 2020) tree. Once we decorate it it will look fine.
For that matter, I assume there are christmas tree futures being traded?
Golang First Impressions
Thinking of Gemini as an "alternative to" the Internet means you think of the Web as "the Internet" and I thought that we'd be a bit more technically savvy than that here.

Also, there's no real technical reason Gemini-the-protocol can't serve HTML, but that discussion is probably dead, too.
SD cards can die within a few months through repeated power cycling, or writing logs to disk instead of to RAM. There are techniques that one can use to lengthen SD card life, but the average person buying a Pi and slapping a media-center distro on there might not know about them or be willing to e.g. invest in an UPS and use the command line to hack logging.
As an example from early on:

https://fivethirtyeight.com/features/coronavirus-is-hitting-...

> But even before DeWine’s March 15 order, restaurants were already feeling the impact of the coronavirus as customers began to avoid crowded areas in their cities.

> But no matter whether the governor has issued an order or not, restaurants in every state available in the OpenTable data set have experienced declining dining attendance over the last two weeks. As public pleas for social distancing get louder, diners are forced to order food for take-away or delivery, or simply to cook at home.

We saw the same in Sweden: Despite a fairly laissez-faire approach and fairly minimal restrictions, the economy still suffered greatly as people voluntarily said "it's not worth it" to things like indoor dining.

https://www.nytimes.com/2020/07/07/business/sweden-economy-c...

> This is what has happened: Not only have thousands more people died than in neighboring countries that imposed lockdowns, but Sweden’s economy has fared little better.

> And Swedish people responded to the fear of the virus by limiting their shopping — not enough to prevent elevated deaths, but enough to produce a decline in business activity.
Amazon UK has it, so maybe other Amazons too.
example input:

6
2 1.0
3 1.0
4 1.0
3 0.5
5 0.678
9 0.87

First line means there will be 6 test cases. Each of the following 6 lines contains one test case (each test case represents one ping-pong tournament, and each test case is independent of the others).

So the first line means there's a tournament with N=2 players, and P=1.0, which means that in any matchup, the higher-ranked player has a 100% chance of defeating the lower-ranked player.

The fourth line means there's a tournament with N=5 players, and P=0.678, which means in any matchup, the higher-ranked player has a 67.8% chance of defeating the lower-ranked player.
What about sending money out of Brazil, and non-permanent residents of Brazil?
I’m not sure what argument you are asserting I’m making; it sounds like you’re saying I’m suggesting this site should be banned. I’m not. I’m merely stating my reasons for not reading the article, and why there are negative consequences of HN boosting the profile of sites like this. And that the “prefer article quality over site quality” rule is idealistic because it pays insufficient (if any) consideration to consequences of using this platform to boost theirs.

You frame this in terms of optimization, but I’m framing this in terms of acknowledging there are negative consequences are of boosting problematic platforms (and perhaps having a discussion in terms of what negative consequences we as a community will accept).
I must admit that I don't know anything about screenreading or accessibility in general, but I think you raise a valid concern: Certainly, the "next-generation good internet" should be accessible to all.

However, I would think that being much simpler (also, mind you, content-wise) would be a positive thing for gemini, in this context? Would you care to elaborate on what kinds of things are made harder by the choices gemini made? And what do you think could be done to alleviate those problems?
This seems like the classic argument of whether approaches like Duff's Device[1] are a good implementation idea.

I would offer that there is no shame in doing something a bit more advanced, as long as there are test cases and documentation proportional to the advanced nature of the technique available.

[1] https://en.m.wikipedia.org/wiki/Duff's_device
The second version seems more elegant but will scare non-C people away with all those pointers ;-)

What I do not understand is why one should use an "IntList" struct in the first place? As the explanation of the second method suggests, a List is the same thing as a pointer to its first element, so why not do this?:

typedef struct IntListItem* IntList;

Also, could it be that both methods fail terribly (infinite loops?) when they are given wrong input such as elements not in the list at all?
I think we would be in a different situation if we saw people consuming massive testing and ppe resources while operating other non-essential activities.

As far as I know, there is nothing preventing them from doing that beyond cost and time.
There are some great ECS frameworks for a lot of languages these days, but in my personal opinion (rightly or wrongly), EnTT is in a league of its own in terms of features and performance, its very mature, constantly improved, and, possibly the most important part, I have experience using it.
"Smart" is vague, but in any case I'm not sure it's possible. For sure I can't.

Here's my anecdata with a very narrow but pragmatic definition of "smart". When I did academic research, there was no correlation between any aspect of the casual conversation I held with students and their abilities in maths and CS theory. N=O(10).
For something like K-12 math that doesn't change much over decades and should be easy to avoid politically charged issues in, you'd think states would band together to fund a public domain text book.
There is a gap for a ribbon cable, like this one: https://octopart.com/search?q=IDSD-20-D-06.00
I totally agree, it’s about proving you’re clever rather than communicating ideas. Maybe for something hard like Linux kernel development this is a good thing but in most cases it just leads to messy code that people can’t understand or follow.
Did you glue the aluminum slices to the existing ‘sinks or?
How do you attach it to the chip?
Alternate perspective is that their excess mortality has been average since the middle of summer, and is not spiking as of right now. This site https://www.euromomo.eu/ lets you compare all this data by country.
Actually self attention is a generalization of convolution:

https://openreview.net/pdf?id=HJlnC1rKPB

,,This work provides evidence that attention layers can perform convolution and, indeed, they often learn to do so in practice. Specifically, we prove that a multi-head self-attention
layer with sufficient number of heads is at least as expressive as any convolutional
layer. Our numerical experiments then show that self-attention layers attend to
pixel-grid patterns similarly to CNN layers, corroborating our analysis.''
She probably can offer way better food than a trucked in catering can provide which is probably the alternative.

This is in fact what a number of studios already do: they use local restaurants for catering or on-site meals. However, as a result of COVID procedures, in order for a local restaurant to be eligible for this, they would to adhere to the same restrictions as Hollywood crews do, meaning: daily/near-daily testing, quarantining outside of work, and importantly, no interaction with non-household members.

Hollywood has the guilds to help it enforce the covid procedures (and also pays very well). The same cannot be said of restaurants.
According to a Google search, a tree takes 7-10 years. So you were on hacker news while that carbon was in the atmosphere. Puts it into perspective
I have no doubt about their quality and affordability. Also, the price goes down when you subscribe for a longer time.

I write C/C++ and Python mainly. Eclipse CDT and PyDev are very good. Since I'm using the platform for 15+ years, I've seen its bad days too. Except some edge cases, CDT is bulletproof and works very well. PyDev is also very smart and helps me the way I need.

Actually, Eclipse has the best and most sensible Git UI I've ever used. I also like Tower but, Eclipse both makes sense and helps a lot in the relevant places.
Three solutions:

1. Use an "endurance" SD card, usually sold for dashcams.

2. Use a USB stick instead of an SD card.

3. Netboot from a TFTP/NTP server.
This is so incredibly saddening. Some people seem to truly be too kind and empathetic to cope with this modern world. I'll be forever wondering why he didn't make an extreme decision to do something such as literally disappearing into rural nowhere Asia/Europe or somewhere and attempt to live the simplest of lifestyles for some time. I want to think something of that nature may have helped reset things a bit, but what do I know. Life is so incredibly grueling for those that wish to help others so much as he seemed to want to in our now completely globalized and arguably scarily downtrending world.
In a way, I'd prefer books that are licensed to just me and 50% cheaper just so I don't have to deal with selling books back at 40% of their purchase price.
Regexps are not great in general – whether something is sensitive or not is highly contextual. Regexps tend to be too narrow and produce a lot of noise = false positives, so not terribly actionable.

And false negatives (missed info) aren't much better either: sensitive data often lives in images, as people's profile photos or passport or ID scans, where you must really look at the pixels (OCR rarely helps). Here regexps instafail because they assume input is text.

Personal war story: I encountered a bizarre category, sensitive data that's true negative which people nevertheless perceive as true positive. Think "specimen (invalid) passports" or "sample (invalid) credit cards". Not really sensitive (zero risk), but people still expect to see them detected. Creates some funny situations during testing. If you're curious, I wrote about it here [0], with some examples.

[0] https://pii-tools.com/how-to-evaluate-pii-discovery/
>Why is pixelation preferable to a big black obliterating box?

From a security perspective it has zero advantages, but I guess some people like the aesthetics?

>To me, it seems like a lot of wasted time and effort and potential arms race between encoders and decoders and the risk of being exposed when you could just put a big black box over whatever you wish to obscure.

There doesn't need to be an arms race, one can just erase whatever needed to be hid, put fake random text over it and then pixelate that. Ie., a prettier "black box" but still the same core method as a black box. In principle doesn't even need to be any more work, it'd be easy enough to throw together a simple "pixelate erase" script that'd take a selection, apply average solid color and random text over it, then pixelate the result all in one automatated step.

The problem is if some people think any modification of the original information is ever good enough. Anything based on the original could leak information, so need to erase and then apply any desired aesthetics afterward.
Not sure what you think isn't easy about it:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: myingress
spec:
rules:
- http:
paths:
- host: example.com
path: /
pathType: Prefix
backend:
service:
name: test
port:
number: 80

Since everything except "spec" is common to all Kubernetes resources, this arguably isn't much different than an Nginx configuration file:

upstream backend {
server some-backend:80;
}

server {
listen :80;
server_name example.com;

location / {
proxy_pass http://backend;
}
}
We just bought a fake tree with LED lights and I fully expect to be moving it into my 2yo’s first apartment.
The geography doesn't scale up for the US though. I imagine people in Oregon, near the growers, also pay less per tree.
If you had to write a Rails style web application on the JVM today, which framework would you use? Spring Boot? Play? Something completely different?
I push for docker-compose v2 over v3 at work for the same reason. Just to spell out explicitly what nikisweeting is hinting at:

For local development use-cases, docker-compose v3 is just v2 minus all the features Docker Swarm doesn't support.
The conclusion seems wrong as you say. Governments still seem perfectly able to print money in spite of bitcoin and gold existing as alternatives.
Shorter: We could and should build local networks, but we can't build inter-networking infrastructure, so we'll just piggyback on the existing longer haul (0) infrastructure but not worry about it because it will be our protocols and data. So we won't actually build our own internet at all.

(0) longer haul seems to mean more or less above the maximum length of a segment of CatN cable and/or reach of medium powered wifi transmitter.
If you run into issues with the 3V3 line, you could take the 5V pin and put a couple 1n4148 or 1n400x diodes in series and drop it in 0.7V increments.

The right resistor might do too, you’ll have to figure out the draw on the fan to calculate what works.
Ha! I actually like the noises that the computer makes. They are sort of reassuring. A computer that is always silent regardless of whether it idles or churns a lot of compute, is very creepy. Give me clunky mechanical keyboards and noisy fans!
Let’s Encrypt moving to new CA root
You should ask our politicians. They could have provided a means for non-essential businesses to have similar precautions but have yet to provide them relief.

Hollywood studios likely already has the means to implement this on their own.
Yeah I think blurring is more aesthetic, and until recently was seemingly just as secure. It reminds me of how people have used the Photoshop swirl tool to obscure faces, but you could just use the swirl tool in the other direction to undo the effect.
You're right, that was a a mischaracterization from my side. Thank you for the correction.