|
i remember my first job was writing corba stuff in c++ for atc computers, i was a bad programmer then and i'm a bad programmer now does anyone actually use corba 3.x or does 2.3 just continue to shuffle forward bc of institutional inertia
|
# ¿ May 8, 2013 00:20 |
|
|
# ¿ May 5, 2024 02:13 |
|
proper k&r style isn't proper c# style
|
# ¿ May 12, 2013 01:23 |
|
std::vector<std::unique_ptr<myns::my_dumb_type<std::uint16_t>>>::reverse_iterator it;
|
# ¿ May 12, 2013 18:22 |
|
OBAMA BIN LinkedIn posted:so how long will it be before people realise that programming is a lifelong gravy train and wages then fall to account for increased supply of programmer? will this ever happen? ceos are way ahead of this. when zuck supports immigration reform it's because he wants to deflate wages. the golden age of easy work for fat stacks is dying this decade
|
# ¿ May 23, 2013 13:17 |
|
gucci void main posted:remote still being in the US? I think good communication (agile ) helps that but really it shouldn't be that bad android is somewhat sane if you limit yourself to > API level 14, but the docs still aren't as good as apples, and there's still nothing as good as grand central dispatch
|
# ¿ May 23, 2013 22:27 |
|
did u know you can do more than just java with eclipse?
|
# ¿ May 23, 2013 23:38 |
|
ios: a dying os
|
# ¿ May 30, 2013 22:23 |
|
once you've solved timezones can you start working on character encoding?
|
# ¿ Jun 4, 2013 23:57 |
|
i miss thinking that 10k lines was a big system i dont miss thinking i know how to rewrite everything i come across instead of learning it
|
# ¿ Jun 9, 2013 15:35 |
|
OBAMA BIN LinkedIn posted:teheres not enough abstractions for 1+1 http://www.mikedoesweb.com/2012/jquery-math-finally-solved/
|
# ¿ Jun 9, 2013 17:26 |
|
uG posted:i wonder how many people have seen both church numerals and the genitalia of the opposite sex?? Lots, usually on the same monitor
|
# ¿ Jun 10, 2013 02:22 |
|
there aren't many sane resources for c++ because it is not a sane language. someone who is better at it can step in with suggestions, but i don't think there's an easy way to learn it tbh Accelerated C++ is good, the C++ Primer is also good and more modern (but very very dense). effective c++ and effective stl will give a nice overview of best practices and common patterns, but they assume a level of knowledge that you might not be at yet i would say work through accelerated c++ (do the exercises) and then effective c++ and the wikipedia article on c++11. make it interesting for yourself along the way by doing small projects that interest you. maybe look into qt or some framework that interests you once you're ready for some mind-blowing pick up Modern C++ Design and Exceptional C++ comedy answer: get all of shrughes and that turkey story's posts from the c++ thread in coc and you've probably got a couple of good books
|
# ¿ Jun 20, 2013 20:55 |
|
JawnV6 posted:its like those riddles where one of the guards always lies
|
# ¿ Jun 21, 2013 00:37 |
|
im going to learn ruby
|
# ¿ Jun 21, 2013 20:30 |
|
gcc is c++11 complete. libstdc++ is a seperate project, and is not
|
# ¿ Jun 22, 2013 03:02 |
|
before someone gets mad about using a 5 year old version of gcc, 4.7 produces just as obtuse an error
|
# ¿ Jun 22, 2013 03:15 |
|
http://stackoverflow.com/a/612196/1015660 if only there were some way to enforce constraints like this before runtime. oh well guess we'll just all have to pinky swear to name our methods right
|
# ¿ Jun 22, 2013 07:08 |
|
OBAMA BIN LinkedIn posted:we have 2 platforms that our c++ code has to compile on before it gets into production, one of which uses an ancient gcc extension that still complains if u don't specify a compile time const value when u initialise arrays. use a vector and then just pass around the underlying array to whatever c bits you have. since you probably don't have c++11 on that platform, you can do a fake version of data() by passing around &front()
|
# ¿ Jun 22, 2013 16:10 |
|
OBAMA BIN LinkedIn posted:if ur work allows you to use c++11 then u my friend have a good job for reals c++11 is the best part of my job
|
# ¿ Jun 22, 2013 16:12 |
|
Cocoa Crispies posted:sorry your spergers is flaring up and mkaing you want enforced rules instead of loose guidelines i also want const_cast to be a compile error unless you add a -imafuckingshithead flag but no one has accepted my gcc patch
|
# ¿ Jun 22, 2013 16:13 |
|
OBAMA BIN LinkedIn posted:boost::scoped_array m8 even msvc has std::array, how old is your compiler
|
# ¿ Jun 22, 2013 16:18 |
|
you're a braver person than me, i can't write c++ anymore without c++11 stuff
|
# ¿ Jun 22, 2013 16:30 |
|
OBAMA BIN LinkedIn posted:same but replace 'text editor' with 'lovely 70 dollar program that does the exact same thing as programs 40 years its senior' does your job not pay for your tools?
|
# ¿ Jun 25, 2013 02:00 |
|
vs 2012 would be great if it shipped with a functional compiler
|
# ¿ Jun 25, 2013 15:57 |
|
Helicity posted:seems to compile my lovely code just fine, i dunno what this even means it means Herb loving Sutter works for them and they still don't have initializer lists
|
# ¿ Jun 26, 2013 01:25 |
|
perfectly cromulent code doesn't compile because microsoft is years behind apple and foss neckbeards C++ code:
|
# ¿ Jun 26, 2013 02:08 |
|
Shaggar posted:that's not valid code according to a microsoft architect it is
|
# ¿ Jun 26, 2013 02:12 |
|
OBAMA BIN LinkedIn posted:holy poo poo fortunately c++ is a bit more lenient about what it considers a constant expression
|
# ¿ Jun 26, 2013 13:54 |
|
OBAMA BIN LinkedIn posted:c++14 has VLAs and std::dynarray as a wrapper around VLAs but implementations don't have to allocate them on the stack C++14 has make_unique, std::optional, and generic lambdas my body is ready
|
# ¿ Jun 26, 2013 14:21 |
|
there is a project here that quietly includes -ftemplate-depth=4000 they gave up on build times a long time ago
|
# ¿ Jun 26, 2013 14:38 |
|
boost is gr8
|
# ¿ Jun 27, 2013 17:56 |
|
Symbolic Butt posted:
as usual, c++ is expressive enough to let you define just the closure you need C++ code:
|
# ¿ Jul 18, 2013 15:23 |
|
PleasingFungus posted:eh, it's pretty idiomatic. grab an iterator, map a single function on it, feed that into a set and then into a list. it's admittedly borderline - one more operation, and I'd definitely want to split it onto multiple lines - but I think it's ok. can you just use a set comprehension on that first line?
|
# ¿ Jul 23, 2013 23:32 |
|
PleasingFungus posted:yes, I literally did two posts up from the one you quoted. but then I decided that it was too many things going on in one line, and split it up to make it easier to read. no, calling set() on a list comprehension is not a set comprehension
|
# ¿ Jul 24, 2013 00:36 |
|
tef posted:(ps technically he called it on a generator comprehension). why am i so loving bad at python anyways, i'm sure you will explain why, but the set comprehension is reliably faster on my machine given these fake functions Python code:
code:
|
# ¿ Jul 24, 2013 00:51 |
|
i'm gonna write some python and dig into python source cuz im just embarassing myself
|
# ¿ Jul 24, 2013 00:53 |
|
PleasingFungus posted:you got that backwards, the set comprehension is orders of magnitude slower per your numbers foo_comp uses the set comprehension, foo_set uses the set() builtin. they both ran 100k times and foo_comp took 13 seconds less??
|
# ¿ Jul 24, 2013 00:58 |
|
use ruby and make the front page of hn
|
# ¿ Jul 30, 2013 17:56 |
|
we're hiring full-stack engineers to help disrupt big suicide
|
# ¿ Jul 30, 2013 18:00 |
|
|
# ¿ May 5, 2024 02:13 |
|
come build beautiful suicides with death.ly
|
# ¿ Jul 30, 2013 18:00 |