care-tags programming thread for dorks

Off topic

care-tags programming thread for dorks

Postby SteevMike » Mon Apr 21, 2014 4:50 pm

since everyone has a computer and @rjbman is taking his sweet time making a programming thread, i am taking the initiative

in this thread, we can discuss things like:
    -what is your favorite programming language
    -what text editor do you use
    -why would anyone have more than like 2 text editors
    -what is your favorite algorithm


obligatory
Image
  • 6

User avatar
SteevMike
 
Posts: 117
Joined: Wed Nov 20, 2013 12:33 am
Location: Out Sarging
Reputation: 357

Re: care-tags programming thread for dorks

Postby rjbman » Mon Apr 21, 2014 5:09 pm

My github

Sublime is my text editor of choice atm.

Do my python work in PyCharm, which is most of my work (including the Care-Tags scripts I've written). Python is the best why can't everything be in Python?

Currently working on an OS kernel for my Computer Systems class (in C with a smidge of x86 assembly). Somehow I'm the only one in my group of 4 that understands how paging works.
  • 3

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby rjbman » Mon Apr 21, 2014 5:10 pm

Project Euler is fantastic.
  • 4

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby rjbman » Mon Apr 21, 2014 5:12 pm

Bogobogosort is the best algorithm ever.
  • 1

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby zayg » Mon Apr 21, 2014 5:13 pm

i'm probably the only person here (or on the internet at all at this point) who doesn't know how to program
  • 3

User avatar
zayg
 
Posts: 550
Joined: Thu Mar 27, 2014 8:32 pm
Reputation: 2241

Re: care-tags programming thread for dorks

Postby SteevMike » Mon Apr 21, 2014 5:19 pm

Has anyone used Go before? I've heard great things but I cannot for the life of me think of anything I would want to use it for.

I have a "personal" and an "academic" github, I don't have root access on my lab computer so committing is a bitch and I rarely do it. I should probably do more ~recreational programming~ but it's so much easier to google "How do i do <task> in <programming language>" and then figuring shit out from there.

I haven't done OOP in a long time so when I get excruciatingly bored I work on implementing this in java to teach myself how neural nets.
  • 0

User avatar
SteevMike
 
Posts: 117
Joined: Wed Nov 20, 2013 12:33 am
Location: Out Sarging
Reputation: 357

Re: care-tags programming thread for dorks

Postby ramdomthought » Mon Apr 21, 2014 5:26 pm

Code: Select all
cout << "hello world.\n";


testin some code (or seeing if ben has the [code] tags implemented)
  • 1

User avatar
ramdomthought
 
Posts: 1085
Joined: Wed Jul 10, 2013 11:53 pm
Reputation: 5395

Re: care-tags programming thread for dorks

Postby alby » Mon Apr 21, 2014 5:56 pm

I'm a senior in highschool and I am finishing up my AP computer science course which is Java based. I downloaded python and played with it for a day, but was kind of confusing. What should I learn/what is fun to learn? I'm likely going to go to school for computer science and will probably go for c++, I think?
  • 1

i'd walk a mile for a camel
User avatar
alby
 
Posts: 540
Joined: Thu Jan 09, 2014 10:00 pm
Reputation: 2642

Re: care-tags programming thread for dorks

Postby CleanThug » Mon Apr 21, 2014 6:10 pm

Taking a programming course next year

I have nothing else share sorry :(
  • 0

User avatar
CleanThug
 
Posts: 336
Joined: Sun Feb 02, 2014 10:23 am
Location: I'm so Northern California
Reputation: 807

Re: care-tags programming thread for dorks

Postby exprof » Mon Apr 21, 2014 6:13 pm

  • 1

User avatar
exprof
 
Posts: 517
Joined: Wed Jul 31, 2013 7:32 pm
Reputation: 4713

Re: care-tags programming thread for dorks

Postby RomanEmpire » Mon Apr 21, 2014 6:15 pm

I took AP CS last year, and I'm taking computer science III this year. I haven't learned very much because my teacher is pretty bad. Everyone failed the AP exam last year, and this year she switched to a new curriculum, which is alright but I haven't learned much coding. I'm gonna try to finish learning Java over the summer because that's what she taught us last year, but I know very little and forgot most of it. Where should I start?
  • 3

User avatar
RomanEmpire
 
Posts: 374
Joined: Sat Jan 04, 2014 8:47 pm
Location: Texas
Reputation: 1556

Re: care-tags programming thread for dorks

Postby sparkyoriental » Mon Apr 21, 2014 6:42 pm

- favorite text editors are emacs/vim
- favorite language PYTHON, racket/scheme
- least favorite language: Assembly
- favorite algorithm....karp rabin?

why would people have >2 text editors? they're good for different languages! emacs is great for scheme/racket, vim not as much.

I feel like a "bad" CS major sometimes because I don't program for fun -___-
  • 3

sparkyoriental
 
Posts: 137
Joined: Fri Dec 06, 2013 1:13 pm
Reputation: 753

Re: care-tags programming thread for dorks

Postby rjbman » Mon Apr 21, 2014 7:51 pm

sparkyoriental wrote:I feel like a "bad" CS major sometimes because I don't program for fun -___-


It's dumb but I feel as though you're at a disadvantage job-wise if you don't do this, regardless of how many As in your programming class you can get :evil: .
  • 1

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby nick » Mon Apr 21, 2014 8:12 pm

@sparkyoriental, please do. I got a BS in comp sci from a good enough college and good enough grades and amazon was the only software related interview I got (didn't go b/c travel anxiety lol). want more freedom in deciding your future? start working on personal projects. thought grinding through algos/data structures/etc was enough, but it's not :((
  • 2

User avatar
nick
Eminent Eminem
 
Posts: 434
Joined: Wed Jan 22, 2014 12:13 am
Location: Philly
Reputation: 2676

Re: care-tags programming thread for dorks

Postby sparkyoriental » Mon Apr 21, 2014 8:19 pm

@nick @rjbman Oh geez, maybe I need to explain myself. I DO program outside of school - all the time - I just don't find it "fun," maybe more of a means to an end? Given a Friday night, I won't be writing in scala or whatever. I'm hopefully going to grad school (not for CS though) so I'm not too worried about jobs or "looking good" for HR.
  • 2

sparkyoriental
 
Posts: 137
Joined: Fri Dec 06, 2013 1:13 pm
Reputation: 753

Re: care-tags programming thread for dorks

Postby fun_yunchables » Mon Apr 21, 2014 8:48 pm

text editor: sublime
languages: matlab, mathematica for scientific/numerical computing. c and/or assembly for embedded projects

but mainly i just do math now, so markup languages like latex, not really programming anymore

edit: i am also a dork
  • 3

coolest lame guy u'll ever meet
User avatar
fun_yunchables
 
Posts: 760
Joined: Sat Jan 11, 2014 11:39 pm
Reputation: 4872

Re: care-tags programming thread for dorks

Postby sunblam » Mon Apr 21, 2014 10:09 pm

Does anyone work in WebGL? I just started using it for a job but there are some things I can't work out.
  • 0

Hello hello
I love you I love you
(maybe)
User avatar
sunblam
 
Posts: 115
Joined: Sun Nov 03, 2013 5:05 pm
Location: City of Angels
Reputation: 482

Re: care-tags programming thread for dorks

Postby rjbman » Mon Apr 21, 2014 10:57 pm

I'm taking some OpenGL stuff but it's in C++ and so I'm not sure how much carries over.
  • 0

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby alby » Mon Apr 21, 2014 11:06 pm

rjbman wrote:
You can pick a language?


I am pretty sure we can, or at least there are two different "paths" of classes for Java/C++. Any suggestions on what to download to start learning python?
  • 1

i'd walk a mile for a camel
User avatar
alby
 
Posts: 540
Joined: Thu Jan 09, 2014 10:00 pm
Reputation: 2642

Re: care-tags programming thread for dorks

Postby rjbman » Tue Apr 22, 2014 12:14 am

PyCharm (you'll still need to install Python) and Learn Python the Hard Way (html unless you feel like paying).
  • 1

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby gnarph » Tue Apr 22, 2014 12:39 am

text: vim
favourite language: python, c#
least favourite language: java
favourite algorithm: simulated annealing (Monte Carlo algorithms are super cool even if I only sort of understand), or simplex

Learn Python the Hard Way would be a good place to start; you could also check out http://www.codecademy.com/tracks/python.
  • 2

User avatar
gnarph
 
Posts: 8
Joined: Sun Jan 12, 2014 3:53 pm
Location: Vancouver
Reputation: 24

Re: care-tags programming thread for dorks

Postby thomaspaine » Tue Apr 22, 2014 11:01 pm

I've been meaning to check out go as well, mainly out of boredom with python. The problem is that I know python so well that it's hard to justify taking the time to do something in go when I know it'll take me 10 times longer. Since I wouldn't have a chance to use it in my day job I'd probably forget all of it anyways.
  • 0

User avatar
thomaspaine
 
Posts: 303
Joined: Thu Aug 08, 2013 2:18 pm
Reputation: 1233

Re: care-tags programming thread for dorks

Postby gnarph » Wed Apr 23, 2014 12:14 am

Yeah it's pretty hard to pick something up with just the goal of picking it up. I find I need to find some sort of project that I want to complete, and learn something in the process. Although no matter what I do in my free time, it's never going to compare to the mastery you can demonstrate by working with a language/tool/whatever 40 hours a week.
  • 0

User avatar
gnarph
 
Posts: 8
Joined: Sun Jan 12, 2014 3:53 pm
Location: Vancouver
Reputation: 24

Re: care-tags programming thread for dorks

Postby ramdomthought » Fri May 02, 2014 9:55 pm

have to try to do the impossible using google apps script

kill me now
  • 2

User avatar
ramdomthought
 
Posts: 1085
Joined: Wed Jul 10, 2013 11:53 pm
Reputation: 5395

Re: care-tags programming thread for dorks

Postby rjbman » Fri May 02, 2014 10:53 pm

Image

Though with xkcd there's always a hidden joke in the alt-text, so here's direct link.

My university actually did a study on this. Long story short, drinking converts some short term memory brain cells to instead be used as creative cells so that creativity comes at the cost of not remembering what you did. Comment your code, people!
  • 0

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby Bobbin.Threadbare » Sat May 03, 2014 6:43 pm

I want storymfg.com to look like a point and click action adventure game along the lines of The Secret of Monkey Island. Help.
  • 3

User avatar
Bobbin.Threadbare
 
Posts: 941
Joined: Tue Oct 01, 2013 5:07 pm
Location: London
Reputation: 6104

Re: care-tags programming thread for dorks

Postby rjbman » Thu May 08, 2014 8:56 pm

Does anyone know anything about parallelizing http requests in python? Currently requests are through the Requests library.

Only reason I ask is because as of right now the care-tags top posts script takes about 25-30 minutes to run. I'd like to cut that down, significantly.
  • 0

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby eskdc » Fri May 09, 2014 7:46 pm

Any Bay Area C-T'ers down to form a team for the AWE Wearables conference Hackathon on Memorial Day Weekend? Trying to put a team together and so far have only two people. Need like 2-3 more.
  • 0

User avatar
eskdc
 
Posts: 124
Joined: Thu Jan 09, 2014 11:23 am
Reputation: 254

Re: care-tags programming thread for dorks

Postby rjbman » Fri May 09, 2014 8:04 pm

Update: got it working thanks to the grequests library (literally the requests library with support for multiple requests simultaneously).

Runtime: 1589.235 -> 296.394 (s)
  • 0

"Let's be vagabonds." - Yohji Yamamoto
User avatar
rjbman
 
Posts: 1525
Joined: Sun Sep 29, 2013 11:34 pm
Location: CO
Reputation: 6785

Re: care-tags programming thread for dorks

Postby eskdc » Tue Jun 03, 2014 7:49 am

allow me to sing the praises of GNU screen:

Detach server screen session on your laptop

Bring netbook into bathroom

Reattach session, and resume programming while pooping
  • 5

User avatar
eskdc
 
Posts: 124
Joined: Thu Jan 09, 2014 11:23 am
Reputation: 254

Next

Return to Care

Who is online

Users browsing this forum: No registered users and 2 guests

cron