skysight-inc/HackerNews huggingface dataset:
What's the current situation with the electronic parts supply problem? Is it returning to normal?
Ffff my Zigbee2Mqtt is not working for the last month very well at all. I need to dig into this again
Invention and Use of Term “Fossil Fuels”
I don't know. Can you reliably rename variables/classes in a language that is not designed to facilitate IDEs/toolings?
Ask HN: Currently best option for local GPT for programming on Apple Silicon?
I've lost track of the options lately. Can anyone point me to the best local only GPT option (like github copilot) on Apple silicon Macs? I don't want to share my code with github or any other entity, but would like to try one of those AIs.
Walgreens is testing a new concept: almost all goods behind a barrier
Perpetuity? Interesting. So, if the moral rights don't end when you die, then I suppose your heirs and successors can nominally enforce moral rights, centuries later. Wow!
The original comment from Joel on Software has been preserved with comments at:

https://gwern.net/doc/cs/2005-09-30-smith-whyihateframeworks...

Note that one of the comments is from me :-)
Couldn't you just create a project template for this?

Don't get me wrong, I think you created a neat project there and it surely has some use, but the argument that this adds a lot of complexity without solving a problem that justifies that kind of complexity stands.
And then you may just have introduced side channels in crypto code.
GlasgowGPT – The Scottish AI
To me, one thing missing from most popular web languages is the single best part of Rust: A well-defined handling of the non-happy path.

I'm talking about things like exhaustive "switches", built-in, ENFORCED handling of "missing" values (null, undefined), and finally useful error handling.

I actually don't need any of the baremetal features of Rust. It's just that most of it's "zero-cost" abstractions are still far superior to those of other languages.
Lazada and Shopee probably contribute a chunk of the plastic waste.
“Show me.”

Path A: you’re shown the meme; “lmfao, nice” — now you’ve broken ice or strengthened a bond

Path B: “nah” — “whatever”

——

Don’t send your kids to a run of the mill public school — which is infested with children of asshats, jackasses, and assholes. Don’t live in in that sort of community. If you can help it, these will be some of the biggest factors in how your kid turns out.

I’ve been to a lot of schools. Kids from parents that just don’t give a shit will turn out like them: vampires, parasites, and people that generally drag others down for their own benefit (unless they’re lucky and get out).

Mean kids come from mean families. Usually people are mean because they don’t have the resources to fill whatever hole they have in them — and have to use maladaptions to get their fix. I.e. money problems and never taught the skills or given the resources to ease them.

I.e. send your kid to a private school that is recommended by people you trust. Just like you would a dentist, or a mechanic, and so on.

Easier said than done, but not an unsolvable problem.
Engineers love engineering, they love their own engineering when it comes to open source/free time projects, and they tend to not like the legwork of publishing, polishing and making it ready for public consumption. (Which is a lot of work on its own)

Engineers and QA/useability/marketing people tend not to mingle in these projects. I am broken record at this point, but Blender and Godot tackled this problem.

Take sandstorm, it looks like a informative website but just looking at it I see a ton of friction installing it. Whether or not that is true, but the optics are against it.
Self-Hosted GitHub Runners via Terraform
We use it for stock market analysis over at https://feetr.io. Honestly, I couldn't imagine a better language as it makes large tasks almost effortless. Plus the fact that I can connect to the running image and query data feels like magic and makes farming content for social media almost facile as I can pipe some of the data through cl-table and just post a screenshot.
> Asking for regulation soon after your company has gained a substantial (but probably transient) lead in a market sets off people's villain detectors

This doesn't make any sense to me.

a) OpenAI just barely has a product. I mean it's pretty amazing but so very clearly just emerging. Regulation increases the barrier to market entry for other players, but OpenAI entire continued research, that is just about to maybe bear fruit, depends on upcoming regulations not fucking them over.

b) Right now, the lynchpin (and how this industry could realistically be regulated) seems to be a compute. For a lot of compute, you need a lot of money.

