skysight-inc/HackerNews huggingface dataset:
I recently found Microsoft’s P programming language https://github.com/p-org/P and I’m wondering how it fits into this space. The P README says:

“P is a language for asynchronous event-driven programming. P allows the programmer to specify the system as a collection of interacting state machines, which communicate with each other using events. P unifies modeling and programming into one activity for the programmer. Not only can a P program be compiled into executable code, but it can also be systematically tested using Model Checking. P has been used to implement and validate the USB device driver stack that ships with Microsoft Windows 8 and Windows Phone. P is currently being used extensively inside Amazon (AWS) for model checking complex distributed systems.”
Indian Matchmakers Explain Why Young Indians Still Go for Arranged Marriages
The idea is that now the virus has been suppressed (they are doing sewage analysis to confirm whether the virus has gone away), they can control new cases with well-managed quarantine of returning travellers, and outbreak management. NZ and the rest of Australia has done this successfully since about May.
Unless I'm misunderstanding you, there seems to be a logic gap in your proposal.

Let's take this objective:

>it can be switched from one host to another anytime without breaking that.

... that flexibility of any unknown host in the future then breaks the following code:

>if we could make a youtube-dl that dynamically fetched the latest working version

... and youtube-dl would download the latest version from where? What kind of "intelligence" does one put in the code to download from a future unknown http source?

One could try to be clever and embed a "intelligent algorithm" inside youtube-dl to scan the Google SERs[0] for the latest host source but that's not foolproof. Google may also later block results with the all-too-common censorship message "In response to multiple complaints we received under the US Digital Millennium Copyright Act, we have removed 6 results from this page."

Would youtubel-dl scan a well-known Twitter account or SMTP mailing list server to find the latest version? (My previous comment exploring that[0])

Storing binary blobs in popular blockchains like Bitcoin or Ethereum would be near impossible because of technical and architectural limits. (E.g. youtube-dl binary is about 1.7MB and thus miners will reject your non-standard transaction.)

I'm unaware of a foolproof way to share future versions aka future sources that can be programmed into deterministic code. Discovery will have to involve humans coordinating in some way. E.g. PirateBay moves from host to host but humans (not code) spread the new location.

[0] https://www.google.com/search?q=youtube-dl+latest+download

[1] https://news.ycombinator.com/item?id=24930317
what is it missing then? more specifically, what can't be done this way comparing to electron ,or Qt5 style GUI.

yes for corner cases Qt/Electron has their place, but I feel 95% GUI these days can be done with Browser + Backend, which is what Electron is doing basically(chromium+nodejs), I just don't want to run browser and electron in parallel, both are memory hungry, so why not just directly browser+backend(in C,golang,nodejs,or whatever)
The author says "isn't for everyone", not "is for no one".

Your point about 911 call centers is true, but the principle is just that the work schedule needs to mesh with the job role itself. E.g. restaurants have to be open for meal times, customer service needs to be around when customers are around.
I dunno. The US seems like a case study in this stuff. Large deficits every year, and even the more Conservative party is willing to pass a huge tax cut and nobody blinks an eye. The connection between income and spending appears to have been completely severed. And some people have been predicting hyperinflation for at least 40 years now.
The suv merging into the truck also is showing wanton disregard for the safety of persons or property too
>Even when using mailing lists for sending patches, the list hosting provider is subject to disrupting development in the event of a takedown.

But my inbox, and everyone's inbox that participates in it, would have a copy.

I think mailing lists solve A LOT of problems that we are having now.
I commented on this before and I will again. The popular alt schedule shared in a reply (Wed off) is great if your life's purpose is to maximize your work performance in detriment of personal time. That is, if you don't have a work-life balance already. It is not surprising then that people who try to maximize their work come with schedules that are worse for personal time.

Instead, especially in our more privileged profession, you should be pacing yourself so that you are not utterly broken by Saturday. Then you can take a full two-days off and do whatever you want, there are so many more things you can do with a two-day off in a row that you cannot do with single days, from simple organizing dinners with friends to weekend getaways.
I've been in and around the custom software dev scene for a long time (on the sales side mostly) and your example of having kickbacks seems incredibly rare and is definitely not part of 99% of projects (also on a 400k project I doubt you're paying anywhere near 50k in legal costs unless you get sued after). Much more likely is that your buddy does you the favor for free because you're friends, because he trusts you to deliver because you have a relationship, and because it's not his money anyways.

