skysight-inc/HackerNews huggingface dataset:
I wrote a document explaining how to implement your own web socket service: https://github.com/prettydiff/wisdom/blob/master/websocket_s...

Implementing your own service logic is incredibly helpful in the cases where you have multiple sockets to manage and custom logic associated with identity, reestablishment, custom data handling, and so forth. There are features in the protocol that aren't used in the browser, for example, and allow for custom scaling.

Here are my learnings about web sockets:

* They are session oriented so that means both end points have to agree to connect. That mitigates many security risks associated with HTTP traffic.

* Web socket messages cannot be interleaved. In 99% of cases this isn't an issue, because control frames unrelated to a web socket message can occur anywhere without interruption. This becomes a problem if you are transfer a large file that takes a substantial amount of transfer time. All other messages must wait in a queue, which means long delayed microservice status updates or you just break things.

* Web sockets are so much faster to process than HTTP. A web socket is primitive. There is no roundtrip (request/response), no headers, and no additional negotiation. I reduced some test automation in my personal application from 45 seconds to 7 seconds by fully converting from HTTP to web sockets for messaging.

* Reliance on web sockets simplifies so much of a service oriented application. I used to rely upon callbacks to HTTP responses to verify message completion and perform next step actions in an application. Instead I am switching to specific messaging for everything. A response is a specific message when the responding machine is ready. This eliminates response timeouts, flattens the architecture, and eases service testing by moving all messaging concerns to a single listener as opposed to listening for responses versus requests from other machines.

* Since web sockets are session oriented they are potentially more fragile than HTTP. If the pipe drops you have to reestablish the connection before sending/receiving service messages.
If only you could install some other operating system on these devices and load the latest browser or even more!
Could you install a different browser on the ipad, like firefox? Is there anything preventing the latest version of firefox from installing on an old ipad?
I don't like this idea that feelings of righteous indignation need to be moderated like some kind of proverbial addictive substance.

If you believe things, you will feel righteousness when they are (or are perceived to be) challenged.

The better question is: why do we believe what we believe? And why have these beliefs done so much harm?
Seems like the testing requirements are unchanged, but the vaccination requirements have changed.
The way I would define it is that if a person is told to do some job and they literally aren't allowed to quit and/or are physically disallowed from leaving the premises, then they're slaves.

There are also what are called "wage slaves" who can quit in theory but can't afford to.

Literally owning a person or having the right to kill them are kind of an extreme form of slavery. I think situations could be considered slavery even in situations where those don't apply.

There are some situations that are like slavery but they're kind of corner cases that society handles differently. Soldiers generally aren't allowed to quit in the middle of a war. H1B visa workers in the U.S. have more severe repercussions if they quit a job than ordinary workers; they can be kicked out of the country. I don't know what the legal status of forced labor in the U.S. prison system is, but I wouldn't be surprised if some of those situations are effectively slavery. The people who employ undocumented workers can use the threat of reporting the workers to the authorities as leverage to get them to do what they say and not complain.
Serious question: have you ever killed anyone (you never know ...) ?

I ask because I'm a former infantryman and I personally know a handful of people who have. Of those people, most were quite sure they wouldn't have a problem with it, but guess what ...
I'm sure you understand the argument for commercial flight being safer per mile than most other forms of travel despite the potential catastrophe of a plane crash. The argument for nuclear is identical.

The combustion of fossil fuels regularly kills 4.2 million people per year, year after year and counting. The combustion of renewable biofuel kills 3.8 million/year (WHO numbers [1]).

Chernobyl directly killed between 60-80 with acute radiation syndrome and caused up to 4000 cancer deaths [2]. Fukushima radiation killed between zero and one person, depending who you ask [3]. TMI killed zero.

[1] https://www.who.int/health-topics/air-pollution#tab=tab_1

[2] https://www.unscear.org/unscear/en/chernobyl.html

