« first day (3008 days earlier)      last day (1941 days later) » 

12:56 AM
What was the paradigmatic way to assign a base class inside a setter? aka struct A : meta_data, some_other_meta { void set_meta(meta_data& data);};
 
^ Nice argumentation.
I once tried to write a program in C long time ago. I felt completely powerless without things like string, vector and map.
 
s/with/without
 
Thanks.
 
@Mikhail *this = data normally does the job; you can static_cast<meta_data&>(*this) = data if you think it improves readability or future-proofs the code
 
@LucDanton Fuck, Its getting late. Does *this create an instance of the object and will run the destructor? Also there might be some bullshit that happens when = is overloaded right?
 
1:01 AM
go to bed, if you can't see the meaning of that code you're way too tired to achieve anything
 
got one more test to pass
 
**this creates an instance from the instantiated object created by *this.
 
@Mikhail I don't understand the first question. as to the second, yes and that is one reason you might want the static cast---I'm personally in the camp that if there is an assignment op interfering, than that needs immediate fixing here and now
 
*this = data; // doesn't name lookup stop at A::operator= here?
And thus resulting in a compiler error.
 
yeah
has to be cast
 
1:07 AM
my mistake
 
@Mikhail dereferencing doesn't copy an object on its own
 
1:19 AM
well, thanks, my tests pass, now I can go get some coffee and write some bullshit papers
 
1:49 AM
My boss asked me to think of some "indicators of knowledge of C++" and "levels of competence".
I'm finding it harder than I first thought.
I could answer all kinds of technical C++ stuff. Like Level 1: Knows at least RAII. Level 2: can implement move constructors. Level 3: SFINAE. Etc...
But those aren't really criteria that mean anything to outsiders.
I think the primary requirement would be "Being serious about C++"
 
@StackedCrooked You can't take anything in life too seriously. Life is a sexually transmitted disease with a 100% fatality rate.
 
Might not be able to take it seriously, but you can certainly take a life
 
I mean. It's probably the hardest mainstream programming language to learn. And C++ jobs often pay less than C#/Java jobs. There has to be something that motivates the person to learn C++.
 
>>C++ jobs often pay less than C#/Java jobs
citation needed
 
I've seen it mentioned few times. It's a long time ago though.
I suppose at facebook/google they are paid very well.
 
2:01 AM
non-US issues
 
@StackedCrooked Senior management are for sure
you need to be at the top of the pyramid
 
Anyways, I think a big motivation for doing C++ is that you have an IEEE degree and initially learned to code microcontrollers
I'd ask somebody to implement a producer consumer queue
 
Like boost spsc_queue? Or more advanced?
 
Code in C++ makes you think about hardware more.
which makes in turn make you a better programmer
because hardware and software are not really separate, software depends on hardware
I seriously do not know what to say about google search result ...
 
2:27 AM
@StackedCrooked Id keep it simple. We were able to remove about 50% of applicants by asking this question. Also got a few really funny responses from embedded and aerospace people about how "mulithreading" is bad.
Its also a fun question because some people respond by using pthreads or win32.
 
Their response is to use pthreads?
 
Yes, we asked for a code sample.
 
If there are depression, there must be people on the other end of spectrum. Sometimes I suspect I might be one of those people - who can be happy for no reasons.
Inherited trait too - from my dad & grandpa.
 
When programming at the microcontroller level then I suppose producer consumer queues are a means to communicate with other components rather than threads?
 
Depends, I've seen threads on some medical devices. One dude described how they wrote their own simple OS for threading functionality.
 
 
2 hours later…
4:35 AM
4 days after I release the new version of my pi program. Somebody already went out of their way to test the limits of the new formula feature. And of course, they managed to break it... lol
 
 
3 hours later…
7:12 AM
I have been calling this one a rabbit, but it might be a hare instead.
 
8:14 AM
When you think about it, it is really hard to being fair and sometimes rules are hilarious - you can put a weight limit to luggage, say 20kg. But a 1.55m, 45kg adult pays the same airfare as a 1.95m, 135kg adult.
I don't know about other countries, but council rate here is calculated by the land size. So larger the land, the more fees you pay. However, everyone in the same council is provided with the same green bin, which is for grass, tree leaves etc. So regardless whether your land is 250 square meters or 2250 square meters, it's the same bin.
 
8:32 AM
Yesterday I managed to get anchors right on first try in a YAML
I'm so proud :')
 
