Re: Windows on a Linux kernal ?

2023-05-03 Thread Arjen Lentz via luv-main
Hi Rohan

- On 27 Mar, 2023, at 9:52 AM, Rohan McLeod via luv-main 
luv-main@luv.asn.au wrote:

> Assembled Cogniscenti
> Just out of curiousity I 'googled'
> 
> +windows on a +"linux kernal" ? +2023
> 
> Rather irritatingly it ignored the "+" but regardless one of the 'finds'
> was:
> https://www.theregister.com/2020/09/28/eric_raymond_linux_beats_windows_prediction/
> 
> My questions are:
> -Is this a nighmare scenario ?
> - A reason to celebrate ?
> -none of the above ?

Nada.
With Edge, MS didn't port anything. The current Edge browser is based on 
Chromium, which (as we all know) already compiles on Linux.

In terms of the Azure cash cow, that's definitely the case.
And currently about half of the VMs on Azure run Linux as well.

Windows is not a money maker, and probably never has been. It used to be an 
enabler.
It provides a baseline desktop so a variety of applications has been run.
Obviously, that's now less important. If you have an iPad, you can still use 
O365.
Most apps require Internet and are just web apps (for better or worse).
So one can expect less innovation in Win itself, I think that makes sense. And 
that's going to tick off the power users, who on their own nevertheless don't 
add enough economic weight to that business equation.
We'll see.

What's the point of conjecturing anyway, what's the objective? Predicting a new 
"year of the Linux desktop" ? :-)
Most people use one already, it's their Android phone.

Some years ago Google looked ahead in their own way, and came with ChromeOS. 
See that in the context of the above...makes sense.


Regards,
Arjen.
-- 
Message  protected by MailGuard: e-mail anti-virus, anti-spam and content 
filtering.https://www.mailguard.com.au/mg

___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-04-01 Thread Craig Sanders via luv-main
On Mon, Mar 27, 2023 at 10:52:04AM +1100, Rohan McLeod wrote:
> Just out of curiousity I 'googled'
>
> +windows on a +"linux kernal" ? +2023
>
> Rather irritatingly it ignored the "+" but [...]

maybe because "kernal" doesn't match a lot because it's a spelling error? does
google auto-correct spelling on searches for double-quoted phrases? or does it
assume you're deliberatly searching for errors? dunno.

"windows on linux kernel" might get more relevant hits. maybe not.

BTW, google pretty much ignores small words like "on", "a", "the". at least
for unquoted strings. I think it *may* treat them as a slight preference for
exact-match strings when quoted.

craig
___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-29 Thread Karl Billeter via luv-main
On Thu, Mar 30, 2023 at 04:30:59PM +1100, Anthony via luv-main wrote:

> On Mon, 27 Mar 2023 at 10:53, Rohan McLeod via luv-main 
> wrote:
> 
...
> It's stupid, but hey.. *waves hands in rainbow shape* Marketing!
> ... and yes, quotes also mean literal, so I think if you include caps in
> the string it becomes case sensitive.

If you want to test you can see how https://www.google.com/advanced_search
translates to a search string.

K
___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-29 Thread Anthony via luv-main
On Mon, 27 Mar 2023 at 10:53, Rohan McLeod via luv-main 
wrote:

> Assembled Cogniscenti
> Just out of curiousity I 'googled'
>
> +windows on a +"linux kernal" ? +2023
>

As a side note ... when Google introduced "Google+", they changed the plus
sign in their search to mean search something related to Google Plus,
rather than "must include" (yes, it's braindead).

If you want to "must include" something, wrap it in double quotes.

Eg. Must include terms one, and three, and would like but not require two
and must exclude four?
Search: "one" two "three" -four

It's stupid, but hey.. *waves hands in rainbow shape* Marketing!
... and yes, quotes also mean literal, so I think if you include caps in
the string it becomes case sensitive.
___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-28 Thread Jason White via luv-main



On 27/3/23 18:02, Rohan McLeod via luv-main wrote:
Jason ; continuing in this dark vein and given the preference for 
mobile devices running Android;
perhaps Google would just move their users to a similar model, if they 
thought MicroSoft was onto a goodthing ? :-)


I suppose they're already trying it with the desktop using Chrome OS, 
but with Web-based applications rather than a full remote desktop 
experience. For mobile, I suspect network reliability and latency issues 
would stand in the way, at least until 5G becomes ubiquitous.


Returning to Microsoft, it appears that one could access their remote 
Windows desktops from Linux, which eliminates another excuse for not 
running Linux on the client (for people who really need Windows 
applications but for whom virtualization or Wine aren't suitable for 
whatever reason).


___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-27 Thread Rohan McLeod via luv-main

Jason White via luv-main wrote:


On 26/3/23 19:52, Rohan McLeod via luv-main wrote:
Rather irritatingly it ignored the "+" but regardless one of the 
'finds' was:
https://www.theregister.com/2020/09/28/eric_raymond_linux_beats_windows_prediction/ 



