skysight-inc/HackerNews huggingface dataset:
The author followed up this post with another one a few years later titled "Against Railway Oriented Programming":

https://fsharpforfunandprofit.com/posts/against-railway-orie...

Railway-oriented programming is an interesting concept and it does have its use cases, but it does need to come with a massive health warning. I've often seen it used in practice to reinvent exception handling badly, and this is something I consider particularly ill advised because exceptions, when understood and used correctly, provide a much cleaner and more effective way of handling error conditions in most cases.

The thing about exceptions is that in most cases, they make the safe option the default. An error condition is an indication that your code can not do what its specification says that it does, and in that case you need to stop what you are doing, because to continue regardless means that your code will be operating under assumptions that are incorrect, potentially corrupting data. Error conditions can happen for a wide variety of reasons, many of which you do not anticipate and can not plan for, and in those cases the only safe option is to clean up if necessary and then propagate the error up to the caller. Exceptions do this automatically for you by default (you need to explicitly override it with a try/catch block) but alternative approaches, such as railway oriented programming, require you to add in a whole lot of extra boilerplate code that is easy to forget and easy to get wrong. If you can't handle the error condition on the way up the call stack, you would then log it at the top level and report a generic error to the user.

Having said that I see two particular use cases for this kind of technique. The first is situations where you need to handle specific, well defined and anticipated errors right at the point at which they occur. Validation is one example that comes to mind; another example is where you are trying to fetch a file or database record that does not exist. The second is situations where exception handling is not available for whatever reason. Asynchronous code using promises (for example with jQuery) are pretty much an exact implementation of railway oriented programming, but since modern JavaScript now has async/await, we can now use exception handling in these scenarios.
var something = (() => {
try {
return mayThrow()
} catch(SomeException ex) {
log.Info(ex);
return null;
} catch(Exception ex) {
log.Fatal(ex);
throw;
}
})();

Close enough?
I'm currently in the process of moving my business (one-man show, incorporated LLC doing IT/SW Eng.) out of Germany. The amount of bureaucracy running even the smallest of companies with no office at all (work out of home) is hilarious.

So much you need to get an accountant/tax advisor, but even then they will pass-through a lot of the bureaucracy. I need to put down excel sheets for every day of a business trip I do, mark whether its been longer or shorter than 8 hours, arrival/leave day etc. And double pay attention that the hotel you stayed didn't include breakfast, or at least had it separate on the invoice. If getting a company car, you are in for some real tax hell.

On top of that, the accountant charges ~5.000€/year for this single-person business (personal income tax declaration included). And no, it is not just an expensive accountant, as in Germany accountant prices are regulated just as lawyer fees are (they can max. give you 20% discount). Meanwhile, when I talk to my friends in Spain they pay less than 1.000€/year for accounting for an LLC (S.L.) with not even close the bureaucracy. And bear in mind, I'm german and speak the language, but even I struggle to keep up with all tax- and business regulations. On top of that, we have the highest tax load and social insurance is also amongst the top price ranges, while waiting months for a doctors appointment.
It’s M.2 2242 Gen3 PCIe NVMe, 512Gb in the base spec, configurable up to 2Tb, but presumably end user replaceable.

https://starlabs.systems/pages/starlite-specification
Oh, griping and complaining are favourite German pastimes. A foreigner who has those two down already is halfway integrated and about to get citizenship.
How many times in a year do you expect to go into the "control center" to change config? And how bad is it to have an old UI stuck in the 90's [1]compared while most distros still expect you to edit config files like in the 70's/80's[2]? Besides I am pretty sure you can configure tumbleweed without even touching that control center.

I haven't tried tumbleweed, but I have tried Mint a few months ago and it didn't really striked me as having much more modern tool and I don't think I even used a configuration management tool.

[1] that many people would praise nowadays by the way.
[2] which still works really well and is still a pretty good UX imho.
That is just your experience. You say as if things in India are all bed of roses. No major city in India (forget small towns) can boast of breathable air, manageable traffic, potable water from the tap or 24 hours of electricity. Women's safety - lol. Finding a place where there is a clean lake or some non-polluted piece of nature - forget that in North India.

Not to mention as a minority, who knows when you can be lynched or arrested for stating your opinion.

People come here, reek of privilege, miss their life in India where they had 3 servants for everything and also forget that if they have to go to any government office in India they have to pay bribes.

Also, please show some respect to the country you live in.
but dropbox is not patented and you are not prevented from making your own CurlFtpFS and SVN system
The train situation is also a great example of how to get some of the worst parts of private and public. It was privatized, but is 100% owned by the government …

And FWIW, getting an appointment (both doctors and Bürgeramt) has been getting better and better every year here. Bürgeramt is now fully online, you can even pay by credit card, I’ve had an online diagnosis with a skin doctor that my health insurance paid for via OAuth, I can now have other appointments via websites.

