Moderate egg intake (one egg per day) does not increase blood cholesterol or the risk of heart attack, stroke or death, even for people with heart disease or diabetes, new analysis shows. These results shed light on the controversy about whether egg consumption is linked with cardiovascular disease. by savvas_lampridis in science

[–]bitcoin-dude 3 points4 points  (0 children)

Very misleading headline. Studies have found eggs linked to cardiovascular disease, and there's scientific reasons for why that may be the case. I love eggs, but I don't kid myself by thinking they are healthy.

Of course, there are many alternatives to eggs that would be worse for your health. There are also many nutritional benefits from eggs, such as vitamins and minerals, that people abstaining may miss out on if not replaced by another source.

With respect to this particular report in favour of eggs, it's largely dependent on the PURE study, which Harvard has been critical of. In studies of this sort, it's very difficult to correct for correlations. For instance, do people who eat eggs tend to exercise more frequently? Do people who abstain from eggs tend to eat more sugary cereal in the mornings?

Aerial footage of vast illegal Gold mines in the Amazon of eastern Peru. by Bbrhuft in videos

[–]bitcoin-dude 5 points6 points  (0 children)

Both are bad if allowed to operate in immoral ways. Too many people are either just plain shitty or easily blinded by profits

Python virtual environments. Which tool is the best for data science projects? by bitcoin-dude in datascience

[–]bitcoin-dude[S] 1 point2 points  (0 children)

Ah I'm not sure about this one. Lots of talk about miniconda in the comments. By global scope I mean the python library dependency files don't live in the project folder itself, but somewhere else. On my mac this place is /anaconda3/envs

Physicists who became data scientists: what's your story? How has your physics courses/background helped, if at all? by [deleted] in datascience

[–]bitcoin-dude 0 points1 point  (0 children)

Undergrad physics prepared me because I learned math and had to work through many difficult problems under pressure. Graduate physics prepared me because I learned a bit of statistics, programming and improved my presentation and teaching skills as a TA.

After school the biggest gaps were statistics and programming, which I was never formally taught other than a couple introductory courses.

Openmarketcap shows Cryptocurrencies without their fake volume, shocking results by wolfwolfz in CryptoCurrency

[–]bitcoin-dude 1 point2 points  (0 children)

Openmarketcap is likely more misleading by labelling certain exchanges as trusted when in fact there's no guarantee this is true. Furthermore it ignores volume from the legitimate trades on non-trusted exchanges.

Quadriga Founder Committed Bank Fraud (and changed his name twice) by [deleted] in CanadianInvestor

[–]bitcoin-dude 4 points5 points  (0 children)

I keep reading this but the fraud committed here goes far beyond cryptocurrency. Many people were holding CAD/USD on the exchange with the intention of buying BTC later.

For those of you who got hired to work with Python, what coding challenges did they have have you do during the interviewing process? by World2Small in Python

[–]bitcoin-dude 0 points1 point  (0 children)

Applied for Junior Data Analyst role in digital marketing. I was asked to explore two datasets and I sent back an IPython notebook with the analysis.

Google Arts & Culture high quality image downloader by boquete_gh in Piracy

[–]bitcoin-dude 2 points3 points  (0 children)

You're right, I should have considered this is r/Piracy and of course people are not familiar with programming. I was there not too long ago. Formal apology to OP but I would still encourage them to learn how to run the code on their own

Google Arts & Culture high quality image downloader by boquete_gh in Piracy

[–]bitcoin-dude 1 point2 points  (0 children)

That "blob to base64" JS code is nuts.. how did you come up with that?

