skysight-inc/HackerNews huggingface dataset:
On the JVM, native threads are really expensive, especially in terms of memory.

Loom comes from the same place of skepticism of async that you are expressing. Its goal is to make the imperative, blocking style as efficient as the async style while retaining familiar debugging tooling.

Personally, I'm more skeptical of imperative, blocking programming but Loom does seem like it can only be a good thing to have access to on the JVM platform.
No, it's so they get off first
Jeez, all this time :/. Thanks.
I'm less upset with SPF, DKIM, and DMARC and more irritated that you can't find any 5 minute guide on how to set it up. As this article states, it's all SEO bullshit and DNS validators that don't explicitly say, "Add this TXT record to your DNS set. This directive means X. That directive means Y."

Unfortunately, as much as I sympathize with this article, I can't pass this around to colleagues as technical reference, because it's just a rant. A rant with helpful information, but a rant nonetheless.

I need reference documentation that isn't going to disappear when the author decides to change blogging platforms, etc. So, below are the RFCs, with sections, that actually matter.

DKIM and DMARC are not required to have a functional piece of software that sends emails today, though. Just use SPF and you should be fine. A TXT record with @ for the current origin[1] or the relevant host with the following is sufficient[2]:

v=spf1 include:example.com ~all

You can use multiple includes.

If you're pointing to your own DNS records, though, don't use include. Use a. As far as I understand it: include[3] is others, or as RFC 7208 states it, 'independent domains.' a[4] is you (A records).

In this case, it looks like this:

v=spf1 a:mydomain.com ~all

That's it. Now your mailer should work.

So for example, you've got a domain name on Namecheap, and you're hosting on a VPS.

You've pointed your A record for @ to your VPS' IP address. That's all you need there, and all you need for SPF is a TXT record pointing for the current domain, @, and the string above, with the a mechanism pointing to your domain name.

SPF-compliant software will look up your TXT record containing the SPF string, see the domain, lookup its IP address, and match it to the server where your email is coming from, then allow it in transmission.

Popular mailers should tell you all this these days, but they don't, and it really sucks.

[1]: https://datatracker.ietf.org/doc/html/rfc1035#section-5.1

[2]: https://datatracker.ietf.org/doc/html/rfc7208#section-3

[3]: https://datatracker.ietf.org/doc/html/rfc7208#section-5.2

[4]: https://datatracker.ietf.org/doc/html/rfc7208#section-5.3
> The Technological Debt, i.e. the cost and burden of a large codebase that’s complex and difficult to maintain, is also higher in Javascript. One of the reasons for this is that the language is fragile.

I found this rather bias. Is it true for those who has tried FP / elixir? I have never used it, I don't think my company will ever consider changing the codebase at all. However java / python as backend and typescript (react) as front end seems to scale soo easy for us here.
It's not as unambiguous because, to the guy with his back to starboard, forward could just as easily mean port! It may seem clear if someone's shouting, and pointing, at the bow, but if I'm recounting the action of a tense combat scene and say he "slips on a banana peel and falls 'forward'", you can't know for sure what I mean- does he fall straight towards port, or does he a break a leg, twisting, tumbling toward the bow? c:
Very bold to claim a game endlessly delayed, missing most of the content and stuck in pre-production hell (and still not even released yet) a hit.
the rich do well in all environments except for major econ crisis like 2008 or 1929 but they tend recover the fastest too.
For most services it is. But you’re right, if it’s self-hosting it’s a real pain in the d**.
Correct, but if you looked at the profiles of the submitters you would have immediately seen they were ordinary users, a few with a lot of karma.

I hate to disappoint but it really is just a popular literary site people like to share from time to time.
Amusing is the inevitable bookshelf in the background, with a carefully curated selection of books designed to impress the viewer. Has the person even read any of them?
Yes. But it, and other mass media like it, generated unifying narratives, narratives that weren't hermetically sealed from conflicting narratives.

