skysight-inc/HackerNews huggingface dataset:
One solution as a consumer is to buy from a place you trust. It would be nice if there was a version of Amazon that didn't have 3rd party sellers and only consisted of reputable (verified supply chain) products.

Since Amazon is not providing this, one example of a place to shop is Costco in person. Things sold by Costco are generally reliable enough. On top of that, Costco has a generous return policy so I can buy whatever I need. If it was truly unusable/broken, I can return it easily.
I’d say the behavior is mostly historical.

Early GPU “compilers” [1] and their corresponding architectures really meant that “an if statement means go slow”. Also, IIRC, the original mask depth on Fermi was ... 32 branches, and afterwards you’d spill. So it was an adaptation to “don’t make the compiler work harder when you can fold the branch for it”.

I always found this to be worse for autovectorization with icc. Every once in a while, it would impress you by calculating masks and then blending. Usually it would not.

[1] Many of these “compilers” were really just blindly emitting code with no optimizations. The point was it ran correctly, and was effectively autovectorized. If you cared, you could make it faster.
Yup, I've completely abandoned Amazon for ANY kind of battery, and other categories of products (and I've been buying from Amazon for two decades).

I last (foolishly) tried again a few weeks ago for some SR44 cells. Should be easy, right? Nope, after digging into scores of bogus products and reviews, Fakespot, etc., it was just obvious that there are zero trustworthy products in that category. I found another battery specialist supplier, even tho they had a bit longer lead time and no free shipping.

(and don't even get me started on Amazon's lame search and sorting functions)
The original NYT article for the 2007 incident has more details about the problematic software: https://www.nytimes.com/2010/01/24/health/24radiation.html
Along the same lines, if you can avoid a distributed architecture, things get a lot more reliable. You can get a crazy amount of RAM, SSD, CPU cores on a single machine. If you run your system on a powerful machine with some other ones on hot standby, a lot of complexity goes away.
Hey, no worries! Rereading my own comment, I realise I probably made you feel bad. That was not at all my goal. There is certainly room for improvement releasing videos early for future editions by working smarter. We'll certainly look into that!
I don’t agree: I love the recent UI updates.
I was surprised to find PTP on my network a while back: Airplay 2 uses it in some cases.
Obviously sellers would initially only need to inform all 10k customers that if Amazon would ever request a review for them, there is a $20 reward waiting for writing a 5 star review. Obviously sellers would word things differently. This system would also be much cheaper to game because you only need to bribe 1% of all your customers.
@dang perhaps worth merging into the original author's post to give them credit?
SRE is just buzz word for managing/operating components and infrastructure at software companies. You can have companies that do it poorly and ones that don't. If it's an IT department that had been rebranded as sre, then yea, they would probably not be able to do as well as ones that are staffed properly. There are some overlapping skills, but to do it well, you need to understand the software side as well as the infrastructure.

How would you suggest that a software development team (one of many such teams in a company) that has no experience scaling or making software resilient operate? To just make a blanket statement saying that all sre practices are bad, seems unfair. Most companies won't be able to get the talent required to do it well in each and every team. Having specialized individuals that can help guide those teams seems logical.

The sre team can also cover the basics needed for a software company to operate with velocity and reliability. It doesn't really matter whatever you call it, but having the basics like logging, metrics, distributed tracing, dashboarding, and alerting managed well by one centralized team will help allow the component developers to focus on their components and not have to worry about all that other stuff.

The old way of having IT and developers complete separate was crap. Working together by using devops, sre, or whatever you want to call it has in my experience been so much more helpful in building and scaling companies.
I haven’t bought anything off of Amazon in 2 years. Granted I use eBay a lot, but the only time I’ve been burned is when I’ve bought something used and the seller never shipped. Otherwise I’ll buy things from Part-express, Vitacost, Target, Best Buy, Sweetwater, etc.
I received an Instagram ad offering reimbursement to buy a company's product on Amazon.

