skysight-inc/HackerNews huggingface dataset:
I am not sure about Elexir, but in Ocaml, someone using this style would gravitate towards Result.map and Result.bind
(Defined like this: given (Ok a) or (Err b),

- (Result.map f) returns (Ok (f(a))) or (Err b)

- (Result.bind f) returns f(a) or (Err b)

)

One could then write

params.id
|> find_user
|> Result.bind (verify_user_has_access_to params.post_id)
|> etc

Reasons for that are 2-fold

1. It de-clutters your functions (you do not need that match statement anymore)

2. It becomes evident

- which functions will simply pass down errors (bind or map) vs. which ones may handle them

- which functions may raise new errors (bind can, map can't)
Or it's to call to the carpet the people that are enforcing "stack requirements" of tooling that is overly complex for the job.

> I've seen projects with many engineers breaking each other's features because they weren't specific enough with their CSS targeting.

Agreed, and to add to that -- unless a team is willing to stop the line and understand why and how this happened, it will keep happening. Tailwind eliminates classes of problems without requiring people to collaborate or think. That's its "benefit". As I've said elsewhere, it comes with costs, but many of those are subtle (many devs won't have enough experience to observe them) in their short term effects.

> I'm a fan of understanding the grittier side of the box-model but I've found that I can't outpace a system designed by a team of engineers to solve the problem of quick and easy layouts and components.

> I've seen projects with many engineers breaking each other's features...

I don't usually comment on people using "engineer" to describe software developers, but the irony in these statements is a bit much. What is being described is not engineering, it is hacking. It shouldn't be a surprise that when we hack, we break things.
Yes, like all of Elon Musk’s undertakings; ready for bankruptcy at any moment, if HN is asked.
To his credit, he didn’t let being rejected by the largest advertising surveillance company stop him from shipping surveillance software to millions of end-user workstations anyway, in the form of the nonconsensual spyware built into Homebrew.
In season 2 of Tokyo Vice, they show character Jake, a reporter for newspaper Meicho Shimbun, using a native Japanese “word” processor to type in his stories. Really fascinating and seems to be authentic.
I was thinking about this the other day. They always confiscate prisoners’ cigarettes because they’re used as money. This actually makes the cigarettes more valuable if a prisoner can hold on to them. Imagine the look on the prisoners’ faces if the prison issued free and unlimited cigarettes to everyone. The entire economy would implode.
The quoted phrase finds nothing, unquoted also no scilab, then realized I've made a typo and it's numerical, not numeric, then I get it

Google was ~ top 60, which for such a generic term seems fine, not much scrolling down
As opposed to? The original claim being asspulled then not reviewed at all because that would be science?
It sounds like you only need one person (not as deep pocketed as Andrew Carnegie but who has read "gospel of wealth" and agrees with it) to have support for decades if not perpetuity.

Universities traditionally have done this sort of thing by playing golf and naming buildings, but I'm sure in the 21st century there are other models. (Fwiw $2k/yr is below a typical golf membership)
What is the advantage of Ollama Python over huggingface?
> I worked at Twitter
I bet you did.
Not quite, they're actually a NEGATIVE value currency.

U.S. currency production is funded by the federal budget, supported by taxpayer dollars, and offset by seigniorage revenue.

The cost of producing the U.S. penny, exceeds its face value.

The GOVT. explain that this loss is recovered through the concept of seigniorage.

Seigniorage is the difference between the face value of money and the cost to produce it.

For the U.S. Mint, which produces the penny, the overall profit comes from the entire spectrum of coin production, not just the penny. Since our penny results in a loss, other denominations like dimes, and quarters, are produced at a cost lower than their face value, generating profit. So this profit helps offset the losses from penny production. So the overall seigniorage generated from the other denominations theoretically covers the cost of producing a negative value coin.
In my opinion, this thinking is wholesale incorrect and actually terrifies me more. Yes, there is global warming. Yes, it is extremely concerning, and leads to countless endangerment, extinction, and coastal/island loss etc…it will cost untold
billions to mitigate its effects in even a handful of cities like Miami, Venice, etc…

But, exactly why should people have fewer kids? It’s the large, sweeping, gubernatorial and industrial changes and innovations that drive meaningful shifts in sustainability (with downstream effects on consumer sustainability i.e. cheaper EVs heat pumps and solar panels = greener consumer behavior). If we have fewer kids, that’ll just add to our problems - we’ll have climate change and accelerated economic collapse. If you survey people from developing countries on the anti-natal perspective, who emit a fraction of the C02 that people in developed countries do, they might find it borderline pathological. Malthus was dead wrong, and his intellectual successors continue to be wrong, just with more cope. I have no reason to believe that will change.

Anyway, people who think that having fewer kids is as much of a disaster as climate change will continue to have kids. People who think that they should go against their core reproductive instinct in order to save the planet (???) will not have successors, if their behavior is consistent with their ideology. It is only the children of the former who’ll be able to evaluate the outcome. I assume they’ll be generally thankful that they’re alive to evaluate anything in the first place. I also assume that they won’t be living in a literal hellscape - point me to
any credible literature which portends that for people living in the United States in 2100 (because that’s where most people on HN live - there are people today that live in a hellscape, they don’t even have to wait for 2100, but it’s not predominately due to overpopulation).
A direct consequence of how the West treats real estate as an investment.

People bet 10 x their yearly income on a property, and then they will do anything in their power to make that value rise, or at least not fall: NIMBYism. They will block any effort that potentially lowers the value of their property.

And I don't think you can blame them, as we can't expect them to voluntarily lose a lot of money.
Exactly. The problem isn't the advancement of technology. It's the rampant gatekeeping of manufacturers and both politicians as well as some of the user base defending it.
https://archive.ph/i1NAM
The notion of a stochastic parrot is just a subset of this. It is what I'm arguing against, not for, on the basis that talking about "just" a statistical model is meaningless exactly because something being a statistical model does not imply it is just a stochastical parrot. As such it's a wildly misleading claim to make.

Yes, we're more than parrots, but that does not mean we can be described equally validly as "statistical models". Suggesting something is "just" a statistical model is a statement that is close to semantically void. It tells us near nothing about the computational limits - up or down - of something. Even a very simple system for running a statistical model with a loop around it providing IO can be made Turing complete.
it is science that discovers errors in science :)
Oh yes this happens all the time!

Last year an engineer in my org got promoted to Senior Staff. In order to get there he alienated and burnt out many other engineers, including me.

But guess what? he got the promotion, which is what he was gunning for, and he only alienated his peers. Leadership still support him and think he is a genius (BTW for doing things like taking credit from others). Also he seems to have chilled down a lot since the promo, so if you only interacted with him afterwards you would have a very different opinion of him.

There is this idea that tech is a small world, your fame will precede you and such, but in practice I have seen the opposite. It seems way too easy to outrun your mistakes, either by changing teams or companies. I guess that is why it is relatively common to switch companies right after a promo. I have seen not so brilliant people greatly exaggerate their accomplishments and jump to greater highs.

They say that you can't fool all the people all the time, but that framing is wrong. You only need to fool the right people long enough. And in tech, long enough seems to be 2-3 years, after which you can jump ship and rinse and repeat.

I don't know about your company, but in mine executives never get fired. They always "leave for new and exciting opportunities" or "to spend more time with their families". I remember reading an article from an entrepreneur saying that a high % of executive hires are duds, but this is often kept under wraps to save face for both the company and the executive.

Bottom line, min-maxing your career progress *can* backfire, but statistically you'll be ahead by doing it than not. And you can minimize the downside by outrunning your mistakes, moving to other teams or companies (this applies less with the current job market).
Sumthin' or 'nother is making the system-as-a-whole moronic. Might be enlightening to try to chat up a bit the people you deal with.
Your "domain" filters seems like a good solution to this?
>still struggle switching between windows.

>Do I need a still larger monitor?

I don't know, maybe you need to advance to as modern an approach as you can get.

But no more modern than necessary.

I'm not a software professional but I do produce reliable code from time to time.

What's worked for me in Windows has been pretty well tried and proven over the long term, and may be somewhat similar to your situation.

With me it would be a terminal, Notepad (in lieu of IDE), and file manager and I want to juggle 3 as fast as possible without dropping the ball. Very often :\

For HTML add a browser (or two).

Whether it's building and filing pages of code or manually testing scripts which can get pretty tedious, what seems to work the best these days is overlapping windows where part of each window is always visible and available for you to drop back to it. Carefully arranged so the bit you click on to bring each window to the forefront brings it up without triggering any unintended action.

You almost never use the whole screen for any one window, but when you do that's a more deliberate event, which is the kind of thing you expect as an interruption to a muscle-memory workflow anyway.

You're not the first one to wish for a bigger screen, but really needs a system capable of working OK with lesser size and resolution, as well as working outstanding with any truly halfway decently sized modern monitor.

Check out this page for an example, the top picture says it all ;)

