skysight-inc/HackerNews huggingface dataset:
/dev/urandom is not part of POSIX.
POSIX only defined/dev/null, /dev/tty and /dev/console
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1...

But uuencode exists in the POSIX standard.
https://pubs.opengroup.org/onlinepubs/9699919799.2018edition...
Is that true what is happening in Australia?
Having an interface for a single implementation is just redundant. A class already has an interface - it's public API.

Other than that I agree, most "best practices" are subjective and boil down to personal preference.
I will definitely continue working on this. It's great to hear that people actually enjoy using it.

I actually moved it to a separate domain, because I don"t think people will remember haxplore.pabue.co when they think about HN.

You can now find it here: https://haxplore.com
I don't consider myself an authority on this, but I take it to be a gentle bit of comedic irony, used to describe aesthetics that are generally the opposite what people associate with "hardcore," the best known earlier use of the suffix. Compare hardcore with, for example, prairiecore, cottagecore, dadcore, nerdcore.

All of these terms describe an aesthetic that references the stereotyped essence of a way of life. But these new uses reference a way of life typically stereotyped to be approximately the opposite of "hardcore."

All of them put a little smile on my face, but prairiecore is my favorite: https://aesthetics.fandom.com/wiki/Prairiecore

Edit: Language is fun. There are eight replies to the parent comment so far, and almost as many interpretations of "core," with different connotations. We're all sitting here understanding the word "cottagecore" perfectly well, but having subtlety--yet importantly--different subjective experiences while doing so.
Why? Wouldn’t centralized larger farms be more efficient?
This should be the preferred way to ride all local transit systems. One price for the whole family, ride as much as you want for the month (I think month is better then year - easier to budget, and if you move you are not out as much). If people aren't willing to pay for the pass, your system isn't useful and you need to fix that. Because it is unlimited rides people are less likely to think about using the car for trips that could go either way.

Note that I said local. For trips to other cities it might (or might not) make sense to charge a different price - such trips are not as common.
The thing is that a strict hierarchy is enforceable. A shadow hierarchy is one that can be circumvented if needed. If the organization encourages lower level devs to "skip" up hierarchy levels if needed then they do. If a bad manager doesn't like it, they can take it up with the dev but in that case the dev hasn't really done anything wrong at all.

It's largely an issue of company culture.
Forgetting to turn off a phone is annoying but something I can understand and have some patience for. If a concert has 500 people and and you forget just 0.2% of the time, then there will be at least one who will accidentally forget. It sucks but it happens, and most of the time the phone owner is just as annoyed as anyone else.

Standing around chatting is something else entirely. Standing around chatting after being told it's not appreciated is something I can only accurately describe in words I'll omit here for politeness.
I came to KC via Fripp because I'm a Brian Eno fan - 1980s.

And even tho ELP was a first love, Court is one of my least favorite KC albums (ref: Greg Lake, Pete Sinfield). I like it well enough just not as much the stuff with Bruford (Yes was another 1st lv).

sidebar: Leaned yesterday that Jon Anderson sung on a track on Lizards
You've got me beat by two. I actually first discovered Jakszyk around 2000 when I bought an album by Saro Cosentino because I wanted to hear more John Giblin bass playing. My favorite track was the one featuring Jakszyk and while I was tempted to dig deep in search of more work by him, I failed to follow through until the Jakszyk/Fripp/Collins album came out.
And the bridge collapsing would usually not kill people but strip all their clothes.

Also you can start a bridge in your garage.
I am all against standards and engineering boards defining what is right and what is wrong, but at the same time I also favor software developers being held civil and criminal responsibilities for the outcome of their work. It is pretty hard to have the second without the first, so here I am at a crossroads.
Only tangentially related, but POSIX certification doesn’t require that you don’t have extensions, at least I don’t think so. I could’ve sworn macOS supported long options on its BSD coreutils.
At no point in the first half of the story (ran out of time to read the whole thing) did I see the author using their own code review tool!
Extremely happy with my Fairphone 3. Look forward to five more years with it before buying another one.
Hey again.

