Better HN
topnewbestaskshowjobs
Log inSign up

dfdz

853 karma · joined Jan 20, 2020 (6y ago) · 155 submissions

Submissions

91.

Voice Assistants Don’t Understand Us. They Should(nytimes.com ↗)

1 points · by dfdz · 5y ago · 1 comment

comment 5y ago · link · parent

I like the concept, but I did not work on any of the search phrases I entered consisting of the full title of a computer science article or book.

It also does not work for subjects. For example, if you search "discrete math" it links to academic webpages, but most of them do not have any notes posted. It is just a plain text website with the syllabus of a class.

comment 5y ago · link · parent

It’s much worse than you are describing: NYT put wirecutter behind a two layer paywall.

They no longer let regular NYT subscribers from accessing Wirecutter, one has to buy an extra subscription (I assume almost everyone buying this will also pay for basic NYT access so it is effectively a two layer pay wall)

https://www.nytimes.com/subscription/wirecutter

This is part of NYT plan to divide their content into different groups and charge a subscription for each.

I am not sure if this strategy is smart or not, but my gut feeling is that it is a horrible strategy, and could hurt customer retention rates.

comment 5y ago · link · parent

After a long discussion of sea algae the author makes several good points. Here is a short summary to save others time. On Mobile:

> The basis of performance shifted from small binaries to smooth interaction.

> Log-in disappeared completely. The web’s de facto identity system is designed for a world of keyboards. Thumb-typing usernames and passwords is excruciating. But native app log-in is one-and-done.

> Discovery shifted from search to app store.

> Engagement shifted from links to icons.

> Business models expanded to IAP, subscriptions, and app purchase. Security shifted from sandbox to app review.

comment 5y ago · link · parent

The thumbnail of the youtube video made me laugh

Smaller. Smarter. Sooner. 2018

Currently 2021 where is my fusion energy? But this time must be different, after this advance we are only a few years away from fusion energy?

comment 5y ago · link · parent

Anyone who has used Netflix and HBO MAX (the best and worse streaming site, respectively, in terms of streaming tech) will beg to differ that Netflix is not a tech company...

comment 5y ago · link · parent

Just to follow up, my attempts to get vimtex to work unfortunately were unsuccessful. However, along the way reading neovim plugin docs I started to figure out the difference between neovim and vim and was able to get things working via the following process:

sudo dnf install neovim

sudo dnf install python3-neovim

mkdir -p ~/.config/pack/foo/opt/mytex

cd ~/.config/pack/foo/opt/mytex

[download https://github.com/peterbjorgensen/sved/ftplugin]

cp ~/.vimrc ~/.config/nvim/init.vim

add the line "packadd mytex" to init.vim

add the line "alias vim='nvim'" to ~/.bashrc :)

comment 5y ago · link · parent

Thank you for the detailed answer, I really appreciate it.

It it great to know that the main developer for vimtex uses neovim.

I will try the neovim/vimtex/zathura combination used by the dev!

comment 5y ago · link · parent

Hi tjdevries, I have been thinking about switching to neovim from vim.

Do you have any advice/reference for setting up Latex Synctex (Forward and Backwards search) for neovim and evince (on Linux)?

From looking online there seem to be several possible approaches for doing this in neovim (currently in Vim I use an adapted version of evince_dbus.py from the latex gedit latex plugin but it was a pain to get set up!)

comment 5y ago · link · parent

The device I longed for a Decade Ago is an 8.5 x 11 inch E-ink reader (for PDF documents).

Anyone know if I can get one these days?

comment 5y ago · link · parent

While I do think this Gall’s law is mostly true it’s statement gave me a good laugh since clearly Gall didn’t pay attention in Discrete Math/Logic class. The “inverse” Gall discussed is in fact logically equivalent

> A complex system that works is invariably found to have evolved from a simple system that worked. The inverse proposition also appears to be true: a complex system designed from scratch never works and cannot be made to work.

P => Q

Working Complex System => Evolved from simple

https://en.m.wikipedia.org/wiki/Modus_tollens

Not Q => Not P

Not Evolved from simple => Not Working Complex system

comment 5y ago · link · parent

