Computing | Software and Hardware

Advances in the investigation of the physical universe we live in.
User avatar
Typhoon
Posts: 27438
Joined: Mon Dec 12, 2011 6:42 pm
Location: 関西

Re: Computing | Software and Hardware

Post by Typhoon »

Comp World | With DaaS Windows coming, say goodbye to your PC as you know it

Hmmm. Although I use both Window and Linux OS, having to lease a Windows OS from Mr. Softie would make me reluctantly go all Linux.
May the gods preserve and defend me from self-righteous altruists; I can defend myself from my enemies and my friends.
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

same - linux + android gives me everything except my photography tools - all my coding and electronics software runs fine on linux anyway.

now that microsoft is forcing the spyware (cortana) and turning itself into android with reduced user control their is no point of difference except having to pay for updates.

i will miss windows 7 - it appears to be the high point of personal computing.

linux mint 18 has been the most pleasant user experience so far in the linux world - i really didnt spent much time at all playing silly buggers trying to get things to work.
ultracrepidarian
User avatar
Typhoon
Posts: 27438
Joined: Mon Dec 12, 2011 6:42 pm
Location: 関西

Re: Computing | Software and Hardware

Post by Typhoon »

Currently using Ubuntu 18.04. So far, so good.

The upgrade from the previous 17.x version failed and I had to reinstall.

The reason I stayed away from Linux in the past was poor support for Nvidia proprietary GPU drivers and related software.
No longer the case.
May the gods preserve and defend me from self-righteous altruists; I can defend myself from my enemies and my friends.
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

Im not sure why, I didnt like Ubuntu - the default desktop was clumsy and I couldnt be bothered doing the customisation work :) Im too old for that!

Id either go all-in on the do it yourself masochism with Debian or do the "everything comes installed" with Mint.

upgrades across magor versions have a tendancy to go pear shaped or create legacy mess on all systems, its usually best to clean slate them.
ultracrepidarian
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

Mr. Perfect wrote:
noddy wrote: good place to start - if you find you have an affinity for it then I would recommend moving away from javascript sooner or later.
What would you use instead? I am working on a web based project. I started with html and css for basic layouts, but was recommended javascript. I don't know enough about other languages to know what I would use instead.
javascripts feature is that the code runs on the clients machine in the web browser - so its not a good choice for doing any kind of propriety work as anyone can steal all of the site logic easily - its reason for existing is automation and animation on the pages, not serious coding.

bring up the developer tools on any web browser you use and you can see all the web code that site is made from - many will make an attempt to make it harder to read but that wont deter any serious person.

if you want to keep parts of the project hidden from public view you need to move from the web browser and back to the server, this requires more learning but gives increased power and security.

all of microsoft or googles secret sauce exists on servers away from the public eye - the javascript is purely the user interaction polish.

the common choice for that on windows is C# and the MVC framework - available from the Microsoft developer tools in visual studio.

for the free and open source folks python and the flask framework are quite popular.

their are many many others, each has a religious following and many thousands of pages of flamewar on the internet from the various acolytes, the main point being you want a server based language, not a browser based one.

javascript is also not really suited towards a long lasting, engineered solution - it started off as quite a poor language, has slowly grown better over the years but still has to carry the turds of its past, whilst also being a bit of a moving target with incompatibilities across the various browsers.

I dont do much webwork any more (yay for me) so i tend to use c or c++ and write algorithms and firmware - lower level programming with less competition from the masses.


"when all you have is a hammer, everything looks like a nail" is the core factoid you need to remember when dealing with computer opinions - most folks will make a god out of the few things they know how to use.
ultracrepidarian
Simple Minded

Re: Computing | Software and Hardware

Post by Simple Minded »

noddy wrote:
.......

"when all you have is a hammer, everything looks like a nail" is the core factoid you need to remember when dealing with computer opinions - most folks will make a god out of the few things they know how to use.
We don't have much common ground in the computer world, but you nailed a lot of aspects of humanity with the above statement.

