skysight-inc/HackerNews huggingface dataset:
For Instagram (millions of LOC), the analysis gives feedback to engineers in about 65 minutes on average - note that this is in the context of a diff run: We compare the results of a run on the base revision to the proposed changes, running the tool once or twice depending on whether we hit the cache. It's hard to say how long it'll take on your repository as it depends on a lot of factors, but hopefully that provides some intuition.
The employer still keeps more money, even if they're paying more in taxes. The employer may end up paying 20% of their income out in taxes, but they keep the other 80%; they're still out 100% of the money they pay to the employee, and if the under-the-table employee costs less than the over-the-table employee, they keep more money at the end of the day. Who cares if you're paying more tax if you have more cash?

And that's before we factor in that the over-the-table employee also costs SS, Medicare, unemployment insurance, overhead costs to administer all this because they clearly don't only have one employee, the list goes on.
You’re right, I confused it but my point still stands.
What I really meant to say:

Not really because unlike c-u, the c-a c-k combo deletes the whole line, while I actually wanted to delete only the part of the line up to the cursor. My workaround is ⇧⌘← followed by Backspace but that always feels a little awkward to me.
Agreed that spreadsheets aren't great for that, but totally disagree about SQL. SQL is the best cleaning and wrangling data tool out there. There's a reason the trend in the industry is towards tools like DBT. There are certainly things for which you need to use Python or R, but for 95% of tasks some combination of SQL and a spreadsheet will get you where you need to go.
It wouldn't surprise me if that is next on the chopping block.

Does Steam Link allow you to purchase games from the app?
Curiousity is killing me, what is this cursed place? I want to form my own opinion.
Government’s PACER Fees Are Too High, Federal Circuit Says
>Sounds like a win-win to me.

Yeah, I agree. The challenging is finding the relevant companies who wish to advertise and the ad 'sales' process. It's significantly more work than just plugging in an existing ad network who has a ready supply of ads, and it requires a slightly different skillset that's not necessarily a core competency. I'm going through the process right now of reaching out to relevant companies with an aligned privacy focused and it is a mixed bag of results.

Having said that, I think it is worth it in the long term because it makes you less reliant on other companies, but it is a tremendous amount of work upfront.
The effort required to maintain a single non-changing binary, while nonzero, is far, faaar less, than the ongoing effort required to maintain user facing tools with regulatory compliance issues.
I'm interested in HN commenters' thoughts on contentious issues.
Human rights are rights that every human is entitled to simply through being alive, as opposed to civil rights, which are conferred on those who are members of a society (hence voting in America was a civil rights issue).

The better take here would be to simply call it a ‘right,’ as the actual report does, which colloquially for us generally refers to civil rights.
Everything has opened back up in my city but it's been four months since the first lockdown and now my behavior has changed. I no longer want those old experiences again, at least not as frequently.

I think everyone is underestimating the behavioral changes two months of lockdown can bring about. 60 days is exactly the number of days you need to cement a habit. We've had more than that.

If even 10% of the people end up changing their behavioral patterns, businesses that depend on these customers have 10% lower business. That's huge, especially when you borrowed debt expect +10% growth, not -10%
What do you think it would take to make such systems suitable for deployment? Do you have to give up the productivity?
I really don't see the hypocrisy in this one. Bypassing the App Store not via Safari will get you kicked off the platform no matter the technical means you use to accomplish it.
Show HN: Oneflow Framework Implementation of Playing Flappy Bird with DQN
Hi codethief! Sorry I'm hijacking your reply. I can't seem to reach you out from your bio. About 3 months ago I posted that I'm working on a pomodoro timer app with analytics—Session. You replied and wanted to know when I released it.

Just added Show HN on https://news.ycombinator.com/item?id=24085041. The product is on https://www.stayinsession.com

Cheers!
Game streaming is video.
Have I Been Pwned to go open source
For me it's learning but mostly technical learning. This isn't the same for everyone though. It took me a long time to stumble onto this.

Think about finding what motivates you like you think about finding the right diet: experiment and iterate.
Yeah, but like 0.1% of their user base really cares about that particular freedom, while the rest would end up installing Chrome because Google put ad-banners for it at the top of all the Mobile Safari search results, then be pissed off that their iPhone is suddenly working worse "for no reason". Un-American, I dunno, maybe, but specifically the freedom of being able to run a different browser engine on iOS does seem like one of those freedoms that would just make life worse for most people for minimal benefit. To boot, the main beneficiary would be a competitor, at the expense of not just Apple but everyone on the platform. It's not even like the main effect would be an improved consumer experience.
Totally that this is manufactured and a lot of people see problems only as something that’s related to winning an election. Still a sad state of affairs.
On Stadia (not sure about xCloud), the games are not run locally on the user's device. The Stadia app just captures controller input, sends it to Google's servers and returns a video stream of the gameplay (either VP9, h264, or AV1).
Why Food Could Be the Best Medicine of All (2019)
That's super helpful. I'm currently at Eventbrite, and we're probably in the same order of magnitude.
> I've noticed in this thread that you're making low-effort, kind of rude posts about an important project