This was Partially driven by COVID, partially because it’s simply advancing.
not quite that, but Andromeda Strain is a plastic-eating microbe story
So if you don't face the problem personally you don't voice out against it? You do realize how cause and effect works right? If you don't voice out and change the system this is what happens:

1. More and more immigrants stop coming to Germany.

2. Taxes and Pensions dry up.

3. Already stressed and broken infrastructure can no longer be
maintained thanks to lack of funds.

4. Your quality of life (that of the guy who never faces these problems) goes down because you did not speak out and help change the system.

But yes, by all means be typisch Deutsch and stick your head in the sand. Let's see how that helps when the car manufacturing industry is long gone and Germany is the Greece of the 2030s.
Not really a fair comparison. Stripping out types is trivially fast regardless of the implementation language. The _vast_ majority of the time taken in tsc is because of the type checking
Is there any citation in the original article for the claim that it favours refugees? It's paywalled for me.
Gut reaction is to use LLVM for everything...
Same here. Went from Emacs to Acme, while using mg in the terminal. Now I’ve customised Micro to get that Acme feel.
The insurer simply does not cover costs for certain events or entities. For example, if the truck driver picked someone up, got into an accident, then the passenger’s injuries would not be covered by the insurance.

In which case, the passenger might sue the driver, and the driver might not want that, so the driver chooses to not pick up hitchhikers. One might say this is a consequence of not having taxpayer funded healthcare for everyone, since exorbitant healthcare costs + needing to find someone to milk mean everyone ends up looking out for their own ass.

Another scenario is the passenger steals the truck or its contents , in which case the insurer would say not our problem. You were covered for random acts of weather/other drivers/machine failure/thieves breaking and entering. But not if you willingly let them into the truck. Seems like a reasonable caveat.
As much as I like the functional paradigm, I don't think it will work well on Go due to two simple reasons:

1) Go doesn't have a concise lambda expression. This makes the functional approach in Go will be more verbose and less readable than the traditional imperative approach.

2) Go's type inference is not sophisticated enough. Most of the time you will still need to explicitly annotate the types, which, again, makes it more verbose and less readable.
Thread has far too much analysis premises on notions such as the US economy works the best and everything works like in the US that are simply stupid.
Yeah probably a lot of wifi clients there. Isn't that how Google maps measure activity? By monitoring the wifi traffic of android phones?
Coming into web development fairly recently (after 2013 or so) from the statically typed hemisphere and without closely following the Javascript history from the start I naturally cannot agree ;)

(things like the scoping rules for 'var' is just bizarre, same with the concept of 'prototypes')

Looking at typical "old-school" Javascript code gives me the creeps the same way as looking at K&R C code ;)
The 200$ billion hole in CN real estate is comparable in size to the SVB signature US banking crisis. In that case US treasury policy was a bailout for uninsured depositors who are wealthy supporters of the ruling blue party.

Most of the underwater property developers are wealthy patrons of the ruling red party in China and will ultimately receive similar government bailouts. Privatized gains and socialized losses it's the same movie everywhere.

But this is just theatre, on the order of 1 trillion disappearing in smoke is not going to sink the ship of any nation with 100 trillion in wealth assets.

edit: I should say this money doesn't really disappear in smoke, it's bourne on the backs of mostly middle classes amortization over the period of decades in hidden inflation taxes and marginal lower living standards.
> Not to mention that memory safety is just one type of failure in a cornucopia of potential logical bugs.

You can die of multiple illnesses so there's no point in developing treatment for any particular one of them.

> I like core dumps because the failure is immediate, obvious, and fatal.

Core dumps provide a terrible debugging experience, as the failure root cause is often disjoint from the dump itself. Not to mention that core dumps are but one outcome of memory errors, with other funnier outcomes such as data corruption and exploitable vulnerabilities as likely.

Lastly, memory safe languages throw an exception or panic on out of bound access, which can be made as immediate and fatal as core dumps. And much more obvious to debug, since you can trust that the cause starts indeed at the point of failure
I wonder if the inner city driving tax, whatever it is called, could have reduced car parks.
Love people like you, move right towards insulting others. Maybe that’s why you have those issues. Not even going to bother arguing with people like you.
> Kind of sad that the last living pieces of the shuttle will be dropped into the ocean and left to rust away

I know a lot of people want to get them into museums, but I suspect that every museum that really wants one already has one. And I'd suggest to you that it's much more dignified that they go out as part of a rocket launch than slowly decaying in a warehouse somewhere.
The value of something is not normally associated with how easy it is to copy.

A state secret or a trade secret could be very easy to copy and yet immensely valuable.

A print-out of 100G of random noise would be quite hard to copy and yet isn't very valuable.

