Profile

Cover photo
Reini Urban
Lives in Dresden
709 followers|386,238 views
AboutPostsPhotosVideos+1'sReviews

Stream

Reini Urban

Shared publicly  - 
 
List of predicted Cannes movies 2016
1
Add a comment...

Reini Urban

Shared publicly  - 
1
Add a comment...

Reini Urban

Shared publicly  - 
B::C and cperl has now proper support for copy-on-grow (COG) and copy-on-write (COW) arrays. COG means that the array of SV* pointers is allocated by the compiler statically, not dynamically, and that the cperl runtime creates a new array whenever the array is extended (copy-on-grow).
1
Add a comment...

Reini Urban

Shared publicly  - 
 
 
Adventures with systemd

I have just had my first real production interaction with systemd. I should warn partisans in advance that the conclusion is not clearly pro- or anti-systemd, the upshot is, there's a surprise interaction, and the means to manage it. Also the Debian community is awesome.

My issue was, for several systems, mostly VMs and cluster nodes in a test cluster that I'm setting up, the default config on Debian Jessie upgraded from Wheezy, SSH sessions do not cleanly exit when the system reboots. This is bad because my cluster-management tools, which push commands out to all the systems via ssh, will fail to exit or generate error codes which are false positives in this circumstance. Rebooting is rare, but important.

There's a Debian bug thread about this, linked below, and there are two solutions, both of which work, and I have used each in different circumstances.
   
The first solution is to enable "UsePAM" in your sshd config. Apparently, with UsePAM turned on and libpam-systemd installed, SSH sessions get registered in some global set of connections, and can be found and cleaned up at shut-down time. To my mind, this is a pretty strange interaction, and represents the kind new, poorly-managed global state that we were all freaking out about when we first learned about systemd. I have implemented this solution on the head node of the cluster in question, and it works.
  
For the client nodes of the cluster, I didn't really like this solution, it has the bad side effect of making all SSH connections display the message of the day and other status info (last log-in, etc.) that comes from working the PAM mechanism. Because client nodes do daemon-driven MPI connections, it's important that these connections be clean, there should be no status messages or other system traffic, once the SSH handshake is finished, it should go straight to the MPI traffic, otherwise MPI can get confused and behave poorly. One can in principle edit the PAM config to eliminate the superfluous messages, but you might still want them for console log-ins, and even so, you can still do it, just have the pam-ssh files not use any of the common-auth or common-session stuff, but then there's a lot of near-redundancy, it feels like the wrong scope.

Fortunately, there's the second solution -- if you disable "ssh.service" and enable "ssh.socket", you get clean session termination without requiring PAM in the sshd_config. This is what I have done on the client nodes of my cluster.

