Planet maemo

Marcin Juszkiewicz

Nokia and their standard batteries

2016-11-28 21:57 UTC  by  Marcin Juszkiewicz
0
0

Nokia. A company everyone knows and most of us probably even used one of their phones in past. They were better or worse but one thing was good – most of them shared batteries…

My daughter (8.5y old) uses Nokia E50 as her daily phone. Sim card is covered by duct tape to not fall out when phone hit a floor (previous one went missing in such situation). Mira records how she and her friends sing, does some photo sessions to her dolls etc.

But during weekend phone stopped charging. Hm… Is it charger? Nope, it was original Nokia one. Tried some crappy Chinese one with same result. So let’s check the battery.

Opened drawer, took Nokia 101. Inside was BL-5CB battery. Inserted into E50 got phone back online. But I like my 101 and keep it as a spare just in case.

Digged in a drawer with old devices. The one where I keep Sharp Zaurus c760, Sony Ericsson k750i, Openmoko FIC-GTA01bv3 and few other pieces of junk with some sentimental value. What I found there was Nokia 6230i which I got from Ross Burton during GUADEC 2007. Last time I used it about 5 years ago. But it had original Nokia BL-5C inside!

So I put that battery inside of E50, plugged charger and guess what… It started charging and phone booted! With over 11 years old battery!

During next few days I will buy BL-5C clone somewhere (they are 3-8€ now) and put it in my daughter’s phone.

Related posts:

  1. Nokia N810 and fscked charging subsystem
  2. 3rdparty chargers for Neo1973
  3. Things to check with Nokia N900
Categories: default
eekkelund

The Maemo Community e.V. proudly presents

The 1st Maemo Developer Regatta - The starting line

sponsored by Jolla


The wait is over!

The first Maemo Coding Competition for all Maemo derived systems, including but not limited to Maemo and SailfishOS.

This year's competition has the following three categories: Something new, Fixing/Updating and Beginner. Whether you are an experienced developer, porter, hacker or just a beginner on your very first hacks/codes, we have a category that suits you and your coding skills! If you are new to programming or want to learn, here's the excuse to finally make something. Anything. Entries for Maemo & Mer-based devices are eligible.

The timetable for the competition is the following: The competitions begins on Tuesday, 1st of November, and will be running for 3 months until Tuesday 31st of January 2016. You can enroll into the competition at any time, however, all the entries for the competition must be submitted no later than by 23:59 on Tuesday, 31st of January(UTC time). Testing/reviewing will take two weeks, from 01.02.2017 to 15.02.2017 and voting will run from 16th of February until 28th of February 2017, 23:59 UTC.

Follow the links to the wiki below for more information.

Devices & Platforms
Categories
How to Submit an Entry
Prizes
Participants
Rules
Voting
Developer Resources

If you would like to have an App, a Port, a Fix, a Hack or etc. but you can't code it yourself, don't worry, just write your ideas in here! Many developers would be happy to get a new idea input.

We are relying on your donations towards the Community Prize Fund.

The entry is free of charge.

Thanks for your interest in taking part, we can't wait to see what you will develop! :)

You still have questions? Contact us!

  • council<*at*>maemo<*dot*>org
  • This thread

Regards

Maemo Community e.V.

Categories: council
admin

Maemo Community e.V. - Einladung zur Mitgliederversammlung 2016

Click to read 2290 more words
Categories: news
eekkelund

2016-08-09 Meeting Minutes

2016-08-30 08:41 UTC  by  eekkelund
0
0

Meeting held 2016-08-09 on FreeNode, channel #maemo-meeting (logs)

Attending: Win7Mac, eekkelund, juiceme, chem|st

Partial:

Absent: pichlo, reinob

Summary of topics (ordered by discussion):

  • Topic Coding Competition

(Topic Coding Competition):


Action Items:
  • old items:
    • Coding competition planning (eekkelund)
    • Set up ftp/sftp site for CC (reinob)
    • Create twitter account for maemo community(eekkelund)
  • new items:

Solved Action Items:
  • The next GA meeting should be announced soon.
Categories: council
eekkelund

2016-08-02 Meeting Minutes

2016-08-30 08:39 UTC  by  eekkelund
0
0

Meeting held 2016-08-02 on FreeNode, channel #maemo-meeting (logs)

Attending: pichlo, Win7Mac, eekkelund, reinob, juiceme

Partial:

Absent:

Summary of topics (ordered by discussion):

  • Topic warfare replaced all SSL certificates
  • Topic MC e.V.

(Topic warfare replaced all SSL certificates):

  • All maemo.org certs should be replaced now as the others were to expire today (except wiki)

(Topic MC e.V.):

  • GA meeting invitation posted
  • juiceme has papers for tax-excemption status. He will print those out

Action Items:
  • old items:
    • Coding competition planning (eekkelund)
    • Set up ftp/sftp site for CC (reinob)
    • Create twitter account for maemo community(eekkelund)
  • new items:

Solved Action Items:
  • The next GA meeting should be announced soon.
Categories: council
eekkelund

2016-07-26 Meeting Minutes

2016-08-18 06:39 UTC  by  eekkelund
0
0

Meeting held 2016-07-26 on FreeNode, channel #maemo-meeting (logs)

Attending: pichlo, Win7Mac, eekkelund, reinob, juiceme

Partial: chem|st

Absent:

Summary of topics (ordered by discussion):

  • Topic Approve pending request on https://garage.maemo.org/admin/approve-pending.php
  • Topic Coding Competition
  • Topic Twitter account
  • Topic MC e.V.

