- CHAR_BIT is not eight - 17 Updates
- Vector Fractal Bloom... - 2 Updates
- calling a Event Handler within a class - 2 Updates
| scott@slp53.sl.home (Scott Lurndal): Oct 16 11:49PM >You are not comparing like with like: that antiquated C thing is an >intrusive list so a better comparison would be with >boost::intrusive::list rather than with std::list. I fail to see what the added complexity buys me. "Antiquated C thing" is completely irrelevent; it is fully legal C++. |
| Juha Nieminen <nospam@thanks.invalid>: Oct 17 06:18AM > Am 15.10.2022 um 11:53 schrieb Frederick Virchanza Gotham: >> I need to write a cryptography header file to be used on two kinds of microcontroller (Arduino with CHAR_BIT==8, Texas Instruments with CHAR_BIT==16), and also on a Desktop PC x86_64. > You need cryptography on a DSP ??? I think you should take to heart the saying "better to remain silent and be thought a fool than to speak and remove all doubt". |
| David Brown <david.brown@hesbynett.no>: Oct 17 09:54AM +0200 On 17/10/2022 01:49, Scott Lurndal wrote: >> boost::intrusive::list rather than with std::list. > I fail to see what the added complexity buys me. "Antiquated C thing" > is completely irrelevent; it is fully legal C++. Exactly - there is no need to change straightforward working code that does all it needs to do. Even when starting from scratch, it is important to consider the trade-offs - if a custom solution is more efficient, and efficiency is a concern for the code in question, then that's a point in its favour over standard solutions. For my own use in this particular case, I don't even need a double-linked list - I just need a list that I can add to, iterate through, and very occasionally delete from. (I believe it has been obvious from my first descriptions that I had an intrusive list.) |
| David Brown <david.brown@hesbynett.no>: Oct 17 10:09AM +0200 On 16/10/2022 22:28, Vir Campestris wrote: > algorithm will usually have a hole in it somewhere. You'll get away with > it if the stuff you are protecting is obscure enough, and not worth a > lot, but I wouldn't trust my life or any serious amounts of money to it. From his description, it sounds like the encryption does not have to cover more than a small code key. That reduces the risk somewhat - many attacks on encryption systems rely on sending specially crafted packets, or examining long encrypted streams where you can guess some of the original content (like html tags). For a short enough message, sent rarely, it's probably enough to xor the message bytes with the results of a pseudorandom generator. You don't need to re-implement OpenSSL for a 16 byte message. Still, it's a very good point you make - good encryption implementations are not always easy even if you have all the details of the algorithm. If the hardware is still in flux, an option is an external encryption chip. You can get small and cheap devices that are easy to integrate with such microcontrollers - Microchip (the manufacturers of the AVR in the Arduino) have them. |
| Muttley@dastardlyhq.com: Oct 17 03:27PM On Sat, 15 Oct 2022 16:59:56 +0100 >If you think the word "leveraging" is a buzzword then I can only draw >the conclusion that either English isn't your native language or you >are incredibly dumb. Its just buzzword bullshit, used by people who don't know what they're talking about in order to sound intelligent. Its just a fancy way of saying "using" but that sounds so mundane, right? |
| Muttley@dastardlyhq.com: Oct 17 03:29PM On Sun, 16 Oct 2022 16:34:14 +0100 >library implementations are generally written by people who know what >they are doing. >So you can either apologize or fuck off. Proving yet again what an arrogant moron you are. Plus ca change. |
| "daniel...@gmail.com" <danielaparker@gmail.com>: Oct 17 09:04AM -0700 > Its [leveraging] just buzzword bullshit, used by people who don't know what they're talking > about in order to sound intelligent. :-) I recall one day in a meeting explaining something about a .Net user interface I was working on, and the boss asked, "have you leveraged the HTML?" Daniel |
| Muttley@dastardlyhq.com: Oct 17 04:13PM On Mon, 17 Oct 2022 09:04:57 -0700 (PDT) >I recall one day in a meeting explaining something about a .Net user interface >I was >working on, and the boss asked, "have you leveraged the HTML?" Did he maybe have a vision that he wanted to whiteboard in order to drill down and run with the mission statement? :) |
| Mr Flibble <flibble@reddwarf.jmc.corp>: Oct 17 05:31PM +0100 On Mon, 17 Oct 2022 09:54:03 +0200 > double-linked list - I just need a list that I can add to, iterate > through, and very occasionally delete from. (I believe it has been > obvious from my first descriptions that I had an intrusive list.) No you didn't make it obvious that you wanted an intrusive list because if you did we wouldn't have ended up talking about std::list. /Flibble |
| Mr Flibble <flibble@reddwarf.jmc.corp>: Oct 17 05:33PM +0100 On Mon, 17 Oct 2022 15:29:10 -0000 (UTC) > >they are doing. > >So you can either apologize or fuck off. > Proving yet again what an arrogant moron you are. Plus ca change. I believed I have shown that his figures are bullshit which makes him and by association yourself the morons. /Flibble |
| red floyd <no.spam.here@its.invalid>: Oct 17 09:44AM -0700 >> working on, and the boss asked, "have you leveraged the HTML?" > Did he maybe have a vision that he wanted to whiteboard in order to drill down > and run with the mission statement? :) I think he just wanted to actualize the synergies. |
| Mr Flibble <flibble@reddwarf.jmc.corp>: Oct 17 05:47PM +0100 On Mon, 17 Oct 2022 09:44:31 -0700 > > Did he maybe have a vision that he wanted to whiteboard in order to > > drill down and run with the mission statement? :) > I think he just wanted to actualize the synergies. The word "leverage" is NOT a buzzword. /Flibble |
| David Brown <david.brown@hesbynett.no>: Oct 17 07:56PM +0200 On 17/10/2022 18:31, Mr Flibble wrote: >> obvious from my first descriptions that I had an intrusive list.) > No you didn't make it obvious that you wanted an intrusive list because > if you did we wouldn't have ended up talking about std::list. I wrote "You make your timer class have the required list link pointers in the class, have each registering function declare their timer object with static lifetime, and your registration function links them together". That is a quotation from the post before /you/ started talking about std::list, saying "List link pointers? Again there is no reason not to use std::list with a suitable allocator". Given that you quoted my slightly odd-sounding "list link pointers" phrase, I assume you read that the pointers were in the class. Did you also notice I said you would make the timer objects /static/, thus there is no allocation at runtime, and no use for an allocator? Maybe it wasn't obvious. I thought it was, but it's up to others to judge. |
| Lynn McGuire <lynnmcguire5@gmail.com>: Oct 17 03:24PM -0500 On 10/16/2022 3:37 PM, Vir Campestris wrote: > The first and third architectures I ever used had 6 bit chars > (DECSystem10 and ICL 1900). Luckily I never had to use C on them :) > Andy Yup, I used six bit bytes, 6 byte words (36 bits), on Univac 1108s. We also had six bit bytes with 10 byte words (60 bits), on CDC 7600s. Big beautiful iron. Unfortunately, we had to abandon the Univac 1108 in 1982 when our code and data exceeded 2 MB on that platform. We bought a 32 bit Prime 450 in 1977, upgraded to a Prime 750 in 1980, and a Prime 2250 in 1983 ??? We ported to a customer's Vax VMS box in 1985 ??? All Fortran platforms. Lynn |
| Lynn McGuire <lynnmcguire5@gmail.com>: Oct 17 03:29PM -0500 On 10/15/2022 4:57 AM, Bonita Montero wrote: >> microcontroller (Arduino with CHAR_BIT==8, Texas Instruments with >> CHAR_BIT==16), and also on a Desktop PC x86_64. > You need cryptography on a DSP ??? Every one need cryptography. If you are processing in the clear then you will be owned sooner or later. Lynn |
| Manfred <noname@add.invalid>: Oct 18 01:10AM +0200 On 10/17/2022 6:47 PM, Mr Flibble wrote: >> I think he just wanted to actualize the synergies. > The word "leverage" is NOT a buzzword. > /Flibble You are lacking a vision of the synergies ;) |
| "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Oct 17 04:22PM -0700 On 10/17/2022 4:10 PM, Manfred wrote: >> The word "leverage" is NOT a buzzword. >> /Flibble > You are lacking a vision of the synergies ;) Apoplectic synergistic energy formations flowing within n-ary space... |
| "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Oct 16 08:57PM -0700 On 5/12/2022 12:16 PM, Chris M. Thomasson wrote: > Using my experimental vector field to generate a fractal formation. Here > is generation two: > https://fractalforums.org/gallery/1612-120522191048.png Black Hole: A massive sink in the center at point (0, 0), with two smaller sources at points (-1, 0) and (1, 0). The sink is attracting the whole field quite nicely. https://fractalforums.org/gallery/1612-171022035603.png |
| "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Oct 17 03:31PM -0700 On 5/12/2022 12:16 PM, Chris M. Thomasson wrote: > Using my experimental vector field to generate a fractal formation. Here > is generation two: > https://fractalforums.org/gallery/1612-120522191048.png A simple field with directional arrows so one can visualize how the field lines are actually flowing. Four sources in the field at points: (-1, 0), (1, 0), (0, -1), (0, 1) 12 field lines per source https://fractalforums.org/gallery/1612-120522191048.png All in C++... ;^) |
| Jens <paule32.jk@gmail.com>: Oct 17 10:51PM +0200 Hello, I have a hard coded TSpeedButton on TForm. I would like to assign it a OnClick Event Handler in a procedureal global function (not a member of a class). How can I do this ? Thanks for ideas. |
| Frederick Virchanza Gotham <cauldwell.thomas@gmail.com>: Oct 17 02:32PM -0700 On Monday, October 17, 2022 at 9:52:09 PM UTC+1, Jens wrote: > global function (not a member of a class). > How can I do this ? > Thanks for ideas. Looks like you're using Embarcadero (formerly known as Borland C++). In my dayjob I inherited a very old project that uses Embarcadero. Nowadays if I need to write a new GUI program, I use wxWidgets so that it can be built for macOS, MS-Windows and Linux. Anyway, when I needed help with Embarcadero a few months ago, I wasn't able to find a forum online. They have a Facebook group though where you can ask questions -- if it's worth making a dummy Fb profile. |
| You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment