|
Well, I.m trying to get Photino to work (VS2022), but when I create a new Photino React project, it does NOT create tsx files like i expected it to,(or like the sample app shows). There is no tsconfig.json file (which should be there), and the package.json file doesn't contain a devDependencies section at all. On the upside (if you really wanna stretch the positivity) is that it does appear to be using React. I went back to make sure I didn't miss some sort of configuration item when selecting the desired project type, and didn't see anything...
Have any clue as to what I'm doing wrong?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
It's probably not you.
They are in the middle up upgrading their project templates and many (most) of them are behind.
Also, they are messed up on their .NET version right now.
Their old templates use .NET 6.x but the new code is .NET 8.x which works better.
They move a bit slow.
they also just (in the past few days) updated the react template one to a current version of React.
Are you building the React project specifically?
If so I will try getting it set up and create a github repo you can clone, if you want.
|
|
|
|
|
LinkedIn
Peter Kane
Chris Maunder viewed your profile
I'm not linked to him - very strange.
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Hmmm, I have a link to the article I wrote on my LinkedIn page and have seen several of parents look at it, do you?
|
|
|
|
|
I haven’t been on LinkedIn for years but I must still have an account
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Maybe he was curious or wanted to keep in touch. CP was a big part of his life too. It's always gonna be a part of him no matter what his new venture is.
Jeremy Falcon
|
|
|
|
|
True but I don’t know him like some of you on here do
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Still, if you happen to get some news, please share, I'd be happy to hear how he is doing.
|
|
|
|
|
Lout never can become one to offer services willingly (9)
@petepjksolutionscom - You are up tomorrow!
"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 know I volunteered
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
modified yesterday.
|
|
|
|
|
Yep - but it's easy to lose track when it's once every 28 days. So I added reminders to google to tell me who to remind!
"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!
|
|
|
|
|
Good idea Paul
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Damn it. If only I had checked your answer beforehand I wouldn't have posted.
|
|
|
|
|
No worries Pete - I didn't answer it properly it was more of a joke
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
|
Well done!
"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 spent several days making my vector canvas able to "direct bind to a 'draw target'" if it happened to be a bitmap with a supported pixel format.
I did this by extracting the pointer to the bitmap and then doing the standard (y*stride) + x*(stride/width) on it to get my final pointer.
That sucks. For starters it only works with hard bitmaps. I can do better.
Enter gfx_span which is a little structure with a pointer and a length.
You can then do span(location).data and/or span(location).length off a bitmap to get a pointer and a length for the remainder of that row.
This is important, because it opens up the blt capability (direct read/write) to more than just bitmaps. For example, my UIX library the control surface draw target does a translation and clip before writing to the backing bitmap. Without span() I cannot get a raw pointer to the backing bitmap data. I must use methods off the draw target like point() and fill() which is generally much slower - all to do that translation and clip.
Unfortunately the existing code I've worked on for days will not survive this change. I have a lot of work in front of me, all because this span paradigm didn't occur to me on like, Monday. Curse my brain.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I find it not unusual to do quite a lot of work on something in order to find out why it's a bad idea. It takes some fortitude then to ditch it and take a new approach, but it's almost always the best plan. Also, it never seems to take so long or be such hard work the second time.
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
Phil J Pearson wrote: Also, it never seems to take so long or be such hard work the second time.
You are so right about that! I just finished retooling and testing. It's all using my new span API.
Normally, I am very gifted at designing by the seat of my pants (while coding). For example my graphics library lasted years without a significant breaking change, especially to the design. I added a ton of features in that time. It's a combination of almost 4 decades of coding + some latent ability.
But maybe that's why I get frustrated with myself when I miss the mark.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Looks like this site is now running like an electric fan whose power is turned off. The fan will rotate for some time under its own momentum, before coming to a stop.
Why I get this inference is that usually spam articles used to vanish after being reported by 5 users. However, now we see spam articles not vanishing even after 25 users report as spam. Looks like no daily maintenance of this site.
|
|
|
|
|
That's a one off case for that particular article. I reported in the Bugs&Suggestions forum.
Many articles reported after that were closed after 5 reports.
Edit: I think someone nuked it.
|
|
|
|
|
That was me.
Spam articles aren't fed to the automated system (because they legitimately contain so much stuff that in a message would be spam) so once the user is gone, his articles can be deleted with no effect on the rest of the system.
I think there is a timing bug that leaves spam articles in place if they get the fifth and sixth vote in close proximity - but it's pretty much impossible to track down in dev!
"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!
|
|
|
|
|
Additionally it is something that has happened from time to time due to other things like missing synchro between servers.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I don't know who came up with Lidocaine, but I'll have your babies. Spoiler, I don't have a uterus.
If there was ever a perfect example of defensive programming, I lived it today. You youngsters and oldsters pay attention. Your gun won't fire, the bad guy's chainsaw always works fine, and when you try to run, you will trip.
So, my son and daughter have somehow achieved a wild hair. They want a fire pit in the backyard. Today, I am delivering small slate to the area. Shoveling complete, cleaning truck bed complete, daughter closes the lift gate to the truck. Now, I'm 65, so looking to the right and left of the bed - nah, not for me. So, I go to the back, flip my left leg over and step on the hitch...
sling right leg over toward the ground...
tailgate pops open.... this all compresses to 3 seconds. If you laugh, it's okay, but you owe me:
me: I'm in physics land. Fuc.....
daughter: Ohhhh fuc.......!
my head hitting the fire pit rock: fuc.....
my butt hitting more rock: where did you come from... My butt still hurts, I'll be posting images tomorrow
I'm on the ground, scalp injuries bleed so there is blood runnin down my neck and face. No concussion but first words out of my mouth are "don;t call your mom!" she's on the phone with mom... fml.
3 female rants later, some lidocane and 6 staples to close up the 4cm hole in my head....
So teaching programming moment:
1) assume nothing
2) check your return values
3) see #1.
head is throbbing.
Oh, it gets better. Youngest daughter's wedding rehearsal is tomorrow.
Charlie Gilley
“Microsoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
|
|
|
|
|
bummer, feel for you.
Fast forward 25 years: same damage if you brush against the door jam as you pass through.
>64
It’s weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|