skysight-inc/HackerNews huggingface dataset:
So far ahead of his time.

He really wanted to make a film on Napoleon. Though not officially related to his work, one got made last year to mixed reviews. And he started production on the movie "AI - Artificial Intelligence" after a short story from 1969. He handed it off to Steven Spielberg.

///

Stanley Kubrick's Napoleon: The Greatest Movie Never Made - https://www.goodreads.com/en/book/show/9671018
Show HN: A CLI for creating FastAPI/React/Typescript Services w/ DB support
The concept behind fastapi-gen is to streamline backend and frontend service generation by utilizing a configuration file to define service and model specifications. With this tool, you can effortlessly generate a service backend and frontend, serving as a robust template for further development. The generated services will include code the following components:

* Database: Postgres / MySQL / MongoDB
* Using SQLAlchemy / Alembic we can manage the database from code when choosing Postgres or MySQL
* MongoDB works well for more unstructured use cases
* Backend: FastAPI / Pydantic
* Synchronous + Asynchronous endpoints for each data model type
* Frontend: React / TypeScript
* Generated pages for each data model
* Automatic setup of Typescript client to hit the backend service

Moreover, fastapi-gen provides additional generated code such as:

* OpenAPI clients for the frontend code, with an extra client for any Python code that may need to interact with the backend API
* Dockerfiles to facilitate running the project using Docker containers
* Basic README.md files for each component

Eager to hear your feedback and thoughts on this project.

While I'm aware of similar tools in the ecosystem, I'm committed to evolving fastapi-gen to stand out by implementing the following enhancements:

* Publishing fastapi-gen on PyPI (pip) once more extensive testing is completed
* Adding more complex frontend components
* Integrating support for Celery / Rabbit MQ
* Integrating support for Redis

Your suggestions and contributions are invaluable as we strive to make fastapi-gen a versatile and powerful tool for service generation. Thank you for your interest and support!
Honestly, I didn't realize until I was 2 or 3 years into my job that I was 'allowed' to take a sick day if I was going to spend it all miserable or even crying (I had a coworker who was a bully).

Nobody ever actually came out and so, but I realize now that it was pretty common.
The introduction to Kill It with Fire[1] discusses this exact phenomenon. Fantastic read!
[1] https://nostarch.com/kill-it-fire
This might be an unpopular take but Google is fast regaining LLM platform dominance that OpenAI / MSFT took away for a year.

GPT-5 release needs to blow people's mind for MSFT to rejuvenate the Azure AI conversations because momentum is shifting again to GCP.

P.S. Many customers aren't very happy with AWS Bedrock but they should be ok as long as Anthropic & Mistral doesn't get annihilated by Gemini / GPT-5 in the next year.
As the article states, you need to apply some heuristics to choose between cases (2) and (3). I'm not a big fan of that, because it means the encoding is not deterministic (as in, it leaves room for interpretation/optimization by encoders).

Just for fun I implemented this algorithm: https://go.dev/play/p/72GyYmVnwyc

The algorithm described in the article uses prefixes 0, 10, and 11. My algorithm uses different prefixes: 0, 10, 110, 1110, 11110, [...]. By default, the subsequence that is used is identical to that containing differing bits during the previous iteration. The prefixes describe previously can be used to widen the subsequence:

- 0: Keep the subsequence the same width.

- 10: Make the subsequence (1<<1)-1 = 1 bit wider, both on the left and right side.

- 110: Make the subsequence (1<<2)-1 = 3 bits wider, both on the left and right side.

- 1110: Make the subsequence (1<<3)-1 = 7 bits wider, both on the left and right side.

- ...

For the sequence of numbers presented under "Tweaking the algorithm", the algorithm in the article produces 969 bits of data. My algorithm produces just 823.

Edit: Tiny bug in original code.

