skysight-inc/HackerNews huggingface dataset:
It just means you want a better way to assess tax liability than buying tires. We are not limited to "tires or GPS"; we have myriad other alternatives.
its called scientific rigor
> // now arr is [empty, empty, 2, '-4': -4]

I'm not sure because I'm not at home, but did you verify this pseudocode? Pseudocode doesn't have to be valid syntax, that's the point pf course.
But it should bring the point across regarding the behavior of actual programs, no?

AFAIK, unquoted colons inside of array literals in JS are illegal.

I'd understand it better if you had written sth like

{"0": undefined, "1": undefined, "2": 2, "-4": -4}

It is fairly clear that you are opting out of all optimizations applicable to what

Array.prototype

is meant for in JS.
The distinction between "empty" (in this special case, sparse arrays) and the primitive value "undefined" is similar to the difference between non-declared and undefined variables when not using const/let —
which every one should do IMO, along with ES Modules instead of legacy node- or bundler-specific module syntax.
Also, using var in 2023 makes only sense to me for two cases:

- REPL context wishing to redeclare identifiers other than functions defined using the function keyword
- very legacy browser Targets, < latest IE11

Sparse arrays are, just like var, a historic relic.

I have never encountered any code where sparse arrays were intentionally used or appeared at all.

Arrays are objects in JS, yes.
You can construct a sparse array using

Array.from({length: 5})

"sparse arrays" are generally confusing and seldom desirable.

And JS is honest that it's an interpreted language where "arrays" are not even required to have a uniform member data type - which of course is very advisable for reasons that go beyond code readability.

But let's be honest, is (i.e.) PHP more clear in this regard?

Personally I hate PHP's mishmash of arrays and maps ways more than the JS version. Both are syntactical sugar for memory-managed and heavily optimized "map" like objects where the keys are restricted to primitive types.

Personally, I like that JS at least has a usable notion of strict equality and makes it easy to understand when values are references (always, unless they are primitive).

PHP's copy-on-write behavior, reference operators and the mishmash of "associative" and "indexed" arrays are much harder to actually understand and bigger footguns IMO.

JS has massive quirks, but what you show is not surprising for anyone doing JS with a modicum of proficiency.

JS is a scripting language.

People tend to forget this because of fast JIT compilers and because of TypeScript, I guess.

Sparse arrays are a relic and the differences between your "empty" and the actual primitive value "undefined" in JS are not of any practical significance in my opinion.

It's really a wart, but not one of practical relevance.

At least this differentiates this from "problems" like

["1","2","3"].map(parseInt)

that are really just a lack of basic syntax understanding.
I am not or have not or do not advocate 'one way or my way', at any point, anywhere in any post, but simply to remind people just be careful not to throw the baby out with the bathwater.
Build more homes, lower permitting requirements, prohibit institutional ownership of single family, duplex up to 6 unit buildings. L
That's lucky to have a manager who even logs into GitHub. Many jobs of mine I have been my own approver.
And if you own an air purifier, likely in your room!
Typescript, by a large and deserved margin.
That should be clarified in the HN title, imo
Brings back happy memories of playing this on the demo unit in the shop across the road from my house every day after school because I couldn’t afford to buy the console.
Discussed 3 days ago: https://news.ycombinator.com/item?id=37082304
States need to step in and rezone cities and their immediate surrounding areas to allow for more housing.
> Galactic spectra, which JWST started to send back in earnest at the end of last year, are useful for two reasons.

> First, they let astronomers nail down the galaxy’s age. The infrared light JWST collects is reddened, or redshifted, meaning that as it traverses the cosmos, its wavelengths are stretched by the expansion of space. The extent of that redshift lets astronomers determine a galaxy’s distance, and therefore when it originally emitted its light.

