skysight-inc/HackerNews huggingface dataset:
For what it’s worth, for me, the time-to-first-attempt-to-run-it is faster in Python or Node than Rust (sometimes), but the time-to-first-working program is generally not, and by the time I have the Rust one working, it handles most of the corner cases with clear error messages. There are rarely unexpected cases not handled.

In other words, I find it faster to produce working stuff in Rust and much faster to produce quality stuff.

Obviously I’m just one data point.
10DLC is a nightmare. I’ve had to deal with it across several different projects and it essentially comes down to very specific language & processes for opting-in / removing subscribers. Feels like 10DLC was designed to be obtuse — if I was going to spam people I certainly wouldn’t want to jump through all the hoops.

That said, if you look up the best practices and use the very specific language / processes that the DCAs are looking for, you should be able to get approved with little effort.

Some things I’ve learned, in no particular order:

— If your provider (e.g. Twilio) has specific language they advise you include on a form / website / etc., use that exact language verbatim.

— For forms where you collect a phone number, have the compliance text very visible, perhaps even sacrificing UI/UX. After your campaign is approved, you can clean it up.

— Make sure you include your business / project name & opt-out instructions (reply STOP) in every sample message you submit for the campaign.

— Stick to the use case you selected & do not deviate. Make sure your campaign details align with the campaign description.

— Marketing-related campaigns — avoid if at all possible.
> While that’s all true, why is being in a car a special case?

If you are in an emergency that requires evacuation, and you have means to evacuate, there's a good chance that means will be a car. In such an evacuation, having a universal way to communicate would be pretty useful. Although, it's not clear that people would know to listen to it.

Also, plenty of existing travel advisory systems rely on AM radio, so it's a mess if a new generation of cars can't tune to AM 530 when lights flash. The vast majority of existing cars in the US have an AM radio receiver, and there's a generation of classic cars that never upgraded to FM radio.
It doesn’t predate sql and certainly not it’s use in mathematics. There are other options for concatenation so this is an unfortunate error.

Shouldn’t copy Erlang, otherwise might as well use it.
Yea I agree. AM seems like the most viable.
By put-call parity, C - P = S - df K, thus C = S - df K + P > S - K.

This is contingent only on the discount factor df being <= 1, and P >= 0, which is basically always the case. Thus, the value of the call exceeds the exercise value, making exercise never optimal.

Exercise for the reader: Understand why the same argument doesn't work for puts (or calls on dividend paying stocks).
> As soon as you start writing large enough programs to start to learn/worry about variable scoping you are kind of "worrying about lifetimes though.

Yes, to a much smaller extent. Rust's object lifetimes, for all the performance gains you get, add on a layer of additional cognitive and development overhead that is simply not present in memory-managed languages.
LLMs are the type of junk AI that these corps think will succeed? They are spending billions and consuming a large amount of resources and energy for this. Seriously, what a waste.
First thing I thought as well
One thing I hate about F# and SQL is that they use <> as a "not equals" operator. In Haskell, <> is the binary operator of any Semigroup instance.
> Again, not my experience at all. I simply don't think about any of that stuff when I write Rust

Your subjective perception is not reality. You have to think about it, or your programs will be incorrect. The mental load may be low to an experience Rust programmer, but it is there, and it's very intrusive to Rust beginners like myself.

> If you don't believe me, you're welcome to watch the literally hundreds of hours of me live coding in Rust on YouTube.

That's not relevant. Lack of external indicators of cognitive load does not mean that it's not happening.
But then Australia is a country where getting Solar Power with such a vast space is difficult due to all sort of political reasons doesn't seems very friendly to all the manufacturing requirement for modern Foundry.
Guillemets are not the same and have their own symbols.
In an emergency, when you have a million people evacuating a city, you can put up signs that say e.g. "tune to FM 90.1 for emergency broadcasts".

We're in cities, not the middle of nowhere in this scenario. The idea that we need an AM station to cover a few hundred square miles doesn't really apply here.

