skysight-inc/HackerNews huggingface dataset:
The value was superior to mathematical Pi (as is best float approximation, but not best double approximation), such as having 2*PI normalized into [0,2*Pi] by standard trigonometric functions (which use accurate approximations of Pi) would not preserve it and yield a value close to 4.2e-10, which could cause suprises (for example if angular ranges are defined as (start,end) and not (start,span)).
Do you guys have any feedback or advice for us? We'd really appreciate it!
> On top of that we see articles (this isn't the first) who try to reframe the question of energy consumption around land use, which is a complete red hering, designed to make nuclear look more advantageous.

I wonder, what's your opinion on these two matters:

- the sixth mass extinction

- carbon sinks

In my opinion as a concerned environmentalist, they are both extremely important and need immediate actions to have even a small chance of being somewhat remedied. Land use is an important facet of how exactly we are destroying the environment and as such it does make sense to consider it as one of the dimensions when planning energy production.

And to be clear, there are lots of species that don't just accept any "close enough" environment as their living place. For example, willow tits in Finland are endangered because here they mainly live in old forests that include dead trees – unacceptable for timber and pulp industry.

Edit: I want to emphasize that I don't see land use concerns as an attempt to reframe the question, limiting the dimensions the energy sector is thought of. Rather, IMO it's a welcome important additional feature to think of.
If land use us the metric to use when defining the viability of future energy sources then a much better target for reduction is the beef industry.

https://ourworldindata.org/grapher/land-use-per-kg-poore
vim is pretty beautiful.
Avalonia is pretty decent. I tried it a bit but didn't want to use it because I realized I was already dealing with enough .NET and wanted a change.
> Australia had big problems with over-supply of solar at certain times and I believe the rate went negative to try and stop people feeding it in.

This is almost certaintly untrue, in both the wider and narrow senses.

Basically, solar alone will never cause negative prices or 'oversupply', because solar can switch itself off fast enough that any solar bidding a negative price to the market would just turn itself off rather than pay money to someone who uses the power. The same is true of wind turbines.

Because you reference Australia, it was almost certainly coal plants that were bidding negative because it would cost them more to ramp down and back up again as demand changes.

There's some incentive regimes, that can lead to renewables offering to pay people to take their power (if they get paid $X for each used watt, then they can pass some of that subsidy on to a user rather than stop providing) but that's a good thing, not a bad thing. It's just a price signal that rewards flexible demand.

In the words of an Australian coal energy producer:

https://www.stanwell.com/our-news/energy-explainer/negative-...

> Negative prices are a signal to either increase demand or reduce supply. Intermittent and fast response energy sources (such as solar, wind, peaking generators) can stop and start in relatively short spaces of time to avoid negative price periods. Coal-fired generators however, incur significant costs stopping and starting and require many hours to restart. This means they continue generating throughout negative pricing periods as it is more cost-efficient to incur the costs of negative pricing than shutting down and then starting up again. This ensures that they are available to meet peak demand in the late afternoon and evening once the intermittent sources such as rooftop solar and large-scale solar are no longer available.
I don't know if it's the best code I've ever read but this emulation library [0] of 8 bits computers is pretty well written, documented and designed: https://github.com/floooh/chips.

It's a good way to document old hardware with emulation code.
In my opinion people are working backwards.
They are taking properties of money and project them onto humans rather than doing the opposite.

Economists say people have infinite wants and needs but really, in practice it boils down to a desire to constantly learn new things. The only reason why people may want an infinitely high amount of money ie. infinite wants is because there is no opportunity cost to holding money, humans really love having infinite free things and hate things that cost them something.
There's also puppeteer-core which lets you use your own (Google Chrome) browser and if your own browser is broken then you're having bigger problems than youtube-dl not working.
> Which registrars offer that?

I expect all of them, and I'd be very surprised if any domain name registrar didn't offered this feature.

For example, both Namecheap and GoDaddy allow customers to extend domain registrations up to 10 years in one go.
And wrapping irony around itself in Borges' special way, parts of the map actually become the terrain:

"tattered Fragments of the Map are still to be found, Sheltering an occasional Beast or beggar..."
What do you mean by floor plate depth?
I wrote enough Java and Clojure to realize neither would be lightweight enough.
Wouldn't PyInstaller solve this? Not a cross compiler though https://pyinstaller.org/
What's the historical reason for good IPv6 support in India? They never managed to participate IPv4 address land grab?
Firstly thanks for sharing this with everyone.

I've read over this paragraph a few times now and I'm really struggling to see how their protections don't defend against the described issues -

"There are two problems that could occur; the base and result address may belong to two different regions, and the base address may not even exist in a valid region."

"the base and result address may belong to two different regions"

if addr >= region.guest_base && addr < region_end(region)

Surely region_end(region) stops it belonging to two different regions, as you're using one region in the for loop? I'm probably being thick!

"the base address may not even exist in a valid region."

Again surely if the addr < region_end(region) this would ensure it's within a valid region?

Is there any other info you can provide so that my simple brain can understand?
I've heard of schools much more recently having odd/annoying in loco parentis curfews and dorm visit rules for undergrads, but what you described sounds much worse.

I'm glad your coworker found ways to succeed despite offensive unfairness like that.
Interesting.

https://www.reuters.com/business/energy/singapore-unveils-on...

Article describes a 111.2 acre installation. That's not huge, but it's not trivially small either.
What's the easiest pseudo-random sequence one can calculate mentally in order to beat this?
So this feels super relevant to me. I'm working on a new community platform for remote work. Would be interested to find out what kind of tooling might help.

https://m3o.org
hm we call them "office-tels" here

there are ultra-premium variants
More generalised, the act of putting them together is a subset of bin packing, which is certainly one of the more studied problems of computer science, though NP-hard, and having a pile of rocks of different size complicates things substantially. Getting a decent approximation once you know the dimensions of the rocks is probably doable, but minimising the labour necessary to get the scans you need of each rock is also a huge challenge.
inb4 you get 10 replies along the lines of "wow I wish my professors let me do something cool like ray-tracing. I spent 4 years implementing cache-inefficient data structures that nobody uses in an ancient version of some programming language that nobody uses in a crappy env doesn't even have a real debugger"

Not that I can relate. I dropped out of uni well before I encountered anything that would discourage me from going into software :)
No, I don't want any JavaScript in my desktop apps, sorry.
> The energy supply breakdown for Finland appears to be predominantly about a successful Nuclear deployment for electricity and social / district heating.

Sadly nuclear isn't used for district heating at all. There is a LOT of waste heat (in the GW range) that is just pumped into outside to "heat" the sea (very locally). There has been some plans about building pipelines from the nuclear plants to big cities to transport the heat to them (Loviisa to Helsinki would only require ~90km pipe) but isn't currently possible without a change in nuclear safety laws/codes.

Even the town of Loviisa is not using the waste heat of the 2 nuclear reactors there to heat the town itself.

edit: Obviously the electricity produced by the nuclear plants is used in district heating to power heat pumps but that is very inefficient (already ~60% loss just from heat -> electricity at the nuclear plant).
> Isn't unsafe still bypassing the borrow checker, in the sense that you're mostly using it because you're doing something the borrow checker does not otherwise allow?

Not really. But using raw pointers and converting to/from memory addresses isn't something borrow checker can check.

It's a borrow checker not address verifier.

E.g. you can take raw pointer, and set two mutable variables to point to it and borrow checker can't know they point to same address.

> But again, I don't understand how that is a unique benefit of Rust.

It's statically enforced by the compiler using Rust's type system.

As far as I know Zig can't say well these two functions can run in parallel because they are at compile time guaranteed to never access same resources and it's impossible to bypass it (outside unsafe). And their content is thread-safe based on the type they satisfy.

> I mean, I think it can't be taken for granted that preventing errors should be the top priority of every programming language.

Douglas Crockford made a good case that every language should on some level try to prevent errors.

> Python is another example: it's very easy to write an incorrect Python program

