Dell XPS 13 9350 y su BIOS WINDOWS

¿Microsoft? Windows ya también en la BIOS?!

Mira el cursor del ratón en la BIOS:


Ahora mira lo que puedes hacer ya desde una BIOS:


¿BIOS con más automatismos/proteccionismos/preocupantismos innecesarios? ¿Qué será lo siguiente? ¿Un antivirus para la BIOS? ¿BIOS conectada al fabricante por internet? Repugnante…

Parece que mi idea de tener Linux y Windows instalado en una VirtualBox ha sido prevista y frustrada.

Caso real:

Dell XPS 13 9350, con Ubuntu…el sistema de actualizaciones de Ubuntu…detecta una actualización para la BIOS y ¡pregunta al usuario si desea actualizarla!


Ni cuando usaba los únicos “decentes” sistemas operativos de Micro$oft Windows 95, 98 y XP, las actualizaciones automáticas podían encargarse de la actualización de la BIOS…creo recordar que era por un tema de seguridad…

Bueno, pues con el nuevo Dell xps 13 9350 y ¡su BIOS con puntero de ratón moviéndose! (¿Era esto realmente necesario?) es detectable si la BIOS es actualizable desde el propio  Ubuntu ¿Era este automatismo necesario?

¡Enhorabuena Dell!


Publicado en HARDWARE, Otros, Virtualización | Deja un comentario

Converting a Website Theme on HTML to PHP (Unix terminal)

Creating a webpage (No CMS), you have downloaded a Theme with HTML files (index.html, contact.html…) and with its HTML links inside of them (<a href=”index.html)”>home</a><a href=”contact.html)”>Contact</a>). You want to change all to PHP but not by hand one by one. You need this:

Convert all files on a directory and on its subdirectories from HTML to PHP:

sudo rename ‘s/.html$/.php/’ *.html

Replace all .html ocurrences for .php inside of the files

find . -name ‘*.php’ -exec sed -i ‘s/\.html/\.php/g’ “{}” \;



Publicado en bash, Scripts, website | Deja un comentario

Bitcoin?! Then economy and the code…metaphysically or metaphysiologically together?

Eurodollar deposit

  • Eurodollar means deposits in banks out of US which are not under the jurisdiction of the Federal Reserve
  • The Federal Open Market Comittee sets a target level for the fed funds rate, which is its primary tool for implementing monetary policy

Money Market instruments: Treasury Bills, Federal Funds, Repurchase Agreements, Negotiable Certificates of Deposit, Commercial Paper, Bankers’s Acceptance, Eurodollars deposit.

Fixed Income Securities:

  • Issuer:
    • Government:
      • Central:
        • Bill (<1 yr)
        • Notes (1-10 years)
        • Bonds (>10)
      • Local/Municipal
        • Revenue Bonds
          • Go
    • Corporate
    • International
      • Foreign Bonds
        • Yankee, Bull dog
      • Euro bonds
  • Priority
    • Subordinate
  • Coupon Rate
    • Zero Cupon
    • Fixed
    • Floating
      • Floater
      • Inverse Floater
    • Step up
  • Redemption
    • Bullet
    • With options
      • Call/put
    • Sinking Fund Provision
  • Priority of Issue Time
    • On the Run
    • Off the Run
  • Rating
    • Investment Grade
    • Junk Bonds
  • Non-Bullet
    • STRIPS
    • Inflation Indexed

Bond terms:

Face Value is commonly referred to the amount paid to a bondholder at the maturity date, given the issuer does not default.

Coupon Rate is the interest rate stated on a bond when it is issued. The coupon is typically paid semiannually

Maturity is the date on which the bond principal amount becomes due. The maternity date tells the investor when he will get his principal back and for how long he will receive interest payments.

Coupon Frequency is the frequency at which the issuer pays the interest (coupon) as per determined schedule. This frequency in case of bonds is normally semiannual.

Issuer is the identity (company or government) who borrows an amount of money (issuing the bond) and pays interest.

Redemption price is the price at which a bond or a preferred stock can be redeemed by the issuer. This price is set at the time the security is issued.

Identification code

  • ISIN is a code that uniquely identifies a specific securities issue. The organization that allocates ISINs in any particular country is the country’s respective National Numbering Agency (NNA). All internationally traded securities issuers use this numbering scheme,which is the accepted standard by  all countries.
  • CUSIP is a identification number assigned to all stocks and registered bonds. The Committee on Uniform Securities Identification Procedures (CUSIP) oversees the entire CUSIP system. The system is issued in the US and Canada
  • Rating is a grade given to bonds that indicate their credit quality. Private independent rating services such as Standard & Poor’s, Moody’s and Fitch provide these evaluations of a bond issuer’s financial strength, or it is the ability to pay a bond’s principal and interest in a timely fashion. Credit risk is the most important source of risk for owners of bonds. As a result, various rating agencies (S&P, Moody’s, Fitch and Dominon Bond) assign grades to indicate the credit quality of various bond issues.


Moody’s Rating:

