Tag Archives: SI

Launch a text program inside a konsole at startup

By pierpier

Hi ULFers,

I am trying to setup a (very) simple startup script on a centos 6.4 computer and it kind of failed…. Here are the details :

As said just above the computer setup is running a CentOS 6.4 x64, on this computer a vncserver is automatically started (by a chkconfig vncserver on), i use this vncserver to remotely access the computer and to run ktorrent too.
This setup worked very well for the last 3 years (upon different Fedora based distros).

I have to use rtorrent for some private tracker, i then would like to make it (rtorrent) startup automaticallyjust like ktorrent.

I wrote a little piece of script to achieve what i thought to be a simple and quick task, BUT, it doesn’t work.

I created a new user (called rtorrent_user) to run rtorrent app, i also setup a sudo to allow the vncserver user to run rtorrent app as rtorrent_user.

When i launch the script from a konsole everything works, but when i setup the script for an automatic startup (symlinking manually or using the CentOS GUI) the script ran but no konsole+rtorrent appears…

If you have an idea ???

Here is the script :

Code:

#!/bin/bash

# Start rtorrent automatically when vncserver start for user "pier"
# add rtorrent to the X server "access control list" :
wall "launched"
xhost + SI:localuser:rtorrent
# No start rtorrent from inside a "konsole" (the following requires a correct sudoers file) :
konsole -e sudo -u rtorrent konsole -e rtorrent


The wall command allow me to ensure the script was really launched at startp, and it did but nothing happened after….

From: http://www.unix.com/shell-programming-scripting/221689-launch-text-program-inside-konsole-startup.html

SI Financial Buying Newport Bancorp

By Rich Smith, The Motley Fool

Filed under:

It’s been a little over a month since Newport Bancorp issued its Q4 2012 earnings report, showing that the company grew profits ($0.14 per share), but lost assets (which shrank by 1%). Now, it appears that this is the last report the tiny bank holding company will ever make.

On Tuesday, rival banker SI Financial Group , the holding company for Savings Institute Bank and Trust Company, announced that it has agreed to buy Newport for $17.55 per share, payable either in cash, or in the form of 1.5129 shares of SI stock per share of Newport acquired, as the shareholder prefers. As is usual in such cash-and-stock deals, SI has set limits on the amount of either cash or stock it will be required to produce, such that if more than 50% of shareholders choose to be cashed out either in cash or in stock, then payment will be pro rata. (This means that Newport shareholders will have to accept a mix of cash and stock as their purchase price.) The total implied value of SI‘s takeover bid is therefore roughly $61.3 million.

By acquiring Newport, SI will add $449.4 million in assets, $355.0 million in loans, and $289.7 million in deposits. It will also gain entry into the banking markets of Newport and Washington Counties in Rhode Island, where Newport has five full-service branches, and will add Newport’s single branch in Stonington, Connecticut.

SI says it expects the acquisition to be “immediately accretive to its earnings per share, excluding one-time transaction expenses.” Yet, even so, because the deal was announced after hours, it’s hard to say how investors will react to the news. Given that SI says it is paying “116% of Newport Bancorp‘s tangible book value” to acquire the company, and given that SI‘s own price-to-TBV  is only 0.9, a negative shareholder reaction seems likely. Conversely, Newport shareholders will probably be pleased. At $17.55 per share, they’re being offered an immediate 11% premium to Newport’s Tuesday closing share price.

The article SI Financial Buying Newport Bancorp originally appeared on Fool.com.

Fool contributor Rich Smith has no position in any stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. All rights reserved. The Motley Fool has a disclosure policy.