I signed up with a throwaway e-mail account. They sent a step-by-step guide to go to Amazon, enter a specific search term, scroll until I found their product, purchase it, and then send them the receipt for reimbursement.

They didn't ask me to write a review. They only wanted to generate the appearance of organic search traffic to their product.
When I find a place where a complex ternary is probably the best choice, I'm a big fan of the following format, because I find it clear that each line is a new condition

myvar = condition_1 ? value_1
: condition_2 ? value_2
: condition_3 ? value_3
: value_fallback;
I don't know about elsewhere, but Amazon India has been slowly phasing out returns for replacements. It used to be fairly easy to get a return on Amazon, but now almost every product I've bought in the past year or so (and that's a lot of stuff in a variety of categories, thanks to the pandemic) has been replacement-only. If someone gets a fake product, I doubt they'll look for a "replacement", so I'm not sure switching to a return% will be good enough either.

This is, of course, in addition to other issues with removing reviews, such as lacking nuance on why something was returned, etc. I've seen some stellar reviews on Amazon that went out of their way to list the minutiae of a product and the experience of using it, and that's helped me out a lot in the past.
It is also partly marketing. Apple has a lot of other pieces of the puzzle like privacy and racial equality and other socio-political issues well rounded up.

Loyal Apple fans and customers really like to identify with these principles.

Apple does this really well and most Chinese companies are transactional in nature and have been adversely affected by many political and humanitarian issues that are part of their ethos.
I don't get it. Why do they have to send real product to the person if they're not relying on the receiver to write the review?

They could ship an empty box if they just needed a tracking number. If the customer isn't coming into the feedback loop, they don't need the product.
Yeah, you're definitely right, it helps to see you put it so plainly. I'm going to do my best to focus on what's right for me, thanks.
I buy a lot of stuff on Amazon, some of it I know is a cheap knockoff, but at least I’m paying cheap knockoff prices.

But things I won’t buy on Amazon are SD cards or water filters for my fridge. You end up paying full price for a cheap knockoff. I’m sure there are others, but these two stand out in my mind.
Part of the reason I continue to shop on boutique eCommerce sites, for lack of a better term, is that a store with a good reputation can essentially verify it's own catalogue. I know if I buy for X or Y store they will have chosen the best product for the job, because their store's reputation is built on their ability to curate good products.
My point was, I believe the person who did this is is partly - aside from the joke aspect - trying to get it at the top of HN which will cause it to have a fairly large amount of traffic, which will in turn potentially lift the price point if they offer to sell to GitHub. After all, if you can show ppl commonly make this mistake when trying to access GH (hence the large amount of traffic), it incentivizes them to buy it. That is also why there is no redirect, because that would eliminate GH's need to buy it to begin with , since the end goal is already taken care of.

And even if this is not what they intended, they should now. I believe it's actually quite a clever way to add some value to this domain.
Small shops shouldn’t use SRE practices, that’s for sure. At small scale your infra is like a house with a couple of pets then - hand managed. But once you reach scale, you run a huge farm with a thousands of cattle. They require different approach, not only because of the cost (too many people would be needed), but also of the requirements (try to change anything, when you have that many people involved).
I don't really consider any machine learning AI, but nobody agrees with me.
For years I tried staying up all night so I would sleep the whole flight. Massive mistake. It still takes me 6 days to recover from jet lag, all I did was make sure I got sick on top of it. Some flights I slept 11 of 12 hours, others barely 3 hours, at the end of the day the flights I slept through were not measurably better, they all suck equally.

I've heard your mucus membranes dry out and lead to a way higher chance of picking up a virus. And so you ahould bring a squirt bottle of nasal water. I haven't done this enough times to judge the efficacy but I used to get sick every long haul flight without fail.

A friend of a friend died of a blood clot. Always take an aspirin before your flight for safety.
Look at https://www.npmjs.com/package/blessed and the -contrib package.
Partner with Officexlr to grow your business, faster
Canada. Canada! Canada! — another Canadian :)
I really wish more people from "non-computer related" technical fields would contribute more here. It doesn't matter what; i see HN as a "curiosity-feeding" platform. Also it doesn't have to be the "Hard" Sciences; "Soft" sciences like Social Behaviour, Psychological insight etc. would also be welcomed. The domain knowledge coupled to solving problems in those domains (with/without aid of Computing) is what i would really like to read/understand more.
It's a joke about how both hate people coming in from out of state
Chinese smartphones are selling extremely well and are currently the top ranked camera phones. The reputation of other Chinese brands is getting better too. Here in Asia I see Chinese branded stuff everywhere.

