Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 01 00:26
    @bjorno43 banned @Ndoua
  • Jan 07 03:10
    @bjorno43 banned @doctor-sam
  • Oct 02 2019 18:47
    sarony removed as member
  • Oct 02 2019 17:45
    erictleung commented #82
  • Aug 15 2019 11:17
    FrednandFuria opened #82
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • May 10 2019 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 2019 19:48
    @mstellaluna banned @zhonghuacx
  • Apr 25 2019 17:07
    @mstellaluna banned @cmal
  • Jan 08 2019 22:07
    @mstellaluna banned @gautam1858
  • Jan 08 2019 22:05
    @mstellaluna banned @dertiuss323
  • Dec 15 2018 23:34
    @mstellaluna banned @Julianna7x_gitlab
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:13
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:58
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
Philip Durbin
@pdurbin
@erictleung did you see freeCodeCamp/how-to-contribute-to-open-source#44 has people responding to the "help wanted" label?
Eric Leung
@erictleung
@pdurbin thanks for pointing that out! I guess I missed it from the traveling I was doing yesterday.
Philip Durbin
@pdurbin
you're welcome :)
Eric Leung
@erictleung
I haven't read through the article yet, but just the headline already have a good piece of advice, “Your Default Position Should Be Skepticism” https://www.propublica.org/nerds/hadley-wickham-your-default-position-should-be-skepticism-and-other-advice-for-data-journalists
Alice Jiang
@becausealice2
That's good advice regarding all types of journalism, really...
Alice Jiang
@becausealice2
thinking back on some recent doctor's visits, skepticism seems just a reasonable default universally.
ali Fazeli
@AFZL95
hello all, I'm Ali Fazeli and I'm a Data Analyst at Huawei Technologies.
glad to be here https://faze.li/
Advaith Doosa
@AdvaithD
Hey guys, I've got a quick question w/ something I'm working on using pandas. Would be great to have someone give me some direction. Thanks
Eric Leung
@erictleung
@AFZL95 welcome!
@AdvaithD feel free to ask your pandas question here :smile:
Stuart Bridges
@sdbridges
who is Cthulhu
Alice Jiang
@becausealice2
fictional deity from a supernatural horror story by HP Lovecraft @sdbridges
Philip Durbin
@pdurbin
with tentacles, I believe
Alice Jiang
@becausealice2

he's described as

A monster of vaguely anthropoid outline, but with an octopus-like head whose face was a mass of feelers, a scaly, rubbery-looking body, prodigious claws on hind and fore feet, and long, narrow wings behind.

Personally, I choose to believe "feelers" are human fingers. Thankfully my talents are not artistic, but renditions by those who are have the cephalopod-like head on humanoid body with claws and demon-esque wings. like evil bat wings
Alice Jiang
@becausealice2
In a debate with a friend and now I'm curious, do you guys consider your spending habits "personal information"?
Marky Jackson
@markyjackson-taulia
I would say that falls under PI
Philip Durbin
@pdurbin
How much detail are we talking about? The books I bought?
Alice Jiang
@becausealice2
Basically, yeah. The conversation sort of stemmed off me telling her the Target recommendation algorithm outing a pregnant girl story.
Philip Durbin
@pdurbin
ah
Alice Jiang
@becausealice2
we came to a mutual impasse where we agree that we appreciate quality recommendations, but aren't sure how much we appreciate accumulation of data that can infer something as personal as pregnancy. Especially by a corporate entity.
but at the same time I'm torn because recommendation algorithms are essentially just sophisticated pattern recognition, no? I can recognize patterns of behavior that I know others don't usually pick up on would that make me a bad person? lol
WAIT! let me rephrase, I pick up on patterns that others typically don't realize they pick up on until I've pointed it out, but there often is a "now that you mention it...." style response....
ciphoenix
@ciphoenix
I don't think information gotten from pattern recognition can be classified as it's public knowledge.
You picking up things others miss wouldn't make you a bad person on the same vein
IETSilencer
@IETSilencer
Hi Everyone, I am using sqlite3 in python 2 and would like to ask how can I loop through different tables? in the cursor.execute() command it doesn't seem possible to add in a variable like i, if for i in list: blah...

import sqlite3
conn = sqlite3.connect('blah')
cursor = conn.cursor()
query = ['gg','ff' , 'aa']
for i in query:
cursor.execute(select value from history where NAME = i]

this returns a error. Any links or help would be appreciated.

Eric Leung
@erictleung
@IETSilencer I haven't written this out, but I suspect the error comes from my hunch that cursor.execute() takes in a string, not a series of variables. Right now, Python is trying to evaluate select value from history where NAME = i as a series of variables. Also, cursor.execute ends in a square bracket rather than a normal parens.

@IETSilencer what you want in the cursor.execute() is something like this

# Create table
cursor.execute('''CREATE TABLE stocks
             (date text, trans text, symbol text, qty real, price real)''')

So you'll want to dynamically build the query string using Python and then put that created string as an argument to cursor.execute() like

cursor.execute(my_query_string)
@IETSilencer the documentation has some good examples for how things should look like https://docs.python.org/2/library/sqlite3.html Good luck!
Whenever there is an SSH, there is a way
Alice Jiang
@becausealice2
@AFZL95 self-promotion is considered spam according to FreeCodeCamp's Code of Conduct. Please remove your link.
harshchaplot
@harshchaplot
@AFZL95 what is ssh??
Ahmad Abdolsaheb
@ahmadabdolsaheb
Hello, does anyone know how I could get a list of most popular tech related keywords?
I have all the languages, top libraries, "machine learning", "web development", ....
Alice Jiang
@becausealice2
@ahmadabdolsaheb on which platform?
Google? SO?
Fazeel Usmani
@FazeelUsmani
I learned Python and want to dive into data science libraries like Pandas and Numpy. Any resources to learn?
Philip Durbin
@pdurbin
Fazeel Usmani
@FazeelUsmani
Thanks @pdurbin but I live in India. I need any online resource
Philip Durbin
@pdurbin
Ahmad Abdolsaheb
@ahmadabdolsaheb
@alice, thanks for the response. yes google
Alice Jiang
@becausealice2
@ahmadabdolsaheb check Google Trends. There's probably an API
Ahmad Abdolsaheb
@ahmadabdolsaheb
Thanks @becausealice2, I will look into that :pray:
Eric Leung
@erictleung
A bit of old news, but yesterday I was playing with JupyterLab and found it very nice to work with multiple Jupyter notebooks at a time and other fun goodies; see their blog from last year to learn more about it https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906 Anyone else try it out or use it regularly?
Philip Durbin
@pdurbin
Code Ocean uses it and we (Dataverse) will be integrating with Code Ocean so I'm looking forward to playing more with Jupyter Lab then. For now I'm just individual Jupter Notebooks on Binder and Whole Tale.
Eric Leung
@erictleung
@pdurbin very cool. I haven't heard of Code ocean or Whole Tale before. Seems like science is slowly converging on some computational interactive scientific articles like that described in eLife's blog https://elifesciences.org/labs/ad58f08d/introducing-elife-s-first-computationally-reproducible-article
@FazeelUsmani this book recently came out teaching not only Python, but R as well https://www.anotherbookondatascience.com/ That may be useful to you in your learning efforts.