I'm sorry if it came across like that. I didn't put this comment there to upset you or anyone, but this happens. I was referring to what appeared to be a design choices in how some projects present themselves to the world, not as a judgement around how important they are. I watched the whole video (with some skipping) for this post. My point was many people might not given the design choices made in how it was presented. I guess "important" projects don't even need to be popular or accessible to do what they need or want to do, and I was simply musing. e.g. You have an explanation for why OpenBSD presents itself they way it does because you are convinced of its value, so you see something different when you look at the homepage vs how ... nearly all? ... other people might see it. My point was is looks like it was designed by engineers with more important matters to think about, but that's some encoding not available to everyone. (And maybe that's okay, hence a small moat around the project.)
Yes, it is the same logic. The games are streamed, not executed on the phone. For all intents and purposes, you are getting an interactive video.
> production state + pending changes = goal state

That's exactly what Django is doing, btw.

> I did a talk at PostgresOpen a while back about the problems with Django-style migrations

Good talk generally, and a lot of stuff I agree with.

If the migrations sit out for a year in the code base, it's not a big deal though. It looks like a big deal, but in practice, it's not. Migrations can be reset back to zero if you want in Django.

But when you're trying to develop in parallel developer environments, the Django migration DAG alerts you when you have two leafs that haven't been merged.

And if you ever had to roll back a failed prod deploy, Django supports a backwards migration too.

I get what your saying, but in practice the benefit of using Django where the "code is the configuration" is better than trying to keep code and configuration separate and trying to match them up later.
What’s the use benefit of this over Firecracker & Ignite (https://github.com/weaveworks/ignite)?
Does the iOS version of Steam Link not allow you to stream remotely like the Android and desktop versions?
One of the trump administration’s goals is to isolate America and weaken its stature among its allies. Whether or not this particular action is a result of that is unclear.
mRNA would be a nice capability to have, if it doesn't kill people or cause excessive side effects.

It looks like the side effects from mRNA vaccines are bigger than a typical vaccination. It's starting to look like mRNA vaccines may not be the vaccine you'd want in the long term based on this alone. The question is, do they create high severity side effects that preclude using them in the short term? We're about to learn...

There's a lot of other efforts; adenovirus vectors, attenuated efforts, non-replicating virus efforts. Of course, the adenovirus vectors are of concern because if immunity wears off, you can't necessarily give someone a booster a couple years later.
Major antitrust ruling clears the way for movie studios to own theaters
>Android phone you can install LineageOS on

What would be good candidate phone for that? Is there a phone that is friendly towards hackers in that way?
You are avoiding the actual question.

Furthermore what you keep repeating is not true. You're retconning history and economics based on your own knowledge and absolutely ignoring books and written history.
Continental Drift or something similar had been theorized for hundreds of years, but most famously scientifically proposed by Alfred Wegener in the early 20th century. In a famous survey of Fellows of the Geological Society, in 1961 only 22% accepted it, but by 1978 87% did. Consider that --- in 1978 13% of the most accomplished geologists still rejected it.
i don't think the game store is using any kind of private apis, so in that regard it's really the same as any other application.

"risk the ire of tons of dependent users":
This argument doesn't hold: the reason an OS is successful isn't for the OS, but for the apps. So, unless you think apple should actually write all the successful apps themselves, to remain in control and easily make deep technical migrations feasible, i really don't see how that could work.
Of course it does Apple. Thats the point.
But if it's not about the content, why are we here then talking about how Apple needs to validate the games sold inside a game streaming app to be App Store policy compliant. Youtube isn't necessarily too far off from game streaming, technically speaking. Both transfer video content over the internet. And the game streaming app doens't install anything, not even the games, to your device, as that's the whole point. I'll also add that why can I watch the game on YouTube when some youtuber plays it, but I cannot purchase & play it remotely through this one app?

And do note that you can purhcase movies from Youtube app.
Streamed games are just video in one direction and inputs in the other direction. No dynamic code, as far as I know.
Personal anecdote, I was able to improve my eyesight by getting a 70 inch TV as a monitor and placing it 6 feet away.

I was about -5 and moved to -4.75
Jolla are selling sailfish for 50 euros and the official support is limited to Sony xperia phones. Personally, i have never paid for my cellphone OS and neither have the vast majority of people out there.

When the instructions involve a bunch of convoluted commands and the terminal, Sailfish doesn't stand a chance. Like, their chances of growing in popularity are literally zero with this model.
I love this. Yes, there are higher level languages that can be used for accomplishing these things, but people find themselves at the command line a lot, and having the ability to efficiently express your intent using a familiar language, without getting hand-cuffed by a poor underlying representation seems very useful.
Galaxy Wolf Wallpapers
Michelson-Morley categorically refuted and falsified the aether hypothesis. DNA was confirmation of and predicted by the inheritence component of natural selection. Relativity invalidated fixed- and universal-frames-of-reference models of mechanics.

New models imply falsification or rejection of prior models.

Semiconductors were more an emergent materials-properties discovery, though with analogues in earlier systems (diodes, vacuum tubes, physical gates and valves, etc.). Not so much a model as a discovered behaviour.
> I find it hilarious that they put a dark mode toggle in the corner (why would I want this on a per-website basis?)

They detect your OS preference and display their light/dark style automatically based on that [1]. The toggle is just there if you wanna switch it manually. My Mac is in dark mode but I usually prefer reading docs in light mode, so that toggle is handy.

Agree that it should update the background of the examples tho. Probably just a bug or something they didn't think about.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
It's the best way to find current information for emerging news when you need it ASAP. EX. lineup/injury news for daily fantasy sports prior to lock.

Can also be pretty handy when you're at a convention/event.
This is a neat project. I printed some switches out when I saw his post on Twitter I believe. It dovetailed into work that I've been doing to figure out replacement switches, buttons, and sliders using DIY 3D techniques vs sourcing through NKK or what not. Primarily for cost since any custom switch design is like $25K for the first 100.

As others have pointed out, these keys feel "mushy". And I agree with that. It comes down to the spring constant of printed springs. It is really really hard to make it consistent from print to print. Fortunately springs are actually super cheap and you can make those yourself pretty easily too if you want. So if you back off the "everything has to be printed" mantra just a bit. You can make a more consistent feeling switch. (and less deep which has some benefit on front panel stuff)
> there is also value in convincing employees that they are benefiting society as welll: They work harder and above requirements without you having to pay them more, and they'll defend and advocate for their employer on social media for free. ;)

Convincing one's employees of a particular perspective or belief has been a basic tactic of large corporations for decades. Tech culture disrupted this for a little bit, though.
To be fair, I think both sides are at fault in this specific instance (e.g. XCloud streaming) with some seismic broader impacts.

Microsoft is at fault for not realizing that the existing App Store policies did not include game streaming and working with Apple to resolve it from the beginning. XCloud was first announced 2 years ago so to wait until the eve of launch to realize this is a blocker is laughable. Then to try to publicly escalate this is just playing with fire. Seems eerily similar to Nvidia's GeForce Now fiasco of not having properly having agreements with game studios before the launch.

Apple is at fault for being behind times and being draconian about App Store policies. It's 2020 and streaming is the new norm, so to claim that it's against policy is a bit anachronistic. App Store is no longer some niche platform so this only strengths the antitrust case against Apple. If this is about micro transactions and getting the 30% cut, then it's a short-sighted move since if anything game streaming will drive adoption of iOS devices (e.g. iPad is almost the perfect streaming display).
I can't speak to the implementation details but there must be a middle ground where you can set compatibility using 'set -N' or some similar approach to enable new behavior.

Scripting languages like Python, Ruby, Perl, etc., have dealt with upgrade many times. It has not always been pretty, but the alternative is stagnation.
This is a good question. Maybe consumer demand? Perhaps consumers will move away from iphone because of this gaming platform?
According to their guidelines, yes. Not that there's any way to really verify this on Apple's end but apps like this are allowed so long as they're used to connect to your own hardware.
Carbon is formed in small amounts by normal stellar fusion, and since it is a catalytic process the carbon is conserved. So even an early star would probably have some fusion happening via the CNO cycle.
I think they're arguing that on modern iOS and android the application sandboxing and permissions make a lot of the data collection described improbable/impossible.
The S-Process creates elements with atomic numbers higher than Iron, and it does not rely on supernovas or neutron star dissolution.

https://en.wikipedia.org/wiki/S-process
Not surprised. Apple will do worse things 6 months from now. And I hate saying that I suspect their customers will just take it. They were ok with a “computer” that has everything glued on. Monopolistic Apps restrictions is nothing compared to that.
> Yeah, the way depency injection and multiple JS frameworks are shoved down your throat in .NET Core is sooo annoying

I've been using dotnet core for years and precisely zero times I have had any JS framework shoved down my throat.
As a former iOS developer and a user, I'm torn. AppStore's rules are frustrating and unevenly applied, and it sucks that AppStore is the only way to distribute apps. On the other hand, as a user I don't want 20 goddamn app stores on my device. Want Portal 2? Go download Steam! Want Fortnight? Go download Epic store! Minecraft? Windows store! It's horrible.
On Stadia, games are rendered/run on Google servers. Nothing is running on the user's device. From the device's perspective, Stadia is just an app to capture gamepad input, send it to Google servers and play the video response (AV1, VP9 or h264).
What makes streaming games different than streaming videos or audio?
I don't see why this is controversial. Apple is a PRIVATE company and so they can do whatever they want. As a loyal Apple customer, I'm glad that they are doing everything they can to make sure iOS is a consistent experience! People keep on saying that this is an overstep, or worse, that this is just transparent greed. But that is wrong, Apple is merely defending the walled garden they have created. Think of all the value Apple has added to each of our lives. It is only fair that they should get a fair return on that environment that enables us iOS developers to make a meager living.
Python 2 and 3 or 3 only? I looked for this on the linked site, and it wasn't immediately obvious.
It’s a streamed game. It’s just a video and not being executed locally.
HN's general consensus on any political issue is that, regardless of context, the left is the true evil.
The engineering effort required to split up a mammoth code base where everything has been written based on those assumptions about the rest of the codebase is making such a split extremely unlikely to succeed. We're not talking about a few millions lines of code, we're talking about billions[1] of lines of code. It would take more than a decade of having thousands of engineers work only on this and not do anything else (like, you know, actually develop features to keep being competitive). I don't see how it would work.

What I could see working tho would be to focus on exporting some of the very core internal libraries[2] and then go on a project by project basis and do the work required to be made to work externally. The latter would be a never ending effort but the end result would be a number of averagely successful projects that spin off Google.

[1] https://www.wired.com/2015/09/google-2-billion-lines-codeand... 2 billion lines of code in 2015, I'd imagine there are at least 3 by now, considering the increase in employee count.

[2] https://opensource.google/projects/abseil
I’m working on this exact issue. You can view all fusion energy companies here and filter by location.
https://www.fusionenergybase.com/organizations/
You can view each of their funding histories on the company detail page, just click on the company name.
One could say your data is your property, so you could say it's not a human right, but a property or legal right.
I agree that it "should", but I've definitely had it not work. It may actually be a problem with the state of my local terminal under macOS. I've had to resort to "kill -9"ing my ssh from another window in some situations.
It IS the same logic because these are game STREAMING services. You send gamepad inputs and it sends video back. There's no security risk, the code running on the local device never changes.
I have a Twitter account. I think I've logged into it on average about once every year for all of 5 minutes. It's actually surprising to me how much engagement I have on Twitter, I guess people find me organically because I gave a talk at a conference or something. I usually have quite a few mentions from months before when I check it.

Nonetheless, I thought Twitter was doomed to create terrible outcomes from the moment it was born. You cannot share any new, meaningful, and serious thought in 140 characters. Every single one of my experiences and attempts to use it afterwards just confirmed my initial belief. I would much rather interact with people on IRC, via mailing lists, or on HN than do so via Twitter. Twitter is a cesspool.
If that's the case then I think you should take your Mac out of dark mode. If we have to put it in every app and webpage in a non-standard way, then that suggests that dark mode itself is broken.

That it doesn't change the example on the web page seems like a giant oversight, or a rendering error on Safari.
I was massively surprised a few years ago how efficient Linux thread context switching could be.

I designed and implemented a dynamic scheduler for a streaming dataflow language a few years ago [1]. We wanted a runtime system which could have hundreds of OS-level threads execute thousands of dataflow operators that communicate in a dataflow manner. Threads should not be statically assigned portions of the dataflow graph so that we could elastically add or remove OS-level threads based on observed performance.

We compared that scheduler to some other options, including just giving every operator in the graph its own dedicated thread. One test application was a simple 1,000 operator pipeline. We used two machines, one with 176 cores, the other 184 cores. To my surprise, with the pipeline application, the dedicated thread model beat my fancy scheduler in raw performance by up to a factor of 2. Keep in mind that that's 1,000 threads, all doing work, on machines with only 176 and 184 cores.

Of course, you would not want to do this in practice, even though the raw performance was so high: the machine was so massively oversubscribed during such experiments that it could barely keep up with a simple interactive shell.

But, my intuition had been wrong: I had thought that surely having 10x the number of threads as cores would mean the overall performance would crawl because of context switching time. It did not. See section 5.1 of my paper below for the experiment.

[1] Low-Synchronization, Mostly Lock-Free, Elastic Scheduling for Streaming Runtimes, PLDI 2017, https://www.scott-a-s.com/files/pldi2017_lf_elastic_scheduli...
This is very interesting! I’m not well versed in runc and friends but I was just exploring runsc[0] and gvisor.

Is there any overlap here even though your project seems to go the path of adding more functionality? Is it fair to think of NestyBox as a type of sandbox?

https://pkg.go.dev/github.com/google/gvisor/runsc?tab=overvi...