skysight-inc/HackerNews huggingface dataset:
I think you mean the American psychiatric industry, rather than psychological industry.

DSM is produced by both, but the over-medication of America is 100% driven by the psychiatrists (as they can actually prescribe drugs).
The google colab version is not really real-time, is that correct? It loads pre-recorded video. I guess that is because it is not easy to add realtime feed from camera into browser notebook or what are the limitations there?
i always find it 'perverse' to start up a whole async event loop for a tool that then transforms a csv or does some other single task :-)

also portability quite sucks. if you use features that my node version doesn't support, i screwed.

with go (or C, Rust...), I just compile and distribute the binaries.
look for instance how easy it is to install nomad.
Twenty five richest billionaires gained nearly USD$225B in two months
Alright, fair point about the analogy. Still, we generally believe (perhaps incorrectly…) that people can change their minds, so I'll stick by it.

Regarding feeling good: yeah, that's a problem, and that makes it harder, no argument from me. The point I thought GGP was making (likely incorrectly; see my response to their response) was that you can't persuade people out of "genuine differences in priorities", which I think is untrue.
If only people with symptoms are being tested, and 80% of people are asymptomatic, how are we not drastically overestimating fatality rate?
But of course! Every company should have a VP of Integrity, especially Facebook. Creating the impression of trustworthiness while profiting from lies is important at any company. At Facebook it’s the core business.
Thankfully there are almost two hundred sides from which to choose. Il faut de tout pour faire un monde. Nie mój cyrk, nie moje malpy.
The moral thing to do is to ask whether someone in their 20's would choose to lock down for a few months in order to slightly reduce the risk of dying in their 80's. I think we all know the answer to that. It is only a dilemma of the person would choose to do it for themselves but not others, the current measures would not be done by almost anyone for themselves.
Yah, think I misremembered that - I think it was because they were worried people wouldn't maintain the masks well and bacteria would grow.
Can COVID19 contact-tracing apps guarantee data privacy?
This discussion reminds me of a scene in The Twelve Tasks of Asterix where he is about to race the best Olympic runner in the world, and he jokes that they also have races in their village but it's not that exciting because everyone drinks the magic potion, so they all finish at the same time and have the winner be decided by lottery. Guess that's another (slightly unsatisfying) hypothetical solution to the problem ;). Useful as a thought experiment though

https://www.youtube.com/watch?v=qHCPot1j0ug&t=14m30s
I am surprised too. It is easy to talk to the devs about issues and also the documentation is good.

There are some rough spots here and there but all in all I am really baffled why you don't see more use of it. I use it in C++ for all my GUIs.
You should be praying to science. Last time he decided to make a full wipe, that god made a single backup (!), put it on a boat made by an amateur and then even forgot about it. I would trust him my data as much as the next google storage product.
Show HN: Embark – A learning and career development tool for teams
Conspiracy? Please. One example: two hour-long interviews of John Ioannidis from March and April have been removed by YT a few days ago. And he is very careful with picking words and stating opinions. But he happened to foretell (based on reasearch that he was doing at the time) the mortality rate comparable to seasonal flu when everyone was talking about 1-7%. My point is that if you give even slightest attention to alternative info sources, then you may clearly see, that COVID is 90% a political/economic issue.
How to Autoscale Kubernetes Pods with Keda
If I'm not mistaken, the amount you download when updating from a previous version is significantly less than a full installer image.
Still far from Microsoft Visual Studio update, which renamed VSO into Azure DevOps, and required 1.2GB download basically just for that.
I think it's different in this case .... essentially that 8k is split up among a bunch of smaller screens that are then displayed as layers (this is a very simplified description) - the actual effective screen is much smaller than 8k
Binary patching hasn't been a thing for years unfortunately.

Even bigger wreck on consoles these days, where an update can be 50+ gigabytes...
I actually built auth directly into Postgres similar to this: https://github.com/sander-io/hasura-jwt-auth (not sure if this is the best idea, but it works well)

For business logic you can trigger (Events) webhooks to any service or stack of your choice or use GraphQL schema stitching. And now there's a new Actins feature as well.
nhost.io basically does this. it packages Hasura with its own auth backend, as well as an S3 compatible storage backend. They're adding lambda functions soon.

