skysight-inc/HackerNews huggingface dataset:
> what's creating the data/request/effect

Just a function.

> where it's sending that once it's created, and then where the "drivers" would come from and how they would get invoked

Depends on entirely on how you'd do it.

You can apply the Functional Core Imperative Shell architecture, where side-effecting, stateful code (imperative shell) always calls the functional code (functional core). The shell basically handles files, db connections, HTTP/TCP, exceptions, retries etc. and basically asks the functional core of what to do by providing the data that comes out of those things.

For example there's no reason a HTTP routing library has to do IoC. It can also be structured in a way so you you give it a path and it returns you data, such as an event description, a set of questions or a command description etc.

There are also frameworks that work this way, for example the UI state management framework re-frame. It handles the side effects for you and calls your functions that you register on certain UI events. The re-frame documentation is very good at explaining this step by step.
Weird, there are two package management things called asdf. Here is the lisp one: https://asdf.common-lisp.dev/
>That has been happening throughout recorded human history, every generation thinks the generation or two after them are destroying the moral fabric of society. It wasn’t true when the ancient Greeks complained about it and it probably isn’t true today.

The Greeks and Romans suffered serious civilizational decay around the times that people were saying such things.
Is there no de-escalation mechanism? Maybe through the UN?
It was never heard after announcement. Really doubt anyone need it .
Show HN: DbDeclare – A Python declarative layer for your database
Hi HN! I made and just published v0.0.1 of DbDeclare. I use Python a lot, and interact with Postgres a lot. I like using SQLAlchemy, and I love Alembic. Those wonderful tools primarily operate on tables, though, and I often find myself writing custom code to declare what databases, roles, schemas, privileges, etc. I want, and I have a hard time updating them reliably and in a repeatable fashion.

That's where DbDeclare aims to help: declare what you want in your cluster (in addition to SQLAlchemy-defined tables and columns) in-code, alongside your tables. There is a lot this can't do yet (thus the v0.0.1), but I think there's a decent foundation here to build on and eventually have really nice features like autogenerating change statements between your in-code definition and what is actually in your database cluster (like Alembic).

This is also my first attempt at building an open-source project, so I'm sure there are plenty of mistakes. Please feel free to provide feedback, I'd love to make it better.

For what it's worth, I'm aware that you can do some of this at the infrastructure-as-code layer using a tool like Terraform/Pulumi. My personal preference is to have all this sit closer to my tables rather than my infrastructure, so here we are.

Anyway, let me know what y'all think. Thanks!
Inevitable != immune to criticism
Threat to designate clear sunny days, ie no cloud.
Telling people not to run due to a misconception about perceived harm is much more harmful than the risk of a serious knee injury from running.
My opinion is entirely opposite - we need conversational AI for exploring the multitude of possibilities and identify what works, what doesn't work, what is/isn't useful given the obvious limitations on accuracy, truthfulness and interpretability; but once we can identify a specific narrow use case then we can fine-tune a ML system for that isn't conversational but is able to provide better results with whatever domain-specific structure is required (linking to specific sources, including external structured data, providing certainty metrics, filtering results according to domain-specific criteria instead of the conversational political correctness filters which fail some domains, treatment info which was correct but has become outdated, etc, etc) that can be done better in non-conversational systems.
"Discrete simulations" are things like turn-based strategy games, roguelikes, and so on. You can think of it as "automated board games" in a lot of ways.

https://en.wikipedia.org/wiki/Discrete-event_simulation

In truth, I think V8 is almost certainly more than fast enough for real-time games (real-time in the gaming sense, not in the OS sense); Mono is fast enough for Unity, even, and Mono is creaky and slow, with a really poor garbage collector, on its best day. But for the stuff I'm interested in, I just don't care at all.
I saw on Hardware Unboxed that the non-X3D cores were being used for Factorio and that reviewer manually disabled it to test correctly.
The fucking entitlement to call someone not a team-player for going home to sleep.
The article is about creating a potential successor to C++ in the same way JavaScript lead to TypeScript, or Java lead to Kotlin, or C lead to C++, and in giving those examples immediately undermining its own thought because none of those replaced the thing they came out of. Heck looking at whose still writing new code bases in what, C++ didn't even replace C, and Swift didn't replace Objective C. C++ and Switft just became "more dominant".

So based on the article's own observation: no, of course not. The more interesting question is "will it stand on its own?" to which the answer is "only if it actually solves so many problems with the thing it's trying to supplant that it makes sense to give it a serious try".

And C++ just... doesn't have that many real problems. It has a lot of irks, but the problems people run into are problems that others already solved, a thousand times, over the last half century, in many different ways for many different iterations of the language.

Pretending you can replace C++ is like pretending you can replace cars. Not just "create EVs" but straight up replace cars. Good luck, you won't succeed if that's your goal, so hopefully you realise you need to focus on making a decent language that some folks might consider using instead of C++ for some of their work, instead of creating "the successor to C++".
And I wouldn't want to work for someone who thinks not wanting to sleep in the office was an entitlement.
>And they wonder why the birth rate is in the ditch. Stressed creatures in captivity do not reproduce.

This seems reasonable, but I wonder why we are so much more stressed in modern first world countries than in places and times where they have had "real" problems, like figuring out how to source potable water or how to not get shot or bombed in a war-torn country. It's usually the case that the harder it is to survive an environment, the more people seem to reproduce, and birth rates go down after most citizens' well-being is secured, which would seem to run counter to the idea that stress lowers birth rates.
We nationalized the passenger services that were losing money, that’s why the railroads wanted to get rid of them.

Most of Amtrak’s service runs on track they don’t own, at the mercy of the freight railroads for scheduling and track maintenance.

They are pressured to keep their long distance trains that lose money as a public good, but they aren’t given consistent public funding in return. We treat them as a company that should turn it own profit. We don’t expect the DOT to turn a profit on highways, because we recognize the greater economic impact of having useful highways.

The Northeast Corridor is the exception and notably seems to be the best performing part of the Amtrak network.

Seems to me like the standard American public-private practice of privatizing the gains and socializing the losses, and then complaining about how the government loses money.
> a clear and immediate impact within the organization

This reminded me of those Microsoft Viva emails I keep getting. Anyone finding those useful for anything at all?

To me it seems like a solution in search of a problem.
This extension removes paywalls on many news sites (maintained, 33k stars) https://github.com/iamadamdev/bypass-paywalls-chrome
> on the RSTS/E PDP 11/70

Now that is some dream machine... Hardware has become so standardized and dull with x86 and ARM "cattle" boxes running Windows or Linux, there's hardly any pleasure or emotional attachment to the hardware anymore. I own a PiDP-11 but that doesn't cut it.
Agile Value: Individuals and interactions over processes and tools

DIB Mapping: “Competence trumps process”

This makes sense to me, that said: how do you commodify competence? I'm thinking about the teams I've worked with that do agile but wind up writing an objectively difficult-to-maintain codebase because they lack competency in anything that resembles best practices. I will commend the teams for shipping large products and doing agile though.
Hum... Almost all of the problems of serialization/deserialization in statically typed languages turn into testing problems in dynamically typed languages.