https://www.dxomark.com/rankings/

I remember back in the day "Made in Taiwan" or "Made in Japan" was considered a joke and mark of cheap products. That changed fast and to assume the same thing won't happen again with China is a mark of Western arrogance IMO.
I never experienced it myself, but I’ve seen reviews claiming they had a letter in their package that they’d get X currency if they leave a 5-star-review.
It depends.

If the assertion is that the customers targeted are a number of very high-profile companies and the US gov't, how often does either group refresh and then eventually sell off or recycle their surplus hardware publicly?

I would expect, if this is true, a lot of the affected hardware to still be running for many years to come, and the majority of the private hardware to be disposed of in a recycling pile rather than showing up on the secondhand market.

The government, as far as I know, does resell their used hardware sometimes in large lots, so perhaps some lucky customer cheaping out on buying hardware will find some exciting packets in their future...
> How do you figure that

Given 32 bit words you'll see 4 bytes per call for parameter counts. A call stack 100 calls deep will incur 400 extra bytes of stack space overhead; less than half a KiB. Along the way all extra 'arguments adaptor frames' are eliminated, so the net is even smaller.

That doesn't look like a problem. If you're 100 calls deep and you blow out the stack because it's 400 bytes larger you have other issues.
> 3), there are probably other stories that happened and didn't get reported in media.

Agreed 100%, that's why it feels so weird that conversation around this story always seems to drift toward reasons it must not have happened instead of looking for the islands of truth in a story that's probably way way way worse than any of us realize.
The online version of Walmart now sources from a range of suppliers like Amazon does. I was tracking down the supplier of a used laptop and discovered an eBay posting with exactly the same text and photos.
Man Emacs Is Slow
I have tried vs code recently after a long while. I opened up one of my react projects, instantly blown away by the speed of autocompletion and navigation. Even typing is faster than in emacs. I am using doom-emacs with minimal tweaks right now, and the typing feels sluggish overtime on both source code files and org-mode files. Restart emacs helps sometimes, but even with fresh instance, it still feels a little bit slower than vs code. Which makes vs code feels more like a native mac app and emacs an electron bloatware. That's a shame, I am still an emacs user, but it makes me seriously considering switching, maybe just for JavaScript/TypeScript projects.
Also just anecdata, but I’m the same way. I don’t mind buying commodity goods off of Amazon, but if I need to know that I’m truly getting product X of brand Y, I now typically go elsewhere, because I just cannot trust that I’m not going to get a counterfeit product. Over the years, I’ve received two counterfeit books and three counterfeit hardgoods from Amazon. That may not seem overwhelming, but it’s enough to break my confidence.
OP was contending that even the FAANG gravy train is over. My claim is that if increasingly talented engineers exist elsewhere, they would have already been hired and emmigrated to the US Tier 1 city HQs in the first place.

We already have a majority immigrant workforce, and talent is still scarce as it is. I am originally from the American Midwest growing up within driving distance to a top ranked CS university that attracts diverse students from all over the globe with near perfect standardized test scores, literally contending with the likes of Stanford and MIT.

However, our graduates all leave town afterwards for greener pastures at the usual suspects. We just recently got out first homegrown unicorn startup, and there are plenty of satellite offices for brand name companies here. Still, hardly anybody ever stays.

