skysight-inc/HackerNews huggingface dataset:
Ask HN: How to use multiple monitors using Gnome?
I quite like the Gnome desktop as my daily driver. However, compared to tiling window managers like i3, I miss the support for multiple monitors the most. The secondary display seems suitable for only watching a movie while working and it is difficult to switch apps, workspaces don't work, neither do we a bar with the date-time or applications.

Do you know some extensions and tools to make this better?
This is a good overview of NixOS however it's very limited and barely scratches the surface of what Nix can do. I consider it a complete replacement for the "reproducible environment" problem that some programming languages solve (e.g. Python's virtualenv, Haskell's cabal repl), among others.

A simple example of this is when I want to run a Python script from the internet, I can execute

nix-shell --run "python3 foo.py" -p "python3.withPackages (ps: with ps; [ numpy ])"

and now I'm in a shell where numpy is avaliable to the Python 3 interpreter. Or I could test the Haskell QuickCheck library and run

nix-shell --run "ghci" -p "haskellPackages.ghcWithPackages (ps: with ps; [ QuickCheck ])"

See[0] for a way to run programs without even installing them by prefixing them with a comma, e.g. `, hello`. Or what about running any Linux ELF binary by automatically getting their shared dependencies at runtime[1]? Or generating bootable ISOs from your NixOS configuration[2], cross-compiling with little effort[3], and so on.

These problems have already been solved to varying degrees in other places, but Nix lets you unify them (think of the huge amounts of libraries downloaded by cargo, cabal, node and so on scattered amongst projects and your home folder, Nix stores everything in /nix/store/) into a single framework.

I'd like to also say that the Nixpkgs repository[4] is super easy to contribute to, just open a PR on GitHub as opposed to sending patches via mailing lists, which is checked via the CI. I'm not sure if there's something analogous on other package repositories but there's also a bot[5] that opens thousands of PRs updating and testing packages automatically.

[0] https://github.com/Shopify/comma

[1] https://github.com/Lassulus/nix-autobahn

[2] https://github.com/nix-community/nixos-generators

[3] https://matthewbauer.us/blog/beginners-guide-to-cross.html

[4] https://github.com/NixOS/nixpkgs/

[5] https://github.com/r-ryantm
We can’t even wipe out mosquitos. Just tweeted this:

> We lost the “War on Terror”, we lost the “War on Drugs”, and as long as we keep declaring war on fundamental forces of nature, we will keep losing. The only way to win is not to play.
Link to paper: https://doi.org/10.1126/science.abe9403

Already the authors list is very impressive. Lots of people!
This problem really reminds you that Android is Linux. Everything is a file, even the bugs.
Scrcpy is also available for Windows and Mac.

The link here states, that the screenshot settings were apparently broken due to a bug. So no bad intent from Google here.

Besides that, apps can declare their content as sensitive and add the `FLAG_SECURE` to their activity which then hides the app content form "unsafe screens", the "recent apps" screen and screenshots. But this is a choice of the app developer instead of Google.
US Submarine Commander Rates 14 Submarine Scenes in Movies
> We don’t need 5G for our phones to work right now. It’s just that no study to date proves it’s safe.

Which is fair. I also wonder, wasn't there any actual study at all regarding the health concerns that have been raised?
Extreme wanting to be like denmark?
Soooo if you cannot assert your rights you cannot stand your ground. What happens when you have two people claiming stand your ground?

Dead men can’t speak. Stand your ground is an affirmative defense. Or in other words, when in Florida carry a big stick and don’t be afraid to use it.

Honest question, are you saying the prosecution should have ignored years of case law and argued on purely circumstantial evidence? (Because Martin’s girlfriend was a baaaaaaaad witness. Like beyond bad. Like I would have been ashamed to have her as my star witness. Why would the one person who could hear the struggle of the fight have an attitude, on the stand, towards the prosecutor fighting for her bf?!?!!)
My favorite feature of NixOS is cleanliness.

I never need to worry about a mess anywhere outside of `/home`. Ever.

Ever make a symlink to fix a broken package and forget about it?

Ever make a change to a config file and forget about it?

Ever update your system and find out something is broken, just to spend time repairing the problem?

All these things tend to add up over months and years. After a while, I usually end up reinstalling my distro to start fresh.

Never again.
Smallpox is:

- Spread by contact

- Off-the-scale virulent

- Trivial to turn into a vaccine

- Not present in animal reservoirs
Only for emergency care. If you need, say, cancer treatment, you are on your own.
While I'd agree Trump has indirectly revealed the priorities of many, let's take care not to permanently label people.

I was on the right most of my life and hated Trump. Yet he seemed to be the least worst for many single issue voters. Thankfully forums like this helped challenge my worldview enough to overcome the indoctrination of my youth. Now my entire perspective had flipped.

Everyone has the capacity to change. And that's much more likely to happen in a welcoming and curiosity friendly environment than an echo chamber.
Aluminum is also non-magnetic like glass. So either of them needs to be coated with magnetic material.
As far as the BOM, you're asking the wrong guy, but someone upthread mentioned that it'd have to run off the usb, which is one of the reasons why you'd have to wonder what the point really is.

One very real cost would be the increase in size to the PCB and everyone's cases. Plus, we could talk about how external sata just isn't very good as a user experience, while usb is.

I haven't shopped for really cheap storage hardware lately but I question that there's really an area where sata could be a cost win.

> And keep in mind that nowadays the price point of a fully kitted raspberry pi is already close to 100$.

There's a really wide variance there, though - you can get a lot done for under $50.
I agree that's what you said. Conversely, Trump was asked about them specifically in the context of white supremacy.

For anyone curious about their beliefs:

https://proudboysusa.com/tenets/

Minimal Government

Maximum Freedom

Anti-Political Correctness

Anti-Drug War

Closed Borders

Anti-Racial Guilt

Anti-Racism

Pro-Free Speech (1st Amendment)

Pro-Gun Rights (2nd Amendment)

Glorifying the Entrepreneur

Venerating the Housewife

Reinstating a Spirit of Western Chauvinism
I can imagine sitting down and migrating a lot of complex packages to Nix is probably quite a tall order right now. Partially because I think a switch like that is always painful, but also because of the open issues, bugs, yet unanswered questions and usability issues that do exist.

I think it depends on if your use case allows for a gradual transition and on your tolerance for migration pain wether or not Nix is worth the trouble right now.

Even if packaging is more difficult with Nix, I appreciate that packages do end up containing a much more precise and flexible description of what they depend on.
Aren't you thinking of that other project, WIA(I)EL?
Usually this is done to include links to other sites so a way of testing is checking key pages for links and testing them or flagging external ones if they’re only supposed to be internal.

CloudFlare has 1.1.1.3 which blocks links to porn and malware, so another way is checking the domains against that.

It all depends on the kind of defacing you’re seeing and looking to monitor.

They could replace a page but they could alter the content as well.
They should be but on android, it's bot handled by the same setting.

So as an app developer I can either set the `FLAG_SECURE` to hide both or I need to create own workarounds like navigating to the root view element and setting it to invisible whenever the app is paused just to hide it from the recent apps.
Since Windows 10 is newer than Windows Server 2008 I assume it is supported as well, since it says "Windows Server 2008 or later" is required.
So, lets say there are only 2 apps in the market after a few years. For what ever reasons.

Do they stop doing transactions after they reach their 30% cap?
Google's play store requires screen grabs of payment screens when submitting. They recommend you photograph the phone with a separate device...
Exactly. The technical controls required to prevent this will:
1) Degrade employer/employee trust
2) Decrease employee productivity

Anything more than an NDA is probably overkill and is going to work against you as an employer.
> Unlock the bootloader

A dangerous game on anything other than Xiaomi phones these days, the only company to provide official bootloader unlock software, but yeah otherwise, go download it from some shady website and not have a care in the world about the most sensitive device you own.

> install Xposed

Last updated 2014 :\

You'd be safer shooting heroin into your eyeballs than installing Android root software from 6 years ago.

How on Earth is this advice allowed here?
here isn't a bad starting place
I think it is as complex topic as solving captcha or fighting email spam.

You can check screenshots, you can check for new CSS/JS files included in page.

That's a start.

Also you should track DNS/NS changes.

Only screenshots are not enough. What if they redirect users elsewhere? Open new windows (well, browsers fight it themselves, but still).

To summarise this:
- DNS changes
- changes in included JS/CSS files
- changes in new outgoing links on a given page.

This should be enough for starters
The idea of a REST endpoint is to represent a resource, not a view. How will you bring good RESTful API design together with the requirement of wanting an API that serves one very specific view that depends on multiple REST APIs. This seems to be in conflict doesn't it? What's your idea on resolving this conflict without abandoning the principles of RESTful API design?
Yes, Bandcamp is great for that.

Sadly they'll never get the amount of attention, funding etc. as Spotify just due to the fact that they won't earn millions on the backs of artists. Exploitation will always win in this kind of market.
UAE announces relaxing of Islamic laws for personal freedoms
Actually, that's close to what it was saying:

"The American Rule" is a reference to a norm in law that your opponent pays for their own legal fees, and you pay for yours. See https://en.m.wikipedia.org/wiki/American_rule_(attorney%27s_...

Compare this internationally:

• The English rule is used, under which the losing party pays the prevailing party's attorneys' fees.

So the American rule is that each party bear their own costs of litigation.

Contracts allow parties to fee shift. Although the article equates fee splitting as the American rule, there's technically no such rule for transactions, but it does represent the general American sentiment on the subject, which is that parties should bear their own costs. Requiring the weaker party in a transaction to shoulder the financial load of a dominant party may be a common capitalistic practice, but it's not an American ideal.
Seems really useful, thanks for the links!
I can see why people might jump right to the Nazis there, but it’s important to know that the Nazis took their cue on forced sterilization from the eugenics movement in the USA. At one point, some 30 states had laws allowing for it.

https://en.m.wikipedia.org/wiki/Eugenics_in_the_United_State...
What if there are simply not enough people who enjoy this sort of music enough to be ready to pay for it?

Maybe the problem is not that it is hard for non-mainstream music to find its supporters. Maybe the problem is that non-mainstream musicians are deluded to think they have enough supporters to make a living off their music.

Even YouTubers that produce free content can make a living off Patreon. Even some podcasters can.
Whatever the merit of the early masks and lockdowns strategy, the options Biden has do not include them, that ship has sailed. He’ll have to make do with the options he does have.
Musicians already earn very little. If you want to play music offline, buy a DRM-free copy.
Not denying what you said, but I'd want a way to ignore "FLAG_SECURE" as a setting, so when I really want to take a screenshot, I should be able to do it regardless of what the app vendor wants to impose.
What Is WebSocket? Reach Real-Time Stock,Fx,Crypto with WebSockets
Why not get a vaccine against a single coronavirus first, boss.
Please, find one quote from an indie artist who makes good money from Spotify.
I have no idea how this is implemented, but for regular quines (i.e. just a program that outputs its own source code) reading the source file is obviously not allowed. Plus there's isn't really a "first language" since the whole thing is a loop anyway.
Lost me at genetics.
If you like Medium's writing interface, use it. Just be sure to publish your articles without opting in to monetization, if you want your content to live outside the paywall. It'll still be discoverable through Google (I get >1m reads through Google / Bing / Social).

Medium gets a lot of well-deserved hate because they employed some super scummy tactics in the past.

For example, they won't promote your content on their network though unless you opt-in to monetization. Which sucks.

But they're backing off on some other points like asking guest users to sign in or click through a popup before reading an article.

Substack is super polished, if you haven't tried it. Similar interface & setup.
nothing other than NDA. one with enough motivation can easily leak it.
Show HN: My Side Project Rocks – Share and discover side projects
Grinds my gears too! If it were up to me, I would have called the deal off.
That is rich after 4 years of non-stop Russia colusion coverage. As to racial injustice, no one is arguing it should be swet under the rug, but neither should cherry-picked examples of bad interactions between police and black people be used to build a narrative that justifies looting, murder of police officers and calls to defund the force. The US is a large, violent country, with guns everywhere. You can build a narrative about anything if you simply select, out of the millions of encounters betwen citizens and the police, the ones that go bad and victimize one particular demographic. And that is exactly what the media does. For good measure they also distort the facts to support the narrative. Relentlessly, blatantly, shamelessly. The consequences are dire: a divided country, racial hatred, violence. This isn't going to stop just because Trump is out of office. Its too profitable.
I think some organizations did that even before Stuxnet.
No, it isn't, and you don't understand one or the other or both.
They compare the new process with animal proteins, but not with plants. It also would be nice to compare the production of proteins and carbohydrates, they may have a very different shield.

For carbohydrates, I think the best plants are potatoes and corn (IIRC wheat and rice have lower efficiency).

For proteins, the best plants are soy and chickpeas. They actually host bacteria to fix the nitrogen to produce the proteins.

Even for "free" electricity, there are many uses. Like making Aluminum or mining Bitcoins. (And there was a recent post about using the surplus of electricity to make metallic iron, and then burning the iron, but I'm not sure if it makes economic sense.) You can use the profits in a reforestation program to capture the CO2.
The points would have been valid if Tesla did not have cars in the physical world.

You'd think that executives at established companies are well versed in "politics" and communication, and have learned that disparaging a new entrant has the opposite effect. Time and time again, you witness they haven't grasped that all it communicates is fear and, for the new entrant, this is as sweet as the scent of fresh coffee in the morning.
Of course its real. It's not imaginary. Maybe the president of Toyota can't imagine it, which seems likely.

I think Toyota will always lag Tesla, because of the batteries. Either Toyota invent their own and build a plant, which will cost billions. Or they use Tesla batteries. Either way Tesla is ahead.
> The iPhone is purchased explicitly to avoid that.

This is untrue. Not a single person purchased an iPhone in order to prevent themselves from loading apps.
Mutt cannot do multiple folders and keep state.

Coincidentally, I used to use sup and it is my favorite mail client that I've used. At the time there was no way to sync changes back to maildir or some format that IMAP could sync. Is that still the case?
> The only possible response to increasing extremism on one side is increasing extremism on the other side until one has enough power to quash the other.

I think this statement is wrong. There are a lot of other possibilities. For example: "A minority that is agressively vocal for extremism in one aspect could be cushioned by a strong general consensus for a political culture of reasonable cooperation and discussion."
it's like the main goal is to care about employee only to make the entreprise successful.

This is just how business works. It's how market (and many non-market) economies work. It's how much of human society is structured.

Also, sometimes people need external motivation. "You are a jerk and you need to stop being a jerk" is not enough sometimes. This happens in many contexts, not just the workplace.
pop shell is one way to solve this problem
https://github.com/pop-os/shell

if you use pop os they also have a hidpi daemon
BFFs needing security is not that valid; especially if you go at it as a "middle layer that queries things like your client would" and treat it from security perspective the same as your clients. (i.e. don't trust the bff)

GraphQL does not have the same level of complexity as Docker; nor is it as obscure. With the libraries like apollo; especially if you have a "component driven" approach; being able to craft components as truly self-contained modules is quite freeing.

Could you do this with REST? Probably. However with GraphQL managing the complexity of it is easier. This type of an argument could also be made for SOAP; since you could probably implement something like this there too. With GraphQL somebody already did that for me though; so I can just use it. I don't have to worry about creating multiple endpoints for my use cases; I only need to worry about specific entities and how to fetch them. I no longer need to worry about whether or not I am batching my queries etc because it is managed for me.

This allows me to have (to the greatest extent) plug-and-play components that I can just chuck into places.
Fred Wilson agrees.

In his mind you should be able to incorporate, draft and sign series seed documents (no negotiation) for $5K. Although that was said several years ago the same ideal should hold true today in 2020. https://avc.com/2011/03/a-challenge-to-startup-lawyers/
Bruh, redux is more modern than haiku these days. Beos was not as advanced as we like to think it was and now it’s really starting to show. Reactos is in a very similar state.
How to Collect Log for SIEM?
Not a scientist or medical person, but I believe its accepted that there is linkage of fever and cancer inhibition (because non-cancerous cells tend to cope better with environmental stresses than cancerous ones). It's not at all my field, but a very cursory search shows statements like this

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4006373/

'Lower risk for cancer has also been associated with a history of febrile viral diseases.'
There's some good cross-section diagrams of submarine cable here:

https://www.electricaltechnology.org/2018/02/submarine-cable...

Fiber theoretically has unlimited bandwidth. The bandwidth of these cable system is limited by the transmission gear used to light the fiber. This is the same for all optical telecom gear though. The cables themselves have a lifespan though. Newer systems have a lifespan of around 25 years.
Hello DeonPenny, I work for a startup and I see this problem everyday, so I think is I can monetize this idea, that would be my validation, people paying.
The fact that it has never been done indicates that it will require a new approach. If the new technique we find allows us to deal with all coronaviruses in one fell swoop, so much the better.
I think this particular thread is debating the ethics and unintended consequences of eradicating all coronaviruses, not how possible it would be to actually do.
Qanon is just todays Dominionists. The democrats tried to push the same dangerous "other" group back when palin/mccain were running.

https://www.washingtonpost.com/blogs/blogpost/post/dominioni...

The democrats love to trot this out, the fringe group that somehow is a massive threat. Meanwhile they act suspiciously silent about the riots we had with BLM, which caused actual and serious damage. Not much about Philadelphia at all.
Hacker News strips certain characters out. That specific one is not one of the ones that is removed.
In such a complicated and big world? I don't think so. It certainly won't be as "easy" as defeating smallpox.
I've worked for the DoD in SCIFs. Complete physical isolation, armed security, gates, electronic locks, physical locks, EM isolation (Faraday cages, the works). It would have been trivial to exfiltrate anything I had access to. These barriers are about not letting the wrong people and data in; they are not about stopping data from going out, at least not physically. If anyone working in these facilities wants to physically remove data, it's trivial. Witness Snowden and similar leaks. That's just as easy today as it was then.

That's not to say there are no protections in place. Systems are isolated as much as possible; there are access controls; there are audit trails. As the value of the data increases, the number of logs required to access it increases. Someone's going to know. Something like what Snowden did was trivially-easy to do, but to do that without getting caught would have been near-impossible. The key to Snowden is that he didn't mind getting caught.

In the end, it boils down to trust. Trust is the only thing that prevents data from leaking. You put extra protections in place to prevent data from flowing out via a software bug, backdoor, or simple mistake; you use physical security to limit who can come inside in the first place. But ultimately the only thing that stops data from leaving is being selective about who you let inside. In the case of the DoD, that involves extensive background checks and security clearances. Once they trust you, though, you can grab whatever you want, if you're so inclined.

I've also worked in finance, for market makers, brokerages, hedge funds, giant investment banks. The protections there are laughable. Most places pay lip service to it but don't actually do anything that really protects their data from leaving. Beyond the basics, it's all security theater. At the end of the day, it's again completely about trust.

To answer OP's question: you prevent code and data from leaking by hiring decent people; not doing anything to piss them off so much that they're willing to risk jail; and compensating them well enough that they aren't as easily bought. You should still put technological barriers in place, but they are almost entirely about keeping bad actors out. Throw in some auditing so that people feel like they're being watched. Add in some more security theater to remind people to care.
App lets banks lock your financed phone if you default on payment
Neal Stephenson analyzes this in Snow Crash. You need to reprogram their brains via subliminal random looking screen images and divide up all the work so nobody has a complete picture. Problem solved.
There are no contact exceptions that would allow this. It's fundamentally not PCI compliant for a merchant to store CVV.