[3] https://www.unscear.org/unscear/en/fukushima.html

So, running the numbers, you see that fossil + biofuel kill the entire death footprint of the entire commercial nuclear industry very 7.5 hours and counting. Thus, from a safety perspective, nuclear is a no-brainer, despite the fact that it seems overly hazardous due to the way the stories come out.
> However, if you are writing that, you might as well go one step further and write working testable code.

I disagree there. Not in every circumstance. If the people on the business side are devs, then sure. Technical-minded non-devs can be taught to write their specs in a domain-specific pseudo-language without needing to learn about implementation details or deeper programming language knowledge/concepts, or deal with technical debt. Something on the order of writing JSON for an API.

>I just don't think human language is nearly precise enough to write an adequate specification.

Standard language, no. Several fields such as law, sciences, philosophy handle it by defining their own jargon. The first year of university often focus on onboarding students to the terminology so they can effectively communicate on the subject matter and understand papers. Natural language version of DSLs.
I will note that image based deployments seems to be what the ml world has moved to.

Such that I'm curious if moving models around for use would have been easier in some image based languages.
Note that Uvicorn still recommends to use Gunicorn for production use, with the Uvicorn worker class implemented for Gunicorn.

https://www.uvicorn.org/#running-with-gunicorn
They didn't have to be invented during this time. It became economically beneficial (even necessary) to use them at this time, when it wasn't before.
> Yeah I guess it's only bad when other people are doing it.

The "other people" don't do Telemetry like Mozilla does. You're making an apples to oranges comparison.
So what happened? Why aren't we in a world of abundant energy?
Honestly I’m not sure if it made it to HN. I saw it somehow (don’t remember how I came across it) and the title was kind of generic about the blue vs green bubble thing. It was only if you actually went in and read it you saw it was making a pointer other than “shunning and network effects”.
All right, I think this comment is peak HN.
Fair point. But even so I’m concerned that even trusting “note from random doctor” is far too relaxed. Requiring a medical exemption issued in Australia or by a doctor approved by Australian authorites seems much more secure.
It looks like this has been identified as a problem and is being addressed. It's interesting to see that it has not been fully implemented.

https://9to5google.com/2020/09/14/google-chrome-os-separate-...

> Update 9/14: After nearly five months, LaCrOS has surfaced in a working state on Chrome OS Canary, as spotted by Chrome Unboxed. By enabling the above-mentioned flag in chrome://flags, a new “LaCrOS” app will appear in your app list, first in grey, then in the usual yellow of Chrome Canary.
What about credit unions?
In the USA at least complaining to our useless government has virtually no effect whatsoever for the typical citizen[1]:

Multivariate analysis indicates that economic elites and organized groups representing business interests have substantial independent impacts on U.S. government policy, while average citizens and mass-based interest groups have little or no independent influence.

Which makes me wonder what exactly the talking heads on the tv mean when they talk about "our Democracy," given that we the People of the USA observably have no real democratic input. So who is being referred to with the first person plural pronoun? It's certainly not the vast majority of the citizenry.

I would be surprised if a different result obtains in Australia.

[1] https://www.bbc.com/news/blogs-echochambers-27074746 (2014)
Trace output was easier to read in the days when everybody trusted and there was no security.

Try reading this, with just the tool output, A and NS records, like the old days:

dig +trace jvns.ca | egrep ";|IN\s+A|IN\s+NS\s"
Nice finding. If he's capable of counting days, he can't play the innocent in this case.
I just finished reading one book which I am sure would have never existed if it had been written/produced by multiple people.

Lolita by Vladimir Nabokov. A masterpiece.

It took him many years before he was able to find a publisher (a French one specialized in pornography novels)

Some of his relatives were shocked by the book.

I am sure, it would have watered down many, many times.
We developers are responsible for preventing that kind of obsolescence, and ultimately have the power to have a sizeable impact on bigger issues like climate change, pollution or even people dying in mines.

Use boring tech, people.
Is there any technical reason why that old hardware can't run the modern browser? I severely doubt it.
We've been using SSH keys by default for all of our new users for years, removes a ton of confusion and starts them with one of the better authentication methods out of the gate.

(We also set most up with code signing because why not? They think it's cool because we have green checkboxes everywhere, and they get to learn a bit of cryptography too)
Ask HN: Do US companies not sponsor visas anymore?
I've had numerous interviews in the past week and few weeks leading up to the holidays with companies in the US (mostly outside of SF) but 99% of them don't sponsor visas including two of the FAANG I interviewed at. Is this due to COVID or companies now prefer full remote outside of the US? Has anybody have the same experience recently?
The linked URL does not have a timestamp in the test details. It could be possible that they faked the certificate with the "correct" QR codes, deliberately in the reverse order.
2D projection of a 3D cube in Poly Bridge 2
In the case of software updates it _is_ planned obsolescence. However, whether it is planned out of malice or out of cost (I imagine it costs some amount of money to continue to support old hardware) is up in the air.
I'm in the nuclear industry and have chatted with some old timers from Dounreay. What a wonder it was!
By “general-purpose computer” I mean something that is programmable/configurable down to a low level. If I have a Linux or macOS laptop it would be pretty hard for the manufacturer to stop me from installing an up-to-date browser; worst-case I can compile Firefox from source. I bet it would work even on a 20-year-old computer.

The iPad, while a great machine, can’t really be considered “general-purpose” since I can’t compile and run arbitrary code on it. For most iPad users this is a feature: it makes the thing much safer to use.
Agreed. You cannot win a war by never offending anyone. At some point you have to pick a side and fight for victory.
https://onlineornot.com is "just" a Next.js app with a database that calls a lambda function over a million times a week (website/API monitoring).

There's also a slightly more complicated part that runs a Chrome browser to check React/JS SPAs.
> so it's typical instead to have credentials supplied via a query param (such as "accessToken" for a bearer token) in the wss request.

If someone ends up actually doing this in a production system, remember to not to log the accessToken if you're logging full paths/URIs somewhere, as query params usually is a part of that type of logging.
Please don't take HN threads into new flamewar tangents. The flamewar we're in is bad enough already.

https://news.ycombinator.com/newsguidelines.html
The first reason is that it needs to reach its destination... IIRC the JWST needed to accelerate itself to avoid damage on its initial orbital insertion (rather than relying on the launch vehicle). It also needs to stop once it reaches its destination. Electric propulsion doesn't provide enough thrust for this particular mission. Electric is better suited for very slow acceleration buildups rather than quick corrections.

It does actually have reaction wheels to control attitude without propellant, but it needs fuel to unload the momentum. It's possible the JWST could get into a situation where electricity wouldn't unload the momentum fast enough.

https://en.wikipedia.org/wiki/Spacecraft_bus_(James_Webb_Spa...

https://jwst-docs.stsci.edu/jwst-observatory-hardware/jwst-m...
Do you like your ISP being able to inject commits into your repo clones? There's nothing wrong with using HTTPS.
RFC8890 – The Internet Is for End Users
Not really, they’re both down in The low double digits https://www.imperial.ac.uk/news/232698/omicron-largely-evade...
But its orbit isn't perfect or perfectly stable: Other forces than just the Sun-Earth system act on it, albeit very weakly. Some include photonic pressure (photons from the sun pushing on one side, not the other), the moon, a few scattered particles (space isn't perfectly empty), etc. And the fact that the JWST itself isn't a point mass means that it is tugged at by gravity slightly differently in different places. Then add to all of these the most important fact that L2 is an unstable equilibrium (a local potential maximum, like a hill), and the telescope is more like a dancer on its toes needing to right itself by throwing something every now and then.

All these things necessitate expending some fuel for station keeping.
Thanks for sharing. We do feel a need to provide Android support even for personal use cases, so we're working on that. Completely agree that it's critical for teams, too.

Transitioning infinite space on mobile works to varying degrees depending on the content. Treating the documents like editable maps works relatively well especially for the consumption experience. We're iterating on some ideas on how to improve editing there as well. We've seen some tools completely ignore coordinates and place everything in one scrolling section, but we feel that is very detrimental to the mental model you construct of your documents and aspire to maintain space while still providing a smooth UX.
They have answers to these types of questions on the website:

https://www.ycombinator.com/faq/
All browsers on iOS use Webkit under the hood so they would all have these issues.
>I was trying to put your exaggerated comment into context

Historical whataboutisms are in no way contextual to ongoing genocides

>You think that the existence of some black lives matter activists proves the moral superiority of USA

Yes. I'm sure there's a plethora of vocal Uyghur Lives Matter activists present in mainland China.
How about $68k?

https://www.privateislandsonline.com/canada/novascotia/big-t...
It's rhetorical -- the US has been ramping up a trade war with China for years now. The US sanctions on Xinjiang damage the region economically and cause more suffering for the people who live there.

If the US gov't was truly concerned about human rights abuses, then they would not be so biased against China in particular while turning a blind eye or directly funding other very egregious human rights violations.

No the US did not sanction Saudi Arabia for Khashoggi's murder, specifically to avoid damaging their relationship https://sanctionscanner.com/knowledge-base/sanctions-against...

> ...the Coalition is conducting an ongoing campaign of genocide by a ‘synchronised attack’ on all aspects of life in Yemen, one that is only possible with the complicity of the United States and United Kingdom.

https://www.tandfonline.com/doi/abs/10.1080/01436597.2018.15...
I am not confident that whatever caused JWT to take so long will be solved for the next project. NASA by its nature does not really benefit from "scale". Every important thing they do / produce is novel.

I am sure they have learned alot from building JWT, as they certainly learned a lot from building Hubble or the space shuttle. I don't think that knowledge necessarily transfers forwards to make the next project easier.
What's the point of releasing new language features if you can't use them? Web-developers don't deserve quality of life improvements but the developers working for Google and Apple do?
ARC has a mass of 7,190 tonnes (not including generators or radiators). This is about the mass of three US WW2 destroyers. It's not room sized; the thing is something like 20m tall (once you include the support structure).

https://arxiv.org/pdf/1409.3540.pdf

A 190MW(e) fission reactor would be considerably smaller. There is really no use case for DT fusion in space, especially if they have to make their own tritium.
The patent system is broken: these features are obvious and should not be protected.
China has just hooked a pebble bed reactor up to its grid: https://en.wikipedia.org/wiki/HTR-PM
The GP was an unsubstantive flamebait comment, but yours breaks the site guidelines egregiously. If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here, we'd appreciate it.
This is incorrect. The patent doesn't cover any specific UI. Part of what the patent covers is a controller on a network presenting a UI to control volume on a group of speakers not a specific implementation of the UI.
ChromeOS currently has a 3% market share. Microsoft had 95% during the end of the Clinton administration.

Google's consumer hostile behavior is kneecapping any chance they have at future market dominance, it's entirely self correcting.
Don't they need slots at the Canadian airport too? So both Canadian and Dutch airlines end up holding slots they can't use. I don't see anyone benefiting here.
Think it’s 75x not 7.5x
It's not an either-or proposition. There's a spectrum of things that are supported to varying degrees by various browser platforms and a spectrum of degrees of caring about compatibility. On one end of the spectrum, you might have questions about supporting IE9 (i.e. EOL software that the maker no longer updates but that you as a web dev might have to care about), on the other you might have questions about supporting untranspiled JS class properties or top level await (i.e. software features that you as a web dev may feel entitled to use despite knowing about limited adoption).

It can be argued that browser vendors ought to do their best to align with standards, while simultaneously arguing that old devices do exist in the wild and some amount of onus falls on web developers to cater to segments above some threshold of usage.
It is software. It can be updated over the internet. People should run up to date browsers.
So which tools were these?
You most likely don't care, but if you want to be educated, here are some Vice documentaries: https://www.vice.com/en/topic/uighur
Please don't post unsubstantive flamebait comments. Just look at the hellishness it leads to.

https://news.ycombinator.com/newsguidelines.html
The method, in its current incarnation, is detecting dangerous variants and not foreseeing them.
We can use the same approach to forecast plausible developments, but there are so many latent variables (intrapatient evolution, mobility, vaccination status, restriction compliance), that it is more of an informed "What If?" exercise, than a true prediction.
Same as with many good stories on predicting the future, we can only see what is likely to happen, not what will necessarily happen... Out of many paths only a few will be explored in the end :-)
That graph says nothing. It's just talking about revenue. TSMC obviously has the biggest slice of the cake, but they produce the highest volume of premium chips. Most of what the world consumes are not in fact premium chips.

Pie charts gone wrong. You think there's meaningful information in there, but there isn't.
That's one (powerful) argument against this intermittency myth on one of the sources I link to here. The grid already is powered by intermittent sources, no power plant is on 365x24.
Are there any interesting private companies / startups in this space?
PCIe 6.0 Specification Finalized
> I'm not saying who's worse, I'm saying we need to do better before we critic others.

No. Every injustice, no matter where it happened, is deserving of critique and being dragged to the spotlight.
Please don't break the site guidelines like this, no matter how bad another comment is or you feel it is. It only makes everything worse.

https://news.ycombinator.com/newsguidelines.html

Insinuating astroturfing or shillage without evidence is strictly against the rules. Overwhelmingly (and that's an understatement), this is a marker of a bad HN comment. https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...

Also, tired internet tropes (and canned arguments) like 'whataboutism' are intrinsically unsubstantive. Please don't do that either. https://hn.algolia.com/?query=whataboutism%20by:dang&dateRan...
Thank you so much for your answer!

I have general understanding of OO in Python. I just do not see where exactly to use it in data engineering. Could you please recommend any book/article/video that shows with the examples when to use OO in data engineering tasks?
Opinionated K8s platform to take you from Code to URL in one step
A few years ago, I would recommend anyone (in the US) who had the opportunity to visit China do so. It's an eye-opening experience seeing the comfortable middle-class lifestyle in China for yourself (and of course the general cultural differences), meanwhile being aware of the abuses perpetrated behind the scenes. Provides a different perspective on the narrative about China you read about in the west. Not saying that narrative is wrong, necessarily, but neither is it the entire story, and the entire story sheds light on the story of the west in return.
I don't have any insights into this but that wasn't my point. I simply pointed out my opinion, that the message was so intense, that it was looking to me as a pressure play.

That being said - if you can produce n amount of engines per time frame, I am positive that they manage to achieve n*x amount of engines per the same time frame as well.
As I mentioned, the Burj Khalifa was built to a significant extent with slave labor, being completed only ten years ago, while the Great Pyramid probably was not, despite what the Greeks thought two thousand years later. In the United States there are some two million prisoners, most of whom also perform slave labor, as did the victims of GULAG.

Perhaps the Khwarazmians would disagree that the genocides of the last two centuries were unprecedented in scale and ferocity.
> Second, and to some extent as a result of its depopulating impact, the Black Death encouraged both the widespread adoption of existing labor-saving technologies and practices and the development of new ones. In the agrarian economy, this resulted in the widespread adoption of the iron plow, the three-field crop rotation system, and fertilization with manure, all of which significantly increased productivity.

https://www.medievalists.net/2021/08/the-black-death-and-the...
The timestamp seems to refer to the time the test report was downloaded not when the test was conducted.

https://twitter.com/blokovi/status/1480945535620108296
But, is it clicky enough? ;)