If you really need only browser you can do fedora minimal + xorg + xinit + browser.
Costumize xinit to run your browser.
bah! machine vision consultant, I've worked in a number of automation projects as a coder both in c++ and python. After a 2 year period as IT manager in SMB, mowdays I'm trying to refocus my activity on automation and IIoT.
Posts made by 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.
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:
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)
try the same thing calling tuple items explicitly:
output is different in python3! In this sense pythion 3 is more accurate in the data representation.
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.
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.
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.
RE: 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
RE: 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.