skysight-inc/HackerNews huggingface dataset:
Dependency injection adds a lot of complexity even without a framework, and it has nothing to do with global variables, you can use global variables with dependency injection, and you don't have to use dependency injection to avoid global variables.

Dependency injection has to do with coupling. It is a weak coupling technique, and the point is to make components interchangeable. That's also the reason why it is considered good for testability, because it makes mocking easier: just replace the functional component with a test component. It sounds nice, but of course it has downsides, lots of them.

First is that is simply more code. Instead of calling B from A, you have to wrap B in an interface, instantiate it, pass it to A, and make the call. On small components, it can easily double the amount of code, or more. Of course, mechanically, more code means more development time, more things that can go wrong, more maintenance costs, etc...

You also lose track of what happens. When you call B from A, to see what is happening, it is obvious just by reading the code of A that you should look at B. Using dependency injection, there is no way to know what is called by just looking at A, you need to figure out what is instantiated first, which is not always an easy task.

Of course, there is performance too. Dispatching is expensive, typically requiring two or more memory reads to call a function. And all these little objects can take up valuable space in L1 cache.

Now, there is the argument of testability, ok, testability is good, but in many cases, there are ways of testing things even with a strongly coupled architecture. For instance, if you have a configuration file reader, you don't need to abstract it to write tests, just have test configuration files that are read by the reader. It saves you an abstraction and a bunch of dedicated test code.

Dependency injection has a place. Unix file descriptors are a kind of dependency injection and very few complain about them. It is just that it is an expensive pattern that should be used wisely and not all over the place.
If you fat finger “cmd-Y cmd-V shift-enter” to open the AI window, paste your clipboard contents, and sent it to OpenAI, then that’s kinda on you.
000 is used in Australia
111 is used in New Zealand
Great!

This OS will, by design, waste 10% of rather limited SSD space, on a feature that I don't need, that may or may not work, and that also introduces a security risk on top of slowing things down.

It's going to be very useful™, as infinite browser history and bookmarks are to some people, I'm sure.

As for me, this sounds like a wonderful way to invent entirely new types of digital clutter.

Hoping there'll be a no-nonsense way to disable this "feature" in the "Pro" OS versions at least, along with Cortana/Copilot.
You think professional software is bug-free? I have some experience with NX and I can tell you it’s not exactly bug-free either. It’s very likely better than FreeCAD, but requiring zero bugs is just unrealistic.
$46 billion in pay is obscene but not as obscene as the man expecting it.
Only very remotely related if you squint hard enough though, no?

(sorry for sounding a bit rude, not my intention, I would like to read friendly but I can't find a nice way to point this out and still want to do it - it's just that I wouldn't find it very enjoyable if all HNers started commenting about general / random issues they encountered on some product P in a submission about a specific/historical issue in P - I'm sure we all encountered some issue while using Firefox / any browser at least once, especially with Twitter which screams buggy to me as a distant observer, I remember consistently having to try and refresh pages several times a few years ago to display a 140 character tweet - awful experience)
You preface the title with Tell HN. Helps boost visibility and gets the point across quickly. Else people would have thought your post was a link to an article or something and wouldn't have bothered reading through it.
If you worry about freecad/ondsel

Well this article talks about revisiting venture capital in the future. Which pretty much means the end of cadmium at that point haha
Who is we? You talk like there is some hypocrisy here but you’re treating all people as one person. Mental health researchers and workers advocate for more support for people across the board. Politicians don’t give a shit because their constituents, on the whole, don’t either.
Read up on Wikipedia's "reliable source" policies.

Information on Wikipedia is meant to be backed up by a verifiable source, partly to prevent a situation where knowledge only makes it onto Wikipedia if enough of the editors agree that it should be true.