8:53 AM
YAML is the most difficult config language to learn.
Also it's designed to be easy :P
 
Easy languages are the ones that don't have compilation errors when if there is a missing bracket.
 
Eh, it's the first configuration language I use to allow code reuse
I'm still mad that they natively support literals for ISO datetimes, ISO dates but not ISO times
it's super annoying
my Travis build is failing despite my successful use of anchors
but it's mostly due to the fact that I forgot that Clang uses libstdc++ by default on Linux and that I need to install a g++ along with the clang++
next step will be simplifying the OSX build with the homebrew plugin
apparently tweaking my .travis.yml was worth the try: for a typical GCC build I now fetch 25MB in 0s instead of 118MB in 4s
 
9:32 AM
Amazon founder and CEO has divorced at a rather peculiar time - after his company's share price has plunged 25% percent and right at the start of a potential trade war that could further send the company's share price plunging for a lot more. Since CEO/founder has to disclose when they buy or sell their own company's shares, cash out to pay for divorce seems to be a good way to cash out from his own company without alerting the rest of the shareholders.
 
How Can i initialize a std::ifstream with a file name. let's say i have defined std::ifstream DataFile and now i want to tell it the file name
 
9:51 AM
@yekanchi std::ifstream DataFile("Filename");
 
10:05 AM
your first stop should have been ^ (or google)
 
 
2 hours later…
12:03 PM
Can I put a trained 'A.I.' model on a micro-controller? Would a micro-controller such as Arduino be fast enough for a simple model?
 
what kind of AI?
neural nets are pretty fast to evaluate and don't take that much memory
IO is going to be a bigger limiting factor I'd think
 
IO as in camera/sensors inputs and instruction outputs?
Camera probably would be an issue because it takes a lot of processing power.
 
I I believe an rPi is not powerful enough for more than 1 fps for image recognition.
but if it boils down to a tuned PID an arduino is going to be plenty
 
rPi with external GPU?
Ok, the problem is that, I have 2 rPi and 2 Arduino. 1 rPi is on autonomous toy car & 1 has a bit problem on USB connection point.
I am putting up a small robot and a tiny robot & I need to figure out what to use on them.
 
12:23 PM
rPi is slow as fuck by modern AI standards
there's a reason why NVidia is partnering with car manufacturers now
 
Training is what takes most computational power. You wouldn't want to train it on rPi.
 
Yeah, but still
 
Most vs. Still a lot
 
a Pi is about 20 times slower than a usual desktop CPU
 
I don't have a million dollar budget on my A.I. robot prototype.
 
12:26 PM
depends on how much processing the final AI actually needs
 
an intel NUC is less than a million dollars and probably faster
 
and this is the first version so, like maybe much less
 
you can actually buy NUC as boards
 
You expect to just download an open source ai project, plug in a camera, train it, and sell for billions?
 
If I can get this working, then I will put a lot more. Get a real excavator with a fast computer.
 
12:29 PM
@ABuckau basically
 
Car is done and working, I am on to something else.
 
I'm not here to pisson dreams..but let's call a spade a spade . I have nothing to contribute, so I'm no better.
 
@ABuckau Telkitty has a history of extremely low quality work here dating literally years back
 
Working?!?
 
so there's that
you should take it all with a truckload of salt
 
12:30 PM
Always.
 
@ABuckau you didn't see the video of my trained autonomous toy car?
 
Uh..
II thought you are controlling it. After drinking :p
 
@BartekBanachewicz Yet, people were, and still are using them.
And I literally did what others thought I could not do. Albeit, you suspect them to be low quality.
 
Apr 29 '14 at 12:15, by telkitty.exe
@BartekBanachewicz simplest version control - save a copy each day with some explanation
@TelKitty people use all kinds of shit
proves precisely nothing
 
I know I believe in you. Drunk driver #1.
 
12:34 PM
lol
 
so much couragement from this chat, like, heaps stacks ...
 
II'm pushing you because I care. Don't settle for mediocrity.
 
it's not like you did anything to improve this chatroom either
 
better not let it overflow
 
being blocked by virtually every regular
being kicked out numerous times for posting gifs of chickens
I mean
literally every time I've unplonked you I regretted that after not more than 10 minutes
in my defence I did that numerous times on numerous occasions because I actually believe that people can change, alas...
 
12:38 PM
@ABuckau It's really running on a trained model
 
I never blocked anyone because not being to follow half of a conversation is super annoying
 
@Morwenn you can use "show posts" temporarily
 
