skysight-inc/HackerNews huggingface dataset:
> Async Clipboard API

> The implementation is available through the navigator.clipboard API which must be called within user gesture event handlers like pointerdown or pointerup, and only works for content served in a secure context (e.g. https://). Instead of a permissions-based model for reading from the clipboard, a native UI is displayed when the page calls into the clipboard API; the clipboard can only be accessed if the user then explicitly interacts with the platform UI.

that looks pretty cool... do other browsers implementation also work like ↑ that?
There's no money to be made in the app store, for the most part. OTOH, there's plenty to be made in monthly service revenue (and 30% of it isn't taken by apple in most cases).
It should also be emphasized how game changing proper packing is in itself. Historically Windows scripts, installers, applications, etc could liberally spray the filesystem and registry with their content. Cleaning this up was rarely easy as it relies on each script (or uninstaller, etc) to do the job right.

Proper packing gives more control to the user in this regard. Changes to the filesystem or registry will (by default) be contained. It's worthwhile to make this type of packaging easier and better integrated.
I'm just saying that currently it's not trivial to compile a kotlin/jvm project to native. Once you start using dependencies things start to get really hairy. It's not as easy as `go build`.

I myself am hoping that either kotlin or Scala can finish their native compilers or Graal can make compiling jvm bytecode trivial.
I got a phone call after posting this today that makes me think you might be able to find a VC in SV willing to pay for that.
Let's say a reporter asks me whether I think that the National Guard should be used to keep people in their houses. I reply "Yes, but only as a last resort." A, um, creative reporter may just cut after the "yes". But if I said "I think that, as a last resort, they might be used", it's a lot harder to play that game with my answer.

Worse is if the reporter next asks if I think the federal government should now declare martial law, and then pastes my "yes" from the previous question as the answer to that question. This takes an even more unethical reporter than the first scenario... but such reporters exist.

This kind of stunt can be done to you either by political or by business reporters.
Getting paid $300k / year to work on CRUD apps seems pretty nice to me.
There's really no way for them to do it anyway, the rules of kosher are far too complex for them to implement.

But do not worry, there are Jewish organizations helping those who need it.
Skype had 500 employees in 2010 a year before they were acquired. 700 doesn't seem clearly out of proportion.
It turns out you can make more money repeatedly selling $0.99 token packs for simple dot puzzle game powerups than one-time $1.99 or even $2.99 whole-app purchases. There are also more people who play silly puzzle games in waiting rooms around the world than people who play guitar.

There is still tons of innovation in the App Store. It’s just on Skinner Box mechanics now.
Why pray tell would Apple want to “stifle” competition for FaceTime? It’s not like Apple makes money from it.

And then they are stifling competition for their app - by “forcing” you to create an app that integrates with dialer and your call history?

Maybe your startup was “impacted” by not having the expertise or funding to create a native app like at least a dozen companies have done?
it does, yes
You're close, it's Lisphp, the Lisp built on top of PHP.
A ridiculously improbable thought here: What if, in some regime, interest, rent etc. accrued only on "business days", and business days could be cancelled in a crisis?? Jigger the time metric????
Google has maybe 5 products that matter.
That's a 2000-line file. What part of it are you referring to?
Oh it would! It would uncover all of the crimes and coverups of the democratic party. I would LOVE it if journalists acted like, you know, real journalists instead of tabloid political hacks.
> Back in January of 2016, he had bought around $10K or $15K of Bitcoin and put the keys in an encrypted zip file.

Based on the price of Bitcoin back then, it seems like this was about 30-40 Bitcoin?
Nothing suspicious.

Zoom is in the news lately, so there are more researchers and others looking at their security practices.

Bloggers know that they'll get clicks by writing about Zoom.

China is just thrown in since they're the Boogieman in the US these days.
> There is a lot of research into concise data structures for a very specific set of operations for DNA processing

See: https://alexbowe.com/fm-index/

Impl: https://github.com/shibukawa/fm-index.jsx

More: https://news.ycombinator.com/item?id=22544718
I am surprised that they don't even mention http://enet.bespin.org/ which has been used to provide reliable transmission over UDP in plenty of high-profile video game releases.

Someone reinventing the wheel but not doing enough research to find the state of the art seems a bit odd, or amateurish.

Or that might be a strategy decision, because I believe their paid SpatialOS stuff competes with free enet-based plugins (e.g. Mirror) on the Unity asset store.
Did you find anything more current, yet?
They do though, frameworks are just an amalgamations of patterns and practices codified. If you go Vanilla JS you are going to build abstractions on top of it to make your patterns and practices reusable and structured. Given enough time you are going to build a framework that enforces your patterns and practices. So why not just adopt proven ones out of the gate. But verify that they are indeed proven ones before just jumping on a bandwagon.

An example I would highlight is, Redux it's great and it has helped a lot of developers that don't know state patterns learn to deal with state, but it only taught them half of what they need to know. The other part of state is not allowing applications to fall into an inconstant state that it should not be in. Redux intentionally ducked this one because state management is a complex task and building a state machine makes the cognitive overhead much more complex but that is what developers following correct patterns should be doing, they should be using a state machine and it is the reason I use XState in my projects over using Redux as it is a full state management solution, that gives me a guarantee that my state is both preserved and consistent.

https://timdeschryver.dev/blog/my-love-letter-to-xstate-and-...
PRNG Battle Royale: 47 PRNGs × 9 consoles
We're gathering a similar list of Who's Hiring with some more detail on location / roles here: https://www.levels.fyi/still-hiring/

Hope it helps!
> I don't know where you're hearing this.

I've seen this sentiment on Twitter. What happens is that, as with any concept that gets put through that digital meat-grinder, it gets simplified beyond all meaning. In this case people read it as "Republicans are suggesting we should sacrifice vulnerable lives to the economy". And when they see "the economy", they read it as "the rich". "The rich think we should sacrifice our lives for their pocketbooks" is obviously an inflammatory idea, and therefore it spreads. Small businesses never enter the conversation.
Trump administration to pay hospitals to treat uninsured COVID-19 patients
if you have an OS, yes
What if you need to run an old version of the application?
The graphics (GRFs) are configurable! If you're using the original TTD GRFs it will look tiny and pixelated, but you can get large smooth modern-looking graphics too. Search for a "32bpp" GRF set :)

https://wiki.openttd.org/Playing_with_32_bpp_graphics
BentoML: An open-source platform for ML model serving
A brand new utensil is assumed to be kosher, since it's unlikely a factory is going to have food in it that would contact the utensils.

Also, a utensil is koshered by the same heat-level that made it non-kosher. So if used on a fire, it's koshered on a fire. If used only in hot water, then it's koshered in hot water.

It can get more complicated: Some things (like plastic, or wood) can never be koshered (except by removing a layer from the surface, for example by sanding) because they absorb too easily.

Red hot heat can kosher anything, but those substances can not withstand the necessary temperature.

Glass is interesting as it's considered impervious, and some hold that simply washing it is enough because nothing absorbs into glass.
> Traditionally, a radix tree is used...

Here's an excellent write-up on radix-trees usage by the Linux kernel for IP routing: https://vincent.bernat.ch/en/blog/2017-ipv4-route-lookup-lin...

Also see: https://news.ycombinator.com/item?id=22467251
Being tone-deaf would imply they're unable to understand other people's issues. Facebook actively seeks to track all of us for their financial gain, against the wishes of many of us.

Facebook is actively malicious.
>As long as operational cash flow is positive, then no amount of leverage or debt distress will halt the continued operations. The business might "fail" in the sense that the entity is legally re-structured and the equity owners, or even junior debt owners, are zeroed. But there's no reason in a country with well-developed bankruptcy law for this to have any impact on the employees, customers or operations of the business.

You're naively assuming the equity owners meekly turnover the operations to the debtholders in bankruptcy when business performance suffers but cash flow is positive.

Equity holders are going to inflict a ton of pain on the employees and customers of the company first. They are going to layoff employees to the bare bones, sell otherwise performant assets, play games with vendors/receivables, and otherwise do anything else they can do to squeeze more runway before giving things up in bankruptcy.
Only humans were not ready for da virus...
My Day with Edward Tufte
This Zoom (who apparently has some large security issues)? https://citizenlab.ca/2020/04/move-fast-roll-your-own-crypto...
So as best I understand it, this has 1 niche advantage over typical exe/msi/uwp. It makes it more straightforward to create a generic application, which could then easily be "branded" by customers and then resold as their own app. So in essence you become an oem app developer, and then affiliates make apps based on your product. So instead of distributing a raw api, you can distribute an app in a box. And then it also allows the affiliate app to identify as your own for api calls, but I'm not sure when that is actually useful.

I'm scratching my head trying to come up with a use case that doesn't feel so contrived, can anyone think of one?
> Historically Windows scripts, installers, applications, etc could liberally spray the filesystem and registry with their content.

They could do this, but suggested standards have always existed, e.g. system-wide files in a sub-directory of $PROGRAM_FILES, user-specific data in $APPLICATION_DATA and the like. Then, in principle, a general uninstalling procedure can figure out what it needs to delete. It's not clear what all the extra complexity in these newer standards is adding.
I've removed my original reply as it was posted out of a place of incredulous anger.
Because people admire their courage in being so transparent about failing publicly. That's undoubtedly helped in building their audience over the last decade not because they want to see SpaceX fail, far from it but because it reminds us that they too are only human and failing is normal no matter how much others try to hide or gloss over their failures.
”Insurance-premium holidays“. You’ve got to be kidding, right? Shortly after that you can expect the insurance companies to institute a “claim paying holiday”.

The payment holiday concept is such a poor solution and mainly seems be proposed by people aiming to ‘punish’ those that they perceive as having more than themselves (landlords, banks, etc.) or by ultra liberal governments trying to appease their constituents. I don’t think you really fathom how much damage this would cause in practice. Our whole economy only works if people/companies meet their obligations.

The much, much simpler solution is bottom-up vs some never ending crazy patchwork of bailouts and payment forgiveness. Give the people money via direct payments and generous unemployment so they can meet their obligations.
You don't need an OS to do more advanced or efficient sleeping. You could have one of the timer peripherals generate an interrupt on a regular basis, and then put the chip in a lower power sleep mode in between interrupts.
You may not care about the businesses, but do you care about the people who work for them? Do you care about what they produce?

How is the economy going to continue to work when a huge fraction of the workforce is unemployed and a large chunk of production has stopped?
This is really slick! I like how bare-bones yet extremely functional it seems to be—I wish more of the UIs I use regularly were like this.
Maybe so.

But doesn't HN scan for concerted behavior?
And by Jewish halacha (law) you also need a watchman in the kitchen (mashgiach) making sure the rules are followed.

There is no realistic way NY can do this, and Jews are not expecting it. But there are Jewish organizations who are helping those who need it.
Nearly every microcontroller has at least one free-running timer that can be used to either reset or wake the processor, if you care about power.
I just installed synapse with Riot, and I have to say it's the exact contrary. Some of the steps are not documented, I had to read the code to understand what to do.

XMPP with Prosody on the other hand is one of the easiest servers I've ever had to install
I think people sometimes don't consider how small a shift in supply and demand in a labor market can change things. A couple percent of the industry's workforce laid off, and even 5-10% fewer open positions (I suspect it's much worse than that), and suddenly a hot job market looks a hell of a lot cooler.
It's funny how extreme the reactions are here. It's either the end of the world or exactly as planned. Both are nonsense.

To me, this looks like it was definitely a noteworthy fuckup, but in the big picture it doesn't seem to be a major setback -- nothing like the recent Boeing issues. That is, as long as a pattern of such events doesn't develop. SpaceX continues to push the industry forward in interesting and exciting ways.

To continue the arm-chair quarterbacking... I feel like a moderate decrease in process aversion would be a good response to this incident. Reduce the chance of similar future fuckups without slowing down too much.
Absolutely. With frontend logic powered by C#/.NET courtesy of Blazor.
> If you’ve got interesting technical analysis...

FYI, not sure if english is your first language or not but this should be "If you have interesting technical analysis..."
The other approach to delay's (keep in mind, that there is no other process to yield the CPU too) is to use a timer (a peripheral of the micro controller).

This would take a fair bit more code to configure the timer, and setup an interrupt to handle the timer.
True, as personally witnessed.
I don't actually think it costs hundreds of man years to find these bugs at the moment.
While you wait for his response:

https://www.newyorker.com/news/letter-from-silicon-valley/th...
Your point does not stand on its own.

No, but it will when the next generation of Nazi, Stalinist, and Maoist regimes arise and gain access to the data in question because we weren't fanatical enough about E2E privacy today.

And just as Niemoeller's verse warns, by then it will be too late.
Do you know of the legality of running an online side business while on an H1b? Has there been any change in that law?

Do you know if the S386 measure has made any progress? Alternatively, after the covid situation, do you see the waiting time for indian/chinese EB2 applicants go up/down?
“Free as in Freedom”, the new major Jami release (2019)
Was the computer stolen or did he actually forget the password?
Sure, have any opinion you want as long as you base it on facts, and respect others who don't agree with you.
GNU Guix Wants to Replace the Linux-Libre Kernel with the Hurd Micro-Kernel
There really is no excuse for the lack of "real" software on the iPad (using "real" as in desktop quality). Only a small amount can be blamed on the system itself, appealing to a very niche audience (like XCode).

Arbitrary Javascript code written on the iPad can run, as evidenced by Play.js. Arbitrary Python code written on the iPad can run as evidenced by Pythonista. Arbitrary Swift code can run as evidenced by Swift Playgrounds. There's a Github app, there's a file explorer app, you can connect USB drives and keyboard and as of very recently, a mouse.

So where is VS Code for the iPad? Where is desktop-class software for the iPad? Why is this [1] article from 8 years ago still the best-in-class way to write code on an iPad? Is there still some kind of missing support I'm not seeing?

[1] https://yieldthought.com/post/12239282034/swapped-my-macbook...
Copy it out.
Maybe it's the push we need.

Workers should own the means of production.
Reminds me of King Vidor's The Crowd https://en.wikipedia.org/wiki/The_Crowd_(1928_film)

(I guess that could kinda be a spoiler for an almost 100 year old film?)
Seeking a software engineering/machine learning role
Location: No preference, willing to relocate anywhere in the US
Technologies: Java, Python, Machine learning, NLP, AWS
Email: kartikchhapia@gmail.com

Hi, I'm Kartik and I work as a software engineer at Amazon. Previously, i have done a Masters in CS from a top university on the US and focused on machine learning, natural language processing and AI. Also have a bunch of internships in AI. Please reach out to me if you are hiring.
Covid-19: The problem is New York: plotting the top states
You can see how important Onavo was to Facebook by the lengths they were willing to go to protect it, including the whole "distributing it to teens via enterprise cert" thing Apple slapped them down for. The data from Onavo is how they knew what up-and-coming competitors were popular, and allowed Facebook to buy them out before they could become fully established.
Zoom web interface has been down for hours
By random chance I installed OpenTTD a few days ago out of quarantine boredom so I am thrilled to see a HN post about it.

I was building up a local rail and road transportation network then on a whim I built a few airports and setup some plane routes between them. The revenue from planes started outpacing my existing ground networks quickly. I then built two large airports on opposite ends of the map and purchased a large jet to fly between them. Before long I had more money than I knew what to do with. A long distance air route between two large cities with a fast, high capacity jet just prints money.

So I'm wondering, how do I get some more challenge out of this game? What are some more fun things I can do? At this point I am making money faster than I can spend it.
Ask HN: What do those of you who don’t work in tech do?
"Zoom, a Silicon Valley-based company, appears to own three companies in China through which at least 700 employees are paid to develop Zoom’s software. This arrangement is ostensibly an effort at labor arbitrage: Zoom can avoid paying US wages while selling to US customers, thus increasing their profit margin. However, this arrangement may make Zoom responsive to pressure from Chinese authorities."

I'm not here to defend zoom but any and all companies that can do this have and are doing the very same thing to minimize costs. It's not great but it's the expected way of managing a software company in 2020. It would be hard to do business otherwise.

Whether it's good or bad that's a question that will need to be reexamined given the current situation.
The app being able to snap the screen is different than the user.
That's why we should be conducting random tests on samplings of the populations. This would be a statistics problem.
Thanks. I wasn't aware of showTree.

Most R users don't realize everything in R can be written as a function, due to its Scheme roots. Example:

if (3 > 2) { print("hello") }

can be rewritten with backticks on the if:

`if`(3 > 2, print("hello"))

If the first argument is false, you need a third argument

`if`(3 < 2, print("hello"), print("go away"))

Essentially, the backticks replace some parens you'd use in Scheme, and then you can add some alternative syntactic sugar to write in Algol style.
Except it appears Zoom has disabled their web client for now?
I totally buy that for some applications, the cost of generating a 4096bit key is prohibitively expensive.

But that argument shouldn't be applied for all use cases, such as personal key management, or keys that are used for days/weeks/months at a time.
I really don't understand how people try to defend Elon Musk and team on anything and everything they do. It's nice they are pushing the edge, but please, when things fail, let's acknowledge failure and shortcomings and learn from them rather than try to spin everything SpaceX or Tesla does as faultless and forward.
Coronavirus: Google Releases Location Data
Best articles: wellness, weight loss, health
But Google probably doesn't want to rub that fact in China's face and risk a more aggressive crackdown.
This thread is an excellent illustration of why you don't want your encryption implemented by merely good coders. You need people who know what they are doing.
Native American English speaker. "If you've got" like this is perfectly idiomatic.
Applications did not reach quota as in: not enough applications to saturate quota, or not enough approvals to meet quota?
Bill Withers, Hall of Fame Soul Singer, Dead at 81
Haven't read the article but like what you say, I tried to get a book from waterstones, a UK bookshop on my high street. I don't mind paying 20% or 25% extra as I don't like amazon and I do want to support local bookshops but when they cost that much more and they don't have it in stock and can't tell me when they will get it in, I say screw you and go with amazon.
Anick Jesdanun, longtime AP technology writer, dies at 51
Code is easy to change. Data schemata much less so, particularly in traditional SQL databases.
Exactly. I don’t consider it unequivocally evil, but it’s still propaganda.