skysight-inc/HackerNews huggingface dataset:
CapRover was mentioned in the thread about the coinbase stack [1] - I guess that's why it's popping up here now.

As I said in that thread - this looks interesting, but the installation instructions put me off a bit. Open a port on your server, and don't change the default password `captain42` - then run a cli tool from your dev machine.

1: https://news.ycombinator.com/item?id=23460066
If your platform is too small for even pycopy/micropython, there is always snek:

https://sneklang.org/doc/snek.html
Should the title not specify "to your own C programs" or similar?

Or if it is more widely applicable then how would it work with non-C programs?
CallStranger Attack: Exfiltration, Reflected Amplified TCP DDoS, UPnP Port Scan
I'm confused by this comment. The YF-23 was not a successful project, but it's successful competitor is well known to the public. Furthermore there are successful Northrop projects that are known to the public, for instance the B-2. And the B-2 was shown to the public years before the first operational one was delivered to the Air Force.
> CF Templates

Yeah, this is where it kicked in for me. Never mind the fact that all of that is AWS specific and absolutely doesn't help you if you ever move clouds. Great to know all the stuff below, but Kubernetes is a wonderful abstraction layer above that stuff, and it gets better every day.

CF could have become Kubernetes -- it was supposed to be, but it just never got the mixture right (and of course is AWS exclusive).
You could do the same with AWS ECS

there is nothing special about K8s in your situation.
Yes - it's part of ARM Holdings from November 2014.

https://github.com/ARMmbed/mbedtls

"Arm welcomes feedback on the design of the API. If you think something could be improved, please open an issue on our Github repository. Alternatively, if you prefer to provide your feedback privately, please email us at mbed-crypto@arm.com. All feedback received by email is treated confidentially."
For macOS, fs_usage does the same job. I find it invaluable to find out what process is churning the disk (usually mds...).
You can sarcastically toss out a list of uncontroversial useful or true things that have been said by literally anyone, no matter how often they’ve otherwise been wrong or harmful. It’s not a refutation.
Excerpt from Chaos Monkeys by Antonio García Martínez (2016)
Notably missing: Any hints about hardware for developers.

My conspiracy theory is that the sketchily rumored “gaming laptop”[1] is actually a hot rod ARM MacBook focused on developers to get the transition off with a bang.

[1] https://www.macrumors.com/2019/12/30/sketchy-rumor-gaming-ma...
I would never, ever, ever use Google Cloud for anything other than education (e.g. students working on the free tiers). Google's general culture is to randomly kill partners' businesses with automated algorithms, and then not do anything about it unless it explodes on social media.

That includes multi-million dollar partners sometimes.

I'd work for Google, but I wouldn't use their systems outside of Google. I wouldn't work for Amazon, but I definitely use AWS.
From chaos to free will
(non dev) looking to run my own installation of https://github.com/excalidraw/excalidraw for team. Could I use this app? Straightforward to do? How would I estimate the costs?
"This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help "

Yeah, that's StackOverflow for ya (or MathOverflow I guess).
Could someone in the know explain how Pycopy/MicroPython code is executed? I don't understand whether these are (bytecode) interpreters or compilers to machine code. Or are they both?
So since this sorting algorithm involves a trie, would there another optimization possibility by using a data structure inspired by the MergedTrie?

My first thought would be to split the list of numbers into a prefix and a suffix part and building two tries connected at the leaves[1][2], replacing the trie used in the article. Then we sort both tries using the Kirkpatrick-Reisch method (but in reverse order for the suffix trie so that the final result is sorted correctly), and finally we would have to reconnect the two while walking the tries.

[0] https://journals.plos.org/plosone/article?id=10.1371/journal...

[1] more or less, the MT in the linked paper works a bit differently but also has a different use-case in mind.

[2] Also I have no idea if it make sense to have two depth 2 tries, or if there is another algorithm out there with two depth 1 tries that _kind_ of looks like this algorithm
It's hard to know exactly how bloated SSL/TLS libraries have become without actually taking the time to research them but some of the folks behind `LibreSSL` seem to know crypto well enough.
My guess is that it makes it harder to acquire content. That is, if we are two competing providers, and my network is compromised, then I no longer can give an exact number of users for whom the content is being licensed and I will be made to pay a premium for the unknown.
This permissions model and approval process already works in mobile app stores. Yeah, if the developer doesn't understand the permissions model they ship a broken app, so what? Are we supposed to expose our computers so that incompetent developers don't break their own apps accidentally?
One Innovative Restauranteur Gets Around Aggressive Food Delivery Apps
That's why i am such a big Fan of 'The Expanse'.
Especially the first season is on point with 'reality'.

EDIT: But of course like always, the books are better :)
And there's your next covid project!
Our whiteboarding question at NeverPivot.mvp is to ask candidates to implement an algorithm to find the inverse square root of a number.