It's obvious that the Picasso has more intrinsic value than a jpeg, but not that much more. Art reproductions are typically sold at a fraction of the price of the original ($20 for a very nice print, $130 for a handmade reproduction (low wage country): https://www.etsy.com/market/picasso_reproduction)

To reproduce that car would cost a fortune, much more than the car itself is worth.
The drivers should be getting wise to the game if the companies won’t employ them and won’t guarantee they’ll at least make as much as working at McDonald’s.

But they’re set up to prey on drivers who basically live the high of gambling that the next fare with be that $100 one that makes the night worthwhile.
With how powerful the type system is you can implement pattern matching via a library pretty convincingly, https://github.com/gvergnaud/ts-pattern is definitely the go-to. That being said pattern matching is hardly a requirement for being ok for implementing compilers.
Well they double pinky promise, of course
> The only reliable way of finding out if something is actually using wayland is running xeyes and seeing whether the eyes move above the target window.

In Firefox all you have to do is navigate to about:support and check verify that Window Protocol shows wayland.
In this case, it's because Google agreed to try to limit tracking children in a government settlement.
Sorry, but I hope you can show these countries a little bit more respect than the country that provided you with the ability to get very well paid, got you clean are and safety from crime.
> A huge pet peeve of mine: I ask a really difficult question that might be impossible to answer, then someone interprets it as needing ANY answer (rather than a correct answer) and they just start talking. Or they answer the surface level question but don’t understand how much deeper it goes.

It's funny how many HN comments fit this mold. Which actually makes this site very entertainig, because there's not that many other sites where you can hear utterly deranged opinions about things you know about :D
Never touch a running system.

Who rolled back many of the things Schröder implemented? -- Cabinet Scholz
>There are a ton of other sectors where subsidies don't help nearly as much as the govt hopes. Until the US sanctions hit, subsidies for the semiconductor industry only had very limited effect.

Probably some sectors are easier to grow if it only involves copying something that already exists, and outscaling/outpricing everyone else. Then this is (in most cases) is a purely money+organization problem.

But if it isn’t just copying/outscaling/outpricing issue, like replicating ASML’s EUV lithography, then yes, we have a problem.
This is a problem that is very similar to the one solved by Differential Data Flow and implemented by https://github.com/MaterializeInc/materialize

Have you considered using that?
I thought the same actually. These photos don't capture the transformation especially well. From the ground areas of kings cross for example are literally unrecognisable when compared to 20 years ago. Similarly nine elms or North Greenwich look superficially quite similar in the aerial photos but the reality is they are changed almost beyond recognition.
My understanding is that lots of families invested their life savings into either having no apartments on paper or half-finished ones or some close to completion but unlivable.

Social unrest or govt bailout ???.

Who is holding the can for this one - Western investors ???.
Yeah, city limits is a terrible way to measure city size because it varies so much depending on how different countries like to partition and label things.

On paper, Paris is much smaller than London (2 million vs 9 million), but Île-de-France has 12 million, but that in turn is a more expansive measure than Greater London. Inner London has 3.5 million. But London is basically a couple of significant cities with loads of towns and dense urban area in between and surrounding; Paris is structured quite differently.
https://ourworldindata.org/land-use-diets

If the world adopted a plant-based diet we would reduce global agricultural land use from 4 to 1 billion hectares

https://www.naturalnews.com/2022-12-09-organic-farming-produ...

Report: Organic farming yields 40% more crops than conventional farming during drought

https://www.scientificamerican.com/article/organic-farming-y...

A new meta-analysis suggests farmers should take a hybrid approach to producing enough food for humans while preserving the environment

https://www.downtoearth.org.in/news/agriculture/farmyard-man...

Farmyard manure in natural farming leads to higher yield than conventional method: Study

https://www.nature.com/articles/nature11069

with good management practices, particular crop types and growing conditions—organic systems can thus nearly match conventional yields, whereas under others it at present cannot

https://journals.plos.org/plosone/article?id=10.1371/journal...

Commercial Crop Yields Reveal Strengths and Weaknesses for Organic Agriculture in the United States

The analysis we present here offers a new perspective, based on organic yield data collected from over 10,000 organic farmers representing nearly 800,000 hectares of organic farmland.

Averaged across all crops, organic yield averaged 80% of conventional yield. However, several crops had no significant difference in yields between organic and conventional production, and organic yields surpassed conventional yields for some hay crops.
Ah, not the otamatone then:

https://m.youtube.com/watch?v=ZmxLja-DRIw
My bet: they want to restructure and sell the company. Selling something you don't fully own is tough so they'd rather control 100% of it and then sell it, even at a loss.
What percentage of internet users give informed consent to be tracked?
It is a handy metaphor.

Like all handy metaphor's, it helps people conceptualize an idea.

That doesn't mean it is a strict technical term, you can break down all metaphors if you want.

