skysight-inc/HackerNews huggingface dataset:
Skylake-X already has AVX512 and Cascade Lake-X will have VNNI. Few workstation apps use them, though.
Please keep nationalistic swipes off HN. I realize you probably mean it in a good-humored way, and that's fine for ribbing friends or bullshitting with buddies, but it doesn't translate into the extremely wide and paper-thin world of a public internet forum. Here it just starts fires.
Again, per person costs don't matter if they are unsuccessful. And concentration camps? I'm not sure you know what a concentration camp is.
Great, I have been looking to experience the original NLS system. Apparently there is an issue with ownership of the code. A derivative would be close enough though.

Anyone bought this?
It's not a simple problem, as many of the posts in this thread indicate. If it were simple, it would be easy to solve. But there's a lot of factors at play. One of them is that the United States is big, really big. If you've never visited, you'll be amazed at how big it really is. And it's a lot more atomized than it used to be 30 years ago. Add to that the fact that rural areas are drying up, and more and more people are moving to urban centres.

Another is zoning and NIMBYism. Others here have explained this in detail far better than I could. But to put it simply, most of the public services that homeless and mentally ill people depend on are located in urban areas. When people say things like, "there's plenty of cheap housing in ____" they don't understand that no matter how much oversupply of affordable housing there is in that place, these people can't live there because they don't drive, there's no public transportation, and there's no clinics there.
RS-232 would be more useful though.

I like this departure from Apple’s custom of having as few ports available as possible.
Half of stranded turtles consumed plastic: OCA
I'm talking about the overhead involved in making the separate lines. But that's an interesting point - but counterintuitive as I don't need to build in coolers for the heat generated by LEDs. Do you have numbers on power usage?
My 5 y/o was unable to walk for a day or two last year. Diagnosed with this:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5429052/
A lot of software is compiled for very generic CPUs, I wouldn't be surprised if it's not used in many cases.
They add very little to the manufacturing cost but often quite a lot to the end user price. Corsair sells $40 RGB fans.
> could have been prevented if you had stopped upgrading minor versions, i.e. froze on one specific version and not even applied security fixes, instead relying on containing it as a "known" vulnerable database?

This is a valid question.

As a database and security expert, I carefully weigh database changes. However, developers and security zealots typically charge ahead "because compliance."

Email me if you need help with that.
I homeschooled. My oldest was accepted to college at age 13, but didn't attend (long story omitted). I was briefly Director of Community Life for The TAG project, a gifted support organization I was involved in to support my homeschooling efforts.

Chores serve the same function as homework in terms of teaching kids responsibility. They have the added benefit of being a real world task, not "make work."

When my kids couldn't focus on their schoolwork because of video games, I locked up the controllers until school work was done. It wasn't punishment. They got them back as soon as their work was done.

When I got tired of one son blowing off household chores because he wanted to see his TV show, so he would ask if it could wait for a commercial, but then he never remembered during the commercial, I began telling him "No, this needs to be done when I ask because I'm spending hours begging you to do it and it's an unreasonable burden on me." After a few times of having his TV shows interrupted, he began taking out the trash voluntarily before his shows started and asking if there were any other chores he needed to do so he could block out uninterrupted TV viewing time.
Ask HN: What are you all using to automate desktop setup and config?
So, as seems to happen a couple of times a year, I'm faced with installing (in my case Ubuntu) GNU/Linux on an x86 machine for personal use.

Then I'll have to go through and do all the things I always do:

* Install a bunch of packages: net-tools, vlc, sshfs, and like 30 others

* Install Steam and Discord

* Install browser extensions

* Set some config options

* Pair with my bluetooth devices

...and on and on.

What is everyone using in 2019 to automate some or all of these tasks?
Thanks for that link. It mentions a postal van lasting a week on one battery stack and testing with full loads. Cynical me says politics and oil industry but manufacturing and logistics surrounding it must have been challenging as well.

