skysight-inc/HackerNews huggingface dataset:
Where does HTML end and Javascript, SVG, and more interactive technologies begin?

It is normal for an HTML file to point to resources outside the HTML file, that is, even if it is an HTML file on your hard drive it might point to images, Javascripts, etc. on other servers.

It certainly is possible to draw a circle around an HTML document and put the resources into a ZIP file, that is

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

I bring up the analogy with "CD Rom" because physical media are kinda on the outs today. There was the time I had to get a 30GB file somewhere overnight by the end of a sprint (I got DSL) and the people were shocked that I sent a Blu-Ray. Tell people that a USB thumb drive is a competitor for cloud storage for sharing files with friends and co-workers and they are absolutely scandalized.
Double-Your-Crypto Scams Share Crypto Scam Host
Right; I'm skipping ahead and imagining an alternate universe standard library for rust with capability support. Like, what if we did the thing I proposed in this blog post, but did it to rust instead of javascript? How would that work?

In that world, all the privileged operations (filesystem, OS, etc) in std would require an extra capability object to be passed at runtime. The capability would grant permission to the caller to perform the privileged action (like writing to a file).

That would stop rogue rust crates from making syscalls that they shouldn't be making. There might also be a way to enforce those permissions at compile time instead of at runtime.

But even if we were willing to do that, it wouldn't matter if any library could still use unsafe blocks. The reason is that there's dozens of ways to make syscalls from unsafe blocks without needing to go through std. For example, you could dynamically execute methods in glibc / musl, use an asm! block, or (probably) manually compile a function into a byte array, transmuting it into a function pointer and then execute it.

If you changed std, and also banned 3rd party libraries code from using unsafe you could probably make the system secure. But I'm worried that the rust community might not be willing to pay that cost for extra security.
Why reach for what-if scenario. Finland and Sweden already have an example of a country that did not join NATO and see the consequences of it.
Why do you say they just memorize and interpret? I can teach GPT-2 new things, including new objects and their physical properties and it does a good job with that. That also means it has definitely not just regurgitated a matching sentence back to me.
What actually changed with the luggage matching? Googling this only gives me one-liners that don't explain what changed. Was there some way to check luggage anonymously before?
My understanding is that most of the important parts - the camera sensors, SOC, and memory are made mainly in Taiwan, Japan, and South Korea.

Is this incorrect?
There's right now on the HN front page a thread about people using Excel [0]. I'll quote from some comments in that thread:

>Nobody is born knowing what tools to use or how to use them, but Excel is one of the first pieces of software that deal with data for a lot of people, and as such one of the first things they turn to when faced with a new problem.

>I’ve done some travel to Africa and am amazed at the ingenuity/batshit workflows that exist to get work done and live life.

>I'm continually shocked at how technically incompetent academics can be. Otherwise brilliant people with the most batshit technical workflows I've ever seen.

>People are very inventive to get their job done.

These crazy uses for manipulating something that isn't really understood by its users (Excel) happened only in one generation. In only that short amount of time, many people came up with a lot of ideas the original designers didn't even dream of. Why do you say that over a timeline of thousands of years, people couldn't come up with some ideas that you would never think of? I have no idea why somebody would think that mixing non-food with ash would yield something edible, but I'm not surprised that somebody came up with the idea at some point. Other people always seem have a knack for coming up with stuff you never could've imagined.

[0]https://news.ycombinator.com/item?id=30986329
That doesn't mean much because most states, including Texas, also have full reciprocity with Germany. There doesn't really seem to be any rhyme or reason to what states they deem "equivalent".
You mean like being kicked out of the store?
Extremely unlikely that Sweden joins NATO before the election in the autumn. After - it's a possibility.
Availability? Helium at any party store, but I thought you needed to do something illegal or jump through hoops to get laughing gas
I thought Miami became the hub of decentralized finance because Miami is the defacto port of entry for wealthy people from Latin America, and some (small but influential) percentage of those wealthy are trying to covertly extract their wealth from their home country into the U.S. (why they need to extract it covertly could be because they gained it through narcotic activity, or just plain old government corruption), and crypto is the defacto medium of exchange for those wishing to anonymously move illicitly gained funds worldwide.
Non-interventionism is great until it becomes your problem.

Maybe the United States can afford to not care, but Europe can’t.
This is one of the problems with technology that Ted Kaczynski wrote about. You can't opt out.

> Even the walker’s freedom is now greatly restricted. In the city he continually has to stop to wait for traffic lights that are designed mainly to
serve auto traffic. In the country, motor traffic makes it dangerous and unpleasant to walk along the highway. (Note this
important point that we have just illustrated with the case of motorized transport: When a new item of technology is introduced
as an option that an individual can accept or not as he chooses, it does not necessarily REMAIN optional. In many cases the
new technology changes society in such a way that people eventually find themselves FORCED to use it.)

