Hacker Newsnew | past | comments | ask | show | jobs | submit | czynskee's commentslogin

I think the point being made here is that it may be worth walling off the agriculture industry specifically due to a country’s desire to maintain food security. A worldwide clothing shortage is not as big of a concern, which may be a reason you don’t see the same strategy applied there.

Edit: actually my mistake, that point was made in a separate thread. I think my point still stands though.


It's a fair point for sure. Wish I had links handy and I'll see if they can find solid references. My understanding is that a huge proportion of us crop production is in three or four crops and that most f that production is traded internationally. Meaning, we produce plenty of corn and a few others but we export that and still import a big chunk of my ur actual food supply (or at least the raw materials processed into our food supply).

I'm happy to be wrong there though it's been a while now since I went down that rabbit hole!


In Switzerland they have a “simple” solution to this problem. The onus is on the consumer to make sure all recyclables are washed and split appropriately. There are different bins for metals, paper, compost, and the different kinds of plastic. The municipality randomly checks your bags and fines you if you don’t do this right. Regular trash has to go in specific bags that are much more expensive.

Basically the incentives are setup such that everyone takes the 10 extra minutes to do it right. People are annoyed but once you have a system down it’s not really hard to do.

I think this is the way to go. Everyone pitches in to make recycling work. In the long run it may even incentivize sellers to make their products easy to recycle, as buyers are forced to care.

Note I may have some details wrong as this is based on what I remember from living there 10 years ago.


“ Everyone pitches in to make recycling work. In the long run it may even incentivize sellers to make their products easy to recycle, as buyers are forced to care.”

I just bought about 15 pounds of plastic in the form of bottles and material and whatnot from the store. Then at the front they refused to give me plastics bags weighing a few grams.

There’s no way in hell any reasonable person should be on board with these kinds of taxes or policies. All they will end up doing is making people pay money to the rich, while the rich don’t do anything but continue to use more plastic for their purposes

You want change, charge the company for plastic straight away. Stop expecting consumers to bear the burden of corporate greed


Hear hear. And even then, plastic grocery bags are part of a beautiful, closed system of becoming trash bags. Now I have to go to the store, buy a literal roll of plastic bags, and carry it home in a non-plastic bag, then throw my garbage in this one-time-use garbage bag.

Congratulations! Progress has been made at you.


Do you have to use bags or do just do it because you've always done it?

We have similar recycling setup in Germany. I don't use bags for any of them.


We are not allowed to throw trash without bags for obvious reasons. I'm not sure I understand what you even mean by that.


What are the obvious reasons? Doesn't your trash go in a trash can?


Where do you empty your trash can?

Let’s say you throw away something sticky, maybe a dirty diaper, or something else. You don’t want to get that stuff on your own trash can, and the garbage collectors don’t want to deal with soiled garbage bins either. It is simply about sanity, residues and stuff attracts rodents and other pests.

Both in apartment buildings and in houses with trash collection, the rule is that you put the trash in bags.


All buildings have larger bins (between 240 and 1100 litres) on the outside or in a specified area. Those are picked up by the waste companies. There is no need to specifically place waste into a bag. You can just put it straight into the container.

We generally don't have all that much super sticky trash. We also simply clean our bins when needed. Our organic waste bin, for example is simply lined with an unbleached kitchen paper towel that gets dumped into the container as well.


Where I live, the large trash bin is collected by a small company that sends non standardized trucks. The workers open the bin and manually empty it, one bag at a time, by hand.

Not everyone lives in a big city. I'm not sure what I could put my garbage in to make their job easier other than some sort of bag. Find me a non-plastic bag that can fulfill this purpose and we'll have a reasonable solution. But since there is literally no other trash collection game in town, for now, the bags stay. I'll find other ways to reduce my plastic consumption, but I don't expect to fully eliminate it.


Just in case your request for a non-plastic bag was a real one, you can buy large strong paper bags for yard waste at home improvement stores.

I live rurally in the us, and don’t use trash bags at all. Our trash trucks pick up the bin and dump it into the truck rather than unloading in manually. I have noticed more roadside trash on trash days, because of unbagged trash.


That sounds tedious.

Part of the solution to that is to standardize it. Even outside of cities, the bins are the same and can be picked up by the trucks automatically. The only manual part is rolling it to and from the truck.

Of course, generally usingess plastic is always the better option.


The implementation of this was interesting in Switzerland. Because consumers had to pay a lot for waste, they started to remove packaging at the store and dumping it there for the store to deal with. Stores had the cost of removing packaging waste and put pressure on the supply chain. If customers start removing toothpaste tubes and cereal from cardboard boxes and dumping it the store's door, then the store has to deal with the overproduction of waste.


Take the habit of putting bags in your car, reuse them. It takes a while to have a system but now I have bags in my cars, a bag in my work backpack, etc.

I don't need any plastic or paper bag ever and additionally, my bags are much nicer and much more heavy duty...


Sounds like a regressive tax to me - rich men can pay sorters to avoid ever wasting their own time on recycling, poor men who can least afford the time and effort and fines if they get it wrong meantime suffer under the system.

Much better approach would be tax-funded recycling sorters - much more cost efficient to do all the work at the point of collection besides, allows for training and specialized equipment.


