Tag Archives: Linux

Expert of Linux dependency Hell with their package manager

After I sent this,

Linux Mint Is Still the Leading Desktop Distribution

I got this reply from a newsletter subscriber: (thanks to this person sending this)

One potential problem with Linux Mint, is that you can still experience dependency Hell.  Its default package manager, like most linuces, cannot allow two versions of any library or software to co-exist on the same computer at the same time.  Generally, but reportedly not always, such package managers will also not allow you to install software into a directory of your choosing; as is almost always the case on Windows.  You may be able to use the second-generation package manager LinuxBrew on Mint and other Linuces; and that may be a very good idea if it works, but I make no guarantees.  The main Distros built around a second-generation package manager are Gobo Linux, and NixOS.  NixOS uses a declarative language package manager (for better or worse), and has a much larger user base, but it is pretty new.  In the past, it had a problem with uninstalling old versions of packages, but I think that is much improved by now.  Gobo Linux does some fancy footwork so that it has a Mac-like file structure.  It can download a file and all its dependencies into a single directory, and you can make it anywhere you like.  Some tech pundits complain that software doesn’t reside in typical directories for Unix, such as /bin and /usr, but this is the way things work on the Mac, and this feature seems pretty popular with users.

Ubuntu-based derivatives have better driver support, so maybe if LinuxBrew works well for you, this might be the best route.  I had lots of problems with dependency Hell in the past, and quit using linuces.  If I were to go back, I would either use LinuxBrew, or use NixOS or Gobo Linux.  Of course, there are Hackintoshes, if you want to go that route, but you probably don’t want to blog about that.
—-
Arch too is usually managed with pacman, which, like most Linux package managers, is subject to dependency Hell.  I.e., if you want to install two different programs that use e.g. two different versions of a library like zlib to read .zip files, when you go to install the second program, it will offer to uninstall the old zlib, and update to the newer version.  It will also be offering to uninstall the program that used the old version of the zlib, and will not allow both to be on the same system at the same time.  This is a tame hypothetical example of the kind of dependency Hell I’ve experienced.  If you, like I, might prefer to put audio apps or games in their own separate directory, so as to keep an eye on the size of all audio apps or games, it is either very hard, or impossible.  I have a background in computer programming myself (surprise), and believe this above all else, is what has hampered the large-scale adoption of Unix/Linux.  While I’ve only posted this point of view one other place, I’d really like to see second-generation package managers eclipse the old ones.

Manjaor Linux

I was thinking it probably used pacman, but now notice that Manjaro uses pacmac, a package manager designed for the Mac, but is not a direct port of pacman.  I don’t find a lot of documentation on it online.  Not a good sign, but perhaps it has a good man page.  My recommendation is to try to determine if pacmac can install to a specified directory, and tolerate different versions of libraries to co-exist at the same time.  To be fair, many users don’t need anything but the latest versions.  If the latest version of some software comes up with a bug that makes it unusable, you will probably want to find an old version, or a beta.  If you do that, if ANYTHING else use ANY library in common with it, hello dependency Hell.  If you’ve ever been caught in that, you’ll know it can be a session frustrating enough to make you want to pull out your hair.  I consider these landmines waiting to happen.
One time (if memory serves, or else I’m just confusing it with a time I tried to uninstall a media player, but I think that was a second time such a thing happened)  tried to install a different version of a program on Ubuntu, and since they have taken the insipid step of making it so that if you e.g. uninstall a media player, game, or ANYTHING it comes with, you wind up uninstalling the whole GUI desktop.  I wound up with a bash prompt, and NO desktop or desktop apps installed, whatsoever.  I think it was a command line package I was trying to downgrade.  I’m trying to warn you off of such nightmares.  Fortunately, Arch does not have such a ridiculous setup, but there’s still really still almost no end to the chaos that a conventional package manager can cause if you try to install another version.  This NEVER happensOne potential problem with Linux Mint, is that you can still experience dependency Hell.  Its default package manager, like most linuces, cannot allow two versions of any library or software to co-exist on the same computer at the same time. on Mac or Windows.  Mac and Windows are by far more popular.  Go figure.
PS: I was told you can install a package to a user-specified directory in CentOS.  I looked at it briefly, and it didn’t seem very easy.  I think there is a way to edit an RPM package to install in a user-specified folder, also; FWIW.
PPS: The nick I use on technical forums the most often is CodeLurker, if you want to know who to have it signed by.

