skysight-inc/HackerNews huggingface dataset:
according to yahoo finance the company has a 10 day volume of 16.7 million shares with 2.7 billion shares outstanding

if larry has 1.1 billion shares it would take a few months to unwind that position without much market impact

if he wanted it done faster he would have to pay more though
It was not just that. Even if it was just that; Amazon has no right to disable an account or services unilaterally like that with little recourse from the user.
>I have come to dislike this growing trend that celebrates mediocrity and failure.

That's not what this is. It's a sarcastic critique of techniques the author thinks don't justify their weight. It's a comment on the cognitive load required by the plethora of complex "best practices" that often goes without questioning.

The multi-repo microservices thing really hit home for me. I only recently had to deal with this, and it was horrible. I finally made my peace with it, but it required adding an entirely unnecessary level of abstraction and techniques where merges are the new commits, and repos are the new directories, and so on. And each service was 90% boilerplate and like one endpoint with a few hundred lines of code.

Ultimately I think reducing the coginitive load of your devs, and making the build-test-debug loop fast, is the highest goal of project leadership, but I seem to be in the minority. If you don't like the "stupid" verbiage, I think one benchmark for a successful system should be usable by devs who are mildly drunk.
For a side project I used some PHP to get a job done. Why? because you can edit the file on the server and keep trying it out till it works. On 90s style hosting that is cheap and honest. The iteration speed is amazing. CI/CD took <100ms.
Still fails
Renewables and storage are cheap enough that a 100% renewably powered world economy is possible. And they would be cheaper than nuclear in most places.

The objections to this now are mostly "but it hasn't been done yet", which is the last ditch stand of the passive-aggressive denialist (and hypocrite, if that person says nuclear could do it.)
Iran's 'Quantum' Computer Is Apparently Powered by an Arm Development Board
Yes.

And this is not the first time I've heard this. Eg mobile phones. Then everyone else does it and you can't exist in the world without it unless you pay a huge penalty. No smartphone is really tough to pull off nowadays so all the "it's a device whose purpose is to spy on you" is still just as true but the boat sailed, possibly without your uncoerced consent.

Maybe not this time? Maybe people will hold out? Maybe we won't get locked in by everyone else?
How would you host the Bob’s Restaurant website?
If it works, it ain't stupid.
What motorcycles teach about maintenance
I’m not a fan of the west and I can still hate Putin and the CCP.

Kim just peddles propaganda now.
Yeah, I thought he was literally locked out and how "smart locks" sound like a bad idea due to failure modes like this. Not that he couldn't use his smart nonsense.

Still, it is a good lesson on control.
The problem is that Python types are not thread safe so you have to jump through more hoops to have safe parallelization in Python. These changes would make it so that writing multithreaded code will be much easier it seems like.
The same logic should arguably be applied to your transportation as well IMNSHO.
My first thought was the way early 1990s forum and blog scripts did it, aka the UBB/Movable Type method of storing everything as static text files in a directory somewhere.

That would be really inefficient though. I vaguely recall database driven blog and forum scripts taking over because of how poorly the old solution worked at scale.
There is a good argument that buildings shouldn't last so long.

Buildings a mere 50 years ago probably have very poor insulation (and hence high heating/cooling environmental + monetary costs), have electrics that aren't considered safe today, have plumbing probably containing lots of lead, and are lacking amenities considered standard today (electrical outlet next to the bed for phone charging, mixer taps, etc). Those buildings probably won't resist fire for long, and probably won't be suitable for heat pump heating. Sound insulation probably won't be good, so you probably get woken by your neighbour having sex.

All those things are fixable for a cost, or livable with a hit to quality of life, the environment, the house owners health, etc.

If we assume that the requirements for a home continue to evolve, then we can see that something built today would be unlikely well suited for use in 50 years. Considering that, perhaps it's best to build something easy to disassemble and rebuild 50 years from now.
In this same vein I also use `a`: `a(` `a{` `at`, which I use as "around [item]".

It behaves like `i` but also includes the "container", which is especially useful with html tags as you can quickly change or delete the whole tag this way.
As noted elsewhere, x86 itself really doesn't have much difference. But it matters a lot more on other architectures--I caused like a 20-30% regression in JS performance on ARM by changing one atomic variable in the engine to sequentially-consistent instead of release-acquire.

My recommendations boil down to the following:

* If you're ever truly unsure, just stick with sequentially-consistent unless performance is so critical you need to get off of it. Correctness is more important that speed!

* You can use acquire/release if you've got something that smells sufficiently like a lock (there's a clear scope with beginning and end, and most of the memory accesses outside the acquire/release themselves are regular, unsynchronized accesses). Most of this code should probably be hidden in libraries anyways, but this probably should be your basic default if you're working with atomics if there's only one atomic variable in play.

