skysight-inc/HackerNews huggingface dataset:
200ms would likely be fine (although not ideal), but I've seen more like to 3000ms with Firebase Cloud Functions, and have heard stories of similar with AWS Lambda.

The fundamental problem seems to be the VM-or-container-per-request model. That means as soon as you get an extra concurrent user you have another cold start even if you already had one resource going. Whereas with a classic backend one server (even a small one) can handle thousands of concurrent requests and thus you have plenty of breathing room to start up another server before the current one gets completely bogged down.
Bullshit. We've done that countless times, to good effect.

When it's for the greater good, or by the winners, we conveniently omit it from history.

When it's for the greater evil, or by the losers, we publicize it as a cautionary tale of moral hubris.
RxJava has some nice tools for async buffering, debounce, etc., but it pays to understand CountdownLatch, Semaphore, Mutex, ExecutorService, etc., and I would definitely not consider RxJava a substitute for other things.

Do avoid anything related to the hoary old Java "Future" class, though. CompletionStage or get out!
> I've come to the conclusion that code is temporary, and is meant to be discarded after a while

Interesting, my gut feeling is the opposite. I think code is being written today that will remain running for something approximating "forever". Stuff will work and people won't want to change it - or things will be so intermingled that they won't dare to.
Fair enough, I regret expressing it that way.

Anyway, In 1917, it was the poorest country per capita of Europe except Portugal and suffered the revolution and the first and the second world war. I think is kind of surprising that, starting in that position, they could keep the pace in a race with the USA.
That's not as useful as it might sound. If a particular action the driver didn't take would lead to results that didn't happen, then shadow mode will have a lot of trouble knowing that. In general it's a problem called "off policy evaluation" and it's really hard. Tesla has to estimate what would have happened counterfactually, had the bot been driving, instead of seeing what happens with the bot driving. A million miles of this shadow mode evaluation isn't worth nearly as many miles of actual self driving.
Aww, sad :(. The faces are likely problematic, but the voices themselves shouldn't be (not identifiable to a person)
It's good that people had jobs and science and technology was advanced. It's bad that it was done under the auspices of war and creating machines for killing and destruction. It's good some of those machines didn't get used.

It's unfortunate that humans can find the resources for war but can't find the resources to help fellow humans. But in some sense, the department of defense is a massive jobs program not just in the direct hires but also in the large military industrial complex of military contractors (and you see this in the way politicians work to keep military bases open and contracts for useless jets going) that, as long as we don't go to war, is arguably a net positive.

I wish we could admit how much of a jobs program it is and use that money and effort directly for good things.
Big data is permanently in AWS
J2EE has stopped being a thing in 2005, and I am quite found of JEE, so I like to use my cleverness budget.

As for SwiftUI, I guess the only issue it the current state of its tooling, as I have heard it still is found lacking.

Yet if one listens to iOS podcasts everyone is raving about it.
I distinctly remember having a homework problem in middle school to design a 51 star flag. My answer was a copy of the 50 star flag but with a bigger one in the background. Definitely got that one wrong.
"no" meaning no one is writing new programs/apps in COBOL, only maintaining old ones. "stay" meaning people will keep launching new programs/apps in PHP going forward.
If the people from Octotree is reading this, I would recommend you address the accusations rather than deleting people's comments and calling them "trolls."

Even if you are totally innocent, you've made yourself look like an asshole at best, but really, really guilty at worst with the way you are handling this.
Thanks for your detailed response.

I've seen all the projects claiming to have broken ReCAPTCHA—often using Google's own ML services, hilariously—but it's unclear to me how broken image/audio CAPTCHAs are in practice (and the number of GitHub repos doesn't seem like a good measure to me). If they really are completely broken, then why are they still so widely used? If they really are completely broken by ML, how do human CAPTCHA-solving services stay in business?

FriendlyCaptcha optimizes for the end user (privacy + effort + accessibility)

Good point. I am concerned though that burning CPU cycles on the proof-of-work uses battery life if the end-user is on mobile, without getting their getting any choice in the matter. What if, given an informed choice, they would have preferred an image CAPTCHA? (On the other hand, that could use more cellular data. Might be good to run the numbers on this too.)

even with a million users on one IP there won't be tens of users signing up to some forum per minute

I think this is a bad choice of threat model. "Some forum" would likely be better off with simpler measures, like a hidden honeypot textbox: https://dev.to/felipperegazio/how-to-create-a-simple-honeypo...
If use of an object requires an ongoing contractual relationship with a specific entity, you don't own it.

I know that people here won't be super surprised by this concept, but I still think it's worth getting the wording right.

