skysight-inc/HackerNews huggingface dataset:
> The result is a surface full of needles that are 2 nanometers thick – 30,000 times thinner than a human hair – and 290 nanometers high.

Ooh. That's right around the correct range for structural colouration. You could draw designs with this, or utilitarian colour-coding.

Red (700nm) means danger— The spikes will get bacteria, but are too big for viruses.
Amazing. Now all we need is for this to replace all the Electron stuff out there, and sanity will be restored on the desktop.
> the thing about enumeration is you can ensure that you do an exhaustive handling of all cases in a switch statement.

You’re thinking of sum types, or at least something like what Pascal has which is a variant on sum types only with support for integer tags.

That’s not a property of enumeration. Enumeration is simply about numbering. Literally the dictionary definition.
I thought this stuff was mocked out of existence. They can't even use non-euphemistic language to describe the euphemization. "Make the language more inclusive" well its not more inclusive of masters and slaves. And the replacements, "controller and client" or "controller and target", are strictly less apt. Just dumb.
How are folks so comfortable with "target"? Doesn't that have strong connotations of warfare and attack?

(I don't actually care about this, just illustrating how much language is walled off by this kind of hypersensitivity)
Most communication happens on the internet these days. But also, my whole point is the "friends" bubble is increasingly getting smaller and tribal. We don't interact with strangers because our communication platforms optimize and moderate them away. How can democracy work if you can't talk to and convince fellow citizens on various controversial topics?

Even on HN, I was doing fine until I started commenting on political posts. My account started getting restricted when I stated the idea that Tor and similar software being used to undermine foreign governments and the works of many tech companies in this area is wrong, that democracy works for us but the "manifest destiny" approach of forcing democracy on others amounted to neo-colonialism.

If my views are wrong and unpopular, the downvote/karma system takes care of that. What's wrong today is, moderators and algorithms are herding us into tribal camps. People have forgotten how to passionately disagree with others without hating them or excommunicating them. We are being excommunicated from each other for the crime of thinking for ourselves.
Sounds like the layoffs musk did when twitter still was called twitter.
Does anyone happen to know if gemstones such as diamonds are mostly hand cut, or are CNC faceting machines possibly used.

There seems relatively few videos of such machines on youtube, such as - https://www.youtube.com/watch?v=BnKcl2rw-qg maybe I'm not using the right keywords though.

Also - https://www.youtube.com/watch?v=QyNDtjpV2A8
nothing really, probably just me, but it always felt a bit ugly to nest function definitions, plus it can separate the (often single-use) function from the place it is being used in
RIP those who perished - I can't imagine the horror of feeling the ground vanish beneath me. I only hope for their sakes that they died instantly and felt no pain.

Thousands of workers who's livelihoods depend on this port being operational are now stranded financially.

I heard mention of "fuel contamination" affecting multiple vessels. Whoever was responsible for that (if true) should cover these people financially
you did not even understood what k8s does. trust me you want something like nomad or k8s. else you will write your simple k8s thing anyway, its just harder to understand since you just wrote your own solution. k8s even works in small scale, heck it didn't even run at first in really big deployments.
Yes, I meant this K3s as it's trivial to deploy and quite mature by now.
Related is S.js: https://github.com/adamhaile/s

I love signals. I prefer them when making UIs over any other primitive (besides, perhaps, the cassowary constraint algorithm). I try to replicate them in every language I use, just for fun.

I also don't believe they belong in the Javascript language whatsoever. Let the language be for a while, people already struggle to keep up with it. TC-39 is already scaring away people from the language.
Just walk down a hill to accelerate the rotation of the Earth a tiny bit. But when you need to walk up the hill again you decelerate it by the same amount. -- So building a dam preserves the rotational speed of the Earth with respect to the extent of the mass (or more exactly the angular momentum) of the retained water.
Correct me if I'm wrong, but if I was on a different peertube instance, there'd be no way to discover his videos aside from word-of-mouth? As in, peertube has no global search, right?
https://cc.bingj.com/cache.aspx?d=4850435797098829&w=iktuFvt...
I change it every two weeks, but I sleep in a t shirt and underwear, and I don't sweat too much unless I'm sick.
Phones certainly become difficult if you try to avoid both Google and Apple. Is there something else where you found it difficult to avoid both?
Yeah and the alternative Africanamericanlist seems more offensive.
Backups and Bitrot
A quick tale of zombie code surviving through the years thanks to a successful backup strategy.
And blacklist's origin has nothing to do with race. It was originally coinec to describe a list of people involved in the execution of Charles I.
Target? Terrifying warfare connotations. Client? Smacks of historical patterns of subjugation (client states of empires).

Where does this end? Are we to become linguistically homeless, evicted from our verbal environment every time someone finds a way to be uncomfortable with it?
My guess is a skilled craftsman could get within 3% of the optimum solution.
If you scroll down the page of this product, you will see that the card is issued by Coastal Community Bank. It's common that a popular technology firm partners with a bank to issue credit cards.

Yes, APR is going to be 20%+ and even 30%+, but not all cardholders will revolve. Some, if not many, will be transactors and won't pay any interest at all. There is also cost of funds and losses. There is a reason why there is no other 3% cash back card on the market. The most popular set-and-forget card out there is 2% cash back.
> launch it from there after WinPE would run from the first partition.

How would you launch it from the NTFS partition; is that an option while in WinPE or will Windows automatically look for install.wim on other partitions? (met the 4GB problem in FAT32 and split install.wim in two for a successful USB install drive, but it would be interesting to learn how to do this via NFTS).
Thanks!
They need an "Extreme Resilience" check where the maintainer hires a red team of elite security analysts that work full time to try and breach the project. Projects get 1 point for each full time security analyst that worked on this red team over the last 12 months up to a maximum score of 10 points (10 or more security analysts). But score drops to 0 points if the red team succeeded in breaching the project during the last 12 months.
I think they will have to build actual products instead of just making a model available and having customers figure out something useful to do with it.
Not who you're replying to, but it happens to me logged in.
Definitely not in this case.
great point... but in thinking about your comment, it occurs to me that then it could no longer be considered "hand cut."

i found it very interesting that he shared he was hoping for 300+ cts., but had resolved to be satisfied with at least 250. so he did alright after all.
How is that bible verse relevant exactly?
This is one of those points where you need to link to some kind of data or conclusive result actually showcasing this, because you're arguing against a pattern that's been in browser ecosystems for decades. I've done this for larger applications and haven't experienced issues.

Being charitable, the best I can imagine right now that'd cause memory leaks is someone running into the old school JS scoping issues and capturing something in handlers that they shouldn't. That's not the handler itself that's the problem, though - that's the developer.

(Yes, we could rant on and on about the poor design decisions that JS has built in, but that's been beaten to death)
yes! we should tear up more open spaces and build more buildings?
Strongly disagree - it's trivial for a project to just add a small std-lib, or add lodash as a single dep, or just add it directly as source code.

JS projects exist in npm hell because people have been taught to use a library to save typing 10 characters. No standard library is going to fix. Because someone can just call in a new lib that just curries something in the standard lib with minor improvements like caching.
You've a lot less negotiation power as your visa is tied to your job, so you get paid less. You have to leave the country after 30 days if you loose your job and don't get another one.

So if you're keen to move up the US, H1B sounds amazing but then you are in quite a vulnerable position.
Yes seems like audio transcript error. The audio says 192375 instead of 2375 . Same number just the first few digits got cut off.
...seems even hirer with marriage.

I've worked at Silicon Valley startups that were that way. I remember thinking this is really odd how high the concentration was (probably about 70% Indian). Didn't really bother me because it was a great team and honestly one of the best companies I worked at.

It didn't really seem like they discriminated in hiring and I never felt discriminated against at work. It was just that coworkers referred people they already knew.
Modern UI is confusing and disgusting. They're more magazines than useful software.
Fun Fact: one of that topsoil came back and we've been leaning on non-renewable inputs to paper over the damage. So yeah, there's a tie-in to at least two of the existential threats we're dealing with (fossil fuels and agricultural issues). Back to the issue at hand, how many marine fisheries had we wiped out completely at that point?
> in the US you don't need a reason to fire someone

That's not quite what "at will employment" in the US actually means. What it means is that an employer can fire you at any time for any reason that isn't an unlawful reason. It doesn't mean the employer doesn't have to give a reason at all, or that the employer can simply refuse to give a reason if questioned, particularly if there is an allegation that the firing was for an unlawful reason.
I had always thought that kinematic mounts consisted of the three balls on one side and then on the other side, each ball would rest on a flat, a v-groove, and a cone, respectively.

This design seems to have each ball in its own v-groove. Doesn't that require extraordinary machining precision with each of the three grooves?
This article is missing a "What are signals" section. And yes, this does not do the job:

> Within JS frameworks and libraries, there has been a large amount of experimentation across different ways to represent this binding, and experience has shown the power of one-way data flow in conjunction with a first-class data type representing a cell of state or computation derived from other data, now often called "Signals".
The ramifications implied by a certain interpretation (often uncharitable or dishonest) of this terms of service are startling. Imagine a mere virtual server hosting company using the data of small business owners for unintended activities. If that is the case, then the best businessmen must resort to encrypting the code and data they upload to the Internet. Life gets harder for those trying to survive with a startup. So much for a lot of dreams and aspirations...

I disclaim that "the Services" referred to in the Vultr hosting service's terms of service are mostly about social media forum data. It's therefore not really part of an alarming trend of sleazy business practices and scams of, basically, stealing enterprise user data. But what if? Then the neo-hacker reaction I introduced seems like a good lifestyle to embark on.
That choice was made by the inventor of that technology. He actually deserved to make that choice.

Morality police don't.
This works well until you accidentally have an if/else branch, then you get hard to track bugs (halting problem in the general case).

I'm guessing this is why they don't propose to add this function to the standard: That fact makes it not very pretty.
The start menu width does not change with the screen width, here’s a smaller screenshot of Vista in English: https://betawiki.net/images/3/35/WindowsVista-6.0.6002.18005...
They tried for a more personal touch where I worked (rhymes with bewlett backard). They schedeluled everyone for an hr interview but everyone staying was scheduled for 5 minutes, and everyone laid off was scheduled for 15. Since everyone could see the calendar everyone figured it out instantly.
The reasoning is literally as simple as: there's nothing wrong with being in the porn business, but that doesn't mean porn is appropriate in all contexts.

If a woman does porn (or a man for that matter), that's fine. They didn't do anything wrong.

If a company CEO decides to display porn in a company-wide meeting, there's probably something inappropriate and unprofessional about that.

Where is the contradiction between these things???
TCS is a very Indian organisation, it would make sense for them to hire Indians in the US. The reason this lawsuit is proceeding at all is because a senior exec said exactly this, they want to have more Indians working for TCS in the US. There is no evidence they were fired because they were American they’re just latching onto this throwaway comment which was stupid but at the same time completely understandable.

TSMC wants more Taiwanese working on its semi plants in US for similar reasons, but at least their executive team is a bit more diplomatic in how they say these things.
What is the mailing list?
Outsourcing especially to different timezones is hard to manage. It's easier to have people in house.
Indeed. I watched the video on 1.5x until the end. When I saw him smiling, I slowed it to 1x just to enjoy the moment with him.
> the thoughts/feelings of the Hoi polloi were of little regard

pedantic language note: "hoi" means "the" in greek. So, the thoughts/feelings of hoi polloi can be ignored just like that.
Pick carefully.
That's very interesting! Love finding little nooks and crannies like this
Well, mobx is signals. But signals where the dependencies are tracked implicitly via the proxy ovject, instead of explicitly by a getter.
Ok so it's not really at will. There's still laws and regulations around firings.
But that's just one of the FA's? In fact you could argue any 2FA account is 3FA.

For example, to break into John's account at bank dot com you need to know:

1. John's username.
2. John's password.
3. The code the bank sends to John's SMS.

I guess for a lot of extremely important things the username is public information, so that one is easy to get, but you still need the password besides the SMS.

Where are these bad actors getting the users' passwords from?

It seems you already need to have a leaked password for this SMS attack to mean anything, which I assume isn't something that happens very often. From how often I heard about SMS 2FA being bad, it sounds like it's worse at locking your account than 1FA, and that's what doesn't make sense to me.
YouTube streamed 21,885,984,000,000 minutes of content in 2023 and made $31.5 billion, which works out to an average of $0.0014 cents per minute.

If you'd be willing to pay more than that to watch videos I am sure they'd take your money.
> If you're running in the binary you can call mprotect(2)

Darwin doesn't let you make library regions writable after dyld is finished with them. (Especially iOS where codesigning also prevents almost all other ways to get around this.)

Something like OpenBSD pledge() can also revoke access to it in general.

> But x86-64 got rid of the middle rings.

x86 is a particularly insecure architecture but there's no need for things to be that way. That's why I mentioned PAC, which prevents other processes (including the kernel) from forging pointers even if they can write to another process's memory.
on the gnome attitude
> What do you tell your junior & senior engineers to do differently?

I tell junior & senior engineers to be careful about what assumptions they make of their environments, and to consider everything they depend on a potential liability.
Do you just use document.createElement(), getElementById(), and friends? I've written lots of web apps that just used those. But I've also jumped into React a couple times to learn if it's better or faster or whatever. I generally think it's a reasonable approach for a template style web app—ie, when you need to build a whole lot of html nodes that interact with each other in the way a complicated ui does. But I do find I can get stuck trying to reason about some of the weird reactivity stuff with useState() and useEffect(). I kinda chalk that up to me being not an expert, but it also feels like a bit of an impedance mismatch with the language itself.

But I don't think React necessary for _every_ app and it really depends on what kind of apps you are making.

Certainly you can do the original style of app where the templating is on the server and any js is just to hook up already existing nodes. The js community has more or less moved away from that "rails" style of app years ago…
That video is so frustrating. The coast guard complains the “rescue” cost $144k, but nobody called for it, and then they sink $120k of private equipment for no good reason. What a waste of resources. No difference from people who cross the atlantic alone in a kayak but they don’t get forcibly rescued.
It should mean that but it doesn't. The H-1 people from Infosys or Tata are mostly not very good, just cheaper.
I'm building a tool that helps with self-directed learning. Would you be keen to jump on a 15 mins call with me and help shape the product? https://calendly.com/vel-yan/15min
VAXstation 3520/3540 Installation and Maintenance [video]
0 known vulnerabilities says everything I need to know about the efficacy of this site.
Now for another glorious thread of Hacker News users getting pitchforks and torches over something they simultaneously insist doesn't really matter
I wouldn't be surprised if there is a way of doing it in 4 guesses (3 to identify and a 4th that's known to be right), although you probably need to adjust the later guesses based on the results of the first. It wouldn't be impossible to search the space of strategies exhaustively. Precomputing the score function (and storing it as 4096*101 4096-bit bitstrings for efficient set intersection) would speed things up, and it could be a chance to use the 3D texture handling features of a GPU (I've done very little GPU programming so take my enthusiasm with a pinch of salt).
Man, I really wish they were paying me but no, not a cent. I think it is just time that we stop allowing people to get away with panic as an unchecked response. The stats in the industry are incredibly clear. The article is about how clearly safe the industry is and how we are fixated on a statistically insignificant thing and I totally agree with it. If you deeply believe there is a massive issue with safety in the industry because a door came off then I highly urge you to look at other industries and apply the same level of scrutiny to them. We need the level of safety aviation has in cars, healthcare and industry. something like over 30k people died in cars in the US last year. Studies suggest hundreds of thousands of deaths a year due to medical malpractice and over a hundred thousand due to industrial air pollution alone. But I guess the 'severe' quality control issues at Boeing really do indicate that the aviation industry is in a safety crisis and the 0 deaths last year on major airlines completely back that up. Definitely no irrational panic involved when people go after a door issue for months in the aviation world but don't care about those 30+k road deaths or how massively terrible our healthcare stats are.
Those who are actually desperate to put food on the table are not going to spend extra years to finish as fast they can, they just leave. Or they don’t start in the first place.
Incorrect. Shit like global warming and collapsing marine fisheries will absolutely resolve one way or another. The question is do we brick the planet's ability to support our society before the resulting massive reduction in human population permits ecosystems to restabilize.
https://www.youtube.com/watch?v=rAG7Y8WGDcI
Ok, and why should I as a user care about this? No one asked youtube to become a monopoly and I don't exactly have much compassion for the engineering woes that come with this.

