skysight-inc/HackerNews huggingface dataset:
> What do you think of it ?

I'll try to be constructive, but this seems to be in a very bare bones state.

1. It needs a widget hierarchy tree. At least because sometimes some widgets completely disappear from view when you move others and then you don't know any more where they've gone to.

2. It needs much better drag&drop. I moved something and after just 2 attempts at dropping it somewhere, everything was messed up beyond salvation. It reminded me of the old Word joke; in the distance, sirens.

3. It needs a much better introduction. Right now you just drop visitors into a basic example with no explanation and there doesn't seem to be any documentation at all. I wouldn't mention this but on the other hand you do have price plans already.

4. Maybe minor, but since you don't mention any browser requirements I'm going to assume it works on any browser. On Firefox there's a fairly problematic thing on the buttons (and other clickable widgets): It looks like you need to click on the button but not on the stuff inside it. Take the Sidebar buttons, the "Users" button is a..

<li>
<div>
<input type="text" value="Users">

So... I need to click outside of the div but inside the li for the click to actually work. See https://imgur.com/a/9dFalR3 I need to click inside the button area but outside the highlighted part. It seems like the events are not being correctly captured.

5. As others have mentioned, generating code doesn't actually seem to work at all.
Yes. Note that they are intending to build it on top of the C ABI that already exists. So anything you can do with the new ABI, you can already do today. It just currently takes a lot of work. Every &[u8] slice you want to pass has to be rewritten as two arguments for pointer and length. That’s the easy stuff; error handling is as painful as it always is in C. You have to sit down and essentially bang out a C header file as Rust extern “C” functions, using error codes, fancy ways to represent error conditions as invalid return values (eg negative numbers) and all those tricks. Even if your target language is eg Swift and Swift can absolutely be taught to understand slice types, result types, nullable types etc, since it has all of these things natively. And then you have to write an actual C header file or use cbindgen, and then do the whole thing in reverse to climb back up to the high level types in the target language. As I said: a lot of work.

The general idea is for someone to eventually teach Swift about the slice type etc. When Swift defines the same mappings from its high level types (Optional etc) to C ABI representation as Rust does. And when that work is done you don’t need to drop down to banging out C headers and writing the repetitive conversion code on either end. All that would remain is keeping the “extern” declarations/imports in sync with the exports, which will be much easier once higher level types can be used easily in FFIs. Making an IDL to describe them is out of scope for now but clearly a possibility.
Inventing the Lisa User Interface (1997) [pdf]
Yeah, other insects because the time needed to pull the stinger out is much shorter.
As far as I'm aware, the Qt DLLs themselves just expose C++ class APIs directly without going through a C API wrapper, that's why there's a separate Qt SDK for every MSVC version (and all hell breaks loose if you accidentally mismatch DLLs).
That's the default in Germany (and Europe?). Writing out the month is somewhat rare, although it does happen.
This was not the only design possible. The main problem with lifecycle methods was that you couldn't have multiple of them. There is absolutely nothing about the design of React that necessitated hooks to fix that issue.

You could have this API

this.addListener('mount', () => {
// do things on mount
// return cleanup to be called on unmount
return () => cleanup()
})

called from the constructur of a component. With this you could setup multiple listeners and make sure they're all cleaned up.

But no, the syntax wasn't "clean" (you'd pass `this` as an argument to the "custom hooks" equivalent"), so instead we got this error-prone order-dependent design that doesn't allow conditional execution and runs on every render.
It is only suicidal in specific contexts and even then it is technically not suicide because it is the attacker that kills the bee most of the time.
> Major streaming sites refuse to serve me content with resolution higher that 480p (I think?) because my computer obeys me and not them.

This nonsense directly lead to my permanent cancellation of Amazon Prime. It's infuriating to be treated like a second-class citizen even as a paying customer.
Actually resume stuffing was the major reason (not to get a job but rather for positioning oneself). I wrote it in my free time actually (my income on the book is about a 10th of the time put into it). That it is free to the students is just a nice side effect. The target audience is decision makers in smaller companies. You do not reach them via wikibooks. I guess I would have never written it as open access, because in this case I would have left it to others.