That meant you could talk to your relatives at Christmas and perhaps have different ideas about the same facts, rather than completely different sets of facts.
I thought a lot was fomented in coffeehouses.
It's not about keeping it “down”, it's about keeping it “low enough”. Which leads to understanding that there is some corridor of acceptable inflation and you have some wiggle room until Zimbabwe or Venezuela levels, when it's high and the economy is “struggling” but it's not a terrible disaster. That is, there is no talking about eliminating inflation as it were universally harmful; the general understanding is that it's actually beneficial to the economy as a whole. It may be harmful to some parts of the society but you don't go admitting that publicly, saying that won't do anything about it because someone's lives are less important than the economy.
> almost none of them are positive

For you perhaps. That spending helped countless people, averted untold hardship, and for some could only be described as life changing
Magnesium Supplementation in Vitamin D Deficiency [Paper]
To understand why that doesn't make any sense, realize that these are essentially disjoint sets.

When there is inflation, wages rise with prices. But people's debts are valued in nominal dollars, so it erodes those debts. Debtors are generally poor.

Moreover, savers generally invest their money instead of keeping it as cash in a mattress, and the prices of typical investment securities (e.g. stocks) rise with inflation in nominal dollars.

Inflation is primarily bad for lenders, and people trading in securities derivatives that are equivalent to lending.
>Then, I encountered a second problem: I had no idea what those were, and seemingly nobody has written about SPF, DKIM, or DMARC in a way that a human can understand, not to mention implement. Every article I found was either highly technical, trying to game SEO to sell me something, or too high level to be useful.

I guess TFAuthor hasn't done a cursory google search, because if they had they'd have found the ISPmail tutorial[0] which is clear, concise, mostly correct, and approachable if you aren't a total novice to Linux.

[0] https://workaround.org/ispmail
Now it's evident I answered reflexively without reading the article. I like the concept of <server>.<location>.local/localdomain so host names never collided when you connected through VPN from one to another. That can still be done with <server>.<location>.home.arpa, but it feels ugly. I guess I'll get used to it.
Ask HN: What do you think of Producthunt's obsession with no-code solutions?
Thanks! I can almost wrap my head around it now.
It actually mentioned .home as something not to use (along with .lan and.homenetwork)
Co-Gail: Learning Diverse Strategies for Human-Robot Collaboration
Seems to me it's a fragile coalition in the long run anyways; the Biden/Obama formula seems to be: on one hand, promise exciting populist left wing policies in order to pull in an activist core and left wing votes while at the same time having no intention of taking action on them, taking that base for granted (I mean who else would they vote for?) and governing from the right and even openly campaigning in certain districts and audiences with openly "nothing will fundamentally change"[1] type messages. And it will only fool people for so long.

In the long run they can appeal to Reagan-type voters from the suburbs only so long before they risk splitting their party base entirely and the left wing of the party starts voting 3rd party at higher rates, or is just demoralized and doesn't show up at the ballot box.

"You have no other choice" isn't exactly an inspiring campaign slogan. Though it worked this last time around, I guess.

[1] - https://www.salon.com/2019/06/19/joe-biden-to-rich-donors-no...
The detail that gets overlooked is that I have had only 1 application from someone over the age of 18 in the last 90 days. While highschoolers are awesome they only work 10-20 hrs a week.

To caveat, I am in a highly desirable submarket for entry level staff, with near 75% 1 year retention, and above market pay for my area, especially for part time staff.

To provide further context, I had a staff member quit a couple weeks ago, because I do not pay a "livable wage", while this staff member only worked 2 days a week based on their availability. I am not sure how to address this kind of issue.
Would that be more desirable than building your tests from your application?