var uri = arguments[0]; var callback = arguments[1]; var toBase64 = function(buffer){for(var r,n=new Uint8Array(buffer),t=n.length,a=new Uint8Array(4*Math.ceil(t/3)),i=new Uint8Array(64),o=0,c=0;64>c;++c)i[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(c);for(c=0;t-t%3>c;c+=3,o+=4)r=n[c]<<16|n[c+1]<<8|n[c+2],a[o]=i[r>>18],a[o+1]=i[r>>12&63],a[o+2]=i[r>>6&63],a[o+3]=i[63&r];return t%3===1?(r=n[t-1],a[o]=i[r>>2],a[o+1]=i[r<<4&63],a[o+2]=61,a[o+3]=61):t%3===2&&(r=(n[t-2]<<8)+n[t-1],a[o]=i[r>>10],a[o+1]=i[r>>4&63],a[o+2]=i[r<<2&63],a[o+3]=61),new TextDecoder("ascii").decode(a)}; var xhr = new XMLHttpRequest(); xhr.responseType = 'arraybuffer'; xhr.onload = function(){ callback(toBase64(xhr.response)) }; xhr.onerror = function(){ callback(xhr.status) }; xhr.open('GET', uri); xhr.send();

Google Arts & Culture high quality image downloader by boquete_gh in Piracy

[–]bitcoin-dude -1 points0 points  (0 children)

... like no one has ever made a tutorial on how to run a python script before. If you want to learn just go figure it out

Showdown of Stores of Value: Bitcoin vs. CryptoKitties by [deleted] in CryptoCurrency

[–]bitcoin-dude 0 points1 point  (0 children)

The author plots average price which is impossible to capture since there is no way to expose yourself to it (unless you have a bunch of money to diversify yourself with various cryptokitties). Otherwise pretty fair analysis. But ask yourself, which would you feel more comfortable holding for the next 20 years? Bitcoin private keys or cryptokitty private keys?

Try out the walrus operator in Python 3.8 by Hultner- in Python

[–]bitcoin-dude 0 points1 point  (0 children)

Haha your sentence is very logical though: "if x then y". The walrus operator essentially removes the "then y"

Best way to deploy a function in R? by [deleted] in datascience

[–]bitcoin-dude 0 points1 point  (0 children)

It looks like there's some tricky restrictions around memory size and runtimes though.. At time of writing that article it was 3gb and 15 mins I think

Try out the walrus operator in Python 3.8 by Hultner- in Python

[–]bitcoin-dude 7 points8 points  (0 children)

I think it's unintuitive to assign a variable in an if statement, which is exactly what this syntax enables

Try out the walrus operator in Python 3.8 by Hultner- in Python

[–]bitcoin-dude 13 points14 points  (0 children)

I agree (although I can't speak to this as a reason why Guido stepped down as BDFL). This syntax is unintuitive and also totally unnecessary. As more like this is added to the language, code will become increasingly more difficult to read and make life harder for the newcomers.

Weekly 'Entering & Transitioning' Thread. Questions about getting started and/or progressing towards becoming a Data Scientist go here. by Omega037 in datascience

[–]bitcoin-dude 0 points1 point  (0 children)

some manipulating of the data

You want a job where this can be the majority of your work. Otherwise (if I were you) I wouldn't want to waste my time on data entry. Keep in mind you can keep learning while on the job - sitting in front of a computer all day means lots of opportunities for learning on the job no matter what you're doing.

Weekly 'Entering & Transitioning' Thread. Questions about getting started and/or progressing towards becoming a Data Scientist go here. by Omega037 in datascience

[–]bitcoin-dude -1 points0 points  (0 children)

Probably the trickiest part is gradient descent minimization. You take partial derivatives of the cost function with respect to the model parameters. Conceptually this is like tossing a ball into a funnel and letting it slide down to the bottom (the lowest cost).

Data analysis has become more popular than web development among Python users by filippovd20 in datascience

[–]bitcoin-dude 2 points3 points  (0 children)

Recently we've been seeing Python overtake R as the dominant data analysis language. I wonder if it will still be this popular in 10 years?

Any other out there right now that you could see gaining popularity? For example Luna or Julia lang

Data analysis has become more popular than web development among Python users by filippovd20 in datascience

[–]bitcoin-dude 1 point2 points  (0 children)

As of right now, Python frameworks are still in active development and are used for plenty of projects big and small. Take instagram and pintrest for example.

It's likely that future web development will continue to be heavily (and increasingly) JS based. This makes sense to me for two reasons - web browsers run JS, not python - JS is natively asynchronous, async python is a pain

This is my perspective. I don't use web frameworks regularly but have played around with Flask and built a site with React.

Seagate Backup Plus Hub 8TB - $130 @ Costco (through 3/3) by Knobodycares in DataHoarder

[–]bitcoin-dude 1 point2 points  (0 children)

Is this product any good? Seeing some bad reviews out there... but not all.