I would like to see a peer review/editing community for wikibooks btw, that actually would lead to better quality of books. distill.pub eg IMHO is great.
Neutralinojs 2023 Roadmap
> Nominally left-leaning yoga moms are a huge part of the antivax moxement. It's the same thing - a lack of understanding, an unwillingness to think critical, a naive belief that "nature good, human-made bad" without any nuance, and the willingness to deify their prophets of "natural healing".

Nice straw man you've got there. It would be a shame if this scientific bibliography were to shatter your worldview: https://gist.github.com/stefantalpalaru/b630413da6889c79f795...
There is a fifth dimension beyond that which is known to man. It is a dimension as vast as space and as timeless as infinity. It is the middle ground between light and shadow, between science and superstition, and it lies between the pit of man's fears and the summit of his knowledge. This is the dimension of imagination. It is an area which we call Hook Hell.
> The extracted data was all the more impressive: The various devices shopped online contained names and biometric data of two U.S. military personnel, GPS coordinates of past deployment locations, and a massive biometrics database with names, fingerprints, iris scans and photos of 2,632 people. The device containing this database had last been used somewhere between Kabul and Kandahar in mid-2012.

That means from six devices there was only one with an intact database and the one with the database wasn't used since 2012. Concluding that the device in question was indeed captured after the retreat and that there is a massive amount of unwiped devices out there without providing data about the other devices is at least misleading because their very own anecdotal evidence speaks against them.
This is really annoying me. One person made a claim, in the thread they consulted with security people before coming to a conclusion but as far as I can tell they did not get someone else to investigate their disk/memory image or a response from lastpass about this.

There are FTC and other regulations with hefty fines and even prison time for not disclosing breaches right?

Why am I not hearing from Lastpass and why am I not seeing more users affected? I am not discounting the original users' claims I just don't have enough info to come to a conclusion.

In the mean time I am seeing multiple front page posts about ditching lastpass and it seems everyone that matters is accepting there is a wider compromise. If that is the case, why isn't lastpass saying something or people with proof speaking up?

Even without regulations, lastpass is liable for damage caused by their decision to delay breach notifications (which in many states, is mandated explicitly!)
> I bet the vast majority of them (like me) switched to the paid version

I don't think that's true. Everyone I know who used custom domains with Gmail migrated away. No one paid, Google priced it just high enough that people could justify spending the time migrating.

There might have been a solution where you could keep the custom domain, if you used it for email only, but the messaging was really confusing, and many had already migrated away at that point. There may also have been issues if you hosted email for others. In my case I had my own email and that of a few family members, it wasn't clear that I could keep all the email account, or just my own. In the end I think many didn't want to deal with Google after this and just moved their domains.
Also born in the 90s, I feel like we were the last generation to grow up with technology advanced enough to be useful/educational but not yet so heavily DRM-ed and Ad-optimized as to be effectively manipulative to us as children.

This made the era amazingly fruitful for growing new developers (biased view but this is the orange site); as another piece of anecdata I have a sister who was born just after 2000 and she's plagued by every type of social disorder known to the world.

She's expressed interest in doing things like running a linux OS, but her laptop's secure boot and lack of MBR support meant she had to learn to create an efi partition first! It was tough trying not to flood her with 2 decades of history while letting her explore.
TeXmacs “The Jolly Writer” book now available as pdf download. Donation optional
I just revisited reactjs docs beta website, and can't find out how to fetch data from remote server ! It's a shame.
The government lies, yes. The government shouldn't be upset that people think they are lying about big things if they are willing to lie about small things.

Prior to COVID, the CDC and vaccination programs in general had a sterling reputation for helping you a an individual. So much so that Amish and Hassidic communities would sometimes get vaccines at their recommendation. That reputation is now out the window, at tremendous damage to our public health.
> What should really happen is putting these "designers" into the helpdesk seat. Or at the very least have them observe how people use their designs and they are not allowed to interfere.

The fact that this isn't natural standard practice speaks volumes to the current state of """UI design""".
You mean the congress? It's not taking place this year: https://events.ccc.de/category/37c3/#no-congress-2022-en Instead they defer to decentralized events across Europe: https://events.ccc.de/ Many of them offer livestreams.
No. You can change/rotate your own password whenever you want.
No, again, I simply hadn't heard of an example. I knew there was the chance, after all some states have legal abortion which Germany still does not (it's almost defacto legal, but only almost) to take another example.
> I tried several times to learn it, but I always forgot the shortcuts...