Seems to me that once you can go either way then you just proved the other redundant.
I would think bathroom use would be the same whether you have one or five bathrooms.
Yeah. In fact, the poorest have a negative net worth due to owing more on debts than they hold in assets so inflation makes them wealthier
I’d prefer the steaming pile of android (surveillance) apps is kept out of the Linux phone eco-system.
Can someone explain why you can assume a recipient would respect DMARC when dealing with SPF but not check your DKIM? It never made sense to me why we need anything other than DKIM honestly.
Interestingly, the solution of the ball falling off of the dome when starting at rest is not physical, but since Newtonian Mechanisms is symmetric under time reversal, the the time reverse of that solution should also be a valid solution, and that solution - the ball arriving at the top of the dome from the bottom - is physical.
> The article says his suit was rejected because ads don't obligate the advertiser to anything.

This is simply wrong.

It was rejected because the particular ad did not (for a variety of reasons cited in the ruling) make an offer that was open to be accepted by the action by which he purported to accept the purported offer, so there was no contract [0], nor was it legally fraud, since Pepsi never cashed the check.

Ads, more generally, may or may not create offers open to acceptance by action.

> False advertising is explicitly against the law

False advertising is different than advertising creating a forward obligations; an advertisement is false or not when presented. OTOH, the puffery reasoning applied in the fraud claim in the Harrier case would also apply to a false advertising claim.

[0] while the thing its cited for is puffery, its worth noting that, even if puffery was off the table, the purported subject matter of the agreement would have required a written agreement signed by the parties under the Statute of Frauds to form a valid contract, and obviously no such written agreement existed.
I always thought PBS and NPR were pretty good. What am I missing?
Ah, thanks. Oddly, it is the default and the current firmware won't let me change it.
> otherwise I would have just stayed on Firefox 89 forever

I'm still using Firefox 68.11 on Mobile because the new Firefox mobile engine still doesn't support most addons/extensions... what a joke.
If your program interacts with the outside world, then yes, it needs to be impure "along the edges" at least. But it can still keep track of state in a pure, functional way. Here's a simple example:

main :: IO ()
main = loop (0 :: Int) where
loop n = do
putStrLn $ "The counter is currently " <> show n <> ". Increase it by how much?"
increase <- readLn
loop $ n + increase

Here, the counter is updated purely, rather than by mutation.
It lowers exiting debts if the inflation is sudden and comes as a surprise, but interest on new debt will be adjusted accordingly to take into account rising expected inflation
My guess is that the level of education required to get a PhD instills in one an extreme level of skepticism; since most PhDs are not in genetics or virology (just simple statistics), most PhDs are skeptical of the fields from which they are not experts.
Most phone apps are better as web pages, what remains competes (poorly) with the already existing software library Linux has.

--a Pinephone user
The role of cellular immunity isn’t as clear. What would probably make a big difference, though, would be mucosal immunity given by a nasal vaccine. Get those antibodies located at the point of infection and they can get to work earlier.
> Genuine question - is there a concrete and practical problem that can't be solved without Loom green threads on the JVM?

I think that's too high a bar. I think the right question should be "will Loom make it easier to write well performing and maintainable solutions to real problems?" I think by making threads a much cheaper resource the answer will be yes.

For example, the simplest way to write a network server that can handle more than one client at a time is to fork a new thread for every client. Using that model you quickly run into a wall with OS threads in Java, and if you want more performance need to look into using NIO and event loops. With virtual threads you'll be able to go much further with the thread-per-client model.
> I believe you took their post too literally; they mean to go register some domain you would like to have

yes, and that's EXACTLY what example.com is for, this precise circumstance

smh
This recently happened with a Bitcoin wallet app called Cake wallet. They used time() in their random number generator which allowed the key generation to be replicated and funds stolen.
We just had a 20-year period with historically high deficits and historically low inflation.
>Motherboard has seen samples of the data, and confirmed they contained accurate information on T-Mobile customers.

https://www.vice.com/en/article/akg8wg/tmobile-investigating...
> How is this different from hedge funds who do the same thing with equities, and outperform the retail investor as a result?

