skysight-inc/HackerNews huggingface dataset:
In order to be useful, a sandboxed program needs to communicate with the environment (the equivalent of system calls). If you can corrupt internal state, you can control the arguments to those calls, which may have security implications.

For example, if you corrupt a program that's allowed to use web sockets, you'll be able to port scan the user's local network.
A great way to handle context-specific headers: common path rooted in context-specific directories coupled with include path management.

Useful for platform- and architecture-specific code but can be used for anything really. Anything you want to parameterize and compile conditionally.

Instead of this mess:

#if APP_LINUX
#include <app/linux.h>
#elif APP_BSD
#include <app/bsd.h>
#elif APP_MACOS
#include <app/macos.h>
#else
#error "Unsupported platform"
#endif

Organize things like this instead:

linux/include/app/platform.h
bsd/include/app/platform.h
macos/include/app/platform.h

Then in the makefile:

# Detect it somehow
# or have user provide it
PLATFORM ?= $(shell uname -s)

cc -I include -I $(PLATFORM)/include

Then in the source code:

#include <app/platform.h>
Loved the watches, hated their "forced upon you" software. I want wearOS, I already have android, I _do not_ want to _have_ to install you shitty crappy software with forced account creation, etc..

Running in the background of my phone, doing whatever. Constantly monitoring where I am, etc. *HATE IT*.

But Fossil hardware with JUST wearOS would be great! I hope it comes in the future.

(Ye gods I hate their software. Was it obvious I hate their software?)
>Oh, did I mention that good header dependencies decrease the linking time?

How?
That concept is just an app or an OS feature on an Apple Watch or a smartphone (with or without wireless headphone/mic).

It’s Siri whenever Siri gets hooked up to a LLM, which will probably happen within the next year or two. I’m not sure why this idea would take the form of a watch.

The reason why watches still have faces is:

1. To be fashionable

2. To see the time and other information quickly without speaking

Otherwise, there is no reason to buy one. The “smart” in the smartwatch is frosting on top of the cake. The “cake” is the watch’s main function as jewelry that tells time.
I keep thinking about - which one would i prefer my coworkers using when on a work call.

I think i would prefer neither, and they just 'turned the camera off'.
"real-world complex physical systems (industrial plants, but also large-scale software systems) may have replicas of the same components with complex behavior, and no/few shared dependencies for reliability or other constraints (e.g. physically apart). These can be captured by transformers."

