Better HN
topnewbestaskshowjobs
Log inSign up

haltingproblem

5,235 karma · joined Sep 20, 2017 (9y ago) · 1,303 submissions

Submissions

comment 6y ago · link · parent

The study smacks of elitism, gotcha questions and tailored outcomes. You are comparing regular NY Times, NPR, Boston Globe readers, which is an extremely biased sample - above average education, affluent and engaged to people who read news on SM casually.

Look at two of the questions from the "facts" based survey:

https://www.journalism.org/2020/01/24/election-news-pathways...

(1) - Whether the unemployment rate in the U.S. has gone up, down or stayed the same since Donald Trump took office (gone down)

(2) - What determines the number of votes a state has in the Electoral College (the number of seats the state has in the U.S. House and Senate)

These are extremely technical questions. In (1) are they talking about the unemployment rate till any point on time, which is a random variable or the average? A gotcha questions

In (2), I do read an hour of two of news everyday (I know, it is a problem) and did really well on American History, but that question would still take me a few moments to ponder.

The causality is backwards - people who read SM to get news are less engaged and the people who read the establishment media are more engaged. Like the cigarette industry publishing an ad on the efficacy of cigarettes as an health aid.

comment 6y ago · link · parent

Dogs kill 25,000 people every year. They is an insane number which makes me think it cannot be right.

1083.

The 10 (classes of) Algorithms Every Programmer Must Know About(hbfs.wordpress.com ↗)

2 points · by haltingproblem · 6y ago · discuss

comment 6y ago · link · parent

This will work really really well for schema design and generation. A very structured problem with a reasonably small set of good solutions. This is something that you can already do with schema design tools - where you draw a schema and it produces it. But imagine doing it through a textual description sounds even more impressive especially if it can auto-magically fill in all the fields I might possibly need. Again, these are not seismic game changers but productivity enhancers.

comment 6y ago · link · parent

It looks like a gimmick but it certainly is not. This is a highly underrated demo.

GPT3 incorporated into IDEs can provide a productivity boost. Imagine this coupled with a testing framework. I would not trust a GPT3 produced code base, after it does not "understand" what it is doing but if it passes all tests, I might be able to. Would you?

comment 6y ago · link · parent

I am surprised that the New Yorker decided to publish this. While I admire SSC and Scott Alexander, I did not read SSC regularly or subscribe to even a significant majority of his views, this article is circling the wagons around the Times and the media establishment.

The writer conveniently buries that he used to work at the NYT Magazine somewhere down in the article:

"Until recently, I was a writer for the Times Magazine, and the idea that anyone on the organization’s masthead would direct a reporter to take down a niche blogger because he didn’t like paywalls, or he promoted a petition about a professor, or, really, for any other reason, is ludicrous; stories emerge from casual interactions between curious reporters and their overtaxed editors. Perhaps Metz was casting about for something on Silicon Valley’s good sense on the coronavirus, found Alexander’s post, and thought he’d look into it."

comment 6y ago · link · parent

tl;dr

All cause mortality lowest at 5g/day (baseline). At 2g/day, all cause mortality 2x baseline. At 10g/day all cause mortality 1.2x baseline

The graphs, especially Figure B at https://www.nejm.org/doi/full/10.1056/nejmoa1311889 are a masterpiece of data visualization. IANAD, but don't restrict salt below 5g/day unless you are asked to by your medical professional.

1088.

Urinary Sodium and Potassium Excretion, Mortality, and Cardiovascular Events(nejm.org ↗)

3 points · by haltingproblem · 6y ago · 2 comments

1089.

What the Coronavirus Crisis Reveals About American Medicine(newyorker.com ↗)

2 points · by haltingproblem · 6y ago · discuss

comment 6y ago · link · parent

I think you misconstrued what I meant by notebook.

comment 6y ago · link · parent

We seem to be stuck in perpetual loop of scientific papers across disciplines ranging from economics to medicine being repeatedly questioned for lack of reproducibility, plagiarism and outright fraud. The solution seems obvious - scientific notebook publishing replete with data and calculations. The technology exists and has done so for close to a decade - Wolfram's Mathematica came out with its first notebook release in 1988 and IPython notebook in 2011. This solution has been discussed ad-nauseum but the implementation seems to be ad-infinitum. Is it merely an adoption issue or are there other hurdles?

1092.

Chinese Research Papers Raise Doubts, Scientific Integrity Questioned(wsj.com ↗)

12 points · by haltingproblem · 6y ago · 3 comments

comment 6y ago · link · parent

SK Learn is the most popular ML libs. Well written, source code available, etc. But I am not opening it up to optimize it and neither should anyone unless they are already a SK Learn contributor OR have a ton of time on their hands.

comment 6y ago · link · parent

This does not solve the issue of compute scalability - slow computations, which are fundamentally opaque, applied to large data frames . Given a series of data frames (or one large one that can be chunked) how do I apply a long running function to each chunk. For that you need scalability across cores and machines hence Dask.

comment 6y ago · link · parent

We need a better decomposition of scalability. Do you mean scalability in data or scalability in compute or scalability of both?

Definitions:

Scalability in Data (SD): doing fast computation on a very large number of rows

Scalability in compute (SC): doing slow computations on a large number of rows

For SD, I have found that a 16-32 core machine is more than enough for tens of billions of rows as long as your disk access is relatively fast (SSD vs. HDD). If you vectorize your compute operations you can typically get to within 10x the assembly compute time. This allows you to tap into in a 32 core machine for 10s of effective giga flops. These machines are rated at 100s of giga flops. For example I had to compute a metric on a 100 million row table (dataframe) which effectively required on the order of 10-20 tflops of compute. Single-core pandas was showing us 2 months of compute time. Using vectorization and using mp.Pool I was able to reduce to a few hours. The big win here was vectorization and not mp.Pool.