Edit 2: maybe it’s smarter to widen the subsequence using triangular numbers. Doing it exponentially is a bit too aggressive, it seems.
I don't exactly think that. It's more like I would like to transpose more of my energy into fighting with a machine, and less into people, because my job is 90/10 dealing with execs and their bespoke, unmanageable concerns right now vs making something happen with technology. Could be a grass is greener thing. Maybe to current devs this comment looks crazy, I really wouldn't know yet.

I enjoy working with people, actually. My current role is rapidly changing that.
This makes no sense at all. "you got a response" means the transport succeeded, "it timed out" means the transport failed.
Coins were just pre-weighted pieces of silver though
The contents changed between then and now.
Yeah, when AIs can comprehensively cite their sources I might change my opinion on that.

Though note that there still isn't any need to publish static content. The power of LLMs is that they can be dynamic and responsive!

Even if we hypothesize that it were possible for a LLM to write a high-quality wikipedia-like output, generating the whole thing statically in advance like existing Wikipedia would be relatively pointless. It'd be much more interesting to generate arbitrary (and infinite!) pages on demand.
In addition to the more detailed quoted answer, I believe the surviving mammals mostly lived underground, shielding them from many of the worst effects happening on surface world. Many were blind anyway and did well in the darkness of the clouded surface. Their predators all died off. The biggest remaining threat would have been lack of food, but as the other answer states, they had more flexible diets than dinosaurs and mammals that did not survive.
Can confirm just got back from Barcelona on an Iberia flight. Evonomy on this flight was hands down better than any flight I have taken in the US. Food, service, even baggage policy was just simply a better experience. Honestly my mind was blown / food multiple meals included in price of economy seat. Just less nickel and diming and overall better experience,
The last 3 companies I’ve worked at over the last few years have all had “mental health days” in one form or another as a separate offering to sicks days. It’s very common, at least in the UK.
Am I the only one who was hoping—even though I knew it wouldn’t be the case—that OpenAI’s server farm was infested with actual spiders and they were getting into other people’s racks?
Maybe the generated text could be a slightly different colour until it's verified. But you'd have to make sure there's no easy way of verifying everything mindlessly without having read it.
It should also bother marketers in the AI industry because it confuses people on what the incredible value is.

So many people think LLM means chatbot, even here on HN. So many people think agent means mentally humanoid.

But we have others, like Stable Diffusion's Web UI and Leonardo.AI - these are just tools with interfaces and the text entry for prompting is not presented as though it's a conversation between 2 people.

Someone shared an AI songmaker here recently... And there's a number of promising RAG tools for improving workflows for: Doctors, mechanics, researchers, lawyers.

I agree with you and expect the "AI character" use case to narrow significantly.
Sure, but the idea with BEM is that you generally don't have situations where the result of that algorithm is confusing or unexpected. Or at least that's been my experience, even on large codebases. I generally don't run into situations where styles overload each other in weird ways when I'm using BEM (others' experiences might vary).

You could throw the same criticism at Tailwind -- Tailwind can still expose you to cascade issues, not all Tailwind classes are single-level selectors under the hood and not all Tailwind classes only target one property. At the end of the day this is all compiling down to raw CSS, so in neither situation have you actually eliminated the cascade. But with both BEM and Tailwind you are much less likely to see those situations, and when they do arise they are less likely to introduce long-term maintenance problems and are more likely to be easy to address/encapsulate. If you run into cascade bugs with Tailwind, it's probably something you fix in like one file, instead of needing to search through five.

BEM doesn't technically interact with anything, it's just a style of writing CSS. There's literally no technology behind it, it is just a naming convention. But in practice, using a naming convention mitigates or eliminates a large number of cascade issues.
I support all extension makers who strip user-select: none from all stylesheets.
Returning to the Mac as a product, but with innovation almost 2 years behind the competition. How could Apple let this happen?
Can it be used to make GIFs?

I'd really like a tool where I could provide (or generate) an image, describe a way that image changes, and then have the tool extrapolate frames between the original and changed version.

For example, starting with a picture of a book, request the book be open in the next picture, and then the frames of a book opening are tweened in to create an animation.
This is a tautological argument. Test scores correlate with performance as measured via tests. Many of the best computer programmers I know have zero formal eduction in the field. They would fail the tests beloved to Silicon Valley and yet have proven their worth time after time.
Show HN: We created a way for you to review your resume using AI
weird why wouldn't it work with US networks...but works in other countries?

not sure about the rotary thing that looks cool tho
> I feel people don't understand ...

> For me ...

Sorry, but right off the bat this is just painting you as an example of "There are N camps, and each camp declares the other camp as wrong."

Yes, that's what inheritance is for you. For others it is something else. Why is your way the one that "correctly understands" it?

The article itself covers this - that some languages have lumped 3 different concepts into one that they call inheritance, leading to the different camps and comments like yours. Your camp is specifically mentioned:

> Abstract data type inheritance is about substitution: this thing behaves in all the ways that thing does and has this behaviour (this is the Liskov substitution principle)
They are gullible and they need the money.

Student debts are a harsh reality a lot of people cannot escape from.
Tea wasn't a common beverage throughout India before the British. It was known but mostly used as medicinal plant.

Commercial growing was initiated by the British.

The point I was making is that Indians drink tea, and have a tea industry, because of the British.
Not all clipping was illegal, or even nefarious. It was only a crime where there was a solid national currency system, which was far from universal. Many people would be trading in a variety of currencies, none of which was specifically backed by any laws forbidding clipping. Clipping would become so common that anyone with good coins was a fool not to clip them down to the local norm. There was also a general lack of small change in the ancient world. Heavily clipped coins, or even their clippings, likely substituted for the lack of smaller denominations. If a coin is worth its weight in silver, silver must be worth its weight in coins, clippings or not.
Yes, it would probably have to be halucinfabulation for purely phonetic reasons.
> Birds are dinosaurs

But not all dinosaurs were birds, which is what the article is about.

> and in flight even resemble somewhat the classic illustrations of Pterosaurs

Pterosaurs weren't dinosaurs. Muphry's law? :)
K8s does have a lot of open interfaces like CRI, CNI, CSI that can & are used in other solutions like Hashicorp Nomad.

The core/control plane components aren't interchangeable but a lot of the "userland" can be swapped around (I have cri-o, Calico, and a homemade CSI on libvirt VMs at home and it runs workloads the same as containerd, AWS VPC CNI, EBS CSI at work)

However, it's not open in the way there's a drop in replacement
There's a book, too!

Recently came out as a second edition.
Civilization as we understand it was already thousands of years old, then, and actually expressive art from the period is easy to find.

These frescoes were painted at great expense on behalf of an elite figure. He could afford to have expressive art if he cared enough to demand it, and was perceptive enough to recognize whether he had it. Evidently he didn't, or wasn't.
Mainly it's an extra thing to carry around, and it probably won't be there when you need it. I tried buying 3 Lightning dongles and leaving them on all my aux cords, problem is they don't work with anything else (Mac, Windows, Android, or even older iPhones like the 6S), so you will disconnect them every time and possibly lose them that way. My wife accidentally banished all of mine into our car's seats. Then they also became incompatible with newer USB-C iPhones.

It's also less reliable than the builtin port, kinda like HDMI dongles but not as bad. My earbuds' inline mic wasn't working with them, idk why but it was fine using the jack. Sometimes my phone didn't realize headphones were plugged into the dongle and it kept using its internal speakers. Irritating when you can't rely on basic functionality like that.

Lastly, leaving the dongle plugged in can wear out the port as others have said, and you also won't be able to charge at the same time. Particularly an issue in cars; I even tried wireless charging and found that my phone overheated if it was also running nav.

