Ektbear's Posts
Nairaland Forum › Ektbear's Profile › Ektbear's Posts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (of 485 pages)
Also, it doesn't appear that string is a subclass of vector. |
No I mean, rather than me writing: string vec_to_string(vector<int> foo){ stringstream temp; for (auto x: foo){ temp << x << " "; } return temp.str(); } I just wish there was a header I could include that came by default in most Unix systems (or is easily installable, like Boost) that would do this. |
Seun: Things don't always go according to plan.Just messing with you dude..relax |
Seun lied to us |
I'm doing the problems in decreasing order of difficulty (where difficulty is measured by how many people have done the problems already). So...as much as I used to think C++ was a tedious/annoying language before, now I'm starting to like it better. The auto for loop allows you to iterate over a list like in Python, while the transform() function in the <algorithm> library is the equivalent of a map/list comprehension like in Python (well, nearly). The only thing I'm really missing at this point from Python is pretty printing...super annoying how there is no pre-built way to convert vector to string for print purposes ![]() I could of course write my own code to do this (and have done so), but would prefer if there was some prebuilt library I could just install/include. Anyways, I've done 11 problems so far: http://grab.by/lDDO Some sort of bug in my solution to "Largest Product in a Grid." Well, either a bug or me misunderstanding the problem statement. Will fix tomorrow. |
kat.ph is where I download stuff from. |
Evidently the Tiv did this at some point: "Numerous other studies have shown that splitting sleep into two roughly equal halves is something that our bodies will do if we give them a chance. In places of the world where there isn't artificial light -- and all the things that go with it, like computers, movies, and bad reality TV shows -- people still sleep this way. In the mid-1960s, anthropologists studying the Tiv culture in central Nigeria found that group members not only practiced segmented sleep, but also used roughly the same terms of first sleep and second sleep. ... [Yet] almost two decades after Wehr's study was published in a medical journal, many sleep researchers -- not to mention your average physician -- have never heard of it. http://www.delanceyplace.com/view_archives.php?2137 Has anyone else heard of this within their own town/community/ethnic group? |
The end of the Kobe era. 1996-2013...quite a long run. |
So I decided a few days ago that I wanted to improve my C++ skills (specifically C++11). I found this wonderful website Projecteuler.net that has programming puzzles of a mathematical bent. Since I hate the programming assignments in most textbooks (I find writing tic-tac-toe games and sh1t like that tedious/boring) but really enjoy the small puzzles on this site. Anyway, I'm really happy with this site so far, and just wanted to recommend it to others. |
Eziachi: The things is, when a moslem even try to joke about a thing like this, it always end up with people dying as he blow himself up in the process. ![]() |
![]() |
sarbanes-oxley is a US law, not European. Not sure it is anything to do with women quotas anyways |
sanusi=id1ot Anyway, this is likely to be illegal/unconstitutional |
na wa |
You can run Hadoop on your own personal machine. But like I said, if you don't have access to some sort of computing cluster, but need to do large data processing, I'd suggest AWS. |
You can't kick/punch someone in the balls or do eye, orifice gouging in MMA. Also if you can't defend yourself, the referee will stop the fight. Nobody will get the chance to just beat you silly. It is a dangerous sport, but no worse than boxing or American football as far as health risk goes. This fellow just got unlucky. |
Here is a great Anderson Silva mix I came across recently: https://www.youtube.com/watch?v=3SLwCRYLzZU MMA is a beautiful sport to me. |
Bros, do you also view boxing as a savage sport? MMA = kickboxing + wrestling + submission moves, basically. |
I mean, which countries are they from... |
Agreed, MMA is a great sport. Check out some Anderson Silva highlights on youtube...strategy, tactics, along with physical talent. |
Listening to a helluva lot of Fela right now for some reason ![]() |
Where are they from? |
They are wealthy and successful, yes. But isn't there something distasteful about stealing from other artists wholesale? My first introduction to P-Square was this knockoff version they made of Usher's + Lil Jon's "Yeah." So obviously I had a quite bad impression based on that. Long story short, stealing from others isn't a good look. |
slimyem: Mheeen..age has really caught up with her.Who'd believ she was one time this pretty?Good Lord. She was pretty. Time is very harsh ![]() |
Insanity. |
Eziachi: Because many Igbos and Yorubas understands spoken English and apart from the Nigerian territory or small portion Bein republic, there are no other place you find the Igbos and Yorubas, unlike Hausa language spoken in over 10 countries. Its simple economic. Market audience.end of thread. |
I don't think his path is the likeliest one though for anyone founding a company. Early on, gotta put in 15+ hour days, 7 days a week if you want your business to take off. |