https://www.howtogeek.com/795478/windows-31-30-years-later/
I think this has more to do with testing, maintenance, and how it simplifies portability/flexibility.

There is a point where software diving down meets the hardware coming up. When you import a library you start creating harder to separate internals and testing becomes more of a blackbox approach (I don't care what happens inside as long as my results are consistent) as opposed to unit and function. It eventually does reach a point where dependencies are harder wired but the deeper you can create this DI, the more dynamic things become (function arguments, library injection, os virtualization, even hardware at points [PCI-E, serial]).

I think you are right about DI being less common but that is because it's not a natural reaction until you reach the maintenance side of software. It's much easier (and more performant) to just load it up on startup and call it directly. When you get into the way languages work you will see DI is integral to their accessibility and maintenance.
there may be problems with the implementation, or its usage, but I don't see why that's fundamentally a bad idea at all
Uproot everything? There's only 2 significant direct disruptions that would be felt directly by the population: getting an electric vehicle and stove/oven. They both have cost but that can be (and is) transitioned over time and the economic burden can be subsidized.

I agree that nuclear would be great but unfortunately it doesn't seem to be cost effective. Even my pet notion, SMRs, seem to be unable to cut it. NuScale has promise but even they seem to be unable to compete with solar and wind.

Geothermal is also waiting for us -- I hear there's a bit of extra heat in the Yellowstone region.

The key thing is that our political leadership is currently owned by the fossil fuel industry and they don't want to let go of their massive profits. They've also managed to politicize the issue to such a degree that a major political party (and its membership) has no interest in addressing this and has convinced the base that it's a hoax. That's as political as I'll get here -- is to note stated positions and policies.

The US has (will) spent $6T on two wars that had no reason or value. We have plenty of money to spend -- it's just a matter of spending it wisely.
I pretty much quit reading this when I read "emotional part" of your brain. As if the brain has explicit distinct parts with complete barriers between them and that they are selectively turned on and off. We're not unemotional when making logical decisions nor completely irrational when emotional moments occur. If human consicousness were so simple we wouldn't bother studying it.
This article does not actually discuss the *why*. All the article says is *that* the US turned attention away from the moon after the space race.

What a garbage clickbait headline. It isn't as if the US has been working for 51 years to get back to the moon. The US did it to show the world they could, and then decided they had different priorities.
Ask HN: Best Books for Modern Computer Networks
Seeking book recommendations to explore the basics and delve deeply into DNS, BGP, and their integration within cloud environments. Any suggestions would be highly appreciated! Thanks in advance!
A prior shop had a CTO like this.

That shop is soon to outsource their entire tech org after years of poor delivery.

Not saying there's causation. But not saying there's not..
What were you expecting? I read that as "a bug in the Seaborn graphing library caused wrong conclusions" and don't understand what other interpretations there are.
Then you are doing yourself a disservice. Smarttube alone makes me stay on my Nvidia Shield over my AppleTV. It would have taken you a minute to google and you would have saved yourself some embarrassment. Doubling down on ignorance is a wild move.
If they did would it change the argument? You pay $50/mo bucks to send and receive packages and if you sent everyone in america a couch they would either stop doing business with you or charge you more.

Hackers for some reason really hate the "we charge a flat rate to everyone averaged across normal usage so almost everyone doesn't have to think about metering but then charge outliers more" pricing model. It works the same for roads, once you're driving semis the price goes up. XPO doesn't go "well we shouldn't have to pay for our road damage because the stuff we deliver is requested by our customer."
From the article:

> Retail stores also use sound and music to manipulate the environment. A study from the early 1980s showed that slow-tempo music led to shoppers moving more slowly through the store and spending more money than if fast-tempo music played.

I wonder how big this sample size was. The linked study is locked behind a login. The public page indicates maybe it was only 52 stores and it was done by surveying the managers of the store. They even explicitly mention it was a "belief". Too bad the next few sentences are behind a login because it sounds like that would shed more context.

One of the local grocery stores here will play a bunch of 80s hits. They play Eye of the Tiger regularly. That song is one of the most purpose driven songs ever. If you had a mission to pick up 7 items in your list you can be sure you'll be done in record time.

I will say this though, I've absolutely stayed longer in a store because I wanted to wait until I heard a specific part of a song but that feeling is completely unrelated to buying things.
> ‘Enshittification’ is coming for absolutely everything

> Padlock icon

> Subscribe to unlock this article

This. I couldn't have written a better exemplifying summary.
Anyway, guess it's off to the depaywallification service then.
Tesla Optimus Humanoid Robot
In other words, you're spending more than half the median US household income on raising children. I think this is more a statement about your wealth than the affordability of children.
Because it's territory we gained in the War of 1812.
Very informative read. It seems that Indian workers are slowly adopting the Chinese ruthless work ethics, albeit with pushback from local unions & labor advocates. It's obvious that the western population wouldn't tolerate these working conditions, and I share that sentiment coming from a country similar to India. That being said, despite the grueling conditions, people in the developing world will still take these jobs, simply because their standard of living is so low, that even the most exploitative employment would bring about a massive improvement to their own predicaments. IMHO, reshoring would only happen if developed western countries are willing to implement protection measures like tariff on these overseas factories. Which obviously isn't gonna happen anytime soon.
It boils down to

- Labor relations (unions in Arizona pushed back agains Taiwanese workers build the factory)

- Local partners (Denso/Sony and Toyota investing in Japanese project, TSMC on its own in the US)

- Subsidies (Japan delivered on promises, US didn't)

- Ambition (12nm-28nm in Japan, 4nm in US)

It seems the US gov is not very serious about it while Japanese gov surely is. It sounds self-inflicted.

(edit: formatting)
And here we are, discovering errors!
Asynchronous clean-up is a solved problem in C++ senders & receivers.

I wonder what's so different about rust that they can't solve it in the same way.
Deploy your own, stand-alone osquery instance - it’s open source.

Airwatch/Workspace One was a terrible product even before the acquisitions. You may want to try FleetDM, an MDM product that deeply integrates osquery (an intersecting set of people are responsible for the two).
I was in the US recently as a tourist and used an Airalo eSIM. $13 got me 10GB of 5G, data only so no calls or texts, and it used both T-Mobile and Verizon. Obviously more aimed at travellers but should work in a pinch as a backup as well.
Interesting, never heart about dismal arithmetic before. Squint hard enough and it starts to look like tropical geometry. This is a different construction where you give the addition and multiplication operators in a polynomial a different meaning. I've been trying to have a better understand why this is useful. I know tropical geometry has been used to improve things like price discovery, but I never got to a better understanding as to why. I At any rate I would be curious to know what dismal arithmetic can do for me.
>>>> It's so undocumented (or rather the documentation was lacking at least a few years ago and I've not bothered checking because my workflow works for me)

Massive improvements from the days of early go. Between ease of install (Mac, Linux, haven't looked at windows in 2 ish years) and how it deals with packaging (go mod) there has been a ton of progress here.

I have not used C# in at least a decade. My knowledge is dated! (python, ruby, node, c, and rust are all much more recent). It wasnt a bad language at the time but was very MS centric. And installing it on linux is a bit more complicated than "apt install" sadly.

As someone who wrote PHP for years (and it paid me well) I would say that you should take a look at installing go "from scratch" on your local system ( https://go.dev/doc/install ) and building a few throw away tools!
What's fairly clear to me is that it's not designed to be read. At least my own, it's just too easy to end up with an almost doctor's hand writing. I refuse that on principle.

I had a similar click as you describe in starting to gain enjoyment out of handwriting, but for me was simply to get a pen that felt fluid and smooth.
> because P != NP therefore LLMs will hallucinate answers to NP-complete problems.

I haven't read the paper, but that sounds like it would only be true if the definition of "hallucinating" is giving a wrong answer, but that's not how it's commonly understood.

When people refer to LLMs hallucinating, they are indeed referring to an LLM giving a wrong (and confident) answer. However, not all wrong answers are hallucinations.

An LLM could answer "I don't know" when asked whether a certain program halts and yet you wouldn't call that hallucinating. However, it sounds like the paper authors would consider "I don't know" to be a hallucinating answer, if their argument is that LLMs can't always correctly solve an NP-complete problem. But again, I haven't read the paper.
That study was flawed by the way, it turns out that more money does increase happiness.

So 75k is more the floor not a ceiling.

All it really supports is having universal basic income.
Ailment transmitted at sea has somehow made science less impactful.
I’m still fairly new to the team, and don’t claim to represent their point of view here, but my impression is that services (like moderation services) aren’t intended to be divorced from the communities they’re serving. It’s more that they’re decoupled from the physical data placement. The relationship between users and moderation services would be many-to-many. The incentives to self-organize and to provide a valuable service for your community are still there; it’s just that the notion of belonging to a community is more fluid in itself.
>Statistical significance is relevant when you're trying to find correlations, not when you're trying to figure out whether it's worth removing a few grains to make a cup of sand lighter.

You got it backwards. It's relevant when you're trying to find correlations, precisely because it helps measure the impact of a change.

This is true whether the change is some variable change in research space searching for correlations, or real world accessment of the impact of something...

>because it's always worth doing something right, no matter how small.

This one is different argument though. This one is moral, the previous one (I responded to) was about efficacy.

But it, too, is problematic: even in moral terms, it's not "always worth doing something right, no matter how small", given opportunity cost.
That's some hallucinated nonsense.

Putin gave an "explicit warning that Russia perceived NATO's eastward expansion as a threat to its national security" as early as 2007 in his Munich speech [0]. The Russo-Ukrainian war began in 2014 with the ouster of Yanukovych, who was pro-Russia and opposed closer ties with the EU [1]. Zelensky became president in 2019 and initially promised to end the Russo-Ukranian war, but instead continued to pursue NATO protection and in August 2021 "urged NATO members to speed up Ukraine's request for membership" [2]. Russia escalated the Russo-Ukrainian war and invaded Ukraine for a second time in February 2022 [3].

[0] https://en.wikipedia.org/wiki/2007_Munich_speech_of_Vladimir...

[1] https://en.wikipedia.org/wiki/Russo-Ukrainian_War

[2] https://en.wikipedia.org/wiki/Volodymyr_Zelenskyy

[3] https://en.wikipedia.org/wiki/Russian_invasion_of_Ukraine