skysight-inc/HackerNews huggingface dataset:
> how arduous some frontend architectures have become

This resonates with me. I'm a backend (sometimes fullstack) dev and can't fathom how FE-devs keep doing what they do, especially if UX is designed by someone else as well.

I would suggest getting yourself into a small backend/platform team. The problems/challenges tend to be more diverse/less cookie-cutter.
For those who are wondering what harm this could cause to western countries, I think it's an interesting point: Researcher's spiking interesting results in public but funneling them home.
> Classes as concept, are nothing more than extensible modules

If you're talking about ML-style modules, that really can't be farther from the truth, both in theory and how they're used in practice.

Modules can be used (among many other things) to implement abstract data types, which are conceptually a bit easier to compare to objects[0]. Then you'd have to go into structural vs nominal typing, functors vs generics, etc.

[0]https://www.cs.utexas.edu/users/wcook/papers/OOPvsADT/CookOO...
I think the frat/sorority days end when they walk across the stage for their degree if not sooner. Funding needs and publish or perish make people pretty dog eat dog. In my corporate experience the more technical and especially once people have phds they turn pretty toxic and less group oriented quickly.
To an EMT doing chest compression on a dying man is a menial task, but if I did it I would probably bore my family and friends with the tale for the rest of my life.
Receiving funding from a foreign government isn't the issue, hiding it is.

Do you actually believe that the Chinese government would find it acceptable if U.S. scientists working in Chinese labs hid their ties with the U.S. government?
It's not ironic, but rather straightforwardly pragmatic. A free press is an ideal to strive towards because it's something that local thugs generally attempt to shut down. Distance helps prevent coercion, and the adversary of your adversary is an ally. Analogously, the US is ideally hosting as many Russian-community-focused independent speakers as possible. The question you should be focused on is why did this whistleblower have to flee to Russia to begin with?
Breaking up Google or someone actually being a competitor sounds like a really healthy thing to me more and more.
Constructive doesn't mean actionable. Not sure where that assumption comes from. It may be that only future languages can reap the rewards of a discussion on core features that are unlikely to change in rust but that's still possibly valid constructive criticism.
Fox News Used Digitally Altered Photos in Coverage of Seattle Protests
>What would perhaps be a valid starting point for further discussions if the urban parts of the US had a good healthcare system.

They aren't disjoint systems. The increased cost of serving rural areas directly impacts urban areas as well. They share Federal funding. Actually comparing whether or not cities have have better healthcare systems than rural areas is much better than trying to define whatever "good" means. And yes in terms of access to specialists and emergency care, they definitely do.

>Citation needed! This is just armchairing.

Sure.

https://patientengagementhit.com/news/cultural-barriers-limi...

https://patientengagementhit.com/news/understanding-national...
Why is it racist to attack China? How about, “Hey why are you attacking nazi Germany? That’s racist!!“
Terraforming legacy Rails applications guides and tools
To be clear, there are countless examples of corporate influence on science beyond just Coca-cola. Professional science is sadly an avenue for manufacturing narratives, not empowering humanity.

The US worships corporations so unfortunately this is not an actionable issue.
This begs the question - wouldn't it be advantageous (recruiting wise) for governments to stop offering pensions, and instead increase base pay?
Lots of people I speak to seem scared of accidentally loosing too much weight and starving to death...

I don't really understand it though... Between 'too heavy' and 'too light' exists 'just right', and it's pretty hard to miss...
Stick "?jsessionid=<random 80 character string>" in front of the xss and no one will ever look.
Hindsight is 20/20.

Every programming language changes as it evolves and matures and people understand how to use it best or its domain changes significantly. Unfortunately, this always means accumulating these syntactic and semantical warts. Personally, I think Swift manages to keep a good balance, and it's a very powerful language, with lots of users and compatibility requirements, so it's much harder for them than for many others.

Alternative is constant redesign of syntax and behavior that just keeps making users unhappy with every release, breaking their code, libraries and obsoleting the docs.

If, to mitigate that, you try to make big changes to the language in big releases, once in a long while, you can easily get into the Python 3, Scala 3, Perl 6 fiasco and that can simply kill the language adoption.

It's a hard problem.
If disclosure of a foreign grant receipt is a requirement for working with the NIH and if these researchers knew it and hid said receipt then they should be excluded from further participation with the NIH. Where is the suggestion that only undisclosed foreign ties to other governments is not being examined? Me thinks one doth protest too much on this racism angle which is a standard CCP propaganda tactic.
First hand account of how India's PM Modi subdues media critics (2018)
This is why we need a union. If you take my contract word for word my company owns the copyright for photos of my family vacation, the awful songs I wrote with some friends a few years ago and even this comment.
The problem is maybe, a widescreen is bs for most things anyway. In most applications there is so much emtpy space on the left and the right side.
I use not just with monitors because of it, they are also height. 43" 4K is nice to work with.
I have followed this case since the beginning. I am surprised how the academic community (who's fully aware of this case) continues reviewing his work without questioning work ethics as though nothing happened.
TLDR:

Dr. Iman Sadeghi is the man behind hair rendering tech for Disney and Dreamworks. He left his job at Google to join Hao Li's company Pinscreen (which by the way is funded by big names like Softbank).

When Sadeghi saw red flags inside the company, he raised the issue from within, and finally wanted out. While he was leaving one day, Li and his colleagues legit assaulted (violently) Sadeghi to give up his company laptop. This, by the way, is recorded on CCTV cameras and can be viewed online.

The fraud case is about falsifying results in their SIGGRAPH 2017 Technical Papers submission. They claimed to generate avatar hair shapes in their paper, and when their reviewer asked them to give results on many faces, the company hired artists for as much as $100 to generate them manually for the results. Of course, they later claimed to make it fully automatic AFTER publishing the paper, but that doesn't justify the stance that they published false results in one of the biggest computer graphics conference. Hell even at that public demo, they showed pre-cached avatars and claimed them to be generated real-time.
You negotiate with your feet by walking away and finding another company that has terms that are more to your liking. You may not have the power to rewrite the contracts presented to you, but you have the agency to choose where you want to work.
Perhaps Mozilla should never have made breaking changes that pushed people away? The UI change that killed my extensions made me look elsewhere. Chrome's much faster js engine sealed the deal.

I've looked into switching back to Firefox, but what I've found is that they don't allow me to use my own extensions. I would have to use a beta version of Firefox or submit all of my extensions that only I use for approval to Mozilla or have to reinstall my extensions every time I close Firefox. None of these seem good options to me.
The Athenian Plague, a Cautionary Tale of Democracy’s Fragility
I find the use of “she” throughout your site when referring to an automated code process to be fairly strange. I suspect you’re trying to add levity and personality, but it’s an odd thing to assign gender to. Perhaps consider replacing those with “it”?
Of course this investigation was only started because they already had the goal of targeting supposed "Chinese influence". I wonder if this would even be news if they finally found that there was a lot of American researchers with ties British universities.
The average Silicon Valley-Er makes $150k/yr. putting $1k into 2021 LEAP options could be worth $30k if the company makes it out of bankruptcy. I’ll turn off my servers for a month and YOLO them odds
I don’t believe “13,000 dependencies” is counting the right thing at all. In actual fact, I think the number is only 756 or 691, depending on how you count it.

If you look at the eventual package-lock.json and filter it to just lines containing “resolved”, it’s only 756 lines, because it does plenty of deduplication. I don’t have the time to waste on installing it all myself to check, but I think it fails to deduplicate some that could theoretically be deduplicated, because of incompatible versions: I think that if you have dependencies a → x@1, b → x@2, c → x@1 and d → x@2, it’ll pick one of those versions of x (no idea how it chooses—first it encounters, perhaps?) to sit at the top-level node_modules, and any packages that need another version will install their own version, so that in this situation you might get node_modules/x (version 2, used by b and d), node_modules/a/node_modules/x (version 1) and node_modules/c/node_modules/x (version 1, again). I say this based upon very vague recollections of things I read and interacted with years ago, and the structure of package-lock.json; I may be wrong in the details of it.

This way of having multiple copies of the same version of the package is the difference between 756 and 691—there are 65 exact duplicates.
For example, you get debug-2.6.9 at the top level, and then within other dependencies, you get three copies of debug-3.2.6, and five of debug-4.1.1. That’s just one example. There are eight copies of four different versions of kind-of. After excluding these exact duplicates, there are then another 67 cases of multiple versions of the same package being installed (kind-of’s four versions is the most).

A few days ago I looked at a case that was double the size of all this: https://news.ycombinator.com/item?id=23488713#23490055.

When you get duplicates with incompatible versions like this, it strongly implies unmaintained, or occasionally incorrectly maintained, software. If they all got their act together and simply updated to the latest version of all their dependencies, the number of packages you’d install would not exceed 624.

Look, it’s still a lot, and I scorn many of them as unnecessary and oft counterproductive frivolities, and there’s way too much overlap in many of them; but 13,000 is just a shock number that doesn’t represent what people expect it to represent, or match what they’re concerned about.

(Also this number doesn’t mean you’re taking code from over six hundred sources; some things are just split up into multiple packages because they genuinely are separate concerns; for example, there are 93 packages named @babel/*, indicating first-party code from Babel.)
Not trolling. But your second example is indeed more meaningful of the way I'd like to customize styling. And on that aspect, it is -as you mention- exactly the same as chakra, line to line. Except that Material also has a lot of additional stuff and opinions that I don't need.

But anyway, it looks like we have had different experiences, maybe due to different use cases. My experience with Material UI has been the opposite of yours: It is cool to get a quick project stated, and I would use it again for small projects. But for a large SaaS application like I do, that includes 3D views, Openlayers Maps, React Select and others complicated 3rd party libraries and custom UX patterns, I would NOT use Material UI. Too opinionated, not flexible enough, and not being based on emotion is a show stopper for me. So let's agree to disagree maybe on that point.

Regarding the LOC, yes it does indeed say something about developer productivity, and this does match the contortions I had to do in the past to make Material UI fit my need. Lot of LOC, lot of time, no-so-cool results. I want more control, that's all.
That's because these days everything is racist.
Spectral efficiency is also a nifty metric because, given some bandwidth and signal-to-noise ratio, there is an upper bound to which you can compare a result [0].

Frequency spacing makes sense as namibj points out. Most long-distance telecom links operate in the optical C-band, which is roughly 5 THz wide. (A wavelength of 1525nm has an optical frequency of 196.5 THz, and a wavelength of 1565nm has an optical frequency of 191.5 THz). You can select optical frequencies to modulate within this optical bandwidth. Given a certain modulation rate (>>GHz), separating the channels in units of 1 GHz is reasonable.

[0] https://en.wikipedia.org/wiki/Shannon%E2%80%93Hartley_theore...
We (based in Europe) use https://quaderno.io/ for the tax calculation, reporting, invoice creating and sending. For example they collect the proofs the EU needs, like country of user, country of bank, country of transaction (IP address). They're not a payment provider but connect to others, we use Stripe. I recommend them. Not sure about US states, that doesn't apply to us.
It's hard to imagine moving away from California and its moonlighting law. With it, I own everything I conceive of and work on during my own time, as long as it doesn't conflict with what I do at work. I'd imagine that if you relocated here (your company probably has an office in Silicon Valley), many of your restrictions would be lifted.
> IMO this is the "obvious" behavior, but it is still worthwhile to know it works!

I think this is why people love Postgres so much. 99 times out of 100, the "obvious" behaviour turns out to be the behaviour that Postgres actually implements.
They Used Smartphone Cameras to Record Police Brutality–and Change Histor
Not sure about that. Segmentation as it was used on Intel CPUs before the 386 ("Real Mode", "Protected Mode") wasn't used in Linux (other then during the boot as PC BIOS was running in 8086 compatible Real Mode). Linus was quite outspoken about the awkward programming model of those earlier CPUs and there's a reason Linux started not before he got a 386 (he was accustomed to 32bit wide flat address space from the 68008 in his earlier Sinclair QL).

Paging is an old OS concept and predates Intel CPUs and even Unix. How far back in time do you want to go?

I think some concepts which were influential in the early days of Linux are well covered in Minix (1.0) code and book (after all, Linus first experimented with a 386 scheduler for Minix).
Available without paywall at: http://archive.vn/AVwHK
I'm curious why you feel the need to port them at all? ObjC is pretty far from dead. Perhaps the ObjC runtime will be abandoned by Apple at some point, but I can't see even deprecation (not removal from their shipping systems) taking less than a decade.

In particular, note that Swift on Darwin platforms is intimately tied to the ObjC runtime. I wouldn't be surprised if there are long-range aspirations to change that, but it's not feasible in any short term.
Indeed; reference counting was one of the most important aspects of Objective-C. Probably the most difficult aspect of it was that while most of the time method names have hints as to what increased a reference count, it wasn’t always obvious. And then, of course, you had Core Foundation functions which could be tricky to grok in terms of memory.
Very cool bit of Nintendo history, although as someone with a passion for cards, paper cards with a good finish are still the gold standard.
Dude you need to stop spamming this thread with accusations of racism - this has nothing to do with race - these tactics are straight from ccp
Kimodameshi
It's probably even dumber than that.

1) Trump or someone else in the WH becomes convinced that the NIH is full of Chinese spies

2) Some poor flak winds up with the job of producing some spies to fire, or else

3) We wind up with this weak sauce

You know who would have absolutely none of these paperwork gaps? An actual spy.
Yes and no. If a private equity firm injects a bunch of cash into a bankrupt company through an equity buy they do so with concessions, they might get one or two seats on the board of directors, a special clause in the bylaws in the event of a company sale or acquisition, etc. In this case these investors get none of that sort of 'armoring' of their risk.
Monetary wealth sure but what about all the other markers of wealth? Wealth means more than money. Everyone walks with a supercomputer in their pocket and the world at their fingertips but they think they're not wealthy.
If you're taking casual computer experience, KDE's still way more customizable than any of the commercial desktop environments out there.

Of course proprietary software has more funding to hire designers and such, but in terms of actual functionality, I'd contest your claim.

If you're talking developer user experience, it's not even a race. The FLOSS ecosystem has a landslide lead here. In fact the whole point of WSL is to try to keep devs on the Windows platform by bringing that experience to Windows more directly.
Without the requisite infrastructure (SCCM or Intune, honestly, to make it sing), this isn't recommended. No Microsoft Store means no WSL distros (without fiddling), no updates to system applications (maybe you like this), no Windows Terminal (again, without fiddling).

Just get Enterprise or Education (which if you know a kid with a Office 365 acccount from their school, they can log into Azure and get a MSDN key for free[0]), and run ShutUp 10 to kill the telemetry. Or just set the three to four GPOs. Done.

[0]: https://azure.microsoft.com/en-us/education/
Java with DCEVM or OSGi. This was originally a big OSGi selling point if I recall correctly though I’ve never seen it successfully implemented - though maybe in the Eclipse IDE?

Anyway it’s a very well studied and covered topic in the Java ecosystem as I understand it...

http://ssw.jku.at/dcevm/

http://blog.ruwan.org/2012/12/dynamic-hot-swap-environment-i...

https://www.jrebel.com/blog/java-hotswap-guide
The Evolution of Smalltalk From Smalltalk-72 Through Squeak (2020) [pdf]
Article by Dan Ingalls; Smalltalks main implementor.
Is it live? I tried it on my old iPhone and I didn’t see how in the interface. I think that feature is Android only for now.[1]

What you can do is save the QR code or equivalent data at time of two-factor creation and then re-add it to any device at any time.

[1] https://security.googleblog.com/2020/05/introducing-portabil...
Ask HN: Non lethal weapons for law enforcement
If we take guns and tasers away from the equation, what remains:

1. Paint guns that ‘mark’ the criminals.

2. Snap a bracelet or ankle restraint that tracks them even if they escape instead of handcuffing

3. Some kind of frisbee like or boomerang like device that can latch on to criminals instead of handcuffs.

4. Handcuffing with a diff design of cuffs rather than one that stresses the body.

5. Robots that can be sent forth instead of cops armed with guns and tasers.

6. Blob like net material that captures criminals

7. A removable/dissolvable chip for various crimes from felony to DUI to burglary. No arrests.

8. Built in breathalyzer in automobiles/vehicles.
Letting them do whatever they want is not a valid choice, no matter how they feel.
What's in the middle of "bumbfuck-nowhere" as you so eloquently put it? Kanazawa--which was the subject of the comment that you appear to be replying to--has a population of about half a million people. I've never personally been there but that doesn't seem to be a very accurate description.
You’re essentializing races. First - how do you know first hand that any of these people care? Second - why would it be a 1:1 correspondence that simply being a certain ethnicity means you hold a certain opinion?

And beyond the essentialism, you’re arguing for a set of actions and policies that infantilizes and victimizes ethnicities. Not to mention, polarizes everyone involved in the discussion.
Extract from the article
"But why print the money on wood? Why not just give residents $300 worth of federal dollars?

The answer is simple: By creating its own local currency, Tenino keeps the money in the community. As Fournier puts it, “Amazon will not be accepting wooden dollars.”

“The money stays in the city. It doesn’t go out to Walmart and Costco and all those places,” says Joyce Worrell, who has run the antique shop Iron Works Boutiques for the past decade.
Master/Slave labeling IS weird. When I first saw it in reference to drive configurations, I recall thinking how maybe there was a better way to label them.

But as others pointed out here, "Master" branch is not using that source for the term. Changing it in this context is actively harmful to BLM and race equality.

So, ignore this and don't be a pussy. (Historically pussy == cat by the way. So I am bringing this phrase back for the same reasons that my Master branch and Blacklist/Whitelist are historically clean terms.)
Ask HN: How do you manage on-prem deployments?
I've recently started a little home-lab with a few refurbished dell rack servers, and wanted to ask about other peoples experiences with managing software deployments. Each server runs Debian, and I want to be able to automatically deploy & run new code in a clean, easy to manage way. Ideally, each server would run identical software.

A few ideas I had:

- https://equinox.io is a good option - $29/mo for automatic release channels, deployments, etc.

- Periodic clone from GitHub is another solution here - every x minutes, clone, build and replace if needed. This option works great, but can lead to some annoyances.

- I'd guess the simplest way is to write a small script which copies the binaries over to all the machines, then restarts the servers. This is fine I guess...?

Has anyone else worked on something similar? How did you / do you automatically update the binaries running on your on-prem servers?
Osho was brilliant. His YouTube videos are great, too! He never took himself as seriously as people think -- too devoted to playfulness and a huge proponent of independent thinking.
are you saying pure-python detection is possible for standard packaging formats like setuptools and pyproject.toml, but not for sdist generally?
And this is specially sickening when it is directed at scientists, an area where it always necessary to collaborate across the world. To be very clear, if the Chinese are investing billions of dollars in research I want to collaborate with them, it has nothing to do with my nationality.
> When in doubt, save yourself a headache and just use a different name.

When you have no doubt, save yourself a headache and read the article. ;)
>But the concept that all your programming work belongs to the company is not that strange.

That we've acquiesced and allowed the situation to fester means that such clauses are not unusual. They are, however, in the grand scheme of things very, very strange.
I don't think so. Per Crunchbase, Amazon only took $108 million in investment. Uber took $8 billion. Although I have plenty of issues with Amazon's behavior, I think they earned their market dominance the hard way.
> The word "master" is overloaded

Overloading of words is no longer allowed. See also: people can’t refer to their non-binary gender as “NB” because that means "non-black” in the context of race; polyamarous people can’t refer to their relationship style as “poly” because that is stealing the word from the Polynesians; etc :P