skysight-inc/HackerNews huggingface dataset:
Plastic is a material that can sit in a landfill for 500 years, it should only be used where you need a _long_ term application that also requires a weight/shape/durability that is not easily manufacturered with other materials.

A yogurt container will have a typical 15 to 30 days shelf life, this is not a good use of plastic, it also interacts with an acidic medium (Which absolutely breaks down a fraction of the plastic structure). It really should always be made of glass, the only reason it isn't so is purely cost driven.

Coca-Cola, Nestle, Pepsico, Procter&Gamble, Danone, Mars have all pretty much externalized the huge environmental cost of plastic and reduced their operational costs at ours and our environments expense.

We are damaging ourselves and our waterways for the sake of an illusionary convenience and the profit margins of a few giants.

Glass recycling is also energy intensive but it doesn't even have be recycled, people need to stop being disgusted and go the same way as beer bottles. Glass can be high power washed or autoclaved and reused by the manufacturer. Glass transportation costs also become marginal once we transition to EV logistics delivery in the next 15/20 years.
A quote:

> Once you start working with the Varnish source code, you will notice that Varnish is not your average run of the mill application.

> That is not a coincidence.

> I have spent many years working on the FreeBSD kernel, and only rarely did I venture into userland programming, but when I had occation to do so, I invariably found that people programmed like it was still 1975.

> So when I was approached about the Varnish project I wasn’t really interested until I realized that this would be a good opportunity to try to put some of all my knowledge of how hardware and kernels work to good use, and now that we have reached alpha stage, I can say I have really enjoyed it.
It's true, that the situations in which you care about it are few. The most recent performance issue I've come up against is actually java's startup time, because for reasons unknown my client decided java AWS lambdas were the way to go, has quite a large, complex codebase built around it, and now has complaints about startup latency.

I have noticed some younger engineers on C++ projects doing some kooky things "because it's more optimal", and have taken time to explain to them that the micro-optimisations they're using impact readability, are going to be done by the compiler anyway if they're at all useful, and are likely to be several orders of magnitude less relevant than some lock somewhere, or a bit of IO, or whatever.
Non technical people won't use Docker, it's too complicated. Unless you make some environment as easy and widespread as your typical CPANEL shared hosting, you won't compete with PHP for that kind of end-user.
Every time something like "Linus Torvalds on ..." pops up, I get curious if it will be an interesting explanation or a full Linus rage TM. This post is defo the former though (perhaps he is not raging anymore hehe).

If you never saw one of his rage moments, take a look at: https://lkml.org/lkml/2012/12/23/75 and https://lkml.org/lkml/2013/7/13/132
many 3rd world countries have 100% covered free healthcare, "babies die from curable diseases" is what you read in media to feel superior
Kotlin is free though, and a JetBrains product, not a Google one.
Wireless ADB flow for easier development
Your dealer passing someting: have a detox from time to time, take care my friend
PHP 8.0 Benchmarks (2021)
One optimisation: dont write into your resume that you had many jobs and stopped. Similar for college. Eg only mention IBM and fill the rest with “freelancer” or “educational projects”.

The details depend on your specific resume and dates, though.
HN always seems to have bitcoin cash fans. I don't get it. Bitcoin cash has 'leaders' in the space who are very quesitonable. Bitcoin cash also has no place if we take into account other cryptos (Monero or Algorand). Bitcoin cash exists only to dilute the bitcoin 'brand' imo.
Early Java EE was astoundingly bad. It's vastly improved now (from EJB 3 onwards), but still not wonderful.

