Contribute to Open Source. Search issue labels to find the right project for you!

Round Sun light


Implement a light source specific to being manipulated to look more like a spherical sun The basic concept is to get a round sun, however there are various additional features that could be added. It may even be a better idea to make an actual 3D sun(s)

Updated 26/05/2018 00:02 3 Comments

DB permissions


In we set the permissions to be permissive so we could continue working but we should improve our DB access story. It should have the properties:

  1. logged-out users can read
  2. logged-in users can read and write

It would be nice to have something like:

  • logged-in users can only write edges that they’re connected to, but can read any edge.
Updated 27/05/2018 04:42 1 Comments

Cannot create new default database: System.IO.IOException: Cannot create a file when that file already exists


During maintenance of our virtual machine which hosts kitchensink demo, I wanted to update starcounter to the newest version. To achieve that I: 1. removed already existing database by calling staradmin delete db default 2. Downloaded and installed/updated newest version of SC ( 3. Run server and called: staradmin new db default DefaultUserHttpPort=80

After 3rd step I got errors: image

It’s a long shot but maybe It’s because of the really bad specification of the hosting machine (1GB of RAM memory, Intel Xeon CPU E5-2676 v3 2,40GHz) but still, there should be more informative error message about the actual cause of the issue. (About disc space, there is 14gb free space so I assume It’s not fault of this)

Possible solutions/clues: Reinstalling Starcounter didn’t help. Uninstalling starcounter, removing Personal folder and installing starcounter again fixed the issue.

CC: @warpech

Updated 22/05/2018 12:46 3 Comments

Creating datamatrix module


My company needs in-browser datamatrix scanning asap.

Thus I am starting now to port zxing datamatrix module to ts, based on this project.

Will you be willing to code review it, test and merge it once its ready? Can I expect some help in case I am stuck?

Thanks in advance and have a great day. :)

Updated 21/05/2018 13:10 1 Comments

Travel guide: Suggest articles near currently viewed map location


I think we could immensely boost the usability and explorability of the new travel guide feature if, when the travel guides activity is opened up, we would automatically suggest articles which focus on locations in the area the user currently viewed on the map.

I guess the way to implement is via -for each article- somehow attributing a (pseudo-) location which is the “mean” of the “Points” location references contained in the article, then suggesting articles whose mean location is close to the current map center.

Updated 20/05/2018 13:05

Add object-fit control for the video element


Is your feature request related to a problem? Please describe. Users claim that the video cannot be sized.

Describe the solution you’d like The object-fit control on ht etop of the component would allow users to set the video resizing method and everything would be controlled be the component itself.

Describe alternatives you’ve considered Another issues had mentioned them: #55, #60, #83.

Additional context I think this solution would kill all the referenced problems.

Updated 18/05/2018 23:06

Validate new user examples to avoid misaligned data


If you have a large training set but you have examples wrongly tagged you will get a warning until rasa start to train with the crf_entity_extractor.

A warning will look something like these:

Misaligned entity annotation in sentence 'This is a misaligned sentence'. Make sure the start and end values of the annotated training examples end at token boundaries (e.g. don't include trailing whitespaces).

On rasa the validation is performed at:

def _from_json_to_crf(self,
                          message,  # type: Message
                          entity_offsets  # type: List[Tuple[int, int, Text]]
        # type: (...) -> List[Tuple[Text, Text, Text, Text]]
        """Convert json examples to format of underlying crfsuite."""
        from import GoldParse

        doc = message.get("spacy_doc")
        gold = GoldParse(doc, entities=entity_offsets)
        ents = [l[5] for l in gold.orig_annot]
        if '-' in ents:
            logger.warn("Misaligned entity annotation in sentence '{}'. "
                        "Make sure the start and end values of the "
                        "annotated training examples end at token "
                        "boundaries (e.g. don't include trailing "
        if not self.component_config["BILOU_flag"]:
            for i, label in enumerate(ents):
                if self._bilou_from_label(label) in {"B", "I", "U", "L"}:
                    # removes BILOU prefix from label
                    ents[i] = self._entity_from_label(label)

        return self._from_text_to_crf(message, ents)

One option to validate new user examples is exposing a validate method from rasa that executes the validation on the combinations generated by the new example and the entities that are highlighted on it.

This would require some UI work to let user know that there is an error with the example he is trying to add.

Updated 18/05/2018 20:05

Travis CI shellcheck testing underway


Hey everyone, just wanted to let you know that I’ve enabled Travis CI based testing of the openHABian code with shellcheck.

You can have a look at: Every shown Error/Warning/Info is given with a type code such as “SC2034”, more details can be found in the shellcheck wiki:

Don’t get confused, we are currently seeing many warnings/infos and I tricked Travis CI into accepting them as a successful run.

This ticket will be closed, when all currently existing problems are either solved or ignored (let’s be careful with this one). This will be the point at which Travis will start shooting at PRs 💥 😸

IF you want to solve some of the presented problems, be very careful how you solve them. Many of them are not actually a problem and/or following the advice might alter functionality.

Updated 18/05/2018 18:25

Search engine


Could-you improve the search engine of Osmand on the Android version to make it powerful like Nominatim on Open Street Map? I know that I can change the search engine… But, I would like to be able to find an address that is not on a street corner without internet connection.

Tank you

Updated 26/05/2018 11:04 2 Comments

Ranger Favored Enemy


Allow selection of ranger’s favored enemy:

Aberration, Animal, construct, dragon, elemental, fey, giant, humanoid (aquatic, dwarf, elf, goblinoid, gnoll, gnome, halfling, human, orc, reptilian), magical beast, monstrous humanoid, ooze, outsider (air, chaotic, earth, evil, fire, good, lawful, native, water), plant, undead, vermin

Updated 16/05/2018 06:07

Offline search: allow POI fuzzy search

  • What version of OsmAnd are you using, on what device and Android/iOS version? OsmAnd+ 2.9.3 from 2018-02-08 on Android 7.0

The auto-complete list of POI searchbar is too much sensitive, specially with accented characters (é È ï î). For instance in French, if you type gite instead of gîte, the latest won’t show up.

This is specially bad on mobile where you skip accented characters on purpose due to poor accessibility.

It would be great if either:

  • OsmAnd could compare user input and presets by converting them to ASCII first (with possible losses which would not matter I believe) : gîte –> gite, hôtel -> hotel, etc..
  • (better but harder) Instead of simply using userInput.equals(presetName), a more evolved matching algorithm (similarly to iD, sublime text…) could rely on Levenshtein distance or fuzzy search, so that the system gets tolerant with mobile users. Eg restorent would still match restaurant and I think it would be OK.
Updated 16/05/2018 21:09

Rename variable 2


What about changing “chain” to group and “group” to selection? chain -> group group -> selection

The reason is that sometimes the user does not have a “chain” but rather a more “abstract” (or complex) structure.

Updated 18/05/2018 09:36 1 Comments

Writing to console is missing on second run of an application


I have following application for some testing purpose:

using Starcounter;
using System;
using Starcounter.ErrorCodes;

class Program {
    static void Main() {
        Db.SQL("create index ItemIndx on Item (ItemNr)");
        Db.Transact( delegate {
        var i1 = new Item { ItemNr = 1, Val = 2 };
        var i2 = new Item { ItemNr = 2, Val = 2 };
        var i3 = new Item { ItemNr = 3, Val = 2 };
        foreach( var i in Db.SQL<Item>("select i from item i where val = ?", 2)) {
            Console.WriteLine("Item "+ i.ItemNr + " having " + i.Val);
            if (i.ItemNr == 1)
                i2.Val = 4;
        Db.SQL("drop index ItemIndx");

public class Item {
    public int ItemNr { get; set; }
    public int Val { get; set; }

When I run in empty database from command line, I see this output: bash simpleTest -> default (started, default port 8080, admin 8181) Item 1 having 2 Item 3 having 2 If I run it again, which restarts the app, the console is empty. The output after the both runs ```bash

star ......\simpleTest.cs simpleTest -> default (started, default port 8080, admin 8181)
Item 1 having 2 Item 3 having 2

star ......\simpleTest.cs simpleTest -> default (started, default port 8080, admin 8181)

If I stop the app, attach debugger, start the app, hit a break point and continue, then the output contains the expected two lines.

It looks like a bug.

I use local build on latest develop of L0 and L1

Can anyone reproduce it? Let me know if more information is needed.

@miyconst for planning. I don’t if @per-samuelsson can comment on this.

Updated 15/05/2018 13:00 2 Comments

Adding Articulation - only show same side elements (i.e., left)


I was adding an articulation for a right fibula, and the options in the list were correct bones, but also included elements from the left side. In the example below, CIL 2003-116 G-05 X-219B 403 is a left tibia, which would not articulate with a right fibula, only another right tibia would. Can we make this so it will only provide same side elements as possible articulations? i.e., it’s a right fibula, so only provide right tibia and talus. screen shot 2018-05-08 at 9 41 20 pm

Updated 14/05/2018 17:07 1 Comments

db-migrate fails to show version if database.json missing


I’m submitting a…

  • [ ] Bug report

Current behavior

db-migrate version
[ERROR] Error: Could not find database config file '//database.json'
    at Object.exports.loadFile (/usr/lib/node_modules/db-migrate/lib/config.js:48:13)
    at loadConfig (/usr/lib/node_modules/db-migrate/lib/commands/helper/load-config.js:12:18)
    at new dbmigrate (/usr/lib/node_modules/db-migrate/api.js:68:43)
    at Object.module.exports.getInstance (/usr/lib/node_modules/db-migrate/index.js:62:10)
    at /usr/lib/node_modules/db-migrate/bin/db-migrate:32:25
    at /usr/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:52:13
    at processDirs (/usr/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:184:39)
    at ondir (/usr/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:199:13)
    at load (/usr/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:82:43)
    at onex (/usr/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:107:17)

Expected behavior

Current version in command output

Updated 08/05/2018 15:20

Load tests from csv file


for the midsemester presentation: as Rakefet requested, we need to be able to load a csv file (structure TBD by Rakefet - email pending) to the database directly. this is a service that the backend supplies the frontend and so needs to be supported end to end. separate issue for frontend will be opened after logic is finished.

we do this now since we need visual new things to show in the mid semester presentation.

Updated 08/05/2018 11:38

Add structures for saving shownotes


An episodes feed entry will contain its content in list of dicts, for example:

feed['entries'][0]['content'] = [{'type': 'text/plain',
  'language': None,
  'base': '',
  'value': 'This week, John and Merlin come in hot with an accidental main topic: punctuality.'},
 {'type': 'text/html',
  'language': None,
  'base': '',
  'value': '<p>This week, J ...'}]

To support this structure and preserve all list entries, the most sensible approach seems to be a separate EpisodeContent model with ForeignKey to an Episode, `related_name=‘content’. The table will hold all values from the dicts.

For that, on each episode creation from the info dict, new instances of EpisodeContent would have to be created as well.

Updated 26/05/2018 18:27

consider adding file with build instructions


I checked FAQ and there was no answer there.

I attempted to find build instructions and managed to discover

  • (for 14.04 LTS)
  • that has different instructions
  • and with yet another set of instructions

It is unclear which, if any, set of instructions is preferable to build Osmand app from source.

Updated 06/05/2018 21:07 1 Comments

Privacy Component Support -JED


Just a thought but if we are allowing hooks into the Privacy policy component we should probably have a chat with the JED to have a Privacy Policy component support on the extension?

Three options Yes No Not Confirmed

So it a drivers extension developers to support it and b allows users to see a mentationed extension at an overview.

Updated 15/05/2018 14:29 4 Comments

Build ViewControllerDataSource


Something I’m kicking around in my mind… TBATableViewController and TBACollectionViewController both have data sources/delegates that manage showing their no data views that interact with Refreshable. TBAViewController doesn’t, even though it kinda has a “data source” in a way - generally, using Observable to view the state of an object.

Think about building a ViewControllerDataSource that can interact with a view controller and pull the pattern of observing data and properly setting up no data states that we see in MatchInfoViewController/MatchBreakdownViewController/EventStatsViewController

Updated 28/04/2018 01:19

IndexScan with Binary property comparison works improperly


Filtering by Binary property does not work when it is indexed.

I have a test app:

    public class A
        public string Name { get; set; }
        public int Value { get; set; }
        public Binary Data { get; set; }

    class Program
        static void Main()
            Handle.GET("/populate", () =>
                Db.Transact(() =>
                    new A
                        Name = "Name A",
                        Value = 5,
                        Data = new Binary(new byte[] {0xFE, 0xFF, 0xFE, 0xFF})
                return "populated";

            Handle.GET("/create-index", () =>
                Db.SQL("CREATE INDEX IDX_A_DATA_BINARY ON BinaryIndexIssue.A (Data)");
                return "created";

            Handle.GET("/drop-index", () =>
                Db.SQL("DROP INDEX IDX_A_DATA_BINARY ON BinaryIndexIssue.A");
                return "dropped";

            Handle.GET("/test", () =>
                var tt = Db.SQL<A>($"SELECT a FROM {typeof(A)} a WHERE a.{nameof(A.Data)} = ?", new Binary(new byte[10])).ToList();
                return tt.Count.ToString();

If I call /test when the index exists, it returns 1 - error. If I call it after dropping the index it returns 0 - correct.

Updated 18/05/2018 19:36 3 Comments

Add prefered screen orientation to profile settings


For some navigation profiles it would be nice to have a fixed screen orientation. For example on a bicycle or motorcycle curvy roads and intersections can lead to the screen being rotated which is rather irritating and undesirable. A new option for each profile to choose between automatic (the default), horizontal and vertical would be nice.

There is of course a device-wide option to configure the screen orientation. However I usually forget to change it before starting to drive. Since the preferred orientation strongly depends on the specific navigation profile it would be nice to add such an option.

Updated 11/05/2018 06:52 1 Comments

Fork me on GitHub