skysight-inc/HackerNews huggingface dataset:
Ask HN: Protecting private data during a robbery.
I've often wondered what would I do during the case of an armed robbery, whereby you're forced to unlock your phone (likely on the street, but it could also happen at home).

One such option would be to have multiple users (which is transparent to the robber, and instead only accessed via a different pin) - one which doesn't include banking, messaging etc, but AFAIK I don't believe this exists (I'm on android (Samsung).

How do the security / privacy conscious folk on here handle this threat?
If they’re big and important enough (eg: Google, Apple, WhatsApp), then yes, that would get their attention.

But nobody’s going to notice/care if some small services pull out. Some US websites still refuse to serve content to the UK and Europe due to GDPR, and no one seems to care much.
Yeah But I think like most things it's the convenience factor and they also present it in a library. What really bugs me is the opaque pricing..

Edit : did you just prompt copilot for this code? It's not going to work that way...
Marriage rates are already falling; when sex robots get good enough, they'll collapse entirely. I'm not even sure if this is a bad thing.
Though illusion plays a role in the formation of these phenomena (government, authority), I would disagree that the phenomenon itself is an illusion.
> You don't know what slave trade was

You dont know anything about slavery today.

Your beloved private sector literally sells slaves to construction companies in Dubai.
A Swift package can have modules/targets that are C/C++. It delegates the module building to clang, and Swift can both read/use those modules and publish its own API for use from C/C++. In Swift the "unsafe" family of API's converts Swift objects to C/C++ pointers relatively ergonomically. Note that Swift 5 added a lot of features to support ABI stability.

https://www.swift.org/documentation/cxx-interop/
> Part of the issue with your argument is that most policymakers will be dead by the time society collapses

Hmm... given how it is going (climate seems to be changing faster than the models predicted), it's getting more and more clear that global instability, wars and famine will be here in the next few decades (if you doubt the "famine" issue: take any big US city, and ask yourself what happens if trucks can't get into the city and bring food for a few days). Unless most policymakers are 60 or so, they have a good chance to live long enough to see that. Most definitely their children.

> "Information" doesn't sway people. Feelings do.

When you realize how bad the biodiversity problem is, how bad climate change is, and how bad the energy problem (which is actually the root cause of the other two) is, I think the only reasonable feeling you can get is fear. Maybe faith in technology helps (many people hide behind "they will find a solution"), so maybe one needs to realize that the tech industry is a big money-making joke.

But once you get that information, you should get the fear. And fear should make you accept to start thinking about actions to mitigate the consequences of... well of our way of life.
> The established practice of encouraging blanket COVID boosters to otherwise healthy five-year-olds probably tilts more towards harm than the benefit side of things.

Other than the fact they cover existing strains rather than projected strains, what makes these boosters different compared to other vaccines like the one for varicella that's also given to otherwise healthy children?
came to say the same.

i absolutely despise breakage and random changes in my desktop environment
> Checked, oil has been discovered in Niger in the 70's...so yeah... And they are still poor?!

Maybe because Niger produces 20k barels per day and Saudi Arabia 12 millions per day? What are we even comparing here?

With such a low production of petrol (of a similar level as metropolitan France actually) I don't think it's even worth selling it at all, it has more value as a strategic reserve for the military.

> Who cares if they get a better bargain from the US, the Chinese or whoever else. That's competition. That's supply and demand. That's how they should get the most of what they have. No need to be so sour about it.

Yes for sure, that's okay to sell it cheaper with the market rate to China if it's what they really want.
Interesting that we have a genius robotics Dr. Song for real vs Star Treks Dr. Soong :)
Took the words out of my mouth.

This is exactly what I fear will happen. If you look at the YAML some people produce and extrapolate that to one of the most dynamic languages available, it is going to get ugly.

Programming languages for config are better, and I will throw up if I ever have to see “list comprehensions” and null checks in Terraform ever again, but it requires people who can code. If you simply replace YAML with Python and that’s folks’ first time using a normal language, it won’t work. Hence I’m happy to stay with YAML mostly, in such a scenario.
Just the other night I was looking at the way a Windows 10 install wrote the EFI partition to some random disk it was not installed on at all, and wishing for this, the GUI installer just does ridiculous shit and is really not up to par with even some no name Linux distro's Calamares. I have no idea why people buy this shit, it's Microsoft's luck that it comes preinstalled and most users never touch it
I've said it before and I'll repeat it here - as someone who lives in the UK the thing that bothers me the most about it is a complete apathy from everyone I know, and I work in IT. People just go "meh what are you going to do", or recently very common "I don't have strength to be angry at this government all the time over everything, I just carry on forward and hope things improve". And of course the fact that this is getting 0 coverage from mainstream media doesn't help.
XML is all about tooling, but most FOSS folks insist in holding it wrong, editing XML files in vim/emacs.
XML is very much misunderstood and this article is not an exception.

XML is a notational tool. A notational tool is a tool for a human to write something by hand and then process with a computer. The important part here is “by hand.” E.g. I’m processing a corpus of someone’s letters and see a phrase like “on Monday I saw him the last time” and I know that I need to mark “on Monday,” “I,” and “him” with references to a date and people I have inferred from elsewhere, and the only way I can do this is by hand, there is no automation. Yet once I place those references, I can mechanically index the corpus, which is my goal.

But writing a configuration file is the same task. Here again I am doing a thing that in the general case has to be done by a human, but the goal is to process the result mechanically.

All other uses of XML are a misuse. Yes, you can use it for data interchange, but it is similar to programmatically calling a third-party tool via a command line. Possible, but involves much overhead and is way less convenient than using that tool via a library. If the data are not generally composed by hand, then they should not be in XML. (But I would argue they should not be in JSON or YAML either; we do this mostly because we have no suitable tools.)

As a notational tool XML is actually rather good. Yes, it is verbose. You know what is not verbose? A special language you create for your special case. It will outperform any generic notation out there. If you decide to do that, then you will have to write a parser, process the text and get an abstract syntax tree. But note that XML is an abstract syntax tree. It is the intermediate result you get if you decide to solve your case in a perfect way. So maybe you could start with XML, get the syntax tree right, write the code to process it, and then see if you still want a parser.

On XML verbosity: what if we compared not the overall length, but the number of syntactic symbols?

<server id="a" ip="1.2.3.3" role="back" /> -- < "" "" ""/>
{"id": "a", "ip": "1.2.3.4", "role": "b"} -- {"":"","":"","":""}

I’ve extracted syntactic symbols on the right and you can see XML is much quieter.

On XML not being mappable to objects and arrays: it is straightforward if you remember that the data are supposed to be a syntax tree. They are indeed far from the final representation in the same way an arithmetic expression is far from the code that will evaluate it.
Windows 8.1 was released in 2013, with suppport ending in 2023 - a 10 year support window (backporting security fixes.)
And Linux cuts from 6 to 2?

I think you just stressed TowerTall's point.
The best research is experimenting on people directly.
> Find the first 50 photos you ever received for free. After that, find more for as little as $5.

With no page or info on how much more that $5 it might cost.
I'm not sure I fully understand how it works. The intention is to start out with a WebView app, but slowly replacing the components that might need it with native components, right?

This isn't a React Native Web like approach where you try to cover the same surface area, but rather an individual implementation of each screen, so you could tweak and modify it for the given platform if needed?

Is it possible to embed native controls inside a webview or does this approach only work top down, i.e. does a components parent need to be native for it to be possible to be rendered natively?
If you’re using Webpack you can emit chunks by their content hash, which means the file names don’t change even when your commit changes.

This way, a new deployment of your application doesn’t cause new assets to be served to users, and maintains the speed of your website.
They achieve it by paying developers to do it (instead of relying on unpaid volunteers).
The sea-people of our times are the CEO people..
Unless you're Prince Andrew
I did some contract work for another credit agency many moons ago and they pretty much brainwashed all full time staff into referring to data subjects as customers. A fellow contractor made a very snide analogy of suggesting that the Nazis could have called Jews customers to legitimise their actions. None of us renewed. Horrible place.
> I love OSS products, especially OpenStreetMap, but I have a hard time believing it could be better than the big players. Apple and Google both use OSM data as well, but supplement it with massive internal mapping efforts.

Apple Maps doesn't even support bike directions. I live in Copenhagen, therefore making Apple Maps pretty useless. It's a classic Silicon Valley app made for the tech boomers in charge at Apple who presumably drive everywhere in electric cars.

Google Maps is better at bike directions, but when I use it for public transportation it's now trying to sell me on routes where I need to rent an e-scooter instead. I only use public transportation (as opposed to riding a bike) when I need to bring our baby somewhere with me. Since there is no way to turn this "feature" off, the directions are often useless to me. I now use a Danish app for all public transportation directions.

Just about the only thing Google Maps is clearly better at is satellite images and open/close times for shops.
The One Ring designers on exploring Moria in the long-awaited expansion
Search for "SimCity" here

How Microsoft Lost the API War
https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost...
It's rarer though. These MBA beancounter types get attracted to public companies like flies to a pile of bull dung because it's far easier to get compensation tied to stock prices/valuation there, and it's easy to direct a stock's price upward (headcount reduction is the most common thing that will send it upwards).
XML not only everything has a parser for it, it has schema validation and transformation tools across schemas.
>>And it's also useful for keeping tabs on protesters and strikers, who try to draw attention to their tactics and goals.

It's also worth reminding people that UK government has almost outlawed protesting in this country, by making it illegal for any protest to "cause a disruption", which of course any protest does and police are free to interpret this as they want to.
Even having any type coercion is a huge mistake. A true/false shouldn’t accept 0 or “false” with quotes or False with a capital f. It should be true or false. A single line string should accept one kind of quotes and one way of escaping.

Similarly in xml it’s a curse that

<Foo><Bar>1</Bar></Foo>

and

<Foo Bar=”1” />

are semantically the same but considered different in most systems.

Just avoid ambiguity and make it impossible to face a choice. The same semantic meaning should have one expression.
Yes, it would be odd for Terraria to fund solely something they don't use even if it's more relevant for replacing Unity.

I was actually involved in an engineering software package that used XNA. It was resurrected a few years ago after close to a decade on ice. We were sure glad that FNA existed because Microsoft had dropped XNA like a hot potato. Yeah, I wouldn't trust them again either.
It seems some researchers in her lab were also involved with Toyota.
Yes, I used chatGPT-4.

Second, your fix is to verify code generated by LLM and then play with it trying to find a way to fix it. I`m quite sure that I will spend less time and less mental power by writing code in the first place.

Third fix is to play with chatGPT more, and read more code generated by chatGPT trying to find errors in it.

What happened with
"reading code written by someone else is harder than writing your own code"?
What other game engine are you comparing it to?

It's daunting with how many tools it gives you but it doesn't force very much onto you and gives you a ton of flexibility.

I'm as happy as as everyone else about this momentum away from Unity since their business leaders clearly hate developers, but I really like the Unity game engine. From a software design standpoint, I didn't understand how powerful composition can be (versus inheritance) until I started working with Unity GameObjects.
The most expensive card on the site, Armageddon, is totally new to me (a MTG noob)!

Armageddon

Costs 3 Mana + 1 Plains

Destroy all lands in play!!!

https://manapool.com/card/lea/2/armageddon
Show HN: AI Back end Companion – Generate your back end as you go
Hey everyone, I wanted to share this cool project I've been working on.
The goal of it is to allow fast frontend prototyping by automatically generating the backend without having to leave your frontend code.
a little plus is that it's also a good documenting device (hence the doc_ prepend for the queries)
I agree with the Cruise CEO. I think SF should do everything it can to attract and retain tech companies. Ed Lee did and San Francisco boomed. His successors loved spending the money tech brought to the city like drunkards but were publicly anti-tech to win populous votes.
Configs for any mildly complex piece of software ends up looking like:

30% implicit defaults that are waiting to break when you upgrade something

25% boilerplate

20% derivable from some other configuration but you just gotta set them all explicitly

10% cargo culted in through copy-pasting from the last project

5% can only ever be set to one particular value or nothing works

5% silently ignored due to typos - (some of these are causing subtle bugs and some are preventing them)

3% critical to actually doing the thing

2% used to have an effect but that was 3 versions ago

Of these flags and values only 40% have meaningful and correct documentation and 66% are different in staging and production but we are 85% sure that's ok.

Yes XML, YAML, and JSON have a ton of warts, but a good part of the problem is how we layer configurability into software systems in the first place. The serialization format can only be blamed so much.
I think the forward guidance from macro forecasts by various banks is peak unemployment around December 2023, and the beginning of a recovery around mid 2024. We are expected to be back to growth by early 2025. I personally concur with this view.
Until then I fear we are all either moreso squirrels or grasshoppers -- as the parable goes -- and will reap accordingly.
If you create a USB install disk with Rufus, it will automatically allow you to create a local account which is pretty useful
Rare British war comic art rescued from bins, skips and floods
Oooh I wonder if this libgodot would also allow me to work with Kotlin/Native. I've tried getting into Godot, but C# felt a bit... dated compared to Kotlin.

Don't even get me started on GDScript.
Using PDF as a standard (for anything) is insane. I mean it was nice before Adobe backpedaled and tried to milk it for everything and now the format is anything but portable.
I actually had no idea there were markets for this. I have a huge box of cards from the mid 1990s here. I bought them from an actual shop in Cambridge, UK or traded them in person. I haven't even thought about the game since I stopped playing it in 2000 or so.

Edit: holy shit the second hand prices on ebay. I'm going to spend the weekend on this! I even have a couple of sealed decks somewhere. These: https://www.ebay.co.uk/itm/334960782977
loads blazing fast and has good design.

seems well done
Your understanding of the law may be correct, but do remember that law is basically its own language with its own ideas of "common sense" and that if you're not legally trained (and even if you are but you've not read all the other laws that the law in question interacts with) then all sorts of weird misunderstandings can happen.

(As your profile is empty, for all I know you've an actual lawyer in this specific field — NH is this kind of place after all — but most of us aren't, and I've been surprised by legal principles that LegalEagle has described as "law school 101, and I mean literally I taught XYZ in a 101 class").
theguardian has become THE Guardian of new-world order
It is ironic to build a railway line to help building more cars.
Titanium Edges of iPhone 15 Pro, iPhone 15 Pro Max Can Be Easily Scratched
Hey! From a technical point, how did you get all the card images? Is there a way to download them from somewhere?
I really appreciate detailed breach reports like this. This was the money quote for me:

> The attackers continued their search and eventually discovered a mounted NFS share on the web server. This file share contained notes and configuration files used by Equifax engineers, in which they found many database credentials.

Seriously, WTF? I get paranoid all the time worrying about my application security - it often feels like there is always some potential issue around the corner you don't know about.

But then I read about how lots of these kinds of breaches occur (storing prod DB credentials in plaintext on an NFS share, reusing passwords and not using 2FA, leaving your server password as "solarwinds123", etc.) and I think maybe I'm not so bad after all.
Do you realize your water comes from the ocean through rain. It replenishes itself everytime it rains. You are on an island in the ocean? In your case companies are using the allure of locale to sell more bottles by claiming the water is purer in your area because of the lack of industry.
I like the json variant that vscode uses. It has a name that I forgot…

Json but with comments and allowed commas on the end.
https://open.live.bbc.co.uk/mediaselector/6/redir/version/2....
Yes, pretty soon, instead of talking about 'delivery mileage' we'll be talking about 'construction mileage'
Hilariously for me (I’m a Microsoft FTE, fyi) there’s no mention of Bing, any of the multiple Copilot products in the Office/enterprise space, or, tellingly, the Azure OpenAI service (which provides you with private endpoints and models). I do see startups that use it, but it is a grossly lopsided view of the “market”.

(And regardless of my employer, there are a lot of consumer and enterprise-focused solutions in that space - including direct competition - that aren’t mentioned anywhere.)
New version of popular Nginx fork has been released
Because what they give you is priceless:

1) If it worked then it's all thanks to your impeccable ability to get the right tools to get the job done

2) If it fizzles out it's all still OK because you've tried best and hired the best consultancy

3) If it goes catastrophically bad you're OK because it is clearly the fault of the consulting company

Basically you buy "heads I win, tails you lose".
>>How do UK laws apply to a US hosted website run by a company whose only legal entity AFAIK is in the US?

If you serve content to UK users, UK government thinks you should be bound by this law.

>>What action do you think the UK can take?

Short term it can order ISPs to ban HN traffic until it complies(as it already does with many websites), and prosecute dang if he should ever vist the UK. Of course the chances of that happening are very small given the size of this website, but you never know and it's this permanent state of "everyone is doing something bad we are just choosing not to prosecute it" that creates a surveilance state for everyone. UK ISPs are already required to keep 12 months of browsing history from everyone and it can be accessed warrant free by 17 different agencies including department of agriculture. As a Brit, I can only conclude that the majority of the population doesn't care, or is too mesmerized by whatever is the current topic in the media instead.
Never used Godot myself but can't you use C# in place of Godotscript? The docs[1] would suggest so.

[1]https://docs.godotengine.org/en/stable/tutorials/scripting/c...
Not a lot of software requires a bleeding edge kernel. If vendor B has a superior chip at a viable price it makes sense to go with them.
That article is absurd.

It opens with a mother talking about how she uses bottled water to bathe her child, because the tap water is polluted.Then it goes on to say that residents don't like that Nestle gets to bottle water in the area while their tap water sucks.

I don't see how these two points are related.

This sounds like a problem of incompetent politicians and officials that can't maintain water infrastructure. If anything they should be thankful companies like Nestle exist so that there's at least some source of clean drinking water for them since the city seems incapable of providing it.
A unary encoding is certainly optimal in simplicity.

For encoding size, it would be optimal if index i occurs roughly with frequency 2^-i. In many lambda terms of practical interest, one does see higher indices occurring much less frequently, so it's not terribly far from optimal. Some compression is certainly possible; within n binding lambdas, index n could be encoded as 1^n instead of 1^n 0, but again that severely complicates the interpreter itself.
I'm glad that she skipped Dr. Soong's ambition that preceded his work on robotics!
apple maps tends to do this to me as well (in germany).

i guess fuzzy-matching locations and sorting by distance is hard
There's something so morally depraved about punishing someone for insisting on protecting themselves. It really is unspeakably and irredeemably evil in my view to insist someone disregard their boundaries so thoroughly that they leave themself open to a lethal devastating virus just to satisfy someone else's ego in tandem with their nihilistic desire for short-term gratification.
We had the same problem at an old house. There was a cable splitter in the attic that was expanding in the heat and losing connection to the cable. We bought a heftier one and moved it under the insulation in the attic.
They’ve started coating them with PFOAs now. Which works well, but…yea.
> Vogt, however, stuck to his guns today, saying that cities like San Francisco should be “rolling out the red carpet” for self-driving cars “if we’re serious about safety.”

> “We cannot expect perfection, there still will be collisions,” added Vogt.

If we're serious about anything, we should build trains. Trains are safe, and (much) better for the environment.
Surely the delivery costs will be, at least partially, included in the cost of the goods.