ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. matteo nunziati
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 29
    • Posts 871
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Microsoft Open Sources Windows Subsystem for Linux WSL

      @scottalanmiller said in Microsoft Open Sources Windows Subsystem for Linux WSL:

      @matteo-nunziati said in Microsoft Open Sources Windows Subsystem for Linux WSL:

      @scottalanmiller not so limited. I do both linux and win devel. Win in vm is a pita so you run win bare metal and use linux in vm. Then you grown bored of setting up samba for sharing between vm and host, fire the vm on 1 screen and have another os in the other screen and so on. Now I just fire wsl from win menu and I go. It is simply more seamless to me.

      When you say you develop on both, you develop the same things on both, or different things on both?

      I share between systems via GIT.

      No I've customers asking for linux stuff and other customers asking for win stuff.

      posted in News
      matteo nunziatiM
      matteo nunziati
    • RE: Microsoft Open Sources Windows Subsystem for Linux WSL

      @scottalanmiller not so limited. I do both linux and win devel. Win in vm is a pita so you run win bare metal and use linux in vm. Then you grown bored of setting up samba for sharing between vm and host, fire the vm on 1 screen and have another os in the other screen and so on. Now I just fire wsl from win menu and I go. It is simply more seamless to me.

      posted in News
      matteo nunziatiM
      matteo nunziati
    • RE: Microsoft Open Sources Windows Subsystem for Linux WSL

      @scottalanmiller said in Microsoft Open Sources Windows Subsystem for Linux WSL:

      @matteo-nunziati said in Microsoft Open Sources Windows Subsystem for Linux WSL:

      From devel stand point cygwin was barely useful while wsl it is handy because it fires up as fast as a container, it allowa you to manage same source and folders as your win machine (devel on win with vs code and run in "linux") but every single tool is an apt or zypper away. And still you can run "legacy" stuff required by people, like office and the so...

      I'm torn here. I can kind of see where this is handy, but it still isn't really Linux. When would I want this compared to the real thing? Seems like a tiny convenience, in exchange for a bit of risk and complexity.

      You never want this unless you are consteained to stay on windows. It is handier than a vm just this. Plain Linux desktop is way better of course

      posted in News
      matteo nunziatiM
      matteo nunziati
    • RE: Today's Random Discussion Point: Are Wigs Just Hairy Hats?

      @scottalanmiller said in Today's Random Discussion Point: Are Wigs Just Hairy Hats?:

      @matteo-nunziati said in Today's Random Discussion Point: Are Wigs Just Hairy Hats?:

      Guys you arr doing it wrong. You cant discuss this without a ton of alcohol.

      And you think that we are not?

      This hasnt derailed enough... So not a ton at least 😛

      posted in Water Closet
      matteo nunziatiM
      matteo nunziati
    • RE: Today's Random Discussion Point: Are Wigs Just Hairy Hats?

      Guys you arr doing it wrong. You cant discuss this without a ton of alcohol.

      posted in Water Closet
      matteo nunziatiM
      matteo nunziati
    • RE: Microsoft Open Sources Windows Subsystem for Linux WSL

      From devel stand point cygwin was barely useful while wsl it is handy because it fires up as fast as a container, it allowa you to manage same source and folders as your win machine (devel on win with vs code and run in "linux") but every single tool is an apt or zypper away. And still you can run "legacy" stuff required by people, like office and the so...

      For admin I was a fan of putty and winscp now they come with wsl along with the other stuff

      posted in News
      matteo nunziatiM
      matteo nunziati
    • RE: Microsoft Open Sources Windows Subsystem for Linux WSL

      @dafyre said in Microsoft Open Sources Windows Subsystem for Linux WSL:

      What does WSL bring to the table that can't already be done with Cygwin?

      Cygwin requires you to port source code to it. WSL is the opposite: it emulates linux kernel so that you can run unmodified binaries.

      posted in News
      matteo nunziatiM
      matteo nunziati
    • RE: Microsoft Open Sources Windows Subsystem for Linux WSL

      Something like gnu/windows in a chroot

      posted in News
      matteo nunziatiM
      matteo nunziati
    • RE: Lightest weight Linux distro for web browser

      If you really need only browser you can do fedora minimal + xorg + xinit + browser.
      Costumize xinit to run your browser.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Lightweight Windows OS

      Lightest used here is win 10 iot core. Which is free. The x86 version maybe can be virtualized.
      Don't know.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: CP, Rsync or other?

      Scott is right. When in dubt use rsync. Anyway cp is faster then the delta algo of rsync. Therefore the basic rule -if you care- should be: first time you copy go cp then always rsync. Even if cp fails you can restart with rsync.
      But basically you do not bother and you go straight w/ rsync.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Python Print() Syntax

      to be clear:
      in python 2.x what you get with a print() is a tuple of elements. the comma is there NOT because it is a separator but because it is used in print() to concatenate multiple items (Python objects) in a tuple.

      in python 3.x the print() statement print EVERYTHING if it is a string and concatenate the objects into a single string. If you do not pass a string but an object has a __str__() method, it is implicitly invoked.

      trivial example in python 2, create a tuple:

      t=("rob",21)
      print(t)
      

      try to print it. you get exactly the same result than your example. then try the same in python 3.x. again...

      the comma in the print statement is misleading you. it is just command synthax nothing to do with a char in a string or anything similar. when you see stuff into rounded brackets, this is a tuple. and by default elements in a tuple are separated by a comma.

      (to be accurate the representation of a tuple according to its default __str__() method)

      NOW
      try the same thing calling tuple items explicitly:

      print(t[0], t[1])
      

      output is different in python3! In this sense pythion 3 is more accurate in the data representation.

      EVENTUALLY
      if you really want a comma separated list of items into a string you must format it:

       print("%s; %s" % t)
      

      in this case I've used a semicolon to point out the difference.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Python Print() Syntax

      tested both python 2.7 and 3.4, while the print() output is different, still the added space is there.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Python Print() Syntax

      0_1520458514992_3ae13f5a-90bd-4d16-8d36-9b16c018001a-image.png
      that's not the same! please look at the added space after name:
      ('matt ','1980')
      (........^...........)

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Why is Node.js so popular?

      The main reason node was developed was its author did liked the scaling capabilities of apache! If you never hit scalability limits of ngnix or apache the remaining reason for node is you are a fullstack devel and your mind twists jumping from a front end language (js) to a back end one.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Anyone backing up a file server with 13 million plus files?

      @tim_g if you are testing the freeware and not a trial, mind that it doesnt do CBT only the paid server edition does.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Dipping Toes Into Programming

      @tim_g said in Dipping Toes Into Programming:

      I am liking PHP more than Python. PHP seems so much easier in every way so far... but I'm not very far with either.

      If you are mostly focused on websites logic go php. This is the very application field for php. Python is a general purpouse lang. Still useful but for simple web stuff php is the entry point. Let say that if you have to do website jobs for the most, path could be php-> any framework of any general purpouse -> node.js

      posted in Developer Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Dipping Toes Into Programming

      @scottalanmiller said in Dipping Toes Into Programming:

      @matteo-nunziati said in Dipping Toes Into Programming:

      Definitively the most complete language imho. Js is all nosql.

      JS has no particular affinity for NoSQL any more than for relational databases. There is a trend in the NodeJS community to lean towards NoSQL, and there is a trend in language like Python and Ruby to lean towards relational - but it has nothing to do with the language or capabilities, but only the kinds of projects people are popularly making with those languages. And often it's nothing more than one or two famous frameworks creating the impression.

      Yes this is not a language/implementation feature but most of a community trend.

      What I mean is: Try postrgres in python: there is plenty of options. From python default db lib up to sqlalchemy.
      Most of what I sorted out in node/js was plain sql queries embedded in strings into calling functions.

      posted in Developer Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Dipping Toes Into Programming

      @tim_g said in Dipping Toes Into Programming:

      @scottalanmiller said in Dipping Toes Into Programming:

      @flaxking said in Dipping Toes Into Programming:

      @tim_g said in Dipping Toes Into Programming:

      I started with Python last night for about 45 minutes..

      I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.

      Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.

      Completely replace it, definitely. Python is the most universal automation language for systems administration. You can run Python on .NET, on Java, on the OS directly (with the standard interpreter), it predates PowerShell as the hard core scripting language for Windows automation. It's great because it works on Linux, Solaris, BSD, MacOS, etc. as well.

      SaltStack is written in Python and does essentially anything you can imagine.

      One thing that caught my attention is how well Python works with the major databases. That will be a big help later.

      Definitively the most complete language imho. Js is all nosql. I'm currently looking at asp.net core 2.0 and there are less "production ready" solutions even here.
      Python has libs for almost any kind of db. And even a really powerful (but complex) orm!

      posted in Developer Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: What's the Best Way to Deduplicate & Organize Files/Folders on a 200 TB NAS?

      The starwind dedup estimator can be a thing here?!

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 43
    • 44
    • 12 / 44