skysight-inc/HackerNews huggingface dataset:
I guess the answer is ... complex. As explained in the linked source for the algorithm (http://0x80.pl/articles/simd-strfind.html#introduction):

The main problem with these standard algorithms is a silent assumption that comparing a pair of characters, looking up in an extra table and conditions are cheap, while comparing two substrings is expansive.

But current desktop CPUs do not meet this assumption, in particular:

• There is no difference in comparing one, two, four or 8 bytes on a 64-bit CPU. When a processor supports SIMD instructions, then comparing vectors (it means 16, 32 or even 64 bytes) is as cheap as comparing a single byte.

• Thus comparing short sequences of chars can be faster than fancy algorithms which avoids such comparison.

• Looking up in a table costs one memory fetch, so at least a L1 cache round (~3 cycles). Reading char-by-char also cost as much cycles.

• Mispredicted jumps cost several cycles of penalty (~10-20 cycles).

• There is a short chain of dependencies: read char, compare it, conditionally jump, which make hard to utilize out-of-order execution capabilities present in a CPU.

There probably is a trade-off to be made. The more complex algorithms may make sense when the initial setup cost can be amortized and perhaps more things are known about the input and search strings. The dead-simple approach of simply running linearly through the string has no setup cost, can be trivially vectorized and may perform very well for most haystack/needle pairs and thus is probably a good idea for the general algorithm in the library. And in fact, the information that's required to decide whether the more complex algorithms are worth it is perhaps not known to string.IndexOf, so that's probably something that application developers have to decide.
I have a `git snap` command that's similar to your `git cam` command with a small twist. The commit is added to a special snapshots branch that isn't checked out. I push the snapshots branch and don't rewrite it, but rather keep it around as an accurate chronological record of things I've tried, warts and all. I also like that `git diff` continues to show the changes compared to the last "real" commit this way.

Edit: I guess my script is somewhere between your `git cam` command and Dura in terms of functionality and complexity.
Ask HN: Itchy eyes, any ideas / suggestions?
Sorry for asking here but this is a very technical crowd and I’m hopeful someone might be able to offer useful ideas.

My wife has itchy eyes and has visited doctors who sent her to opticians who investigated (small dots inside eyelid consistent with allergic reaction) and prescribed (most recently steroid drops that helped but can only be used for 5 day stretches). She has recently given birth leading to a resumption of normal immune system strength, and a resumption of the itchiness. She regularly uses an eyebag (warm bag to melt eye oils helps with bleparitis) and we’re trying to keep the central heating off.

What Id really appreciate is any ideas for things we can try. Im going to be shampooing the carpets (in case of allergens left by previous owners pets) and maybe CBD oil. We’ll be documenting everything we try so yeah, any ideas would be great because at the moment this feels a bit hopeless. Thanks!
Yeah, when talking to non-natives I sometimes double-check if they understand words with silent letters/non-obvious pronunciation, but sometimes I just mispronounce them to be better understood, it's faster.
I'm up for relatively long copyright periods like 50 years for literary and graphical works. Maybe music and movies too. Gives plenty of time to sell it during life time and authors should be productive as well. Their kids only deserve money they saved.

Now with software and computer games, I would be up for something sorter like 25 years from release of the version. Still gives period to sell it, but also takes in account how things are different.

And I'm not wholly against trademark protections either. Not the whole name, but let's say versions of logo and such. Yes you can use name and content, but you can't sell it with branding or logo that has established use.
I think I've heard some people pronounce it before, really there is no accent anywhere that does?

Anyway maybe I shall start to pronounce, I think it sounds fine as debt instead of det.
I've long ago bought me a copy of that deck purely for how good it looks. Everything else is either old and crooked, or crayon drawings by some psycho nerd (ahem Crowley/Harris cough), or straight up Boris Vallejo style. Plus some are influenced by Rider-Waite. Meanwhile Rider-Waite is pretty much Marseilles-but-good.

I don't even do anything tarot, and owe the knowledge of its existence primarily to ‘The Ogre Battle’ and Alejandro Jodorowsky. Should probably learn to do some kind of dealing for when I need a decision, in lieu of coin and dice.

(Mildly curiously, the cards I bought had original English titles—unusual because they accompanied a book in Russian, and the target audience is IMO unlikely to casually know English.)
They're not saying that 'dette' is unrelated, they very clearly state that it comes from the latin 'debitum' from which the word debit also originates. But while debt descends from debitum, it is a different word. A word pronounced /dEt/ was in common use for centuries without ever having a b in it.
Framer | (AWS) Cloud Engineer, Backend Engineer | Amsterdam | Onsite/Remote (NL,UK,IE,DE,PT)| Full-time
About us: at Framer we build an all-in-one tool that helps teams design every part of the product experience, with and without touching code.

Backend Engineer: work on many aspects of the product, like Framer Web, cloud infrastructure, data pipelines, and more. Collaborate closely with other engineers and designers. Tech stack: Node.js, Go, Typescript
No, SD cards use flash memory which is based on quantum flips. There wont be anything substantially better per GB/W/durability/$ than 65nm SLC just like 28nm is pretty much the peak of transistor size advantages.

The lower you go from 65nm the brittler it becomes, also smaller and that's how the flash MLC has reached 1TB on the same surface (micro SD) that only allowed 8GB SLC.

My X25-E drives are only 64GB!!!

Photon/Quantum processors will never match electrical in Gflops/W/durability/$.

Magnetic drives are not an option because of energy consumption.

Also with peak hydrocarbons we don't have the energy to keep growing development/building of new things:

So yes your concern is valid, what happens if SD/SSD media explodes in price and eventually is unavailable?

My answer is buy the media you can right now and plan for it's use, charge ALOT for writes! Don't log anything. And try to get SLC while it's still available to buy:

I have calculated that for the 1 million customers I plan to have (I will cap my user base, but since the software in open-source others will hopefully fill the gaps if the product is successful) I have enough drive durability to store and update their records once per day for 500 years.

Set a limit to what you want to do.

Apply the same to monitors, keyboards, mouses, power supplies, cases (passively cooled), batteries (lead-acid), routers, switches, cables etc.

If you play it right the glass in the fiber strand will need replacing before your hardware stack does.

And it probably will get replaced for high latency / low bandwidth messages by P2P radio: http://radiomesh.org
I wouldn’t even try to use that word. I find that I can only speak as well as I write when I talk to near native speakers… I’d just say I want to pay or something
PaulG doesn’t know what he’s talking about.
I work in manufacturing and even if any nation wanted to completely domesticate consumer goods, we’re still at the mercy of either raw materials being imported or industrial machines not being made domestically. At least, not the ones that produce the quality goods that we so demand.

Tim Cook famously said that Apple can’t move manufacturing to the US because the US does not have the industrial engineers needed to make and run those factories.

Ever see American Made on Netflix? Chinese industrial capacity, processes and standards are on some different level of refinement.
pub trait Hittable {
fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<HitRecord>;
}

pub trait Scatterable {
fn scatter(&self, ray: &Ray, hit_record: &HitRecord) -> Option<(Option<Ray>, Srgb)>;
}

I don't know rust but familiar with the Option type. Why would you not create a type that composes a Ray and a Srgb value, something like this?

struct RayColour/RayWithSrgb/etc {
Ray,
Srgb
}

Seems like it would be a nicer API.
I saw quite a bit of commentary suggesting what he did was illegal, so that's probably what they meant.

That this blew over now and not in April, when it launched and the photographed people were informed also kind of suggests it's not the primary issue? (Although I guess the wide "NFTs are bad!" message is more recent, so people depicted might very well have developed opinions now they didn't back then)
> The sun: the frontend

> The Sun Tarot card radiates with optimism and positivity. A large, bright sun shines in the sky, representing the source of all life on Earth.

Yeah sure bud.
> Shouldn't we mandate US-like living conditions and safety regulations if we are going to ethically export labor?

To make that mandate at the beginning is simply to decide not to export labour, since the trade can't happen if you apply those conditions from the outset. That's worse for everybody: your t-shirt costs more, and the worker in Cambodia or Bangladesh goes back to subsistence farming.

The present system of international trade has delivered a marked improvement in living conditions for labour-exporting countries. It's always worthwhile to talk about how to make further improvement happen faster, but mandates aren't the solution — to pretend economic realities don't exist doesn't make them go away.
Logitech Brio 4K. Good sound quality on its microphone, too.
Read this book called Profit First by mike michalowicz. This saved me so much time from agonizing on what to do with my money every month.

Since you are based in US, the advice there will fit you better. I'm based in Singapore so advice like taking yearly dividend from the company is not feasible for me.
Did she kill anybody? I wasn't aware that a hospital full of children died because Theranos was doing different lab tests than they said they were.

I really just can't find myself caring about some millionaires scamming some billionaires. VCs get robbed like this all the time. Especially the ones with more money than brains. And I'm also not going to lose any sleep if she gets 5 years instead of 100. This has been kind of a fun news story to follow the last few years but really I think most of the outrage here is because the particular demographic of this website doesn't really like women like this.
> SK TV are essentially Hollywood TV casted with SK people.