Equities are not a necessity of life.
In a LISP, the parenthesis are structural syntax. Where other languages use curly braces, whitespace, square-brackets, and usually a combination thereof; LISP simply uses parenthesis.
In theater you always specific 'stage left' or 'stage right' for the same reason, even though it's more syllables.
India's OLA (Uber Competitor) Launched EV Scooter
Nobody wants to acknowledge this, but losing the upper Midwest and winning the election based on diverse sun belt states is long term bad for Democrats. The Midwest is relatively economically progressive. Iowa’s income taxes go up to 8.5%. The sunbelt isn’t. Arizona’s taxes only go up to 4.5%. Even minorities don’t want to pay taxes. Many of them moved to Arizona, Georgia, etc., to get away from high taxes in California and New York.
If I recall correctly, their production has been hurt by the pandemic just when they were starting to deliver some of their most wanted products. Many businesses were hurt as well, but they're a lot smaller and will likely require more time.
They're also selling small quantities at low prices, which translates in lower margins. That's probably the reason they cant expose themselves with the risks of big volume productions. To me it's just a matter of time, hopefully short.
As I'm pretty sure some of you go through Performance Review at this time of the year, Simon Gerber shares a helpful historical context and comparison between different companies (even if some outdated by now). For those of you with context, you can skip to "What is everyone else doing?" and go from there. It's excellent.
The overwhelming majority of people are not new debt-holders, but are old debt-holders. Floating rate mortgages are not common in the US.

Since most of them are in debt, inflation, as long as their wages are keeping up with it is good for the overwhelming majority of Americans.
Bottles sit on the store shelf and have a use-by date of often a year in the future. I figure if there is going to be leeching, it's not going to be significant enough in a day or two. Just to be careful though, even with my 'proper' reusable bottles I won't drink the water if it's been there more than a day or two or if it's exposed to the sun.
Cosmic Voyage – Gemini-based collaborative science-fiction universe
Any and all aversion to widespread nuclear power development and adoption.
The link above is through a web proxy.

For anyone who has a Gemini client, this is the original URL: gemini://cosmic.voyage:1965/
"structured programming" is not the use of flow-control but a way to design programs.

Even if most language have structured flow-control, a lot of people NOT do structured programming.

This is how I remember it back in the day and how I do it (curiously, much better on Rust, where it match better how was done on Pascal! ie: Not OOP, big on structs, functions, enums) and is a mix of:

- Define the major components of the app and put it on "modules" (aka their own file or folder if truly large)

- Define the major structures according to the domain (aka: make tables in sql). This is what POCOs are used today or plain Rust structs.

- Make procedures that operate on the above with a clear in/out discipline. Also, document that (this one, I always forget!)

So, is not that far away from functional, inmutable programming, only that:

- A lot was mutable and pass references. This is also a big part of how you discipline to define the flow make this tractable or not

- You don't have generics or classes, so you stick to plain data, plain vectors or lists and duplicate stuff (algos) here and there (no way to abstract "map/filter/folds" that I remember)

- You must be disciplined with the naming of "modules", "POCOs" and functions. Also limited in the length of names (like files only being 8 chars), causing the rise of Hungarian notation (that was misunderstood/misused badly!)

- All your pipeline are eager (not chance of iterators and stuff) so you repeat "loops" everywhere

- Everything was more self-contained, that is great... as long you don't forget the discipline.

"The discipline" was the key here, for make this actually "structured programming".

The MAJOR point is how you STRUCTURED the program, not the use of structured control flow!
Loosing $2 trillion wars has consequences. Keep in mind up to this point the US could pretty much print as many dollars as it wanted. And the world would absorb it, because it needed US dollars to trade. This is becoming less and less the case. Countries trade with China now, in Euros in Europe and also directly between each other. So some of those extra dollars are just coming back into the US economy, with no external takers. So inflation.
Keep in mind that Afghanistan bankrupted and accelerated the collapse of the Soviet Union. The US is on shaky ground.
While China stood on the side, and is now the clear winner, building a pipeline directly to Iran through Afghanistan.
You sure about that low inflation? Certain assets have been growing much faster than purchasing power. And wages aren’t growing all that much.

