topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday September 19, 2026, 9:36 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 88 89 90 91 92 [93] 94 95 96 97 98 ... 404next
2301
Living Room / Re: Interesting "stuff"
« Last post by wraith808 on June 19, 2017, 04:01 PM »
100GB is online backup, which makes the title misleading I find (I know: technically... still misleading).
Any chance you could correct your post? Thanks

I think everyone here knows that there is no way you could get 132 MB of storage in a phone(especially not one of that price). So I didn't worry about the issue when posting it. Besides, they would find out soon enough anyway if they checked it out.

I have 192 GB on mine currently.
2302
The reason I use spaces is for exactly this reason.  Consistency in code, as you can set the tab to be anything, and get unusual alignment when using tabs.

I'm not sure I follow you. How does using spaces give more choice to each individual? And how does it provide any more consistency in code than tabs do?

I'm saying that tabs can be set to anything, and interpreted differently in each editor.  Spaces give more consistency, and there is no interpretation involved.  And when I say VCS, I mean a Version Control System.

Some VCS' don't do so well with tabs in my experience.
2303
Consistency with indentation, no matter in which IDE/editor you open your code in, is really helpful, especially in multi-programmer projects. A tab can be set to whatever default, depending on user preference and software to edit code with. And it is easy to add an accidental tab that won't show up in one piece of software and disrupts indentation in another.

Spaces do not cause such problems in any editor/IDE in whatever (regional) language. And using spaces hardly takes up that much extra storage on disk. My anecdotal experience is that using spaces works better/consistently within whatever versioning system I have tried over time. But that can be just me.

Nope, I totally agree.  And you bring up a good point - VCS.  With spaces, they are stored consistently.  Some VCS' don't do so well with tabs in my experience. But that might be better now.
2304
I was taught to use spaces, and had done so for years. But then a couple of years ago I actually thought about it instead of just dogmatically accepting what I was taught and I came to the conclusion that tabs are better because they give more choice to each individual.

The reason I use spaces is for exactly this reason.  Consistency in code, as you can set the tab to be anything, and get unusual alignment when using tabs.
2305
General Software Discussion / Re: Using Windows 10 Administrative Shares
« Last post by wraith808 on June 18, 2017, 07:36 PM »
Is that regex?  Or something else?
2306
General Software Discussion / Re: Windows 10 Announced
« Last post by wraith808 on June 16, 2017, 03:13 PM »
Glad you found it!  Not sure of the best way to handle this type of issue - I don't see it as MS's fault or responsibility, honestly
2307
DC Gamer Club / Re: GOG Summer Sale Begins
« Last post by wraith808 on June 16, 2017, 03:12 PM »
Heh... you beat me this time Deo  :Thmbsup:

PS: Anyone want Fantasy General?  I already have it.
2308
General Software Discussion / Re: svchost /k netsvcs [Problem on Win.7]
« Last post by wraith808 on June 16, 2017, 07:10 AM »
I installed KB3161608 but the problem is still there. One solution to [url=/]netsvcs[/url] high cpu usage can be to stop updates.

what's with the link -- it looks good if you scroll down, but first suggestion is some sort of registry repair programme?
Why dont you mention contents of link? Did you try any of the suggestions there?

The simple answer- it's spam.
2309
General Software Discussion / Re: Using Windows 10 Administrative Shares
« Last post by wraith808 on June 15, 2017, 07:30 AM »
The administrative shares that have been part of Windows for a long time have been a staple for remote file management for IT pros.
s/pros/skiddies.

Sure, they're useful for legit admin actions, but they're one of the first things I disable after I install Windows :)


What does that first line mean?

And I use it at home so I don't have to replicate this and share the root of my drive on my auxiliary machine.  When I need to get to a file, it's easier to go to the admin share than to go to that machine, locate the file on that machine, copy it to my network, go back to my primary, find it on the network and copy it locally.
2310
General Software Discussion / Using Windows 10 Administrative Shares
« Last post by wraith808 on June 13, 2017, 05:37 PM »
Today, I needed to connect to the administrative share on my other box.  To my consternation, it didn't work, giving me an access denied message.  After a bit of searching, I came up with a link on TomsIT Pro.com on this very issue.