(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement(“script”);
b.type=”text/javascript”;b.async=!0;b.src=(“https:”===c.location.protocol?”https:”:”http:”)+
‘//cdn.mxpnl.com/libs/mixpanel-2.2.min.js’;d=c.getElementsByTagName(“script”)[0];
d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
var c=b.split(“.”);2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(
Array.prototype.slice.call(arguments,0)))}}var g=a;”undefined”!==typeof f?g=a[f]=[]:
f=”mixpanel”;g.people=g.people||[];h=[‘disable’,’track’,’track_pageview’,’track_links’,
‘track_forms’,’register’,’register_once’,’unregister’,’identify’,’alias’,’name_tag’,
…read more
Source: FULL ARTICLE at DailyFinance

Kate Upton Freezes for Sake of Sports Illustrated

By Evann Gastaldo For the second year running , Kate Upton graces the cover of the Sports Illustrated swimsuit issue . And this year, the apparently sadistic SI bosses thought it would be fun to make the 20-year-old stand, in bikini bottoms and an unzipped jacket, in icy Antarctica for the cover shoot. Upton was… …read more
Source: FULL ARTICLE at Newser – Home

Journalists and Performance-Enhancing Substances

By Karl Shmavonian, Forbes Staff The sports world has been in a tizzy this week as Sports Illustrated alleged that earlier this year Ravens linebacker Ray Lewis used deer antler spray, which contains a growth hormone, to heal his torn triceps. In that same SI article golfer Vijay Singh admitted to also using the concoction. (Doesn’t deer antler spray sound like an aphrodisiac you’d buy online or in the back of a one-hand, laddie magazine?: “Buy Bambi and drive her wild!”) And in an article in the Miami New Times, Alex Rodriguez and others were accused of using performance-enhancing drugs (PEDs) in the past few years. It is important to note that these are just accusations at this point, nothing has been substantiated. All of this in the wake of the Lance Armstrong saga.
Source: FULL ARTICLE at Forbes Latest

Scott James Remnant: Nike+ FuelBand Review

For the past couple of years I’ve been getting myself into much better shape and taking my fitness and exercise seriously. I’m even typing this blog post from a standing desk! As such fitness trackers like the FitBit One and the Nike+ FuelBand have been intriguing.

I’ve been using the Nike+ for the past six weeks or so to try it out and see whether these kinds of things provide any use.

I chose the Nike+ over the other options largely because the wrist band seemed a lot less loseable than the belt or pocket clip options like the FitBit. This decision is not without its problems though. Due to the design it’s pretty important to get the right size, and they provide a printable PDF for you to measure your wrist, and the box includes a larger link spacer to provide for an alternate size.

This means the majority of us, myself included, aren’t ever going to be the perfect size for the band. With the smaller link it fit very snugly around my wrist, to the degree where it was uncomfortable at times; also with this fit it was impossible to wear it under gloves when at the gym, or while snowboarding. I experimented with the larger link and found that too lose, the band moving around on my wrist was just annoying.

I also found a large variation in the readings between bands, with a lot more “fuel” (more on that in a moment) being recorded with the tighter fit than the looser.

The band otherwise is pretty attractive, especially in the white “ice” version. A button activates the display and gives you an option between displaying the time, “fuel”, calories and number of steps with a gauge of how close to reach a daily goal you are. If you hit that goal, the next time you press the button it does a cute goal animation.

And the next time. And the next time. In fact unless you set yourself a difficult goal, you’ll get pretty bored of seeing GOAL! when you just want to know what time it is in the evening.

Back to the “fuel”, that’s what this device measures. The more activity you do in a given day, the more fuel you record. Your daily goal is set in fuel, and when you sync with your phone and the Nike+ website, it’s fuel that is charted for you.

Nike claim that fuel is calculated in a clever way to harmonize results between their devices, and between different people, and that’s why it reports that figure rather than a more conventional one. And that’s a huge problem.

Conventional units, such as Calories and joules are part of systems such as metric and SI. The most useful part of these systems isn’t just standardization of that unit, but standard conversion between units of different types.

I know how roughly how many Calories a given amount of food will provide. I know roughly how many Calories a given exercise at the gym that the FuelBand cannot measure will burn. I know roughly how many extra Calories consumed or burnt correspond to a given amount of body weight gained or lost. Unit systems are great!

I don’t know how much Nike+ “fuel” I’ll need to burn if I eat this delicious tub of Ben & Jerry’s ice cream. I don’t know how much Nike+ “fuel” I’ll burn bench pressing at the gym. And I certainly don’t know whether the 3,000 “fuel” I burned today will mean I’ll gain or lose half a pound.

The only possible use of the device therefore is gamification, competing with my friends to do more activity, especially given the claim by Nike+ that two different people will burn the same amount of “fuel” for the same activity.

Unfortunately it clearly doesn’t. A friend has the band too, and after a day of snowboarding it recorded over 4,000 fuel for him. After a day of snowboarding, mine recorded less than 1,000.

So it’s not even a suitable game device. It’s a cute watch though, but who wears those nowadays?

Source: FULL ARTICLE at Planet Ubuntu