(Topic Approve pending project request on https://garage.maemo.org/admin/approve-pending.php):

  • juiceme added Council to garage admin group
  • juiceme approved project request

(Topic Coding Competition):

  • Postponed CC by one month
  • Submitting an entry: "we could also set up an ftp site where we place whatever comes via mailing list, in case people prefer to download it like that" reinob could handle this

(Topic Twitter account):

  • Maemo community does not have twitter account
  • eekkelund will make one (Maemo Community, @maemo_org)

(Topic MC e.V.):

  • Choocing GA meeting dates
  • Court fillings
  • Win7Mac&reinob will candidate for board

Action Items:
  • old items:
    • Coding competition planning (eekkelund)
    • The next GA meeting should be announced soon.
  • new items:
    • Set up ftp/sftp site for CC (reinob)
    • Create twitter account for maemo community(eekkelund)

Solved Action Items: Find out if https is doable
Categories: council
eekkelund

2016-07-19 Meeting Minutes

2016-08-18 06:38 UTC  by  eekkelund
0
0

Meeting held 2016-07-19 on FreeNode, channel #maemo-meeting (logs)

Attending: Win7Mac, eekkelund, reinob

Partial:

Absent: pichlo, juiceme

Summary of topics (ordered by discussion):

  • Topic Coding Competition

(Topic Coding Competition):

  • How to submit an entry? Thread to TMO/email
  • Categories discussion, dropped wishlist.
  • Updated the Wiki page

Action Items:
  • old items:
    • Coding competition planning (eekkelund)
    • The next GA meeting should be announced soon.
  • new items:

Solved Action Items: Find out if https is doable
Categories: council
eekkelund

2016-07-12 Meeting Minutes

2016-08-18 06:36 UTC  by  eekkelund
0
0

Meeting held 2016-07-12 on FreeNode, channel #maemo-meeting (logs)

Attending: eekkelund, pichlo, reinob

Partial:

Absent: Win7Mac, juiceme

Summary of topics (ordered by discussion):

  • Topic Coding Competition

(Topic Coding Competition):

  • Donations, board has PayPal and bank account
  • Timeframe discussion
  • Categories discussion, 3 main categories: Something new, Fixing/Updating and Beginner.
  • Rules discussion
  • eekkelund has edited wiki page

Action Items:
  • old items:
    • Coding competition planning (eekkelund)
    • The next GA meeting should be announced soon.
  • new items:

Solved Action Items: Find out if https is doable
Categories: council
eekkelund

2016-07-05 Meeting Minutes

2016-08-18 06:35 UTC  by  eekkelund
0
0

Meeting held 2016-07-05 on FreeNode, channel #maemo-meeting (logs)

Attending: juiceme, eekkelund, pichlo, Win7Mac, reinob

Partial:

Absent:

Summary of topics (ordered by discussion):

  • Topic read-only option for TOR endpoints
  • Topic Coding Competition

(Topic read-only option for TOR endpoints):

  • There is thread in TMO
  • maemo.org should have read-only option for tor endpoints
  • Or if TMO is set up as hidden service then read-write access should be OK

(Topic Coding Competition):

  • eekkelund will start to write wiki page
  • Board will handle the prizes/donations
  • Timeframe discussion
  • Platforms discussion
  • Categories discussion
  • Voting, same as in elections

Action Items:
  • old items:
    • The next GA meeting should be announced soon.
  • new items:
    • Coding competition planning (eekkelund)

Solved Action Items: Find out if https is doable
Categories: council
madman2k

On OGRE versions

2016-08-05 12:24 UTC  by  madman2k
0
0

Currently one can choose between the following OGRE versions
1.9, 1.10, 2.0 and 2.1

Click to read 1288 more words
Categories: News
admin
Maemo Community e.V. - Einladung zur Mitgliederversammlung 2016
Click to read 2160 more words
Categories: council
Philip Van Hoof

As we all know does mmap, or even worse on Windows CreateFileMapping, need contiguous virtual address space for a given mapping size. That can become a problem when you want to load a file of a gigabyte with mmap.

The solution is of course to mmap the big file using multiple mappings. For example like adapting yesterday’s demo this way:

void FileModel::setFileName(const QString &fileName)
{
    ...
    if (m_file->open(QIODevice::ReadOnly)) {
        if (m_file->size() > MAX_MAP_SIZE) {
            m_mapSize = MAX_MAP_SIZE;
            m_file_maps.resize(1 + m_file->size() / MAX_MAP_SIZE, nullptr);
        } else {
            m_mapSize = static_cast(m_file->size());
            m_file_maps.resize(1, nullptr);
        }
        ...
    } else {
        m_index->open(QFile::ReadOnly);
        m_rowCount = m_index->size() / 4;
    }
    m_file_maps[0] = m_file->map(0, m_mapSize, QFileDevice::NoOptions);
    qDebug() map(mapIndex * m_mapSize, m_mapSize, QFileDevice::NoOptions);
    position = m_file_maps[mapIndex] + map_pos_i;
    if (position) {
            const int length = static_cast(end_i - pos_i);
            char *buffer = (char*) alloca(length+1);
            if (map_end_i >= map_pos_i)
                strncpy (buffer, (char*) position, length);
            else {
                const uchar *position2 = m_file_maps[mapIndex+1];
                if (position2 == nullptr) {
                    position2 = m_file_maps[mapIndex+1] = m_file->map((mapIndex+1) *
                         m_mapSize, m_mapSize, QFileDevice::NoOptions);
                }
                strncpy (buffer, (char*) position, MAX_MAP_SIZE - map_pos_i);
                strncpy (buffer + (MAX_MAP_SIZE - map_pos_i), (char*) position2, map_end_i);
            }
            buffer[length] = 0;
            ret = QVariant(QString(buffer));
        }
    }
    return ret;
}

You could also not use mmap for the very big source text file and use m_file.seek(map_pos_i) and m_file.read(buffer, length). The most important mapping is of course the index one, as the reading of the individual lines can also be done fast enough with normal read() calls (as long as you don’t have to do it for each and every line of the very big file and as long as you know in a O(1) way where the QAbstractListModel’s index.row()’s data is).

But you already knew that. Right?

Categories: controversial