skysight-inc/HackerNews huggingface dataset:
I use xstate for all my ui state. I'm convinced that state machines + actors is the best way of modeling and building application state management. Going into any project and having this clear system for modeling any form of application state is extremely liberating. The problem with xstate and state machines is that the patterns are not well known yet. For example, one thing xstate encourages is creating different states for when a request is being made which is not scalable ime. Instead i think it's better to spawn a completely different actor that handles the request and then sends a message back on success or failure.
I wonder how much the inability of Congress to pass a real budget is at play here- the continuing resolutions that have kept the government limping along are severely restricted in what they can fund.
Like Star Trek's Synthohol ?
The lack of modern technology is an advantage, not a disadvantage.

It is harder to start any democratic revolution against authoritarianism now than in the past. The modern information age makes it harder, not easier. To search someone's papers, you used to have to get police officers to physically enter their home and break their locks, in front of all their neighbors.

You used to need to enlist 5-10 people to spy on a single potential dissident 24/7, and that surveillance is easier to detect. To effectively spy on a population, you used to need to enlist 10-30% of the population to spy on their neighbors and filter reports.

To get the people's attention, you didn't have to get your message through a chaotic attention economy powered by the platforms that filter the information overload. There was literally a public square where you could reach your audience by handing out hand produced pamphlets.
> Native compilation: Erlang works well for control systems. It's absolutely subpar for anything requiring compute performance or I/O. This means you may find yourself in a sticky position if your backend app has hotspots needing very low-latency, high-performant logic. You may have to write bits in C or some other natively compiled language.

This is mostly accurate, but I think Erlang is a good fit for network I/O, especially network I/O with lots of concurrent clients.

> Friction: Erlang is hardly used anywhere. It is sufficiently weird (functional, Prolog syntax, immutable, the process model, antique tooling, not to mention OTP itself) that it's not just something most developers are going to pick up in a day.

At my Erlang job, almost nobody we hired had Erlang experience. It certainly took longer than a day, but IIRC, my first big Erlang server stuff deployed (and mostly worked) a month in, and I was focusing on a PHP service. I probably did some minor stuff earlier, but I no longer have changelogs to reference.

Yeah, some of the OTP philosophy takes a while to understand. As for antique tooling, we just used Make, and that's what I continue to use for my Erlang projects, and well Make is Make... once you learn it, it works. Figuring out how to get dist running and pop debug shells when and where you need them is work, but if you're dropped into a place that already has that, you don't need to figure it out yourself, either.
> Go already has that. However, what are the advantages of rescheduling an already running coroutine on a different machine?

Say your coroutine is performing a transactional operation with multiple steps, but for some reason the second step starts getting rate limits from an upstream API, you need to enter a retry loop to reschedule the operation a bit later. What if your program stops then? Without capturing the state somewhere, it remains volatile in memory and the operation would be lost when the program stops.

This scenario occurs in a wide range of systems, from simple async jobs for email delivery to complex workflows with fan-out and fan-in.

> Isn't it expensive to serialize coroutines and transfer them between machines?

We only capture the local scope of the call stack, so the amount of data that we need to record is pretty small and stays in the order of magnitude of the data being processed (e.g., the request payload).

> I wonder what observability is like. If a coroutine crashes, what its stacktrace will look like?

We maintain stack traces across await points of coroutine calls, even if the concurrent operations are scheduled on different program instances. When an error occurs, the stack traces show the entire code path that led to the error.

There's definitely a lot of opportunities for creating powerful introspection tools, but since Dispatch is just code, you can also use your typical metrics, logs, and traces to instrument your distributed coroutines.
Prohibiting building is a ham-fisted approach and it’s completely unnecessary if we just stop the government from being required to insure things.

I don’t care if people want to build in Florida, it’s a great climate… most of the time. They should just burden the real cost by having to pay an insurance rate that actually covers a new house every 5 years.

It will force it to be the luxury it really and it will spur construction shifts to hurricane proof pillboxes.
Scammers who think it's their "civic responsibility" to dupe their fellow man with intentional fraud should think two or three times before committing to that logic.

If they want to value someone's worth to the human team based on their gullibility to professional liars, it's not reaching very far for other like-minded logicians to value the scammers' worth based on their ability to navigate any other man-made stressor, like their ability to dodge a bullet.
This is a valid argument. There are already a plenty of programming languages where you can do that. You can make temporary variables in Rye too, but it also tries to work well for these chains of expressions or function calls, and I personally prefer this style many times. There is no wrong way, IMO.
Now that macro lens gets a top score here

https://www.dxomark.com/best-sony-lenses

which fits my own experience that the pictures are great. I shot all of these in front of my barn

https://mastodon.social/@UP8/111052075781351382

