skysight-inc/HackerNews huggingface dataset:
What is the value of JSON.parse(JSON.stringify(BigInt(Number.MAX_SAFE_INTEGER) + 2n))?

> Finally, BigInts cannot be serialized to JSON.

Hmm, ok. I guess that's fine. But what about large numbers coming from over the network? Can we get a BigInt-aware JSON.parse() standardized ASAP?
The number of articles about the demise Moore's law doubles every two years.
That isn’t fair - JavaScript has numbers, that are already used on billions of sites, so that can’t be broken. An important part of evolving a language that is always transmitted as source code is that you can’t break the existing code. Python tried with python 3 - that attempted break now means all systems have python 2 and python 3 installed, and there are libraries that can’t be used together because they have different language versions. C and C++ can change the language in breaking (-ish) ways, because changing the language syntax or semantics doesn’t effect shipping (eg compiled) programs.

It also has a full set of 32 bit operations - “64 bit” used to be “big int” and required software implementations.

The choice to only support floating point numbers also makes sense - you have a dynamic language with no type annotations, so you can’t distinguish between 1(an int) and 1(not an int), and as a result you can’t determine whether a given arithmetic operation should be the integer version or the floating point one. So floating point makes the most sense, unless you want arbitrary precision floating point, which just isn’t feasible for performance or sanity reasons. Especially a few decades ago.

So we get bigint- or more correctly arbitrary precision int. That has a distinctly different use case from regular arithmetic numbers, and so is always a distinct type.

So yeah, going floating point, and then bigint is a perfectly reasonable evolution of the language.

As an aside, I don’t think it’s first because I believe python uses arbitrary precision ints, or floating point. Haskell defaults to arbitrary precision as well (although it supports fixed precision ints as well).
Given that the waste will be around thousands of years more, i don't see these numbers final yet, sorry.
use it as is in Molten Salt Reactors.
https://en.wikipedia.org/wiki/Molten_salt_reactor
> usually the choice posed is not nuclear or solar, it's nuclear vs coal.

usually? historically.

sure last century that was the choice. Today, no one in their right mind would build either a nuclear or a coal plant.

in my part of the world, there is no coal, no nuclear, only solar and gas. And the solar is cheaper than the gas. Coal and nuclear cant get a look in, and no one is going to build a new gas plant. But new solar is popping up all around me, at block, microgrid and array scale.
(A /20 is 1,048,576 IPs, so this would have been $6,291,456. OP appears to be a small ISP.)
One thing I'd like to see is how much night time demand based on simple arbitrage. And how much of that demand will disappear if the rate structure makes night time power expensive.
got as source with statistics to back that claim?
Organized List of Chromium Design Documents
Their writting skills is clearly unsurpassed.
Except that some of it has to be kept apart so it does not go critical, some has to be put in special containers...
It isn't ok to fabricate evidence. Don't take this the wrong way but I'm not sure if you're saying fabrication to be disingenuous to this event happening or just that they are making it look more like a karate chop. I assume the latter and to me I don't really see much of a difference and isn't the point or is a distraction from the issue as to why they made the decision they did. You drop some frames and it looks more like a karate chop, but I watched the full press video on cbs and other various locations enough to say I don't think he chopped her hand away or anything too crazy. I don't think there is an argument that it didn't happen and that Jim wasn't trying to stop her from taking the mic away to pass to the next person and either on purpose or by reaction blocked and made contact with her at the elbow.

I'm not in the camp to call it assault even though it might be technically. I don't know or don't care to debate legally if it is/isn't because I tend to think of assault as more provoked or violent than what this was. The reaction of the staffer was interesting though with her looking confused and unsure what to do as if that hasn't happened before.

