skysight-inc/HackerNews huggingface dataset:
Someone should come up with a lending service where they lend you money and you never have to pay back. Instead they make a profit by collecting funding from investors. I think such a service would be very popular.
Last release of Python 2: 2.7.18
It's not an either or situation where one size will fit all is it?

If you live in an area that's a hotspot then you need to have tighter restrictions than if not. If you know you're in an at-risk group then you need to have tighter restrictions.

Our restrictions and daily routines are naturally going to have to shift about as the virus ebbs and flows. Which is why a good local testing and contact tracing regime is essential to end the most draconian lockdowns. If you don't even know how the virus is distributed locally and can't quickly act to quarantine people who have been in contact with someone who is infected then it's very hard to say mingling together is a great idea. That said the risks of kids playing together in a neighborhood seem pretty minor if otherwise people are keeping to themselves. The likely negative consequence is that if one family has a member that tests positive then all the others in the neighborhood will need to quarantine until they can be tested or enough time passes. Here that's 14 days if you're not symptomatic or 7 days after the symptoms go if you are. Then the less likely consequence is that you're the vector that passes on the infection and it kills one of your neighbors.

We're relaxing our restrictions here a bit in Iceland on Monday and I'm really interested to see how that goes.
Would you be surprised if AirBnb laid off 90%? Or Google? Or Amazon? It's already built, right, so why do they need so many people just to keep the lights on?
Well.. just consider every "microservice" a separate company, exposing its own product/service. Also think about all the overhead that comes with it - product managers, finance, recruitment etc.
When I do it from the UK, with localisation on I get a whole page of links on the UK Worcester, with it off the hits are mostly the US one, but the Wikipedia page like is still UK.

YMMV, of course, but this search works fine for me.
You can publish static content that doesn't go down when the server goes down and scales on its own as the content becomes more popular. It also has hashing built-in, so you can be sure the content you got is what you wanted,

Things like distribution of apt packages becomes much more exciting when each computer can choose to redistribute the packages it got to others in the LAN or area, even offline.

It's also very interesting to me how all the visitors to your website become servers as well, so content can never be "hugged to death" or links can never go stale, as long as at least one person has the content somewhere on their node.

That, to me, is huge, as links now go stale with some regularity. Think of all the Geocities sites (and all versions of them) just existing for ever, regardless if Geocities decided to shut down.

For example, here's my site on IPFS:

https://ipfs.eternum.io/ipfs/QmVW6JejQkjLnBJacR8qcZi88WNTMwi...

That can now "never" be lost, as long as someone cares enough about it to visit.
That is apparently the path youtube is preferring.
Multiple superstar creators rather than large diverse set of smaller channels.

They steer and try to lock their userbase with those few high performers. That would explain this.
I'm just curious if there is a middle ground somewhere?

On one end you have a giant monolith. All services rolled into one which includes your API, Middle ware and then Database.

One the other end you have microservices which bundle services into individual distinct units with each service being responsible for its API, middleware and database.

Are there any preexisting patterns which seek to combine these two and come up with an architecture which is midway between those two. A few months ago I had read an article about Data Oriented Architecture on HN which comes close though I'm wondering if there are others.
The contractors who designed this would need more time and money to add that feature. Probably 4 weeks, 100K.
But does conway’s law require microservices? It doesn’t say anything about microservices.
You would have to add some kind of statefulness, which I suspect is the thing that those people are having trouble reasoning about (and which is also an argument for making things immutable even in imperative languages!).

"Statecharts"? Some other kind of boxes-and-arrows Moore/Mealy machine visualisation?
Probably because they seemed to have misinterpreted the text they quoted in their own comment. The participant who takes the screenshot has their own email embedded in their screenshot, not someone else's.
At some point, it’s gotta be cheaper to just buy your own servers, and build your own cloud. Or at least rent some colocation space.

Why keep renting expensive resources, when you can just own it outright.
Google Meet Free for Everyone
Sadly, I don't have a publicly available link for this.

But no, this is not AI upscaling.

Instead, it is representing the input image in a feature space trained to store natural images and then reconstructs the output from that intermediary representation. If chosen well, the intermediary will store details relevant for high quality images, but discard those specific to low quality images, like noise.

It's called a convolutional autoencoder with bottleneck.
That's misdirection. 87% of hosts, sure, but what percentage of rentals? Does it matter if there are a lot of accounts that only list a few days a year?

Notice that 2/3 of rentals are for entire apartments, the hosts that share their own home clearly can't do that very often.
> I was the FAA, I'd be requiring crew-only acceptance flights before any revenue flights

They'll have to fly them to another airport to pick up passengers anyway, so I imagine all of their next flights will be flight crew only.
> but most people aren't targets so this doesn't matter