Then there's the alternative rediction, that Microsoft will attempt to 
shift users to "virtual" Windows desktop running on its infrastructure:


https://www.computerworld.com/article/3384713/the-end-of-the-desktop.html

As the author notes in the article, in this scenario, if you want a 
traditional desktop system, Linux and Mac OS will be your options. He 
predicts the Linux desktop will continue as before.


___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au



Jason ; continuing in this dark vein and given the preference for mobile 
devices running Android;
perhaps Google would just move their users to a similar model, if they 
thought MicroSoft was onto a goodthing ? :-)


regards Rohan McLeod
___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-27 Thread Jason White via luv-main



On 26/3/23 19:52, Rohan McLeod via luv-main wrote:
Rather irritatingly it ignored the "+" but regardless one of the 
'finds' was:
https://www.theregister.com/2020/09/28/eric_raymond_linux_beats_windows_prediction/ 



Then there's the alternative rediction, that Microsoft will attempt to 
shift users to "virtual" Windows desktop running on its infrastructure:


https://www.computerworld.com/article/3384713/the-end-of-the-desktop.html

As the author notes in the article, in this scenario, if you want a 
traditional desktop system, Linux and Mac OS will be your options. He 
predicts the Linux desktop will continue as before.


___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-27 Thread Russell Coker via luv-main
Firstly the idea of Windows running as a GUI layer over a Linux kernel is an 
obvious one that many people have independently had.

https://en.wikipedia.org/wiki/Wine_(software)

WINE first came out in 1993.  It seemed like a curiosity at first but it's 
capabilities have steadily increased.  Also in 1993 OS/2 was correctly 
advertised as "A better DOS than DOS and a better Windows than Windows".  
Emulating Windows in a better way than the original is proven to work.

https://en.wikipedia.org/wiki/Power_Macintosh

When the Power Mac was released in 1994 it emulated the CPU and OS of the 
680x0 Macs which was in many ways more difficult than what VMWare did in 
emulating i386 on i386.  Apple demonstrated that ability again with the AMD64 
Macs running Power Mac programs and I believe that the M1 now runs AMD64 Mac 
programs.

On Monday, 27 March 2023 11:28:32 AEDT Piers Rowan via luv-main wrote:
> It could be because all businesses need means of control over their 
> products. It would sensible for them to port all of their non-OS 
> products to Linux and then craft a Gnome spin off too look exactly like 
> windows type desktops. Then basically repackage debian or RH but with 
> their apps and GUI.
> 
> If, however, they got deeply into kernel development then they could 
> steer Linux in a way that extinguishes competition.I vaguely 
> remember them doing that before.

They could do what Google has done with Android, which really isn't much good 
for Linux.

> The code itself is OK-ish and more of a wrapper in most parts but my 
> point is that if MS was so up to date with software then I would have 
> expected the same type of responses. Perhaps MS needs Linux far more 
> that we can appreciate. Given the transition from cmd to "Power Shell" 
> to a Linux command system to porting leading products MS SQL Server, 
> Edge, etc) perhaps we are seeing Linux becoming the new Windows.

Power Shell is an interesting thing, they have apps using structured data in 
pipelines to allow operations similar in concept to a database select command 
in a pipeline.  Not many people seem to actually use that functionality 
though.  Most Windows users don't even know what PowerShell is.

> Mainstream users won't notice because they don't care. It would probably 
> be the biggest task for MS pressuring hardware vendors to re-release 

My experience doing enterprise IT work is that MS Teams is unreliable enough 
to drive a large portion of the users to the web site.  MS Office online is in 
many cases more convenient and useful than the app such that many Windows 
users never run the app.  Outlook email and calendar also works more reliably 
on the web when using Office 365 while being easier to setup.  To manage a 
fleet of Windows desktop systems you use Endpoint Manager which is a web site.  
So doing the Windows site of enterprise IT ends up as using a laptop for only 
a web browser and RDP client - both of which work better on Linux (IMHO - my 
colleagues who do the Windows stuff still use Windows).

Maybe Windows can merge with ChromeOS.

> drivers that were Linux capable from the ground up or contributing their 
> secret sauce to Open driver projects (which would of course let their 
> competition know how they did what and potentially sacrifice their 
> innovations to competitors [idle speculation as not my area of knowledge]).

NVidia has the majority of market share for GPUs and the default install for 
Ubuntu is with binary-only drivers for NVidia.  So that problem seems to have 
been solved.  As an aside if you do a default install of Ubuntu 20.04 with the 
"restricted" archive enabled then you get the binary-only NVidia drivers which 
will make video unusable on the latest Dell Precision laptops (Nouveau works 
better).

-- 
My Main Blog http://etbe.coker.com.au/
My Documents Bloghttp://doc.coker.com.au/

___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Re: Windows on a Linux kernal ?