That's not a gain in any way.
Given that $250k would be a $30k per year pay increase with half the hours of work, probably the latter.
The core hypothesis is that for a replacement language to be successful, it cannot only be great for new projects. Besides building on and extending tooling already in wide usage, you want the successor language to interplay elegantly with existing code, affording things like gradual replacement. Of course, that also means that you’re making less of a leap, but considering the vast landscape of active C++ code based, I would put my money behind this successor language argument.
Quantum chromodynamics may be a "great" model, but it's horrible to try to actually calculate with on the scale of a neutron star.
The X3D chips do at least have a reduced TDP of 120W vs 170W (except for the 7800X3D vs the confusingly comparable 7700X's 105W). The other thing is that, at least in DIY PC (and botique builders like CyberPower) the "gaming" motherboards universally increase the maximum peak power target and also commonly enable things like all core turbo and precision boost overdrive by default. So unless they specify otherwise, like AnandTech I think, you can assume most reviewers will be running the CPU with more power than the spec but that's a common situation for their audience.
> In any case, do not act guilty. Act like what you're doing is perfectly normal and legal.

Solid advice for all aspects of life.
> - what have i forgot?

Electrical insulation is a pretty big use case. Both rubber and paper breaks down in some really unfortunate ways, ceramics are great but aren't really viable if you want to make a cable or wire. Laquer isn't really up for the job either.
Even if that were true, and I don't think it is, there are millions of jobs that are subsidized with public money and the public has no meaningful choice in them. Think defense contractors, public sector consultants, etc.
I am loving my Steam Deck. I use it way more than I thought I would (it's a godsend if you want to play games but a wife + toddler prefer you don't hide in your office for hours on end).

I would HAPPILY spend money on a more premium version that had a better screen and hopefully a bit more RAM.
Chinese researchers propose “measures to deal with Starlink”
With reference to this study: https://www.zhkzyfz.cn/CN/10.3969/j.issn.1673-3819.2023.01.0...
Great advice except for point 5.

Carbs are fantastic, eat them.
Traditions of Exemplary Women
Ticket for Coffee Shop Frustration: Ordering Black Coffee
This is cool, LMK if / when you're hiring.
I don’t see any mention of model parallel in GP post. How could you possibly use DDP to enable it?
Did it have the same security problem?
I dunno about that. I've been sneaking type hints into my code bit by bit, so is my program polyglot then? :D

The author means that in the sense of there being two distinct camps in the Python community, but using type hints is not exclusive in any way.
I had a job like that once and I had to bail. It was essentially free money but I could barely make myself get up in the morning. I despise busy work, and if I am spending time making things that nobody is using then busy work is exactly what it is. Either give me something useful to do or give me the day off.
I Cold Plunged Every Day for a Month–Here’s What I Learned
No.

Carbon is an experiment to solve Google's challenges with C++, which look very different to, say, the challenges of the games industry or those of embedded software development. C++ is widely used enough that it would take decades of sustained development specifically targeting replacing it across all the areas it is used to make a dent.
Framing the comparison as cost-per-passenger-mile is unfair to Amtrak, though. Amtrak on the NE corridor enables many trips between nearby cities in ranges of tens of miles that are too short for an airline to serve. Using passenger-miles as the denominator misframes Amtrak's strength as a downside. Amtrak is serving a very useful service there in displacing those trips from cars or buses.

It's true that Amtrak isn't all that useful beyond the NE corridor, although that's as much a function of the scale of the US as of Amtrak itself.
> This gene change might mean you have higher cholesterol as well.

I have C/C in 23andme like gp and experience same caffeine effects. I have high cholesterol despite being active, fit and good diet.

Would you know of any literature that might explain this in more layman terms. I had hard time reading the link you mentioned.
Pydantic will do that for Python.
Appreciate the honesty and transparency but sadly VC isn't chasing the profits from being a cloud- or app-server-provider. Looking at the profiles of the VCs which participated in funding rounds, most of them are exit-oriented. A16z's portfolio proudly opens with "exits". Intel Capital is also very proud of their ~50% IPO or acquisition stat. Hopefully you can work on Fly forever but history has learned that probably won't be the case - and that's not judgemental.
There is nothing to replace here. You should only start a new project in C++ if you absolutely have to, and if you really have to, perhaps due to legacy code, then complicating your smoldering dumpsterfire of a build system even more with this stuff is masochistic at best. Meanwhile, that dumpsterfire will burn on for maybe a century and people will have to keep "learning" C++. The only way to make this situation less painful is to finally stop trying to incorporate into C++ every new language that comes out.
Is it really that common to be bought by private equity to see it as an ever present threat?
Let's google quickly.

https://www.voanews.com/a/science-health_us-among-top-contri...

"The U.S. generated a staggering 42 million metric tons of plastic waste in 2016 — more than any other country in the world, according to the analysis.

Up to 2.2 million metric tons of this waste ended up in the ocean."

So, 5.2%. Is that "much" of the stated 94% that isn't recycled?

Plastic directly released to the ocean in the US (as opposed to US plastic shipped overseas, then released to the ocean) is estimated at < 0.01 kg/capita (2019). That looks low, maybe too low; it's three orders of magnitude below that other estimate.

https://ourworldindata.org/plastic-pollution
> Perhaps a better theory is that the people who built the houses weren't deconditioned as they didn't live a sedentary lifestyle?

Not sure how that's a better theory. Why wouldn't a stronger carrier also benefit from a tumpline method? You're thinking maybe they were so strong they just carried it in their hands, or over their shoulders?
Depends on what you mean by flexible. If you want to use them outside of loops then they could cause magic data copies behind the hood. Zig really hates hidden control flow/allocations/copies. Within the for syntax it's pretty straightforward what gets assigned to what variables and how copies can be avoided.

Doing things like `a = @zip(some_list, some_other_list)` can be reasoned about in multiple ways, some of which involve silently calling malloc. It's particularly unclear what could be done with `a` afterwards. Zig hates that kind of ambiguity and is happy to err away from flexibility at times.
Most of data work is just middle management paperwork at the end of the day.

The incremental value of the nth dashboard, nth model, nth analysis is decayed very quickly. What's worse is the demand side for "data stuff" is largely driven by ad spend and companies trying to get alpha on beating ad spend. So you have all this venture money getting burned up by ads, then burned up by all the headcount and compute of "data teams" trying to beat ads.

Some people in the thread have pointed out that this is like UBI.

I think it's actually more socially reckless and far more sinister than UBI. Given that VC funds are largely pension funds, essentially the pooled money of the middle class is what is subsidizing $200k+ salary analytics engineers, data scientists, as well as the $200k+ "influencers" selling stuff to the data engineers and scientists and analytics engineers and whatever other invented titles VC comes up with to get 2% management fees off laundering this pension fund money and university endowments into Snowflake credits so that to make "insights" can be made for middle management.

I write about these things here and there.

https://medium.com/p/bfd4b4e33ac7

I also did a podcast recently where we covered how pension money goes to Sequoia and how that resulted in a Reverse ETL vendor sending me a panini press bribe and how panini press GTM tactics are unlikely to result in returns back to grandma's pension funds. You might be putting grandma on the street by participating in this whole charade.

https://www.youtube.com/watch?v=yInWs4NUs0E&t=233s

It's too much nonsense in the data world. It's enough to make you completely insane.
It's a good check against your own organization. Back in the old days there was the so called "Joel test" to measure if your organization practices modern development standards. Agile is a good successor to this test. You'd be surprised how many aren't doing agile yet still call it because everyone does or actually have their understanding of agile derived from every imaginable anti-pattern. I know that many here don't like certifications but they show me at least that the person has been engaged with the material.
ChatGPT Outage
Running is a highly repetitive task and it will amplify any biomechanical issues you have.

In the first phase of my running career, I used to struggle with achilles tendon problems, nothing any shoe or podiatrist or orthopedist was able to properly diagnose or fix.

Eventually I saw a PT. The PT clued me in that I had a weak core and bad biomechanics. To use an analogy: I was like a car with an out of alignment suspension. And I had been trying to fix it by changing the tires. When what I needed to do was fix the suspension. The suspension is everything above your feet, but in particular your hips and core. And mine were in terrible shape from years of sitting before I started running in my late twenties.

So I had to re-invent myself as a runner.

Originally I started with the exercises the PT gave me for my hips and core. I got rid of my motion-control shoes and my prescription orthopedic inserts. I switched to just a basic cushioned shoe. Shoes are like unsprung mass on a vehicle. I didn't want any more weight on my feet than I absolutely needed, especially since I wear size 11-12 shoes.

I started to pay attention to and work on my form. I found the PT exercises boring so I ended up joining a Crossfit gym for a couple years which worked for me, but I don't recommend Crossfit as generic advice since Crossfit gym and coach quality varies widely. But it worked for me.

With my form and strength in better shape, it enabled me to start putting in more mileage. Whereas previously I couldn't run more than 35 miles/week w/o risking injury, I was now able to comfortably run 65-75 miles/week. That allowed me to take on the types of training routines that I needed to achieve some of my time and distance goals.

Now, I know some folks who never cross train and don't get injured and maybe they just naturally have good form.

But for me it was something I had to work at. And the best kind of professional I know for advising you on this is a PT who is themselves a runner and works with runners.

The image I keep in mind when I'm thinking about running form is Mo Farah's:

https://www3.pictures.zimbio.com/gi/14th+IAAF+World+Athletic...

https://www.youtube.com/watch?v=uxf1gEkm_EE

Here's some of the exercises he does to have and maintain that form:

https://www.youtube.com/watch?v=Zx2i6TKMi1A

And for comparison, here's Ed Whitlock in his 80s:

https://mindmotionmatter.files.wordpress.com/2011/09/ed-runn...
I'd rather have that flavour of democracy than the one that voted someone like Trump into power. Hell, he's still managing to wreak havoc over there even post-potus.
Wow, sounds good! I followed you on twitter, so let's stay in touch!
> A blogger wrote a meticulous analysis attacking several details in the book, but probably more nitpicking than actually demolishing its main thesis.

The takedown gets nitpicky certainly, but the first sections are very much targeting the main thesis of the book, which is that people are not getting enough sleep and that this lack of sleep is causing significant harm. Walker makes claims about the effect of sleep on lifespan and risk of disease that are completely unsupported, and in some cases even contradicted by the sources he provides.

You're right that it's groupthink, but it's also basic economy of attention. If the most basic of scrutiny of the opening chapter reveals sweeping unsupported claims, contradictions, and apparent outright fabrications I don't think it's unreasonable to disregard the author as a charlatan, if only because no one has infinite time to dig down to the foundations of every piece of pop-sci in the world.
The hardest lesson I’ve learned in turning a programming hobby into a programming career is the following:

The vast majority of truly impactful code is really boring at a technical level.

So, yes, that’s sometimes why people write frameworks: to get some excitement in their code.
That was the point I was drawing in the comparison between agrarian and industrialized societies.
> free pass

The whole point was that they don't have a free pass.

> went to people actually born here

Something, something a nation of immigrants.
So how do you pay your rent? Most of us aren't working for others because we like it.
The main selling point of Carbon is direct C++ interop, which is extremely rare and makes Carbon unique.
You'll notice that the ones they feature most are IPOs. Which isn't the same as getting acquired. I'm not opposed to an IPO, I am opposed to get subsumed by a larger company.
Show HN: Go Bindings for Roc Toolkit
Here's the list of publications from the DIB:

https://innovation.defense.gov/Recommendations/

And here's the final version:

https://media.defense.gov/2019/May/02/2002127286/-1/-1/0/DIB...
Yes, the issue is free speech. That right doesn’t give you the right to commit crimes like fraud. Nobody who self describes or is described as a free speech absolutist believes in decriminalizing fraud, sedition, perjury, etc. It means, as it’s colloquially used, someone who doesn’t believe in restricting speech in absence of one of those crimes. Our forefathers arguably fall into that group. It is literally the #1 amendment. They were Protestants. This was a, perhaps thee, defining issue for America.
Well this is amazing and I love it. Very happy to see such a serious project on itch.io : )
GPT 3.5 is definitely not comparable to Palm. You can see some benchmarks here. https://crfm.stanford.edu/helm/latest/?group=core_scenarios
For example, text-davinci-3 is 56.9 on MMLU, Flan-Palm is 75.
https://arxiv.org/abs/2210.11416