Profile

Cover photo
Fred Pallesen
Works at AMBIO Strong
Attended http://www.uio.no/
Lives in Sandnes
319 followers|81,493 views
AboutPostsPhotosYouTubeReviews
People
Have him in circles
319 people
Ida Andrine Bastiansen's profile photo
Ellen Hamre's profile photo
Arve Kvaløy's profile photo
Ramona Zachariassen's profile photo
Jan Eiesland's profile photo
chandimal wickramaratne's profile photo
Work
Occupation
Product Manager
Skills
Java, JavaScript, HTML, CSS, SQL, NO-SQL
Employment
  • AMBIO Strong
    Product Manager, present
  • Apropos IT
    New Media Manager, 1998
  • Apple Center ScanMac
    Development Manager
  • CAG
    Senior Programmer
  • ScanVest
    Programmer, 1977
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Sandnes
Previously
Stavanger - Oslo - Notodden
Story
Tagline
A wannabe Dartisan
Introduction
I'm making web-applications using java. My hosting environment has been on our own servers (using vm-ware to host my virtual machines) but now I'm moving to the Cloud (and I prefer the Google App Engine). 

"Using Java" to program for the web includes a need-to-know HTML, CSS, JavaScript, jsp, zul and some XML, SQL, GQL.

But back in the old days I had some years programming in Smalltalk (on a machine soo big I named it Obelix!)

I miss Smalltalk. I have been reading about Self and Beta. I had Simula at the university - so I am proud to say OO programming started in Norway ;-)

I have had my share of C and C++, but it all started with Basic - at punch cards! In my first job the programming language was Databus (looks like a mix of an assemply language and Basic to me) 

The world of computers is getting fun again! 
Using Smalltalk as my development tool decades ago - I had this feeling everything was going backward. I did not have the excitement everybody else expressed: I felt I had "been there - done that". 

But now: with maturing browsers that adapts to all plattforms - and maturing online tools - and finally - with Smalltalk on its way back into the mainstream in the form of Dart - I see big changes in the near horizon ;-)

So I like to talk about languages, or frameworks - and development concepts and ... the future!
Bragging rights
The NetBlast CRM that I started to develop in 1999 is still the core of our business.
Education
  • http://www.uio.no/
    math, physics, programming
  • http://www.hit.no/
    science teacher
Basic Information
Gender
Male
Looking for
Networking
Birthday
December 14
Relationship
Married
Other names
Fred Rødder

Stream

 
No banana
Here is the code:
    <x-menu>
      <x-item>Apple</x-item>
      <x-items>Banana
       <x-item color="blue">Big banana</x-item>
       <x-item>Small banana</x-item>
       <x-noitem>No banana</x-noitem>
      </x-items>
      <x-item>Kiwi</x-item>
    </x-menu>

But where is the Banana?

If I remove the select - it will show up:
 <content select="x-items,x-item"></content>

But then I also get my x-notiem
So how do I get my banana?

Posting to the "Dart Dares" to see if anyone knows ... ;-)

#polymer   #dartlang  

EDIT: ----------------------------------------
I found my banana in Dart:
this.firstChild.text on the x-items code displays my banana.
but then I also had to check in the this.children.forEach
that it was x-item and not the x-noitem
if (n.tagName == "X-ITEM")
2
Fred Pallesen's profile photoYannick Sirjean's profile photo
4 comments
 
But it does, if you look at the last part that I've added, I can turn off the <content> and work in code only. Then I get what I want. But using the declarative way ... then I'm lost
Add a comment...
 
Using javascript in a custom element?

Looking at this sample:
https://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/samples/gauge/README.md

I would like to test this from a custom element, one that could look something like:

<my-slider
        label="Dart interoperating with JavaScript"
        instruction="Move the slider to change the value:"
        min="0" max="100" value="" minorTics="5"
        yellowFrom="70" yellowTo="90"
        redFrom="90" redTo="100"
    >
    </my-slider>

But how do I load the Google Chars library, and the interop.js from within the custom element? I do now want this implementation detail to be part of the html file where I'm using the custom element. 

Any suggestions?
4
Add a comment...

Fred Pallesen

Shared publicly  - 
 
Google regneark
This Hangout On Air is hosted by Fred Pallesen. The live video broadcast will begin soon.
Q&A
Preview
Live
Strong Apps - Hangout #4
Thu, April 10, 1:00 PM
Hangouts On Air

1
Add a comment...

Fred Pallesen
owner

Til orientering  - 
 
Bruker du den beste nettleseren? Vet du hvilken versjon du har? vet du hva du skal svare hvis noen spør om hvilket operativsystem du har og om du har Java og Flash installert - og om du har "Cookies enabled"? Nå kan du sende en link som viser hva du har ... til de som spør om slikt ;-)
 
"Google Chrome is generally considered the leader in supporting current web standards, and can reliably handle most modern websites. It is also one of the fastest and most secure."
 ·  Translate
1
Gorm Rødder's profile photo
 
Kjempenyttig!
Add a comment...
Have him in circles
319 people
Ida Andrine Bastiansen's profile photo
Ellen Hamre's profile photo
Arve Kvaløy's profile photo
Ramona Zachariassen's profile photo
Jan Eiesland's profile photo
chandimal wickramaratne's profile photo
 
confused by <content>

In my html code I have:
    <x-list>
      <li><a href="#">Apple</a></li>
      <li><a href="#">Banana</a></li>
      <div><a href="#">Kiwi</a></div>
    </x-list>

In my polymer element I have:
  <ol reversed="reversed">
    <content select="li"></content>
  </ol>

What I expect is:
 2. Apple
 1. Banana

View source gives:
    <x-list>
      #shadow-root
          <ol reversed="reversed">
            <content select="li"></content>
          </ol>
      <li><a href="#">Apple</a></li>
      <li><a href="#">Banana</a></li>
      <div><a href="#">Kiwi</a></div>
    </x-list>

What I get is:
  1. Apple
  2. Banana

So what do I need to do to get the content right?
1
Add a comment...
 
I am not dependent on me - or could I be?

Creating a package I have found that I need to do:
<link rel="import" href="../lib/element/SOME_NICE.html">

But when used in another project, once I get my dependencies to work, then I can use:
<link rel="import" href="packages/MY_PACKAGE/element/SOME_NICE.html">

I would like my library package to use the same import ... 
  
1
Patrick Kelley's profile photoGreg Lowe's profile photoFred Pallesen's profile photo
4 comments
 
The second type of link tag works correctly for me even when all files are within the same package.

Pub should create a symlink to your lib directory.
So in your example packages/MY_PACKAGE should point to your lib directory.

Perhaps double check that this symlink is set up correctly.
Add a comment...

Fred Pallesen
owner

Til orientering  - 
 
Minner om linken for å lære mer om google apps
http://learn.googleapps.com/
 ·  Translate
1
Add a comment...

Fred Pallesen
owner

Til orientering  - 
 
Vet du hvordan du kan bruke Google dokumenter uten tilgang til nett?
 ·  Translate
1
Add a comment...

Fred Pallesen
owner

Til orientering  - 
 
Google presentasjoner får bedre funksjoner for bildebehandling.
 ·  Translate
1
Tove Nilsen's profile photo
 
Kjekt :)
Add a comment...
I've been here at summer and now during winter. Sure, summer is better, but I just love the atmosphere.
Public - a month ago
reviewed a month ago
1 review
Map
Map
Map