skysight-inc/HackerNews huggingface dataset:
I used to get annoyed by this too but came around to accepting it after building a Web (Jekyll) photo processing pipeline of my own. Art direction is very difficult to do well when you have to be able to handle any user-uploaded photo that might be in any aspect ratio. Desktops favor displaying wide photos, and handsets favor displaying tall ones. Cropping everything down to a square lets you handle any combination of photo and display aspect ratios with minimal Badness.

I’ve never seen the Twitter-dot-com codebase but would be willing to bet it’s probably using VIPS’ smartcrop feature (:crop => :attention) https://www.rubydoc.info/gems/ruby-vips/Vips/Interesting
Ask HN: Moving from US to Canada – How?
Hi HN,

As a tech worker, can anyone with experience in this process, provide some details or suggestions?

What is the best way to do this?

Find a new employer, or remain employed in the US as remote?

My preference is BC, but it is just a preference.
Amazon? [0][1][2]

[0] https://swift.org/blog/aws-lambda-runtime/

[1] https://aws.amazon.com/blogs/opensource/continuous-delivery-...

[2] https://github.com/amzn/smoke-aws
Cyber Attack Suspected in Woman’s Death
If Apple has intrinsic care for Swift on Linux then let it be evident in their story or direction.
OpenPOWER Summit 2020
Console #19: Tar Pits, Plants, and pb-jelly
(Aw, I read "Moose" and was so disappointed when I clicked through.)

As a random tidbit there's also a bizarre tiny pink armadillo that lives up there. It lives in holes and has a plug-shaped rear end. It's one of those critters that, when you see it, makes you go "C'mon Nature, you're putting me on, eh?"
Probably should have been <shudder />
I'm not sure the second one is so low probability. While the domain controller is not exposed to an external network, it is still exposed to the workstations.
Definitely! I'm going to keep using uMatrix until it starts getting in my way, but otherwise uBO will do.
> I think it would be more appropriate for you to supply some basis to it.

Sure!

What word do you see over and over and over again on https://en.wikipedia.org/wiki/List_of_totalitarian_regimes ?

Of the current countries listed at https://en.wikipedia.org/wiki/List_of_socialist_states half are places where I am glad that I do not live.

> What I can do however is link to the critics...

That socialist intellectuals condemn totalitarianism when it arises from socialist roots is irrelevant. Those victims remain dead and those societies stay shackled no matter how sternly the intellectual writes.
1) Remove/Block Certain sites from Google/DDG. Use

https://iorate.github.io/ublacklist/

2) Using Host Files, i think that you can block domains of the sites that you are not interested.

3) Search Individual Sites .

Instead of Searching the whole web , there are some sites which contains good resource of certain field. If you are searching from that certain field, first search that site.
Yeah, OO access control is in no wise a security measure, it's there to separate interface from implementation as you said.
> you can't use it to say "addiction is what destroys lives, not drugs".

Sure you can. It's perfectly reasonable to say sports injuries are what hurts people, not sports themselves. Even though by definition an injury hurts someone. Especially to make the point that what we want to focus on is reducing the injuries, not reducing the sports.

Everyone understands why the distinction was made, and flagging it as a tautology is just engaging in pedantry.

