skysight-inc/HackerNews huggingface dataset:
> As someone who likes async/await/coroutines, I really miss them in Go

Interesting. Most complain about languages with async/await and say they want goroutines. What is it about async/await that you prefer over Go's approach?
I don't really see where you're coming from. If you go out to eat with someone who has more money than you why do you expect them to pick up the bill? I doubt you pick up the bill every time you go out to eat with other people.
It's true. I mean, I wouldn't comment on them either. I'd just roll my eyes when asked to review another 4000 line "test suite" that upped the coverage but did not test anything meaningful. I wrote many useless tests myself, assigned tasks like "upping test coverage for module XYZ." They'd all get thumbs up and looks-good in reviews.
This stood out to me as well. If the damages is only based on actual usage/active users, it seemingly values availability of the software at $0.

The value of this software to the Navy I would argue is much more than how many active users ever actually used it. Given that Navy need to have software available to rapidly deploy in worst case scenarios (large conflict requiring extensive use of a particular type of software), this would often or usually necessitate acquiring many software licenses to be purchased, even though they'd typically never get used in peacetime situations.

As another example, a business may have a disaster recovery plan that would make extensive use of alternative cloud-hosted remote computing services. If the business waited until the next global pandemic to purchase and setup these services, they'd likely be met with "sorry our capacity is full" responses from providers. Thus the business should be paying for the service at all times as if the disaster recovery plan could be immediately activated and alternative cloud-hosted remote computing services used immediately without risk of a "sorry out capacity is full" response. This service is worth a significant amount to the business as without the service in place and ready to use at a moment's notice, the business would have an unmitigated and costly risk presenting a much higher future liability to the business.

As one last example, if a jukebox existed with a library of 1,000,000 pirated songs for users choose from, wouldn't this be more valuable than a jukebox with a library of only 1,000 pirated songs for users to choose from? Whilst only 500 songs from each jukebox may have ever been selected and played under similar conditions, users (and thus the venues hosting the jukeboxes) would more highly value the first jukebox with a larger library to play the exact song users want to listen to, not a song that is only similar enough.
I liked "Code" by Charles Petzold - https://www.amazon.com/Code-Language-Computer-Hardware-Softw...
Yeah, I think many social groups are suffering from bootstrap problems post covid.
In “notice and comment” informal rule making under the Administrative Procedure Act, it’s standard for agencies to review the submitted comments in the final rule, to show that the data, views, and arguments of interested parties were considered as the law (5 U.S.C. § 553(c)) requires.
What do you mean by "better realisability"?
You should read more about it.
We also need, like, a reason. Even if we can... why? (and "survive the apocalypse" is a pretty bad reason since there are zero other bodies in our star system that are better for humans to live on than even a nuked, climate-changed Earth—anything short of a crust-melting impact would be easier and cheaper to survive with Earthbound bunkers, excepting things that would also wreck other bodies in our star system)

Which reasons, as for 99% of everything else like that humans have ever done, will likely be economic or military. When it makes dollar-sense to do it, we'll go. Not sooner. Not really, and not for the long haul.

I'm doubting we'll do large-scale human colonization of space for a long, long time, if ever. We might do mostly-robotic asteroid mining within the next 100 years, and a couple visits to e.g. Mars might be made, but nothing serious.
Hey, can relate. Your situation seems tough, but you're right, you're not alone in this situation. Something I've noticed as I got older is just how isolating the US can be. The predominate culture is for children to go to college (oftentimes far away from family), then move to a city (again far away from family).

People don't go to church or other religious gatherings as often so people don't build community that way as much anymore.

And now that work is remote/hybrid, as you said, even when you go into the office there isn't much there. I think the US is really failing from an institutional level in that the only reliable way I have ever had of meeting new people was schooling. A dream of mine is that community centers become well funded and become just a place to hang out (like a library but with more activities) and can help facilitate bringing communities together and building those relationships.