* The other memory orderings I wouldn't recommend at all. Release/consume, even were it implemented by compilers as intended, requires a particular (though common) set of circumstances to work correctly. Relaxed affords no synchronization opportunities, and the one use case I can think of for it involves atomic read-modify-write operations, which I think all hardware makes as strong as an release+acquire anyways.

In short, worrying about sequential consistency versus release/acquire can be helpful, and I think there are simple enough rules-of-thumb to make it worthwhile to summarize it. The other memory orderings, not so much.
I'm just now starting to compile together components to start building out my own 'smart home' via zigbee + home-assistant on a local laptop. Click bait or not it's a funny little reminder why i'm not going with the off the shelf systems tied to increasingly insane tech companies.
How multithreaded programs depend on the GIL rather than use proper locking? The No GIL project might break a lot of multithreaded apps.
It was very obviously for piracy and copyright infringement. The Mega*.com indictment [0] even reported that one of Kim's wishes was to make a 1-to-1 copy of youtube and were in the process of scraping videos from youtube to megavideo so as to make people assume megavideo was a user generated content website and not video storage for pirated/copyrighted content.

[0] https://www.washingtonpost.com/wp-srv/business/documents/meg...
Show HN: Virtual mentor for learning German (Bottom-right)
Hi HN! I have been improving my webapp to learn languages. I started with short stories so that users can quickly read bits of German and translate the parts they need by tapping on words. Today, I'm adding a virtual mentor which lets you ask questions about the German language, culture or the related countries. In any story, you can click chat button at the bottom-right corner to access the mentor. Thanks for reading! Let me know what you think!

A story:
https://webbu.app/l/german/story/der-verlorene-badeanzug-eas...

The mentor directly (UPDATED: I removed the login check for this URL):
https://webbu.app/l/german/mentor
This is a good question. There are no tests for tooling but the tooling can result in pipeline failures. Theoretically the pipeline should've failed outright when they went to merge. Instead it failed on specific conditions the developer didn't account for and weren't familiar with because the configuration wasn't something they were familiar with because they weren't building it from docs.
Even if you want to increase density, you'd need concrete to achieve it. Cost of housing is inversely correlated to the rate of new builds in cities, and the reason is the growth in demand through immigration. Can't have your cake and eat it too: want more immigration? Build more.

> a social solution

Such as what, coercing multiple families to share detached homes? Would you volunteer for that? And how far do we expect to push that when the demand for housing will keep growing?
> so I just store my objects in their entirety as-is on disk.

Every time I decided to use filesystem as db for my program, a couple months down the road that turned out to be a wrong approach.
That's actually you doing a lot of mental gymnastics to promote full legalization of everything.

Most people think you HAVE to forbid stuff sometimes. If it's forbidded it's because it's dangerous and it kill people. What you are advocating is a bit like saying "oh it's forbidden to stab people in the streets but if you do it we should teach you to do it the proper way to minimize pain". This makes 0 sense.

And I do take drugs recreationally..

People are getting into dangerous territory, let them be responsible of their actions. It's not like you can't test your stuff first or do risk reduction anyway if you make half an effort to inform yourself. Now saying the gov should organize or sponsor while he decided to forbid it is nonsense of the highest level. If they had more money to do that they would use it to actually fight more the cartels
> Why don't you direct people to use team channels.. that way over time the knowledge base is there.

Seriously. Keeping these conversations in DMs keeps the knowledge siloed and ensures the current situation will never get better.
> Bush did it

While I agree that the Iraq war was completely out of any legal boundaries (unlike Afghanistan), it had never been the intention of the US to pull a land-grab war and turn Iraq into the 51st US state. The invasions of Putin however clearly were, and so will a potential Chinese invasion into Taiwan assuming they'll stick to their actions in Hongkong.
Real-Time Fraud Detection Using SageMaker and LightGBM
> There is also the argument that it could "divide the community" as some C extensions may not be ported to the new ABI that the no GIL project will result in. However again I'm unconvinced by that, the Python community has been through worse (Python 3) and even asyncIO completely divides the community now.

I think the fact that you can name two other recent things which have divided the community is a solid argument for being a least a little gunshy about making big, breaking changes. There's the cost of the changes themselves, but there's also a cost to the language as a whole to add yet-another-upheaval.

Performance is important, but not breaking things is also important. I can understand the appeal of doing something suboptimal (but better than current) in favor of not introducing a bunch of harder to predict side effects, both in code and the community.
TropeTwist: Trope-Based Narrative Structure Generation
That's... brilliant.

But I'm guessing the risk then is to fuel an alternative "pirate youtube".