If we are being technical (and I must assume that we are given that you are making a technical critique), then everything you are claiming is wrong.

1. The phrase “an NP Hard problem” refers to the computational complexity of a problem as the “scale” of the problem goes to infinity. Typically, an author would detail the problem, and what parameters go to infinity, but in this case the general problem “The subset sum problem (SSP)” is well known so explaining details is not necessary.

2. The homework question has two parts. The second part asks “(assume a solution exists) is the solution unique?” Clearly this decision problem reduces to SSP and is NP Hard

comment 5y ago · link · parent

What does the word "teaching" mean in the context of this post?

Writing blog posts?

If you want to learn about moral/life philosophy, then there are some great free courses on Coursera

https://www.coursera.org/learn/the-science-of-well-being

https://www.coursera.org/learn/moralities

https://www.coursera.org/learn/moral-politics

If someone else wants to read Paul Graham's blog I do not see the issue...

comment 5y ago · link · parent

Since no one is discussing it, here are the technical details of the change:

>once the 12 GB SLC cache is exhausted, and their [write] performance [decreases] from 610 MBps (the original speed) [to] 390Mps.

I am not saying what they did was ethical, but many consumers do not regularly write files of 12G and will not notice the change

Here is a better article describing the situation:

https://www.tomshardware.com/news/wd-blue-sn550-ssd-performa...

comment 5y ago · link · parent

Here my conspiracy theory, which closely related to what you are saying.

The BBC was investigating OnlyFans and found damaging stuff[1]. The leadership at OnlyFans was trying to think of a way to avoid the resulting bad press so they come up with the brilliant idea of announcing an upcoming Ban on all sexual material.

This will keep distracted while they work on improving their content moderation. When ready, they can announce their new policy: sexual content will be allowed, but with better moderation! (Exactly what they should have been doing all along).

[1] https://www.bbc.com/news/business-58273914

comment 5y ago · link · parent

https://browser.geekbench.com/macs/macbook-air-late-2020

https://browser.geekbench.com/processors/intel-core-i7-1165g...

Honestly, this anti-macbook is way better than I expected.

comment 5y ago · link · parent

Can someone please update the link to the latest version

https://www.medrxiv.org/content/10.1101/2021.08.06.21261707v...

comment 5y ago · link · parent

> This worked well for nearly a decade but by 2013 the cracks were already showing. By then we had client apps for all platforms, with each one requiring their own separate purchase, often across multiple app stores. And paid upgrades to major new versions were so incredibly painful for everyone involved that we rarely had any.

I think they are being fairly transparent. Starting in 2013 there old business model stopped making sense. They were selling individual products for each platform, while trying to integrate all platforms at the same time. The natural solution was to move to a subscription model for a unified service. This provides a mutli-platform solution and generates a continuous stream of income.

As a consumer, I actually prefer this model for a security app since it means that it will continue to receive regular updates. There is lots of competition in the space of password managers so I am not worried about them increasing the cost of the service to more than a few dollars a month (if they did this I would just switch to another service).

comment 5y ago · link · parent

> None of this is helped by ... the continued low uptake of password managers to both store and generate passwords

This article contains reasonable advice, but I am not sure that is advice that anyone is interested in. Let me explain.

Most of my tech savvy friends/family use password managers (either digital or paper), two factor authentication, and sometimes hardware authentication devices for important accounts.

In contrast, most of my non-tech savvy friends/family do not care about password entropy or really anything to do with security. If the complexity requirements cause them to forget a memorized password, then they reset using their email.

Edit: Actually people forgetting their passwords because of complexity requirements might be useful, since it forces people not using a password manager to login by clicking a link from their email (which is better than a weak password) In this light, maybe companies should start to enforce even more crazy requirements at least 4 numbers, 4 symbols, 8 characters

comment 5y ago · link · parent

I really like the idea of building a PDF viewer for research papers.

One feature that I don’t see mentioned that would convince me to use the product is fast search (possibly after some pre computation)

When I’m reading a long technical document I often search for words/phrases to remember the definition