Molly White made a great video and write-up explaining this a few months ago: https://blog.mollywhite.net/become-a-wikipedian-transcript/#...
No, we've been able to do that since 1995, when the <script> tag was first invented. (Shortly after 1994, when we got the QR code.) But a QR code would definitely be audible as a series of quiet beeps, unless you exploited auditory masking.
I think you're missing the fact that experience has taught us repeatedly that separating the protocol definition from the wire format is a good idea. But sure, feel free to ignore the many lessons and blame it on individuals as if anything could be implemented free from human laziness, error, & economic demands (which btw is ironically a lack of engineering rigour which I was always taught as you assume that humans will be lazy, corrupt, make mistakes & that economics of making things as cheap as possible are a real part of engineering & not something to handwave away as "they're not doing real engineering").
Wonder what they most crave. Is it money? Or would they prefer to avoid death?

They can't have both.
I believe the common term for this is "bug bankruptcy".

And when teams declare bug bankruptcy too often, it's called "bug insolvency". I have only seen "bug insolvency" once, but "bug bankruptcy" seemed to be commonly used.
lol, I find wikipedia to be a bit all over the place or lack structure. It also is largely a giant block of text, though I do think the new LHS menu has improved things
MicroSoft, as usual, being MediocreSoft. At scale
Even though it might help to start with a mechanism at a different physical scale, changing the scale matters indeed.

The mass being different, this leads to different forces required to get the same acceleration or deceleration. That follows directly from the formula:
force = mass * acceleration.

Moreover, the resonance frequency [1] of an object is different for different scales. For example, piano strings will vibrate at different speeds, depending on their sizes. That would be the same for the robot cables.

Also, when changing the scale of an object, the materials often change. The cables and the motors would probably be built differently, with different physical properties.

In general, to design a new mechanism, it is common practice to start with software simulations, 3D prints, and small scale prototypes. However, the properties of the new mechanism are only validated when you have built a real size prototype.

[1]: https://en.wikipedia.org/wiki/Mechanical_resonance
The 128-bit wide shifts PS{L,R}LDQ only have byte granularity. They're a special case of a byte shuffle.
Yeah, 95% of the people complaining never even opened up the "Engage AI" box much less the Codecierge panel.
Cool, man. Also, here is a long-term snapshot*:

https://archive.today/zwhWp

* Until archive.today guy croaks :-s
I don't mind paying for software, but not for the current crop. It was once expected to get training for a tool. But now the trend is for the tool to become a toy. Just play with it until you get light and sounds. And for safety, we will reduce the set of actions you can take. Fine for a single purpose application, but not great when you want versatility.
One doesn't start with the marketing. One starts with the great game. This is the one of the biggest issue now in culture – one is taught to promote one's awful films, music novels, games, paintings. Instead the creators should teach themselves how to make great, or at least good, art first.

Then the division of labour was to find the editor or the producer to take your work to the next level.
I believe the questionable legality also extends to any kind of video calls taking place on systems with this turned on.
If Recall indeed "does not perform content moderation", then having it on would include having screenshots of all video calls.

Especially in many-party consent jurisdictions recording video calls by taking screenshots at a sufficiently high frequency without the explicit consent, or at least option to opt out, of remote parties is probably illegal.

Disclaimer: IANAL and this isn't legal advice.
Ha. That's not even the right voice (that is Juniper not Sky) which just goes to show how bad people are at this. Especially since Juniper in this clip absolutely sounds nothing like Scarlett Johansson.
If this is not satire, then facebooks influence on society is already worse than i thought...
> AI companies have a funny relationship with sci-fi.

I feel this ties into another recent submission "For tech CEOs, the dystopia is the point" [0], which refers to some of the same tweets/similarities.

[0] https://news.ycombinator.com/item?id=40371835
Then, the manager of that team has their startup: plsfixmyfixer.com
Exactly! Starting a company requires a lot of maturity, a tangible vision, and a bit of wild streak, and you build a healthy mix of all 3 after working in a domain for a decent amount of time. The most successful founders I've seen are those who tended to start their companies in their mid-30s after a decent mix of Engineering, Sales, and PM experience from the IC to leadership level, but after their kids (if they chose to have them) are already in grade school.
I guarantee you that if someone chokes to death on a Boeing airplane, it will make the news now.
Emphasis on "if you could simply type in English" (or insert native language here).