Red hat Linux vs Fedora

They share a lot of code, apparently.  Red Hat Enterprise, if memory serves, is the more stable of the two, being for businesses, but at the cost of a slower release schedule.  Fedora would be for “consumers.”  CentOS, like Red Hat, uses RPM (Redhat Package Manager) archives.  It is probably possible to install to different directories in Red Hat, like CentOS; but CentOS uses Yum to install RPM packages.  I’ve been told by a system admin friend you can install to different directoris in Yum, so maybe Red Hat too.  I tried to look up how to do it in Yum, but it didn’t look easy (to me, anyway).  I think all are susceptible to dependency Hell.
For automated trading, I’d choose Red Hat over Fedora, for the sake of stability.  While Fedora might have more drivers, and should have more recently updated software, Red Hat is Big Blue’s (IBM’s) flagship.  However, I’d hold out for NixOS, Gobo Linux, or something that uses a second generation package manager, such as Nix package manager, the Guix package manager, “based loosely on Nix,” or LinuxBrew.
Note that OS independent package managers such as the three 2nd gen ones I listed might run on any distro.  I forgot to mention that most Linuces are FAR more secure than ANY version of Windows.  First, Windows admits tons of hacks all the time, at hackfests.  Second, most system security breaker hackers (I don’t want to dignify them by just calling them “hackers”), don’t bother with Linux/Unix, because it has so few users.  Third, it just seems to have much stronger security.  I imagine Big Blue is pretty quick to eliminate security vulnerabilities when it finds them.  When I looked at more secure distros, the trade-off there seemed to be fewer drivers for these more exotic distros – but then, it doesn’t really matter if you can do what you want on them.  This would me more true for a trading system than for general use; IMHO.
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Linux Mint Is Still the Leading Desktop Distribution

I will be needing to deploy my Python system onto a Linux based operating system. It seems some of the Python packages are incompatible on Windows for whatever reason. They will run with no issues on Mac OS. I just find the extra hardware I need is not really worth the price for these needs. As a result, I want to deploy onto a Linux distribution. I have looked at the standards of Ubuntu, Mint, Debian, and now Manjaro. I hope you even seen my Youtube video on the ones for OpenBSD which is really Unix. This BSD is much more secure and private than a standard Linux version. Do understand going down the path of a BSD is really built for software developer sand advanced technical nerds. Here is a one option we need to consider about the Linux distributions.

 

https://www.fossmint.com/linux-mint-is-still-the-leading-desktop-distribution/amp/

 

Just as a reminder about my private event for my full ELITE members, I will focusing on debugging your trading strategy via logs. Just over the last 3 days, my strategy has been tweaked quite a because of the extreme volatility of the crypto markets. I will explain the methods used and logic used tor the tweaks of different set of market data reports.

 

Just a reminder over the last few days.

NOTE: We are running out of time if you want to be part this event. I am not sure if I will be keeping the recorded replay video around for very long due to the extra trading edge it gives. This is no different than the trading harmonics video I did a few months ago. Just remember that has now vanished permanently as well. You will need to get in touch with me immediately if interested in attend this exclusive event. Just email or reach out via my social media channels.

 

I have an important event for my Quant Elite members on Tues regarding debugging you trading strategy with logs, I thought I would make a last offer for those interested in this event. I don’t think I will even record as it is meant for ANNUAL FULL ELITE members.If you are interested in knowing further about this, get in touch with me right away to be included on the details of this. It takes place this Tues Sep11 6pm Eastern Standard time

I just posted this yesterday.