World class engineering talent abroad wants their golden ticket to the US, in particular, to a handful of specific cities only. The vast majority of my FAANG coworkers are immigrants, for example, and our interview bar is more selective than Harvard in terms of raw acceptance rate. Tech companies are essentially in an arms race for brains, even lobbying for more favorable immigration laws. Surprisingly, none of the people we have hired (and cleared our challenging bar for algorithm interview performance) have any desire to return to their home countries. Meanwhile, this global workforce has not dropped total compensation one iota.
Hmm? Which part implies “all bets are off”?

There’s the condition (evaluated first), the true case and the false case. Only one of the cases is evaluated.

I’m assuming you were alluding to some sort of “x++ = x++ * *x++” style situation, but the ternary expression isn’t a statement and there are sequence points in between. As a bonus, the first result for “ternary operator evaluation order” gave me someone who linked to the standard [1]. Quoting from the standard that they quoted:

> The first operand is evaluated; there is a sequence point between its evaluation and the evaluation of the second or third operand (whichever is evaluated). The second operand is evaluated only if the first compares unequal to 0; the third operand is evaluated only if the first compares equal to 0; the result is the value of the second or third operand(whichever is evaluated), converted to the type described below.

[1] https://stackoverflow.com/questions/65109494/order-of-evalua...
It's not just the lack of sources, it's the fact that Bloomberg made up complete nonsense to fill in the bits of the picture that they didn't have.

Off the top of my head from that time, I remember they asked someone about the plausibility of some part of the story about the component types that might have been altered, he pointed them at some random example from Digi-Key, and that example became their photoshoot prop.

All of their photos were provably fake and staged, and made no technical sense.

There was that whole sub-story about how supposedly Ethernet jacks having metal shields was one of the indicators of compromise (what? almost every piece of datacenter kit uses Ethernet jacks with metal shields).

The more you looked into the details, the less they added up.

The only thing we could confirm was that, at some point, Supermicro shipped compromised drivers. That part I can absolutely believe, and like the last bit of this story update claims, that may well have been an APT hack from a state-actor. That side of the story is entirely believable and self-consistent.

But the hardware modifications? Sorry, but the way that story has been reported is complete garbage. I'm not saying it isn't true, I'm saying Bloomberg provided no credible evidence that it is true, and plenty of evidence that they don't have the slightest clue what they're doing, and that their reporting is dishonest.

Originally I gave them the benefit of the doubt, but when they published the Ethernet jack story with less than 5 days to check anything from that guy, they lost all semblance of credibility.
I think Clubhouse’s community and interest-oriented spaces will probably be its key differentiating feature. Video meeting apps are generally targeted towards known audiences, while Clubhouse lets you spontaneously hop into a room with strangers.
Because Amazon itself is usually handling the storage and shipping -- you can't pay Amazon to store empty boxes in its warehouses. (With perhaps one exception: https://www.amazon.com/Cheap-Moving-Boxes-10-Pack-10MPK/dp/B... )
Thanks — I can see that it says who sells/ships the item just above the protection plan up-sell area, which I typically don't look at. It's useful for me to know that the "visit X Store" link at the top doesn't necessarily mean that Company X is actually involved in inventory selection/shipment, which is what I would have assumed based on having seen pages like the olight page, which seem to have been designed by olight. [1]

1: https://www.amazon.com/stores/OLIGHT/OLIGHT/page/098E844F-88...
Sellers can still game this system by bribing buyers with money, gift cards and products. Most fake reviews these days are written by real people with similar demographic profiles like your average buyer.
Did they take it down? (I used to see it when taking Caltrain, and I swear it said this as recently as ... 2013?)
> The iPhone 4 through 5s felt like luxury devices.

The glass back panel on my 4s was totally* impractical. I was afraid to set the phone down on any rough surface, afraid the glass would crack, smudges were now something to avoid on two surfaces instead of just one.

And I liked it and I miss it.

* Well, okay: one practical advantage of the glass back is how secure it felt in my hand. Fingertips don't slip on glass like they do on a matte metal surface.