[edit]
[0] Mentions the Deutsche Post thing as a pilot project with a "regeneration" plant for recycling. So might just have been funding drying up when the project ended.

[0]: https://ieeexplore.ieee.org/document/661884
What I wrote seems clear, and this doesn't remotely resemble it.

Individuals are not "China" and deserve the benefit of the doubt regardless of their national origin. That seems like a platitude and I can't quite believe I need to repeat it here.
The Impact of Car Pollution on Infant and Child Health [pdf]
Unrelated to code, but related to IP space - there are at least two "reserved IP spaces" that look like they are completely usable by private networks, not included in RFC1918.

198.18.0.0/15, reserved for benchmarking devices across subnetworks.

100.64.0.0/10, reserved for carrier-grade NAT. This one might have the higher chance of a collision depending on your use case or if it's part of a VPN pool.

Several ISPs I have tested all drop them when you traceroute.

So if your organization can't switch to IPv6 internally and has performed horrible IPAM on RFC1918, here is a last chance... don't screw it up.
Probably need to support SPA webapps, as they're very prevalent on the went today. Good work though!
It's highly likely that you had myositis. It usually happens as a response to an underlying infection. The body's immune response is such that it destroys muscle tissue, typically the calves, sometimes the heart.

My 6 years old son had it earlier this year and we were lucky enough that they detected a flu infection (he had no symptoms at all!) as a consequence of standard hospital tests, after being without answers for 12 hours. With that clue the doctors then were able to infer myositis from further blood tests. I never imagined you could have flu without symptoms!

He was back walking and running a week later, as soon as the muscles regenerated.
Have thought about this too. I guess a lot of people have, considering how many people dream about falling.
AsRock has "PRO" AM4 motherboards in black/grey colors.

http://in-win.com/ makes quality cases without windows.
It only feels right to call something a loophole, IMHO, if it's clearly out of the scope of the intent of the law.

Not a loophole:

Government passes electric car tax credit to promote electric vehicles -> Entrepreneur starts a successful business selling them due to a relative advantage over conventional vehicles.

Government taxes businesses based on how profitable they are -> Business pays none of the tax because it hasn't made back its initial expenses.

Loophole:

IRS doesn't consider it a kind of compensation when employers provide meals to coal miners, since it's really not feasible to eat at a coal mine any other way, and so exempts employer-provided onsite meals. -> Tech companies in urban areas provide all meals, and employees get all of a day's food, through untaxed onsite meals.

Government allows deduction of business expenses from taxable income. -> Business mysteriously never has taxable income because it blows all profits on "consulting services" from an untaxed non-profit that the owner runs.
OT: Is FAANG now used to refer to FAAMA (MS, Alphabet)? I never understood why Netflix was in there with such a small comparative market cap.
> Release every cycle no matter what was completed.

What happens when your software is in a broken state that's worse than what you had before?
Check my comment below about myositis, it's most likely what you had!
That's irregular, though, and obviously a "corrected" text for the American market, right? What does the copyright/publisher info say? The KJB is notably copyright-free, so US publishers were free to modify it.
This is one of my favorite words.

The article is a good summary of what produces the smell, but why do humans tend to find it appealing? Is it wired into our collective subconscious?
It's so bizarre but I actually want to know this.

You know, just in case.
That's not how things are done. Practically every library that has optimized implementations for stuff selects the implementation at runtime based on CPUID.
At least birds have good taste.
"as opposed to throwing these non-upgradable, hardcoded v4 devices out"

Prepending bits wasn't a solution for the problem he discussed.
There's got to be a catch. If the technology is so much better, why is it so shunned? I have great trouble believing that Big Lithium would really be preventing it's use given that aluminium is abundant everywhere.
It sounds like you don't get what the article's point is. The article is NOT using volatile as a barrier mechanism. It's using it as a compiler-enforced type annotation, which you strip away before accessing the variable of interest. It sounds like absolutely nobody here is willing to read the article because they think they already know everything the article could possibly be saying. Fine, I give up, you win. I've summarized it here for you.

