skysight-inc/HackerNews huggingface dataset:
It's absolutely sickening how in the food department of a supermarket it has become pretty much impossible to avoid plastic packaging. Everything that I could buy in paper wrappings only a few years ago is now wrapped in plastic. Even things like apples and sliced cheese now come with plastic attached in some way or other.

Never mind the stuff in plastic clamshells that doesn't need packaging at all. (Scissors for instance)
Here are the programs that took part in a 2011 Polish contest of automatic poetry: http://turniej.wolnelektury.pl/poezja/

Centonista won the contest; Triphthong has been broken since the upgrade of Ruby to 2.0.
Wow, finally a reason to get flu shots.
Nice story. I’m not sure web scraping is a “niche” subject anymore though.
Without comparison to the amount of plastic coming from fishing nets and coastal cities, this didn't contradict anything in the parent post.
Loved the "incidental duplication" term. I will def start using it from now on.

But to add to this, I want to say that the moment you find your self writing a "helper" function, that's the moment when you must realize that you didn't understand the problem quite good.

As a rule of thumb and what I am always trying to pass to my peers at work etc, is to always try and think in terms of your domain and the models in it.

- What models does this helper function is acting upon or on behalf?

- Does it make more sense to create a model and put that function in it?

- Should that function be in a specific model or more that one?
Nuclear power station incident in Ontario Canada
Even though this was posted to HN about 3yrs ago [0] I recently came across it and thought it was wonderful!

I tend to record long-winded videos while snowboarding with an action camera strapped to my board or helmet so I end up with dozens of GBs of footage only portions of which are semi-interesting so having a quick GUI that allows me to trim the bits that are interesting, without having to import the files into tools like Final Cut and recode the useful stuff out (an arduous and storage-intensive process), was invaluable.

While a lot of the comments in the previous thread were about the caveats of Electron apps I was just grateful to the author [1] for making this little gem available and continuing to update it.

[0] https://news.ycombinator.com/item?id=12885585
[1] https://github.com/mifi
> Your own trash is very unlikely to end up in the ocean.

Daily, I see people getting rid of the plastic wrapping around their new cigarette pack by throwing it out the car window or just dropping it straight to the ground. It's that type of plastic that makes its way to the city's runoff which makes its way to streams/rivers/lakes/oceans/etc. After any significant amount of rain, there's a few places I can drive by to see where the trash from throughout the city has washed into the grassy areas around bends in creaks/rivers. It's a good visual example of where the plastic pollution is originating.
Maybe the reason they would argue this is a debtors prison and not merely a matter arising from a criminal conviction is that she was ordered to pay back money which she had not, and therefore was remanded to the debtors prison.

She went to jail because she stopped going to her probation appointments.

She said her probation officers threatened her: "Next time you come in and you don’t have any money, you’re going to jail."

Fearing she would be thrown in prison for nonpayment, she stopped reporting.
Thanks! You're right it's not a "niche" subject. But Web Scraping with Java is probably a little "niche"!
But algorithms to automate draconian censorship only take weeks to months. FB has its orders and human Rights violation is their new business model. Tyranny-R-Us so to speak.
Humans were learning long before manuals.
Biggest click-bait title of the year, IMHO. Of course Rock hasn't died.
None of those items are packaging. Carrier bags are optionally taken by individuals.

Most of my household waste and that of those around me is endless plastic trays, cling films, bottles from tiny package sizes with high surface area etc.

Even if it's not polluting it's annoying because it takes up so much space unnecessarily. I'd rather go to the store with a bottle and fill it.

That's what is not being addressed. Most people can just stop using straws. Buying food without OTT packaging for most means going to a different town which has a hippie health foods store with bins or whatever and paying over the odds.
That might be a factor, yes. Last time I tried Arch was around 2015.

However, I come from a business perspective here. You really don't need an operating system that introduces new versions on a whim in the middle of operations. There's a reason businesses run RHEL/Centos or macOS and whatever has LTS in Windows land: cost of maintenance and reliably wide windows of no possible breakage.