So here is what we are assuming: An evils genius OpenAI, that is masterfully steering American regulation to create a scenario in which, on the one hand, the most scary competitors (those with the big credit lines) will be effectively kept from entering the market, while on the other hand warding off any AI policies that run a high risk of impacting their own business more than anything else.

You claim people have seen such things before. I am not sure what you are referring to, but to me the above sounds exceedingly wild and improbable.

> Sam will be okay, he can handle some haters.

Sure. I really don't care about Sam. I just wish people tried to be a little kinder, for everyone.
Not everyone who codes is a professional programmer.

> if the side-kick is component enough and you can afford them, why wouldn't you hire one?

Because it doesn't provide anything actually useful for me.

Also, I don't want to use proprietary software for moral reasons.
It was probably upvoted for the “inverse loop-de-loop”. That’s a great line.
We'll eventually be paid to just hit an "AI, do the thing" button repeatedly 9 to 5, and eventually someone will figure out "wait, we don't need humans for this."
Basic human decency doesn’t exist when you are poor or have not enough food, or what?

I swear it’s the same people who couldn’t stand wearing a tiny cloth in front of their mouth because “mY FreEDOm”, endangering every other person. A little empathy goes a long way.
New Massachusetts right-to-repair law now being enforced
The article gives you what you seek.

> Asteroid 2023 HO18 is estimated by NASA to have a diameter of as much as 50 meters. In imperial measurements for American readers, that would be 164 feet or just under 55 yards.

Personally, I think for something as low stakes as an asteroid flying by the earth that having a bit of fun using a culturally relevant size estimation and associated puns is fine, especially considering they didn't just leave it at that and provided the more detailed information.
Screenpond.cool (number keys to change screen colors)
> Not having copyright would not mean the ability to lie about the authorship of public domain content without repercussions.

Yes it would.

Droit Moral is part of copyright.
Algebraic effects like how OCaml’s now implementing it may be possible! The ecosystem around effects in OCaml is still really young, but here’s an example of an http request being made that is asynchronous, non-blocking but looks synchronous with no special syntax.

https://github.com/mirage/ocaml-cohttp/blob/16e991ec1f7e5f0c...

Performing these effects is similar to throwing exceptions up the callstack where whichever ancestor handles the IO work, then resumes the child with IO work done in hand.
The new AI gold rush has changed the mood in Silicon Valley
Ironically, I find this to be the height of elitism and disconnectedness with humanity, to believe that people need university education in "the humanities" to have a fully developed and grounded moral code and sense of ethics.

People who live "primitive" lifestyles who have zero academic education and have never heard of let alone from any "experts in humanities" can have a keen sense of what is fair, just, right, and wrong, empathy, etc. So can "tech people".

And students of humanities can be lacking all those things. I have my doubts that studying these things actually changes them significantly in a person, but would be really interested to be proven wrong about that. Certainly it is not necessary or sufficient to be an ethical person though.
If containers, control flow and so forth are expressible as library code you get a simpler compiler and stuff determined users can reasonably debug, modify, replace. It means you have to improve the core language enough to implement them and/or have magic compiler intrinsics which are only intended for use by that library.

If you implement these things in the compiler (open code means emit the implementation inline as you go, can also emit calls to the compiler runtime which is roughly similar to library code that the compiler ships and knows lots about) then users need to hack the compiler to change them.

However, if the structures are in the compiler, and you've done things like encode them directly in the AST, the compiler has a better chance of emitting useful diagnostics for them and of optimising them at the semantic level of the container.

C++ goes with library code supported by compiler intrinsics, and a common developer experience is compilation errors referring to iterators some distance into the library code. It also can't sanely do things like call reserve on a vector outside of a loop, because by the time it's ready to optimise things it's holding raw pointers with mangled names, not a hashmap instance.

Conventional wisdom is to put containers in the stdlib. D has some support in the compiler. I'm starting to think this is one where conventional wisdom has got it wrong.
Who killed the great British curry house? (2017)
It looks funky, but it's just railway track gravel cleaning machine, without the spaces.
It’s not so out of the ordinary. A few libraries in Rails create message queues in Postgres using advisory locks and listen/notify.