Your problem is the same as the walker's. The walker has opted out of the automobile, but still has to breathe its pollution and risk being hit by it.
This is specific to jurisdiction. Having received a ticket for speeding from an automated camera, they just sent me a picture and told me to pay up or deny that it was me. In Oregon, moving violations attach to drivers only, so if they cannot prove you were driving the car at the time they drop the ticket.
React Libraries for 2022
From Russia's perspective, almost everything is a provocation and a threat. Not rationally, but because Russia's official viewpoint is about as irrational as it gets. There isn't anything to appease them with, because they've chosen to ignore the facts.

And from an outside perspective it's not hard to see why two states, one with a border to Russia, would join a military alliance after Russia invaded a sovereign neighbor.
Check out mutagen (discussion on https://news.ycombinator.com/item?id=30957156) -- it basically does bidirectional, background, transparent rsync. It also does port forwarding if you need that. It looks quite solid for the use case you describe.
> А у вас негров линчуют.

Google Translate: "And you have blacks linch"

My assumption as to a more natural translation: "And you have Blacks lynched"

Context: https://en.wikipedia.org/wiki/And_you_are_lynching_Negroes
The tension between the government encouraging people to inform on each other and a certain amount of social ostracism for informers isn't anything new for Russians.

I'm not sure that pointing out the slide toward pervasive paranoia would do much to slow it, but it seems like a better bet than tackling rah-rah nationalism head on.
> you should be able to tell it whether a certain column is a date or not

You can, very easily
> I can't think of any good reason to voluntarily reduce my visibility while cycling through potentially lethal traffic.

Watch more horror movies and you'll think of some.
404

https://timkellogg.me/blog/2022/04/11/three-plates
Perhaps all human drivers are incompetent? In the USA there are 5 million crashes that involve insurance every year. Insurance companies say that someone will get in a crash (however minor) once every ~18 years of driving on average.
Yup, SES would address this. But SES also needs to bring with it a paradigm shift for JS:

a) Folks would have to load each bit of code they want separate permissions for in a separate compartment. This won't be easy.
b) Runtimes will need to provide an immutable global realm, which is not something that is the case right now.

As I said in a different commeent, I think a lot of this can already be addressed by ShadowRealms. Deno will likely allow users to specify per ShadowRealm permissions, which is probably as granular as most people will want to get.
It boils down to - What problem was solved by who and how/why.

Lead with big names (if you have them) but the basic formula is -

Company(X) had Problem(Y) that was solved by using (Z)

Bullet-point the lead, then a paragraph outlining/expanding what was solved by using (Z). Whenever possible use facts and figures in this opening paragraph.

Always check with existing customers whether or not they would be ok with using their name or other easily identifying information in the case study. Most are ok with it, some have policies about vendor/supplier endorsements so check first (and run the final draft past them to make sure they are happy with what you have written).

As gus_massa said - Take a look at other case study examples to get a feel of what ever format has the most 'punch' to you and copy/steal the format.
I don't think anyone trusts Putin or Russia at this point. That really defeats the point of trying for a diplomatic solution with them unfortunately.
Sorry, that is my mistake.
>Overall, it seems that the highest damage (by orders of magnitude) those substances cause is due to the police involvement.

Most of the damage done to a cancer survivor was done by chemo, but that's not an argument against the treatment. The right level to stop at is where adding one more unit of police damage would stop less than one unit of drug damage but like you say nobody knows where that is.
States already introduce mandatory vision tests and inquire about medical history with age even very Red or Blue states.

https://www.dps.texas.gov/section/driver-license/drivers-age...

https://www.dmv.com/md/maryland/senior-drivers?tg1=DVA&utm_c...

Florida has vision requirements, and accepts reports of medical issues making driving unsafe: https://www.flhsmv.gov/driver-licenses-id-cards/medical-revi...

In that context Florida’s standards are lax, but still exist.
Thats a really interesting perspective. I'd love to read more about that if you're willing to flesh it out more. Up for writing a blog post response?
In Chicago? Like, in the city proper and not the suburbs? I've lived most of my life in Chicago, and it's basically unheard of to get pulled over for a traffic violation.

Lately, blatant disregard for traffic laws in Chicago has gotten so bad that it's a little terrifying. It's become a common thread on the r/chicago subreddit with regular posts pointing out how bad it's gotten and how police never stop anybody.

Here are two posts from yesterday alone:

https://www.reddit.com/r/chicago/comments/tzyrmn/red_lights_...

https://www.reddit.com/r/chicago/comments/u0x3sd/im_getting_...

EDIT: Wanted to point this out b/c I think it's a larger problem in general of people not following rules of the road, not isolated to specific cities.
can you go more indepth into 'effortless action' and how my kids can apply it to doing their homework?
You know what seems like a terrifying step towards nuclear warfare? Removing one countries nuclear weapons by promising not to invade, then invading. What a boon for nuclear proliferation.
It is necessary to just live in pods, take our soma and encase ourselves in silent solitude surely the world will become a better place with no external problems. Only dissidents and bad guys would disagree i'm sure.
China doesn't make that many critical parts for phones.

Excluding Taiwan - does China have a monopoly on anything important beside assembly for Apple?

Samsung would not be screwed.
I don’t have a problem with “struggles”; every country has those. What I do have a problem with is wars. As in, when actual people die.

Without US we wouldn’t have North Korea either - the only reason it exists is that this prevents US from placing military bases there. Taliban was literally funded and trained by CIA; not sure what Chinese involvement was?
An alternative to github is https://sr.ht/, by Drew DeVault. Very promising and simple. I hope more open source projects realize they can do what github offers with open source (and simpler) tools, there's no need for centralization.
Merriam-Webster also says 'irregardless' is a word so maybe don't let them dumb down a language because they say it's okay
Take a break then, and try again in six months.
then you should probably realize the Ukrainian government actually recognizes taiwan as part of china. so i feel your fear is misplaced.
>John Mearsheimer made the analogy "What if China became close allies with Canada and stationed troops and missiles north of the border, how would the USA react?"

Most likely by reflecting on what went so horribly wrong in the relationship with Canada that a formerly closest ally of them all has decided to turn to a different power from across the ocean for help. Then, by attempting to fix said relationship without starting a futile and criminal war of aggression that will cement multi-generational hatred of all things American north of the border.
> why is NPM so uniquely absolutely horrible?

I'm not sure that it is. I think it's a numbers game. I've read* that npm is the largest repository in the world. More actors means more good and bad actors.

* Taken from this link. Old article and I'm not sure what the original data source is: https://www.linux.com/news/state-union-npm/
i will say they are right about one thing, small sellers are getting totally run over by design theft and aliexpress resellers. as a buyer, its a huge pain to have to sift through pages of aliexpress merchandise to uncover interesting and original work. make a cool printed design on a game boy shell? quickly stolen, mass produced on aliexpress, then sold by all the boring resellers on etsy. 90% of rpg dice sellers are selling the exact same stuff they got from the exact same bulk deal.

one of the biggest problems for me is im never even sure if im buying the original design or a knockoff, which totally sucks.

idk if this is just affecting the retro games / dice communities, or if others are also hit. ALSO you can kinda just sell semi-illegal "grey" goods on etsy? TONS of sellers just selling bootleg game boy games and rarely mentioning that in the product description.
Aircraft is a vastly different problem at a much smaller scale. Where did our ground traffic controllers go?
Ask HN: Should I use my own device (laptop) or company-supplied one for work?
As a software engineer working as a contractor, given the option of using their own device or a company-supplied one what are the pros/cons?

Thanks!

I've captured my initial thoughts on this topic:
https://github.com/nelsonic/nelsonic.github.io/issues/857 but very keen to hear the thoughts of the HN community before making up my mind.
>What phone company

Samsung, on a relatively large scale and assembly in Vietnam.

Sony, their scale has lot more to do with them being incapable to competing in smartphone market.
Russian drone dismantled Canon camera plastic bottle as fuel tank
I said "weekend" to communicate a short amount of time; apologies, I don't think anyone should be doing unpaid labor.
> John Mearsheimer made the analogy "What if China became close allies with Canada and stationed troops and missiles north of the border, how would the USA react?"

I think we have an clear example of how this _could_ play out. The Cuban Missile Crisis of 1962
Mosh + Tmux + Vim
They’re openly demanding a lower fee, backed by the threat of collectively restricting output. That’s textbook.
And in the process, you burn out your devs, and have constant churn. How late are things happening in the long term, because teams prioritize the Agile rituals over cultivating long term technical excellence, craftsmanship, and team satisfaction? The way many teams practice Agile has a huge opportunity cost that's very difficult to measure, but still real.
What he probably meant is that at some point in the past, South American natives were also facing the same "can't use legs" problem, which resulted in the more complex preparation steps.
I think a lot of people suffer from guilt/shame/nagging thoughts/distraction because they start a lot of things and then lose track of them (the opposite of "mind like water") .

So this is a technique for people who start a lot of things to work in such a way that they can feel better about what they do
> It does seem to be blinding a lot of reasonable people to the fact that an append-only distributed database means you just freaking _append_ the correction.

No, there's more going on there than just how to use an append-only database.

To append corrections in most cases you need a process to append that correction that's mostly implemented off chain and involves some kind of authority with the ability to override mistakes, and that directly contradicts the ideological assumptions that are baked into most blockchains and are constantly chanted by blockchain enthusiasts.

So either you have a blockchain where corrections are impossible in many necessary circumstances or you have a blockchain that doesn't bring any new valuable capabilities to the table.

> The only thing you lose that way is plausible deniability. It becomes impossible to erase from history the fact that a record was incorrect at some previous point in time.

And that doesn't solving any problem people actually have (e.g. the we don't have problems county recorder forging records to steal people's homes).
I hate how loud the sirens are in SF. Absolutely obnoxious for how dense of a city it is and there is a complete lack of noise insulation in any housing there. It’s barbaric. However, I have to thank the fire department in my old neighborhood for waiting until they were blocks away from the station before turning on their sirens. So some people are mindful at least.
One element of this seems to be a tendency to make explicit words or phrases whose meaning is not immediately apparent. Look at the use of acronyms too:
ATM machine (Automatic Teller Machine machine)
ISBN number International Standard Book Number number)
SCUBA gear (Self Contained Breathing Apparatus gear)

The ISBN example is one where anyone using the acronym knows exactly what it stands for, yet there's still a tendency to add the 'number' at the end.

I think of this as something like a weak force in language.
The smell of fixer is pretty pungent. You forgot about processing the film. That has to be done in complete darkness (well, loading the processing tank anyway) and you get the added anxiety of drying the film in a dust-free place because any speck of dust getting on the film when it's wet is going to be near impossible to remove later. Nothing beats the exhilaration of having the perfect shot ruined by a speck of dust! </sarcasm>

Yes, I really enjoyed working the darkroom back in the 80's and 90's but I wouldn't want to go back to that now.
>Indeed, most households will see a net loss resulting from federal carbon pricing under the HEHE plan in 2030-31 (Table 3-2). That is, their overall costs—which now include the federal levy and GST paid (fiscal impact) and lower employment and investment income (economic impact)—exceed the rebate and the induced reduction in personal income taxes arising from the loss in income.

Where's that money going? Administering the program? Being taken by the government as tax revenue?
Sure it's not _the_ solution to the world's green house gas problem but as someone living in a province with about 97% of energy being hydro/geothermal/wind/solar, making the next car an EV should make a pretty big dent in one's personal CO2 footprint. You have to take your local energy mix into consideration.
I can almost smell the static burn of the teletype paper, and that weird feeling of chemicals under your nails if you scratched it.
It would be more expensive regardless if they paid on a contract or paid for it outright. Maybe many wouldn't notice but others absolutely would.

I would love an option to chose either America (or a similar Western country) or India/China. People who are willing to pay more for made in the west can and those don't care can go cheaper.
Never heard of this company -- SpaceX seems to have sucked the publicity oxygen out of the room.

> There’s gonna be a lot of launch vehicles sitting on a pad waiting for payloads in the next few years.

It wasn't clear if that was because the demand pipeline was "done" or it was a chicken and egg scenario of businesses not having that locked in to develop on, which raises an interesting question of how much business there is for satellites even if launching was cheap and trivial.
> were never as good as I wanted them to be

It's kind of like chess - hours to learn, a lifetime to master.

I've made thousands of b&w prints and there are two, maybe three, that I thought were as good as they could possibly be.
There were many factors. Rails itself isn't too bad to upgrade, but the problem boiled down to various Rails engines (active admin, etc). There came a point where I sat down and had to decide if it was worth de-tangling the mess and potentially breaking a lot of things to upgrade Rails and the various dependencies (only to do this again in 5 years), or possibly build things in a way that would work regardless of the dependencies.

Sure-- the rewrite was more effort up front but the hope was the long term compounding benefits would be worth it. I don't generally advocate for rewrites but in this case I went for it (and actually got it done).
Encouraging Self-Doubt
Why does it matter?

$AAPL is insuring profits by moving from state controlled labor to third world labor to ensure westerners get the latest phones
And then he releases the data as a retaliation? Aside from this possibility, that would be a very unwise move if alone for the Streisand effect.

As this data bay be obtained not only by John Oliver but anybody else what would stop a foreign actor to do so and to use it for real blackmailing? The wisest move is not to collect the data in the first place (and to forbid the collection). For everyone. The collector cannot know what the data obtained can reveal when combined with other data therefore it makes no sense to only not collect for congress people (how would the collector even know?).
My graduation thesis was porting a particle engine my supervisor originally developed on NeXT, from Objective-C into C++/Windows/OpenGL, as means to carry on further research on it.

The Cube where it was originally developed, was lying on a corner on his office as no one believed it had any future left.