Also, what exactly is fishy with Pivotal/Accenture? I mean they're services firms which is why their multiplier is relatively low but not sure what exactly is fishy?
UK’s Covid app did not alert users to self-isolate for one month
Netflix is mentioned everywhere on the website though https://help.prodicle.com/hc/en-us/articles/115001787672-Wel...
That's not the point. It'd be a symbolic admission of defeat to anyone from the US or a Western country to have to move to Gitee.
How to run fast (WFH) meetings
Being civil has little to do with the person you disagree with, but a lot more who you are and how you were raised up.
https://www.issendai.com/psychology/sick-systems.html
Maybe "toxic workplace" is meaningfully broader than the psychopathy described in this "sick systems". But I wouldn't jump from "totally honest and transparent" to "toxic" straightaway.

Notoriously, Bridgewater aims for "totally honest and transparent" communication.. and while it's clearly not for everyone, it seems to work for them.

For everyone else, clearly "safety to make mistakes" is a required condition before communication can properly be 'totally honest and transparent'. -- Otherwise, what I think you're getting at, is that "honest and transparent" whitewashes toxic political dynamics.
US Canadian border is only closed for non essential services. There are thousands of people flying in and more driving commercial trucks
There are arguments for and against the turn signal looking like this. Its got longer periods at low brightness and its more visually complicated, vs. potentially the motion is more indicative or the fact that the light doesn't have a long "off" period means you are less likely to miss that its on.

Motorcycles have lots of arguments for and against driving with your brights on (ie both headlights, which can look like a faraway car) or loud pipes (save lives vs. cost rights).

As always the #1 safety feature is the one holding onto the handlebars.
Sure. And you can extract the audio track if you want to listen to lectures without having to play video (on your phone, say).
aware of that and yes that's an interesting project
Same with Extra Space. They send postcards that look like spam to tell you your rate went up.
not just last one, last two
Gstreamer? I've used it in the past, both professionally and personally, to generate rtsp/rtp and it worked great.
There are hundreds of links on HN about fasting. You cannot lose fat without first depleting glycogen stores. You can exercise these stores away and then in the absence of further caloric input your body turns to fat stores. Or if you fast, the absence of caloric input means your body will naturally burn its glycogen stores (takes longer if you aren’t exercising, for obvious reasons).
Why illegally? Assuming a 100% estate tax, you could likely avoid it through legal means.

I'm sure there are way more tricks for passing on your wealth and I'm sure it's much more complicated than this, but:

My first thought would to incorporate and have the corporation own all the wealth. You could hire family as employees and pay them in money and stock. Income taxes would have to be paid, but those are a lot lower than 100%. Any properties would be held by the corporation. Over time, you'd gift your shares to your children using the gift tax exemption. You'd secure contracts with your corporation for the exclusive use of your properties while you live, so even after you no longer have a controlling interest, you can't be removed from, say, your favorite mansion. These contracts would be expensive and payable on death, so when you died, your estate had to pay back the corporation. But the only thing you personally own is stock in the corporation. So the stock goes back to the corporation to pay your debts and the government gets nothing. So, rather than 100%, your effective tax rate would be some income taxes and whatever you couldn't manage to divest yourself of by the time you died.

Voila. Your children just inherited all your stuff legally.
NewPipe as a replacement for youtube's default player, at least if you're on android. And uBlock works on Firefox for android.

I recommend going with the APK version of NewPipe as the FDroid install often takes a while to catch up to breaking changes on youtube.

https://newpipe.schabi.org/
Direct link to the code: https://raw.githubusercontent.com/gaomingbo/dahua-netsdk/mas...
RTF is a much simpler format than ODT. RTF source code resembles TeX at first glance; ODT is based on XML.

Unfortunately, it's not an open standard AFAICT.
Some huge portion of the x86 power budget is just the instruction decoder. The instruction set is so nutty that trying to implement them all directly in hardware is a non-starter.

The x86 front end breaks down big instructions into smaller RISC-like micro-ops and then fuses/re-orders/optimizes/etc and runs those instead. There’s pros and cons, the con being sheer complexity and power budget, the pros are that it’s an abstraction so the microarchitecture can change completely without recompiling your code —- and you get CPU specific optimizations too. The CPU is basically emulating x86.

You could in theory build an x86 CPU with a RISC-V core behind that decoder.
For what it's worth, pubs/bars/restaurants were already closed when Melbourne's major outbreak happened. The outbreak really took hold when households intermingled in May/June and spread it to each other, then when it got into aged care homes (with staff that worked across multiple facilities) it was all over.

I think you're being too specific, pinning it on pubs, etc. It just needs people intermingling in confined spaces of any kind; homes, apartment buildings, workplaces, hospitals/care homes, churches, schools, sporting events, public transportation, and sure pubs/bars too, but any/all of these are conducive to spread.
Right, << and StringBuffer is still less efficient, at least in terms of the asymptotic number of bytes copied.

