Jump to content

Dune II

Member
  • Posts

    10
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    Dune II got a reaction from L00bs4n00bs in Phillips Hue 10W Questions   
    You're current tornado light is 1460lm and the hue color is 806lm, so it will be less bright.
    You do need the bridge to control the hue light, without it you can it only turn on and off with the normal light switch.
    The phone app connects to the bridge by wifi and the bridge connects to the lamp by radio signals (zigbee).
    If you go for the hue, look for a starters package, it will have all you need and is mostly cheaper.
     
    One warning, if you start with hue, you want more
     
  2. Agree
    Dune II reacted to BrinkGG in Best home Firewall OS?   
    Pfsense. 
    https://www.pfsense.org/download/
    All the customization in the world, but it can be used as a simple, "Set-and-forget-it" firewall that is one of the best I've ever used. 
    Tek Syndicate did a setup and walkthrough video a few years back that I would also recommend, though it is a little outdated now. 
     
  3. Agree
    Dune II reacted to straight_stewie in C# Counter   
    Well, I'm sure your teacher went over loops before handing you this assignment. So I don't feel too bad repeating @tikkers statement that you should look into loops.

    However, I will go to the length of teaching some things about the different types of loops available in C#:
    Foreach loops While loops For loops Do while loops Foreach Loops:
     
    While loops:
     
    For loops:

    Do While loop:

    Given these examples, which loop, or loops, do you think are applicable to your problem? 
  4. Informative
    Dune II got a reaction from MikeSK in C# remove last punctuation and everything after it on a string   
    No need to use a nullable int, just use the normal int.
     
    I'm used to use implicit var, but that only works in visual C# 3.0 and higher.
  5. Like
    Dune II got a reaction from MikeSK in C# remove last punctuation and everything after it on a string   
    string myString = "Hello, Th,ere."; var n = myString.LastIndexOf(','); if(n != -1) { myString = myString.Substring(0, n); }  
  6. Like
    Dune II got a reaction from Beskamir in Tips for Teaching Recursion   
    Hi,
     
    What I found easy to understand, was getting the total file size from a folder and it's sub folders.
    Its easy to check if you're correct and it can be explained step by step visually.
×