Could you elaborate on this please? On why the transformer architecture lends itself well to this?
You can still have memory safety bugs in WASM. The difference is that they can only do memory unsafe things within the sandbox. That's better than nothing but still not as good as actual memory safety.
Really? I think it adds much more to a city's character than Banksy's hokum. I'd happily pay to put this up across my local skyline.
And then did you try the same on Linux and macOS? That's what the Zig toolchain gives you, it doesn't lock you into a specific OS.
Not sure a hand cranked VR goggle would be very popular. Or are you suggesting it should suck sugars from your bloodstream to power itself?
I had [a YouTube channel](https://www.youtube.com/howchoo) that hit 25k subscribers from only about 20-25 videos. I worked happily at it for a few years off and on, but the economics of YouTube didn’t make sense for the amount of time I was spending, despite loving doing it. Love is not enough; I love doing a lot of things but only have so many hours in the day. It would’ve been great if YouTube paid enough for me to do it full time without having to chase likes, subscribers, and sponsors. Then I would be at a few hundred videos. So yeah, screw YouTube.

But I learned a lot and got to invent a lot of cool stuff—like turning a Furby into an Amazon Echo, building a rugged arcade cabinet in a case, being the first to put a Raspberry Pi into an NES cartridge, etc. Hoping to return someday with a new channel once I can afford to not get paid anything to make the videos (albeit on a new channel; we sold Howchoo, and the channel was sold with it)
Even in places with lots of hurricanes the odds of the house "blowing away and falling over" are pretty slim. I speak as a person who grew up in a place that gets a lot of hurricanes. The biggest impact is usually flooding and roof damage.And now, once again, as someone living in a highly tornado-probe area, it's mostly roofing damage. The odds the tornado will destroy your house is still incredibly slim.

So do you spend significantly more for construction for a failure that's still extremely unlikely? Y'all are acting like every time there's a thunderstorm all the houses just blow down. You're entirely disconnected from reality of the actual risks versus massive increase in costs.
I'm not saying to love something is to be devoid of taste or incapable of sorting the bad from the good. I'm saying it means being able to suffer the bad, to sit through a bad movie until the end, in the hunt for any passable scene.
Is "abandoned" the narrative speak for a essentially bank owned real estate that's sitting in bankruptcy court somewhere? The premise this is a billion dollar asset that no one wants is patently asinine.
Lock up the vandals, and throw away the key. Of course that's flip, but I'm a big believer in broken windows policing.
On some sense 7 bits won since ASCII used only 7 bits, leaving the question of do you leave the high bit zero, use it for parity, pack 7-into-8 for long strings, etc. (Sometimes in serial comms in the old days we really sent 7 bit characters)

You could pack upper and lowercase roman letters and numerals for a total of 62 characters and then have room for a period and space and you’re full. With only uppercase you can a decent set of symbols, see the SIXBIT encoding

https://rabbit.eng.miami.edu/info/decchars.html

that Digital used for file names back when there was a computer industry on the US East Coast. If you wanted something general purpose you’d need to add some kind of shift to get lower case characters if not additional symbols and control characters, but now the meaning of the characters depends on state which might have been seen as a burden on the peripherals of the day and is certainly more of a hassle to program. Note it was seen as decisive that IBM’s 360 used 8-bit characters that could have fit the ASCII code but they went with the 8-bit

https://en.wikipedia.org/wiki/EBCDIC

code instead because it was easier to make compatible with older keypunch machines.

Already 8-bit is looking like overkill, I think the control characters were not really properly utilized in 7-bits, 8-bits let you fit some combination of extra symbols, modified roman letters used in other european languages, and such. You can’t cover every European language in 8 bits (which is why they had different code pages) but you could get most latin variants and probably some other sets like Greek, Cyrillic, even Japanese Kana, in 10-bits but hardly anyone wants to use all those characters at the same time.

If you had a sixty bit computer you might also consider a 5-bit code set like

https://en.wikipedia.org/wiki/Baudot_code
It's in my real name so I don't want to link any of my questions, but I'll start keeping a list for when this comes up next.
How close is AI to the human brain scale and level of connectivity?
Last time I checked (three months ago?) you needed to patch the kernel to enable hibernation in kernel lockdown mode. I think OpenSUSE enabled these kernel patches by default, but that caused issues with secure boot.

Nvidia "just working" is a matter of luck and patience. I'm on kernel 6.7 on my laptop with the latest Nvidia driver and I'm booting with special Nvidia command line flags and running with carious Nvidia specific tweaks to make the thing not drain my battery the moment it boots up. Wayland support remains spotty on multiple compositors.

It'll probably Just Work with a whole bunch of extra power consumption on desktop, as it does on mine, assuming you don't particularly care about Wayland support. Wayland support works in that there is content rendered to the screen, but hardware acceleration is spotty and has weird performance issues that aren't present on Intel iGPUs.

You can make all of this work, but out of the box it doesn't.
How many miles do you drive and what cars do you have? Do you mean four cars?! What cars.
> the colorful paint job

There may be a discussion about whether painting on someone else's things is justified or not, and in which cases. But another thing is that tagging is really the lowest form of graffiti, barely any "art" in it, certainly no creativity. It's usually the same low effort, low complexity "stamp" repeated over and over again by the same group. Where's the art in that? Because there's certainly vandalism.
Did someone get around the modules-linearise-the-build-graph problem?

In the before times, people were enraged with C++ compile times and wanted a solution. Modules could have fixed that, thus people assumed modules would fix that.

Then modules were designed with the primary motive of removing preprocessor macros from the language, with reference to fortran's binary module description model. The one that turns the trivially parallel compilation model into a directed graph.

I'm under the impression that C++ modules as shipped require you to build dependencies before uses and the inevitable linearisation of the build graph is considered "probably fine, whatever". Compiling individual translation units gets somewhat faster as you don't need to parse the headers each time, but you can no longer build everything simultaneously.

Do modules actually make compilation appreciably faster in msvc?
Sorry if this came out as insensitive. I've never been to China. By Chinese food I mean food that is available in Chinese restaurants in Europe where I live. By bad Chinese food I mean food that isn't fresh, that's dry, that has obviously been reheated more than once. I don't mean rotten exactly (although it can happen).
Possibly just because it’s the smallest that supports ‘enough’ characters for us English and was the cheapest useful one at a time when memory was expensive.

6 bits is too few for a lower- and uppercase alphabet, digits and punctuation.

7 bits could have worked (see: ascii), but I guess 8 won because 7 would be an odd (no pun intended) choice and because of the popularity of the VAX.
If that was true, deforestation wouldn't be much of an issue. We've changed the face of the planet massively.
This seems like a perfect framework to use for embedded SCADA/HMI systems. I’ve been debating home brewing my own system but this should be a great replacement.
While excluding nodes which a huge portion of the code depends on is one solution to make the graph less messy, I think an interesting alternative would be to allow certain nodes to be duplicated. If the "energy" of the system could be reduced above some threshold by duplicating a node, duplicate it and connect the edges to minimize the "energy". Alternative let me configure that these nodes can be copied N times.
>Go down to customs once a week to argue with the guy. One week you can't have it because it looks used. It doesn't look used. Next week you can't have it because they think I'm importing to resell it.

Cousin Eddie: I'm real glad that things are going good for you, Clark.

Clark: Mm-hm.

Cousin Eddie: I got laid off when they closed that asbestos factory.

Clark: Ahem.

Cousin Eddie: And now, wouldn't you know it...
...the Army cut my disability pension...
...because they said the plate in my head wasn't big enough.

Clark: Shoo.

Catherine: Eddie, Clark and Ellen don't want to hear about our troubles.

Clark: No, no. It's very interesting.

Aunt Edna: Why don't you just ask him for the money, Eddie? He sure as hell can't take a hint.
It’s been explicitly billed as a cost savings in a few places I’ve lived (nothing is easier for a politician than bashing the DMV without mentioning that the parts voters don’t like are ensured by your legislative decisions) but if access to the poor is essential, driving is already so heavily subsidized that we could have some kind of assistance program. Most of the people benefiting from lax enforcement are not poor - those luxury trucks and tricked out cars are a middle-class hobby - and the resulting injuries aren’t free to treat.
maybe you haven't seen the amiga community, it's pretty weird. they still make new hardware for it like expensive Holy Shit accelerator cards with HD graphics, hundreds of megabytes of ram, and hundreds of MHz CPUs and people buy them so its not always about being retro.
Seeing this makes me wonder when these "artists" start realising they can use drones to put their "tags" on all those nice big flat unreachable areas high up on buildings.

Am I glad I don't live in a city. Around me the only "tags" are left by territory-marking animals of the non-human kind.
It is the Gell-Mann Amnesia effect, but on social media:

> The phenomenon of people trusting newspapers for topics which they are not knowledgeable about, despite recognizing them to be extremely inaccurate on certain topics which they are knowledgeable about.
If that actually works in a browser wasm environment then it's also possible from Javascript, which is a memory safe language (eg either the sandbox works or it doesn't, that also includes the external APIs).
Maybe light sail and beaming energy from the home planet?
I'm not very convinced of the utility of smart watches, at least not the wear os incarnations - I will not make a generic statement because I have no way to know if I would like the Apple Watches and I am not willing to buy an iPhone to get one.

I have a Samsung Galaxy Watch 4 and it's.. alright. I mean, the software works smoothly, I don't have any complaints to make in terms of defective behavior or UI. But past the time of novelty I barely use it as a smart watch. Just a watch I charge every day and which I won't replace once the battery ages too much or it breaks. I'll go back to a regular casio at that time.

It works for checking notifications but in many cases I'll want to do something after a notification (like, if I get a message, most likely I'll want to answer it, at which point I am going back on the phone where typing is comfortable, and what value did the watch provide?)

It doesn't add anything to some of my physical activities the phone didn't do - like tracking my bike rides on a map, and when I want to look at past results I'll also be using the phone - a bigger screen is always better.
Tracking my heart rate - one of the watch exclusives - hasn't changed anything to my life.
Anyhow, I will always be taking my phone with me anywhere I go, so the watch feels quite redundant. It can do things without having to take my phone out of the pocket, but do them worse for the most part.

I'm sure Fossil's bad deals with Google and the rise of Samsung contributed to their ills, but I also have a feeling this is a market that will have very little user retention in the long term. People buy their first smart watch and then might not decide to get another one ever. Unless they find a way to severely ramp up the utility in a way that can convince a large amount of people.
40Gbps is not enough to run the screen for one eye at the resolution/framerate/HDR it's running at. You'd have to chop the bpc to 8 or the refresh rate to about 80hz. And then you'd still need another one for the other eye, and a third one for the cameras.
Hey, congrats on the landing page:

-> How do you currently manage and optimize your SaaS costs?

My costs are usually fixed, as I buy/purchase VPS/dedicated server, no auto-scaling cloud

-> I think environment impact of serving my landing page is negligible compared to other sources of pollution. What I care about is performance and user experience, I think for humanity it's better if I save a person 5 minutes each day by providing a faster/better app, which will also improve the carbon footprint.

-> I am not sure exactly how it connects with all my services and calculates costs, I would be more concerned about providing all my requests/customer data to a 3rd party than about the environmental aspect. If no such detailed data is shared, then why is this tool better than creating a custom dashboard/graph that multiplies the requests count with a 1g CO2/request to calculate total output?
Why dont you just ask someone coming from India to get you one ? They are available over the counter in India and there are a lot of Indian people hopping on a flight to the US all the time. I am sure there is someone in your office you can request, or someone in your locality.
> but it is a far more modern and less dangerous language than most people think.

I suspect a better answer here is that people have wildly different tolerances for safety and don't discuss the subjective aspects of interactions with programming languages.
Money, specifically $20k per app per platform (assuming you're not a small startup). That's Avalonia XPF, though, not the open source component; XPF is an alternative platform to target that'll turn WPF into Avalonia without rewriting any code.

If you're willing to rewrite/port code, you can use the open source stuff and get the benefits for free, of course!
LOLOLOL depends on the area.
Is there anyone currently residing in it? If the reason that it is disused is merely some bureaucratic snafu, then that actually feels even more dystopian than some run-of-the-mill abandonment.
In most places you can at least get back the court fees (which are typically a few hundred bucks).

Unfortunately sometimes you can't get back the court fees, and in situations like that, rather than spending $3000 on some new medical gear and battling insurance I would be very tempted to go to eBay, buy it 2nd hand from someone for $150, and just use that. Better time/effort/money/result tradeoff IMO.
What's the issue? Elaborate.
LOL

If only.
> since the times of single-digit Windows.

Do you mean 15 years ago with windows 7, or 30 years ago with windows 3?
Moving logic from the source code into the compiler invocation is a mixed blessing. In general as the list of -I directories needed to build the thing gets more complicated the ease of building it from something other than the provided build scripts goes down.

Much like working things out in the preprocessor is ugly but works with other build systems and over-elaborate configure script style stuff makes for prettier source by moving complexity elsewhere.
> instead of being able to walk outside with a couple of bills, I have to bring my whole phone or wallet

That still doesn't make any sense. Firstly, 99% of people carry their phone with them pretty much everywhere so you're already a special snowflake.

Secondly, instead of "a couple of bills" you have to carry... a single card. Wow. So much hassle.

> Sometimes I even prefer paying with cash because it helps the vendor avoid the fees they have to pay for each digital transaction.

Yeah I have more sympathy with this but my feeling is vendors prefer cashless even with the fees - at least debit card fees (~0.5%), maybe not credit card fees - because cash isn't free. You have to spend time taking it to the bank, dealing with employee theft, etc. etc.

I feel like CBDCs could really help here.
6-bit was common previously and then ASCII was 7-bit but that's an odd number so 8 made the most sense and it's a power of 2, which makes it even better than 6 which isn't.
>we should fight for an economic system that gives people more leisure

We don't even have an economic system that pays well or treats people humanely...
I'm pretty sure that is a property of the word2vec embeddings. I'm not 100% sure if the embeddings/hidden states in LLM's have the same property but my guess would be they do.
Don't tell jart this or she'll probably add it to cosmopolitan
Hehe. Ok. Be sure to have multiple cameras running :)

And to stick a thermistor on the distribution panel breaker just to be safe. Those things don't like to be slow cooked.
Makes no sense to me. It seems totally possible to me to love movies without enjoying wasting 2h watching a poorly made film.
Who are the people funding it?

CCP? Unlikely: they benefit from exporting solar and increasingly, wind energy hardware to the U.S., big time. They are on the losing end if demand for those sinks.

Putin? To increase U.S. demand for fossil fuels and thus reduce exports, making his own more indispensable? Unlikely, because these are a drop in the bucket vs what CCP deploys, anyway, so it won't be a big difference.

Who then? Just some crazy rich people who honestly believe in conspiracy theories, or are zombified under Trump's influence? This is not how i imagine rich people.

It's different from typical run-of-the mill NIMBY because NIMBY is, while utterly selfish, is rational: people protect values of their homes through prevention of building more homes around. But preventing renewable energy, people prevent tax dollars and land use fees from it, which feed into local economy, making things like local roads and schools better, and boosting, not sinking, values of their real estate.

I struggle to imagine who those people really are. Unless they are indeed, deeply irrational and are against renewables simply because they are a new thing, or because Trump told them to.
When my grandfather finished his ROTC program for the army core of engineers him and one other classmate got assigned to go to France to rebuild destroyed bridges. I asked him once what his other classmates ended up doing and he had told me they all died in-route on a transport plane headed to Korea. I wonder if this is the one? I didn't ask for more details at the time because it was clearly something he didn't like dwelling on.
ITAR isn't, or shouldn't be about economic protectionism; it's for restricting the flow of weapons of war.

If the US government wants to encourage domestic chip production, it has other ways to incentivize that.
Nobody defended terrorism. Do you prefer religious bigot to racist, because you're painting with a huge broad brush and not at all focusing your complaints on terrorists. And again this didn't start in October.

If you're going to act like this, you shouldn't join any future conversations on the topic either.
I'm not sure if "any" applies, I'm sure there are some weird proprietary WPF components out there that'll break somehow. However, XPF does seem to integrate well with popular WPF widget libraries, so support seems very good.
They don't. APE loads a different syscall table depending on the platform. Or something like that, I don't claim to fully understand the internals
Yeah, I had relocated to Paris just after the first iPhone, seeing how useful it was I bought the 3G phone the summer of its release...
> It's not "standardization" when only one model from one company is doing it.

It is when that company is IBM and the model is their new platform that all of their future systems will be based on. They were a juggernaut back in those days, more than Microsoft is today.
The author sounds horribly mistaken.

Even dynamically linked executables tables do not need sections!!

It just so happens to be that the runtime symbol table is defined to be the same format as the normal symbol table. Although it shows up as .dynsym, the runtime linker doesn’t find it that way!
Have you read the article? Because it explains it pretty well.
Ask HN: Did you try/buy the Apple Vision Pro?
It seems like the initial reviews (from influencers) and then the verge/reddit reviews of real people trying this diverged. Add to that, you need sometime before you can pull your final judgment.

I am wondering if some of the HNer here bought one and what their opinions are.