So, after doing a few more tests, it seems like I was incorrect, my initial recording was in stereo (I'm happy to admit when I'm wrong!)

I feel like the issue was more to do with a lack of stereo separation than anything being wrong.

For example, I tried making sounds on either side of the sound field, but I really couldn't hear any change positioning in the stereo image (and I'm using studio monitors).

Sounds like this might be more of a limitation of using the portrait orientation microphone positions that anything else.

So, I'd would definitely consider offering some flexibility there if that's possible. It would also be great if the UI showed twin level meters or similar to confirm the stereo (would help to push the idea of the additional value offered by stereo as well?)
> Are Software Engineering “best practices” just developer preferences?

Some are, some aren't. Some are good practices but the state of the art evolves and better practices are uncovered.

And it's really had to tell the differences. it's a young field.
> incredibly arrogant and ridiculous

> The FSF (and particularly Stallman) hates

> FSF's response to these things are […] controlling and attempting to stifle competition

The “hate” seem to be all on your part.
A Plug-and-Play Method for Controlled Text Generation
I hope their customer support continues to be good.

I had a hit on HN with a side-project last year [0]. It delivers public domain books in chapters to your email. So I was needing to send over 1,000 emails a day from day one basically.

I initially used SendGrid for my project, but SendGrid's free trial had a limit of 100 emails a day. Well, I just needed to upgrade, right? Wrong. Sendgrid had a rule where it was impossible to upgrade from the free trial until the trial period was over. So 90% of my emails were not being delivered because I wasn't in a paid plan and I couldn't upgrade to a paid plan.

The worst part is that it wasn't very straightforward to understand I was in that catch 22. It took me about 4 or 5 days of sending their customer support messages and them taking too long to reply and not being very clear in their replies to understand the whole issue. And even proving that my traffic was legit (the HN post was enough evidence that I was not sending spam I think) was not enough for them to allow me to upgrade.

So I immediately changed to MailGun. They had similar worries about a new account with significant email traffic, but I sent an email to customer support right after signing up, they replied in an hour or so already allowing me to upgrade. Never had an issue with MailGun and I am very happy with their tech and service.

I am now creating a business on top of email delivery and staying with them. Hope this acquisition doesn't change much in that front.

[0] https://news.ycombinator.com/item?id=24307752
Performance is not predictable, and basically everything is cache-miss.

I love JS but this statement is absolutely true.
The primary reason speeding is such an issue in America is because we build our roads for high speeds and then put arbitrary signs limiting that speed. Roads should be designed for the speed you want drivers to go at.
IMO, the (archeological) designation of "ceremonial" applies to all these. Distinctions between religion, politics, culture and such are often only visible once you are culturally fluent.

Roman Temples tended to have all these roles. Ceremony & Religion. Political activity. Treasury/mint activities. Etc.
With the see, was that perhaps the funk fingers (drum sticks strapped to his fingers) that he was using and not his actual fingers?
And here I am, trying to stave off that inevitability and figure out how to shepherd a motley array of kitchen implements and old extension cords through an uncaring world. As Steven Phillips-Horst tweeted, on the aesthetic and moral wretchedness of a Container Store paper towel holder: “I’m meant to be this heinous dildo’s nanny between a Chinese factory and a Jersey landfill?? I’d rather die.”

Somewhat ironic. I actually like the Container Store because it's a curated selection of items their merchandising team prepared and ostensibly deemed "the best".

You want a real hyper-consumerist hellscape? Go onto Amazon, search for "spatula", and sit in devastating awe at the thousands upon thousands of results all coming from the same Chinese factory, but under a hundred different cringy brand names. Fuck online shopping; I'll drive to Williams Sonoma and have what they're having.
This is similar to the premise behind my "software archeology" tool idea. While working as a lowly developer at a medium-large company, I kept finding case after case where badly coded software was doing dumb/wasteful things, but I lacked the authority to fix problems from a systems perspective.

