« first day (3248 days earlier)      last day (1707 days later) » 

12:22 AM
@Mikhail "their less scalable designs are competitive because they have the faster node." How does less scaleable mean faster in this case?
 
12:43 AM
I didn't say that. I said a less scalable design is only competitive because of having a faster node.
Anybody working on anything fun?
 
I'm working on deploying a docker swarm
 
For fun?
 
testing something out
 
I'm trying to figure out the best way to scale out my machine learning work. Thinking that a 8 GPU box might be cost effective, at around $8k but can't quite come up with a parts list.
Most of the rely on a $2k SuperMicro chassis which exceeds my budget, theres gotta be some way to do it with a bit coin mining rig
 
1:00 AM
I think nvidia sells the box
 
What you're thinking of costs more than your home
 
well you don't need the box just look at what it comes with and make your own scaled-down version
 
nvidia's box is all custom
Honestly, the comment about looking at whats inside made me laugh :-)
 
really all you need is to buy is a CPU and one or more of their GPUs and string them together with a solid-state drive
 
lol, okay
 
1:06 AM
and lots of Ram
I would think writing the software would be much harder
 
You're clearly not in the field :-)
Writing the software is free, you download the code off some Chinese guy's github. Congradumalations, you are now an expert on AI.
To make it work you need to train, but for most data you need a lot of compute to actually improve performance.
Then it takes days to train
Then you don't do nothing but still get paid, as epochs pass
So nvidia's DX2 is basically 16 GPUs for $400,000, lambda sells a rebranded SuperMicro system with 8 GPU for $18k.
I think I can build one with a duct tape and glue for around $8k
 
Maybe but transfers between GPU and CPU domains is where your bottlenecks will be at. I think the box is trivial
 
lol
Dude, stop staying bullshit :-)
 
I mean trivial in the sense that you don't need that level of scale
 
The data transfer is not substantial because its streaming, so while the latency is high the throughput is good
 
1:12 AM
go for four NVIDIA GTX 690 graphics cards
 
Why not one Quadro card :-)
 
well you want threads, but your limit is 32 thread blocks per gpu
 
you don't need a faster card, you just want a large number of threads running at the same time.
that's from 2005, why is it relevant
 
 
3 hours later…
4:12 AM
Any idea why companies and org like Nasa don't use their super computer to mine bitcoins then use the money genereted from bitcoins to fund their own projects
 
4:24 AM
I would assume that most of the scientists/engineers who work for NASA are more interested in doing the research and/or building instruments to explore the space than to mine bitcoins.
It's like you want to get from A to B in the shortest possible time, instead of travelling there, why not mine for gold nearby than use the money gained for the journey. The answer is that, it will most likely to slow you down.
 
 
3 hours later…
7:47 AM
What? Most hpc providers have, internally, substantial computing resources, that are under utilized. Even as an intern, I was given unrestricted and total access to top 500 computers.
@LoïcFaure-Lacroix in short its because computers are allocated for a reason, and groups within an orgonization like nasa or ncsa need to pay to use the machine. Now, actual super computers cost about 10x more than a white box, so its not cost effective to perform bit coin mining.
 
 
3 hours later…
11:15 AM
Why is using myptr = std::make_unique(..) everywhere an improvement as opposed to myptr.reset(..)?
Somebody has sent me a pull request with 20 Clang Tidy based change sets.
 
Because reset most likely implies naked new and people's eyes are sensitive
why are all of your messages removed?
 
Hello, do you guys use c++ in real life? I mean not only use c++ in competitions...
 
Nobody uses C++ in real life. It's just a troll language.
6
 
Haha
 
11:30 AM
@Morwenn Yes, there are naked news there.
 
Yes, I'm doing C++ at work for medical applications that include depth & colour cameras
 
why c++ is important in that area?
 
Because depth cameras libraries are written in C++
Basically there's a library ecosystem that makes it worth using too
 
A lot of imagine processing uses C++.
 
We haven't reached major performance issues yet, so I can't tell whether using something else would be an issue
 
11:33 AM
I see
 
OpenCV (Open source computer vision) is a library of programming functions mainly aimed at real-time computer vision. Originally developed by Intel, it was later supported by Willow Garage then Itseez (which was later acquired by Intel). The library is cross-platform and free for use under the open-source BSD license. OpenCV supports the deep learning frameworks TensorFlow, Torch/PyTorch and Caffe. == History == Officially launched in 1999, the OpenCV project was initially an Intel Research initiative to advance CPU-intensive applications, part of a series of projects including real-time ...
 
We do use OpenCV and Eigen
 
@Morwenn feel free to read them :)
Wait I'm not even sure if room owners can see deleted messages.
 
I can see the history
I didn't know that it was a thing :o
 
11:40 AM
Ah. Cool :)
@Morwenn I don't think anyone will object to you being a room owner. So I'll just leave it as is :)
 
I don't think I'll use much the associated power, but I probably won't misuse them either :p
 
You get to kick-mute trolls. I've only used that power once. But it did feel good, I must say.
 
Hehe
 
@Mysticial My company's entire infrastructure is in C++.
 
11:58 AM
Mysti is turning into a troll :'( Initialisation process is complete, there is no turning back ...
For years, little Mysti tried and fought to curb the troll within ... but you know, the troll is bursting out like the cliff top rock fall for gravity...all it takes is a little push in the right direction.
 
12:17 PM
can i convert vector<istringstream> into vector<string> in one line !
 
@Zoe appreciate it
 
 
1 hour later…
1:28 PM
The most prolific independent game developer is Stephen "Increpare" Lavelle (UK), who has released 178 games in total between 2008 and 2014.
Oo gawd, there is someone who is 'worse' more prolific than me >_<
My record was ... 13 apps in 6 years
But I have moved on to building other things.
Wonders how this developer maintains all the games? I had problem with 8.
 
2:23 PM
213
Q: What are some uses of template template parameters?

FerruccioI've seen some examples of C++ using template template parameters (that is templates which take templates as parameters) to do policy-based class design. What other uses does this technique have?

 
been there done that
 
Hey I'm of the opinion that This could be done with c++17 and SFINAE in a better way... so yeah.. templates can get a bit insane
 
 
2 hours later…
4:01 PM
@Morwenn Which depth camera?
 
@Mikhail Kinect2, Astra, Structure Sensor & RealSense
 
can i just check what you can return from a c++ function?
a value, a reference and a pointer.
but not arrays, vectors, multiple values
cannot return an object
 
Zoe
What? You can return all those in any of the previous forms (vectors, arrays, and multiple values (if you pack it in a pair/tuple) can be values, references, or a pointer)
 
ok so what can you return from a c++ functino
google never gives a definitive answer
(from c++ 11 onwards)
 
Zoe
@Permian Pretty much anything. std::vector<int> func() { return {1, 2, 3}; } is a perfectly valid function. Same with the (smart/-)pointer variants and reference ones (if it's a reference, it can't be a temporary object though)
 
4:15 PM
@Zoe that first function is ok? surely it wasnt in earlier c++ versions?
 
Zoe
Previous versions just require a slightly different initialization, but everything else is valid in all versions supporting a vector
Again though, works for anything. template <typename T> T func() { return {}; } is a valid function for any types with a 0 arg constructor (or for primitives), which also includes vectors.
 
ok thanks
 
WTH, The Spy, Sacha Baron Cohen in non-comedic role? Is it any good?
 
I'm hungry ._.
 
4:31 PM
@Morwenn Eat.
 
But I'm supposed to eat dinner later, I can't just snack now
Hey, it's apéritif time :D
 
5:24 PM
@Morwenn Eat dinner now.
It is almost 8pm, sort of.
 
no
I'll eat when it's ready
 
Eat it raw!
Now!
What's for dinner?
 
5:49 PM
@Morwenn don't eat, limit your choloric intake. You will live longer
 
6:14 PM
We've not decided what's for dinner
Also wilx why do I always feel like you're trying to solve most problems through direct orders?
You should know that it doesn't work
 
6:30 PM
posted on September 07, 2019 by Scott Meyers