In one job, i used an enterprise framework that actually predated Java EE. Several ideas in EE were copied from it. But incredibly, this framework was substantially better than early EE. I believe, because that framework was built by people who actually needed to ship products to customers to pay their bills, which limited the amount of overcomplication and obstruction they could get away with. There was no such limit on Sun's architects.
Not bad people by any measure, no. Their advocacy is invaluable. They just have a reputation for having a very creep-friendly culture, for example, the recent RMS fiasco.
Typically proponents of a carbon tax also support a carbon dividend.
Argos: Automated Visual Regression Testing
Did you find that counselling helped?
MQA Tidal vs. Flac Codec Review – MQA Flawed? [video]
The bit that I’ve been impressed by is the life span. Machines used every day for 8-13 years and still ok. The amount of pain they cause due to various bits of software beginning to fail and workarounds being required obviously grows, and the security side of things isn’t great either. But the machines end up rather cost effective when spread over that many years.
What a strange stance to take in a thread about how big-Ag has destroyed a third of US topsoil.

You've been brainwashed.
Can Bitcoin make sustainable energy cheaper?
Buy solar panels, wind turbines, etc.
Mine Bitcoin, recover capital costs sooner. Then use the electricity for normal purposes.
A lot of this just looks like punishing success to me. Or rather success combined with a lack of political involvement aka donation.

If it cares about monopolies go look at comcast or Disney or big chunks of agriculture or Boeing etc. If the house really cares about privacy, it should look at the patriot act. If it cares about workers, go look at Walmart.
>> Go's development workflow is a lot worse than PHP.

I beg to differ.

- Runtime errors are more common in PHP and that's a good enough reason for me to say that PHP dev workflow is worse.

- You also seem to miss some common errors when the PHP assets are missing. Suddenly the compile con becomes an advantage for Go.

- Different servers (apache, nginx, etc) give you yet another thing to configure.

From my very old past experience, PHP development gives you more headaches than Go.
I really dislike the suggestion that someone who didn't attend college is therefore unable to write.

- "i" should be "I"

- "You are still young, plenty..." should be "You are still young, with plenty..."

- "would currently hire you," shouldn't have a comma

- "entry level", "dead end", and "world famous" should all be hyphenated

- "AAA games at an..." should be "AAA games in an..."

etc...
Your transaction isn't settled instantly. The actual money that flows between institutions behind the scenes is way slower than bitcoin. You can use credit/debit card on Bitcoin too, and your payments seem to go through instantly with whatever tps the network supports.
Python's packaging is a lot better with Poetry. Use Poetry and build the wheel with poetry build. The lockfile lets you create an exact virtual environment.

Like you mentioned, wheel files are not nearly as customizable as JARs. You can easily pick & choose the dependencies to include in JARs (fat JARs) and change namespaces of dependencies via shading to prevent collisions.

I've generally found it easier to add JARs to Spark clusters compared to attaching wheel files to PySpark clusters.
Starbucks is the national public toilet infrastructure, as admitted by their Executive Chairman, Howard Schultz:

https://www.npr.org/sections/thetwo-way/2018/05/11/610337214...

:)
Holy shit, you're incredibly talented, I just checked out your website.

Get some therapy for your obsession with bitcoin though; it's unhealthy. It's like telling someone to refuse to work for a company that only does direct deposit because you love checks.
> democratic and financially stable country

...glances at Greece
For http serving, I've always like SparkJava, just because its interface is very simple.

But it's not the only way.
So what happens to your money when a bank closes your account?
It doesn't ring a bell, and nor do old versions of that site on archive.org - but it looks like the exact same idea.
Shouldn't someone with 20k € go through an otc desk instead of retail markets?
The absolute minimum amount of knowledge needed for this sort of thing is how to get files onto a server. Lots of people capable of that have absolutely no idea what Docker is or how it works. Lots of people know what it is, and what it does, but have not ever actually used it (like me!). If I was going to install some server software, and saw Docker, it would put me off — great, I have to learn Docker now?

Docker probably is a better way of doing things, but it’s another layer.
Generally speaking that's considered unpythonic though. Default values are evaluated exactly once, at function definition time. So if you do this, then your default B() will always be the exact same instance of the B class -- literally the same object in memory -- every time you call the function. That's rarely what you want; you usually want the default to be a fresh instance of B(). So instead, the pythonic way is for the default to be None, and then to convert those Nones into their actual defaults in the top of the function/method. This then has the added benefit of playing more nicely with subclassing (as well as composition), because instead of needing to bubble the defaults up the call chain, you simply pass down None and let the implementing function worry about resolving it into the actual default.
> Why politicians still think that if they ban something then it will magically go away?