I was kidding. But it looked..sloppy. Fine for v1, bit I never saw updates.
 
also guys I've implemented a UI in Rust
 
@BartekBanachewicz still annoying, I want the whole conversation without specific actions
 
12:39 PM
@BartekBanachewicz that's not true, try to write some program and see whether people use them
 
it's actually this immediate gui paradigm, wonder if you've heard about it
@TelKitty I'm not saying that it's easy to make people use the shitty software; I'm saying that people using software doesn't mean it's not shit.
 
apps and house I have designed and built
 
good for you?
 
They are not superb, but consider the speed I need to work on things ...
 
don't get me wrong, I think persistence is a good trait
 
12:41 PM
it's way easier to just ignore people by not reading their messages when I don't want v0v
turns out that our brains have nice features
 
@Morwenn man
 
@BartekBanachewicz wrong
 
@BartekBanachewicz First family lived in the house for 2 years and 5 months, second couple started living there 4 months ago.
First moved out because they returned overseas.
@ABuckau I literally had low priority task queue for 5 months and I need to get them done in 3.
 
12:56 PM
@TelKitty unacceptable.
 
Well, that's will have to do. I asked for minions a previous Xmas but was given the options of having elves for a few days ...
 
'The stuff I make is bad, but I can make it really fast' isn't good to me. In most cases.
"Have to" seems pretty strong. If you hadn't? Look where we are now..
By we, I mean you*
 
In what ways?
 
What what?
 
@ABuckau It's called self motivated. I choose what I do and I do them. Very few people have such a freedom.
 
1:03 PM
I can agree with that..
 
I don't have the motivation to do that
There will be evening sessions about freestanding C++ and audio basics at the next committee meeting
looks like SG13 is still somewhat alive
 
Also opportunities are everywhere, one only has to catch one big one in order to succeed. Better get prepared. Because if you do, you may or may not succeed, but if you don't you will DEFINITELY not.
 
II think our definitions of success are different.
 
What is that "success" thing people keep talking about?
 
It's mean to be abstract.
@ABuckau Have you thought about getting your keyboard fixed? For someone with such a 'high standard', you keep on spelling first letter twice.
 
1:21 PM
OOn my phone? No.
I did think about buying a new one though. But getting food for my AR is more important than not doubling letters. :D
 
1:53 PM
@Morwenn yeah, just keep piling more stuff on top of it, that's guaranteed to make it better
worked with java, right
 
grumpy Bartek never changes :3
people: "there's too many shit in C++ cluttering the language and the standard library"
also people: "why doesn't the language and standard library have this, this, this, this, this and that"
repeat forever
we still lack basic string operations ç_ç
and file globbing
 
2:08 PM
@Morwenn Because it's poorly designed, not because there's too much functionality.
they're not mututally exclusive complaints
there's always a scope for people to complain about missing features that should never be added, but I'm just saying that they're not inherently exclusive
algorithms would be a good example where we probably have more algorithm functionality than C# but only because ours is a billion different variations on .Where()
 
@Morwenn I'd much rather have a working module system and package manager than that
@Morwenn also that priorities are dumb as hell
how many % of C++ developers need to do audio
how many do need to split a freaking string
 
@BartekBanachewicz game devs
 
@BartekBanachewicz be happy the future isn't likely to bring that anytime soon x)
 
@ratchetfreak they use 3rd party libraries anyway
it's not like C++ audio will replace FMod
 
@Puppy it's generally not about too much features that people complain, but about the committee spending time on feature X instead of feature Y
 
2:13 PM
heck, I'd be surprised if it covers at least what OpenAL has
 
@BartekBanachewicz remember that SG13 is still trying to push the 2D Graphics TS >.>
 
@Morwenn yes, because those are actually worthwile improvements, so there's an almost certainty that they won't be done
@Morwenn case in point
 
@BartekBanachewicz there's a proposal for string split specifically, which adds a bunch of functions and I'm not sure it will make it into C++20 even x)
 
probably not
the problem with adding string split is that either you're adding more functionality that doesn't work with Unicode or you're adding a tiny bit of Unicode functionality in a non-Unicode world
 
there was a version of string split not allocating any heap memory, which looked kind of neat
there will be tiny improvements to the status of unicode for C++20, but nothing big
SG16 tried to push the small proposals first because they knew they wouldn't get any big proposal ready on time
 
2:17 PM
with string_view it's easy to implement split without heap allocating
 