If you show ads that are blockable by adblocker, everyone, even power users, goes on the same platform to comment, share subscribe etc. If you were to, as you say, put ads straight into the feed, you can be bet that torrents, newsgroup and russian websites would be crawling with ad free versions of the videos. You'd thus remove a significant portion of your userbase to those website. And sure, maybe they did not see ads so they did not contribute directly to your revenues, but they were probably sharing those videos on social networks etc.

I'm guessing that's the rational anyway.
If you're writing tests that test for that I think you've missed the point entirely of testing. I hope you don't think the typechecker works for logic?
I had a house built in Ireland and the architect was a huge pain in the ass. She wanted concrete _ceilings_ ffs. In a single story dwelling. She also thought it was ludicrous I wasn't using concrete blocks, and anything like a pier or post and beam foundation was completely out of the question.

The funny thing is that the houses here are pure shite so it's not like this approach has been working for them. Utter, abominable, crap. Ugly, too.

I was able to get a timber frame and wood ceilings but still have a concrete foundation. The builders were so proud of it being an insulated foundation (KORE) but you wouldn't even _need_ that if the house were lifted off the ground, like it should be.

I asked one forward-minded engineer about it and he said it was down to people being brainwashed by "concrete built is better built" ads from the 80's and centuries of complete deforestation.
You can read Carmack's .plan archive from 1996 here, if you're so inclined:

https://github.com/ESWAT/john-carmack-plan-archive/blob/mast...

It's a _fascinating_ snapshot into Quake's development.

I have no idea if his .plan is a record of what he, specifically, was doing, or if he was just capturing what the programming team was doing, but at the very least, it makes clear that he was aware of huge amounts of very highly specific game code issues as they were being worked on and was almost certainly deeply involved.
> "I have a smart home"

I don't think you do.
TBH I just read it as someone who's found a way to make web apps that works well for them and want to focus on solving problems rather than toying with their tech stack or copying solutions from contexts that are entirely unlike the one you're working, e.g. because you're at a much smaller scale.
> Due to this experience, I am seriously considering discontinuing my use of Amazon Echo

He’s still using it ?
Intel Announces “Biggest Brand Update” for Core CPUs
Because the GIL and also you have to use tons of locks to get around the lack of thread safety for pythons objects.
So your incomplete explanations are based on a single language model instead of a single processor model? Sorry, that's a distinction without a difference. It's no excuse for misleading people who might use other languages or processors. And stop with the implied insults about my level of knowledge, when you're the one clearly fixated on only one environment. That's both rude and stupid. I've worked on many CPU architectures, on NUMA and COMA systems long before most people even knew such things existed, at many different levels from the first instruction after an exception (or restart) on up. I say that not to make my own appeal to authority, but to refute yours and to underscore that these "irrelevant" details are in fact highly relevant and important to some of us out here in the wider world. I haven't been alone in any of those things. There are still many programmers working in "exotic" environments where these things matter, and we both rely on their work every day. You should at the very least qualify your statements to say that they're only true for application level programmers like yourself.
Ruby and Rails is still awesome!
I don’t really care about his theory about me if it hinges on missing that I was asking a question / such grand assumptions that I don’t understand where they are coming from.

I really was asking the other person a question.
Most experience with DynamoDB, which isn't without challenges, and has a steepish learning curve to get the most out of it.

I work in pre-market fit startup though, so hyper-scaleability is not really a consideration right now, and would much prefer to be running postgres.
Well, Amazon did try to lock him out of his smart home, and there is zero evidence that they would have cared had that meant him being homeless for a week. It just happens that he luckily was technically competent enough to have a flexible setup and know what to do with it.
A must-read book on the topic: Legalize This by Douglas Husak

https://www.versobooks.com/products/1795-legalize-this

It argues that all drugs should be decriminalized. Written by a philosopher who spent many years working on this subject. Briefly: anyone who is going to jail deserves to know why, and there is no satisfactory answer that can be given in the case of drug possession or use.
`c])` is also pretty handy when you're within a bunch of parentheses. For instance,