and could not mix photos I took with my 70-200mm because the Bokeh looked night and day different between them..
If you already in the path of _seriously_ learning something, there's nothing new here.

But also there's this interesting and imho the most important part of the article that I learned the hard way:

>> immersion is the best method of foreign language acquisition

If you really want to deeply learn X (language, music, instrument, martial arts), you need to immerse yourself. Learn the history, the culture, you name it.
1. Click all bubbles down to a certain size

Now you have a regular grid of pixels. Take your favorite monochromatic pixel art of size 2^k x 2^k, and

2. Click on grid locations corresponding to black pixels
Is it in terms of hiring? Try posting a fake but real sounding job in the Elixir Slack group. You will get a ton of interest from people dying to use Elixir professionally.
This seems ridiculous on its face but if it gets more people to prioritize efficient, performant code, then I'm all for it.
> I thought that everyone has switched to Clevis + Tang for that?

Clevis+Tang is good. There's also Keylime which takes a different approach to the same[1].

[1] https://keylime.dev/
> recreating OTP

Imitation is the sincerest form of flattery that mediocrity can pay to greatness...

Im guessing that pretty much sums up how you feel. "Why isn't my tool more popular" is really the subtext of your question here.

A lot of GO devs came from java,ruby,python,php ... For 3 out of 4 of those static typing is an upgrade. For all of them compile to executable is a massive change and a good one. We're not moving code and runtime to a box to execute...

Its a breath of fresh air that if I need a tool I can quickly write it in go, compile it, throw it on to the server its needed on and be done with it. I dont have to instal vm/runtime/server to make that code work.

Dont think that matters? I have a Rpi camera server that is just a go binary running... All I did was wget it and turn it into a service.

Furthermore every one who is coming from those languages has seen upgrades go all sorts of directions.. php 4-5-6-7 were somewhat smooth but evolved the language, there is a way. Python 2 v 3 you can evolve a language and there is a BAD way. Python venvs are a pain... and ruby gems have their issues... Go's no breaking promise and packaging choices speaks to all the things that these devs lived through.

And the laments of "go lacks" or "too much boiler plate" are features not defects. Write dead simple, easy to read code. Deal with your errors on the spot in a pattern that everyone will recognize. Im not sure that I qualify Erlang/Elixir easy to read or "simple" (effective I will give it).

So yes, people are stealing OTP... take the compliment and go out and invent something else cool that we can "borrow".
Feel free to calculate how many GW of solar you can build for the price of 1GW of nuclear
The ü/ü Conundrum
The benefit of X-ray is they go through everything (so you can see metal). The problem is they go through everything, so you have little signal.

For metal/bump voids, hard to inspect any other way

The harder problem for X-ray inspection is that 1) resolution is difficult to scale economically (possible, but hard). And 2) if any version of wafer or die direct bond dominates (I tend to believe it will), then x-ray won't be good enough anyway, so hard to spend the investment on this.
I concur - we as a society have agreed implicitly (since I think around the 1980s) that it’s everyone for themselves so take whatever the hell you can for yourself, consequences be damned. If you’re lucky, you’ll be dead before the world burns and society devolves into chaos.
Nice banger comment that doesn't address the lower cost imposed of regulatory tripwires.
They're both terminal multiplexers. In my experience tmux is a much better experience though
On the ground is perfect for kicking them in the nuts, leg/torso strikes, sweeping their legs, or various control locks. It's a near ideal place to be to also get your opponent on the ground. You can also get a solid kick or sweep in, or throw them off balance on the way down too, if you're ready for it.