Investment Grade Papaers: Aa1,Aa2, Aa3 (High Quality), A1,A2,A3 (Upper Medium Quality), Baa1, Baa2, Baa3 (Lower Medium Quality), Junk Bonds (Ba1, Ba2, Ba3, B1,B2,B3, Caa,Ca,C)

S&P’s Rating

Investment Grade Papers: AA+, AA, AA- (High Quality), A+,A,A- (Upper Medium Quality), BBB+, BBB, BBB- (Lower Medium Quality), Junk Bonds BB+, BB, BB-, B+, B, B-, CCC+, CCC, CCC-, CC, C,D (Low Grade)

Day count conventions. Three day count conventions are commonly used:

-Actual/actal – US Treasury Bonds

-30/360 – US corporate and munis

– Actual / 360 -US T Bills and Money Market instruments

Yield is the income return on a investment referring to the interest or dividends received from a security and is usually expressed annually as a percentage based on the investments’s cost. its current market value or ots face value. Bonds have four your yields:

  • Current Yield is the bond interest rate as a percentage of the current price of the bond. The current yield on a bond is simply the annual interest payment divided by its current price.

CY = (CR x FV) / P0  (CY – Current Yield, CR – Coupon Rate, FV – Face Value, P – Price)

  • Yield to maturity is the rate of return that will be earned on the bond if it is purchased at the current market price, held to maturity, and if all of the remaining coupons are reinvested at the same rate. This is the IRR of the bond.
  • Yield to Call is exactly the same as the YTM, except that it assumes that the bond will be called at the next call date.

Duration: It is a measure of the interest rate sensitivity of a bond. It refers to average tenure or weighted average maturity of the bond. It is the relationship between price and yield, which is expressed as duration in years. Duration / 1 + yield will give the modified duration. % change in price as a result of % change result in YTM = (-)mod. Duration * % change in YTM. Mod.Duration is a measure of interest rate sensitivity of the bond, all else is equal. Mod. Duration * .01 (100 bps) * current trading price will give change in price in dollar terms for a 1% change in yield (DV01)

PV01 = DV01 /100, that is expressed in terms of 1 basis point

Convexity. Duration accurately measures the interest rate sensivity of a bond for small changes in the yield, generally less than 1%. But duration being a first derivative of the price-yield function of the bond, loses its ability to accurately measure derivative of the price -yield function, Convexity is used.

Bond pricing.

The price of a financial instrument is equal to the present value of the expected cash flow.The interest rate or discount rate used to compute the present value depends on comparable securities in the market.

Pricing a noncallable / nonputable bond involves two steps – determining cash flow as and determining the required yield.

Cash flows are the periodic coupon interest payment to the maturity date of a bond and the par (maturity) value at maturity of the bond.

Required yield is determined by investigating the yield offered on comparable bonds in the market.

The price of a bond is equal to the present value of the cash flows, which is determined by adding the present value of the semi-annual coupon payments and the present value of the par or maturity value

Mortage-backed securities. A mortage-backed security (MBS) is an instrument whose cash flows depends on the cash flows of an underlying pool of mortgages. There are three types of MBS.

  1. Mortgage pass-through security (or simply pass-through) is created when one or more holders of mortgages form a collection (pool) of mortgages and sells shares or participation certificates in the pool. The cash flows of pass-through depends on the cash flow of underlying mortgages, consists of monthly mortgage payments representing interest, the scheduled repayment of principal, and any pre-payments. Payments are made to security holders each month. There are three types of pass-through securities, guaranteed  by:
    1. Government National Mortgage Association (̈́”Ginnie Mae”)
    2. Federal Home Loan Mortgage Association (“Freddie Mac”)
    3. Federal National Mortgage Association (“Fannie Mae”)
    4. The securities associated with the above agencies are known as “agency pass-though securities”
  2. Collateralized Mortgage Obligation (CMO) is a security backed by a pool of pass-troughs or a pool of mortgage loans. CMOs are structured so that there are several classes of bondholders with varying maturities. The bond classes are called “tranches”. By redirecting the cash flow from the underlying collateral, issues have created classes of bonds that have different degrees of prepayment and interest rate risk and thereby more attractive to institutional investors to satisfy asset or liability objectives than a pass though. The various types of bonds include sequential-pay bonds, planned amortization class (PAC) bonds, accrual (or Z) bonds, floating rate bonds, inverse floating-rate bonds, and very accurately determined maturity (VADM) bonds.
  3. Stripped Mortgage-Backed Securities are created by altering the distribution of principal and interest from a pro data distribution to an unequal distribution. There are two types of Stripped MBSs:
    1. Synthetic-coupon pass-throughs: The unequal distribution of coupon and principal resulted in a synthetic coupon rate that is different from the underlying collateral
    2. Interest-only / principal-only securities: Issued with all the interest is allocated to one class (interest-only or IO) and all the principal to the other class (the principal-only or PO). The IO class receives no principal payments, and the PO class receives no interest.
    3. Asset-backed securities are securities collateralized by assets that are not mortgage loans. These are structured as pass-throughs and as structures with multiple bond classes called pay-throughs, which are similar to CMOs. Three common types of asset-backed securities are those backed by credit card receivables, home equity loans, and automobile loans, and foreign bank loans. CDO are classified as either cash CDOs. A cash CDO is backed by a pool of cash market debt instruments. A synthetic CDO is a CDO where the investor has economic exposure to a pool of debt instrument, but this exposure is realized through credit derivative instruments rather than the purchase of the cash market instruments.

So, bitcoin how can be merged, just because exists an exchange option? I would like to get coins back for some old Microsoft Software…

Publicado en bitcoin, Otros | Deja un comentario

will-change new property, to increase the speed of an animation boot

Property to increase the speed boot of an animation:
$(“#element”).css(“will-change”, “animation”);
//when the animation has finished:
$(“#element”).css(“will-change”, “auto”);

(Very recommendable to not declare by css in order to delete it once it was used. So add it with JQuery selectors and methods.)
It reserves-consumes quite resources and it is powerful tool which could also crash your webpage.So like the

Spiderman’s uncle said to him, a big power requires a big responsability

More info at:

Publicado en HTML5, Javascript, website | Deja un comentario

Cuando HTML5 era más HTML5 que nunca…¡bucles for en CSS3…Saas!

¿Quieres novedades? ¿Te interesa el HTML5?

Cuando escribíamos nuestras hojas de estilos para separar…eso, nuestros estilos: colores, fuentes, anchos, altos, alineaciones….llegaron los @keyframes para además añadir movimiento a nuestro HTML…pero no se quedó ahí la cosa, es entonces cuando apareció el bucle for y las variables para hacerlo más bonito todavía:


  -(2..15).each do |i|
        -(1..i).each do |j|
$ri: 2em;
$c: cyan;
html, body { height: 100%; }
body {
  overflow: hidden;
  margin: 0;
  perspective: 10em;
  perspective-origin: 50% 0%;
  background: white;
  color: $c;
.scene {
  &, * {
    box-sizing: border-box;
    position: absolute;
    top: 50%; left: 50%;
    transform-style: preserve-3d;
  transform: translate(4em, 10em) rotateX(75deg) rotate(-22.5deg)
.assembly {
  @for $i from 1 to 15 {
    $ca: 360deg/($i + 1);
    $l: 2*$ri*(if($i != 1, tan($ca/2), 2));
    $rc: $ri/(if($i != 1, cos($ca/2), .5));
    &:nth-child(#{$i}) {
      transform: translate(0, -3.5*$i*$ri);
      animation: slide#{$i} 1s ease-in-out infinite;
      @at-root {
        @keyframes slide#{$i} {
          to { transform: translate($l, -3.5*$i*$ri); }
      .strip { background-size: $l 100%; }
      .roller {
        transform: rotateY($ca/2) translateZ($rc) rotateY(-$ca/2);
        animation: inherit;
        animation-name: roll#{$i};
        @at-root {
          @keyframes roll#{$i} {
            to {
              transform: rotateY(-$ca/2) 
                         translateZ($rc) rotateY(-$ca/2);
      .side {
        margin: –$ri (-$l/2);
        width: $l; height: 2*$ri;
        @for $j from 0 to $i + 1
          &:nth-child(#{$j + 1})
            transform: rotateY($j*$ca) 
                       if($i != 1, translateZ(-$ri), ());
.strip {
  margin: –$ri -1px;
  width: 120em; height: 2*$ri;
  border: solid .125em $c;
    linear-gradient(90deg, $c .125em, transparent 0);
  background-position: -1px 0;
.side {
  border: solid .125em $c;
  &:before, &:after {
    position: absolute;
    left: 0;
    width: inherit; height: .125em;
    background: $c;
    transform: rotateX(90deg);
    content: ”;
  &:before { top: -1px; }
  &:after { bottom: -1px; }

Para verlo en acción:

¡Que aproveche!

Publicado en HTML5, Javascript, Otros, website | Deja un comentario

R Programming language

After a mini-training at #codeSchool with #R, I conclude with a good feeling because of the abstraction level and the possibilities with statistics (Before, was pending algebra in my agenda. Now also, remember all the statistics I forgot….now, more and more, I need a good course from the university P2P about maths) and #BigData.

The possibility of being accessible from #python, for example, generates many possibilities. But, probably is not a good idea to work with it in the client (Batteries, and less powerful devices), but I really miss a JavaScript (JQuery) – R connection… ¿Or maybe already exists a good JS library for this?

I add some screenshots of R from the codeschool.

R1 R3 R2


Publicado en Backend, BigData, Opinión, Otros | Deja un comentario

Funny conversation about Bitcoin

During a normal day, just reading and sharing info about Bitcoin:

– Did you know about it?

– I know about bit coin, it is also used by people behind dangerous viruses…not possible to find them at all

(True and demonstrable conversation)

(I could write infinite smiles, but the servers of this platform will not have enough space in their hard disks)

Publicado en Otros | Deja un comentario