What do you mean? Everyone on the planet is a target. They want data on everyone so they can target ads to everyone.
I find it easier to access GOogle Scholar via DDG with !scholar than I do with Google Search.
> its metaprogramming facilities far outstrip the C preprocessor.

...and are severely crippled by applying betterC constraints to CTFE:

// CTFE-only
string genint(string name) {
return "int " ~ name ~ ";";
}

void main() {
mixin(genint("x"));
}

Error: array concatenation of expression "int " ~ name ~ ";" requires the GC which is not available with -betterC
I provide remote tutoring professionally but as a sole trader, and I'm quite interested in what your experience is (good and bad) of distance learning organisations.
Microsoft Services Is Now a Kubernetes Certified Service Provider
If all the services that the microservice needs are also services behind an API, what's the overhead? Something like:

hire("developer", 10, "10x).addToPayroll().office("openplan", "wfh").enforceHRPolicies()

Is all you need

The best thing about this is that you can keep everything in change control and just rollback whenever you need to, or spin up new companies at will.
> This is wrong. Naive React code is rarely fast in relative terms.

Do you remember Ryan Florence's talk Hype at ReactConf 2015, where he compared React performance to that of Ember and Angular 1 [0]? Back in 2015, in relative terms, React seemed fast!

[0] https://www.youtube.com/watch?v=z5e7kWSHWTg
I think there's other way of looking into this: in Haskell we have well defined semantics (when you look at function you have explicit information about what is happening) and we managed to get to familiar syntax. In C we have very messy semantics: "everything can happen everywhere". Java stays somewhere in between (though closer to C side): when you have a method in some class it most likely touches only visible methods/fields of its arguments and fields of this class (obviously there are some escape hatches like unsafePerformIO, but most of your codebase will not use this).

I believe being able to understand code on high level quickly is a good thing in engineering. Wouldn't it be nice if looking at some part of code you could say that it actually is calling microservices X, Y and Z and no other microsevices? In Haskell you could have that. I don't see any fundamental reason why such functionality couldn't be brought into an imperative language at some point (but maybe I'm ignorant about PL theory). (FWIW I don't believe in Haskell going mainstream at any point).
Agree the business model is questionable, but it's a great example of using technology for an essential service.
> Melvin Conway, who introduced the idea in 1967.
I'm just learning here about the cheaper outbound network fees - I'm always afraid of the outbound costs due to any spike of traffic.

Could anyone here share some other benefits to using DO? Or any particular Must Have's on a particular cloud provider?
Actually, that might be a pretty nice addition to Adobe's Lightroom cloud service. It already syncs between my desktop and my phone, so why not run some auto-improvements upon import.

But I believe for most users, it needs to be close to instant on the device. Nobody wants to wait 5 seconds to see if their selfie turned out OK.
It took that many years to collect enough research and attention on the topic, and then force the industry's hand by regulatory measures, and it only worked because when the lead phaseout started, there already were alternatives developed. Without all that, the market wouldn't self-correct at all.

I mean, it's such a common failure mode of free markets, it should IMO be taught to kids in schools. If a product/service has damaging side effects that aren't immediately apparent, or the damage is diffuse, or takes a long time to manifest, then the market is blind to those costs. A product that mitigates these side effects is usually more expensive. Such a safer alternative isn't competitive on the market and won't succeed until it becomes as cheap as the less safe one (or cheaper than it).

Conclusion being: don't expect the market to correct against profits on its own. In fact, it will resist correction, so for the change to happen, you need strong regulatory pressure and/or innovation aimed at making the correction more profitable. In reality, you need both.
Exactly. The virtual DOM is wonderful because it allows you to model your components as (roughly) a function that transforms some state into a description of the view, without having to keep track of how consecutive changes impact the result. High performance is not the goal, though acceptable performance in the general case is a requirement.
> which includes your API, Middle ware and then Database

Layered microservices are an antipattern. In most cases, functionality is best divided by domain.
The idea of lending in our current financial system is stupid. Just stupid.

It's like investing in a business except with almost all of the downside if they do poorly and very limited upside if they do well. It's a deceptive economic tool for social control, that's all it is.

The economy would be way better off if we just illegalized lending. Especially lending by banks.
Over 7 years, 100s of VMs atm. Tried to get into AWS and GCP few times over the years just for the resume-building and fun, didn't see the point. While I can understand they fit some use-cases, I think a good rule of thumb would be - if you don't know why exactly you need AWS/GCP/Azure, go with DigitalOcean. I worked at 2 companies that, if they went with AWS as they've planned, they would've gone under three times over, mostly because of the egress. If you're startup and DO's services are mostly there for your use case, it's antithetical for you to go with AWS/GCP.
Damn, there goes my plan B!

What am I supposed to do now? I don´t have a PhD in quick rebuttals. Fuck!!! what DO I DO NOW?!
> does that translate?

It does, and it's very evocative.
They 100% get a bunch of money from Chinese advertisers though, and one might have expected this to impact their results.

Doesn't look like any such effects are visible from these numbers, at least.
Oops, by 'target', I meant on the receiving end of exploitation (governments/ politics/ free speech). You might consider targeted adverts exploitation, but I didn't include that in the use of 'target', because I think people prefer targeted adverts and can just turn them off anyway.
> Intuitively, there should be a fairly tight correlation between size and weight, so overlapping them isn't misleading.

Or maybe not, and tiny, thick-necked pugs are becoming more popular and this trend should be reflected somehow!
More or less the same as a stock Android device has, the difference is that it keeps on sending data to Apple instead of Google. If you trust Apple at their word about being good stewards of your data you might think this is OK. If you see Apple as the corporate entity it is and you have a healthy distrust of any and all such entities when it comes to them keeping their word when money comes into play you probably want to limit exposure as much as possible.
And it didn't actually work, because you can't get it to heat up to soldering temperatures that way (if you did get it that hot, the CPU cooler pressure would instantly crush all the BGA solder balls and render it a massive short circuit).

That only kind of worked temporarily because putting the system through thermal stress made things shift around due to thermal expansion, and possibly make contact again.
I can't find any confirmation of his death. It isn't mentioned on bbc.com, it isn't found in a DDG news search nor a Google one, in the Wikipedia talk there's a question for confirmation, and the edit history shows a recent revert with the comment "there is no source that confirms his alleged death".
It isn't worth the added friction though.

And if you happen to leak concerns in your services (in a monolith), it's really easy to adjust, as opposed to having to coordinate the deployment of 5+ services.

And even then, a distributed monolith is still a risk.

Micro-services add cement to your project. Be prepared to keep boundaries you write for a long time.
Yes, we have the concept of public domain here in the UK. Works typically enter the public domain 70 years after the death of the creator, however there are various exceptions.
China rolls out rocket to test space station launches, new crewed spacecraft
There is some irony in claiming that the GP comment kills curiosity.

Nothing kills curiosity faster or more completely than the concealment of relevant facts. Legal opinions in this case. See e.g. USSR.
Calligra 3.2
> Would vanilla js be faster than using react and when just using functions that handle hiding & showing divs by changing the css visibility value?

Yes.

> I always assumed optimized react was somehow significantly reducing the browser rendering

Let's say you add a <div>. The least amount of rendering you can do, is the render associated with of that new <div>. If you code this manually, you can guarantee you only add the div, and not modify anything else. This is theoretically the best it can be, and so the best React can do as well, from the rendering standpoint.

From the work standpoint, React does many more things associated with stuff that make it work. From the vdom, to the scheduler— it's all overhead React pulls in so it can function. So in holistically in terms performance, adding that <div> yourself is always going to be faster than doing so through React— the less code to run the faster something is.

What React gives you is a framework to think about your application's architecture and execution. Adding a <div>, easy to do manually, no problem. Rendering a whole application, with thousands of possible states, moving parts, some data-fetching here, some animation there, all the while the user is clicking buttons in the middle of state updates— that's harder. At that point can you be sure you're hand-writing the optimal solution, taking into consideration not only _what_ you're rendering, but _when_ it's updating, _how_ the data is changing, and _where_ these mutations are taking place? That's what React gives you. And maybe it doesn't (always) do what's optimal for you, but it does at least provide order to all this complexity, so you can more easily figure it out.
Yes, basic formatting and sanitisation... Web programming lvl.1 here.
If it’s convincing enough to make most people believe that it’s real it’s not a parody.
> The purpose of a habit is to remove that action from self-negotiation.

This is very powerful. Reminds me of the "system 1 vs system 2" discussion, and some descriptions of e.g. ADHD and depression causing what could be described as "failure to terminate in self-negotiation".
This sounds like the old arguments about OOP.

Turning everything into an object can make a small program into a big program, so it’s maybe not such a good idea for small-scale stuff.

http://www.solipsys.co.uk/new/TheParableOfTheToaster.html

However, in my experience, OOP made it possible to do really big stuff.

It’s all about not having a “one-size-fits-all” approach. I don’t think it’s just about scaling architectures; it’s about changing architectures to match scale.

It’s difficult as hell to make these changes, because people get invested in methodology, and insist on applying the same lens to everything we do.

It sounds like they had the right idea, but they probably had the wrong people.
That's pretty much the same place where I started as well (the RW tutorial).
For the library: HotKey is exactly what I used. Simple to set up, works with the Xcode Package manager and does exactly what it says.
A Scramble for Virus Apps That Do No Harm
Damn, that's a great name too...
It somewhat makes sense for articles to be vague. As frustrating as it is when you want to go deep on a story, these articles are not providing a knowledge graph service. They’re condensing a story down to only the most important information. In effect, providing a summarization service for real-world events.

When it works well, it lets you efficiently absorb the gist of a story. Of course, it’s a bit of a subjective art and unable to serve all audiences.
Yes, I suspect this would depend quite a bit on both the quality of the parent as a teacher, as well as the "real" teacher we're comparing against. I've seen shocking extremes in either direction, for both individuals. I might be a bit biased in one direction, as my parents (and broader family in general) are quite knowledgeable, and could easily outdo the average teacher (as a broad average over the ones I encountered - full public school education in two different countries) on just about any topic, let alone their own areas of specialty.
So the law will be whatever Rupert Murdoch (or Mark Zuckerberg) says it should be? That's not a world you want to live in.
Google Meet premium video conferencing is now free for everyone
Cool, thank you both for the information!
Yes, Netflix is a tech company. Eventually all companies that are enabled by technology and software become tech companies.
Even banking is becoming a tech industry.
Another not quite direct answer, but at least in my part of the world these kind of companies are more often "spin-outs" from university research departments and institutes rather than "start-ups" from the general economy.

It might be worth having a look the universities doing research in this area, then seeing if any of them have a group in a business incubator.
New App for Covid-19 Combines Blockchain with Web Inventor's Privacy Tech
Flash on Call 2020 – Flash Alert Notification
I think you just have to come to terms with HN changing. It's scope is in a progress of broadening beyond IT and tech. And I like that. At least to some extent.
The Victoria’s Contract That Anticipated a Pandemic
Great idea. What exactly would you do with that? Simply open up the list and look at the past entries?
TickTick has a nice "quick capture" experience too. Will try this.

-- edit --

This has a super reasonable price of 2.5 EUR in Brazil. I forget the term now but its of course a discount due to lower purchasing power.

How does Apple calculate that?
You could test from vps in another country?
Uber CTO Thuan Pham Steps Down
I think you misread. These terms apply to "public IPFS infrastructure" (I read that as things like build services, gateways or bootstrap notes) and the ipfs.io website, not to the IPFS network as a whole.

The IPFS network itself is decentralized, there's no central authority that can police copyrighted content on individual nodes.
Linux :)
Rages me every other day, but also good enough.

