skysight-inc/HackerNews huggingface dataset:
> What they want — at least in the experience I’ve had so far — is for you to have some kind of insight into the problem that allows you to solve it in a more efficient way.

On top of that they want you to come up with the optimal solution on the first try, which is unrealistic and a poor judgement of programmer competency. Why? Because the answers can found anywhere on the internet.

Even if you succeed with just memorising and having some understanding of these solutions, the interviewers will still accuse you of cheating. To be frank, these challenges are best suited for coding competitions and using them for interviews is pointless. It can be the most efficient solution created in less than a minute but if its unreadable to the team, then its a 'write-only magic solution' which is useless to everyone.

Instead, a showcase of selected open-source projects or a link to some contributions is more of a realistic way of hiring potential candidates and will give a better sense of some choices on design patterns, code quality, code review comments etc, which any 'developer' can do. For example, the author is the creator of NetNewsWire [0] which is open source and can be freely reviewed on GitHub. I have no doubt that showing that alone is a reason to bypass 'coding challenges' to go straight into the onsite interview. You can't cheat with this if either you're not on the AUTHORS file or your name/email isn't in commits or file header in the original repository.

So, these coding challenges are hardly useful for assessing code quality in a team but only serve as a filter for competitive programmers who risk sending unreadable excellent solutions that only they can read but would be difficult to refactor for others; hence write-only code.

[0] https://github.com/Ranchero-Software/NetNewsWire/blob/master...
Oh, this is great! Thanks!
Do you have examples of this? Perhaps they could be clarified in errata, or future versions.
I fall under this bucket - Twitter is a platform that has always been hostile to nuanced discussion because of its history with length restriction of posts. At that point, I rather use anything else for discussion on ideas/domains.
I guess you'd have stuff colliding in mid-air and crashing to the ground, but it did occur to me that just launching stuff into the air with very precise cannons and catching it in nets would be far cheaper than a system of tubes.

Too bad earth's gravity isn't a little different, then it might be more feasible!
See also my little hack, a sort of procmail for gmail, with a small scripting language:

https://github.com/skx/labeller/

Adding/Removing labels based upon arbitrary expressions/headers/values, etc.
I dont know if you are being serious, but if you are, Dawkins books are pretty good (The blind watchmaker,or the Ancestors tale).
I'll bet that foreign intelligence people that actually know how to hack satellites are looking at each other and laughing.
Everything in science remains open to be disproved; it wouldn't be science otherwise. That's one way science is different from pure math. Or from religion for that matter.

That said, it is indeed annoying when people who don't understand science interpret "open for disproof" to mean "it's easy to disprove." Quantum mechanics and the second law of thermodynamics could in principle be disproven, but the evidentiary burden would be extremely high. (Insert obligatory Carl Sagan quote here.)
One thing I don't get it is people who would say you must choose between objects and functions, or that FP is "better" than OOP.

Objects have function-valued properties called methods. So Objects can't do without functions.

Functions can return either a) atomic values like strings and numbers OR b) Objects. Note that in JavaScript Functions are Objects too.

So I hope no-one is seriously suggesting that FP can do without Objects, by saying that functions should only return atomic values.
My impression was the best of Silicon Volley jobs are located somewhere between San Mateo and San Jose. Am I wrong?
"Has someone that thought they were taking LSD ever turned into a permanent schizophrenic zombie or in a mental institution, or is it all urban legend."

Tangential, and not an answer to your question, but if you're like me, you will be fascinated to learn that there is a drug (MPPP, synthetic opiate) that if cooked incorrectly yields "MPTP"[1] which will give you Parkinsons. As in, forever. You take this drug (at any age) and then you have Parkinsons for the rest of your life.

[1] https://en.wikipedia.org/wiki/MPTP
While Stoicism was indeed founded by Zeno[0] shortly after Alexander's death[1], the essential philosophy (Cynicism) was older, having been granted to Zeno by Crates, who had learned it from Diogenes[2].