> You just need an antenna and AM radio, plus the user interface

And ensure all the shielding is good enough so your AM radio is actually useful, and designing all that shielding, and potentially having to change the placement of antennas on the car, etc.
I'm struggling to see a usecase for rust. If I want to do something as high level as a web app, GC is fine. If I want to do something at the systems level, Zig is much more at home there.

And development in rust is glacial. It's no one language featurep (not complaining about the borrow checker in particular), but the accumulative overhead of all of them acting in weird ways.

I will say the tooling is absolutely amazing, it's nice to span "app level" and "systems level" concerns in a single language. But it is a lot of language.
That's not a roundabout, that's a 4-way-stop with an island.
> the first industries to fall were actually the more creative ones like writing and art

have writing and art really fallen? aside from stupid SEO drivel writing, that is
FFI can be a source of performance issues in Go but not in C# (at least not to the same extent), unless you go out of your way to fight the happy path approach.

Sometimes you do have to rethink what you marshal vs what you just manage manually, but that’s what pointers are for (that can be turned into ref Ts for single values and into Span<T>s for slices/arrays/etc). The idea is that performance ceiling of FFI in .NET is as cheap as direct calls.
My memory of the consensus, the last time this topic came up, is that the number is in fact less than a hundred microseconds. But it doesn't matter for my point if it's a few milliseconds or whatever. The problem is solvable.
Another "China will collapse in X months/years".
Looks like it works offline/client-side and doesn't perform any online/on-chain validation. Which is preferred if possible. Would be nice if the page explained what form of validation specifically is being performed. Currently it is not obvious what valid/invalid means in context.

What is the source of the "scam reported" addresses currently?

Are you planning to also publish sources?
> React on the server is not PHP

I took this headline to be a dig against React on the server, but I guess the author intended the opposite.
Yes could have made that graph more clear. Its the "Daily Headphone audio exposure over time". Its one of the variables apple health tracks.

I listen to quite a variety but a lot of house, and afrobeats while programming
Thanks for clarifying, that's what I assumed you meant. I've just seen enough people get antsy or vocally against free software using a copyleft license instead of a permissive one* it makes me second guess some phrasings.

> being open source doesn’t automatically mean you can use the software commercially

I acknowledge there is a split in recognizing "open source" as between (a) a broad term of source code read-ability or (b) attributed to the specification defined by the Open Source Initiative. I see both arguments, but I believe using the OSI definition can eliminate some of these uncertainties.

* Despite the fact it's an end-user tool/application they will not be exposing, modifying, or extending in any way.
Apple II Source Listings
Everything after the line containing '<-' happens in a callback.

Since it's a callback, I assume it's up to the function whether to call it, when to call it, and how many times to call it, so this can implement control statements.

