skysight-inc/HackerNews huggingface dataset:
I've been pondering a way to implement a quantum random number generator into a game. Could this be useful at all?
Until eventually you are promoted to a role where you never become competent and there you stay.
Strange to see this exact topic come up twice in two days (the other on Reddit).

But as a huge fan of the original AC, it's always fun to see it come up still.
It's amazing to see Rust used so much even in web projects. It's my favorite language and I don't want to use it for web programming anymore. I've used it for too many "real" web apps (I mean webrtc signaling and web socket) to go through the pains of optimization.
But it's still fun to work with.
It answers right there in sentence 3 _why buy from Framework_.

> the handheld Steam Deck relies on the physically smaller but less common 2230 format. As a result, it can be difficult to find legitimate sources for larger capacity drives ... Since we order a huge number of Western Digital drives already, it’s relatively easy for us to add one more line item

> Sounds like they're just trying to cash in on a new market.

So, business 101? What's the problem? They're offering a legitimate product for a legitimate market trying to solve a legitimate problem they identified.
I think Google was all over the place until roughly covid, but for the past few years the mission has solidly crystallized. Ads (dragging Search along), Youtube, "Platforms & Ecosystems" (Android, Assistant, Play & Chrome), Hardware (Nest, Fitbit, Pixel), Cloud. That's not really a very broad or convoluted set of priorities at the top level.

The problem is the culture. Google is an exceptionally poorly managed company as a rule I claim this is by design from the beginning: as an engineering meritocracy, the technically best ideas won (over time) and employees voted with their feet. That doesn't scale. I'd argue that it began to fail pretty dramatically around the time Diane Greene took over Cloud and Prabhakar moved over (you could probably also argue that those org changes were lagging indicators, and the real start to the "problems" began when Ruth was hired) to run Ads/Search. As the board became increasingly business focused, the lack of solid management or even strategic leadership became more problematic.

What's rule #1 of B2B? Being responsive to your customers' needs and acting predictably. The lack of top-to-bottom management combined with the legacy meritocratic culture have not lent themselves to the same sort of command-and-control hierarchy you see at places like Apple & Microsoft, both of which have been almost entirely market driven for decades.

If you look at this[1] org chart cartoon from about ten years ago, you see what things looked like then. You had the Cult of Jobs at Apple, where a singular leader compartmentalized the entire company. You see the Sales & Marketing driven Microsoft, where Ballmer created stupid internal coopetition, and you see the insane messes at FB & Google. I suggest these are no longer accurate representations. As all of these big tech businesses have matured, everyone is converging on Amazon's & Oracle's command & control model, which is the traditional strategy for managing large organizations. It has been easier for some to get there (MSFT, for example, just had to remove the "guns" from their org chart), but at places like Google & Facebook there are fundamental changes that are required for the corporations to run efficiently that are also orthogonal to the founders' principles of how things should work, and (in my opinion) what you've been seeing in the past few quarters are "light" attempts at dealing with that. For Google it was the "cut off your nose to spite your face" 12k layoff. For FB it was a more existential staff cut but also the more recent notice to middle management that many of them are expected to become ICs again, to remove redundant layers.

I don't think it's in Google's current culture to "turn the ship quickly". Frankly, under the circumstances, I think the only way to legitimately force this would be to divorce Ads from the rest of the business (or even just make it its own Bet). Anything else will likely fail, slowly, and feel like death by a thousand cuts for the rank & file and like pushing a string uphill to the leadership.

[1] https://ritholtz.com/2013/07/organizational-charts-of-amazon...
https://nandgame.com might also be relevant to you.
Someone wake me up when there's an audited, redeemable stable coin with several second transaction times and double digit cent transaction fees.
This. I run a sole proprietorship LLC for platform engineering consulting services.

I’ve had CA companies give me a hard “no” until they learned I was incorporated in AZ, living in AZ, and that a majority of the work would be performed remotely from AZ.