I guess what I'm saying is that if you "properly" write a template engine, there should be no advantage to ropes at all.

Rather than a tree of non-copied fragments in the language runtime (ropes), you can simply create an array of non-copied fragments in the language itself.

Following the template engine I wrote in Python and JS:

- Fragments come from two places: holes and consts. holes come from variables, and consts are figured out at template compile time (e.g. which happens when the web server starts, and shouldn't be benchmarked).

- Fragments are never copied. They are simply appended to a big array of fragments. The template engine is a recursive tree walk interpreter that always appends to an array.

This is even true for a feature like #include. Some template engines may do the "right" thing for local fragments, but the copying may sneak back in for #include. But if you care, it's easy to handle #include in a consistent way.

So if you use that "obvious" architecture, then I claim there should be no advantage to ropes. But I guess that's not what happens in practice!

(Well, seeing some sibling comments about copying being faster, at least the claim is that this architecture should be as fast or as slow as ropes! :) But yeah I think ERB is probably doing something different and even worse, which is not surprising.)
Oh, THAT'S what you mean by "crashing". I thought either the guest kernel (ie, vmlinuz or ntoskrnl) or the VM (qemu/KVM) was at fault, given that description and context. Thanks very much for the clarification.

Does sound like a graphics acceleration problem, maybe also a remoting protocol issue.

I only tend to launch VMs via qemu-system-x86_64 directly, so I'm not familiar with how virt-manager works - and crashes :). It sounds like virt-manager can crash without taking down associated VMs...? I'm also interpreting "start another instance" as referring to virt-viewer, or do you mean you're starting a new copy of virt-manager over the same/old VM?

It's really perplexing this also happens with VNC.

I wonder what would happen if you enabled the normal GTK qemu window (which for reference can of course be run in Xvnc in headless scenarios, my personal Xvnc preference being TigerVNC). I also wonder what would happen if you enabled SPICE and/or VNC with the GTK window enabled.

A better start point likely to produce more interesting/orientating info might be to run Firefox inside eg an openbox session, making absolutely sure no compositors are running (including xcompmgr etc). If you still get crashes in that type of scenario something's very broken.

I'm curious what error messages appear in the virt-manager, virt-viewer and qemu error log files when these disconnects occur.

It I were serious about fixing this my first step would be building everything from source, one component at a time, verifying the issue is still present at each step; then, if everything's still crashing, pulling out good ol' printf. Ideally something obvious emerges before you get to that point :)
> The politics behind promoting Hindi is a religious one. It makes convenient to promote the varna system(modern caste system)

You lost me there. Usual white man's burden speaking. BJP is not a "religious" party in any sense of the word. Hindi is just ridiculously popular language mostly because of Bollywood. Since most politicians tend to be 'hindi' speaking they try to make Hindi even more popular as it benefits them where as regional parties see that as threat.

Stop drinking Equality Lab's kool aid.
I suspect they fear some kind of negative consequence to ending the lockdowns tomorrow.
The "What is the “nothing at stake” problem and how can it be fixed?" proposes 2 solutions. Which one does ethereum use? The page itself is pretty long, and I can't find an answer with a quick skim.
His first and greatest success was actually the Grand Hyatt New York @ Grand Central Station in 1980.

That area of NYC had been completely derelict and run down at the time. Midtown East was NYC's red light district up until the 1950s when it moved across town to Times Square. It still is the area to this day where most of the asian brothels in the city are.

Anyway, the Grand Hyatt project completely revitalized that neighborhood.

Then Trump put his (rejected) bid in for the Javits Center project and was the project's biggest salesman to the public. His proposal for which streets to develop nearly exactly became the Hudson Yards project 30 years later...
You are right, it is just ASCII text. Probably a brain fart there, sorry. I may have said that (hex editor) out of sheer habit of using one to inspect various formats. Or I may have used a text editor, if so TextPad, IIRC, since the project was on Windows (at least dev env was). It was years ago, so not sure.
Attacking Roku sticks for fun and profit
The new narrative is that obviously you’re not permitted expect in very rare circumstances, so any tool used to aid actual fair use gets slammed with DMCA take-downs.

I’m not saying it’s right, but that’s how they’ve been trying to frame the discussion for a long time now.
> But doesn't appending to a string buffer still mean copying a lot of bytes as you build up the final string?

Look at the article and see for yourself. They do the string-builder measurement and show results. It's in figure 5.