So, as I say, my first real operational issue connected with systemd, and so far so good.
Package: openssh-server Version: 1:6.6p1-5 Severity: normal Hi. Since openssh-server comes with systemd support, whenever a host is shut down or restarted, ssh connections to that host just hang and are no longer cleanly terminated (one also doesn't see the shutdown message anymore).
9 comments on original post
1
Add a comment...

Reini Urban

Shared publicly  - 
 
I ordered now a 2nd SteelSeries 6Gv2 mechanical keyboard, US-english, IMHO the only good keyboard for programmers. The price went down from >100 to 80. They still market it as gamers keyboard. Do only gamers buy good keyboards?
The Logitech G710+ has also some good mechanics, and even some programmable (Emacs or Unicode) keys, but a bad linux driver.
The only other option is the Razer BlackWidow Ultimate, which is IMHO not suitable for programmers. 
I tried now about 20 mechanical keyboards. In Germany they don't have US-English keyboards for programmers at all, so you have to try the mechanics on a German layout, and then order the US variant.
3
Reini Urban's profile photoNorbert Thek's profile photo
3 comments
 
I use the MX Brown...
pro:  best keys for typing :)
con:  quite loud :-(   (The Logitech Mecha have extra dampener rings to reduce noise)
Add a comment...
Have him in circles
709 people
Darin McBride's profile photo
Stéphanie Rochelemagne's profile photo
klaus jahnel's profile photo
Elad Moshe's profile photo
Curtis Poe's profile photo
Lothar Mengel's profile photo
Karen Pauley's profile photo
Aaron Crane's profile photo
Zbigniew Łukasiak's profile photo

Reini Urban

Shared publicly  - 
1
Add a comment...

Reini Urban

Shared publicly  - 
 
Treffende Kritik
 ·  Translate
Frankreich, Belgien 2016. Regie: Benoît Delépine, Gustave Kervern. Mit: Gérard Depardieu, Benoît Poelvoorde.
1
Add a comment...

Reini Urban

Shared publicly  - 
 
Discussion of the new cperl type system (in work)

Benefits and throwbacks
1
Add a comment...

Reini Urban

Shared publicly  - 
 
 
Just wanted to share something cool. The music service I'm working with to port their Node to Dart, are LOVING Dart so much.

At first they thought it was going to take them a long time to port their code because it is a new language for them, but it's been a few weeks and most of it ported.

They loved it so much, that we're now working on porting their front-end music player from JS to Dart.

Thanks Dart Team! You guys are doing an amazing job.

Once the product is ready to launch, i'll share it here!
4 comments on original post
1
Add a comment...

Reini Urban

Shared publicly  - 
 
Argh, today I had to write a op_clone tree copier from scratch for my inliner. Copying graphs is not trivial, with pointers pointing inside and outside. In #perl5 we only had functions to clone data, but not code. op_clone keeps the data, but the inlined function needs to change some ops. esp. nextstate and args: by ref and if by value with a copy of the data.
My old attempt was fast, but destructively modified each inlined function in the definition.
  
More memory (max 10 copied ops per inlined cv), but more speed. No costly arg handling, no costly call and leave handling. Using the stack naturally and not as hackish and expensive as currently. Supporting fast call-by-ref, constants and literals and call-by-value, everything compile-time.
Now the loop-unroller will also be trivial.

BTW: nextstate is horror. It ends a statement, every ';',
and it resets the SP, the stack pointer, for each new line. A normal compiler would keep track of the stack context and would not pollute the stack with unconsumed data. lhs expr should not push their results to the stack, unless it's the end of a function.
For my inliner I added 2 new state ops, to keep the SP inside inlined functions, setstate and keepstate. Horrible, but so far an easier hack than rewriting the compiler to honor the lhs context properly.
1
Add a comment...

Reini Urban

Shared publicly  - 
 
darwin quirks with gethostbyname()
There is more than one way to make perl5 twice as fast, but this is what I did today. I fixed it on one machine. My Macbook Air gives constantly better results in my hash function benchmarks than my big Linux Desktop PC, because it has a newer i7 Haswell, and the linux has only an older i5 CPU.
1
Rocky Bernstein's profile photo
 
There's an old saying: "It only hurts when I laugh." Here I think it only hurts when I'm not laughing.
Add a comment...
People
Have him in circles
709 people
Darin McBride's profile photo
Stéphanie Rochelemagne's profile photo
klaus jahnel's profile photo
Elad Moshe's profile photo
Curtis Poe's profile photo
Lothar Mengel's profile photo
Karen Pauley's profile photo
Aaron Crane's profile photo
Zbigniew Łukasiak's profile photo
Collections Reini is following
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Dresden
Previously
Houston, TX, USA - Graz, Austria
Story
Tagline
cPanel
Introduction
There are two Reini Urban's from the Technical University in Graz. The other one is Bani. I'm the Ex-Architect, Ex-AutoCAD, xarch, x-ray, Ex-Helsinki, Ex-Inode, movie critic and prominent surfer from Graz, Austria. 
Formerly mostly Lisp, nowadays mostly Perl as I'm only dealing with really simple problems.
Work
Occupation
Senior Software Developer
Skills
Software, Movies, Architecture, Engineering, Automotive, ...
Basic Information
Gender
Male
Reini Urban's +1's are the things they like, agree with, or want to recommend.
Spotlight – Filme & Serien auf Google Play
market.android.com

Starring Michael Keaton, Mark Ruffalo, Rachel McAdams, Liev Schreiber, Brian d'Arcy James and Stanley Tucci, Spotlight tells the riveting tr

myTuner Radio Pro
market.android.com

*** Live Rundfunk Sendung *** Über 1000 Deutsche und weitere 30,000 Rundfunkstationen in 120 Ländern stehen Dir in unserer application zur V

Metasploit: Major Android Bug is a Privacy Disa... | SecurityStreet
community.rapid7.com

On the night of September 7, 2014, Joe Vennix of Rapid7's Metasploit Products team wrote, "I did not believe this at first, but after some t

Honey (Miele)
www.google.com

Irene helps terminally ill people to die with dignity by giving them a drug. One day, while working with a new client, she supplies the fata

If You Build It
www.google.com

"If You Build It" is a year in the life of one of America's most innovative classrooms where students design & build to transform their home

Movie Showtimes - Google Search
www.google.com

+You · Search · Images · Maps · Play · YouTube · News · Gmail · Drive · Calendar · More · Translate · Mobile · Books · Offers · Wallet · Sho

Jai Ho
www.google.com

Jai fights a one-man war against corruption and injustice.

Sundance Film Festival 2014
market.android.com

Download the Official App of the 2014 Sundance Film Festival! Each January, the Sundance Film Festival attracts the most innovative storytel

Multiple Hard Drive Faliure
log.perl.org

We've lost several of the drives from the machine that hosts PAUSE. It's offline while we work to replace the drives and convince it to come

Google Politik & Wahlen
www.google.com

Google Politik & Wahlen. Verfolgen Sie auf dieser Plattform digitale Wahlkampftouren, sehen Sie sich Videos an, diskutieren Sie mit und nehm

Goalkeeper scores from own penalty area in Austria – video
www.theguardian.com

USK Piesendorf goalkeeper Leo Hannes turns defence into outlandish attack against Berndorf when he catches an inswinging free-kick in his ow

Saintes-Maries-de-la-Mer
www.overseas-exile.com

Did the daughter of Jesus really flee to a small town on the coast of France?

YAPC::Asia Tokyo 2013 特別座談会 「Rubyの良いところ語ってください 〜そんなPerlで大丈夫か?〜」 - YAPC::...
yapcasia.org

ていただきます。 Perlが大好きな人はこのセッションからRubyから盗むべき事を感じ取ってもらい、Rubyが大好きな人にはPerlに触れるよい機会としていただければ幸いです。

Types and Perl Language - YAPC::Asia Tokyo 2013
yapcasia.org

0130716/1373983712 We say that Perl is a dynamically typed language. But what does the type mean? In this talk, in order to write a safer co

The Lone Ranger
www.google.com

A thrilling adventure infused with action and humor, in which the famed masked hero is brought to life through new eyes. Native American spi

YAPC::NA 2013 ROCKED!
onionstand.blogspot.com

[Sorry for the delayed post. I wanted to release this right after the YAPC::NA but just a few days after I got back to my country we got kin

U.S. Seemingly Unaware of Irony in Accusing Snowden of Spying
www.newyorker.com

At a press conference to discuss the accusations, an N.S.A. spokesman surprised observers by announcing the spying charges against Mr. Snowd

The Kings of Summer
www.google.com

Joe, Patrick and the eccentric and unpredictable Biaggio - who, in the ultimate act of independence, decide to spend their summer building a

The East
www.google.com

A former FBI agent, Sarah Moss, is starting a new career at Hiller Brood, an elite private intelligence firm that ruthlessly protects the in

p2 - YAPC::Asia Tokyo 2013
yapcasia.org

her languages. Incompatibilities: XS, functional programming support, order of destruction, lexical hash iterators. New features: All data a

Super Sache. Ich war 5 Jahre ohne Training und wollte schnell wieder konkurrenzfaehig werden. Mit dem EMS Training geht das in 1-2 Monaten, was normalerweise 3-6 Monate dauert.
Public - 7 months ago
reviewed 7 months ago
12 reviews
Map
Map
Map
Bester Vietnamese in der Gegend
Public - 2 months ago
reviewed 2 months ago
Public - 6 months ago
reviewed 6 months ago
Excellent Pho, egg rolls and everything
Public - 11 months ago
reviewed 11 months ago