skysight-inc/HackerNews huggingface dataset:
What is the point of this article? "We want more complexity!" said no one ever. People want ease of use, that attribute alone makes any software complex. I once attended a presentation about downtime management. Take-away: planned downtime is better than unplanned downtime. There should be an adjective to describe these obvious trifles that somehow get spun into articles and zen-like slides bullets. GOOPed, maybe; "I love the clean and refreshed feeling I get after a bath." Because the rest of us don't love feeling clean and refreshed, and need to be told.
Testpartiel
hello this is a test for a final exam, please dont mind me
Sounds like your reviewer was incompetent. Those seem like minor nits.
Viewing graphs and mathematical formulas is painful on the small screen, regardless of the file format. The problem is the small screen, not PDF.

And AFAIK EPUB gets into the same mess of MathJax as web pages do when they want to render mathematics. No thanks.
Wow, that was a few years back - I'm glad to learn about this change. Quoting (and reformatting for better understanding) below..

---

On June 5th of this year [2017], the Apple Developer Program License Agreement (which applies to both the iOS and Mac App Stores) was revised to:

3.3.2 ..Interpreted code may be downloaded to an Application but only so long as such code:

(a) does not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store,

(b) does not create a store or storefront for other code or applications, and

(c) does not bypass signing, sandbox, or other security features of the OS.

---

An Application that is a programming environment intended for use in learning how to program may download and run executable code so long as the following requirements are met:

(i) no more than 80 percent of the Application’s viewing area or screen may be taken over with executable code, except as otherwise permitted in the Documentation,

(ii) the Application must present a reasonably conspicuous indicator to the user within the Application to indicate that the user is in a programming environment,

(iii) the Application must not create a store or storefront for other code or applications, and

(iv) the source code provided by the Application must be completely viewable and editable by the user (e.g., no pre-compiled libraries or frameworks may be included with the code downloaded).
Tinvio, a communication platform for supply chain merchants, gets $5.5M
For debugging a distributed system, it may be just okay to use the traditional way consisting of testing, log analysis, and visualizing that everyone is familiar with. Yes, there are advanced techniques such as formal verification and model checking, but depending on the complexity of the targe distributed system, it may be practially out of the question or just not worth your time to try to apply these techniques (unless you are in a research lab or supported by FAANG). In other words, it may be that there is nothing inherently inefficient with sticking to the traditional way because distributed systems are hard to debug by definition and there is (and will be) no panacea.

We have gone through the pain of testing and debugging a distributed system that is under development for the past 5 years. We investigated several fancy ways of debugging distributed systems such as model checking and formal verification. In the end, we decided to use (and are more or less happy with) the traditional way. The decision was made mostly because 1) the implementation is too complex (a lot of Java and Scala code) to allow formal techniques; 2) the traditional way can still be very effective when combined with careful design and thorough testing.

Before building the distributed system, we worked on formal verification using program logic and were knowledgeable about a particular sub-field. From our experience, I guess it would require a PhD dissertation to successfully apply formal techniques to debugging our distributed system. The summary of our experience is at https://www.datamonad.com/post/2020-02-19-testing-mr3/.
The Birth of Calculus (1986) [video]
Socrates' social circle were free Athenian citizens. They wouldn't have "gone to the marketplace to buy food", because food shopping was the task of slaves. Free Athenians went to the agora largely for socializing and hearing the latest news, so philosophical dialogues were less annoying and disruptive than you assume. It was certain of Socrates' ideas that got him into trouble, not his public philosophizing per se.
Something similar has happened only a few years ago, well-publicised. Many people noticed the odd pricing. Some of the people who did notice the anomalies misunderstood their cause, and decided on a course of action that didn't lead to any correction (well, except for bankrupting a few misunderstanders).

The key is that someone will notice, but that someone need not necessarily understand and act appropriately.

(What happened was that one large company bought shares, futures and options in another, which drove the price of those futures and options up. Hedge funds noticed that the futures and options were too expensive, and decided to arbitrate. When the first eventually disclosed that it had enough futures and options to acquire the second, a whole flock of hedge funds were caught with obligations to meet and no means to meet them.)
How would you write a component based architecture like React has? New API has moved away from the classical syntax where it would ‘extend’ React component but I assumed it was still doing prototypal inheritance. Isn’t it better for memory to have some sort of inheritance?
I think Google Pixels are individually calibrated.
I have also read one estimate about how fast the water would have to fall during 40 days and 40 nights of Noah flood to cover the "highest mountain" on Earth -- apparently that speed alone would kill everything on Earth and also destroy any ark made of wood.

It's complicated cheating physics.
There’s a longer discussion here which may interest you: https://danluu.com/monorepo/

But if your code uses someone else’s libraries that don’t change or has super well defined interfaces between parts that never change or is going to be a mix of languages then maybe you won’t have issues or see and advantage of monorepos.