I fantasized about what if there were some kind of internal company web app, a portal or dashboard, where people at the highest levels, if they cared (I am not even if sure they did), could drill down to a "fractal level" (as you called it) and see what the software is actually coded to do, presented in a way that makes sense to a non-programmer/higher-level understanding.

The elevator pitch for this kind of IT product would be: "Software runs your business, and you don't know how it works."

Unfortunately I never could figure out how to actually turn this into a real thing. None of the common approximations of software (modeling) do a very good job of capturing subtle aspects or of being more understandable than the code itself. The one conclusion I did come to is that it would have to be something where low level developers interpret and model the code to digest it for whatever format the portal uses, and not some kind of automated distillation or analysis of the code.
Unfortunately, no data on social mobility was used in the making of this ranking.

The authors picked several factors like which they assume lead to improved social mobility (like births/woman), score countries out of 100, then perform a simple numerical average them to form the mobility index. Look at page 205 of the report for the list. They don't validate that the factors are actually related in any way to mobility outcomes.

https://www3.weforum.org/docs/Global_Social_Mobility_Report....
I think this is not a lot different than Bezos types visiting Burning Man on a VIP package.
Does anyone know the status of the zheap project? I always hope to say news in postgres release notes, but nothing so far.
Classic case of https://www.urbandictionary.com/define.php?term=STEMlord
This is part of why I want to move towards management. I'm not an incredibly gifted developer, I don't live and breathe code, but I do understand the process and the challenges that get tossed at devs, and would love to make their lives easier.
Knowledge comes from empirical verification and logical or mathematical arguments. Experts in relevant fields are more likely to be correct and capable of understanding the subject material than the average person who expresses skepticism. That doesn't mean infallibility, and experts often enough disagree with one another. Violence has nothing to do with it.

When there is a consensus around a well established scientific set of facts or model, skepticism isn't warranted by the general public. People pushing conspiracy theories under certain circumstances are a danger to the public on large media platforms. Therefore, I support them being removed.
There are many, many more human-animal contacts outside of that lab than inside it. It's literally a billion to one.
> and some higher level libraries for using WebRTC

Not libraries - we’re building APIs that allow you to create rooms/channels, connect participants, manage authn/authz, ingest via non-WebRTC protocols (and still broadcast to participants), and trigger serverless code based on events in those channels.

Those clients will still connect over WebRTC using any browser, native client, or client abstractions you build - one of the best things about WebRTC are its browser APIs and existing set of clients.

In the meantime, we’re launching a “managed TURN” service for teams who already have WebRTC infrastructure but who need help scaling and securing.

(I work at Cloudflare and co-authored the blog)
It’s best practice to apply best practices when it makes sense.

The catch? Knowing when it makes sense requires experience ;)
Also having to deal with the differences between different markets, internationalisation, auditing required at larger size, greater reliability requirements, etc. And over time, the first designs will turn out to have problems, so you have to rewrite/replace/refactor, which may end up having multiple systems running in parallel for a long time. Complexity accretes.
Google Cloud URL monitoring, which is garbage anyway, affected.
> ensures that the generation that takes over after us will not be prepared

Recently there was a post on the front page here about managers making jokes about firing their employees.

From what I remember, most of the comments were a variant of "that's great advice".

I'm older than the average demographic here, and I have to say I was taken aback by those comments, because I thought that type of thing would be common sense (the Golden Rule).
Tip: Scotch tape. I was immensely frustrated with the fingerprint sensor on my FP3, which would only register in perfect conditions, so I had to type my password half the time. Somewhere online I read the tip to put a piece of scotch tape over it, which sounded utterly ridiculous, but at the same time so straightforward and harmless that I tried. I have no idea why it works, but I'm only typing my password whenever the "extra security" counter kicks in now.
Framing it as "5 levels deep" is only a disingenuous attempt to making it sound more complicated than it really is.