Which is why we find in Epictetus[3]:

Furthermore, the Cynic ought to possess great natural charm and readiness of wit—otherwise he becomes mere snivel, and nothing else—so as to be able to meet readily and aptly whatever befalls; as Diogenes answered the man who said: "Are you the Diogenes who does not believe in the existence of the gods?" by saying, "And how can that be? You I regard as hated by the gods!" Or again, when Alexander stood over him as he was sleeping and said,

Sleeping the whole night through beseems not the giver of counsel,

he replied, still half asleep,

Who hath charge of the folk, and for many a thing must he watchful.

[0] https://en.wikipedia.org/wiki/Stoicism

[1] https://en.wikipedia.org/wiki/Zeno_of_Citium

[2] https://en.wikipedia.org/wiki/Diogenes

[3] https://en.wikisource.org/wiki/Epictetus,_the_Discourses_as_...
This app is in the app store, so apple isn't actively blocking this kind of thing anymore, which is an improvement!
I think you need to go back and watch it again, because what you're saying doesn't align with what the video shows, and it sure sounds like you misunderstand, and that you don't know what you're talking about.

Did you notice the part in the video description that I quoted in my post that said "Caution: this is basic research, not a proposal for a practical piece of software. Part of my PhD Dissertation at Stanford University in 1988"? While you're at it, read Scott's introduction and PhD dissertation that I linked to, as well.

Do you even know who Scott Kim or his thesis advisor Donald Knuth are, or how the research at Xerox PARC in the 80's contributed to the fields of programming language and user interface design? What were you doing in 1981?

So what's that great idea you claim to have? Where's the link to your dissertation and a runnable demo?
Are you familiar with various tc39 proposals? Do you understand how JS VMs work?

Knowing the internals of the engine really informs you on performance and resource utilization characteristics of various ways of writing code.
Sure, but effectively 100% of the world's economy takes place via fiat currencies. One could remain anonymous by accumulating a bunch of cash (or gold, or some commodity, etc) and never spending it as well.
> It's just math.

You seem to be missing a lot of other points from your analysis.

> The elite want to bail out because it inflates the money supply...The problem we now face is that equity holders today have decided that bail outs are necessary politically.

Let's check the numbers. Collective wealth of all the billionaires in the entire world is 8.6-8.7T USD [1]. Collective retirement and pension assets in just the US is 19.1T USD [2]. So it seems that commoners, relying on the retirement and pension assets, would benefit much more from a stock market recovery than the elites.

> Nationalize healthcare. Wouldn't a nationalized system be simpler?

Maybe yes, maybe not? UK / France / Italy / Germany / Spain all have public healthcare and have ~320M people between them, roughly the same as the US. And yet, their COVID-19 deaths are ~100K vs ~55K for the US when both the continents had fairly similar advanced warnings. Why is this simpler (and presumably better, from your tone) system producing a far worse outcome?

[1] https://en.wikipedia.org/wiki/Billionaire#Statistics
[2] https://en.wikipedia.org/wiki/Pension_fund#United_States
OOP and functional programming aren't mutually exclusive.
Ravi Vakil will offer his rising sea course online
I’d suggest Kojeve’s Introduction to the Reading of Hegel (a classic expository work on the Phenomenology of Spirit)
It's quite interesting how close galaxies are to one another relative to how far stars are from one another.

The distance from the Milky Way to Andromeda is only about 25 Milky Ways, but the distance from the Sun to Alpha Centauri is about 29 million Suns.
Psychological effects of coding style (2016)
Let’s see. High School, worked as a photo assistant and graphic designer during summers. University, worked as a graphic designer. Did some work at a start up doing PHP. Became an insurance agent. Became a financial adviser. Worked construction. Became a high school math teacher. Started programming PHP for a start up. Same company still, but I moved to backend server stuff in Perl and Python. Then Go. I have been here nearly a decade and am now a principal engineer. Open to answer any questions. Hard row given that I started by having a kid at 15 and growing up poor. Still with the same woman over 20 years later.
This is a pretty old-fashioned and US-centric perspective. The Wikipedia article explains that sovereign immunity never really worked like this in Australia, and the United Kingdom passed a Crown Proceedings Act to overcome it in 1947: https://en.wikipedia.org/wiki/Sovereign_immunity
To evaluate stuff like this, you just need basic physics knowledge (enough to do dimensional analysis with) and estimation skills. One fun read along these lines is "The Art of Insight in Science and Engineering".

