skysight-inc/HackerNews huggingface dataset:
You can configure NPM to install "global" packages to your user directory, and similarly PIP has `--user`.

Usually, the nuclear option to installing something on NixOS that just isn't playing along (e.g. Steam and its games) is to use buildFHSUserEnv[0] which sandboxes the directory structure you're used to on other Linux systems. Of course, this means you'll be writing a bit of Nix code – if you're lucky, steam-run[1] makes software run instead, and you could probably hackily add missing libraries[2] otherwise needed, to steam-run (just remember that this is a nuclear option and not recommended because you're moving away from NixOS purity, but it does exist).

Also, I suggest posting this to the NixOS links section[3] if you want more Nix users' eyes on this.

[0]: https://nixos.org/manual/nixpkgs/stable/#sec-fhs-environment...

[1]: https://nixos.wiki/wiki/Steam#steam-run

[2]: https://nixos.wiki/wiki/Steam#Adding_missing_dependencies

[3]: https://discourse.nixos.org/c/links/12
Yet another manifestation of Zipf‘s law... why is this notable or surprising? This is just a natural phenomenon
Grader.js no bloat Electron alternative
I did before this. And OnlyOffice, and LibreOffice, and even Electron O365s I created. None could handle all the different PPT themes and animations used in our presentations.
I thought this was going to be a written word article. It is a 52 minute video.

Shame on me for not looking at the domain.

It is a conference.
I've had some experience with two groups of employers that care: the military and financial trading firms. The basic answer is simple, although it has many side-effects: your work computer is isolated from the Internet.

In both cases, you can end up going to jail for a long time if you leak the code, so there's a fairly strong disincentive. Of course, that's only effective if you believe you'll get caught. And so your computer and the network is fairly heavily monitored, and very restricted in what you can do.

In the military case, there is no Internet access at all. Anything secure is on an entirely separate network. So, no Googling for hints, no Stack Overflow, no GitHub. In the place I worked, phones were not allowed either. If you needed to look something up, you could leave the secure area, use an insecure computer to look something up, and then go back into the secure area. You could bring stuff in (paper), but not take anything out. And remember the "go to jail" penalty if you tried and got caught.

In trading firms, I've worked for firms that pretty carefully control their Internet access. Internet traffic is white-listed, and any site with an ability to upload is either totally blocked, or if it's really, really useful (eg. GitHub), it gets a customized filter in the firewall/proxy that white-lists only the read-only URLs.

Any remote access is done entirely via RDP, locked down to prevent everything except screen + keyboard + mouse.

If the company is issuing laptops that leave the office, or allowing access to GitHub/Lab (and especially using personal GitHub/Lab accounts), then they're not really serious about protecting their code.
Carmakers want to ditch battery packs, use auto bodies for energy storage
I think it does both - rolling your own crypto is almost always a bad idea, but some crypto is harder to implement well than other.
I don't mind paying for expert advice,but I need to confirm if the person is expert or not. your website have no data/proof showing expertise related track records. I suggest you to add case studies(if any) and more free insightful content which will support your claims.if you are new find clients you may already know, and later publish your findings.

for real example, I have really fair understanding of tech, grocery store management, accounts and in-corporation regulations(for india),a good knowledge about construction materials, adhesives and civil work. I want to start as an advisor for tech startups and a civil construction & adhesive consultation. I have good track of cases where my advice saved 10s thousands from my advice, I can easily start here with some good testimonials from famous clients.
on other side, for tech startups I must start from scratch.
If you’re a backend developer, it’s just more work to do, unless you really make use of gql abstractions, they’re kind of more expressive than raw rest. For clients - instant exploitability, type safety, much more flexibility.
Haha Redditors called this "Evil" but I've got a number of positive comments for it due to all those old IE only government apps.
> DMCA take downs don't delete stuff stored client side on your computer

Github Desktop project mangers are taking notes, don't give them ideas!
> Won't unlocking the bootloader make banking apps not work anymore?

Depends on how paranoid your bank is. There's this SafetyNet thing that checks for "system integrity". It's part of Google Services. For now, it's possible to bypass these checks using Magisk, but I've read that Google is testing the new method involving TrustZone — a hardware trusted execution environment within the SoC where you aren't one of the trusted parties.

> Also, how do I do all you said above? (I need a step by step tutorial).

There should be plenty on xda-developers.com

> Also is it reversible?

On Google devices, yes, completely. You can reflash the factory images that Google provides and relock the bootloader. On others... it varies, on Samsung especially.

> Are there any other security implications?

If you leave the bootloader unlocked, anyone with physical access to your device will be able to reboot it into the bootloader and load arbitrary code with OS kernel privileges. From there they'll be able to modify the installed system. They won't be able to read the /data partition [right away] because it's encrypted with your password/pattern.

IMO it's really a shame you can't re-lock the bootloader with your own signing key.
Maybe I should read that book, but my experience with tracking TODOs just made me even less productive because after a certain point I could feel my fight-or-flight response kicking in when I looked at my TODO list. But I guess that's a different problem :p
Having the internet is a better deal. And if companies can't make money we won't have it.
If you remove `cat`, it gives me nearly identical run time on my machine. I used `shuf -r -n10000000 -i 1-3 > t1` as input. Also, output won't be same, as the perl solution retains input order. `sort -nu` is faster than `sort+uniq` combo.

perl -ne 'print if !$h{$_}++'

runs faster (but this might depend on input, not sure if it is always faster than uniq) than the `sort -u` or `sort+uniq` combo

what's surprising to me is that this was faster than

awk '!a[$0]++'
Trunp didn't, but many other Republicans did. Or let me phrase it a different way: The Democrats made it stick that the right wing fringe = Trump, but they didn't make it stick for down-ballot races. It was the other way around for the Republicans, I think.

So you can either take your ball and go home, or you can try to pierce the bubble. Hoping for them to come out of the bubble on their own seems pointless.
They could at least google it and find out how someone else solved the same problem. No such luck with more generalized error messages.
Private mental health hospitals are common in England.

They're usually terrible. (Winterbourne View, Whorlton Hall, St Andrews: all private providers).
There is something called nixpart: https://github.com/NixOS/nixpart but it's very immature as per as https://github.com/NixOS/nixpkgs/pull/21403

All help is welcomed :).
If the people are not educated and skeptical, a political party offers impossible combinations then gets to use its real priorities when it controls the government..

Having votes when new decisions are made means the people eventually vote directly on these priorities instead of giving power to someone who has manipulated them.
A “fairer” model but not necessarily a more successful model for Spotify is it?
Might be interesting to see how it fares vs "sort -u".
Just convert your presentations to PDFs, that's the only reliable way to go with a presentation to a random computer
1) Saying that police don't kill blacks as often as blacks kill each other misleadingly overlooks the frequency of interactions, and sheer outnumbering of police by regular folk.

2) Police are in a profound position of power and responsibility which makes crime committed by them a much more serious problem.

By analogy - if children are having punch-ups in the schoolyard, that's a problem. If the principal stops by occasionally and swings a punch or two, that's a real problem, and probably the one that should be fixed first.
I don’t think your question is serious, right? Were we in a pandemic that statistically shifted the voter habits of a large amount of Americans from in person, physically gated process to a highly leveragable, mail in ballot process in those years?

As for 2008, 2010, 2012, 2014, 2016, 2018, and 2020 (there is much power outside of a presidential election) — the bus example is the current status quo and has been used for ages and accepted as the norm — that’s been the “worst/best (whatever your virtue signal tells you) way to influence an election.

If you’d like to have an honest discussion about it - I’d love to, I’m very seriously in the camp that votes are votes and every single one should be counted no matter how they arrived to the polls.
Your system would allow you to sell your vote to the highest bidder with proof.

A lot of really smart people have been working on this for decades. Electronic voting isn’t actually an easy problem.
iOS Screen recording does not work with digital rights controlled content.

I wont be surprised if iOS screenshots are eventually also altered/prevented in the future using similar levels of control.
There are many other algorithms that are just as proven but don't feature many of the traps contained in RSA. The main issue with RSA is that depending on implementation and context-sensitive parameter selection (i.e. you actually have to think about them and can't just always use the same) you get wildly different results.
Other algorithms, like ECC, also have parameters, but they aren't context-sensitive, so always choosing the same one is fine for developers and only security researchers have to think of new and better parameters.
The Question really is how brittle do you expect/accept your encryption algorithm to be: RSA is very brittle in very unexpected ways, while e.g. ECC is only brittle if you choose a bad curve (but you can simply always select the same safe one) and people also know that.
An Immutable Blog Application in PostgreSQL
It was my understanding that the split's purpose was to relieve tension from pulling your arms towards your center.

I'd wager you're setup really is more ergonomic.
Senior means something different in each company so start by telling your manager that you’d like to progress and ask how to do it.

There might be career ladder available that would give you decked guidelines.

Then work hard, make sure you deliver you core responsibilities with quality and as fast as you can. For most things good full day of focused and structured work should do the trick. If you fall behind don’t hesitate to put some extra time to catch up but you shouldn’t need to make the overtime a norm.

Learn new things, first listen to feedback you receive and make sure you don’t make same mistake twice. Ask questions to your colleagues, they are much more happy to help than you’d ever expect (at least that was the case for me). Read a lot of books. If you have passion for your work do some side projects, don’t feel bad if you don’t finish or ship them. Listen to conference talks and go to conferences.

Think about the projects you work on and how you can improve them. If you find yourself with some spare time propose and work on projects that improve your codebase, refactor, optimise builds.

Understand your business, try to look at what you do from perspective outside of the tech team and understand what is the value of the work your team is delivering.

Stay up to date with latest news but don’t drink the kool-aid.
Sorry, I don't see any value in engaging with someone who's going to be intentionally obtuse about the semantics of hate speech to justify their regressive and objectively disgusting opinions.
Okay, here’s a question: why should third party screenshooting apps exist? What benefits do they offer over the stock functionality?
No. "Disappearing" messages are a farce. Disabling other people's screenshot capability so someone can be made to believe that their message will disappear is absurd. If you want a message that disappears, tell them in person and pat them down for a wire. Also there's nothing wrong with simply screenshotting licensed content. I'm allowed to do so for my own personal use. If someone is distributing licensed content that they are not licensed to do so, that's a matter for the courts.
Ask HN: Which businesses funded the anti-MA Prop 1 campaign?
The campaign was extremely unethical and misleading, implying that victims of domestic abuse would be more vulnerable if their car data were unlocked. I want to make sure I don't support businesses who were willing to pay for such a campaign.
And then go on to say you need total control. You can’t collaborate and compromise if the one party controls the entire gov. Nobody will believe the lie that democrats will work with republicans.
JavaScript Dizzle – CSS Selector Library
"economy of scale but backwards" describes the whole content industry, doesn't it? At your local shop you will typically pay more for a hit album CD with millions of copies made compared to an indie release with maybe 100 copies made.
So you would have preferred if Obama left bin Laden alone, and if he let ISIS expand all over the middle East.

No you would have just complained about that. Let's face it, you voted to make your country a global laughing stock in order 5o get a $5 tax cut every year.
New study shows how perfection and anxiety can lead to helicopter parenting
>And ofc, we take it for granted but the concept of a “file” is the ultimate building block for applications.

Yes. I love me some abstraction and building blocks. We constantly think about them because it helps the product be flexible by design in situations we haven't thought about.

Similar abstractions and building blocks or "units of computational thought", although not "perfect": Docker containers, Jupyter notebooks.

>In my experience, commercial disincentives aside, the main trade off for this power/flexibility is the complexity. It is intimidating for new users, and hard to design well for because of the combinatorial explosion of interactions. Users need to be strongly motivated to get over this complexity hump - whereas most users, most of the time want a single happy path. Personally I don’t see this as a negative thing - you are essentially coding best practices into the tool.

I agree. Complexity is not going anywhere, it just is a matter to decide who inherits it and at what level. For example, we're making our machine learning platform[0] after years of custom ML products to help us. We have different profiles: some of them can move between training a neural network, building custom connectors for esoteric data sources, setting up infrastructure, and running cable. Others live and breathe in a notebook who have trouble setting up the proper environment.

What we do is that we build a product that handles most things for the latter profile, but gives the possibility for advanced users to tweak things. One of the reasons we haven't adopted other products is that because they were way too restrictive. Point and click, no API, use custom non time proven abstraction, etc. It's also because in our years of actually shipping machine learning products for paying enterprise customers, the problems we faced in machine learning projects were not for lack of snappy CSS or animations. In other words, the products we had seen were solving non problems for us. We keep an eye out for products made by people who actually shipped ML products, though.

That's one of the reasons we built functionality on top of JupyterLab, like near real-time collaboration, scheduling long-running notebooks, and automatic tracking, instead of wanting to re-create the wheel with "Our Way (TM)".

- [0]: https://iko.ai
This is a reasonable article. Some others in the UK have been a lot more concerning.

https://twitter.com/ProfLAppleby/status/1323563373502603264?...

> As we go back into #lockdown, it’s right to be concerned about #mentalhealth & alert to the risks, wrong to frighten people with dire predictions, to quote evidence selectively, to claim mental health as cover for ideological opposition.

https://twitter.com/ProfLAppleby/status/1325406591307444225?...

> We need to acknowledge the anxiety people feel in a pandemic without alarming predictions on mental health that could add to risk.

> So please, no more "tsunami" or "suicide epidemic".

> https://www.thelancet.com/journals/lanpsy/article/PIIS2215-0...

https://twitter.com/ProfLAppleby/status/1324697434824581120?...

> News reporting of the pandemic should not add to suicide risk - alarming predictions about suicide rates are of particular concern. Important message to media & people they quote, authors inc Keith Hawton & @samaritans
.
Honour among thieves: the study of a cybercrime marketplace in action
I totally agree. I much prefer tools like the now-deprecated Yesql for Clojure that provide for easy mapping of actual SQL queries to function wrappers for those queries. Also, given that the database is where your data model’s consistency should be enforced, stored procedures and views are your friends. The last fifteen years of web app frameworks and developer practices have abused/neglected RDBMS systems by regarding them as simple table stores. ORMS are a classic “now you have two problems” non-solution.
I do agree with ball analogy, but disagree that it has anything to do with trying to move further and further to the right to accommodate people who don't listen to you.
>, and your artist will get 1/1000×15000=£15 and the other one will get 999/1000×£15000=£14985.

The denominator of 1000 in your fraction is artists but the pro rata calculation in the paper has total streams as the denominator.

If Spotify paid out by directly mapping userid to (unpopular) artist, and a user only listened to 1 track that month, that 1 artist of that 1 stream would receive the entire user's subscription revenue. (I.e. Assuming a rough calculation that Spotify pays ~70% of revenue to license royalties, that 1 artist would receive 70% of $15 which would be ~$10)

But with the total streams aggregation, the more people listen to Lady Gaga / Katy Perry / Taylor Swift / etc, the more it makes the denominator bigger with popular streams. Therefore, the more it reduces income percentage of the unpopular artist. (I.e., that's why an unpopular unknown indie artist receives a fraction of a cent for each stream instead of $10.[1])

It's a calculation that favors artists of popular songs (streams).

In contrast, I believe the Amazon's subscription for Kindle Unlimited payout is based on author's pages read without aggregating all other authors' pages into the denominator. Therefore, an Amazon's subscriber's revenue goes more towards the particular authors the subscriber read and is not affected by millions of others reading the more popular JK Rowling or Stephen King.

[1] https://www.google.com/search?q=spotify+indie+musician+payou...
Consider for example an app that lets you set triggers based on different events, like a hardware button remapping app or an IFTTT-style service. Should the user be able to program such an app to take screenshots?
No. “Common ground” is a false peace flag... a friendly sounding phrase meant to play on liberal preoccupation with “a fair system”
If you’re unfamiliar with how conservatives do business, it’s worth investigating. Start here: https://youtu.be/MAbab8aP4_A

When you need to expand your knowledge beyond YouTube videos I’d recommend this book:
https://www.amazon.com/Reactionary-Mind-Conservatism-Edmund-...

A conservative plea for “common ground” is very similar to a mind game explained here:
https://youtu.be/YOqJ4sc9TAc
Stealing and rephrasing this for clarity:

Alice pays $10/month fee. Alice only listens to track A 990 times.
Bob pays $10/month fee. Bob only listens to track B 10 times.

Total revenue $20, Total streams 1000. $0.02 per stream. Track A gets $19.80, track B gets $0.20

If Bob got his twin brother to subscribe, and they had the exact same listening pattern next month:

Alice pays $10/month fee. Alice only listens to track A 980 times. (Alice listens to the song less this month than last month)

The Bobs are now paying $20/month. The Bobs only listen to track B 20 times total (Each Bob listens to the track 10 times).

Total revenue $30, Total streams still 1000. $0.03 per stream. Track A gets $29.40. Track B gets $0.60.

Track A just increased its revenue 48% despite being listened to less the second month. Track B was responsible for Spotify earning $10 more, but only saw $0.40 of what it brought into Spotify.

However, I'm not sure what the downstream ramifications of
the new incentives would be after hypothetically switching from pro-rata payment structure to a per-user structure. Would artists' / music labels' strategies change?

I also wonder what would happen to the revenue from users who pay subscriptions for a month, but neglect to use the service at all. It seems it would make sense to either pay the artists that user has listened to over their lifetime/past year, or distribute pro-rata across all of Spotify.
> If I take my children’s devices away at 8pm, then they go to bed by themselves after 9, have a good sleep and ready for school.

You have forgotten to mention the age of your children.

(Noting that there is a change in circadian rhythm - around 20:30 up until puberty, and then much later - 23:00 or so for late teens - and then later it shifts back earlier. This is fairly well understood and agreed science. So for children under 13 or 14, you'd expect comparable sleep patterns to adults - but for that 15-20 range, not so much.)
India’s New AWS Data Center, Intel’s AI Acquisitions and More in This Week’s
hm, does not seem to require sudo here on arch ?
Imho, Arch is a similar style to Debian/Ubuntu but different package manager and slightly different semantics in a few places. NixOS is radically different and if you can make it work for you, you’ll likely be much happier after the learning curve. If however your needs are just outside the norms enough, NixOS could also just as well be very frustrating. It’s one of those things you’ve gotta try and invest a reasonable amount of time in, which might not pay off, but if it does, could pay off big (or so the marketing pitch goes).
I moved from a much smaller city to Seattle for a job that paid more (even after a CoL adjustment) but ended up moving back because I felt poorer in Seattle than I did in my old city.

A big part of it is that most of my acquaintances were paid significantly more than me. When they go out to eat dropping $40 on lunch and drinks was no big deal. I would imagine OPs issue could be similar. An engineer at a startup making ~75k in SF is likely hanging out with engineers who make double that.
The way you phrase it is as intellectually dishonest as it gets. Twitter didn't hide tweets they disagreed with, they hid tweets from a public official who cast doubt on the election process with no shred of evidence and acted in a responsible manner. With additional security on his account, there's are also additional responsibilities and since he didn't care, they had to interfere. They didn't delete anything, they didn't remove anything, they just made it perfectly clear that there's no proof to his allegations. That's responsible behavior and something that should have come way sooner.