skysight-inc/HackerNews huggingface dataset:
Looks interesting.

Personally I would have simplified its syntax a little bit more, if possible.

For instance, the following example code

main() {
sum := 0
for v in [5, 7, 11] index i //index is optional
{
if v == 11 { break }
sum += v
if sum > 20 { break }
print("$i: $v")
}
_OnBreak { //<-- must be immediately after loop
print("Index $i broke out of loop")
}
_OnComplete { //<-- Will not execute on break
print("Array is OK")
}
}

would have wrote it as follows:

main() {
sum := 0
for v in [5, 7, 11] index i //index is optional
{
break if v == 11
sum += v
break if sum > 20
print("$i: $v")
}
_OnBreak :: print("Index $i broke out of loop") //<-- must be immediately after loop
_OnComplete :: print("Array is OK") //<-- Will not execute on break

}

I honestly like simple, well-written code that is easy to follow.
Not yet, I haven't exceeded the free tier on the personal projects I'm testing with them so far.
There's a lot of agriculture that occurs in California. I am certain people in the 32 states within Mississippi watershed eat a fair amount of food or enjoy lower food prices that occur in part because of California agriculture. Part of the whole reason of being in a 50 state union is to collectively pool our resources to improve everyone's lives and the wider economy.
I was told by a smart contract developer that, due to contract chaining (or subcalls), the problem of knowing if an address in a transaction has interacted with Tornado, is equivalent to the halting problem, because one can craft a contract that behaves differently when being checked than when being run, by checking chain state data.

Reminds me of records and record players...
I’m new to submitting on HN. Thanks for letting me know. It seems like they don’t allow editing
Can someone explain to a lay person what they accomplished and what it means for nuclear fusion as an energy source?
It references this story which to me is very troubling:

Contreras told the story of one woman who fell victim
to these schemes named Maria. After Maria took a loan,
agents for the app iFectivo sent her 13-year-old daughter,
her cousin, her nieces, and more than a dozen of her other
contacts a picture of a nude woman with her face
photoshopped on. iFectivo told her contacts she had
become a prostitute to pay her debts.

Full story (referenced in TechPolicy article): https://restofworld.org/2022/mexico-scam-loan-apps/

Troubling, unethical, illegal stuff.
Did you look at zulip? https://zulip.com/

I'm not convinced it's better than irc+proper mailing lists - but given that real users are stuck in awful mail clients (like web/Gmail or outlook) - mailing lists isn't a great option any more.

Main thing I miss from zulip is a proper weechat plug-in (like wee-slack) - although the official cli client isn't terrible - it's just not irc-like.
How come there isn't enough talk about desalinization? Or am I oversimplifying this?

The western states are right next to an ocean (the largest one in fact) with sea levels and the amount of water rising faster than they could ever use it. There's basically unlimited (salt) water there. Desalinization is an extremely energy hungry process, but we also have a TON of sun and heat energy in these states as well that can be utilized.
Shakycam is the worst. Casino Royale (2006) was loaded with it. It was so bad I couldn't parse what was going on in an action scene. In a James Bond film, which is supposed to ride on its action scenes.