Effectively a firebase alternative using open source tech

https://www.nhost.io
I unfortunately don’t have a link on it but this is mainly because active recall is far better than just passive review for memory effect. Memories are like muscles: the more you struggle (without actually failing) the stronger the memory gets. Reading isn’t a struggle so the memories stay weak, paraphrasing and notes are thus much better or strengthening recall. SRS can take you a level higher than that and guarantee much longer term recall via repeated active recall
> About a third continue to maintain that, say, a^2 + b^2 = (a+b)^2

...and I bet, their justification is "It looks right!" or "Why not?" I've seen this, too.

A friend of mine had a habit of cancelling sums, such as (a+c)/(b+c) = a/b. Why? Because it looks right, and why not? And it isn't so different from (ac)/(bc) = a/b, is it? Of course, she never asked why a certain manipulation is legal. Arithmetic manipulation is legal because the teacher said so.

I suspect, this isn't a property of their personality; rather it's a failure of their math teachers to convey the idea, that everything has a reason, and if you don't know the reason why some manipulation would be allowed, it very likely isn't. By the time you tried to teach exponentiation to these students, the damage was long done.
Hello an other alternative is https://libreops.cc/radicaldns.html . They also offer DNS over https and TLS https://libredns.gr/
Hi HN!

I created a tool for team leaders to help structure learning and career development in their teams.

After using various simple (either email or simple forms) insights tools that aim to understand the company, measure employee happiness and so on, I thought to take an approach that mixes in some of these techniques into career development and learning after having some less than ideal experiences myself.

If you are working at a company that has really solid processes or tools in place then great! However, what I have noticed is that smaller companies tend to have less of these.

I trialed some of the ideas using google docs with my team to see how it could work in practice and based on those learnings created this tool. There’s plenty more to be added but first, more validation.

I’m curious to hear what your experiences are with regard to career development and learning.
What has been great?
What have you felt you lacked?
Is there something you wish you had, looking back?
That strategy worked really well for Sun Microsystems.
We’re particularly nuts if you want the short answer.
Today Was a Good Day: The Daily Life of Software Developers (2019) [pdf]
I can't agree more with your "we don't have standard UI primitives" and "every major website is expected to have a team of world class designers" comments. I have been migrating a site from an old to a new shop system and the amount of work for simply displaying product data, options and choosing something to buy is insane. I really believe we've lost something from the RAD era.
Heart Rate to Lab-Grade Sleep Staging API
In many cases stdio takes like 90% overall, because it's so slow. You have to compare IO bound to CPU bound. CPU bound problems are extremely rare, but they do exist.
> Minimize means reducing the amount as much as possible while still satisfying other parameters of your equation.

> basically a question of what parameter gets what valence in the whole objective function

You're splitting extremely fine hairs there, your difference between minimize and optimize seems to be not much more than how much you like a term "satisfying other parameters of your equation".

>Minimize means reducing the amount as much as possible while still satisfying other parameters of your equation.

You have to stop after "as much as possible". Adding a "while still" makes it optimization, your value judgment doesn't get to determine what does and does not fit inside the "while still" of minimize.

Once somebody calls me out for a logical fallacy based on their own difficult to understand definitions of seemingly common words... if that can't be resolved there really isn't a point in continuing, it's not like we could really communicate anything much less make arguments if we can't agree what minimize means.
A month long conference is a neat concept
This is a misconception. Hasura doesn’t depend on serverless functions for doing business logic.

If you are comfortable writing GraphQL, you can add your own custom GraphQL server to Hasura for business logic.

If you are comfortable with REST APIs (or something that already exists), you can use Hasura Actions to define GraphQL types and call your REST endpoint to perform business logic.

Now where this server is hosted is totally upto the user. It can be serverless functions or can be a monolith server (in language of choice) hosted anywhere.

Hasura just needs the endpoint :)
There is a very beautiful way to do it using much less memory.