The idea is this you can use volatile like below. It's pretty self-explanatory. Now can you look through this code and tell me where you see such a horrifying lack of memory barriers and undefined behavior? (And don't point out something irrelevant like how I didn't delete the copy constructor.)

#include <mutex>

template<class T>
class lock_ptr
{
T *p;
public:
~lock_ptr() { this->p->m.unlock(); }
lock_ptr(volatile T *p) : p(const_cast<T *>(p)) { this->p->m.lock(); }
T *operator->() const { return p; }
};

class MyClass
{
int x;
public:
MyClass() : x() { }
mutable std::mutex m;
void bar() { ++x; }
void foo() volatile { return lock_ptr<MyClass>(this)->bar(); }
};

void worker(volatile MyClass *p) // called in multiple threads
{
p->foo(); // thread-safe, and compiles fine
p->bar(); // thread-unsafe, and compile-time error
}

#include <future>

int main()
{
MyClass c;
auto a = std::async(worker, &c);
auto b = std::async(worker, &c);
a.wait();
b.wait();
return c.x;
}
> E.g. using a lambda in a function originally written in C++98 does not make the existing code less safe.

You may not be able to if the lambda captures state and you need to convert it to a function pointer.
Sure, I only really know that I have qualia. It seems reasonable to assume that something which looks like me has qualia like me. But if it's a simulation, it doesn't actually look like me at all.

It does have a sort of abstract mapping to something that looks like me, but since I have no idea what produces qualia, I have no way to know whether something essential is lost in that mapping.
Yes there was. Java’s adoption itself was largely a result of corporate fashion and was brought into university and high school curricula to meet their needs. Fashion has always been part of the industry in some way.
I'm very surprised that something like that even makes it into production. You'd think processor manufacturers would have an extensive set of test cases, at least one for each instruction...

I remember reading somewhere that, for a long time, Intel's "test cases" basically consisted of all the operating systems they could find, going back to MS-DOS 1.0 and including some more obscured ones, as well as tons of other third-party software.

Unfortunately it seems this new generation no longer follows the "NEVER break backwards compatibility" principle that made the PC such a great platform, and as a result we're seeing hardware/software/firmware that's increasingly buggy and divergent. It used to be the case that if a new processor couldn't run existing software (even that which depended on undocumented but constant behaviour) unmodified, it was a fatal flaw.
Extensive Blackout Reported Across Midtown and Upper West Side of Manhattan
I don't understand. Time-to-train is always a product of model and the amount of hardware you use. TPUs are fast and cheap allowing you to use more hardware for the same cost. The TPU design also makes it scale quite well.

If you really wanted to get from 48 hours to multiple experiments per work day, you could (probably) do that right now by scaling horizontally. However, the cost becomes a major issue when you do that on GPUs. This is where the TPU shines since you can scale out without cost crippling you.

I work on training on GPUs and the TPU is definitely an incredibly useful piece of hardware, not a vanity project.
The ideal subscription customer never logs in and next comsumes resourses.

Grind is not the optimal subscription model. It exists only cause its easy to keep gamers engaged with grind.
Not sure why this was downvoted, decltype was introduced with C++11 alongside of auto for declarations: the example given isn't accurate of reality. A better one might be a function returning auto vs returning decltype(some expression).
Really? The photo clearly shows 1 USB on the left side of the machine. You can use that for your mouse.
Your comments in this thread have broken the HN guidelines. Would you mind reviewing them and sticking to the rules when posting here? We'd appreciate it.

https://news.ycombinator.com/newsguidelines.html

Getting personal, bringing up whether someone read an article properly, making uncharitable interpretations of other comments, snarking, and posting in the flamewar style are all things they ask you not to do and which we're trying to avoid here. Not that your comments were anything like as bad as some that we see, but even in seed form these things have ill effects.
Life expectancy 1 million hours MTBF