The shakycam trope can probably be traced back to The Blair Witch Project, but for the action/thriller genre it really comes from the Bourne series. It's an easy way to add verisimilitude to a fight/chase and lets you skimp on the fight choreography because the fighters can't be seen very well. But personally I find it disorienting, and it took me right out of what everybody says was an excellent Bond film (and might've been if they committed to smooth reasonable action shots rather than shakycam).
The article also states that the apps deliberately obfuscate the costs (50% fee deducted from the loan amount) and terms (due in 7 days with 300% interest) of the loan.
previously it was a deliberate decision by the developer to turn these features off, as they hurt his benchmark scores
When you say that a prop gun misfired, do you mean that a real gun, used as a prop, went off accidentally? Between this anecdote and the rust shooting, actors seem to have really poor trigger discipline. Is this something that happens a lot?
If only there were some way of pricing the expense of producing something into the price paid by those who desire it.
A quotes website: https://thinkmindful.com - I love quotes and have been collecting them for years.

I thought it would be nice to share them with others and offer a weekly quotes by email service too (sadly neglected for a while).
Build from your notebook as in software?
Inaccurate water pricing causes weird things like Californians eating food grown in the Midwest so they can send food to the Midwest to eat.
I’m not a conservative, but the independence that cars provide holds a certain appeal and aligns fine with conservative values. Anyway, conservatives happily embrace new technology all the time (almost all conservatives have a smartphone and an Internet connection, and those developments are much more recent than cars); adopting cars isn’t a contradiction at all—clinging to trains and bikes would be the contradiction.
Haven't seen a single OpenSSL issue over the past 25 years of using Linux.

libstdc++ errors? Seen them.
Benchmarks are shown on the project’s homepage
EVs are much more efficient than ICE.

If you want to disincentivise congestion, or car accidents, or road wear, or suburban sprawl fine.

But don't just spout climate change denier talking points about EVs.

EV busses are a hot trend right now, they make public transport cheaper, safer and greener.

Do you really want people to believe that they are environmentally worse than the ICE vehicles they are replacing? What about urban delivery trucks going EV? How does spreading that fiction help?
You have a point – however, do you know what SWEs in the big US cities earn theses days, working for “FAANG”? (Or Stripe, Square, etc.) It’s not very uncommon to have a yearly compensation of 500-600k or more (USD).

In Sweden, very very few SWEs earn more than 80k/year.
> Doctors have no union.

In Germany doctors are heavily unionized. The largest union, Marburger Bund has 131.000 members.[1] The second largest, Hartmannbund has 70.000 members.[2] For comparision: At the end of 2020, there were 409,121 practising doctors (not including dentists) in Germany.[3]

[1] Source: https://de.wikipedia.org/wiki/Marburger_Bund

[2] Source: https://de.wikipedia.org/wiki/Hartmannbund

[3] Source: https://www.bundesaerztekammer.de/baek/ueber-uns/aerztestati...
Logic bugs of this sort are way worse (arguably) than some memory corruption errors you might see in C. The latter can be caught by a very manual usage of valgrind and the litany of similar too, while in the former’s case, you have to find that you even have an error, and track it down.

Sure, a beginner may not know about these tools, but my point is about the manuality if fixing the problems, one almost doesn’t need any thinking .
If that's because you're using wsl-vpnkit, you might want to see this commit:

https://github.com/sakai135/wsl-vpnkit/commit/94a85aaf4db365...
I wonder how long it will take John Deere’s lawyers to start harassing them. I imagine that they will do everything in their power to preserve their profit moat.
What about GitHub Discussions ? (https://github.com/features/discussions)

I am not seeing a lot of projects adopting it and I wonder why because it seems quite good to me
Windows has a version of tar included nowadays which helps with some of the non-zip formats (although only from the command line).
How I Increased My Productivity with Raycast on macOS
I don't know man.

I see a display manager (lxdm under Xorg) password prompt 3 seconds after the GRUB menu.

And that includes quite a lot of stuff:

systemd-analyze blame | wc -l

72
How does this compare to pumping crude?
...that's not how mining works. You don't get to just pick what comes out of the ground in a certain region.

I never suggested that. Geological surveys paint a decent picture of what minerals can be mined from where. This is a well known process. Mining companies can relocate equipment and employees, especially if they have federal funding. It is a win for the federal government, national security and a win for the mining companies and their current/former employees. I will email congress to suggest it.

Some time ago I suggested something similar for semi-conductor production and it was not received well on HN either. Today the federal government is putting billions into local chip production. How well that money is put to use remains to be seen, but it is happening.
Solar panels on top of the cars?
If the "old log4j" is 1.2.x, you can update to reload4j (https://reload4j.qos.ch/), which is a fork of the latest log4j 1.2.x by its initial author; you don't have to update to log4j 2.x (which changed the API). And you might not even need to update, since "old log4j" (1.2.x) wasn't affected by that vulnerability in the first place (it has its own old vulnerabilities, but they're all in code which is usually not used by real world deployments).
I'm always surprised that the symbolic math paradigms aren't used more. I suppose most cost functions just aren't continuous?

That said, seems most of what is important in today's code is the ability to drive a gpu. Don't know why that couldn't be done from a lisp.
> A EV car in general is much heavier than ICE cars, sometimes by a factor of 3x, which happens to cancel out the energy efficiency of the EV.

This isn't true.
> The paradox is that the OSS writer cares and is often willing to fix code she writes for free, more than the other paid work she does.

I feel like the paradox of this claim is that paid work seems to be collectively far higher quality software than personal OSS projects. This claim is my opinion, I’m not stating it as fact, and I can certainly think of specific cases of very high quality OSS and very low quality commercial software. That said, in my experience both personal and witnessing others, the sum total open source software has a worse user experience precisely because it’s not catering to what other people need, while paid work might seem less cared for but actually does take care of all the boring chores that need to be done to make software great. Things like good documentation, good unit and end-to-end tests, and polished interfaces, just to name a few. Even just building a GUI is probably eschewed more often by OSS projects because it takes loads more work than making a functional CLI. All these things tend to get skipped more often when you’re writing software for yourself, it certainly has been true for me as well as other people I know. It certainly seems true if you pick random projects to read through on github or npm or whatever, most of it seems like it was a passion project for a month or so before getting abandoned.
same here, in fact the last bearssl release was 4 years ago, very inactive if still alive.

mbedtls might be better here, but it does not have tls1.3 fully ready(I don't think bearssl has 1.3 either).

wolfssl could be the best, small and robust with new features, it is dual licensed if you want to use it in commercial releases.
My understanding is that in many places, the trade unions (electricians, plumbers, etc.) operate more like the AMA than the UAW. There is a spectrum of unionization.
LinkedIn lost their case to prevent scraping, that serves as precedence
Alienation looks the same from a worker’s perspective regardless of if it is the state or the wealthy class that exploits their labor. In the case of the Soviet Union, the workers were never empowered to own their own means of production, their bosses were simply replaced by the state. So from a workers perspective this is a distinction without a difference.

The main issue with alienation isn’t about the worker’s understanding of the purpose of the work, but how they are exploited for the work. In capitalist society both the designer and the assembly workers are exploited if their work will ultimately benefit the shareholders of the company they work for. The exploitation through the stock market is something the workers have no control over. So they are alienated from their profits.
I'm curious if brain fog is more prevalent in people that live alone versus with another person.
The Swedish welfare state involved a lot of compromise and give and take. The system benefits workers in some areas and capital owners in others.
Well, in recent Mac systems '/' is read only so nothing will happen.
On tumbleweed, I've tried the VLC repo's ffmpeg for h264, packman, and now opi codecs. The first and third seem to work for VLC.

On Silverblue, I don't recall the exact steps, only that I gave up and just used "enhanced h264ify" to disable h264, in favor of vp9. This still breaks many other websites that use h264, but at least youtube mostly works. Mpv flatpak works, so I just use mpv to render the h264-only videos that youtube still has. Of course, this is one area where snaps has the edge of flatpak, IMO - nice default aliases in the terminal, instead of 'flatpak run io.Mpv.mpv https://youtu.be/watch.......' or having to create my own, or having to use another program to do it.
Constitutional amendments are dangerous. The whole constitution is at risk of change during a constitutional convention. We are at risk of losing much more than we gain
I’m more curious about what people are passionate about and wanted to ask the question in a different way than what would do if you won the lottery
Another possible suspect - https://en.wikipedia.org/wiki/Prey_(novel)
How did you get in the habit of walking 8km a day working remotely? I hope your example can motivate me
But according Germans that’s impossible, because they’re net exporters* in electricity!

(* terms and conditions apply, grid stability is not guaranteed)
I don't like WSL, it magically works with VScode until it doesn't and some extension breaks or it runs super slow or git commit takes 10 seconds.
Corrosive abrasive versus lubricant.
I explained some right in my comment, currently missing are things like native support for .env, for .toml and .yaml. Support for ESM and fetch() was missing for way too long until recently.

Currently I don't see big gaps between web and node anymore, but I still find the APIs a bit messy and to e.g. do work with files I have to import all of the three `node:fs`, `node:fs/promises`, `node:path`. It'd be nice if at least `node:fs/promises` ALSO included non-promises from `node:fs`, like "createReadStream()" to avoid having to import another core module for that. Also WebCrypto should define the variable `crypto` as a global, like `fetch()` and `URL` do, for compat with the browser.

Just some ideas/examples from the top of my head, no much search/research was put into this so def take with a pinch of salt.
Is that weird? Seems optimal for each region to grow the most efficient crops for their local conditions, which would require at least some of that type of trade.
It would be like building highways to relieve suburban traffic.
There is a tradeoff in space / performance, I've just never found for my use cases it was large enough vs the significant(~10x) perf boost I got.

From what I recall in the message format[1] protocol buffers require you to walk quite a few parts of the data structures where in flatbuffers you are just reading offset and traversal is significantly faster.

Flatbuffers also let's you control data layout into the packed buffer so you can guarantee cache locality which makes a huge difference when it comes to real-world traversal performance. Data oriented design and FlatBuffers go together really well(which isn't a surprise given some of the background of where FlatBuffers comes from).

[1] https://developers.google.com/protocol-buffers/docs/encoding...
Do they realize that the Old River Control Structure is stopping the Mississippi from avulsing down the Atchafalaya towards Morgan City? New Orleans won’t have any river water then.
"hard work" is not a traditional value. That's an American thing which is relatively young as far as tradition goes.

Do your friends value an integrated life? Community? Leisure? These are the traditional values missing and they're so missed even so called conservatives have forgotten they exist.
What do you think about asking: "Tell me two or more things you think are the most likely to go wrong with this project"

instead of asking: "Is there, you think, anything we're doing wrong?"
I created a 3D digital dice rolling app for tabletop roleplaying games like Dungeons & Dragons. Been slowly adding features to it for just under a year. No timelines, no stress. Growing at a nice pace.

https://dddice.com
This is sweet haha. I want Mapo Tofu, nearby, ranked by price and distance.
Next: what's the sentiment about that dish (from reviews). Or at least a restaurant rating.

Love how fast it is and the non distracting design. Bookmarked.
These offerings exist now, but have you tried to buy a vehicle outright in the last 10 years? At least half the salespeople I spoke to when I was looking for my truck would not even tell me the sales price of the the used vehicles on their lot. They wanted to know how much I could pay per month. Seriously. They used every sales tactic they could drum up to hide the price of the truck they were selling. Is that not a bit terrifying to you?

How is wanting to know the actual cost of a big purchase and being able to purchase it outright "forcing your world view on others"? If you want to constantly be paying on a lease, that's your own problem. Don't act like expecting to actually own the thing I'm paying thousands of dollars for is unreasonable and somehow inhibits others from from using subscription models for everything under the sun.
https://www.amazon.ca/Waterpik-WP-660-Aquarius-Professional-...
From the guidelines:

> Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.
> Have relocatable code be statically linked but stored with a hash. When loading a binary see if common relocatable code is already loaded .. if it has the same hash then it is exactly the same and can be safely shared.

It's not actually "code" which is being shared, but instead the memory pages containing that code (the sharing granularity is a single page, since sharing works by pointing the page table entries on each process to the same physical page). So either you'd have to force page alignment for each and every function (highly wasteful, since the page size is at least 4096 bytes), or you're reinventing shared libraries but using a hash instead of a version.
I wrote a small Common Lisp book for Springer Verlag about the same time that Peter wrote this fantastic book and I then met him shortly thereafter at a Lisp Users Vendors conference in San Diego. After 30 years of following his writing, Python notebooks, etc., I think that he just has a higher level view of software and algorithms.

There is some talk on this thread about good old fashioned symbolic AI. I have mixed feelings about this. I am currently working for an all-in Common Lisp + GOFAI company, but most of my best successes in my career involved neural networks, and later deep learning.

I think we need a new hybrid approach but it is above my skill level to know what that would be. I keep hoping to see some new research and new paradigms.
> Bullshit

Sorry for the language but the argument that you can have economic growth without energy/resource consumption is just plain false. I'm deeply frustrated that people continue parroting that view without any credible evidence.

To be fair to you, your initial point only hinted at Decoupling and didn't claim it directly. My bad.

> "Is it possible to enjoy both economic growth and environmental sustainability?" ...which is nowhere close to my initial point

So in your view, quality of life and happiness are separate concerns from "the economy"? I truly hope you're right! We may never be able to decouple resource extraction from economic production - but we might have a shot at decoupling economic production from QoL if we can learn to collectively reduce our consumption and find more fulfilling ways to live on less. There's no historical precedent for a civilization ever willingly de-growing themselves and surviving (see the work of Joseph Tainter) let alone thriving, but one can hope.
Sorry I meant Rona and home Depot. Lowe's owns Rona so I get confused about the two :)
Perhaps we should be shouldn't be growing food in a desert?

Farmers in California are literally pumping the aquifers dry. There are already people who have had to abandon their homes because you can't just dig the wells deeper to hit water anymore.

>A frenzy of well drilling by California farmers leaves taps running dry

https://www.latimes.com/projects/california-farms-water-well...
The Coastal Act allows politicians to influence peddle. So you won’t hear from desalination experts in the popular press.
This reminds me of the time Wikipedia kept reverting edits to the article for “Louisiana Woman, Mississippi Man” comparing fecal coliform levels above Vicksburg as a proportion of that of the Ganges.
This grinds my gears as this attitude essentially reinforces the serfdom in the society. If you are born into a working class you will remain working class.

The salaries are taxed in a way that a worker cannot easily save money to start their own business, they need to beg bankers for a loan or go cap in hand to the rich people - and oh be sure they'll have to give shares to the business.

In the UK we used to have a nice route for workers to build up their start up fund - basically you could create a company and sell your (and your co-founders) services to other companies. You could pay yourself a small salary or dividend or both to be able to cover rent, bills and day to day outgoings and in a year or two you could have amassed sizeable capital while gaining expertise.
As an example, if you wanted to sell Kubernetes based SaaS product, you could have offered Kubernetes maintenance services etc and learn what kind of pain points corporations have and then work on incorporating solutions into your start up offering.
Problem is that government believed it was a tax avoidance and closed this route (IR35). Now you can still offer services, but you are getting taxed on revenue which has no advantage over just being an employee and taking forever to save money.
Biology deep down is physics. But not everything is a power law.
I didn’t respond regarding Algol because you said nothing of immediate relevance requiring a response. I’m familiar with the history of Algol 60. I’m not interested in regurgitating wikipedia with you. Here[1] is a good primary source on the history of programming and significance of Algol in context for you to read. Note that call/return is nowhere mentioned.

Stop chasing tangents and address your core misunderstanding. Algorithms are not call and return.

[1] https://www.cs.utexas.edu/users/EWD/transcriptions/EWD10xx/E...
Reminds me of the running jokes in Don Rosa’s Life of Scrooge - Uncle Porthole is always finding new ways of describing how muddy the Mississippi is (I believe many taken from Twain).
Ask HN: Does HN scrape submitted links?
I was very intrigued when I submitting this to HN: https://news.ycombinator.com/item?id=32459886. The link I have actually submitted was https://www.theatlantic.com/science/archive/2022/08/bird-fli..., but HN automatically changed the domain to quantamagazine.org and marked the submission as [dupe], which is correct given that the same article was submitted 10 days ago: https://news.ycombinator.com/item?id=32342139.

How was HN able to determine that the article from The Atlantic is the same as the one from Quanta Magazine? They don't share the title, nor the url structure. The only explanation I can imagine is that there was some scraping involved. Any other idea?