Also expressed as "Better the devil you know."
User avatar
Typhoon
Posts: 27438
Joined: Mon Dec 12, 2011 6:42 pm
Location: 関西

Re: Computing | Software and Hardware

Post by Typhoon »

noddy wrote:Im not sure why, I didnt like Ubuntu - the default desktop was clumsy and I couldnt be bothered doing the customisation work :) Im too old for that!
Ubuntu has abandoned the Unity desktop and switched back to Gnome 3.x.

In my situation, I wanted to avoid installing anything I would not use, so the Ubuntu minimal install suited my requirements.
Added Python, CUDA, an AI framework, and MS Code. Good to go.
noddy wrote: . . .
upgrades across magor versions have a tendancy to go pear shaped or create legacy mess on all systems, its usually best to clean slate them.
Indeed.
May the gods preserve and defend me from self-righteous altruists; I can defend myself from my enemies and my friends.
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

Typhoon wrote:Comp World | With DaaS Windows coming, say goodbye to your PC as you know it

Hmmm. Although I use both Window and Linux OS, having to lease a Windows OS from Mr. Softie would make me reluctantly go all Linux.
Yeah, I'm out.
Censorship isn't necessary
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

noddy wrote: javascripts feature is that the code runs on the clients machine in the web browser - so its not a good choice for doing any kind of propriety work as anyone can steal all of the site logic easily - its reason for existing is automation and animation on the pages, not serious coding.

bring up the developer tools on any web browser you use and you can see all the web code that site is made from - many will make an attempt to make it harder to read but that wont deter any serious person.

if you want to keep parts of the project hidden from public view you need to move from the web browser and back to the server, this requires more learning but gives increased power and security.

all of microsoft or googles secret sauce exists on servers away from the public eye - the javascript is purely the user interaction polish.

the common choice for that on windows is C# and the MVC framework - available from the Microsoft developer tools in visual studio.

for the free and open source folks python and the flask framework are quite popular.

their are many many others, each has a religious following and many thousands of pages of flamewar on the internet from the various acolytes, the main point being you want a server based language, not a browser based one.

javascript is also not really suited towards a long lasting, engineered solution - it started off as quite a poor language, has slowly grown better over the years but still has to carry the turds of its past, whilst also being a bit of a moving target with incompatibilities across the various browsers.

I dont do much webwork any more (yay for me) so i tend to use c or c++ and write algorithms and firmware - lower level programming with less competition from the masses.


"when all you have is a hammer, everything looks like a nail" is the core factoid you need to remember when dealing with computer opinions - most folks will make a god out of the few things they know how to use.
Thank you very much. I would say, you are recommending I start learning C#?
Censorship isn't necessary
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

Also, does anyone know a good web developing forum they would recommend?
Censorship isn't necessary
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

And I am currently using Notepad ++, would I have to switch to MS Visual Code at some point?
Censorship isn't necessary
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

Mr. Perfect wrote: Thank you very much. I would say, you are recommending I start learning C#?
sounds like it.

https://spectrum.ieee.org/static/intera ... uages-2018

this is a handy page of the most common languages and their use cases.
Mr. Perfect wrote:And I am currently using Notepad ++, would I have to switch to MS Visual Code at some point?
i use visual code out of preference but it is more of an editor than a programming environment so adds more burden to your learning curve,

the one you would get better mileage from is the community version of microsofts professional environment - visual studio.

I spent years using that, its very good and it does alot of the background grunt work like maintaining build files, deployment files, updating and restarting servers etc , automatically for you.

https://visualstudio.microsoft.com/vs/community/

todo a FullStack (tm) website potentially requires HTML,CSS, Javascript, CSharp and SQL and these run on the Web browser, Web server and Database server.

5 types of code across 3 types of environment :)

thats a whole lot of lavender to learn to do it properly, so starting with just the web browser and HTML,CSS and JavaScript is the correct first step - just be aware that its only the first step.
Last edited by noddy on Wed Aug 01, 2018 5:13 am, edited 2 times in total.
ultracrepidarian
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