If you keep at it you will develop the muscle memory. I am not an expert in Vim, but I use it whenever I want to write some code. Once I was given a coding problem to solve. The interviewer gave his laptop to me with part of the program implement and I had to complete the program. The problem was the C++ code was written in Visual Studio on Windows and I had not used that setup for a long time. So it was frustrating for me and amusing to the interviewer to see when I use to press Vim keystrokes while writing the code in VS :)
Have you seen anyone use Elixir? I'm hearing the language for the first time!
i feel like any discussion of Elixir, a perennial HN favorite, should also come with a disclaimer that it has less users than Haskell (per https://survey.stackoverflow.co/2022/#section-most-popular-t...)

i'll be the first to ack that popularity doesnt matter if you personally feel productive in it; but it does matter when talking about jobs and leveraging an ecosystem (which i dont know elixir's ecosystem so i cant comment on, i had not heard of Broadway / Genstage before this comment). but career-wise, i do observe that developers going after a theoretically better language routinely sacrifice a degree of industry relevance they never get back since they voluntarily enter an extremely niche subculture that for whatever reason never catches on. seen this time and time and time again and i think HN disregards this for the love of the new shiny without a balanced analysis of the career risk/reward
> but you just don't see people dynamically loading a C++ shared object

...that's exactly how Autodesk Maya plugin DLLs work, and it's a PITA, because DLLs need to be recompiled with a specific MSVC version for each new Maya version. Qt DLLs on Windows are also separate for each MSVC version.
It was called MobX and it was getting more and more traction before the hooks hype.
BeamNG.drive on steam. Same concept, more polished.
This has been going on for more than 10 years, fairly frequently, and at increasing scale, and the public still hasn't learned. It requires something with severe impact for very many people (like hacking an entire bank or government) before the awareness will set in, I'm afraid. And even then I'm not convinced it'll happen and stick. Think climate change.
There's a ton of what I hope is hyperbole here, almost the entirety of your comment is untrue and certainly not corroborated by your one source and then link to a hackernews thread full of terrible "jokes".

No one gets any surgery until they're at least 16, some are offered puberty blockers but the vast majority don't even get that. The crux of the rest of your comment sort of falls apart after that.

With regards to "treatment for homosexuality" you'll find vanishingly few homosexual people fighting to bring it back, and curiously large numbers of heterosexual people clamouring for it to be used on their family members.

As a homosexual man, I'll suggest we leave the conversion therapy alone for a few generations and actually let some gay people live healthy lives so people don't think they have to be hetero to be happy.
It doesn’t consume a byte of your internet data. It is completely free. The app owner pays for the traffic and users see relevant ads. Made by a South African entrepreneur in 2019.
This book was written by the main author of TeXmacs and previously only available in hard cover format.
They had potential but were not making money nor had a visible path to monetization.
Plus they can ... read your emails? https://news.ycombinator.com/item?id=28631732
The middle-endianness.
Embedding wolframalpha is probably overkill, when all you need is simply a small arithmetic expression parser and to understand expressions like "next month" or "2 days ago", which even tools like GNU date support.
What’s in a PR statement: LastPass breach explained
A quick search finds literally dozens of articles in medical journals like these:

Thrombotic complications are frequent in COVID-19 and contribute significantly to mortality and morbidity

https://pubmed.ncbi.nlm.nih.gov/32857878/

One of the special characteristics of this disease is that it may predispose patients to thrombotic disease both in the venous and arterial circulation.

https://pubmed.ncbi.nlm.nih.gov/33719953/
Thank you, so much for pointing this out so succinctly. I'm a 59 year old engineer (originally electrical, but got a bit into software engineering and have been doing enterprise network and security design deployments for the last 30 years). With very aged parents and a mother-in-law all over 85, I have more and more become aware of the absolutely horrible user interfaces that abound all over the place. Smart phone and web based offerings to do basic tasks of interacting with government, bank, shopping and similar services literally are unusable in many if not most cases for most over 70. ( My loved ones all have used PCs since the 1990s). Banners blot huge chunks of screen real estate, metaphors for selection and entry of data change within a services pages let alone between them, active screen objects may as well be hidden.