As a business, it's kind of a dodgy position to be at relying on "yeah, randomly upgrading versions worked for me so far. Fingers crossed, lol".

So I'm interested in what people use their Arch Linux for and what didn't work for them on any other stable platform. My personal observations point towards the Arch Linux users being the tinkerers who like to use cutting edge and hose their Debians trying to wedge some newer version into it. While the ones that ran screaming away from Arch pretty much never had the desire to change the underlying system and were happy with a security backport now and then.
Protests in Iran after government admits it accidentally shot Ukrainian plane
Bees are not essential to the almond industry in general, but to the US almond industry in particular because US is focusing on almond varieties that are not the best nor auto-compatible (so they need bees to pollinate), but have the economic advantage of having a very good ratio between the weight of shell over the seed inside. This is good to get the maximum earning, but is bad both for human health because the thin shell allows for the almonds to be more easily contaminated, and for bees because of what the article says.
Except exceptions are rarely understood and used correctly by most programmers. They can simplify program structure, but at the expense of proper errorhandling and error mitigation strategies.

Golang is still in the sort of niche that builds databases, queues, container-orchestration, etc., but can be built for other things given enough care for spending the extra effort simplifying the solutions.
> but it's interesting how much we seem to collectively forget that buying music isn't the only way to have access to it.

I guess the other way is to play at home, in isolation, so you don't need a license like you would need when playing for a group?
So just to make sure I understand:

If I want to run on Windows, I just put those "c" code files in a directory and run the Microsoft C compiler against it?
Of course billions of bees are dying every year, because 99.9% of bees don't live longer than six months.
Code should be easy to debug and troubleshoot six months later by someone else.

Think about realistic bugs. Somebody had a minor typo or conceptual error and got a sign wrong in the math. That happens.

You're going to get a bug report a year later about "resizing the top left of a text box has the wrong gap space".

In the original code, you can look at the TextBlock area and resizeTopLeft to instantly narrow down the location of the bug, and compare it to its neighbors resizeTopRight and in like 30 seconds, duh, you subtracted the gap from the X in resizeTopLeft just like resizeTopRight and obviously the symmetrical version would be adding the gap for left because you subtracted from X coordinate for right and they're symmetric, build test, now it moves two pixels the correct direction, commit, close bug, done in like five (labor cost expensive) minutes, depending on build and test system, LOL. You should also look into why the unit test system missed this, but perhaps your fully automated unit testing does not check pixel perfect UI operations, so these things will just happen.

Is there anything for Jenkins implementing pixel perfect UI testing, and how would one spec all the millions of possible actions and combinations of actions? A startup opportunity for someone?

In the new code, its going to be possibly the rendering of everything is messed up and you have to decode and store and analyze the entire design of the entire system in your head simultaneously and run numerous simulation examples in your mind until you realize technically the gap spacing should be -1 times the absolute value of X coord or whatever abstract and elaborate formula. Or maybe you added the absolute value of a negative number which would only affect one left/right side's gap or similar complicated bug. Its going to be a VERY expensive bug, like an hour, maybe a day if its really mysterious and the debugger just doesn't "get" obfuscated code.

Also in the original code you can trivially compose one discrete example at a time and experiment with what changes when implementing the next example. Its going to be written and tested very quickly. You don't have to worry about symmetry related bugs to make TopLeft work at the same time as TopRight and BottomLeft and all that.

In the new code, its very impressive to other programmers but your boss is going to notice you have to pack the entire system into your head in a perfect and 100% correct manner before anything works at all, which seems inefficient.

The most nifty looking abstraction possible isn't necessarily optimized to be anything other than the most nifty abstraction. Its statistically unlikely to hyperoptimize for X where important values of Y like debug-ability or speed of writing are the actual real world goals.

Basically, always simplicate and add lightness, and in some situations, "clean code" is not simple and light. Sometimes clean is obfuscated by some perspectives.
https://www.youtube.com/watch?v=QL1SDmTP6v8
It's similar in Rust, you specify the language edition with a line in Cargo.toml.