I would guess that it also allows it to be async (when the callback isn't called until after an I/O operation).
We Greeks contain multitudes.
I think there's a scale/complexity thing to be considered.

If your web app is simple, then frameworks and "safe" languages are unnecessary.

At some stage though, that flips around. There's no way I'd choose to write, say, gmail or Trello in "plain javascript". The learning curve of a suitable framework for projects like that are well worth the eventual productivity, and the number of feet to shoot in your project will way exceed the number of feet added by the framework, and hopefully the framework will prevent way more foot shooting opportunities than it adds.
Thank You. Glad I am not the only one noticing this.

On another note, now that Anandtech is closed are you still writing for any other website?
How One Polling Decision Is Leading to Two Distinct Stories of the US Election
"You can't make this stuff up."
My kids and I are having a blast using Suno to make stupid songs. With your attitude, we wouldn't even attempt it because (1) I'm not musically inclined (2) I don't have the time or desire to learn the actual composition (3) the kids don't have the focus beyond having the bot write something silly.
My reaction was on the nerve wracking side of that spectrum because it took one minute of useless chit chat to get to the point. It's NotebookLM always like that? TV shows are even worse at that but people have their own reasons to do that.
This is computer generated and it doesn't have its own reasons: the idea that Google programmed time wasting into their model is discomforting.
Why doesn't someone train AI with AM? It's mostly talk radio, and more factual than the Internet.
I think a lot of people make the mistake of conflating Wordpress development with PHP development.
I don't have anything useful to suggest, but please remember to post here an update a few days after the treatment. Fingers crossed.
Isn’t this just like SEO where you can also try and trick the crawlers? Only difference is that it feels more serious with AI, it’s more realtime, and the AI engines aren’t always smart enough with anti-duping capabilities?
nope, 30-ish years in the industry, too old to try to sell you anything but may make you think about the future or what you do
And Apple in the 2000s! The iMac G3 and eMac was everywhere in classrooms.
That is the worst attempt at an argument - just throw everything from all of history to "win" your argument. We are talking about isolated events. You need to do something besides troll HN. It isn't beneficial to anyone.
Because this has deep integration with potentially sensitive data?
Which framework does he suggest? Next, remix or svelte kit? I’m sure there are more. Which one will become dominant?
> Despite this enthusiasm, however, a number of technological challenges remain before scientists can test such wombs on human babies.

Philosophical and ethical challenges aside
My elderly father will go 20 mins out of his way to avoid this series of intersections in Oshkosh:

https://maps.app.goo.gl/5SiJhyQREhNSN8PJ9
Getting an AI to promote or recommend a particular product when users ask for recommendations, or perhaps exaggerating the value of a particular product. Seems like that’s what the author was getting at towards the end
Yin the OOP world I’ve seen this pattern called chaining : usually either method or object chaining.
Some LLMs already have a context window of 1M tokens, which I believe is already more than any human dev, but yes, I agree that it's not enough to look at it statically. Rather a multistep approach utilizing RAG and/or working directly with the language server would be the way to go. This recent post from Aider about using o1 as an architect seems to me like a good move in this direction - https://aider.chat/2024/09/26/architect.html
3Blue1Brown – How are holograms possible? [video]
Thinking of the same thing. It would be interesting to see a graph of all the submissions that came from various discussions, and people are discovering or rediscovering new things. Dont know if anyone has every done something similar.
I like PHP and javascript.

Jquery wasn't pretty but it did smooth over browser differences (as someone who had to target a blackberry browser, I still respect it.)

Vue/ React and company are pretty amazing. But sometimes I wonder if they're too much for a lot of the use cases they're used with. I find a fair number of sites that don't quite work.. that could have used a simple form. The "javascript form check" before submission seems to be quite frequent. Webpack is a pain frankly.

modern php is pretty amazing. Though the trend of getting on the upgrade hamster wheel and frameworks use of the latest/greatest makes it harder to like. When I run into a perl script at work, there is some relief that it will probably work, as perl just isn't changing (warts and all).

https://www.php.net/supported-versions.php
>It's mostly talk radio, and more factual than the Internet.

are you joking? coast to coast is worse than 4chan
Recently I was surprised by not-finding any phone-accessories that are basically a USB-C plug, a little blister of inline electronics, and then more wire for an AM/FM antenna. (And an app to control the tuning/presets, etc.)

It seems like something that ought to be technically doable, but perhaps the market isn't there compared to just selling standalone little radio-things?
Does stuff like this still have database-level locking? If so, how does that scale at all?
Was it not before? I had thought I had seen scanned pages of it online before.
old as well, in the industry since 1996… I get what you are saying but I can honestly tell you I have spent last 6-ish months analyzing these tools and making comparison between vim and IDE vs. someone (not) using LLMs is not even remotely reasonable comparison…

given your age/time in the industry you may be able to coast to retirement and finish the career and say “vim got me through it all…” - someone with 10-years in will never be able to experience that
> but it DID make some types of jobs semi-obsolete like sysadmins and dbas. It also created new jobs like DevOps.

Er, that's the same thing. The only change is that HR thinks my position is labeled "devops engineer" now instead of "sysadmin", but it's the same job.
Or just OCaml
Non-fiction: The Age of Wonder, Richard Holmes.

Fiction: The Gods Themselves Asimov.

These are the book I always recommend to friends and colleagues. There are runners up based on taste, such as Zero to One,The Making of the Atomic Bomb, and Anathema.
This is all predicated on the fact that money is a resource that everyone has access to, which is not the case. Unfortunately, the rest of us have to work and do things ourselves because we cannot afford to outsource those things. The cost of doing so is literally out of reach. This entire thread is steeped heavily in privilege. I wish, and a huge number of people like me also wish, that we even had the option to trade money for time or the option to just decide work is stressful and we would rather reclaim our time with our family. Instead it's missing your grandparents birthdays and eventually their funerals because work won't let you go and you can't afford rent next month.
No, it's what the article superficially reads as being about, but the author did not accomplish what is actually stated in the title. The author is serving a fake version of his page to Google, and the author used a podcast-generating AI to write a podcast based on the fake page, but the loop is never actually closed to show that Google has accepted the fake page as fact into any AI.

I'm not sure if it's deliberately deceptive or just an example of poor writing conveying something other than what the author intended, but the attack in the article is not instantiated in the blog post.

Mind you, I well believe that less extreme examples of the attack are possible. However, I doubt truly poisoning an LLM with something that improbable is that easy, on the grounds that plenty of that sort of thing already litters the internet and the process of creating an LLM already has to deal with that. I don't think AI researchers are so dim that they've not considered the possibility that there might be, just might be, some pages on the Internet with truly ludicrous claims on them. That's... not really news.
> which is an extremely rare source of bugs

Confidently asserted, but very debatable.

> The vast majority of errors caused by shared mutable state are related to concurrency.

Concurrency, like async-await, you mean?

> TypeScript's type system contains features that Rust's does not have

Sure, and likewise Rust's type system contains features TypeScript's does not have—for example, just try expressing anything close to traits with TS's type-erased generics. Since the feature sets aren't the same, I suppose it's a matter of opinion which type system is preferable. But I know which one is more helpful for me for sure (especially considering the aforementioned soundness issues).
We live in exciting times! But also very confusing times.

I spent the last year transitioning from data science to learning full stack web dev and it was pretty wild. There isn't exactly an obvious entry point into learning all of this stuff and there are so many layers of abstraction now.

As hilarious as it sounds, I actually first tried to learn web development by building my first website with Next js on Vercel without even knowing basic html, css, js or what a webserver was. Needless to say, I hit a hard wall and decided to learn web dev from the ground up with html, css, js and flask.
"The best minds of my generation" originally referred to heroin-addicted artists. I wouldn't take it too seriously or literally.
What’s funny is that PHP got part of its bad reputation from poorly maintained, poorly organized codebases. Many PHP jobs involve modernizing that crap, which is gnarly.

However, that will one day happen to JavaScript. Imagine wrestling with a barely updated, decade-old JavaScript codebase in 2034.

I am of the opinion that it will be even worse than the old PHP app. At least the old PHP app didn’t have more than a dozen packages at most. Your job then will be to modernize a JavaScript app with 1000+ dependencies from one of the dozens of frameworks that didn’t make it. Fun!
Looks great.

Someone should make a zaggy, which would be data isomorphic to Ziggy, but like yaml, minus all the stupid shit in yaml (like prohibiting Norwegian use)
I assume your "kr" example is the Danish kroner here? If yes, for others, the current FX rates is 6.79 DKK to USD. So 0.25 DKK is about 0.0368 USD, or less than 5 cents in US.
>Look at the bigger, global picture.

Global picture doesn't work with people in charge of this. If someone shows substantial evidence of mental decline, would you want them anywhere near anything that has to do with global communications?
I agree on all points but unfortunately php can't do things Javascript can do, as in manipulate the DOM, and run natively in the browser client side...

So I am a mostly happy php developer that still has problems
yeah that's probably ideal. but if I had to pick one, the outfront dick-headedness is much better than the passive aggressiveness all over HN.
The police don't buy it, they get it for free

https://techcrunch.com/2021/08/19/google-geofence-warrants/
> I have ~200gal of red diesel

> it's a fungible asset

Cool, let me put that in my gas-powered ICE car. Its so fungible.

And I mean practically every household has a 200gal tank of diesel in their apartment and suburban household. Only the oddballs wouldn't have it.

> tractor

Hmm, makes me think maybe most households aren't in the same situation here. Most households are going to be in the same situation if their car is an ICE versus an EV. Maybe ever so slightly better in the EV, because at least they're likely to already be charged to like 90% every night versus somewhere between nearly empty to full. In the end, if the grid stops working chances are they're going to have a hard time getting more gas until they get someplace where the grid is functioning.
But why have fun with your kids when you could spread the good word of open source instead?
I also use Twilio for a hobby project. When the 10DLC changes came down I found it pretty confusing. I was able to keep my current pricing by purchasing a toll free number (trivial cost) and filling out a Word doc explaining how my website meetings some basic requirements (users opt in for SMS, theres a way to unsubscribe, etc)

I wrote about my experience on reddit: https://old.reddit.com/r/twilio/comments/z9q3i1/10dlc_confus...
They definitely are too much. Htmx, for example, continues to increase in popularity precisely because so many full stack devs are playing with it and it seems to solve their problems.
Keycloak OIDC. Cannot go wrong doing this. Enterprise tested, easy to custom style, well documented hosting story, and no lock-in.
I'd recommend reading the article, it's awesome!

But to answer your question, he doesn't suggest any frameword in particular. He's merely expressing his excitement about these full stack js frameworks.

And if I were to suggest which one you should learn, you should learn the least in-demand one, because that's the one you secretly want to learn ;)
They have a metric ton of data about you. I think they just don’t use it much because they probably realized that unless you get super creepy about it, most of this data is worthless from an advertising point of view. Except on YouTube they don’t really know what you actually like - most of us don’t tend to express our real desires in the web but only in instagram or TikTok or YouTube. YT has ads but it doesn’t seem to have devolved into a cesspool of content only designed to sell you things as Insta and others have become. Your location could be useful but it becomes creepy if google used that to target you with ads so it seems to have bowed out of it (they don’t even seem to store location history in their servers anymore).

Clearly they’re happy with the money they make from AdWords and andsense. So they’re leaving us alone with the rest of the data for now.
This is the saddest thing I've ever read on HN. Dear future, please do better.
Oh nah, I just use that term incorrectly to mean, its likely someone somewhere has lost their job directly because of AI. I've heard a couple horror stories I'm biased toward believing about copywriting and e.g. video game concept art.
That’s a mostly solved problem. If you’re in the Laravel ecosystem:

https://livewire.laravel.com/

https://alpinejs.dev/

AlpineJS is for your menus and simple client-side interactivity. Livewire lets you render components server-side while handling routing, interactivity, updates, morphing, everything you need all in one. Even complex things, like cross-page persistent components, are possible.

Combine the two, you’ll be counting the lines of JavaScript you write in the dozens, on one hand.

Later, you can throw in Laravel Volt if you like your components single-file with a functional syntax; Laravel Folio if you like your routes defined by your folder structure like classic PHP; or throw in Filament for an entire UI library, form builder, table builder, and notifications delivery system.
Gleam's 1.0 release was in May and it's still adding major features.

JavaScript support looks interesting. Browsing the package repo, I don't see how to tell which packages are supported on Erlang's VM, when compiling to JavaScript, or both. JavaScript-specific documentation seems pretty thin so far?
Yeah when my national tv is transitioning from analog to digital, in some conditions where the analog channels quality degrade, the digital channel fail completely.