For Compute scalability - e.g. running multiple machine learning models which cannot be effectively limited to a single machine, nothing beats Dask. Dask is extremely mature, has seen a large number of real world cases and people have used it for hundreds of hours of uptime.

Vectorization is a oft unlooked realm of speedup which can easily give you 10-100x speedups in Pandas. Understanding vectorization and what it can and cannot do is a highly productive exercise.

comment 6y ago · link · parent

OP here, I can't post a comment here anymore, just replies, since this submission was flagged.

It is important from the outset to unequivocally clarify that no one is claiming intentional release of the Covid-19 virus. Both the researchers on the forthcoming paper and the former director of MI6 who bought the study to light say that intentional release is highly unlikely.

The research on the origin of viral outbreaks is scenario probabilities at best and speculative fiction at worst. The main takeaway of this paper is to highlight the risks of lab virus research. Earlier, I had posted in April about US diplomatic cables highlighting the lack of safety at the Wuhan lab (https://news.ycombinator.com/item?id=22868580).

We are looking at million deaths and tens of trillions in damage. As a civilization have to come to collective decision that virus research with even the slightest risk of accidental release is catastrophic. Most people including the Chinese seem to be in no mood to even consider the possibility let alone take corrective measures.

1097.

The most logical explanation is that Covid-19 comes from a laboratory(minervanett.no ↗)

18 points · by haltingproblem · 6y ago · 4 comments

comment 6y ago · link · parent

In the late 90s I was part of a group that built a online casino for folks who ran a sports book in the Carribean. Due to legal woes which meant they could not land a license in their Island domicile, they ended up not launching it.

I do remember we hired a post-doc from the Stats department at the nearby University. He insisted that we spend an inordinate amount of time ensuring that the seed to the PRNG was as random as possible. The second thing was using PRNG's that had a long period and other desirable qualities but I think it would be vulnerable to hacking in this manner.

1099.

Russians Engineer a Brilliant Slot Machine Cheat–and Casinos Have No Fix(wired.com ↗)

14 points · by haltingproblem · 6y ago · 3 comments

comment 6y ago · link · parent

Good point.

Stockholders are not free to sell, technically or for practical purposes. Many stockholders are under restrictions to hold like employees, founders, index funds etc. Most non-index institutional holders have to hold TSLA if they want exposure to Automotive, EV, Battery industries. There is simply no option.

On non-technical restrictions, what do you think will happen to TSLA,FB or AMZN stock if Musk, Zuck or Bezos started dumping their holdings respectively. The stock holds up precisely because the the founder is holding it. Necessary but not sufficient.

Finally not everyone who wants to sell can avail the last price. Every bid taker (seller) causes a price impact. This has been explored extensively by academics in Market impact models and Optimal execution of block trades. See [1] and [2]. This is the financial econometric model of "a rush for the exits will cause a stock to crater".

Last price is imperfect but not useless. Depends on how much signal vs. noise you attribute to the sale price in the value discovery process.

[1] http://tuvalu.santafe.edu/~jdf/papers/mastercurve.pdf

[2] https://www.math.nyu.edu/faculty/chriss/optliq_f.pdf

comment 6y ago · link · parent

Company "worth" is calculated as: last sale price * number of shares outstanding

stock is held by founders and fans ==> few sellers

more buyers than sellers ==> stock price goes up ==> inflates worth

Company worth is an imperfect metric at best and non-sensical at worst.

comment 6y ago · link · parent

Michael Crichton's famous speech "Alien's cause global warming" is reprised in [1]. Is there truth in the environmental claims. I am sure there is. The environmental movement and climate scientists have shifted to activism that it is hard to differentiate truth and science from activism and propaganda.

They environmentalists and their activism appears like a cross between Big Tobacco marketing, PETA and the Westboro baptist Church with a dash of Scientology thrown in for good measure.

Tell me about that other planet colonization thing again ;)

In all seriousness, who here really thinks we will have mass deaths, upwards of 10% of the population of the earth in the next 10 year timeframe from global warming? What about 15 years? 20 years?

How about 5%? What odds are you proffering and how much would you like to wager on it?

[1] https://mindmatters.ai/2020/06/twenty-years-on-aliens-still-...

1103.

Discount chains are thriving, but what do they do to poor communities?(newyorker.com ↗)

91 points · by haltingproblem · 6y ago · 92 comments

comment 6y ago · link · parent

Google is paying Apple $9b~ a year.

https://www.pymnts.com/apple/2019/google-safari-search-engin...

comment 6y ago · link · parent

This article give me the impression that eBay is going to get off scot free in this whole episode. Did the scummy-6 not use eBay's resources in service of its corporate goals to harass/intimidate/terrorize the small-business couple? The operating motto for corporate rule-breaking is "while 1; do-nasty-shit; catch me if you can; oh you did; sorry-bye; goto do-nasty-shit;".

1106.

On Cultures That Build: Why the US cannot recover its builder ethos(scottlocklin.wordpress.com ↗)

2 points · by haltingproblem · 6y ago · discuss

comment 6y ago · link · parent

This is replete with multiple levels of irony. Google pays apple billions to make Google the default search engine. Apple does not sell ads directly but they profit mightily from sale on those ads.

When the mafia breaking your legs is owned by your adversary or rented by them is a fig leaf of a distinction.

1108.

Private Equity Inferior to Public Equity: Similar Returns with Lower Liquidity(nakedcapitalism.com ↗)

1 points · by haltingproblem · 6y ago · discuss

1
363738
44