@Morwenn Hm. I suppose that would require each substring to hold a reference to the parent string and store the offset and length somewhere in the small buffer area?
 
@StackedCrooked the split function takes a function that takes a string_view and is called for each split part
 
a.k.a. "We wish we had IEnumerable but don't"?
 
tfw I don't know shit to C#
 
well basically the design is badly contorted for performance reasons instead of doing what's natural because returning some kind of range that doesn't involve heap allocation in C++ is Really Fucking Awkward
 
2:28 PM
"Really Fucking Awkward" sounds like a great name for a Culture ship
@Ja_cpp neither can we
 
It says
/usr/include/c++/8/thread: In instantiation of ‘struct std::thread::_Invoker<std::tuple<void (*)(short int*, int, int, int), short int*, int, int, int, int> >’:
 
@Ja_cpp it says more than that. Make an SSCCE
 
Okay thanks
 
 
5 hours later…
7:09 PM
@Borgleader This guy's on a roll with meta questions:
-11
Q: What should be done to change people's perception that Stack Overflow is hostile?

COrNotToCAnother user told me to search for questions about "hostility" on Meta Stack Overflow. There seem to be many people who think that the Stack Overflow community is hostile. I think this is a serious problem and something needs to be done about it. I think one way of doing this is by making a cons...

 
Great potential for a shit post asking "what is the purpose of stackoverflow?"
 
Is there a way to phase it in such a way as to invoke Godwin's Law in the title?
 
7:44 PM
replace "SO is hostile" with "SO users are nazis"
 
yeah that would do it.
There are more creative ways to do it nowadays. Apparently, calling someone a Trump supporter in an argument (unrelated to politics) is now considered invoking Godwin's Law.
 
lol
 
I've seen it happen several times on forums. Argument gets heated. One person accuses the other of being a Trump supporter. No more posts, thread gets locked.
Jerry said he was on the receiving end of that once.
 
@Mysticial this never gets old
@Mysticial lol really?
 
8:01 PM
@Borgleader I don't think it's official yet. But it definitely seems to be that way (based on my admittedly limited sample size).
It probably won't be official until it gets overused. (which hasn't yet)
I also haven't seen it come up in cases where the "accusee" is actually a Trump supporter.
Mostly because the internet as a whole tend to lean to the left so there's less right-wing people.
 
8:20 PM
@Mysticial Could have something to do with this
 
> White nationalist, white supremacist, Western civilization
three terms that absolutely go together
 
@Mgetz Oh the guy who almost lost his seat in his deep-red district.
 
9:01 PM
@Mysticial I kinda like their apparent positive motivation, I hope they won't get disgusted and hang around long enough to understand stuff.
... though it would be nice if they lurked a bit more before asking all this.
 
9:24 PM
Whelp Unity just jumped the shark arstechnica.com/gaming/2019/01/…
 
@Mgetz did this come out of the blue?
 
@LucDanton not sure but it looks like Unity could get sued for bad faith
 
9:57 PM
@Borgleader Dug up an old gem. I don't know if you've seen this: meta.stackoverflow.com/questions/308169/…
Reall all the comments going all the way down and on all the answers.
 
10:21 PM
@Borgleader Title of the day:
-10
Q: oooh,Who can help me

seemeI have install python v-3.7.1 and pip install pipenv of lasted version, then use pipenv install could create project Virtualenv success with no error message, but when I use pipenv install numpy or pipenv shell ,always return me an error message, FileNotFoundError: [WinError 2] I'm in trouble ...

 
CK.
Laurel
 
oh my English is very poor... — seeme yesterday
oooh, he means
 
10:38 PM
What someone should do is post another "SO is hostile" question on meta. Put Hitler or Nazi in the title to make sure it invokes Godwin's Law early. Fill the body of the question with profanity, more Hitler and racism, and correct spelling+grammar. Then when people start commenting on it, say your English is very poor.
 
11:22 PM
I'm more amused when people claim SO is made for something other than making money
 
SO probably wasn't started with making money it's sole purpose. But you know, when you have venture backing and a couple hundred employees to feed, you kind of having to start generate an income.
 
11:38 PM
As soon as you accept VC, you've already been sold.
 
Partially sold.
 
At whatever bullshit evaluation you game them!
SO's pitch deck was "everybody in the world will need to be a software developer by 2013, therefore in three years we expect 8 billion users".
At this point we should just nationalize stack overflow
 
There's a lot of things that could be nationalized.
 

« first day (3008 days earlier)      last day (1941 days later) »