Sometimes the AI misinterprets what you want. Sometimes this is due to lack of sophistication on the model's part, but I think the bigger issue at hand are the shortcomings of natural language. Even when working with an intelligent human being, sometimes you have to communicate your thoughts/ideas through pictographic means.

It's something I've thought a lot about lately. No-code/low-code is about as old as GUIs themselves, yet it's never become the de-facto way of creating software. However, for everything else we do we use a GUI. No one creates illustrations on the computer programmatically (unless you're into generative art like me). You probably aren't doing your taxes in a terminal. You get the idea.

This is a segue into my other critique of prompting as a UI. A lot of UX people think it is the ultimate UI, and natural language the premier way of communicating jobs to be done. I disagree. I think symbols and diagrams communicate more with less. Concerning language, I think that for whatever reason programming languages are the most natural way (that we've currently found) to communicate intent in a programmatic context, markup languages are the most natural way to communicate intent in a layout context, and that's the reason why despite 50+ years of GUI innovation programmers still use text-editors. The old guard has all aged out of the profession, the new guard still uses text-editors.

So that all being said, I think the most incredible AI demo I've seen so far is the tldraw stuff done by Steve Ruiz, namely Make Real, and that's because you're communicating with the AI in a pictographic / symbolic context, and because it's a whiteboard, there's no limit to the symbols at your disposal to communicate your intent. The limit is AI's ability to interpret what those symbols mean.
Turbulence is my biggest fear during flying. I always imagine the plane just snapping or something else starting to malfunction due to the turbulence.

I know it's not supposed to happen, but there's a slight chance....
ASUS Vivobook S15 S5507QA: 32GB/1TB 1400 EUR

MacBook Air 15,3" Apple M3 8-Core CPU & 10-Core GPU 24GB/1TB 2649 €
The details are: none. There is no revenue sharing. That's literally the point of the Creative Commons license that Wikipedia uses. There's some things on the margins about attribution strings and share-alike requirements, but none of it would render AI training on Wikipedia illegal or compel AI companies to seek a separate, royalty-bearing license. Creative Commons is a "do what you wish" license, not a "free until I want money, then I rugpull you" license.

If you wanted revenue sharing, you were at the wrong party. You wanted the Microsoft-sponsored "Open Source is Communism" party down the block.
I meant “focused on” in the sense that AI features specifically are focused on openai, to the point of mentioning openai only in the changelogs.

I haven’t seen an official demo of using ai features with a local instance. I believe it should be the other way round, the focus should be on local (because again, this is provider agnostic and privacy friendly).
73 years old, and died of a heart attack.
I don't see that as 'turbulence death'.
Parent here, I mostly work on backend web services that connect to other microservices in various ways.
Access LLMs from the Command Line
> First, I don't agree that lobbying is a good thing, in general.

Me calling my congressman is lobbying.

> using multiple millions of dark money to influence legislators

I use dark votes to pick my legislators.
I appreciate your comment because I think I am usually on the other side.
The Gordon Bell's webpage has the free pdf version as @DoctorR posted https://news.ycombinator.com/item?id=40434375
One dead and dozens injured after London to Singapore flight hit by turbulence
code 007, it's a secret
US. Canada. Probably other regions. A Surface Laptop with 16GB RAM and 512GB SSD is $1200 USD. A M3 MBA with with 16GB RAM and 512GB SSD is $1500.
Pusillanimous: when Monty Python taught me a new word :-)
Isn’t it what `jj` is doing more or less? (Apart from the AI upstream)
At least for me, I'm thinking it's funny the way US people see prison vs "europeans". Punishing vs rehabilitation
Show HN: I Built the Ultimate Business Planning Tool for Startups
Hey ,

I'm excited to share Plannifyra, a tool we've been passionately developing to simplify and enhance business planning for startups and established businesses alike.