https://doc.rust-lang.org/nightly/edition-guide/editions/cre...
And how much fuel was required to tow it out to the great pacific garbage patch and back again? The support vessel in the photo looks quite large. The daily operating cost for an offshore support vessel of that size is significant.
We Provide Outstanding Cleared Candidates
How I Program in C
> Many of these criticisms generalize to 'first make it work, then make it better, then make it fast'. Being able to solve some of these problems at all is the kicker, whether or not it is efficient is at the moment not nearly as important as being able to solve them in principle.

There are deep (not universally applicable) assumptions in that framing... It works only if you didn't "make it work" in a way that fundamentally limits/handicaps the future steps, or gives no insights in that direction.

Based on my understanding of the subject, I think that much recent progress in deep learning is less of a breakthrough than it's commonly made out to be, and that there are fundamental conceptual reasons why the approach is limited, almost like achieving the first step of drawing an owl: https://i.kym-cdn.com/photos/images/newsfeed/000/572/078/d6d...

But the jury is out on that one, and I think there is enough room for reasonable people to differ in their opinions. ¯\_(ツ)_/¯
For people in the US: does the SF zero waste lady still has followers ?
I know better, but auto correct on my phone doesn’t. I gave up fighting with it long ago. Latest iOS seems to correct things twice before giving up which really pisses me off!

My fingers are larger than average so it helps more than it hurts, for now.
Life, Engineered
Even (information) openness and collaboration themselves are orthogonal. You can certainly have one without the other. Then the physical openness is another dimension. And so on and so forth.

So we'd need more information to know whether or not Apple is best optimized in all these, and more, dimensions. Way more information than we'd ever get from one person or team. (Definitely way more than Apple would ever give out.)
Measles: from a 1912 genome to an antique origin
If it’s elitist to listen to people who have researched a subject (nutritionists, public health experts, etc.) rather than every person who has produced offspring, so be it.
/Applications/Fiefox.app. Not that hard and not unfamiliar, really. (Not saying Linux distorts should adopt /Applications. My point is it’s not hard to have a consistent and self-contained experience, and AFAIK there are several competing bundle formats on Linux already.)
The weird thing is that paper tends to cost more energy to produce than plastic, so in that sense plastic can be seen as the more environment-friendly choice. But yes, there's lots of stuff that doesn't need packaging at all.
I would say the continuity isn't just defined at that point... I very much agree that one can't affirmatively say that the function is continuous at that point. Btw. I guess you meant to say f(x) = (x - 1)/(x - 1).

However, let's ignore that; the problem disappears if we define f(x ) = 1 at x = 1, and f(x) = 0 elsewhere.

In standard analysis that function would be discontinuous at that point.

I'm not sure about implications in the OP's kind of analysis. Would the existence of m(1) imply that there exist some smallest input that is larger than 1, that would make difference in output? Same for the largest input that is smaller than 1.
a random googling gave http://www.eoht.info/page/Political+thermodynamics

I'm curious now
CRDTs have to tackle this sort of problem as well.
>Never mind the stuff in plastic clamshells that doesn't need packaging at all. (Scissors for instance)

Nice example. I hate the fact that I have to use a pair of scissors to open up a brand new pair of scissors. I've been under the impression that the use of the plastic packaging has been a focus on stop-loss from theft. That makes sense to a degree in the retail environment. Remember when CDs came in those big boxes so people wouldn't shove them down their pants?

The styrofoam shrink wrapped packages of meat is another one that gets me. I much prefer going to the butcher where the meat comes wrapped in paper. However, it's much more convenient for shoppers to walk up to a display to get prepackaged servings rather than waiting in line for the butcher.
These Cleaning Devices should be placed at the mouth of these 10 rivers. It would prevent 90% of all Ocean plastic.

https://www.dw.com/en/almost-all-plastic-in-the-ocean-comes-...
Netflix employee here: FreeBSD generally scales well for our workload, and where it doesn't, we can improve it and upstream the fixes without a lot of friction.