I'd be perfectly fine with an upload cap if that reduces the hosting cost in any way. But of course that would be against the "groth at any cost" mantra.
I don't understand why this needs to be its own package, looking at the code everything seems to be implemented in the `ZoomableCircles.svelte` file which is ~200 lines long (https://www.npmjs.com/package/svelte-zoomable-circles?active... - also fun fact, you can't link a specific file from the NPM code browser tab). Writing a blog post on how to create something similar would be way more useful than this package.

This culture of using packages for simple things needs to die.
I mean isn't the step... not actually between those steps... its... have a svelte app... i mean this isn't a standalone js lib, it's a svelte component, if you have svelte up.. those are the only steps :S
Lots more good answers in [Ask HN: What have you built with LLMs? | Hacker News](https://news.ycombinator.com/item?id=39263664) too

If most people's only experience with AI is the chat.openai.com interface then yeah I can see why it seems like too much hassle to most people. The trick is figure out your long prompts ahead of time, and hardcode each one into a HTTP Request in something else (Tasker, BetterTouchTools, Alfred, Apple Shortcuts, etc). For me, I have dozens of long prompts to do exactly what I want, assigned to wakewords, hotkeys, and trigger words on my mac/watch/phone. Another key thing is I use FAST models, i.e. Groq not GPT-4. Latency makes AI too much hassle. i.e. 1. Instant (<1 second end-to-end) answers in just a few words, to voice questions spoken into my watch any time I hold the side button 2. Summarize long articles and youtube videos before I decide to spend time on them 3. Add quick code snippets in plain english with hotkeys or voice 4. Get the main arguments for and against something just to frame it … stuff like that. If it would make your life easier for an AI to save you 1 second per task, why not.
I know that this is picky but the old Apple Human Interface Guidelines specify things like how much distance you put between different elements! Try it out. Go for the 1992 edition of the HIG, for this System 7 look.

Like, when you have a dialog box, you have a certain number of pixels on the left, right, top, and bottom. The buttons are a certain number of pixels apart. If you look at old software from the very early days of the Mac, you’ll see that it’s kind of the wild west of user interfaces—either the HIG wasn’t out yet, or people weren’t reading it.

The HIG also has a bunch of good practices for thins like how to name buttons and menu items. Buttons should ideally be single words, and should be verbs. Menu items get a “…” ellipsis if there’s a dialog box that appears before you perform the action. The book shows how common interfaces look in non-English languages, like Arabic, Hebrew, and Japanese.
For me it's easy to get very excited about any attention or interest at all as meaning "This project is finally worth something and all this effort wasn't wasted!" and start thinking "the customer is always right!"
1. What makes you think any of the Internet pioneers are not "with it" as you put it?

2. What makes you think you know how you'll feel in 50 years? You cannot possibly predict that.