skysight-inc/HackerNews huggingface dataset:
Most of the UB in C++ could be well defined within the language if the language just did whatever the machine did (like overflows). The exceptions I can think of are (a) executing invalid code, or (b) access deallocated memory. Java can avoid both of them by taking control of both: you can't execute arbitrary pointers or read/write to arbitrary addresses within the language, and the runtime (I assume) prevents tearing of writes. (This is already guaranteed by the machine on x86, so it doesn't need to do anything there. I can only assume weaker architectures might require atomic instructions for potentially interfering writes, which seems like the cost paid here, but someone can enlighten me.) Furthermore, the GC can ensure that its operations are synchronized with your threads, so you can't interfere with it, and it doesn't pull the rug out from under you. So the end result is that there's theoretically no way to break memory safety.
Designing apps for the E Ink Kindle (2018)
I’m willing to bet I’m more educated than you are.
Go get petty over semantics and obsolete forms of insurance elsewhere.
They’re probably using it similar to how Spanner uses TrueTime: https://cloud.google.com/spanner/docs/true-time-external-con...
AI will obsolete companies and jobs, but empower coops, creators and curators
Welcome to the internet. Where men are men, Women are men, and little kids are FBI agents.
Any experience with Riot OS?

https://www.riot-os.org/
What are pliers doing in the actinides??
"Every once in a while, a new open source initiative comes along which is truly an industry changing event" - the article

"Every once in a while, a revolutionary product comes along that changes everything" - steve jobs announcing the iPhone in 2007
So MAGA is not far-right, authoritarian and ultranationalist? If you believe they're not a threat, see project 2025.
Prompt Structure in Conversations with Generative AI
At least for the water leak scenario, the best approach is to put a drain pan under any appliances that could leak (laundry machines, dishwashers, water heaters). The drain pan should itself drain to a pipe.

Ideally, a water leak sensor should be used help to catch a slowly failing appliance so you can repair/replace it before it does major damage, not preventing it from doing damage in the first place due to a sudden major leak.
Fusion Particle Cannon? Maybe a warning about AI or something?
The problem is that the people with the strongest and least flexible religious views are precisely those who deny that they are religious.
Thanks. To further clarify, the SDK can be used from within a Tokio runtime or using Tokio's facilities in a synchronous runtime. Can other async runtimes be used? (The linked post seems to imply that they can.) It looks like Tokio gets installed as a dependency and I see the following when trying to use the futures package:

> thread 'main' panicked at /home/dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aws-smithy-async-1.0.2/src/rt/sleep.rs:128:20:
there is no reactor running, must be called from the context of a Tokio 1.x runtime
As someone who used to maintain an init script, ROFL.
Things I want in a serverless database:

1. Scales to zero, no cost when not using

2. Allows for SQL over API like aurora v1. This point is important, it allows for faster access from other serverless technologies, i.e. lambda
I guess that's why i went into JavaScript instead of java. I use to write HTML back when i was around 10 years old, back then java applets were the only way you could have something interactive and dynamic on your page, so i started to learn it. After a while i learned that you could do a lot of neat stuff with JavaScript. So i stopped using java.
They got 91 million from EU fund to built commercial project. It should start producing electricity start of next year. 8MWat electricity and 64 MW thermal. Looks like everything is going according to plan. https://eavor-geretsried.de/en/ https://www.eavor.com/press-releases/eavors-next-generation-...
> hanging punctuation is the main one that can actually cause harm if misapplied

Yeah, it can screw with layout. We recently removed it because it had seemed harmless to have it enabled so Safari users could enjoy it and other browsers would just ignore it, but then we discovered it was screwing up the layout on the main page's lists (https://gwern.net/index) and was not harmless after all. :(
Disclaimer: I am not working on the SDK nor for Amazon.

As far as I read the code of some AWS SDKs, the SDKs (in most languages) are generated from interface files and are thus always in-sync and cover the same APIs in every language.
I doubt it. No one is working on implementing CUDA on top of it.
On linux its the opposite. Its was such a relive to get an AMD card and finally have a good stable driver.
I don't always test my code. But when I do, I test it in production. -The Most Interesting Man in the World
Yeah Resident Evil would play thematic music and creepy sound effects with a door loading animation. The way they did it almost added to the suspense of the game, so it worked fairly well. You would definitely hear the PSX grinding the CD motor overtime in loading screens though.

It's not JS taking a minute to load, it's just that ads are typically loaded async and from many different origins than the server hosting the site itself. Def worth using an ad blocker or something like Brave which does it by default.
Broken Method or ESP?
Nothing extraordinary, just interesting. You know - to advance / provoke one's thinking.
I thought it was still kind of a pain to rip a 4k blu-ray?
Some useful links for people

- NOAA Aurora tracker: Shows the predictions of auroras and some other information. Currently predicted that tomorrow you might see something if you're in Vancover BC. Doubtful Seattle ("view line" is best conditions and very faint), we'll need a KP 7 or higher for good visibility in the PNW, but that's not as unlikely as you might think. https://www.swpc.noaa.gov/communities/aurora-dashboard-exper... Second link is main space weather page https://www.swpc.noaa.gov/about-space-weather

- SpaceWeather: Useful site for all things space weather. Has useful links to other things as well. https://spaceweather.com/

- SpaceWeatherGallery: One of aforementioned links https://spaceweathergallery2.com/index.php?title=aurora

There's some paid services that will ping you but they're absurdly expensive. I'd do this but I'm finishing my PhD so you know how that is. But all the data is available from NOAA (e.g. https://www.swpc.noaa.gov/products/3-day-geomagnetic-forecas...) but it's not super neatly organized. Still I love SpaceWeather but $8/mo is an insane price to ask for what looks like a tool that can be thrown together in a weekend. If anyone gets to it before me let me know, otherwise wait a few months and I'll get to it and post a OSS version here.
Although at purchasing power parity things are much closer.
Agreed, as a Python dev who tried a bit of Rust a while ago, I was wondering exactly the same thing. Bored of the churn and fads with higher level stuff.
I don't think there have been any tremendous, relevant innovations in solar monitoring in a very long time.

But (as with many other 10/100/1000 year events) we have been agressively positioning ourselves to be far more vulnerable to catastrophic impact.

If contemporary society were written in Rust, quite a lot of it would be tagged "unsafe" for lack of wanting to deal with troublesome edge cases.
I install Rust's toolchain and development tools inside of a container, I also do this with Python and will do it with C++ sometime in the future.

I don't do this because I have to, I do this because I prefer to keep non-system -critical software managed by non-root users and separated from the systems rootfs.

On your common desktop Linux distro, I think C and C++ toolchains are the least difficult to setup and use without a container though (for me). On Gentoo I can just emerge gcc or clang and enable whatever USE flags I want, and they are installed and updated automatically with the rest of my system.

I use the Gentoo system package manager to manage my Rust toolchain as well instead of using rustup, so that it behaves like described above, it's updated and managed automatically and with the rest of my system!

I do realize that many distros have issues with software being out of date though, and that is a big problem! With Gentoo I can install multiple versions of most things in parallel and can very easily package anything that doesn't exist yet.

Also to clarify, I use the system package manager to build and manage my containers, this is how I use the system package manager to manage Rust's toolchain but also have it inside of a container. All of my containers are just nested Gentoos that I can install stuff into with the system package manager. I can also install a package manager into the nested Gentoo and build/install stuff while "inside" of it.
Okay, that makes sense, I was definitely confused about that. Thanks for clearing that up for me.
So, this begs a rather obvious question. What makes that team different? Is it the talent, the leadership, the focus on product?

As a long time JavaScript developer I honestly believe, and I really mean this, that maybe 4% of the people employed primarily doing JavaScript work actually know what they are doing. Just 4%.

It seems at the beginning many of the early Valve team had a lot of passion but almost no real experience in that kind of code or product. They got a massive springboard with the Quake code and then figured out the rest. They didn't stagnate on the Quake code, but wildly modified it to fit their needs. Most JavaScript people are not capable of this. They just stagnate at their favorite framework and then just spin around code style and process.

What differentiates that early Valve team from all these various JavaScript teams? It clearly isn't education or professional maturity.
Interesting. I wonder if there are any fracking related risks with ground water contamination (breaking up the rocks that separate naturally occurring zones).
That's not true at all. Games like Zelda were absolutely possible on the N64 and close to traditional RPGs. The only thing that wasn't really realistic was to make extensive use of pre-rendered background stills like in Final Fantasy (due to relatively large file sizes), or pre-rendered FMV (due to massive file sizes).

But neither of those things were in any way required to make an RPG. In fact, heavily relying in pre-rendered stuff has mostly been abandoned since.
from the java spec notes:

> Some implementations may find it convenient to divide a single write action on a 64-bit long or double value into two write actions on adjacent 32-bit values. For efficiency's sake, this behavior is implementation-specific; an implementation of the Java Virtual Machine is free to perform writes to long and double values atomically or in two parts.

> Implementations of the Java Virtual Machine are encouraged to avoid splitting 64-bit values where possible. Programmers are encouraged to declare shared 64-bit values as volatile or synchronize their programs correctly to avoid possible complications.

so in practice Java behaves exactly as C++ for tearing (`volatile` in java having the same meaning than `atomic` in C++) - and if there is a powerful enough optimizer running in the back-end without access of the original semantic information it may well create the kind of UB-led optimizations that people complain about in C++
The Minds Behind Windows: Raymond Chen [video]
That would be great, but in my case I am getting no connection at all. Hacker News times out.
It’s just the opposite of what happens with Google. They announce a product that is available today. But won’t be available in 6-12 months.
> Cars are energy intensive mode of transportation and manufacture. We could all walk more and be subjected to less pollution and experience a greater quality of life.

Yeah I agree. I already try to use my car (a hybrid, tried to get electric but there were none in the area at the time) as little as I can.

Working from home the past six years has cut down how much I drive to like 20% of what I used to. Unfortunately I do live in a suburb in the US, so I don't have much choice but to drive to places unless I just want to be stuck in my house forever. Only place I could probably feasibly walk to near me is a 7-11 or a Papa Johns, and that would still take 25 minutes each way.
This was disclosed about a year and half ago.
Yet Tesla has tried different things and now we see the larger auto industry singing a new tune. The most visible example of this is the GigaCast. The Old Auto companies never thought this was a viable path until Tesla showed how superior it actually is.

https://www.youtube.com/watch?v=WNWYk4DdT_E

Sandy Munro is a leading expert in the auto industry, tears down all the vehicles and consults with all the major manufactures. He has many great videos on the trends. One thing he consistently points out is how adverse "old auto" is to new ideas or change of any kind, that they don't know how to innovate
If you accuse me of hubris, are you willing to take a $10,000 bet? It's clear that there is no science happening at OpenAI. It's pure brute force. You won't learn anything with that approach.
> lossy jpeg of web

Knowledge is compression
https://en.wikipedia.org/wiki/Hutter_Prize
Do you have an actual disagreement to communicate, or just thought-terminating dismissal, because it seems that typos would be more frequent for users with poorer attention to detail, which sounds to me like the kind of user that is more likely to fall for a scam.

So yeah, preying on users who make frequent typos would also serve to target less observant users, who have the potential be exploited more easily than the general population. AKA: typos imply an exploitable weakness

Case in point: Verisign and Telekom squatting on typo'd domains to extract revenue from exploitable users.
As another paying Kagi user, I feel that this is not a waste of money. A browser that blocks tracking and advertisements by default is not only good for the users privacy and security, it directly hurts their #1 competitor. It's two birds with one stone.
Uttarakhand tunnel rescue operation transpired in 17 days
I wasn't aware of the purported regulatory radio limits on power, but I can report anecdotally that I found a huge jump in usability/signal strength/ownership satisfaction when I started replacing my old ZWave 1 stuff with the 500-series or above hardware (ZWave "Plus" is the name for these sometimes).

This "LR" stuff you mention is what I think some are calling the Z-Wave 800 series. It more than doubles the radio range of the 500 series stuff and greatly reduces power draw for battery devices. However, I have 500 and 700 series sensors that only need a battery change once every ~2 years or so. I don't find that to be too much, and the signal strength has been no problem for me in an old brick house. I do have a handful of powered zwave devices around though, and these act automatically as repeaters for the other devices in the mesh.
It depends on the electrode impedance but somewhere in the neighborhood of 2V.
But not complicated things like, uh, dumping a representation of what's on screen to a file.
I know the parent site (suspicious0bservers) is not popular around here (pseudoscience/cherrypicking of data to support their theories) but SpaceWeatherNews [0] really is a great compilation of all the relevant charts and worth looking at if you care at all about this stuff. Probably avoid their youtube unless you want to go down their rabbithole.

[0] https://spaceweathernews.com/
Hacking is mal-intent, these chemicals are inherently bad for consumer use.

There’s literally no way to throw out a pan made with this stuff without it having a negative environmental effect.
Same experience here. Every once in a while a switch will go offline and I have to toggle it to get it to rejoin the network.

These switches are all GE (Jasco) units. My Inovelli switches are rock solid, as well as my Kwikset deadbolt.

I should probably replace the GEs with Inovellis...
Unless you're running a pumped drain system, all of your drains must route to plumbing lower down.

If upper floors' floor drains route to lower floors before joining with other plumbing on the lower floor, that would prevent backups from rising to the upper floor drains (unless their particular pipe was clogged, which should be unusual in a residential floor drain). But you'll have this issue at least at the lowest level of the dwelling.

Basements are not common where I've lived, but where present in custom houses, they tend to be fully finished and plumbed and then they'd have floor drains too.

In some buildings elsewhere, I have seen a less finished basement, with only laundry and a slop sink... That slop sink may be where a backup from the lateral to the utility sewer (or septic system) would come out. But that's not a common look for a fully custom home.
Backflow preventers are common in some areas. But you're kinda in the dark if it's activated and shouldn't run anything down any drain on your side.
> However, for fine-tuning with limited data, it seems crucial to focus the task as much as possible.

That doesn't make any sense when you're dealing with a model which is so hugely over-parameterized. The model will learn the easy data that you are removing just fine. There's no 'limited data' there.

> If the model quickly reduces loss by picking up predictable phrases, it's hard to tell if it's genuinely learning or just echoing these predictable elements.

You can't interpret the loss qualitatively anyway. It's totally dependent on the details of tokenization, formatting, corpus size, etc. You still have to look at the samples or a downstream task to see if it's working well. Even quantitatively, the loss is only meaningful if you're comparing to a heldout sample or something, and then it doesn't matter if you were screwing with it like OP.
These architectures are super interesting to me.

We are using the ~equivalent SQL Server architecture in Azure right now (Hyperscale tier) and really enjoy the experience. Not having to worry about specific machines and being able to treat it the same way as an express instance (from an app perspective) are extremely compelling selling points.

The only downside I saw in the Microsoft offering was the fact that there was a throttle for transaction log writes (100 megabytes/s) which is required to maintain resilience across the cluster. You don't want your replicas to wind up 3 weeks behind, etc. My hope is this limit will only increase with time, but even so it is quite workable (for us) today.

I may spin up an instance of Aurora (when available) to take a look at how it behaves around our worst-case serialized txn paths. Our use of SQL Server is very "light" in terms of its weird claws/hooks, so we could pretty easily shift to another RDBMS vendor in the future, assuming we can sell our clients on the 3rd party mix.
Show HN: ElectroDB – I made a library to simplify complex DynamoDB techniques
Over the last four years I've been working on a library that handles all the hard bits of working with DynamoDB: modeling/managing your index values, achieving entity isolation with queries, writing dynamodb parameters and filters that isn't hard to read/review. ElectroDB manages your keys and does a lot under the hood to help with the pitfalls of keeping multiple entities in a single table.

I'm proud of the library's use of strong type inference typing, it makes using Electro a breeze out of the box. I also made a playground where you can work with the library (and it's typing directly) and it also outputs the parameters it generates in browser: https://electrodb.fun

Here is the documentation site if you'd like to learn more: https://electrodb.dev

SST includes it as an example in their `create-sst` app, and I support users in a channel on their discord here: https://discord.com/channels/983865673656705025/994984119224...

I figured this would be helpful for folks who are are at re:Invent and consider using it in their next project!
Please enjoy. Many improvements could be made. Made this in one hour. Just me practicing. Hope it helps someone.
I don’t know where I’m getting this fun fact either; I read this <somewhere> at least twenty years ago, used it to succeed at the Fermi problem maybe ten years ago.
It will be faster than predictions.
The awful part is that in the short/medium term this means a massive increase in emissions. New devices, infrastructure, mining projects, resource extraction, etc are all needed to power this. All in the aims of some future term decrease in our emissions. If we half-ass this it could be very destructive
… maybe in 100 years people see schizotypy hiding in plain sight. I’m pretty sure many if not most self-diagnosed “autists” really have that.
What new features are needed to display my windows on my screen?
It would have been highly amusing if HN had been around when Linus launched Linux and we could go back and read commentary from all the pragmatists about what a huge waste of time and effort it was across the whole spectrum of casual dismissal to a sense of outrage that anyone would have the hubris to take on major companies already providing far superior platforms.
All the new contact sensors seem to be that large now, including Philips' and Aqara's new ones. They do indeed use larger batteries and they claim several years of use. But man they are so bulky I don't see myself using them. Total eyesores.
For an interesting presentation on Postgres at different orders of magnitude, all the way up to petabytes, see https://thebuild.com/presentations/2019-fosdem-broken.pdf
> They argue that the measures could falsely characterize all Hindus in America as inherently biased against members of their own community.

So instead, they fight in order to maintain the ability to engage in this sort of discrimination? Doesn't that do a whole lot more to make them seem inherently biased than supporting anti-discrimination efforts would?

The argument makes no sense to me. It really looks to me like it's not only a tacit admission that this discrimination is real, but that they want to ensure they can continue to treat certain people as second-class citizens.
"I want to find something to do other than smoking. I find I smoke the most when I"m bored."

"Have you considered attending this lecture about the dangers of smoking?"
Frankly I'm afraid most people voting for those fascist parties (and other right wing parties) had no clue what they were actually voting for.
Populism works really well, sadly.

I think it's time for a populist progressive left wing party in The Netherlands as a counterweight to the havoc the parties on the right are causing.
but the chip isn't doing anything prohibited by the standard. what they're doing is expressly allowed.
Crypto Payment Firm IvendPay Unveils NFC-Enabled System
> ghostwrite messages and build intimate relationships with none-the-wiser fans

They are scamming people on an online prostitution platform and this is ok?
Is this only for numbers or also for pointers? Tearing for numbers isn't a memory safety issue, but for pointers it would mean that on a 64-bit machine with tearing, merely reassigning a variable and then calling a method on that object can execute arbitrary machine code.
zigbee2mqtt support a lot of these. I have both 5.8 GHz and 24 GHz ones. I guess 60 GHz will be next.
My Zigbee battery temperature and humidity sensors struggle to do 10m with 1 concrete wall between the receiver and sensor. Tried Aqara, Tuya and Sonoff (avoid the Sonoff one).
NTFS was definitely a new filesystem and supported many capabilities not in HPFS. Windows NT also shipped with HPFS support which was a complete reimplementation of the HPFS filesystem which shipped with OS/2.
I would add constexpr (I guess it might be included with templates?).

You can do some nifty stuff like generate CRC lookup tables at compile time without hardcoding them.
All regulations bad, huh? Absent any, we would do a lot of serfing on the fief owned by our corporate lords.