What is Plannifyra?

Plannifyra is an all-in-one business planning platform designed to help you execute ideas faster and more efficiently. It offers a suite of features that enable you to plan, collaborate, and manage your business activities from one centralized place.

Key Features:

Business Model Canvas: Create and communicate your business model effortlessly.
SWOT Analysis: Identify your strengths, weaknesses, opportunities, and threats.
Project Planning: Organize and manage your projects with ease.
AI Assistant: Get personalized insights and recommendations for your business plans.
Task Management: Assign and track tasks within your team.
Document Management: Keep all your important documents and knowledge in one place.
PESTLE Analysis: Analyze the political, economic, social, technological, legal, and environmental factors affecting your business.
Customizable Output: Customize reports and outputs with your branding.
Why Plannifyra?

Centralized Planning: Say goodbye to scattered tools and documents. Plannifyra consolidates everything you need in one place.
Collaborative: Work seamlessly with your team, with features designed to support real-time collaboration.

Our Journey:

We recently launched on Product Hunt, which helped us gain initial traction and feedback from early adopters. We have around 370 active users and have received positive feedback on the platform's ease of use and comprehensive features.

Try Plannifyra:

Sign up at Plannifyra.com and see how it can transform your business planning process.

Feedback and Support:

Your feedback is incredibly valuable to us. Please share your thoughts, suggestions, and any feature requests you might have. We’re here to listen and improve.

Thank you for checking out Plannifyra. We hope it helps you in your business journey as much as it has helped us in building it!

Best regards,
Does the compiler catch calls to throwing functions from non-throwing functions yet?

That’s been a huge problem for us: Some lib/func 16 layers deep throws an exception and it’s wrapped in a non-throwing function so the higher-level caller has no idea the call can generate an exception and runtime crash the whole app.
I would look outside of what's happening in LLM / AI to see what things have looked like historically for other technologies. Right now, anything in the AI field is early adopters and not evidence for what will happen when mass adoption happens.

Search, browser, social media, email, laptops, phones, cloud providers, word processors, business office suites... brand name vs open source... it's a telling story

I'm not against people using local models, but from personal experience, I have a hard time seeing the average consumer choosing this route. People avoid the hassle of self management/hosting
No, it doesn't shift across 64-bit boundaries. Take a look at the gcc output in your link
```
movdqa xmm0, XMMWORD PTR [rdi]
movdqa xmm1, xmm0
psrlq xmm0, 10
psrldq xmm1, 8
psllq xmm1, 54
por xmm0, xmm1
movdqa xmm1, XMMWORD PTR .LC0[rip]
```

That's a lot of psr and psl instructions for a "single 128-bit wide shift"...
I personally keep cheat sheets within Excel. Each tab refers to each system. I can keep which sysctl's have been configured. Parameters used for daemons and I pretty much carry it with me. Network stats, io..

And your not wrong, I am happy to embrace AI. I'm not denying it's purpose, a future tech as the likes of cloud for hosting services but if errors are what your using AI/ML for then the fixes are not going to help you from not making them.

I enjoy problem solving and boilerplates allow me to waste the mornings sipping coffee and lazing around till the afternoon.

AI/ML to me is more a teacher, where if there is a specific syntax, procedure, function which I don't fully understand from documentation I can have it explain it to me in an analogically fashion.
This is an encouraging milestone. Is it trivial at this point to figure out whether a solar home install is cost effective? ie plug in your address, your last 12 pg&e bills, and get a complete quote with a break down of time to profitability?
A bit more factors tbh. User agents have browser, version etc.

iPhone in New York block still have different IP, versions etc

But I hear you, it’s better than cookies and that’s the entire point.

You can also provide a user id, more info here https://news.ycombinator.com/item?id=40434115
I'd argue they(CPP) don't even need to worry about the fabs. Let's face it, if the invasion happened and it wasn't a 3 day military operation, they need to be careful. Even if they somehow managed to basically teleport to Taiwan and take the entire area with little to no resistance, they have to be restrained in the use of force or risk disturbing the entire fab floors. Sure they got seismic protection but who knows how well that will handle nearby energetics going off.