Mr. Perfect wrote:Also, does anyone know a good web developing forum they would recommend?
their are so many - however i dont really use any of them anymore because after so many decades i have built up a group of people i can informally ask for help or opinions.

https://stackoverflow.com/ is usually considered the biggest and best however its also got a double edge blade of the less skillful folks outnumbering the clueful ones so the most popular answer isnt always the best one.

microsoft has its own developer forums, eg: https://forums.asp.net/ for web devel on visual studio.

you will end up finding your own easily by typing the problem into google and getting used to which ones come up as common sources of solutions , then stick to those.
ultracrepidarian
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

Typhoon wrote:
noddy wrote:Im not sure why, I didnt like Ubuntu - the default desktop was clumsy and I couldnt be bothered doing the customisation work :) Im too old for that!
Ubuntu has abandoned the Unity desktop and switched back to Gnome 3.x.

In my situation, I wanted to avoid installing anything I would not use, so the Ubuntu minimal install suited my requirements.
Added Python, CUDA, an AI framework, and MS Code. Good to go.
re: ubuntu - -oh thats good, i might need to try it again, however mint is pretty much ubuntu with a neater desktop, so maybe its much of a muchness now.

re: CUDA + AI framework, im jealous, id love to have time and mental space to tinker with that more.

ive dabbled in such things to make sure i understand basic concepts but thats about it.

ms code is a brilliant editor, i love how its identical on windows and linux, has made jumping between platforms all the time quite easy.
ultracrepidarian
User avatar
Typhoon
Posts: 27438
Joined: Mon Dec 12, 2011 6:42 pm
Location: 関西

Re: Computing | Software and Hardware

Post by Typhoon »

noddy wrote: . . .

ms code is a brilliant editor, i love how its identical on windows and linux, has made jumping between platforms all the time quite easy.
Agreed. I had been using the Spyder editor for Python, but now that Anaconoda includes MS Code as part of their distribution, I decided to have a look and was impressed by the ease of setup and use and, as you noted, it is OS agnostic. As the most recent release of Spyder was having issues, I decided that it was time to switch.
Have not yet used MS Code for C++, but will eventually do so.

MS Visual Studio has improved over the years, but setting up a project creates a lot of baggage. One issue for me copying a large code base for a project to another project.
A simple copy is problematic. Best practice is to copy the [C++] file and set up a new project from scratch, which is a pain.
May the gods preserve and defend me from self-righteous altruists; I can defend myself from my enemies and my friends.
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

Typhoon wrote:
noddy wrote: . . .

ms code is a brilliant editor, i love how its identical on windows and linux, has made jumping between platforms all the time quite easy.
Agreed. I had been using the Spyder editor for Python, but now that Anaconoda includes MS Code as part of their distribution, I decided to have a look and was impressed by the ease of setup and use and as you noted, it is OS agnostic. As the most recent release of Spyder was having issues, I decided that it was time to switch.
Have not yet used MS Code for C++, but will eventually do so.

MS Visual Studio has improved over the years, but setting up a project creates a lot of baggage. One issue for me copying a large code base for a project to another project.
A simple copy is problematic. Best practice is to copy the [C++] file and set up a new project from scratch, which is a pain.
yes - template driven project creation is nasty.

c and c++ tend to be gcc based for me, so its all command line based tools for the actual build chain - this made visual code perfect as <ctrl ~> fires up a little internal terminal with command line history - very simple to trigger all the tasks.

ditto python of course - tho the builtin debugger works sweetly.

in my world visual studio is purely for c# and web apps , maintaining those build files is a nightmare of hideous XML so the template thing is a necessary evil.

life is too short to learn transitory xml dialects!
ultracrepidarian
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

So how many of these languages do you have to learn before you are the real deal.

Just reviewing my current situation, I am doing fine with html and css, but the more I read it looks like I will have to learn php, C# and javascript at some point. It's very strange, you have to assess which ones are worth the time and in what order.
Censorship isn't necessary
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

to do an entire web app you need.

