|
Today, for some reason (mostly because I stumbled upon it on the start menu/button/win11 thingy), I updated my Java installation.
Litte did I know then, as the installer informed me, Java is the #1 developer platform!
OMG! I missed out all these years!
|
|
|
|
|
And there was me thinking it was #2.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
So, I ran across an article this morning that triggered some questions. Someone has come up with a whiz bang way of making great store sights and helping developers churn them out:
Mixing It Up: Remix Joins Shopify to Push the Web Forward — Development (2022)[^]
My question is sort of surveyish, as I have some history in the area of developing shopping carts (nightmares mostly). Frankly, where I would do store fronts, the entire environment was dominated by Ebay, Amazon, Etsy, etc. We had a number of businesses that wanted their own store front (to avoid the ridiculous fees being charged). It did not matter what incentive you provided customers. No one ever went to the store front. It all came down to saving 0.05 cents on an order off amazon and getting free shipping.
Is this just an example of someone trying to solve a problem that has already left the station?
0z10AA hat tip to you
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
modified 1-Nov-22 17:07pm.
|
|
|
|
|
And that article is confidential?
|
|
|
|
|
No, just didn't want to spam the lounge. I'll edit.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
This website link was to the biggest pile of buzzwords, catch phrase, acronyms, ads, etc.
No constructive information, starting points, etc. No specific examples? HYPE!
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I agree. I'm just wondering for "store fronts" what kind of customer they were targeting. The big aggregates have completely dominated the shopping arena. I can see a website for information, etc, but for selling stuff?
Anyway, just interested in you web developers out there.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
#Worldle #284 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
too easy
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I got fed up when they used a country the size of a large town ... and stopped doing them.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
understood
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
some are the tiny islands I've never heard of, but now I have.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #285 6/6 (100%)
🟩🟩🟩🟩🟨➡️
🟩🟩🟩🟩🟨↘️
🟩🟩🟩🟩🟨↘️
🟩🟩🟩🟩🟨↘️
🟩🟩🟩🟩🟨↘️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
How the heck is this easy!?
That shape means nothing to me, could literally be any country in the world except that it was pretty close to my first guess (but it wasn't any of the better known countries).
This small country isn't a popular vacation destination, it's not in the news, they're not in EU, nor are they important to our economy.
I know nothing about this country.
After five wrong guesses I looked it up.
|
|
|
|
|
I forget which one this was? What was your answer?
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Ah, I had 285, you had 284.
I see you've done 285 today, so you know the answer.
I'm already on 286, apparently the Worldle has a different timezone than the Wordle.
I don't know 284 though.
|
|
|
|
|
I had a great idea this morning upon waking up. I don't know how to figure out which #include's are needed to compile any particular source other than tedious error prone inspection followed by numerous compilations #include'ing one by one any file to resolve the latest error. The great idea was to automate the process by compiling every possible combination [1...40] subsets of the 40 #include's in my project and settling on the combination with the smallest number needed for an error free compile. This could easily be done via awk to automate the insertion of the #include statements. However a calculation of the number of possible combinations of 40 files in every possible subset number resulted in "inf" appearing on my monitor so I guess it won't work at least not on my pig of a machine. I guess I will have to wait for entangled bits.
|
|
|
|
|
This was the original reason I started to develop my C++ static analysis tool. All you need to do is switch to C++11 or enhance it to support C++20!
There is also Include What You Use[^]. I haven't looked into it, but it might do what you need.
EDIT: Pruning #include directives to the minimal set that compiles isn't a good idea because it fails to account for headers that get included transitively but that should nevertheless be included.
|
|
|
|
|
Thanks for informing me of the tools. I would greatly like to develop a C++20 version but would need to be a x10 programmer to add another project to my current efforts. As I am more of a 1/x10 programmer as I am always surprised how little I accomplish in most days unless of course I blame my pig of a machine which I am beginning to lean toward as I often find myself drumming my fingers instead of typing with them it will have to wait though perhaps I could dabble at it from time to time. I will look into IWYU. Thanks. I looked into checkheaders but found it reported many incorrect "... not needed" messages unless of course I utilized it improperly which is always a possibility. As for transitive #includes I assume that refers to nested which I do not do. All my #includes are only in cpp files. - Best
|
|
|
|
|
By transitive, I mean if A includes B, and B includes C, then A sees C transitively, so A will compile even if it should also include C. For example, if C defines a base class, which B derives, with A then deriving from B, there is no need for A to include C. But in other cases (C using a free function, or a bare typedef or enum in A), C should include A.
modified 1-Nov-22 17:21pm.
|
|
|
|
|
Thank you for the clarification. The last statement confuses me. Should it not be "C should include A" as C is using an identifier defined in A.
|
|
|
|
|
Quite right. I'll fix it.
|
|
|
|
|
It's been a while I've used C++ (and thus #include statements), as I've been doing C# exclusively for about 15 years now, but if I find myself in a situation where I have to add a 'using' statement without understanding why I need it...then I consider this a problem I need to solve (understand why it's needed), rather than adding it and shrugging it off and concluding "whatever works"...
|
|
|
|
|
|
I am surprised a commercial product does not exist to debug #includes making it effortless. It seems to me it would be simple enough to a programmer knowledgeable of compiler writing i.e. to wit merely scan the code identify all the identifiers and their signatures when needed and Voila Presto Bingo. How can such a product not sell like hot cakes. Apparently there is something I do not understand.
|
|
|
|
|
I feel like such a tool would belong in the weird and the wonderful.
I hate to say this, but if your includes are so heavily dependent on ordering you are almost certainly due for a restructure of your code.
For example, it might be better to do the includes as more of a tree in terms of what includes what than you currently have it.
There are a number of ways to deal with it but it all has to do with structure.
Edit: I'm not saying this is certainly the issue in your case. It just smells from here. My spidey sense is tingling.
To err is human. Fortune favors the monsters.
|
|
|
|