I do think he was out of line given how he acted not just with the staffer, but after his question on indictments in the Russian investigation which is a question he's asked a few times before and been given the same answer on. Then standing back up and talking over Peter who was called on next to say something about the media being the enemy of the people and something about the pipe bombs (couldn't hear it well due to him not being mic'ed). To me all of those things combined I can understand why they decided to revoke him. Other Press members asked questions that were far more challenging and critical of the administrations direction in this briefing and their creds weren't pulled which leaves me with the conclusion its because of how he acted.
Ask HN: Is there a HN for mathematics?
Where the wind blows the dust to europe every month? Sounds safe if anything should happen...
World's first AI news anchor unveiled in China
In the same way you're conflating fission with fusion (I'll support funding for the latter, but not the former) when you advocate 'nuclear', you're also conflating PV with with solar thermal under the very broad heading of 'solar'.

My expectation is that most large solar plants will not be PV.
There are plans to bring WPF to .NET Core but it will still be windows only. It is being done because Microsoft wants to move all development to be on top of .NET Core.
> has yet to hurt anyone as far as I'm aware

whoa, don't leap to conclusions: give it a few more thousand years
Also there would be national security concerns. You can't just put all solar panels in Sahara because some local African dictator or strong man can just decide to sabotage or just simply turn off the electricity as a power play. Each country would have to have these panels installed on its own territory to be able to have any sovereignty and not be easily blackmailed. You can't put all your eggs in one basket, especially if the basket is an area of Earth where there is very little law and order and constant revolutions, uprisings, terrorism and general political instability.
Stick shakers aren't a fix. The pilot in the Colgan air accident kept pulling back even though the plane activated the stick pusher; he kept pulling back until that disengaged.

Even the best designed plane will eventually meet a pilot that can fly it out of the air.
It took several minutes of rewatching the clips to notice any difference, but I think I see it now. I'm amazed anyone was able to catch this.
>>> The "huge amounts of land" claim is incorrect

Matter of definition. Based on facts it is huge in my opinion.

>>> The second claim seems to ignore the possibility of batteries and other large scale energy storage, never mind that solar would be complemented by other renewable energy sources.

No, it just matches reality. As of today we can not store huge amount of energy this is why you need to charge your phone every day. If battery capacity and energy density was developing the same speed as CPU power we would charge our phones once a year. The best option we have today is called pumped storage hydroelectricity, which is a really invasive way of storing energy and reduces the efficiency greatly. Unless we found a radically different, better way of storing energy solar power can be used only in smaller scale (like Tesla Solar Roof style) and nuclear power is still one of the cleanest and best option for mass production of eneregy.

Disclaimer I have graduated in energy engineering
We are really far from solving the storage issue. And no nuclear is far from being cheaper than solar + lithium (except maybe in very specific area such as Chili with high sunlight and high cost of nuclear). There are not enough Lithium on Earth anyway to answer large scale energy storing.

Using vehicle battery is a naive way to think about it. Your car battery cycle is not appropriate (and will surely not be) to house consumption: as a result you will just crash your battery life expectancy.

The only advancement for large scale is fly wheel storage. But the record is only 40 MWh for a duration of 4 hours. Waw. Not even close.

The point of the nuclear is namely to think that 4th generation nuclear power plant are a way to reduce nuclear fossils cost to zero. Zero because many countries recycled their nuclear waste (if France is using 4th generation, they will not need to buy uranium before 10000 years). And Russia succeeded to make work a 650 MW 4th generation power plant.

Governments have paid large subsidies (140 billions in 15 years in France) for renewable energy. But in most cases, it resulted in a few percent of energy consumption - and it will not be much more in next years. If we want to solve global warming today, thats just not a working solution.