Just as with music and videos and games, I think one should be disallowed from calling something "selling", "buying" or "owning" if what's really being done is "licensing". Yeah, I'm from the "words matter" police. :)
> Even though both you and Orwell dislike that aspect. I think it is crucial to the books.

> asserting that it is not only by our own strength or insight [but by the intervention of a purportedly-benevolent supernatural being that totally isn't (barely-trying-to-be-)secrect-ly evil, we promise!] can the evil things we see around us be overcome.

The fact that it's a blatantly obvious lie is precisely why that aspect is bad. And the fact that it's crucial to the books is precisely the problem.
I'm from Europe, don't have such issues
And that with only ~9% of the population (which is already quite a lot — 10 million). See: https://en.wikipedia.org/wiki/Turks_in_Germany.
How many millions? There are 1400 million people in India.
Bad type coercion you can’t turn off with weird semantics. Powerful but confusing arrays/dictionaries. Inconsistently named stdlib functions with inconsistent parameters. Little to no support for threading or concurrency models outside of making event loops or running multiple processes. Memory management that allowed for leaky memory all the time. Lack of proper support for stand-alone daemon processes (you could make it work but it was clearly not the main way PHP was meant to be run). Lack of namespaces or modules with all variables being global.

This was PHP 5 and it sent me running for the hills (Python, ES6). I am sure PHP 8 is an improvement and I’ve worked with PHP versions past 5.3 but it left such a bad taste in my mouth that yes I will avoid it if I can. Fixing what shouldn’t have been broken may make this language almost as good as something like Python but why would I reach for PHP when better things exist unless that decision is not made by me?
Is it? I look it up and it says "free personal email from Microsoft". That's neither necessarily paid (though it might be optionally), nor from a company whose main/only business is email hosting.

My point is that relationships work as good as incentives are aligned. Aligning incentives better leads to a better relationship.
That's only true once the technology seems to be better than human driving. That doesn't seem to have happened so far, and is definitely not true of Tesla's efforts.
Posting that you don't respect the underlying license really is a great way to look guilty as hell:

> This is not true. If it was true, just use the code from master and make the "small changes" yourself and stop with the spams, simple, isn't it?

Completely ignoring that they are stealing other's contributions that were AGPL licensed to use in their proprietary application.

Even worse in the now deleted comment where they pull a "we didn't, but if we had it would have been fine", which is pretty obviously the defence of a guilty party.

Edit: Now they are claiming that they paid "most" of the other developers who contributed, further underlining the fact that they don't have the copyright for at least some of those code they are using.
Sounds like once the car is out of warranty and the cost of maintenance falls on the owner, the incentives change and the manufacturer should pay you to run your car in "performance mode".
> It leads to being awake during dark hours, and humans do not have night vision.

Humans most definitely can see at night. Not as well as other animals, but we can do it. People also tend to actually stay awake in the dark, otherwise our sleeping times would vary quite a bit throughout the year - by this logic, if you live further up North you would have to sleep (almost) continuously throughout the winter.
Caste discrimination is illegal in India.
You really shouldn't trust those disengagement statistics much at all. They are totally up to the individual companies what counts as "disengagement", how to define it, and how they report them.
yeah, calling Thread.interrupt(), join() or similar methods are often a code smell for a bad "programming 101" teacher.

Executors are the way to go for almost all finite-time concurrency.

New threads should normally only be used for stuff that keeps running until the process quits.
It's probably a bit different from the usual HN side-projects, but I sell stickers on the internet. A bunch of print shops went belly up during this spring and I accidentally won an auction for the machinery for a song.

So far I've been selling by word-of-mouth, and in September I started an Etsy store. I'm also building https://egnastickers.se, but that landing page alone made me €100 in sales.

I'm close to €1k in sales for October on Etsy and I'm racing to sell as much as possible before the end of the year when Brexit wipes out more than half my current customer base.
That’s still after replies were deleted.
They could have used all negative samples for testing (and even training if they would have done it better), yes. But once your test set is large enough, whatever that means, its not that relevant anymore. They are anyway "under sampling" by not recording data from all humans that are negative right now.

And no, it's not a strong claim to make. Of course the network learns the distribution of your training set. That's why you want it balanced. But during successive applications of inference the weights do not change, it has no state. So it cannot, for example, store that it just predicted 90% negative and now it would be time again for some positive prediction.
Absolutely, executors offer much better (safer, more consistent) lifecycle management of a Runnable vs. a homegrown solution in my experience. The last time I extended Thread I think it was just to pull off a custom name format.
AV has that potential in principle, sure. It hasn't realized it yet, particularly in Tesla's implementation.
Hi, yes I am an Indian and its astounding to me that you as an Indian whose life, education, wealth, quality of life, access to healthcare, choice of life partner, friends, status in society, place of residence is all determined by your caste being completely oblivious to it.

You have been so internalized into the caste system that you count only explicit and physically hurting ones as forms of discrimination. You are either incredibly privileged possibly a Brahmin or you're ignorant so much that you deny the suffering of more than a billion people as outright false!!
Yes. Easier to ask them. Honestly, I think the only way to legitimize the delegitimization of the caste system is for everyone to declare their castes. No shadow games. It’s all out in the open.
I use Octotree currently, but would like to see some alternatives. Does anyone have any they would recommend?
I think the idea is bad actors are using Nord to attempt hAx0r1ng.
Printing the filament like in the linked article is essentially in 2D (not really, but for this point it's close enough). So if you have 2 colors, you can first print all color 1 segments, and then manually switch and print all color 2 segments.

In a real object your print is 3D and consists of layers that are ~ 0.1-0.2mm high. In a typical multicolor print each layer has several colors, and you have to finish a layer before printing the next one. So you have to switch between all colors that are present in each layer.
How hard would it be to take legal action for this I wonder
Awk is a full blown programming language though. comparable to python but allowing for much more compact code. Though I completely agree on avoiding shell. the only good shell I've seen is rc. but the relying on external utilities is a double edged sword. forking is too costly over time.
Yes, that is GC's point. NATO wouldn't be much of a deterrent to others without the US pumping massive investment into it / its own war machine.
If I understand your point (why not backseat systems?) then I'd say it fails to capture the complexity of feedback from the automated systems.

Or to put it another way, every time the driver's inputs diverge from the automated system's inputs, the test run is invalidated. You're no longer getting results of what the automated system did.
If the goal is to prevent traffic fatalities then funding self-driving research must be one of the least effective methods. Tens of billions of dollars have been spent and no lives have been saved.

If we could achieve cycling usage at the level of the Netherlands, mass transit usage on the level of Japan, and road safety on the level of Norway then we would cut road deaths by 90%. These are ambitious goals but can actually happen and are not an open-ended research project.
This strikes me as rather focused on Linux kernel implementation details, since in Windows processes and threads are actually distinct concepts (as opposed to the Linux kernel, which really only knows about tasks), where every live process has n>1 threads and the address space of threads is afaik strictly defined through the process it is part of.
To create the 'programmable filament,' you only switch over to each color once as they generate the toolpath in such a way that the nozzle doesn't interfere with previously printed filament (and the printer resets the z-axis back to 'layer 0' each time it switches colors).

For making relatively small, multi-material / multi-color prints, this really is a pretty clever system that looks reasonably practical on a wide variety of existing low-end 3D printers. With good software support, I could imagine being able to make things with interesting physical properties by making hybrid rigid / flexible materials (integrated hinges or other deformable parts, for instance).
I'd consider myself lucky if anyone remembered me at all once I'm dead!
I suspect most people on the "abolish time zones" kick don't actually deal with people in other timezones very much. By knowing what timezone someone is in, I know instantly--without even consulting their calendar to find out what their usual working hours are--whether 2pm my time is a reasonable time to propose a meeting.

Similarly, every time I travel to a city in a different timezone, I'm going to have to find out what usual business hours are, when dinner typically is (which admittedly varies a bit from country to country anyway), and so forth.
Mate, I will try one more time. (A implies B) does not mean (not A implies not B). Those are unrelated logical statements.

As an unrelated example, almost anyone can now do their own accurate temperature and blood pressure measurements, so the vast majority of temperature measurements is done by those with no medical training. This does not mean that nurses and doctors who do the same measurement (that a middle school student can do) are any less skilled in medicine, let alone "non-educated simpletons".
> I would always recommend everyone to run their own email server.

Any chance you could point me to some good documentation on that? I'm about to set up a homelab and play with OpenBSD some, is 'man opensmtpd' enough to start out with?
Yep. Those will become the great programmers of the future.

Honestly, I can’t think of a better way of spending ones early career than reinventing some kind of wheel.

We should stop pretending that one is able to become a good programmer just by spending time in a chair doing the same thing for years.

Is it a mistake to reinvent the wheel? 99% of the time, yes.

Are those mistakes an amazing learning tool? Definitely.

If you’re a developer just starting: go and write a web framework, game engine or operating system. That's probably the only way to become a software engineer, since nobody will teach you the lessons you'll learn by doing. You’ll future self will thank you.
The Netherlands. This year we again had a summer a lot of >35ºC days. You couldn't be outside without applying copious amounts of sunscreen and it was just uncomfortably hot in the sun. Nights were great though.
and that's why it's not allowed in the EU
I suspect that marketingPro meant that you can't know what is the most efficient path for writing that game engine.
Remix – Build Websites
Well it is not production ready but pay xxx bucks and not refundable.
You're the man now dog. RIP
I think I'm less pessimistic than you are but I get where you're coming from.

According to Pareto (yes, that Pareto), there is a natural ebb and flow of this sort of national vs self interest that exists within the ruling class. In a healthy society there is more circulation in and out of the ruling class which allows those with more of a national interest to dominate when that is necessary. If there is too much self interest within the ruling class and not enough circulation it ends up "killing the host".

I would definitely recommend the book "The Machiavellians" by James Burnham for a formal survey of these sort of ideas. Pareto is one of these Machiavellians and so his work is analyzed.
It's my understanding that software with multiple copyright holders, especially when their work is all mushed together and being derivative of each other's work, is a major headache scenario. There's a reason the FSF requires that contributions to FSF-owned projects include a transfer of copyright.
What we need is the kind of tech they have in The Culture series by Iain Banks.

They have "effectors", which is highly advanced tractor beam-style technology that allows you to manipulate matter from a distance with a precise field, which can obviously be used for all sorts of scientific / constructive pursuits. But in times of war, the effectors can be used for all kinds of defensive/destructive shenanigans as well.
> The dark portions of the screen block the backlight, so the darker it is, the less light gets to your eyes.

If you think it blocks enough backlight you’re deluding yourself. Display a pure black image (with a small white square in the middle to defeat dynamic contrast) and turn off the screen. From TVs to laptops, as long as it’s LCD the difference is obvious.
Somehow, things work in a sane way with ICE cars and gas stations.
Most of the SMBs are opting for platforms like Squarespace, Shopify, Hubspot which are proliferating. Building decent landing pages, lead gen, e-commerce are now push button.
> Over the years, it has been a waste of time to explain ourselves why we need to charge for our labor. This is the last time I say anything about this. Trolls will be blocked.

How badly does someone need to misunderstand a topic to write something like this? No one mentioned charging being bad.
Yes that's it. Thank you!
> Updates to things I trust my family's life and health to should be classified like recalls, a sign of manufacturer failure and not a consumer privilege.

To be scrupulously fair, that's true of all software; it's just more important for safety-critical software, because safety-critical software is more important.
A lot of the engineering that goes into microservices infrastructure is explicitly to allow heterogeneous application stacks. Paying all those costs in exchange for benefits you won’t use is just a different kind of bad engineering.

You definitely want standardization for truly undifferentiated concerns but it can go overboard. If you’re going to use the same application framework in every service, you may not need to separate services at all.
There are 55k openings on Indeed for React jobs and 8k PHP jobs. When the absolute numbers are lower, there's more opportunity for high percentage growth, which is what they used to rank them.
Disposable Kubernetes Clusters
How we manage Kubernetes clusters to do zero downtime migrations while processing live card payments.
I can smell the various engine oils and general mustiness just by looking at these photos. I love old machinery like this.
It's not enough to know rates. If you know incidents per day, but don't know hours driven per day, you can't compare safety of two modes of driving. One mode might just be parked more often, and that's why it has fewer incidents per day.

Similarly, if you know interventions per mile, but don't know miles of challenging circumstances per mile, you can't compare two modes. Maybe people only turn self driving on in particular circumstances. Or maybe tesla opened the beta to people in easy locations. Apples to apples safety comparisons require a lot of detailed data when they aren't part of a randomized trial (which is still hard to do correctly).
Why do you think PHP doesn't have memory leaks?
What a strange coincidence! I have started learning Java concurrency from the book[1]. I am on the synchronization chapter and it looks like managing threads via Runnable directly is going to be painful. I am hoping I get a good intro to Eecutors somewhere down the road. Adding the OP tutorial to go through once I have a better hold on writing concurrent programs.

1. https://www.amazon.in/Java-Threads-Concurrency-Utilities-Fri...
I'll leaving the price for others, but it seems to me the more important number at this stage is the percentage of ownership you'd get if exercised.

I mean a startup's purpose is to go from 1 to 10 or even 100, or go bust. So it's not as material whether the options are 1 or 1.25 strike if it does work out. In fact arguably you'd want more 1.25 options rather than less 1 options.

Of course that's all things equal, and the board may have screwed you on the total number of shares too.
The way this is reported doesn't give that much information. It says it has a high true positive rate, but what is the false-positive rate? A test isn't useful if there is a high rate of these.
Novices don't build working concurrent systems of any kind with any toolkit, period. Concurrency is hard and thinking all the "concurrency problems" go away with some message passing is both ludicrous and dangerous. Fearless concurrency can only be attained through understanding, not by thinking all your problems went away because you're using a "cool approach".