Terminator, VSCode and Chrome: mostly love.
GUI file managers, display stuff: mostly hate.
> It is fine for consumers to look at things from a consumer's perspective.

That's just refusing to exercise personal responsibility. I'd hope an average consumer is capable of more than that.

People shouldn't assume the free market will somehow optimize for fair play, because it doesn't. The market quite directly optimizes for the things people (in aggregate) use to discriminate between purchase options; unless people vote with their wallets on the conduct of companies, you cannot expect the market to provide your conscience for you.
You can't do that. Just like you can't do:

const [count, setCount] = useState(0);
count = 1;

In both cases, const is const.

The fact that `setState` modifies state outside of the local scope does not mean that a local variable is not const. This is really basic programming, it doesn't have anything to do with React.

Here's the exact same scenario without React to show why you're wrong in your original comment:

const foo = () => {
const bar = getBarFromDatabase();
}

Imagine that this is a typical database where values can change, so that every time `foo()` is called, `bar` can have a different value. Do you think that this is a dirty hack that is overruling the const type declaration as well?
Great to see that SMB-over-QUIC is being trialled. I'd love to see more applications using QUIC as a transport - particularly if they're going to be on mobile - or switching back and forth between WiFi and mobile signals (which, on TCP, means dropping the connection and creating a new one).
شركة+نقل+عفش+بالرياض
> Chrome can always be replaced just like Internet Explorer was. Is not even the default on most platforms.

Firefox is more or less Chrome. Edge same. Vivaldi is also Chrome.

> Safari on the other hand... You're not even allowed to replace it with an open source browser.

This is a feature.
You could say this to anyone who says they didn't resonate with the ad. Except you are not proving in any way that the person you're saying that to is in fact not the target audience.

Do you really believe these ad makers are so infallible that they can't completely misread their target audience? Or are you making the mistake of believing that the target audience is by definition the ones who like the ad?
So you are saying something in line of: let's increase our development staff X-fold and then we can finally do the same thing that way fewer people doing just fine right now?
Browsers also don't provide the necessary tools to actually build interactive UIs without reaching for external libraries. If you want to allow the user to select date or time in a decent user-friendly way... you just have to pull some JS thing in. Dropdowns/select boxes still only provide the most basic capability; multiselect sucks, need to pull in another JS thing. The list can go on.

Even if your application is 90% non-interactive, the remaining 10% could end up introducing a lot of complexity only because browsers haven't advanced on that front at all in the past decade. And that 10% could easily outweigh the 90% when it comes to the architecture of your application - you get frustrated with the jumblefuck of JS littered randomly around to support X feature on Y page and so you just grab React and build a more manageable thing with it.

The standards committees for the Web have seriously dropped the ball.