because people don't like to go to jail

> "oh it's banned, I guess I'll stop using it then"

that's exactly what's gonna happen in Turkey though.
But even if it wasn't Turkey which is ruled by an autocrat, a ban would steer away casual users that usually means the thing banned won't succeed in the long run.

imagine if YouTube was banned in some country and the ban would stay even after public protests (admitting that public protests were allowed)

YouTube usage would immediately drop to a number very close to zero.
I have the exact same criticism about Python.
I agree, and I'm not advocating to freeze the python language, nor don't understand how understaffed the python core devs are.

But there are strategies that are in used or have been in used that we could draw inspiration from:

- async/await didn't need to become keywords so fast. True/False were not for 15 years.

- changing the default encoding is behind env var flag.

- changing the way the c api is done is currently made doing the separate HPy project. It's not breaking anything.

So there were instances where people intelligently decided to move the language forward, but stopped and remembered Linus wisdom of "we don't breaking userland". And they did improve things without breaking others.

Guido used to be very strict on that too. But after so many years, we can't expect him to spend all his energy still policing every aspect of the project, especially after he stepped down as a BDFL.
> How can Amazon be allowed to sell competing products in their own marketplace, when they own the actual marketplace? They should have been forced to divide their busin

Depends on how you define “marketplace”. Costco/Walmart/Best Buy/Target/Home Depot/Lowe’s/grocery stores all sell their own brands next to competing brands in their stores.

Is their one store the marketplace? It takes considerably more effort to go to a different store than going to a different website.
Sadly most users don't even know that they are using Chrome or Firefox or that these have a version number. So breaking up things for them won't help, they won't make the switch...

It has to be a regulatory decision imposed on Google, much like when Microsoft was forced to do something about Internet Explorer long time ago.
New feature: The results are displayed as a percentage of who agrees or disagrees with VAR
Not sure how things are now, but I would rather use Ruby via JRuby and still benefit from most of the Java ecosystem but using the much more higher level abstractions of the Ruby lang.

Many years ago I discovered that I could use all the Java components just like that: https://speakerdeck.com/brutuscat/jruby-experiences
Carbon, It’s Elementary, Dear Reader
>I was surprised to see that (at least on the 360) there was no way for a title to terminate itself; the game process ran until it was killed by something else (e.g., the user launching another title, or shutting the console down).