Python is also older than Java, but even Python is memory safe (GC). Zig and new batch of better C aren't. In that way we definitely regressed.

> I would argue the universal priority of programming languages is to enable the programmer to deliver user value through their program.

If that is truly the case we'd be all programming in Excel and Access. Anything can deliver value, question is - can it be maintained, and at what cost.

In lieu of that a language that makes a set of errors nigh impossible is better than a fast one where those errors are trivial to cause.
A prime example of how comments made without reading the article look like.
> There is nothing particular to humans that makes them car dependent [...]

Not dependent in the practical sense, but I think we are somewhat genetically wired for something related to long distance travel and/or the means to do so, or at least to move at higher speeds than we can on foot. There's the love for horses in (mostly female) humans, and the way car purchases are made is not at all driven by practical considerations only.

Transformation can make us less dependent on cars and reduce their use. It won't remove the desire to own and fully control means of transportation.
Apparently there is an official definition: https://en.wikipedia.org/wiki/Classification_of_Indian_citie...
With the sorry state of latex engine error messages and the version number still approximating pi, e, something, it is no longer an ideal to me. It represents stagnation. Being bug-free may be good, but at some point feature development is needed. (I know TeX and LaTeX are not the same)
The state of affairs for cross-platform Python GUIs is pretty underwhelming right now, and I want something that doesn’t carry a Python disto around. We should be able to do single megabyte executables real again…
A filter on the lens designed to pass the paint wavelengths is another alternative. Painted objects would produce a higher signal that the surrounding environment. But I'm not sure how well this would play with the light changes.

Some nit-pick. TV cameras usually used Philips prism. Dichroic mirrors were (and still are) more common on projectors.
> Imagine allocating 25% of your expensive 1200sqft apartment for your work from home office

I'm not American, so aside from the unit conversions I'm having trouble reading the sentiment.

Is a 1200sq ft apartment considered large in the US? Are rooms normally 300sq ft?

I' asking because I live and work on around 700sq ft, of which 150sq ft is my office.
the externalisation of human abilities into machines is going to be a major theme in your offsprings life and encountering this app could inspire interest in how automation is achieved.
Lemmy resurrected - there's a thought. (No sleep till Balmoral)
I will go an take my tranquillizers now....
No need for pseudo-random; a 6-bit binary counter ought to do it.

