skysight-inc/HackerNews huggingface dataset:
A specialty business like PlanBags doesn't survive 50 years without building deep decades-long relationships with some customers. It's easy to forget that in tech when the biggest players shut down services with no lead time.
Agreed. Keep the current nuclear on as long as it's safe and doesn't cost more than eg. a new green ammonia build.
>> 95% carbon-free generation

I am still not clearly getting the picture here - what exactly this means.

US has about 30% electricity generated by Coal and I do not see that go away in next 20 years let alone 8. What am I missing here?

As of today, US energy portfolio is around 83% fossil. The best case scenario for 2040 is something like 50%, that includes we get Nuclear fusion, massive battery storage, material science breakthroughs that will put a dent on steel and cement consumption.
I totally agree with you but it's not the backup I'm looking for (for that I use syncthing and then manually review my photos), but the catalogue. I want some automation, like auto tagging and sorting by year and sharing. That's what I like about photos really
I don't really see the problem with this either. It seems like they would have liked to capture him, but it was infeasible. The guy essentially declared war on the US with his actions. What special steps should they take because he is an American citizen?

A little different, but imagine if an American decided to go fight for Germany during WWII. Should he receive any special consideration above what native-born German soldiers got, before Americans start shooting towards him?
I one time did this in front of a police car (without thinking...), and the officers immediately pulled me over. It was evident that it wasn't for safety, it was that they felt disrespected.
FYI, you can still get 2-day free shipping from Amazon by spending >$35. In my experience, there are very few situations where I really need an item in 2 days but can't bundle in other necessities like toothpaste or toilet paper to pad the cost to get free shipping.
My problem with SQL is that it's 99% Excel and 1% A database query language. And the boundaries between are often not well defined. Why even have a SUM function, when it is not accelerated by an index, that makes using it automatically non-scalable. I think there should be a core language, perhaps similar to SQL perhaps not, as an interface to pure DB functionality, all the other 99% could be done in Excel and while it's nice to have, it should be more clearly separated.
That's quite broken (you'd want a different variable inside the body, vs clobbering the iteration counter, else this would process the last item in your list, then exit).
Is there a way to play this or its predecessor on Android, Linux, or chromeos?
> Edification isn’t required to make progress, in fact you’ll probably find a lot of self-educated people working on some of the world’s hardest problems, on this forum.

On an individual level, it may not be required. But over a full population, it certainly is. Some people do well with self-education, but that is the minority, not the majority.

> Regardless, higher education isn’t the only form of education. In fact trade careers and certifications give people more economic mobility than anything you could go to college for.

If we consider economics the main reason for education, we have failed as a species. I learned so much at university that had nothing to do with my career.

> And those people might feel a bit stiffed that someone with a liberal arts degree is getting debt relief on their backs, while the money they sunk into an expensive technical education doesn’t qualify.