This is true of iOS apps too. Apple highly discourages apps closing themselves (maybe even outright forbids it, it's been a while)
Thought he decided he was gonna try to be polite? I prefer the rage version. Less corporate email style
I'm not sure how they're planning to enforce this though..

And as the article lays out, for sure all those potential fintech companies who would like to participate with crypto are not going to touch Turkey.. Seems like a counter productive action for a struggling economy.
Cross-compiling isn't fun. If my next startup is powered by a high performance C++ core that it's built on x86, you bet I'm going to run it on x86 instead of trying to cross-compile it for ARM, for which benefit by the way?

Idem if I run ARM locally, I'll deploy on ARM.

Of course this does not apply to interpreted languages or any of the modern languages (Go, Rust, Zig) that make cross compiling _somewhat_ easier.
Yes. My first ever YouTube video was about a banner ad on Slashdot that I enjoyed back in 2007: https://www.youtube.com/watch?v=SCiAyTYBSJU .. it's had over 100k views so I guess someone's enjoyed it :-D
16.19% inflation seems quite scary..
Java is so much worse on this front.

> with Java, you just dump the necessary jars into a directory, include them in the classpath, and it works.

Ant, maven, or gradle, and then some jars, somewhere? What's the classpath and whats $JAVA_HOME for this project?

Oh and now I have to make it work in the IDE too, click through a billion menus and dialogs, sync the build system, sync the dependencies, configure runtimes and classpaths, try to rebuild for the 10th time, pray.
What Xamarin.forms Taught Me About Data Bindings
You name another bank account number, they will transfer your funds.

## Edit

But banks cancelling your account is not something without consequences. Your credit rating may and propably will suffer.
This is a good question.

Practical knowledge is knowing how to do something - tie your shoelaces, instantiate a model class, authenticate to an LDAP server.

Theoretical knowledge is knowing what is the case - that the cross-flow valves must be closed at take-off, that everything in Python is an object, what a Python property decorator does.

Technical reference is theoretical knowledge (that you apply in practice), as is explanation. Tutorials and how-to guide contain practical knowledge.
Anyone have suggestions for good tutorials or courses on getting up to speed with Docker? I've procrastinated on learning, in part because the mac app wasn't ready when I initially looked at it years ago.
I don't use Kbuntu but I don't see why it would be any different than the standard vanilla ubuntu. What version of the os did you start with? Sorry this has happened to you. I'm not a developer of wine or the ubuntu distro but I was wondering if you saw any indication that packages would be removed before proceeding? I'd imagine you must have had quite a long list..

I'm assuming that is what happened. Could you elaborate on what you mean by the os is gone? Did it fail to boot? Did it get past the initramfs part? Or was that cooked too?
Yes, but most people don't keep cash in a box under the bed - they keep it in a bank. This means my elderly mother's house doesn't get broken in to on a regular basis by people trying to take her life savings.

Furthermore, her cash in a bank is protected by the government, and there are safeguards in place to help protect her from people trying to scam anything she has saved away from her. There are also mechanisms in place that when things 'go wrong' she's looked after.

I'm not arguing for or against cryptocurrency, but there is some value to having a society where those that earn more help those that earn less by paying more taxes. I'm also pretty happy to pay for police, and firemen, and someone to pick up my bins, pave my roads, medical care etc. etc. All too often it seems the crypto argument is "I don't want to pay taxes, it's MY money" - yeah, it hurts, but the benefit of doing so is very real.

The caveat, of course, is I say this living in a country with great free medical care, that's actually a pretty nice place to live, even if I really don't agree with some of our politicians. I appreciate not everyone lives in such a country.
See my answer to your sibling. It's not an "or" proposition.

The 2 to 3 transition was hard because we did an abrupt cut. We could have had few transitioning versions that supported both worlds, then disabled the old ways but with a switch to put them back on if needed for a while, and allow for a more peaceful transition.
Have a look also here:
https://spritesmods.com/?art=doorbell&page=1

A Wav-playing doorbell with an ATTiny85 to play wave files from an SD-card
It makes sense for HOAs to be able to prevent someone running stuff like a car repair shop or a mail order business from their garage.

However, what is desperately needed is some sort of appeals process in front of an actual court that could intervene in such obvious cases of abuse.
If you are an EU resident, you can lookup representatives of your country at "Members of the European Parliament[1]".

Send them an email, give them your thoughts, or just bookmark their MEP profile, for now, if it seems too daunting.

This advice applies to both anti and pro-encryption voices (and unrelated political topics even).

Also,

If the topic applies to your industry and profession (probably a few here on HN) - maybe you have the insights, resources or industry reputation required to find solutions to the stated dilemma of

(i)security/privacy

vs

(ii)child safety/law enforcement e.g. [2].

[1] https://www.europarl.europa.eu/meps/en/home

[2] https://www.interpol.int/Crimes/Crimes-against-children
There will be quite a large number of companies with processes along the lines of ‘reporting the death of an account holder’.
More like cautious optimism on his part.
Yes of course, that's just an example. In practice is can happen with immutable values, like a namedtuple.
This is already the case. Renewables are increasingly becoming the most popular option for mining, and not because of the Eco-positive effects of using renewables, but because they are getting cheaper to mine with than other sources. Regardless, my thoughts on pow is it is inefficient and wasteful. PoS is the future of consensus mechanisms.
Of course it's a genuine question. I am calling you out. You don't know what cards they have. You have gone shopping with your relatives in 5 different countries within the last year? You know that they haven't gotten new cards or changed their habits since you last saw them? You don't talk about credit cards that often. :)

You make an assumption because of some info at some point in time and think of it as a constant fact. :)

For example, I know my brother had a credit card. Does he still have it? I would have to call him and ask him. :)
Feeding Hate with Video: A Former Alt-Right YouTuber Explains His Methods
One thing to bear in mind as you read the comments is that the great majority of people commenting clearly do not have good up-to-date experience of working with Java. They're arguing against the Java that they used a decade ago, or perhaps even just repeating flames they read a decade ago.
Hardly. He's reserving judgement.
In France we have Tracfin, an institution that tracks the movement of money.

Once you make a transaction over 10k€, the bank has to report it and request from you the reason of the transfer and where the money comes from (initially). They cannot block the transfer but they have several flags attached to the report where they can hint that the transfer is illegal.

You buy a house and transfer the money to the notary? No problem.

You receive money from the UE, there is some explanation do but not that much.

You receive money from a shady place, or send to one (the definition of "shady" is up to the bank and Tracfin), you will need to explain really carefully the move, and you will be on a list.

All in all this is fine, the real problem is if you get into a situation where you are OK but your explanations are not - then you are in trouble.
> Use Firefox if you actually want to fix the web.

I think "the web" (search engines, youtube, social networks) are a lost cause. Too centralised, too much opportunity for tracking, privacy nightmare, security nightmare. The solution? RSS.

How you read RSS content shouldn't be that important - let's stop focusing so much on rendering pages, and more on delivery.
Not a bad business idea!
Yeah, it does sound like low tier fiction.
For me - the various things I use Docker for now. Firing up containers for ESPHome and related projects. Testing things out is great and doing it more readily sounds neat. It can be done is a fairly simple fashion via a gui (eg the Synology implementation). I’ve just finished messing about with that Grafana speed test project that was featured here last week, and doing it on an iOS could be good.
Show HN: Founderlink – Where builders can find operators for their side projects
> "(how to get people to pay for a browser?)"

For starters, they could let people donate towards browser development.
There is no incentive for Zuckerberg to ever stop it. Plus, there is no realistic way for Instagram to really check for age. Unless they start asking for a government ID,which might drive more people off their platform as they look for anonymity on social media.
I generally agree, except the part about the low risk of runtime surprises. Java's type system is so weak that it doesn't even prevent null from inhabiting almost every type. The programmer is then forced to manually reason about when a value can be null or not, and of course humans can easily make mistakes in doing so. This inevitably leads to NullPointerExceptions at runtime when a project becomes sufficiently complex. Type systems of "low risk" languages prevent such mistakes by offloading this kind of error-prone reasoning from the programmer to the machine.
Probably I can't.
I don't that find Java as a language has fewer idiosyncrasies (perfect term btw). For example, the many modifiers: public, private, "package-private", protected, default, abstract, static, final, volatile, synchronized, etc. How much of that is relevant to a fledgling programmer?

If you extend your consideration to build systems and other tooling, it's easy to see that students have a lot to overcome with Java as an intro language.

I think purpose-built languages like the HtDP languages or Logo are better choices. Students can get started with zero faff, learn the essential concepts, and move on.

Java is a fine choice for higher level courses, with students that are already capable programmers.
Oh ffs. Yes, "we" will survive, as in there will not be a human race extinction event, most likely. However, that's ignoring the hunger, suffering, and deaths that are coming our way. Many of "us" won't survive, and/or will have miserable lives, especially those of us who happen to be poor. As just one example of many, have a look at the potential of large regions reaching a wet-bulb-temperature above human tolerability: https://advances.sciencemag.org/content/6/19/eaaw1838

Taking an approach that "we will sort it out" ignores that the disaster is already unrolling, just too slow for most of us to notice. The longer we linger, the worse the situation, and the higher the human toll.