You might find BJJ pretty interesting. [https://renzogracieacademy.com/about/what-is-brazilian-jiu-j...], [https://www.youtube.com/watch?v=u0edxg2fFmw]

Judo teaches how to deal with it quite well too.

The legs are the strongest part of a human, the arms don't compare at all. And fighting from the ground can be VERY effective if you know what you're doing. Or don't just curl up and wait to die.

Ideally you'd be on your feet and able to move faster of course, and I wouldn't recommend against an opponent with a spear or other ranged weapon - but then they wouldn't be trying to grab my foot or leg anyway eh?
The middle ages, not sure there were many East European slaves in pre-Islamic Arabia. Also plenty of them were “imported” into the Byzantine empire and Italy. After the Vikings Venice and Genoa mostly controlled the slave trade in the Eastern Mediterranean, the Black Sea and also the Balkans (Venice had a massive slave market).
What? I’m saying DEI as an abstract goal is great. The problem is that every institutional attempt to solve DEI results in blatant discrimination. So it ends up being that you can assume anyone who actually works on DEI initiatives at a corporation is doing pretty shitty things.
California's "notorious brownouts" exist only in the imaginations of habitual Fox News watchers. There hasn't been a load-related power outage in CAISO territory in several years. In August 2020 there was a 2.5-hour (at most) outage for fewer than 1 million customers that was due to a demand/supply emergency. That was the only intentional blackout in the last 25 years.

https://www.caiso.com/Documents/Grid-Emergencies-History-Rep...
> Bubbling up errors is not handing them.

And yet, this is exactly how you learn to design dependable systems. You try to stay in fail early territory as long as possible (bubbling up errors, failing every system level on the way), until you reach a layer where fail stop is not acceptable (or log and throw is adviseable since you reached a top level system layer).

It's at this point where you introduce a resilience layer, sometimes using a library like failsafe.

The most horrible designs and buggy systems I've seen in my career where the result of trying to mask errors in random places, making it impossible to reason about any of the code, and leaking resources left and right. The most stable systems I've seen started from a place where _everything_ that went off script resulted in the most horrible stacktraces, but taking proper care about cleaning up resources, and improving from there. Often, the top level resilience layer would only be configured for retries or failovers in (pre-) production systems, so developers and testing would keep getting battered with stacktraces, providing a chance to fix stuff.
Lawmakers pass milestone privacy bill overshadowed by TikTok fever
Because it floods any related recommendations with same artist ultimately
Thanks for the feedback. One of the features allows users to upload an epub to use in the app. Although I realise that a better method is needed, as it has become harder to find legitimate places to buy epub formatted books.
I'm betting that large players manipulate the market through "meme stocks" just like advertisers astroturf reddit.
Russia invaded a sovereign country. They are the aggressors here, period. NATO didn't cause this war, Russia alone did that.
That's a clickbait headline.
I always find it fascinating that these sorts of conferences are held in Dubai of all places - a country that is known for having some of the most environmentally unfriendly, fuck-you money budgeted projects on Earth.
I'm a Dev with DevOps skills. In 100% of the projects I've been on, the feature-focused Devs have a strong bias against thinking about or fixing the CI/CD pipeline. This despite it being simple code and directly accessible.

Build time, like other sorts of feedback loops is critical for team level success. This means the team should measure and review build time, and invest in it when needed. CI/CD doesn't magically fix itself.
> Solar and wind still have no path to stability.

This is a surprising assertion. I keep seeing it, and each time, when I dig, it turns out it is from someone who does not really know what they are saying and fall for naive ideas such as "but we don't have energy at night and without wind", while in practice, dunkelflaute appear to be as rare as unexpected shutdown of a nuclear plant anyway.

I'm working in the energy sector and I see that solar and wind are considered as a very valid solution. They have disadvantages, but in practice, it's far from being the end of the world, it just makes thing more complicated, but not more than all the other complications that exist for any other sources.

Maybe I'm in a bubble, so it would be great if you can show that what you say is not coming from someone who has no idea.
> library of Alexandria

Its importance and size are massively over-emphasized though. We aren’t even sure if that were that many books left there when it was supposedly destroyed.
It does. https://support.apple.com/en-us/102338
Agreed.

If there is a niche that is at the intersection of multiple specialties, and it includes GPU acceleration, there is a good chance it is ripe for a startup to get an early mover advantage. Eg, real-time foundation models for audio around non-english/non-chinese that works small & offline in cars.

Unfortunately, Nvidia has a culture of open sourcing all CUDA code, so if any startup shows something works commercially, Nvidia will rewrite, likely ultimately better, and give away for free, so more companies will do it and buy more GPUs.
Or it'll flat out hallucinate information.
That's why FP is such an important pattern. I'm not advocating strictly following FP but people need to learn it to understand the fundamental problem with IO and state.
Theaters are probably not in a big hurry to do recordings that compete with live performances. I've been told a lot of it is rights issues associated with the performers, playwright, etc. though.

Personally I find it a pity we don't have quality recordings of most theater. How many great performances are lost to time? If you're into opera, the Met's Live in HD are great.

ADDED: A fairly small local theater I have a subscription to did make some digital recordings during COVID. But they were only available for a limited lime and weren't free.
In the immortal words of Booker T: “don’t hate the playa, hate the game”
If I'm allowed to make a critique, I'd say that the module doesn't look very much like Go. The (ab)use of generics and having every policy to its own package feel a little over-engineered.

I might be slightly biased, because, not knowing about this project, I implemented half of the functionality in my own simpler module: https://git.sr.ht/~mariusor/ssm
I’ve seen drupal routinely implemented for larger clients, along with ezpublish and typo 3 at a previous job (i designed templates for these). The fact those were large projects that required multiple devs to implement led me to believe those were not a good fit for smaller projects/clients/personal sites.
Michael Lewis wrote about this story in his book “Next”. Also in the New York Times magazine. The articles and book have some pretty interesting discussion and opinion about this case.

https://www.umass.edu/cyber/readings/marcusarnold.htm
> I do not see anything related to improvement in mental health, which is one of the reasons a lot of people exercise (myself included).

Absolutely. The improvement of mood after exercising in green spaces is often under-stated. Exercise doesn't just have to be about building strength and fitness.

To be fair, a pill doesn't have to provide all the benefits of exercise to still be useful, but it would be a concern if people took it as a replacement for exercise as opposed to those people who don't exercise for whatever reason.

Personally, I'm a huge fan of Active Travel as it's such an easy way to get a lot of people to exercise and also interact with their environment in a way that you don't get if you just sit in a vehicle and watch the world through a pane of glass. (Also has the benefit of reducing traffic congestion and is very time efficient compared to commuting and then going to a gym).
This reads like standard "rise and grind" Hustle Culture. [Doing more | Working harder | Busting more ass] might help, but doesn't necessarily lead to success. You can do everything right and still fail, just like you also can accidentally blunder into success. You can buckle down and practice programing for 10 years and just not end up good at it, while someone else might wing it for a year in a bootcamp and be great. Life isn't fair or deterministic.

These articles really need to at least acknowledge the outsized role that luck and chance play.
Humans living in cities are slowly losing their ability to digest plants
Ask HN: WebApp or Open Source project to review my 1040 tax form
Hi there,

I am looking for a web application or open-source project on GitHub that allows me to get text data from tax-related forms like the 1040, W-2, and 1099, and use that as a context to ask GPT-3, GPT-4, or any other large language model (LLM) to review my final tax form.

I'm hoping to find a tool that can extract the relevant information from my tax documents and then use that as input to an LLM, which can then provide feedback and suggestions on my completed tax return. This would be a really helpful way to double-check my work and ensure I haven't missed anything important.

If you have any recommendations for tools or projects that could meet this need, I'd be really interested to hear about them. Please let me know if you have any other thoughts or suggestions.

Thanks!
> The 2007–2008 financial crisis, or Global Economic Crisis (GEC), was the most severe worldwide economic crisis since the Great Depression. Predatory lending in the form of subprime mortgages targeting low-income homebuyers,[1] excessive risk-taking by global financial institutions,[2] a continuous buildup of toxic assets within banks, and the bursting of the United States housing bubble culminated in a "perfect storm", which led to the Great Recession.

(from wikipedia)

> In total, 47 bankers served jail time as a result of the crisis, over half of which were from Iceland

One example of countless that could be found, that legal consequences are the exception, not the norm.
I use native ARM VS under MacOS just fine, although MS announced end of life for it this August.
> An agreement can be made that provides guarantees for the safety of the people.

We already have several of those. In Helsinki in 1975, all European countries (including the USSR) agreed to refrain from violently changing borders in Europe.[1] In Budapest in 1994, Russia reiterated the commitment, promising to respect sovereignty and the existing borders of Ukraine in exchange for Ukraine giving up nuclear weapons.[2] How do you suggest these, or any future agreements, should be enforced when Russia chooses to violate them?

Not to mention that Russia has become one the most oppressive countries in the world. What guarantees do you expect from a country that severly abuses the human rights of its population? That they won't abuse Ukrainians more than they do ethnic Russians when Russian officials imprison people for anti-war poems, raid gay bars, beat and rape protesters and murder dissidents?

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

[2] https://en.wikipedia.org/wiki/Budapest_Memorandum
> This seems ridiculous on its face

Chip designs routinely use energy metrics like picojoules per bit to express the hardware's power budgets and efficiencies, generalizing these kinds of figure of merit to software seems natural. While I doubt that running a particular version of software can automagically make a computer "green" (If WebKit becomes faster, users are simply going to open more tabs), but I think this can be a reasonable and meaningful concept within a clear technical context.
I don’t understand either. I have an iPhone. My wife has a Samsung. According to certain pockets of the internet it’s a miracle we made it past our first date and now it’s only a matter of time before we’re divorced.

Our group chat with her family is evenly split between iOS and Android. No one’s ever said one word about it.

We absolutely have run into the issue where I can’t send my wife multiple photos at the same time over text (a single photo works fine)…so I just use one of several other methods to send photos in bulk.

To me, this topic is the ultimate “touch grass” example.
A way to steal ten times as much from foreign language learning, especially for languages with orthography that matches spoken language, is what they call "extensive reading."

After you get Spanish verb conjugations memorized, for example, all you need is a dictionary to read. Reading an hour or two a day is powerful immersion - you'll notice yourself looking at the dictionary less and less, and the material that you're reading becoming more and more like the material you read in your first language. After a while you'll realize that you haven't looked up a word/phrase in days, and that you're annoyed when English language results come up when you know the coverage is better in your target language. You'll have your 2000 hours in a couple of years.