(assuming this has the same Achilles' Heel as Shannon's 3-bit machine: https://this1that1whatever.com/miscellany/mind-reader/Shanno... )
It's not a native desktop app either, it embeds a large JIT and a hello world is around 50 MB.
I have no problems with the latest Brave app for Android on a Samsung Galaxy S6 lite tablet.
By the way there is also Playwright [1] and it has Python bindings too [2].

[1]: https://playwright.dev/

[2]: https://playwright.dev/python/docs/intro
We definitely need to improve on the UI/UX patterns. Appreciate the feedback! We're two programmers and striving for that design zen you speak of.
Basic impulses don't capture non-linearity but Volterra series do. See e.g. https://scholar.google.com/scholar?hl=fr&as_sdt=0%2C5&q=Prac...
It’s more a Department of State problem. You know the whole CIA stuff in the region is quite often used by populist politicians, particularly the left-leaning ones. If the US tried to pull what it did before, it’s effectively diplomatic suicide in the entire region. The US wants to establish some sense of goodwill in the region. Why? Because China.

The US is competing with China in lithium extraction in the region. Despite the US having better tech at lithium extraction, China is doing everything it can to gobble it all up by throwing money around.
When my son was still interested and I was building with him, I did not have the patience to pre-sort, but I used to casually sort while searching for a piece, and so the search time for subsequent pieces would gradually drop.
This is required by law. [0][1]
Every ISP is required to be fully ipv6-enabled by the end of this year. The deadline has been pushed back multiple times , most recently due to covid. But this time it seems its going to stick. All lagging ISPs seem to have deployed v6 at this time.

There has been a "National IPV6 Plan" in place since 2010, and full coverage has been pushed under that plan in stages. Anyone interested can read all about it in (extensive) detail[2].

0. https://dot.gov.in/ipv6-transition

1. https://dot.gov.in/sites/default/files/Revision%20in%20IPV6%...

2. https://dot.gov.in/sites/default/files/2016_11_18%20IPv6%20N...
As someone who wrote it 30 years ago, I have no interest in going back. And if any of my little tools become popular, I couldn't find anyone to pick them up after me.
So I did 128 presses and it was 48% right at guessing me. I guess I'm quite random, since ~50% is what you'd expect for an actual coin toss.
Ask HN: As a Windows developer and user, can anyone recommend a Mac for testing?
I'm building a cross platform app using Electron with a .NET 6 backend. I don't use Macs - never have - and I've never built for Macs before.

What I need is a Mac that will run the Electron app that I built. I don't need a dev machine - I just need to be able to install and test the app on a Mac. Is a cheaper Macbook Air enough for this or should I fork out for a more expensive Macbook Pro?

And if I test on a Macbook Air can I be sure it will run ok on a Macbook Pro?

Pretty basic questions I know, but I have zero exposure and experience with Macs but need to be sure my app will run ok on one.
More people now work in clean energy than in fossil fuels
I'm surprised no one has mentioned afraid.org so far - they're free and seem to be operating since 2001, according to their "About us" page...

I've used their service in the past and as far as i recall, it worked flawlessly...
A 300-Year-Old Dictionary Birthed China’s Comic Sans
L5 has a 10 times higher modulation ("chipping") rate than L1/2 which does lead to a narrower correlation peak width. However, it doesn't solve the multipath problem near tall buildings.
For an article about a specific scientific concept (the proportional land use for different types of generator), it’s surprising they actually got that concept wrong in all their examples:

“These can have a small land footprint of just 8m2 per MWh”

This is implies that the land is being consumed by the generator. I assume there is an implied “per year” or “per day” but it’s a little sloppy.
Not so fast. Sock magic: I've only bought black socks over the last 5 year, and still I can't seem to find ones anymore that exactly match in both fitting and color (they all seem to have degraded in different color tones)
Tax Incentives per EJ of Energy produced is a much better comparison: https://www.forbes.com/sites/robertbryce/2022/04/30/newsoms-...

The argument i see here isn't one energy source against another, but about a SANE political weighting of subsidies and investment.

WE SHOULD BE INCENTIVIZING GIGAWATT HOURS OF CLEAN ENERGY CREATION and not define subsidies targeted at any given source.
How can I read the Twitter conversation when Twitter asks me to log in? :-)
Why Peru Is So Corrupt
Qt has support for various SQL database interop in its data models.

https://doc.qt.io/qt-6/examples-sql.html
It’s not as simple as that. There isn’t be enough energy in Central Europe (especially Germany and Italy) to meet demand as long as gas imports from Russia are cut off. Building enough new alternative production will take years.

In practice the loss of cheap gas from Russia results in higher demand (and price) for alternative sources of energy, including electricity, in those countries that relied on Russian gas. And since they are connected to the Nordics via the grid, it also spikes electricity prices in the Nordics. For energy producers this is great, but for consumers in the Nordics it is not good at all.

The analogue to the internet fails in the sense that you don’t have constraints with domestic production with internet data like you have with energy.
Thanks, I used a different repo now and it runs in 2 minutes.
I an loathe to deal with its licensing requirements, plus I've never been completely comfortable with their IDE
If you use Emacs, these face tweaks (and `imenu-list`) I mentioned the other day help aesthetics and readability lot, IMHO:

https://news.ycombinator.com/item?id=32716762

One thing I forgot to mention is that Emacs's normal `M-q` "filling" works well with `markdown-mode` -- makes the text tidier, and makes nested bullets and enumerations more legible. (And you might want to `M-x customize-variable RET fill-column RET` to 79 or 80, rather than the historical default of 72.)
It wasn’t “petty motivations” it was a lack of motivation.