The "GEOMETRIC" approach to string building from small fragments is slightly slightly faster than the rope approach. That's where characters are copied to a contiguous buffer, and the buffer is reallocated by doubling in size whenever it is filled.

The slowest by far is the "UNBUFFERED" [cord] version, which creates a new cord node for each append, instead of copying the characters.

"BUFFERED" [cord] is quite good. It's still a bit slower than "GEOMETRIC", but good enough.

In a nutshell, the paper shows that copying bytes when the number of bytes at a time is small is essential to all fast methods of string building.

That's because creating nodes and changing pointers is slower than copying contiguous bytes, up to some number of bytes. That number is probably larger now than it was when the paper was written due to modern memory architecture.
Because it highlights the same thing: failure of modern graphical UIs.

The programmers that prefer VIM (or Emacs) to more modern fully features graphical IDEs are basically the same as the writer who prefers an old DOS program.

It means that old software was more usable and reliable to the point that a lot of people is more productive with it than modern programs. It is a big fail of the modern way of realizing applications.
Wow, this is great!
I have read TLA blogposts before and I was always under impression that it was a whole bunch of complexity for little benefit.
This one shows a great performance on a real case which would be complex to solve in real life.
This isn't new though. If you read MLKs letter from Birmingham jail you'll see he's also super vocal against moderates.

The issue is moderate really ends up meaning status quo (with basic changes), which if it's not clear a ton of people are suffering under the status quo.

So when you're a moderate you're in a way putting your seal of approval to the status quo, which ends up being pretty harmful for those who want to decrease suffering.
>Microsoft has no way of overcoming the DMCA law themselves

...assuming the DMCA request was valid. Some commenters in earlier HN threads were arguing that it wasn't.
I use it when pentesting/bug hunting to examine the way the application works and to modify traffic in order to break stuff (either the app or the server-side API it uses).

Basically the same things you would use Burp for, except mitmproxy has two important advantages:

1. Supports a SOCKS5 mode and has much better support for intercepting non-HTTP TCP traffic.

2. Easier to extend quickly via Python scripts.
> they need you to have it to protect themselves. Arson, theft, and storm damage is very common and the last thing they want is to get hit with a bunch of costly lawsuits from people who refused to insure themselves.

Then they should be the ones paying for the insurance, because they're the ones who need it. And given the small number of people who will file a lawsuit, versus the number who will make an insurance claim, that seems likely to be cheaper.
I suspect that if I technically worked 6 hours a day it wouldn't make much difference. I already have a pretty flexible schedule and, like most people, it's not like I'm heads-down 8 hours a day. On the other hand, lop a full day off a week and, while I'd shift some work as I do when I'm traveling, I'd do fewer things.
pretty sure it's just a checkin app that can change colors etc. He uses a current sensor to detect when to blink the lights.
Mandatory two minutes hate every day
The DMCA should have no power to take down youtube-dl without a court order. The takedown section only applies to posting copyrighted material without permission, which youtube-dl was clearly not doing.

The ban on circumvention tools allows for a claim in civil court, during which a judge may restrict availability of the program.
Which is great and fine as no-one else will be writing software for that particular hardware. I believe that ARM has been allowing some extensions for their M series designs in these circumstances - partly due to pressure from RISC-V alternatives.

I should add that I think that it's possible that Nvidia/ARM combination will remove ARMs 'level playing field' and we might see Nvidia only extensions for their designs - which would not be good. We'll have to see.
The thing is managers already do this either consciously or subconsciously. So we’re just changing how they apply it.
I don't "hate" bitcoin and I'm certainly not going to down vote someone who wants to have a discussion.

For me, personally, I can't see a single transactional issue that the new "coins" solve that your 70 year old father's financial systems don't. Rather, in my opinion "coins" re-introduce problems that have been solved in banking and finance for more than a century. Transactionally, they seem like a hassle.

With respect to investing, they smell like a pyramid scheme. I think there is no coincidence that the "coin" landscape is littered with failed charlatans and corrupt exchanges. I view "coins" and "Tesla" stock as interesting day trader entertainment. As a way to test if I am smarter and faster than the system. I would never consider either as anything other than speculative entertainment and would never base a portfolio or retirement on them.

That is just my opinion though and if you think that "coins" are great then power to you.
On a tangent: I derive significant amount of guilty pleasure by slacking for a whole day mid-week. Much more than I do from a "proper" weekend.

I believe that's because as time rolls we assign minor duties to ourselves for the weekend, and that weekend becomes just another time of work filled with worry and a sense of obligation. An unplanned day off, by contrast, has no duties.

Now if only I could replicate the same sense of freedom on the regular weekend I would be the happiest man alive.