Garish LEDs aside, marketing that sort of blatantly false exaggerated spec should be illegal. 1M hours is over 100 years.
Yes the locking pointer pattern shown there is also UB because it is UB to define something as volatile and then cast away the volatile and use it, which is the core of that technique.

Yes, it's not UB in the race sense, because he is using mutxes everywhere there and just sort of overloading the volatile qualifier to catch member function calls outside the lock. In addition to being UB, it's weird - why not just escapsulate the object itself inside a class that only hands out access under control of a lock? That is, why have the volatile object passed in from the outside if you will never legally access the object?

The very premise of this article, that volatile is for concurrently modified objects across threads is false in modern C++ - and the very first example is a faulty use of volatile under the assumption that unguarded concurrent volatile access is safe.
Oh neat, thanks! Yup, that sounds like a more general/flexible version of what I was trying to do.

I was focused on situations with just one writer (and originally also one reader), with the main thing being avoiding allocations. The situation where future values actually depend on past values, and specifically the current past value with other writers in the mix, is definitely trickier.
I agree, and I and many others raised it repeatedly with the HTTP2 editors/mailing list in particular, who sadly murdered that proposal because they believe in their god-given right to squat the A record for their protocol. I believe the failure to address DNS considerations in the HTTP standard has driven a large part of ongoing IPv4 exhaustion.
It’s reserved as a source, not as a destination, based on the table linked there anyways. Which implies some interesting things that aren’t as simple as “0/8 is reserved”.
This was exactly my thought.

I remember people in SF claiming that there are roughly 1million people in San Francisco [1] . And roughly 1million total housing units. Therefore there is no housing crisis.

Galaxy brain stuff really.

[1] https://48hills.org/2018/04/myth-housing-underproduction/
It's amazing how many stupid assumptions on the part of some people create these extraordinarily difficult situations to navigate.
IMO, device addresses are irrelevant - the real pressure is whether end users can get at least one public IP.

NAT is actually a security feature. Not because it necessitates a stateful firewall (as is often believed), but rather because it hides specific client host addresses from servers. The last thing anybody should want is to leak even more information to the surveillance companies.

The problems of IPv6's larger address space can be mitigated similarly to v4 while retaining some advantage - for example NAT onto random "host" address for 16+64 bits of saddr+sport rather than just 16 of sport. The point is that a flat address space isn't the RPC-panacea it was when protocols like "active FTP" were invented. In the modern world, blithely taking one's supposed L2 address and stuffing it into a higher level PDU is basically a layering violation.
Why in the world would you only show rent as a percentage of median household income from 2006, the peak of the housing bubble? That's actually the crisis; everybody's rent went up during a financial bubble, the bubble popped, everybody's rent stayed the same.

And why would you measure median rents against median household incomes anyway instead of against median individual incomes? The median household can grow and shrink depending on housing cost pressure. Maybe the median household is 1.8 median incomes now rather than 1.2, but this statistic wouldn't pick that up.

These statistics seem carefully crafted to paint a particular picture, not selected to paint the most complete picture. And then I notice the author and the venue, and wonder why I wasted time on this comment.
It's pretty funny how this has basically the same ports (besides the USB C for charging) as my 2010 VAIO Z.

VGA is the most surprising one to still see. I wonder what the reasoning behind that is. I can't really see them targeting the corporate market.
Please don't break the site guidelines no matter how wrong someone is or you feel they are.

https://news.ycombinator.com/newsguidelines.html

Edit: we've given you many warnings. Continuing will eventually get your account banned, so would you please take the spirit of HN more to heart and fix this? We'd be grateful.
Yeah, I totally agree with you, but also make sure you're not being an asshole with websites and hammer them to the point of bringing them down. Be respectful of their hardware _and_ take the data you need. No need to be burn everything down.
A clear example of “just because you can doesn’t mean you should.”
You're generalizing from 1 example. I don't remember being called smart, but I definitely was smart (comparatively, always in the top of achievement except sports through my schooling including Oxford university). I wasn't afraid to ask questions and was happy to risk looking like a fool in order to ask a question about a complex topic (which, given it was complex for me, it was also likely complex for other people).
Nah, let’s cut that out too and go even further: https://www.independent.co.uk/news/science/blindness-cure-br...
The battery's "only waste product is aluminum hydroxide..."

