skysight-inc/HackerNews huggingface dataset:
> Similarly, we don’t write unit tests for every new feature. The thing that hinders our ability to unit test is precisely the focus on static structures. Static methods and properties are global, harder to replace at runtime, and therefore, harder to “stub” or “mock.” Those capabilities are very important for proper isolated unit testing. If we cannot mock a database connection, for instance, we cannot write tests that don’t have access to the database. With our code base, you won’t be able to easily do test driven development or similar practices that the industry seems to love.

Why bother with stubbing, mocking and changing code to be testable if you can use the more useful integration and/or UI tests? They will bring in some great value without having to rearchitect code.
That's not entirely correct, or at least misleading. Rust will provide the same guarantees for variables in memory shared between processes as for variables in memory shared between threads. But you have to make sure that any locking datastructures you're using (like mutexes or read-write-locks) are able to work across processes.

(There are limits, though: if you map the same physical addresses to different virtual addresses, Rust can't help you. However, that is independent of threads/processes, because you can also do that in single-threaded programs.)
This reminds me: the Allegro library has a way to compile bitmaps into series of mov instructions to make blitting faster. This was somehow the fastest method on early x86 processors. Loops were expensive back then.

See https://liballeg.org/stabledocs/en/alleg016.html
That’s what I thought until recently, but it turns out that PEM refers to just base64 wrapped with ——BEGIN—— and ——END—— lines, and the encapsulated data does not have to be DER.

https://datatracker.ietf.org/doc/html/rfc7468
Oh no, that’s even worse. If life is ubiquitous in the universe, it means we would expect intelligent technological life to be even more common than otherwise. The absence of such civilisations, despite weak filters at the “low end” of the Drake equation, implies an even more dangerous and inescapable filter in the high end of the equation where we are now, that wipes out later stage civilizations.
Not really related, but it funny that this and the websocketd post were right next to each other:

https://imgur.com/a/sbHddsd
For me they excel at teaching you stuff, if you need to understand something on a high level some of them are worth it
I worked at the MySpace parent company during the whole growth explosion. Microsoft would send us custom MSSQL patches to fix issues the team was running into. Sure, someone could have patched an open source database but not everyone wants or needs to staff engineers of every category.
3D Bitcoin transaction analysis in your desktop browser
Ah, a Konfederacja fan!

(For context: in Poland people who demonstrate the kind of political illiteracy displayed in the comment above generally vote for Konfederacja party, which can't be easily described in traditional categories due to how illiterate it is.)
It's worth mentioning is that "us vs them" here is that one side which wants to bring back the rule of law and polish constitution (Wrzosek) and the other wants to keep ignoring it (polish government).

Most people wouldn't call that "us vs them" though.
What needs to be done is show a LIST of accounts who have downvoted or flagged a post.

Then we can find out if there really are bots on this site. (I am leaning towards there are.)
Lua for instance has specific syntax added for it: https://www.lua.org/manual/5.4/manual.html#3.3.8

Languages tend to have workarounds or conventions for this kind of code where there isn't special syntax for it:
https://stackoverflow.com/a/865272 (Python)

Also just because C or C++ codebases don't use GC doesn't mean it's not useful. I've never used it either, but I can think of situations where I would use it. Like I've not used most of the algorithms I learned at uni but I can still think of where I might use them.
It's interesting to see that people on both sides are angry -- for different reasons. People on western Internet are angry at Intel for having issued an apology. People on Chinese Internet are angry because they view it as a non-apology, i.e. Intel still goes ahead with the ban. I see people -- including Chinese diaspora -- calling for banning Intel.
I am a bit ambivalent on this. Most of the small windows in the mock-ups would actually be palettes, not true windows. It also works much better in an application-centric OS such as MacOS compared to window-centric ones like Windows or most Linux DEs.

Sure, the proliferation of floating palettes in the 2000s was a bit much, but on the other hand monolithic single-window apps for everything is terrible. Slack, for example, would be much better if we could different windows for calls, chats, and the channel list. As it stands now, we have either one window with conflicting functions, or a lot of repeated information taking up quite a lot of space. Ultimately, this is the result of cramming everything into one window because some OSes confuse windows for applications. It is grating to see this design pattern on macOS, which really does not work that way.
What I find hilarious is that languages like Java & C# is the essence of Object Oriented Programming but if you want to keep things performant you should avoid creating objects.
Also, all the domain of fluidics, such as

https://en.wikipedia.org/wiki/Paper-based_microfluidics
How do you know those issues thyroid issues were not caused by fossil fuel pollution? Many more people have serious health issues or die every year due pollutants emitted from burning coal (and other fossil fuels but coal is by far the worst) than the total death count related to Chernobyl was, its not even comparable.

Poland is especially bad in this regard. It consistently has one the highest PM10 and PM2.5 levels in Europe (and I assume it should have been much worse in the 80's)
I'm always a bit skeptical about physics because whatever models we find and celebrate now will have to be adjusted at some point in the future. I wonder if there's any way of knowing that something is indeed impossible or if our model of something is final and set in stone.

I'm happy there are at least some universal constants like absolute zero or the max possible temp or planck length.

And as for anything FTL, I hear it breaks the rules of causality and that seems to be a big no-no and is indeed impossible.
Doesn't work for torrents with RAR/ZIP files. The ref-link is also one-way. If I have existing content on my disk, and want to (partially) seed a torrent - can't do that easily.

I'd like a way to say: "Everything inside /public is public-domain content, seed it against any valid torrent if someone shows up with a valid hash"
Permanent link (press 'y' on any Github link): https://github.com/wader/fq/blob/eb4a6fdbd6ef3a09fc59802e96e...
> Pollard the traitor is a hero to Israel

Well… obviously? How else could Israel treat him?
This and this on my HN page are back to back. I find it funny: http://www.adama-lang.org/blog/woe-of-websocket/
Or that lovely story from 2015 of a Saudi millionaire who tripped and accidentally got his penis inside a woman: [0], was cleared of all charges.

[0] https://www.independent.co.uk/news/uk/crime/millionaire-ehsa...
Don't overthink it! I've found counting and going through the alphabet at bedtime to relax, but they will get it eventually whatever you do. My son has always been fairly reluctant to read and write (he's 6) and all of a sudden he can read books at his age above and write several pages of text. It happened so quickly that I'm not conscious of anything in particular we did, he just levelled up developmentally.
I honestly don't know, maybe. There are libraries for it too though. https://hboehm.info/gc/
Yes pretty much like taking a statically typed language, making compile time type annotations optional and claiming victory that it's easier for beginners. Now they would get runtime exceptions instead.
The glide ratio of an auto-rotating helicopter is not great; not a very hard target aerodynamically. The glide ratio is not going to be great if all 36 engines are out but I'd expect crash landing as a glider it should be totally doable and probably easier than auto rotating a helicopter (nose down to keep the speed up, flare at the right moment). And of course installing some parachutes on it is probably going to be a thing as well.

Of course that scenario is not great for either this thing or a helicopter in a dense city.
I asked about migration guide in the chat a couple weeks ago. Found 2-3 on random internet sites that made it sound too easy - so I was expecting some gotchas to be mentioned, but got crickets.

I will be trying to migrate to a new server at different host/data center in about a week - hope it's as simple as the base guides I bookmarked make it sound.

Definitely would love an official guide and some kind of check things script maybe - but we'll see, maybe it's not too hard - dunno yet.
I pay in full rather at the end of the billing cycle because I have it set to auto-pay and then I don't have to worry about it. But then I barely ever use my credit card other than for reoccurring payments or major purchase. I'll just use debit if I am buying tomatoes why barrow for small purchases in the first place.
> the best case is that we are simply the first (this is my personal bet)

This would be odd given that 95% of the stars to ever be created in our universe have already been made. https://nautil.us/issue/104/harmony/the-universe-already-mad...
I read up to 5-6 “problems” and still don’t understand the exact setting they are talking about. All websocket services I have used alleviated tcp issues by some sort of a heartbeat or planned close/reconnect (just like long-polling, which is basically the same thing from tcp perspective). State sync is not a problem if you don’t lose any state on server restarts, which you shouldn’t lose anyway. Moreover, you don’t have to have a conversation over a socket, request can be made over a regular xhr, only realtime events ({type:event, msg:{id, status}}) go back via socket, iff the client is interested in these. If a socket fails, they may reload the page and get this info via xhr again (/api/get-status?id=). The queue is usually natural, the messages are usually realtime.

the state on that machine must survive the failure modes of the proxy talking to it. That is, the state must be found. … However, this creates a debt such that a catastrophic socket loss creates a tremendous reconnect pressure.

It is terrifying indeed, but boils down to “don’t try to resend the past”, no FUD required. The state of a socket is the same as of an http request: they connect or auth with some id/jwt and then a socket can send events back again. If you can’t hold that reconnect+auth pressure, you likely can’t hold long-poll reconnect+auth pressure, and less likely but still probably you can’t serve clients who refresh their pages aggressively. Put an adaptive rate limiter before your routes already.

This is a talk with strange assumptions and without technical details, what is their point beyond selling some Adama? We lived up to the point when people are afraid of streaming in favor of repeated polling?
Kajiya: Experimental real-time global illumination renderer in Rust
I can think of only Common Lisp, which has optional optimization hint that specific object won't get passed outside of current stack (declaring something DYNAMIC-EXTENT, to be specific). Mind you, it's only a hint, and there were specific techniques for writing "nonconsing" code (in Lisp lingo, "non-allocating", thus not creating garbage)
Agreed. It's always the people not paying for things that seem to be complaining about paying for things.
To me this sounds like a normal corporate non-apology. If I read the article correctly, Intel's policy to not allow suppliers to source from Xinjiang still stands, forced by Western regulation. They are just apologizing that the policy caused offence. I would prefer if Intel would outright condemn Chinese behavior in Xinjiang, but this particular event doesn't outrage me much.
Cool idea, but why Twitter? Seems pretty unfitted, as you can't sort by date etc.
> It turns out, people can relate to, be influenced by, and learn from participating in stories with other people a LOT more than they can by changed by propositional debates and lectures.

I kind of agree, but I also think that this can change over a large enough amount of time, given that we have a permanent written memory in form of books and a basic instruction for everybody. Kindness and respect of laws for example can be shown and taught as beneficial in the long run for society and you as an individual without the need of a tale or a superhuman being. That's why I'm talking about phases in the humanity journey. And beware, I'm not being judgemental here, just like an adult is not "absolutely better" than a child.
yes?

Prison labour is fundamentally slave labour, especially in the US. The US prison system expanded massively after slavery was made illegal, especially privately run for profit businesses that are allowed to sell prisoners as laborers for below real market rates.
> history of being woke?

Define this in a way we could pattern-match against their behavior?
Not really. If there's no local law against it then it's legal especially outside the cities.
We are falling into Great Attractor, which is also falling into Shapley Attractor: https://www.youtube.com/watch?v=PEAY7LNhdxM
When I worked in aws, this is primarily used to check for permissions of an object. I know how dumb customers can be, for the most part this is used to see why a customer cannot delete a bucket or object those sort of things. I don't remember having ability to see actual customers data only metadata is accessible.

Edit: Based on what I know, I'm pretty sure support will not be able see any of the customers data.
Someone was theorizing that this allows Google to not outright suspend accounts for copyright violations. Previous implementations was that you and your businesses will be digitally dead across Googlescape. That was more controversial than this would be.
One option that cannot be ruled out, and probably can never be totally ruled out, is that they are in fact out there, and are in fact transmitting quite openly, and we're simply too technologically limited to be able to detect them.

Over the last century, our own radio technologies have undergone a continual progression in efficiency and data rate. Imagine someone with the latest radio technology from 1920 trying to monitor our civilization's progress. By 1950, a lot of things seem to become undecodable (FM), and shortly after that a lot of carriers seem to simply disappear. Assuming they manage to lock on to the frequency-modulated edge of a suppressed carrier in the 1970s, things start to switch to a multitonal digital encoding. Then round after round of increasingly complex digital encodings with error correction and encryption, with larger and larger symbol rates and symbol set sizes. Frequencies climb into the thousands of megahertz. Hundreds of thousands of carriers are used in parallel.

By the early 21st century it's unlikely our 1920s engineer can even detect radio signals from devices like a modern cellphone even if they had it in the lab with them -- and they blatantly transmit high power beacons in the open to find other devices. Too low power, too high frequency, data encodings based on mathematics not even invented yet. Even if detected, there would be no obvious modulation, and it would look a lot like a white noise emitter.

Maybe it's not worth even attempting until the receiving civilization would be able to decode more than just a few bytes from a signal that could be affordably transmitted from a single star.
I think you can un-shock yourself.

The mail sent to a "random/generic" address (let's say info@nicesite.com, provided that the site is large enough to have a permanent site admin) would be read by a low level support person, that would forward it to a manager, which would forward it to a higher level manager that would forward it, after having discussed it, to the site admin.

The 30 seconds is totally unreal, let's make it 5 minutes, but these five minutes are spent after another 20 minutes of internal moving/talks before it gets to the site admin.

So my half hour at 40 US$ may become 20 minutes at US$ 40 and 5 minutes at US$ 120 40/3+120/20=19,33, not far from the 20 dollars attributed to 50% of cases.
Code can almost always be paged out, even without a swap file, because it's memory mapped from files on disk. In fact running without swap makes this behaviour worse (i.e. it happens sooner and more suddenly) because then the kernel can't prioritise keeping currently running code in memory over keeping rarely-accessed data in memory. In general you should have some swap and run with earlyoom if you want decent behaviour in a low-memory condition on linux.
Engineering is a pretty slow-and-steady profession. Best practices, tests, and robustness are part of the point. There's an argument that a good engineer would know when those criteria are satisfied and so be more able to run up to the cusp, but I don't think it is fair to say engineers necessarily (or typically) work against inefficiency. Adding more AWS nodes might be the boring, prudent choice.

Redundancy is a form of inefficiency. Failure paths often introduce inefficiency. Well defined tolerances introduce inefficiency... even though you know those motors could handle a couple extra volts...
The problem is that privately run prisons require prisoners to pay for things that are realistically necessary despite not being legally mandated. They overcharge more than airports, and pay next to nothing.

They suffer because of it, and non-prisoners suffer as well, as they're competing with what is functionally slave labour.
I have been looking into this lately for a company that wanted to host important data on AWS S3. I couldn’t find conclusive information in public domain.

It’s hard to decipher the AWS Data Privacy policy:

https://aws.amazon.com/compliance/data-privacy-faq/

In section Who Owns Customer Content, it’s implied that AWS doesn’t access customers’ data:

“As a customer, you maintain ownership of your content, and you select which AWS services can process, store, and host your content. We do not access or use your content for any purpose without your agreement. We never use customer content or derive information from it for marketing or advertising.”

Here, the statement is we don’t access customer’s data without customer’s agreement. But customers do agree with ToS in which different statements might be included.

In another place it’s mentioned, if governments request, AWS will comply. Considering that governments obviously request access from cloud providers, and obviously require them not to disclose the backdoor, I came to the conclusion that governments have unconditional access to data held in data centers of companies such as Amazon, Google and Microsoft.

As for non-government access, there are claims that Amazon uses data or metadata to launch competing products. If I recall correctly, AWS may collect some data presumably to maintain and secure the platform and fight abuse. The counter argument is that, AWS will not risk a profitable business; but AWS is too big to be easily impacted and might act on good opportunities.

It would be great if people working in AWS or similar platforms could chime in.
Indeed. We should also not forget that coal ash significantly contributes to radiation exposure in humans. Every winter it's the same all over Poland. There are places like Krakow that consistently rank among the most polluted towns in the world during winter [1].

[1] https://notesfrompoland.com/2021/12/15/polish-city-records-w...
... for each 1,000 mails sent, heck, seemingly they sent 200-300,000 of them!
syntax is ok, but last time i check, it's slow af XD
Not buying products from forced labour concentration camps is generally not an issue of 'wokeness'.

Hypocritical wokeness (in the pejorative sense) would be Nike shifting from performance atheletes to SJ athletes like Kaeernick, who sadly has made a direct comparison between the NFL selection process and slave auction. And Nike of course sources shoes in Asia from factories with very suspect labour practices.

The US et. al. should absolutely ban anything coming from districts where people are making stuff from concentration camps.

If China were a small country, they'd never be able to get away with it, it's not a huge story because everyone is afraid of the consequences.
Your comment is valid about the average user. My comment made it quite clear I was not asking that category. These were not people who did not understand what files/folders where. They very clearly did.

Even the least technically competent Windows users I've known understand files and folders.

People who are primarily smartphone users - your statement is quite on point there.
The article says:

> Why? All the crash test dummies are male. Even the “female” dummies the government requires in tests are just smaller versions of male dummies.

Wait, so are there or aren't there female dummies?

Secondly, does "All" refer to only the U.S., or Europe too? It seems not.

For example (see https://www.theaa.com/driving-advice/safety/euro-ncap)

> From 2015 Euro NCAP added a new restraint test, a full frontal impact against a rigid barrier at just over 30mph with small female dummies in the driver's seat and rear passenger seat.

and

> Improved child occupant protection (2016)

> Euro NCAP introduced two new crash test dummies representing a 6 and 10 year old child to better assess the effectiveness of restraint systems. Compatiblity with i-Size and a wider range of universal child restraints is also assessed.

https://www.autoexpress.co.uk/car-news/108721/women-at-great... seems to be a much better article, covering a lot of the misconceptions in the one from the topic.

Also:

> With men making up 49 per cent of the European population but 76 per cent of road deaths, using a male 50th percentile dummy allowed testers to ensure that assessments would relate to the largest proportion of accident victims.
They have done it before with New Mexico.

Talk about grasping at straws. The Mexican-American War ended in 1848, and the USA bought the rest of New Mexico in 1854.

Maybe we should discuss instead when Joe Stalin starved millions of Ukrainians to death in the Holodomor[1]. Or maybe that was just an "internal matter"? Or perhaps just Western propaganda?

There is quite the history of wrongdoing by all countries since 1854.

[1] https://en.wikipedia.org/wiki/Holodomor
This reminds me of a question during one of my PhD exams (physics): how would you communicate left and right to remote civilizations, using just text (there may have been other limitations).

The idea was to use the Wu experiment [1] and the lack of conservation of parity (= there is a difference between left and right, and you can explain which is which) but was a bit taken aback by the question.

Interestingly the first thing that popped in my mind was the peptide torsion direction (one of them is preferred in terrestrial life) and I started to wonder about alien abductions etc., and I fortunately got back on track with down-to-earth physics (thanks Ms Wu!)

[1] https://en.wikipedia.org/wiki/Wu_experiment
I have a large number of under shirts as well, I actually give them as gifts sometimes, I like them so much (nice feel + deep v-neck is super nice), never came across something like that in normal stores (but again, I hate spending too much time in fashion stores :p).
I have severe doubts that a simulation of the fidelity we observe in our existence is practical to build in our universe.

It certainly isn't. You can't simulate three atoms using two atoms. There's no reason another universe has to abide by the same rules as ours, though. It's not something anybody should actually worry about but it's about as scientific an idea as string theory is.