Rock & roll has a hall of fame. So do toys. Fresh water fishing and towing each have one, and there's one for pretty much every kind of sport. I think C++ should have one, too. CppCon, which starts in about a week, provides a natural setting for discussions about a C++ Hall of Fame. To get things rolling, I present the following proposal, on which I welcome comments. I won't be at CppCon

 
6:50 PM
What do actors snort in scenes when they are supposed to snort cocaine?
 
@Morwenn Probably because you are kid and I am a father. Kids need order and orders. lol
 
lol
I'm a functional member of the society and almost 28 v0v
Also parents who don't respect their kids don't deserve respect back ;)
 
@Morwenn This has nothing to do with respect.
 
Being assertive requires respect/authority to work
 
7:20 PM
@wilx How could an opinion about respect have nothing to do with respect?
 
@StackedCrooked We were not talking about respect. We were talking about order and orders, hence it has nothing to do with respect.
 
That's what you are talking about. Not me.
Lol, is this gonna turn into a flame war?
Anyway. Time for Fruits Basket.
 
Also you need a a C++20 compliant compiler before you can be assertive
 
7:53 PM
if we know as a constant that the length of our array will occupy the 0 -> unsigned int in size. Is it better to use a raw array or an unordered_map as a hash?
 
better in terms of?
 
Respecting orders has all to do with respect
 
thats not how orders work..
 
speed and performance
 
Your orders are worth nothing if nobody follows them
 
7:54 PM
I just need to know if the value exists. order is not important
maybe an unordered_set is better than the unordered_map, if the unordered_map confuses. I only mentioned unordered_map thinking it might help
because unordered_set.find is a linear operation
and array lookup and placement is O(1)
I just don't know if it is wise to be allocating so much space to do something quickly when you are using less than 1% of that space
 
How many elements do you have? Maybe a bitmap is the best option.
 
@ScarletAmaranth @Mysticial @Xeo Any of you watching Fruits Basket?
 
@wilx well, the number of elements is the entire table of users in my database. and their id are ints. so let's say 300,000 ids
 
I read Fruits Basket a long time ago
I could never finish it
 
I have the manga on my shelf. But only read the first ~10 volumes
 
8:09 PM
bitmap might not be a bad idea, but how would you encode the ids for quick retrieval
 
@Rick Well, I guess it is not usable then.
 
8:34 PM
Worst case is rare.
@Rick How can array lookup be O(1)?
 
@StackedCrooked it's a raw array, not a vector so it's just on the stack.
 
@Rick Are you a bot?
 
anyone know how i can use my controllers instead of this stupid endpoint
app.Run(async (context) =>
{
await context.Response.WriteAsync("Hello World!");
});
 
@StackedCrooked what do you mean by bot?
 
Idk if is good to ask here
Also someone know a good library for reading fbx files?
in modern cpp?
 
8:54 PM
@StackedCrooked array lookup is O(1) you just go the address and see if that value is a 0 or not. With the unordered_set it's a tree log(n) lookup, with some caching mechanism i assume to amortize it to O(1) over some period time.
 
Ah, you mean array lookup as in indexing an array. I thought you meant linear search.
However, unordered_set lookup is O(1). Because it's a hash table.
 
linear search lol, hell no! I am not retarded (I hope).
@StackedCrooked I don't believe hash tables exist. They are usually a tree of some kind
2
 
9:12 PM
if you think about it, it's true. I don't want to sound like a crazy person. but linear probing uses a linked list. Quadratic probing has to still jump some number of intervals to get to some value, separate-chaining has it's own positives and negatives
 
@StackedCrooked no
 
@Mysticial What are you watching this season?
 
@StackedCrooked why are you reading the mega when you can just watch the show. Is the Mega better than the show?
 
@Rick I suppose you mean manga?
I'm not reading the manga. I'm watching the show.
 
9:19 PM
How do we make manga audiobooks?
 
Using soundwaves :P
 
@StackedCrooked Oh, well I've already seen it. It's old news bro.
 
Cool.
 

« first day (3248 days earlier)      last day (1707 days later) »