We would also subject John Carmack to that technical monkey dance because we don't believe in free handouts.
If you only ever experience 0 to 2 with a baseline of 1 then that's no different experientially than -1 to 1 with a baseline of 0. Since baseline is going to be the 'normal' experience it's going to be routine in both cases. Whereas they'd be confused talking to one another as the overlap of baselines is at the most positive and most negative positions versus one another.

Basically if we were to go through life only experiencing pleasure would less pleasure basically be pain if you had no capacity to feel or understand pain.

Plus the whole idea that pleasure and pain are a continuum seems overly simplistic.
Then by that, everyone's thoughts on anything and everything should be thrown out. Everyone is an asshole if you dig deep enough. There is no such thing as a perfect person.
South Africa's Life Healthcare Group Hacked
Certificates don't have to be difficult. The major CDN and hosting providers can setup TLS automatically with no user action. CloudFlare rolled great command line tools to handle internal certificates and CA (see cfssl).

I've worked at startups with fully functional PKI. It's almost trivial to achieve, as long as you've got configuration management over all the servers (ansible, salt and assimilated).

On the other hand. I've worked at a large bank trying to make TLS work across the firm and it was a mess. There was no motivation to have any automation around certificates management and no control over server configurations. One simple issue for example, CA on linux are managed by the ca-certificates package, all it takes to keep TLS working is to upgrade that package every couple years "apt-get upgrade ca-certificates". Some servers haven't had upgrade since 2015. It wasn't particularly difficult to get 10k servers from 5 departments upgraded after handing them instructions to do so, but of course a few other departments won't act until things break (and sometimes still won't act in spite of active incidents).
For those who have even simpler needs (like side projects, or 1 dev projects), I found using simply docker and git to be plenty enough.

Basically, you can create a bare git repository on your server (`git init --bare`), and put a `hooks/post-receive` script within it that will clone sources in a temporary directory, build the docker image and rotate containers. That way, you can `git push` to build and deploy, and it's easy to migrate server.

The added bonus is that you now have a central git repos that can act as backup, so you don't need github or gitlab.

The main painpoint, which I find dokku interesting for (and I assume caprover too) is zero-downtime deployment. But well, if this is critical, you probably need something more extensive.
It's the other way around that I'm concerned with; Google tracking which Medium posts I read.
On HN, it’s more of an upvote-bait.
Dow Futures Slide as ‘Psychotic’ Rally Pauses. What Happens Next?
Shameless plug: If you don't want to use containers or are using resource-constrained Linux boxes, have a go at https://github.com/piku :)
Slightly nitpicky, but is something a PaaS if you run it yourself? Anything as a Service isn't a service if you're running it yourself. It's just ... infrastructure.
I can recommend in getting in k8s with something like microk8s from ubuntu:

You will learn k8s and you will get the same thing as they do but with open components, industry standards and a whole industry moving in this direction.

I have already microk8s running at home with argocd. I have never had IaC that quick and that simple setup.

With traefik you can have your domains as well. Then just go to gitlab (or now to github, haven't checked out yet if i wanna migrate back) and register your microk8s cluster as a buildrunner.

Thats it you are set. Quite future proof setup, modern, stable, easy to use.
Another great alternative in this space is dokku[0]. Haven't tried CapRover recently but it looks fantastic.

[0]: https://github.com/dokku/dokku
Does Caprover support multiple "ingresses"? In that I can have an external load balancer balancing between my clusters servers?
I can't seem to find any info on that in their docs.
Caprover is a great tool to have in one's kit but coming from Dokku [0] i think it lacks a certain flexibility when deploying applications with worker processes. You can get around this by creating multiple "captain-definition" files in your project but i prefer Dokku's adherence to Heroku's "Procfile" approach. However Caprover's web admin/dashboard and docker swarm features are a nice touch.

[0] https://github.com/dokku/dokku
What Is Next.js Incremental (Re)Generation?
That’s not really addressing the immediate problem though for which people are looking to have far fewer kids in the physical building.
Architecting a Test Strategy
IMHO that's exactly the skill differentiator between experienced and skilled developers vs. the novices.

The skilled developer is able to take a big/difficult/complex problem and break it down to small steps that translate to simple sub-problems and their solutions and map ideally nearly 1 to 1 in commits. How far you need to continue this recursive process of breaking things down depends on how big the problem is but basically you'd do it until your commits and steps are single cohesive steps. Certainly this might mean that you end up committing functionality that is not used at that point in time but will only be used by later commits. Some people might disagree with this approach and prefer to squash this but I find that this approach keeps things simpler.

For example if I'm working on adding a new feature X in my application I need to think about how to support that feature given the current components/APIs/classes/whatnot that I have in my system. Let's say that in order to implement X I need to add a new API functionality in components Z and W and then implement the new feature in a new component X.

High level this is already 3 steps. Maybe doing the actual changes for Z and W are still too large and further need to be broken down. Then there'd be more than 3 steps and subsequently also more commits.

Now often what I end up doing when I don't really quite know yet how to best go about implementing something I do all the changes at once and once it all works and I've found my way I spend a moment of reflecting what I actually did (and if there are indeed alternative ways). Once I decide to finalize the work I then go back to my changes and do the commits in steps using git chunks.

It's all about looking a head, working out mentally the roadmap in simple steps from current state to the next state and then taking those steps. I find that in my career learning this mental model and the ability to break things down has taken the longest.
I teach Sanskrit to adult enthusiasts. It is mind boggling how people think that they can learn a language by being a passive consumer - that I need to do all the talking while they just sit and listen and take notes. I repeatedly tell them you need to be a producer and not a mere consumer. Creating your own sentences forces you to actively recall what you have learnt and is going to be far more productive than reading what is written. (Though reading is important too in learning a new language.) Being a producer and "active recall" require both effort and time and people give up quickly. Only the tenacious ones remain and they are the ones who learn.
Hopefully the new macs are faster. Here's something you can try yourself:

My 10 year old Macbook pro running lion, if I go to the Safari menu in the corner click it and move the mouse up and down really quickly over the menu items, the responsiveness is instant & there is no flickering.

Doing the same with the * * max spec * * 16" Macbook Pro has flickering. Easily reproducible in this very Safari window if you're reading this on a Mac.

Everything has been downhill this decade with the quality. If the focus was on ARM then hopefully if it was a resource diversion the quality is good after.

Well i hope at least..
DARPA starts its own bug bounty program for hackers and researchers
'Pycopy can execute scripts in textual source form or from precompiled bytecode, in both cases either from an on-device filesystem or "frozen" into the executable.'
Create and schedule data pipelines using Apache Spark
If they're in 40s and 50s and they are in tech, they should have savings which would make the transition to a new job painless.
It's great that you know this about yourself and have been lucky enough to be able to make these kind of tradeoffs. You are in a much better place than a lot of others.
It's also weird for Japanese, typically the stroke order adheres to a certain logic, althought there are many exceptions (very roughly: top to bottom, left to right, trace a horizontal line before crossing it, do one stroke at a time, except for right angles angling downwards on the right).
There are libraries that will help you do runtime checks to ensure that your JSON matches the shape of your schema. It’s a bit tedious, but it works.
COVID19 Impacts on Global Wheat Seeds Market
Programming fibonacci in the first 64-bit minecraft computer
No link, only local stories in Munich. That wasn’t about video codecs, but rather SLAM. They were my direct competition. The clients were not interested in saving couple €, they need stability long term for their installations. I have same problem, so I need to do this part differently.
Haha you're right, thanks! Something was rubbing me the wrong way as I wrote it but I couldn't figure it out.
That's why I said 'equivalents'.

There are also application engines in major cloud providers, base on your technology. Some tech stack can run serverless. For self-host scenarios, things like Dokku could also work.
I've been doing this for a long time, rarely with good consequences for myself. So thanks for the positive comment.

I'm actually writing a book about this.
Same goes for the US in this instance. Labor law is mostly handled at the state level, so there’s 51+ legal systems governing this topic in the US.
Sure, the cost-function can certainly be multi-dimensional.

Energy, pain, maybe even expected value of death (e.g., take energy-intensive and possibly painful evasive action from a predator) might be dimensions to take into consideration.
Surely common sense is subjective? And many blatantly obvious things are not objectively measurable.
What is "^W"?
Now might not be the time to ask about conspiracy theories.

Let's see:

1) The US is an actual police state where the police have little check on their power.

2) ACAB

