skysight-inc/HackerNews huggingface dataset:
There are a few very specific differences. In a subclass, 'this' doesn't exist until you call "super" for example, and the constructor will throw an error of invoked without the "new" keyword. [O]

These differences let you extend built-in things that simply can't be done with old prototype constructor syntax. [1]

[O] I should probably be using a more recent reference like MDN, but the 2ality series always sticks out in my mind whenever "just syntax sugar" comes up: https://2ality.com/2015/02/es6-classes-final.html#safety-che...

[1] https://2ality.com/2015/02/es6-classes-final.html#subclassin...
> the country, yes. The world demographic of people who use your product, no.

But the ads are target to the people in the country. Besides, the world at large is far more anti-lgbt, anti-women's rights and anti-woke than the bizarro world USA we've turned ourselves into. Are you seriously suggesting these companies are peddling pro-lgbt and women's rights propaganda advertisements to win over muslims, africans, indians, chinese, south americans, etc?

Crazy how when you refuse to accept reality, how you have to form insane contradictions after contradictions...

> and many commercials aimed at an older audiience, e.g. cable TV, do focus on this.

No they do not. That's the point.

> Are we also playing dumb on the generational gap in technology, demographics using online media, and their ideaology?

Who is talking about online media. Besides, even after insane brainwashing the younger generation isn't as 'woke' as you think they are. Sure, there are differences between generations, but people are ultimately people. But this has nothing to do with what we are talking about does it?

How dumb does one have to be to think that the american companies are creating lgbt ads for american audiences to win over saudis?
Another scenario is a large office. If a user leaves their desk to get a coffee, an attacker could walk up and get access. Of course, in that case they could also install key loggers, MTM software etc. so they will get access to anything they want.
> And if the harpejji was invented in 2007, then I believe it should go out of patents next year?

Patent lifetimes are at least 20 years after the filing date as per TRIPS treaty. There's the priority mechanism for international filing, providing up to another year, and there are usually various means for additional protection time if regulations delayed the process. Those are mostly relevant for medical patents to compensate for trial-based delays, but "the PTO was too slow" seems to be reasonable ground for an extension, too.

As such, we're looking at 2028.

I was wondering what you could mean: in the US, before ~1997 patents used to be valid 17 years from the date of patent grant, which would fit the timeframe you mention. Grant date was usually a few years down the road and with submarine patents (keeping them in limbo by continually sending minor changes to the USPTO until it's worth having them active), that span could be extended practically infinitely. That time is, thankfully, over.
I would love to have a grand mansion to have lots of space, I don't care to show off at all.
This. The snarky tone definitely detracts from any sort of well-intended message hiding behind the virtue signaling of “I implemented a binary tree and I bet you couldn’t because you work on ‘frontend’”
Good advice to new peeps in the industry: this tone and obviously inflated sense of self is the “smell” you should look out for and avoid.
If you are not in the business of selling email delivery, you should be buying email delivery from a company who is in that business. It's extremely hard to get emails delivered and it's even harder for a small company. For your use case you could probably use Postmark and get good delivery with that.
Kotlin has this feature (`try` and `if` are expressions not statements), and a good model for return values. https://kotlinlang.org/docs/exceptions.html#exception-classe...
In my experience it may be worth archiving the 264's to multiple cheap storage devices if that is an option. Why? A time passes there are improvements to tools/libraries like ffmpeg and every {n} years I have found that re-encoding a file from its original source to 265 improves. Errors/flaws in the source file are handled better, less content is lost and the end result improves as ffmpeg and related tools evolve. This is only useful to know if you have an abundance of storage to keep your older files around and care about such things. I understand that many people do not.

[Edit] I forgot to add this methodology is also useful if the videos were downloaded from a platform like YT. Future versions of libraries can handle stripping out proprietary meta-data and other garbage from files that was intended for their JS players but useless for archival and local playing purposes.
Is any of these SDKs good for real-time agents' debugging?
Well VS code is electron, so you could just launch chromium in kiosk mode with xinit and have VS code render in the actual terminal I guess?
If the idea is that of building a one storey circular shed roughly 5 meters in diameter (which is what essentially current 3d building is capable of) we might sit down and compare costs against other building techniques (and I strongly doubt that the 30-40% savings touted is achievable, particularly in countries where the workers wages are not particularly high).

If instead the idea is to use 3d printing to build actual homes, the technology is simply not there to do much more than erecting the (not insulated) walls, that represent (of course it depends on countries and local building standards) a small percentage of the building costs, likely less than 10%.
The problem is that the callee can’t decide for the caller which exceptions will require special handling. And for the caller to be able to make an informed decision about that, the possible exceptions need to be documented. Since this includes exceptions thrown from further down the call stack, checked exceptions are about the only practical way to ensure that all possible failure modes get documented, so that callers are able to properly take them into account in their program logic.
"node_modules" <mutter>
Ah, cellpadding and cellspacing. A blast from the past!
Oh no, someone call the Internet police.
Yes, performance is very close to i5-8250U ( https://www.cpubenchmark.net/compare/3042vs5178/Intel-i5-825... ), which was release at the end of 2017. I have this in my laptop that I use for work, VM's, IDEs and containers are running all the time on my system.

Works great, even if I have all CPU mitigations enabled, turbo boosting disabled, and running in powersave mode. What I do to avoid the fan from getting audible. However, with all the options I mentioned enable (especially enforcing a strict powersave profile/max frequency/etc) you'll get a bit of latency here and there; which I can put up with because I hate to hear the fans spin. With a fanless design, a better power profile (6W TDP vs 15W TDP), I wouldn't constrict my CPU to such extents.

To compare it in relative performance terms, the Apple M1 is ~3.8x times more performant than it (if that helps).
Full disclosure: I represent telecom companies, but I’m speaking only for myself.

> [The bill] eliminates the ability of local governments to require rules such as an ISP having to serve the whole community

Such requirements kill fiber development. Laying fiber is expensive, and having to lay it through neighborhoods where most people won’t or can’t subscribe just increases the price for everyone.

It’s not just the traditional telcos or cable companies. There is a reason Google Fiber has this concept of “fiberhoods” where you need a certain level of demonstrated interest in subscription before they’ll build in those areas. The city of Baltimore wanted to kick out Comcast and have someone build fiber across the city. Verizon wouldn’t do it because of the coverage requirements. Google wouldn’t do it either. The city is now looking at building the network itself, but it has no money: https://www.thebaltimorebanner.com/politics-power/local-gove...

Many of the other things the article complains about are similarly roadblocks to development. It’s actually the same exact thing as NIMBY regulations that stop housing development. Again, look at the places Google ended up deploying fiber. If you ignore webpass, every deployment is in states that are low-regulation generally (Utah, Georgia, Colorado, Texas, etc.)
> A better title would be "Meta prohibits use of LLaMA 2 for militaries", but that would be less exciting because it's a pretty common provision in many terms of use.

I also don't see the point of such a provision. If an enemy military uses it, good luck taking them to court - if you are at war with a country, they probably won't be paying up any damages.

If your own countries military wants to use it, then the military can force you to hand the tech over if they really don't want to pay for it.

The term is perhaps of use for neutral-country militaries?
Google also silently drops mail in some cases.
If you’re asking questions that ChatGPT can solve, you’re not interviewing your hazing
Tech breakthrough could boost states' use of geothermal power
Which shows that you don't need valid HTML to be successful
Careful about doing this. Laptop and phones change networks. If my wifi is weak you'll see my phone switch to data intermittently. Forcing me to re-auth every switch would be painful. Some VPN providers also change IP addresses regularly (I've seen <1 minute between switches).
> * Makes it less likely that when an attacker obtains a session token that is is unexpired.

But gives them more opportunities to acquire such token.

> * Gives the attacker less time to use a valid session token to move laterally into (potentially) unfamiliar infrastructure.

Only if tokens lifespan is counted in milliseconds. Otherwise, the attacker will refresh the session token as soon as they get it, and continue to do so. An active session token can be thought as having arbitrary long lifespan.
Scality: Comparing power consumption of high-density HDD and QLC flash storage
"Could" they?

Sure - some could

But they're probably not - overall - the best tool for the job (the mine-clearing flail that mounts to the front of an M1 Abrams is far more cost (and time) effective (at least on major routes)

A robot's probably better than a well-trained soldier in most situations - if a robot gets blown up, it's only a dollar figure, not a dollar figure, time to train, grief among the unit, informing family and friends, etc

The question will really come down to "why 'defuse' vs 'detonate'?"

And then, once the "why" has been answered, are the follow-ons - how soon, how "accurately", how many, etc
Worldcoin went to Kenya because they thought they'd be above the law. Sam Altman should be extradited to Kenya to face justice.
Clarifying UB as “inserting a ‘__builtin_unreachable()’” actually just cleared up a lot of confusions I’ve had!
Note that concurrency of containers not specific to Python any way.

For example, Java implements different versions of containers for single thread and multithread usage, because multithreaded containers have obvious performance penalty

https://docs.oracle.com/javase/8/docs/api/java/util/concurre...
Is there never anybody else outside when you go for a walk?
> Google's sessions do not expire

They kind of do. I use a lot of machines that I might only hop on once a month or so. Chrome sync often ends up in a "paused" state where I have to re-auth. YouTube will fall back to a not-signed-in profile on me and I'll need to re-auth every now and then. Loading up Gmail will have me re-auth again pretty often. Often its not a full re-auth with my security keys but it'll at least challenge a password. I get these challenges probably every week or so across all my devices.
I feel almost as if this comment was designed to bother people.

Personally, I’m rarely if ever so excited about something at work where I’d feel the need to add “!”. I’m sorry but I don’t get pumped about things that often at the place I have to be at so I can afford to feed my family.

If I use “!” at work it’s never about work related conversation, and is almost exclusively used to show excitement for or to congratulate a coworker on a work or personal achievement.

Short of celebrating with a coworker in their excitement for something, using “!” in the context like what you’re suggesting, ie “Sure, I’d love to help!” feels insincere for me to say, because I’m not actually excited, and personally I know that my coworkers who knew me in the slightest would also read that as insincere, possibly passive aggressive, or just kiss ass. We don’t need to be enthusiastic about doing shit at a place we wouldn’t choose to be at if we didn’t have to, which wastes the biggest parts of our lives.
Who's "they"? If anyone is talking about electrical efficiency they shouldn't be because cost efficiency is what matters for a transmission line. Transmission maintainers have no reason to care if a wire transmits with 100% electrical efficiency if it's cheaper to lose some electricity than pay for the perfectly electrically-efficient wire.
Agreed - this is a much better approach. The "session" that can do the normal daily tasks for users should last as long as you can make it.

The "session" that can do things like change 2fa/billing/contact-info (decidedly not-normal things) should last for exactly as long as it takes you to complete that form, and should require your pass/2fa again to touch.

This is currently Google's approach, and I find it much more sane.
Ask HN: Why has ecommerce become incompatible with uBlock?
I've been using uBlock Origin for many years and it used to work fine. More recently I am noticing that developers are implementing purchasing workflows that completely break if uBlock is enabled. I miss when companies selling things used to focus on selling things.
In practice you're correct, but the title implies—and the original poster elaborated on this in their comment [0]—that the DoD is banned specifically, while other militaries (specifically the CCP according to OP) are authorized. That is inaccurate—if any military is wholly banned then all militaries are.

[0] https://news.ycombinator.com/item?id=37174278
This is what they're referencing with that comment. I don't know that there's a "Japanese" style of Ruby, as much as there is a style that looks and reads more like systems code.

https://github.com/ruby/ruby/tree/master/lib
If you are hinting that could be the main cause of global warming problems...It's not.

"What Is the Sun's Role in Climate Change?" - https://climate.nasa.gov/explore/ask-nasa-climate/2910/what-...

"...We know subtle changes in Earth’s orbit around the Sun are responsible for the comings and goings of the past ice ages. But the warming we’ve seen over the last few decades is too rapid to be linked to changes in Earth’s orbit, and too large to be caused by solar activity..."
More Microsoft-branded then - GH's current session handling largely predates Microsoft
Wait, there is something newer now?
You should try a more recent version of it: sudo apt-get install joe

JOE has syntax highlighting, UTF-8, regex, shell windows, hex editing, incremental search, column/rectangular block, macros..
My personal take is that I find the Framework laptops to be more in line with the cyberpunk vision, than this. Yes, this one looks kinda cool, but is it as moddable and modular as the framework?
No company is stupid enough to give out its tech for free to the government when there are billions of dollars worth of contracts for the taking. Doubly so when it comes to the military, which has unlimited money and no accountability in spending it.
That usually works by storing the password hash, not the password itself.
Thanks for the rundown. Indeed, I did not remember the Maunder Miminum and the mini ice age because I was quite young in the 17th century. So your post was new information to me.
> All they build are really the buildings that are meant to store value for foreign investors, typical open plan offices or warehouses.

Offices and warehouses is not what I expected to follow the first part of that sentence… office and warehouses are pretty productive! And likely a better use of space in a dense urban environment than a manufacturing facility.
It’s just not the right tool for the job .
SpaceX turns profit in first quarter of 2023
> Not all political viewpoints across all topics are equally valid.

Why? Either value systems are objective, and somehow rooted in reality, and then some are better than others. Or, they are arbitrary opinions, and every set is as good as every other. There is no third option.
Good faith commentary, please.
The overwhelming majority of HTML on the web is invalid. Achieving 100% valid HTML nowadays is a fools errand, save for extremely simple web pages.
Try the tweet at the top of the page for a start.
A legal tactic preferred by businesses to fight lawsuits is under scrutiny
I was really hoping to see a Bible quote about explaining furries to your elders.
Far more of the time it's bad management than bad software

It is a very rare piece of non-trivial software that isn't "bad" in some manner (even most trivial software is "bad")

It really comes down to managing expectations, enduser training, known issue mitigation, etc
You can adjust it to accommodate this, by allowing more than one single combo to be "legit" but it does add extra friction.

However, when combined with other things it can at least let "my browser, at my home on my fixed IP" not have to login every ten minutes.

Other systems handle this by only doing the "session detailed check" when you perform privileged activities.
What happens to an atmospheric scientist job when they come back and say there’s no problem?
> Whereas the community is attracted towards FOSS in order to not pay…

Community comes together to co-create value for everybody, which in itself is some sort of tangible currency.

But a very high number of FOSS libraries/packages DO NOT have a community. How do you believe such projects must be sustained?
That’s one possible scenario.

The correct way to evaluate security is to consider many different scenarios, and consider how your mitigations affect the likelihoods of all of them, weighted by their impact.
Writing a client app for Hacker News? We have something that may help. After creatin an OpenAPI specification for Hacker News API hosted in Firebase, we documented a walkthrough of creating a mock specification that can be used in WireMock and WireMock Cloud

Would anyone be also interested in a public Hacker News API template on https://apis.guru/ and https://library.wiremock.org/ ?
Trust me, if was a Facebook exec I wouldn't lose ANY sleep over it. Norway has 5 millon people, it doesn't have any leverage and it's largely irrelevant.

Not to disrespect Norway bros, but it's the truth.
How does that make any sense when those are often sent from no-reply addresses that are routed nowhere?
DANG what a blunder
I can see how this increases your wellbeing.

But what about your neighbor's? Maybe so as well, unless you are that weird neighbor people talk about when they are not around.

And let's be honest. You are that weird neighbor.
While this is very nice, the lack of Control-A/Control-E support to jump around a line is annoying.
Check my P=NP proof for errors
The proof is based on inverting bijections, passing algorithms as arguments to algorithms, incompleteness of ZFC, reducing SAT to another NP problem.
Fidelity also logs you out after a short duration of inactivity…
In the examples yes, because it's just a simple binary ok or error case

but if you returned a list you can pattern match on an empty list, a single element list or a list that's longer. which you wouldn't do with exceptions in another language. that's the nice part about `with` that you can stop once you stop matching the pattern and return whatever you currently have, which in the list example may be a perfectly valid thing to return.

with [value] <- Module.some_list_function(arg), # can return an empty list too
[head | tail] = list <- Module.another_func(value), # can return a single element list
longer_list <- Module.takes_multi_element_list(list)
do
longer_list
end

There are loads of other examples for uses of this, or you can just write in an additional clause for your function that handles the other case and pipe it down the line.

It's about what makes sense for your domain.

I may not be explaining this well so apologies for any confusion
Let's assume that in V1 your command has 2 options: start and stop. Thanks to Abbrev, your user take in the habit of calling "$command sta" and "$command sto" respectively. It all works. They start relying on that in scripting.

This really is a very weak position. More fool them for being so lazy and short-sighted that they can't be bothered to type out the command in a script in full. If I saw that, I would immediately make a change and submit a pull request or whatnot to get it changed for the better, in the cause of keeping the workspace safe, clean, and tidy.
Believe it or not the differences between the CCP and DOD are not nall black and white.

Take for instance the CCP nuclear policy.

China deliberately has zero nukes ready for launch. Retaliation will ultimately take up to a week as nuclear warheads need to placed on missiles as they are deliberately not attached. This is 100 percent by design giving china time to prevent global obliteration via mistaken retaliation. Additionally

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

Meanwhile the US has nukes fully ready and armed with deliberate intention to deliver retaliation before enemy nukes even hit their targets. There is no <no first use policy> here.

It's definitely a different and more complicated story for other things outside of war. But Facebook is simply stopping usage related to war.

This makes sense to me. The CCP can't legally be stopped from not using it anyway.
Pitfalls Nerds Fall into When Thinking About Society
> what's the name of the very intentional and studied "I don't care about looks" aesthetic

I've noticed this approach and attitude in various arts, but it's hard to put a single word to it. As another commenter mentioned, I think wabi-sabi is related, and punk too.

> The aesthetic is sometimes described as one of appreciating beauty that is "imperfect, impermanent, and incomplete" in nature. It is prevalent in many forms of Japanese art.

For example in ceramics, they value the crooked, asymmetrical, coarse, and cracked. In calligraphy, it's the splash and drip, the way the brush runs out of ink and how the line fades out near the tail end.

In singing, it's the smokey aged voice that breaks perfectly when pushed by emotion. Or other musical instruments, when the sound gets dirty because of the physical material being pushed to its limits, like an over-driven guitar amp, or a violin bowing a string too hard but actually perfectly hitting that point intentionally, to get that stank, that nasty, it makes you grimace with pleasure.

In theatre they say, "You need to throw it away." Apparently, acting can get stiff and unnatural when you try too hard, so you need to let go a bit, as if you don't care, to give it room to breathe.

I suppose it can be seen in literture too, like "stream of consciousness" style, or certain narrative voice that tastefully breaks the rules of grammar.

> where you "don't care" in a very precise and fashionable way

That's the trick it seems, that this "don't care" attitude is actually very polished, studied, carefully done, paying attention down to the details, and then letting it go. It's an artful use of "mistakes" and imperfections. Jazz is like that, they value the richness of "off" harmonies, dissonance, polyrhythms which can sound "wrong" to the unfamiliar but which is exactly what the connoiseurs appreciate and enjoy.
"greeting neighbors is also linked to career wellbeing, physical wellbeing, and financial wellbeing"

Correlation. Happy people are happy. That's not cynical: you can improve your happiness by working on all of those fronts.