The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
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.
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. Or if you must, use the Back Room[^] - but enter at your own risk.
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. For those discussions where you wish to be a little more frank, use the Soapbox[^]
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.
I wrote a small (85 lines of C# code) backtraking Sudoku solver - primarily to illustrate the idea of backtracking. (After all, the fun of Sudoku is not "Press this button to se the solution", but exercizing your brain .)
Wikipedia claims that the general problem of solving a Sudoku "is known to be NP-complete". So I thought finding a Sudoku problem that could really stress a PC would be simple. Not true. The most difficult I have found until now solves in 3.4 milliseconds, evaluating about 110,000 tentative digit placements (about 30 ns per evaluation).
A typical "trait" of backtracking is that on the average it usually performs well, but the worst case performance may be bad. So I am searching for examples of that worst-case performance .
Where can I find Sudoku boards that are truly difficult to solve, even for a PC?
NP complete problems are extremely dependent on problem size, and 9 by 9 is not exactly a large problem. My solver can handle any board size, but I made a very quick and dirty user interface that handles 9 by 9 only, so I would like to stay within that size.
It was said that [Vetinari] would tolerate absolutely anything apart from anything that threatened the city*...
* And mime artists. It was a strange aversion, but there you are. Anyone in baggy trousers and a white face who tried to ply their art anywhere within Ankh's crumbling walls would very quickly find themselves in a a scorpion pit, on one wall of which was painted the advice: Learn The Words.
Seems appropriate to me!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
Oh Microsoft, you kill me! An older computer is updating Win10, and has taken several hours already. Figured I'd go online and see if the 'Modem Setup Host', that was at the top of the process stack, was a Windows component. The first google link goes to social.technet.microsoft.com. I get, "Because you're accessing sensitive information, you need to verify your password" them! The stupidity!
After finding out recently that one of my X-Files blu-ray discs, purchased last Black Friday (and unopened until now), had a crack in it, starting from the middle hub and extending far enough to reach the recording surface, and render the disc unplayable, I decided I should rip all my discs to hard drives.
While drive storage is cheap these days, 40+GB for a single disc is rather excessive, especially considering I mostly have TV series that span multiple discs each.
I know some of you have mentioned compressing HD video before, and also converting full-disc images into single files for individual episodes.
I already have a bunch of discs ripped to ISO, but stripped of the original copy protection. Here's my question: What tool(s) can I use to convert episodes into individual files, and what settings are typical for preserving decent audio/video quality at full 1080p/5.1?
Perhaps more importantly - are these tools you'd actually vouch for, and would blindly trust so you don't have to verify each and every conversion? This is a sticking point for me, as I have (from years ago) a bunch of DVD rips converted to AVI/MP4 that, it turns out, have audio and video slowly drifting out of sync with each other over time. I'd hate to go through that again with my blu-ray discs.
Every time I see updates to the list of movies offered by streaming services, I read the "Movies removed" part, and most times say to myself: "That movie I still have available, and that one, and that one ... Luckily, they are available in my bookshelf!"
I should mention that for most movies I watch, "spoilers" are irrelevant: If a movie isn't wort watching a second time (and a third...), even when you know the story, it isn't worth the time for watching it the first time. My favorite movies are among my best friends
Actually, I have had a similar problem with books: When I want to buy, as a gift to a friend, a copy of one of my favorite books, I frequently am told in the bookstore that the book hasn't been in print for several years. (Also, this can be a problem if a friend has borrowed my copy and doesn't return it, and I want to buy a replacement copy for myself rather than ruining the friendship.) This is a much bigger problem in a small language community: In the English speaking world, there are so many potential buyers that you can afford to keep a book in print for ages. For Norwegian language books that might sell a dozen copies a year after the third one, it is not economically feasible to keep all books in print (or in stock). So for books that are so good that I am 100% sure that I will want to give to somebody, I rush to buy two or three extra copies while they are available.