I'm not even sure what you want to claim, Hollywood has been long associated with the film industry and not the television industry.

Assuming you are referring to the general USA television: I don't feel so, especially being a South Korean and aware of SK television for decades [1]. For an easy example, the 2021 South Korean TV drama with the highest rating (17.37%) was Mr. Queen (철인왕후) from tvN, a drama cable TV channel, and it is a (Korean) medieval-themed fantasy drama based on a PRC drama Go Princess Go (太子妃升职记). Such dramas and films have been popular in SK and I'm not sure there is an equivalent in the States.

[1] I should clarify that television has been in decline like everywhere else and most audiences have switched to YouTube and OTT services by now.

Assuming you are referring to the Hollywood film industry: of course the influence exists, but the SK film industry directly competes with the Hollywood in the domestic market and if your claim is true the domestic industry would have had hard time, but it doesn't seem so at least for now. In fact this seems to be the real reason behind the current K-whatever trend; it has survived the Hollywood and is not well known until now so it is a fresh alternative to the Hollywood and other well-known film industries.

> If you watch Squid Game, and you think that SK people would think and behave like what the TV shows, then you would be wrong.

This applies to virtually every media.
So I’m on mobile but iOS mobile firefox doesn’t have any issues. However there is a video at the bottom of the site. Are you on Linux and if so have you installed the DRM packs for firefox? Can you use it to view Netflix no trouble?
If you're going to flag things that are "speculation", you're going to have to flag quite a lot of things that make it to the HN front page.

"Conspiracy stuff" means baseless, hand-wavy claims. While the author's hypothesis may turn out to be false, my reading of it suggests that the argument is made in good faith, and is supported by data. It may not be the right interpretation of that data, and the conclusions may be incorrect, but I don't consider this "conspiracy stuff".

