skysight-inc/HackerNews huggingface dataset:
These are not the diplomatic events described by the article. Surrender events are dominated by military personnel and not diplomats from places other than the belligerent. In fact, there are separate diplomatic events related to each of your examples. The more relevant event for [3] took place at san francisco.

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

(You were probably biased by the appomatox court house surrender, which was an outlier in that article, which, presumably, the author had to include out of fervent provincialism)
Media companies make money entirely by selling ideas to you (this is what the "advertisement industry" is.) When you're scared and depressed its easiest to sell things to you or change your mind, unfortunately you're best off ignoring the news and any organizations that function that way (see also: google, facebook, reddit.)
It is not a bank but Brex (a YC company) caters to startups and has great rewards programs. May be worth a look. www.brex.com
The second result is more semantically correct, but it will not function if called on tr.athing because tr.athing contains HTML elements that will be deleted when you replace the text. It is still much safer than innerHTML which will silently corrupt attributes. It's also interesting you need to prompt Codex for security best practices (and a bit questionable if it even "knows" anything about best practices)

I guess part of it is that a one-liner is impossible. Here's what I would write given the prompt

const makeUppercase = (id) => {
const element = document.getElementById(id);
if (element == null) return;
const makeChildNodeUpper = (node) => {
if (node.nodeType === Node.TEXT_NODE) {
node.nodeValue = node.nodeValue.toUpperCase();
} else {
node.childNodes.forEach(makeChildNodeUpper);
}
}
makeChildNodeUpper(element);
}
I expect the site owner took the photos themselves. I assuming copyright would even apply to the appearance of most cassette tapes, why would the copyright holders sue, what would they expect to gain? The web site itself could likely use a fair use defense, maybe not the T-shirt business.

They're more likely to have trademark issues with the T-shirt business. A consumer might reasonably assume a t-shirt with an image of a Sony cassette tape on it was made by Sony. Maybe they were careful in their selection of which tapes are on t-shirts on their own, the links to the actual store (on a German site) don't work for me.
This is what a lot of colleges seem to be doing: in-person everything, but vaccinations either required or strongly recommended. Lots of places are also requiring or strongly recommending masks.

Personally this is what I'm hoping for. I'm all for staying safe, but the data shows that if you're vaccinated, even the Delta variant has a very slim chance of causing serious illness. Remote learning doesn't work well for me, and having events being cancelled / heavily regulated / remote is seriously impacting my social life. I don't want to seriously impact my work and social life just for the very slim chance that I'm going to get infected or infect others. Also, there is nothing stronger than the vaccine on the horizon and we have to get back to some semblance of normal eventually.

We do need to keep in mind children and immunocompromised people. But I'm not interacting with children. I do think colleges should offer limited online exemptions for immunocompromised or otherwise vulnerable people, but then I'm not interacting with immunocompromisde people either.

Ultimately though, we have to see how this actually plays out for colleges. Because if Delta really is as dangerous as people are saying, or if there is a new variant, there's just no way we're going to avoid another lockdown. Look at what's happening in the South, where most people are unvaccinated - people are trying to pretend Covid doesn't exist, but the hospital system is collapsing and people who would have been alive are dying because there are literally no hospital beds. All I an do is hope that it's not.
It would require forethought because it takes time to grow food. It could get bad in the meantime.
This reads like the plot of a B movie. Would the women refugees be able to bring their children too? Would they be allowed to form an Little Afghan since most of them don't speak English or know the local culture? Would they be protected from the hate against Arabs the media has fanned for two decades? T-trust me Morty, I assure you this will burp work!
React is one of the worst choices of doing something like that.

The underlying abstraction model of having a tree of components and re-rendering only the parts that have changed between renders doesn’t map to the hardware at all, meaning you’ll waste most of the HW performance just on maintaining the abstraction.

You’ll also get zero benefits from the third-party libraries - there’s nothing in them that can help you with stuff that matters, like minimizing amount of the GPU state transitions for example or minimizing amount of GPU/CPU syncs.

It will be scenegraphs all over again, and the graphics industry has ditched these long ago in favor of simpler models, for good reasons.

Long story short, the happy path in graphics programming is very narrow and fragile, and you typically want to structure your abstraction around it.
That's the way its treated though; everyone assumes you don't know what you're doing if you haven't been to university because there's some top-secret stuff there that you couldn't have possibly found somewhere else.
Reminiscence Movie website uses deepfake tech to insert you into the trailer
It is not. I thought I'd missed something but GP is just making a snide remark.
That goes against my intuition. Everything standing about the ground is bound to have things fall over it in an earthquake. Power lines could be much safer under the ground.

From a friend of mine who was trying hard to get the “unsightly” utility poles buried underground - it was just a lack of interest and funds. Just not a priority here.

Almost all new neighborhoods have utility lines buried.
Ye I've already seen images that look exactly like the ones from that evacuation.
Not if you do it right.

a) you get to fire the devops person, which saves $150k+ a year.

b) you add appropriate caching layers in front of everything.

c) you spend time adding features, which generate revenue.

I've done all of this before at scale. This whole case study was written about work I did [1]. Two devs, 3 months to release, first year was $80m gross revenue on $500/month cloud bills. Infinite scalability, zero devops.

[1] https://cloud.google.com/customers/gearlaunch
I think you're a little off the mark on that one. There is widespread support against demonstrable human rights abusers, particularly with marginalization of women.

The current Taliban have a very good PR person, presenting themselves as moderate. Their actions since the February 2020 agreements have been seen, and opinions have been formed.

If I were a betting man I'd say that they would pay telecom censors top dollar to prevent a further ruffling of feathers of the US public.
Would you mind sharing the state?
Why using a StateMonad when i could just use OOP ? Simple, elegance and easier to read, write and test.
The crackdown is not to reduce prices, the free market does that. The crackdown is to discourage/control learning western language and culture, as well as keep money from leaving the country for a service that reduces it's grip.
Do you guys really look at a sentence like this and think, "yup, that clears it up"?
Any SQL demos you can point me to?
In England and Wales (Scotland has its own legal system) there is very famous case law that says that an offer can be made to the world at large (through an advert in this case).
https://en.m.wikipedia.org/wiki/Carlill_v_Carbolic_Smoke_Bal...

Which may seem to apply, but this was an offer to add a guarantee to the terms. Whereas merely advertising a price is just an invitation for the buyer to make you an offer. Here is an almost as famous case.

https://en.m.wikipedia.org/wiki/Pharmaceutical_Society_of_GB...

I am not surprised our fellow common law jurisdictions like the US reached the same conclusion.

The case law that makes up English civil law, especially the early stuff is really fascinating stuff to me. IANAL but understanding the contact law from these cases has won me several disputes in my professional life.
They add their name right next to t-mobile’s
More correctly, the "left side of the boat" and "no, the other left side of the boat."
Do you have any (including speculative) ideas that could explain why our news is so bad, given that most journalists are passionate about their work?
Court Orders Popular ROM Website to “Destroy” Its Unauthorised Nintendo Games
> Switching to manual mode the doors at the fire station are opened, but they discover they can’t get their equipment out because the power lines are across the apron of the fire station.

Why couldn't the fire trucks just drive over the wires? They'd be insulated, no?
There's a similar problem with people using male-to-male cords (suicide cords) on their generators too? Plug a portable generator into your house this way and now it's pumping out electricity and not purely consuming it.
That's victim blaming.

The system they have set up to protect themselves from the people does not allow them to be prosecuted. Anybody who tries would be attacked, bullied, censored, deplatformed, branded a conspiracy theorist or Russian traitor or communist, the "experts" would all be wheeled out to "debunk" them, etc.

I too would like to see stronger anti war sentiment and protests, but the system has become so much stronger and more resilient against those since Vietnam.
All of them practically. I think at the beginning the feature was mostly used for celebrities and public figures. But I think it should become the default.

The main reason it's not, in my understanding, is because of a federal telecom law that states it should be easy to transfer phone numbers across providers.
ok, cool, would you know some sample code somewhere you could point me to? Just to see an example, always thought you couldn't do this.
Politics. Representatives aren’t aging out/turning over as fast as the overall electorate, so you have popular support but reps who disagree and therefore won’t sponsor or vote for legalization. The perils of a representative democracy.

https://fivethirtyeight.com/features/marijuana-legalization-...

https://www.pewresearch.org/fact-tank/2021/04/16/americans-o...

https://www.politico.com/news/2021/04/20/senate-democrats-we...
Bribing someone?
If this article piqued your interest but you want something a bit more detailed, I'd recommend Amusing Ourselves to Death by Neil Postman. Good book, a bit one-sided at times, but very interesting in its analysis of the implications of TV on culture. Much of what he describes in the latter chapters seems even more applicable in the age of Twitter and Snapchat.
I fail to see how that would be classified as a breach.
I know this just drags out the point--sorry for that--but your reasoning is based on a false statement. You reason that "Since there was no appeal...", but in point of fact, there was an appeal.

Consider this my pedantic contribution to a discussion about a pedantic case.
You still don't understand what I said. Unfortunately I don't think I can make it much simpler for you.
I'm using Tab Center Reborn with a custom theme[0] to have tabs on the left as that's the only way I can efficiently use a browser these days, so I'm lucky to not be impacted :D

[0] https://framagit.org/ariasuni/tabcenter-reborn/-/wikis/Theme...
> stuff like deferring side effects and avoiding state

is that really "functional programming" or just good practice?
> Let’s start with, if you don’t let people learn on the job…

Learning in the job is great, within reason.

Abandoning all of your existing experience and trying to write new projects in a completely unfamiliar language with zero prior experience is not reasonable, though.

Learning isn’t a binary yes/no feature of a job. There is ample room for learning without allowing reckless decisions like trying to use Elm for server-side code when even the Elm authors are hostile to such a use case.
> It’s a blatant copyright violation.

That's debatable. As a matter of public interest and safety I say it's fair use to post the news article here.
It’s not Facebook I care about, it’s whoever wrote the post. I’m a photographer. When I find people pirating my work from social media sites I send them takedown notices. If not wanting people distributing my work makes me a corporate stooge, then so be it.
https://en.wikipedia.org/wiki/Afghanistan_fighting_season
Please don't post references to articles that are beyond pay-walls.

This is an interesting topic, but we can't have a discussion about it when some people cannot read the article.
BlackBerry Partners with FinTech Startup Car IQ to Enable Vehicle-Based Payments
Google Fi is resistant against SIM swapping[1]. They would have to hijack the google account associated with the Google Fi number in order to transfer the phone number.

I wonder if Google Fi customers PI is apart of this data dump. Since Google Fi uses T-Mobile networks[2].

1. https://support.google.com/fi/answer/9834243?hl=en

2. https://en.wikipedia.org/wiki/Google_Fi
Sure there's widespread support. There's widespread support for a lot of things that people don't want to fund indefinitely.

It doesn't mean that there isn't also widespread support for ending indefinite funding to lost causes.

Of the two, the former is far more likely than the latter to move the needle when it is time for people to vote for political candidates.
> Lawyers all the way down

Sir, this is the stuff nightmares are made of
Was that book about the Capability Maturity Model? [0]

[0] https://en.wikipedia.org/wiki/Capability_Maturity_Model
I'd rather states legislate themselves any way they want.
Fair use is never an entire news article. If the poster took one or two sentences that would be fair use. But that’s not what this is.
You must have me confused with another user or multiple users from this IP range. There's no way I've made hundreds of accounts here. That's madness. There are probably other users in this IP range that are [dead] now.

I will take your advice and make another account from a different IP range and start new and within guidelines. Probably won't deal with [dead] there. Or should I try to use the unban feature for this IP?
It’s generally not a good idea to close a high power, high voltage circuit with a live human.
Even then it's not worth it, unless there's some unique risk or liability they're worried about, like near airports.

Retrofits in urban areas are especially expensive, because any good contractor knows there's gonna be unknown problems once you start digging.

Most places that have underground electric in the US have it either because it's mandated by local code or because the original developer was willing to pay for it.

Hypothetically, enough bad weather would make burying it economical, but I've never heard of any particular instance where that was the case.
Well fair enough, I stand corrected about "misuse" of signals in certain cases. Nonetheless, non-cooperative preemption is a useful (though oft maligned) tool. The things you describe aren't actually problems with signals but rather other APIs that force you to use them.

I'm curious. While it does add a (very small) bit of complexity, can you not just spawn a single sacrificial thread for receiving SIGCHLD and set dispositions accordingly? Then just use standard concurrency primitives to communicate with that thread in whatever way you'd like.
This and the "Carbolic Smoke Ball" case. (An advertisement purporting to offer £100 to anyone who catches influenza after using their product does not create a unilateral offer that can be accepted by catching influenza).
Nothing.

Nothing in the sense of personal decision.

I would happily sacrifice most things if they were enforced at high enough levels to actually make a difference.

I would happily accept a ban on single USA plastics. I would happily accept a ban a few years out on gas cars. I would happily accept mandatory changes in packaging laws.

But I'm not going to torture myself for no gain to anyone by enforcing strict standards on myself that are so marginal to be totally meaningless in the bigger picture. I don't expect anyone else to either.

I figure we'll get sensible rules when the pain to the average person is strong enough that it's easier to accept that than whatever else we are dealing with and not a minute sooner.
The claim that a general purpose web frontend framework adds no overhead to GPU intensive animation is indeed bizarre. The author seems to believe his own marketing that his framework is the end-all-be-all.
In a few words this is (very likely) permanent.

America hasn't so much lost a war but failed to maintain a coherent political vision.

This has enormous world shaking geopolitical implications that will continue to create a disadvantage to US interests.
Looks like a scene from 'World War Z'.
"pennygetyourownwifi" works for me.
Small world. Hope you enjoy the town!
Not all Lisps even allow dynamic scoping. Not to mention that beginners are commonly taught Scheme, which is an example of a Lisp that doesn't allow it.
We learned as kids stay put unless absolutely having to leave the vehicle. If you had to leave because of say a fire you were to keep both feet together and literally hop away like you say not walk. This is going way back it seems to make sense but I haven’t checked the source on this.
I wonder why it's routinely buried in the UK - we're a lot poorer, don't have extreme weather, and retrofits must have been far more complex here.
The 1st year computer science programming class at Waterloo is based on the 1st edition of this book. (Not sure why not the 2nd edition--the waterloo website says so. [1])

The authors of this book are some of the major folks behind the Racket programming language. Mattias Felleisen, Matthew Flatt, Robert Findler, Shriram Krishnamurthi.

You might recognize Shriram Krishnamurthi's name in the credits to PG's guide to Bel too [1]

I didn't really use this book much directly - when I took that class in 2012, I mostly learned via the lectures, lecture slides, and doing via the assignments. The book is probably sufficient and you can probably talk to other people about it via Racket subreddit, IRC, etc

[1]: https://student.cs.uwaterloo.ca/~cs135/cc/textbook/
[2]: https://sep.yimg.com/ty/cdn/paulgraham/bellanguage.txt?t=159...
U.S. completes evacuation from American embassy in Kabul Afghanistan
My brother in law drove a new trick across the country for eight months, pulling an RV, then sold it for $5k more than he paid for it. To a dealer, who planned to raise the price and resell it.

You’d be foolish to factor this into any business model however.
Often just fore instead of forward, or a particular pronunciation like for’d for “the front of the boat as opposed to in front of the speaker”.

Lots of other jargon too for other directions or places (leeward, windward, amidships, athwartships, etc) but that is all much less common than the four listed above.
To add to the other commenters, above ground local powerlines are the default around the world. They cool easily and are easy to build/fix/maintain.

I am curious as to where you live where underground is the norm? I wonder if they build them differently than elsewhere..?
And then you're left with and even bigger jerk that rose in the ranks in his absence! MechaHitler
What? You dare criticizing the concept of coding-AI trained on random code found on the inter-webs?

But that's the future of programing! Just ask Microsoft or JetBrains.

Soon, with the help of AI, any random dude will be empowered to write software!

Big layoffs are to be expected as AI will take over most of the high-paying jobs in the software industry.

Belief me. /s
That’s the value of the entire stock.

But that’s not the inventory that is being traded at any point of time.

The vast majority of housing in the US sits in a single family without switching hands for probably decades. So the actual market is probably 20-30 times smaller, and so a single major player is far more capable of having an influence on pricing.

Besides, housing is not a national market. A buyer does not usually decide that they want to own a house and then scour the entire country to find houses they could live in.

They usually decide a place they want to live in, and then look at a much smaller market within that area. So even if a single entity cannot impact the national market, they could definitely impact local markets.
I just posted it on Twitter and someone managed to get Shazam to recognize the MP3 so it's solved :)

I tried this myself a couple of times in the past without success, but the one I made recently is of sufficient quality to generate a match.
Is there a free tier, preferably with some GPU access..?
(grin grin, I know this is a highly optimistic question)
> However, it's not a silver bullet. I found that basic software engineering principles are way more important than the language. I've seen extremely messy OCaml code and super clean C code. What is important is how the code is organized at high level. Whether you use a for loop or a fold, an error monad or an exception mechanism matters less.

Agreed, developers are great at finding new ways to write questionable code no matter what languages or programming paradigms claim about their respective abilities to reduce code errors and smells. I know because I'm one of them.
My favourite of all the posts here. I would love to read a how-to for ignorant techies, describing all the details and how it takes hardly any time.
> is completely different from the model of the underlying hardware

That's kind of the point of programming languages, otherwise you'd be writing 100% assembly.
> There's plenty of fun to be had without spending money, and in fact I'd recommend it as a good free open world RPG.

I've put in 50-60 hours with my kids, spent nothing, and we experienced the whole storyline prior to 2.0. I entirely agree with you.
Evaluate a polynomial using Horner’s method
In theory if you leap from the bus such that you are completely in the air for a moment, you won't be in contact with a conductor and the ground at the same time. (Given enough voltage, electricity can cross the gap to the ground, but if there's a fire you gotta do what you gotta do.) You then have to keep hopping with your feet together or shuffle-step away due the the potential energy difference in the ground.

A problem is that many people who use a bus are not physically capable of a leap. They may be elderly, disabled, pregnant or simply be very small children.
For what it's worth, this does work. For now.

The main issue is if it gets sold later, or assigned by RFC. As an example, more than one company I've worked for used .dev as a TLD for their dev environments, with local DNS to override it. Once google bought .dev, this meant that:

- we couldn't access anything Google put on .dev

- suddenly, all of our test sites had HTTPS forced, because .dev was HSTS preloaded by Google

The point here is that an unexpected change that you might not be aware is coming can break your setup in ways that are awkward to resolve - eg HSTS preloading means that you can no longer access non HTTPS endpoints unless you do it by IP and that leads to a frustrating afternoon - and it's inevitably always when you don't want it.

Like it or not, ICANN operates the DNS space. There's a proper way to get your own piece of this space, and you can run home or business networks under your own piece and you have a guarantee that no one will break you - because it's yours.

(edited for formatting)
That might have been what I am mis-recalling then, thanks!
Our proff. still managed to turn it into something like a proverb of wisdom.
(More engines not necessarily = more reliability)