Producing Al(OH)3 is an intermediate step in the Bayer process (used worldwide) to convert bauxite to Al2O3 - a process which requires a lot of energy and produces a lot of (dangerous) waste.

So there may be potential there for this battery's 'waste' to actually save -more- energy.
I guess the keyword is, "completed". If something is broken, I doubt it would be in master, or the team has done something terribly strange. Or they should be nicer to QA ;)
IDs are sequential and immutable. Timestamps can shift around as part of the re-upping process described at https://news.ycombinator.com/item?id=19774614. But I don't think that happened with either of these submissions.
Watching Porn Produces as Much Carbon Dioxide Emissions as Whole Countries
> I hate unique_ptr and shared_ptr, using them is so glaringly inconsistent.'

They're glaringly inconsistent because they behave differently with regards to ownership, and the fact that you can't copy them or pass them around in certain cases is because they're designed to stop you from doing this as it would undermine the reason you're using the class.
If you weren't called smart, your anecdote fails to actually contradict theirs. Theirs is also supported by the research, which says generally that it's harmful to children to praise them for being smart. It's better to praise them for effort and results.

https://bingschool.stanford.edu/news/carol-dweck-praising-in...
Please don't take HN threads on generic ideological tangents. All these battles have been fought a million times on the internet and nothing new ever comes of such discussions.

https://news.ycombinator.com/newsguidelines.html
What happens if you are over water? Can you get some horizontal speed and try to skip across the water?
> it is UB to define something as volatile

Can you point me to which part of the standard says that it's UB to cast away a volatile reference to a non-volatile object? See my example in [1] if you don't see why the object itself doesn't need to be volatile.

> it's weird

No, you're just not used to it. It's perfectly fine once you use it a bit. And regardless, there's quite a huge chasm between "it's completely wrong and undefined behavior" and "I don't like it, it's weird".

> why not just escapsulate the object itself inside a class that only hands out access under control of a lock?

That's a separate discussion. Right now we need to get the UB-ness claims out of the way. Once we agree it's correct in the first place then we can discuss whether it looks "weird" or what its use cases might be.

[1] https://news.ycombinator.com/item?id=20430882
UC is big enough they could actually start their own journal.
> is the new pack I swap going to swap back to me or equivalent?

the packs are not rechargable, you would be buying a new battery and getting paid to recycle your old battery.
Can someone explain why an alternative hasn't popped up for these universally-hated publishers? What's so hard about hosting a bunch of documents?
The previous poster was referring to the cables on the right getting in the way of using a mouse to the right of the unit, not that you couldn't use any the right ports for putting a mouse in
Customers Lose Power as Electrical Failure Hits Manhattan’s Upper West Side
I suspect most of that time isn't to reduce traffic costs, but to try to thwart their competitors
Hardcoded ipv4 non upgradeable devices should be trashed.

They should be actively blocked or redirected to a site that offers quality hardware (Cisco need not apply)
Streaming Cassandra at WePay
Which specific example is choosen doesn't seem all that relevant for the point of "there's these two similar but not identical things people have to/might not understand the difference of"
What do you mean? Section 1202 was very explicitly amended as written to stimulate investment in small business.

It is a huge incentive for Series AA and A investment, particularly for smaller early stage investors where it can effectively double the return.

It’s a fantastic policy to help small business raise money and also retain top talent versus the Goliaths.

There is nothing unintentional about Section 1202. The value of the tax break was strengthened during the Bush stimulus, and then extended and eventually made permanent under Obama. It is a nice bit of tax policy with bipartisan support.
This /8 won’t make a dent in that problem. Until every single device is capable of IPv6, IPv4 will continue to persist.