skysight-inc/HackerNews huggingface dataset:
It's a question of ethics. Utilitarian ethics make it easy to give a formula for assessing this, whereas deontological ones (meaning rule-based, eg Kant's) state that don't do something you know is wrong, because the act itself has moral value, no matter the consequences.

Of course the fusion of consequentalist ethics with rule based ones have been proposed, and there is some data suggesting people do think like this. (Depending on the context we will either have strict rules or we'll become more analytical.)

War, weapons, violence, death/life, quality of life, are always nasty problems in terms of moral philosophy. What's worse, creating life and then taking other lives, or not creating any nor taking any? There's path dependence, sure, the arrow of time cannot be really ignored, and intent matters, and so on, yet we know humans always viewed war/fighting/conflict as a two sided thing. The just wars and the unjust ones.

So the question becomes what is justice? How to reconcile everyone's personal concept of justice?

John Rawls proposed fairness, and a very clever yet simple (even if maybe ultimately unworkable) method to determine what's fair: thought experiments that consider every possible life (a beggar's, a king's, and everything in between), and as people elaborate in what each one should do in various situations people's views should converge. (See reflective equilibrium.)

... and then there's virtue ethics too, which focuses on, kind of a personal best. Be excellent to each other. And this sounds like utilitarianism with an utility function that has already built in targets that clean up a lot of abstract nonsense from it and place a big emphasis on agency (and thus it kind of captures intent too - because it talks about the virtues and vices of agents' overall character too).

I hope that both does and doesn't answer your question. :)
it IS a popular thing, only here on hacker news I've read at least 10 articles on this issue, i.e. that US is wasting money on health.
I came across a similar thing in the 90s; one department had an expensive piece of equipment with a three year lifespan.

They weren't allowed to amortise that, and any budget increase every three years would have been denied, so they had to include the whole replacement cost in every budget, and find ways of spending that money every year, or lose it.
it's interesting that you see a value in psychedelics but have not personally tried it. May I ask why?
Money is too dangerous of an idea for school
But you could set up your own file-serving node and then data transfer to end-user Colab instances would be free, right? ("Free" — costing only as much your CDN costs for 360TB/day, which is still quite pricey, I think, but not as much as $10K/day. I.e. Google wouldn't charge you for data transfer here.)
Kinda unfair since it's 1000x easier to get started with GraphQL than Datalog.

> I'm sure they exist out in the wild, but personally I haven't seen a project where GraphQL really shines through.

Look into how Gatsby.js uses GraphQL. You can query data from markdown files, configuration files (JSON) and resize images by specifying it in a query.
Vim and Emacs have a bunch of features that you won't find on editors like VS Code. VS Code has some features you won't find on Vim and Emacs.

One of the great advantages of these "old-school" text editors is the extent to which they can be customized. This is even more true about Emacs, which is mainly written in its own "scripting" language. Almost everything on Emacs is exposed to the user during runtime. It's very easy to make both temporary and permanent changes. Emacs is self-documenting: there are handy commands to find keybindings, variables, and functions definitions. If this is not good enough, you can go straight to the source code and redefine whatever you want. You just need to evaluate the code for it to become available at runtime: no reboot necessary. Once you get used to this level of freedom, it's hard to get used to other platforms.

One thing I'd like to point out is that, even though Vim and Emacs are old, this doesn't mean they're stuck in time. They are constantly updated to support all the current technologies that people might associate with newer text editors like Atom and VS Code.
To build on this point, even the discussions which aren’t literally US politics are predominantly incredibly negative. To a degree that’s the internet these days, but Reddit exhibits it quite strongly.
I appreciate that the author is trying to illustrate something with an intentionally contrived example, but there is really no need for "await" in his "chain()" function:

function chain () {
(function loop (i) {
if (i > 5) {
// set state to failed
return;
}

check().then((result) => {
if (!result) {
return loop(i + 1);
}

// set state to finished

}).catch((error) => {
// set state to failed
});
}(0));
}

This is one of my pet peeve with proponents of promises actually. They come up with convoluted examples to argue against callbacks but it's not the callbacks that are a problem, but the person writing the code.

Actually, I would argue that promises really made no sense until "await" became available because they introduce extra complexity and (small) performance penalty for no added benefit. Worse, it encourages less experienced developers to write code in a serial manner in situations where this is not necessary (a much bigger performance problem).

Even with "await", the only time when it is really useful is when there have to be a several asynchronous operations that must happen serially because they use the result of the previous call. It depends on your field of work, of course, but in my experience these situations are really not that common.

Some time ago I wrote an article comparing performance of callbacks vs async/await but it is also an example to show that callback code does not have to be more tedious to write:

https://gir.me.uk/posts/node-8-async-await-performance-test....
You're right this sounds like a bad essay.
> * Vehicle physics are punishing and you cannot press a button to "fix" them. If you crash that jeep, it's done.

You could repair vehicles, but you had to exit the vehicle, go in front and play an long-ish animation. And it even then vehicles couldn't be endlessly repaired.

You've also forgotten the malaria pills you had to take, the fire which will spread in all directions, how all weapons ended up breaking (and weapons taken from enemies were much lower quality), how your pals could die saving you(and you would be able to finish them with morphine) (and even then you had to kill the survivors at the end) and on console, being able to save only in safe houses (it really diminished the tension of my playthrough on PC when I realized that I could save anywhere). Also it's quite unique compared to the other Far Cry is that there's no character progression (except weapon unlocks), the PC is the same 1 hour in to the end.

Still a good game, but not necessarly as fun as the other Far Cry (Blood Dragon being the best in that regard IMO)
Show HN: Beating the Optimal Stopping Rule with Game Specific Knowledge
To be clear, there are many other statically types languages besides Haskell, most of which are more amenable to a faster pace of development.

Further, while I agree with your “different matrixes of payout”, I think static types are a very low investment and they have a respectable payout in terms of preventing bugs but also in terms of documenting code and facilitating tooling (such as autocomplete or documentation generation) and they also permit easier code changes than comprehensive unit testing (even “good” unit testing). Of course, I’m not advocating that static types completely obviate tests; rather that they obviate some of the tests; however, there is no clear answer as to how many or which tests are obviated; it’s very circumstantial.
A simple websearch yields following:

https://www.wireguard.com/performance/

https://an.undulating.space/post/181227-er_alternate_firmwar...

...and more. Put some minimum effort in yourself, man!
They don't solve any dependency management problems.
Donald Knuth – “Pi and the Art of Computer Programming” (2019)
It looks nice, but as far as I can tell it is not functional on mobile. For those animations that require dragging, it ends up moving both the object and the page, not a desirable effect.
why would you want such a connection? It seems a useless waste of bandwidth if you keep it on while blurred? Wouldn't it make more sense to enable video when needed and leave it disabled when not needed? What exactly would be the purpose or benefit of this blurred video?
Part of the design consideration here should be limiting SPOFs like this and creating bounded isolated components which interact with their own persistence layer.

If you're in a traditional three tier architecture you might run into your database being overloaded by the autoscaling behavior but this is fundamentally a provisioning problem. These problems are better served in models that are scalable.

Your suggestion to by a (necessarily overprovisioned) on prem database server is cost inefficient, degrades in value over time, and is effectively a lock in.

Embracing eventual consistency is not that scary!
Its based on experience and a general consensus among the most experienced developers I know. The research isn’t remotely conclusive; it’s not worth anything until they control for much, much more.
This looks rather like an advertisement with dodgy links to buy the product so I'm not sure I'd trust the "review".
Also compared to 3, you start already as a murder machine, you don't have that slow progression before being able to fight and fight well.
Take some rest man. Accidents happen for a reason. Fatigue is one of the most common ones.
Yesterday there was this post titled Show HN: Learn When to Quit [0], and in the comments people were talking about how you could perform better in that game because of knowledge about the distribution of the numbers in the game.

In the spirit of the original post I decided to throw a little simulation together and put that claim to the test.

Page source for my simulation is on GitHub [1].

[0]: https://news.ycombinator.com/item?id=21701124#21732695

[1]: https://github.com/ctsrc/simulated-victor-game
And how do you accurately measure 'brightness' without a standardized test, pray tell?
it's a redpill thing.
Cutting out processed carbs, staying active, and fasting has had the greatest impact on my cognition. The best part is it’s sustainable! I can keep going day after day. Caffeine and nicotine give minor boosts but quickly become liabilities rather than enhancers.
What a racket. Low density article that focuses more on selling the idea of spending hundreds of dollars on stylish glasses than it does science. “Colored lenses are new”. No they are not. You can get these for $5 at any gas station or convenience store. Absurd.
Should you have to do that though?
IntercalScript: A Systems Programming Language for the Web
No I don't. I use Debian derivatives because I can apt get all my stuff without thinking hard, because those package maintainers have done the hard work.
Does this mean WireGuard will be moving to stable?

My VPN provider has said they won't support WireGuard until it hits 1.0
Layla+Mattress+Savings+$150+Off
Well...not so much that second to last sentence. Yes, they had the same MS-Basic core, but each manufacturer added additional features (and took away some as well), so that a BASIC program from a C64 couldn't run on an Atari or an Apple without some serious rewriting.
Wyze Surveillance Monitor Using Raspberry Pi
Good thing companies don’t have money people do. This is like saying “governments have money”. No, no they don’t. It’s citizenry does.
Space shuttle software is written in C, and lots of critical software is written in C++. Discipline, standards, and experience go a long way. Static verification is also nice.
If anyone wants to hear about how the Serverless Framework is being used to power a RESTful API for a project, I just put out a podcast episode today where I talked with someone running it in production on AWS.

We went into the details on how a bunch of different Serverless tools and services come together on AWS to serve a RESTful API. The episode covers the development process, the deployment process, pros and cons of Serverless, prices and many other topics around running a Serverless stack with Golang.

That's at: https://runninginproduction.com/podcast/6-qvault-is-an-open-...

There's also descriptive clickable time stamps every 30-60 seconds out of the 55 minute show so if you want to skim around, go for it!
New Moon Calendar and Solar Eclipses in 2020
I got my computer glasses prescription in "Digital enhanced" format, for which I payed an extra steep price, and I felt that I've been oversold.

What that does is actually adding a subtle yellow tint to the glass and anti-reflection coating.

The single best eye wear-related decision this year - so good that I headed back and got myself a backup pair. My eyes are so much better rested after staring at a screen 8h+ a day, even if I used redshift to reduce the blue tint. Also I fall asleep so much quicker and I sleep better, and I credit the glasses for much of the improvement.
> This currently shows no sign of happening. What do you expect to change such that this happens?

Just natural turnover. I expect GCC to struggle to attract new developers. When it was clearly best open-source optimizer there was a certain cachet to it, but now all the advantages are with LLVM.

> Do you have any logic behind your thinking beyond the fact that they're two pieces of software that do similar tasks?

Apple in particular are documented as having tested the limits of GCC's licensing before funding work on LLVM; I believe other corporate contributors have made comments along the same lines.
No, I'm referring to that PPA, which includes the error-prone DKMS stuff. I'm glad it worked for you. Indeed we've put a lot of effort into ensuring that our DKMS stuff mostly _does_ work properly. Sometimes it doesn't though, and then it's a huge hassle. It's this hassle, for people less lucky than yourself with DKMS, that will go away with Linux 5.6.
I think you're drawing a slightly wrong conclusion. The point is not that the US system is actually nearly as good as others, the point is that other factors make it look much worse than it is (as far as the metric of life expectancy is concerned).

If those other factors were corrected, the comparison could be made fairly. Maybe it would turn out to be good enough, and maybe it would not.

> That is to say, a socialized healthcare system with the same spending is unlikely to provide any improvements in life expectancy.

Few countries actually have a wholly socialized healthcare _system._ The UK and Canada do, but it's a completely different stories in other developed countries. In France the health insurance system is mostly socialized, while delivery (doctors, pharmacies, hospitals ...) is mostly though not entirely private. In Switzerland and Germany, if I remember correctly, insurers are private but operating similarly to utilities in the US, i.e. within strict government guidelines.
Yes, and better precision is how you get that, especially with the targets deliberately using said innocents as shields.
You're forgetting specifics here and the amount of hardware resources thrown into it. I've already told that I am not discussing here FB/Google/Amazon scale stuff. It is their problem and not shared by more regular deployments
the arguments against cognitive enhancement being easy:
- https://www.gwern.net/Drug-heuristics
Yes. A 1.0 is now on the horizon.
Sentiment analysis for the crypto markets (open sourced)
The profiler is nice but Atom was still too slow for my tastes. Then I found Sublime and plugins to replicate my Atom customization. I cannot go back to that.

For apps like Slack, I’m perfectly content with Electron.
Much appreciated, I kind of got what triska meant (didn't realize they were a contributor to that project), I just wanted to highlight that this is a real barrier for adoption of these alternative stacks. I find this interesting enough to spend more than those 10 minutes when I have time, sure. It's just that a random dev on the search for some component to solve something in their stack likely wont.

Just gave the SWI implementation a try and that was honestly a much better experience and I could immediately jump on their getting started guides to get a feel. Thanks for the pointers as well, I've got a few colleagues that actively use prolog but good to see that there's an active community out there.

> EDIT: "halt." should work at any Prolog prompt. The "." is a statement terminator. You probably didn't get anything after "halt return" because you missed the dot.

Whoops. Yup, I think I might have, I was under the impression that dot in the documentation was the sentence delimiter.

(And btw, my bad about the Perl comment, I just realized when setting up the SWI one that they seem to share a file extension with Perl.)
First AI-powered Lego-sorting machine, eh? jacquesm@ would like to have a word with you.

http://jacquesmattheij.com/sorting-two-metric-tons-of-lego/
That's quite a negative view of the situation. The debian maintainers definitely don't insist that everything has to do things the apt-way. They only insist that packages for the official repos do so, which seems sensible enough to me. Everyone is still free to build their own deb packages or distribute their applications through install scripts or app images or any one of a hundred thousand different ways to distribute programs.

But if you want a package in the official repos you have to play by the rules they set, the primary one being that official packages ought to only depend on official packages. It'd simply be impossible to have any guarantees about the quality of a package otherwise.
Autoscaling is a very particular solution to a very particular problem. Being a startup is like trying to make a hit record: everyone wants to become an overnight success. Nobody wants to be an overnight success and then have to turn customers away, or give out a bad impression because their site can't cope.

So a lot of effort goes into producing a site that could be "Facebook scale" if it became necessary. Although since this is difficult (and expensive!) to test, it's likely that some panicked manual intervention will be required if it does take off.

It's really worth asking "what is the cost of scaling" next to "what is the cost of NOT scaling, and what are the chances of it happening?". Is your organisation even able to benefit from rapid scaling - would it be profitable? Or are you going to end up like that luggage company screaming at its customer service reps to work dozens of hours a day?

If your cloud hosting cost goes from free-tier to $100,000/month in one month, and it's real traffic, is your business actually going to be able to pay that invoice?

Is the static overhead of scalability better for your use case than what a normal PC is capable of, which these days can be quite a lot: https://adamdrake.com/command-line-tools-can-be-235x-faster-...

(Been thinking about this since I mentioned the SRCF earlier, which was a single-server host for years: https://news.ycombinator.com/item?id=21741789 )
Yeah, good intro. The problem is that most companies still use the rather meaningless "last click attribution" method and see that social media does not yield results while most people convert through search.

Without discovery on social media the whole customer journey you ideally measure will not even start though. The actual search for the product that comes at the end won't happen that way either.
18yo JS/Ruby/Go dev here. `make` is certainly known to us; it's just that platform-specific build systems (`mage` for Go, `rake` for Ruby, `gulp` for JS etc.) are simply more sane to set up per languages than using `make` for all languages and allows for efficient code reuse.
Oooh, sneaky opening for a moral debate.

Is anything in the universe worthy of moral consideration, absent of life?
I've had some preliminary discussions with EFF.

There's a listing of online privacy and rights foundations I've compiled here:

https://social.antefriguserat.de/index.php/Privacy_and_Elect...

Many are mostly dead. Which may mean partly alive.

(That Wiki in general might best be merged with AT's efforts. I'm the principle editor.)
Animated videos advance adoption of agriculture techniques
I'm taking it you've never been to subs like /r/vandwellers where it's all

"what do you do for a washing machine"

"what do you do for internet"

"what do you do for heating"

"what do you do for air conditioning"

"what is your toilet setup"

"what do you cook on"

"what sort of PV system do you have"
> This is one of my pet peeve with proponents of promises actually. They come up with convoluted examples to argue against callbacks but it's not the callbacks that are a problem, but the person writing the code.

While I agree the author’s examples are convoluted, the async-await code is much easier to read, write, and validate. Why bother tracking state and having to keep tracking of JS lexical scoping when you can write "boring" code that will be just as fast for the tiny iteration counts you'll be dealing with?

> Even with "await", the only time when it is really useful is when there have to be a several asynchronous operations that must happen serially because they use the result of the previous call. It depends on your field of work, but in my experience these situations are really no that common.

Concurrent tasks are more pleasant with await as you can combine it with Promise.all(...) to get efficiency and legibility:

async function doStuff() {
// Fetch things concurrently
const [
foos,
bars,
bazs,
] = await Promise.all([
getFoos(),
getBars(),
getBazs(),
]);
// Do stuff with them...
}
I find it amazing on how far we are, how "small" the Sun is, and how much energy we get from it at such distance. It's really incredible how much energy it produces.
I haven't tried microdosing but am all for nootropics to help increase mental acuity and focus.

At the same time I so agree with the author's statement that 'The perspective I’m advancing calls for first exhausting “analog” means to achieve mind-expansion before pursuing either pills or processors or both in combination.' - if your diet is crap, your exercise is nonexistent, you get no sleep, no nootropic concoction is going to make up for that.

As for employer-mandated enhancers - what follows is a very initial stream of thoughts at the idea, not something well thought-through at all. This article made me consider this for the first time. I can see the risk. At the same time there are so many other methods of mental improvement employers could be mandating today. Sure, none may be a "magic pill", but there are things proven to improve or deteriorate our performance at work. Sleep being one of them. Yet not once has an employer attempted to track and mandate a certain number of sleep hours to me. Not once have I had an employer force me to take up exercise. Having said that my employer does subsidize gym memberships so we are encouraged to stay active, so maybe this is a counter-example; maybe if a magical brain pill existed the way an employer would get you on it is by simply sponsoring it for their employees.