Food has stayed cheap, but also the content of boxes and bags have decreased. I’m not sure what the real inflation is, but it’s definitely not “low”.
My bad, I actually have not read the guidelines in a while, but it would've made sense not to reply to your original short comment. Thank you for elaborating.
There's a few reasons why this scenario wouldn't be a good fit for cloud functions, but that "couple of seconds start-up time" can be almost entirely removed from the equation by keeping the Django instance alive (all cloud function type offerings will have a concept of cold and warm starts, and some way to control persistence across calls on the same "instance").

I've run Django on AWS Lambda in a a scenario that scaled between 25-250 calls per second depending on time of day (for a runtime of 5-30 sec). Moving Django's bootstrapping so it would stay warm across calls was very easy.
Email Authenticity 101: DKIM, Dmarc, and SPF
I try to be as functional as possible with my C and C++. You can't reach perfection obviously but I feel it has made my code much better.
>To provide further context, I had a staff member quit a couple weeks ago, because I do not pay a "livable wage", while this staff member only worked 2 days a week based on their availability. I am not sure how to address this kind of issue.

Possibly dumb question, but how much do you pay per hour and how much are the rents in your local area?

I only have one employee working around 15 hours a week at A$28/hr (minimum wage is around A$26/hr for "casual" employees with no set hours or paid leave), but that's enough to cover all living expenses in shared accomodation plus a bit extra.
In Australia we have Whirlpool: https://forums.whirlpool.net.au/

I do wonder if there is value in having basic interfaces. This combined with tech focus seem to have created 2 of the better discussions/information sites IMO (whirlpool and HN).

While a bit more domain specific, webmaster world used to be good, still might be but I haven't been visiting for a couple of years: https://www.webmasterworld.com/
> It hurts the middle class with 5-15k in savings.

If you have 5-15K in dollar-denominated-fixed-interest savings you either:

(1) Are in the middle class and have at least a couple orders of magnitude more than that in productive investments that aren't dollar-denominated fixed-interest assets.

Or, (2) are in the working, not middle, class, and probably despite having that in gross savings, have net dollar-denominated debt.
I'd bet he would be screaming mad about which side Texas is of the Mason-Dixen line. By my eye Texas is not part of the north.
I am not against supporting those in need, but blanket unmetered injection has consequences. The IRS is capable of disbursing based on income, primarily because it is reported digitally and manually monthly via payroll taxes, and those with no or reduced reported income would be default to fund.

Beyond that I am not sure the result will be worth the cost, especially for those that are the most price sensitive.
> I wonder if it could ever be considered fraud to accept payment for a case you know to be unwinnable, seeing as how the client would have to be operating under the assumption that the case is winnable.

If the lawyers gave him legal advice that was obviously bad or false, there could be a malpractice case.

Most likely they did tell him (though probably not very forcefully), and he proceeded anyway against the advice of counsel. Happens all the time.
What takes a decade to overcome? That seems like a gross exaggeration - from reading the Texas penal code it looks like your first DWI conviction is a class A misdemeanor and the license suspension period is 90 days to a year… that’s rather standard in the USA. Texas also allows you to petition the court for an occupational driver's license that allows you to drive to perform essential functions even while your license is suspended, which is definitely not an option in all states.
Several of the incidents in the movie happened at Caltech. Putting a water slide in the dorm, for example.

RG was one of the few Hollywood productions that Caltech refused to allow on campus. So they found some other buildings in the same style.

They still hired Caltech students as extras because their costume director was unable to duplicate the look of Caltech students (probably just couldn't believe it!). Most were like me - no money, and no concept of style.
Running an All-hands. The other day, I attended an event that – by Gokul Rajaram
The poor have no wealth. Jeff Bezos lost more money to inflation this quarter than the sum of wealth of the 50th percentile of Americans.

We’re overdue for inflation and higher rates. Too many stupid businesses are thriving, and too many industries have consolidated into little cartels due to cheap money.