You need O(sqrt(n)/log(n)) memory, not O(n), if you keep track of the list of primes found so far, and a fixed-size interval over which you sieve: [1, k], [k+1, 2k], [2k+1, 3k], ...

Now, for the beautiful part, if you skip multiples of 2, 3 and 5, and work in blocks of 2 * 3 * 5 = 30 numbers, you only need to sieve {1, 7, 11, 13, 17, 19, 23, 29} + i*30. 8 booleans, that happen to fit in 1 byte. So 1 byte = 1 interval of 30 numbers.

Next, you can unroll the sieving loop, but no compiler will do this for you, you have to do it by hand. This allows you to sieve up to 8 multiples per iteration.

I have an implementation of it in Julia here: https://github.com/haampie/FastPrimeSieve.jl which was influenced by https://github.com/kimwalisch/primesieve.
The actual source code (android only, for now) is hosted on GitHub: https://github.com/nic-delhi/AarogyaSetu_Android
in addition to @kiwicopple's response, you can also:

- use the js lib - https://supabase.io/docs/library/get

- use your RESTful and Realtime endpoints directly - e.g. <my-app>.supabase.co/rest/v1/users?select=first_name,age

- or even just connect to the db directly using your favorite SQL tools/ORM
I love the way people who consider themselves smart rationalize their lack of success/wealth, including here.

- I don't want to be wealthy anyway

- To be wealthy you have to be ruthless and I prefer to be nice

- smart people are so busy with issues much more important than money

- wealthy people are just lucky idiots

- wealthy people are just idiots who are better at exploiting other idiots

- people who are wealthy spend their lives chasing wealth instead of enjoying it

It's sad that people refuse to acknowledge that assuming responsibility for one's own or even their family's lives means to take care of every aspect of it, including financial issues. If you are "too busy" to take care of your finances to the best of your abilities, you are incompetent and not in control of your life.
I do. I rarely need to take it anywhere.
I have an account, they're using my first name to directly target me (which is making me incredibly uncomfortable), and they're telling me I ran out of free articles this month and are asking me to upgrade.
You can have 2GB array of 2GB arrays if you’d like. But, having a single contiguous huge block is only one scenario for 64-bit, not the only one. I doubt it’s the most common one either.
.NET has had lot of innovation, AOT was there since the beginning via NGEN, although there was never a big investment in its optimizing capabilities.

Then there was Axum, Cω, Phoenix Compiler (LLVM like in .NET), Singularity, Midori, Rosylin, MDIL, .NET Native.

GraalVM goes back to MaximeVM and JikesRVM, so JIT in Java is also quite old.

What all these projects need is the money and political willigness to keep driving them forward, and here is probably the main issue with some .NET research projects, because since the begging Windows Development (which kind of owns the C and C++ story) teams aren't that willing into having too much .NET on their turf.
Shortcuts and insightful tricks should of course be encouraged, but learning a standard way of translating assignments into a basic arithmetic reduction would support the notion that it is all numbers of the same kind which can be handled with the same basic operations:

20% more than 70 =
70 + 20% of 70 =
70 + 20/100*70 =
70 + 20*70/100 =
70 + 1400/100 =
70 + 14 = 84

30% less than 1/5 =
1/5 - 30% of 1/5 =
1/5 - 30/100*1/5 =
1/5 - 30*1/100/5 =
1/5 - 30/(100*5) =
1/5 - 30/500 =
100/500 - 30/500 =
(100 - 30)/500 =
70/500 = 7/50 = 14/100 = 0.14

10% more than 3.4 =
3.4 + 10% of 3.4 =
3.4 + 10/100*3.4 =
3.4 + 10*3.4/100 =
3.4 + 34/100 =
3.4 + 0.34 = 3.73
> more transparent

TBH no matter how transparent China is you won't trust it until it turns out to be what you believe.

> actively prevented Taiwan from joining the WHO

Every WHO member can formally invite Taiwan and cast a vote, why didn't any five-eyes nation do that?

> does not do anything for free

I agree. It's simply ruthless geopolitics no matter how angelic a country pretends to be.
I've created my own flash card software that haves each deck in Markdown (the writing of the notes are as important as the study) and predicts when the deck will have been learned (for goal setting and motivation).