But I hope something changes for you, and you do something to change it. Best of luck!
Trailing (and probably leading, didn't check) spaces confuse the user lookup.
I’d say that fail2ban is a Band-Aid too, if brute forcing passwords is an issue your problem is that you’re not using key based auth.

If someone wants to go to the trouble to break crypto, it would be cheaper to infiltrate the ssh project and implement back doors after a few years of building trust. If that’s your threat model, double wrap your protocols (WireGuard jumphost > ssh type stuff)
Reliability.
Yes, I was talking about that Bogdanov as influenced by Vernadsky, not by Chardin.
I also don't understand what that means either. Most taco shops in silicon valley have salsa as a free condiment.
I'd love a version of this where you enter two usernames and get a match score.
It isn't there, and given the "story" it happened years ago so it should be there, so I guess we've been played.
Italy, Japan, etc define their nationality through ethnicity (ius sangui). Greece defines nationality in a very convoluted way, but its basically trying to find ethnic Greeks.

In fact nationality through ethnicity is the norm. What isn't common is that every country but Israel is being pressured to change their nationality laws.
> Created: June 6, 2012

What are you on about?
This is my all time favourite one of these:

https://thehabit.co/knowledge-is-power-france-is-bacon/

> When I was young my father said to me: “Knowledge is power, Francis Bacon.” I understood it as “Knowledge is power, France is bacon.”

> For more than a decade I wondered over the meaning of the second part and what was the surreal linkage between the two. If I said the quote to someone, “Knowledge is power, France is Bacon,” they nodded knowingly. Or someone might say, “Knowledge is power” and I’d finish the quote “France is bacon,” and they wouldn’t look at me like I’d said something very odd, but thoughtfully agree. I did ask a teacher what did “Knowledge is power, France is bacon” mean and got a full 10-minute explanation of the “knowledge is power” bit but nothing on “France is bacon.” When I prompted further explanation by saying “France is bacon?” in a questioning tone, I just got a “yes.” At 12 I didn’t have the confidence to press it further. I just accepted it as something I’d never understand.

> It wasn’t until years later I saw it written down that the penny dropped.
Maybe with your life experiences, but my own agree with the author's. When you're around people who aren't (or haven't always been) at least middle-class, they're aware of the power that money holds.
How do visually impaired people now get a hold of Frontier without having to rely on intermediary accessibility technologies like screen readers?
Like:

- Ecosystem

- Static linking

- goroutines

- small and light runtime

- fast compilation speed

Dislike:

- missing shorthand lambda functions, making functional programming very painful

- typed nils

- billion dollar mistake (lack of non-nullable types)

- implicit/automatic copying on value types. Value types as a whole need to be re-thought.

- too much error handling boilerplate

- unused variables are compiler errors

- struct init not exhaustive
I have a nodejs+typescript backend stuck in a limbo state because of the whole esm modules fiasco. I have outdated npm modules I can't upgrade because they are ESM only, and I have old modules that will likely never update.

It's to the point where I will only be using golang for backends moving forward.
Won't cover legal expenses.
Admittedly I don’t know American history well.

Are you referring to the Boston tea party or was there a much longer running boycott? I ask because my weak understanding is that colonists waylaid ships in port and actively destroyed the cargo. That’s more than a boycott, I think?
There's definitely something in not putting off the things you really want.

My sister's landlord always told her how he planned to live in the house she's in once he was a bit older.

He ended up dying in a motorbike accident a few months ago, right after a house inspection...
Having to use reflection and the interface{} (now 'any') escape hatch to see what fields are in an unknown JSON object "the pragmatic way"
I wasn't aware this was even a thing! Scary stuff. 2 alts are listed but not with any great accuracy, so easy to dismiss. What an interesting topic.
How does it work with OIDC and AWS? Do I just authenticate my dev account locally?
The post is about running github actions locally though. The built in ones also support running server-side too, though I imagine github doesn't have the same level of interface over that as their own services.
> Retaining information shouldnt have anything to do with how you ingest it.

It must. The ingestion method, and particularly how long the info sits in our consciousness, will govern the depth of indexing operations possible.

Something you’ve seen many times is typically easier to remember than something you’ve only seen once. This is obvious, but under your model it makes no sense.
Is Wireguard more secure than SSH?
But why would any investor do that? Rational people want their investments to appreciate in value, not depreciate.

As for you seeing "money launderers", that's quite strange. Money laundering is a serious crime. People who perpetrate it generally prefer to keep quiet on the matter, they don't go around advertising what bad boys they are. How did you know the people buying some houses were "money launderers".

But let's say you knew somehow and they did as you say. Even for money launderers, it does not make sense to sink money in some properties that will end up being torn down. The whole point of money laundering is to transform money of a criminal provenance into "clean money" that can be used to do stuff, not into run down properties.
If it was that easy poverty wouldn't exist for decades
I don't have Venmo in my country, but I think they mean sending a micro-invoice using Venmo to say "Hey, pay for the salsa you ate that I ordered for the table."

>"Folks who grew up in affluent households will venmo for the salsa."

Means "folks who grew up affluent won't hesitate to ask for people to pay for the thing they ordered for the table, and don't know how that makes them look." Like another comment said, you'd think that salsa is complimentary? Or like, if you ordered salsa, YOU would be the one eating it, not sharing it? I don't know how these things work in the context they're saying.

“Look, we’re all sitting around this table at this taqueria together, therefore we are equal!”

It’s their version of “I don’t see color,” because they never really had to.

"I'm not realizing how, as a rich person, asking people to pay for something incidental when I could just let it go, is ignorant"? Maybe? They grew up rich, rather than becoming rich, so they wouldn't have the context of the rudeness behind asking for people to pay for communal stuff?

The fact we're having this speculation about the semantics/meaning indicates that it could have been phrased a lot better.
It does, doesn't it!

I felt a bit bad about posting here, because the thread is ostensibly about layoffs, while I quit voluntarily, so any feelings I'm feeling about the situation now are my own fault :)

But it's somehow comforting to see I'm not the only one marveling at the sudden slowdown. It eases the inevitable fear that it's just something unattractive about me or something I'm personally doing wrong.
Imagine you haven't purchased anything from Israel recently. Are you boycotting them? Presumably no, as many people will be in that situation just by coincidence. Then what does count? The reality is making a public statement saying you're boycotting Israel.

And there in lies the problem, the state is trying to punish people for making entirely legal statements they don't approve of.
Show HN: I taught an AI to see the future
Hey everyone,
In these uncertain times, Future News is an AI system that gives us a glimpse into the future. It is explicitly prohibited from predicting war or environmental disaster, instead encouraging us towards positive outcomes. I am compiling a training document for fine-tuning with the intention that Future News makes increasingly accurate predictions over time.
That account has a lot of karma for someone new...
Just found this too. The brand-new Eco plan costs $5/mo, shared over all projects up to 1000 dyno hours, and then it seems each database on the Micro plan is $0.01 per month. That comes out to $5.05 per month for me I believe for my 5 portfolio projects? Maybe there's hope for Heroku yet.
> Been a long time since anything iscsi related didn't hand 9k, for boot or otherwise.

Don't have anything on the hands to look if the boot firmware even allows to set 9k, but I didn't touch iSCSI boot for a long time, so I would take your word for it.

> But I look at it this way. You need 40gbit networking ... is already 5x-10x slower than nvme.

This one.

> It'll be fast enough for lots of things, especially home/lab use

Yep, in OP's case I would consider just leaving the OS on the local [fast enough] drive and using iSCSI (if for some reason NFS/SMB doesn't fit) for any additional storage. It would be fast enough for almost everything, while completely eliminating any iSCSI boot shenanigans /me shudders in Broadcom flashbacks.

Another neat thing about iSCSI is what you can re/connect it to any device on the network in a couple of minutes (first time, even faster later), sometimes it comes really handy.
You seem to have missed that the people paying weren't the people who ordered?
The Pentagon fails its fifth audit in a row
Check out the Visual 6502 project for some gruesome details: http://www.visual6502.org/

The slides are a great summary: http://www.visual6502.org/docs/6502_in_action_14_web.pdf
...a loss function based on the cosine similarity of any given text with statements made by individual HN users.

A. Could you elaborate on the mechanics and particularly the loss function calculation? For example, did you take the top N users by karma, volume, something else? Does the loss get calculated as an average sim against each of the top N, or do you mean pool the top N first, or something else? Or is it one model per user?

B. How do you manage the posting and accounts? Just manually?
I have known many folks like this. I have found they don't really last long, in the evironments in which I worked.

I've definitely not been one, but I have been in ultra-high-performing environments, in a Japanese company (where they watch everything), so it became habit.

Even so, I often feel like I was the dumbest kid in the room, because I was around some damn smart people.

But I do find that making a negative posting, is a great way to get "engagement," and it's fairly common. There's lots of "Y'all are doing it wrong" posts, out there, compared to "This is why I think what I do, works well" posts.

Basically, we reward negativity.
i use scaleway (small stardust instance) in the netherlands region and the internet is working fine for me.
Tell the reader that this here code is prepared for leap years, leap seconds, leap hours:

SecondsPerStandardHour = 3600 // or NormalHour or TypicalHour
HoursPerStandardDay = 24 // or NormalDay, TypicalDay
The two aren't mutually exclusive
On a cursory glance it looks like a cluster of users that post links, especially with italicized quoted excerpts.
Correct. The Facebook Pixel Helper is used to test that the pixel has been installed correctly and events, both standard and custom, are firing correctly.
A law that prohibited anti-war speech. You might as wall say that murderers don't go to jail for killing someone, they go to jail for breaking the law. It's an entirely pointless technicality.
They way to fix your problem is to offer a better solution to the problems the various sites are trying to fix.

“Please don’t break the internet” has never worked.
You mean this one:

https://www.theguardian.com/world/2022/oct/24/bakersfield-ca...
> They’ve also literally promoted banning books.

Which ones? Was it the ACLU as an organization, or an employee of the ACLU?
I think they are just uncomfortable in general. If you wanna pay for your friends just do, it doesn't have to be a big deal. The examples are construed as some niche experience for tech, when it's the most common stuff any non-rich-as-a-kid (as in 99% of people) person goes through. Money doesn't fix insecurities I guess.
I don't understand how you're getting <2s for that awk result. I'm testing on slightly older hardware, for example I get 4.6s and 11.9s for the optimized and simple go versions taken from the git repo.

But when I also get:

# time cat kjvbible_x100.txt | tr "[:upper:] " "[:lower:]\n" | awk '{count[$1]++} END {for (word in count) print count[word], word}' | sort -hr > results2.txt

real 0m23.174s
user 0m23.309s
sys 0m1.234s

So my result is 10x slower than yours.

What are you running this on and where do I get one?
$BIG_CITY is where to go when one wants to be completely alone.
It's 2022 not 2012?
There's Glitch if you want a new playground: https://glitch.com/
> #53: 9136668099

weird... wonder why
This seems to only be a complaint about a particular (granted, default) proxy for downloading modules, and no criticism of the actual module system (which does not depend on a proxy) nor the idea of a proxy (which is pretty easy to run, especially when compared to most other languages' package repositories).

As to the criticism, if a public module isn't playing well with the default proxy, it's a good sign I don't want to use it to begin with.
I’ve heard the shared code argument before, but in practice the only shared code I’ve really ever seen used is shared type definitions. Now shared type definitions are huge, but they’re a solved problem using JSON schema, GraphQL, or some other interface definition language that don’t necessarily require the same language in the front end and backend.
Agreed.

I would offer the word “solitude” to describe willful time alone.
How could they stay on free dynos? You can't be running on a free dyno 24/7. It's like 16/7 or something.
I have no alts, but to those of you compared to me by this engine : "Hey, good lookin'!"
Any interaction with another human is politics.
Shhhh. . .
"Victims", really?!?
I'd rather live in a society where businesses follow the law - and if the laws don't make sense - we change them.
TPC-C
Right. It's kosher to have one simple "New(..)" function per package, for the key type in the package, but all the other constructors shall have verbose names.
A lot of decent management books indicate politics are natural and your job as manager is to manage them. Pretending they don't exist or can be done away with is unrealistic and counter productive.

Politics in this sense is kinda negative but not really - acknowledgment that different people and groups may reasonably or unreasonably have different priorities, goals, perspectives, preferences, methodologies. I've spent most of my life under the Delusion of "reasonable people will agree if we just sit down and talk", but I no longer think that's the case (not the least because otherwise eventually you have to label everybody but yourself "unreasonable" :).
As techies often we want full, comprehensive, correct unmutable requirements, full understanding for all issues encountered, and flexibility of schedule to reach out architectural and technical goals and standards, and everything else is "office politics".

Difference exists.
Politics is trying to reconcile different perspectives priorities methods and goals. Hidden motives and deception are not necessary part of it.
I don't know that I've ever spoken again to anyone who accepted my invitation somewhere and then insisted on splitting the bill instead of letting me get it. It's a rejection of hospitality, which happens, but it's a signifier, and usually of the end of the relationship. Someone who won't break bread with you is someone you can't trust, and someone who does break bread with you and then betrays you is unworthy of your disappointment.
LEO & news orgs - both of whom are in the exact position to know better

They are not going to stop producing more of the "stranger danger" nonsense, no matter how politely they are asked. You have to start with the consumers if things are ever going to improve.
I (like other commenters) can understand where you coming from. There are, of course, lots of solutions if you are willing to try them.

Out of curiosity, have you tried the easy ones, like regularly inviting other folks over for a group dinner? Or joining a rec league, or a shared activity group?

The latter is nice, as it's a weekly forcing function.
> Businesses choose to send this data to the ad platforms for their own benefits - better targeting, measurement, and ML optimization of their ad campaigns.

I think the post you're replying to is concerned about the moral rights of the people whose data is sent, not whether sending the data is beneficial or harmful to the business that sends it.
Well, I might be over-worrying. But yes, for the last few years I certainly felt like a "premium candidate" as your sibling commenter described it. The last time I changed jobs in the mid 2010s, I applied to 2 FAANGs (only) and had offers from both. Contact with the actual hiring market this month has disabused me of that perception, at least for now!
This is definitely pushing a certain politics. Do we do that here?
The prefix “AO” in the name of a Russian business entity is like the suffix “Co.” in English; it’s an abbreviation for aktsionernoye obshchestvo (акционерное общество), joint-stock company.
This could be a line in Alan Parker's "Urban Warrior" bit. Some watchwords strung together, inadequate for the situation they are being posed in.
It really depends on the employer, I’m a “mid level” engineer with ~10 YOE and I’m struggling to find offers in the $155k (mid-level) to $175k (senior) range.

Keep fighting the good fight and don’t let yourself be under-valued.
As you correctly point out, password authentication should not be used for SSH to begin with, but more importantly fail2ban is not a piece of software written to stop brute force password attacks, it’s a very general tool for triggering network blocking actions based on specific patterns found in logs.

My only point being that there are some great use cases for fail2ban, and while this isn’t one of them it’s important to remember that this does not make fail2ban a misdirected or useless security initiative by default, in case anyone gets that impression from reading these comments.