Who do you think you're even talking to on here?
>Pretty much. IT as a field is a toddler.

It's exactly as old as nuclear engineering.

If it's a toddler, it's because of the mentality of the people involved, not because there was no time to figure things out.
> Updating an Android device without chipset-vendor support is unprecedented, but Fairphone still spent the money and partnered with the LineageOS community to make it happen.

I know it is unprecedented . . . for a manufacturer to endorse releasing Android versions without chipset support. But, seriously, LineageOS does this all the time with their supported devices.
Was it specifically replaced because of the GIL?
To some extend best practices are just developer preferences, but some best practices are also due to experience which has shown alternatives to attract problems down the lane.

Personally I think the most important thing is to agree within a project, what style and what practices to follow, so everyone is going in the same direction.
This should in my opinion make the code more maintainable and extensible, due to the reduction in cognitive overload for the developers involved.
Totally agreed.

Be wary of posts and articles which talk about an universal "we" as if everyone thought the same.

I, for example, care more about the philosophical aims of the FSF and RMS than about the finer technical points. That Linux is a very useful OS for me is a bonus. So "we" do not just care about tech; "we" also care about users rights and freedom.
Blame the contractor is what you normally do in this case :-)

I once built a system reverse engineering a program used for soil analysis to see why one of our bridges fell off its suports.
Much to my chagrin, it's not well supported in the US - TLDR; it has 7 of 15 US 4G bands and 3 of 8 5G bands.

US carriers generally use 8 bands of 5G: n2, 5, 12, 41, 66, and 71, as well as mmWave bands n260 (39GHz) and n261 (28GHz). They also use 15 bands of 4G: B2, 4, 5, 12, 13, 14, 17, 20, 25, 26, 29, 30, 41, 66, and 71. They vary by carrier, and bands 5, 12, 66, and 71 overlap between 4G/5G support, see [1] and [2] for more details.

Resource [3] has a nice quick lookup table for many common phones, for example the Pixel 4a 5G supports 6 or 7 (depending on whether you want mmWave or not) of 8 5G bands and 15 of 15 4G bands. For another example, see [4]; for a couple years I used a Motorola One Zoom phone which I loved for its cameras, battery life, OLED display, Android One rootable OS, storage/headphone jack, and other properties as a device...but it had atrocious coverage. Fortunately, it supported T Mobile's most common bands of 2, 4, and 12, which were present at my home and work, but at quite a few places (usually more remote) I'd have zero signal and my wife would have excellent signal. It also supported 4G bands 1, 3, 7, 8, 17, 28, 38, and 40, but only saw a tower that served those bands when I traveled out of the country for work, which was unfortunately limited to a single trip due to Covid hitting shortly after I bought the phone.

The Fairphone 3/3+ supports 6 of 15 US 4G bands: 2, 4, 5, 13, 20, and 26 [5]. The Fairphone 4 supports 7 of 15 4G bands: 2, 4, 5, 12, 20, 41, and 71, and 3 of 8 5G bands: 5, 41, and 71 per [6]. It's not a bad device, similar to my Moto Zoom it has many other bands that are mostly used overseas, but domestically it will suffer. Fortunately for me, it dropped band 13 (little used by T-Mobile in my area) for the essential band 12, which represents some 25% of deployments in my area. Unfortunately, it lacks 1700 MHz band 66, which is about 15% of deployments, and which my wife has declared to be a requirement of my next phone.

I'm currently comparing the Fairphone 4 (3/8 5G bands and 7/15 4G bands) with Librem 5 (0/8 5G bands and 5/15 4G bands), Pinephone (0/8 and 7/15), Sony Xperia 10 II with Sailfish OS (0/8 and 11/15), Moto One 5G Ace (3/8 and 15/15), Nokia 8.3 5G One (5/8 and 10/15), Pixel 4a 5G (6/8 and 15/15), and upcoming Pixel 6 (expected 8/8 and 15/15). Also evaluating a variety of LineageOS devices. But it's really hard to cut Gsuite's all-seeing eye out of my digital life when domestic telecom coverage is so spotty and weird.