But here's an interesting experiment: rewrite my point that "it isn't the substance that destroys lives but the medical condition of addiction" - without using the offending tautology. Maybe I'll learn something.
The Spartan 3/3E/6 lines are legacy parts (and hence stuck on ISE for programming, so you don't want them). The Spartan 7 parts were a late addition (not shipping until 2017) to the 7th gen line for the low end; they use the 7th gen blocks and tooling, but are "cost optimized" and lack the fancy transceivers and such - though irritatingly the cost and resources of the Artix and Spartan parts have a lot of overlap; Spartan7 parts run from about $15-140 in single, Artix7 parts from about $25-430.
> or god forbid you touched a header file that was used in 400 code units

In C/C++ that means you decided to change 400 translation units.

That's not a problem with the build system at all. That's a problem with how the developers working on the project failed to follow basic best-practices in software development. No build system saves you from the mess you create yourself.
If you flash Linux onto a device like this, the constant stream of discovered and fixed Linux security holes is bound to eventually bite you without frequent & robust OTA update regimen that requires staffing. It's not really a "jury's still out" type of question: https://www.cvedetails.com/product/47/Linux-Linux-Kernel.htm...

(Not that it's an easy with a simpler software stack either of course but you can have a fighting chance at least)
Compare it to Minecraft, not Zork, if you want to capture current 16-year-olds’ attention :)
Why was this story flagged?

This happens all too frequently on HN. A story blows up, then gets flagged - with no explanation whatsoever.

At the very least, it seems it would be in the interest of the moderators to include an explanatory comment as a guidepost for future submissions.
I have heard Moore’s law generalized to “computing power doubles every two years” which could then apply to “AI”
And when you give him an ultrasound, he'll ask for sound-conducting jelly.
And TLA?
Flamethrowers and Fire Extinguishers – A Review of “The Social Dilemma”
I spent about 20 minutes looking for that reference. I'm sure an actual climate scientist could provide you with a better reference.

Page 450 has a table. Historic CO2 concentration: 280ppm, "current" concentration 341ppm: a 21% increase. From that and the 60 * 10^15 moles C in the atmosphere in 1982 we can deduce around 50 * 10^15 moles C in 1800 in the atmosphere. That seems to be in the right ballpark of 14 * 10^15 moles of emissions from fossil fuels: not all of the carbon ends up in the atmosphere, e.g. some is dissolved in the ocean. Certainly the difference is not large enough (and doesn't have the right sign!) to support the theory that man made carbon dioxide didn't contribute the majority of the extra carbon in the atmosphere.
I had a double pneumonia when I was 23 or so, that may have set me up for this one, I'll never know. But fortunately I knew to sleep on my belly to ensure my lungs don't drown, even so I had some pretty big dips in O2 saturation levels. After three weeks I was out and about but even the slightest exercise and I would be sweating like a pig and unable to take in enough air. Now it's as good as before, I've been super careful all summer and I hope to sit this one out without a re-infection.

Hang in there, it will hopefully get better soon.
Related but more handmade, I have a quickArchive filter which is for all these transactional emails, automatically made by lots of "from:..." (If you're on a lot of list servs "-to:PRIMARY_EMAIL" is also great. So when I go through email, i first search for quickarchive emails in my inbox and mostly just skim the subject line to be sufficient. Then archive them all and go back to the inbox. It's often half of the emails

There are also Gmail filter generators so you could run this analysis once and then generate the filters for future use
Why is this post downvoted? This is literally the reason why COVID is treated the way it is.
That being family or friends with someone does not influence how infectious they or one might be for each other, often seems to be forgotten or ignored as well.
Why do you blacklist them?
There was some pytorch software called "enhance", i.e. ./enhance <image> [options] and you could take an image that someone took of their unpowered tv across the room and pull out a high resolution image of their face from the reflection in the matte-ish surface.

I used it on reddit to convince people it was unsafe to post any images of that sort. It seemed to work for about 6 months.

There's magic in image enhancement, but I don't know that ridges and valleys of a fingerprint are there, yet. I don't even know that "this specific person is scared that they leaked their face in a way that is recognizable to them" even scales to "never upload anything" - it could be this sort of news is programming the population that computers can tease out identities with any and all leaked information, pictures, audio, etc.

Heck, a decade and a half ago there were claims that governments could narrow a search for an audio file upload based on the deviation from 60hz on the power line noise - in an audio recording.

So who knows?
From Nostrademons:

"I predict that Libra will work for a while, but will eventually be overshadowed either by competitors or by the new markets that it enables.

There's this pattern I've noticed where every major tech company, once initial traction has been established, gets three pivots. You can think of them as adolescence, mid-life, and rebirth.

The first pivot happens when the company is 5-8 years old (since the 1970s at least; older before then), and serves to define the company. The System 360 for IBM, defining it as the provider of mainframes for enterprises. MS-DOS for Microsoft, defining it as the dominant PC OS. The Macintosh for Apple, defining it as the most user-friendly consumer brand out there. GMail and Maps for Google, defining it as the conglomerate of the Internet age. Mobile for Facebook, defining it as the service that connects people regardless of where they are.

The second pivot happens when the company is 10-15, at the height of its dominance, and usually results from it entering the hottest new technology wave with a vengeance. It looks like it succeeds for a while, crushes early entrants, serves to legitimize that technology wave, but ultimately peters out as the company can't keep up with the changes that it introduces. The IBM PC for IBM, which legitimized the PC market but ultimately fell to clones. Internet Explorer for Microsoft, which legitimized the Internet but ultimately was eclipsed by Google's many products. The Newton for Apple, which legitimized the PDA market but ultimately was too early. Google+ for Google, which legitimized social networking but ultimately failed to gain traction.

The third pivot is when the company realizes that they basically incapable of innovating, and returns to the roots they established with the first pivot to live out their old age. Open-source consulting for IBM, leveraging their massive installed base of enterprise customers. VS Code, XBox, and Azure for Microsoft, recognizing that they are fundamentally a platforms company. The iPhone and iPad for Apple, refocusing on their strengths in UX and delivering top-quality consumer electronics products. Alphabet for Google, realizing that they're fundamentally a conglomerate that lets a thousand flowers bloom (and cancels 990 of them).

Libra is Facebook's second pivot. It'll look like it succeeds for a while, it'll legitimize cryptocurrency, but it'll ultimately end up eclipsed by what it creates. "

https://news.ycombinator.com/item?id=20210791
Cropping well is quite a hard problem!

I know it seems on the surface like “just resize it” is a good approach, but it’s not super uncommon to see quite extreme aspect images, and even for normal use there are lots of different constraints in different systems that mean a really simple system can produce undesirable results.

I used to get this all the time back when I built custom content management systems. Users would upload images which were automatically cropped into various sizes for use in particular bits of content; really long or wide images would look awful when scaled, and automatic fixed-size crops would often end up cutting out the actual interesting bit of the image. That’s what various “automatically generate interesting thumbnails” algorithms try to avoid.

In the end for me the best tool was auto-crop-with-preview-and-manual-override, and I’m beyond infuriated every time I try to upload an image to Twitter and it doesn’t allow this obvious and simple way to avoid the issue.
Pitch Deck Teardown: Sumo Logic
My younger brother is in the same age range. He was interested in programming, so I pointed him towards Automate the Boring Stuff with Python. He has done well since, with his latest project being a simple mouse-wiggler script that sets his status to "online" for his school's mandatory online attendance checks.

Looking back at the learning process, the most useful parts of Automate the Boring Stuff with Python were the mini-projects: web scraping, GUI automation, and other immediately visible tools that helped a student to build tangible things. Once he had those, my little brother could figure out his own projects, like automating redundant tasks in the video games he plays.

Conversely, the least useful part of the book was its fundamentals. In retrospect I should've started him on a different tool like Codecademy. The instantaneous "correct/incorrect" feedback was a better fit for clearing the initial hurdle in understanding syntax.
I did get d-dimers of 1.3 on my first test and 1.26 4 days later, so they got my anticoagulant shots in the hospital and aspirin at home, I initially did worry about that as well.

The funny thing is the other patients had higher strength shots or for much longer -- and they had massive blood shot bruises on their arms/bellies and the nurses had to use some special cream, otherwise those bruises could clot and lead to stroke or heart attacks.

So it was like, even the anti-cloting medicine was somehow trying to kill you in some perverse way.
I’m reading a lot of comments here which tackle the thorny topic of decriminalization of drugs in the US that we have historically over-prosecuted. I happen to agree with this sentiment as well. But almost everyone here arguing for a middle ground agrees that things won’t change because all three branches of the US seem determined to keep a hard-line or zero tolerance policy on drugs, even when legalization and medical supervision, creation of new business and exploration of safer alternatives and research into benefits of said drugs are brought up as arguments and are summarily dismissed because “reasons”.

What are some actual, practical steps we all can take towards making decriminalization a reality?
I'm surprised that there isn't more software automation. For example, the bolts align faster with better engineering but the pit lane gate at the end of the video is manually controlled. There seems to be a lot of mechanical cleverness, but not much software automation.

Is this because it's part of the sport/culture or maybe there isn't much to gain from software automation?
Interestingly, this is a perfect example of the 90/10 rule.

2450 views on Imgur

245 = 2450 * 0.1

259 likes on this post

147 comments
The most useful idea I've found so far for thinking about work and career comes from Dawkins. He points out that money is just an abstract mechanism for managing reciprocal altruism. As a knock on to that idea, we're programmed to crave those relationships and to build a deep and rich network of friends through them.

I think a huge part of our problem in the current historical moment is our lack of awareness of this fact, and it's a big part of why so many people are dissatisfied with their work and the state of social projects, including their view of the ways in which genius is employed.

To your point, I think the problem is not so much with entrepreneurship itself, but with the fact that it's filled in for all of the other decaying forms of altruism in modern society. The rewards for doing some deep scientific work (in the form of respect and prestige) have slowly decreased along with the rise of anti-intellectualism, while the rewards of entrepreneurship have skyrocketed (or at least appear to have from the vantage point of the average person). The new pop image of the "genius" is Elon Musk or Steve Jobs, not some guy plugging away at equations in Cambridge. Those people still exist, obviously, but the cultural respect and the other forms of value they're compensated with have decreased dramatically.
Original author here:
yes of course, this project should be improved and many other additional services wil be added.
I will also study a camp with UDDT to have a less amount of sewage.
The camps in my project contain free areas for agriculture, in addition to a school , a police station, and markets so the camp could be 90% independent.

This project could be applied for any camp. It is basically studied to be applied for refugees camps as they most need it, but it could be used for any camp that has a big amount of sewage.
Who would flag a post like this? I would guess either people who are annoyed by the omnipresence of SARS-Cov2/COVID-19 coverage or people in denial.
If there's no witnessing or critique/scrutiny by the community possible then I don't think there will be the pressure necessary for quality comments to be made - and leaving a moderator to privately review them would likely have more comments left toward the spectrum of "this guy's an idiot" then toward side of constructive or useful criticism.
Today everyone's strategy is looking more successful as we leave the summer. We will see how it all stacks up in the next six months after flu season.
People want to be able to believe in a truth they are told rather than have to have the responsibility of observing their own at all times. People have been wired so strongly for this that they will even downvote you when you remind them of it :)
And per the article only the first year of production or so. There's also the question of whether Apple actually got any actual exclusive deal for the first year, or whether they simply outbid other companies for the production slots.
For starters with uBO you can individually block types of requests (images, js, css, cookies, frames, "other") per domain and/or per subhuman.
> There is considerable information ... that the US war on drugs was ... a system to enable racial discrimination.

> I provide no references ... it is ... difficult to prove given the publicly available information

These claims seem to strongly negate each other... to a degree that one detects the putrid scent of conspiracy theory.
> Porras also admitted possessing a Model A uzi-style pistol; a MAK 90; and an S&W .44 caliber revolver. Although all weapons in Porras’ possession were legal firearms (the uzi-style pistol used post ban parts), a felony conviction for possession with intent precluded firearm ownership.

Can someone explain this part to me. Was he previously convicted of a crime that precluded ownership? Or are the police able to take legal behaviour and change it to illegal behaviour later on?
That's what airbags are for in a car.
There's some cool autodiff work going on in F#/.NET now too[0]. From a usage/API perspective they look kind of similar.

[0] https://diffsharp.github.io/
Interesting you mention "Industrial" cards as I have been looking at cards in this range after reading quite a few issues with RPIs over the past few months. I have a RPI3 with a SanDisk Extreme, running for 18 months 24/7 with no issues yet. Plenty of re-imaging and high temps. RPI 4 has a SanDisk Ultra, only been running for 3 months 24/7. Now whilst we all should have backups anyway, I really don't want the worry or hassle of restoring backups couple of times a year, I would rather have a card that will last years rather than months.

Slightly off topic but I have also been looking at using net boot instead. Not only would it be just as fast as the Micro SD cards but much easier to perform backups locally and offsite.
Artificial Neural Networks – The activation function
Programming the Z80 by Rodnay Zaks
Maybe because the first wave didn't end? The USA is still in it's first wave too.
One might think that the UNHCR should have experts on hand who have ready made designs for sewage, water and electricity in refugee camps, but then one looks at the horrors of Moria and the other "camps" in Greece.

It is utterly shameful that people in need depend on volunteers taking care of such basic needs. Thanks, OP.
For drag racing the green light goes on 0.4 seconds after the last orange light, so you need to react in 0.4 seconds to leave at the green light (in practice you need to react much earlier to account for the time it takes the car to leave). That time doesn't actually reflect their actual reaction time though, humans have a much faster reaction time than that.
> They won't keep the fab advantage. The money TSMC gets from Apple will contribute to improving production, which will also benefit other TSMC customers. Just like Apple buying most of the world's supply of NAND chips a couple of years back did not kill the market.

And unquestionably TSMC now has much more 7nm capacity for sale than they would have if Apple were vertically integrated and owned their own fabs.
In this specific case, there was no violence, and no one victimized.

If you want to spend $5+ million USD in tax money (which is approximately what would have happened in the event of his refusing the plea agreement) on investigating and charging and prosecuting and caging and feeding and medicating someone for their entire lifetime for engaging in activities that victimized no one, then I don't really know what to tell you other than that seems like an extreme emotional/nationalistic bias to me, because I know what $5mm USD can do when wielded instead to benefit people versus caging them like animals.

> Plus he only got 5 years, which isn't a long sentence in the US.

Five years is a long time in jail no matter what the country, but it's an exceptionally long time in the US given that people are commonly and routinely tortured[1] whilst imprisoned there.

Being pro-incarceration in the US, given the present abusive system and widespread, well-documented prison conditions, is congruent and coterminous with being pro-torture, which is an unconscionable viewpoint to promote, in my view.

I really, really hope that it's an opinion from ignorance of these systems, because I can't personally fathom a world where reasonable human beings want other human beings (who have not caused anyone to come to harm in this case, but really any human being) to be tortured.

[1]: https://en.wikipedia.org/wiki/Solitary_confinement_in_the_Un... and https://en.wikipedia.org/wiki/Solitary_confinement#Torture
Because it has totally derailed many of the twitter threads. Thankfully we get less conspiracy theories here but I figured we could try and avoid it altogether.
Example that comes to mind: language learning.

There's people in the language meetup circles that can discuss a language at length, etc and not even speak it well. They spent so much time learning factoids etc about it without actually immersing and gaining that "on the ground" ability.

No amount of research is going to let you speak colloquial spanish in the countryside of Colombia, or wherever.
Just for the record, I wasn't trying to deny the racial element in drug 'warfare', which certainly exists (how deliberately is another matter).

And when people 'recast' things it's sometimes because new evidence emerges, or becomes more well known.

An example of that is in these comments, the interview by former Nixon aide John Ehrlichman made only in 1994, but probably still not that well known until this article from 2016:

https://harpers.org/archive/2016/04/legalize-it-all/