skysight-inc/HackerNews huggingface dataset:
I calculated raw material cost at current pricing, which is both the best I can do and also wildly misleading — the scale is large enough to influence prices, as it either leads to new aluminium production (which means that when it is finished there is probably oversupply and thus lower cost aluminium on the world market) or it competes with existing demand while being built (driving up prices).

The wildly misleading number is about what China spends on coal in a couple of years: a few hundred billion.

Also, at 40,000 km you don't need two — that's all the way around the planet and back to the start.

Heat loss obviously depends on current and voltage choices; reasonable numbers say this still works out fine, given how much cheaper PV is compared to both storage and other production.

However, despite all that: if we can't even take baby steps like convincing Texas to play nice with their neighbouring states, something like this is only plausible on planets with a single world government, not Earth.
I don't understand why we have to pretend Ruby could ever be as fast as C. Or faster. That's like saying a jockey is faster than their horse. Ruby is riding on C, so it cannot be faster.

Also why even bother. Ruby is fast enough for the job it does. It's higher level and makes things that are "harder" in C, easier. Dev time is less, and thats where we win. We take the win, and accept what it is.
One doesn't have to disclaim anything that they had the good sense not to assert in the first place.
Stop Using State for React Forms, There Is a Much Better Way
Use libmusl instead of libc, and LD_PRELOAD becomes no more; enough said.

https://www.musl-libc.org/
I'd pay good money for a browser extension that filters out hyperbole.

It seems in the attention game that is the internet, people feel the need to make the most extreme statements they can possibly come up with. Perspective and reasonableness be damned. Because, case in point, it works.

So the most popular browser on the internet is "hot garbage"... The one everyone immediately installs onto any Windows or Mac machine they encounter.

OK, sure.
It's propaganda language, designed to mislead. It associates work with offices and implies WFH isn't 'real' work.
Found two people who could have made their reasonable points in more productive ways.
In the long run I think the determining factors will be:

Connection to the Python ecosystem. Python remains the number 1 teaching language by a large margin.

AI funding. If they can get the buy in from the AI community that Julia never got, they have the resources to engineer around any challenges faced.

Solid foundation in modern language design, and with that, a focus on correct code produced by larger teams.
You could’ve used bash’s exec which allows specifying argv0
> We funded the second batch in Silicon Valley. That was a last minute decision. In retrospect I think what pushed me over the edge was going to Foo Camp that fall. The density of startup people in the Bay Area was so much greater than in Boston, and the weather was so nice. I remembered that from living there in the 90s. Plus I didn't want someone else to copy us and describe it as the Y Combinator of Silicon Valley. I wanted YC to be the Y Combinator of Silicon Valley. So doing the winter batch in California seemed like one of those rare cases where the self-indulgent choice and the ambitious one were the same.

> If we'd had enough time to do what we wanted, Y Combinator would have been in Berkeley. That was our favorite part of the Bay Area. But we didn't have time to get a building in Berkeley. We didn't have time to get our own building anywhere. The only way to get enough space in time was to convince Trevor to let us take over part of his (as it then seemed) giant building in Mountain View. Yet again we lucked out, because Mountain View turned out to be the ideal place to put something like YC. But even then we barely made it. The first dinner in California, we had to warn all the founders not to touch the walls, because the paint was still wet. [0]

and, from 2007:

> The idea that startups would do better to move to Silicon Valley is not even a nationalistic one. It's the same thing I say to startups in the US. Y Combinator alternates between coasts every 6 months. Every other funding cycle is in Boston. And even though Boston is the second biggest startup hub in the US (and the world), we tell the startups from those cycles that their best bet is to move to Silicon Valley. If that's true of Boston, it's even more true of every other city. [1]

He goes on in the second essay about why VCs in the valley are more aggressive and more deals get done than in Boston or anywhere else, but I suspect that was a huge part of the reason for the move from Boston