Whether someone "feels stiffed" or not is irrelevant. Thinking that other people shouldn't get help just because you didn't is petty. Also, "on their backs"? That evokes images of crushing weight, which isn't what will happen to them as a result of this policy, although it is what happens to the people who went to college without this policy.
It’s not fair because it doesn’t solve the root college affordability problem. What about the students graduating a year from now and beyond?
Does not hold your hand
I love the Netherlands as much as many, great place with a lot of clear advantages over the majority of cities, but the geography is quite boring and the population density is definitely not for everyone. Different strokes for different folks
That sounds like a Firefox bug (and a common one I've seen in other software).

Tell me what organization. "Debian" would have been perfectly fine to show here.
Yeah, let's just bury those toxic cancer-causing compounds! What could possibly go wrong?

looks over at the 1300 superfund sites around the nation
Show HN: New UI for Ec2instances.info
Hey HN, 10 years after the project began we have updated the UI for the cloud server comparison site known as EC2Instances.info. This refresh brings a sticky filter bar so you can scroll and see what filters are applied, a more compact navbar, and improved UX for comparing instances.

I've also fixed numerous long standing UI bugs including: comparisons now load correctly on RDS and ElastiCache, sort by max ENI works, sort by RDS instance storage works, and all dropdowns have consistent behavior.

For maintainers and contributors, all the frontend libraries are upgraded to their latest versions, https://github.com/vantage-sh/ec2instances.info. Going forward, we are aware that the homepage size is quite large and have plans to address this.

We have tried to be good stewards of this project and evolve it carefully. Eager to hear what you think of the new UI!
No, the mathematical definition of counting (i.e. whether or not a set is countable) involves mapping to the natural numbers, which doesn’t include 0.
While most databases have more granular concurrency control, almost all application parallelism is handled by locking on critical resources, and having others wait for those resources become available. That's exactly what SQLite does, and it's not a big deal. If you have multiple processes, one might occasionally have to wait a few ms for the other to finish.
2019 Tom: "It is due to go online next year"
If you ask most people to just label their apples, they'd call the first one "1", and so on. Very few people would say, "please pass me apple #0".
Governments don't need to bother - they collect it directly.

- https://en.wikipedia.org/wiki/33_Thomas_Street
What to Do with Your Life
What counter? You're saying a counter exists before people start counting? Is this a form of mathematical Platonism?
Someday I'll have something to do with my Warhammer sprues I guess
>I doubt anything will happen

The last president who seemingly took issue with these powers was conveniently assassinated. His successor (and the successor's allies) wasted no time in appeasing those powers by beginning lots of wars that killed and destroyed the lives of many people. I too doubt anything will happen.

At the risk of starting a Chomsky flame war and for anyone curious about what happened in those wars, and why nothing will happen: read "Manufacturing Consent".
"Normalization" is a stretch, most games that have Denuvo are generally horrible by themselves which is why publishers who know it lock it out so that less people realize they have paid for garbage before buying it. The stalwarts of today's PC gaming industry like Valve, CDPR, Devolver, FromSoft etc. have yet to feel the need to rely on such cheap tricks.
Not really. Perspective isn't scientific and often cultural. Koreans, for example, famously have a different take and use a different counting systems to accommodate.

I am assuming that the reader is biased towards the average HN user. That won't always work for everyone who will come across my comment, but close enough for an unpaid contribution. I'm not about to write a novel to make sure I catch every edge case.
Indeed. A shitload simpler just to drop the VAT on E-bikes to zero for the first $1000 of value. But that wouldn't "create jobs" -- in the bureaucracy.
> To have any influence during the proof of work days you needed a server farm. This was also restricted to a small elite who could, if they wished, censor transactions.

Legitimate question because I don't know.

When I'm mining eth on my GPU while part of a mining pool, my understanding is that my GPU is racing to try and find the hash that works to start the next block. If I find it, I then am able to put transactions into the block and cap it off, but the reward doesn't go to me because I was part of a pool, so the pool shares the reward with everyone involved.

Are you saying I only find the answer to the block but the pool itself stuffs the block with transactions?
> Before 2010, we were doing just fine without executing citizens on suspect legal grounds.

Well, no; we just weren't doing it using the military. Or at least weren't doing it using the military in a way that we got caught. The US government (and, I expect, nearly every government since the dawn of governments) has been killing people outside of "the battlefield" forever.
Ask HN: Are student loans being forgiven?
Regardless of the political, economic and societal implications, I stand to personally gain from this as I near graduation with approximately $20k owed. Is debt cancellation a "for sure" thing at this point?
"If it's a big enough group then the obvious solution is to have a selection of prizes"

Why? Is this really necessary? Everybody has gotten a gift or prize that they wouldn't use or didn't really care for. You can gift it to someone else.
It can be done after the theft.

The shop writes the serial number of the bike (stamped on the frame) on the receipt.

If the bike is stolen, the owner reports the number to the police. The police can check any bike in their database of stolen bikes [1].

People purchasing second hand bikes will be wary if the seller doesn't have the original receipt. They can also check the frame numbers in the police database [1].

[1] https://politi.dk/cykler-og-koeretoejer/tjek-om-en-cykel-ell...
When I'm baking I start by zeroing the scale, then adding enough flour to reach 500 g (or whatever the recipe calls for). That's counting from zero.
I know that you're a weird anti-Apple contrarian but it literally says this in the article that we're discussing here.
Uh no don't reassign the loop variable in the inner scope. Use:

const j = (length - 1) - i;

in that case. Much safer.
I'm pretty sure I've found bootlegged subtitles that are just machine translations of official subtitles in the original language. And YouTube's speech-to-text automated captioning is actually pretty good with single speakers in English with good audio production, enough so that I often use them to follow along with videos.
It's an RCE (out of sandbox) exploited when you load a web page in Safari. Everyone is equally vulnerable to this, and you should be frantically upgrading. People panicked about Heartbleed, and rightly so, but this is arguably much worse,
You're misunderstanding his post. He's saying that if such a US-centric thing threatens the entire system, the system shouldn't exist at all. It will have failed at its mission to be decentralized and thus has no reason to exist.
Yeah. Ethereum has been the bane of home PC gaming for years now.

It would have been nice if they had at least moved to purpose made ASICs, like bitcoin had the decency to do.
Something has deeply deeply changed in society for a fertility rate to go from 6 to 0.8 in 60 years, the living memory of a single life.

Before, society grew with the average working age person only needing to half support an elderly retiree. Now, that same working age person will need to support more than 2 elderly retirees themselves, over 4 times the resources.

Has it occurred to people that, maybe, modern fertility is a tragedy of the commons? If everyone chooses to act in their own interest, society is worse off than collectively pressuring to have more kids? Ideally, that would look like major subsidies and benefits to parents to account for the extra work they are doing for society.

I fear if nothing else changes, developed countries are dysgenically wiping themselves off the planet, and the traditionally oppressive-to-women societies will evolutionarily outlast us.

At this rate, there will only be 3m South Koreans in 3 generations. I don't see how you expect a country to survive that decline. In 1960, Pakistan had 45m people compared to South Korea's 25m. Now, Pakistan is forecasted to reach 450m in our lifetime as South Korea implodes. That looks like our future.
I’ve had an audio crackle that happens only sometimes on my PC for years now.

Windows 10, Z170-A motherboard with driver for built in audio

Tried different cables, inputs (optical vs aux etc) installing different drivers, old drivers, new drivers, nothing fixes it

Super annoying when I want to listen to spotify or YouTube or anything
In that specific case I'd do the following:

for (size_t i = n; i-- > 0 ;) ...

Or count from `length` to 1, but subtract 1 in the loop body, or count up and subtract the length in the loop body. Any modern compiler should be able to optimise these to be equivalent.

In the majority of cases, counting down is not necessarily. Nor is ordered iteration. Most languages have a `for each` style syntax that's preferable anyway.
That was just your PC playing "red light/green light"
Honestly, I think this solution worked better than any dedicated feature could have, since it used the exact same existing codepaths that Cloudflare already had for CNAME flattening. Using CNAME records for self-documentation seems like a better practice anyway. Spending the time building a complicated new feature for such a rare case seems like a bad idea.
If everyone just called it offset instead of index there'd be no confusion.
A particularly topographically challenged building in Paris has exits to two enclosing streets end up on different floors. The elevator is numbered -2, -1, rez-de-rue [exit north], rez-de-chaussée [exit south], 1, 2, ... .
To be honest with you I am extremely excited by what you are working towards, but utterly beyond confusion when it comes to the GPU virtualization landscape. The walls that vendors have built in this area in their attempt to artificially segment "consumer" and "professional" are shameful. NVidia in particular has been reprehensible. I wish more people cared. Thank you!
That may be so. But just because someone is the creator doesn't mean they have control over how people use the name.

Case in point:

Blue Origin wants people to refer to it by the nickname "Blue". But you kind of have to be in the industry to know that. Everyone else just uses the initialism instead, which is most commonly used to abbreviate "body odor".
> they can offer whatever payment model they want

This is a distinct misunderstanding of acceptable capitalism. To be very blunt, it's simply not true.

We accept the idea that "greed is good" when it comes to capitalism only because we regulate the cases where the market fails to align the interests of the customer and manufacturer.

In cases where interests are aligned: Greed is good. The seller wants to take actions that increase profit, and that usually means either reducing the cost to produce the item, or increasing the real (or perceived) value of the item for consumers. Both of those are good things for all parties.

In cases where interests are not aligned we regulate the ever-loving shit out of the market because we have incredibly detailed historical evidence that shows that it devolves to straight abuse.

Things like

- Cartels

- Monopolies

- Fraud

- Misleading advertising

- Contractual abuse

- Unequal bargaining

- Regulated goods (black markets)

and several hundred other specific laws we have that only exist because without them people end up killing each other due to real (or perceived) injustice without them.
Last Port of Call
It's kind of fun to watch attempted sniping happen when they don't out-snipe my proxy bid. I use other auction sites that don't do proxy bidding and you basically have to either snipe or overpay if there's any competition for the auction.
I, too, suffered through this ordeal in the name of self-repair. The worst of it was having to, every now and then, file a slot into a tiny screw I'd stripped (#%!*) so I could continue with a flathead screwdriver.
And if someone did say that to me, I would pass them no apple, since that's how we use everyday language. And if I knew they were a programmer, I'd first ask them in which programming language they'd wish me to pass the apple.
I'm curious what HN folks' experiences with CCPA have been (from the consumer side)?

For instance, I filled out a form for CCPA data deletion, at a very large data broker, to receive a report on data they had collected and to request my data not be sold, and then had evidence that my data was both retained and continued to be sold several months later.

I wish surveillance was opt-in (yes, no one would and that is the point). It is quite a burden to try to "opt out" from data collection and sales with so many companies collecting, aggregating and selling this personal information.
It's also the fact that having a datastructure that stores few bits per /24 range in RAM is very doable in IPv4. Banning a /24 doesn't have too much collateral damage.

Whereas the same in IPv6 isn't feasible. There is no reasonable way to divide the IP space non-sparsely and keep in RAM and still ban without ending up banning a whole ISP.
This has been an article of religious faith, but I'm not sure it has ever been a technologically defensible opinion. Before the recent order of magnitude drops in battery prices, it may have been an economical argument, but to make that economic argument one would have to ignore the technological tech curve of solar and renewables.

And now that nuclear won't be able to compete on the economics, whereas 10 years ago we though we could still build nuclear for historical prices, people have not updated their reasoning.

Most of the models that included nuclear alongside renewables used far far lower prices for nuclear than we can actually build it for. And even then, nuclear was only selected at ~10% of generation for cost reasons, not tech reasons.
Neural Machine Translation with Bahdanau's Attention Using TensorFlow and Keras
> The AEC has its own Restricted Data classification which is not under the purview of the president to declassify.

They can certainly say that, but since the executive power is constitutionally vested in the president in Article II, it can't be true barring a constitutional amendment. I believe there are court cases already establishing that Congress does not have the authority to limit the President's power to classify and declassify[1]. In this particular case a constitutional argument isn't even necessary since Trump's conduct appears to be protected by the Presidential Records Act.

Of course this is Trump we're talking about, so half the country will happily shred the constitution to "get" him, including many federal employees.

[1] https://supreme.justia.com/cases/federal/us/484/518/
Woof.

MSRP: $3,499.00 USD
Regular price$2,699.00 USD
No. I am however familiar with their data cloud product.
Ask HN: Any idea how many bots are here?
Considering the ease of account creation, do we have any notion of which people here are really people? Seems like karma farming and networks to bury certain stories / comments or promote others wouldn't be too hard. Not looking for special insight into giving away the measures taken to prevent such things, but I am curious if other fellow humans are also concerned over possible unwelcome bots

- A real hominid using a board of keys
Surely this is socialism!

We have 2 corporations that can provide a competitive market, and since free markets lead to the best (pareto optimum) outcomes, this should be illegal.
I hope you haven't done this anywhere.

Makes my brain hurt, but I think this will only run through the loop one time looking at the last element of the array.
Easy: I have an array with 256 elements. And I want to store the indexes of various elements of the array off in another data structure. So many of them, in fact, that it’s important that the index values each fit into a byte. So, I want the index values to be 0..255, and not 1..256, since 256 doesn’t fit into a byte.
Not solving the entire problem doesn't mean it's unfair, it just means it's a step in the right direction on a longer journey. Policies like this are a first step towards policies that apply to future generations. If this can show that forgiving loans retroactively -- all the student loans from decades past that are still being repaid -- is feasible, then forgiving loans proactively for future graduates, which is much less cost, is definitely feasible.
I was setting up a trade show in Zurich when Janet Jackson was soundchecking Rhythm Nation in the next building. None of our hard drives crashed but that was in 88 or 89 so I guess maybe the vulnerability showed up much much later.
To some extent, possibly, but it is a very rich type system, and does not have null which in and of itself gets rid of a set of errors. I also find Rust culture tends to be more guarded on panicking due to having such a rich error type (Result), so panic is reserved for the worst possible "can't continue" scenarios (unlike languages with unchecked exceptions). Also, enum pattern matching is exhaustive which gets rid of errors where you simply don't account for new variants. The list goes on and on.
Fledge Services for Chrome and Android
SELECT FROM widgets VALUES id, factory_origin_id, frobbable_knobs
Even without any other sources of power, storage already makes sense for hydro since ideally you'd like to store excess water that comes during above average rainy seasons so that you have more power to use during a drought, but allowing your nuclear base load to stay running even when the rest of the grid demands less does seem like another useful benefit
Clearly not true.

First item on this list:
https://www.military.com/military-life/6-times-military-was-...

> 1863: The New York City Draft Riots
> the governor [...] had to call in U.S. Marines.
Energy prices everywhere are up. That is what happens when the global economy is bouncing back from a pandemic and one of the biggest energy suppliers in the world decides to embark on the first major land war in Europe in over 70 years.
This is exactly the reason the Nimrod language was renamed to Nim.
Who sets an accumulator to zero and then adds one in everyday language?
Yes, because the only way to drink, is to drink to excess. There are no other ways to drink alcohol.
Yes this is possible. You have to write some router code to bifurcate the payload.

Drop me a line at Tarun[at]appICE[dot]io

If you need more info
Yes. It's enormously frustrating that I can not pay Netflix, Google, Hulu to deliver me content in a language other than English. Google's own support pages seem to indicate that if I did do a locale switch to, say, France, that this was a fiddly process and that I would lose all my purchases if I switched it back.

Physical media on Netflix DVD, however, still work just fine and tend to have English and French and often Spanish.

Also, a much larger catalog that hasn't been diced up by license holders.