The only solution is to enhance nuclear powering.
A Lap Around Functions 2.0
Because the wind blew to the sea instead of mainland japan.
The energy needs didn't magically reduced with nuclear reactors getting phased out. Whatever is not compensated by increase in domestic burning must be bought abroad, which means all Germany did is essentially export their emissions elsewhere.
Azure Functions Webcast – Oct 2018
Traditionally when device owners bork the device they show up at the shop and have no idea how it happened, or it was the neighbor's kid. /s
Packaging Applications in a Serverless World
The David Rubenstein Show with Jeff Bezos
Does one exist right now commercially?
Five things you need to know before learning Python for a finance job
It should actually be interesting to see what happens. The Democrats won the House, but only by about a dozen seats, and some of them are in places like Texas and Montana which they can't possibly expect to hold in two years if all they do is bloviate and obstruct. Meanwhile making deals is Trump's whole shtick. It's theoretically possible that some bipartisanship occurs -- if that's even still a thing.
Are you comparing a river flood to a tsunami seriously?
Use your voice
It's Esoteric Enterprise ready..
I don't think that's true. We've used nuclear power for decades with exceptionally few problems or deaths. There are single hydroelectric dam failures that have killed more people than everyone who has ever died from nuclear power - including Chernobyl, Three mile island, Fukushima, etc.

Banqio dam killed 174,000. https://en.wikipedia.org/wiki/Banqiao_Dam

Chernobyl, on the other hand, the deadliest and worst nuclear power plant disaster in history killed 45 directly and was possibly responsible for increased cancer incidence adding another 4-6,000 cancer deaths.

Should we discontinue hydroelectric power because all dams will eventually fail and may flood inhabited areas? Nuclear power is incredibly safe.
hi again https://news.ycombinator.com/item?id=17904390

your disk is probably encrypted anyway, so your risk is small. just be mindful to unset HISTFILE before things like exporting secret keys during development if you're so concerned.
Well, GHz is GigaHerzs or 10^9 cycles/second.

So Ghz is Ghz regardless of x86 or ARM as thisvis just the clock speed.

Another discussion is how much work is done each cycle. For that you might use GigaFLOPS or TeraFLOPS (10^9 or 10^12 dloating operations per second) or another absolute measure of performance.
Heat storage is trivial and much cheaper than batteries on a house hold scale. Hot water tank as used for showers can also be used for central heating systems which use water to pipe heat. i.e. hot water is generated whenever power is cheap and piped to where it is needed when it is needed in the building.

Non of this has real engineering issues, nor even refit issues. Some economic impact sure but nothing blocking.

Like all real world power systems, we have drastically more production capacity than average demand. This would not change in a nuclear system as average grid demand is about 50% of max demand.
Even the laptop would be thicker than average unless you’re measuring by early 2000’s standards.
I didn't mean dumping it all in a heap together, but putting it in e.g. high-density polyethylene should do the trick. It has the density of 930 to 970kg/m^3. Very good tensile strength and longevity.

There's more than enough space and geologically stable locations to put this stuff. Politically speaking and in terms of getting nuclear back in the game, I wouldn't worry too much about waste with the modern solutions within storage.
Yes. Science can be an adversarial process as people converge on the truth. Like a legal trial, you shouldn't take out of context any single statement from a defence or proceution lawyer as representative of the whole truth
You can test for it by sending typical files over http (aka download) and then skyping and compare the bandwidth. Or the other way round. Run a few tests over a few days. This won't tell you whether Sprint is behind this, however you will be able to know whether Skype is affected. If yes, you could try to tunnel the Skype traffic over ssh. If ssh traffic is not throttled you should experience better throughputs.
Yea I wonder if with modern telescopes that they do digital integration so effectively they just delete the errant frames from the recorded captures and carry on from there. In the old days with film capture the entire exposure would be toast if a satellite flew through the frame..
Some laptops with a built in SIM module can actually text. I don't know about calls, but have a look around. I know for a fact that the Fibocom modems don't support sms, maybe the Huawei ones do.
France did that in the 1980s. France has 58 power reactors, of four basic designs.
no. This is not related to parsing, it’s related to the JSON format.

JSON is a stable interchange format, and for that reason we’ve got a huge base of tooling that uses and emits it. It’s all interoperable because there is just that one syntax.