IMO, the 4 and 4S are still the nicest designs in the iPhone lineup.
This post needs more MSVBVM50.DLL or MSVBVM60.DLL :)
There’s a less extreme version of the Chicago style deep dish which is about 1-1.5” tall that you might want to try.

It’s all the same goodness of a deep dish: creamy cheese on the bottom, sauce on top, crispy crust all the caramelization you could ask for. Just (I think) a better ratio of crust to stuff, and lighter.
> when the researchers probably didn't even think about transgender people at all

This here is the problem, and public discourse has a solution to the word you're seeking: transinclusive.

"-inclusive" succinctly provides a hint on how to be considerate, while being optimistic.

Hate & phobia issues aside.

Edit: Most research begins describing exactly why the research was undertaken.
It's surprising you're getting hammered for this sentiment, since as far as I can tell, no sentence is mistaken.
This might also be helping their Amazon brands. Easy to stand above the crowd in terms of quality this way. Also, they have all the data they need to target the most profitable / fragmented segments.
> I can use ESM everywhere - frontend, backend, buildscripts,

Once you mix commonjs and esm and try to import from one to another, it doesnt work anymore. Since major BE libs are commonjs you'll quickly face this situation. It's not related to ts-node but to ts' core. Besides, I find ts-node not that spectacular, it hides too much moving parts/it's too high level, it might be good for starters but nothing I'd use in production.
Amazon is basically my last resort these days. Unfortunately, the ongoing pandemic means there are times where I can’t justifying going out to buy something. But I wonder if they’ll be taking a bigger than expected hit once things clear up.
The per-transaction electricity measure is pretty flawed as the number of transactions per block is independent from the mining difficulty. Block size has already been increased twice (BIP 102 and then by SegWit), and can again in the future as number of bitcoin transactions scales up.

Over 75% of bitcoin miners are also now merge-mining (mining for other blockchains like RSK for example so this hash power secures not only BTC, but other currencies as well.
Ask HN: Any grapevine about what would be AWS Strategy for Elastic
My understanding is given the new license terms, AWS will not be able to offer commercial Elastic features such as SIEM, Observability, AI/ML on their AWS Managed Elastic instances. This is going to be a bummer for folks who are planning to use Elastic beyond the App Search and Log aggregation use cases.

Either way, the odds are stacked against Amazon Elasticsearch Service

1) AWS ELK team will have to invest and build parallel feature sets of SIEM, Observability, Beats supports, AI/ML, etc.

2) AWS will end up negotiating with Elastic on a revenue sharing model where Elastic commercial features are made available

3) AWS will slowly throttle down on pushing Elastic and make way for its own cloud native solutions such as Kinesis, CloudWatch, etc

Any thoughts on how you see this panning out !
If I limited your choice to answering questions in binary yes/no, do you really think that makes things less complex than a free form & lucid description of an issue/procedure? Perhaps if you are communicating exclusively with a machine..!
Okay. You mentioned looking from the outside, so I was curious if there was some “golden age” from news reports or our exported entertainment that you had in mind. A lot of domestic folks think that time was the 1950s, and I wondered if that was your impression as well. It was certainly mine until I started looking into things further.

The reality is that the police in the US are here to enforce the social order, not to protect the public.[0] It has always been that way; as the sibling poster said, it’s just more visible now. I think we have the chance to improve policing now because of that visibility.

Edit: I’m adding this paragraph in response to your other comment, which says in part “Police must have satisfied the primary requirements posed by the people at some point in the past, if we are to believe that democracy works at all.” I understand what you’re saying, but we are still struggling to get equal representation up and running here. Democracy may or may not work, but lots of people were excluded from the process until very recently, and there are continuing efforts to keep it that way. So in a very narrow sense, sure, police did what they were designed to, which is to enforce the social order. The social order is messed up, therefore police are too and always have been.

[0] See this Supreme Court case from 2005; a lower court ruling from 1981 says the same thing https://en.m.wikipedia.org/wiki/Town_of_Castle_Rock_v._Gonza...