skysight-inc/HackerNews huggingface dataset:
Nobody says you have to have a single enum type containing all the combinations.

No, no one would continue up to 2^16 and the code would get unmanageable long before that. But it's illustration of the problems starting out dealing with the invalid states of two variables using an enum because what happens when more and more variables arrive? Sure, the standard answer is "just refactor" but my experience is no client or boss wants to hear "adding this small state is going require a lot of change" and a trickle of binary conditions is a very common occurrence as is code expanding to handle these (and become excessively complicated).

Chances are, you can use sum types (discriminated unions) to factor things nicely if you think about them.

Maybe you have a good chance of combining these binary conditions in a good way. But I mention you've substituted a hard problem instance (factoring binary conditions) for an easy problem instance (checking binary conditions). Functional programming has a weird dual personality where on the one hand you hear "A functional programmer is always a smarty and solve hard problems as a matter of course" but also you hear "functional programming would be the dominant paradigm if only ... we taught people young so they wouldn't have their bad procedural habits"
It was meant more as an observation than my opinion. I would pick Go over Java/C# any day of the week, but it’s not like talented JVM engineers won’t run in circles around you as far as performance goes.

I’d frankly pick Python for most things though. It’s a terrible language, everyone knows it’s terrible but it gets things done and everyone can work with it. I view performance issues a little different than most people though. To me hitting the wall where you can no longer “make do” with C/Zig replacements of Python bottlenecks means you’ve made it. The vast majority of software projects will never be successful enough to get there.
Individuals who voted for Trump don’t necessarily want to throw away a social contract. Many of them do support societal norms, albeit different ones. And some don’t even think in these terms; they are more motivated by other factors.

Along with many, I think their collective actions point in a direction that (a) undermines democratic rule and (b) enables Trump’s corruption, but they seem to be relatively unaware or disagree with such effects.

Many of them think Trump will combat one some types of corruption (the “deep state”).

Overall, I’m more inclined to think many/most Trump supporters have reasonable core values, especially at the individual and family levels, but due to their information sources and mental processing, their overall choices don’t bode well for us, together. The biggest breakdown I think has to do with epistemic values: how does one find truth.

I don’t think most people, of any party, have the individual ability and discipline to make sense of a modern world in a rational, scientific manner. This isn’t something easily achieved, after all.

About me: I strive to not “blame” individuals in the traditional sense, because I reject free will as a meaningful concept. (Roll back the clock and a person will the behave the same in a deterministic universe. And if the universe has intrinsic randomness, we can’t ascribe free will to that randomness.)

So instead of blaming individuals, I focus on systems and their statistical effects.
I'd imagine mostly to the productivity of the sloppers. Considering this looks like a Windows Office-wide default opt-in, I feel you'd have difficulty hitting 1% userbase.
it could help things like tracking taint which is actually very effective against exploits... it does depend on how they use the cores ofc and the statement like that is super unclear. also the '100 times less hackable' seems super arbitrary...

say some attempt to exploit corrupts some value somewhere, another core could validate its become corrupted or unexpected.

there was a guy who implemented this on qemu (minemu i think). taint tracking that is. that was super effective at stopping really reliable exploits 100% of the time.

ofcourse, thats just my guesswork, and i am clueless how this chip would actually work... :)
>> There’s little doubt that racism played a role in identifying children as gifted even though the label was based on supposedly objective criteria

> Why has the LA Times settled on racist teachers as the only reason…

Notice how the extracted quote (and the article itself) never actually accuses teachers of racism? The accusation only appears in your complaint.

Systemic racism can exist without overt individual racism.

Likewise, the article explicitly leaves open the possibility of other causes by simply assigning racism to “a role in” rather than to, as you claim, “the only reason”.

Your complaint (with false accusations) is, without further explanation, simply manufactured outrage.
> Or by disrupting the rest of the class.

Kids that are struggling in class can be just as disruptive.

> Gifted kids in a single stream classroom need to learn to play dumb or become a social pariah.

Aka learn to function in society?

Here's my story from the other side. I have one gifted child and one child with dyslexia, but doesn't qualify for special education. My school district has a gifted program that is a whole separate school, but they have a handful of specialists to help kids struggling to read. They are shared across the grades and hard to get assigned. One of them has to actually be paid for by the PTSA since the district won't pay for it. That's messed up.
Imagine a case where you have 4 options. W, X, Y, Z.

Y and Z are mutually exclusive.

X can only be set if W is set.

If Y is set then X must be set.

Going down this road you end up encoding your business logic into your datatypes. Which is good to a degree, but makes things messy when new options are added or requirements change. Imagine a new option U is introduced that is only valid when W is unset and Z is set but allows X to be set. Your interface becomes very hard to manage with even a small amount of complexity added to the options.
> ... snipped their cash in half ...