So if you say “add JSON.parse() API”, you’re saying “I want to transmit non-Json strings but claim they’re json “.

That breaks:

* old browsers - not supporting bigints would mean they couldn’t parse any of your “json” data, even if you weren’t using the bigints. Eg feature detection wouldn’t work.

* all shipped products that read json, because as with the browsers they could not parse any “json” that contained invalid data.

[edit:

Ok, let's try to do something about the endless downvotes:

Say you do JSON.parse("9007199254740994") - 2^53+2

Should this parse to a BigInt or a Number? In JavaScript today it will parse as a Number, without losing precision, but it is beyond the range of exactly representable integers in JS. You can see this by doing console.log(9007199254740995) and see that the output is 9007199254740996. So what happens if I do that following:

JSON.parse("[9007199254740992, 9007199254740993, 9007199254740994, 9007199254740995]")?

the first and third are exactly representable as a double, the second and forth are not. So should this parse as Number, BigInt, Number, BigInt? Or BigInt, BigInt, BigInt, BigInt? What value should be the trigger for treating an integer as a BigInt vs. a Number? What if we're doing

JSON.parse("[9007199254740992, 9007199254740993, 9007199254740994, 9007199254740995]").map(x=>x+2)

If any of the values get interpreted as a BigInt this will throw. But in existing browsers it won't.

]
too dirty, too risky, too much burden on future generations, too centralized.
> would be the benefits in DNA diversity at all

I would argue there's often correlation between these types of diversity
> A (data) type is a set, and a value is an element in that set.

Nope, a type is not a set. Type theories are separate formal systems designed to be (among other things) computationally aware alternatives to set theory, and they are defined by "terms", "types" and "rewrite rules". The whole point of a dependent type theory is to be able to encode things like sets and propositions in the same formal system.

The rest of your comment is wildly off based on this misunderstanding.

What the GP was probably referring to is the persepctive of dependent types from the lambda cube, where you have three different extensions to simply typed lambda calculus's regular functions from value to value:

1. Parametric polymorphism, which are functions from type to value
2. Type operators, which are functions from type to type
3. Dependent types which are fubnction from *value to type*

Since dependent types allows functions from value to type, it kinda erases the artificial barrier between type-level and value-level. In reality it doesn't really erase it, somuch as replace it with an infinte hierarchy of levels to avoid Girrard's paradox.
Domain terminology - integer on a computer means fixed precision.

BigInt is for whatever reason the most common name used
You know what batteries are? Toxic waste.

https://www.computerworld.com/article/2482910/technology-law...
I'm sure TMobile is intimately familiar with their networking assets. They pioneered squatting on MoD space for internal routing to avoid dual homed conflicts. (25.0.0.0/8)

https://blog.wireshark.org/2010/04/t-mobile-clever-or-insane...
What's the advantage here?
As far as I know, there is no new design. They just now stick a plastic film under the keys to stop dust getting in and destroying your entire machine.
Good observation. The reason that CrazyEgg can get by with such a headline is that they count on their audience (marketers) already being familiar with the tool. If you look at older versions of their website through the web archive you'll see that they used to have more informative headlines, such as "Get Immediate Insight Into Your Visitor's Behavior"[1] followed by actual descriptions of what the product does.

When creating their landing pages, people often model pages of well-established companies, missing the fact that their audience's awareness level is totally different. It's a common mistake. You end up with a website as pretty as the one from your favorite startup, but with horrific bounce and conversion rates.

I call it the cargo cult[2] approach to marketing

---
[1]: http://web.archive.org/web/20110225071634/https://www.crazye...
[2]: https://en.wikipedia.org/wiki/Cargo_cult
Space Shuttle launches, looked like an awesome idea 30 years ago but was really stupid already back then...
I generally agree with you. Certainly 50%/50% is insane when the pipeline itself isn't giving you that percentage of qualified candidates based on objective measurements.