2023-03-26 Thread Piers Rowan via luv-main


On 27/3/23 09:52, Rohan McLeod via luv-main wrote:




My questions are:
-Is this a nighmare scenario ?


It could be because all businesses need means of control over their 
products. It would sensible for them to port all of their non-OS 
products to Linux and then craft a Gnome spin off too look exactly like 
windows type desktops. Then basically repackage debian or RH but with 
their apps and GUI.


If, however, they got deeply into kernel development then they could 
steer Linux in a way that extinguishes competition.I vaguely 
remember them doing that before.




- A reason to celebrate ?


Definitely a win but I think we are all to old to care really. I'm 
guessing most of us have used Linux for over a decade as our core 
desktop. I think I moved a couple of years ago in about 1998.that 
was a couple of years ago right?


Ironically I installed Edge last night to check out Bing AI to write a 
database abstraction layer for PHP PDO vs Chat-GPT


"Can you write me a PHP database abstration layer that uses Prepared 
statements for all database calls"


Bing AI - I can't do that.

Chat-GPT:

Sure! Here's an example of a PHP database abstraction layer that uses 
prepared statements for all database calls:



conn = new mysqli($servername, $username, $password, $dbname);
    if ($this->conn->connect_error) {
  die("Connection failed: " . $this->conn->connect_error);
    }
  }

  public function prepare($sql) {
    return $this->conn->prepare($sql);
  }

  public function execute($stmt) {
    $stmt->execute();
    return $stmt->get_result();
  }

  public function query($sql, $params = []) {
    $stmt = $this->conn->prepare($sql);
    if (!$stmt) {
  die("Error preparing statement: " . $this->conn->error);
    }
    if (count($params) > 0) {
  $types = '';
  $args = [];
  foreach ($params as $param) {
    $types .= $this->get_type($param);
    $args[] = &$param;
  }
  array_unshift($args, $types);
  call_user_func_array([$stmt, 'bind_param'], $args);
    }
    $stmt->execute();
    $result = $stmt->get_result();
    if (!$result) {
  die("Error executing statement: " . $this->conn->error);
    }
    return $result;
  }

  public function get_type($var) {
    if (is_int($var)) {
  return 'i';
    } elseif (is_float($var)) {
  return 'd';
    } elseif (is_string($var)) {
  return 's';
    } else {
  return 'b';
    }
  }

  public function close() {
    $this->conn->close();
  }
}

?>

This database class takes four parameters in its constructor: the 
database server name, the database username, the database password, and 
the database name. It uses the mysqli extension to connect to the database.


The prepare() method is a simple wrapper around the mysqli::prepare() 
method.


The execute() method takes a prepared statement as its parameter, 
executes it, and returns the result set.


The query() method takes an SQL query string and an optional array of 
parameters as its parameters. It prepares the SQL statement using the 
mysqli::prepare() method, binds the parameters using the 
mysqli_stmt::bind_param() method, executes the statement using the 
mysqli_stmt::execute() method, retrieves the result set using the 
mysqli_stmt::get_result() method, and returns it.


The get_type() method is a helper method that determines the correct 
type for a given parameter based on its PHP type.


The close() method is a simple wrapper around the mysqli::close() method.

This database class uses prepared statements for all database calls, 
which helps prevent SQL injection attacks. By binding parameters to the 
prepared statement, the database can ensure that all user input is 
properly sanitized before it is executed.


~~~

The code itself is OK-ish and more of a wrapper in most parts but my 
point is that if MS was so up to date with software then I would have 
expected the same type of responses. Perhaps MS needs Linux far more 
that we can appreciate. Given the transition from cmd to "Power Shell" 
to a Linux command system to porting leading products MS SQL Server, 
Edge, etc) perhaps we are seeing Linux becoming the new Windows.


As for lower tools like disk/print/network managers why bother? Just use 
the existing ones.


Mainstream users won't notice because they don't care. It would probably 
be the biggest task for MS pressuring hardware vendors to re-release 
drivers that were Linux capable from the ground up or contributing their 
secret sauce to Open driver projects (which would of course let their 
competition know how they did what and potentially sacrifice their 
innovations to competitors [idle speculation as not my area of knowledge]).


Cheers

Piers


___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au


Windows on a Linux kernal ?

2023-03-26 Thread Rohan McLeod via luv-main

Assembled Cogniscenti
Just out of curiousity I 'googled'

+windows on a +"linux kernal" ? +2023

Rather irritatingly it ignored the "+" but regardless one of the 'finds' 
was:

https://www.theregister.com/2020/09/28/eric_raymond_linux_beats_windows_prediction/

My questions are:
-Is this a nighmare scenario ?
- A reason to celebrate ?
-none of the above ?

regards Rohan McLeod
___
luv-main mailing list -- luv-main@luv.asn.au
To unsubscribe send an email to luv-main-le...@luv.asn.au