With all those caveats added, the dongled jack is far more hassle than Bluetooth, and it's not because BT is particularly good. iPhones had both for several years, and BT headphones never really took off until the built-in jack was removed.
> Cinema is a collaborative art, and auteurist accounts that centre the director’s vision often seem at odds with the actual process of film-making. But Stanley Kubrick was a special case; a director who won an astonishing degree of autonomy from the Hollywood studios that financed his films and used it to control almost every aspect of those films: the scripts, the performances, the lighting and camerawork, the mise en scène down to the smallest details of sets and props, the gradations of colour in the prints, how the films were promoted and, later, even the typefaces on the boxes of VHS and DVD releases

I wonder at directors: It's hard enough to find artists with the insight, vision, expressiveness, and mastery of their craft to create great art.

But before film, artists worked mostly alone. I suppose architects and composers have had to be mindful of the performance of a bunch of humans, but didn't necessarily have to manage that process. Stage directors obviously have similar jobs, but necessarily at a much smaller scale, with fewer technical demands, and by my limited understanding, stage directors lean toward overseeing and facilitating the art, which is more a product of the playwright and actors.

But film directors - as artists they must be all those things an artist is; and also they must master more domains than most artists - film, audio, script, story, costumes, sets, lighting, etc.; and on top of that they must be top-notch managers: hire and manage hundreds or thousands of highly talented people (just look at the credits), and then coordinate them all to finish on time and also manage a budget in the 10s or 100s of millions, and then also sell their vision to funders.

Where are these 'directors' found? Can they really do all that or is it handled otherwise? How are they developed? It's hard to imagine there would be more than a couple of them.
How many homes have fibre runs everywhere. Most homes don't even have cat-5
??? american natural resources alone funded centuries of economic growth.
Yeah, the other poster pointed out https://developer.mozilla.org/en-US/docs/Web/CSS/Inheritance and https://developer.mozilla.org/en-US/docs/Web/CSS/Cascade.

I meant the concept that when you e.g. apply the style "color: blue;" to an element, all child elements get the same style unless you override it. I'm not saying it's identical to inheritance, but it's similar in that changes and additions at the top-level ripple down to lower levels, which I find causes most of the problems when writing maintainable code.
Are you suggesting that the best way to deal with ethnic cleansing is to ethnically cleanse in retaliation? If not, then what on earth are you proposing? There is no law of the universe that says there is a tidy, feel-good solution to every moral quandary. You need to stop the ethnic cleansing before it happens, unless you're either prepared to concede the territory or ethnically cleanse it yourself; there is no other solution. It's a terrible situation, so which terrible solution do you prefer?
My wife is a dentist in the bay area - she can tell which patients work in tech based on how ground down their teeth are.
Yep, imagine an international postgrad student from an NSO client-state who criticizes their home country's leadership online, or is perceived to be a political activist is likely to be targeted by their own government for additional on-device monitoring via spyware. This could provide a springboard into monitoring other groups the victim may be a member of.
>Perhaps the better way to think of wealth is as a proxy for intelligent, conscientious parents who care about educating their children.

That just doesn't line up with reality. In the U.S. the vast majority of wealth accumulation is in the form of homeownership [1] — Which has a stark and undeniable racial divide of which we're still seeing consequences today. Specifically racist zoning laws and redlining by banks that refused to give loans to PoC.

A lot of these laws are still being enforced today (i.e. 5,000sqft minimum lot sizes and huge setbacks requiring the purchase of lots of unproductive land that less wealthy people can afford).

Now, during the course of these discussions someone usually brings up a 'model minority' that's succeeding academically, and I'll agree that there's a cultural aspect to this as well. However, if they also own their homes disproportionately to other minorities, they're benefiting from an inequitable system that's still in place.

I'm not trying to reduce anyone's academic success and hard work down to a matter of money, there are lots of successful people despite their obstacles. But we can't pretend the system is setup to reward everyone solely on merit.

[1] https://home.treasury.gov/news/featured-stories/racial-diffe...
Re: online buffer pool resizing, it’s important to note that you can only resize in multiples of innodb_buffer_pool_chunk_size, and the resulting size must be a multiple of innodb_buffer_pool_chunk_size * innodb_buffer_pool_instances.

