« first day (4440 days earlier)      last day (509 days later) » 

3:08 AM
I got 7 new chicks, I still have my 3 older hens ...
How do I debug through underline opencv C++ library code when running a python script that calls it?
I am doing it on rPi.
 
 
12 hours later…
3:30 PM
@TelKitty just attach the debugger to the python executable that loads the library
 
 
4 hours later…
7:23 PM
@JerryCoffin famous last words as he drove the company into the ground
The Cray-3 was a vector supercomputer, Seymour Cray's designated successor to the Cray-2. The system was one of the first major applications of gallium arsenide (GaAs) semiconductors in computing, using hundreds of custom built ICs packed into a 1 cubic foot (0.028 m3) CPU. The design goal was performance around 16 GFLOPS, about 12 times that of the Cray-2. Work started on the Cray-3 in 1988 at Cray Research's (CRI) development labs in Chippewa Falls, Wisconsin. Other teams at the lab were working on designs with similar performance. To focus the teams, the Cray-3 effort was moved to a new lab...
wasted a bunch of time
Whole thing was kinda dumb because you can get a 10x speedup with a better processor, but super computing needs 10,000x speedups
>> "I don't think they'll ever be universally successful, at least not in my lifetime".[27]
dies like a month later,
 
@Mikhail He said that long before the Cray-3 debacle.
 
In the early 2000s lots of academics were really anti-parallelism, claiming that the answer to Moore's law ending was more super scalar architectures rather than software parallelism (like pthreads, etc)
loosers had vested financial interest in promoting their research
hyperthreading on the pentium was a real watershed moment that showed industry gave no trucks
 
@Mikhail Given the number of failed attempts at massive parallelism in the '80s and '90s, it would be awfully hard to fault them. Although the circumstances have changed, under the circumstances at the time, they were mostly right.
 
I think the ones in the 90s worked pretty well
you got NT hydra, and BeOS
suspect the scientific computing dingbats were behind the times and their opinions were generated by something like ChatGPT
you get hilarious rants about how Linux is garbage and then a 2 years later everybody switches
 
7:47 PM
@Mikhail BeOS wasn't really even trying for massive parallelism though. It was more like VMS for commodity processors. Hydra wasn't even that much--it was just NT 4 with terminal services, so people could log on remotely. Handy for multi-user stuff, but parallelism wasn't any different from standard NT 4 (which wasn't much different in this respect from NT 3.51 or NT 3.5 or NT 3.1, all of which were also based heavily on VMS).
But it's certainly true that scientific computing (like a lot of other things) is subject to whims of fashion. At one time, Thinking Machines was making huge headlines, and massive parallelism was (seen as) the wave of the future. Then they folded, and for the next several years, massive parallelism was (seen as) a recipe for failure.
Studying history constantly reminds us that people learn the wrong lessons from studying history... :-)
 
en.wikipedia.org/wiki/Beowulf_cluster was another example of getting great performance with parallel scale out
I think the fundamental issue was once again: you can scale up a single chip by a 10x times, but the demand is for 10000x scale up
 
@Mikhail ...except it's not really an example of much of anything except giving a name to doing scale out.
 
It got great performance doing scaleout for a ton less money, they were getting super computer performance out of technowaste
 
@Mikhail The problem is there is no "it". They carefully disclaim Beowulf meaning much of anything: "If you have two networked computers which share at least the /home file system via NFS, and trust each other to execute remote shells (rsh), then it could be argued that you have a simple, two node Beowulf machine."
 
you still gotta write your code to remote shell
as opposed to praying having cray-cc can figure out your code is some kind of fused-multiply-add that goes onto vector processors
 
7:56 PM
@Mikhail [Nearly] the whole point of remote shell is that it's the same as a local shell.
@Mikhail It is certainly true that many (most?) attempts at automating parallelism have largely failed, and success has largely come down to letting programmers handle it more directly, and (at most) providing higher level libraries/frameworks like MPI to help manage it a little more uniformly.
 