Actually, they snipped their cash in two, not in half.

This is one of several afflictions that lurk in modern language, ignored by nearly all. Another is the use of phrases like "similar effect to ..." where "effect similar to ..." is the correct form. Notwithstanding how it grates on one's ear, this second egregious malaprop seems to be the preferred form.

Oh, well. Since print is today either dead or dying, largely replaced by chatbot-generated prose, this kind of complaint might be likened to critical assessment of a cave drawing.
Warp is great - I use it as my daily terminal. The best features are being able to edit commands, chunking the output into blocks and AI generated commands at your fingertips.
"Don't have to be unique" is very different than "actively trying to copy".
Weird pattern, that posts with titles like that seem to surface around Thanksgiving.

Russian? Chinese?
thank you! I updated the post and it should be fixed now!
My daily driver for a few months now, even after trying Rio/Ghostty/Wezterm...
Favorite feature is the notification when a long running command has finished. I wish I could hook any command there...
As a young child I was filled with hope, and some other mixed feelings, as it was anouced that the lunar astronoghts would be testing to see if the moon was made of blue cheese.My hope was that this would be brought back to feed all of the hungry people, but as I didnt want any myself, I had mixed feeling of not sharing
there lot.And was quite disapointed to hear the anouncement from the moon, that it was not in fact made of blue cheese.
No one is going to be disapointed if the
astroslime cakes dont work out.
Relevant: https://github.com/awslabs/git-remote-s3#readme https://news.ycombinator.com/item?id=41887004
It's good you asked, but I'm not ready to answer it in a useful way. It depends entirely on your use cases.

Some un-nuanced observations as starting points:

- Helm sucks, but so does Kustomize

- Cluster networking and security is annoying to set up

- Observability is awkward. Some things aren't exposed as cluster metrics/events, so you need to look at, say, service and pod state. It's not easy to see, e.g. how many times your app OOMed in the last hour.

- There's a lot of complexity you can avoid for a while, but eventually some "simple" use case will only be solvable that way, and now you're doing service meshes.

Maybe "wrong" is the wrong word, but there are spots that feel overkill, and spots that feel immature.
thank you for checking it out! what sorts of experiences have you had with agents so far?
One thing this article does is assume extreme functional mindset, I dont even think OOP enters into the authors mind- With that context, I think that statement isn't about object constructors but type constructors.
> Islam is responsible for the foundations of algebra

I don't think that's true. Algebra has history that goes way back to Babylonian times, long before Islam.

From https://en.wikipedia.org/wiki/History_of_algebra

> The origins of algebra can be traced to the ancient Babylonians,[6] who developed a positional number system that greatly aided them in solving their rhetorical algebraic equations. The Babylonians were not interested in exact solutions, but rather approximations, and so they would commonly use linear interpolation to approximate intermediate values.[7] One of the most famous tablets is the Plimpton 322 tablet, created around 1900–1600 BC, which gives a table of Pythagorean triples and represents some of the most advanced mathematics prior to Greek mathematics.[8]

Islam is much more recent than that. From https://en.wikipedia.org/wiki/Islam#History

> Muhammad and the beginning of Islam (570–632)
thanks dude!
yep, that is because of cloud. i hate it, with a passion. and am never going to touch it ever again. BUT you also have to keep in mind that when you were a junior, there were no large websites like facebook or youtube and whatnot, like there are today. and these beasts simply have way different requirements. and it is not only about being the top dog. but even a corporate website of a larger company these days simply needs computational power/infrastructure to serve the whole world these days. so it's not like there is a single thing we can blame here. the dev and ops have been merged and there is no longer a distinction. you have to write code with distributed computation, db,... in mind these days. which means you need to think about all those things that are outside of the business domain.
> It's doubling as a proxy measure for the socioeconomic disadvantage the students have experienced up to that point.

A socioeconomic disadvantage which in the case of California - and almost certainly elsewhere - is caused in significant part by historical racist policies (i.e. redlining).
There's a lot of strong words thrown around regarding this topic. You need a little of both. Consider a re-framing:

Rather than trying to focus on the less-achieving third (half, tenth, etc) with the goal of bootstrapping entire groups (for your definition) via equality of outcome, it would make sense to put into place opportunities for gifted students and high achievers without regard for where they live or come from.

It would also make sense to put aside some extra resources for those we know can achieve but are held back by specifically addressable hurdles like money or parents or etc.

If you only focus on churning out the most A-students possible without attempting to help those up to the level they can achieve, you end up with a serious nepotism / generational wealth issue where opportunities are hoarded by a different class of not-gonna-pay-it-back'ers. Legacy admissions, etc.

