skysight-inc/HackerNews huggingface dataset:
constexpr on a variable declaration does that (i.e. it's still superfluous on function declarations, which is where it clutters code by far the most). But even for that, there was already std::integral_constant which would've forced this, and they could've just updated it to C++20 via template<auto Value> static const auto constant = Value; if they really wanted to. Or added an [[attribute]] for variable declarations, just like how we have [[likely]] etc. No need to introduce a whole new keyword for this, especially not in a ton of other contexts.
Some argue that Europe prospered after 1945 because it was forcibly un-mixed after the war, not because of some abstract idea of "liberalism".
Protip: if you keep looking for a new technique to learn kanji, you’re procrastinating.

There’s a common mistake people make when studying in general: they don’t actually practice recall. As long as you try to recall instead of looking at kanji all day and trying to come up with smart techniques or mnemonics or whatever you’ll do just fine.
My informed guess would say about 30 years out.
Does this work for portable devices? If the device is moved around wouldn't C_base change?
AMD 5850U is almost as good as M1 and it beats it in power performance benchmarks as well in multicore performance:

https://www.cpubenchmark.net/compare/AMD-Ryzen-7-PRO-5850U-v...

Both have TDP of 15 WATT.

I have Thinkpad P14S Gen 2 (AMD) and can work on the machine the whole day without charger and it never ever get hot.
The uranium deposits are a long way from 1:1 with fuel grade uranium. Natural ore is generally under 20% uranium, and that uranium is 90.3% U238, and 0.7% U235. Reactors want ~5% U235 but depleted uranium is still 0.2% to 0.3% U235. Which means your produce less than 10% fuel grade uranium from every ton of natural uranium. Ex: Cigar Lake with ~217 million pounds (99,000 t) of ore at 18% uranium is only going to produce ~1,700t of reactor grade uranium. As you very roughly get 1GW for 1 year from 1t of reactor grade fuel that’s only 23GW for 75 years.

Aka, those 50m t of ore globally work out to around 0.5-1m t of fuel though we’re extracting the cheapest stuff first so expect prices to rise well before you extract all of it. There are also options to extract vastly more energy from that same ore, but again they all make nuclear more expensive.
I can perhaps give the model number of mine — it’s a Brother HL-2270DW laser I purchased in 2014, has wired ethernet in, wifi connection, and has been in use ever since. Most of the time it was on wifi and I can confirm wifi also works without any glitches or problems.
I have a 4L but the paper feed has weird jam issues over time.
Extraction does have its own emissions (those drilling rigs don't run on water...), especially from flaring natural gas. Not to mention oil is heavy, so transportation also figures in significantly.
Because it works, today. Sure, it's hard to build and expensive, but that's much better than being nonexistent as grid-scale "green" technology is today.
HP is the greediest company
My reaction to some of the posts in this thread just make me feel old.

Backlit keyboard is a significant plus - yeah yeah you touch type but uncommonly-used shortcut keys in the dark sucks.

Can’t you just .. turn on a lamp? Why would you do this to your eyes?

Please put the webcam at the top (lookin at you, Dell XPS...) so people don't have to look at my dirty fingernails and up my nose.

Having used this myself for a number of years; I honestly in hindsight cannot comprehend how Dell could let their flagship laptop launch with this. How on earth did they try this and go “this is acceptable”?
Boggles my mind.
I always learn something anytime I read Dan Luu, even (or particularly) when I have read it before.
You need to use sqrt to properly sample points in a circle
Cheap laser printers, like cheap inkjets, use the cheap razor/expensive blades model, too (and leverage the popular understanding of the semi-knowledgeable that that is an inkjet but not laser issue to get away with it.)
Technology of E-CNY, China's Digital Currency
> Hydrogen does not burn energetically, especially before it has been mixed with oxygen.

Drop the word "especially" and I might agree, but a mere party balloon of hydrogen mixed with oxygen in a stoichiometric ratio going off will sound like a rifle and rattle windows.
Carbon sequestration makes more sense for intermittently-available renewables since it can happen when the sun is shining or the wind is blowing and doesn't need massive battery storage otherwise.

Nuclear makes much more sense for base load electric needs for homes and industry.
After my last HP printer being annoying I said never again and bought a Samsung laser. Of course HP then went and bought Samsung.
> the ability to go fast is a force multiplier for being productive

and what is the force multiplier for being fast?
This. Bought an HP LaserJet in 1998. Only just replaced it this year with a newer one for more features and higher res.

Thought admittedly if I replaced or repaired the power module, it probably would’ve went another 20 years at least.
>The community consists mostly of programmers, which means I am missing some creative tools (mockups, mindmaps, ..). In the future I will be able to provide/build them myself, but it is not a smooth transition from my previous arch setup.

Any time you need a package that's not in nixpkgs, feel free to submit a packaging request for it:

https://github.com/NixOS/nixpkgs/issues/new/choose (Issues -> New Issue -> Packaging Request)

Especially if you explain that it's a popular tool in the creative community, that kind of thing is useful for the Nix packaging team to be made aware of. Even if someone doesn't package it right away, there's a good chance it will make it into the next 6-month release cycle.
How does this compare to the overall death rates? Are LEOs an outlier here?
> Under the scheme, households will be charged for the cost of the plant via an energy levy long before it begins generating electricity, which could take a decade or more from when the final investment decision is taken.
Why did you feel the need to explain this when as you've said I've already stated for photos? Nobody made a reco to use for doing a report.

Not sure if you are aware, but you can get 8x10 prints from a dye sub. For the dye sub market, their prices have definitely gotten much cheaper relative to themselves. They are more expensive that shitting $99 ink jet, but that's the point of this thread.
Yes.

I am agreeing with you.

I just wanted to provide some factual reference to support your point further. I did not down vote you nor do I know why you're being down voted.
I agree, it looks like JB are working on upgrading the default runtime to Java 17, but I think generally they could encourage developers to try out different runtimes anyway and report bugs rather than warning so strongly against it. I understand the JB runtime made some improvements to UI stuff, certainly the font rendering is much better in it, but at least for my setup that's not a big issue compared to things like indexing time. It'd be interesting to see a comparison of using different runtimes for IntelliJ, with proper profiling and the like.
IANAL but a software developer so I don't know how well this translates to your profession, but here goes nothing. I've handled persistent volumes of 200 mails per day just fine using something like GTD / inbox zero. The volume of mails is not the critical part, it's the work that the mails represent.

The key part for me was realizing that e-mail is just a way of funneling work into my todo list, and that I can only have a single todo list. It's not possible to do two things at once, so it's not possible to have a list of work to complete that cannot be ordered sequentially. You therefore don't need lots of lists, you just need one list that is well-tended. I keep an eye on the work ahead to proactively take steps to curate my todo list and to gather information, but once I get to work I focus entirely on the top task.

I scan e-mails a few times a day. Anything that can be handled quickly is done immediately. Everything else either is put on the todo list or it is returned to sender. The todo list is a useful tool for refusing work because it helps identify what work gets moved back if the new priority gets put on top. Every mail is touched once (with the exception of replies that result from todo items). Once processed the mails are marked as read and no longer need any actions. I have no folders aside from my inbox and sent folders. I do search my mail archive every once in a while, which I keep in its entirety.

Lots of mails have a context, a project that they belong to. I keep a searchable digital notebook filled with all the notes for these projects. All the snippets of information flowing into my inbox through e-mail get copied over to the notebook and structured in a way that is easy to access. This does add a little bit of extra work when information enters the system, but it saves a lot of time in the long run because of the ease of access and the ability to easily add more context that isn't captured in e-mail.

You may have noticed that I didn't mention specific tools and applications. That's because after exploring lots of options I've found they don't matter all that much when you have a good system. Use whatever works best for you.
Thanks, Mr. Well Ackshually,

First of all, those things you're talking about are installables in K8s. They don't come by default. Many people with (managed) kubernetes installations aren't even using them and get by just fine. Having them certainly isn't free and work certainly had to be done to build those for Kubernetes and likely are (or will be) trivial to implement elsewhere. I certainly was able to automate my certificate management infrastructure before I had Kubernetes.

The reality is that there are many companies out there that want like 10% of the features of an orchestrator like Kubernetes and don't need all of those features that make you think that it's a zero-sum game that Kubernetes has won.

The reality is that there are competing offers like Nomad that more-easily accomplish our technology goals and thus more attractive to enterprises with big budgets like mine.

Kuberenetes having the "critical-mass" that you speak of isn't to the exclusion of other competing tools having "critical-mass". Just like Oracle and DB2 aren't the dominant RDBMS of today.

As for calling people indulgent for using beta APIs, let's not forget that Deployment, StatefulSet, DaemonSet, ReplicaSet, NetworkPolicy and PodSecurityPolicy all started as beta APIs and were only removed in 1.16. And I imagine you wanted to use ingresses, but the old ingress.class annotation was deprecated and replaced with IngressClass in 1.18 and that was firm cutover for _everyone_. I can't imagine Kubernetes being very useful to many people without any of these...
Bahahaha.

Sorry, long time Linux user here. I just presumed the sucky state of this sort of thing was SOLELY due to my insistence on using Linux.

Relatedly; seriously - besides the obvious "mindshare" and so on, and I suppose "mostly for the people here;" Macs I get, but why do people still use Windows?
You can also build a hash table from scratch in for example Ruby. The language doesn’t matter and C isn’t the key bit of the problem.
And that's a good thing, no? I've never met a good use cases for double-wrapping values like this.
Start Adding Bootstrap Web Templates and Block on Uihut
Hello Everyone,
We are really excited to launch UIHUT 2.0

Download thousands of free & premium web design, illustration, bootstrap template, flutter app, icon, 3d illustration, and graphic assets for your design project.

2000+ Web Templates Design ( Template & Block )
2500+ Illustrations Design ( Pack & Illustrations )
1000+ Mobile App Design ( Kit & Mobile UI )
1000+ Web App Design ( Kit & Web UI )
9000+Icon Design ( Pack & Icon )

Adding resources 3D Assets, HTML Template, Flutter Template & many more.

We are providing to high quality design and code resources on the Internet. We offer the best affordable price on the internet. On 2.0 launching we offering Lifetime deal for only $99 Use coupon "uihut2 "to save extra 10%

Thank You
I don't think I've seen Windows touch any BIOS settings with the exception of the boot order (which it only does during install).

It's more likely the CMOS battery is duff or some other issue
> Companies are taking their cues from Facebook and now they're all in a race to build back-end data warehouses of information of individuals (...)

The current state of affairs can be explained without dragging Facebook or other bogeymen into the picture. The inception of A/B testing, business metrics, and even crash analytics on applications deployed to devices that are always on is prime ground to emit tons of metrics regarding anything the application/device does.

Even though I agree that this state of affairs goes against the users' best interests, there's no need to refer to bogeymen to explain why apps phone home.
Printf(“%s %s”, dependency, injection)
Not to be flippant but this is the state that elected Arnold Schwarzenegger governor. (The funny thing is he turned out to be not half-bad at the job.)
Although visually it appears to be high resolution, it feels like an illusion, like my brain still receives no additional information Vs the original. Which is odd because I can look at individual elements and see more precision.
Even more telling, look at the futures on long term bonds.
Or

φ^-1=φ-1
People seem to parrot that diversity is their strength, but I've never seen a compelling proof that it is so, and all research seem to prove otherwise.

Yes there are societies which are tolerant and diverse, but societies which have the same amount of freedoms with lower amount of diversity will perform even better. I'm mostly talking about cultural & religious, but economical diversity as well.
...don't violate strict aliasing then?
Inventor of the electronic spreadsheet describes the design process [video]
Anything of type `&T` has the same sizing property as `num::NonZeroU64`: the size of `Option<&T>` is the same as the size of `&T`. So I think you would just use a plan old Option?
Thanks for your reply.

There are several different classes of electricity imports, and I think it is important to consider them separately - there are imports under long term contracts, opportunistic imports due to lower prices in the short term market, and short term contingency imports (when CAISO is freaking out due to unexpectedly high demand or low supply, or both). I guess I had incorrectly assumed we were discussing contingency imports.

California does import a ton of electricity from outside the state. I don’t think it is accurate to characterize most of this as a bailout - the majority of this imported supply is either secured under contract well in advance, or used instead of available in-state supply when it is cheaper. Neither of these cases are saving California from it’s poor energy policies, these are part of California’s energy policies. IMO, your description only applies to the third class I mentioned above (emergency imports).

These imports include a lot of different sources - a lot of coal and gas, but also a lot of wind, solar, and hydroelectric (especially from the Pacific Northwest).

I agree that California’s shift to renewables has been poorly planned and done too fast, but I don’t think this is simply because California imports a lot of electricity in general. The issue is really handling the period after peak demand when demand is dropping but supply is dropping faster (solar & wind) - right now this is not handled well and there was apparently no plan to handle it well, and it leads to leaning a lot on unplanned imports, as you highlighted.

> FYI, the whole Enron electricity scandal was all about selling energy to California, because California is constantly in need of energy. Why they didn't wake up after that scandal and start building out more energy sources remains a mystery. Instead, they went in the other direction to reduce domestic capacity.

FWIW, the current resource adequacy program used in California was developed in response to this mess in 2001.
Probably by working at a military contractor. The parts are probably still way too expensive for any other use, and probably too specialized for signal processing.
Ask HN: Selling closed source software w/ dependencies on open source libraries?
Is it feasible to sell e.g. a large Node.js codebase which allows buyers to modify and distribute their own versions of the compiled software while restricting the public release of the source code?
Additional context

> Musk’s SpaceX aims to use a site in South Texas to launch rockets to carry people and cargo to the moon and Mars. To do that, the company intends to drill gas wells to make its own fuel and electricity, according a Federal Aviation Administration document seen by Bloomberg.

> The SpaceX site in Texas will be supplied by at least five nearby gas wells, along with two gas-fired power plants, according to the FAA document. Purified gas from the wells will be pumped into refrigeration equipment that turns it into liquid methane, the document shows. The methane can be combined with liquid oxygen and other compounds to make rocket fuel.

https://www.rigzone.com/news/wire/spacex_texas_plans_face_pu...
Iron Horse Whispering in the Old West
Since I've seen this many times before, I would be willing to pet you were buying "cheap" inkjet printers. By "cheap" I mean they take ink cartridges.

Never ever ever buy a cartridge inkjet printer.

instead buy a tank printer (eg Epson Eco-Tank). They are more expensive. You fill up the ink from a bottle.

Cartridge printers are sold at a loss and designed to make a profit from the cartridges. This is why printer manufacturers are constantly fighting third-party cartridges with unnecessary firmware "upgrades". Additionally, the printer will use some of that ink to clean the printer heads so the printer will run out of ink even if you don't print anything.

Also, retail printers are typically sold with less-than-full ink cartridges.

It's a good example of how consumers buy based on price rather than value. But don't confuse cartridge vs tank inkjet printers. They're completely different beasts.
I own a HP 4050N that I paid 5 euros at a bank bankrupcy in 2008.

Still have not changed the cartridge (apparently it is good for 10k pages).

I am starting to worry that all cartridge refill businesses will close before I need a refill..
What happened to HP is so sad. They made fantastic products, especially their high precision stuff. Those oscilloscopes still fetch a decent price on ebay because they're so dang good.

Up where I live there were a lot of HP employees in the LAN party scene pre broadband. Anyone would be frustrated and angry over layoffs, but what happened locally was a different level of disillusion and disappointment. It was brutal to just watch as someone adjacent, not going through it.

Fiorina got a lot of sexist nonsense thrown her direction, but at the end of the day, was still a terrible CEO. HP's capitalization grew by 3 billion dollars in a single day when it was announced she was on the way out. Markets certainly aren't oracles, but that's one hell of a shift.
The thing about laser is it's not a great answer for your typical boomer mom-level consumer. They're large and color laser MFPs are usually ~$500
One purchase does not give a company the rights for all future purchases. If their business model assumes that, their business model is faulty.
Then what they really mean is: "If it was easy, there would already be a larger supply."
This looks really cool! However the problem with self hosting your status page always is that it might go down together with the rest of your services and so be unusable when you need it the most.

So at least host it in a completely separate cloud/infrastructure if you’ll self host.
He led one of the most successful political movements in history and created what is now the second most powerful country on the planet.

Surely his wisdom can benefit proletariat and bourgeois alike?
Would rising incidents of transgender identification be of the same cause? And that is also primarily among young girls. Why do we not see a similar affect of social contagion among young boys, or do we?
The UK should build dozens of Rolls Royce SMRs each year, and setup a factory line for them with multiple in simultaneous construction. If we value our civilization, we would be building hundreds of units a year for use across the Western world.

https://www.theguardian.com/business/2021/oct/15/uk-poised-t...

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

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

https://www.gridwatch.templar.co.uk/

470MW per unit, 2 years to build, 2 years to install. 1.8 billion pounds each. With just 64 units, combined with some renewables and storage (ideally allowing EVs to smart charge/discharge based on grid conditions), the UK would be completely energy secure for 115billion pounds.
Isn’t COVID likely to be the #1 killer of most professions in 2020/2021, since most professions are mercifully not that dangerous anymore?

LEO isn’t in the top 10 of the life threatening profession list in US, https://www.cnbc.com/2019/12/27/the-10-most-dangerous-jobs-i.... I’d wager COVID was also the #1 killer of retail clerks, florists, and probably software engineers for the last two years as well.
We ought to do both, and the two together likely won’t be enough to sate current demand, so more than that: electricity is about a fifth of total energy use in the UK at the moment.
Complexity exists and is going to get worse with time. The root cause is the prevalent software development paradigm: millions of developers/teams working simultaneously on different parts of the software stack, with an imperfect understanding of an ever-evolving system. "Needless" therefore is a matter of perspective. Reasonable defaults and recipes are a proposed way of dealing with said complexity, but what is reasonable is again based on imperfect understanding, and is therefore only going to work under specific conditions that are not written in code.

Nix offers a way to easily customize and override said "reasonable defaults" across packages written in different programming languages and compiled using a variety of build toolchains. Doing so requires using a common language for expressing defaults and overriding them. IMO, that is not adding complexity, but taming it to make it reasonably easy for individual developers and teams, small and large.

I'd argue that the traditional stack relies on way too many tools, each designed for a limited purpose, and making a LOT of assumptions about the target system. This IMO is far more complex than learning one language and framework.