jwesonga

Nairobi, Kenya

I enjoy writing code

1d
revised App Engine: Upload and parse CSV with 10,000 rows and 48 columns
added info about indexing one column
1d
comment App Engine: Upload and parse CSV with 10,000 rows and 48 columns
Seems like it would be more like 20,000 writes based on your input: - 2 writes * 10,000 rows
1d
asked App Engine: Upload and parse CSV with 10,000 rows and 48 columns
May
20
awarded Popular Question
May
6
accepted Golang: Read non valid JSON from text file
May
5
comment Golang: Read non valid JSON from text file
Not sure how it would work with the sample text I've provided..care to share?
May
5
comment Golang: Read non valid JSON from text file
Is there a way to do the above when u have multiple id values but you're only interested in the ones contained in the "port" section?
May
5
comment Golang: Read non valid JSON from text file
cool..thanks..what I actually now need is way to extract id values from only one section..
May
5
comment Golang: Read non valid JSON from text file
thanks for the contrib...I'm not a fan of "magic numbers" which is what I see in your code, what does "state=1, state=2, state = 0" mean? makes it quite hard for someone to look at the code and figure out what it's doing or not doing..
May
5
comment Golang: Read non valid JSON from text file
The text file in question has multiple id values, but I'm only interested in the ones in the port section
May
5
revised Golang: Read non valid JSON from text file
added 215 characters in body
May
5
asked Golang: Read non valid JSON from text file
Apr
22
awarded Nice Question
Apr
22
awarded Yearling
Apr
20
comment EmberJS: stuck with initial routing, controllers and templates with v1.11.0 (noobie)
Not sure how to proceed with this anymore..
Apr
20
revised EmberJS: stuck with initial routing, controllers and templates with v1.11.0 (noobie)
added error message from JS console
Apr
20
comment EmberJS: stuck with initial routing, controllers and templates with v1.11.0 (noobie)
Added adapter and removed the setUpController, still nothing loads, an error would help me figure out what is going on..
Apr
20
asked EmberJS: stuck with initial routing, controllers and templates with v1.11.0 (noobie)
Apr
16
comment Golang: Preview of managed VM app returns error
Found out what the "problem" is, for some weird reason I have to run "eval "$(boot2docker shellinit)" in the terminal before running "gcloud preview app run <path>" If I open a new terminal I have to repeat the process again. I didn't think this was the case since I added the environment variables to my ~/.bash_profile, is this the intended behavior?
Apr
16
comment Golang: Preview of managed VM app returns error
I ran "sudo docker -d" and got "This is a client-only binary - running the Docker daemon is not supported"
1 2 3 4 5