Right now, we're serving 200Gb/s of kTLS encrypted video on a single box (see talk at https://youtu.be/8NSzkYSX5nY), and looking at 400Gb/s. I have not heard of others doing this on Linux, and its sexy enough that I assume anybody doing this on Linux would make a splash about it.

In fact, as far as I know, some other big CDN providers that use Linux are just now moving to 100GbE, where as we've been serving at 100Gb/s in production for almost 4 years now on FreeBSD.
Sonoma County Plan Would Evict Renters to Buy Housing for Homeless
Our own trash is shipped to Asia first and then it ends up in some of those rivers. We pay Asian countries a lot to take our garbage.
>The styrofoam shrink wrapped packages of meat is another one that gets me

The grocery store near me used to wrap up all the meat from their in house butcher in paper with a string - it was neat. Now they wrap it in plastic on those styrofoam trays. But to make it worse, they wrap each individual item in plastic, so if you buy a few pounds of chicken you end up with about 6 individual containers of chicken. Its insane.
How to Achieve Email Mastery
If it gets bad enough future generations will outlaw non-biodegradable products. So it's also in the best interest of producers to help in these matters.

In fact, this is a little off topic, but there are 2 things that may coincide here. Exorbitant salaries of executives at most if not all of those same companies that play a huge role in the devastation should redirect that money to fixing some of the environmental issues their companies are exacerbating.

If those companies aren't putting enough into offsetting the problems they're causing to the environment they shouldn't be paying their executives so much money. Redirect that money to the planet.

I'd go so far to say financial companies may not play a huge role directly, but certainly play an enormous role indirectly. They should be paying that same penalty (re: executive salaries / profits) based on their portfolio of companies.
> This is full of lies, it is not an ethical alternative to cow's milk because it uses a ton of natural resources to produce.

What doesn't take a ton of resources to produce while still being nutritious? What's unethical about taking natural resources to produce food in the first place? Nature is all about eating itself, perpetually.

> You cannot live without bees in the world.

That's a myth.
Yes, it will be floss. I've still got a way to go to fully flesh it out, but I'm getting there. Here's a screenshot of what I have so far - https://i.imgur.com/bEBIBFF.png. The sequencer, effects rack to the right, keyboard, pad on the left, wave selection, oscilloscope, level meter, master volume and bottom two dial racks (dry/wet levels) are all working. The rest is yet to be plumbed in, but I've added it in to try and get some idea of the final layout.

At present, the sequence of connections for each effect are pre-determined, but I'm working with the idea that a button will flip the synth around so you can patch the units in any order you wish. Another idea is to start with an empty rack and have you add them in and move them around however you wish too, so you could have more than one of each type in the chain. Very much still a work-in-progress!

I'm actually using Tone.js for this project. So far I'm finding it very useful.
can you elaborate on CUDA?

My understanding is that the NVIDIA drivers are a hassle to setup on linux, but once you do, the performance is just as good. Are you saying the performance is still worse if you can properly configure the cards?

I am considering a rig from System76 whose selling point is that their Pop!_OS fixes the driver config issues.
Are we living in a simulated world?
Yes. Example specifically for FF on FreeBSD: https://wiki.freebsd.org/VladimirKrstulja/Guides/JailingGUIA...
http://archive.is/hoMtS
This HAS to be a troll post. This thing goes out and attempts to clean first world luxury pollution while 10 cruise liners with gullible tourists drive past it but the clean up vessel is the one where we have to bring attention to its pollution??

Before we axe this lets axe useless and shitty cruise liners first.
Rather than remove plastic from the ocean, wouldn't it be easier and better for the environment to just build landfills in developing countries.
"A word is just a word"

Good luck using the N-word in the US.
Trying to be observant and not cynical here, but it appears the incentives of the medical system are not always aligned with curing cancer. In the current system, pharma won't funnel it unless there's billions in payoff, while medical oncology, imaging, and radiation are making out like bandits in the current system. How many ads a week do you encounter for "cancer treatment centers"?