Won't a photon climbing out of a huge gravity well have a huge redshift, thus confounding estimates of distance from us and estimated age?
Glad this calls out Cruise specifically, and not 'robotaxis' in general. Been seeing a lot of coverage lumping Waymo & Cruise together, but Waymo, while it has its own share of mistakes, is generally a large step up in terms of driving performance compared to Cruise. (Source: I've ridden in both many times, and its pretty clear)
This sort of smug "Did you not invest in solar in order to decrease your carbon footprint?" with the implied "Why did you expect it to save you money?" argument is not going to be productive if your goal is reducing emissions.

Selling solar as a means to lower your costs in an environmentally friendly way, then raising prices in a way that cancels out those savings and smugly telling angry people that they were supposed to do it for the environment without concern for cost to themselves is only going to make them less receptive to your cause.
How is it flawed? I state that I am doing the calculation for cars. How can not including trucks be a flaw in calculating the value for cars?

>To the point: 73% of what exactly? 80% of total emissions? 40%? 10%?

I do not understand what you are asking. What are all these percentages? The number I calculated was an estimate of the decrease in carbon emissions if you replaced all gas cars with EVs in the US.
Next slide, please: A brief history of the corporate presentation
Your information is quite a few years out of date. The solar learning curve has continued in the meantime, reducing the cost every year. Especially in sunny places like California, unsubsidised solar pays for itself surprisingly quickly (I don’t have the numbers for CA, but I wouldn’t be surprised if the number was 10 years).
Alright, but remove the equivalent when you stop making ICE cars.
Why did the rent increase so much? Much higher demand than before?
> where others couldn't.

Citation needed. Thanks.
L0pht doesn't have a three term US House Rep as one of its members./s :-)
Chargeflow, which taps AI to fight chargebacks, raises $14M
In the past ten years, here's a list of significant feature additions to the Go language itself:

* Generics

And even that has not been the shocking revolution some people expected; it turns out to overall be a nice little addition rather than something that rewrote what good Go was. Nothing like the Python transition to "new style" classes, or the Python 2 -> 3 transition, or the Python async ecosystem transition, and that's just one language. For the most part a Go 1.4 programmer suddenly transported to today would not find it a terribly difficult task to read code using the generics.

And broadly speaking, the language didn't start with a lot of features either.

Go has had a lot of library improvements, it's had a lot of tooling improvements, but the language itself is extremely stable. I've seen a few people actually complain about Go moving too fast, to which I wonder what exactly would make them happy if even Go is zooming along too quickly for them, because I honestly don't know a language moving more slowly than Go, for all the advantages and all the disadvantages that incurs. I've honestly sort of wished I could sit down with them for 15 minutes and see if I could figure out what their real problem is, or if they really are upset that there was ever a major change.
China stocks hit after developer Country Garden suspends some bond trading
The only fair system is to make everyone pay in (near) real-time for the actual cost relative to demand. Everything else is ultimately going to rip off some party (whether they are a party you like or not is irrelevant).

Basic physics is fairly strict about all of this.

Some of us were briefly allowed to do this in Texas (and presumably some other regions). I was on griddy for a few years and was strongly incentivized to pay attention to my consumption patterns. My bill "ticked" every 5 minutes.

Nothing educated me more about how much power my appliances suck down than a proper, real-time variable rate plan. Any other form of conservation "education" is going to pale in comparison to real time economic pressure. If you had a lot of time to worry about money, you could make your power bill cheaper than a MVNO phone bill.

The reason some think variable rates are broken or won't work could probably be traced back to the fact that very few grid participants (outside of a few industrial partners) are impacted by the actual, real-time cost of electricity.

The thing that pissed me off more than anything was watching the politicians in my state cast variable rate plans as an attack on the poor. Nothing could be further from the truth in my own mind, but only if one is willing to explore the incentives & side effects at every step along the way.
Another great book to read (which I read in college as a Philosophy major) is Timothy Williamson's Vagueness ...a brilliant magnum opus.
Yep. The initial decision was certainly driven by many stakeholders who deeply believe this is a key advantage to acquire. Users are fighting an uphill battle, and no amount of pushback short of lost revenue will stop them. They'll find another way.
> Feels like NYC is the only place, and it's great, just expensive to live in.

There's actually a lot of walkable areas of many American cities or alternatively smaller rural towns. Generally, the older the city the easier these neighborhoods are to find. even LA has walkable neighborhoods (even though you'll still need a car to get around in general). But yes... expensive.
We're not past the point of being able to blame it on the war in Ukraine. Energy and food costs are a huge part of inflation, and those were and still are being impacted by the war.
To those who used discord.io, what was the appeal of it over discord.gg? Unfortunately their site is down so I can't even see what its own marketing said.
If you are interested in patterns in the solar-system, then check out the Titus-Bode Law: https://en.m.wikipedia.org/wiki/Titius–Bode_law

Basically the inner planets seem to follow a pattern in their spacing from the Sun - and some of the outer-planets which were actually discovered after the law...

...but it's not a great correlation, and you need to have some hacks (e.g. including Ceres as a planet) to make it work...

So, mainstream Astronomy has relegated it to the edges of the field, and into the realm of amateurs and crackpots.

It's interesting though that apparently a similar pattern in the distances between planets seems to occur in those systems with multiple extrasolar planets that we have observed. But it still may be a mathematical artefact.
Does this mean PG&E and co will be getting access to their customer's tax records?
When the government shut down the country for a few years and started sending out "covid pandemic checks", economists warned that the economy would crash. I'm not sure about the true cause and effect here, but the economy sure has crashed.
20%+ unemployment for young workers and GDP growth is shrinking. Falling exports. Local municipalities on the verge of bankruptcy with over $9 trillion in debt? With deflation making that debt much worse. How is that better than the US?