For some reason, this process is very slow for longer documents and take a couple seconds (various depending on pdf viewer

I’ve always wished this was fast. For example, if I’m going to be reading a paper for 1hr I wouldn’t mind if there computer spent the first minute building a data structure to enable faster lookup times

Does anyone know if a current pdf viewer has this feature

comment 5y ago · link · parent

A recent high profile example is the lab leak "conspiracy theory". Facebook block discussion of the possibility that Covid-19 started from a lab leak, but now scientists are seriously considering the issue.

Imagine if Google had this policy last year, and a scientist posted a Google Slides presentation about the merits of the lab theory (and imagine it was banned under the misleading "health" information umbrella) ....

Disclaimer: I use dropbox (mostly since they have supported linux since when I started using the service, and when I started using the service, the syncing was much better than google drive) But now I have another reason!

comment 5y ago · link · parent

To follow up on this comment, I think that math should be viewed as a giant tree structure or pyramid

At the bottom are all sorts of applications of linear algebra and optimization (calculus) are related to machine learning, deep learning (AI), physics, engineering etc.

One level up there are all sorts of ideas in algebra and mathematical analysis that are leading to new ideas in linear algebra and optimization (calculus)

Going one level higher, there are ideas in mathematical logic and set theory that are improving our understanding our algebra and analysis.

If you look at a specific result at the very top of the pyramid as ask why does it matter? It is difficult to give a good answer. Clearly we want to base of the pyramid, but do we need to keep building it up? Should we stop at a certain level?

comment 5y ago · link · parent

I think this quotation best summarizes the article

"When someone misuses the red cross,(the video game industry being just one of many), we seek their cooperation in ending the unauthorized use"

The red cross is a protect trademark so this seems reasonable.

comment 5y ago · link · parent

> 3D integration

In case anyone missed it, AMD announced a basic "3D" design last month

https://www.hpcwire.com/2021/06/02/amd-introduces-3d-chiplet...

Essentially AMD "stacked a 64MB 7nm SRAM directly on top of each core complex, tripling the L3 cache available to the Zen 3 cores."

I am excited to see what comes next!

comment 5y ago · link · parent

I hope everyone read the disclosure at the bottom of the article:

"Each of the companies above qualifies for inclusion in the X Factor Index as of this writing, however, this may not have been the case in June 2011. Therefore, the hypothetical 10-year performance of the portfolio above is potentially misleading."

Given this disclosure, I propose the Y Factor. I looked at what big stock has had the best average return over the last 10 years. Using the criteria I found Netflix was the best among the stocks I researched, so I made the Y Factor index consisting only of Netflix stock. By using backtesting over the last 10 years I found the following:

If you had invested $100k in the Y Factor 10 years ago you would have $6M!

comment 5y ago · link · parent

A friend challenged me to solve this digit memorization mini game.

The objective is to memorize 12 digits in around 3 seconds, and enter the memorized number in 7 seconds.

I managed to get 9 digits semi consistently by memorizing three 3-digit numbers, I got 10 once, but never 11 or 12 .

117.

Can anyone pass this 12-digit memory minigame?(sharkiller.ddns.net ↗)

1 points · by dfdz · 5y ago · 2 comments

comment 5y ago · link · parent

My point is that for codes like this, the issue is not vectorization.

Just evaluating the special functions exp and sqrt is taking 90% of the time. You can evaluate these special functions in parallel, but that is about it.

comment 5y ago · link · parent

This example is not really testing Fortran vs. Julia, but rather testing the speed of the math library you linked to.

The most expensive part of the fortran code is evaluating sqrt and exp.

For example on a 5600X the current Fortran code (with n=10 000) takes about 2.7 seconds. If I change the definition of M to remove the special functions (M(i,j) = a(i)+ a(j) then it takes .3 seconds. (Using gfortran with -Ofast)

When the special functions are the issue, using the Intel Fortran compiler and Intel MKL will make the code about 2x faster (this is what Matlab or Julia is probably using)

comment 5y ago · link · parent

"However, his love for physics was intact and urged him to go back to school. Therefore, he enrolled at Princeton University to study physics and mathematics in 1933.

There he wrote a thesis on solid-state physics under the guidance of Nobel laureate Eugene Wigner."

The title is fairly misleading ...

123456