skysight-inc/HackerNews huggingface dataset:
You're right, it's far from perfect, but it shows that it's not difficult to restrict native access to specific files/folders using the kernel and not weird Java IPC (which I guess should be obvious anyway). Google could've opted to provide native access to files, in addition to access via SAF, when you select a file via the picker, but they didn't. Graphene did it correctly from the low-level implementation side, not the UX side (but they can't really make the UX easier without breaking compatibility with standard Android apps AFAIK).
emu86 emulates x86, ARM, RISC-V, and WASM instruction sets in Python and in Jupyter Notebooks (which can be graded with ottergrader, nbgrader,)

assembler/virtual_machine.py:
https://github.com/gcallah/Emu86/blob/master/assembler/virtu... :

- class RISCVMachine(VirtualMachine): https://github.com/gcallah/Emu86/blob/master/assembler/virtu...

- class WASMMachine(VirtualMachine): https://github.com/gcallah/Emu86/blob/master/assembler/virtu...

assembler/RISCV/key_words.py:
https://github.com/gcallah/Emu86/blob/master/assembler/RISCV...

assembler/RISCV/arithmetic.py: https://github.com/gcallah/Emu86/blob/master/assembler/RISCV...

simd, avx, X86S, x86-64-v4,

x86-64 > Microarchitecture levels: https://en.wikipedia.org/wiki/X86-64#Microarchitecture_level...

The new x86 Alliance, Intel-AMD x86 ISA overhaul org.

"Show HN: RISC-V Linux Terminal emulated via WASM" (2023) and ARM Tetris: https://news.ycombinator.com/item?id=37286019
https://westurner.github.io/hnlog/#story-37286019

From https://news.ycombinator.com/item?id=37086102 :

> [ Bindiff, Diaphora, Ghidra + GDB, ]

> Category:Instruction_set_listings has x86 but no aarch64 [or RISC-V] https://en.wikipedia.org/wiki/Category:Instruction_set_listi...

> /? jupyter asm [kernel]:

> - "Introduction to Assembly Language Tutorial.ipynb" w/ the emu86 jupyter kernel which shows register state after ops: https://github.com/gcallah/Emu86/blob/master/kernels/Introdu...

> - it looks like emu86 already also supports RISC, MIPS, and WASM but not yet ARM:

> - DeepHorizons/iarm: https://github.com/DeepHorizons/iarm/blob/master/iarm_kernel...

JupyterLite docs > adding other kernels: https://jupyterlite.readthedocs.io/en/latest/howto/configure...
Starting with 60 RHR:

+120 bpm for 60min = -7200 beats off your life
-20 bpm for 23 hours = +27600 beats added to your life
Net: +20400 beats, or 6.8 hrs added, every day you keep it up

Obviously some factors missing in that, you can't live forever.. but back of the envelope it nets positive not negative
The whole 666 embedded in barcodes thing is sort of interesting. The UPC symbology uses an unusual encoding method, not seen in other barcode families, where every digit has two different representations, a "left" and "right" version. These were originally used to allow readers to detect the direction that they were scanning the barcode (whether it was upside down or not). This avoided the need for distinct "start" and "end" markers, as most barcode symbologies have. Instead, UPC had a "guard" symbol used at the beginning and end and, following the symmetric design principle, in the middle as well. Later, GS.1/EAN was designed to add a digit while mostly maintaining compatibility with UPC readers. To do this, yet a third variant representation was added, so each digit has an L, R, and G representation. On the left side, L and G variants can be used to encode the check digit.

I am not sure exactly why UPC uses a center guard, but I think it was probably just to provide more material for clock recovery, which was more challenging when UPC was designed. Mechanically scanning laser readers did not necessarily have well-controlled scan speeds, and in the early days manually scanned readers were common, so more clock recovery was better.

It so happens that the guard symbol chosen, which is a trivial alternating pattern, has a fairly close resemblance to the R variant of the digit 6 (but not to the L or G variants). It's not really the same, as the guard pattern is 3 modules wide (except the center one which is 5 modules) while digits are all seven modules. We could describe it this way: the guard pattern is 101 (or 01010 in the center case) while the R variant of 6 is 1010000. The "101" part looks similar. The L variant of 6 is 0101111 (L and R variants are the inverse of each other) and does not superficially resemble the guard at all. For completeness, the G variant is 0000101, but it was not in use when the "666 in barcodes" conspiracy theory was most current.

UPC is kind of weirdly complicated, reflecting its age. Later symbologies mostly use much simpler designs, usually with a distinct "start" and "end" guard and no center guard at all, and only one representation of each digit. Direction is recovered by telling the start/end markers apart, and check digits are implemented with just a digit in the body, rather than the curious "character variant" method adopted by GS.1 for compatibility.
I ordered many CDs of Ubuntu from 2005 until they don't send it anymore. For a middle schooler, getting a package that cool from abroad is something to be proud of. Thanks Ubuntu!
Rust unwraps many such problems.
Update: I somehow missed a damning section at Credible allegations of sexual misconduct section at https://stallman-report.org/#credible-allegations-of-sexual-.... Thanks to /u/deepl_derber for accusing me of not reading the report and sending me back to the source.
i'm guessing you were referring to the OP's app? he just added the video demo.
but if not, our main page IS the app ;-)
I was debating writing a blog post like "Blocking IO Considered Harmful" or something cheeky like that.

I'm not as familiar with Rust or C as other people, but I've done a lot of Java, and JDBC has made my life more difficult than it needs to be due to its semantics. It has been hard for me to get decent thread utilization with it because of all the blocking it does behind the scenes.

I've moved most of my SQL stuff to Vert.x SQL, which has given me better performance overall, and I can do most of it with a single thread.

At least in Java land, it's trivial to convert a non-blocking call into a blocking one (in Vert.x you can do myFuture.toCompletionStage().toCompletableFuture().get()), but it's pretty hard to efficiently go the other direction. I really wish JDBC would create something like "executeAsync" that returns a CompletableFuture or something similar.
Janus: Decoupling visual encoding for multimodal understanding and generation
Any hints or recommendations on how to find a decent seedbox vendor? (working email in profile if you'd rather not name any in public)
it actually does. he’s in europe, on a 5 year old autopilot, basically.

current fsd uses a multiexposure camera feed so its not really much susceptible to sun glare.
UDP hole punching works when you don't have symmetric NAT. So e.g. voice and video calls don't need a proxy and can be higher quality. You only need a third party to locate/signal your peer.
"White" is a fictional category, and it is an empty one at that. "White" and "Black" were invented in the Colony of Virginia to keep African and Irish/Scottish slaves apart and from uniting against their masters. To accomplish this end, "white" slaves were given the privilege of being whipped with their shirts on. This was enough to create a feeling of privilege among the "white" slaves and a feeling of resentment among the "black" slaves. Sound familiar?

Eventually, "Black American" actually became a real cultural identity, and in some sense an indigenous ethnic group that formed in the US among the descendants of African slaves (who, usually, also have some European ancestry). Nothing analogous occurred for "White American". There is no "White American" as an ethnic or cultural identity. It's a completely negative notion defined in terms of what it is not. This is why the whole "white boy" phenomenon we're seeing today is preposterously silly. It's not an identity. There is no "white culture". "Black" on its own is not an authentic identity either, unless it is short for "Black American. Black American culture has little to do with Africa, even if some elements of their culture have remote African inspiration or roots.

The "white boy" phenomenon is just a sad result of the loss of ethnic and religious identity. The US is a country especially prone to this issue. The first wave of European immigrants formed ethnic enclaves. With each passing generation, the likelihood of intermarriage, especially with members of the same religion, increased. Over time, ethnic identity is watered down to such a degree that the only remaining identity is religious identity. So, in the US, religious identity played a double role as both ethnic and religious identity. Now, as religious identity has eroded under the incessant pressures of liberal hyperindividualism, people are grasping at something that can given them a sense of identity. This is one reason for the rise of various ideologies, sexual and racial ideologies. So, in this case, the "white boy" is basically a kid with some kind of European ancestry who has no ethnic or religious identity who has latched onto this "white" label in an attempt to make up for having neither.

So, what Europeans had in common was a broadly Christian identity, not "whiteness", whatever that even means. Yes, the peoples of Europe tend to have less skin pigment, they tend to have different shaped noses, different phenotypes, but this is not a cultural or ethnic identity. Having blue eyes or brown eyes is not a cultural identity. These are the kinds of features that people latch onto when they don't have or have a weak ethnic identity.
Ehh, Framework isn't open-source hardware and its repairability is reliant on a single vendor. A nice step in the right direction, but MNT is the only company making computers that meet the bar for true "anyone can make their own" open source hardware (and certified[0] by the Open Source Hardware Association). This means MNT could go under, and anyone can still make/repair the entire machine. Not the case for Framework. If they close up shop, their hardware just lost its repairability. Their tagline "you can use them for as long as you'd like" has a big caveat - "as long as Framework parts are being manufactured". MNT doesn't have this limitation. The actual schematics are open source. Heck, even if individual components in the BOM stop shipping, compatible hardware can be made by the community because the entire computer is "known" and not encumbered by NDAs and whatnot. New PCB revisions can be made by whomever has the skill to do so. Too cool :D

[0] https://certification.oshwa.org/de000017.html
I think Bitwarden is the best thing that happened in the space.

I like the UX a lot more tha keepass, it has been better at handling mfa across multiple devices than lastpass, i can self host or not, the pricing has been super reasonable.

It does the job perfectly in my opinion.
Show HN: Stopping bots and fraud in online surveys
Online surveys are often used to quickly collect data for market research. However, use of sophisticated AI-powered bots and fraud in surveys ruin data quality, leading to bad business decisions.

We have created a tool for blocking bots and detecting fraudulent respondents. It is currently in beta, and free to use.

Please try here: https://surveys.ai

Would love to know your feedback. Thanks!
Stashing vs WIP commits have pros and cons. I've never hit any of these problems you're pointing out, so I don't have any particular strong opinion about which one you should use.

I can see that being nice I guess.

If jj's stashes are just regular commits, don't you have the problem where you accidentally push a stash just like you push a WIP commit?
Discussed at length here: https://news.ycombinator.com/item?id=41863388

I already linked this above, twice. I know it's a hassle to read, it's Sunday afternoon, so don't worry about it.

It's not important whether you as an individual get this right or not, as long as society reaches the correct conclusion. Thankfully, we're seeing that happen, a worldwide shift toward the adoption of nuclear power.

Have a pleasant evening!
Source? What does this look like?
I think it's also somewhat useful to think about "the other side" when holding a certain position. Of course, it may not be based in reality, or be factually incorrect as to why someone else holds a different viewpoint. I believe it's still worthwhile as a thought experiment to try and understand an opposing point of view, even if you'll never agree with it. There can still be some compassion or common ground, especially when it comes to something so life-affecting as war.

I do agree that authors can only write things they themselves believe, or at least are marked with their own way of thinking, even when trying to guess or infer the reasoning behind someone else's differing belief or opinion. When I get in a heated discussion online, and I can tell that someone is angered just from me stating my opinion, I've often tried this thought experiment to at least not take things personally if someone comes after me with violent or explosive language. I'm sure you've probably experienced it yourself, but some people online seem to hold their own beliefs as law, and will act out when challenged (even when your intention wasn't to challenge, but just to state your own opinion).
Not the first time, and also not shocking considering they seriously argument kevin mitnick must be denied touch tone phone use during serving his sentence becuase of the risk of him whistling (i think they meant blueboxing) ICBMs up into the air.

Chuckles me up still, the signalling landline network was long since gone, whistling alone never cut cut and the ICMBs are not ont he telephone network (the turth about those is much more horryfyng than the fact that the FBI nor Mitnick saw the egg on their face arguing about analogue hacks long since dead on the digital networks AND clearly both thought the ICBM silos could just be dialed up on some public number.

FBI have previously used agent provocoteurs to induce violent acts in animal rights groups. Fucking Batshit Insane is what they are pulling shit like this over and over.

..and you crazy americans arm these amoebas?!
Most of us do not have IDS/IPS/DLP tooling in our home networks, nor do we have a 24/7 on-call SOC team monitoring their SIEMs dashboards.

Google and Microsoft provision this stuff, even for consumers, with secure authentication and good protections.
@andai check out https://www.perplexity.ai/spaces
its _kind of_ what you are describing.. it's UX is unstructured compared to a mind-map or timeline. But we are starting to see the nascent stages of where all this is going. exciting times indeed.
Gift link to NYTimes coverage: https://www.nytimes.com/2024/10/19/world/americas/cuba-power...
In what way? Torrents are used all over for content delivery. Battle.net uses a proprietary version of BitTorrent. It’s now owned by Microsoft. There’s many more legitimate uses as commented by many others.

Criminals using tools does not make the tools criminal.
Don't be asinine; of course there are exceptions. But the general rule is that nothing is deleted. Even if you have a fancy expensive lawyer send them a C&D letter asking them to delete something or else, they’ll just hide it. You can’t tell the difference from the outside. In fact there are monitoring alarms that are triggered if something _is_ deleted.
If you do this, it might be interesting to publish this as a podcast. Hourly is too frequent for a podcast, but daily would be pretty good.

(Podcasts are just RSS feeds.)
FYI: "Money" is imaginary property. Not sure you want to call people supporting "imaginary property" dogmatic. It's what our society is built on.
This is accurate, their torrent-generating system is basically broken to the point of being useless.
It’s not like these are git’s only pain points. Git is practically the poster child for software that’s difficult and confusing to use.
Most recent proposal is here: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p34...
So everything is unsafe by default, until you turn it on. Great...
Previous owners and shareholders potentially benefit if they receive a higher than market price for the company, and that's probably why they sell in the first place.

In theory struggling businesses can be turned around and made profitable.

In practice it seems to be about maximizing value extraction (often through large payments to the new owners) until the business shuts down, or simply by selling off the company's assets if they are worth more than the buyout price.

There is is a huge conflict of interest when a company is saddled with debt payable to its new owners, who will have strong incentives to pay that debt off (while paying themselves huge salaries and bonuses) even if it means killing the business, harming any remaining shareholders, employees, customers, etc.
Saudi Arabia's Next Giga Project Is a Gigantic Cube in Riyadh
https://archive.is/2024.10.19-135728/https://www.bloomberg.c...
Sounds like it'd be an effective way to develop genetic tolerance for these pesticides after several generations of this behaviour.

With "several" probably doing some heavy lifting there. ;)
We have Kubuntu for that

EDIT: for stupid downvoters - Kubuntu is an official Ubuntu variant. It is officially part of the Ubuntu project. https://kubuntu.org
There are plain C++ programs: n-body C++ g++ #3

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
> The cube will include the world’s first fully-enclosed skyscraper

I don't understand what this is, much less why you'd want it.
MMUless embedded with FreeRTOS. For example, at one point, we did not want connecting over TCP to block our command handler, so created a task that waited for a notification, and connected on that task, and went back to waiting for another notification. Though we ended up combining some tasks' responsibilities to reduce the amount of total stack space we needed.
New Study Says Parents Trust ChatGPT for Health Advice over Doctors
WeBGPU support is increasing but it isn’t yet above 70% of devices: https://web3dsurvey.com/webgpu
Factorio 2.0 & Space Age DLC (releasing at 12:00 UTC)
> There are a substantial number of async crates out there that run on top of tokio. They use tokio’s primitives, tokio’s executor, and tokio’s I/O semantics. Because of this, they rely on tokio’s runtime to be running in the background. If you try the above strategy for a crate that relies on tokio, it will fail at runtime with a panic.

This is the worst design choice in the broader Rust ecosystem right now. It’s insane that people are exporting public functions from packages that rely on their caller running the right thing in the background. Imagine a library that didn’t work if you didn’t create a global mutable variable for it to modify, and that variable didn’t even need to be passed into the library explicitly.

Tokio should have a marker type that’s Copy and returned from functions that start the runtime, and require a parameter of that type when calling functions which expect a runtime to already exist.

Yes this is backwards incompatible. It should be done anyway.
This is a much better link than the one in the submission. The submitted story is an opinion piece from the editorial board of the WSJ that is very light on details and high in rhetoric.
> Asynchronous code does not require the rest of your code to be asynchronous.

Seems like in many languages the async keyword is viral. And that is the most pointless work I've ever done, where I've to go around and mark everything async just because of one async function. So this is a strange statement to me.
I added a basic speed setting, hope 3x is enough ;)
Well it wasn’t real communism anyway
Community: Component Libraries
A bit lower level, but possibly now with graphene FET transistors:

From "A carbon-nanotube-based tensor processing unit" (2024)
https://news.ycombinator.com/item?id=41322070#41322134 :

> "Ask HN: How much would it cost to build a RISC CPU out of carbon?"
Open Farenheit 451B will be in charge of detecting unauthorized books and streaming media, as well as unauthorized popcorn or bread.
When it comes to online reading, there are quite a few things that cause me fatigue that I don't feel I used to experience. Advertisements have been there for a long time, but often these are woven into the content, either as literal text placed in the article, or as visual ads that you need to scroll through to continue reading the article. Relying on different JavaScript and CSS techniques to "enhance" the user experience often cause me issues when I'm just trying to focus on reading. Those include overriding scrollbars, dynamic loading of content when the text is small enough to have been included in the page, and displaying some kind of alternative action when highlighting text. I'll often highlight text to keep track of where I'm reading, and some sites will pop up a dialog with share actions, or the ability to add annotations, etc. This is distracting and makes it more difficult to follow along with a longer article.

I'm 45, and got my start on BBS pre-internet, but I feel like if I find an article without the distractions I mentioned above, I actually have more energy to complete an article than I did in my 20's and 30's. Having access to the article without distractions helps me to focus, and when I focus, I tend to consume more content than I normally would. Most likely one of the reasons we're drawn to HN.
For my entire life, the networking nerds have been shaming us for not using IPv6. Back when I had a NeoPet in middle school, IPv6 was was "just around the corner." I'm now raising my own children and still listening to the same IPv6 talking points.

Every company I've ever worked for has completely disabled IPv6 on the corporate network. My own ISP still doesn't offer it. Disabling it is often the quickest fix for a variety of networking issues.

At some point we must admit failure. There is no conspiracy to limit IPv6 adoption. If the technology was truly useful, you'd see far more in our profession advocate for it.
That's probably true for consumers. For large, global corporations, IPv6 is a million miles away. I've worked with several, and they all have poorly managed kit, vulnerabilities everywhere, poor documentation/diagrams, poor performance, millions of firewall rules, tons of vendors to connect with, outsourced wireless vendors, remote access solutions that are a byzantine security mess, ... IPv6 is suicidal for most large organizations beyond ok we can speak IPv6 for a small part of the infrastructure. Add to this the recent deluge of VPNs everywhere (probably due to WireGuard) and container networking, IPv6 would be a recipe for disaster. Security is difficult in this scenario, in part due to the people implementing this stuff don't have a good handle on what they are doing.
https://archive.ph/K3A6E
It's not quite the case with cars though - people are ok with Waymos which are not zero accident but probably safer than human drivers. The trouble with other systems like Tesla FSD is they are probably not safer than human yet if you don't have a human there nannying them.

Similarly I think people will be ok with other AI if it performs well.
>you're just required to be explicit about which approach you're taking

Yes and I'm opposed to such "if err != nil" boilerplate.
It is a miracle they have survived with the US trying to destroy them over the last 60 years with sanctions, blockades, covert destabilisation, etc.
There was a startup called Space Monkey that sold NAS drives where you got a portion of the space and the rest was used for copies of other people’s content (encrypted). The idea was you could lose your device, plug in a new one and restore from the cloud. They ended up folding before any of their resilience claims could be tested (at least by me).

Would be people be willing to buy an IA box that hosted a shard of random content along with the things they wanted themselves?