|
|
I always knew them as "graphics tablets", and that's certainly what the worlds biggest manufacturer of them (Wacom) called them - now it refers to them as "pen tablets" which makes a lot more sense.
Mine is pressure sensitive as well and you could program that in most graphics apps to control stroke width, colour density, or whatever you wanted. (It's still connected to my PC, but I haven't used it in a decade, I think.)
"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!
|
|
|
|
|
I'm not quite sure where this fits, but remember that when Microsoft's Surface originally came out, they were heavily promoting its so-called "ink" capability as a big thing, as in, the display surface of the device itself doubled as a place for you to draw on directly.
|
|
|
|
|
|
Hello Developer Community,
I hope this message finds you well. I am currently facing a challenge in my current project, and I would appreciate your knowledge and expertise to help me overcome it.
Problem Description:
I have developed an online application using CodeIgniter, PHP 8.x, and MySQL 8.x / MySQL 5.x. I am currently working on automating the print button. My goal is to allow users of the application to fill in all necessary information and initiate printing with a single click on the "PRINT" button. However, I am unsure of the best approach to achieve this.
Technologies Used:
- CodeIgniter
- PHP 8.x
- MySQL 8.x / MySQL 5.x
My Request:
If anyone has previously worked on a similar feature or has in-depth knowledge of automating printing with CodeIgniter and PHP, I would be grateful for any advice, code examples, or relevant resources that could help me overcome this challenge.
Thank you in advance for your valuable assistance. Please feel free to reach out if additional details are required.
Best Regards,
|
|
|
|
|
|
Wrong forum, You want the General Programming-> WebDevelopment->MySql, PHP forum.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
People are still using CodeIgniter?
Jeremy Falcon
|
|
|
|
|
You'll be surprised, like taking a stroll with grandma.
|
|
|
|
|
Yes, you can have a static variable in a named function in JavaScript/TypeScript. Even peeps on SO say the only way to achieve this is with a class. Nope.
Exhibit A:
function datNice(): number {
const self = datNice as any;
const meSoStatic = self.meSoStatic ? self.meSoStatic : 42;
self.meSoStatic = meSoStatic;
return meSoStatic;
}
console.log(datNice());
console.log(datNice());
Note: You used to able to pull this off with an anonymous function using arguments.callee, but that's since been deprecated, due to misuse or the confusion around this I can only assume. But, named functions still work perfectly.
Jeremy Falcon
modified 13-Mar-24 13:59pm.
|
|
|
|
|
So essentially, you've extended the function with a static variable? If I understand this correctly?
|
|
|
|
|
Yup. In functional languages, functions are first-class citizens. Which is just a fancy way of saying they can be treated like any other data type. They have a this and are also self referential.
Jeremy Falcon
|
|
|
|
|
Oh, about the syntax error thingy... it's TypeScript. There's a cool site, kinda like jsfiddle, if you just wanna quickly play around with example code for TS: https://www.typescriptlang.org/play. Or jsfiddle works if you select the TS language.
Jeremy Falcon
|
|
|
|
|
To my mind, this is really an instance variable on a global function.
Since all code will use the same instance of the global function, all code will reuse its single instance variable.
|
|
|
|
|
It is all frowned upon just because some "clever beaver" on Google stated so, like sheep, lets follow the rest... I agree 300%, all si possible, how did we get to the "clever" parts, because we used to use 'THIS' first and then tried to make it into rocket science. Blows my mind why we would consistently keep on making things difficult, 1+1=2 point, why try to do 0.8+1.2=2, my 5 cents and upvote!
|
|
|
|
|
JS is like mummyScript... it's made of bandages that will never fix the inherent problem of being dead at the core.
|
|
|
|
|
play with me
why is this even relevant in code?
I see so much cute, clever, whiz kid bull$$hit it makes my eyes water. I won't miss it.
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.
|
|
|
|
|
Because sometimes you want persistence without cluttering up the global/module namespace. Makes it pretty easy where to track down what in a larger project. Should it be overdone? Nope. But that goes with anything.
Jeremy Falcon
|
|
|
|
|
The other 10% have reached their destination.
"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!
|
|
|
|
|
It's a funny joke, but in seriousness, I always thought Land Rovers and Range Rovers were fairly reliable, as British road monsters go.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
They are absolutely reliable.
You can always rely on them to break down.
"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!
|
|
|
|
|
We used to have a Vauxhall (GM) Frontera. One of my friends once remarked to me that, as off road 4x4 vehicles go, unfortunately, it's no Land Rover. But on the up side, it's no Land Rover.
|
|
|
|
|
honey the codewitch wrote: I always thought Land Rovers and Range Rovers were fairly reliable A friend of mine took his Land Rover on the ferry to Iceland, planning to drive into the inland on the roads that can be really bad. (They may have improved in the approx. 35 years since he made his trip.) His car hit a hole in the road so badly that the rear axle broke.
Very slowly, very carefully, he managed to crawl the car, with the broken axle, to a repair shop in the nearest town, where he could ask the shop to please replace his rear axle - he had brought a spare one from Norway. Everyone who knows the Land Rover knows that in rough terrain, the rear axle may break. If you go for a rough trip, you might as well bring your own spare parts, to avoid having to wait for many days to have them brought in from somewhere else.
Aside from that, he loved his Land Rover.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
trønderen wrote: Everyone who knows the Land Rover knows that in rough terrain, the rear axle may break. If you go for a rough trip, you might as well bring your own spare parts
Interesting perspective.
If I knew my car was prone to breaking down given this or that condition, I'd be doing everything I can to avoid those conditions to start with, not bring spare parts so I already have them when it does break down...
|
|
|
|
|
dandy72 wrote: I'd be doing everything I can to avoid those conditions to start with Such as dropping that Iceland vacation
I guess that you are not now, and have not been, a member of the Scout movement: "Be prepared!"
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|