skysight-inc/HackerNews huggingface dataset:
Historically, Ireland and France were England's sworn, mortal enemies (Scotland for a while too, but that's faded). Regardless of current forms of government, they have the best candidates to take the British throne by force.

A French or Irish monarch might also help bring UK back into the EU :)
Whether the package managers are poorly designed is completely ancillary. It really is primarily about developer laziness, incompetence, easiness.

Proof: https://www.theregister.com/2016/03/23/npm_left_pad_chaos/

Sudden unplanned loss of availability is a catastrophic security problem, the A in the security CIA[1]. Worse is that the dependency that caused that problem was something that should never have been a dependency in the first place.

Proper dependency management requires a degree of trust and integrity validation which are completely counter to automation. Most developers are eager to accept any resulting consequences because they don't own the consequences and because they are fearful of writing original code.

[1] https://en.wikipedia.org/wiki/Information_security#Key_conce...
Didn’t the EPA burst open an old gold mine and poison a huge swath of a Colorado River tributary? Not sure they need help in making a mockery of their name.
Yeah, it took me a while to get past this, and still sometimes hesistate to use nano (emacs here) just because I got bit by this in those days, but now I generally don't have a problem with nano and will often use it over vi on a remote box without emacs or issues with using tramp.
Except that most of the energy is subsidized by China or other countries.
That's cost, not how much harder it is. Buying a domain is a few clicks and costs little money.
Almost, but because of the incentives, the greater the adoption, the more valuable each individual block reward actually is. The more valuable each individual block reward is, the more energy you can afford to spend attempting to mine it.
let the market decide then, step away- don't mine, don't use Bitcoin if you prefer

gold mining uses tons of energy
we knew automobiles will pollute the environment, why didn't we stop using them altogether?
Individuals can, but those are subject to a cap of $3000 against income.

I'm no tax expert but I think the point the OP was making is businesses have more options for writing off lossess - they can drum up other things to apply a loss towards. Thus, a business can effectively write off more of the loss than an individual can.
When it became blindingly apparent that mining diamonds, gold and rare earth metals was proving harmful to societies (pollution, war etc.) countries put into place regulation to ensure that future mining would be conducted in ways to try and eliminate these harms.

Mining bitcoin is a growing contributor to energy consumption, and subsequently environmental damage and harm.

Similar precedent?
I'm trying to imagine how you think that'd work without them also running an exchange and eating slippage, or maintaining a massive hot wallet.
Threads on the same subject are often deleted, conversations are moved between threads, and main thread links are changed to better ones. It's about cultivating the conversation, not democracy for democracy's sake.
> Also, the mutable default arguments problem is quite difficult to solve in any other way. Python never copies things for you.

Why would it need to copy anything? What's wrong with just evaluating the default argument expression every time the function is called with a default argument rather than once at definition-time? That's how it works in other languages.
Limited supply does not make things valuable per se.
To see what salaries are like in the FAANG companies, https://www.levels.fyi/
My local repeater has become overrun with political conversations of the right wing racist variety. Too bad because I used to really enjoy ham as a hobby.
I didn't buy anything from amazon since around 2004/5 (not sure exactly but that's close enough)and I still don't feel the need to now.
One thing that software developers frequently forget to do is to be humble.

It is entirely possible that the best developers on this planet using the best tools and methodologies, processes, whatever, are just not smart enough to do some things.

Considering how many things we have achieved, we should just acknowledged this human attribute: imperfection.

If our tools require us to be perfect, maybe they're just not good tools for some goals.

I'd be shocked if Mozilla didn't have some of the best C++ programmers on the planet, and if they failed a few times, that's a pretty strong argument against C++.

Who knows, maybe they'll be proven wrong and another team working purely in C++ will achieve goals such as theirs. I wouldn't bet on it (though C++ is evolving so who knows how C++ will look like in 20-30 years, never say never).
The only real reason to be upset about this is carbon emissions. If we could properly price those into the price of energy and products the Bitcoin energy consumption would be a non-topic
You conveniently omit the social cost.

Enforcing could be done via banning any payment with bitcoin.
Nobody cares if any of those are exploitable, but browsers are literally the os for a lot of people and needs to be secure.
Trump's presidency was a blueprint for the nationalistic authoritarian overthrow of democracy. The only reason it failed is that Trump is an utter fool who surrounded himself with fools. The fascists who run in 2024 will learn from this. They'll have triple-digit IQs and they'll have a much better chance of succeeding.
> Being judgmental about how others use energy they pay for reeks of hypocrisy, virtue signaling and holier-than-thou attitude.

It's impossible to have a good debate if you from the get-go insult everyone that disagree with you and heighten bitcoin to something not allowed to be criticized because some people believe it can be important in the future. As if that absolves something from all sins.
> Are people concerned with the negative externalities of energy usage?

YES.

> anything that causes people to severely increase their energy usage is especially bad

YES.

This is not hard. The earth's climate is being affected by the emissions from our energy demands. Most nations are trying to control emissions and one major way of doing that is energy efficiency. Bitcoin comes along and is anti-efficient, incentivises using as much power as is still (just about) profitable in mining, and creates nothing but a speculative financial instrument on the back of it. It looks like the worst kind of insult to anyone that gives a crap about climate change.
A few years ago the BTC/BCH split happened. This was a major philosophical decision that creates winners and losers and changes the trajectory of the winning coin forever. It was a fiscal policy decision.

It was made exclusively by software engineers and miners. Miners get to vote based on their wealth. I don't consider that to be "a democratic process". There is no guarantee of enfranchisement. Some people get far far far more votes than others. It is more like a council of aristocrats.
Not really. I would find a way of transferring "cash" that's tied to my local currency far more useful on a day to day basis than one that fluctuates when measured against it.

Most people don't really need or want to take on foreign exchange rate risks.
Learning Ruby: Things I Like, Things I Miss from Python
cxx [1] is a relatively recent effort to enable safe interop with C++.

Mozilla has also published information on how they are rewriting components in Rust and integrating them into the Firefox codebase, though they were using C apis - exposing Rust to C and vice versa is relatively straight-forward.

[1] https://github.com/dtolnay/cxx
Unlike other investment decisions you mean?
You can't fit 10,000 transactions in a block on BTC.
If you're going to downvote please counterargue. If you can find me some evidence of Donald Trump being a genius then go right ahead...
Unless, you know, it’s illegal. Then someone with a gun might take you & it away.
One more advantage of keeping it together can be easier development cycle. IDE features like autocompletion and building would be faster if artifacts can be cached.
When bitcoin provides 1% of the services that the "legacy" financial world does, let's talk.
link to "Discovering New Strong Gravitational Lenses in the DESI Legacy Imaging Surveys"
https://arxiv.org/pdf/2005.04730.pdf
One bitcoin transaction uses FIVE HUNDRED THOUSAND TIMES more energy than one Visa transaction [1]. This is like lighting a cigar with a $500 bill and going "what, I have to light my cigars somehow, and inevitably it'll cost something. I spend money to meet my goals."

[1]: https://www.statista.com/statistics/881541/bitcoin-energy-co...
This is the most concise and crystallized attempt at putting this (certainly popular and in some ways inevitable) argument into relatable words. Kudos.
> The cynic in me says that you have identified why big tech companies spend so much money funding GPT and similar research

I don't think this is cynical. It's discussed openly. They want to provide the tools to enable all companies to automate customer service, which is where Facebook's big chatbot push came from.
The more I work with GCPcloud and Azure at the same time the mre Im astonished
In terms of getting rich, that was luck. Some people with perhaps more money than sense played the lottery and won. Bitcoin could have, and might still fail with governments giving it more scrutiny as it grows, or this may be its peak, so anyone buying now is screwed. No way to know.

It's also easy to look back at Amazon and say you should have invested back when they were an online bookstore that talked a big game. With the information available at the time it arguably would have been a stupid decision.

For everyone who won big on Amazon and everyone who's winning big on Bitcoin, there are thousands if not millions of investors who bet on something with legitimate confidence and lost it all or under-performed.

As for what it is, as far as I'm concerned it's just another commodity. The value of said commodity can be debated, the same way people can talk about how silver is not only a precious metal but has substantial industrial demand driving it, unlike gold. They're still all commodities.

Now plenty of people have played the commodity lottery and gotten crazy rich in crazy circumstances that are hard if not impossible to repeat. If you want to try and be one of them by speculating on bitcoin, don't use any money you can't lose.

For my perspective, my financial goals for my family haven't been met yet and probably won't be for a couple of decades given that we've yet to buy a house and the wife and I are hoping to give our future kids a full ride through college. I can invest the money I make in cheap, diversified funds based on Fama/French factors and have nobel-winning math and statistics saying I have a positive expected return over time given 100 years of stock market history, or I can gamble it in the various single-stock/commodity/sector lotteries with large amounts of uncompensated risk and hope I win big, but more likely lose and never meet my goals.

My current solution to "more money" is I'm seriously looking into trying to get some sort of lifestyle business going on top of my day job. Worst case scenario it sharpens my technical skills and makes me even more employable. I like sets of outcomes that don't include (or at least minimize the likelihood of) "zero".
> Effectively the free SDKs need the data to make money for their owners, the opt in kills that and it might as well be a ban.

It's not a ban on the usage of SDKs, what it is, is a "ban" on their business model, and if you don't provide enough value to users for them to pay for then it's a "ban" on your business model. Basically, it just means that your service is asking too high a price (the user's privacy) for the market bear. This is only giving user's agency and insight and after that the market functioning as intended.
> The analogy is not quite apt: in a software build system you have complete visibility into the dependency tree, so this attack is less useful, whereas with hardware suppliers you are relying on the security of your vendor.

Not necessarily — plenty software still ships with the third party supply chain bits incorporated as binaries, including commercial software. User is relying on security of one or more in a chain of upstream vendors.

See Cyberpunk 2077 DLLs for instance.

https://twitter.com/CDPRED_Support/status/135660404767189811...

Cyberpunk “builds” their game with a software build system, but not all of it is them building it.
This reminds me of "This is water" by david foster wallace.

> The really significant education in thinking that we’re supposed to get in a place like this isn’t really about the capacity to think, but rather about the choice of what to think about

https://fs.blog/2012/04/david-foster-wallace-this-is-water/
I agree that the claim made by the parent might have been a bit too strong and not backed by enough evidence, but saying that C++ can technically do the same thing as Rust is not really getting us anywhere. You can say the same thing for ASM.

Can, in practice, a team write and maintain a modern CSS engine in pure assembly? In theory yes, in practice I expect the overhead to be massive.

I think the key feature of Rust for such an application is "fearless concurrency". Writing concurrent code in C or C++ feels like walking a tightrope, in Rust I know that I can lean on the compiler to tell me when I'm doing something wrong. Sure, you can still have data races, but in my experience they're generally pretty simple to debug when they happen because the type system and borrow checker force you to have very explicit data dependency graphs.

I avoid threads like the plague in C and C++, but in Rust I never hesitate if I feel like spawning a worker might improve performance or make the overall architecture simpler.
Google pushing features from server side without user notice (iOS)
The actual result of mining is defending the network against double-spending (and censorship, to a degree — though this is more fragile). Insofar as you believe that Bitcoin-the-currency is itself a social positive, the mining process has a positive effect. (But also a very meaningful cost, which leads us to a subtler question — is it a net positive?)
A bank transaction never settles. Though unlikely, it is possible that quantum events may sporadically reverse the transaction.

Both are probabilistic and highly unlikely.
Ah, so they are paying for the adverse effect on the climate. That's alright then. /s
"for very little added value"

That's an awfully subjective claim and one I find to be contentious. I think even today Bitcoin's impact on global politics has already provided massively more value to global society than all of the resources it has spent on electricity.
Answering my own question - works as expected, only the documentation is lacking.

%LOAD postgresql host=127.0.0.1 port=5432 dbname=DATABASE user=USERNAME password=PASSWORD
Alternatively: regulations. Force them to care.
I do not think so.
Well restaurant may be a little behind.

I try to maintain all restaurants etc in Denmark by comparing OSM POIs to public health inspection reports.
see:
https://digitalfrihed.dk/restaurants/all.html

So today there are 243 restaurants, cafes and fast food places in OSM that do not have a valid inspection report (the pink ones on my map). I think that many are just closed temporarily because of Covid and therefore have not been inspected and the inspection report just timed out. Probably some that have an inspection report will never open again, but I will soon find out.
Many of them are cafeterias for employees in larger companies and will likely open again.

Many restaurants are open for takeaway, also many that did not do takeaway before the lockdown.

I have lately been doing speedlimits, mostly from Mapillary. But I have also done some surveying on bicycle.
The point is that I can heat my home by 10 degrees with a heat pump using less energy than electric resistive heating, except in specific conditions where it is too cold outside for the heat pump to function well. When I run my auxiliary heat (electric resistive heating), my bill skyrockets.
Indeed, being able to apply capabilities on a package level would be great, but I don't know many languages/environments that implement this as a first-class feature.
Assuming bitcoin is using carbon poluting sources. Some of the bigger miners in China use hydro/dam energy. The miners in Iceland are using geothermal.
Bailout for banks has nothing to do with either capitalism or democracy, as far as I understand.
I got a mount that swings down from the wall. If you are going for a 40-degree view angle making the TV a foot closer is the same as making it 10" larger. It also has the advantage of going above furniture when not in use, but down at eye-level to the couch when in use.
https://news.ycombinator.com/item?id=26079918
Beliefs that used to be "wrong" and now are considered right: abolitionism, homosexuality, marijuana.

How do you know this is a wrong belief that will stay wrong?
Same, although an additional reason is that it stores the requests as a plain file that can be yote into version control, instead of an awkward file import / export or (what this version seems to do, as well as Postman) push you to a subscription just to share files.