3) A substantial fraction of the US population (> 1/3rd) supports white supremacy.

4) "Guns rights activists" are more interested in their right to be able to shoot black people than defending freedom, liberty, or Constitutional rights.

5) The current administration will do everything it can do to keep power, including illegal and unconstitutional acts, which might include invalidating the upcoming election.

6) A large enough fraction of the US police and military will support #5 that it will be carried off.

Or were you thinking of something inconsequential like a hollow Earth?
Apache NetBeans 12.0 LTS Features
Does this have prose in addition to the source code; or can you get the same information from looking at the code distributed with texlive?
I am not confident that the "anonymize IP" option is GDPR compliant.

This asks Google not to store the IP in full, however the IP is still transmitted to them (as an unavoidable side-effect of loading the library and sending the analytics events).

I am not sure if the other options they recommend disabling actually disable the initial collection of the data, or whether they only instruct Google to not process that data when they receive it.

Even if we assume that Google is acting in good faith (which at this point is a very big "if"), transmitting the data to Google still opens up a theoretical risk of that data being intercepted by a malicious attacker with access to Google's infrastructure, and no matter how small this risk is I can see someone potentially making an argument about it with the regulator.
> It is believing that people of some other race are inferior.

I think this is a view from the 90s. Today's view is that the're not inferior but different, and that race itself is a social construct.
UtahFS: Encrypted File Storage
I would argue that spaced repetition does work and it is based on repetition. That you can do that wrong by just 'browsing' over your learning material again and again, okay but i would still connect good learning with repetition.
As a lefty, with all the respect, everything that's written there is completely wrong, in fact mirror wrong
Que hacer si un niño te lo pide todogritando o llorando
espero apoyo,y poned omentarios,me ayuda
New World Order(book)
> Amazon's non-compete was the deciding factor for me not to join the company.

