• Battery life on a Mac - How typical is my cycle count average?

    7
    0 Votes
    7 Posts
    1k Views
    scottalanmillerS

    @JaredBusch said in Battery life on a Mac - How typical is my cycle count average?:

    @travisdh1 said in Battery life on a Mac - How typical is my cycle count average?:

    @JaredBusch Hopefully that 0% is more like 15-20%, otherwise lithium ion batteries get ruined quick. Being a Mac, they probably manage that and will work it so when it displays 0%, it's not detrimental to the battery yet.

    Lithium batteries need treated much differently than NiCads used to. If a LiPo actually hits 0%, the internal components break down and the battery is ruined. Try to use it after that and you've got a fire starter, not a battery. My current hobby of making quadcopters made me memorize all the different safety and usage of the new batteries.

    I have to trust the device manufacturers for that. For me it is just a habit. I know batteries and devices are smarter about it. But even lithium batteries need to hit < 20% for best lifespan.

    Yeah, any iOS device I've had, you don't let it hit 0% (according to the device at least) regularly and the lifespan of the battery plummets. You can notice the loss of durability after just a few short charges. Doing a full discharge / recharge cycle and you eventually gain in back in most cases, but it takes months of training it to get it back.

    We have so many devices like that that get full charge and discharge daily and we have original iPads and such that last for like five years or longer with battery life the same as when they were new.

  • ownCloud 9.0.2 with PHP 7

    87
    2 Votes
    87 Posts
    36k Views
    scottalanmillerS

    Did you check the repos before calling me an ass or taking the word of some random person on a forum? I don't think so. You are so insistent that this is my fault and wanting to call me names that you are blindly willing to assume anything. Bottom line.... one official spokesperson for the company responded that the issue should not exist after asked directly if it was fixed. A random person on another forum made a comment about something that doesn't exist and you took their word for it as a reason to badger me.

    Here are the full contents of the repo for those interested.

    0_1463379259385_Screenshot from 2016-05-16 09:12:36.png

    So where is the PHP7 package that you are berating me about? Please provide me the link as I cannot find it.

  • 0 Votes
    6 Posts
    2k Views
    stacksofplatesS

    @Jason said in Planning to get Mini DisplayPort KVM:

    DisplayPort has very high royalty and licesnse costs

    I would almost used adapters to DVI first

    Ya all of our KVMs are like $300-500 because of the DisplayPort, it's kind of nuts.

  • Surface Pro 4 dead pixel

    7
    1 Votes
    7 Posts
    2k Views
    J

    Most companies won't even return or replace products with dead pixels. It's considered par for the course. Many require over 16 dead pixels for a return or replacement.

  • XO - Unknown error occurred while trying to start a VM

    Solved
    15
    2 Votes
    15 Posts
    4k Views
    AmbarishrhA

    @Danp said in XO - Unknown error occurred while trying to start a VM:

    Do you have a Default SR established?

    Haven't done that, will check.

    For now, i followed the advise of @DustinB3403 and setup Ubuntu server with XO! 🙂 All working fine.

  • Windows 10 disable sleep/hibernation

    9
    1 Votes
    9 Posts
    3k Views
    DashrenderD

    @Dashrender said in Windows 10 disable sleep/hibernation:

    damn.. missed that, thanks!

    I keep forgetting about Preferences. Awesome advancements in GPO there!

  • 1 Votes
    6 Posts
    4k Views
    scottalanmillerS

    @tonyshowoff said in Linux: Zip and 7Zip:

    Sorry if this was mentioned but I didn't see it directly mentioned for clarity:

    If your compression is unavailable directly in tar (-J being essentially 7zip, my favourite), you can tar it first (without compression) and then compress the tar, this maintains both Unix metadata and also gives the benefit.

    Also, if you compress something already compressed you won't get the best benefit, at least not when it comes to using something as powerful as LZMA/7zip.

    I believe that that is mentioned in the tar article.

  • Getting Started with Backblaze B2 CLI

    2
    1 Votes
    2 Posts
    1k Views
    A

    They have a sync command as well, that could be very handy 🙂

  • Where Does ML Traffic Come From?

    27
    7 Votes
    27 Posts
    5k Views
    tonyshowoffT

    They're buying into my layer 7 DDoS as actual hits, suckers!

  • strict syntaxt

    9
    2 Votes
    9 Posts
    3k Views
    tonyshowoffT

    It sounds like you're talking about typing, not syntax, C++ and Java are strongly typed languages, their syntax is not actually much more "strict" than other high level languages, I have about equal syntax freedom in PHP 7, Java, and C++, but JavaScript has a little bit more "freedom", in the sense it allows you to do asinine things like not have semicolons at the ends of lines. This is something crappy Ruby and Python programmers sometimes love doing since they rail against semicolons, of course making their JavaScript harder to debug and impossible to compress.

    Anyway...

    Weak typing is easier for beginners, but it can make things difficult for larger, more complex projects; this is something we kept bumping up against in PHP, which is why PHP 7's strict typing is great and we've saved a lot of debugging headaches and dealing with other problems by making everything strictly typed.

    Both PHP and JavaScript allow both static and dynamic comparison regardless of type strictness, for example:

    1 == "1" True 1 === "1" False

    The strict comparison is good for several reasons, however even in JavaScript there's a few issues with it, because JavaScript types in-of-themselves are not very good. There's not only a single object type which creates insane and unexpected results but there's also only a single numerical type as float, so:

    0 == 0.00000000001 True

    Languages like C++ and Java always have type strict comparison, so it's as if you're typing === every single time.

    Having said that, when it comes to strict mode, those are different depending on the language. In PHP it's related to typing and how objects are handled (non-static properties cannot be accessed statically, for example), however in JavaScript it's primarily related to variables and object properties, all of the type issues still exist regardless.

    Should you use it? In JavaScript absolutely always, because it helps make up for some of the language's flaws which can get you into trouble debugging later on. When it comes to PHP always have E_ALL | E_WARNING | E_NOTICE | E_STRICT | E_PARSE set in your php.ini (or barring that, set in .htaccess) and if you're using PHP 7 take advantage of the strict typeness, but even if you don't want to use PHP 7's new strict typing, properly log errors.

    Do it right the first time.

    As @JaredBusch said above, when I don't see it enabled, it's just a sign of the horrors to come. Even well written JS code will have errors typically in it when people don't use strict.

    In the amateur programming world, especially PHP (but also JavaScript) there's a desire to simply hide warnings, notices, errors, etc rather than fixing them. This is like taping over your check engine light on your car and assuming it's now completely fine.

    In other words, if you feel as though you should be able to suppress syntax and type errors knowingly, you should not program; get someone else to do it. I sometimes hurt feelings saying this, but if you approach any other job in a similarly lazy manner, you'd be fired or in some cases imprisoned when your building collapsed or killed someone.

    In actuality, programming errors have killed people, maybe yours won't, but that's no excuse to intentionally do a bad job because you're lazy. It's bad for your customers, bad for your environment, bad for your users, and bad for you when things fail and break and you don't know what went wrong because instead of logging properly and completely, you suppressed everything.

    In addition to returning to projects much later, laziness with typing and also syntax causes people to write bad code initially so later on they have a much harder time reading their own code or debugging. Some people say this doesn't happen to them, perhaps with tiny scripts that's true, but beyond that they're just lying, or they're stupid.

    So no, it's not awesome, and I've personally had to fix cases where ignored notices from PHP created failed database queries and data loss, as well as incomplete data states, and there's the recent example of a similar declaration problem leading to a guy deleting all of his customer data, that is also an example of why you don't program in production, another massive problem out there.

    Either turn on all warnings and notices, enable strict everywhere you can or stop programming, no matter what it is you're working on. There's enough bad code out there, fix your approach before you get too old to do it and you're that old programmer everyone hates or that old IT guy who writes bad scripts which break things everyone else has to fix.

    So when starting a project or script, if you want to hide PHP's warnings or notices or keep JavaScript from being strict remember to tell yourself, clients, and anyone else that "I'm starting this new project and I'm going to do a terrible job at it," because you will, it's inevitable.

    So I agree with @scottalanmiller, it depends on what your goals are, either to write something that works and is easier to maintain later on, or to write garbage to create a hell for yourself and other people which may or may not destroy data and lose things with no further information as to what went wrong.

    Now that you know the importance of it, any decision otherwise beyond this point is being intentionally stupid and reckless.

  • IBM Storage V3700

    5
    3 Votes
    5 Posts
    897 Views
    F

    I manage a Storwoze 3700, you can find the option for easy tiering is in the web interface, I think is in the "settings" menu (the last voice on the right column).

  • Email Address Issue

    53
    1 Votes
    53 Posts
    12k Views
    scottalanmillerS

    @aaronstuder said in Mangolassi is leaking everyone's email address!:

    @scottalanmiller did you report the reload bug yet?

    I want to wait for 1.0.4 which is just about to drop before putting in a report on 1.0.3. Don't want to create noise if it is already addressed or just something in our code base download.

  • To Scott

    4
    -1 Votes
    4 Posts
    657 Views
    scottalanmillerS

    Interesting, it must be a swap file rather than a swap partition.

  • Corel Draw x8: Performance and other issues

    3
    0 Votes
    3 Posts
    768 Views
    gjacobseG

    @dafyre said in Corel Draw x8: Performance and other issues:

    The first place I would look is Updated drivers... How recent is Corel Draw x8?

    Just downloaded.

    That said, It did do an update prior to my uninstalling it and cleaning the system up and re-installing it.

  • How Do You See GPT Partitions on XenServer 6.5

    13
    0 Votes
    13 Posts
    3k Views
    BRRABillB

    @scottalanmiller said

    Forked us over here as this is totally unrelated to the topic that it was in and a new question was asked in the thread.

    My bad.

  • script the creation of a database on CentOS7

    4
    1 Votes
    4 Posts
    783 Views
    scottalanmillerS

    @alex.olynyk said in script the creation of a database on CentOS7:

    Thanks Scott! Works Perfectly!

    No problem. Done that one many a time.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Is Edx.org worth paying for certs

    4
    1 Votes
    4 Posts
    780 Views
    scottalanmillerS

    @coliver said in Is Edx.org worth paying for certs:

    I always find it weird when systems admin "stuff" is mixed in with computer science.

    Or as we from CS programs say... that's a scam. It's "filler" hoping that CS students don't realize that a cheaper to deliver class displaced what they had paid for.

  • Tool for documentation

    9
    1 Votes
    9 Posts
    3k Views
    O

    @Dashrender said in Tool for documentation:

    @original_anvil said in Tool for documentation:

    @Dashrender well... it would be handy. I know that your option will work as well, but I'm sure you will agree that it is better to use one tool for one task instead of two or more.

    Oh absolutely! Anything you can do to make the end user's job easier it definitely a good thing. I just wouldn't have that item on my requirement list, instead it would be on the, should/really want to have list.

    Gotcha! Well, not having that functionality is not a stopper, but highly desirable feature 🙂

  • GPO issue with Server 2012r2

    11
    0 Votes
    11 Posts
    1k Views
    alex.olynykA

    No WMI filters are in place. Too bad we dont get 1 free support incident each year from MS just for using their stuff.