If you have a library in a monorepo then it is much easier to improve the library in a breaking way and upgrade all its dependencies. If you have many repos then this work gets more distributed (so one person does it many times or lots of people who are less expert in the change to the library have to do it) or libraries are just not frequently updated and you get the same helper functions not being up streamed or you use different interfaces for the same library in different repos.
No idea about deployment but I would ask couchdb people.
https://en.wikipedia.org/wiki/Apache_CouchDB
There is an embedded version too
Stop eating sugar, watch 'sugar: the butter truth'. This isn't something that is happening -to- you, it is something you can control.
>> Every modular component in its own repo

My original statement was slightly misleading. I meant to say "every modular component which needs to be reused by different projects" obviously I'm not advocating that every class should be in a separate repo; that would be madness. My point is; if it's modular and needs to be reused in different projects, then it should be a separate repo, otherwise, it can just be added as files inside the current project repo; no need to publish those as separate standalone libraries for download. If the component is not modular, then it shouldn't be shared with any other projects.
If we had a small percentage of our best and brightest working on getting our poorest workers access to the most basic forms of fintech, this would not have happened.
Some SQL Servers, like MS-SQL have been slowly going into banning order by a number / constant expression, and flagging column numbers as error prone constructs.

https://www.sql-server-performance.com/error408/
The python environment story has led me to the conclusion that it's not really suited for serious production software.

I was recently onboarded into a project which is using Python in a server-less setting, and when my colleague walked me through the concept of setting up a virtual environment for each one of my python projects I could not really believe it. It seems like you practically need to containerize a python code-base to make it repeatable.
Nice! Interesting you were able to agree on licensing with PANTONE®, considering they sell a (very underwhelming) hardware device called CAPSURE™ that has a similar premise: https://www.pantone.com/products/color-control-tools/capsure
> One thing I've struggled with in JavaScript is choosing a more functional or OOP approach in certain situations

A couple key realizations made this much less of a "choice" for me (warning, my opinion):

1. Classes et al, are just a high level pattern which happens to be builtin... functions are far far more rudimentary.

2. If you use a high level pattern "just because you can" without considering the subjective cost vs benefit, it will be a poor fit on average.

What does this mean?

#1 Functions are not the opposites of classes, they are simpler, lower level abstractions which are more generalized - It should be thought of as the default.

#2 Like any pattern, OOP has a cognitive cost - When they don't fit a problem well, they merely obscure relationships between state and function; when they do fit a problem, they will minimize that cost and provide benefits that simplify other code.

If you don't immediately know that classes or prototypes fit the piece of code you are writing... just stick to functions, if later on you find that a collection of functions emerge with a common signature and persistent state being passed back and forth - you might have something that would benefit from a class, but you can simply change them into a class when it emerges. However if you do it preemptively you will probably be wrong and also make poor decisions about what the internal encapsulated state should be (which you want to minimize since you are obscuring it). It's ok to discover that something should be a class, attempting to make the choice up front is usually going to go wrong unless it's very obvious.