As I understand it (second hand from these companies) they open themselves up to liability under California labor law if it’s later determined that contracting/consulting work was “misclassified” and “should have been employment.”

I don’t personally know the reason for this, or what the liability is, but it seems like some companies are worried about having consultants/contractors later reclassified as employees. Me being in AZ has been the turning point for closing contracts though.
Wonder how you differentiate yourselves from others in the space like Dehancer (which I find excellent, and is half the price), or older players like FilmConvert?
> language is a reliable representation of what type of thoughts are going on in the person's mind

The wording used here inherently rejects Linguistic Determinism and, to a lesser extent, Linguistic Relativism.
How so, isn't that exactly what it is doing to an even greater degree? Those who would never have the capability of doing something are now able to do something they only dreamed about.

It is exactly the inverse of previous advancements, in that those already at the top don't get nearly as much benefit as those at the bottom since I will be able to copy your skill no matter how good you are and reproduce it infinitely.
In my experience, university CS courses are always pushing woefully outdated tooling and avoiding any remotely modern standard practices like the plague.

I was lucky to have one course in 2018 in which the professor actually included the most bare bones `git` usage.

I actually never had a class in which an IDE was recommended. In 2008 I did have a class on C (first half C, second half Java) in which we were restricted to using C89 because that was most widely adopted in industry. I really missed block-scoped variables in for loops (`for (int i = 0...)`).
> is what used to be implemented

no, anti-trust laws talk about abuse of monopoly power, which can only be established after years of said abuse and which leave many of the negative patterns untouched. I'm talking about using market share itself as the metric

> "hard core" market solution

I call it hard-core because most of the arguments for "free market" solutions wind up protecting large businesses. I'm talking about making sure to subject large businesses to market forces for the benefit of consumers, whose jobs I'm not willing to protect. To put it in vulgar political terms, neither the socialist Democrats nor the capitalist Republicans would support what I'm talking about, that's how you know it's good. And it's more of a thought experiment, it's like saying "I know the answer, carbon capture!" when carbon capture is the unknown hard part, but you have to think this way to achieve a breakthrough. I'm focusing attention on the parts of the market that are failing.

> not at the expense of unemployment

you're writing patiently as if you're teaching me something (which i don't mind, i'm pedantic af, welcome friend), but unions getting higher wages at the cost of higher unemployment is standard econ 101, taught in every class everywhere, except maybe Political Economy where they talk about workers's feelings.
I feel like you tried to describe it as a negative but that is called delegation and the trait of a good manager. Of course it's a spectrum and there are negatives and positives but the concept itself is not bad.
>no muting/blocking

https://news.ycombinator.com/item?id=33365189
You would probably not test "happens x% of the time", but rather that for a given set of inputs, passing in 0.1, 0.2, 0.3, etc, let you have the expected outcomes across the distribution. So you're testing that you can achieve each outcome across the spectrum with a pre-selected "random" number.
>I'd love for NYC to mandate that ACs must function as heat pumps: the additional parts are cheap, and as America's largest market for window AC units, the NYC market would force competition for much cheaper heat pump window units.

This isn't great if you want a building with hydronic heating and forced-air cooling, which is really just the ideal form of both technologies — hydronic cooling creates condensation, while forced-air heating smells bad and leaves you with cold feet.

Also, I found that Home Depot's website tends to be pretty clear about which window units are also heat pumps.
Nice. A few more ideas: consolidate small functions into one huge function; change await to callback hell in JS; goto!
Many of the supermarkets in the urban areas of Seattle have no surface-level parking lots and some have no parking lots at all. They are mixed in with all the other store fronts.
Oh I didn’t say anything about webpack. I haven’t used the GitHub features you’re talking about but that sounds like a build to me!
> if they'd opened the standard it would have been adopted as "the new USB"