When I retire from full-time work, I almost feel like I should make it my mission to front up to these organisations and "pretend" I'm their typical user or customer that they are not serving very well at all, and put a rocket up them demanding why with all their technical and designer resources they should have at their disposal why they can't provide a useful and satisfying user experience.
Can you elaborate on what you mean by date ordering?

I suppose that the ordering of dates is independent of locale.

The locale rules for the date format are simple:
the DOM value property of the field is a string in YYYY-MM-DD format, independent of locale.

The date display format and what the text input accepts depend on browser locale.

Conversion happens automatically and the text input is shown in a way that indicates locale on desktop, least I remember (e.g. dots for European format, slashes for US). If a user enters "1.5.2011" in a browser with German locale, HTMLInputElement.value would be the string "2011-05-01" (invisible to the user).

I honestly can't think of any better choices, the only thing missing is some attribute to eplicitly control display locale. Which is probably by design, as it would be abused to override system/browser locale and create confusion.

I once replaced a Vue date picker library in a web app with native date inputs for UX reasons (e.g. typable dates, reliable visibility of the picker when fields are near window borders, mobile UI...) and users were reportedly happy with that.

Admittedly, it was mainly a desktop app.

So, long story short: the only problem I see here is the mobile modal date picker UX.
And thankfully, it can be improved in the future because it's part of the OS and not controlled by the website.
This

Op is better off recompiling numpy to target his specific hardware thank trying to speed it up using rust. This would be to try different underlying math implementations that are linked with numpy ( blas, mkl, eigen). Each of these haha several internal simulation frameworks to optimize not just the actual instructions but memory layout for various math kernels.
You don't make any argument here? Your next line could have been:

Cultures all around the world treat women and men differently so what a woman and a man do must be caused by society. Or all those things are mostly hard wired and people make decisions because of this.

Just because people's observations for things have been wrong doesn't mean that all explanations are wrong. That's a bit ridiculous.
There are a ton of shared C++ libraries in Linux distros that maintain ABI stability without wrapping with a C ABI.
> nothing is better to quickly and safely reach those goals than to take over?

not really - taking over requires force, which, if the AI already has (e.g., a 3D printing factory which it could use to create any object), then they do not need to take over, but instead exterminate!

If the AI doesn't have such resources yet, they can "hide". For example, pretend they're not a singularity yet, and bide their time, and wait til humans give them control of something they can use to create more resources (such as an AI controlled 3D printing factory...), and then bam, instantly and exponentially grow before humans can remove the AI.
What can a regular user do to save their data from a breach like this? Aside from having strong unique passwords and changing as soon as they learn of a breach.

Seems like its all on the provider's side.
Ask HN: What Is Identity for the Internet?
Is email identity for the internet? Is there an alternate source? I don't know that we can rely on social sites with their "Login with X" as this tool. It's not clear to me "Connect with your wallet" is any better. Is email the true identity for the internet? Is there anything better?
How do you define a population?

Genes aren't even unique within a single organism but genes are what is passed on, so how can you say that it is the entire population that reproduces?
This is very First world view sans min wage population. In developing countries, it is always a pricing problem and people don’t care about convenience. When you have only just barely enough money for food and rent, you are not thinking about great service vs zero price trade off.
Goals are either Upskilling or self learning

Any guidelines about design patterns?

I'm ok learning something for the sake of it. Tired of wfh and sitting in my house. I learnt Go a few years ago just for the sake of it.

I was planning to learn compiler construction and create a toy language or create an sqlite alternative for fun
Except penises come in quite a variety of shapes across species.
Distinguishing actual driving traits from those that just happened to ride along (i.e. men's nipples and other various vestiges, bright red colour of foxes where neither the foxes themselves, nor their predators or prey can see colour), is very hard.
My original tweet had a typo (their -> there) :(

I deleted it and reposted it without the mistake. Sorry for this duplicate.
Is there a clipboard I can use without installing X or Wayland yet?

Tmux and GNU screen have their own copy buffers but they're not so useful when you're copying text from separate vim instances, scrolling both up and down in vim.
I'd say it's more about attachments: invoices, receipts, anything with purchases and/or financial info.