« first day (1006 days earlier)      last day (3943 days later) » 

12:00 AM
nah i think itll be jephrey
 
I can now switch between Japanese and English IME fast. :D
 
@jeffery close, but I'm a jefford
 
@Borgleader Jeffree.
 
just come to the family reunion. Jeffery. Yes! (all three turn around)
 
@ThePhD Alt + `
 
12:00 AM
@ThePhD Sounds like an american :P
 
same first and lastname up to my great grandfathers side
 
@jeffery Hey.
 
Ah. Darn. This joke was spoiled because the OP added the tag :/
0
A: replace only some value from json to json

seheBecause you hadn't specified the language tag, I went ahead and implemented it in c++. Here's the main program: int main() { auto jsonA = JSON::parse("{ \"a\":\"1\", \"b\":\"2\", \"c\":{\"a\":\"1\", \"b\":\"2\"} }"); auto jsonB = JSON::parse("{ \"b\":\"2new\", \"c\":{\"a\":\"1new\"} }")...

 
@Rapptz はい!
 
I answered in C++, of course
 
12:01 AM
@MooingDuck, I think the saddest part is where I put "Westos" instead of "Westeros" :/
@ThePhD At least I know what that means.
 
@sehe make_love
 
@BartekBanachewicz Yup. Because it was the strangest kind of merge :)
@SharkofMirkwood It's a shame you added the language tag. I was already off do some real C++ chops. I hope you still appreciate my answer as an... alternative way of doing things :D — sehe 3 secs ago
 
Alternative love.
 
Anyone had a problem before passing a safe array of variants from vb.net to c++? I started an msdn forums discussion here: here: social.msdn.microsoft.com/Forums/vstudio/en-US/… but have failed to produce answer. Crazy pointers in vb.net are hard.
 
@melak47 still here?
 
12:09 AM
@Tuntuni yeah
 
@melak47 i've downloaded the latest boost (from their SVN repo). so far it's compiling fine but i get "unknown compiler version", without any errors though. do you think this could be a problem later (the fact that it compiles but can't recognize the version)?
 
@jeffery You should be able to get somewhere with straight COM interop (idl SAFE_ARRAY* seems to be in my faint memory)
 
@Tuntuni nah, I can tell you where to turn that off, if you want :)
 
@melak47 where?
 
boost/config/compiler/visualc.hpp
at the very bottom
change the ifdef to #if (_MSC_VER > 1800)
 
12:12 AM
@melak47 _MSC_VER is 1800 for vc12?
 
yep
while it's not exactly checked, I found the warning annoying :p
did you have to change anything else to get it to build?
 
nope
 
might check that version out myself, then :)
 
iirc, there were no errors when i used 1.54 from boost.org, just "unknown compiler version"
i'll check later if all the libs were compiled, cba to watch this wall of text
 
The answers I got in one of my threads on msdn was very helpful though but I know the safe array fFeatures returns 2194 if I send the same data to the same function in vbscript but 2176 from vb.net. It even has the same data. for instance, 0,0,100,100,0,0 is the same from vb.net and vbscript but the safearray fFeatures flag is wrong. This is madness! I hope someone can chime in later.
 
12:14 AM
I love when I hack together a website design in an hour with bootstrap and people think that it's so sleek and amazing
 
@Tuntuni do the libs have 110 or 120 in the name?
 
@melak47 120 :D
 
then you might have to change the auto-link header :S
 
@melak47 ahh, right
 
I believe that SO answer had what you need
 
12:16 AM
damn
mhm
@melak47 oh, seems like using toolset=msvc chooses the best one available, but since it still doesn't have support for vc12 it chose vc11
 
@Tuntuni ^_^
 
anyone here done any game programming in the past with directx? I noticied xna has left does that mean managed directx comes back or xna is being replaced?
 
@jeffery I honestly have no clue which wrapped form of DirectX is recommended anymore.
Thank the C++ gods macros don't affect UDL names.
 
@melak47 Comparing the number of libs built now with those built with vc11, it seems like 4 are missing :c
I'll try it with the patch now
 
Arrrrrrggggg
 
12:21 AM
shouldn't it have complained if something didn't build?
 
Clang won't compile in VS2013 preview
Fuck Clang. =[
 
@ThePhD fix it, don't be a wuss
 
@melak47 it says 8 targets skipped
 
@Tuntuni does it say which ones?
 
althought i can only see 4 libs missing
@melak47 nope
 
12:22 AM
@melak47 I will be a wuss. VS2013 does ridiculous shit with its new errors and horrible type_traits shit.
I won't stand for this!
 
@ThePhD why do you want to build clang with 2013?
 
@melak47 If I can't build clang with it I can't use it to make ym reflection in VS 2013, etc. etc. etc.
I might spend tonight doing more work on it, to see if I can get it to run.
 
user406009
What happened to type_traits in VS2013?
 
Iam skipping playing around with visual studio 2013 because usually visual studio takes 2 years to program and send out and they skip out on stuff when they move up the deadline. I hated dotnet 3.5 because it always acted strange for me.
 
Build GCC with MSVC. Build Clang with that GCC. Build ICC with that Clang. Build MSVC- oh wait.
 
12:24 AM
lol
 
Cheers, I just updated the make_love implementation to handle heterogenous leaf nodes without a problem and reporting failure. It came in 12 lines shorter, and I changed the demo testcase to show the new feature. — sehe 23 secs ago
@je4d cheers. Long time no seen!
@Lalaland It got template-alias style alternatives like std::remove_reference_t<T> instead of typename std::remove_reference<T>::type
 
@sehe evenin'
 
@je4d It's quite early here. I should be horizontal
 
@sehe yeah, likewise.. i extend "evening" to apply to any time after the evening when I haven't gone to bed yet :)
 
@je4d oh you're UK based. I tought for a second you were in the US
Out on a limb, any chance you'd see me at Meeting C++ 2013?
For once it's not across the globe
 
12:28 AM
Anybody seen some old equipment at your workplace before? My previous boss laughed at me and has a reef around his door with floppy disks he showed me in addition to the floppy disk only laptop with slide out keyboard. That keyboard was boss! lol
 
@sehe Not currently.. although I probably will be within the next month :)
 
@je4d Relocating or vacation?
 
@sehe I want to... working out if i can atm
 
you want to (a) or (b)?
 
ARGH GALLSTONES :(
 
12:30 AM
Oh, anyone seen a IDE hard drive clock before? They are cool. My old boss had one too.
 
@DeadMG That's not nice.
 
@sehe I'm not sure which I can make it to atm, but the list of trips I'd like to make is {going native, my cousin's wedding in ~september, std meeting in chicago}
 
@sehe I thought you went to sleep like, two hours ago?
 
@jeffery By extension, I infer your boss is/was cool. Anything else of importance?
 
@sehe whichever of (a) or (b) involves going to meeting cpp
 
12:30 AM
@DeadMG Possibly
 
@sehe thanks
 
@je4d Ah. I get it now.
 
@sehe I thought about popping by by about a month ago... I made ~5 trips to Ghent in as many weeks :)
 
I just found out
my indentation and coding style
 
which is most of the way
 
12:32 AM
is nearly identical to Stroutsoups
\o/ !
 
@je4d Wow. That's where @StackedCrooked lives
 
@sehe really? I had no idea
 
FWIW I never realized Ghent is spelt in that particular way :/
Must have seen it before, but somehow never registered
 
@sehe I have no idea how it's spelt. The world can't seem to make up its mind between Ghent and Gent
 
whats up
 
12:34 AM
we even joked with a few of the district technology coordinators about the acronym PEBCAK. We just laughed and told them that if they thought for a few minutes instead of clicking randomly the PEBCAK problem would disappear. (Paraphase). Yes, we could get away with it because I had a nice boss and the teachers liked us.
 
I'll take @StackedCrooked's choice between the two as fact
 
this chat room is always poppin
 
@sehe anyway, I'll ping you on twitter when I've worked out if I can get to meetingcpp. any chance you're making it across the pond for Going Native?
 
@je4d Zarroo, sadly. Budget depleted. Also, I'm not so fond of traveling long. Little kids. And a modicum of social anxiety that goes with the trade :/
So my first ever visit to a proper tech conference is quite the breakthrough. (Wish me luck)
 
@sehe meetingcpp will be your first? good luck!
 
12:39 AM
Yeah. I figured I should just seize the opportunity. Bought the early bird ticket. Yesterday I informed my boss :D
 
lol
is your firm funding the trip then?
 
My brother just farted in my room, and then closed the door.
 
@je4d Hopefully, he can still strike some kind of a deal. Thing is, C++ isn't exactly at the heart of our company's business. Nevertheless, I keep doing important work for them in the field. So I figured, to hell, it's worth the money to me, we'll see what my company is willing to contribute
@EtiennedeMartel ...
 
@sehe That's a good way to do it. The more I go to tech events, the more I realise that it's completely worth it to spend my own money going
 
@EtiennedeMartel Same thing happens here all the time, except I'm the one farting :3
 
12:43 AM
@je4d I think so. Despite me having no real reference. Anyways, I'm off to bed. Before I spot some drawn out spirit question.
 
@sehe or a javascript question that you can coerce into one. g'night
 
I will give a beer to anyone that can answer my question I posted above because its driving me crazy. Is their still a vb chat around or is it gone?
 
user406009
1
Q: how to search for a string between 4 strings

user2589043i want to write a program that gets about 4 strings from the user and then asks the user to type a string to see if the string exist in one of those 4 strings that have been entered.could you please correct my mistakes.thank you.(i use dev c++) #include<iostream> #include<conio.h> #include<stdlib.h

 
user406009
Today must be C with classes day or something.
 
If C++ survives for another 20 years, they'll be mocking C++11 as if it were what C++85 (aka C with classes) is today
 
12:49 AM
For a second I thought that was the other Jeffry.
 
Just hope my dad and grandfather do not make profiles and start chatting on here. You will not know who is who except they might spell their names jeff-rey instead of Jeffery.
 
I wonder if I will stop using this username someday.
 
well Iam leaving time, remember beer or replace with giftcard of equilivent value if that suits your boat.
 
@Pawnguy7 Well, you ought to become Queenguy7 in about 7 move's time
 
@je4d Haha, true. Anyway, I think on some times it is also chessguy, which is a tad confusing. I imagine I could have gotten that everywhere but the chess website though.
 
1:04 AM
Is there a term for posting code on SO with the line numbers of your text editor on the side?
 
10
Q: C++11 range-based for loops without loop variable

user2593383In C++ I need to iterate a certain number of times, but I don't need an iteration variable. For example: for( int x=0; x<10; ++x ) { f(); } Is there a more elegant way to write this using C++11's range-based for loops? I can't seem to figure out how to do it without using an iteration vari...

Another quite odd question with a lot of upvotes.
 
This reality is lame. Would anyone like to journey with me through the multiverse to find a better one?
 
Does unsigned default to unsigned int?
 
@Crowz Talk to Kilgore Trout
 
I didn't know you could have it by itself, but I have seen it twice today.
 
1:12 AM
There were a lot of bad questions today
 
Would you say SO is still climbing?
 
The Q is +10, sehe's answer is +11.
for what is basically a non sequitur.
 
so today I spent all day trying to fix a bug where I wasn't getting the right output, only to find my data file was outdated...
 
@Crowz Oh you lucky bastard. I have seen people trying to fix a bug for an entire day while compiling a different source tree.
 
Hey guys is there any consequences for using more buffers? Ive been working with DX recently. Aside from memory of course.
 
1:19 AM
I'm kind of happy I don't have to deal with a source tree in my current project
 
Does source tree mean, in this context, they were editing source, but always compiling the same, old, unedited source?
 
@Crowz a cvs is always nice.
@Pawnguy7 yes
@Pawnguy7 for an entire day
 
Ah. I did that for about ten minutes with a header file once. I still have no idea why it wasn't the one in the project though...
That would be very frustrating.
 
It is a humbling experience =)
 
I assume I suck, and be happy when I don't. Needless to say, I am rarely happy :D
 
1:24 AM
@Pawnguy7 Dude, here, get some excellent advice free of charge youtube.com/watch?v=d-diB65scQU
 
1:37 AM
Oh.
Can anybody explain the s/something/somethingelse? Is it just substitute?
 
I am upgrading my hiking/camping equipments
 
so earlier today I scored a fluke 177 multimeter on ebay for 50$, pretty excited about it
 
@Borgleader Can't. Yet. I need 87 votes!
 
1:53 AM
@Borgleader This is getting embarassing, or at the least uncommon
 
some guy got 6 upvotes out of it too
wut...
 
2:11 AM
Can I answer that with simply "Templates are compile-time."
"I'd prefer to do this without boost or c++11." well fuck you
 
@Magtheridon96 Then add "C++ doesn't like metadata".
 
@MarkGarcia C++ doesn't like anyone
Bjarne created it while meditating on a pentacle with no clothes on
 
user406009
@Magtheridon96 So thus he should use virtual functions which provide runtime polymorphism :)
 
@Lalaland Could work for him. Maybe he's just looking at the problem he's trying to solve incorrectly too
 
user406009
You are right. Wasn't there a technical term for that?
 
2:16 AM
the X/Y problem? post it on SO and ill give you an answer :P
 
Let's give it a new name
"There's a monster in my toilet, how do I make a chainsaw plunger?"
 
user406009
@Magtheridon96 He did end up posting his actual problem though.
 
I see
 
Hey wondering if someone could help me. I have the following line of code: cout.setf(ios::fixed,ios::floatfield), then i write cout.precision(2). but 9.1 keeps showing up instead of 9.10
 
have you tried setw ?
 
2:24 AM
First penta ever. Woooooo.
 
put it to like 3-4
@EtiennedeMartel gratz
 
@Borgleader setw?
 
@Borgleader no that's not what i need, setw manipulates actual spacing. i'm dealing with precision.
 
std::fixed
ideone.com/XMlOQB <-- example
 
2:41 AM
@Borgleader thanks a lot!!
 
TIL that std::shared_ptr is great for wrapping move-only objects in libraries that requires copies of those objects.
 
@MarkGarcia are you using DirectX and visual studio ?
 
@AmberRoxanna Boost.Asio callbacks and the move-only boost::future. Until Boost.Asio supports move-only callbacks, I'll use std::shared_ptr to work around it.
sigh. I'm still getting these EOF errors...
 
I hate networking...
@MarkGarcia What are you working on anyway ?
 
@MarkGarcia from cross platform files or files generated from different softwares?
 
2:50 AM
@Borgleader Creating yet another http library. Then build on top of it an offline Wikipedia reader app that serves offline Wikipedia content to the browser.
 
@Telkitty猫咪咪 Testing on google.com :)
 
Still working on the client side though. Still have to practice my networking skillz.
 
any app that requires internet access to the server, I immediately demand at least twice the price - can get messy ...
 
2:57 AM
This reminds me of a story.
 
@Telkitty猫咪咪 REALLY messy. And you'll need to interleave your thinking on the interface side and the networking side.
 
@Telkitty猫咪咪 did you hear? you made @ThePhD's list :3
 
His bucket list? dating list? hitlist?
 
possibly all of the above :)
 
3:14 AM
o.0
 
@AmberRoxanna cplusplus.com/reference/ios/ios_base/precision "Using the default floating-point notation, the precision field specifies the maximum number of meaningful digits to display in total counting both those before and those after the decimal point. Notice that it is not a minimum, and therefore it does not pad the displayed number with trailing zeros if the number can be displayed with less digits than the precision."
 
oh, uh, he's still around
 
What did I do now? D:
How do you guys like this API?
tree<int> thetree( 5 );
bool y = thetree.Contains( 5 );
bool n1 = thetree.Contains( 2 );
bool n2 = thetree.Contains( 5, 2 );
bool betterwork = n1 == n2;
 
@ThePhD .Contains( 5, 2 )?
 
@chris Compile-time list of items is specified as variadics.
So you can walk down the tree using a natural-feeling comma-delimited list of items.
 
3:20 AM
@ThePhD Wait, I just realized those are arguments, not the comma operator. Omg I need to die.
 
shouldnt it be: bool betterwork = (n1 && y) == n2;
 
@Borgleader I know the y works, so I just needed to test n1 == n2
 
@Borgleader : I have changed the description. If you think this is clear please remove the hold. Thanks — rajaditya_m 1 min ago
 
Woooaaahh.
 
the cache poisoning dude just pinged infinite people to get his question re-opened. lets see if his edits are meaningful
 
3:22 AM
Why are some people always mean to others? Is it because they feel insecure themselves?
 
They must not realize it gets attention after it's been edited.
 
@ThePhD I assume Contains( 5, 2 ); is like Contains(5) && Contains(2)?
 
I have to commend them on being the first one I've seen to actually edit their question after it being "closed"
 
@MarkGarcia No, it's a search path down the tree.
 
@melak47 huh? ... link?
 
3:25 AM
@ThePhD Does it start from the top only?
 
@ThePhD Eh? It's not that intuitive, IMHO.
 
@chris Yes. Start from the top, search down/
 
@ThePhD I could sort of see something like HasSuccessiveChildren(5, 2);
 
Or you can make it start from an arbitrary spot and pass that as the first.
 
3:27 AM
Or maybe ContainsSequence, or... idk
 
@chris @ThePhD so does this mean if you search for 5,2, that some node has to contain 5,2? or if it finds a 5, does it keep searching for 2?
 
And if each spot is a tree, that would fit into your logic.
@melak47 It looks at the children (or root first, idk) for a 5, then its children for a 2 is what I would imagine.
 
I prefer to do chaining, like Contains(5).Contains(2), though "Contains" wouldn't be that appropriate for that kind of operation.
 
@melak47 lol, thanks for the link.
 
watch out, he's coming for you!
 
3:31 AM
@MarkGarcia FindChild?
Or GetChild? I don't know.
 
@melak47 Maybe I will go to him first ... :p After all I have only been to the U.S. twice >_<
 
nvm
 
@ThePhD Hey! You've exempted SEA! Though you should not come here. You'll only find trouble.
 
I think get gives the impression of it returning an actual object instead of a location more.
 
@MarkGarcia we can both come and visit you
you are kind of close to where I am ... kinda
 
3:34 AM
@chris Yeah. But I don't know what to do when an in-between Find operation fails. Find(5).Find(2).Find(3) where Find(2) fails.
 
Earth is too small nowadays (relative to the travel speed)
 
@MarkGarcia What is SEA?
 
South East Asia
 
@Telkitty猫咪咪 Sure, but Mindanao is currently being travel warned.
 
You should know you excluded them!
 
3:35 AM
Ooh.
I didn't exclude them!
Nobody who lives in that area fessed up.
 
@MarkGarcia I kind of like the idea of Get(5).Get(2); being a noop if the object is invalid.
 
> That's pretty much everywhere in teh world except Southeast Asia.
;)
 
@MarkGarcia You could just check if the previous "iterator" is valid, if not, don't do anything and keep returning an "end iterator"
0
Q: C++ - Alternative to iterating vector

user2593738I have a std::vector<MyClass*> (a vector of MyClass pointers), and I need to find a particular item in the vector. The class has a getID() function which returns a unique identifier of the class. If I want to find a class with a specific ID, I iterate through the vector looking for the class wit...

 
@chris jQuery style. I like that.
 
Who wants to be this guy was iterating on maps?
 
3:37 AM
@MarkGarcia Well, it wasn't my fault.
 
There is a place called Negros in the Philippines? RACIST!! >_<
 
@Telkitty猫咪咪 Negroidia.
 
@ThePhD Well, as I said, you shouldn't come to this place. Unless you're doing some documentary on political warlords or corruption or terrorism. :)
@Telkitty猫咪咪 lol. And that's before the internet.
 
@MarkGarcia I called my SearchWorld function, and I got a SumTingWong exception -- I had to catch it and move on.
 
@MarkGarcia @ThePhD likes to live dangerously ... just look at how much sleep he gets everyday :p
 
3:39 AM
@ThePhD Lame.... you copied the news things
 
@Telkitty猫咪咪 Uh, UB? :D
 
UB is what C++ programmers do when they want to feel like badboys.
 
Dat Ho Lee Fuk...
 
Are consumers really stupid and is Apple's decision to focus on user-friendly products instead of usability products actually correct?
 
3:40 AM
@Borgleader Yeah, I'm not exactly sure how she kept going without much reaction.
 
I can't believe someone let this air on TV
 
@chris Newscasters don't pay much attention to what they say.
@Borgleader It got confirmed by the authority.
 
@MarkGarcia She said "Fuk" like "Foo(k)"
 
I find the sound of "Wi Tu Lo" weird. "Wu Ti Lo" sounds more like a name. The intern should have been more realistic.
 
tree<int> thetree( 5 );
bool y = thetree.ContainsPath( 5 );
bool n1 = thetree.ContainsPath( 2 );
bool n2 = thetree.ContainsPath( 2, 5 );
bool n3 = thetree.ContainsPath( 5, 2 );
bool betterwork = n1 == n2;
^ "Path" is a better word, I think.
 
3:51 AM
Yeah, I had a hard time believing it as well... Maybe I'm doing it wrong. This is how I was finding the item in the unordered_map: try { return uomap.at(ID); } catch (out_of_range ooe) { return NULL; }. Is that correct? — user2593738 5 mins ago
Awwww he wasn't iterating :(
 
4:05 AM
Hm.
What should I call a function that walks the tree and calls a function for each node?
 
Imagine if Twitter said "Listeners and Listening" instead of "Followers and Following," how would you react?
 
@ThePhD .each(), like in jQuery.
 
Hm.
 
Hm?
 
4:08 AM
@AshKetchum Yes. $(selector).each(function(idx, elem) { blah });. Can't do Javascript without jQuery. :)
 
@MarkGarcia Well, yeah. But I was talking about my question
 
@AshKetchum Oh. But I @ ThePhD ya know.
 
@MarkGarcia You tweet ?
 
@AshKetchum No. Nothing much to tweet about.
 
But you could still answer my question ;)
 
4:14 AM
@AshKetchum I know how Twitter works, though I can't relate on some parts of it. For your question, their feedback mail would be filled with capitalization bug complaints. ;)
 
@MarkGarcia What do you mean?
 
@AshKetchum Oh. Sorry, didn't read your query well. Well, I think I'll feel that tweets would become more like podcasts.
 
@MarkGarcia Why podcasts? I mean its just the term right? You are not actually having them read out loud.
 
@AshKetchum Well I said "feel" and "like". Having "listening" tingles my ears. :)
 
4:31 AM
@Telkitty猫咪咪 hey hiiii hows you ??/
 
5:01 AM
 
@NipunGogia good good, yourself?
 
@EtiennedeMartel What's so Meh about it, huh?
 
I don't see the point, frankly.
 
5:13 AM
Its a "Give me teh codez" question
 
WTF. Right clicking on a file on Windows Explorer seems to take years!
 
I felt there are far too many restrictions in this room.
 
Oh Cat + + ...
 
@AshKetchum You're undoubtedly correct. Later.
 
@JerryCoffin O hai!
 
5:22 AM
@Borgleader Hello.
 
Is your job still sending you on crazy road trips these days?
 
Hey guys! New here :-)
 
ello
 
Weird. I'm reading CRCRLF...
 
@Borgleader I'm still staying near San Francisco, and commuting into the city daily. Will (probably) be going to Austin TX on Monday as well.
 
5:25 AM
Hey A, H. whats up?
 
Oh cool, SF is a nice place. Hopefully it won't be too hot in Texas :)
 
@PrathikRajendranM Hi New. If you're New, why does your user name say "Prathik"? If you're already lying to us, that's not a good start...
@Borgleader Yeah, SF is all right, though the commute sucks.
 
@JerryCoffin Oh snap, you caught me!
 
@JerryCoffin How long? When I go to university it takes me 1h30 xD
 
@Borgleader Varies -- going there is typically around an hour. Getting back to the hotel is usually around 2, but sometimes close to 3. I really wish I'd brought my road bike along. Even when traffic is good, it'd be about as fast, and when traffic is bad it'd be a lot faster.
 
5:32 AM
Ouch! =/
 
There would also be the nice side effect of burning off a bit of my excess fat.
There is one minor problem though: I'm not sure of a direct bike route from SF to anywhere close to the hotel. I suppose there must be a route, but it may be rather roundabout.
 
There is a "bike mode" in google maps :)
 
@Borgleader Hmm...interesting. Must be (fairly) recently added. As feared, the bicycle route isn't quite as direct. The driving directions is a list of 10 items. The bicycle directions...65 items.
 
Oh darn... and yes it's a fairly new addition to google maps.
 
@Telkitty猫咪咪 i am fine
 
6:03 AM
Oh damn, I got backed up by Nicol Bolas
 
@Borgleader One important issue here is move semantics, which he did not, at least explicitly, mention.
 
Why would you need move semantics on an initializer list? I mean in most uses cases they're temporary objects and have (and are meant to) have pointer semantics.
 
Well, initializer_lists maybe are meant to just access some internal compiler structure where it knows where and when to move things.
 
I mean, I'll admit I still haven't fully wrapped my head around move semantics. But I read his question and to me the gist of it was "it doesn't act like a container, why?" because it shouldn't.
 
@Borgleader The problem is that you cannot move from an std::initializer_list. It , I think, copies or (may) move(s) objects into it, but you cannot explicitly move from it. Maybe it's left to the implementation to move things around, just as what I last said.
 
6:12 AM
a bit off topic but does anyone here know anything about electronics and specifically variable dc power supplies?
 
6:24 AM
@AaronKyleKilleen sort of...
 
I just bought one and cannot find very much information on it
 
so, do you have like a question?
Also, isn't there an electronics stackexchange already?
 
oh yeah, I didn't think you could chat there unless you had reputation on that stackexchange specifically
I was wrong and figured that ought when I tried it
anyway, does it look like a good variable dc powersuupply?
quality wise
 
I don't know. It looks ok enough I guess.
You had best look up reviews your self
 
I can't find anything about it really
oh well, I guess I'll find out!
 
6:30 AM
@AaronKyleKilleen It's probably all right. There's not really all that much to a power supply. Most of it either works or not. About the only place you can skimp much is the filter capacitor, choke (if it has one) and possibly heat-sink for the regulator.
The big question is what you want/need it for, and whether that requires particularly tight regulation and/or low ripple (honestly, most things don't).
 
@JerryCoffin I just want to mess around with some chips to practice embedded programming, might have to mess around with microcontrollers if I build a 3d printer
 
@AaronKyleKilleen Most embedded systems will have their own voltage regulator, rendering the supply quality non-critical.
 
@JerryCoffin I was planning on just using a 9volt battery for a while, now I don't have to
which themselves are like 3$ a pop at walmart
plus if it goes into mains, and you're going to be messing around with the current, not a bad idea to get a quality unit
 
6:45 AM
9v will be too much for must microcontrollers, you will need some form of circuit to reduce the voltage. Also, with mains, the current is not a concern, it's the fact you have such a high voltage, two orders of magnitude too much.
 
@thecoshman well either way
 
And like Jerry said, microcontrollers these days are able to take rather rough power lines.
 
0
Q: Negtive reputation of users in review audits

Benjamin GruenbaumI was reviewing posts today and got the following post to review: Note how the user has negative reputation. If I may add "seems legit".

^^ ahahaha
 
Now I just need a deal on a good soldering iron
 
@AaronKyleKilleen now there is a place to spend money.
 
6:49 AM
@thecoshman orly?
@thecoshman I'm aiming for 25-40$
 
yeah, you want to make sure you have a quality iron
a cheap crappy one will just make everything you try to do with it a pain in the ass
 
@thecoshman yeah good quality stuff is a lot more enjoyable to use, even setting the effectiveness factor aside
 
@AaronKyleKilleen $40 is a pretty inexpensive soldering iron. High end is something like a JBC or Metcal. About the minimum I'd consider would be a Weller.
 
@JerryCoffin yeah I looked at some wellers, I'm definitely getting a station with adjustable temperature, I was looking at some Hakkos too
 

« first day (1006 days earlier)      last day (3943 days later) »