Austria is kinda the same way. We had to sort everything into one of 6 bins. But there was only one bin for all plastics.

The 6 bins is fine (metal, glass, paper, organic, plastic, landfill), further sorting the plastics into the 7 kinds currently labeled might be a bit much (especially since only like 3 of them are commonly recycled).

I was curious about how they solved the mixed plastics problem, and quick searching around suggests most of the plastic gets incinerated.


There are containers for recyclables where you personally dump your bags brought along, so there's no bag for the municipality to check. You maybe mix this up with the fine for using non-fee garbage bags? The only check they can do is when looking at your recycled paper stack whether it has also cartons, then they'll leave it on your roadside (and if you're around they'll also tell you why). But that's hardly noteworthy.

In any case, Swiss shops are starting to take in also the new category of "non recyclable plastics" as in non-PET wrappings/recipients/tetrapack/anything. No idea where those go though, I never thought to check if they're burnt or exported.


I've spent a few months in Switzerland in 2020 and all I've seen were PET and non-PET bins for plastics.

But the rest of the world has that already in the form of public bins for plastic bottle caps, as these are made from PET.

In any case fines or no fines I doubt this is enough if a single piece of trash can ruin a whole batch.

I can assure you that I for one have thrown trash in the wrong bin at least twice - or maybe more because I still don't know the details of recycling in that country.


What's a game of chance to you to him is one of real skill...


Permutation City is a great exploration of this idea.

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


Mac and Windows kernels are also written (predominantly) in C. So not sure what industry you're referring to.

If anyone's interested - here's Linus on C++ in the linux kernel: http://harmful.cat-v.org/software/c++/linus


Mac drivers (which run on kernel space) are written on a C++ subset.

Windows has been slowly migrating to C++ since Vista, when VC++ got kernel support for C++ code, naturally one just doesn't move something like Windows to C++ just like that.

https://community.osr.com/discussion/291326/the-new-wil-libr...

> First off, let me point out that this library is used to implement large parts of the OS. There are hundreds of developers here who use it. So unlike, uh, some other things that get tossed onto github, this project is not likely to wither and die tomorrow.


That website is the stupidest shit though. They should be playing with rocks with that stupid ultra-minimalistic bullshit they spew.

Also, both windows and mac has considerable and growing amount of C++.


That was written in 2007


If you find awk unreadable, maybe check out this link? https://ferd.ca/awk-in-20-minutes.html

I actually find awk very readable. It's a far simpler language than Python really.

The exception is perhaps if you need to do something complex, like parse a csv.


> It's a far simpler language than Python really.

This is true, but if you already know Python, then "awk + Python" has greater total complexity than "just Python". So the question is does awk add enough value to be worth the incremental cost of learning it in addition to Python? I think for many, the answer is "no".


Honestly I think if someone finds awk unreadable, they're probably cutting corners elsewhere and probably shouldn't be doing unix systems programming.

It's like all of the bash scripts that we see that don't handle failures and traps or print a usage block.


Out of curiosity, I grepped the Qubes github repos for awk. Here's the most complicated use I could find:

     awk -F : '/\/home/ { print $1":"$3":"$4":"$6 } '


If x is your variable, you can just do Boolean(x) rather than !! to make it boolean. E.g. it will convert undefined, null, 0, "", and NaN to false.

This is a much more readable cast.


Personally I think it is a good rule to never use Boolean(x), String(x), etc.

The problem is that many developers are unaware that `const s = new String(x);` creates a string Object. It looks like a string, and acts like a string, except that in some places it is not a string: for example `typeof s` returns “object”! Same problem for Boolean, Number, etcetera. Yes casts are ok, but it is easier to just say never use the value object keywords because you can end up with very wierd bugs a long way from where the value object was created.

Another example:

    let x = new Boolean(true);
    console.log(x === true);
Gives false.


Okay, thanks. And why would it be faster? Optimizing !! in the JS engine seems trivial to me.


I suppose it would be easy and might already be in some engines, but it's still discouraged because you can't rely on that optimisation (there are many engines), it's semantically incorrect, and most importantly much less readable - especially for someone not tok familiar with the JS type system.


One thing you can also do is specifically look for the international edition. These will often be paperback and non-color, but otherwise have the same content. I've found some popular comp-sci textbooks for ~20% the cost of the cheapest paperback US edition.


When my wife uses this line of reasoning I point out that she's taking solace in other people's pain. It's kind of a joke, but it's also kind of true. Don't need to minimize your own suffering just because someone else suffered more.


What's really more important than having numbers is having specific details on your resume (which could include numbers). Every bullet point on your resume might represent months of work (depending on how long your career has been). E.g., you may have refactored the front-end in a few days, or maybe it took you two months. There's no way to sum that experience into one bullet point, and that's not really the point.

It's better to have some very targeted details that can reveal the depth of your experience than high level summaries which may technically be better descriptors. It helps the person reading the resume better imagine who you are and the kinds of things that you do.

It also can provide a bit of context that you can later expand on in more detail during e.g. a screening interview. They might ask you how you measured user engagement, which gives you another chance to talk and sound smart. You might miss that opportunity with more generic descriptors.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: