skysight-inc/HackerNews huggingface dataset:
> and you can see this if you modify a shell script file on disk as it's running, they will actually pick up the changes as they keep reading the lines while executing.

Better yet—you can stream a script into bash, and each line will be executed as it's received over the pipe.

In theory, one of those `curl ... | bash` stanzas could actually be talking to a little web-app backend that writes lines of script to the HTTP socket one at a time (maybe using Chunked transfer, but not necessarily), and waits for those individual lines to be executed; where some of those lines are expected to make other curl requests back to the same server; where those other requests in turn change backend state that the original script-streaming session can see; and that state further determines what lines of script get written to the HTTP socket.

In other words, just by piping to bash, you're actually giving whatever's on the other end of the pipe an interactive shell on your computer, even without the script installing any separate CNC agent!
> FWIW, I personally think distance learning is underrated, although I have been doing it for years so I've had time to become accustomed to it. I can understand why some students (including my wife) do not like it, and may never like it.

When I was a student after first time I took I immediately did not like it. Online courses should instead be called "study yourself" courses, because that's what they really are. In many cases teacher uses services where s/he doesn't even grade submissions. Why teacher is even needed, in fact why paying for the tuition, you could get almost the same experience by just purchasing a book and studying on your own.

The online classes could be a better experience if teachers would have to actually teach.
Which tool do you use to view commit messages and revisions for each file? I think one of the reasons this is uncommon is due to lack of tooling (or wide-spread knowledge of them). I'd really like to be able to easily see all the previous commits that affected a specific line while I'm editing code. But I usually have to resort to interacting with git, rather than having something popping up on my screen (I use pycharm and vim regularly).
Ok, we've deapostrophized the title above.
In a world of imperfect information, how do you prove to a stranger that you are knowledgable, in less than a full day of interaction?

That remains the problem, and credentials/prestige remain our best way of dealing with it. In other fields you develop portfolios (e.g. github repos) perhaps that's what education will evolve to, developing a student work portfolio to prove you are knowledgable.
Banned by YouTube, gun lovers are taking their videos to Pornhub
I'm curious, can you define what you viewed as a decent salary, either as a range or percentage of market?
One thing that I like about Rust is that they actually allow you to merge those two into one. In your documentation of anything, you can include code snippets, and those code snippets become tests that can ensure that the documented behavior still applies to the current code.
I'm not super strong on theory, but if I'm not mistaken, doesn't Kolmogorov complexity (https://en.wikipedia.org/wiki/Kolmogorov_complexity) say we can't even know if it is all figured out?

The way I understand it is that one way to compress a document would be to store a computer program and, at the decompression stage, interpret the program so that running it outputs the original data.

So suppose you have a program of some size that produces the correct output, and you want to know if a smaller-sized program can also. You examine one of the possible smaller-sized programs, and you observe that it is running a long time. Is it going to halt, or is it going to produce the desired output? To answer that (generally), you have to solve the halting problem.

(This applies to lossless compression, but maybe the idea could be extended to lossy as well.)
I think it's even more difficult when you factor in kids at home. We've had to deal with that at our home which means our ability to get work done has been cut in half. It also puts a lot of burden on co-workers. The biggest issue with this has been people without kids wondering why coworkers WITH kids aren't getting as much done.
> 1) Seroprevalance of antibodies in just 5% of the population in one of the hardest hit European countries

I think this is only partly relevant. SARS-CoV-2 did not spread like a molecule in a solution. Since the spread is not uniform, seroprevalence in the individual regions is far more important, and IIRC the regional data were up to 3x the national amount in some specific regions.
Probably international students will now attend in person classes and others will be fully remote.
Weird to even think that such drastic changes are all happening during a pandemic.
This is intended to punish foreign students - either move to an unsafe university or get out and reset your visa. With a government that’s decided to block visa applications arbitrarily.

Alternatively universities have to reopen to people so that it looks like they agree with the absurd demands of the current administration to open earlier than they should.
As some have pointed out elsewhere, the idea that "they can just do the courses remotely from their home country" has some issues:

- live classes may happen in the middle of the night

- tools like GSuite are blocked in China

- internet connection quality varies

Given the amount of revenue foreign students bring in, this seems like the admin is using access to those students as a lever to force schools to reopen prematurely.
We were discussing the fed handing out money to consumers, not the US Treasury. Tax dollars (which is what I assume you meant by "the money will just return to the treasury") do not go to pay for fed operations. And the fed's balance sheet is distinct and separate from the US federal government's balance sheet. My point stands, a handout to consumers would be a 100% loss for the Fed.
A game console is also a fairly simple thing since everything is on one fully-integrated motherboard. Boiling it down to the essence it's a robotic process of inserting an already-fabricated ready to go board into a plastic case. Or two boards if you count the 110-240VAC input power supply to DC module which is in an xbox one or PS4.
There isn't an opportunity cost. It's not the feds job to perform "socially productive forms of spending", it's the elected governments job to do that. The feds job is financial stability and low inflation.
A loss for the Fed.
It's fine. But there are some unintuitive edge cases.

Like, for example, if you have tasks A, B, C, and D you can do...

A >> (B, C) >> D

but not...

(B, C) >> A >> D

you have to write...

D << A << (B, C)
Ages of Discord: A Structural-Demographic Analysis of American History
Or, put another way, you can't say one side's behavior is historically determined but not the other's.
In California we have this as well. PG&E (SF Bay Area) calls it Solar Choice, SCE (SoCal area) calls it Green Rates, and SDG&E (San Diego area) calls it EcoChoice. You can choose between 50% or 100% renewable energy and are charged a premium per kWh used.

I bet many other states in the US have this as well.
Maybe a dumb question but why don't more mech keyboards have hotswap? That seems like a great feature I don't remember ever coming across in the few times I've bought them.
If you are referring to the ambisonic recording technique to capture audio content, we generally do not recommend these methodologies. We prefer binaural microphones with removed pinnae, the Schoeps ORTF-3D, and the Blumlein technique.
The short answer is that ambisonic audio will playback better with LCC than it will over other systems, e.g., stereo.
Per usage pricing will result in misaligned incentives. It will be in the interest of the search engine provider to provide worse results, so you have to make multiple searches and some trial and errors with keywords until you get the result you were looking for.

In the end, the company notices that when they make improvements to their algorithms, their revenue goes down. So they stop making improvements.
Plumbers and electricians are a lot more useful than programmers.
> I have a feeling that automation slowed down in many sectors when China came "online".

The largest high quality AC to DC power supply manufacturers used to all be Taiwanese companies. And they manufactured in Taiwan. At some point about twenty years ago with increasing wages, benefits and cost of living in Taiwan they started looking seriously at opening factories in mainland China and other places. Delta, for instance, has a big factory in a low-wage-area of Thailand. Now instead of going for full robotic automation and continuing to make power supplies in Taiwan, most of them are made by more manual labor intensive processes in places with much lower wages.

The top ten Taiwanese x86 motherboard manufacturers also did the same.
I use my B6 for watching TV (streaming) and for gaming. I have absolutely no burn-in of any kind. Also see: https://www.rtings.com/tv/learn/real-life-oled-burn-in-test
Read another way: white people are moving into neighborhoods that black people had previously been redlined into, and are reaping all the benefits of that investment and safety instead of the former residents.
In the jargon of the field, it's neccessary but maybe not sufficient. Anyway, dopaminergic firing in the ventral palidum does code for anticipated reward and incentive salience. It's just that dopamine has nothing to do with actual pleasure or enjoyment (that'd be the lateral shell of the nucleus accumbens and glutamate firing). Dopaminergic populations are prediction and addiction.
Could I suggest reading Thomas Sowell's Intellectuals and Society, or at least, watch this short interview about his book: https://www.youtube.com/watch?v=ERj3QeGw9Ok
Can you tell us more about rejecting L7 offer at Amazon? I am trying to start a small software business but I have no experience running a business.

How did you make a decision? What skills you would recommend check for? What is a baseline or must have skills before making such decision?

Thanks.
What classes would be a joke?
"all the benefits"? That seems most doubtful indeed.
Berkshire Energy is continuing buying energy transmission networks and utilities. This fits their long term strategy.

Buy utilities, connect them together. Dominion's gas pipeline fits nicely to Berkshire Energy's pipeline coming from California.
This may not apply to you (vkou) specifically but many people don't know that 1/3 of states have deregulated electricity markets that allow customers to choose who generates their electricity. There is still a local utility company that maintains the wires and handles billing, that does not change. The choices vary on price, length of contract, amount of renewables, etc. Signing up is as simple as filling out a web form, you continue to receive your bill from the utility as usual. The only difference is the part of the bill for generation has the new company's name and rate.

See https://www.electricchoice.com/ for which states and more background info.
Because these loans will be (mostly) paid back. And both the Treasury and the Fed are lending a lot of money to people, through mortgages, at extremely low rates.
Could you elaborate the cost merit thing? It was my main question and I couldn't find anything on it. How much do they save using robots instead of people to attach some cables? Is the benefit in failure ratio or do they actually expect to save some money by designing and building robots?
Can you, or someone else, share your experience in becoming a Controls Engineer?

Is your educational background in Mechanical Engineering or Electrical Engineering?

I’ve always found programming robots to be fascinating. And especially when building a robot to build other robots. I’m sure others will be interested in learning of this as well.
> The fed does plenty of things that are outside of the scope of it's charter.

Name one.

> Further, we can just change the law, this isn't some immutable truth of central banks.

Well then go change the the law instead of saying that with the law being what it currently is the fed should instead engage in other "socially productive forms of spending".

> Even within the scope of the fed's mandate we could invent ways to invest in infrastructure instead of Walmart.

Invent them then and tell us. The fed can buy bonds, they buy bonds, they can set the interest rate, they set the interest rate. If there is a company building infrastructure that issues bonds then presumably the Fed can buy them, and I'm sure they will because the Fed is trying to flood the system with money, and for the most part indiscriminately with maybe just an eye on credit ratings.
On the other hand those licenses finance the development in the first place. MP3 by the way was done by another Fraunhofer institute.
It is a "cookie-clicker" style game, with the added twist that you have to evade detection, so need to balance risk/reward of various upgrades.
Harvard has been extremely heavily discounted for low-income families for more than 20 years.
Max brightness progress is marginal at best for the past 4-5 years.
> The CA/B Forum is the standards body that coordinates between browsers and CAs

I would quibble with the description of CA/B as a standards body. It's a standing meeting. Any CA/B documents including the Baseline Requirements manage relationships only between (potential) parties to CA/B itself, the browsers and public CAs.

The reason the meeting exists anyway is that it sucks for the public CAs if the major root programmes have conflicting rules or interpretations of those rules. The idea of the BRs is to as much as possible agree rules with everybody to avoid such conflicts.

Also I would rate Microsoft and Apple as equally significant with Google and Mozilla and it's at least tempting to add Oracle (because Java has its own root trust programme) too.

In terms of whether they'll throw their weight around we're used to seeing that from Google and Mozilla (e.g. on SHA-1 and on the Blessed Methods) but Apple proves here (on the one year certificates thing) that sleeping giants might wake up and kick over everything you're doing if it displeases them.

If Microsoft were to, for example, have refused to trust ISRG (they took a very long time to actually make any decision) I'm sure that we'd moan about it, but we can't make them, and without being trusted in millions of Windows PCs when their cross signatures expire that would the end of the story for Let's Encrypt right?
How does a community (edit: geographically defined, not the people living there at time X) receive investment while avoiding gentrification?

There seems to be a logical pattern of receiving investment -> community gets more resources/becomes better -> more people want to live there -> prices increase -> gentrification and the original residents being forced out.

What am I missing?
If you had to show id when redeeming gift cards over a certain amount, merchants could use this to track down "runners". Though I imagine that a lot of them are probably recruited in a similar way to the work from home scams.

The real problem is that merchants are not incentivized to fix the problem as they make money from it.
> How common is this nonsense?

*raises hand

I don't know if it's common, but I've had the same experience and so have many friends.
If certificates are BS, give me hosts.txt entry I can point INSTAGRAM.COM that my browser will actually honor. It should be easy.

Certificates are problematic. But that's because the world is problematic. They were much more problematic 10-15 years ago. Google and Mozilla drastically mitigated their problems. They're still imperfect, but anything that expresses web trust across the entire world is always goign to be imperfect, and the webPKI at least has some stakeholders that are both empowered and deeply give a shit about security.
Ironic, how you disparage the original comment by attacking him and his character through a comparison to reddit. Please attack the content of the comment rather than its tone. Using big words does not make your perspective more valid.
So if they call in the bonds tomorrow then Walmart will cancel dividends, etc., to pay them?

Pretending there's no limit and no deleterious effect seems wrong. If that were true then the Federal Reserve could just by boobs for all debts and every citizen would be debt free and there would be nothing wrong.

If every time a company struggles the gov step in, because instead of maintaining reserves the companies pay out profit, bonuses and dividends, then large companies will engineer in the need for gov assistance and their ability to self maintain will be lost.
For 3, they're not keeping the cards for themselves, they're selling them online.
I have a C7 and after running it maybe 4-5 hours / day average I haven't seen burn-in. If anything, not watching cable news is an improvement to our lives and when I eventually upgrade I can use it for gaming and not mind that the burn-in is happening for anything remotely serious. LG's input and panel latency with OLED is quite an exception and is one reason I paid for such a panel.
Yes — many codecs can be optimized for decoding at the expense of encoding. This is appropriate for any sort of broadcast (YouTube, television, etc).

Also, in many applications, it’s suitable to exchange time for memory / compute. You can spend an hour of compute time optimally encoding a 20-minute YouTube video, with no real downside.

Neither of these approaches are suitable for things like video conferencing, where there is a small number of receivers for each encoded stream and latency is critical. At 60fps, you have less than 17ms to encode each frame.

Interestingly, for a while, real-time encoders were going in a massively parallel direction, in which an ASIC chopped up a frame and encoded different regions in parallel. This was a useful optimization for a while, but now, common GPUs can handle encoding an entire 1080p frame (and sometimes even 4K) within that 17ms budget. Encoding the whole frame at once is way simpler from an engineering standpoint, and you can get better compression and / or fewer artifacts since the algorithm can take into account all the frame data rather than just chopped up bits.
They pay _just_ well enough and with _just_ enough benefits to keep anyone from leaving? They're capable of weathering the pandemic for N years largely unscathed? Both?
In SF's case it's probably a good mix of asian and white tbh
Was just trying it. You have to try to guess where the interstitial notes will appear...
What kinds of people are running these scams? Are they just normal Indians that think they are playing "Robin Hood" with the rich Americans? I would like to see "a day in the life of an Indian scammer"... are these scammers poor and/or desperate? Are they desensitized psychopaths? Are they mainly teenagers who think it is a game? Are they adults who are fully aware of how criminal their acts are?
Here's what I was able to dig up, hopefully someone will be able to take this and run with it:

* nothing obvious at https://www.nationalgrideso.com/news
* minutes from a 2011 meeting suggest that ESO was talking to Beacon Power at the time: https://www.nationalgrideso.com/sites/eso/files/documents/18...
* http://credenceturbine.com/business/flywheel-energy-storage-... mentions Beacon Power providing a frequency regulation flywheel in 2014 for a 20 MW plant
* "Techno-Economic Assessment of Energy Storage
Technologies for Inertia Response and Frequency
Support from Wind Farms" 2020 July 02, https://www.mdpi.com/1996-1073/13/13/3421/pdf discusses some details
New Stripe Website
> Many Asian countries as well as Europe have managed to get cases down to levels where it's entirely within reach to completely eliminate the virus

I can't speak for Asian countries, but as far as Central Europe, e.g. in Slovenia, cases are spiking again (most positives since April - the point about low deaths from GP still stands but deaths used to follow positives with a delay)... probably precipitated by tourism & economy-driven reopening of borders and relaxation of most counter-measures (opening restaurants, etc. as well as unofficial parties & gatherings).
Maybe I'm a bit uninformed but I feel that the whole certification system is quite convoluted and confusing. Couldn't there be a simpler solution of solving the simple trust problem that a user has over the authenticity of a website?
The JavaScript Console Object – Useful Methods
Ask HN: Would you be interested in a Python to WebAssembly compiler?
Hi HN!

I'm Syrus, from Wasmer (server-side WebAssembly runtime [1]). We are in the midst of prioritizing our next quarter and I thought it could be interesting to ask here if you would be interested in a Python to Wasm compiler.

We already have a prototype working, but need a bit more time to perfection it.

Here are some use cases of a Python-to-Wasm compiler:
1. Usage of python libraries in the browser easily
2. Creating universal binaries that work anywhere

How would you use a Python to Wasm compiler? I'm eager to hear your thoughts. Thanks!!

[1]: https://wasmer.io/
If you were asked to keep some of the features of notion and delete all the remaining ones, what would you choose to keep?
I ordered one of the STM32 development boards when this was first published. It's fairly straightforwards to get basic blinky demos working, but it was about at this point that I ran out of steam, and you're basically left to fend for yourself, implementing anything more complex from scratch.

It may have changed since, but rust embedded definitely isn't hobbyist friendly unless the goal is to make things work, rather than to just make things.
> That's a weird suggestion. It's undisputed that they have put millions into detention camps

No, the article talks about "tracking" Uighurs, not rounding them up. The Uighurs are 25 million and mostly live in the Xinjiang region, so there is no real need of AI to round them up. If what you want is to find them and imprison them, you can just go in any street of Kashgar: they make up 5/6 of the population.

What the linked article says is:

"The facial recognition technology, which is integrated into China’s rapidly expanding networks of surveillance cameras, looks exclusively for Uighurs based on their appearance and keeps records of their comings and goings for search and review. " (Italic mine)

> The article literally said they are looking for (tracking) Uighurs because of their ethnic appearance.

No, the article says they're tracking Uighurs through their ethnic appearance. Not "because" of it.

> That is looking for "Jewish" , not looking "mafioso-looking" in your example above

The point is whether you're looking for a visible trait because that is in and by itself the fault (and so after detecting it you immediately proceed with an arrest), or because it is somewhat predictive of something else, and it merely helps in narrowing your search.
Does the community actually receive "investment" if the investment causes the community to no longer exist? I think you're mistaking the process that happens here. Investment targets a geographic area, but that doesn't mean that it's intended to benefit the inhabitants of that area at all.
Many university libraries don't check ID at the door, and many paying students don't take advantage of 1:1 professor or TA office hours.

Yes, this sort of thing is discouraged - but my point is that anyone who wanted to learn what is being taught in CALC 405, or what-have-you can currently do so, under the table, for essentially free.
I like this user-centric vision of the web where users are customers. We’re trained so deeply that ad supported is free, when really it’s just a deferment of costs. Companies always get you by adding marketing costs into their costs. Once Neeva cleans up their data policies, I’m al in with them.
this is a 2018 article bit late hasn't stopped a number of the gun channels I watch on youtube.