WJTV’s signal doesn’t even reach across the entire state of Mississippi. Why do you think they even for a moment considered EU visitors to their website? Nobody from the EU wants to know about traffic detours, city council elections, or the weather for the morning commute in Jackson Mississippi. EU readership just isn’t even remotely relevant to their operations.
Government funds would have to finance it. Cheaper electricity is a benefit to domestic industry (manufacturing and computers included) - tax money derived from this and public-private partnerships for investing in increased energy supply.
You don't expect the watch to hang around forever, either. You'll lose it, sell it, or it will break. We don't want a future with indestructible watches littering the streets.
I have drawn a blurry line of what constitutes an OK, beauty-ish, well-done tool. Beyond that, all are the same. I tend to continue with the one I got earlier that works fine. These days, I write quite a lot of plaintext/markdown in Obsidian and Sublime Text.

However, if I have to flush out an editor focusing on writing, then iA Writer[1] is beautiful. I got my copy long back when they released it and never had to pay additional to use it or a subscription. Have an attachment with iA.net as one of those clean, minimal design companies, and my long-term product design friend used to intern with the company.

1. https://ia.net/writer
All these things have been the same for several decades. They are not new signs of anything.
My mobile service provider Jio does have IPv6 but my brodband service provider Hathway does not have IPv6.
I only have black ones and a couple of white ones for sports. The white ones are fine, but the black socks get significantly brighter over time. Now sorting almost matching socks is much harder than when I had a hodgepodge.
Admittedly I mostly ignore the differences in shade but it doesn't sit well with me.

A sock sorter would be perfect.
If you have an access to the developer console, it is pretty easy to verify:

(async () => {
for (let i = 0; i < 64; ++i) for (let j = 0; j < 6; ++j) {
(i >> j & 1 ? captureBtnLeftFunc : captureBtnRightFunc)({ preventDefault() {} });
await new Promise(r => requestAnimationFrame(r));
}
})()

This resulted in 34% correct guess rate after 384 simulated presses.
$1 000 * $5 000 = $5 000 000

$250 000 first year and $52 500 in following years = 91 years until the money runs out. Of course there is no doubt other costs involved, but you'd make it past a year.
Radioactive pollution turns out to be a much lesser danger to the environment than CO2 (in the long term). The Chernobyl exclusion zone is currently a haven of biodiversity, while the world overall is going through the largest mass extinction event probably since the dinosaur meteor.
This is a good thing long term, because:

- It accelerates Europe's independence from Russian oil to 2022 instead of the original projected 2025.

- It removes Russia's biggest lever for pressuring Europe.

- It accelerates the worldwide push towards renewables.

- It accelerates the deployment of LNG terminals across the European seaboard, further improving energy choices.

- It makes Scholz and Macron look like fools for dragging their feet on price caps.
In a word: yes. They have less than one address per one hundred people: https://en.m.wikipedia.org/wiki/List_of_countries_by_IPv4_ad...
The actual article content all sounds quite positive, though I'm not sure the headline is appropriate or even a good target

> New transmission link between Finland and Sweden

This is good. You don't want to totally rely on untrustworthy partners, but interconnected grids are in general a good thing.
I love working alone. I sure do miss old coding friends when I get stuck on a mundane problem though!
Lately my biggest social outlet has been an improv group. But other than that, I’m honestly struggling with my social life and network as an introvert and a solopreneur.
This only works if the data is static. As soon as any item before 999 is deleted or added, offset 999 no longer points to the same data.
> Of course, paying for hosting for a decade is a different matter!

Not well known as it doesn't seem to have a translated page for it but OVH offers a free 10MB hosting with 1 email account for each domain registered with them [1].

[1] https://www.ovhcloud.com/fr/domains/free-web-hosting/
SixSpotting
https://groups.csail.mit.edu/mac/users/gjs/6946/sicm-html/ - a programming dive into classical mechanics
Warning: IPv6 only link. Does not work if you don't have IPv6 connectivity.

Similar IPv6 game as IPv4 tuf war: https://news.ycombinator.com/item?id=32790429

You must check in from many IPv6 capable ASNs to get top score.