skysight-inc/HackerNews huggingface dataset:
Ask HN: When is pure functional programming beneficial?
The way I think about Haskell programs is locked-in statements that tightly sit next to each other (i.e., function compositions) and nothing "leaks", as in no mutations are allowed (except in monads, like IO).

But I wonder if this is mostly a matter of taste. In small programs, the end result of a Haskell program is the same as a Python program. Is there a threshold after which Haskell's purely functional paradigm shines the most?
Dull blades are the most dangerous.
Decoherence from entanglement with the environment interferes with the coherence of the supposition, so we only see the pure state as I understand Sean Carol's argument. At this point in the video below he goes over the spin states.

https://youtu.be/LGtimjuA5gA?t=2545
Coping with Non-Free Debian
Mac shipments grow 10%, as all major PC brands see downturns
Third party companies were producing retrofit continuous ink systems years before the printer manufacturers introduced introduced ink tank printers.

With ink tank printers, you pay extra to escape the "razor and blades" pricing model. Probably worth it if you print sufficient volume using an inkjet.
I'm not romanticizing anything, I'm just sick of the never ending cycle of locking people in cages. I've been to other countries with severe property crimes issues, and they can be awful at times to lose things, but people mostly doing okay. (btw, this is backed by violent crime stats)

So you have some people not having a thing, and compare it to torturing millions (hundreds of thousands?) of innocent people.
If we're going to be persnickety, that your "actual docs as code" sounds more like "code as docs." Because you're writing code and turning it into docs. "Docs as code" seems more like if you wrote docs and treated them as code.
Book authors sue OpenAI and Meta over text used to train AI
I always assumed that SUSE was rolling their own rpms, but were they? Maybe they were somehow dependent on RH to the extent that this move now makes sense also for the rest of their business?
> but my point is - you cannot do meaningful unit tests on very complex systems.

I think you're missing the point: unit tests should not be testing entire systems; that's the point of integration or end-to-end tests, which are different beasts entirely. You can very much write unit tests against parts of a complex system because each test should only be testing one isolated bit of functionality in the form of inputs (including local state) and outputs.
Big big big enterprises outsource IT to big big enterprise vendors, and they benefit a lot from standardizing on RHEL, because they employ people, who benefit a lot from documentation and tutorials and so on.
So just use openSUSE? How would a SUSE Fedora fork would be any better? Presumably they wouldn't be able to use the branding...
No the business doesn’t have to make a profit it just needs enough revenue to service the debt

Of course what happens is many business geared this was don’t make a profit, fail their banking covenants, interest on the bond rises and eventually they go bust leaving lenders out of pocket

It’s happened to many PE owned businesses
And since a lot of investors in large utility companies are international, should the government somehow not make them whole (or worse, just expropriate), there would typically be repercussions - with international arbitration courts adjudicating reparation with processes that are typically stacked in favour of businesses.

It's a sham market.
You can manually tag photos and identify people, though the UI flow is not the most convenient. (I've been trying it put for a couple months.)
There’s a substantial amount of important visual information in the video. It’s not just stock photos.
Well, I wasn't trying to say that small tech is better in any way then big tech. It is just that most for most standard users, most valuable data is likely going to big tech companies. Also, I disagree with your analysis, I wouldn't trust big companies more then small ones, for whatever reasons. US based is US based, and that is that. If the EU obviously fails to protect my data as a citizen by forcing these global players to keep the data roughly local, I am out.
sometimes it's not just about the flavor but the tradition itself. You're participating in an act and culture that has stretched throughout time and creates a shared experience to those in the past and hopefully future
Could also just say different - children also have an unlimited tolerance for things that are sweet. Some adults I think never get past it much & have what I call super smellers too. But yea it’s like they can also lack the tastebuds that’d help them appreciate bitter things later in life, like most adults do. Could just be natural that our tastebuds from when were kids change or die off sorta, which allows for the fuller palate.

Tbh though I can’t stand bitter & earwax level IPAs. Just gives me headaches.
Security is topic that is definitely worth taking very seriously, and worse, it's in contrast with an industry fundamentally designed around planned obsolescence.

I don't have estimates, but I think it's safe to estimate that there are millions of otherwise perfectly valid phones that either are in use, with serious vulnerabilities (in particular, bluetooth ones) and are not going to be patched, or have been thrown away because of that.
The whole point of a local DNS and local CA though is to insulate yourself from cloud expenses and failures. Our DNS system has had 0 outages, whereas our Google Fiber uplink has aprox one failure a month (Weather, construction, maintenance, upgrades, unscheduled outages).

It's just as easy to deploy a trusted CA using MDM as it is to deploy this.
That's strange.

Why do private photos need to be reviewed?

What am I missing? Is everyone just okay with giving up their privacy?
"You people"?
Fpers, lispers, tdders, clean coders, etc

There are many religions in programming world

Just get familiar with them, take what is sane and avoid the rest

Extremas are rarely the best
Same here, have done a mix of native and Web for 30+ years, and when it comes to chose, if there is a native app available, I'll take that.
"the fact is that the moment one of those creatives "gets political" (as determined by Threads, however they want, with no human appeal), their content will become effectively invisible [0]"

Your citation doesn't support your claim. It actually contradicts it.

Some users -- particularly those in the news/politics sphere -- were clamouring for more of a news / politics focus. Instagram's head declared that it is not their focus. He went on to specifically note that they weren't going to suppress or discourage those topics, they just wouldn't exaggerate or push it, as is the norm.

Because let's be real -- Twitter, Facebook et al push news/politics, particularly news that angers you, because it drives engagement. Many of the major social media news/politics figures were essentially created by these algorithms essentially trying to manufacture engagement, with millions of people spraying spittle and laying trillions of words of noise to zero useful effect on the planet. If Threads stays clear of that, more power to them! In reality eventually someone is going to realize they'll get more ad revenue if they push adversarial content on users, but hopefully it is delayed for a while.

And FWIW, there sure are a lot of "creatives" giving political commentary on Threads...they are appearing in loads on my feed.
The documentation exists. That's the best thing about it and it's a whole lot better than none. It has been worse too. Compared to Red Hat though, there's just no comparison.
Is it an irony that the very same nuance detection is often used in so many biases and other degenerate judgements?

I have loved that my kids find basically everything beautiful. Beetles in the backyard? Amazing! Snakes? Cute! Coyotes? Leave the chickens alone, you adorable canine!

Are they underdeveloped? I mean, yeah. I don't disagree with the assertion. I sometimes question the directions that we develop ourselves into, though.
Smaller phones are easier to interact with if we’re taking single hand interactions.
I've just been playing with Claude 1.3 this weekend to summarize large texts. It can take 100K tokens of input, enough for a whole Lex Fridman interview! :-) I've been getting pretty good results with it, so I'm excited to see how v2 works.
Also a win for most users, who don't care about this stuff and just want to use free services of quality.
Thanks! That's a good idea, I just made a discord server. Here it is for anyone interested: https://discord.gg/sB8sPMxTnV
I applied and got access to the Claude 1 API a long time ago and then I guess I didn't click the link they gave me in time or something because when I went to try to get in it was expired. If I remember correctly.

I think I emailed them about it and was ignored.

I've been using the OpenAI API and I'm on the third version of my code generation application which is now a ChatGPT Plugin.

It sounds like Claude 2's reasoning is still lagging behind GPT-4 anyway.
Former FTX Executive Linked to Campaign-Finance Probe of New York GOP Race
https://archive.is/WLeo4
I would not trust GPT to grasp the pitfalls and quirks of PAM configs, it's a very sensitive part of a systems overall security.
Arrows [1] are great, not sure why you were getting downvoted on that.

---

[1] https://en.wikibooks.org/wiki/Haskell/Understanding_arrows
I just asked and it told me cows are mammals and do not lay eggs. That Reddit post is not even GPT-4 and is 5 months old, which may as well be the 19th century on AI tech timescales.
Talk to Claude 2
they literally tell yoy which stations are accessible and which ones arent.
Run Windows 98 in Vanilla DOSBox
I knew for the lack of money. But the parallelization idea, I didn't. Thanks for posting !
> Docs as code is a methodology where the tools you use for writing documentation are the same as the tools used for writing software. This includes:

Using version control software
Writing plain-text documentation files
Running automated tests
Practicing continuous integration and continuous delivery

To me this is version controlled and tested docs. There's little code to it from what I can see. Docs as code is like in Go where you annotate a function and it's documentation is rendered into markdown. Some of these systems can be rigged up to be quite fancy, like generating OpenAPI specs from annotations and signatures.

It is still cool to see what goes into managing a knowledge base of that size and scale. I'd be interested in what they use as front matter structure to organize everything.
Passengers Bumped from One Flight. Can You Guess Why?
Systemd definitely belongs in the list, even if some admins like it.

"Windowsification" is a admittedly vague concept, but tends to cover software that is gratuitously different, not a team player in the bazaar, prone to making land grabs through "embrace and extend", and reluctant to offer configuration options that conflict with its "opinionated" stances.

As an aside, I'm really sick of the systemd / "random pile of shell scripts" false dichotomy. It's trivial to turn a python script into a system service with runit, too. Simple, stable, and focused.
They want places with tech startups who will pay for their API.

Thats where there is lots of money to be made. And if they are GPU constrained, then launching in the countries with the highest proportion of future paying customers makes sense.
Let’s not go down the “you people” route here.
I tried fixing iputils ping back in 2010, but they never picked up my patch: https://www.spinics.net/lists/netdev/msg139985.html

Glad it was fixed only 20 years later.

It's a shame that the timestamping interface uses wallclock time, also with libpcap, because gettimeofday should never be used to measure time: https://blog.habets.se/2010/09/gettimeofday-should-never-be-...
GitHub profile achievements
And those blogs took a decade+ to make, and now in another year we'll make that much information again. Then it will be that much information in a month. Then that much pap in a day.

And in the past it was still a million people making that much crap. Now it's a single "entity" making that much crap with it's own style and mistakes.
Yep. The "median" Android phone is abandoned by the manufacturer within a few years, and sometimes doesn't even see a major OS update. Given the variety of available models, projects like LineageOS can't even keep up with providing an alternative.
Using a map or a reduce instead of a for-loop feels like using a foreach instead of a while-loop.

Once these came naturally, doing anything else starts to feel underconstrained and imprecise.
Route around the problem
Because the reason they implemented the HDB mass housing program had nothing to do with them being authoritarian or a city state. They are just nice commieblocks.

Lee Kuan Yew was afraid of the domestic communist opposition. This was a popular policy of theirs and they were getting dangerously close to power,so he ripped it off. It's a formula for staying in power that served him well.

Back when western leaders were deathly afraid of communists they used to build public housing as well. Then they stopped. Singapore continued.
And all these things are sort of the point: ancient, modern and crispr etc techniques are fundamentally different and have different outcomes. Hence it is not unreasonable to ask which was used to create what someone is selling...

Also more range: you cannot move whole genes from vastly different organisms using selective breeding (good luck selectively breeding arctic fish with strawberries to get that anti-freeze gene).

Personally I don't particularly care what technique was used. But I very much doubt the motives: are they making the flavour better by just adding more sugar? And to allow for that, and faster harvest reducing the vitamin content? Is the "apple" I am eating actually closer to a chocolate bar nutritionally than the Apple I ate 20 years ago? Maybe I just want to keep the same old fashioned one, even if it is different to the original wild apples from 27000 BC?

I think the same logic applies to "organic" produce. It is not a matter of whether X is safe. Is it a matter of if I can be bothered to track 1000 Xs and assess all of their safety and understand them all and cope with every new X etc. Or just get this other thing...
What does that idea mean in practice for these businesses?

(I'm not a lawyer, and my understanding is that law doesn't work like computer programmers think it does.)
most functional techniques wrap walking a loop into a few functions, like fold. writing loop constructs can be error prone. one is much less liable to make a mistake passing in an array into a function and have it processed using another function. idea being separation of logic. why care about loops when one only thinks in arrays and streams being processed? i don't think i've written a for loop in js in a couple years at this point with the help of libraries like ramda.

oh and loops constructs are not composable...
People aren't forced, they choose it. They are clueless about technology and don't trust anything that may look like a dark horse. They want reassurance. It's not just the "enterprise" or corporate world. Home users have that mentality. Mac computers cost an arm and a leg and people still pay for it because the advertising machine has hammered it into the heads that "it just works." Most people only trust big brands. The bigger the better.
Not everyone uses their phone for UIs. A lot of us Gen-X / Elderillenials have a more disconnected lifestyle, whereas a lot of younger-llenial and Gen-Z their life is centered on communication first. As such, a Large screen is not a priority, but portability is, because I'd assume just leave my house without my phone if it's too big to tuck in a pocket on a bike ride.
Copyright laws are red flag laws for publishers.

It has nothing to do with creators.

People are regularly paying creators directly to create through patreon, super chats, advertising, early access, subscriptions, etc.

The idea that you need copyright to protect you is just not based in reality.

Get rid of copyright, creators will find a way to monetize it if they want to make a living doing it.

It's not society's job to protect your ability to get paid for your hobby. There are no original ideas, just people that write them down. You don't own them, you extracted these ideas from society, the least you can do is give them back.
> Boy, that article isn't cherry-picking at all!

Because most people reacted well? Good one. No, it's representative. Women lost their jobs just for agreeing with JKR on this. People talking about how they want to or how everybody should "punch TERFs" and all that is also not made up either, that reaches into the ranks of German politicians even. The question isn't so much whether that's going on but rather who looks the other way while it does, and why.

> This whole argument of support for a very marginalised group somehow being a "widespread attack on women" is

Your strawman, and basically proves my point. I can, in context of TERF's being mentioned in one breath with Nazis and pedophile, even show you threats of violence for a perfectly valid statement, and you can neither confirm the statement is valid, nor condemn the threats. Instead you attack me as well, that I am "thinly veiling" what you make up from thin air.

And women are also VERY marginalised, and brutalized, and have been for millennia. That lesbians get attacked for "genital preferences" or women for saying "actually, don't call us menstruating bodies, we're women", is just a continuation of that.

Women don't want trans people to not have human rights, they just want to keep theirs, too. To frame that as an attack on trans people is just rich.
Ironically, despite macOS, Android and ChromeOS at Mountain View, it was Windows that got WebGPU first when Chrome went stable with it.
> […] essentially just rebuilding and rebranding "their code".

Thereby creating an eco-system of RH-based systems that people learn about and get familiar with, so when it comes to going into production the natural default is to just purchase the official RHEL for those systems.

I think RH/IBM are being short-sited on how useful the free eco-system is.
I hate to push the idea of experience, but you can try that next time.

That is, don't try and take in the taste individually. Look around and experience everything with you and try to imprint some of that into tasting it. Close your eyes and set the idea that it was all a part of it.

Then, later, if you can get back to this specific taste, it can help remind you in very physical ways of being there and having that experience.
I think a lot of the communication around science publishing has overemphasized the power of peer review. More people should realise it's the table stakes for science, not the conclusion.
In theory, purely functional programming is declarative in nature - there are things you can tell about the state of the program just from reading the code, whereas in imperative programming (with loops and changing state) you can't tell with confidence what the state of the program will be without running it. There's a certain appeal to the declarative flavour that I used to care a lot about and somehow managed to forget to care about. FWIW I can't say that my programs became worse when I forgot to care about purity. But there may be some scenarios and domains where this sort of confidence can make a difference, and I just happen to not work often in these areas.
If I say I'm using the sun as a clock, would you object because clocks have springs, screws and hands and suns don't have springs, screws and hands?

CLOCK?!
> leverages the ACME DNS server

It's inspired by ACME DNS, but getlocalcert is actually using PowerDNS with a Django API that's compatible. I originally built the tool as a fork of acme-dns, but lost traction somewhere, I switched to pdns and it worked great.
Trying Coroot, an eBPF-based observability tool for Kubernetes and more
A LaserJet 4mp with a USB interface is all many people need. Bonus points for wifi printing.
I just want to say thank you everyone for the responses
I don’t think that’s much clearer at all. I realize that you’re citing a specific example, but if your approach is to understand the problem first, then you may as well use the closed-form solution of your problem:

sum(1,n) = n*(n+1)/2

Which some compilers will produce for you, even if you use loops.

Maybe if you chose a different example, like generating power sets or the Fibonacci sequence, your point would be better made?
I think one problem is that some of the syntax doesn't express what you are trying to do, it's just low level mechanism, especially C for loops for example.

But going further, many loops are actually maps, where you do something independently with each element of a list. Why formulate that as a linear visit to each element?
Google Bets on Medical AI Program to Crack Healthcare Industry
US private rails own the railways and, while in theory they are required to give way to passenger rail, are so long and take so much time to cross that in practice passenger rail is forced to adhere to the time-schedule of private rail.

This is arguably illegal and only exists because the govt refuses to enforce the obvious interpretation of the agreement.

Meanwhile, the US DOT has historically always taken the approach of "the solution is more highways. What's the problem?", losing far more than $1B/year.
Fantastic, now we have duopoly
for me in software engineering, it really does make a difference to have that extra space when having two things open side by side. Also I DJ for fun sometimes, and having the extra real state helps a LOT.
Fake free services. You're paying them with personal information about you and your behaviour.
Having used both I can say that PhotoPrism runs MUCH more stable and surprisingly smooth. Immich constantly breaks.
Yeah for sure! The tricky, prickly part of talking about FP is that we get into semantics a lot (eg. I'm sure there's Haskell experts who wouldn't consider JavaScript's `Array.prototype` functions to count as FP). Generally I'm thinking about `foo.map` vs. `for n in foo...`. Maybe "imperative" is a bit of a loaded term for this point.
How much further could you take this analogy?

Cargo bikes don't get stuck in traffic; functional programmers don't like getting stuck debugging.

Cargo bikes are easy to park; functional programs are easy to run in a REPL.

...and so on.
I have the same problem with resemble.ai - I've submitted their "request a demo" form multiple times to try to get access to their multi-language API. Can't get a reply. I've tried emailing their support and sales teams and they ignore me.
It's just a poor description. Maybe a better way to frame this is user control of content served, from a black box based on your data (Tiktok) to fully deterministic by user action (RSS). This largely runs parallel to the time vs algo based axis though.
Indeed. But it’s not a replacement for the official documentation. It’s a complement.
I managed to sell the HP after acquiring a (somewhat) smaller and (much) lighter Philips counter which also uses a 500 Mhz reference clock so it can do more countings per counting. So I only very briefly had two. Glad it didn't exponentially escalate at that point: https://i.imgur.com/NCKDQEh.jpg
There are many vinyards that have small batch varieties, they just don’t invite the commoners.

There was a story recently about Coppola. His property has something like ~70 soil type/grape combinations and he has more money than god, so he decided to buy fermenters for every combination and see what happens.
Is this something similar to couch/pouchdb?