We're left with government and charity funding for research, which are both minuscule compared to the above.
Facebook censors a major page organizing protests in France
Yes. Here's an example for Firefox on FreeBSD: https://wiki.freebsd.org/VladimirKrstulja/Guides/JailingGUIA...
Clean code is not about eliminating repeated code. Clean code is about readability. It's a not a rule. It's a programming philosophy.

People set rules but we should always see the reasoning behind the rules instead of just following them blindly.

Personally every time I refactor some piece of code, I think "Does this make code easier to read and understand? Will this save me and my colleagues time in the future?".
Possibly, though with only the images you'd be missing some useful info, like the actual outcome. Also they are likely not "high quality" images on average.. so for example, if there is cancer present, it may not be identified in the image.

See https://www.cancerimagingarchive.net/ for some examples of carefully curated data.
"vegans probably have a more sound moral judgement than the rest of us"

Whoa! That's what is call generalisation... On the other hand diet had nothing to do with moral, it's all about health! None of the extremes are good, our body still have the hunter-gatherer digestion system
Right. There are two kinds of such refactoring / DRY-ing up the code:

1) Specialized helper sub-functions/classes to make the codeblocks DRY.

2) Functions/classes to make separate features DRY.

Problem arises when the design or understanding of the code doesn't reflect the realities of changes over time, forcing you to restart/revert, or making spaghetti code with optionals and whatnot to accomodate the rising complexity.

The agile approach would be to make the code that is easiest to change either way, and prevent being locked in to only one approach.
In corporate environments

I probably wouldn't recommend Arch for corporate environments, but at this point I feel I should point out I wouldn't recommend Linux either if you're working in a windows shop.
Netflix has modified FreeBSD networking stacks to serve 100 Gbps at edge. But it's just their secret juice.
I am surprised they didn't mention that microSD and SD cards are electrically compatible and have passive adaptors. If you want to write a comprehensive guide, that's a useful thing to tell people.
As someone who deals with it every day, I completely agree. In fact, I mostly pretend the networking part doesn't exist anyway, and do all networking the normal way..
How would this work exactly?
Is banning plastic from packaging really beneficial or not?

Came across this 2 days back.
https://twitter.com/_HannahRitchie/status/121521275667838566...
If you live in a developed country, you can be quite confident that your plastic rubbish won’t reach the ocean on human time scales.

It’s almost a non-issue, especially considering the existential threat that is climate change.

(The climate impact of plastic packaging is negligible)
I would love to just be able to have a stable package base where nothing changed for years except security updates, and have special repos for things that needed to change (like firefox or chrome). Eg, like what Ubuntu does with their distro and PPAs.

I personally hate the concept of a rolling distro, which is what the ports tree really is. Except for the things I care about, I don't want random stuff changing out from under me.

Some ports upgrade 15 years ago failing led me to rage-install Linux and run Linux on my desktop for 10 years because I just didn't have the time to deal with upgrade failures and X not working. Thankfully, now that we have ZFS boot environments (making rolling back easier), I'm back running FreeBSD. But just 2 days ago, I was left with a non-function system when a pkg upgrade renamed "startkde" to startplasma-x11 or something, and it took me nearly an hour to work out that it wasn't the nvidia driver crapping out, it was just that my 'exec startkde' in my .xsession was failing.

(Yes, I'm aware of the quarterlies, but that's about 8x too much change for me).
A new study shows training for a marathon slows cardiovascular aging
I don't think he is talking about the screen, they advertise it for both the flashlight and the backlight. The quote comes from the flashlight of the phone, which has two models, one white and another "sunlight-like" for melatonin.

But the whole thing makes me wonder, who uses the flashlight that much (near her eyes) for it to even start affecting your circadian rhythm.

TL;DR: The screen sure, the flashlight, I doubt it.
What Could Have Entered the Public Domain on January 1, 2014?
And, of course, there’s the town of Fucking:

https://en.wikipedia.org/wiki/Fucking,_Austria