[0] http://www.paulgraham.com/ycstart.html
[1] http://www.paulgraham.com/startuphubs.html
60 billion? They need to send a rocket to mars or something?
I learned how to code when I was a kid with a mixture of C++ my dad showed me on our Dell running Windows 95 and PHP that I taught myself in the years after. All through my teenage years into my early 20s, anything I wanted to make I made in PHP. I still have some PHP projects online, but recently when I want to make anything, I set up an API in Python and build the front with a JS framework.

Is part of this just getting in on the latest trend? Definitely. I like scrolling through trending on Github, ya know?

But I was also just tired of writing PHP. Python is cleaner, so if I can do the more complex backend stuff in that, coding is more fun. I would say PHP and JS are about equally “unclean” but if it’s just frontend all those brackets and parentheses don’t become an issue as much.

Just one experience.
Reading from a socket, as in the linked post, is an example of not performing I/O? I'm not familiar with tokio so I did not know that it maintained buffers in userspace and filled them before the user called read(), but this is unimportant, it could still have read() yield and return the contents of the buffer.

I assumed that users would issue reads of like megabytes at a time and usually receive less. Does the example of reading from a socket in the blog post presuppose a gigabyte-sized buffer? It sounds like a bigger problem with the program is the per-connection memory overhead in that case.

The proposal is obviously not to yield 1 million times before returning a 1 meg buffer or to call read(2) passing a buffer length of 1, is this trolling? The proposal is also not some imaginary pie-in-the-sky idea; it's currently trading millions of dollars of derivatives daily on a single thread.
It's hilarious fun, and will be 28 years old on Sep 15.

For those who might have missed them, these may be entertaining, if not inspiring: www.ign.com/articles/best-hacker-movies
No you couldn't, a font can have different styles. That's what databases and querying them is designed for
> You wouldn't pick it for your job interview's coding test if you had a choice (Python all the way there),

I do actually pick it for several reasons.

1. I want to know if the environment I am going into is pragmatic about languages. If you are going to refuse to continue working with me over something so minor as PHP then we aren't a culture fit.
2. I want to showcase my best. I know this language in and out. It's the first language I learned and I have the greatest ease of building algorithms with it. I've had interviews where I was asked to do something with PHP that PHP did not support and I found ways to make it work.
3. In some ways I love the conversation that comes with positive interviews when using it. Oftentimes the interviewer isn't very familiar and it sparks discussion on the languages benefits and drawbacks further showcasing my skillset.

Sure as we progress along in the interview process I will switch to whatever language the company uses primarily but if I get a choice I always choose PHP.
From some statistics, it has been shown that the underwater welder’s life expectancy is about 35-40 years
Good morning from Germany, where the sky is clear and sunny, local time 9:15 am.

I guess the message:

> Given its current magnitude, C/2023 P1 (Nishimura) is barely visible to the naked eye, easily visible with the help of a small binocular.

does not take the spectator's location into account, it is just based on the object's magnitude.

But for my location, C/2023 P1 (Nishimura) is reported to be above the horizon.

So I had a look, and: the problem is that the comet's current location is vertically above the sun, and so close to it, it is not visible to the baked eye, and it would certainly fry your retina trying to locate it with a binocular.

And here is the orbit diagram.
https://theskylive.com/c2023p1-info#orbitdiagram

My interpretation from the orbit: the issue with the comet's visible closeness wrt seen from earth will remain until the comet leaves again.

But maybe if a crazy-big coma and tail develops on the perihelion/maximum closeness to sun can help with visibility
If only we could know what this was about without having to view the video.
My tech stack upgrade journey – From Node.js to Deno
Its great that Emacs is still with us and long may it last. Its incredibly powerful and flexible, but it also really hard trying to sell it to a new user. Most of them will just download and use VS Code. Is is still possible to popularise its use? Most people just want to get up and running straight away, something which Code lets them do, they dont have the time or patience to learn how to use Emacs. It comes from that RTFM era where you were expected to learn to use something however steep the learning curve, and people will just give software like that a miss.