I have put together a 20 minute video describing the wild losses of yesterday my system picked up. It was apparently one of the worst days for the crypto currency asset class in about a year. As a result, I made some huge improvements which looks like I may have resolved. I even offer some debugging tips to help out here. As a result of this, you may want to check out this video here.

As said, if you are interested in this event for Tuesday,get in touch right away to make your arrangements to be part of this. This is a topic that not many talk about but as a programmer, this point of view gives you a unique perspective in trading for big profit!

Thanks Bryan

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
Microsoft

Do a code walkthrough on your operating system? Microsoft will have a Linux version

Do a code walkthrough on your operating system? Microsoft will have a Linux version

It looks like Microsoft is trying to create a small Linux for some cloud solution on Azure. Do you really still trust this software maker? They seem to embed all kinds of backdoors into their latest Windows 10. Ugh. There are all kind of security breaches if you looked on Youtube.

Hackers want to know you

If you are trying to trade live money on an account, I can assure you that hackers would love to know about you. As a result, I have always recommended better operating systems like a BSD (free UNIX) or Linux. I made a video about a week on this topic.

You can visit here to get more info on this topic.

https://quantlabs.net/blog/2018/04/intro-secure-os-openbsd-sexiest-manjaro-deepin-linux/

It will demonstrate Open BSD which is one of the most secure operating systems out there. The second most popular Linux distribution called Manjaro with a sexy graphical user interface like DeepIn is pretty to use. The distribution package manager looks very easy to use.

Lastly, I am quite surprised on how well my old legacy R course was quite popular. In case you missed it, here are the details:

I just posted this old legacy R course if you are interested. This include R code walkthrough. I have many posted on this language here 

Purchase here if interested

http://quantlabs.net/academy/buy-all-of-our-r-courses/

To be quite honest, I am quite surprised on how popular this seems to be among my site visitors.

Note that this is older version of R using version 2.15!

Here are the details with a video at this location

R Course with Technical Analysis

R Course with Technical Analysis

 

Module 1

Technical Analysis in R

 

Technical Analysis in R

Unit 1

30 day moving average function

Unit 2

2 sided moving average for mean rolling window

Unit 3

R Code Walkthrough Improved Moving Average using intra day for Forex data

Unit 4

The improved moving average

Unit 5

R Code Wakthrough Simple Moving Averag Strategy with Volatility Filter

Unit 6

Love level Improved Moving Average functions with testing code

Unit 7

R source code for trading script with update portfolio, position size, MA, cross over, SMA, optimize parameters pt 2

Unit 8

R source code for trading script including MACD, Omega performance, RSI, and Bollinger Band measuring strategy and portfolio performance with plots Pt 3

GARCH 

Module 1

Quant trading in R

 

Quant trading in R

Unit 1

Walthrough Parallel R Model Prediction Building and Analytics

Unit 2

Intro to GARCH forecasting with various R packages

Unit 3

How to use GARCH for predict market movements

Unit 4

How to use GARCH to predict distributions

Unit 5

GARCH trading R script walkthrough with a rolling window

R Course with Quant

R Course with Quant

 

Module 1

Intro

 

Intro

Unit 2

An ARMA model R code walkthrough

Unit 3

Checklist of forecasting with ARIMA: is time series stationary, differentiate, ARIMA(p,d,q), and which AMRA model to use?

Unit 4

R code walkthrough: Detrend to use Auto ARIMA modelling and forecast with statistical data and Ljung BoxTest

Unit 5

My first version of ARIMA R script with Forex data and Equity 1 and 5 min frequency

Unit 6

Bayesian analysis to Compare algorithms with Gibbs

Unit 7

Markov Chain R source code walkthrough

Unit 8

Monte Carlo R Walkthrough Demo

Unit 9

An alternative to running a Monte Carlo simulation

Unit 10

R code walkthrough Mean Absolute Deviation with Efficiency Frontiers Demo

R Course with Mean Reversion and Pair Trading

 