i would ask for, in advance of signing the non-compete (that lasts for X years) the equivalent of X year's of salary. I'm sure there's room to negotiate this so that the company has to pay out the approximate cost of a non-compete.
Remember him at high school programming olympiads, top place year after year (also on math olympiads and likely other competitions I'd have to recall), everybody admired him.
I like the one language thing. I think it's overrated a bit (most syntax mistakes I make are caught by linters) but it's nice.
However, it's still js. Lots of warts still. Also - for a normal web app I really don't see how async is a plus. I don't like promises or async that much, especially with so much db access - why would i want everything to go to an event loop?

It's a never ending discussion, I think all of these stacks are "good enough" to get the job done, a lot of it is how your brain ticks and what you're experienced with...
Visual studio code does #1 for me if I'm editing a file with a .md extension.

I don't think it's plugin related, but if it is it'd be one of the top search results.
My company runs a coding test, it's like "here are some interfaces we want a solution that detects Y and does Z". We don't compile or run the code that people submit. We're literally looking for if they ask the right questions, structure their design in anything like a sane way, and understand the fundamental restrictions of the technology we use.

Oh and that previous paragraph? That's how I explain our coding test, I'm very clear what our standards are.

>How can you possibly evaluate a test without predefined criteria for evaluating that makes the result good and what makes it bad?

If it's even a slightly reasonable solution it's a pass. It doesn't need to be "good" it just needs to not be terrible.

>Another down side to coding tests is that if the assessor knows less than you about some area of coding and sees something they don't recognise or understand, then they might well negatively view what in fact is a much better way of doing things.

A correct solution is acheivable in between 50-100 lines of code. If you do something I don't understand I can look it up. In fact, people have done things that I don't understand and looked up.

>And, much worse than anything else, you have a very tangible chance of spending 12 hours doing it and hearing nothing back at all.

Every candidate has a phone interview first and every candidate gets a response to the coding test. It's unusual to complete the test without e-mail back and forth with one of us for clarification (which is part of the test).

>And as for "Tic Tac Toe" as ANY sort of effective test topic,

First you wanted something that didn't take 12 hours, now you're complaining the test is too simple. You don't know what the company does, so how do you know the skills you need for a tictactoe solver aren't relevant?

>I did two coding tests in recent years ... in one, their feedback was "they didn't like it", and the other one I worked on for 12 hours because I believe in doing a good job and meeting the requirements, and I heard nothing at all back - not a single word.

Companies being bad at coding tests doesn't mean coding tests are bad. Companies are liable to ghost you at any point in the interview, that's nothing to do with a coding test.

Our interview process is on-site and normally takes 1/2 visits, it will involve probably 8 person-hours of our engineering time + management. So yes, we want to make sure that candidates are atleast vaguely able to solve practical problems before they come in.
This story sounds like beginning of Walking Dead just with different type of zombies out on streets.
This transition would be fun to watch. Mac has a huge legacy, enormous amounts of apps and sometimes it is embedded deeply in a lot of workflows that it would be very challenging to displace. Unlike the PowerPC -> Intel transition, this time round, Apple has the iOS ecosystem to tap into.

We'll probably still have 4-5 years before the Intel Macs are completely abandoned but then this is Apple we are talking about. For all intents and purposes, they might cut the umbilical cord in 6 months.

Adobe is probably the only company which can delay the complete transition for some time.

Edit - removed the line about electron. As others have pointed out, electron already runs on ARM.
If posix_spawn is a syscall, it would be a decent replacement.
Maybe it's that employees are some sort of cog about everywhere and test automation is also bad almost everywhere.
I've recently learned about exoframe as well, but haven't tried it yet. https://github.com/exoframejs/exoframe
Well that’s fine to show the number within WhatsApp but using the number in a widget is just asking for crawlers to get it.
> RED: Thinking like a Reddit commenter. (Glib, humorous oneliners)

You're being way too charitable to Reddit commenters.
Gonna write anything publicly about whatever you're working on? If I'm correct, you've already made Opaleye which is really great, I'd be interested to hear if you got a new Haskell project coming up.