Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-15 Thread David Wright
On Tue 15 Nov 2022 at 16:37:58 (-0800), David Christensen wrote:
> On 11/15/22 00:22, DdB wrote:
> > Am 15.11.2022 um 05:21 schrieb David Christensen:
> > > I installed the localepurge package.  Storage usage did not change. Then
> > > I realized that I had chosen the "C" locale during installation, so
> > > perhaps there is nothing to be removed (?).  So, I removed the
> > > localepurge package.
> 
> > I just read (from /usr/share/doc/localepurge/README.dpkg-path):
> > > localepurge dpkg support
> > > 
> > > 
> > > Starting with version 1.15.8, dpkg supports --path-include and
> > (...)
> > > 
> > >   * It cannot be used to purge locale files from already installed
> > > packages.
> > > - Though it will be fixed on next upgrade (or reinstall) of the
> > >   packages.
> > (...)
> > 
> > which indicates, that your observations had to be expected, if you opted
> > for dpkg-path :-)
> 
> Well, that explains it.  Thanks for pointing that out.
> 
> Is it possible to not install locale files in the first place?  E.g.
> when running d-i, and whenever using the package system thereafter?

https://lists.debian.org/debian-user/2020/10/msg00308.html

recommends that you stick to eliminating files listed in
/var/lib/dpkg/info/*.md5sums because they're easy to restore,
and their contents shouldn't ever have been changed (or they
wouldn't be listed here).

So it should be easy to devise grep patterns that hit the files that
you don't want, while preserving those you do, like say:

$ grep -v 'en_GB/LC_MESSAGES' /var/lib/dpkg/info/*.md5sums | grep  
'LC_MESSAGES.*\.mo$' | less

or, if you're from Cornwall:

$ grep -v '_GB/LC_MESSAGES' /var/lib/dpkg/info/*.md5sums | grep  
'LC_MESSAGES.*\.mo$' | less

The OP removed 1½GB, which is far more than I matched, but I didn't
run or trace the OP's script to investigate the quantity and contents.
Perhaps my not running a DE has something to do with the quantity.

Cheers,
David.


Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-15 Thread David Christensen

On 11/15/22 00:22, DdB wrote:

Am 15.11.2022 um 05:21 schrieb David Christensen:

I installed the localepurge package.  Storage usage did not change. Then
I realized that I had chosen the "C" locale during installation, so
perhaps there is nothing to be removed (?).  So, I removed the
localepurge package.



I just read (from /usr/share/doc/localepurge/README.dpkg-path):

localepurge dpkg support


Starting with version 1.15.8, dpkg supports --path-include and

(...)


  * It cannot be used to purge locale files from already installed
packages.
- Though it will be fixed on next upgrade (or reinstall) of the
  packages.

(...)

which indicates, that your observations had to be expected, if you opted
for dpkg-path :-)



Well, that explains it.  Thanks for pointing that out.


Is it possible to not install locale files in the first place?  E.g. 
when running d-i, and whenever using the package system thereafter?



Davud






Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-15 Thread DdB
Am 15.11.2022 um 05:21 schrieb David Christensen:
> I installed the localepurge package.  Storage usage did not change. Then
> I realized that I had chosen the "C" locale during installation, so
> perhaps there is nothing to be removed (?).  So, I removed the
> localepurge package.
> 
> 
> David

I just read (from /usr/share/doc/localepurge/README.dpkg-path):
> localepurge dpkg support
> 
> 
> Starting with version 1.15.8, dpkg supports --path-include and
(...)
> 
>  * It cannot be used to purge locale files from already installed
>packages.
>- Though it will be fixed on next upgrade (or reinstall) of the
>  packages.
(...)

which indicates, that your observations had to be expected, if you opted
for dpkg-path :-)



Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-14 Thread David Christensen

On 11/13/22 23:15, DdB wrote:

Am 14.11.2022 um 07:16 schrieb Anssi Saari:

Charles Curley  writes:


On Sun, 13 Nov 2022 16:32:51 +0100
DdB  wrote:


every backup contains loads of unnecessary language files, and i saw
them scroll by during rsync. So one day, i wanted to get rid of those.


You might take a look at the localepurge package.


As I'm a little short on space on /, it's interesting but the
description says:

"This tool is a hack which is *not* integrated with the system's
  package management system and therefore is not for the faint of heart.
  Its interference can provoke strange, but usually harmless, behavior in
  programs related to apt/dpkg, such as dpkg-repack, reportbug, etc.
  Responsibility for its usage and possible breakage of the system
  therefore lies in the system administrator's hands.
"

So while I'm not faint of heart, I think I'll rather resize my /
partition. Even if it means moving partitions around a little.




Thank you for pointing at that. I looked at that package in a VM and
found: although its language discovery is better than mine, it is
failing to find some language files, that i my script would. And
besides: my vm's do not have an actual problem with space. It is more
the backups (and their snapshots) containing multiple versions thereof
that are troubling me. I think, i am going to look at their hack itself
in an intent to learn from it, instead of using it.



I installed the localepurge package.  Storage usage did not change. 
Then I realized that I had chosen the "C" locale during installation, so 
perhaps there is nothing to be removed (?).  So, I removed the 
localepurge package.



David



Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-13 Thread DdB
Am 14.11.2022 um 07:16 schrieb Anssi Saari:
> Charles Curley  writes:
> 
>> On Sun, 13 Nov 2022 16:32:51 +0100
>> DdB  wrote:
>>
>>> every backup contains loads of unnecessary language files, and i saw
>>> them scroll by during rsync. So one day, i wanted to get rid of those.
>>
>> You might take a look at the localepurge package.
> 
> As I'm a little short on space on /, it's interesting but the
> description says:
> 
> "This tool is a hack which is *not* integrated with the system's
>  package management system and therefore is not for the faint of heart.
>  Its interference can provoke strange, but usually harmless, behavior in
>  programs related to apt/dpkg, such as dpkg-repack, reportbug, etc.
>  Responsibility for its usage and possible breakage of the system
>  therefore lies in the system administrator's hands.
> "
> 
> So while I'm not faint of heart, I think I'll rather resize my /
> partition. Even if it means moving partitions around a little.
> 
> 
> 
Thank you for pointing at that. I looked at that package in a VM and
found: although its language discovery is better than mine, it is
failing to find some language files, that i my script would. And
besides: my vm's do not have an actual problem with space. It is more
the backups (and their snapshots) containing multiple versions thereof
that are troubling me. I think, i am going to look at their hack itself
in an intent to learn from it, instead of using it.



Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-13 Thread Anssi Saari
Charles Curley  writes:

> On Sun, 13 Nov 2022 16:32:51 +0100
> DdB  wrote:
>
>> every backup contains loads of unnecessary language files, and i saw
>> them scroll by during rsync. So one day, i wanted to get rid of those.
>
> You might take a look at the localepurge package.

As I'm a little short on space on /, it's interesting but the
description says:

"This tool is a hack which is *not* integrated with the system's
 package management system and therefore is not for the faint of heart.
 Its interference can provoke strange, but usually harmless, behavior in
 programs related to apt/dpkg, such as dpkg-repack, reportbug, etc.
 Responsibility for its usage and possible breakage of the system
 therefore lies in the system administrator's hands.
"

So while I'm not faint of heart, I think I'll rather resize my /
partition. Even if it means moving partitions around a little.




Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-13 Thread Andy Smith
Hello,

On Sun, Nov 13, 2022 at 04:32:51PM +0100, DdB wrote:
> Would anyone be willing to take a look at what i have been doing and
> guide me to a resolution of the missing parts?
> 
> My current (bash) script can be found here:
> https://paste.debian.net/1260563/

There is an existing package "localpurge" in Debian that does this.
Here's more info:

https://sleeplessbeastie.eu/2018/09/03/how-to-remove-useless-localizations/

I've only used it in one place but it worked fine.

It also manages dpkg configuration to filter out the relevant file paths
from future installation.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-13 Thread Charles Curley
On Sun, 13 Nov 2022 16:32:51 +0100
DdB  wrote:

> every backup contains loads of unnecessary language files, and i saw
> them scroll by during rsync. So one day, i wanted to get rid of those.

You might take a look at the localepurge package.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



RFC: What would be the "correct debian way" to clean up unwanted languages from an installation?

2022-11-13 Thread DdB
Hello,

every backup contains loads of unnecessary language files, and i saw
them scroll by during rsync. So one day, i wanted to get rid of those.

What a surprise: doing it in my (rather simplistic) fashion, i got rid
of almost 1,5 GB from every buster machine, i had ... only to find, that
they were eventually coming back through system updates. :-(

But - since my know-how on debian is very restrained - i did create a
script, that allowed me to examine the situation more easily, without
damaging the install, i was looking at. And only after verification did
i run the removal. (BTW: in bullseye, i found there was much less
unnecessary stuff) But still, the deleted files came back through
updates, because i dont know, how to tell apt about my removals the
proper way.

Would anyone be willing to take a look at what i have been doing and
guide me to a resolution of the missing parts?

My current (bash) script can be found here:
https://paste.debian.net/1260563/

Thank you for your attention
DdB



Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread tomas
On Tue, Nov 01, 2022 at 04:48:19PM +0100, Nicolas George wrote:
> Teemu Likonen (12022-11-01):
> > > To the OP: what does entering "locale -a" in a terminal say on your
> > > machine?
> > And "locale charmap" command too. Hopefully it will print "UTF-8" but if
> > it prints "ANSI_X3.4-1968" it means ASCII and 7-bit character set.
> 
> I checked that mousepad and jedit, the two editors mentioned by the OP,
> work well even with LC_CTYPE=C. I did not go to testing if they save and
> reopen the file correctly, only pasting.

Yes, there are many other parameters we'll have to explore. Fonts, for
one.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread Nicolas George
Teemu Likonen (12022-11-01):
> > To the OP: what does entering "locale -a" in a terminal say on your
> > machine?
> And "locale charmap" command too. Hopefully it will print "UTF-8" but if
> it prints "ANSI_X3.4-1968" it means ASCII and 7-bit character set.

I checked that mousepad and jedit, the two editors mentioned by the OP,
work well even with LC_CTYPE=C. I did not go to testing if they save and
reopen the file correctly, only pasting.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread Teemu Likonen
* 2022-11-01 16:27:25+0100, to...@tuxteam.de wrote:

> To the OP: what does entering "locale -a" in a terminal say on your
> machine?

And "locale charmap" command too. Hopefully it will print "UTF-8" but if
it prints "ANSI_X3.4-1968" it means ASCII and 7-bit character set.

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462


signature.asc
Description: PGP signature


Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread tomas
On Tue, Nov 01, 2022 at 03:19:41PM +, Eric S Fraga wrote:
> emacs?

It shows the é perfectly well, yes (besides, Emacs is the best
editor out there, anyway). But, TBH, even vim can do.

To the OP: what does entering "locale -a" in a terminal say on
your machine?

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256






--- Original Message ---
On Tuesday, November 1st, 2022 at 8:54 AM, jindam, vani 
 wrote:


> i copy paste a lot from wikipedia articles.
> for example, if i paste "é", it shows garbage.

I just tried that paste in LibreOffice, and it worked.

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAGBQJjYTi7ACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDJiiQf/Tq9lJy07popa6OS7GU6SPWPJz22yAXlX7dU2VWGdAu13NBGh
POcGbObeiB+UcAuG2j4lUlqvxYxR9ZiWltsCJ8vKGd57/Vrb1l/4sTbTE3Mh
v6gq/LWY6epSwCceKRRNDUZMTqLT0FOx41PeVCVlPUCzZxvzZ2Q2HNHNzNOO
DNsxfOGkz1wKRD5C66c3UhXXzcpXxR0wcpkTpxh9BSGrWHVpXyVPxhGu5/sa
dF8sEXYfSsm4OW5rGjUxiPymjTpiCvceCFvchZuZEMlBZlfWK561X/mbHMSv
NPet9srWm4C5315DJMZkjZ71Aib9PUQg8lGgV7uTsQB+HfEg/SPVaw==
=ZSZ3
-END PGP SIGNATURE-



Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread Eric S Fraga
emacs?
-- 
Eric S Fraga via gnus (Emacs 29.0.50 2022-11-01) on Debian 11.4



Re: which gui text editor support correct rendering of multiple languages

2022-11-01 Thread Nicolas George
jindam, vani (12022-11-01):
> i copy paste a lot from wikipedia articles.
> for example, if i paste "é", it shows garbage.
> i am using mousepad & jedit. is there any gui 
> text editor which displays correctly pasted text 
> with different languages? i am on debian bullseye.

I just tested, mousepad and jedit accept accents perfectly well. You
have another problem somewhere else.

OTOH, jedit does not run with my default 6G limit on addressspace and
does not understand X11 middle-mouse paste → apt-get purge this shit.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


which gui text editor support correct rendering of multiple languages

2022-11-01 Thread jindam, vani
i copy paste a lot from wikipedia articles.
for example, if i paste "é", it shows garbage.
i am using mousepad & jedit. is there any gui 
text editor which displays correctly pasted text 
with different languages? i am on debian bullseye.

regards,
jindam, vani

toots: @jindam_v...@c.im
others: en.wikipedia.org/wiki/User:Jindam_vani



Re: Top 7 Programming Languages That Employers Really Want

2019-10-21 Thread Mark Rousell
I probably shouldn't prolong this thread but...

Maybe this cartoon will help:
https://blog.toggl.com/save-princess-8-programming-languages/

More seriously, I was recently asked which languages to learn and I
wrote up a list of what I thought was important. See below.

On 18/10/2019 03:33, Turritopsis Dohrnii Teo En Ming wrote:
> This is just a quick survey. May I know what programming languages do
> you know? I am considering being a programmer or developer.
> How long will it take for me to master a programming language like
> C++, Java, and Python?

I'm not a professional programmer but programming is part of my job. I
mostly find myself using using C#, Javascript, Typescript, VBScript, and
PHP. I expect to soon need to know some Powershell, Python, and possibly
Kotlin (or Java). I also like the look of Rust but it's a big learning
curve. But all that is just me.

Anyway, below is the list that I mentioned.

Current Mainstream Languages. (Know a few of them well. Which ones
depends on your likely employer, your actual or like projects, and your
preferences). Listed in no particular order.

  * JavaScript
  * TypeScript (transcompiles to JavaScript, increasingly popular)
  * C
  * C++
  * C#
  * Python
  * PHP
  * Rust
  * Go
  * PowerShell
  * Bash (and Linux/Unix shell)
  * Java
  * Kotlin
  * Perl
  * Visual Basic  (VB.NET)
  * SQL  (Oracle PL/SQL, Microsoft T-SQL, MySQL)
  * HTML (not a programming language but important to have some familiarity)
  * CSS (not a programming language but important to some familiarity)


Current Less Popular Languages. (Be aware of them, some awareness of
them. Some are increasing in popularity, some are reducing in
popularity). Listed in no particular order.

  * Swift (very important if coding for iOS)
  * D (very sadly losing out to Rust, I think)
  * Ruby
  * Pascal  (Delphi, Object Pascal, Free Pascal)
  * Objective-C  (being replaced by Swift)
  * R
  * Haskell
  * Lua (embeddable scripting language)
  * VBScript
  * Visual Basic  (VB6)
  * F#
  * Julia
  * Dart  (JavaScript competitor from Apple, will be used in Fuschia)
  * CoffeeScript  (transcompiles to JavaScript, being replaced in
practice by Typescript)


Others, Historical, Niche. (To have at least looked at very, very
briefly so as to be aware of their existence, look and focus). Listed in
no particular order.

  * PL/I
  * RPG  (IBM AS/400, IBM i)
  * Ada  (military, aerospace)
  * Fortran
  * Cobol
  * Oxygene  (Object Pascal-like for .NET, iOS, Android, Java, macOS)
  * Eiffel
  * Clojure (Lisp)
  * ML
  * Vala
  * Nim   
  * Nemerle  (a .NET language)
  * Erlang
  * BBC Basic
  * Scala
  * Ring
  * Clarion  (4GL)
  * Elm
  * REXX
  * Coldfusion CFML
  * ActionScript
  * Algol
  * MS-DOS/CMD Batch
  * TCL
  * AWK  (see also Sed)
  * Forth
  * Haxe
  * Matlab
  * Boo  (a .NET language)
  * Microsoft QBasic  (and similar)
  * Prolog   



-- 
Mark Rousell
 
 
 



Re: Top 7 Programming Languages That Employers Really Want

2019-10-20 Thread deloptes
Dan Ritter wrote:

> deloptes wrote:
>> SQL, Python, PERL, C/C++, JAVA. I wonder why I did not see PHP ... but
>> well.
> 
> For about a decade, PHP was the province of people who copied
> scripts from Matt's Script Archive and didn't know what security
> holes they were creating.
> 
> Sometime in the last five years or so, the PHP community has
> matured and made it a respectable language for web applications.

I don't know. There are a lot of things written in PHP.
Also UML seems very reasonable to me + CMake, YAML, XML... can be viewed as
supportive but the same is also SQL. Compiler, Debugger are also important
at least for the binary. 




Re: Top 7 Programming Languages That Employers Really Want

2019-10-20 Thread Dan Ritter
deloptes wrote: 
> SQL, Python, PERL, C/C++, JAVA. I wonder why I did not see PHP ... but well.

For about a decade, PHP was the province of people who copied
scripts from Matt's Script Archive and didn't know what security
holes they were creating.

Sometime in the last five years or so, the PHP community has
matured and made it a respectable language for web applications.

-dsr-



Re: Top 7 Programming Languages That Employers Really Want

2019-10-20 Thread Dan Ritter
John Hasler wrote: 
> Joe writes:
> > Spend an hour or two with the job advertisements (which is what the OP
> > needs to do) to see the enormous range of what employers *think* they
> > want, and this is what the young ladies in HR will definitely require
> > of an applicant.
> 
> Especially amusing are the ads that demand five years experience
> something invented four years ago.

My college roommate spent a summer doing an internship at Sun
Microsystems, helping write the manual for a new language they
were releasing.

So, when recruiters were asking for five years of Java
experience three years later, he was one of very few people not
employed at Sun who could reasonably claim that.

Years are a terrible way to judge experience. So are most other
ways, though.

-dsr-



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Thomas D Dial
On Sat, 2019-10-19 at 09:46 -0500, John Hasler wrote:
> deloptes writes:
> > SQL comes everywhere handy...
> 
> SQL is certainly handy, but I don't consider it a programming language
> (likewise HTML).

About 20 years ago I wrote and tested a match-merge update program with
(as I remember) the then current version of Oracle SQL. It ran to about
a screen full of text, but depended on all input validatation having
been done and no data item transformations during execution. Couldn't
persuade the users to take it on, though, as they were committed to
using C.

> 
> If you *do* consider HTML a programming language the crawling horrors
> that most Web sites send out make the worst BASIC spaghetti balls look
> like something out of IBM Federal Systems.

Tom Dial



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread mick crane

On 2019-10-19 08:11, Thomas Schmitt wrote:




Have a nice day :)



cheers
mick

--
Key ID4BFEBB31



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Gene Heskett
On Saturday 19 October 2019 08:38:15 John Hasler wrote:

> Joe quotes:
> > "If you think you need to use floating point, you don't fully
> > understand your application."
>
> Right.  There isn't anything you can't do with bignum.
>
> I wrote software for control systems using cpus such as the RCA 1802.
> You can do a lot more with 8 bit integers than seems possible at first
> thought.
>
I'll back that up. The first "had a job to do" program I ever wrote, in 
1978, was for a video production helper, laying a new digital academy 
leader on a finished commercial, intended to function with an automatic 
station break machine.  This was at KRCR in Redding CA.

I used a cosmac super Elf, buying its case and an s-100 backplane, built 
the video board and added a then $400 for the kit 4kx8 static memory 
board to the cosmacs 256 bytes and the interface to a Sony 2850 3/4" 
u-matic tape machine it was controlling.

I went on down the road looking for greener pastures after their long 
time chief came back to work from the heart attack he had 2 weeks after 
I was hired. I had no more contact with the station until '94 when I'd 
taken 2 weeks to visit an aunt in Salem OR who was fading. Calling to 
catch up, I found that in 94, 14 years later, my program was still in 
use many times a day.  In a television stations control room, thats 
amazing, because while the technology used to play that commercial is 
constantly changing, the need to do that job accurately hadn't.

And after scareing Microtime out of their shorts when I found the bare 
beginnings of such at their booth at the annual NBA shindig in Vegas the 
following year, and mentioning to the bow tie in the booth that I had 
already done that, only better, it had dissappeared an hour later and 
was never admitted to exist ever again.  And no one else has ever 
attempted to do it unless they did their own version in house and kept 
it quiet. 

> You can also get by without a multiplier.

I don't recall I needed to do any muls or divs, but did do some bit 
twiddling. My version of the time code was actually better than drop 
frame for tracking wall time. Not that it mattered over the maximum of 2 
minutes and 10 second duration of laying down that new leader and the 
audio tones on one track of the audio that tied the tape to the station 
break machine. But I figured if a had to do it, do it right. :) FWIW, I 
still have 2 audio carts filled with backups of that program and a type 
written printout of its program on the top shelf of the bookcases on the 
walls of this room. My man cave. Memories of times past...

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Joe
On Sat, 19 Oct 2019 15:34:06 +0200
deloptes  wrote:

> Joe wrote:
> 
> > And it's not so much fundamental languages as the buzzwords, the
> > frameworks, 'agile' programming, AJAX, and things like proprietary
> > CMS (C for both content and customer) systems. Nobody ever asks for
> > basic programming skills.  
> 
> You are sooo right, but one must understand the language first, to be
> able to use the framework. I bet it is getting extremely difficult
> for newcomers to understand all that stuff and a good guidance is
> extremely valuable.

Indeed. I'm sort-of learning Laravel at the moment. If you're reasonably
competent in PHP and HTML, there's still a steep learning curve. It does
a lot of stuff, but you have to work *its* way e.g. every application
requires a separate virtual server, domain name and therefore DNS (or
multiple /etc/hosts) entry. You can't just drop a directory of stuff
into /www/docroot (as I usually do) and expect it to work.
> 
> IMO the future is in automated frameworks that turn a/the concept
> into code. For example I used swagger (https://swagger.io/) or symfony
> (https://symfony.com/) - of course you have to know the language
> (java or php) - but it is all about the time you need to turn the
> idea into code.
>

Nothing new under the sun:

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

-- 
Joe



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread John Hasler
Thomas D Dial writes:
> FORTRAN is somewhat similar, but has a smaller, more stable, and mors
> specialized application space and often, I think, is maintained by the
> successors of the program users who wrote it originally. A good deal
> of it may, by now, have been replaced by C, C++, Python, or some other
> newer language.

There are highly optimized and thoroughly debugged scientific and
engineering libraries written decades ago in FORTRAN.  These are often
used in programs written in much newer languages.  It's hard to justify
porting them because they work so well as-is.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Thomas D Dial
On Sat, 2019-10-19 at 09:48 +0200, deloptes wrote:
> James H. H. Lampert wrote:
> 
> > The OP wanted this treated as a survey, and so . . .
> > 
> > Many dialects and derivatives of BASIC, including (but not limited
> > to)
> > IBM VS-BASIC (ran on 370 and compatible mainframes), TRS-80 Level 1,
> > Level 2, and Mod I Disk BASIC, GWBASIC, and the various QBASICs
> > (QuickBASIC and QBX). (I took one look at VisualBASIC, and swore off
> > any
> > further M$ development tools.)
> > 
> > FORTRAN (mainly FORTRAN IV: IBM G1, WATFIV, and TRS-80 FORTRAN).
> > 
> > Pascal (CDC Cyber Pascal).
> > 
> > COBOL (also on a CDC Cyber).
> > 
> > PL/I (CDC Cyber PL/I; CDC ANSI PL/I; IBM AS/400 PL/I).
> > 
> > Assemblers (DEC Macro-11, 8086).
> > 
> > (LISP)   <-- the parentheses are an inside joke.
> > 
> > C (mainly on AS/400s). I must go down to the 'C' again, to the loony
> > 'C,' and cry.
> > 
> > Modula-2
> > 
> > MI (it's the closest you are allowed to get to a true assembler
> > language
> > on an AS/400)
> > 
> > RPG/400 (both OPM and ILE)
> > 
> > CL (on AS/400s; it's like a shell script, only compiled).
> > 
> > Java
> > 
> > I've forgotten just about all the SmallTalk I ever learned.
> > 
> > I can get by in SQL.
> > 
> > The more programming languages you know, the easier it is to pick up
> > additional programming languages. And the less likely you are to
> > treat
> > your favorite language (or the only one you know) as a panacea. And
> > if
> > you have good linkage capabilities, mixed-language work is not
> > difficult
> > at all.
> > 
> > Not much that's on the published list. But then again, when I leave
> > my
> > present employment, I'm probably never going to write a single line
> > of
> > code professionally again.
> > 
> > --
> > JHHL
> 
> But James ... this is like a walk through the museum. Are these indeed
> languages that "Employers Really Want"?

There is a lot of existing code written in SQL, Java, COBOL, C (and
C++), FORTRAN, and I expect by now Python. That code needs or will need
occasional maintenance or even further development.

COBOL, in particular, is well established in some large and important
core business systems, especially in financial organizations; a
programmer with decent skills in COBOL, along with the applicable host
OS (mostly z/OS) and development tools and facilities is used is likely
to be able to earn a decent living for some time to come. It may be a
language in decline, but it is likely to take quite a while.

FORTRAN is somewhat similar, but has a smaller, more stable, and mors
specialized application space and often, I think, is maintained by the
successors of the program users who wrote it originally. A good deal of
it may, by now, have been replaced by C, C++, Python, or some other
newer language. I have been retired for a few years, but wonder if
development and maintenance by end user technical subject specialists is
not common with Python as well.

I suspect most of the others listed here are niche languages by now that
might offer occasional employment but more likely would occur
occasionally and be handled as an additional duty by programmers who
primarily uses other languages.

Various on-line quasi-technical publications present lists from time to
time that suggest a number of other languages that may be in demand. A
few that come readily to mind are Javascript, R, and Go, but there are
others.

Tom Dial



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread John Hasler
deloptes writes:
> SQL comes everywhere handy...

SQL is certainly handy, but I don't consider it a programming language
(likewise HTML).

If you *do* consider HTML a programming language the crawling horrors
that most Web sites send out make the worst BASIC spaghetti balls look
like something out of IBM Federal Systems.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Richard Owlett

On 10/19/2019 08:26 AM, deloptes wrote:

[SNIP]
SQL comes
everywhere handy, because you have to store the data somewhere - but still
there is difference between Oracle, MySQL/MariaDB or sqlite. Each one has
its advantages and disadvantages - and SQL for the one is likely not
compatible with SQL for the other, though SQL is well standardized - the
implementations are different.


I used either dBase II or III about 30 years ago but have not used any 
database since. SeaMonkey stores bookmarks {and other stuff} in SQLite3 
database files. My bookmarks are now massive and poorly organized. I 
have a mental image of how they could be organized in dBase.


Any reading suggestions on appropriate tools?
[I've other personal projects that would benefit from a database tool.]
I would like to read the existing data, edit it, and then print it out 
in a format that visually resembles a detailed "table of contents" with 
sub-headings more than 4 levels deep. When using SeaMonkey's export to 
HTML the resulting file is more than 6500 lines.


A nice extra would be the possibility of outputting in a format 
acceptable to SeaMonkey






Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread deloptes
Joe wrote:

> And it's not so much fundamental languages as the buzzwords, the
> frameworks, 'agile' programming, AJAX, and things like proprietary CMS
> (C for both content and customer) systems. Nobody ever asks for basic
> programming skills.

You are sooo right, but one must understand the language first, to be able
to use the framework. I bet it is getting extremely difficult for newcomers
to understand all that stuff and a good guidance is extremely valuable.

IMO the future is in automated frameworks that turn a/the concept into code.
For example I used swagger (https://swagger.io/) or symfony
(https://symfony.com/) - of course you have to know the language (java or
php) - but it is all about the time you need to turn the idea into code.

regards



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread deloptes
Joe wrote:

> Seriously? BASIC worse than Hollerith strings? It was 45 years ago, but
> I still remember...

Indeed - I have the feeling here only people from the home for the elderly 
(Seniorenheim) are posting - BASIC, COBOL, PASCAL ... OMG

Though I must admit there were some good posts around - but the majority
must be 50 or 60+, who gave up evolution 20-30y ago.

The study was pretty good

SQL, Python, PERL, C/C++, JAVA. I wonder why I did not see PHP ... but well.

IMO you use one language for rapid prototyping and if necessary (for example
commercialize it), you use one of the binary languages. SQL comes
everywhere handy, because you have to store the data somewhere - but still
there is difference between Oracle, MySQL/MariaDB or sqlite. Each one has
its advantages and disadvantages - and SQL for the one is likely not
compatible with SQL for the other, though SQL is well standardized - the
implementations are different.

regards





Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread John Hasler
Joe quotes:
> "If you think you need to use floating point, you don't fully
> understand your application."

Right.  There isn't anything you can't do with bignum.

I wrote software for control systems using cpus such as the RCA 1802.
You can do a lot more with 8 bit integers than seems possible at first
thought.

You can also get by without a multiplier.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread John Hasler
Joe writes:
> Spend an hour or two with the job advertisements (which is what the OP
> needs to do) to see the enormous range of what employers *think* they
> want, and this is what the young ladies in HR will definitely require
> of an applicant.

Especially amusing are the ads that demand five years experience
something invented four years ago.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Thomas Schmitt
Hi,

Joe wrote:
> "If you think you need to use floating point, you don't fully
> understand your application."

+0.9


Have a nice day :)

Thomas



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Joe
On Sat, 19 Oct 2019 11:09:06 +0200
"Thomas Schmitt"  wrote:

> Hi,
> 
> John Hasler wrote:
> > > FORTRAN on 1620s and 370s,  
> 
> Joe wrote:
> > Seriously? BASIC worse than Hollerith strings?  
> 
> 212H Of course you don't do string processing in FORTRAN. It's for
> problems which you can solve by representing everything as
> homogeneous coordinates and then computing the result by one giant
> matrix multiplication.
> 

And, of course, there's the other extreme:

"If you think you need to use floating point, you don't fully
understand your application."

Maybe not exactly word for word, I think it's from one of Leo Brodie's
books on early Forth. Might be a quotation from Charles Moore.

-- 
Joe



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Thomas Schmitt
Hi,

John Hasler wrote:
> > FORTRAN on 1620s and 370s,

Joe wrote:
> Seriously? BASIC worse than Hollerith strings?

212H Of course you don't do string processing in FORTRAN. It's for problems
which you can solve by representing everything as homogeneous coordinates
and then computing the result by one giant matrix multiplication.

(wc helps a lot to construct proper hollerith constants.
 To be typical all characters would have to be capital letters or digits
 encoded in EBCDIC.)


Have a nice day :)

Thomas



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Joe
On Fri, 18 Oct 2019 17:34:57 -0500
John Hasler  wrote:


> I guess some people who started with BASIC do eventually recover.
> 

And then you say:

> FORTRAN on 1620s and 370s, 

Seriously? BASIC worse than Hollerith strings? It was 45 years ago, but
I still remember...

-- 
Joe



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Joe
On Fri, 18 Oct 2019 22:50:29 +0100
Brian  wrote:


> 
>  > Top 7 Programming Languages That Employers Really Want  
> 
> Nobody has answered the question yet.
> 

Because there isn't an answer. 

Spend an hour or two with the job advertisements (which is what the OP
needs to do) to see the enormous range of what employers *think* they
want, and this is what the young ladies in HR will definitely require of
an applicant.

And it's not so much fundamental languages as the buzzwords, the
frameworks, 'agile' programming, AJAX, and things like proprietary CMS
(C for both content and customer) systems. Nobody ever asks for basic
programming skills. Here's a fragment of an advertisement in my country
picked at random:

"Knowledge of the following skills is important for this role:

.NET
C#
MVC
SQL
SharePoint (Advantageous but not essential)

The role will be based in Central London. Depending upon your
experience and skills, the salary for this role is up to £50K."

I've never been near .NET or C# (the latter written by the main Delphi
developer). I look at this kind of thing now and again, just out of
curiosity, and I don't think I've ever seen a job where I tick all the
boxes, even at hobby level.

-- 
Joe



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread deloptes
Brian wrote:

> You, and everybody else, may as well have skipped the whole post and
> saved the List from wasting bandwidth. I ask you
> 
> > This is just a quick survey.
> 
> Really?
> 
> > I am considering being a programmer
> 
> Wowee.
> 
> > Turritopsis Dohrnii
> 
> Jellyfish. Hard to grasp.
> 
> >  How long will it take
> 
> Where's that piece of string?
> 
> > Top 7 Programming Languages That Employers Really Want
> 
> Nobody has answered the question yet.

It was in the survey - this whole thread was teaser to go and read the
survey.



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread deloptes
James H. H. Lampert wrote:

> The OP wanted this treated as a survey, and so . . .
> 
> Many dialects and derivatives of BASIC, including (but not limited to)
> IBM VS-BASIC (ran on 370 and compatible mainframes), TRS-80 Level 1,
> Level 2, and Mod I Disk BASIC, GWBASIC, and the various QBASICs
> (QuickBASIC and QBX). (I took one look at VisualBASIC, and swore off any
> further M$ development tools.)
> 
> FORTRAN (mainly FORTRAN IV: IBM G1, WATFIV, and TRS-80 FORTRAN).
> 
> Pascal (CDC Cyber Pascal).
> 
> COBOL (also on a CDC Cyber).
> 
> PL/I (CDC Cyber PL/I; CDC ANSI PL/I; IBM AS/400 PL/I).
> 
> Assemblers (DEC Macro-11, 8086).
> 
> (LISP)   <-- the parentheses are an inside joke.
> 
> C (mainly on AS/400s). I must go down to the 'C' again, to the loony
> 'C,' and cry.
> 
> Modula-2
> 
> MI (it's the closest you are allowed to get to a true assembler language
> on an AS/400)
> 
> RPG/400 (both OPM and ILE)
> 
> CL (on AS/400s; it's like a shell script, only compiled).
> 
> Java
> 
> I've forgotten just about all the SmallTalk I ever learned.
> 
> I can get by in SQL.
> 
> The more programming languages you know, the easier it is to pick up
> additional programming languages. And the less likely you are to treat
> your favorite language (or the only one you know) as a panacea. And if
> you have good linkage capabilities, mixed-language work is not difficult
> at all.
> 
> Not much that's on the published list. But then again, when I leave my
> present employment, I'm probably never going to write a single line of
> code professionally again.
> 
> --
> JHHL

But James ... this is like a walk through the museum. Are these indeed
languages that "Employers Really Want"?



Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread deloptes
rhkra...@gmail.com wrote:

> Never did much Perl, but I think anything (well, not sure about obfuscated
> C) is more readable than APL.

I am not sure if it makes sense to compare a modern car engine with one
constructed 150y ago.





Re: Top 7 Programming Languages That Employers Really Want

2019-10-19 Thread Thomas Schmitt
Hi,

i wrote:
> > The overall design paradigm is object oriented but without fancy stuff
> > like overloading or inheritance. Encapsulation and aggregation must
> > suffice.

mick crane wrote:
> This is interesting topic for me but don't know what these words
> "overloading or inheritance. Encapsulation and aggregation"
> mean in programming context

Object orientation is a design pattern for programming. Invented already
in the 1950s, it long time carved a miserable existence in
let-the-machine-burst languages like Simula or Smalltalk. In the late
1980s it became the modern way of programming. To my knowlege, no other
design pattern has yet really taken over that role.

Pillars of OO are: Aggregation, Encapsulation, Inheritance, Polymorphism.

Aggregation, already known in Structured Programming, consolidates a set
of variables in a single container structure. This reduces the number of
variables which you have to pass to called functions and helps to keep
an overview what belongs where.

Encapsulation hides the entrails of program parts from most other program
parts so that only a well defined set of functions (aka "methods") is
visible to the others and has to be kept stable for them. This gives the
programmer more freedom to improve parts of the program without damaging
other, unrelated parts.

By these two gestures, "classes" and their "object instances" get defined.
A class is a set of variable definitions and a set of methods which can
operate on the variables. An object instance is a set of variable storage
with individual values. It is subject to manipulation by the methods.
A common analogy in biology is "species" and "individuum".
(That's why the university where i studied offered Simula as language for
 biologists. You should have heard their comments after the first lecture
 which was held in our math faculty's rooms.)

Inheritance strives for re-use of well working and tested program parts
by declaring that a new class is like one or more existing classes with
maybe some extra features and maybe some modifications of the existing
features. The inheriting class only has the code that is missing in the
bequesting classes, which contribute most of the code implementation.
So here the programmer knocks over the clarity, which was gained
by encapsulation and aggregation, by inventing nearly-but-not-really-same
things and scattering their program code over larger parts of the program.

Polymorphism (aka overloading) gives nearly identically looking program
gestures different meanings. Classic is the overloading of the "+"
operator for everything that a drunk mathematician would accept as some
kind of addition. Plus string concatentation and maybe marriage of bits.

If you fail to make your program unreadable by inheritance, try
overloading. This will surely do the trick.

A more substantial overview with a more polite opinion towards C++ et.al.
can be found at
  https://en.wikipedia.org/wiki/Object-oriented_programming
(Note the link box "Programming paradigms" to the right. There you find
 naivity, madness, and deep wisdom.)


Have a nice day :)

Thomas



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Ben Caradoc-Davies

On 18/10/2019 15:33, Turritopsis Dohrnii Teo En Ming wrote:

This is just a quick survey. May I know what programming languages do
you know? I am considering being a programmer or developer.
How long will it take for me to master a programming language like
C++, Java, and Python?


Mastery is a high level goal. Are you trying to learn enough to secure 
employment in an entry-level position?


Python is easiest to learn and widely used, but not commonly used in 
packaged products. Java is the most widely used, and designed as a more 
portable and easier to learn alternative to C++, which is also widely 
used. C++ is by far the hardest.


Do you have a particular industry in mind? The choice of language will 
follow the domain.


Software development is about much more than just programming: teamwork, 
engineering practices, and personal technical and business 
problem-solving ability. What is your background?


A great way to learn is to choose an open source project that uses a 
language of interest to you and contribute bug fixes to it. Proven 
ability on open source projects is a great way of building your resume.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited <https://transient.nz/>
New Zealand



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread rhkramer
On Friday, October 18, 2019 06:33:19 PM Jeremy Nicoll wrote:
> Perl is a whole lot more readable than APL.

Never did much Perl, but I think anything (well, not sure about obfuscated C) 
is more readable than APL.



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread James H. H. Lampert

The OP wanted this treated as a survey, and so . . .

Many dialects and derivatives of BASIC, including (but not limited to) 
IBM VS-BASIC (ran on 370 and compatible mainframes), TRS-80 Level 1, 
Level 2, and Mod I Disk BASIC, GWBASIC, and the various QBASICs 
(QuickBASIC and QBX). (I took one look at VisualBASIC, and swore off any 
further M$ development tools.)


FORTRAN (mainly FORTRAN IV: IBM G1, WATFIV, and TRS-80 FORTRAN).

Pascal (CDC Cyber Pascal).

COBOL (also on a CDC Cyber).

PL/I (CDC Cyber PL/I; CDC ANSI PL/I; IBM AS/400 PL/I).

Assemblers (DEC Macro-11, 8086).

(LISP)   <-- the parentheses are an inside joke.

C (mainly on AS/400s). I must go down to the 'C' again, to the loony 
'C,' and cry.


Modula-2

MI (it's the closest you are allowed to get to a true assembler language 
on an AS/400)


RPG/400 (both OPM and ILE)

CL (on AS/400s; it's like a shell script, only compiled).

Java

I've forgotten just about all the SmallTalk I ever learned.

I can get by in SQL.

The more programming languages you know, the easier it is to pick up 
additional programming languages. And the less likely you are to treat 
your favorite language (or the only one you know) as a panacea. And if 
you have good linkage capabilities, mixed-language work is not difficult 
at all.


Not much that's on the published list. But then again, when I leave my 
present employment, I'm probably never going to write a single line of 
code professionally again.


--
JHHL



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Jeremy Nicoll
On Fri, 18 Oct 2019, at 23:34, John Hasler wrote:

> I guess some people who started with BASIC do eventually recover.

It's not all that bad.

At my first place of employment, we ran WATERLOO BASIC (from the 
University of Waterloo) for students to learn how to program.

This was on an IBM mainframe, running VM/CMS, and the text editor 
(Xedit) was programmable.  I wrote a set of fairly complex Xedit 'macro'
programs which allowed students to write code in an extended non-line-
numbered syntactically-sugared version of the language, with what 
appeared to be 'proper' procedures/functions.

As they exited from the editor, the macros converted the code they'd
typed back to the more basic form of the language for it to be run, 
and as they started to edit one of these programmes the GOTO-ridden
code would be transformed into the apparently more structured version
of the language.

Unfortunately we could only let the more competent students use the 
'better' language, because they had to understand the 'on the fly'
changes that were made... so they could cope with runtime error 
messages from the actual (less sophistcated) code, which didn't 
precisely match what they saw in the text editor.

-- 
Jeremy Nicoll - my opinions are my own.



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread John Hasler
Thomas writes:
> The only right way is to work down from a BASIC on ROM, which is said
> to have in part been coded by William Henry Gates III himself, to a
> self-made assembler, and then back to Rocky Mountain BASIC on HP
> desktops.  Finally you move to a Unix workstation (16 MHz and 4 MB of
> RAM suffice), learn Bourne shell and C, and be done.

I guess some people who started with BASIC do eventually recover.

FORTRAN on 1620s and 370s, C on MTS, Z80 assembler (hand assembled until
I finally got an assembler), Pascal on a PDP11, bare metal hex for the
RCA 1802, FORTH using an 1802 FORTH system I helped write (in hex), and
finally UNIX System III on my very own Onyx.  I eventually did do some
stuff in BASIC but by then my immunity was established so I don't think
there was any brain damage.  Perl and Python too after that, of course.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Jeremy Nicoll
This discussion is spammed across a whole bunch of linux dstro mail lists.

On Fri, 18 Oct 2019, at 19:56, ghe wrote:

> Pascal teaches you to think good thoughts. It's was a wonderful language
> to learn back in the late 1970s.

Yes, or Algol...

> Perl's mantra is "There's more than one way to do it". That's part of
> the reason Perl's considered (by some) a write only language -- you
> can't understand what you wrote last week.

Perl is a whole lot more readable than APL.

-- 
Jeremy Nicoll - my opinions are my own.



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread David Wright
On Fri 18 Oct 2019 at 23:22:37 (+0200), Thomas Schmitt wrote:
> Doug McGarrett wrote:
> > [...] and I learned to use BASIC.
> 
> And ? Any recognizable damage left ? :o)
> 
> > (This was in the days when we had
> > an acoustic modem and a Teletype machine, and the mainframe was
> > 1500 miles away!)
> 
> I had a color tv and a VIC-20 on the couch table.
> 
> > Later, I learned a "real" language, Pascal.
> 
> Arghh. Get hot water ! Get some disinfectant ! Get some iodine !
> 
> The only right way is to work down from a BASIC on ROM, which is said to
> have in part been coded by William Henry Gates III himself, to a self-made
> assembler, and then back to Rocky Mountain BASIC on HP desktops.

Ah, our annual nostalgia trip! I'll save some typing:

https://lists.debian.org/debian-user/2018/08/msg00949.html
https://lists.debian.org/debian-user/2018/08/msg00993.html

Cheers,
David.



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Brian
On Fri 18 Oct 2019 at 13:26:03 -0400, Doug McGarrett wrote:

> 
> 
> On 10/18/2019 09:31 AM, Dan Ritter wrote:
> > Turritopsis Dohrnii Teo En Ming wrote:
> > > Subject: Top 7 Programming Languages That Employers Really Want
> > > 
> > > This is just a quick survey. May I know what programming languages do
> > > you know? I am considering being a programmer or developer.
> > > How long will it take for me to master a programming language like
> > > C++, Java, and Python?
> > 
> > Nobody knows.
> > 
> > 
> skip intro

You, and everybody else, may as well have skipped the whole post and
saved the List from wasting bandwidth. I ask you

 > This is just a quick survey.

Really?

 > I am considering being a programmer

Wowee.

 > Turritopsis Dohrnii

Jellyfish. Hard to grasp.

 >  How long will it take

Where's that piece of string?

 > Top 7 Programming Languages That Employers Really Want

Nobody has answered the question yet.

-- 
Brian.

> > 
> > Most experienced programmers know two or three computer languages very
> > well, and one or two others just enough to figure out what a program is
> > doing.
> > 
> > Python is generally considered a good language to start learning
> > the ideas of programming, and is also widely used for a variety
> > of tasks. I think "Learn Python The Hard Way" is an excellent
> > introductory book. It will take a dedicated student at least
> > two months to get through it, or about a year if you work on it
> > one day a week or so.
> > 
> > Once you know one programming language, you will find it much
> > easier to learn new ones in the same family of languages, and
> > also easier to learn unrelated languages. For example, once you
> > understand the concept of a typed variable, you won't have to
> > relearn that -- just what the types available in a given
> > language are.
> > 
> > I work in shell, Perl, Python, Ruby; I use some special purpose
> > languages like SQL, and specialized configuration languages like
> > Cisco IOS and Juniper's JunOS. I have used any number of
> > languages in the past that I don't encounter much, like LISP,
> > FORTRAN and Prolog.
> > 
> > I don't consider myself a programmer. I'm a senior
> > general-purpose systems administrator with network engineering,
> > security and people-management specialties.
> > 
> > -dsr-
> 
> I'm not a programmer either. I started learning code way back
> when BASIC and Fortran seemed to be the most common languages,
> and I learned to use BASIC. (This was in the days when we had
> an acoustic modem and a Teletype machine, and the mainframe was
> 1500 miles away!) Later, I learned a "real" language, Pascal.
> When I discovered the case statement, I was in heaven! What a
> mess it was to do the equivalent in BASIC! As an RF engineer,
> it was really handy to solve some repetitive equations in Pascal.
> 
> I'm not sure if any Pascal compilers are still available, but
> Turbo was the most popular back when. Until the last version
> came out, and it was too complicated for its own good.
> 
> I took a good look at Python, and decided that the necessary
> indentation was too much for me to deal with. Maybe there is
> some kind of automated system for doing this, but I don't know
> of it.
> 
> As for as learning to code, the most important part of any coding
> language routine is to state a problem and define a means of solving
> it, step by step, before you write a word of code, regardless of the coding
> language! (This usually is called "pseudo code.") So if you have
> a logical mind, that's the first step.
> 
> --doug
> 



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread mick crane

On 2019-10-18 22:22, Thomas Schmitt wrote:


But with a text editor i write a description in form of C structures
and function stubs, which i fill by remarks to roughly describe what
to have or to do where and when. Already during this design stage i use
as much compilable C code as possible to describe what i mean.
The overall design paradigm is object oriented but without fancy stuff
like overloading or inheritance. Encapsulation and aggregation must
suffice.


This is interesting topic for me but don't know what these words
"overloading or inheritance. Encapsulation and aggregation"
mean in programming context
not being very good at this stuff.
Any chance of expanding this thinking in design stage ?

mick

--
Key ID4BFEBB31



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Thomas Schmitt
Hi,

Doug McGarrett wrote:
> [...] and I learned to use BASIC.

And ? Any recognizable damage left ? :o)


> (This was in the days when we had
> an acoustic modem and a Teletype machine, and the mainframe was
> 1500 miles away!)

I had a color tv and a VIC-20 on the couch table.


> Later, I learned a "real" language, Pascal.

Arghh. Get hot water ! Get some disinfectant ! Get some iodine !

The only right way is to work down from a BASIC on ROM, which is said to
have in part been coded by William Henry Gates III himself, to a self-made
assembler, and then back to Rocky Mountain BASIC on HP desktops.
Finally you move to a Unix workstation (16 MHz and 4 MB of RAM suffice),
learn Bourne shell and C, and be done.


> As for as learning to code, the most important part of any coding
> language routine is to state a problem and define a means of solving
> it, step by step, before you write a word of code, regardless of the coding
> language!

That's what i did on my Texas Instruments TI-58C with its math assembler
language and merciless programming interface.
  https://en.wikipedia.org/wiki/TI-59_/_TI-58

But with a text editor i write a description in form of C structures
and function stubs, which i fill by remarks to roughly describe what
to have or to do where and when. Already during this design stage i use
as much compilable C code as possible to describe what i mean.
The overall design paradigm is object oriented but without fancy stuff
like overloading or inheritance. Encapsulation and aggregation must
suffice.
Then i go on an implementation frenzy.
Testing feels like hangover with debugger breakfast.

On larger projects be prepared for euphoria, nervous breakdown,
baseless hope, deep dispair, and - in case of survival - the feeling
to have once again muddled through.

Hoo-yawn ...
  goto bed;


Have a nice day :)

Thomas
bed:;



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Joe
On Fri, 18 Oct 2019 13:26:03 -0400
Doug McGarrett  wrote:

> On 10/18/2019 09:31 AM, Dan Ritter wrote:
> > Turritopsis Dohrnii Teo En Ming wrote:  
> >> Subject: Top 7 Programming Languages That Employers Really Want
> >>
> >> This is just a quick survey. May I know what programming languages
> >> do you know? I am considering being a programmer or developer.
> >> How long will it take for me to master a programming language like
> >> C++, Java, and Python?  
> >
> > Nobody knows.
> >
> >  
> skip intro
> >
> > Most experienced programmers know two or three computer languages
> > very well, and one or two others just enough to figure out what a
> > program is doing.
> >
> > Python is generally considered a good language to start learning
> > the ideas of programming, and is also widely used for a variety
> > of tasks. I think "Learn Python The Hard Way" is an excellent
> > introductory book. It will take a dedicated student at least
> > two months to get through it, or about a year if you work on it
> > one day a week or so.
> >
> > Once you know one programming language, you will find it much
> > easier to learn new ones in the same family of languages, and
> > also easier to learn unrelated languages. For example, once you
> > understand the concept of a typed variable, you won't have to
> > relearn that -- just what the types available in a given
> > language are.
> >
> > I work in shell, Perl, Python, Ruby; I use some special purpose
> > languages like SQL, and specialized configuration languages like
> > Cisco IOS and Juniper's JunOS. I have used any number of
> > languages in the past that I don't encounter much, like LISP,
> > FORTRAN and Prolog.
> >
> > I don't consider myself a programmer. I'm a senior
> > general-purpose systems administrator with network engineering,
> > security and people-management specialties.
> >
> > -dsr-  
> 
> I'm not a programmer either. I started learning code way back
> when BASIC and Fortran seemed to be the most common languages,
> and I learned to use BASIC. (This was in the days when we had
> an acoustic modem and a Teletype machine, and the mainframe was
> 1500 miles away!) Later, I learned a "real" language, Pascal.
> When I discovered the case statement, I was in heaven! What a
> mess it was to do the equivalent in BASIC! As an RF engineer,
> it was really handy to solve some repetitive equations in Pascal.

I learned BASIC as the integer-only Applesoft, on an Apple II. A year
or two later I bought a BBC Micro, which had BBC BASIC built in.
Functions, procedures, recursion, case, all sorts of stuff that proper
BASIC didn't have. Oh, and a built-in assembler for the 6502. The later
Acorn Archimedes had an ARM assembler built in. 
> 
> I'm not sure if any Pascal compilers are still available, but
> Turbo was the most popular back when. Until the last version
> came out, and it was too complicated for its own good.

I came to Pascal from BBC BASIC, and found it a bit of an anti-climax.
There didn't seem to be that much difference.
> 
> I took a good look at Python, and decided that the necessary
> indentation was too much for me to deal with. Maybe there is
> some kind of automated system for doing this, but I don't know
> of it.
> 
> As for as learning to code, the most important part of any coding
> language routine is to state a problem and define a means of solving
> it, step by step, before you write a word of code, regardless of the 
> coding language! (This usually is called "pseudo code.") So if you
> have a logical mind, that's the first step.

"Kludgecode", I've seen it called, in a programming book I read about
forty years ago.

I mostly code as a hobby, I've sold a bit of Delphi and PIC assembler
as parts of something larger, but I've never been employed as a
developer. I think the OP may not realise that most development jobs
require a year of two of *commercial* experience using all the latest
buzzwords. Basically they're looking to hire people already doing the
same job for competitors.

I have a selection of computer hardware, so I mostly code in PHP on my
web server now. I notice that nobody else mentioned PHP. I consider
client-side code to be the work of the Devil.

-- 
Joe 



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread ghe
On 10/18/19 11:44 AM, hdv@gmail wrote:

> On 18/10/2019 19.26, Doug McGarrett wrote:
> 
> ...
> 
>> I'm not sure if any Pascal compilers are still available, but
>> Turbo was the most popular back when. Until the last version
>> came out, and it was too complicated for its own good.
> 
> Forgive me for barging in, but I just had to answer that.
> 
> Sure there is! Take a look at Free Pascal (freepascal.org). It is very much
> alive. I use the RAD editor Lazarus (a clone of Delphi for those who still
> remember what that was) that goes with it regularly.

GNU claims to have one too. Search for 'linux pascal compilers'.

>> I took a good look at Python, and decided that the necessary
>> indentation was too much for me to deal with. Maybe there is
>> some kind of automated system for doing this, but I don't know
>> of it.

Vim knows about Python's indentation fixation. It automatically indents
when it sees a colon.

Pascal teaches you to think good thoughts. It's was a wonderful language
to learn back in the late 1970s.

Perl's mantra is "There's more than one way to do it". That's part of
the reason Perl's considered (by some) a write only language -- you
can't understand what you wrote last week.

Python's is "There's only one way to do it". I skipped Python a while
back because of the indentation, too. A Python program looks a lot like
a C program run through a prettyPrinter.

I miss C's preprocessor, but Python has some cool new data structures
and capabilities that more than make up for that omission. Still no
constants, though.


I'd suggest C, Java, Python3, some shell, Perl, and a few others the
employer uses. FORTRAN can be useful for some applications. But if they
want you to write COBOL or BASIC, look for another job :-)

-- 
Glenn English



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Jude DaShiell
On Fri, 18 Oct 2019, Doug McGarrett wrote:

> Date: Fri, 18 Oct 2019 13:26:03
> From: Doug McGarrett 
> To: Dan Ritter ,
> Turritopsis Dohrnii Teo En Ming 
> Cc: debian-user@lists.debian.org
> Subject: Re: Top 7 Programming Languages That Employers Really Want
> Resent-Date: Fri, 18 Oct 2019 17:26:48 + (UTC)
> Resent-From: debian-user@lists.debian.org
>
>
>
> On 10/18/2019 09:31 AM, Dan Ritter wrote:
> > Turritopsis Dohrnii Teo En Ming wrote:
> >> Subject: Top 7 Programming Languages That Employers Really Want
> >>
> >> This is just a quick survey. May I know what programming languages do
> >> you know? I am considering being a programmer or developer.
> >> How long will it take for me to master a programming language like
> >> C++, Java, and Python?
> >
> > Nobody knows.
> >
> >
> skip intro
> >
> > Most experienced programmers know two or three computer languages very
> > well, and one or two others just enough to figure out what a program is
> > doing.
> >
> > Python is generally considered a good language to start learning
> > the ideas of programming, and is also widely used for a variety
> > of tasks. I think "Learn Python The Hard Way" is an excellent
> > introductory book. It will take a dedicated student at least
> > two months to get through it, or about a year if you work on it
> > one day a week or so.
> >
> > Once you know one programming language, you will find it much
> > easier to learn new ones in the same family of languages, and
> > also easier to learn unrelated languages. For example, once you
> > understand the concept of a typed variable, you won't have to
> > relearn that -- just what the types available in a given
> > language are.
> >
> > I work in shell, Perl, Python, Ruby; I use some special purpose
> > languages like SQL, and specialized configuration languages like
> > Cisco IOS and Juniper's JunOS. I have used any number of
> > languages in the past that I don't encounter much, like LISP,
> > FORTRAN and Prolog.
> >
> > I don't consider myself a programmer. I'm a senior
> > general-purpose systems administrator with network engineering,
> > security and people-management specialties.
> >
> > -dsr-
>
> I'm not a programmer either. I started learning code way back
> when BASIC and Fortran seemed to be the most common languages,
> and I learned to use BASIC. (This was in the days when we had
> an acoustic modem and a Teletype machine, and the mainframe was
> 1500 miles away!) Later, I learned a "real" language, Pascal.
> When I discovered the case statement, I was in heaven! What a
> mess it was to do the equivalent in BASIC! As an RF engineer,
> it was really handy to solve some repetitive equations in Pascal.
>
> I'm not sure if any Pascal compilers are still available, but
> Turbo was the most popular back when. Until the last version
> came out, and it was too complicated for its own good.
>
> I took a good look at Python, and decided that the necessary
> indentation was too much for me to deal with. Maybe there is
> some kind of automated system for doing this, but I don't know
> of it.
>
> As for as learning to code, the most important part of any coding
> language routine is to state a problem and define a means of solving
> it, step by step, before you write a word of code, regardless of the coding
> language! (This usually is called "pseudo code.") So if you have
> a logical mind, that's the first step.
>
> --doug
>
The yabasic interpreter has a switch statement which takes case
statements inside it.  One rather unique feature of yabasic is the bind
command which binds your source code to the interpreter and in that way
constructs a stand-alone package.

> >

--



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread hdv@gmail
On 18/10/2019 19.26, Doug McGarrett wrote:

...

> I'm not sure if any Pascal compilers are still available, but
> Turbo was the most popular back when. Until the last version
> came out, and it was too complicated for its own good.

Forgive me for barging in, but I just had to answer that.

Sure there is! Take a look at Free Pascal (freepascal.org). It is very much
alive. I use the RAD editor Lazarus (a clone of Delphi for those who still
remember what that was) that goes with it regularly.

> I took a good look at Python, and decided that the necessary
> indentation was too much for me to deal with. Maybe there is
> some kind of automated system for doing this, but I don't know
> of it.

This admission proves I am becoming an old fart, but I just can't give up my
precious perl... I like Python a lot, but perl is still my goto language.

Grx HdV



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Doug McGarrett




On 10/18/2019 09:31 AM, Dan Ritter wrote:

Turritopsis Dohrnii Teo En Ming wrote:

Subject: Top 7 Programming Languages That Employers Really Want

This is just a quick survey. May I know what programming languages do
you know? I am considering being a programmer or developer.
How long will it take for me to master a programming language like
C++, Java, and Python?


Nobody knows.



skip intro


Most experienced programmers know two or three computer languages very
well, and one or two others just enough to figure out what a program is
doing.

Python is generally considered a good language to start learning
the ideas of programming, and is also widely used for a variety
of tasks. I think "Learn Python The Hard Way" is an excellent
introductory book. It will take a dedicated student at least
two months to get through it, or about a year if you work on it
one day a week or so.

Once you know one programming language, you will find it much
easier to learn new ones in the same family of languages, and
also easier to learn unrelated languages. For example, once you
understand the concept of a typed variable, you won't have to
relearn that -- just what the types available in a given
language are.

I work in shell, Perl, Python, Ruby; I use some special purpose
languages like SQL, and specialized configuration languages like
Cisco IOS and Juniper's JunOS. I have used any number of
languages in the past that I don't encounter much, like LISP,
FORTRAN and Prolog.

I don't consider myself a programmer. I'm a senior
general-purpose systems administrator with network engineering,
security and people-management specialties.

-dsr-


I'm not a programmer either. I started learning code way back
when BASIC and Fortran seemed to be the most common languages,
and I learned to use BASIC. (This was in the days when we had
an acoustic modem and a Teletype machine, and the mainframe was
1500 miles away!) Later, I learned a "real" language, Pascal.
When I discovered the case statement, I was in heaven! What a
mess it was to do the equivalent in BASIC! As an RF engineer,
it was really handy to solve some repetitive equations in Pascal.

I'm not sure if any Pascal compilers are still available, but
Turbo was the most popular back when. Until the last version
came out, and it was too complicated for its own good.

I took a good look at Python, and decided that the necessary
indentation was too much for me to deal with. Maybe there is
some kind of automated system for doing this, but I don't know
of it.

As for as learning to code, the most important part of any coding
language routine is to state a problem and define a means of solving
it, step by step, before you write a word of code, regardless of the 
coding language! (This usually is called "pseudo code.") So if you have

a logical mind, that's the first step.

--doug



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread Dan Ritter
Turritopsis Dohrnii Teo En Ming wrote: 
> Subject: Top 7 Programming Languages That Employers Really Want
> 
> This is just a quick survey. May I know what programming languages do
> you know? I am considering being a programmer or developer.
> How long will it take for me to master a programming language like
> C++, Java, and Python?

Nobody knows.

The art of programming is in two parts. The first part is to be
able to think extremely clearly and rationally about a complex
system -- not the computer, usually, but the problem that you
are trying to solve. The second part is writing down those
thoughts in an artificial, highly constrained formal language.

Most experienced programmers know two or three computer languages very
well, and one or two others just enough to figure out what a program is
doing.

Python is generally considered a good language to start learning
the ideas of programming, and is also widely used for a variety
of tasks. I think "Learn Python The Hard Way" is an excellent
introductory book. It will take a dedicated student at least
two months to get through it, or about a year if you work on it
one day a week or so.

Once you know one programming language, you will find it much
easier to learn new ones in the same family of languages, and
also easier to learn unrelated languages. For example, once you
understand the concept of a typed variable, you won't have to
relearn that -- just what the types available in a given
language are.

I work in shell, Perl, Python, Ruby; I use some special purpose
languages like SQL, and specialized configuration languages like
Cisco IOS and Juniper's JunOS. I have used any number of
languages in the past that I don't encounter much, like LISP, 
FORTRAN and Prolog.

I don't consider myself a programmer. I'm a senior
general-purpose systems administrator with network engineering,
security and people-management specialties.

-dsr-

-dsr-



Top 7 Programming Languages That Employers Really Want

2019-10-17 Thread Turritopsis Dohrnii Teo En Ming
Subject: Top 7 Programming Languages That Employers Really Want

Good day from Singapore,

Article: Top 7 Programming Languages That Employers Really Want
Author: Nick Kolakowski
Date Published: 14 October 2019
Link: 
https://insights.dice.com/2019/10/14/7-programming-languages-employers-want/

This is just a quick survey. May I know what programming languages do
you know? I am considering being a programmer or developer.
How long will it take for me to master a programming language like
C++, Java, and Python?

Thank you very much.





-BEGIN EMAIL SIGNATURE-

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019 and refugee seeking attempts at the
United Nations Refugee Agency Bangkok (21 Mar 2017) and in Taiwan (5
Aug 2019):

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

-END EMAIL SIGNATURE-



Re: useless languages

2019-07-13 Thread Joe Pfeiffer
David Christensen  writes:

> On 7/12/19 4:03 AM, Pierre Frenkiel wrote:
>> hi,
>> when installing some packages (chromiun for example), I get a lot of
>> useless languages (task-marathi-desktop task-nepali-desktop ...)
>> Is there a way to get rid of them?
>>
>> best regards,
>
> I added the following line to my root .profile to prevent apt-get from
> downloading and installing 'recommended' packages;
>
> alias apt-get='apt-get --no-install-recommends'

There is currently a lengthy thread discussing why this is a bad idea
with the subject "Re: Don't disable recoomends by default"
Even if it were a good idea, the way to do it would be in the
apt configuration, not by aliasing a command.



Re: useless languages

2019-07-13 Thread Pierre Frenkiel

On Fri, 12 Jul 2019, David Christensen wrote:


On 7/12/19 4:03 AM, Pierre Frenkiel wrote:

hi,
when installing some packages (chromiun for example), I get a lot of
useless languages (task-marathi-desktop task-nepali-desktop ...)
Is there a way to get rid of them?

best regards,


I added the following line to my root .profile to prevent apt-get from 
downloading and installing 'recommended' packages;


   alias apt-get='apt-get --no-install-recommends'


hi David,
thank you for the tip. I'll add that to my .kshrc, where I put all
my aliases

best regards,
--
Pierre Frenkiel



Re: useless languages

2019-07-12 Thread David Christensen

On 7/12/19 4:03 AM, Pierre Frenkiel wrote:

hi,
when installing some packages (chromiun for example), I get a lot of
useless languages (task-marathi-desktop task-nepali-desktop ...)
Is there a way to get rid of them?

best regards,


I added the following line to my root .profile to prevent apt-get from 
downloading and installing 'recommended' packages;


alias apt-get='apt-get --no-install-recommends'


david



Re: useless languages

2019-07-12 Thread Reco
Hi.

On Fri, Jul 12, 2019 at 08:37:09AM -0300, Jonas Smedegaard wrote:
> > apt install chromium task-marathi-desktop- task-nepali-desktop- ...-
> 
> Above would help if chromium was recommending task-* packages which it 
> doesn't on Debian, so for Debian systems I doubt that would help here.

Try it sometime. If it's installed - it will be uninstalled.
If it's trying to install - it won't. Applies to the task* packages like
it applies to anything else.


> > Disabling installing Recommends by default also helps a great deal with
> > all those dependencies you don't want.
> 
> Above may break your system in confusing to debug ways,

Rly? Recommends are called that for a reason.
If Recommend is actually needed for the correct functioning of the
package - it's a bug in a package.
Recommends are useful sometime, and it's a useful default to install
them. But it comes with the cost and the cost is a dependency bloat.

Not installing the Depends - that's a creative way to break a system
indeed. But even this has its uses.


> so if you ever do that then make sure to clearly mention it when you
> later report bugs!

Try running reportbug in this case. It tells this particular setting
every time by showing which Recommends are installed and which are not.


In short, Debian's (and derivatives') package management and bug
reporting is more flexible that you seem to think it is.

Reco



Re: useless languages

2019-07-12 Thread Jonas Smedegaard
Hi Pierre,

Quoting Reco (2019-07-12 08:09:03)
> On Fri, Jul 12, 2019 at 01:03:33PM +0200, Pierre Frenkiel wrote:
> > when installing some packages (chromiun for example), I get a lot of 
> > useless languages (task-marathi-desktop task-nepali-desktop ...) Is 
> > there a way to get rid of them?

On Debian or somethins else (perhaps something derived from Debian, like 
Raspbian or Armbian or Ubuntu or Kubuntu or...)?

And which exact command causes chromium to pull in those task-* packages 
on your sysstem?

I ask because I cannot recognize that Debian systems (neither stable 
Buster or oldstable Stretch) has chromium recommend or even suggest any 
task-* packages.  So I suspect that you have something custom/derived 
causing this odd behaviour.


> apt install chromium task-marathi-desktop- task-nepali-desktop- ...-

Above would help if chromium was recommending task-* packages which it 
doesn't on Debian, so for Debian systems I doubt that would help here.


> Disabling installing Recommends by default also helps a great deal with
> all those dependencies you don't want.

Above may break your system in confusing to debug ways, so if you ever 
do that then make sure to clearly mention it when you later report bugs!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: useless languages

2019-07-12 Thread Reco
Hi.

On Fri, Jul 12, 2019 at 01:03:33PM +0200, Pierre Frenkiel wrote:
> hi,
> when installing some packages (chromiun for example), I get a lot of
> useless languages (task-marathi-desktop task-nepali-desktop ...)
> Is there a way to get rid of them?

apt install chromium task-marathi-desktop- task-nepali-desktop- ...-

Disabling installing Recommends by default also helps a great deal with
all those dependencies you don't want.

Reco



useless languages

2019-07-12 Thread Pierre Frenkiel

hi,
when installing some packages (chromiun for example), I get a lot of
useless languages (task-marathi-desktop task-nepali-desktop ...)
Is there a way to get rid of them?

best regards,
--
Pierre Frenkiel



Re: Debian Programming languages

2019-05-26 Thread Henrique de Moraes Holschuh
On Sat, 25 May 2019, Kenneth Parker wrote:
> As one who has been involved in "low level plumbing", since the 1970's
> (including on IBM Mainframe Computers), I'm not afraid of Assembler
> Language.  I'm surprised, that I didn't know about Rust (package rustc).
> Thanks for alerting me!

Rust, the language, is nice.  Rust, the implementation of that language
we have right now, not so much.

Watch out for limited set of target architectures, for example.  You
wouldn't be able to use it for *Debian* low-level pumbling, yet.

-- 
  Henrique Holschuh



Re: Debian Programming languages

2019-05-25 Thread Kenneth Parker
On Fri, May 24, 2019 at 9:35 PM Dekks Herton  wrote:

> Paul Sutton  writes:
>
> > Hi
> >
> > As I am trying to promote contributing to Debian,  what programming
> > languages are mostly used?  I am asking as it helps to give people an
> > idea of what they need to learn or will learn as part of helping.
>
> AFAIK Kernel + low level plumbing are primarily Assembly,C,C++,Rust
>

As one who has been involved in "low level plumbing", since the 1970's
(including on IBM Mainframe Computers), I'm not afraid of Assembler
Language.  I'm surprised, that I didn't know about Rust (package rustc).
Thanks for alerting me!



-- 
> Regards.
>
> PGP Fingerprint: 3DF8 311C 4740 B5BC 3867  72DF 1050 452F 9BCE BA00
>

Kenneth Parker


Re: Debian Programming languages

2019-05-25 Thread 황병희
Hellow~

> I am guessing as the default command line interface is bash, then bash
> and bash scripting would be useful to learn but on top of that what
> would people suggest I try and promote.

To me, Python is easy, useful, for example, my custom message-id[1] is
from python3. Also Python is good with combine Bash command, you know
subprocess module within Python.

Sincerely, Byung-Hee from South Korea.

[1] 
https://gitlab.com/soyeomul/Gnus/raw/89bdb255a3fe7843da00d216e934c43120c373a9/thanks-mid.py

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: Debian Programming languages

2019-05-25 Thread songbird
James H. H. Lampert wrote:
> Just out of morbid curiosity: what about a full ANSI PL/I?
>
> (And the mere fact that I'm asking ages me.)

  mu!  (unasking makes you younger?!  :) )A

  ancient languages i've used but not in quite a long
time now.

  COBOL, SNOBOL, ALGOL, LISP

  of all of them i actually wrote production code in
Pascal, assembler, COBOL and C (with embedded SQL).

  i also wrote a ton of code in C for classwork and
that was the main language i "thought" in.  some of 
those projects were quite large (write a compiler,
assembler, linking-loader, interpreter, OS, editor,
multiprocessor microcode simulator, etc.)  i'm not 
sure anyone actually teaches these that much these
days.

  for most of my projects here i mostly did either C
or shell scripts.

  recently i started picking up Python and it has been
ok so far, but there is still much about OOP that i
don't fully understand.  at a full time effort i think
it takes several years to really get a language.  since
i'm not doing this full time i expect by the time i
get to retirement age i'll have got it down well 
enough.

  my first Python program i don't consider OOP much
at all, but it went quickly enough.  next winter i
hope to revisit it and see what i can do to make it
a better structured program and more OOP.

  i'm too busy in the summer to really put much into
learning new things unless it is something quick that
will stick.


  songbird



Re: Debian Programming languages

2019-05-25 Thread tomas
On Sat, May 25, 2019 at 07:43:05PM +0300, Ryan Dean wrote:
> This is such an amazing topic which language is most widely used and which
> most useful. Many CS people only want to focus, do not want waste time in
> learning milllions of different languages, which will cause language
> barriers. We have limited amount of time and millions of other things in
> real life in addition to programming

Because there's just one tool in my workshop :-)

On the contrary: learning new languages helped me perfect my mastery
of those I thought I knew already.

Learning an OOP language made me a better C programer. Learning a
functional language made me a better C programmer. And so on.

Speaking several human languages is also a great experience.

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: Debian Programming languages

2019-05-25 Thread Ryan Dean
This is such an amazing topic which language is most widely used and which
most useful. Many CS people only want to focus, do not want waste time in
learning milllions of different languages, which will cause language
barriers. We have limited amount of time and millions of other things in
real life in addition to programming

On Sat, May 25, 2019 at 6:25 PM Paul Sutton  wrote:

> Hi All
>
> Just to say thank for the information.  I have made a short blog post on
> some of the languages mentioned and put links to what I would hope are
> useful related resources.
>
> http://zleap.net/debian-getting-started-3/
>
> I am trying to write this so I can hopefully encourage those who are
> learning to write code to get involved with Debian so their skills can
> be improved through helping,  I have learnt a heck of a lot just by
> being here doing what I have done so far.
>
> I will probably add to this further but it's up.
>
> Hopefully all this is helpful.
>
> Paul
>
>
> On 24/05/2019 16:08, Paul Sutton wrote:
>
> > Hi
> >
> > As I am trying to promote contributing to Debian,  what programming
> > languages are mostly used?  I am asking as it helps to give people an
> > idea of what they need to learn or will learn as part of helping.
> >
> > I am guessing as the default command line interface is bash, then bash
> > and bash scripting would be useful to learn but on top of that what
> > would people suggest I try and promote.
> >
> > Not just on the coding side of things as we have markdown / html / css
> > perhaps LaTeX for documentation.
> >
> >
> > Thanks
> >
> > Paul
> >
> --
> Paul Sutton
> http://www.zleap.net
> https://www.linkedin.com/in/zleap/
> gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D
>
>


Re: Debian Programming languages

2019-05-25 Thread Paul Sutton
Hi All

Just to say thank for the information.  I have made a short blog post on
some of the languages mentioned and put links to what I would hope are
useful related resources.

http://zleap.net/debian-getting-started-3/

I am trying to write this so I can hopefully encourage those who are
learning to write code to get involved with Debian so their skills can
be improved through helping,  I have learnt a heck of a lot just by
being here doing what I have done so far.

I will probably add to this further but it's up.

Hopefully all this is helpful.  

Paul


On 24/05/2019 16:08, Paul Sutton wrote:

> Hi
>
> As I am trying to promote contributing to Debian,  what programming
> languages are mostly used?  I am asking as it helps to give people an
> idea of what they need to learn or will learn as part of helping.
>
> I am guessing as the default command line interface is bash, then bash
> and bash scripting would be useful to learn but on top of that what
> would people suggest I try and promote.
>
> Not just on the coding side of things as we have markdown / html / css
> perhaps LaTeX for documentation.
>
>
> Thanks
>
> Paul
>
-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D



Re: Debian Programming languages

2019-05-25 Thread tomas
On Fri, May 24, 2019 at 08:47:26PM +0100, Joe wrote:
> On Fri, 24 May 2019 20:28:04 +0200
> "Thomas Schmitt"  wrote:
> 
> > Hi,
> > 
> > Glenn English wrote:
> > > LISP was the first high level language I
> > > learned. Thought I was going to die...  
> > 
> > Yeah. Why ain't there no Debian package with Guile ?
> >   https://www.gnu.org/software/guile/
> > 
> >
> geda-gschem and related electronics tools rely on Guile. I have Guile
> libraries 1.8, 2.0 and 2.2 installed, and they increase in size from
> 2.6MB to 11.8MB to 45MB. So something must still be going on...

Guile [1] has been seeing a renaissance for a couple of years now. The
last release (2.9.2 beta [2], leading to 3.0) is just two days old, and
is adding native compilation for architectures beyond X86_64.

A very interesting (and currently quite active) project written in Guile
is GNU Guix [3], a different kind of package manager (inspired by NixOS).

So Guile is alive and kicking :-)

Cheers

[1] https://www.gnu.org/software/guile/
[2] https://www.gnu.org/software/guile/news/gnu-guile-292-beta-released.html
[3] https://www.gnu.org/software/guix/

-- tomás


signature.asc
Description: Digital signature


Re: Debian Programming languages

2019-05-24 Thread Alex Mestiashvili
On 5/24/19 11:19 PM, Christian Groessler wrote:
> On 5/24/19 10:03 PM, Alex Mestiashvili wrote:
>> On 5/24/19 7:28 PM, Christian Groessler wrote:
>>> On 5/24/19 6:51 PM, john doe wrote:
 On 5/24/2019 6:14 PM, ghe wrote:
> Perl is happily off on it's own. "There's more than one way..." Boy is
> there ever. Nice to write, but it's next to impossible to understand
> other people's code. Python, IMHO, seems to be creeping up to replace
> it.
>>>
>>> I'm typically referring to perl as a "write-only" language. :-)
>>>
>>> But don't get me wrong, I like it...
>>>
>>> regards,
>>> chris
>>>
>> That is not true. The freedom to write unreadable code doesn't mean that
>> the language is bad.
> 
> 
> I guess you didn't notice the smiley in my message...
> 
> I'm sometimes having hmm.. let's say "problems" ... understanding what I
> had written ~10yrs ago. Typically regexp-related. That's not a problem
> of the language, but a problem in my understanding as I don't use perl
> on a day-to-day basis.
> 
> I stated "I like it", and that's true. I dislike python on the other
> hand...
> 
> regards,
> chris
> 

I did notice the smiley. But the jokes that perl is unreadable, looks
like line noise, write only, and so on, are repeated way too often and
decline Perl's reputation.

Well, the problem you described, isn't the problem of the language :)
Perl is easy to use and write condensed code, so many people abuse it
and write messy code.
Regexps can be also written in pretty clean multiline format with
comments should one want it.

So I basically came here to say that Perl is cool! :)

Best regards,
Alex



Re: Debian Programming languages

2019-05-24 Thread Dekks Herton
Paul Sutton  writes:

> Hi
>
> As I am trying to promote contributing to Debian,  what programming
> languages are mostly used?  I am asking as it helps to give people an
> idea of what they need to learn or will learn as part of helping.

AFAIK Kernel + low level plumbing are primarily Assembly,C,C++,Rust 

> I am guessing as the default command line interface is bash, then bash
> and bash scripting would be useful to learn but on top of that what
> would people suggest I try and promote.
>
> Not just on the coding side of things as we have markdown / html / css
> perhaps LaTeX for documentation.

For apps there are no hard and fast rules as there are a multitude of
langs used. Best to enquire of the devs of the particular app your
interested in.

> Thanks
>
> Paul

-- 
Regards.
 
PGP Fingerprint: 3DF8 311C 4740 B5BC 3867  72DF 1050 452F 9BCE BA00



Re: Debian Programming languages

2019-05-24 Thread Kenneth Parker
On Fri, May 24, 2019 at 12:15 PM ghe  wrote:

> On 5/24/19 9:08 AM, Paul Sutton wrote:
>
> > As I am trying to promote contributing to Debian,  what programming
> > languages are mostly used?
>
> C, perl, java, ruby, python, bash, that I know of. And probably several
> others. I don't recall seeing any COBOL, though :-)
>

COBOL?  How about https://packages.debian.org/stretch/open-cobol ?

   > OpenCOBOL implements substantial part of the COBOL 85 and
   > COBOL 2002 standards, as well as many extensions of the existent
   > compilers. OpenCOBOL translates COBOL into C and compiles
   > the translated code using GCC.

I may even Install this on my Stretch System, to bring back memories of my
IBM Mainframe Days, where I programmed, often heavily in COBOL, from 1974
to 1986.



-- 
> Glenn English
>
> Kenneth Parker


Re: Debian Programming languages

2019-05-24 Thread ghe
On 5/24/19 3:19 PM, Christian Groessler wrote:

> I dislike python on the other hand...

I did too, when I looked at it a few years ago. But Python3 looks
reasonably civilized.

And so the interpreter replaces 4 spaces with a semicolon. I think I can
live with that...

-- 
Glenn English



Re: Debian Programming languages

2019-05-24 Thread Michael Lange
Hi,

On Fri, 24 May 2019 19:45:23 +0200
"Thomas Schmitt"  wrote:

(...)
> (Astounding how few languages are mentioned there.
>  No Piet ? http://www.dangermouse.net/esoteric/piet/samples.html
> )

seems like Piet isn't really a Debian programming language.
At least Debian seems to have some support for Brainfuck :-)
(https://curlie.org/Computers/Programming/Languages/Brainfuck)

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

There comes to all races an ultimate crisis which you have yet to face
 One day our minds became so powerful we dared think of ourselves as
gods.
-- Sargon, "Return to Tomorrow", stardate 4768.3



Re: Debian Programming languages

2019-05-24 Thread Christian Groessler

On 5/24/19 10:03 PM, Alex Mestiashvili wrote:

On 5/24/19 7:28 PM, Christian Groessler wrote:

On 5/24/19 6:51 PM, john doe wrote:

On 5/24/2019 6:14 PM, ghe wrote:

Perl is happily off on it's own. "There's more than one way..." Boy is
there ever. Nice to write, but it's next to impossible to understand
other people's code. Python, IMHO, seems to be creeping up to replace
it.


I'm typically referring to perl as a "write-only" language. :-)

But don't get me wrong, I like it...

regards,
chris


That is not true. The freedom to write unreadable code doesn't mean that
the language is bad.



I guess you didn't notice the smiley in my message...

I'm sometimes having hmm.. let's say "problems" ... understanding what I 
had written ~10yrs ago. Typically regexp-related. That's not a problem 
of the language, but a problem in my understanding as I don't use perl 
on a day-to-day basis.


I stated "I like it", and that's true. I dislike python on the other hand...

regards,
chris



Re: Debian Programming languages

2019-05-24 Thread Thomas Schmitt
Hi,

Joe wrote:
> geda-gschem and related electronics tools rely on Guile. I have Guile
> libraries 1.8, 2.0 and 2.2 installed, and they increase in size from
> 2.6MB to 11.8MB to 45MB. So something must still be going on...

It is still the official glue language of GNU. (To my luck its use does
not get enforced in any way.)
There is Guix, a distro and/or package manager which makes heavy use of
Guile.

But as said, the Debian source line counter probably adds it to the Lisp
basket.


Have a nice day :)

Thomas



Re: Debian Programming languages

2019-05-24 Thread Alex Mestiashvili
On 5/24/19 7:28 PM, Christian Groessler wrote:
> On 5/24/19 6:51 PM, john doe wrote:
>> On 5/24/2019 6:14 PM, ghe wrote:
>>> Perl is happily off on it's own. "There's more than one way..." Boy is
>>> there ever. Nice to write, but it's next to impossible to understand
>>> other people's code. Python, IMHO, seems to be creeping up to replace
>>> it.
> 
> 
> I'm typically referring to perl as a "write-only" language. :-)
> 
> But don't get me wrong, I like it...
> 
> regards,
> chris
> 

That is not true. The freedom to write unreadable code doesn't mean that
the language is bad.

Just as an example, look on Perl Dancer[0] framework. It's so damn easy
and clear, one can start using it just after going through the tutorial.

Best,
Alex

[0] https://metacpan.org/pod/Dancer2::Tutorial



Re: Debian Programming languages

2019-05-24 Thread Joe
On Fri, 24 May 2019 16:08:44 +0100
Paul Sutton  wrote:


> 
> Not just on the coding side of things as we have markdown / html / css
> perhaps LaTeX for documentation.
> 

I've done practically all my coding for the last ten years in php. With
a disparate collection of computing devices, web applications make
sense for me. But I'm a hobbyist, not a professional, and have never
done any system programming.

-- 
Joe



Re: Debian Programming languages

2019-05-24 Thread Joe
On Fri, 24 May 2019 20:28:04 +0200
"Thomas Schmitt"  wrote:

> Hi,
> 
> Glenn English wrote:
> > LISP was the first high level language I
> > learned. Thought I was going to die...  
> 
> Yeah. Why ain't there no Debian package with Guile ?
>   https://www.gnu.org/software/guile/
> 
>
geda-gschem and related electronics tools rely on Guile. I have Guile
libraries 1.8, 2.0 and 2.2 installed, and they increase in size from
2.6MB to 11.8MB to 45MB. So something must still be going on...

-- 
Joe



Re: Debian Programming languages

2019-05-24 Thread Thomas Schmitt
Hi,

Glenn English wrote:
> LISP was the first high level language I
> learned. Thought I was going to die...

Yeah. Why ain't there no Debian package with Guile ?
  https://www.gnu.org/software/guile/

  https://codesearch.debian.net/search?q=guile
yields (after choosing a package)

  
https://sources.debian.org/src/supertux/0.6.0-1/tools/levelconverter-0.1.3_0.2.0.scm/?hl=1#L1
  #!/usr/bin/guile -s

Probably Guile and Scheme are counted as Lisp.


Have a nice day :)

Thomas



Re: Debian Programming languages

2019-05-24 Thread James H. H. Lampert

On 5/24/19, 11:00 AM, ghe wrote:

I forgot about LISP too. LISP was the first high level language I
learned. Thought I was going to die...


(CLUTTER CLUTTER (CDR CLUTTER)) is probably the only s-expression I 
still remember from over half a lifetime ago. (It's a line of code from 
the "Blocks World" exercise in my old (LISP) textbook).


--
JHHL



Re: Debian Programming languages

2019-05-24 Thread Christian Groessler

On 5/24/19 6:51 PM, john doe wrote:

On 5/24/2019 6:14 PM, ghe wrote:

Perl is happily off on it's own. "There's more than one way..." Boy is
there ever. Nice to write, but it's next to impossible to understand
other people's code. Python, IMHO, seems to be creeping up to replace it.



I'm typically referring to perl as a "write-only" language. :-)

But don't get me wrong, I like it...

regards,
chris



Re: Debian Programming languages

2019-05-24 Thread ghe
On 5/24/19 11:45 AM, Thomas Schmitt wrote:

> 1,122 lines of code in Buster.

Oh. So that's what's wrong with Buster :-)

> (Astounding how few languages are mentioned there.
>  No Piet ? http://www.dangermouse.net/esoteric/piet/samples.html

I forgot about LISP too. LISP was the first high level language I
learned. Thought I was going to die...

-- 
Glenn English



Re: Debian Programming languages

2019-05-24 Thread Tom Browder
On Fri, May 24, 2019 at 12:43 Jonas Smedegaard  wrote:
...

> That's plain wrong: Debian has perl at its core, and Python not.
>
> Also, your simplification of Perl is common among folks ignorant about
> Perl but is wrong as well: You _can_ write difficult-to-read code in
> Perl by by no means do you need to, and most Perl code in Debian - i.e.
> the thousands of CPAN modules, does not use a difficult-to-read coding
> style.


To add support to Jonas' reply:

Perl 6 development is definitely NOT stalled. We have four GSoC students
working on serious projects for the Perl 6 community. We welcome all to
visit  and join the fun! (We did have some server
problems recently which may have led you to think development has stalled.)

Warmest regards,

-Tom

#perl6, #perl6-dev alias: tbrowder
github: tbrowder


Re: Debian Programming languages

2019-05-24 Thread James H. H. Lampert

Just out of morbid curiosity: what about a full ANSI PL/I?

--
JHHL
(And the mere fact that I'm asking ages me.)



Re: Debian Programming languages

2019-05-24 Thread ghe
On 5/24/19 11:21 AM, mick crane wrote:


>> On 5/24/19 9:08 AM, Paul Sutton wrote:

> What goes on with Perl ?

Can you say "Python"?

Perl was great a while back, but it leaves something to be desired today.

-- 
Glenn English



Re: Debian Programming languages

2019-05-24 Thread ghe
On 5/24/19 11:42 AM, Jonas Smedegaard wrote:

> That's plain wrong: Debian has perl at its core, and Python not.

Please note the word "creeping." Perl is used a lot -- it's a very
powerful language, but its syntax and data structures are less than optimal.

I've written a lot of Perl, but I've become a Python convert. Python has
its warts too, but it sure is easier to live with than Perl is.

-- 
Glenn English



Re: Debian Programming languages

2019-05-24 Thread Jonas Smedegaard
Quoting mick crane (2019-05-24 19:21:33)
> On 2019-05-24 17:14, ghe wrote:
> > On 5/24/19 9:08 AM, Paul Sutton wrote:
> > 
> >> As I am trying to promote contributing to Debian,  what programming
> >> languages are mostly used?
> > 
> > C, perl, java, ruby, python, bash, that I know of. And probably several
> > others. I don't recall seeing any COBOL, though :-)
> 
> > Perl is happily off on it's own.
> 
> What goes on with Perl ?
> There is Perl6 but development is stalled ?

Perl is alive and well.

Perl6 (a different thing derived from perl) is progressing, not stalled.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Debian Programming languages

2019-05-24 Thread Thomas Schmitt
Hi,

ghe wrote:
> I don't recall seeing any COBOL, though :-)

1,122 lines of code in Buster.
See
  https://sources.debian.org/stats/#sloc_current


(Astounding how few languages are mentioned there.
 No Piet ? http://www.dangermouse.net/esoteric/piet/samples.html
)


Have a nice day :)

Thomas



Re: Debian Programming languages

2019-05-24 Thread Jonas Smedegaard
Quoting ghe (2019-05-24 18:14:42)
> On 5/24/19 9:08 AM, Paul Sutton wrote:
> 
> > As I am trying to promote contributing to Debian,  what programming
> > languages are mostly used?  
> 
> C, perl, java, ruby, python, bash, that I know of. And probably several
> others. I don't recall seeing any COBOL, though :-)
> 
> > I am asking as it helps to give people an
> > idea of what they need to learn or will learn as part of helping.
> 
> The *nix kernels, and most of the command programs, are written in C, so
> C's a must. Java and python look like a kinda fixed up, OOP C, so
> they're not too hard to deal with once you know C.
> 
> I don't know what ruby is like, but I see a lot of it in the mirrors and
> stuff.
> 
> Perl is happily off on it's own. "There's more than one way..." Boy is
> there ever. Nice to write, but it's next to impossible to understand
> other people's code. Python, IMHO, seems to be creeping up to replace it.

That's plain wrong: Debian has perl at its core, and Python not.

Also, your simplification of Perl is common among folks ignorant about 
Perl but is wrong as well: You _can_ write difficult-to-read code in 
Perl by by no means do you need to, and most Perl code in Debian - i.e. 
the thousands of CPAN modules, does not use a difficult-to-read coding 
style.

You don't need to learn _any_ specific language in order to help out 
with Debian: https://www.debian.org/intro/help


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Debian Programming languages

2019-05-24 Thread Paul Sutton


On 24/05/2019 17:51, john doe wrote:
> On 5/24/2019 6:14 PM, ghe wrote:
>> On 5/24/19 9:08 AM, Paul Sutton wrote:
>>
>>> As I am trying to promote contributing to Debian,  what programming
>>> languages are mostly used?
>> C, perl, java, ruby, python, bash, that I know of. And probably several
>> others. I don't recall seeing any COBOL, though :-)
>>
>>> I am asking as it helps to give people an
>>> idea of what they need to learn or will learn as part of helping.
>> The *nix kernels, and most of the command programs, are written in C, so
>> C's a must. Java and python look like a kinda fixed up, OOP C, so
>> they're not too hard to deal with once you know C.
>>
>> I don't know what ruby is like, but I see a lot of it in the mirrors and
>> stuff.
>>
>> Perl is happily off on it's own. "There's more than one way..." Boy is
>> there ever. Nice to write, but it's next to impossible to understand
>> other people's code. Python, IMHO, seems to be creeping up to replace it.
>>
>> Bash reminds one of the syntax of the 1950s. The pits, but necessary.
>> And it's often the best way to make something happen right now.
>>
> '/bin/sh' on Debian is Dash.
>
> So I would say, general shell scripting ability and POSIX compliance
> (Dash/Posh).
>
> Avoiding Bashism if Bash is to be used.
>
> --
> John Doe
>

Thank you for this, very helpful and useful information, I (well others
too) hopefully have something to go on when trying to tell people about
contributing to Debian. 

Granted not everyone (including me) is at developer level or may want to
get that far.

Question now is how to turn all this in to something that will hopefully
attract people to help with Debian or other free software projects that
are related.

Thanks again


Paul


Paul


-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D



Re: Debian Programming languages

2019-05-24 Thread mick crane

On 2019-05-24 17:14, ghe wrote:

On 5/24/19 9:08 AM, Paul Sutton wrote:


As I am trying to promote contributing to Debian,  what programming
languages are mostly used?


C, perl, java, ruby, python, bash, that I know of. And probably several
others. I don't recall seeing any COBOL, though :-)



Perl is happily off on it's own.


What goes on with Perl ?
There is Perl6 but development is stalled ?

mick


--
Key ID4BFEBB31



Re: Debian Programming languages

2019-05-24 Thread john doe
On 5/24/2019 6:14 PM, ghe wrote:
> On 5/24/19 9:08 AM, Paul Sutton wrote:
>
>> As I am trying to promote contributing to Debian,  what programming
>> languages are mostly used?
>
> C, perl, java, ruby, python, bash, that I know of. And probably several
> others. I don't recall seeing any COBOL, though :-)
>
>> I am asking as it helps to give people an
>> idea of what they need to learn or will learn as part of helping.
>
> The *nix kernels, and most of the command programs, are written in C, so
> C's a must. Java and python look like a kinda fixed up, OOP C, so
> they're not too hard to deal with once you know C.
>
> I don't know what ruby is like, but I see a lot of it in the mirrors and
> stuff.
>
> Perl is happily off on it's own. "There's more than one way..." Boy is
> there ever. Nice to write, but it's next to impossible to understand
> other people's code. Python, IMHO, seems to be creeping up to replace it.
>
> Bash reminds one of the syntax of the 1950s. The pits, but necessary.
> And it's often the best way to make something happen right now.
>

'/bin/sh' on Debian is Dash.

So I would say, general shell scripting ability and POSIX compliance
(Dash/Posh).

Avoiding Bashism if Bash is to be used.

--
John Doe



Re: Debian Programming languages

2019-05-24 Thread ghe
On 5/24/19 9:08 AM, Paul Sutton wrote:

> As I am trying to promote contributing to Debian,  what programming
> languages are mostly used?  

C, perl, java, ruby, python, bash, that I know of. And probably several
others. I don't recall seeing any COBOL, though :-)

> I am asking as it helps to give people an
> idea of what they need to learn or will learn as part of helping.

The *nix kernels, and most of the command programs, are written in C, so
C's a must. Java and python look like a kinda fixed up, OOP C, so
they're not too hard to deal with once you know C.

I don't know what ruby is like, but I see a lot of it in the mirrors and
stuff.

Perl is happily off on it's own. "There's more than one way..." Boy is
there ever. Nice to write, but it's next to impossible to understand
other people's code. Python, IMHO, seems to be creeping up to replace it.

Bash reminds one of the syntax of the 1950s. The pits, but necessary.
And it's often the best way to make something happen right now.

Python rules, this week (it's written in C too).

They all do things differently. Knowing several of them (and investing
in a pile of O'Reilly books) is a big help.

-- 
Glenn English



Re: Debian Programming languages

2019-05-24 Thread Jonas Smedegaard
Quoting Paul Sutton (2019-05-24 17:08:44)
> As I am trying to promote contributing to Debian, what programming 
> languages are mostly used?  I am asking as it helps to give people an 
> idea of what they need to learn or will learn as part of helping.
> 
> I am guessing as the default command line interface is bash, then bash 
> and bash scripting would be useful to learn but on top of that what 
> would people suggest I try and promote.
> 
> Not just on the coding side of things as we have markdown / html / css 
> perhaps LaTeX for documentation.

Debian excells in not being a monoculture.  Therefore I think it is 
doing Debian a disservice to try emphasize which has "majority" use.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


  1   2   3   4   5   >