Module 1

Mean Reversion in R

 

Mean Reversion in R

Unit 1

Backtesting a Strategy with Mean Reversion

Unit 2

Mean Reversion Euler with Ornstein Uhlenbeck process

Unit 3

Pairs trading R source code walkthrough with mean reverting logic, spread and beta calculation

Module 2

Pair Trading in R

 

Pair Trading in R

Unit 1

Poor mans Pair Trading with Cointegration R Walkthrough

Unit 2

Pair trading with S&P 500 companies

Unit 3

Pairs trading with testing cointegration

Unit 4

Seasonal pair trading

Unit 5

 

Unit 6

Pairs Trading R Code Walkthrough

Unit 7

Pairs trading with a Hedge Ratio Demo

Unit 8

R Code Walkthrough Back testing with trading pair with CAPM

Unit 9

Gold versus Fear in Cointegration test

R Course with Arbitrage and Volatility

Arbitrage and Volatility

 

Module 1

Arbitrage in R

 

Arbitrage in R

Unit 1

Beating a random walk with arbitrage

Unit 2

Beating a random walk with arbitrage

Unit 3

Time Based Arbitrage Opportunities in Tick Data: Why low latency is needed in HFT?

Unit 4

Building a currency graph with arbitrage

Unit 5

Arbitrage: Modelling returns with CAPM APT aka Abritrage Pricing Theory

Unit 6

Indian equity market index NIFTY anaysis with CAPM vs APT aribitrage pricing theory using PCA and moment analysis

Module 2

Volatility in R

 

Volatility in R

Unit 1

R Code Walkthrough Adding a volatility filter with VIX

Unit 2

R Code Wakthrough Simple Moving Averag Strategy with Volatility Filter

Unit 3

Mean Reverting with Volatility Spike

Unit 4

Trading with GARCH volatility R script walkthrough demo

Unit 5

Jeff Augen volatility spike code

 

Reminder from yesterday. This closes out TONIGHT as well:

 

 

 

This is the your chance to learn about behind the scenes of these trading patterns I presented on Monday night. I have made this replay video now private which means it is only available to my Quant Elite Members. This is a very limited and exclusive offering to access it! I even revealed the source of how the Python code was created to generate them, This will never be seen again after this Friday! It is way too valuable that I don’t need the world to know how these work.

 

This posting will be removed this Friday night Eastern Standard Time (same as NYC)!

 

I Want To Learn Trading Patterns Now

Get your access to this via my 3 month Quant Elite Membership if interested!

 

Please find the upcoming new items I will be adding the next few months for this membership:

 

1. Live Q&A workshop bootcamp for the Python 3 Infrastructure Course for a Primitive Algo/Automtated Trading System

2. Packaged up course of using Dukascopy JForex API for automated forex and CFD trading. (this is partially done now with access for this membership)

3. Daily charting within the Quant Analytics service.

 

Here are the details with benefits of this trial membership

http://quantlabs.net/academy/introduction-quant-elite-membership/

 

REMEMBER: My patterns talk will be removed forever as of Friday!!!

 

Always remember I just created the online store for all other product and services.

I Want to Learn Trading Patterns Now

Please find the upcoming new items I will be adding the next few months for this membership:

 

1. Live Q&A workshop bootcamp for the Python 3 Infrastructure Course for a Primitive Algo/Automtated Trading System

2. Packaged up course of using Dukascopy JForex API for automated forex and CFD trading. (this is partially done now with access for this membership)

3. Daily charting within the Quant Analytics service.

 

Here are the details with benefits of this trial membership

http://quantlabs.net/academy/introduction-quant-elite-membership/

 

RMEMEBER: My patterns talk will be removed forever as of Friday!!!

 

Always remember I just created the online store for all other product and services.

P.S. Let me know if you are interested in an annual term as well.

Introducing trading patterns that work 50 to 60 percent with stop loss

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Screw Apple! Intro to most secure OS OpenBSD with sexiest Manjaro DeepIn Linux

