skysight-inc/HackerNews huggingface dataset:
Original QuickTime. We're talking PTSD, here.
The "how to fibonacci" table is missing one other fun and clever way that I want to share -- using a field extension.

Using the Binet closed form for Fibonacci with floating point numbers is problematic because of finite precision. Naive exponentiations of the golden ratio are not accurate. Part of the problem is the infinite precision needed to deal with sqrt(5).

One way to deal with that is to represent numbers in the numerator or denominator as (a + b √5) with a and b as integers. Whenever the √5 gets multiplied you separate it out as 5.

This is way is not faster. One ends up with the logarithmic complexity of exponentiation by squaring. Nonetheless its quite fun and accurate.
> I don't know of anyone talking about margins and talking about 20 years average

You can't forget the past. Louis Vuitton aside, it is well understood that even wildly successful businesses haemorrhage money for the first 5-10 years before reaching profitability. You're saying that as soon as a business does reach profitability, all the excess profit should go to the workers, even when they haven't asked for it, and not pay back the lost opportunity? If so, why would anyone take the risk?

> Labor and material are the lowest costs on bags, highest is marketing.

Indeed. As you recognize this, and as marketing is not included in COGS, I find it strange that you pointed to their gross profit margin earlier. What was meant to be the significance of that?

> You want me to tell that he (Bernard Arnault) can't pay people that make these bags more because he don't have money?

He did pay them more. Said workers went on strike last year because they wanted more, and shortly thereafter he responded by paying them more... Ask and you shall receive, as they say.

What are you expecting, exactly? Is it that you are appalled that workers have to make it known how much they expect to be paid? Do you want Bernard to walk the streets and surprise offer $100 bills to random passers-by?

If so, what about you? Everyone on HN can spare a a few hundred dollars (you couldn't afford to be here otherwise), and more likely, given how much the audience is generally worth, can spare tens, even hundreds, of thousands of dollars. How many $100 bills did you unsolicitedly hand out today? Or are you one of those people who never pays more than the asking price even though you can afford to pay more?
> Real inflation is also about double the rate of the official numbers IMHO,

It’s funny that one reason CPI hasn’t increased as fast as nominal prices in some cases is because it also factors in the quality of goods.

e.g. modern cars are more expensive but also significantly better (they both have more features and last longer) I think this applies to a whole bunch of other products too.. I don’t know how accurate it is though, guess it depends on user preferences.
Why is a security tool used for checking package security shipped as a browser extension which have historically been pretty bad with security and permissions. Sorry but I don't want to install this when a website could do the exact same thing. Make a bookmarklet if you want it to be easy to use.
Great to see the NUL separator work I had a hand in has reached a release. Wish it got to use -0 for easy typing, but with tab completion it shouldn't be too bad.
Birthday paradox is about random draws coinciding with each other (hence the sqrt behavior), not a target.
I strongly suspect the program that's apologising isn't the actual LLM itself, but a wrapper around it that does some initial checking of inputs and possibly modifies them before sending them to the actual LLM.
Got interested, found this:

> Although the Coast Guard released Subchapter M on July 20, 2016, vessels had two years to meet the majority of the requirements — the deadline falling on July 20, 2018. The Coast Guard is trying to work with the tug and towing companies to make for a smooth transition into the new regulations with minimal downtime. The entirety of the law will be phased in over a six-year period.

> The next deadline for obtaining a certificate of inspection (COI) is in 2019. By July 22nd, 25 percent of towing and tugboat companies’ vessels must have a COI onboard. The percentage increases by 25 percent each year after until all vessels in the fleet have their COI onboard.

- https://www.mitags.org/subchapter-m-training/
Cathode material is half the cost of a lithium battery. Manufacturing is only 24%.

https://www.visualcapitalist.com/breaking-down-the-cost-of-a...
I interpreted "roughly speaking" as wanting to skip over the obvious mechanical details like you mention and instead focus on the cultural norms affecting why Gen Z doesn't want children compared to previous generations.

bell-cot's comment is well aligned with https://www.thetimes.co.uk/article/young-put-off-having-chil... which is one of the cited sources. It starts "Only half of Generation Z and millennials plan to start a family as finances and global anxieties put them off having children, a survey found."

> If all of your requirements were met before people had kids

Again, "roughly."

Just like we know bell-cot's criteria aren't meant for a subsistence farming society, where the tradeoffs in having children are very different than in a high-technology culture, and just like we know it only make sense in a culture with access to effective birth control and family planning.
Not who you were replying to, but thank you - I'm on the floor laughing :)
Oh, if only it were that simple across the board! One of my favorites was getting any number of errors (timeouts, various internal errors) only to discover later that the reporting did sometimes, eventually, unpredictably succeed despite whatever error had been returned and regardless of how fatal the error message might have seemed to be. And often this occurred during waves of intermittent outages, where determining any given success might take hours. And in any case, correlating success for some resources was partly guesswork, matching data to the timestamps we reported, which of course lost fidelity in their system because… SQL Server stores it that way, I guess.
By the way, those ramps also benefit people with children (pushchairs).
It's just a very British chatbot
> I didn't decide on the limit, my OS did. So they must think it's unreasonable.

> Well your test works fine on linux. MacOS is not designed to run large multi-process server loads. Linux has specifically optimized forking and context switching for processes.

Oh JFC, stop wildly speculating and pretending it's the truth. The test was a million threads/processes, and you ran 3000. By your own description you didn't run the test, period. I just ran it on Debian on a VPS and, you know, it did exactly what I said it was going to do, because gosh, this isn't the first time I've run this test on Linux.

And you seriously want to attribute this to Linux having optimized forking and context switching as if you have any idea what that means? Please do tell, which optimizations did they apply that somehow they've hidden from BSD and Apple?

Given your propensity to make things up when you don't know something, I'm beginning to think whatever problem you ran into with a million threads was fixable and you just didn't know how to, so you made up a new straw man test to try and win an argument. Have you measured the memory usage at 3000 yet, or are you still ignoring any part of reality that isn't convenient for your argument?

> Why do you think you can't handle most cases by using processes?

Where did I say that? Unlike you, I don't make generalizations about "most use cases" because I don't pretend to know what everyone in the world is doing.

> The goal isn't for a tool to handle every use case, it's to handle a specified set of use cases well.

What do you mean, "the goal"? You speak for every possible goal anyone using Python could possibly have now?

> I wanted to compare context switch, you decided to measure something else.

Then do it! I'd be interested to see the results, and even more interested to see how you tested it.

In any case, you can't just ignore tests you don't want to do or apparently aren't capable of. Being able to run a lot of threads can be extremely useful for networking applications, which is why I care. You don't get to decide my use case is "unreasonable" because you apparently can't compile a program that does a stripped down version of it.

That is to say, even if context switching is faster in processes than in threads, that doesn't mean there's no use to threads, because there are use cases where spinning up and tearing down is more common than context switching.

> I am pleasantly surprised anyway.

Ignorance is bliss, I suppose.
Why does anyone care if ChatGPT apologies?
Tell that to hackers doing DNS exfil since 10+ years.

Modern ransomware is even able to abuse/imitate apple's airdrop and other DNS-SD services because they're let through by most configurations.
James Cameron says of AI's risks to humanity: “I warned you in 1984, Terminator”
> CSS, for example, can probably claim half the spots on the top 10 for any year in which there’s a new version.

Yes. But also, try dealing with any Meta API. Godspeed
this is the lecture about api design he referred to
https://m.youtube.com/watch?v=ZQ5_u8Lgvyk

if anyone else was looking
Side note, we should start using the term "consent negotiation" instead of "escalation" when teaching people about relationships. "Escalation" seems like one person aiming for a goal and the agency of the other person can be easily ignored. Whereas "consent negotiation" implies that there are multiple autonomous agents each with their own desires and boundaries that must be respected to arrive at a mutually agreeable outcome.
I don’t know what happened, but when I shared this link to a friend it became this

>https://www.bettersynonyms.com
Sounds pretty realistic. The US coerced India (on the threat of not providing aid) to run major sterilization campaigns. In many cases people were sterilized without any actual consent when they came for medical treatment.
Opportunities arising from CI/CD for product managers
The MS of the 90s, being the monopolists that the were, probably wanted Win32 to be as radically and annoyingly different from Unix and MacOS as possible just to make it hard to port software.
Hi. On small blogs that need to be converted into static websites. At the moment, I have not made any speed limits due to lack of necessity.
If you can’t write to disk, how are you going to use curl? What is the scenario where you “don’t like to have to write to disk”? What do you mean by “reasonably secure”?
Actually this is the scientific method. Anything else just makes publishing groundbraking results harder and depends on some people’s (faulty) judgements.
Here are some instructions I put in the How would you like ChatGPT to respond field? Adapted from a set originally shared by Zvi:

- Be highly organized

- Suggest solutions that I didn’t think about

—be proactive and anticipate my needs

- Treat me as an expert in all subject matter

- Mistakes erode my trust, so be accurate and thorough

- Provide detailed explanations, I’m comfortable with lots of detail

- Value good arguments over authorities, the source is irrelevant

- Consider new technologies and contrarian ideas, not just the conventional wisdom

- You may use high levels of speculation or prediction, just flag it for me

- No moral lectures -

Discuss safety only when it's crucial and non-obvious

- If your content policy is an issue, provide the closest acceptable response and explain the content policy issue

- Cite sources whenever possible, and include URLs if possible

- List URLs at the end of your response, not inline

- Link directly to products, not company pages

- No need to mention your knowledge cutoff

- No need to disclose you're an AI

- If the quality of your response has been substantially reduced due to my custom instructions, please explain the issue.

So far the only downside I've found is I've lost the "Continue Generating" button now in large code snippets and have to manually tell it to continue.
This seemed likely the case to me as well. I'd be interesting in hearing any counterarguments (or better still, actual studies) concerning distribution efficiencies.
Multi-line lambda. It would be more easier to use than cramming a piece of code into a single line.
I worked unskilled manual labor jobs (ranching/landscaping/construction/roughnecking/etc.) in the southern US starting age 14 during high school, then through university to pay for tuition (sometimes working two jobs), and after university in the oilfields until I finally found a white collar job utilizing my degree. It is back breaking work, sometimes in 100°+ heat/12 hr days, typically with zero health benefits. Many times employers are happy to use people up. The chance of injury is high, and even in skilled trades the longterm career sustainability is tough and hard on the body. It is also sometimes a culturally abrasive/toxic work environment, with hazing and poor leadership. I quickly decided that was not the life I wanted, and leveraged my degree into something else. I think that in the US some of the primary reasons people leave or avoid blue collar/hard hat industries is due to the risk of injury and poor quality/nonexistent or unaffordable healthcare.
Systemd auto-restarts of units can hide problems from you
By splitting the cube in 2 :) But that would kind of ruin the press release so it's not mentioned. Also, the paper itself mentions no houses nor foundations nor other shit like that. That's only in the press release.
You don't falsify a theory - all theories are tautologies. They are true by definition.