There are some who immediately consider this socialism, but I think it fits squarely in the definition of equality of opportunity.
My claim is backed by years of direct experience with C, C++, Java, Go, Scala, PHP, and Python. I can tell you that Scala has been the easiest to write, read, and review by far. I'm not sure why you'd expect "easier to read and review" to be metrizable. Nor do I see the connection between those things and wide use, tooling, or searchability. If you need to search something to understand what you're reading, I suppose that itself is a measure of that code being difficult to understand (i.e. it does not stand on its own).

> I've not seen this play out on a codebase of nontrivial size.

I have :shrug:. There's currently this discussion[0] about some functional design principles on the front page. Things like making illegal states unrepresentable mean that you just don't have to think at all about various would-be error paths (again, making it easier to write, easier to read, and easier to review), and while Scala doesn't automatically give you such a design, it at least makes it possible (unlike e.g. Go). You just need a good lead to guide people's design.

In fact "make illegal states unrepresentable" is perhaps just one facet of a more general observation that if you accurately model your domain, the code basically writes itself. IME Scala's type system hits a sweet spot of giving you the ability to model what you need without forcing you to model concerns you don't want to care about (e.g. Rust's lifetimes).

Demand for what? Why would there be intrinsic demand for Scala programmers? Why isn't there a similar premium for Perl or COBOL programmers? It's not like Javascript or C/C++/Rust where you have limited options of what languages can be used in some domain (browsers, embedded, etc.). It's a high level application language, which is a space with tons of other languages.

One possible contribution is that it has features that more experienced engineers can appreciate (like a compiler that helps prevent basic errors and a good concurrency story and workable macros so that you can focus on teaching your team domain context instead of looking for errors with nil references or locks or whatever or poring over tons of boilerplate. Performance is also good enough that you probably don't need to worry about e.g. horizontal scaling), so you may tend to see them wanting to use it more.

e.g. I did a few years of PHP (Laravel) work. You won't ever find me taking a PHP job again; I've had enough of it for one lifetime and don't need that kind of stress. My understanding is Ruby/Rails are similar, so again I just wouldn't consider a Rails job. I'd probably prefer working with Scala, C++, or maybe Rust, so you're more likely to find me in a "Scala programmer" statistic and won't find me in a "PHP programmer" statistic, but that's not really why I cost more. I expect more money than your average developer because I have more experience than your average developer and I've been in tech lead roles for a while now.

[0] https://news.ycombinator.com/item?id=42244851
Coincidentally, "functional core, imperative shell" is how most companies get to adopt F# from what I was told (and had seen). It integrates really well. C# itself is a proper multi-paradigm language nowadays, and so is also quite successful at employing functional constructs.
You are totally over romanticizing institutional learning. It’s worth abolishing and starting over.
The author links to a Teach For America article as evidence of the "removing gifted programs in the name of equity" trend. That article in turn references 2 gifted programs potentially being suspended in Boston and Anchorage, one temporarily for a year due to administrative constraints and one due to budget cuts.

Why does the author claim this is a broad trend with social justice and equity goals at its heart when that isn't what the evidence provided suggests? (Imo: clickbait.)
Show HN: Yardi SDK for Python (property management software)
I just published this Yardi SDK to help users interact with Yardi APIs.

Backstory: I work at a property investment company and we use multiple Yardi accounts for our properties. I use Yardi APIs to collate data across our portfolio and make reports and run analytics.

Motivation: Yardi uses legacy/enterprise SOAP endpoints which are complicated to deal with. You need to make XML envelopes and documents for each request and interpolate your parameters. I found this very annoying and it was hard to quickly try out different endpoints.

Features: The main thing I wanted was IntelliSense so that I could get see an endpoint's required parameters and get tab completion as well. I used the zeep package under the hood to create all endpoints as classes, built from the Yardi WSDLs ("documentation" for XML-based APIs).

I welcome all feedback and questions.
https://www.fda.gov/industry/import-basics/personal-importat...

No, you are not allowed to travel there and take it home, but often the border guards look the other way

“ In most circumstances, it is illegal for individuals to import drugs or devices into the U.S. for personal use because these products purchased from other countries often have not been approved by the FDA for use and sale in the U.S.”
> Additionally, much of the fear of running out of electricity has been instilled by the oil and car lobby. The problem is hugely inflated over the actual experience of driving an EV in reality.

True, but i want to still be able to use my car when shit hits the fan, like in a storm or even in a war, there were photos of teslas left out in the cold in ukraine.

While with an ICE car all you need is just a gallon of gas.

> And in terms of finickiness, there are SO many ways an ICE can break, so many replacement parts, maintenance requirements, and complexity compared to an electric engine. You’re just used to those in ICEs.

The difference is for EVs they are finicky to use, while ICE vehicles are finicky mechanically, which doesn't seem to be an issue in day to day driving.
For context, that article is focused on the Americas since it is an American History institute. Those stats aren't even including the 1500 years of Arab and Ottoman trade of African slaves.
> maybe the whole project should have been scrapped at the planning phase.

This is an argument made by one of the Dostoevsky characters, a famous "tear of a child" argument.

[1] https://en.wikipedia.org/wiki/Fyodor_Dostoevsky

"Their first child, Sofya, had been conceived in Baden-Baden, and was born in Geneva on 5 March 1868. The baby died of pneumonia three months later, and Anna recalled how Dostoevsky "wept and sobbed like a woman in despair"."

So Dostoevsky suffered the pain of losing a child.

Despite that, an argument about "tear of child" was put into antagonist's mouth.
Help them learn to the full extent of their ability, at the full pace they can learn. There are many different paths that could achieve that successfully, but it's well-established that "have a uniform class grouped by age and punish anyone who stands out" is not a path to success.
Sadly it might be even worse, when the only thing you're doing is connecting SaaS products with Web APIs via some low code tool.

Which is quite trendy on enterprise consulting nowadays.

Bizztalk and BPEL were ahead of modern times, apparently replacing XML with REST/JSON made them cool.
What do you refer to? I send all my kids to private schools are there anti-private mandates in some places?
Chained to our legs, making every step harder. And you're a bigot if you refuse additional chains.
Agile is dead long live (fr)agile.
Scaling out your Kubernetes pods with the Watermark Pod Autoscaler
the purpose of agile was to align the most requested feature work to the most expensive pay cycles. the purpose of devops was to get two for the price of one. everything else has been content marketing or people parroting whatever they thought would get them a raise.
This comment section is going to be a sh*tshow, but I think I agree with the author's central contention that the issue is one of lax definition, and a failure to prevent dilution of that definition by pushy parents. The racism aspect is a chicken-or-egg situation; whether such programs started as a way to allow engaged, mostly white parents to track and separate their kids from students of color, or merely became that, is probably a matter that varies by location, but the tensions that such a state conjures are clearly a major component of the initiative's undoing.

It once again comes down to us not being able to have nice things until that racial hysteria is resolved - minority parents assured that their children aren't being mistreated because of conscious and unconscious perceptions on the part of the school, white and affluent Asian parents assured that their children aren't going to receive a subpar education just because their child's class is double-digits percentage black/brown - and, perhaps more broadly, there is a decoupling of elite educational attainment and basic economic stability. Suffice it to say that anyone telling you that the only problem is that schools are Harrison Bergeroning their little prodigies either aren't acknowledging the whole story or are hoping that you don't know it yourself.
Objective metrics are very hard. I expanded my comment above to explain why.

And to your point, these things are glacial. As they should be.

Finally, I will point out this dynamic is "signed" in the sense of say benefit of the doubt as opposed to a direct punitive action. Call the latter a negative and the former a positive.

Opportunity costs are another way to think about all this.

We do not have a perfect history to draw from. There goes your objective metric right there.

We do have assessments and expectations that may or may not align, or be met, and those are how I generally evaluate these things.

Be secure in your skepticism! I am of my own.

The major impact may well be a shift in basic trust, changes in expectations.

Things like the petrodollar seeing change and or there being alternatives really matter! A
Schools have a lot of local autonomy and are among the easiest institutions to influence, for non-rich citizens. Getting your local schools to include more coverage of rights when encountering the police in the curriculum is among the easiest outcomes to pursue as far as changing what “the government” is doing.

… if enough other people in your local community agree with you.
Startup owner using AI with this need - needless to say, a real problem. I've considered DIYing an internal service for this - even if we went with you we'd probably have an intern do a quick and dirty copy, which I rarely advocate for if I can offload to SAAS. I'm sure you've put a fair bit of work into this that goes well beyond the human interaction loop, but that's really all we need. Your entry price is steep (I'm afraid to ask what an enterprise use-case looks like) and this isn't complicated to make. We don't need to productize or have all the bells and whistles - just human interaction occasionally. Any amount of competition would wipe out your pricing, so no I would not want to pay for this.
Then you have not worked on complicated systems.
This is technically correct but disingenuous. This reminds of the climate change comic where a scientist asks “What if climate change is a big hoax and we create a better world god nothing?”
You mean interest rates don't necessarily control inflation?
Training Open Instruction-Following Language Models
Getting rid of a test that measures effects from redlining does nothing to eliminate the effects of redlining.
Just like arc web browser i think this is the worst business model
Thanks. Should've spelled that out in the first place.

Too used to kicking around with people where it's a basically standard term (not always one used *positively* depending on which group of people, but I forgot it's not always clear).