https://www.bloomberg.com/news/newsletters/2023-06-02/the-ne...

https://fortune.com/2023/08/08/china-economy-youth-unemploym...

https://www.wsj.com/articles/chinese-exports-fall-at-steepes...
Your second point there has always been the thing that surprises me the most about the climate change stuff. Ok so lets say that climate change is fake. What do we get out of going green?

- Huge amounts of economic growth during a transition period that requires skills all up and down the skill ladder.

- Significantly cleaner air and water which will save hundreds of thousands of lives each year.

- Significantly cheaper electricity as the cost of the input to the system(wind, sun, tides, etc) are free.

- Actual energy independence as enemy states cannot block our import of solar energy.

I'm sure there are more benefits. The list of negatives is basically just: a bunch of people entrenched in the current system lose money and power.

I just really struggle to understand how beyond those who'd lose money/power anyone opposes this transition.
Your dog has more financial acumen than some humans...
The main reason I like walking is just to feel like I am among people, even if I am not actively interacting with them. In the Bay area, my favorite place used to be the airport, because that's the only place I could see people other than my coworkers.

And this may just be me but I feel that the reason I liked being among people is because it creates the illusion of possibilities. Possibilities of friendships, a date, an interesting person, a job opportunity etc. This was reaffirmed when I chatted with utter strangers for hours at the airport.
State income tax returns…
1. Cut interest rates
2. Stop printing billions to defense contractors for Ukraine
3. invest in small business and entrepreneurial training
4. Stop ESG-based investing
Is this actually true? Can’t you do online training in real-time, at least in principle? As audio comes in, for a micro batch of current calls on the local node, do STT, next token prediction, and calculate your loss. Transmit the loss update back to the centralized model.

Google posted about Federated Learning years ago: https://ai.googleblog.com/2017/04/federated-learning-collabo..., not sure how widely it has caught on though.
discord.io is a service that provides redirect/invite links/URLs to Discord servers.
Here’s hoping they do all the wild changes they want in go 2 and keep go 1.x versions compatible with each other. That gets you the best of both worlds: legacy code can run the legacy version of go and the newer iteration of the language will break compatibility and thereby shed any tech debt and cruft as it learns from any previous mistakes or compromises.
Well if in your household children were treated "as adults" (relatively speaking, within reason, etc), then you're in the far far minority x) And not just UK, think of all cultures around the world from Hispanic to Chinese.
https://archive.ph/2023.08.14-154543/https://www.wsj.com/amp...
Ask HN: Anyone Using a Virtual Assistant?
Was thinking about getting one to apply to jobs on the side for me. Anyone care to share their experience with these? Any resources you'd recommend? Thanks!
A 680x0 CPU+copros aren't capable of running it.
>> Should you have a right to live where you were born in perpetuity?

> An absolute right? No, of course not. But no one is arguing for that.

Laws like California's Prop 13 are actually arguing that you should have that right. The quintessential argument for Prop 13 is that your grandmother won't be able to afford property taxes if they match appreciation of housing prices, so a property that was several hundred grand when she bought it, with property taxes that are representative of that price, she can afford. Property taxes representative of the multi million dollar valuation that house now would go for on the open market, she could not afford. So she pays the lower amount. So she's able to live there in perpetuity,
theoretically.