I'm afraid I'll be sticking to .http files or swagger-ui for now.
There is an effort to automate generating mid-level C bindings for C++ code automagically, to enable easier wrapping in high level Rust APIs, by an unofficial Academy [of Motion Pictures] Software Foundation group.
It is called C++-- [1].

At this time we only target the VFX C++ ecosystem but I'd be surprised if people wouldn't use (and extend) this to cover a broader set of C++ libs.

Maybe you can give an example of a C++ API that you deem not "translatable to C"?

[1] https://github.com/vfx-rs/cppmm
I've used Postman since it was one dude working on it, and have probably created 100+ collections but now I'm about to abandon it since it's getting way too complicated for my use.

It took me almost 10 minutes to just copy an environment yesterday. It was very frustrating to be totally lost in the UI after using Postman for nearly 7 years.
Are there any resources for developing 2D game graphics, especially for hobbyists? It seems like game development articles focus so much on frameworks and just assume everyone knows where to find / how to make graphics, audio, etc. I would be especially interested in a high level "how to make a game" that didn't go so in-depth into the programming details but which did include procuring the assets and perhaps some standard patterns/strategies for managing them in your code. Also, even the general approach for game development--presumably there's some white boarding phase followed by a wireframe phase etc like you have with app dev? What does that look like in game dev land, what are some reasonable tools for hobbyists for each stage, etc?
The power consumption is linked to network size and has nothing to do with the block itself. If anything the marginal power cost is linked to the price of a Bitcoin, as the higher it climbs the more incentive to mine, the greater the competition and therefore the greater the mining difficulty/energy required. The only way to really lower energy consumption is to lower the price I can get for a Bitcoin but with the current economic conditions I don't see that happening anytime soon.
Logically too, when the crime victims may have died centuries or even millennia ago.
> Human-curated? Both Walmart and Target have unfortunately switched over to the same online seller marketplace business model that Amazon has.

On both of those sites, you can change the filter to show only products that are available in stores.

Those in-store products still have whatever guarantees they did 20 years ago (selected by a human working for Target, probably going to be pulled off shelves if they result in too many returns).
Rigged Race Against Firejail for Local Root
Students should be taught what the terminal is, how to use it, how to program it, and to not be afraid of it during their program. But whether it belongs in a first class or not is debatable. In a first class, students have so many other things to learn that adding on the terminal can be a bit overwhelming (typically the actual material of data structures & algorithms, but also the syntax of some language, the first time they've ever had to be so precise in writing anything down in their lives). I liked how, in the late 90s/early 00s, GT made a point of teaching you to use the terminal in the 3rd CS course (various numbers, 2130, 2230, some others). By that point, you were comfortable with programming itself so learning to use a computer properly wasn't a big addition there.

I was disappointed when I got to grad school and many of my peers didn't even know how to invoke a compiler or interpreter from the command line. If you didn't give them a common IDE, they were absolutely lost.
Startup backed by Reddit co-founder helps Twitter users block trolls
Again, reading the original comment, you can apply your very same line of reasoning to " Playing video games?" or the rest of the examples. Should all the people who don't play videogames also get together and ban gaming because they themselves don't benefit from it and it consumes "too much"?
If the tool exceeds human ability in practice, then yes.

I mean, we can blame the humans all we want, but that won't take us anywhere.

Look at what happened to airplane safety and car safety when we stopped blaming the pilot/driver. Fatalities plummeted.
Yes, I agree, though I'm less worried about use by criminals than about use by large technology-driven companies and bureaucracies that are already abusing their ability to "read minds indirectly" by collecting behavioral data. I shudder to think what those organizations could do if they start getting data directly from people's brains.
Bitcoin is valuable even if adoption never does pick up. It's a money system with certain properties that can't be found anywhere else, and it's a money system that's that's half decent.

The existence of Bitcoin forces all other money systems around the world to be at least as good as Bitcoin, or citizens will flee into Bitcoin.

Bitcoin adds value simply by existing, even absent serious adoption.
> What if there is one industry that has to shutdown if it's banned?

Then the world is improved and we should all feel relieved. Seems pretty straightforward.

Just because someone found a way to profit while damaging society doesn't mean they have some right to keep profiting once society realizes what is going on.
It's like they didn't hear you say "the solution isn't easy", and so they had to say what you already said, and probably feel like they are saying something smart and worth hearing as they do.
Agreed. The problem is that many of these decisions are not exclusively "science." They involve policy-making, and agenda-driven organizations are masking their preferred policy choices as "science." Toxic risk assessments are a perfect example. Toxicity assessments are famously arbitrary (e.g., adjusting acceptable dosages by orders of magnitude on the basis of uncertainty when one could argue for any other uncertainty factor).
I'm definitely not convinced at all, quite the contrary. But thanks for the perspective.