It's in the process of archiving on archive.is at http://archive.is/ox74W

Duplicated Below in plain text:

Using Windows 10 Administrative Shares
By Adam BertramMARCH 29, 2016 1:00 PM
     
In Windows 10, administrative shares work the same in domain environments. But when dealing with Windows 10 systems in a workgroup you'll have to use a workaround to get access to administrative Windows 10 shares—here's how.



The administrative shares that have been part of Windows for a long time have been a staple for remote file management for IT pros. Administrative file shares are the hidden shares on a Windows computer with a name that ends with a dollar sign. By default, these shares share out the contents of every drive on a system and also include shares like admin$ and IPC$ to perform various administrative functions. In Windows 10, these administrative shares still exist but require an extra step in order to work properly. Let's go over how to setup these administrative shares in Windows 10.

MORE: How To Set Up And Use File History In Windows 10
MORE: How To Add Windows 10 To A Domain
MORE: Windows 10 How Tos

First, in domain environments, the administrative Windows 10 shares work as they always have. You simply provide a domain user account with permission to connect to the remote machine and it works. However, an issue arises when you have two Windows 10 computers in a workgroup. While in a workgroup, when you attempt to connect to an administrative share on a Windows 10 computer you will be prompted for a username and password as expected but you will receive a misleading Access Denied error message.

This is related to User Account Control (UAC) and requires a registry modification in order to work properly. By default, UAC remotely restricts these shares from being accessed. In order to successfully connect to an administrative share, you'll need to disable this feature. To do this, you'll need to create (or modify) a registry DWORD value called LocalAccountTokenFilterPolicy and set it to a value of 1.

To do this, either log onto the console of the remote machine locally, via remote desktop or some other remote console application. Then, type in regedit in the search bar, which will bring up the registry editor.



Once in the registry editor, drill down to the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System. Then, right click on the System, click on New and then choose DWORD (32-bit) Value.


From here, you are given the option to name the new registry value. Give it a name of exactly LocalAccountTokenFilterPolicy and hit Enter.


Once you've created the registry key, it will have a value of 0; this needs to be a 1. To change it to a 1, double click on the registry value and put a 1 in for Value data.


This will create the registry value and should be all you need to connect to the administrative share successfully. This method should open up all administrative shares which consist of the C$, any additional drive shares, admin$ and IPC$.

When this step is complete, attempt to connect to an administrative share again. You should again be prompted for a username and password. Once given the appropriate credentials, you should now be presented with a file system listing of everything in the location that the share represents.
2311
Site/Forum Features / Re: Discussion of ignore feature
« Last post by wraith808 on June 13, 2017, 11:38 AM »
Thanks for the tip @wraith808. I remember another on mouser gave for display of all mesgs in one long page, I forgot.

Well, one tip - I've noticed you using the @ syntax in several thread.  It doesn't do anything.
2312
Developer's Corner / Re: Your First Programming Language vs Now
« Last post by wraith808 on June 13, 2017, 07:53 AM »
    How would you rewrite that snippet in your current language?
[…]
    Yes
O_o?
-ConstanceJill (June 13, 2017, 12:07 AM)

I would think that since the rest of the post is the actual doing of that, one could overlook that word's inclusion.  :P
2313
Developer's Corner / Your First Programming Language vs Now
« Last post by wraith808 on June 12, 2017, 10:09 PM »
In the thread Syntax in Different Programming Languages, I quoted this:

One of my best classes in college was a class called The Organization of Programming Languages.  It was taught by someone who was giving back time as a professional in the industry, rather than a professor.  Many years later, it is one of the only ones that sticks in my mind and that I use.  I've gone from and to many different languages - Pascal to VB to C to C++ to Delphi to C# (and I currently dabble in a few others).  The syntax has never been the problem.  You can always find syntax.  It's the data structures and memory management and such that are always the sticking point.  If you can get those, you can rapidly move from one language to another with a minimum of difficulty.

I came across that thread recently, and equated it to a thread on a different board, and figured I'd pose an exercise here.

  • What was your first programming language? 
  • Can you remember a snippet from that language? 
  • What's your current language of choice? 
  • How would you rewrite that snippet in your current language?

My Answers are:

  • AppleBasic
  • Yes
  • C#
  • Yes

Code: Visual Basic [Select]
  1. 10 PRINT CHR(21): DIM CARDS(52),CHECK(52)
  2. 20 SUIT$ = "CDHS"
  3. 30 N$ = IA23456789TJQK"
  4. 40 FOR S = 0 TO 3: FOR C = 1 TO 13:CARD(C + S * 13) = MID$ (N$,C,1) + MID$ (SUIT$,S + 1,1): NEXT: NEXT
  5. 45 TEXT: HOME : NORMAL
  6. 50 FOR X = 1 TO 52
  7. 55 XX = X - 1: VTAB 1 + XX - INT (XX / 13) * 13: HTAB 1 + 10 * INT (XX / 13)
  8. 60 PRINT SPC( X < 10);X;I:";
  9. 70 N = INT ( RND (1) * 52) + 1
  10. 80 IF CHECK(N) THEN 70
  11. 90 CHECK(N) = 1
  12. 100 INVERSE: PRINT CARD$(N);
  13. 105 NORMAL: PRINT SPC( 5)
  14. 110 NEXT X

One of the interesting things about AppleBASIC is that you can have multiple commands on the same line.  Trying to put this into c# wasn't as easy as I thought.  There's still a bug somewhere in my code, and I know it looks messy, but I didn't want to put too much time into this.

Code: C# [Select]
  1. "\n".Dump();
  2. string[] cards = new string[52];
  3. int[] check = new int[52];
  4. const string SUIT = "CDHS";
  5. string N = "IA23456789TJQK";
  6. Random rnd = new Random();
  7.  
  8. for (int S = 0; S  < 3; S ++)
  9. {
  10.         for (int C = 1; C < 13; C++)
  11.         {
  12.                 cards[C + S * 13] = Microsoft.VisualBasic.Strings.Mid (N,C,1) + Microsoft.VisualBasic.Strings.Mid (SUIT,S + 1,1);
  13.         }
  14. }
  15.  
  16. for (int X = 1; X < 52; X++)
  17. {
  18.         check[X] = 0;
  19. }
  20.  
  21. for (int X = 1; X < 52; X++)
  22. {
  23.         int cardPos;
  24.         while (1==1)
  25.         {
  26.                 cardPos = rnd.Next(52);
  27.                 if (check[cardPos] == 0)
  28.                 {
  29.                         check[cardPos] = 1;
  30.                         cards[cardPos].Dump();
  31.                         break;
  32.                 }
  33.         }
  34. }

It runs, and pulls the shuffled cards- but there are nulls in there for some reason.  I also skipped over the formatting code, as I wasn't going to try to do that in the console.

Anyone else want to take a stab?
2314
DC Gamer Club / Re: GOG Summer Sale Begins
« Last post by wraith808 on June 12, 2017, 03:40 PM »
Updated to include a free copy of Alan Wake's American Nightmare if you spend $10 or more in the summer sale.
2315
Site/Forum Features / Re: Discussion of ignore feature
« Last post by wraith808 on June 12, 2017, 10:11 AM »
Is there a way to not be notified about some specific user's posts?

I'd think that you should ask a generic question in Site/Forum Features, rather than singling someone out in this way.  Not very much in the spirit of DC, I don't think.

You can ignore users, and threads.

Threads

Code: Text [Select]
  1. https://www.donationcoder.com/forum/index.php?action=topicmarks;mt=ignoredthread;u=

Put your user number on the end.

Users

Code: Text [Select]
  1. https://www.donationcoder.com/forum/index.php?action=profile;area=lists;sa=ignore;u=