"He is the light of my life."

"NO, he is not a 'Light', he is a human, read a biology book".

LOL. Just realized you are Drax? Drax is posting on HN?
> How would one even go about a phonebook-style mechanical listing of facts and occurrences?

The traditional trick there is to include some small amount of fake data in the directory. You know someone has copied your collection of facts instead of compiling their own because it includes your fake facts. Mapmakers have used the method for at least as long as cartography has been part of our recorded history, see https://en.wikipedia.org/wiki/Trap_street for details. As noted in that page, the legal status of this, like many IP related issues, depends upon jurisdiction.

> But that’s not what a LLM does,

What does it do that means it is only summarizing factual information? While NYT effectively trying to claim copyright on facts is wrong, OpenAI claiming it can't reproduce copyrightable information while it can reproduce/summarize facts found within the same training set seems at best disingenuous.
It depends on the culture. Come to Eastern Europe (and I guess to other similar cultures, South America maybe?) and see how far you can go without saying "please" or "thank you". Not that far, I can tell you that.

Even though things are beginning to change for the worst in tech world, but, then again, many of the tech people in here see themselves as North-Westerners who happened to be born in the wrong place.
there is no non english speaking country in the world where you could expect that to be easier.
QuestDB, kdb+ and others mentioned are more geared toward time-series workloads, while Clickhouse is more toward OLAP. There are also exciting solutions on the streaming side of things with RisingWave etc.
There was cocaine chocolate though. It existed before the war as a sort of sports suppliment.

I'm basing this on a youtube video I once watched by an MRE review channel, where he kept referring to the additive as "Kola".
Just realized I replied to the wrong comment and can no longer delete it, sorry about that.
Carbon emissions are also long-term plans. When you open a coal mine (which they do) or plan for increasing nuclear power, you have to plan decades in advance, which is why we should have started all this yesterday
One of the benefits of flooding is that it keeps soil pathogens in check - so you don't need to use crop rotation when you grow rice. Would be interesting to see what year 2 of this looks like and whether temporary flooding is enough to do this,.
if people cannot learn the concepts when presented with the monad and functor names, but somehow are able to understand them when given different names, it seems the issue is the names are bad

what is creating confusion is this need to sound like a pompous academic by sticking to old terminology that serves no purpose but to make their users sound enlightened and the subject hard to grok

the functional programming community could gain a lot from making it's subject more accessible, not less
Single molecules of plastic getting involved in the process of rna transcription in cells resulting in genetic mutations or cancers.
Well, yes. This is what was alluded to about the absolute breaking of shared reality that genAI allows. That's not even touching on the fact that the party that has the most control over a popular used model could filter "undesirable people" out of places they don't want to see such folks.
> I strongly advise anyone who moves to Germany to start private pension scheme immediately because in 30 years there will be no pension in Germany, most likely.

But there is not way out of the government mandated pension unless you become self-employed. So you do have to pay into the giant ponzi scheme, while also building your own private funds.
If only it was a simple logo. My HRs send emails with a full blown wallpaper on top, which stretches the inbox on a smaller screen so much that horizontal scroll appears, and text below it also overflows. Or when I disabple dynamic content, then they manage to create links inside the graphical buttons with no alt text, invisible without the picture. And these are people whose main job are emails. Sigh...
And he got killed for his troubles.

It's funny how we at the same time undervalue and overvalue personal agency. Individuals can make a huge effect if they push at the right levers but just sorting your trash or biking to work isn't going to stop climate change, even if lots of people do it, and even if it does help.
> People come here, reek of privilege, miss their life in India where they had 3 servants for everything and also forget that if they have to go to any government office in India they have to pay bribes.

Unfortunately these are the exact people that Germany wants moving into their country - because they're the one's who pay the high taxes. Do you think Germany is throwing open their doors for the underprivileged folk of the developing world? Unless you're a refugee from a war torn land, they are not doing that. They don't want you here. Case in point - the new immigration reform allows you to bring your parents on FRV only if you're coming here on a high paying blue card job.

So if your goal is to explicitly attract these kinds of privileged individuals, then it's pointless to get pissed off when they speak from their position of privilege.

> Also, please show some respect to the country you live in.

So what, I should kow tow to a broken system and praise it? No thanks. People and countries should be able to take criticism. Also, just because I complain about everything that is bad doesn't mean that there is nothing good. It's just that none of them apply to a thread about Germany's dire immigration situation.
The Soviet Communist Party also had millions of members, but we all know how that ended - hardly with a bang and a whimper.

Folks join not for ideology but for the social standing and future career prospects - you not going to be a senior bureaucrat or military officer if you ain't a member.
Is SUSE relevant? Maybe I live under a rock, but I don't hear anyone talking about using it for anything anymore. Feels like 10+ years since it went off radar