I think it's unfortunately a pretty natural path to start out not having an opinion of OOP and then potentially developing a distaste for it later on - not because it's inherently bad (it's probably the most generalized pattern and very useful); but because of it's integration into so many languages... I see it get abused by people all the time who just make a class by default for no apparent reason, which inevitably ends up as a bag of loosely associated state and arbitrary functions mutating one or more of those states. In such cases the class is of no benefit, and worse, it's obscuring all of the unrelated state mutations making it difficult to read and reason about.
That doesn't say that everything related to Windows is developed on the same repo, just the kernel and several core components.
How many ways are you going to call me stupid without having the gumption to actually come out and say it? Kind of cowardly IMO. Make your point.
The point of science journalism is not to report on great science, or "speak truth to power" (the point of journalism). It is (like all other online publications) to get people to click on titles so they get shown adverts. It's not really got anything to do with how educated the readers are, it's just the business model.

I read this after reading the article about banning "persuading" advertising. In my head the two are related. If we remove "supported by advertising" as a viable business model for journalism, then it has to go back to being paid for by readers. We would get much better journalism if this happened. In fact, if we removed "supported by advertising" for everything, we'd get much better everything.

But, as TFA says, it's worrying that Nature published this crap. Nature is supported by a non-advertising business model, and although there are lots of problems with their business model, it should in theory produce good results. I wonder what happened for this article?
FWIW I agree re masks but withholding information from Taiwan to appease the CCP is inexcusable. Luckily the Taiwanese are far more competent than their counterparts in this farce.
This was a really great way to start the day. Extremely well done!

Once you go through the story, you should turn on "Tapir Notes" in settings and go through again (as noted in settings, probably best not to read them the first time through).
PyTest Fixtures for Fun and Profit
You know what you have to do. Come back with your shield or on it.
AI Cricket Commentator
I suspect the article is talking about a specific subset of startups, which are the perpetually loss making silicon valley startups that VC trade between them like pokemons or cryptocurrencies and which sole value resides in the hype they generate.

If you have a solid business generating cash flows, things are different.
Ask HN: Why do we sing when we're happy?
> It's not exactly a vector...

That's right. It's not a vector because it doesn't "transform" like a vector.

If you take a vector and rotate about an axis by 360 degrees, you get the same vector.

If you take a spinor and rotate it by 360 degrees you get a spinor which is "flipped". You have to rotate the spinor by 720 degrees to get back to the same spinor.

This is intrinsically weird, but that's QM.
> https://045.medsci.ox.ac.uk/files/files/report-effective-app...

This is pretty much what I was looking for, thanks. So in their model you need 80% of smartphone users (56% of the population) to opt in to the contact tracing for it to be effective. But iiuc they also assume what — to me — looks like a really high compliance rate; it assumes that people self-isolate for up to two weeks with 2% daily drop-out rate. That seems fine for people with trivial WFH jobs, or those in industries with good job protections, but pretty unlikely for people whose choice is between ignoring the guidelines and losing their income. I imagine with the excuse of "the whole country is in lockdown" gone, employers will be less tolerant of absence, even if — as in the models — it can be a significant fraction of the country in self-isolation at any time.
I faced the same problem, and hence Cone averages out the color inside the inner circle of the picker.
Regulations, unlike directives, don't have to be transformed to national law to be applicable.
> Equally I suspect you can get more than 10x useful energy from a column of water 10 miles high than from a column of water 1 mile high.

For a given flow rate, no.

High pressure water can be fairly efficiently converted to electrical energy, which itself can fairly efficiently be converted between low voltage+high current to high voltage+low current.

All the conversions are linear and well understood - there is no magic squared here to make this idea magic.
Fusion rockets are not nearly enough for that. You'd still need to carry an impossible amount of propellant, deal with friction and live through the months-long acceleration/deceleration cycles, most of which at non-relativistic speeds.

If you got a ramscoop engine, maybe you'd be able to grab enough propellant to push you at 1g for years at a time while cleaning your path of particles that'd impact your shielding.
"I'm not sure why people are having such a hard time accepting that what Sweden is doing is in fact working"

1) The evidence doesn't look that great for Sweden.

2) But my issue is not with their specific policy - I'm saying the Swedish rhetoric of 'we trust our citizens' doesn't make sense because 'trust' isn't really the issue, it's actual policy.

So as for 1) you show a graph of 'cases' but testing rates, and the size of the countries are different, so it's hard to compare.

If you look at the growth of daily cases, Sweden doesn't look like it's peaking, also, they are doing less testing - covid is likely more widespread than indicated.

Sweden has 2x the rate of death of Canada.

But it's not 'terribly bad' - and they are not 'exploding' so is helpful information for countries that may want to 'relax' to Swedens level.

Here is Sweden daily cases [1] it wavers because they publish on different days of the week, but it's still trending up.

Here is the US [2] - slightly trending down.

Switzerland is clearly locking it down [3]

2) But 'trust' is not a policy.

Swedish public health officials have reiterated several times as that 'citizens will behave responsibly' - but I don't think this really is the issue at all.

If Swedes are allowed to eat at restaurants, and Canadians are not allowed - well that's just a matter of policy - not a matter of 'responsible behavior'.

'Trust' and 'responsible behavior' really are a matter of how well those countries actually adhere to the policies laid down - and there is no evidence that Swedes or the Swiss are more faithfully carrying out the orders of their public health officials, than folks in other countries.

I don't think we should accept without evidence that certain groups are behaving in a specific way without evidence.

[1] https://www.worldometers.info/coronavirus/country/sweden/
[2] https://www.worldometers.info/coronavirus/country/us/
[3] https://www.worldometers.info/coronavirus/country/switzerlan...
One thing I'd question here is that conditions during the second Punic War were normal. They very much weren't; it was an existential crisis. My impression was that for most of its history, Rome's armies simply weren't particularly large. And that re-integration into civilian life may not have been as common as all that; terms of military service were very long, and there was a tendency to form soldier colonies as a solution for dealing with pensioned-off soldiers.

These societies were also far, far more violent than ours. The sort of random violence that might be attributed to PTSD today would likely be part of the background noise in Medieval Italy, say.
It was less than incompetent. Like I say some of the points went against what was actually written in the spec. They asked for a "page" of data, "no need to style it" then complained that I returned HTML and not JSON data.
Kind of pisses me off that I wasted a morning on it.
https://www.quora.com/How-many-chickens-are-killed-everyday