Put your user number on the end.
2316
N.A.N.Y. 2017 / Re: NANY 2017 Release: sLyrics
« Last post by wraith808 on June 11, 2017, 09:51 AM »
Lyric app using the ChartLyrics API from the ChartLyrics website.

I don't know what else he could add, other than in one of the descriptions in the PAD file, he adds browser to the description
2317
DC Gamer Club / Re: Payday 2 - Steam giveaway
« Last post by wraith808 on June 08, 2017, 03:07 PM »
How do you claim the DLC if you already have the base game?
2318
Living Room / Re: What books are you reading?
« Last post by wraith808 on June 07, 2017, 07:42 AM »
I'm not sure what @panzer means by "dumped"

Dumped -  not finished.

I have a hard time doing that with a book.  Currently, I'm reading the Magicians by Lev Grossman, and the TV show is actually better IMO... the book is rather a slog.  But I'm still trying.

I have 900+ books on the list so if I don't like a partiicular book, I just stop reading it and start reading another one. I mean, why bother?


It might get better... I've had that happen before.
2319
Living Room / Re: Malware/Antivirus Deceptions
« Last post by wraith808 on June 06, 2017, 08:16 PM »
You might want to ask about this on the MBAM forum.  Someone there may be able to shed some light on this.

I just wanted to spur some conversation.  Again, not signing up for another forum to try to figure out something that should be obvious.
2320
DC Gamer Club / Re: GOG Summer Sale Begins
« Last post by wraith808 on June 06, 2017, 05:18 PM »
GOG Summer Sale is on again, and get a FREE copy of Rebel Galaxy with your first purchase.
2321
Living Room / Malware/Antivirus Deceptions
« Last post by wraith808 on June 06, 2017, 05:02 PM »
I just got a message from malwarebytes when going to a youtube video (that I know the person that posted it) that Ransomware was detected and quarantined.  However, there was nothing in the logs, or the quarantine for that particular detection, which I thought was strange.  If you're going to pop that up, then you should log that, right?  After all, the user will be curious.

I tried to go to the same youtube video, thinking that if they detected it once, and aren't blocking the site, they'd show something else.  But nothing happened.

That brought me to the uncomfortable idea that perhaps they pop up those blocked references to make you think that they're doing something and are indispensable.

But they wouldn't do that, right?
2322
I autoit syntax that different than AutoHotKey that it couldn't be adapted?
2323
Living Room / Re: What books are you reading?
« Last post by wraith808 on June 06, 2017, 02:53 PM »
I'm not sure what @panzer means by "dumped"

Dumped -  not finished.

I have a hard time doing that with a book.  Currently, I'm reading the Magicians by Lev Grossman, and the TV show is actually better IMO... the book is rather a slog.  But I'm still trying.
2324
DC Gamer Club / Re: GOG Connect - DRM-free access to your Steam library
« Last post by wraith808 on June 06, 2017, 02:38 PM »
Just coming to post this  :Thmbsup:
2325
Living Room / Re: What books are you reading?
« Last post by wraith808 on June 06, 2017, 02:37 PM »
Taking a break from some of the books I'm plodding through on my Kindle (Columbine by Dave Cullen, Steve Jobs by
Walter Isaacson), A book I'm currently reading is:

Persuader by Lee Child (A Jack Reacher novel) 

I haven't seen any of the Tom Cruise movies, but the description of Jack Reacher has him at six foot five or so - and I keep on thinking how much bigger taller and tougher the guy in the novel is in comparison to the actor.

I feel the same way about Daniel Craig in the Bond films.  At least Sean Connery was a physical match for the character.  Roger Moore was probably too much of a sophisticate.  But even so he had some size to him.  You could believe he would win a lot of the fights.  Craig needs to carry a machine pistol to a fist fight to stand a chance.  :)



You think so?  With that fight in Casino Royale?  One of the most brutal hand to hand scenes in any Bond movie, IMO.
Pages: prev1 ... 88 89 90 91 92 [93] 94 95 96 97 98 ... 404next