Let's say some act of divine intervention happened, and they take the entire facilities with zero resistance and no one sabotaging the cleanrooms.....they still need to have the know how to use, operate, and export those chips. If the US and EU block chip exports then Afric, Russia, and the middle east will be the only potential customers left. TSMC makes chips not equipment, and they only manufactured the chips. AFAIK they don't actually create the chip design or the photomask etc. Which means TSMC would have a useless supply chain in the CCP hands.

Would it be a major setback, and a global supply chain crisis given chips are in everything.....yes.

But the IP, the trade secrets, Eu and american intelligence has probably already captured any critical assets just in case this were to happen. In fact if this were to happen, I would see America totally profiting off this, which is another reason China dosnt do anything. They know if they take Taiwan and tsmc, America will pump so much money into make US chips that the covid money printing would look like pocket change. It would enable america to capture the production even more, and you just know that the US and other countries would ban semiconductor chemicals and key raw materials that the Chinese need to keep tsmc running. If they capture the ASML machines they probably would not use them to make more chips, it would be a better idea to disassemble every devices inside a fan, recover every document, so they can reverse engineer the technology and not rely on ASML or foreign hardware.

The non credible defense: TSMC has built-in talks of pure HF and anhydrous hydrazine that can instantly douse the entire machines so as to destroy the major details in case they were ever to get captured. Lord knows they got plenty of hazardous chemicals laying around.
I think complaints like this show just how amazing AI is getting. This person really expected that ChatGPT would single-shot give them this obscure recipe that took them a ton of effort to find themselves. Current AI can do so much, that people lament that it can't do everything. It is incredible to me when people bring up bad AI generated legal fillings... like people actually expect it to already to all of the work of an attorney, without error.
Ancient Ritual
In the thread below his preview post, Mashey added the following (edited for typos):

"When I lead tours of Computer History Museum, I usually say there were 3 giants in the early decades of computer architecture:

Gene Amdhal - mainframes

Gordon Bell - minicomputers

Seymour Cray - supercomputers

and I was lucky to know the first two well, never met Cray."

https://mstdn.social/@JohnMashey/112477430691339073
How Pg_GraphQL Works
in the mc Donalds movie, at the end one of the founders say that the reason they chose to include Mr Donalds, is because of its name that convey a "USA vibe".

Also, why Apple is called Apple and not Macintosh anymore?

I'm not in marketing, but I think it tells a lot about the importance of a name product/company.

also: https://en.m.wikipedia.org/wiki/Pilsner

I think you should find a name that convey better your product or image of "scientifically based pills that give you nutrients". But bit before the final version of your product/company.

I think actually that for it's even good to change the name during the process, because at first you're going to talk at investors. Which is different than talking to consumers.

on a side note, sci-pills could be a cool name ahah
You aren't paying yourself for 5 years out of your first raise if you succeed.

But if your first raise is 2M and you want to hire a few people with it and make it last a year, an extra 200k might be a big dent in your runway. Or get your investor to give you 10% more.
> Raw egg yolks will last in the refrigerator for up to two days, but they can last a lot longer in the freezer with some care. Because they can get clumpy and gelatinous when frozen as is, you’ll want to beat them first, adding a little bit of salt and sugar, and then freeze them. (The U.S.D.A. recommends a pinch of salt and 1 ½ teaspoons sugar for every four eggs.)

Holy shit, that's a lot of sugar for preserving eggs.. that's 2g of added sugar _per egg_.
The Database of Religious History
this may be the effect of what people are used to. Going from 30 to 15 is huge, even if it's awful compared to a couple seconds / hot reloading. I've worked on projects where the development loop required deploying to a test environment. You get used to programming without the feedback loop (not to say that this feedback loop shouldn't be sought after, only that one adapts to their circumstances)