|
Some libraries use a “fake” end of list, so you would want < on those. Trying to access the end would throw an exception.
Like EOF with some DB record sets.
|
|
|
|
|
How did it "miss" that? That might've been the correct choice.
Working with inclusive begin exclusive end ranges is the only method that works consistently without getting gaps or overlaps when using not just integers but also floats or date-times.
You'll find this in many libraries, e.g. std c++ containers.
|
|
|
|
|
I was thinking of C++ std library as well.
I am not sure if newer C# libraries follow C++ or not.
|
|
|
|
|
"Telepatic Typing"
|
|
|
|
|
Yep, the new autocomplete is damn fine - knows what I need next before I have even thought of it
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I'm using VS22 on a daily basis and still cannot get used how good intelli-sense is. This is where AI really shines for me. Not trying to ChatGPT the code for me but helping with more clear syntax and typing.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
This feature has probably inspired more love for Visual Studio than any other in its long history.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
So now senior devs will have to debug all of the incorrect suggestions accepted by the nube devs.(?)
Been there before…was happy when the nube decided to change groups. Eclipse has had good completion help for a long time, but many times, none of the suggestions are suitable! The nube tried to code EVERYTHING by choosing one of the suggestions.
|
|
|
|
|
Having autocomplete doesn't absolve you of the need to think about what you do.
From what I see, C# knows pretty well when to suggest something and when not to.
And when it does, you still need to check if <= was needed instead of < etc
|
|
|
|
|
Hi all,
I'm interested in getting a GPU to help CPAI detect objects (from Blue Iris) as fast as possible. Are there any GPU's that I should focus on or avoid? I'm hoping to do this as low power as possible too. I've got about 16 cameras, from 1080 to 4k. My PC is pretty overkill for just BI (i7 9700, 32bg ram), but it's not the fastest for object detection. Thank you for any help and a big thank you to the devs!
|
|
|
|
|
I would stick to NVidia cards. AMD/ATI GPUs apparently don't work with some AI things.
Edit: Adding, for a 9th gen i7 I wouldn't bother with a 4-series card as your bus and CPU aren't going to keep up with say, a 4080 anyway. Get something like a 3080 TI. Plenty of power for what you're doing without throwing more GPU at your system than it can handle.
To err is human. Fortune favors the monsters.
modified 18-Apr-23 13:02pm.
|
|
|
|
|
The autocompletion is really impressing, but I would never accept a suggestion without using my own brain
|
|
|
|
|
what?
To err is human. Fortune favors the monsters.
|
|
|
|
|
Sorry, it seems my answer landed in the wrong thread. (somewhat embarrassed)
|
|
|
|
|
No worries!
There's smoke in my iris
But I painted a sunny day on the insides of my eyelids
So I'm ready now (What you ready for?)
I'm ready for life in this city
And my wings have grown almost enough to lift me
|
|
|
|
|
|
|
RedDk wrote: This is the .. uhm uh . wordle forum.
Word!
|
|
|
|
|
Get more servers. Less tangle too.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
|
You are right. I like it. The second half guitar (Clapton/Hendricks sound) makes is.
Let me add Pete Hamm
"A little time, a little trouble, your better day"
Badfinger
modified 20-Apr-23 23:12pm.
|
|
|
|
|
My little consortium of embedded developers is looking to move our offerings over to the ARM Cortex M line of processors. One of the big primary drivers of this, is lack of availability of LCD displays for the more hobbyist/Arduino type end of things.
The first issue we've had is an utter lack of toolchain, bootloader firmware, HAL code, or really anything to get us going starting with a bare metal chip.
I discovered keil.com which can potentially get us over that hump, if we can afford it. I'm always a little anxious when getting a price requires a quote.
Waiting to hear from them, but I also am still out of my depth.
I know there are some embedded developers here. I'm not afraid of failure, and I'm not afraid to get my hands dirty. Any advice as far as this move goes would be appreciated.
It's definitely the deep end of the pool for me.
To err is human. Fortune favors the monsters.
|
|
|
|
|
A couple of ideas:
- See if someone produces a Linux version for your target chip
- See if Google has a default cross-build toolchain and environment for Android on the ARM Cortex M
Using Google's stuff has the advantage that it's used to produce the Android builds, so it is reasonably certain to be bug free (ha ha).
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Thanks!
To err is human. Fortune favors the monsters.
|
|
|
|
|
armbian make builds for most linux based ARM SBC's
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
|
|
|
|