Because of this and other complications / desired optimizations, I wrote a script [0] to calculate the necessary parameters, given either a desired percentage of system RAM, or an absolute size.

[0]: https://gist.github.com/stephanGarland/cd6a5c667e8406cf9cfb6...
Ok, we've taken the reference to LLMs out of the title now. (Submitted title was "Show HN: Next-token prediction in JavaScript – build fast LLMs from scratch")
Barron was gone by that time so it's out of scope for a Barron-focused article.

I also left before the T9 was finished so I'm not aware of the debacle. I got the impression it was canceled due to lack of potential demand and loss of performance edge as other vendors (Intel) caught up on process performance, with ST unwilling to fund the catch up. I have some T9 die somewhere so it existed in some state at least.
> Even in USA that likely could be legal with an appropriate court warrant

Can you expand upon this? I'm not particularly familiar but it doesn't seem right. Obviously LEO agencies are allowed to subpoena private information, but can they legally use exploits with a warrant? Are there recorded examples of this?

[Based on your reference to warrants, I guess I'm excluding the NSA or other supposed state-level spy agencies that supposedly secretively deploy such tactics]
I feel people don't understand what inheritance and (object orientation in general) is useful for, misuse it, and then it gets a bad reputation. It's not about making nice hierarchies of Cars, Fruits, and Ovals.

Agree 100%. It starts from the earliest programming course where we just teach it all wrong; way to abstract (no pun intended).

One point to add to yours: well executed OOP allows for "structural" flow of control where the object hierarchy, inheritance, events, and overrides allow for the "structure" of the hierarchy to control the flow of logic.

I wrote two articles on this with concrete examples and use cases:

https://medium.com/codex/structural-control-flow-with-object...

https://medium.com/@chrlschn/weve-been-teaching-object-orien...
Unfortunately I think buying DRM-ed books just perpetuates the shitty system. All they see are sales, and that DRM isn't affecting them. They have no idea (by it's nature) how many people are stripping that DRM.

IMHO you either need to buy it from a reputable (i.e. DRM-free) seller, or don't buy it at all. Otherwise you're voting with your money for DRM.

If you're an author, you can sell your books through Kindle or whatever, but also list them with an ethical seller that doesn't DRM them! Trust me, your book is going to pirated exactly the same amount regardless whether it has DRM or not. You are just hurting legitimate people who want to pay for your stuff (and losing sales from people like me in the process).
Chris Nolan famously drives all his production designers insane! No one has made more then one film with him. Apparently he also only shoots 3 or 4 takes per shot, and goes ballistic if somethings goes wrong.
he probably left the camera behind for a steady job as soon as circumstances allowed for it. that would be quite in line with vietnamese work ethics. maybe even got a degree given that his father was also a scholar and switched to photography only for the sake of making a living in times when his academic education was not in demand. he also probably suffered from traumatizing experiences.
Yes the Fields is much more similar to the MacArthur Genius Grants.

The Abel is much more similar to the Nobel, though both the Abel and Fields are Nobel-caliber in prestige.
wait til you hear about Parler
Test scores are meritocratic but looking at actual achievements is also meritocratic.

There's little difference in looking at test results and actual work which it is meant to proxy. At least in principle.
Except it really wouldn't, because it doesn't take into account any of the bog standard daily lived realities of being rural that include hunting and fishing, managing livestock, working in the trades, dealing with equipment, or hell even just keeping several acres mowed and maintained, all of which are dirt common activities for rural Americans. What, you think you get outside the city and everyone's sitting on their ass in a trailer park collecting welfare and working on their diabetes or something?
Who is responsible for picking up a dead rat in NYC? The biggest rat I ever saw was a dead one on William St and as an alien I wasn’t really sure what the protocol was. No one else around paid any attention to it.
You could bootstrap a niche model using what's available and go from there. I don't think it's all that different from any other kind of bootstrapping startups tend to require.
Nobody has explained how they could use that data without producing a model that would emit private information.