That isn't self-evident as true. Tesla opened the patents to their charging connector but I don't think anyone's used it, they're still using goofy CHAdeMO and CCS and whatever else.
I'm not sure it makes sense to push more people to EVs when California's grid can hardly keep up with household electricity usage. Over in the Northeast, I suspect Vermont regrets its "pay people to move here" move in 2020 that has only worsened our housing crisis. This feels very similar to me.

Does anybody know if California has plans to significantly expand power generation in the next couple of years? Otherwise we might see even more rolling blackouts soon.
This is known as the Peter Principle.

https://en.wikipedia.org/wiki/Peter_principle
Yep. This wasn't about low performers, at least not in my company.
Our open office shows that it's not about space. There's still a lot of space between desks, enough to have cubicles. There are several empty seats even. The rest of the office has tons of barely-used employee space, like big table tennis rooms and open seating. The desks are always arranged in a way that the screens are facing everyone walking by.

To put it another way, I can just take my laptop and work in a common area with a wall behind me, and I get more space and privacy. That's what I do. I'm not slacking, I just don't like eyes on my screen at all hours and people constantly interrupting me.
This particular implementation uses various libraries (crates in rust) already which basically do the sort of thing you're looking for.

i.e. This is the thing you want it's just not one library it's a collection of libraries and a collection clis which use those libraries.
The ripple effects of layoffs
I once paid Udacity $200 a month back in... 2013 or 2014 to get a certificate only for them to change classes and objectives continuously. I completed every single part of their program except for the exit interview, couldn't get a straight answer about whether the changes impacted me, and gave up entirely.
Haha funnily enough that is our (Flagmsith's) exact algorithm!
There are several reasons why some people prefer alternatives to Elasticsearch, including:

* License preference: Some people prefer true open-source licenses as opposed to the license that Elasticsearch has switched to.

* Performance and resource consumption: For some, performance and resource consumption are significant factors in their choice of a search engine.

* SQL vs JSON DSL: Some people prefer using SQL over Elasticsearch's JSON domain-specific language.

* Maintenance: Some believe that maintaining Elasticsearch can become challenging when the data collection becomes large enough.

That's what I've heard from those who preferred Manticore over Elasticsearch.
Its disappointing that C++ was chosen to build something that is going to live in-process. Rust would have been so much safer. All the segfaults you get when running DucDB supports this statement.
I'm familiar with all of these neighborhoods as a < 5 year transplant, and several are not particularly walkable neighborhoods, certainly not by the definition proposed in the article. This is an odd thing to gatekeep on.
I see no MDX query support. How is this an OLAP database? Or do I misunderstand what it is?
Show HN: Explore the Benefits of Fluttips
What is a stealth plugin?
In your example, the weights need to add up to 100 to work correctly, right? The issue with the code in the article is that the weights did not add up to 1.
Here’s me using Solana:

https://twitter.com/portalpayments/status/162228646713646285...

Solana transaction fees are fractions of a cent as you can see.

Portal, which my cofounder snd I wrote, supports Solana’s transaction priority fees (which still costs less than a cent), which gets transactions into blocks faster, so less than a second as you saw in the video.

The transaction fees are based on compute rather than amount which you probably know, so it could have been a million USDC and the price would be flat.

USDC is considered the best capitalised stablecoin and Portal defaults to it (or EUROC in future) because we care about payments more than speculation.
Sounds like it used to function as something of a roundabout, and America forgotten how to navigate yielding to traffic coming from a relative direction (i.e. people already in the roundabout from your left) instead of someone always having the right of way, or the weird turn-taking stress of an all-way stop.
Well my intuition is that the machines aren't performing comparable processes, and I'm totally open to information going the other way. I'm not open to baseless assertions otherwise.
Auth0 (Okta) has quite a few Latin American (Argentina) and Spain workers. Don't know if that is growing or not.

> They still can't fill positions, and the dwindling population of the active workforce due to COVID will ensure that employees are in the driver's seat for a long, long time.

There are hundred thousands of jobless hi-tech professionals, let's see if this state stay for long.
And what's the last revolutionary consumer technology that has come out of Apple? The original successful Macs, the iPod, the iPhone, iTunes, those were all under Jobs.
Here's the standard algorithm for this problem

function weightedRandom(weight, outcomes){
var total = sum( weight );
var roll = Math.random()*total; // value in the range [0,total)
var seen = 0;
for(let i=0; i<weight.length; i++) {
seen += weight[i];
if(roll<seen)
return outcomes[i];
}
}
They still don't have access to open web and ability to work with URLs. What's the sense to upgrade?
> regulate that down to something reasonable like 5% or 3%

How is 5% "reasonable?" Who determines that? That's not something up for a vote -- that's up to the market.

Let's say you have an iOS app.

If you sell it for $5 on the App Store, you keep $3.5. And you sell 100,000.

App Store nets you $350k.

And let's say you sold the app direct to users and did everything yourself:

$5 sales price, you keep $5 however, you also have to collect and remit sales tax for jurisdictions in which you sell. Your street price is $5 + tax, and you keep the $5 but you incur some expense for sales tax compliance.

You have to use a payment processor. That's 2.9% + $0.30 per transaction. So if you sold 100k apps at $5, that's $455,500 in revenue after credit card fees are paid.

However, there's also chargebacks. Chargeback ratio averages roughly 0.6% across all industries (it's much higher for digital goods and CNP transactions -- so let's call it 1.5%) So from 100k sales, you really sell 98,5000, so your revenue is $448,667 (after cc fees.) However, you have 1500 in chargebacks that cost $20 each (per stripe.). So that's $30k in chargeback fees. So now your revenue is $418,667. Apple rarely loses chargebacks and refunds are extremely rare. So that sales loss is negligible.

You also have to set up a server to serve the downloads and pay hosting, storage, and bandwidth. As well as shipping updates to all of your customers. As well as ensuring updates are compatible for any iOS version your customers might be using. There's going to be some level of customer support required. That's a non-zero cost.

Finally, how are people going to discover your app? You aren't on any app stores, so you have to advertise. You'll need to market. And -- convince people that you aren't going to infect their device with malware.

Let's just assume that you sell just as many outside the App Store as you would doing it yourself. (That won't happen, but let's assume your marketing is so good that it's the case.)