Screw Apple! Intro to most secure OS OpenBSD with sexiest Manjaro DeepIn Linux

Yah Security and Privacy

What can I say? Security and sexy. Sounds deadly? I made a usual  twenty video for this.

Screw Apple and Microsoft with their track and other shenanigans. Apple no more since they don’t want to provide the one on one service they used to provide in their stores. I mean what is the point in paying extra premium when you are not getting the service.

 

Death of Apple started while crypto currency event tonite

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Linux cloud options for your remote trading server 

Linux options cloud option for your remote trading server

Xrdp linux Rdp <– Open source RDP server for your Linux/BSD server installation with your JForex installation

1 blu ISP <– https://www.1blu.de affordable German based ISP for your server remote  installation close to Geneva Switzerland for quick connectivity with Dukascopy

Server4u <– Another competitor to Server4u

Ubuntu mate desktop <- one desktop option for Ubuntu Linux with a close look to Windows

Image file of preconfigured software

All thanks again to Apple screwing around in their customer service

Death of Apple starts today 

Hardening FreeBSD is better than Linux anyday

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Death of Apple started last while FreeBSD security trumps Linux

Death of Apple started last while FreeBSD security trumps Linux

 

Two articles that spawned this podcast/video

 

Hardening FreeBSD is better than Linux anyday

Death of Apple starts today 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Hardening FreeBSD is better than Linux anyday

Hardening FreeBSD is better than Linux anyday

Some noes I have found on hardening or securing your FreeBSD server intallation

https://forums.freebsd.org/threads/41750/

Security

https://forums.freebsd.org/threads/28370/

Firewall packet filtering

https://forums.freebsd.org/threads/28370/

Use ZFS

https://forums.freebsd.org/threads/28370/

ZFS Encryption

https://forums.freebsd.org/threads/56869/

FreeBSD and ZFS Encryption

Redis on Linux Preferred

https://groups.google.com/forum/m/#!topic/redis-db/mwKR9w-A8T8

https://www.webair.com/community/redis-install-steps-freebsd/

https://stackoverflow.com/questions/44447809/redis-installed-on-freebsd-via-pkg-or-ports-can-not-run

Hardening

https://fleximus.org/howto/secure-freebsd

How to Harden FreeBSD

FreeBSD over Linux

FreeBsd Vs OpenBsd

 

This is what spawned this analysis so  I can confirm deploying my trading stuff on FreeBSD

Death of Apple starts today 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How to download git repo projects on Apple Mac OS or Ubtuntu Linux

How to download git repo projects on Apple Mac OS or Ubtuntu Linux

Here are the links found in this video targeted for my newbies struggling with this

https://brew.sh/

https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-16-04

https://help.ubuntu.com/community/AptGet/Howto

https://github.com/askmike/gekko

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Tutorial on install Python 3 with VirtualBox and Ubuntu Linux

Tutorial on install Python 3 with VirtualBox and Ubuntu Linux

Install Python 3.5

Virtual Box

Ubuntu

python 3.5

apt-get install python https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get

apt-get install python3-pip

Also upgrade with pip3 install –upgrade pip

pip install pandas

pip install numpy

pip install matplotlib

for Matplotlib in Python 3.x, run:

sudo apt-get install python3-tk

Jetbrains Pycharm

 

 

Other helpful links in the video

https://www.jetbrains.com/pycharm-edu/quickstart/installation.html#linux

https://www.virtualbox.org/wiki/Downloads

http://distrowatch.com/

https://www.ubuntu.com/download

https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get

http://stackoverflow.com/questions/38613316/how-to-upgrade-pip3

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Which Linux distro for modern Python 3 upgrade

Which Linux distro for modern Python 3 upgrade

Here the links mentioned in the video

Overview Python Infrastructure Building Blocks

 

http://distrowatch.com/

http://distrowatch.com/table.php?distribution=debian

https://wiki.debian.org/apt-get

https://www.python.org/

https://www.virtualbox.org/

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!