skysight-inc/HackerNews huggingface dataset:
I’m not sure I really understand the benefit to having your drivers license on your phone. “You can use it at TSA!” Cool but I’m already using my phone for my boarding pass. I guarantee you the friction and additional time to scan the boarding pass and then switch to the drivers license and scan that (when typically these are done in parallel) is going to make that use case a complete non-starter. Best case scenario someone tries it out and realizes it completely messes up the workflow and never uses it again.
Well they do win by intimidating people who want to whistleblow.
Ad Hoc is usually done without planning and is almost always about adding more infra (+process and tech debt), not refactoring or replacing.

This is how many companies end up running everything under the sun and costs get out of control.
As a default, I'd keep everything in one language: https://pypi.org/project/pyexpect/
It does not make sense to conflate LKMl politics with politics.
I wonder, is there a realistic chance the govt can somewhat easily detect what you have side loaded?

( short of opening your phone and browsing instslled apps )
They were right for an awfully long time.
This is definitely the current state of security within government. I can't say it's anything new, it's just that the technology changed. Now it's about officials protecting themselves from being scrutinized by throwing around the law to aid in silencing those that find issues with technology. In the past it was exactly the same, except it was about officials protecting themselves from being scrutinized by throwing around the law to aid in silencing those that find issues in government policy, or government officials that skirted the law in the name of protection of the US people, etc. I think it's easier to go after people under technology laws than it was over finding information through informants and full whistleblowers. More scenarios to find information come about, and more draconian laws follow.
Sorry on the slow reply.

But yea, I can complain at length.

- Model validations aren't run automatically. Need to call full_clean manually.

- EXCEPT when you're in a form! Forms have their own clean, which IS run automatically because is_valid() is run.

- This also happens to run the model's full_clean.

- DRF has its own version of create which is separate and also does not run full_clean.

- Validation errors in DRF's Serializers are a separate class of errors from model validations and thus model Val Errors are not handled automatically.

- Can't monkey patch models.Model.save to run full_clean automatically for because it breaks some models like User AND now it would run twice for Forms+Model[0].

Because of some very old web-forum style design decisions, model validations aren't unified thus the fragmentation makes you need to know whether you're calling .save()/.create() manually, are in a form, or in DRF. And it's been requested to change this behavior but it breaks backwards compat[0].

It's frustrating because in Rails this is a solved problem. Model validations ALWAYS run (and only once) because... I'm validating the model. Model validations == data validations which means it should be true for all areas regardless of caller, except in exceptions, then I should be required to be explicit when skipping (i.e. Rails) where as in Django I need to be explicit in running it - sometimes... depends where I am.

[0] https://stackoverflow.com/questions/4441539/why-doesnt-djang...
Gemini Custom Gems and Imagen 3
> but your response suggests science isn't driving your beliefs here

I find this kind of argument - which indeed seems to have become quite fashionable during the pandemic - to imply that dissenting opinions aren't supported by science to be pretty offensive, particularly when recent revelations (e.g., in Germany, since that country has been mentioned in this thread) have shown that quite often mandates were driven by politics rather than being supported by science.

> targeted places (like emergency rooms).

While ERs aren't the first places that come to mind, because for the most part they don't treat patients with communicable diseases, there's nothing that keeps hospitals from implementing such mandates. I'd welcome that, because as should have become obvious from this this thread I'm very much in favour of wearing masks.

> that's not what people are "implying" when they discuss fighting covid.

While they don't have any actual expertise on the matter, there still is a small but very vocal #ZeroCovid bubble (e.g., on the social network formerly known as Twitter) that quite literally implies that - and little else - for fighting COVID-19 today.
Huh, Falcon 9 was ungrounded earlier today... so they might actually be waiting on weather again though they haven't said that since last night while they were still grounded by the FAA due to the loss of a first stage during landing.

Meanwhile SpaceX just tweeted "Targeting back-to-back Falcon 9 launches tonight from California and Florida → http://spacex.com/launches/" while that URL says "Upcoming: August 28, 2024 Polaris Dawn, August 31, 2024 Starlink" and following links shows that both of those missions are supposed to launch from Florida. So I'm incredibly unclear on what (if anything) they are launching tonight.

All together, F- communication from SpaceX right now.

[1] https://x.com/SpaceX/status/1829694994703331393
The article title perhaps mischaracterizes the significance of these findings.

The paper finds that Hooded crows—who are not specialized tool users—demonstrate some of the same abilities that have already been observed experimentally in New Caledonian crows—who are specialized tool makers, including:

the ability to manufacture tools from novel materials, select or manufacture a tool depending on the specifics of the task,

…etc.

The authors cite a dozen papers published over the last 20 years that have documented these findings in NC crows, as well as Goffin’s cockatoo (who, like the Hooded crow, are not specialized tool users).

The significance of this paper must be that the abilities are more widespread in crows than previously thought, which is stated in the article, but blotted out by the juicier headline.

Here’s the actual paper, which as usual, is more substantive than the article: https://link.springer.com/article/10.1007/s10071-024-01874-6
nanos wrote a quite reasonable subset of the linux kernel in C using less than 5 people at a time on average and somewhat less than 5 years. this can totally be done.
I think they are. On mobile right now so can't check, but I've looked up local restaurants' inspection results online.
This is one of those few “social engineering” pay-walled click-bait articles that I’m very happy IS pay-walled to reduce its cogent thought pollution.

This is not wisdom. This is over-fitting industry/era/role-specific individual experience to generic candidate advice.

Do none of these things.
THis is fn beautiful.

We need a PI Zero/pico inside one of these with an SSD and a tiny servo that spins the tape and writes with tape-head (from the CD-Cassette-dongles) it does a continuous bitstream backup of audio captured on the tape-reel=real-time - but then can be played back as any regular cassette

--

Incredible collection of photos - I like this:

https://i.imgur.com/xemkxD8.png
The idea that the Spanish empire lacked significant property rights and legal systems is ahistorical. A bloated legal bureaucracy and an infinite sprawling morass of property rights systems were actually important characteristics of how the colonial empire operated. Those rights were also extended much farther than in the early British empire, including to women and indigenous peoples. The breadth and commonality of access to a legal system means historians have a rich source of primary historical documents for social history that simply doesn't exist for the early British empire.

Some of those property rights are still with us today, like Los Angeles's pueblo water rights that helped make it a juggernaut in the water wars. There's relatively few of these remaining today not because they didn't exist, but rather because alta california and new Mexico territories were remote backwaters even by the standards of the Spanish empire and there was a concerted effort to disenfranchise those old titles for various reasons. UC Berkeley came from one such case.
There's at least one more to add to the pile, Google's Fuchsia is primarily written in Rust and aims to support the Linux ABI through "starnix".

See https://fuchsia.dev/fuchsia-src/concepts/components/v2/starn... and https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/s...
all good things come to an end - others do too but we won't remember them.

good run, and remember from the late 90s - later at my interview in Lehman Brothers, the hiring manager was looking at the site when I walked in and that was the small talk. RIP AnandTech
I have a relatively naive implementation of an infinite canvas in React (which is a very slow library). The implementation is exactly 161 lines of code (including white space, imports, etc.). On my laptop, my implementation visibly starts to drop frames around 10,000 elements. The linked implementation starts to visibly drop frames at 20,000 elements. I'm leaving a lot of performance on the table, e.g. I don't have a culling equivalent and my DOM structure causes hit testing to be the bottleneck, which is solvable. What I'm able to render is much richer than a canvas, because of full HTML/CSS support. It's definitely possible, but you have to be willing to sit down with the profiler to understand what your bottlenecks are.
Checking out on Amazon seems to have been down for a large number of users for the past 5+ hours or so (as of 10PM ET). This is the largest actual Amazon shopping outage I can think of in a long time and interesting how long it's been ongoing.
Ok, then. How about 2.5 dollars for the x articles of this day/week?
Wonder how the Chromium team learned of it. Maybe Google has a web crawler specifically for detecting zero days.
Vpqy: ML framework for queryable video analytics
Can the SDL terminal emulator handle up-arrow /slash commands, and cool CLI things like Textual and IPython's prompt_toolkit readline (.inputrc) alternative which supports multi line editing, argument tab completion, and syntax highlighting?, in a game and/or on a PC?
I loved this puzzle, spent hours to solve it.

What I don't like is the mystery hunt that follows. You don't know where to start, you don't know if the solution you found is correct, etc.

Even a after looking up the solution, it doesn't make me go "wow! That's brilliant". The final phrase is too short to be meaningful, it's not related to the game (at least, I can't get the connection), one of the words I didn't even know it existed in English (is it an abbreviation, perhaps? Is it American English?)...
I believe that that is more of a temporary thing. A lot of rich people have been avoiding taxes by moving to Switzerland. They run a company in Norway for several years, then move to Switzerland when things are profitable and they want to avoid paying their taxes to society.

We pay tax on dividends in Norway, but if your company doesn’t pay out any dividends for 10 years then you don’t pay any taxes on them until the day you take the money out of the company. So you can run a company in Norway while paying quite little in taxes, then move to Switzerland and pay yourself all the dividends that have accumulated over the years. After 5 years you can move back and not have to pay a cent in taxes.

The new tax laws are just a temporary blocker that incentivises any current owners to move out of Norway move before the new laws come into effect.
As another someone with aphantasia, I remember what something looks like, so I draw what I remember. That memory is not an image, it's knowledge of what something looks like. For simple things, that's enough. For complicated things, I sketch out what I remember of the overall appearance, look at it and gauge how far off it is and what is off, and add in details to gradually reduce the difference.

I'm not a very good artist, so it'll always look kind of bad, though oddly it doesn't feel like aphantasia is all that much of an obstacle to my ability to draw. It's more just skill in making things look "right", skill that is learnable and seems like is necessary to learn by anyone, include those without aphantasia.

It's difficult to communicate to someone without aphantasia, because to them apparently the memory of what something looks like is an image. It's similar to the question about whether I dream in color. I mean, I dream in color just as much as I read in color. If asked, I could tell you what color something is. It's part of my knowledge of what that thing looks like. But knowing what color something is and seeing the thing in color are definitely not the same. I don't dream in images at all. I certainly don't dream in "black and white". Colors and grayscales only have meaning in an image.

(And maybe it's just me, but if the color of something never strikes me as an important characteristic, I will have no memory of what color the thing is. Right now, I couldn't tell you what color the walls of the next room over are, despite seeing it every day. Even though I could probably roughly model the entire room and get the dimensions and positions of everything about right.)

Though I'm skeptical that "normal" people are as restricted to images as their descriptions often imply. Not everything is 2D, so memories are going to have to include at least some shape information. And I'm sure you have all kinds of associations of the texture and feel of things you visualize, and if it's prickly how much it would hurt to bump into it or hold it in your hand. Memories are rich multi-sensory things, and they aren't just limited to point-in-time sensations either.
I'm not defending the action, but some companies/government officials want to spend very little on their hosting. Often a Cloudflare account is put in front of the website, and all but US, or even local accounts are blocked. I have been forced to do it with clients that are not willing to spend more money on hosting, and they have a site that has regular updates where I can't cache everything, or the cache is commonly "cleared" for making changes to global elements. I have done a lot of work to "section out" parts of a website that update often, and replaced those areas with dynamic JavaScript to bypass page caching. Even then, it's a tough subject because clients often get confused when the content they updated doesn't show up, even with a custom CMS with a page level cache-clearing mechanism (using Umbraco, which has allowed me to start with zero layout, and create anything the designers and clients come up with). I've had to build all the cache breaking mechanisms by hand, using the Cloudflare API.
I meant they are not trying to trick people into clicking the link by using the term “UK” because it’s obvious from the context what they mean, since they consistently use the term.

I agree that it’s a bad headline for HN where you don’t know the context, but that doesn’t mean they chose the headline with ill intent.
AWS could easily comply with the AGPL, why is AWS blocked from providing services using software licensed under the AGPL?
Not really, since the survey paper notes that the EEG pathologies were detected in 69-96% of patients, including children.

It is not plausible to propose that 69-96% of patients, including children, had undetected brain disorders and that was the direction of causality.
Back then, communication and movement were slow, but now they aren't. The point is that time is now compressed. Things happen much faster and at an accelerating pace. The only thing that is still slow is the adaptability of the human mind to new ideas, because on average, it requires older generations to die.
What made it more productive than the usual mainstream languages?

I'm coming from 10 years of OOP leaning C++/Java/Python, and have been seeing the beauty of functional programming in the latter half of that time. It's just far easier to test than OOP in my experience.
I just used python pexpect [0] for a fun project. I believe pexpect was inspired by the original Unix expect command.

I used it to let aider suggest and run shell commands [1]. This is handy, so aider can offer to run the code it just wrote for you, run migrations, install dependencies, etc.

Using pexepect makes it easy for aider to run interactive shell commands and capture their output. This allows aider to fix bugs or suggest next steps based on the command’s output, error messages, etc.

[0] https://pexpect.readthedocs.io/en/stable/

[1] https://x.com/paulgauthier/status/1827012590406607040
NSA Releases Internal 1982 Lecture by Rear Admiral Grace Hopper [video]
The richest man in the world calling someone stopping him a tyrant is the joke of the year.
Yes? Failures being identified? Consequences for the failure?

If your definition of “first world country” is no company ever cuts corners, well, name one. It’s probably just Singapore.
I haven't used Docker much at all, but I use Proxmox for everything at home (LXC containers for various web servers, Zoneminder, Plex, Pihole, etc. and the occasional VM for stuff like pfSense) on decent hardware. Which HA installation method would you recommend in this case?

My only prior HA experience was around 2017 before they had multiple options; I used a RPi which burned through microSD cards and it was pretty miserable. Gave up by 2019. Not making that mistake again.
Departures (2008) is a Japanese movie that in part deals with this issue.
Anyone who says anything else is probably lieing. If they are telling the truth they are a fanatic in a bad way so you don't want them.

sure you want to make sure the company isn't really bad but mostly you need a check-
They probably have rich social lives. I wonder how fine-grained their communication signals are.
Interestingly, your description of remembering what something looks like matches my experience exactly, but in my dreams I see vividly. Aphantasic except in my dreams?
Let's try to calculate an optimal prepping strategy using a back-of-the-envelope Bayesian approach with expected utility. We need to estimate the probability of a societal collapse along with its potential severity. Then, assign utility values to each combination of severity and prepping actions. I think we can actually make informed choices here instead of pretending we know how a highly chaotic, future system might function.

Prepping actions could be anything from a well-stocked pantry to fully equipped underground bunker.

EU(A) = P(C) * Σ[P(S | C) * U(S, A)]

EU(A) is the expected utility of prepping action A

P(C) is the probability of a collapse occurring

P(S | C) is the conditional probability of a specific severity S given a collapse

U(S, A) is the utility of action A given severity S

We can leave it to the reader to make their own decisions.
Musk deciding to not have a legal representative in Brazil attacked your freedom, which is the consequence of his acts.
I wouldn't read too much into it. UK is one of my alma maters. Everyone in that area of the US means "University of Kentucky" when they say "UK". It isn't a dig at the United Kingdom nor is it (I assume) an attempt to gain undue credibility by associating with the country. For the people there, UK as the University is simply the first order association for that acronym, rather than what is to them a faraway country that has no bearing on their day-to-day lives.
There's a maniac/genius who made the BEAM VM boot directly on some hardware through his GRiSP project: https://www.grisp.org/

Hard real-time Erlang. It's siiiick.
E. Naggum published quite a few pertinent ideas and code: https://www.emacswiki.org/emacs/ErikNaggum
Elon Musk getting communit-noted is a fake way to pretend he could also be wrong but xitter is so great that it helps him fixes his biases.
> And unlike Snowden, he wasn’t trying to expose abuses by sending the documents to reporters.

Snowden was, according to all available evidence, not trying to expose abuses. He was trying to commit espionage against the US, and it's extremely clear to anyone who has passing experience with the leaks and a shred of intellectual honesty, because the vast majority of the files were completely unrelated to domestic surveillance programs, and instead concerned foreign surveillance programs.

Stop bringing up Snowden; all of the evidence indicates that he was lying about his motive.
I've had owls do the same thing, and thankfully without talons in full attack mode. "Aggressive owls" weren't a thing I recall growing up in the Midwest, but they're sure in the Pacific Northwest.
The distance from pole to equator is 90*60 = 5400 nautical miles, and the same distance is 10,000 km. So for a long time the km was exactly 0.54 nautical miles.
> However very few individuals are more important than thousands of octopuses

What do you mean by this? Are you stating this as an opinion? Or something people generally agree upon? Or something else?

I think most people, if forced to choose, would save 1 human at the expense of thousands of octopuses. Not saying this is right or wrong. Just wondering what metric you’re using to gauge importance.
This happened to me following a concussion. I worked with a therapist who suggested a "game" that could help my word recall. Every night before sleeping, pick a category and try to name an example from the category for each letter of the alphabet. Choose a different category every night so you're always challenging yourself.

Of course there's no substitute for working with a PT who specializes in post TBI recovery.

I've gained a lot of my recall back (though not at 100%).
Growing up, my parents always made sure the radio was on, slightly louder than a normal volume, whenever we left the house. Funny seeing how that idea of presence simulation has evolved.
We’re going to be racing the Chinese to mars pretty soon, assuming we’re all not fighting terminators.
> There is no legal process whatsoever, nor the regular mediums have been used

That's simply false. The proper legal processes are being followed. It's just a narrative pushed by those who refuse to accept that their actions are/were illegal and have consequences.
I run with Docker and it has been fine for me, but one issue I have is that certain things aren't documented well. For example, when I played around with the voice assistant stuff, the documentation only explained how to set it up via addons. It took a decent amount of digging and trial & error to figure out how to set it up manually. Looking again, it doesn't seem much better now.
> Welcome to 2024 when JavaScript is indeed everywhere. It's not hostility. It's reality. Aside from two people here and Stallman, absolutely no one cares about disabling JS any more.

This is an irrelevant diversion, and materially untrue - "> What a lovely hat\nIs it made out of tin foil?" is absolutely hostile, and that fact is not contingent on the number of people who disable Javascript.
Follow up to Strg.snek

see: https://news.ycombinator.com/item?id=34029078

(Dec 17, 2022 69 points)