|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since.
Today I opened up vs to monkey around with a new feature and when I opened the view on question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog.
Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work.
The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue.
Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........
And was stumped. I have imaged the machine two days prior but hate bare metal restoring
over what might be trivial but what is it?
Then I thought, you don't suppose some blocks in the project folder have got read only do ya?
So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone!
So yeah, I leave this here on the internet and a breadcrumb for others.
Time to beat on some new blocks.
And consider a fresh ssd. They're pretty cheap anymore.
|
|
|
|
|
So was your SSD dead because of too many writes?
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Ron Anders wrote: Then I thought, you don't suppose some blocks in the project folder have got read only do ya?
That's not how SSDs work. In order to prevent a single block being "pounded upon" too much (think of the FAT table), they use wear leveling. This means that a particular LBA doesn't map to a particular physical block.
Some physical blocks on the SSD are reserved as "spares", to handle the case of blocks that have gone read-only. This is handled transparently by the SSD's firmware. The SSD will typically go read-only only when all the spare blocks have been used.
Your description shows that this was not the case. I would look elsewhere for the cause of the error in VS.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Wordle 421 4/6
⬛⬛🟩⬛⬛
⬛⬛🟩⬛⬛
⬛⬛🟩⬛🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 421 5/6
⬜🟨🟨⬜⬜
⬜⬜⬜⬜⬜
⬜🟨⬜🟨⬜
⬜🟩🟩🟨⬜
🟩🟩🟩🟩🟩
Elephanting elephant! I must have spent an hour finding a single matching word after 4. Gotta recalibrate my radar it seems.
At least my Worldle OTD was fine:
#Worldle #205 1/6 (100%)
🟩🟩🟩🟩🟩🎉
Worldle[^]
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Wordle 421 3/6
🟨⬜⬜⬜⬜
⬜⬜🟩⬜⬜
🟩🟩🟩🟩🟩
That's going to throw a few people, 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!
|
|
|
|
|
No, really!
I just remembered we own an electric fan, so I'm now getting cool breezes every couple of seconds (and so is Herself in the next room).
That's better - there isn't a breath of wind out there, and it's hot and sticky.
For Wales, it's really hot - it's actually not raining and hasn't for days now
"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 guess A/C is too expensive and would not be used after the current conditions.
My sister-in-law lives in San Antonio, and they are running temps at 108 degrees Fahrenheit. I'm American and too lazy to look up the conversion.
They haven't had rain since February. It's sort of OK, as I don't like her husband at all.
BTW I'm sure you have a lot of fans on this forum. I myself am one.
A/C is Cool!
|
|
|
|
|
Although we have several fans, even big ones, we decided to flee the house and went biking in the woods near the town of Epe in the Netherlands.
We biked close to the edge of a military shooting range (didn't get hit luckily), and as always my thought was:
those military always seem to take the nicest spots for themselves.
Very nice woods and patches of purple heather, even spotted a fitch and a wild boar with piggies!
We also decided to try the famous "Ossenstal pannenkoek", but that proved a bit too heavy, it's a kind of pancake but deep-fried with bacon 
|
|
|
|
|
Every room has 1 or more ceiling fans, some have standing fans as well and we have ducted A/C - welcome to the tropics. We also go 3-4 months without rain and everything goes brown then mother nature dumps huge volumes of water and the trifids return.
I do hope the rain, when it comes, is you're usual drizzle and not the torrents we get.
|
|
|
|
|
OriginalGriff wrote: For Wales, it's really hot - it's actually not raining and hasn't for days now
Then I wouldn't wail about it.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I created a device with a small circuitboard with a pluggable user interface, such that it can take several buttons, a pad matrix, or an encoder and a couple of buttons, like that. It has a 1.18" color screen, a USB in and a USB out. It also has an SD reader.
Inside the thing is a little MCU where the magic happens. Therein you can create firmware to intercept USB signals from a device, like a keyboard, mouse, gamepad, MIDI keyboard, or whatever and modify the signals into something else, like injecting macros.
The box could be cheaper to manufacture, but it's not terrible. This is my first endeavor into creating a fabbed PCB circuit board on my own (for paying gigs I have an electrical engineer I work with)
My prototype works so in theory the board will work but I won't know until I get it back from pcbway.
Anyway, I started circuits before I ever got into software, but I put it down for most of my life once I got into software. Now I'm full circle, but using them in tandem.
I will say this about actual physical development. It's deeply satisfying to create something you can hold in your hands.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I suppose I'd feel the same way if I could ever get into it. I have no clue when it comes to electronics & circuitry. I have a former colleague who worked on an arduino-based art project (T,E.D.: Transformations, Emotional Deconstruction[^]) for which he designed a custom PCB, and even though I had nothing to do with it (other than that I helped solder the boards up for the finished product) I thought it was way cooler than just some software.
|
|
|
|
|
Congrats. You definitely have the zeal. The hardware <-> software combo creation can be a real turn on (no pun intended).
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Quote: I created a device with a small circuitboard
I know almost nothing about DIY circuit boards but to get all that USB capability I assume you had to use prefabricated clusters of CB components. You can`t have USB with so many options (or a SD reader) built with raw CB components. My guess is the SD reader and the USB aren`t just the socket, there`s some circuitry next to the socket that allows connectivity with other (complex) CB components.
modified 23hrs ago.
|
|
|
|
|
I only did that to prototype.
I then took the schematics (and datasheets) for those components and integrated the bits that make them up directly onto my board.
For example, I have this little widget called a USBHostShield I used in my prototype. I also have the schematic. It uses a MAX3421E to do the heavy lifting, so I integrated that MAX chip right onto my board, along with any necessary pullup resistors etc.
An SD socket is actually just a socket. the SD card itself is an SPI device, and as such can communicate directly with the MCU without intermediary circuitry. You can actually solder an SD card right onto an ESP32 and it will use it quite happily.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: I will say this about actual physical development. It's deeply satisfying to create something you can hold in your hands.
I can print my source code and hold a stack of papers in my hands...does that count?
I never got into electronics/circuits at that level. Needless to say, this impresses the (elephant? sunshine?) out of me.
|
|
|
|
|
wrap it in a post on codeproject.com and we will share the same the happiness as yours...
diligent hands rule....
|
|
|
|
|
It's the Prang articles. I won't have the board design finalized and tested until I get a working copy back from PCBway and I'm loath to publish it until I've tested it. However, currently, the project itself can be wired completely from components sourced off of Amazon.
To err is human. Fortune favors the monsters.
|
|
|
|
|
your ideas will fascinate lot of people I think...
diligent hands rule....
|
|
|
|
|
By some coincidence, I just ordered my first "real" pcb (not just a practice run) from jlcpcb. It might even work, who knows.
|
|
|
|
|
honey the codewitch wrote: It's deeply satisfying to create something you can hold in your hands. I think parents say the same thing. Though quite frankly, the mom does the vast majority of the creation work.
|
|
|
|
|
Wordle 420 5/6
⬛⬛🟨⬛⬛
⬛⬛⬛🟨🟩
🟨🟩⬛⬛🟩
⬛🟩🟩⬛🟩
🟩🟩🟩🟩🟩
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Wordle 420 5/6
⬛⬛⬛⬛⬛
⬛⬛🟨🟨⬛
🟨🟨⬛⬛⬛
⬛⬛🟨🟨⬛
🟩🟩🟩🟩🟩
|
|
|
|