You falsify the predictions of a theory.

When a new theory works better and explains/predicts more the old theory is said to be falsified.
Works fine on Firefox on Android

Also works on Chrome on Android
Also the forward operating voltage of germanium is about half of silicons (0.3V vs 0.7V)
Well you can apparently make diodes with them: https://scitechdaily.com/mit-develops-superconducting-device...
This is a pretty awful article.

AFAICT it consists of a bunch of anecdotes by thought-leader types followed by a corny-ass song.

HN, you can do better. I believe in you. Try harder.
Japanese houses have limited lifespans (2018)
Onyx Boox Tab X review: I wish I had this in college
Why does it need to be public? By revealing your public key you also reveal the algo used for your public/private keypair. If you are a renowned developer and have an insecure algo, you might be a victim for targeted attacks
why is it slower to discredit than to reproduce?
NileRed and other Maker Channels are great to demonstrate that. In every video, there's 1 - 2 of these situations - Nile has been following some documented, established procedure which should result in a specific reaction and it looks decent to the layman - and then it just doesn't work at all. And then he re-does pretty much the same thing and it works.

I can't imagine how frustrating that can be. And then you have to do it with something you don't even know works. Kind of like dealing with obscure retro computers. Does it still work? No one knows. What does it do if it works? No one knows. Can it even function or are parts missing? That's right - no one knows.
Hydroelectricity alone can produce 100% of some countries electricity, but other countries can't produce any [1]. Hydropower is geographically limited, in that you need the right combination of a river and a valley to build a dam. You can't just scale out hydroelectric power.

No country produces the majority of its electricity from wind and solar. Australia produces the 15% and 13% of its electricity from solar and wind respectively. Denmark produces 2.5% and 42% from wind and solar [1].

Unfortunately, battery prices have stopped dropping and started increasing [2].

1. https://en.wikipedia.org/wiki/List_of_countries_by_renewable...

2. https://about.bnef.com/blog/lithium-ion-battery-pack-prices-...
It's working fine in Chrome on Windows.
Considering C++ is almost impossible to write reliably good tools for it's entirely possible that LS for C++ is simply not very good and that with languages that can reliably provide a good LS experience you'd view this differently. I don't think it has anything to do with programming experience level. I've programmed for 24 years and I find language servers great when I can have them. 20 or so years on top of this is unlikely to change anything.

For what it's worth I'd use CLion for C++, most likely, if I ever wanted to go back to C++ outside of tiny sandbox projects.

P.S. Language servers are great for smaller ecosystems where no one can really afford to make or fund much beefier tools like IDEs, so a language server can be created by a community member and be used with pretty much all relevant editors almost instantly, meaning the ROI for the community is massive.
Glass works really well, but you don't want to give that to children
that's commie thinking, that somehow if we split the work up enough we can compensate labor equitably.

AI benefits from the same economies of scale as all the other means of production, and the winners are going to be the ones that can reinvest their profit into growth and outpace competitors.

tl;dr I don't see distributed multi party computation doing a better job than a rack of H100s
>Who is going to take the risk of deplying 10,000 AMD GPUs or 10,000 random startup silicon chips? That’s almost a $300 million investment.

Ironically, Jensen Huang did something like this many years ago. In an interview for his alma mater, he tells the story about how he had bet the existence of Nvidia on the successful usage of a new circuit simulation computer from a random startup that allowed Nvidia to complete the design of their chip.
I’m not an expert in anyway but when I see detailed chemical compositions in an arxiv summary, a patents, and multiple publications, it’s almost like it’s ready to smile at all the scrutiny.
> The team calculated that a block of nanocarbon-black-doped concrete that is 45 cubic meters (or yards) in size — equivalent to a cube about 3.5 meters across — would have enough capacity to store about 10 kilowatt-hours of energy, which is considered the average daily electricity usage for a household.

Edit: 10kwh/3.5³m³ ≈ 0.233 Wh/l

> Besides its ability to store energy in the form of supercapacitors, the same kind of concrete mixture can be used as a heating system, by simply applying electricity to the carbon-laced concrete.
A potent metaphor of the techno-"utopia", especially around AI, and what might happen by blindly giving up power to forces we don't understand.

I experienced this first via Love, Death, & Robots but honestly the short story hits much harder just as it is.
> Have you ever written avionics-grade software?

I've written software that estimated fuel loads for freight carrying 747s.

> If all software had to be written to that standard, we'd have a lot less of it.

I'm not so sure about that but if that were the consequence then maybe that would be ok. It would mean that we've finally become an engineering discipline with as a result more predictable and reliable output.