On subject I've been working in the automating parallelism space
Major GPU vendors have spent decades to get working solutions
The first step is to always get stuff into a dataflow representation (some parallelism tasks like web servers, etc don't map to this)
 
@Mikhail Yup--but I doubt you're attempting to do what was presumed as the one way forward in the 1980's (or so), of taking mountains of existing code, running it through a special compiler, and it would magically take advantage of parallelism that's provided in any of a dozen different forms (with no further programmer input at all).
 
so 1980s the autovectorizing compilers would be an example of something that is simliar
autovectorizing vs autoscaleout is simliar, in fact the scaleout is probably easier
 
8:22 PM
@Mikhail Well, there's been a lot of development of some of the basics since the 1980's. Just for example, in the mid-1980's, building something like a grid network that could just get packets from one point to another without deadlocking itself was still an open research question. People had built a few solutions that seemed to work, but most were't proven correct, nobody was sure how much you lost from using which scheme, etc. Now we quite easily take things like that completely for granted.
[And just to be clear: yes, but the end of the 1980's, a body of knowledge was starting to be built--but in the early '80's, if you wanted to build such a thing, you were doing research, not just development.]
 
 
1 hour later…
9:33 PM
At age 6 I became aware of the current year for the first time in my life. It was 1986 in year of primary school.
 
10:20 PM
Hello together, are there some books on C++14 out there, which summarise and explain just the "new" features added to the earlier C++11 standard version? Something like "C++17 - The Complete Guide by Nicolai M. Josuttis" just for C++14 (and if available also for C++11).
It would be great for my personal "reference" since I sometimes have to consult in various projects implementing different c++ standards (at max). So it would be nice if I could also recommend some book in regard to the actually available C++ standard, which does not cover "general (c++) programming introduction content" but just cherry-picks the differences to the previous standard with some example at best
and yep, I do know that cppreference has a nice listing and even examples, but I am looking for some printed book
 
10:47 PM
@Chilippso "Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14" by Scott Meyers.
 
11:04 PM
Hi - I have a question about MVC. Is that an appropriate quesion for this room? Thanks.
[question]
(If not please ignore the following... thanks, either way)
It's never precisely clear to me what MVC is and isn't. I think one of the stumbling blocks I have is that "Model" and "Controller" are rather vague terms and could mean any number of things. I've just been reading through definitions of MVC again (must be the 6th or 7th time in the last 10 years) and it struck me, that maybe it's the ambiguity of the terms which leaves me grappling with no clear sense of the architecture.
So, then I wondered, if I replaced the terms (only in my own head) if that might be a really helpful crutch (for me) moving forward. So I did. But I've come here because I'm not 100% certain that I've substituted the terms correctly. And, if it's possible, I'd really like to confirm, please.
This is what I have:

D(ata) | I(nterface) | M(essenger)

M(odel) | V(iew) | C(ontroller)
Does that look right to anyone here? Many thanks.
My understanding is that when the Interface (View) updates, the Messenger (Controller) tells the Data (Model) what needs to update and vice versa.
Thus the Interface (View) consistently remains a visual representation of the Data (Model) and vice versa.
Anyway, that's helped me articulate things - thanks and all the best.
 
11:24 PM
@StackedCrooked thanks - I already was aware of that "classic" but I am looking more for a "specification like" listing with examples, stating when (as of which C++ standard) it's available. I might come up with just printing wikipedia myself, since I just looked at it the first time regarding C++-Standard and noticed, it really describes well structured just related items :D
 
@Chilippso I use cppreference.com for that.
 
@Rounin-StandingwithUkraine The model contains the data. A view displays the data. A controller updates/modifies the data.
 
@StackedCrooked sure, so do I - but I thought maybe there is a nifty physical book or the like :D
@Rounin-StandingwithUkraine from what you say, it seems you interpret some sort of bidirectional data-binding into MVC - which it is not per-se
 
11:41 PM
@Rounin-StandingwithUkraine your "wording" also somehow reminded me of Passive View
but maybe you feel more like MVVM or MVA or MVP ... which are all more or less some kinds of MVC - pick the one which fits you best :D
 

« first day (4440 days earlier)      last day (509 days later) »