I dont want to see it die out an I really hope someone does come up with a tutorial that can draw novices in or at least can show them the real power of Emacs and get them excited enough to want to learn to use it.
The trade offs between the two are huge.

Go programs compile in less than a second, or several seconds for huge projects, where idiomatic Go gets you within the same order of magnitude to that of C(++), with some memory overhead. Concurrency is first class, GC pauses exist but are seldom an issue.

Idiomatic Ruby runs several orders of magnitude slower, with a huge memory overhead, and is rife with runtime gymnastics. Concurrency is an expensive hack, with stop-the-world GC.
There’s a small, extremely online fringe of dedicated, fanatical holdouts. I very rarely see people masked in real life anymore.
People remain in bad situations for many reasons that have nothing to do with their skills, performance, or quality of work.

Maybe they have a medical condition and cannot risk disrupting their healthcare even for a short time, maybe their housing is at risk, maybe their partner was just laid off, etc.

Please do not insult those with fewer options.
That either/or seems a little bit to bombastic, don't you think? How things are typically done, is not the constraint for how things can be done.

It wasn't "N years of support". It was much simpler of a suggestion of. X.Y.Z versioning, where any increment of Z is free, then the pricing of a upgrade on X. or Y. is just some measure of distance to what you already have.

Simplicity in marketing is still more important than any fairness in sale. So, what I'm suggesting isn't a very good idea. But, I think it is interesting enough to think about. You might disagree on that point as well, but, I'm not here to argue.

- Version 1.0.0 of a software priced at 100 USD.

- Version 1.0.5 you get for free.

- Version 1.1.0 becomes available and you can upgrade for 2 USD, but you wait.

- Version 1.1.6 becomes available and you can upgrade for 2 USD. You do so.

Pros:

- A very friendly pricing for casual users.

- Similar incentive to develop new features for users to upgrade to, and get access immediately.

Cons:

- Maybe a bit more confusing pricing models.

- Non casual users don't think twice about the pricing anyways, and the pricing model becomes less predictable than a flat X pr month/year.
> The IRS should be required to maintain its own online filing system, and provide it to all Americans without charge.

Sure but if you let the government do it you can be 100 % sure it will be the worst software ever designed.

They have no incentive to make it good. You know the drill.
How to secure your website against bot attacks
> No one is trying to kill your puppy or taking your types away.