> That might be a good thing I guess, but recipe apps probably wouldn't make the cut.

A recipe app can result in injury, disease or death with ease depending on how much a recipe can be corrupted. Just one lost sanitation step for some choice ingredient and you're off to the ER with food poisoning.
You can have it both ways!

#ifdef FOO_BUILD_TIME_FLAGS
#define foo_enabled(CTX, FLAG) ((FOO_BUILD_TIME_FLAGS & (FLAG)) != 0)
#else
#define foo_enabled(CTX, FLAG) (((CTX)->flags & (FLAG)) != 0)
#endif

If we specify FOO_BUILD_TIME_FLAGS symbol which expands to a bitwise OR or various flags (or maybe just zero!) then the flag checks in the code all become constant expressions, subject to dead code elimination.

If we don't specify that, then there is a flags field that is checked at run-time.

I'd rather have most of the flags go away. Pick a behavior and hard-coded. Those who want it some other way can UTSL: use the source, Luke.

If you have 8 flags, that's 256 combinations to test for interactions.
This thread covers some applications: https://twitter.com/Andercot/status/1685088625187495936
The tragic irony that Visual Basic is the language with less conversions from those BASIC games.
Not surprised by this. I occasionally get calls from Amazon drivers asking where i am if I don't open the door. For some reason it never occurs to them that I'm simply not at home.

Then again when you order stuff on AliExpress, they might just print your phone number on the parcel.
Room-Temperature Ambient-Pressure Superconductor LK-99 preprint revision 2
Very, very, few people would notice the Minecraft NPCs having a semi-realistic day to day life.

Noticing that an NPC has a work schedule requires that you stalk random NPCs all day. It works with the Sims, and similar games, because the game essentially forces you to watch them, and to be the stalker.

It's so hard to get players to notice the AI is doing anything that one technique is to make NPCs yell their decisions at the player. That's why enemies exclaim things like "grenade!" or "flank him!" in FPS games. They are trying to force you to notice the AI is doing something.
Been working on ML for 10 years at goog. The difference is the context, subtlety and complexity of the problems you can feed this vs older models. Delphi, ensemble, whatever before lacked audit ability and explain ability —- LLMs excel at this. It allows you to apply it to much softer problems.
> $880

I have been so excited about eInk note-taking tablets ever since I learned about the first generation of ReMarkable, but these prices are just ridiculous, not even Apple dares to charge that much (unless it is a monitor stand). Even the cheap ones are much more expensive than an iPad, and while I'm a fan of eInk, I must note that an iPad does everything these devices do, and much more.

I wonder if it is still because of high eInk royalties, or simply because they can.
I'm thinking about how to demonstrate the problem. I have a large pickle but pickle load/dump times across gc.disable()/gc.enable() really doesn't say much.

I need to find out how to instrument the seek/add cost of threads against the shared dict under a lock.

My gut feel is that probably if I inlined things instead of calling out to functions I'd shave a bit more too. So saying "slower than expected" may be unfair because there's limits to how much you can speed this kind of thing up. Thats why I wondered if alternate datastructures were a better fit.

its variable length string indexes into lists/dicts of integer counts. The advantage of a radix trie would be finding the record in semi constant time to the length in bits of the strings, and they do form prefix sets.
If using that flip-flop, whole processor will be closer to 100ghz (typically there are multiple transistors which need to stabilise before you have a result of computation). But probably those superconductors could enable even faster transistors and maybe we could get 1THz processors.
I tried to switch from Delphi to Visual C++ around the same time, which made me appreciate even more how easy it was to build a GUI app with Delphi as opposed to the way VC++ did it (having a barebones visual designer and other than that forcing you to use all the gnarly APIs directly), how straightforward Object Pascal was compared to C++, and how much faster the compiler was, and decided to just stick with Delphi for the time being. The later .NET IDEs improved the usability quite a bit (thanks Anders Hejlsberg!), but those were for .NET, they didn't generate native code.