For stuff like the bad social science you mentioned, often you can catch it if you know basic statistics along with the common tricks people use to p-hack. See, for example, "The garden of forking paths" by Gelman.

Even if the statistical analysis is not given explicitly, or the issue is more subtle, for social science that touches on everyday life, you can usually tell if it'll hold up just with common sense. Try yourself using this quiz: https://80000hours.org/psychology-replication-quiz/
Thank you! The series really went overboard with the negative KGB paintbrush.
We are not out of woods yet – Mahama
Very simplified explanation:

If you understand Turing Machines, you probably also understand other automata. So you probably understand nondeterministic automata [1].

A quantum computer is like a very restricted nondeterministic automaton, except that the "do several things a once" is implemented in physics. That means just like a NFA can be exponential faster than a DFA, a QC can be exponential faster than a normal computer. But the restriction on QCs makes that a lot harder to do, and so far it only works for some algorithms.

As to why quantum physics allows some kind of nondeterminism: If you look at particles as waves, instead of a single location you get a probability function that tells you "where the particle is". So a particule can be "in several places at once". In the same way a qbit can have "several states at once".

> What I don't understand is how a programmer is supposed to determine the correct solution when their computer is out in some crazy multiverse.

Because one way to explain quantum physics is to say that the waveform can "collapse" [2] and produce a single result, as least as far as the observers are concerned. There are other interpretations of this effect, and this effect is what makes quantum physics counterintuitive and hard to understand.

[1] https://en.wikipedia.org/wiki/Nondeterministic_finite_automa...

[2] https://en.wikipedia.org/wiki/Wave_function_collapse
Well they kind've do. Tweet-chains. If someone replies to their own tweet to create a series of Tweets, Twitter groups them into a chain and puts a "Show This Thread" link to expand it. It's the same thing in practice.
Quebec has profited 28 billion dollars from Churchill falls between 1971 and 2016. They built the dam for 1 billion dollars, taking on all the risk.

Quebec has great talent in electrical engineering and building hydro electric power plants. Quebec companies bring their expertise and develop hydro power plants across Canada and around the world for customers who don’t know how to do it themselves, sometimes in exchange for part ownership of the project.

The power transmission had to go through quebec, any other option was uneconomic as they are now finding out with the muskrat falls.

$45/MWH for renewable dispatchable power is cheap. $3/MWH is pratically free but Quebec also has financing costs for the project on top of that to pay. Plus the risk.

I don’t think Newfoundland got taken advantage of here, this is a deal that works out well for both sides. Nobody makes a deal they don’t like - if they had a better option they would have done that.
> For example, the minister said that even in the event of a crime, the data could not be used. However, two parts combine that show actually, they can.

That's incorrect. The only crime that could be a valid reason for using the data is a breach of the emergency biosecurity laws [6(2)(d)] (also see s477 of the Biosecurity Act 2015 (Cth)).

Two common legal 'tools' are inclusive clauses and exhaustive clauses. An inclusive clause lists examples of what a section of legislation or a contract applies to, but it's not a complete list. You may have seen something like this in an employment contract, where the contract lists out your roles and responsibilities with a list that starts with "including, but not limited to: ". E.g the items listed definitely apply but there may be more other items that are not listed.
Exhaustive clauses are the opposite, if it's not expressly stated in the list, it doesn't apply.

Part 2 limits how the data can be collected and used by using an exhaustive clause, i.e. section 6(2).