webbrowser : html, css, javascript
webserver: csharp, sql

php is an alternative to csharp, their are also alternatives to sql however you can mostly ignore all that for the moment.
ultracrepidarian
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

Fascinating.
Censorship isn't necessary
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

hah.

this is a tiny subset of the layers upon layers the modern computing world is built from.

essentially each of those layers represents a different problem with a different skillset.

html is the actual content being presented to the world
css is layout and styling of that content.
javascript automates changes in those, also, gluing the html to the csharp.
csharp generates and controls which bits of those are visible to who and also hides away special logic that does calcuations or propriety information.
sql manages the data being presented and collected.

each of those is typically written as a virtual machine using c or c++

these then generate assembly language

this is then converted into machine code that the cpu actually uses to trigger the various transistor pathways.
ultracrepidarian
Mr. Perfect
Posts: 16973
Joined: Mon Dec 12, 2011 9:35 am

Re: Computing | Software and Hardware

Post by Mr. Perfect »

I can almost follow that. I do believe that I will probably take this up as a serious thing, this business app I am working on is for the money in many ways, but it seems like being able to do this will allow me to bring so many of my schemes into reality.
Censorship isn't necessary
User avatar
Typhoon
Posts: 27438
Joined: Mon Dec 12, 2011 6:42 pm
Location: 関西

Re: Computing | Software and Hardware

Post by Typhoon »

noddy wrote:
Typhoon wrote:
noddy wrote: . . .

ms code is a brilliant editor, i love how its identical on windows and linux, has made jumping between platforms all the time quite easy.
Agreed. I had been using the Spyder editor for Python, but now that Anaconoda includes MS Code as part of their distribution, I decided to have a look and was impressed by the ease of setup and use and as you noted, it is OS agnostic. As the most recent release of Spyder was having issues, I decided that it was time to switch.
Have not yet used MS Code for C++, but will eventually do so.

MS Visual Studio has improved over the years, but setting up a project creates a lot of baggage. One issue for me copying a large code base for a project to another project.
A simple copy is problematic. Best practice is to copy the [C++] file and set up a new project from scratch, which is a pain.
yes - template driven project creation is nasty.

c and c++ tend to be gcc based for me, so its all command line based tools for the actual build chain - this made visual code perfect as <ctrl ~> fires up a little internal terminal with command line history - very simple to trigger all the tasks.

ditto python of course - tho the builtin debugger works sweetly.
Ah yes, that is the way to do it.
noddy wrote: in my world visual studio is purely for c# and web apps , maintaining those build files is a nightmare of hideous XML so the template thing is a necessary evil.

life is too short to learn transitory xml dialects!
As I don't work with C# or web apps, I've had to deal with XML only on a few rare occasions. A proper pain in the neck.
May the gods preserve and defend me from self-righteous altruists; I can defend myself from my enemies and my friends.
User avatar
Miss_Faucie_Fishtits
Posts: 2159
Joined: Sat Dec 17, 2011 9:58 pm

Re: Computing | Software and Hardware

Post by Miss_Faucie_Fishtits »

Someone has to say it. Damn Javascript and the web designers that use it to wreak havok.......

https://pjmedia.com/vodkapundit/the-bulls-web/
She irons her jeans, she's evil.........
User avatar
Nonc Hilaire
Posts: 6208
Joined: Sat Dec 17, 2011 1:28 am

Re: Computing | Software and Hardware

Post by Nonc Hilaire »

I play a mobile game and someone is cheating using html5 scripts. Is there a way to view and capture the activity to send to the devs?
“Christ has no body now but yours. Yours are the eyes through which he looks with compassion on this world. Yours are the feet with which he walks among His people to do good. Yours are the hands through which he blesses His creation.”

Teresa of Ávila
noddy
Posts: 11347
Joined: Tue Dec 13, 2011 3:09 pm

Re: Computing | Software and Hardware

Post by noddy »

if you have a windows pc you can use https://www.wireshark.org/ to record all activity on your network.
ultracrepidarian
Post Reply