(In reality, rising other costs mean that she can't, not on a fixed income.
I'm sticking with STeVIe.
I'll take your "very rich" and primarily include billionaires and the extremely affluent in my following statement:

Billionaires shouldn't exist. They shouldn't. We should re-implement proper progressive tax rates (like the US had in the 50s), and ensure that that type of wealth can never happen again.
I saw a I think legit gov funded study that compared emissions by type and by vehicle class. It's a little dated.

From memory. Passenger cars produce about 5-10 times more PM-2.5 from exhaust than tires. And about the same for brake dust.

Older diesels are filthy. As are older motorcycles without cats. Newer ones are a lot better.

My conclusion is EV's are probably trading reduced PM-2.5 from brakes to increased PM-2.5 from tires. Over all it's still significantly less PM-2.5. Although I'd be concerned about difference in health effects because PM-2.5 from exhaust, tires, and brakes aren't identical.

Edit: Friend has been doing studies on how air pollution reacts on surfaces including PM-2.5. Makes me think the subject is actually very complicated. And state of knowledge is incomplete.
This analysis is deeply flawed because of that.

They include vans and light trucks in the car numbers, but the electric vehicle are all passenger.

To do this correctly they simply need to use the average MPG for a passenger car. That's it - from just that you can do all the math, you don't need the total fuel consumption in the US.
But I still won't care that it is under copyright, I will simply feel aggrieved that the law is, again, an ass.

As for why arxiv.org does it, perhaps they are taking a stand. Sometimes the only way to overturn an unjust law is to violate it and the laws that support it. Compare the mass trespass on Kinder Scout organised by the British Workers' Sports Federation [1] and of course the suffragettes [2].

I'm not personally brave enough to take such direct action but I applaud those who do.

[1] https://www.bbc.com/news/uk-england-derbyshire-61008955

[2] https://www.museumoflondon.org.uk/museum-london/explore/who-...
I guess time will tell if they're right or not. I do think they're on to something, or at least the utilities are wrong about something.

The utilities are pulling the same move the cable companies did -- rapidly increasing prices as competition (solar in this case) encroaches on their turf. It's a classic attempt to increase short term profits while ignoring the long term effects, not to mention doing it in the most lazy way possible (increasing the price instead of lowering costs).

If they anger all of their rich customers they will drive them away even faster (to solar and batteries, and they won't even need to be on the grid). I'm sure with regulatory capture they'll be able to get a law passed that requires houses to be connected (and pay the $95+ fees every month), if they haven't done that already.
Yes, as are you, in the same way we’re willing to drive a car and therefore risk death.
Oh wow, my toot on HN, rated higher than any of the cool things I have done :-)
Ok but it's ridiculous that most of the comments here are like "this just goes to show that this country is corrupt!" and like, no, it doesn't!

Fine, you want to have a broader discussion, that's your prerogative. But it's just not true that the current facts of this case are evidence for anything going wrong in US society. That doesn't mean nothing is! I'm honestly not interested in having that broader nuanced discussion in this forum. But I am interested in pointing out nonsense when I see it, and using this case in its current state as evidence of any kind of break-down in the rule of law is just that: nonsense.

Edit to engage directly more:

This is not the same as a mob raiding a newspaper, because law enforcement is, for good reason, given the benefit of the doubt. Especially when they actually do involve the courts by getting a warrant. This makes it worse than a mob when they act corruptly, and especially when the courts also acted corruptly. It's worse, but in ways that make it slower to investigate. The criminality of a regular mob is clear, while the criminality of a law enforcement agency with the support of a judge is unclear. Whereas it would not be hasty to arrest all the members of the mob in a couple days, it would be hasty to arrest all the police officers and a judge prior to figuring out the full story, which takes time.

So no, the system has not failed if it takes more than a week to see arrests. It will likely take more like 6 months to a year. And yep, I would absolutely like complex investigations to go way faster, but it's not unusual or evidence of corruption when they take months or years, it's the normal state.
to me wipeout 3 was the pinnacle of the genre. never matched after.
I remember there was heartbreaking posts years ago by an Australian author of a popular Delphi library. He basically said people loves his libraries but few would pay for them, so he gave up developing Delphi libraries all together.

Over the years, what I learned is that individuals or companies do not like paying for technologies. They pay for products. In the case of technologies, companies rather pay for "boring" workflows. For instance, companies pay for control planes, so much so that Amazon's Open Search can be a billion-dollar business. On the other hand, few companies would pay for AWS AI's Key Phrase Extraction or Amazon Forecast, unless data processing is part of the service and is a huge pain for the companies.
A LOT of things should be impossible for the website to tell. Focus, drm, mobile/Desktop

All (3) Browser engines are anti consumer spyware. There is no way to convince me otherwise. Why google and apple are not fixing this is obvious but Mozilla just keeps disappointing.

I'm desperately waiting for a Foss alternative.
It's bad to the people who feel that it is bad - that's the kind of topic it is. If I get priced out of my own neighborhood, it's going to be a traumatic experience that leaves me feeling disillusioned and bitter and sad. That's just how a lot of humans are - we can't ignore humanity. It's going to be great for those moving in! It may also be good economically, but lots of horrible things are economically positive. And no, of course it should not be a "right".
No, if importing something was enough it would be fine. It's more that how a lambda can only contain a single expression means you need to split and name things everywhere, how you can't pipe/chain things means you need to have intermediate variables or an ungodly amount of nesting etc. Yeah, technically feasible, but it's not "pythonic" so you solve it some other (to me) less elegant way.
Are you saying that what's happening is the permeability of the cell membrane changes with their physical states (from a scale of "more liquid" to "more solid")and that change impacts the transmission rate of the neurons? And an example of this would be an anesthesiologist putting you under is them making your cell membrane more solid to increase the resistance those neuron transmissions experience, just like adding more resistance to a circuit to reduce the voltage?

Disclaimer that biological sciences aren't my strength so I'm just trying to understand what you're saying.
All the teams I've been on that moved to Scrum have definitely been less productive using Scrum. I'm sure it can work but I don't think it has many benefits for actually shipping features.

This sounds like a better approach.
https://basecamp.com/books/shapeup
There’s nothing at this site except a hat that’s for sale and a claim that it’s raising money for a documentary?