dhh literally took people’s types away. People don’t like that.
The title is misleading, just like other commenters mentioned. Just check how much indirection "rb_iv_get()" has to make (at the end, it will call [1], which isn't "a light" call). Now, check generated JIT code (in a blog post) for the same action where JIT knows how to shave off unnecessary indirection.

We are comparing apples and oranges here.

[1] https://github.com/ruby/ruby/blob/b635a66e957e4dd3fed83ef1d7...
If you keep it up, you might get faster and then maybe your long walk to get a massage becomes more sustainable, perhaps even in winter.
Why would there be no contractual relationship?

If two people sign a paper agreeing that they would both do something on a future date, it's generally a contract, and they don't get to back out of it without paying some form of compensation.

The difficulty of job offers is that you generally can't force the employer to continue hiring a person they don't want, so the most you can get is severance assuming they fire you on the first day at work.

As for whether the employer can sue if the potential hire backs out... my understanding is theoretically yes, but probably the only thing you can claim is the amount they would pay if they resigned without notice. Which generally isn't worth the legal costs and the PR risks.
I think your ventures college class wasn't taught by someone with real experience. The rule of thumb is more like a 50% failure rate each year. Software may buck that trend. Here's some data that shows just 1/50th will exit in 5 years [1].

[1] (https://www.beauhurst.com/blog/startup-fail-scale-exit/)
Rain killed any chance of seeing the Blue Moon for be. But the universe was nice, the clear skies meant four days straight of a clear view on the milky way, while I was lucky enough to be at place close to no light polution!

We'll see what this night brings, should be around 4-5 in the morning in my neck of the woods!
It would appear that I am one of the chosen!
We have yet to see Mojo do any "sufficiently smart compiler" optimizations that Julia or similar languages don't already do. The Mojo code in the blog post does the same ugly optimizations to get good SIMD as the Julia code.

Convincing LLVM to vectorize is still a problem in both languages. I do hope Mojo can make some headway there in the future. Especially since with MLIR they might be able to capture some higher level semantics Julia can't.
You are not alone! It’s indeed very bad UX on the part of Apple.

I run a website with music education tools and we had to make a dedicated help page for this particular annoyance:

https://www.soundslice.com/help/en/player/troubleshooting/23...
The convoy terrorized the residents of Ottawa with verbal & physical threats and 24/7 assaults of noise pollution for weeks on end, waved around swastikas and other paraphernalia of white supremacy, and demanded to replace the sitting, legally-elected government with their own hand-picked people, which would have denied the vast majority of Canadians their electoral rights.

They’re terrorists and seditionists. Use the trial to expose their crimes, remove all doubt of culpability, and lock them up. 10 years is practically a slap on the wrist. 150 years ago they would have been cleared out within a day via grapeshot fired from cannons. They should be grateful that the rest of us aren’t “conserving traditions” with the same zeal that they do.
The one the govt made in Australia isn't half bad, though mygov was rough when it launched.
Talking about technically well written:

When showing microbenchmarks - show the exact hardware used, make sure the CPU does run at fixed frequency (no boost, most laptops can't control the freq. esp Macs)
The UK manage this and we're completely dysfunctional in many ways.

Doing your taxes via self assessment is free and takes about 30mins to an hour online via HMRC.

Most people also go their entire lives without "doing their taxes"
> It kind of makes sense to me as an adult. Hackers are authoritarians without power. You don't do what they want, so they are going to destroy your website/livelihood/life. Petty kings without a kingdom. This morphed into the cancel culture we see today and groups like Antifa.

Yeah of course hackers from 90s and cancel culture people on Twitter are the same kind of people.

LMAO.
> I think there is a good argument in saying simple NLP is basically solved

In my experience LLMs can get about 70-80% accuracy on a bunch of NER and text classification tasks if you give it a reasonable prompt. That's not nothing and it's something that you can get started with super quickly. But you'll have slow responses and typically a 3rd party running the inference.

Annotating data yourself to about 2000-3000 examples, on the datasets that I ran my benchmarks on, may get you closer to 80-90%. You'll typically also get fast inference that you can run on your own hardware no problem. By annotating the data myself I also like to think that I understand the problem much better as a consequence.

Don't get me wrong. LLMs are cool and interesting ... but they don't seem to replace old-school methods just yet.
That's kind of arbitrary though. Why if they wanted to price it at $2k if it were to be ad free? Would the consumer then prefer ads if offered with such choice?

They are taking the risk of repelling their customer who paid $1k+ and still sees ads and they are entitled to the courage of their conviction to take that risk.
> I am part of numerous programming discords and I just see no issue with them being on discord

Has Discord ever asked you to provide and confirm your phone number to continue using it?
> The ability to interleave code and HTML was also tacky and never taken seriously

And yet people would take a bullet for React and the JSX templates.
I bet the early C and C++ iso committee meetings were just as bad if not worse. Worse cause it would be corporate entities having tamper tantrums about which pet language feature should get implemented.
Hi Jarred,

The docs say that Bun uses clonesfiles / hardlinks (yay). But it also states that clonefiles don't benefit space saving:

> This benefit does not extend to macOS, which uses clonefile for performance reasons

As far as I know, clonefiles are COW, which should not take any space except the extra inode.
But those kilometres on it can cost more than the 4000. So value drops by 1500, but you could have spend the original value and extra 4000 to get there.
Mystery 'golden egg' found on ocean floor
> If you're in a role that is even remotely security sensitive, including having any kind of direct communication with clients, odds are also pretty high that they'll just accept your resignation immediately and not have you work out the two weeks.

Not my experience at all, from many high-level roles with access to everything. I've always stayed at least 2-3 weeks for a clean transition.
That's a good point, I imagine doing that would screen out companies run by language snobs.

My go to for this is to say "I don't think Typescript is needed most of the time". The snobs look at you like you just farted in their face.

But having done some coding interviews where time and space complexity were a factor, I found it easier to succeed with Python.
My constant source of werid-but-great wikipedia articles:

https://www.instagram.com/depthsofwikipedia/

https://twitter.com/depthsofwiki
I have wondered this but Spacy seem to be about delivering additional value on top of the LLMs. Take a look here: https://spacy.io/usage/large-language-models
To add one anecdote, this seems to be hard even for children. One of the kids in my family had a second adenotomy (first one grew back), and to improve hearing longer term, they also inserted a tympanostomy tube. Hearing did improve a lot, but the kid had regular meltdowns in the months afterwards. He described it as a loud noise that is constantly screaming directly into his head.

Eventually, things calmed down, and things are good now. His parents still aren’t sure it was a good idea because his other ear worked fine mostly, and the docs said his speech development was excellent anyway.
On a related note, I recently came across this ingenious high-performance technique for system call hooking: https://www.usenix.org/conference/atc23/presentation/yasukat...
> The Paqui chip was seasoned with the Carolina Reaper pepper, the current hottest pepper in the world, and the Naga Viper pepper, which was the reigning hottest pepper in 2011 but is now merely among the top 10.

Apparently the Carolina Reaper has a capsaicin content of around 100mg/g [1] -- and each one weighs around 5 grams. 500mg capsaicin is a hell of a lot to take in a year, let alone in a sitting, and can certainly have systemic pharmacological effects via TRPV1 receptor activation.

Resiniferatoxin is a more potent TRPV1 activator than capsaicin -- and, as its name implies, it is dangerously toxic.

Your regular jalapeno pepper has a capsaicin content of 0.22mg/g.

I don't know how much capsaicin is in the chip, but it certainly seems to have been an unsafe amount.

[1]-https://mendelnet.cz/pdfs/mnt/2017/01/96.pdf
The Procreate product page has a heading "Procreate on your face", which is so stupid, it must have actually been on purpose.
Your comment articulates my thoughts on PHP very succinctly. Especially the culture fit bit. PHP is so insanely pragmatic that if someone looks down on it due to false preconceived notions then they're not the kind of person I can probably work happily with anyway.

It's also the thing I'm best at!
It's always been the case.

But now it happened in FAANG so it burst the bubble of the proportionally few who used to feel special.
Why would you wear a lead apron for welding? Doesn't seem like it would reduce lead exposure.

Lead aprons are typically used to reduce radiation exposure.
Have you tried using TurboTax? It doesn't exactly make one sing with joy.
The point of iteration is not typically to find the best implementation for a given algorithm, it's to find the best algorithm for solving a given problem.

I can see the argument that Rust encourages by its design a clean implementation to any given algorithm. But no language's design can guide you to finding a good algorithm for solving a given problem - you often need to quickly try out many different algorithms and see which works best for your constraints.
I agree. I likely never will argue for prohibition, given that I have believed in the principle of an inalienable right to drugs ever since I could ponder these matters.

My perspective on public drug policy has become more nuanced over the years, in that I have come to recognize that those who fear legalization have actual, legitimate points that need to be addressed. For me, that was kind of a huge shift.

But, yes, clearly, charging taxes on drugs to monitor quality and mitigate the social effects of drug use is far more efficient use of our resources than the endless escalation of violence and corruption we have now.
There's a lot and hate of criticism of PHP out there, so some praise and sane opinions are nice to balance it out.
I'm sorry but if your only reason why PHP and JS are less "clean" than Python is because they have brackets and parenthesis, you're sharing your inexperience, not your experience.
Doesn't that happen everytime you want to show something?
Yes, it may well be misleading, yet you're making the point of the commenter you replied to while pointing out why the article is interesting. If you're a position where you're using Ruby and considering whether writing a C extension will speed things up, it has valuable advice on what other things to also try. That is a lot more interesting to me than the title.