Hell, if it’s not an RDBMS then it’ll be Redis (at a much greater expense for a managed instance). I’ve seen that setup in the Ruby world far more often than using a dedicated message queue.
> I'm saying right now I can already observe enormous negative effects from this technology, and the upside seems relatively underwhelming.

> GP did a perfect job of using ChatGPT the way most of the world uses it

the enormous negative effects are just perfectly normal human behavior, amplified. better to deal with the root cause than continue to act like technology is the danger.
Programming is the one I see that comes up the most often. Unsurprisingly the experts are the best positioned to use it since they can identify hallucinations.
You can solve this problem by performing schema design with stakeholders in the loop. If everyone agrees upon the tables/columns/relations ahead of time, then constraints can be enforced before any code is touched.
How viable is a Wikipedia like approach to StackExchange (and reddit, given the ongoing drama) where a non-profit takes over governance?
Nice. I'd love to see how this changes when you have SIMD and multiple cosines to compute in parallel. Also when you have to compute sine and cosine simultaneously which is often the case, and then you may be more interested in polar error than cartesian error.
Something that can solve problems better than the average human. It doesn't have to understand the problem either or be conscious. Solving it is enough.
But other than a Skyscanner predecessor (VIA), a computer algebra engine, and Grammarly, are there any other modern high profile lisp powered products?
ISO publishes 31700-1 and 31700-2 standards on consumer protection
Show HN: Time To Go – Self hosted utility service to share Go URLs
Ingenious Librarians
Per the whoe whietspace idea -- techniaclly not a feature, just a policy statement. "This language has chosen manditory tabs at three spaces. It's not that this is better than anything else out there, but we gave you all a choice and you couldn't make up your minds, so as your mother would say, this is what it's going to be! Be happy we let you have this!" Also, on style, all code must be in capital letters -- comments are in mixed or lower case. That way you can easily tell wehre actual code is. Every line, and we mean EVERY line must have a comment. If you don't add one, WE WILL. Granted, it may not mean anything but no one reads them anyway?
I love the quote "we have taken extensive steps to recover and secure the data" (my emphasis), as if you can take back the stolen data somehow. There's no interpretation of "recover" that makes any sense in that statement.
Ah that makes sense, but do they really matter? If I want to use calculus to design the thickness of a bridge, does the selection of fundamental axioms matter at all?

Don’t all roads lead to Rome? It’s like an engineer deciding to use SI or Imperial units, people have their opinions but at the end of the day both work.
If you think forcibly concentrating groups of undesirables into camps isn’t a hallmark of fascism, I have to introduce you to the 20th century.

> If they aren't mentally ill

And what happens when the people making the decisions on whether or not someone is mentally ill are religious conservatives who believe homosexuality and transgenderism is a mental illness?

Are you aware that religious conservatives often call leftism a mental disorder? They call wokeism a “mind virus”.

Maybe you think you have a good idea here with your homeless concentration camps, but all I see is a back door to prosecution and persecution for people you just don’t like to see. Today that’s the homeless, and when they’re gone you’ll move on to the next group. First they came for the socialists…
> I wouldn't say this is actually true: while there are generally fewer dimensions in hardware testing, it's not actually a given that if you have tested over the range in each of them that you will certainly be OK across the entire space

I agree that the point where the power supply dissipates the most power, or the point where it starts making an audible whine, might be in the middle of its operating range rather than at its limits. You would certainly want an experienced engineer who can say what density of parameter sweep is appropriate.

This is what I was trying to say when I said that when testing a system designed to operate between -5°C and 55°C, expert knowledge might assure you there was no need to test at 21°C if it had been tested at 20°C and 22°C successfully.
Google does an 180; upgrades Gmail bug from intended behavior to top-priority
While I can see why a company like Microsoft might not want to promote AGPL, it remains a pretty controversial license in general.

https://bugs.gentoo.org/737708
I’ve heard that CircleCI uses clojure extensively, not sure if that counts as a true lisp.

There’s also Metabase, also written in it.
Xmpp.rs v0.4 Release
Hey good on you if you’re signing over paychecks to employees that leave work to go shopping or take extended lunch breaks. Apparently I just don’t have that kind of cash to spend on non-productivity.
I care very much how much time their backside is in the chair as that is significantly more correlated to productivity than shopping.
My main gripe with Dart is their package manager. Unlike NPM or Cargo, it is possible to get conflicting diamond dependencies. The lack of shared memory concurrency is also disappointing.
> cosine repeats every 2pi

> We can do better since the cosine values are equivalent every multiple of pi, except that the sign flips.

There is one more step to take: Each π/2 long segment has identical shape, they are just pointing up or down (like you already noticed), and left or right. So you can reduce you basic domain down to not just 0...π, but to 0...π/2.
Dude, one guy helps explain the issue, shows how easy it is, and you think he is the risk? If something is so easy, how do think a hundred others aren't doing it, why criticize the one guy pointing it out.
derogatory to who?
In my long journey in following the cult of Lisp, I haven't seen a better description in the situation.
Best friends don’t want a cent from their big tech idea. This is why
>many companies don't allow you to use code with the unlicense because of its unclear legal status

I'd argue that this is an advantage of "funny" licenses: any megacorp can use your MIT code without giving you anything in return; if the same corporation really wants to use your funny-licensed project while being legally in the clear, they are now incentivised to approach you, potentially offering some compensation for a more "serious" license.

At the same time, funny licenses don't stop enthusiasts from working together, and that's what makes open source software good.
It's not really mentioned in the post, but one thing Rust had since fairly early on was a use case, it was used to build a browser engine. As I remember it from the time, the feedback from Servo development tended to pull Rust in a more performance-oriented direction.
Yes, that was explicit, the experiment was to see if it would be caught. That was the test. Did you read it?
> I suppose your heirs and successors can nominally enforce moral rights, centuries later

I don't know about this. That's quite possible. But yes! See [1,2]

[1] https://en.wikipedia.org/wiki/Moral_rights
[2] https://fr.wikipedia.org/wiki/Droit_moral
Depends.

Is it important to me that people can accept it, or is it just important to me that I'm not making it difficult for someone to be able to accept it?

If people have trouble accepting gifts because of local regulations, perhaps it is instead up to them to try get those regulations revised?

[FWIW: I'd not use these licence options anyway. I'm more AGPLv3 for code and CC BY-NC v4 for other content, not that I have any published ATM unless you count long forgotten stuff from a decade or two ago, other terms available subject to negotiation]
I’ve seen people saying that but never with an argument as to why. What do they mean?
If you like historical accounts of what ordinary people said, there's this book about interviews with peasants from the High-Late Middle Ages.

https://en.m.wikipedia.org/wiki/Montaillou_(book)
Interesting that tail calls are mentioned and implied to never come to Rust. I agree with your assessment and actually there is a RFC[1] in the works to support them. (Note that while I'm the author, this RFC is definitely a community effort.)

[1] https://github.com/rust-lang/rfcs/pull/3407
What do also and use do?
We're obsessed with efficiency, and it's not making us any happier
The Uneasy Case for Copyright (1970) [pdf]
A seminal article on the justifications (or lack thereof) of copyright, by former US Supreme Court Associate Justice Stephen G. Breyer.

Paywall:

<http://libgen.rs/scimag/10.2307%2F1339714>

<https://sci-hub.st/10.2307/1339714>

Breyer wrote a reminiscence about the piece in 2010 which might also be of interest: <https://www.gwlr.org/wp-content/uploads/2012/07/79-6-Breyer....> (PDF)
How do railway signals work?
Why HA doesn't have a LTS branch is a mystery to me (other than the obvious maintenance overhead - but the community is huge and I'm sure they could find a maintainer).

When you consider the lifetime of homes, the hardware, etc it makes more sense for HA to have an LTS branch than almost any other piece of open source software.

I, for one, would really appreciate getting bug fixes, security updates, etc over a span of years for some installations. HA development pace is very impressive but the breaking changes can get old really fast, especially when you consider how much you can come to depend on the (ample) functionality.

When it comes to doing updates I typically allocate at least a few hours (just in case) to work through any breaking changes. I usually update ~monthly and like any rolling release strategy it helps minimize the number of breaking changes you experience at any one time but it's still a somewhat precarious situation.
Steps to Improve Your AWS IAM Hygiene and Keep Your Cloud Secure
But that takes extra clock cycles, since now you have to fiddle with the sign.
I like the idea of UBI, but I agree with you that it can't replace all welfare. But UBI replacing unemployment welfare is not another welfare system in addition to the existing one. It would simplify the existing welfare system by replacing a complex part (unemployment welfare) with a simpler one (UBI).

I think it worth considering UBI in this light. I'm not a proponent of eliminating all other welfare.
He had an idea, he wrote a test, he ran it, he provided results. What are you on about?
My theory is that it isn't popular, people realise it garbage but they spend a lot on SEO to rank well
The end of self service.

I assume you pay first before receiving the merchandize.
What's the scale of the codebase, in kilolines of code? Do you find the dynamic typing to be a problem at scale?
In some places, yes, in others, still a little slow to recover—but mostly because manufacturers and distributors are still cleaning up the rubble from the past two years.

There are still projects that are delayed because a part goes out of stock for 1+ years.
The Taylor expansion locally fits a polynom based on the n first derivatives.
If you want to find the "best" nth-degree polynom to approximate the sine function, functional analysis gives the tools for solving that optimization in closed form.

By selecting an appropriate norm (in function space) you can minimize either the maximum error or the error integral over some range (e.g. the 0-\pi range).

Here's a video on the subject. You might want to watch earlier ones also for more context.

https://www.youtube.com/watch?v=tMlKZZf2Kac&list=PLdkTDauaUn...

Full disclosure, this is my university lecture on optimization that was recorded during Covid.
No; this is just the SBCs, Zero through Pi 4.
I'm sure there are edge cases where putting batteries in ships can make sense. Let's assume the following is true:

1) Two islands exist relatively close to each other.
2) Both have enough wind power to meet demand on windy days.
3) Deep waters, strong tidal currents, tsunami risk or some combination make power lines between the islands somewhat expensive or unreliable.
4) Battery storage is required to meet demand on days with little wind.
5) Storing these batteries on ships is not significantly more expensive than storing the batteries on land. (Maybe real estate prices are high, regulations are stricter on land, etc.)

In such a case, it may be more economical to move the ship holding the batteries than to set up cables intended just for low wind periods. And if there are many islands involved, an ecosystem of ships may scale better than cables, for instance if demand is seasonal or varies for other reasons.

Basically, these are similar reasons to why LNG regasification ships exist, instead of just building fixed land-based facilites where needed.
That's an interesting counterpoint, to a common conversation here.

I suppose it's important to realise that even if a public domain declaration isn't possible in Germany etc., that doesn't mean the Unlicense is unusable. Unlicense, as you know, explicitly grants certainly permissions; it doesn't simply say "this is public domain".

There was another interesting point in the thread you linked. Even if Public Domain isn't possible, courts will tend to consider the clear intent, whilst reading the legal text in a way compatible with local law. https://lists.opensource.org/pipermail/license-review_lists.... So maybe you cannot waive certain moral attribution rights, but the intention is clearly to allow use, copying, and modification, without payment to the author. Worst case, that's an MIT style license.
Helplessness is not learned (2022)
This is circa 2003. (2006 archive- http://web.archive.org/web/20060619223222/https://antennalau... )

That's close to pre-internet society.

As others point out, the tech and consensus is way different now.

Cheap throw bags on eBay or Aliexpress for instance, no need for sinkers - https://www.aliexpress.com/w/wholesale-throw-bag-Arborist.ht...

The world of confiscated Monkey's Fist's at ports is an interesting one - https://www.portskillsandsafety.co.uk/news/confiscated-monke... You can add it to your dangerous knots list.