if funca(funcb(red, green), funcc(blue, yellow)) {
^

If you are where the arrow is, `c])` will change the second argument. If you were on the comma before it, `d])` will remove all but the first argument.
It would remain as hard as it has always been. Also threads are very heavy, locking kills performance, and if you don't have GIL, you'll need to manage explicit locks, that will be just as slow but also cause an incredible amount of subtle bugs.
> If no-GIL has a 10% single thread performance hit, that means that essentially all my existing python code would be that much worse.

Maybe in a 100% CPU bound code, most of the code is I/O bound and no one will notice the change, just my opinion.
Is there like a custom performance based headless browser

How are they scaled?
This random hyper plane algorithm is actually a pretty elegant algorithm. It has the following amazing property: as your dimension increases, the quality of the random hyper planes actually gets better!
Steam Client Enables Hardware Acceleration on Linux
It isn't a question of aesthetics, the primary pragmatic issue with languages that have many features is how hard it can be to read a new code base. Tools like macros and traits can save you a lot of typing but when someone else comes into your code, it is much harder to come to terms with it than simpler languages like C or Go where the set of features can all be held in your head and the actual code is explicitly stated rather than generated by macros and generics and such.

This is a natural tradeoff in language design, do you deal with verbosity and boilerplate because the language has few features, or do you deal with the cognitive overhead of understanding all the features?
>This incident left me with a house full of unresponsive devices, a silent Alexa, and a lot of questions."

I did read the article. But I took it to mean the smart device associated with getting into the house was disabled too.

The article was not to clear on whether he could get in to his house or not.
The proposed change is not about legalization of these drugs. They will remain illegal. It simply allows federal states to pass laws and regulations governing publicly accessible (and presumably free of charge) test facilities where consumers of certain illegal drugs can test them for unwanted ingredients. The idea is that this will limit the number of accidental overdoses and poisonings and put pressure on the black market to reduce potentially harmful and undesirable ingredients. It is a public health measure and I don't see a real downside to it.
Unit vectors have a normalized length, so the only difference between two unit vectors is the "heading". The angle between them can be interpreted as the the "difference" or distance, between them.

Since you can compose any vector in the space out of unit vectors, you can extend the concept. See above comment inner product -> metric space.
I would describe it as a language where there is more than one strong idiom

For C and Go, there really is only one prevailing idiom on how to write code (for C one could argue that static vs. dynamic allocation are two idioms, and multiple ways of doing concurrency)

For C++, whenever you have the chance to abstract some code into an interface you'll have the choice to create a template or use polymorphism, concurrency can now be done with an event loop, co-routines, threads...

Rust has the same bug/feature where there's more than one idiomatic way of doing things.
cement ≠ concrete, but concrete is indeed recyclable. I know TxDOT (likely other agencies and municipalities) allows its use, often as aggregate material for HMAC paving. The cured concrete is crushed, sorted by gradation and used accordingly. Concrete rubble can also be used in retaining walls along with some backfill applications.

https://www.dot.state.tx.us/business/contractors_consultants...
It makes little sense to buy a new iphone in India for most of the mid-to-upper middle class folks. Not only are they more expensive than in the US (any maybe Europe), there is very little official support for iPhones outside of the metro cities; even there Apple only recently started providing support on even a smaller scale. There are very few carrier plans as in the US. Also, most people don't need the latest and greatest; older phones work just as good since Apple phones last longer.

In this light it is little surprise that the used market is booming.
Not surprising. The rapid increase of the amount of pro-Bolsonaro content was clearly visible, even spilling towards users like me with no history for viewing political content on the site, especially on 'cuts' for YouTube Shorts.
> Experiments on the register machine machine are complete

This is a worthwhile watch on this topic: https://youtu.be/cMMAGIefZuM
If it is very cumbersome to renew all certs every 90 days, it can't be a breeze to do it every 365 days either.

It's a PITA but at least it is spread out over 365 days. I am all for automation and have tried over multiple decades to get old / large companies to automate all the things. The devil is in the implementation details however and this may be a cart before the horse situation.

Missing foundational requirements are:

- ACME endpoints at all or most of the cert providers

- ACME test endpoints at all or most of the cert providers so people can test their shiny new automation ahead of time

- Ability to register wildcards using those endpoints vs. DNS as is required today by the free cert providers

Maybe the plus side is that this pushes all those companies onto the free providers but then there is the issue of rate limits. Most of these companies will show up to LE as 1-10 IP addresses via outbound SNAT's. LE will see this as a highly abusive user. The current API rate limits will need to be adjusted and the providers will need to ramp up their cert signing infrastructure. Has this been done?

Without a clear path and the above issues addressed then I suspect what is actually going to happen is that big companies will keep using their existing certs and will just update their process around the certs that live on the internet facing load balancers so that the browser is happy meaning that perhaps 3% of their certs now follow a new process.
“I am seriously considering discontinuing my use of Amazon Echo devices and will caution others about this incident”

And learned nothing from the experience
Would you eventually switch to OpenSIL or do you think staying with the minimal custom solution solution is better for your usecase.
Google forced to delay Bard AI's EU launch over privacy concerns
> Can someone give a good argument of why subinterpreters are an interesting or useful solution to concurrency in Python?

I will give it a shot.

Subinterpreters are better than multiple processes because:

- they have significantly less memory overhead

- they can move objects much faster between subinterpreters because they don’t need to serialize through a format like JSON

- since they are all in the same process you can implement things like atomics or channels easily.

Subinterpreter are better then no-Gil because:

- they make the code easier to reason about and debug relative to raw multi-theading

- they don’t negatively impact single threaded (basically all existing) python code performance

- they don’t require any changes to the C interface, preventing a fractured ecosystem

- they can’t have data races