Breaking it down, section 6(1) states: 'A person must not collect, use or disclose COVID app data except as provided by subsection (2).' So unless the reason is expressly listed under subsection 6(2), it cannot be used/collected.

Very roughly paraphrasing the reasons in 6(2):

- 6(2)(a): The person is a State/Territory HEALTH official (i.e. not law enforcement) AND the reason for is contact tracing only

- 6(2)(b): The person is an employee/officer/contractor of the Health Department or Digital Transformation Agency (DTA) to help a Health employee with contact tracing, or to ensure the app / data store is functioning properly. E.g Devs bug fixing the app, API etc

- 6(2)(c) Moving encrypted data from a mobile to the CovidSafe database

- 6(2)(d) Investigating an offence of the emergency biosecurity laws

- 5(2)(e) Using data for 'de-identified' statistics

So going back to the grandparent comment, it's not correct say that the regulation has no effect due to the previous laws that weaken privacy. In fact the wording for the valid uses is refreshingly restrictive. E.g using '..[for the] purpose of, and only to the extent required for the purpose of' and not just 'for the purpose of' is a cue for the courts to interpret the use case quite restrictively.

With all that said, this may be all well and good in theory, but it remains to be seen if the Government can enforce these restrictions in practice. There are some very valid concerns about that. However that's for another conversation/thread.

[edit: formatting]
We can't automate as much as you think.

And no the average US person produces more than any other country and spends slightly less of their budget. Here is a visualization:

https://howmuch.net/articles/breakdown-average-american-spen...
See s477(5) of the Biosecurity Act 2015.
I don't think the invisible 'lines of force' really resolved anything in the minds of the 19th century scientists, but what eventually did was acceptance of Faraday's speculation that the lines of force were physically real and existed as some change of state in some medium that existed throughout space.

Maxwell picked up this idea and ran with it, developing a mathematical theory for the dynamics of the electromagnetic field. Instead of one object somehow magically interacting at a distance, interactions between objects resulted from changes in the electromagnetic field that propagated through space.

The final paragraphs of Maxwell's "Treatise on Electricity and Magnetism" are somewhat relevant.

This is 30-40 years after Faraday first wrote about lines of force, and there still wasn't really consensus about how to explain electromagnetic phenomena.

[emphasis added by me]

> Chapter XXII: Theories of Action at a Distance

> ...

> There appears to be in the minds of these eminent men, some prejudice, or a priori objection, against the hypothesis of a medium in which the phenomena of radiation of light and heat, and the electric actions at a distance take place. It is true that at one time those who speculated as to the causes of physical phenomena, were in the habit of accounting for each kind of action at a distance by means of a special aethereal fluid, whose function and property it was to produce these actions. They filled all space three and four times over with aethers of different kinds, the properties of which were invented merely to 'save appearances,' so that more rational enquirers were willing rather to accept not only Newton's definite law of attraction at a distance, but even the dogma of Cotes, that action at a distance is one of the primary properties of matter, and that no explanation can be more intelligible than this fact. Hence the undulatory theory of light has met with much opposition, directed not against its failure to explain the phenomena, but against its assumption of the existence of a medium in which light is propagated.

> We have seen that the mathematical expressions for electrodynamic action led, in the mind of Gauss, to the conviction that a theory of the propagation of electric action would be found to be the very key-stone of electrodynamics. Now we are unable to conceive of propagation in time, except either as the flight of a material substance through space, or as the propagation of a condition of motion or stress in a medium already existing in space.

> Hence all these theories lead to the conception of a medium in which the propagation takes place, and if we admit this medium as a hypothesis, I think it ought to occupy a prominent place in our investigations, and that we ought to endeavour to construct a mental representation of all the details of its actions, and this has been my constant aim in this treatise.
I think couple of things can be observed to support living virtuously without needing to resort to invoking any supernatural cause:

1. Observe a fundamental law of nature: Whatever we give to the nature is what nature grows and gives us back in many times over. We give seed to earth it gives back us a full fledged plant. We genuinely appreciate people and spread happiness in return we receive the same.

2. Observe our conscience: Even though you can denounce religion and God but at least we experience and listen to our conscience, inner voice regularly. Not sure how much modern psychology has done research over this stuff but at least in yogic circles it's been extensively covered as a fact that the more you abide by virtues in your thoughts, speech and conduct, the more calmer, peaceful and contented you will be (lesser inner conflict/clear conscience etc.) And that's fundamental to lasting happiness
If only this was available as a apk
You should study cryptanalysis. This is why rolling your own crypto is dangerous. Not just because the result is going to be insecure, but also because it isn’t particularly educational, but it feels like it is. It is easy to convince yourself you know more than you do if you spend a lot of time playing with bad crypto systems.

Edit: I should add that even if you are an expert in cryptanalysis, you still shouldn’t just roll your own crypto. It’s the analysis of the entire community, not the credentials of the author, that makes modern cryptography so strong.
> Compare it to IRC, where you have to find a client, make the choice, and make many other small decisions.

A lot of these are one time decisions though. Once I install a client and configure it, then all I have to do for subsequent uses is to start the client and it will automatically connect to the server, set my nick, and join the channels I was in.

With Slack, you still have to create an account, find a workspace, join channels or get invited to them, etc. But once that's done, then you just need to open the Slack client and log in and it will load up the page, much like an IRC client does.
No, I meant the US census (or whatever national census), I didn’t actually check if they asked that since it seemed like such a basic thing :/ sorry.
This is not an answer as this is something I've only just started wondering myself, but, if I understand correctly, perturbation theory [1] uses divergent series (and wants divergent series in certain conditions over convergent series(?)) in it's methodology.

I've started but haven't finished the physics lectures by Card Bender on mathematical physics, where he features perturbation theory prominently [2].

If someone could chime in on this, I would also be appreciative. Also if someone has better resources to learn about perturbation theory, I would also be appreciative.

[1] https://en.wikipedia.org/wiki/Perturbation_theory

[2] https://youtu.be/LYNOGk3ZjFM
Ask HN: Learning to Build Video Codecs
What are some good resources to learn about implementing a video encoder/decoder from scratch?
How to create an incident response playbook
Web Hosting Now Launched
Why are we offering free hosting, well as a former security guru and safety cautious person myself being the owner of UrUpCloud I Storm M would like to provide users the ability to have secure hosting with out limits! We know that America is a big concern for a lot of safety cautious people, Well we are proud to announce that our hosting is located in Quebec,Canada. Why Quebec? Easy Canada server centers do not allow the listening in from external n.s.a and other organizations, with this said Quebec is apart from Ontario Laws In Canada and offer further more security and Laws Regarding Users Information Stored In Quebec Data Centers!

Free is actually free and its free for life! We don't ask for users to link paypal or any other form for our free hosting and we can offer seafile and mattermost certain services upon request!

We are aiming to please and with our free hosting we will see what users need over the span of the next few days to better determine what users WANT and NEED in a web hosting company! We are aiming to offer VPS/Cheap DEDICATED Servers/Shared Hosting/Dedicated Web Hosting/ And Much More! Get Started Today Folks!

https://urup.cloud
Join our discord for better support
https://discord.gg/UEN43PQ
It's my impression that most articles on Wikipedia are written in American English, except for ones specifically relating to Britain. Is that correct?
That’s all great but it’s not like we haven’t figured out how to solve this in other languages with `Option` or `Maybe` types. Obviously SQL predates this, but that shouldn’t stop us from lamenting the fact that SQL repeated the Billion Dollar Mistake and discussing a future alternative that’s learned from this and doesn’t feature such a sharp edge.
Every language? Human past, present, and future? Nonhuman? Or just modern languages? Even then, your value as a translator would be priceless.
Incident Analysis: How *Learning* Is Different Than *Fixing