The U.S. consumes 9 billion chickens per year, so that’s 24 million chickens killed per day for food.

So this article (about the 2m chickens) is about 9% of one days worth of chicken death in the usa, just for reference.

(I agree with your point, industrialised meat production is nighmarish)
Some of my go to podcasts are:

Bloggingheads.tv/meaningoflife.tv, particularly with Robert Wright, Glenn Loury, DMZ

CoinTalk - commentary of events going on in the crypto space

Lawfare, National security law, cyberlaw podcast

Very Bad Wizards

Sport/team specific podcasts
I believe Discourse can be used as a mailing list manager: https://meta.discourse.org/t/discourse-vs-email-mailing-list..., https://github.com/discourse/discourse
Coronavirus: India will play a major role in a Covid-19 vaccine
Hm. Think of how you normally try to comfort someone who is grieving about something that is not (in your opinion, at least) of paramount importance. For example, the loss of a sum of money. Would you rather say:

"your loss is terrible and only you can understand fully how deep the pain is; savour it and integrate it in your person- it will take years to recover and will eventually become a part of you"

or would you rather say

"hey, I understand, but it's not such a big deal after all- happened to me as well, you won't care in a year".

The first seems to me the way to encourage everlasting trauma. And it seems the common approach today, as a way to show respect for other people's suffering.
Adobe has pre-configured profiles for most major phones fyi

https://helpx.adobe.com/camera-raw/kb/supported-lenses.html
Windows is in one repo at Microsoft, I believe.

https://devblogs.microsoft.com/bharry/the-largest-git-repo-o...
Are these websites (a-Shell and LibTerm) generated using some sort of default github template? They have identical layouts, icons, and fonts.
Take your Shodan asset search to the next level
The proper way of interpreting the sentence about "don't roll your own crypto" is that it actually means "don't roll out your own crypto until it has been peer reviewed by many experts". At which point it kind of stops being "your own", in a way.
SparrowHub – handy debops/ops utilities repository
It depends what you need to do with it. If you're doing something like image processing or dealing a lot with matricies/linear algebra, Vulkan's compute support is quite good and the compatibility story is great, but GLSL/HLSL might not be ideal depending on your use-case.
Love the anarchy section:

http://www.textfiles.com/anarchy/
Better link: https://youtu.be/Z3DZ3St3QRw?t=4748

Edit Gibson is a good explainer, but it's just a video of the two podcasters. It could be much clearer with visual aids.
You mean blogs don't work like Field of Dreams!??

I'm shocked! SHOCKED, I TELL YOU!
Wow. This is the perfectly self-referential Wikipedia entry that post-post-modernist plebs want and deserve.
Rust didn't break the API of HashMap. The trick is that the STL decided that certain algorithmic requirements were a part of the interface. For std::map, the case here is that it must be sorted. Its API also means you can't be polymorphic over a hashing strategy. This constrains possible valid algorithms. Rust made the opposite choices.

And so they did exactly what you say, for that reason. std::unordered_map is a better comparison.
The linked abstract offers online searches as an alternative to low-information persuasive advertising, and yet it is difficult to find trustworthy information on many subjects on the web. It's filled to the brim with attempts to persuade and exploit.

I personally think that simple algorithms for searching web content have been undermined so badly by malicious/exploitative content that curated search or web directories are needed for it to continue living up to its potential as a medium in terms of social value.
The GDPR being meant to spite Google (rather than, you know, protecting privacy) is an unfounded conspiracy theory. Claiming the EU tried to support a US company by harming its (European) competition doesn't even deserve that level.
Been using this for a month, the app is very well designed, and $5 is nothing compared to joy I get by collecting colours during commute and sharing the exact code when I am trying to design with physical world as an inspiration.
So basically, anyone that wants a modern language agnostic API for computing, with SDK and graphical debugging support for C++, Fortran, Haskell, Julia, .NET, Java, Python, should just keep using CUDA, business as usual.

Because with the reset to OpenCL 1.2-derrived specification good luck with SYCL adoption, let alone anyone caring to write SPIR-V backends.
I agree this is a good starting point for understanding the financial system! For anyone with a programming background I recommend thinking of the whole financial/economic/political system as an algorithm for distributed decision making: who does what, what physical resources get committed to what projects, etc. You can then start to figure out how each component (money, banks, central banks, government, stock market, derivatives market, limited liability, interest, inflation, etc) serves to guide decisions.

The main purpose of a central bank imo is to keep money creation at arms length from government, so a rubbish government can't fiddle with the financial system too much.
Looking forward to the Twitter commentary on this thread.
I just want to be able to install a program or library, like Tensorflow, and have it work on my GPU whether it's from Nvidia or AMD without having to first find and install the right compiler.

How do I run a Python program that imports Tensorflow on my AMD GPU today?