Regardless of whether or not any of this turns out to have been one or more lab leaks, we need to keep talking about it, in an evidence- and data-based manner. We still have no idea where this virus originally came from, and we need to continue to explore all reasonable options until they are ruled out, or another option is proved to be true. You may not think a lab leak is reasonable, but I think that's short-sighted, and certainly hasn't been ruled out as an option.
I think worrying about existing data structures in memory is a lot bigger part of the problem than putting new code into place.
Use the browser text size controls instead.
Probably their video player has DRM plugin enabled (https://player.support.brightcove.com/plugins/configuring-br...) just in case they need to publish a DRMed video and probes Firefox for DRM support for all videos, which in turn shows the message.
We don't have a science of consciousness yet
Netgear is turning its connected picture frame into a display for NFTs
SEEKING WORK - Contract, Remote

Location: India
Remote: Yes
Willing to relocate: No
Résumé: gnanesh.me/resume.pdf
Email: gnaneshkunal [at] outlook.com
Github: https://github.com/GnaneshKunal
LinkedIn: https://www.linkedin.com/in/gnanesh-kunal/
Technologies: Python, Golang, Typescript, Rust, React, Redis, Docker, Kubernetes, CI/CD, Postgres, Cypher Query, Distributed Systems, Cloud computing, OpenTelemetry, Google Cloud, Reverse Engineering, Distributed Tracing

I have been doing Golang, TypeScript and Python professionally, mostly targeting Backend development. I have led JavaScript to Typescript migration of frontend and took complete responsibility to add multiple enterprise backend modules with test driven approach. Furthermore, I tend to be a T-shaped person with the core in full-stack/backend and consistently learning leadership skills. I understand database internals and actively contribute to Redis ecosystem. Properly skilled with distributed technologies and cloud native patterns. Currently working for a fintech company. I have multiple independent contractor experience spanning from desktop & web application development to reverse engineering mobile applications. I also contribute to OSS during my free time.

NOTE: I'm available only for contract/part-time work.
It's probably worth noting that proposing some behaviour or function is relatively easy, whilst attaining it is the hard part.

Functions that are largely independent, autonomous, and unconnected are easier than those which require major infrastructure, common standards, and numerous interactions. A bow and arrow, or a magnetic compass, or horse stirrups, a dugout canoe or small skiff, can all be created with reasonable ease by a single person or small group.

A petroleum-based economic system, the automobile transportation on which it depends (highways, mining, manufacturing, fuel production and distribution, repair and maintenance, parking infrastructure, etc.), a wired telecoms network (switching centres, local and trunk lines, billing infrastructure), or a wireless one (all of the above plus radio masts and broadcast standards) are all complex and require a vastly greater degree of organisation.

Yes, it's possible to idly speculate on the existence of handheld voice/video comms, but building that out requires hardware, batteries, the wireless network providing final connectivity, etc. And it was about fifty years after the comments mentioned in TFA that this level of development reached to point that mobile communications were truly available to virtually anyone within an advanced country. What's interesting is that developing countries benefitted by the standards and infrastructure development to the extent that their first general telephony buildout occured as wireless rather than wired landline systems.

And then of course, there are all the societal, economic, cultural, and political implications of ubiquitous 24/7 voice-and-data comms capabilities, though that also depends on a vast back-end infrastructure in numerous ways.
Fraudio | Multiple roles | Netherlands | REMOTE (EU) | Full-time | fraudio.com

We are a fast-growing payment fraud detection company. Our mission is to disrupt the industry by connecting all companies in the payment ecosystem to a powerful centralized AI that detects and prevents fraud in real time. We are VC-backed and founded by online payment and AI/ML experts.

We are ~25 people, half of them in technical roles. We are looking for a couple of engineers to level-up our knowledge and professionalism in key areas. For these roles, we want to hire someone who's better than any of us!

Our screening is via LinkedIn, there you can also find more details about the requirements for the jobs and location. This being Hacker News, if you have any questions feel free to send me a PM, I'm happy to answer!

Site reliability engineer
https://www.linkedin.com/hiring/jobs/2854654547/

Software engineer - Automation of business operations
https://www.linkedin.com/jobs/view/2853017690/

Data quality engineer
<coming soon>
Plus one for this.
I don't see issue. 25 years sounds entirely reasonable copy right protection period for software. Meaning that you can freely sell 25 year old versions of software. If you haven't upgraded or released new versions under new term, you really don't deserve protections. Sell version 1 in 1995, it would be now free. On other hand the version 2 with more features as non-free upgrade released in 2000 would still have some protections left.

Trademarks are also different from copyright. It gets complicated, but you shouldn't be able to do confusing things with them.
It varies. My pronunciation of drawing definitely does not include an r.

Perhaps it has changed over the last 65 years of my life. Or it is a regional pronunciation.

I suspect that more young people include the r.
This is irrelevant to the point. The definition of those "white mens" varies according to the place or the time [1] but the point doesn’t change.

[1]: https://www.nytimes.com/interactive/2019/10/12/opinion/colum...
I spoke for about a minute in English, having no idea what is the ideal length for it to properly figure out my voice. The result sounded like someone else completely. There was also some strange music in the background, which made me think that it was playing back a recording of a real person speaking! A real person who's not me.
>I'm terribly afraid everybody will learn the wrong way of saying it, and the correct way will go extinct.

Is that really so bad?
There's a difference, lab tech would impact individuals, but he wouldn't make false claims to the general public as the company's main selling point. Here we have someone basically selling snake oil to people, and still she was found guilt only for hurting her investors.

Ultimately, does this mean that the next fraudster will get away with it as long as they keep their investors in the loop about the lies?
The difference between 'doubt' and 'doute' is the vowel sound, not a presence/absence of 'b'. 'debt' and 'dette' don't sound quite identical to me (as a native English speaker and learner of French) but they're very close and the difference isn't that there's a 'b' sound in there. Maybe it's that French 't' is slightly different.
I was unaware it was a requirement to have enough evidence for a peer-reviewed journal in order to begin even talking about something of interest.

I'm not sure I buy the lab leak theory -- and certainly not solely on the basis of the information presented in this article alone -- but I do believe it's worth further investigation.

And we know lab leaks do happen; safety processes in even highly-regulated labs seem to be severely lacking. Calling attention to that, as well as the dangers of gain-of-function research (especially when considered in context of poor safety processes) is IMO critical.
I agree with the premise here. If she does get 20 years, then Sunny Balwani is going to get the chair.
> grid-scale energy storage doesn't yet exist

The New Zealand south island electric grid is almost entirely grid-scale energy storage, in the form of hydro. Easy to recharge (pump water uphill, although NZ doesn't need that), easy to tap (open gates).
I have a clue about C#/.NET. Did it professionally for almost 2 years. That's why I don't like it.
Haven't really watched any Korean TV series yet except of course Squid Games, but I've been hooked to their movies since I first saw My Sassy Girl ( https://www.imdb.com/title/tt0293715/ ) nearly 2 decades ago. Having not been exposed to any Asian cinema except the typical Jackie Chan / Bruce Lee Kung Fu movies, this was quite a revelation as it really appealed to typical Indian sensibilities. Remember re-watching it with family members who were one generation older and they loved it too.

Since then I have been exposed to far more quality Asian cinema especially from Japan but haven't experienced the kind of connect one gets from a Korean film, be it a crime thriller, romance or typical drama. Not sure whether those brought up in the West have the same level of connect though.

On a further note, its great to get exposed to such variety of International entertainment via Netflix et al, who have really leveled the playing field when it comes to distribution.
I saw an actual original 35mm print a few years ago projected - not deteriorated and official. Your mostly correct but within the Matrix there's also an element of a "bleach bypass" kind of look that ends up actually blowing some of the highlights slightly in the brighter scenes such as with the helicopter. I would guess a chemical process using some type of transfer film from the original negative.

Blew away all the other versions IMHO
You misunderstand.

An ARM architecture license is not a licensed to use an ARM designed core. It is a license to implement the ARM instruction set on your own non-ARM design. "Architecture" in this case comes from ISA: Instruction Set Architecture. :D

So, Apple, Qualcomm, and Samsung (and Nvidia?) have ARM architecture licenses, and they then go and design their own implementations, from scratch (I don't know if the license lets them use ARM designed bits, you'd have to ask them :D ).

Most companies simply license an ARM designed core and blat that into their SoC - I assume it's cheaper but I don't know if that means the license is cheaper, or the total cost (e.g. including actually designing a cpu) is cheaper.
That was only one of the reasons given in the Federalist Papers for its inclusion; the other is the need to be able to throw around pardons as a bargaining chip in quelling rebellions and civil disorders. The post-Civil-War pardons are a classic example - getting people off the hook for death-penalty treason stuff in order to keep them from going into a new rebellion in a few years - as are the post-Vietnam blanket pardons for draft dodgers.