skysight-inc/HackerNews huggingface dataset:
One of my previous employers had an Elm frontend and a React frontend. Basically all development on the Elm side was slower. New hires generally had used React before in at least some capacity, but everyone had to learn Elm from scratch. When I left Elm was slowly being phased out but there were still a lot of Elm components left over.

For me, it felt like a heavier cognitive load to do anything with Elm since it was another abstraction level away from the DOM. The quote "I know this is possible in Javascript, but we chose Elm and it makes it very hard" from the "Why I'm leaving Elm" article (https://lukeplant.me.uk/blog/posts/why-im-leaving-elm/#techn...) is something I never said to my boss but still resonates strongly as how I often felt internally frustrated when trying to work with Elm. Some of this might have been because I was very familiar with JavaScript and less familiar with something like Haskell, but I think it's fair to say that most people working on the front end web are likely the same.

For example look at the "simple" counter example... there's a ton going on that doesn't seem intuitive, and even having used Elm professionally I double take looking at lines like "update : Msg -> Model -> Model" or "main = Browser.sandbox { init = init, update = update, view = view }": https://guide.elm-lang.org/architecture/buttons.html

The equivalent React simple counter example (https://reactjs.org/docs/hooks-intro.html) is much more understandable IMO/. Even if you haven't ever used React before, it looks much more like typical HTML and JavaScript. React has plenty of gotchas and is far from perfect, but in terms of getting junior web developers making their first pull requests in our codebases React took way less effort and learning.

Elm isn't dead, it has some dedicated FP fans as users and works fine. It is niche though, and I don't expect that to change.

--

As a side note, it always irked me to see the word "I" in either an Elm error message or the official documentation. In errors it felt overly friendly or personified rather than giving me straight technical info, and in documentation it felt concerning that a single person's opinion might have an overly strong influence and that person might not listen to the broader community on some key issue and prevent progress.
To that end;

* What tools | methods exist to fetch total members at Mastodon.lol on a daily basis.

* Ditto for individual names and their new migrated names.

Are any HN users planning to grab data and graph present the diaspora to other instances | falling out of sight?
How much does a weather baloon cost? ...compared to a F22 flight, a missle + all the logistics?

If it's cheap enough, there will probably be youtubers and tiktokers buying them en-masse just "for the lulz".
Without have an opinion on the topic I'll just point out it doesn't require evidence to file a lawsuit, only the ability to fill out paperwork.
View counts on Twitter aren’t accurate
> “TEA architecture”

The Elm Architecture Architecture ;)

https://en.wikipedia.org/wiki/RAS_syndrome
From wikipedia:

>A patent is a type of intellectual property that gives its owner the legal right to exclude others from making, using, or selling an invention for a limited period of time in exchange for publishing an enabling disclosure of the invention.

In this, letting the plant reproduce arguably falls under "making" (ie. manufacture) of the patented thing (the genetically modified plant).
Malicious Python Packages Manipulating Victim’s Clipboard to Steal Crypto
An attacker published a total of 444 malicious packages via 22 different PyPi user accounts. The malicious packages infect the victim’s web browser with a hidden extension that manipulates the clipboard and change the value of a copied crypto wallet address to match the attacker’s crypto wallet address.
It's important to note that you can't take your posts or DMs with you when you migrate Mastodon instances.

I had to migrate a couple weeks ago because my old instance broke for 6 days while the administrator was on vacation and incommunicado, with no backup admins. https://lapcatsoftware.com/articles/mastodon2.html
Typescript exists so you can press ‘.’ and find out what the npm library you just imported can do.

Types are more important/useful for library code than business/presentation logic. Typescript lets you can hire devs who can’t read documentation or understand type systems write javascript to stitch together enough imports to make something work.
I've never used Elm or interacted with the community but reading some of those posts remind me that the B in BDFL is quite important.
You are making the very error that lead to UFO sightings being stigmatized in the first place.

The trick is to remember that it is like the sql NULL. No unidentified object matches any other unidentified object. It is only once you identify the object can you claim that it is of extra terrestrial origin not before. And once you identify the object it is no longer a UFO.
I find there are two types of writers - ones who are working on a massive tome or tomes of perfection (often in their are of expertise) and those who are writing about a ton of different things.

The second definitely improves with consistent output. I assume the first does too, but they often are continually revising their “masterpiece” so it can be harder to see
All made possible because Monsanto controls the seeds and the majority of glyphosate production so they could correlate consumption with who hadn't paid the toll.
I don’t think it was 50K in practice, published maybe but it was widely known it reach higher.
Being able to script buttons in my browser's toolbars is a feature I miss (circa the Jetpack era of Firefox). It greatly increased my productivity.

Doing some of this now on my Linux desktop using jgmenu ... it's not a browser though ... it's a floating data-driven start menu. Very fun.
I don't see significant featuring of non monogamy there
Reminds me of their experience with the iPhone. They were sitting on android until the iPhone launched to mass appeal and left Google scrambling to catch up.
Yeah it’s not new, people have known.
Thanks so much for taking the time to respond.

>>The subscription actually does work and could (will?) be enough to sustain us.

You're touching on an Option C or perhaps option B2 here, where the supply and demand curves intersect, but much farther to the left than the current user base. Meaning there ARE enough users who are willing to pay you enough to keep going - but it's many fewer than you currently have. So you settle into a much smaller, but sustainable business. Not necessarily a bad outcome!

Question for you: Suppose that users can pay you $X (say, 5 cents) per article they read, but you are not allowed to know who they are or anything about them, they don't login at all, and you can't show them any ads. That is, it's a "pure" transaction similar to anonymously purchasing a hamburger. Is there some value of X high enough for this to be worthwhile for you? Do you think enough of your users would go for this to make it work?
This is a battle of perception. Like Google always said, a new search engine is just a click away. So I feel their concern is real
Geologists were able to reduce the search area for the origin of these balloons using the mineral composition of sand in the sand bags.

The airforce then bombed hydrogen generating facilities nearby the suspected launch sites.

Section offense and defense

https://en.wikipedia.org/wiki/Fu-Go_balloon_bomb
I don’t think this will work out for a site that’s based on user-generated content. What would work is require payment for power-user features. But not for content.
> That's 480KW charging

Here you go:

https://insideevs.com/news/604407/xpeng-480kw-s4-fast-charge...

https://electrek.co/2021/08/30/gac-aion-unveils-480-kw-fast-...

https://www.theautopian.com/autels-480-kw-charger-claims-to-...

https://www.electrive.com/2022/10/11/phihong-company-zerova-...
Godot or LÖVE.
I think it's generally under appreciated just how unstable free-markets are. Our historical experience with economics has shown that 100% of free-markets have devolved into a less free form and generally that devolution is violent and extremely unpleasant and it can take quite a while for a market to self-correct into a semi-free market with non-abitrary regulations.

Free markets are like pretty much any element north of Plutonium - the half life is extremely short and if they are forced to exist in nature they'll quickly decay to a more stable state... often violently and sometimes with a loud bang.
Her story in articles:

The initial event. (https://www.theguardian.com/world/2022/mar/14/russian-tv-emp...)

She was fined $280. She was offered political asylum by France but declined it. (https://www.theguardian.com/world/2022/mar/20/marina-ovsyann...)

She then got a job with Die Welt as a Russian correspondent. (https://www.bbc.com/news/world-asia-61071163)

Ukrainians in Germany protested the hiring of a Russian reporter. (https://twitter.com/dw_ukrainian/status/1514860587393720323, https://www.eurointegration.com.ua/rus/news/2022/04/15/71378...)

Conspiracy theorists think she is a double agent. (https://www.politico.com/news/magazine/2022/05/01/the-myster...)

She returned to her hometown of Odessa, but the Ukrainian government has designated her an enemy of the state. (https://myrotvorets.center/criminal/ovsyannikova-marina-vlad...
I tried F# seriously for a few days and the tooling was so annoying to set up it made me crave going back to pip and virtualenvs

I guess if you're a .NET developer that may be a non-issue, but I literally couldn't get all but the simplest examples to work and just gave up even though I loved the language and its design overall
The lesson here is: "give an inch and they will take a mile".
The split between the Reason and BuckleScript/ReScript dealt, I believe, a fatal blow to both communities which were now split. It's a shame, I could have seen Reason in the same space as Rust, an ML-like language (well, literally an ML via OCaml) except without a borrow checker. It would have been great to use it in place of TypeScript on both the server and client, but now ReScript is incompatible with Reason, by design.
Doesn't really rule out the P-8, apparently Norway has had P-8's since 2021, in order for an aircraft to be 'fully operational' you have to do training/exercises, fly the aircraft. If the Norwegian Air Force wanted to have the P-8 fully operational by Jan 30 2023, they had to have been flying sorties before then.

https://www.arctictoday.com/norway-takes-delivery-of-boeing-...
TIL. I used what I got from my rural county’s website / GIS (hence kml) - I wonder if I could get proper shape files by calling their GIS department.
Came here after searching for threads related to anxiety in the software development field. I feel this way too. In most professions, after you learn the specific number of things you need to learn while starting out, you just tend to improve upon them with time. And just like you said, a woodworker could get back to a project years later and he would feel right at home, unlike the SW field where things move so quickly. I battle impostor's syndrome daily.
Down with AI, up with Anthropomorphized Overconfidence
It’s been over a decade since I touched a Firefox addon and I still remember their ghostbusters easter-egg/joke.

Went something like:

keymaster/gatekeeper/thereisonly.xul
Trans people or something similar is not a “new thing”. As a queer person and having read the history: every society seems to have had some form of trans population. Look into two spirits people.

Trans people have always existed. The way they are accepted or not accepted into societies fluctuates.
Having it shot down is not a consequence.

Diplomatic or economic retribution of some kind would be a consequence.
The comments are nearly incomprehensible. Probably for the best this place is nuked from orbit.

“Griffindor scarf is a hate symbol.”
Also maybe gives China cover/justification to start shooting down these low satellites.
> So should everyone shut up until they have hard evidence to present?

And let the narrative given by "trusted US officials" stand unchallenged, yes.
Out of curiosity, what are the misbehaving ones?
Gofumpt: A stricter gofmt
Medium Altitude Long Endurance UAV drone.
Not, in fact is bad, because what is good for the geese is good for the gander.

This increases the risk of being killed by a drone for everybody, even if is as collateral damage. If international laws can be so easily violated for free, why do we need them? Do we really want a world without rules?
Nokia was sold to Microsoft, then they sold it to HMD Global Oy
/FoxConn and now they make most of their goods in China, almost to the point of being white labelled. Ericsson is a small company compared to what it once was. Sure, technically European (again) but a shell of their former selves.
Study: Mexican jumping beans use random walk strategy to find shade
See also:

interfacer - Automatically Suggest Interface Types in Go

https://github.com/mvdan/interfacer

https://news.ycombinator.com/item?id=11397905 (9 comments)

shmfmt - A shell parser, formatter, and interpreter with BASH support

https://github.com/mvdan/sh

(Submitted often but not yet discussed)

---

/me whispers: Hint: You could be that guy [1] (or gal, they, it, etc):

/submit shmfmt

Feel free to leave a link to your submission here for other inquisitive parties to stumble upon.

[1] https://youtube.com/watch?v=HQXTxG8JBAw&t=105s

Transparency: Clip is mildly offensive
> the tooling was so annoying to set up it made me crave going back to pip and virtualenvs

Damn, if you wanted to go back to pip and virtual envs, then that's really saying something about how bad the tooling is, because pip and virtualenv are the bane of my existence when writing Python. Give me cargo or even npm and I'd be happy.
That seems like it could possibly be a GDPR violation, couldn't it?
Instead of a subscription, would you pay per article? Like maybe 5 cents or 25 cents or something? Assume it's frictionless. No account with the site, no login, etc. You read the article and magically X cents is removed from your bank account. Would you do it?
The API being unfinished, meaning web extensions could fail in random, unexpected ways, sounds like a good reason to me?
It’s HN and this is basically politics.
I don’t believe that Web Components had anything to do with it at all.

When you control the scripting environment, and would be instantiating in scripting rather than in serialised markup, Custom Elements are one of the more superfluous features of the web platform: everything you can do with them, you can do every bit as effectively without them, at no meaningful cost or cost saving.

The point where things get a little more interesting is when you introduce Shadow DOM, because then you do have genuine capabilities that can’t be expressed in other ways (though whether you want to may be another matter).

But the real kicker, in my assessment and conclusion, is that both of these features landed after the migration from XUL to HTML began. (Not all that long after, and they have since been used variously, but the moving initiatives began before they were available.)
Wow, that is wild! And yes, that kind of thing can totally drive off contributors.

Long ago I went to a local Scala unconference. At the time there were at least two popular web frameworks, and one of the authors was in attendance. [1] Chatting during one of the breaks, I asked him some question about his framework, something about testability of apps. He quickly grew enraged and shouted at me. I slunk off, wondering what I had done wrong.

At the bar after the conference, a few different people apologized to me for his outburst. Not him, mind you, just other people. I was like, "Aha, I recognize this. He's a missing stair." [2] He was clearly an asshole to people on the regular, but the community just put up with it.

That was the last time I went to a Scala event. Life's too short to put up with bullies, or people who accommodate them.

[1] I no longer remember which framework or which author.

[2] https://en.wikipedia.org/wiki/Missing_stair
It's a bad market. It's really that simple.
> Am in the process of starting my first SaaS as a solo founder and was looking at what languages to use

Use the language you know best. Your tech stack is not the product:

https://hoho.com/posts/your-stack-is-not-the-product/

As for what happened to Elm? It reached a local maxima. Evan didn't want its purity to be compromised by external JS interop which cut it off from most of the open source ecosystem. If you never need to leave its confines, it's a wonderful place to be, but an engineer's job is to ship.
The best phone Apple has made so far. I regret selling my one as the font zooming too inconsistent in 2017 and got to point too few apps I could read.
Nonalcoholic Beer Has Entered Its Golden Age
http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xu...
Elon Musk Seems to Think His Own Employees Are Shadowbanning Him
Yes. The whole “non-maneuverable” line is kind of a blurry one with modern algorithms/comms and the altitude adjustments possible
Unless I'm misunderstanding, a big point of contention is activation lock specifically. Unless you're buying $50-100 iPhone 7's and 8's off marketplace, chances are tons of devices you see in landfills are activation locked phones that either had their battery cut out, got cracked to the point where the user couldn't use the device, or were so badly damaged they just threw it away with no thought to reuse. In this case the iPhone(/iPad/Mac) is still locked, but enabling scrapyards to repurpose them by disabling activation lock would either allow criminals to do this as well, or if you had some vetting process to be able to remove the lock, it might just then the scrapyards de-facto dumps for stolen iPhones (since the scrapyards will like pay more for each phone once they can repurpose and sell them).
Apparently, America is the only country on earth where mass media describes things in familiar terms to make them readily intelligible to a wide audience.
Yes, you could argue that the systematic left-wing bias should be a bigger story than the occasional right-wing excess.

This said, there are frequent media stories about the left-wing bias as well. A Google search for Wikipedia "left-wing bias" provides rich pickings.

It is noticeable that many of the outlets that run them are deemed "unreliable" by (English) Wikipedia. :/

(Love that quote.)
So I’m looking at this from the perspective of completely eliminating fossil fuels from my home. Not just electricity, but heating as well. I want solar to win, but here’s the numbers I get from looking at December/January this year (my bills don’t quite line up cleanly on month boundaries):

863 m^3 of natural gas -> ~9100 kWh of heating energy

Assuming (generously) that I can get a COP of 3, even though that’s unrealistic at the miserable temperatures we had over the last few months, that’s ~3000 kWh for electric heat pump heat.

Electricity was about 745kWh for the month, so 3750kWh total between heat pump heating and electricity.

https://www.cer-rec.gc.ca/en/data-analysis/energy-markets/ma... shows 3.5kWh/mo/m^2 for December and 4.4kWh/mo/m^2 for January. Let’s go with January to be generous.

3750kWh/mo / 4.4kWh/mo/m^2 = 852 m^2 = 9170 sq.ft. of solar required to cover both my electricity and heating needs.

If I look at just electricity it’s a lot easier. 745 / 4.4 = 169m^2 = 1800 sq.ft. which is essentially the same footprint as the house. Heating completely kills it though and is, I suspect for most people, an even larger source of carbon than their electricity use. At least looking at those two bills, there’s an $88 carbon tax charge on the natural gas bill and only $8 on the electrical bill.
I'll repeat my usual advice: Read whatever patio11 wrote about that https://www.kalzumeus.com/greatest-hits/#marketing

I still don't understand your question. Otherwise I'd have selected two as my personal recommendation.
This thread is going in circles. As mentioned a few comments ago, it's clearly not the case that the technology "blown onto your land by the wind". The farmer was intentionally engaging in artificial selection to get plants with roundup ready traits. I can be sympathetic to the claim that a patented program magically appeared on your computer because of random bit-flips, but I can't be sympathetic if you deliberately set up a system to generate bit-flips on your computer in a specific way so as to produce the desired program.
Modern socialism has no class
Wait so you're not against Chinese spying, rather just really pro-US spying? That's ... certainly a position!
Well, the article is framed in terms of creating 15 minute neighborhoods:

"ROAD blocks stopping most motorists from driving through Oxford city centre will divide the city into six "15 minute" neighbourhoods, a county council travel chief has said."

I'm not abusing anyone, and I'm not saying there's a secret cabal trying to control the world. I'm just saying this makes me uneasy because it is reducing freedoms.
I heard rumors that during the bosnian war they were making fake SAM sites using microwave ovens with the door taken off. Get them to fire an air-to-ground missile at a device you got from the junkyard and an extension cord.
Australian government gives made-in-China CCTV cams the boot
? It doesn't transfer your posts, but it does transfer [1] all your followers, follows, bookmarks, mute lists, and block lists. That's still a lot of room for error. What happens if you and a follower transfer your accounts simultaneously? Will they get redirected properly? It is still a good test.

[1] https://fedi.tips/transferring-your-mastodon-account-to-anot...
> Perhaps Google's true target should have been 50%

Just wait for Elon to buy them
Because of the other person's messages becoming readable to a third party (the admin of the new server)?

Interesting question. Would it be?
If you consider Twitter to be toxic, wait until you experience Mastodon. It's the homeland of the most unhinged activists. Correction: sadistic bullies that have no life.

They've build tools to find out who plays/streams this game and then spam the chat. They bully people to unfollow said players. They post game spoilers everywhere on social media. They report Mastodon users playing the game, demanding a ban. And when the mod does not comply, they circle and attack the mod. The mod...whom specifically managed a LGBTQ+ instance.

The game is now antisemitic too, because it contains some ancient horn artifact?

There is no end to their sadism and pettiness. And when the damage is done, they'll high five each other and consider it another win for the humanitarian cause.

They're evil and disturbed.
Short form wins on ads is the main reason.

If you read one long article you may see three ads.

But each short article could have the same three ads, multiplied by however many short articles you read.

Long term I think the future is going to be more along the line of direct patronage - if I want to write I can say that at $Xk a month from supporters I’ll quit my day job and just make content for everyone.
> When searching by those tags and a time interval, it will read everything from disk

That's what I'm asking, actually. Isn't Loki's proposition that it only indexes the tags and time interval? Do you mean that even filtering by that there's still a lot of data to go through?

Because it seems like you're saying it always fetches everything from disk.
Google search plus context of the thread?
you can download them, there's just no way to import them into your new account.
Any suggestions on what approach to take. Rooting and jail breaking seems over the top to serve compute power. Anybody got say an AIDE built app or similar that works from Android 4 or something similar for iOS? I have a shoebox of old phones and tablets waiting for a project like this. I just don’t know where to start.
Show HN: A website for wishlists and gift ideas powered by AI