The difference is $419-$350k. (That's assuming zero expense for hosting, marketing, customer support, etc.) So you're "losing" $69k per year. After tax however -- $280k from the App Store, $335k doing it yourself. So $55k additional. Yet you have hosting, customer support, marketing -- etc. $55k per year as a salary for doing those tasks is tiny and that doesn't include the cost of the hosting and bandwidth.
TSA doesn't like Colorado IDs.
Do people usually charge at peak time?
In the similar situations I've run, what I've often done is:

1. Start with a known seed.
2. Run a single test run like what you say, and verify this run by hand.
3. Freeze the test in this state, that is, assert you get that exact result every time on the given seed.

What this creates is not what I would strictly speaking call a "unit test", but it does sort of pin the algorithm to your examined and verified output. In this case, a human would quite likely have caught this problem on a decent test set. Obviously, there are other pathologies that would slip right by a human; the human being careful only raises the bar for such pathologies, it doesn't completely eliminate them.

But at least freezing it solves the problem where a change you did not realize would be a change slips by unnoticed and this function suddenly has a completely different outcome.

This has worked for me, in the sense it has caught a couple of bugs that would have had non-trivial customer implications. But I've never worked on an MMORPG or anything else where randomness was intrinsic to my problem; it has always been incidental, like, is my password generation algorithm correct and does this sample of my data look like what I expect, not the core of my system.
And my local utilities just got approved for massive rate increases locking in those higher prices. Of course, I probably wasn't paying the full costs this past year.
No point complaining about downvotes. You might as well complain about carpet shocks. But honestly, what are the odds that someone with your attitude will fit in on a site called "Hacker News?"

Aren't you in danger of wasting your own time here, when you could be connecting with like-minded users on other venues?
I used to hear about "detasseling corn" as an utterly miserable short-term summer job option for high school students. Walking through cornfields in heavy clothes (to avoid getting cut up by the leaves) in summer in Iowa.
> That's not really true. It may not be everyone's cup of tea, and speculation may be driving most of price, but these are real tech products. Ethereum, Cardano, Avalanche, Solana are decentralized computing platforms, with utility. Uniswap, Aave are exchange platforms, that allow people to swap currency real time.

That is still speculation and most of the existing financial system can do payments (the supposed original use case) already.

Take a look at UPI, Pix, etc. A safer, faster and better future of payments is already being built and used to the tune of hundreds of millions of real people. And it is not a complete pyramid scheme.

That cannot be said for crypto, nobody is using it for anything other than speculation, crime and ransomware.
Microsoft Cuts Jobs in HoloLens, Surface, Xbox as Layoffs Continue
We query them directly in most cases with the httpfs plugin, but for hot paths we fetch them and cache them on disk locally.
These issues could be fixed with legislation.

If you live more with better health you are happier. Less sickness and more energy around you, more time with loved ones and friends, more time to grow and care about various issues.

Right now you spend 18 years growing up, at least another 4 to get a good education, and then you want to establish some kind of career and probably start a family. While you are busy raising children and trying to save money, your parents are already getting old and might need care or get sick or die. By the time your kids are 18 you are already kind of tired and need reading glasses. Lots of people get nasty diagnoses starting at like 30.

It sucks. We could really do with less sickness and medical expenses, and more years of peak health, contribution and growth.
I wonder how lasting will the support be for such libraries
While the HN headline matches the headline on the article, it is misleading.

> California State Senator, Anthony Portantino, has introduced a bill which offers incentives of up to $2,000 if vehicle owners convert their ICE-powered cars to EVs.

So, one legislator has proposed this. It is not law. It very well may pass, but if you do what the headline says today, California will not give you $2000.
For reference: https://en.wikipedia.org/wiki/Consistent_hashing
Given the number of orgs that have done this quite successfully in the BC (before Covid) era, it seems like you can.
Controversy brings traffic. Everyone loves traffic.
The situation is more like: you've heard anecdotes about people getting strangled by parachute cords or using parachutes when they're not falling from a plane and hurting themselves, so you're not sure if you should pull the parachute cord. Plus, you're only 99% sure you're falling from a plane; maybe this is a hallucination, or a movie. So maybe you should wait 'til you're at 3,000 feet to make sure you're really falling. Or maybe 500 feet, can't be too careful.

Meanwhile, based on the anecdotes mentioned previously, multiple states have proposed or passed bills banning all parachutes.
All crypto are a scam. They can not be anything else because transaction fees make them a negative sum game. Everything else is just a lot of smoke and mirrors over this very basic and fundamental fact.
That is awesome to hear
Shockingly fast and nice and having the intermediate files be immutable is super nice.
But it cannot do the majority of the work that I do, which is what I intended to explain. I'm not even sure what conveniences AI would offer that a template doesn't.
Can't agree more. I've worked in incident management for years and my superiors are always happy when we have an incident but one of our incident managers and a few SREs solve it relatively quickly. Yes, there is some talk of "how do we avoid something like this in the future?" but the answer (even when using "5 Whys") is always a shallow one like adding even more gates and change review or, best-case, adding active-active failover. The answer is never "This team ships once every other month. We need to give them a mandate to move that up to multiple times a day."

Still, it's nice to have SREs who understand the rhythms of an active incident instead of somebody whose last conversation with someone outside their immediate team was in 2016 and seemingly doesn't understand that they're on call or for what services.