pszemus
pszemus
@ShiqiYu don't you think the [`std::vector`](https://en.cppreference.com/w/cpp/container/vector) API is better for returning data collection rather than mangling with this [`(pResults + 1)) + 16*i`](https://github.com/ShiqiYu/libfacedetection/blob/b6634f6914e9872bfc587d68ef66d42b8075c657/example/detect-image.cpp#L95) ?
Works for my 143 MB file. Thanks!
There goes another month. Does anyone know anything about the status of this extension in the Gnome extensions repository? @zhrexl?
Hi @rogerlittin, I was considering that, but thought that `null` could indicate that the property is not set, while empty indicates that that the playlist has no arguments specified by...
It won't work for: ``` ``` all 3 playlists are started (including both past playlists). We could split my condition into 2 different `if` statements and introduce a local variable...
@rogerlittin does the following look better to you? ``` schedules.add(schedule); if (schedule.start.before(now)) schedules.stream() .sorted() .filter(s -> s.start.before(now) && s != schedule) .findFirst() .ifPresent(pastSchedule -> { if (pastSchedule.start.before(schedule.start)) schedules.remove(pastSchedule); else schedules.remove(schedule);...
Another idea: always keep the last past schedule at index 0: ``` if (!schedules.isEmpty() && schedule.start.before(now)) { ScheduledItem lastPastSchedule = schedules.get(0); if (!lastPastSchedule.start.before(now)) schedules.add(0, schedule); else if (lastPastSchedule.start.before(schedule.start)) schedules.set(0, schedule);...