[1]: https://www.phonearena.com/news/Cheat-sheet-which-4G-LTE-ban...

[2]: https://www.phonearena.com/news/Cheat-sheet-which-4G-LTE-ban...

[3]: https://www.kimovil.com/en/frequency-checker/US/google-pixel...

[4]: https://www.kimovil.com/en/frequency-checker/US/motorola-one...

[5]: https://www.kimovil.com/en/frequency-checker/US/fairphone-3

[6]: https://www.gsmarena.com/fairphone_4-11136.php
Indeed, I buried the lede in this post. But I wanted to have fun with such a silly idea, first.
I don't think it's thin even in that context. For example, invoking a hook comes with a bunch of rules beyond "just javascript". You shouldn't invoke a hook conditionally. You shouldn't invoke a hook in a loop.

I've run into state/props mismatches due to the diff resolving differently than I thought it should. It's possible to solve this, but it further breaks the illusion of a thin layer.

Maybe it's a different way of thinking, but I don't think two-way binding is inherently thicker. To me, thickness is related to the amount of "mechanism". A handlebars-type templating system seems much thinner to me.
>Real-time typically refers to communication that happens in under 500ms

500ms?

Am I missing some key information in the context of WebRTC? Or something inherent of TURN ( Traversal Using Relays Around NAT ) ?

But it is interesting they are basically taking all the pain of building a web / internet Real Time communication system with open standards so I presume anyone could incorporate into their apps instead of getting lock in by third party solution.
Hi! Current neural engineering PhD candidate here. Your question is one I had early on when learning about brain modeling.

Noninvasive EEG sensors measure the synchronous activity of millions of neurons. While circuit equivalents of individual neurons are a well established idea (see Hodgkin-Huxley models for an early example), this approach does not scale to models of the full brain. There is research into using neural mass or neural field models as generative models of EEG/MEG, but those are statistical models over larger volumes of brain.

For a good overview of current efforts in EEG modeling, you might try this open access paper: https://link.springer.com/article/10.1007/s10548-021-00828-2
>To my knowledge, one person and one experiment (usually, except where the product is purely mathematical) is enough to propose a new theory (but also to refute an existing one).

To my knowledge theories proposed that way in modern science aren't taken seriously and in our present time are not the norm for any recent major scientific discoveries or research. Those days are long past. New science is done in expensive labs with very expensive equipment and gets funded by grants. The Alvarez Hypothesis was possible because of cutting edge nuclear science that could identify the iridium. LIGO, and every space science and astronomical discovery are driven by really expensive ever growing scopes. In astronomy, chem, physics, molecular biology, paleontology, et al today you'll need an expensive lab and very large grants to do cutting edge work. At this point we're building colliders many kilometers in length. Modern Science is a product of well funded labs with staffing and equipment funded largely by research grants. There are cases in domains like macrobiology where individuals could do field work and find a new species, but the domains where the individual scientist is doing meaningful work are dwindling to none, and you should update your model of how modern science actually operates and is funded, it's interesting.
"Until I met Daniel, I actually didn't know that "smoke testing" was a term with a literal smoke-related meaning. I'd always heard it used in the context of software tests. Daniel used a tracing technique to follow a problem to its source, instead of just making random guesses."

I've always known "smoke testing" to refer to the mythical magic smoke that makes all electronics work. Smoke testing is turning something on for the first time to see if you're going to let the magic smoke out.
Are civil engineering "best practices" just legal preferences?
I agree with you that there are lower hanging fruit than fusion research for becoming a nuclear power.

I do not agree with you that Japan could in practice successfully acquire nuclear weapons with only economic sanctions to fear. I believe that China would be likely to declare war before allowing Japan to become a nuclear power, and I think it would have significant international support. Of course, that would be many years away, as a last resort if all else failed and their weapons program is nearing fruition. But I do believe it would happen eventually.