However, as other have mentioned, there are already biases to hire people "like you" and offsetting those biases is valuable. Often, I'd argue "culture fit" is an umbrella term used to keep people who are different out.
Mostly around Eastern Europe though. When it comes to Germany, Russia is mainly pushing Nord Stream 2 so it can pump gas directly to Germany without reliance on Ukraine. It's beneficial for Russia to further increase Germany's reliance on natural gas from them. Shutting down nuclear reactors plays into their hands.
It's more like what a diesel generator is to a power plant, but it's mobile (has to be towed but transportation is quite cheap). It should get the job done. Sadly only the BRICs (mostly Russia) have small modular reactors in operation or under construction, the rest of them range from conceptual designs to licensing stage. Of those, I liked NuScale's design.

https://en.wikipedia.org/wiki/Small_modular_reactor
This article only hints about the dark side of tech - adds nothing new.

Its main points are more about american/chinese politics than tech.
Disney is CRAZY competent at content distribution.

ESPN is a Disney company, Movies Anywhere (is/was) a Disney project, the Disney+ service they are talking about is actually public v2.0 (They rolled out something similar in Europe a few years back, called Disney Life).

Disney has a universal "login" system, that shares your profile/preferences everywhere from parks to cable, its got everything favorite sports teams/players and can serve up custom content and more.

There is a lot going on at the house of mouse. (Do a job search on the Disney website and set your region to tech hub outside of LA/Orlando...)
It's one of the few halfway modern "lightweight" languages with static typing and other full fledged OOP features.
The EU passed a law to limit tracking like this, and these companies are in breach according to PI, so "just" starting the process to enforce that law is a much better step.
Yes! I buy technical books here from the Seattle Goodwill "store". If you are in Seattle you can let them know you want to pick it up and they will refund you the shipping and you can usually pick it the next morning.
Why Ubuntu 16.04 when 18.04 LTS is already out for a while
.NET Core and F# are the only reasons why I still develop .NET. I really hope the platform can break out of the Microsoft silo and attract talent from other dev communities, because the biggest problem with .NET Core, despite the whole OSS move, is still that the majority of C# developers let themselves happily trap by the Microsoft marketing machinery. The average .NET developer never even tries different things like AWS or the Google Cloud, TravisCI or AppVeyor, etc. They just swallow anything which so-called MVPs and conference presenters force them down the throat, primarily Azure which is by all measures inferior to the other two and they don't even know.

Visual Studio is littered with SQL server and Azure tools which doesn't even make sense. Either offer equal tools for all major tech or none, but this subconscious constant selling of their own tools sickens me slowly.
Ok, so you’re saying it’s not size (as single root cause)
A data-driven guide to creating successful Hacker News posts(2015)
Hidden gem among a sea of video meeting services
Mainly because you don't need an app to carry out video meetings even on ios and android which I don't think I've seen before (uses webRTC of course).

https://gotalk.to

Aside from that it can do recording, streaming of meetings to others, on-screen annotations and a few other things that similar services don't have yet.
I guess in all the fuss we're not supposed to notice the important part - that a microphone was being forcibly seized from a journalist?
Germany has continued to increase renewable generation. If you look at the "German power export balance" chart in the same source, net German exports in 2017 were the highest they've ever been despite less coal consumption. The growth has been mostly from renewables, and secondarily from gas. German renewable generation in 2017 was 100 TWh above 2010.
You could stick a lot of on inhabitable land too.
No the rise of islamism is anterior to the removal of Sadam Hussein. And it happened in every muslim country, including those that were not under a secular dictatorship (Marocco, Turkey, Maldives, etc). What is true is that the topping of secular dictatorships opened the way for islamists to take power or start a civil war. But what you are saying is effectively that muslim countries should be left under a dictatorship otherwise would vote for islamist parties?
WebRender newsletter #29
It's amazing how user experience can be affected from this deep in the stack.
According to http://electricitymap.org UK has most installed and used capacity in gas power plants.