Anyway you have some really great ideas. Mind if I have a look at your solution?
I trust my ISP (Swiss) much more, than any privately owned VPN-Company outside Switzerland or Iceland.
New Cortex-A78 and Cortex-X1: An Efficiency and Performance Divergence
I do think people who read a lot can read faster simply because sentences and subjects look similar to things they've read before. I mean if you read three Steve Jobs biographies in a row you can skim read some segments that look familiar, just scan for things that are new / told differently.

I can't read books fast because I don't read enough. Not books anyway, comments on the internet on the other hand, far too many. But I skim / skip / don't retain most of them.
> I feel like YouTube is doing their best with a really hard problem

Two aspects of the problems are very easy: first, the automated parts of the review system can be marked as such. Automated emails can trivially be signed "You Tube Bot" or something (such signalling should perhaps be mandated by law). Second, when a video has been reviewed and found "not guilty" once, it can be marked as such, and past reviews recorded. Preventing automated takedowns for the same reason, or requiring stronger reviews, is trivial (though more costly for the videos that do end up being re-reviewed).

They may have other reasons not to pluck those two low hanging fruits, but difficulty is probably not one of them.
I maintain a modified compiler (https://github.com/kstenerud/go/blob/master/README.md#the-go...) that can issue warnings instead for unused things.

I use it as my daily driver for go development.

main.go:

package main

import "fmt"

func main() {
var start int = 1

breakOuter:
// for x := start; x < 10; x++ {
for x := 3; x < 10; x++ {
for y := 0; y < 10; y++ {
result := y * 10 + x
// fmt.Printf("Result: %d\n", result)
// if result == 42 {
// fmt.Printf("Breaking")
// break breakOuter
// }
}
}
}

Building:

$ go build
# example
./main.go:3:8: imported and not used: "fmt"
./main.go:8:5: label breakOuter defined and not used
(compilation fails)

$ go build -gcflags=-warnunused
# example
./main.go:8:5: Warning: label breakOuter defined and not used
./main.go:3:8: Warning: imported and not used: "fmt"
./main.go:6:9: Warning: start declared and not used
./main.go:12:13: Warning: result declared and not used
(compilation succeeds)
You may be interested in watching Robert Lustig's lectures.
Five job focus and soft skills people have picked on MuchSkills
I think Fish shell "abbreviations" [1] are more suitable for interactive demos than standard Bash/Zsh aliases. Basically, instead of e.g. `gc` meaning `git commit` (alias), `gc` can be expanded to `git commit` (abbr), so you can save typing but still show the actual command.

Modern versions of Fish has both abbreviations and aliases. Personally, I prefer aliases for providing default arguments to commands (e.g. turning on colorized output), but prefer abbreviations for timesavers like the `gc` above.

[1]: https://fishshell.com/docs/current/cmds/abbr.html
[Supabase cofounder]

Firebase is really only bad if/when you decide to move - usually because of scaling/performance issues. For example, you can only query one document per-second. Once you decide to migrate away, it's very painful - but the truth is all migrations are painful.

This is one of the reasons we chose postgres. If you want to migrate away, you can just "take your database" with you. PG can scale with the best of them.

Edit: I said "you can only query one document per-second" but this is supposed to be "you can only query each document once per-second". Sorry!
Given that this is the perfect display to watch porn, maybe they tried to get ahead of the game with their "artsy" approach by showcasing other good use cases like design, science and art.
How Linux pipes work under the hood
Why would I dive into Go in the first place?
The UK has had mail voting for years. It works very well. Your ballot is marked with a unique reference vote. Once you mark the ballot, you fold and seal it, then put it into another envelope that also comes with the ballot.
Alphabet could pay for proper customer service, though. It's not as if they're doing badly. Come on, 40b in revenue and nearly 7b profit last quarter [0]. Unfortunately it won't happen unless they're forced to.

[0] https://www.bangkokpost.com/world/1909764/alphabet-google-pr...
Sorry for derailing the thread, but would love to read how you make the lenticular prints.
I found their webpage for their database! It's not 1 database record = 1 voter, they are listing cases of election abusers, often multiple criminal defendants in a single record, with multiple felonies and multiple votes per record.

https://www.heritage.org/voterfraud

Here's one entry for the state of Pennsylvania:
"According to Wild Acres Property Manager Robert Depaolis, Cowher approached him and asked him to provide Cowher with ballots that were due to be mailed to property owners in the community who seldom voted, for the express purpose of filling out those ballots and guaranteeing victory for Cowher's preferred Board of Directors candidates. Depaolis went to the state police, who surveilled a meeting where Depaolis handed over the ballots, catching Cowher in the act of filling out the mail-in ballots. He was arrested and subsequently convicted on 217 counts, including forgery, identity theft, and criminal conspiracy. His accomplice, Kupershmidt, was found guilty on 190 counts."
People are finding it impossible to discuss this rationally. If you try to disagree with the seriousness of this and even insinuate that the response is incorrect you are demonized even if you back it up with data.

The data from Sweden and regions opening up their economies are starting to show that there are is no exponential explosion of coronavirus cases like predicted, no hospitals are being overwhelmed.

The data is starting to show and will continue to show as time marches... that quarantine was potentially ineffective, the fatality rate was extremely inflated, and flattening the curve was potentially a mistaken theory.
ERP Software Provider for Valve Industry
Oh boy, you're spoiled by Linux.
Team's lack of hierarchy is stopping you from growing
Everyone wants a flat team structure... until they don't.

- It's harder to hire the best people into roles that don't sound senior
- It's harder to make your existing team feel like they're growing.

That means your bucket is not only harder to fill with new people, but is leaking from all the folks looking for new titles elsewhere.

Time to add some hierarchy!
> Criticism and scrutiny are always welcome

Genuine question here.

We have entered an era in which non-state actors like Facebook have power that was once the exclusive domain of governments [1]. Facebook understands this, and justifiably views itself as a quasi-government [2].

I would really like to understand Facebook’s theory of governance. If I want to understand my own government, I can read the Federalist papers. These documents articulate an understanding of history and a positive view of the appropriate role of government in society. I can use these documents to help myself evaluate a particular government action in light of the purpose of government and the risks inherent in concentrated power.

Has Facebook published something like this? I struggle to understand Facebook’s internal view of it’s role in society and its concept of what “doing the right thing” means. Without some clear statement of governing principles, people will naturally gravitate to the view that Facebook is a cynical and sometimes petty [3] profit maximizer.

Without some statement of purpose and principles, it is hard to level criticism in a way that Facebook will find helpful or actionable. We are left to speculate about Facebook's intentions, instead of arguing that a certain outcome is inconsistent with its stated purpose.

[1] https://www.cfr.org/blog/blurred-lines-between-state-and-non...

[2] https://www.vox.com/the-big-idea/2018/4/9/17214752/zuckerber...

[3] https://www.cnbc.com/2019/02/14/facebooks-security-team-trac...
But keep in mind antidepressants aren't a panacea and can even make things worse. My girlfriend has tried medication like antidepressants and anti conception, but basically anything that changes her brain chemistry sent her spiraling down even more.

Turns out she has ADHD and that class of medication is much better at stabilizing her mood.
There's a fundamental mismatch between how consumers value ads shown to them and how advertising platforms value the ads.

Suppose there is a $100 product that produces $110 worth of value for a specific person and costs $50 to produce and deliver to them. To use economics terms, there's a $10 consumer surplus here, and a $50 producer surplus. The consumer willingness to see the ad is proportional to the consumer surplus, while the producer's willingness to pay for ad placement is proportional to producer surplus.

This is a fundamental divergence in interests; because the ad networks are paid by producers, they'll serve the ads that tend to make ad buyers the most money, not the ads that best enrich the viewers' lives.
The link isn’t loading for me. I also don’t really see how that matters if your cue is inherent to the situation in which you will use the information. To use a real life example, returning to a place you haven’t been in twenty years still conjures up hidden memories.

You can also make multiple cards/cues for the same information.
Intel Core I9-10900K Delidding Shows Benefits of Direct Die Cooling