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

Add data input validation

leograba/spincome

So far there are a lot of entry fields that have no validation at all.

  • [ ] Map all the places where data input validation is required.
  • [ ] Create a module/library for data input validation with common functions.
  • [ ] Implement validation across the application.
Updated 22/09/2018 15:46

Accsessing events

ufosc/club-backend

The API should support retrieving a list of all events, upcoming events, future events, the most recent event, and single named events (using their primary key). All of this will be open to all. Each request should send all the data associated with those events (as described here). If no events are found return an empty list.

Updated 22/09/2018 15:37

Research testing framework

ufosc/club-backend

We will need to write unit test to make sure the framework is working and help prevent regressions. They will need to support mocking REST calls and database calls (so we can test without a database). Feel free to do some research.

Could we get a discussion going about preferences, what works best with Rocket, etc?

Updated 22/09/2018 15:21

Problems while executing a command as user

korcankaraokcu/PINCE

Despite SysUtils.execute_shell_command_as_user working properly for web browsers, some other GUI applications such as file browsers and text editors might show buggy behavior. For instance, some standard KDE applications such as Dolphin and Kate are unable to show user icons even while invoked within sudo -u non_sudo_user. I’ve also tried invoking Kate with subprocess module with user demotion and all os.setuid and os.setgid variants, nothing has worked.

The first solution that came to my mind was to change PINCE.sh in a way that it creates a user bash session before invoking PINCE so PINCE can communicate with it via IPC and invoke commands on demand. But this looks a bit hacky, doesn’t it? I’m sure that there’s a more convenient way to solve this. Open for ideas

[Enhancement]: Solving this issue can allow LogFileWidget to have its own buttons to show files via file browsers or text editors

Updated 22/09/2018 15:24

Message when using `changedSince` is wrong

facebook/jest

<!– Love Jest? Please consider supporting our collective: 👉 https://opencollective.com/jest/donate –>

🐛 Bug Report

When using changedSince, the message is No tests found related to files changed since last commit.

To Reproduce

Jest repo: yarn jest --changedFiles=master

Expected behavior

The message should say e.g. since *commit/branch*

Link to repl or repo (highly encouraged)

N/A

Run npx envinfo --preset jest

Paste the results here:

Environment:
  OS: macOS High Sierra 10.13.6
  Node: 8.11.1
  Yarn: 1.9.4
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 9.1 Build version 9B55
  Android Studio: EAP AI-145.3111935 AI-145.3111935
Updated 22/09/2018 15:04

Need short & long term average

raboof/nethogs

Thanks for -l command line option, was “pretty useless” before that. (my hookup 8-12 ffmpeg, was impsble too know whoiswho by just PID, now simple and beautiful)

But, another standard thing often missing is SHORT and LONG term speed average.

Most video-downld now in bursts of appr 2-10MB fragments,segments,chunks a 10s video Even using a 32sec average doesnt really help as the segments too often come in bursts (from the segment list.

Perfect soluttion wld be SHORT and LONG TIME averages. Somthng typ like 2s and 60s. Maybe a 10minute too?

I tend to use simple (but somehwat demanding) recursive filters, not “running averages”, actual “addition of last 1024 1s speed samples”. Needs dbl precision, or floating point

out = (in-out)/N + out ; average over N samples, like 64,128..etc like rightshiffts.

same as a “servo style” out = error/N + out, where error=in-out.

Noting that division is a rightshift easy to understand one needs “dblprecision” with integers. in-out goes “to upper” and then shifted log(N) positions down.

Gunnar

PS You can do a 2de order “average filter” too, PPS My (now) old patent, now used in all audio,DSP etc hw and sw processing, hehe..

Updated 22/09/2018 15:25

第七章源码:运行 yarn build 报错,代码yarn start后,输入正确用户名密码,登陆异常,无法进入首页

react-book/book-code

第七章代码分割的源码, issue1: 我想看下代码分割webpack这样配置后会有什么效果,结果源码运行 yarn build 报错;

issue2: demo yarn start启动后, 输入正确用户名密码,登陆异常,无法进入首页 POST https://react.didierfranc.com/login 409 () 大佬是否可以优化一下源码啊。

我是买了书看的,一般看书的习惯是,先运行源码,然后再看书。 所以大佬是否可以将源码完善下。哈哈。

Updated 22/09/2018 14:50

'Other' Suggestions

StirlingCodingClub/studyGroup

This issue is for ‘other’ suggestions

Feel free to add suggestions as comments to this issue below. If you like one of the suggestions, add a thumbs up to it, found by clicking the + :-) in the upper right . You can also directly edit the individual suggestions using the elipses (…) and clicking ‘edit’ if you want to volunteer to lead an event, or comment on one of the suggested events (e.g., add some text below the suggestion).

Updated 22/09/2018 15:40 6 Comments

Nuitka doesn't support pkg_resources.get_distribution

Nuitka/Nuitka

Sometimes code will check installed package versions with require or use the version information of installed packages for outputs. For standalone packages that does not work:

__version__ = pkg_resources.get_distribution('requests').version

However, by teaching pkg_resources about our meta path based importer, we could convince it to provide the information even when egg data, etc. has been lost.

The source of the information is easy to get:

env = pkg_resources.Environment()
env.scan()
print(env._distmap)

This produces a dictionary with the information to use to produce Distribution objects at run time.

This apparently mostly does the job, but is bare of robustness:

def get_importer(path_item):
    return sys.meta_path[0]

def my_finder(a,b,c):
    yield pkg_resources.Distribution(project_name = "requests", version = "5")

pkg_resources.register_finder(type(sys.meta_path[0]), my_finder)
pkg_resources.get_importer = get_importer

__version__ = pkg_resources.get_distribution('requests').version

This code could become a post-load for pkg_resources to monkey patch it for finding resources hidden in the meta path based loader. Our meta path based loader should not be assumed to be only one (it is not for Python3 anyway), but directly accessed.

Also maybe it could read the distribution data from disk, to avoid caching issues, and it’s nicer to read that way probably too.

Updated 22/09/2018 14:34

`jest --changedSince=blablabla` crashes

facebook/jest

<!– Love Jest? Please consider supporting our collective: 👉 https://opencollective.com/jest/donate –>

🐛 Bug Report

Running jest --changedSince=blablabla (as long as blablabla is not a branch) crashes with an unhandled rejection

To Reproduce

Steps to reproduce the behavior: jest --changedSince=some-bad-revision

Expected behavior

A clean error saying that the reference was impossible to resolve, or something. Probably just show the error from git is best

Link to repl or repo (highly encouraged)

N/A, can be reproduced in any repo with VCS (including the jest repo itself).

Run npx envinfo --preset jest

Paste the results here:

Environment:
  OS: macOS High Sierra 10.13.6
  Node: 8.11.1
  Yarn: 1.9.4
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 9.1 Build version 9B55
  Android Studio: EAP AI-145.3111935 AI-145.3111935
Updated 22/09/2018 14:30

update tests to newer pytest versions

tox-dev/detox

Tests still use very old pytest APIs. They still work but notfor very much longer (pytest 4 is on the horizon I guess). Should be updated.

=============================== warnings summary ===============================
/home/ob/oss/tox-dev/detox/.tox/py27/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:274: PytestWarning: Module already imported so cannot be rewritten: _pytest.pytester
  self.config,

/home/ob/oss/tox-dev/detox/tests/conftest.py:79: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

/home/ob/oss/tox-dev/detox/tests/conftest.py:79: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

/home/ob/oss/tox-dev/detox/tests/conftest.py:79: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

/home/ob/oss/tox-dev/detox/tests/conftest.py:79: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

/home/ob/oss/tox-dev/detox/tests/conftest.py:79: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

/home/ob/oss/tox-dev/detox/tests/conftest.py:87: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

/home/ob/oss/tox-dev/detox/tests/conftest.py:87: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  exampledir = request.getfuncargvalue("exampledir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:67: DeprecationWarning: getfuncargvalue is deprecated, use getfixturevalue
  tmpdir = request.getfuncargvalue("tmpdir")
/home/ob/oss/tox-dev/detox/tests/conftest.py:137: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
  timeout = pyfuncitem.obj.timeout.args[0]

-- Docs: https://docs.pytest.org/en/latest/warnings.html
Updated 22/09/2018 14:25

Searching for a thread here ...

Aris-t2/CustomCSSforFx

Hi,

Searching for threads is really a pain here at GitHub. Search sends to code, not to posts. I know the question had been asked and answered, but after an hour or so searching for the “issue” (new and old) I’d like to get that answer back.

The point concerned adding the search engines keywords to the old Search Bar. Aris had provided a work-around I’d like to retrieve. But where is it….

Thanks.

Updated 22/09/2018 14:04 1 Comments

[Sslaxxworks branch] Characters "hover"/"flicker" at the top of ramps/slopes.

BlitzerSIO/grass-cheetah

As described originally in issue #2.

part_2a part_2b

At certain positions at/near the top of a ramp or slope, the player character will constantly swap movement directions left/right and/or be hovering in the air.

https://www.dropbox.com/s/0le7xsiya6iltk7/3_demonstrator.webm?dl=0 demonstrates the issue. Note that floor ray detection does not always have the left-hand ray fluctuate between True and False.

Updated 22/09/2018 12:44

Cancel searching match for the player

OpenMatchmaking/microservice-matchmaking

An existing codebase of matchmaking microservice provides a way (at least for now only internally) to delete the player from search queues. All utility code for cancel searching is already written, however it will be great to provide an access via incoming requests to cancel the search.

So, for considering this feature as prepared and ready to use, you will need: - Append a new endpoint to router with a list of the required permissions - Write tests with coverage the most common and some corner cases (like an attempt to cancel the search, when the player isn’t in a queue)

Updated 22/09/2018 12:35

[VarDumper] Add more casters for Intl

symfony/symfony

A Caster is used to convert an object to an array representation that later could be written as a string. All Casters are registered in the AbstractCloner and will automatically be used when we try to clone an object.

There some classes in intl that could benefit from having a caster, see http://php.net/manual/en/book.intl.php

See @nicolas-grekas PR for MessageFormatter as an example: #28551

I think it could be a good idea to have casters for the following classes:

  • [ ] NumberFormatter
  • [ ] Locale
  • [x] MessageFormatter
  • [ ] IntlTimeZone
  • [ ] IntlDateFormatter

Do we need any more?

Updated 22/09/2018 14:14

Register / health check microservice

OpenMatchmaking/microservice-matchmaking

In actual moment of time the matchmaking microservice experiencing a lack of required functionality, that must be implemented by default for each existing microservice in general: - Registering in Auth/Auth microservice after it was started, with specifiying the required permissions: { 'name': 'matchmaking', 'version': '0.1.0', 'permissions': [ { 'codename': 'matchmaking.games.retrieve', 'description': 'Can be added or received the state of the search', }, { 'codename': 'matchmaking.games.update', 'description': 'Can update the state of the search', }, { 'codename': 'matchmaking.games.search.cancel', 'description': 'Can cancel searching match', }, ] } - Health check endpoint, that accepts GET methods and returns status 200 without any body inside

Updated 22/09/2018 12:18

Échec de l'installation auto si le fichier de dernière version n'existe pas

libertempo/web

Décrivez le bug Suite à une montée en version via le nouvel installateur, il y a un cas d'erreur si le fichier lt-last-version n'existe pas.

Pour reproduire Étapes de la reproduction du comportement : 1. Prérequis (rôle connecté, options de configuration, méthode de connexion, …) : LT 1.12 et le fichier lt-last-version inexistant 2. Cliquer sur : Après avoir installé une première fois l'application ou l'avoir upgradé vers LT 1.12, faire un make update. Ça marche aussi en supprimant le fichier manuellement. 3. Constater l'erreur : Le make donne : ```sh Contrôles généraux…

Warning: file_get_contents(/tmp/lt-last-version): failed to open stream: No such file or directory in /var/www/web/App/Tools/update on line 17

Call Stack: 0.0003 378328 1. {main}() /var/www/web/App/Tools/update:0 0.0106 1638312 2. getVersionDerniereMiseAJour() /var/www/web/App/Tools/update:69 0.0107 1658680 3. file_get_contents() /var/www/web/App/Tools/update:17

```

Comportement attendu Cas d'échec propre si toute les maj ont été faite ou maj.

Poste (veuillez remplir les informations suivantes): - Système [i.e. iOS] : Debian 9 - Navigateur et version : Fx 60 - Erreur dans la console : na.

Serveur (veuillez remplir les informations suivantes): - Système [i.e. iOS8.1] : Debian 9 - Version de Libertempo : LT 1.12 - Version MySQL et PHP : Mysql 5.7 / PHP 7.0 - Erreur dans le log du serveur : na.

Contexte additionnel Je pense que la séquence est mal codée (votre serviteur est un idiot). Si $versionLastMaj a une valeur, il n'est pas nécessaire d'ouvrir le fichier. Il est par contre nécessaire de vérifier que le fichier existe. Dans le cas contraire, on laissera le dernier cas retourner la valeur qu'il veut.

Updated 22/09/2018 11:24

Split up Memacs into separate moldule repositories?

novoid/Memacs

As mentioned in #69, there seems to be an issue with having so many dependencies that are installed when a user is interested in one Memacs module only:

I, too, am worried on adding all requirements for all modules. When somebody is only interested in one (simple) Memacs module, why should she/he install a lot of dependencies. Maybe we did a conceptual mistake in the early stage when we decided to use one single repository for all different Memacs modules.

How to deal with this? Split up Memacs into separate repositories/packages (one module = one Python pip package/repository)?

Updated 22/09/2018 10:33

Write mission statement

ActivityWatch/activitywatch

I have a lot of ideas about the future of ActivityWatch that I haven’t written down, and some of these are highly important since they concern the direction I want things to go in.

Communicating this is important for people who wouldn’t otherwise be interested to get why it’s actually an important project. While we have some writings in the docs they were hastily written, don’t really get to the point, and an update is long overdue.

My ideas so far concern:

  • Use by professionals (consultants mostly)
    • Might lead to a source of revenue and financial sustainability of the project
  • Use by individuals who are interested in self-improvement
    • Helps with community building and attracts contributors
  • Use of data in privacy-first applications (like Thankful)
    • Enables new applications, helps with getting contributors.
  • Use in research
    • Help society and individuals understand how we use our devices, how these usage patterns change over time, and how they affect other aspects of our lives.
    • One of the areas I’m specifically interested in is the war for our attention that is going on. If we’d have started this research sooner, we could have avoided this mess. See this video by CGPGrey for some context.
    • There might be opportunities to get grants for this type of research. (From where?)
    • We should add a way to cite the project, as done with GNU Parallel and scikit-learn.

Finding synergies in these areas are important. I think ActivityWatch should be able to help will all of the above, but not all of it should be dealt with in the core software. We should also start thinking about ways to push these different use cases forward, and that includes reaching out to people who might be interested in one or more of these uses.

I’m open to comments and suggestions.

Updated 22/09/2018 11:40

Reintroduce the Unit-Tests into the test-package

ThorbenKuck/NetCom2

Feature-Request-Checklist

Please make sure the feature you are requesting has not already been reported!

  • [X] I have added the feature request label to this issue

If your checklist is not fully ticked, please try to complete it such that it does. Optional parts are not required. You can freely delete those. Either remove the Optional-tags or remove the whole Optional-part.

The following is a template to help you state the request clearly.


Description

The unit tests have been broken with the redesign and relocated. They are within the src/test/ folder and therefor not automatically checked. This was needed at the time, but needs to be redone.

The reason

Unit tests help us, to automatically check things. We have to provide unit tests, to allow for quality control.

Connected parts

All. Everything has to be tested.

Example

There is no code example. All tests have to be relocated and must be changed to the new design.

Alternatives

We could also write complete new tests. However, since we already have a lot of those tests, this would be unnecessary work.

Updated 22/09/2018 10:13

Unexpected crash in telepathy-ofono

ubports/telepathy-ofono

While doing a test call (calling and hanging up without a call accepted) I accidently saw thi sin syslog: ``` Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.981114] telepathy-ofono: unhandled page fault (11) at 0x0000001c, code 0x017 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.982036] pgd = f2d0c000 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.982401] [0000001c] pgd=0448b831, pte=00000000, *ppte=00000000 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.983878] Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.983913] Pid: 2730, comm: telepathy-ofono Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.983957] CPU: 0 Tainted: G W (3.4.0-g8826794 #1) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984002] PC is at 0xb66c3d5a Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984039] LR is at 0xb66c3d4b Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984084] pc : [<b66c3d5a>] lr : [<b66c3d4b>] psr: 200b0030 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984098] sp : bef4afb0 ip : 001a064c fp : b68b19d9 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984138] r10: 01a843d0 r9 : 00000001 r8 : b66a3dcd Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984178] r7 : 01ae55e8 r6 : 01bdf818 r5 : b68b19d8 r4 : 00000000 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984220] r3 : b63b77e4 r2 : 00000018 r1 : 00000001 r0 : b68b19d8 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984266] Flags: nzCv IRQs on FIQs on Mode USER_32 ISA Thumb Segment user Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984311] Control: 10c5787d Table: 32d0c06a DAC: 00000015 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984350] Backtrace: Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984458] [<c010a1d8>] (dump_backtrace+0x0/0x104) from [<c0babbdc>] (dump_stack+0x18/0x1c) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984501] r6:0000000b r5:0000001c r4:c4587fb0 r3:271ae91c Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984845] [<c0babbc4>] (dump_stack+0x0/0x1c) from [<c01077f4>] (show_regs+0x44/0x50) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984930] [<c01077b0>] (show_regs+0x0/0x50) from [<c01125d8>] (do_user_fault+0x104/0x150) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.984976] r4:f5b71400 r3:271ae91c Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985093] [<c01124d4>] (do_user_fault+0x0/0x150) from [<c0bc0b24>] (do_page_fault+0x358/0x3ec) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985138] r9:f2c93880 r8:00000017 r7:f5b71400 r6:0000001c r5:00030001 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985259] r4:c4587fb0 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985335] [<c0bc07cc>] (do_page_fault+0x0/0x3ec) from [<c01003c4>] (do_DataAbort+0x144/0x24c) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985403] [<c0100280>] (do_DataAbort+0x0/0x24c) from [<c0bbf138>] (__dabt_usr+0x38/0x40) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985452] Exception stack(0xc4587fb0 to 0xc4587ff8) Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985498] 7fa0: b68b19d8 00000001 00000018 b63b77e4 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985558] 7fc0: 00000000 b68b19d8 01bdf818 01ae55e8 b66a3dcd 00000001 01a843d0 b68b19d9 Sep 22 12:07:45 ubuntu-phablet kernel: [ 196.985617] 7fe0: 001a064c bef4afb0 b66c3d4b b66c3d5a 200b0030 ffffffff

``` I have no idea where it comes from. Telephone handling seemed normal afterwards.

Updated 22/09/2018 14:05 1 Comments

[Epic] Road to LinguiJS v3

lingui/js-lingui

Hello everyone 👋

I’m planning v3 release since the end of July. Until now I was busy with incremental changes, but I think it’s time to make a major cleanup. The goal is to fix long-standing issues and simplify API.

My biggest motivation is the live stream I saw few days ago (#331). Today I tried to bootstrap a fresh React project after ~18 months since I start using this library. I was shocked and terrified how many things are confusing if they work at all. It’s kinda fuck-up I haven’t noticed this earlier. I use this library almost daily, all tests pass, so I overlooked the initial experience when you try to use the lib for the first time.

There’re few features which might be released in 2.8, but I don’t want to add more features when the basics don’t work properly. If you see any feature below which you want to release ASAP, feel free to send a PR. My main focus will be release of v3 though.

Contributing

Comments, suggestions and review of tasks below is welcome and very appreciated!

If you’re interesting in coding some task below, please use next branch.

Meta

  • I would like to keep core API as it was with very few changes.
  • The React API should be simplified as the logic is moved to core.
  • Presets are removed completely because they aren’t needed at all.
  • Plugins are replaced with standalone version of macros. I18n components (like Trans) will be imported from @lingui/macro package. This can be simplified using standalone version of macros, which work like plugins - it’s possible to provide implicit imports, so macros dont' have to be imported in every file.

Few global changes:

  • [ ] use locale instead of language
  • [x] #335 raise required node.js version to 8.x ~6.x, add test suit using node 6.x~
  • [ ] publish pre-releases for each major/minor version

Core

Core object should be the source of truth for all i18n related data - active language, active messages, catalogs and language data

  • [ ] remove all formatting methods (moved to macro)
  • [ ] refactor catalog loading: load(locale: string, catalog: Catalog)
  • [ ] add events: onLocaleRequest (triggers when locale is requested), onActivate (triggers when locale is loaded and ready to be activated)
  • [ ] idea: how to provide custom number/date formatters? E.g. what if I want to use date-fns instead of Intl.DateTimeFormat?

React

  • [ ] remove all components except Trans (moved to macro)
  • [ ] remove language, locales and catalogs props and enforce passing i18n object from setupI18n. Catalogs and language will be handled in core object, I18nProvider will be just notified when language or catalog changes and the sole purpose of I18nProvider is setup I18n context.
  • [ ] replace I18nPublisher with Context provider, rewrite withI18n and I18n to use Context consumer

Macro

  • [ ] provide Prop Types
  • [ ] provide Flow types
  • [ ] provide Typescript definitions
  • [ ] don’t require other prop to be defined (Polish, Russian language use other for decimal numbers and many as a catch all for integers)

Transform Plugins

  • [ ] replace with standalone version of macros
  • [ ] add configuration for custom i18n component names / locations (e.g import MyTrans from './MyTrans)

Presets

  • [ ] obsolete and remove completely

Extract plugin

  • [ ] fix whitespace handling #265 #268 #324

CLI

  • [ ] improve error messages on Babel version mismatch
  • [ ] change default format to PO file
  • [ ] fix --convert-from option for converting formats
  • [ ] fix: don’t use default message as translation in new messages
  • [ ] add sorting option by origin and make it default
  • [ ] add lingui watch command to extract/compile catalogs on changes
  • [ ] improve locale inheritance #280
  • [ ] include polyfills in compiled catalogs #263
  • [ ] split source catalogs #326 #257
  • [ ] load messages from external sources #293
  • [ ] fuzzy matching of changed message ids (based on origin)

Documentation

  • [ ] Migrate to GatsbyJS
  • [ ] document development and build (including CI) workflow

Estimated size reduction

snimek obrazovky 2018-09-22 v 17 27 05

Updated 22/09/2018 15:29

Help request: implement integer komi and draws

sai-dev/sai

As was noted by afalturki and confirmed by gcp on the LZ forum, it would be really neat to have integer komi and draws implemented.

It shouldn’t be too hard, because the low-level management of the board should come from Leela code and hence appears to be ready for these features, but the rest of the code is not.

I don’t have much time to implement this now, so I wanted to ask if someone has time and is willing to help?

Thank you in advance.

Updated 22/09/2018 08:21

Fails with an error if there are no tests in a repository

PowerShell/DscResource.Tests

When a repository not yet contain tests (or a Tests folder), the test framework fails with an error. I suggest we add a check if there are tests, and outputs a warning if there are no tests.

Get-ChildItem : Cannot find path 'C:\projects\xchrome\Tests' because it does not exist.
At C:\projects\xchrome\DscResource.Tests\AppVeyor.psm1:216 char:27
+ ... tionFiles = Get-ChildItem -Path $testsPath -Include '*.config.ps1' -R ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\projects\xchrome\Tests:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

https://ci.appveyor.com/project/PowerShell/xchrome/build/1.1.58.0

Updated 22/09/2018 10:34 1 Comments

Cheat Repositories

MCSH/cheat

so, thing is, I always wanted to re-do a thing that I have done before but can’t remember how I did it! searching is the answer but is time-consuming. we forget how we did something all the time right?

this project allows me to fix that problem, but the thing is I need to move the cheat files all over the places I want to use'em. The idea is to make it a .com thing so people can share their cheats. maybe even have their own local cheat files too. or remote repo for their not public cheat files. it’s quickly turning into some multi repo thing!:) where we have an official repo, and then each user may or may not have their own shared repo across their network, and then their local repo’s. (choosing what repo’s to include in the app should be up to the user right?)

Like I hate it when a co-workers swim’s by to ask me how would I create a decorator? I can point him to our office’s cheats repository and he is good since I have written the cheat on writing a decorator, and it’s following the exact policy of our company.

currently, I have no idea on how to do it or where to start, and I didn’t like the idea of using YAML files. we may need a way to quickly add cheat things too.

Let’s collaborate on it a bit and see what it grows to be.

راستی میشه اینجا راحت فارسی نوشت؟ ادیت۲: میشه ولی راست به چپش مشکل داره که من احتمالا باهاش اوکی باشم! من یکی که سویچ کردم رو فارسی واسه جواب دادن مگر بخوایم ریپو تر تمیز بمونه که شاید استفاده غیر فارسی زبان هم داشت!

Updated 22/09/2018 09:17 1 Comments

TODO: SimpleSerialize (SSZ) spec

ethereum/eth2.0-specs

Open an issue for following up our discussion on gitter.

Specification requirements

  • Design rationale
    • Directly mapping to the specified type and speeding block processing up. (by Vitalik from https://www.youtube.com/watch?reload=9&v=cp0LxJiyV3I)
  • Encoding
  • Decoding
  • Types
    • Integers
      • [not in the current implemenation] Specify the signed and unsigned integers support.
      • [not in the current implemenation] Static types?

Anything else? :)

Reference

cc @vbuterin @djrtwo @arnetheduck @mratsim @paulhauner @NatoliChris @poseyy

Updated 22/09/2018 06:43 2 Comments

Add config with a custom color scheme

sfi0zy/muilessium

Expected Behavior

Muilessium should have a separate LESS config with brand colors, colors for error and success messages, background, foreground e.t.c. Components should use these colors instead of hard coded ones.

Actual Behavior

It doesn’t have this config.

Specifications

  • Package version: 0.2.34
  • OS: All
  • Browser version: All
Updated 22/09/2018 06:28

Support new major Beat Link and Carabiner features

brunchboy/beat-carabiner

Since this was released, a lot has happened in the Beat Link world.

  • The Carabiner protocol has been enhanced to protect against messages being grouped into a single network packet.
  • Support for Ableton Link version 3 Start/Stop (transport) control has been added.
  • Beat Link can now send status packets, become tempo master, and cause CDJs to stay aligned to the Ableton Link timeline.

I’m not sure when I will have time to port those features to this project, but since I already implemented them in Beat Link Trigger, if anyone else is interested in trying, I can help orient them.

Updated 22/09/2018 06:25

Web version of Rezonator [HTML5]

johnwdubois/rezonator

Is your feature request related to a problem? There is a need for a Web version of Rezonator [HTML5]

Describe the solution you’d like 1. Port the existing version of Rezonator to create a Web [HTML5] version. 2. Test the Rezonator on the Web [HTML5]. 3. Pay special attention to input-output issues, such as file handling, folder locations, saving and loading, etc. 3. In addition, development of the Web version should pay special attention to secure sign-in, identity, crowd-sourced data collection, leaderboards, etc. 4. Adapt the Rezonator as necessary for the specific platform. 5. Keep any changes for this port to a minimum. Any substantive new features should be incorporated into the main line of Rezonator development.

Additional context In the long term, we plan to support versions of Rezonator for Mac, Windows, iPhone, Android, and Web (HTML5). Our coding engine, GameMaker Studio 2, provides good support for these platforms.

Updated 22/09/2018 05:11

Android version of Rezonator

johnwdubois/rezonator

Is your feature request related to a problem? There is a need for an Android version of Rezonator.

Describe the solution you’d like 1. Port the existing version of Rezonator to create an Android version. 2. Test the Rezonator on the Android platform. 3. Pay special attention to input-output issues, such as file handling, folder locations, saving and loading, etc. 4. Adapt the Rezonator as necessary for the specific platform. 5. Keep any changes for this port to a minimum. Any substantive new features should be incorporated into the main line of Rezonator development.

Additional context In the long term, we plan to support versions of Rezonator for Mac, Windows, iPhone, Android, and Web (HTML5). Our coding engine, GameMaker Studio 2, provides good support for these platforms.

Updated 22/09/2018 05:05

iPhone version of Rezonator

johnwdubois/rezonator

Is your feature request related to a problem? There is a need for an iPhone/IOS version of Rezonator.

Describe the solution you’d like 1. Port the existing version of Rezonator to create an iPhone/IOS version. 2. Test the Rezonator on the iPhone/IOS platform. 3. Pay special attention to input-output issues, such as file handling, folder locations, saving and loading, etc. 4. Adapt the Rezonator as necessary for the specific platform. 5. Keep any changes for this port to a minimum. Any substantive new features should be incorporated into the main line of Rezonator development.

Additional context In the long term, we plan to support versions of Rezonator for Mac, Windows, iPhone, Android, and Web (HTML5). Our coding engine, GameMaker Studio 2, provides good support for these platforms.

Updated 22/09/2018 05:12

Mac version of Rezonator

johnwdubois/rezonator

Is your feature request related to a problem? There is a big demand from users for a Mac version of Rezonator.

Describe the solution you’d like 1. Port the existing version of Rezonator to create a Mac version. 2. Test the Rezonator on the Mac platform. 3. Pay special attention to input-output issues, such as file handling, folder locations, saving and loading, etc. 4. Adapt the Rezonator as necessary for the specific platform. 5. Keep any changes for this port to a minimum. Any substantive new features should be incorporated into the main line of Rezonator development. 6. Tips on setting up for Mac is a blog post that provide essential guidance for this task; please check it out.

Additional context In the long term, we plan to support versions of Rezonator for Mac, Windows, iPhone, Android, and Web (HTML5). Our coding engine, GameMaker Studio 2, provides good support for these platforms.

Updated 22/09/2018 05:23

Support for non-androidx library

saket/InboxRecyclerView

Hi Saket, Its a wonderful library and I was hoping to use it for my project but to refactor to androidx is a major problem as most of the dependencies used are not currently using androidx and it is also unstable for production.

So, is there a workaround to keep using the support library without changing to androidx. Thanks!

Updated 22/09/2018 15:42 4 Comments

Add new member

ufosc/club-backend

A new member can be created with any amount of a member’s data (as described here) as long as a primary key is included and found to be unique in the database. If there is a duplicate, send a failure message. Any information not provided will be either empty string (if string) or false (if boolean). Either an officer, bot, or request through the club website has permissions to create a user (need to create some limiter to avoid bad actors).

Updated 22/09/2018 04:01

Accsessing members

ufosc/club-backend

The API should support retrieving a list of all members, members in a certain project, members at a specific event, and single named members (using their primary key). All of this access should be restricted to officers. Each request should send all the data associated with those members (as described here). If no members are found return an empty list.

Updated 22/09/2018 03:53

glmnet predictions and lambda

topepo/parsnip

We want to have the number of rows in the prediction results the same as the number of rows in new_data.

Right now, the code will make predictions at all lambda values contained in the model fit. Here is an example:

> all_lambda <- 
+     linear_reg() %>%
+     fit(mpg ~ ., data = mtcars, engine = "glmnet")
> 
> predict(all_lambda, new_data = mtcars[1:3, -1])
# A tibble: 237 x 2
   .pred_values .pred_lambda
          <dbl>        <dbl>
 1         20.1         5.15
 2         20.1         5.15
 3         20.1         5.15
 4         20.4         4.69
 5         20.2         4.69
 6         20.5         4.69
 7         20.5         4.27
 8         20.4         4.27
 9         21.0         4.27
10         20.7         3.89
# ... with 227 more rows
> # yuk ".pred_lambda" needs to go regardless
> 
> length(unique(.Last.value$.pred_lambda))
[1] 79

The new multi_predict will generate predictions at multiple lambda values and should be preferred in this case. I suggest that

  • predict only produces predictions at a single lambda (and otherwise throws an error that directs people to multi_predict for this instance).

  • We could write some specialized predict methods for the glmnet subclasses (e.g. multnet, lognet, etc) that have a penalty argument that accepts a single value. This would appear seamless to to the user since

predict(all_lambda, new_data = mtcars[1:3, -1])               # errors but
predict(all_lambda, new_data = mtcars[1:3, -1], penalty = .1) # would work

since

> class(all_lambda)
[1] "model_fit" "_elnet"  

(and predict._elnet would just call multi_predict._elnet with a single parameter value)

crappy straw-man alternative: The issue is that a lot of people are going to leave penalty unspecified, expect to get all possible predictions back, and be frustrated that they have to use a different predict function to get them. Making predict.model_fit make predictions at all lambdas is possible but then it behaves differently for this model (which is how we got into this mess).

Any other suggestions?

Updated 22/09/2018 03:19

Cannot upload binaries to V5 brain on Mac

purduesigbots/pros-cli3

Expected Behavior:

Successful upload of binary to microcontroller.

Actual Behavior:

Uploading /Users/jeffrey/Documents/hello/bin/output.bin to v5 device on /dev/cu.usbmodem1421 as hello to slot 1
Uploading slot_1.bin (/Users/jeffrey/Documents/hello/bin/output.bin) [#-----------------------------------]   2%
ERROR - pros.cli.upload:upload - Couldn't find the response header in the device response. Got  but was expecting aa55
  File "/usr/local/Cellar/pros-cli/3.1.2/libexec/lib/python3.7/site-packages/pros/serial/devices/vex/vex_device.py", line 69, in _rx_packet
    raise IOError(f"Couldn't find the response header in the device response. "
OSError: Couldn't find the response header in the device response. Got  but was expecting aa55

Steps to reproduce:

  1. prosv5 conductor new-project test-upload-mac
  2. cd test-upload-mac
  3. prosv5 make
  4. prosv5 upload

System information:

Operating System: macOS High Sierra (10.13.6)

PROS Version: 3.1.2

Additional Information

I installed PROS 3 using the instructions for macOS installs involving Homebrew for the latest release (3.1.2). Uploading works fine on another computer running Windows 10.

The percentage at which prosv5 upload fails and outputs the above error message varies from about 0 to 25.

Screenshots/Output Dumps/Stack Traces

Full output of prosv5 --debug upload

Updated 22/09/2018 05:32 11 Comments

BooleanBitfield needs to be made sane

sigp/lighthouse

There is an implementation of a Boolean Bitfield here:

https://github.com/sigp/lighthouse/tree/master/boolean-bitfield

It (kinda) does the job for now, but it really needs some work done. If you spend some time looking at it I think you’ll soon find out what I mean. As an example;

  • There is a possibility of overflows: we return the number of bits as a usize, however there can theoretically be usize number of bytes meaning we can have 8 * usize bits.
  • It keeps track of the number of true bits as you flip bits on and off. I don’t think this is ideal as most cases where we want to know the number of true bits, we’ll be receiving some serialized bytes from somewhere else (e.g., p2p nodes) and will need to calculate it manually.

On top of these two points, there’s likely many chances for optimization.

Updated 22/09/2018 08:05

Adopt Juno's "inline tabbars"

alcinnz/Odysseus

Looking at elementary’s implementation of this, it appears it’s up to the apps to provide the smarts in choosing a color. From there all that needs to be done is to add a new class to the tabbar and to set a color variable.

It’d be neat if the tabs could be coloured for the background of their corresponding pages.

Updated 22/09/2018 02:52

웹 폰트 로딩 문제

ryuhangyeong/vanillajs-todo-app

문제

웹 폰트 Noto Sans KR를 사용하기 위해 구글 웹 폰트가 제공하는 @import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR&subset=korean');를 사용한다. 웹 애플리케이션 실행시 웹 폰트를 불러오는 과정에 미세한 딜레이가 존재한다. 사실, 브라우저 캐시가 존재하여 처음으로 방문한 웹폰트에 대해서는 다운로드를 하고 캐시에 저장하고 그 다음부터는 캐시에 있는 것을 가져와서 딜레이 현상이 없을 줄 알았는데. 그렇지 않았다. 아니 그렇게 작동을 하고 있기는 한데 깜빡임 현상이 있는 것일까? 내가 원하는 것은 구글 웹 폰트가 다 적용되고 웹페이지가 렌더링되는 것이다. 그러면 깜빡임현상이 없을 것이다. 결론은 사용자 경험이 떨어지는게 현재 문제점이다.

문제 해결을 위한 앞으로 조사 할 것들

Updated 22/09/2018 14:36 1 Comments

Verify.Diagnostic() with multiple supported diagnostics is not actionable

dotnet/roslyn-sdk

Users get a message like this:

     System.Core.dll!System.Linq.Enumerable.Single<Microsoft.CodeAnalysis.DiagnosticDescriptor>(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DiagnosticDescriptor> source)    Unknown
     System.Collections.Immutable.dll!System.Linq.ImmutableArrayExtensions.Single<Microsoft.CodeAnalysis.DiagnosticDescriptor>(System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> immutableArray)    Unknown
>    Microsoft.CodeAnalysis.Analyzer.Testing.dll!Microsoft.CodeAnalysis.Testing.AnalyzerVerifier<Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionAnalyzer, Microsoft.CodeAnalysis.CSharp.Testing.CSharpCodeFixTest<Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionAnalyzer, Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionCodeFix, Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier>, Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier>.Diagnostic() Line 18    C#
     Microsoft.CodeAnalysis.CodeFix.Testing.dll!Microsoft.CodeAnalysis.Testing.CodeFixVerifier<Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionAnalyzer, Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionCodeFix, Microsoft.CodeAnalysis.CSharp.Testing.CSharpCodeFixTest<Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionAnalyzer, Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionCodeFix, Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier>, Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier>.Diagnostic() Line 17    C#
     Microsoft.VisualStudio.Threading.Analyzers.Tests.dll!Microsoft.VisualStudio.Threading.Analyzers.Tests.CSharpCodeFixVerifier<Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionAnalyzer, Microsoft.VisualStudio.Threading.Analyzers.VSTHRD200UseAsyncNamingConventionCodeFix>.Diagnostic() Line 18    C#
     Microsoft.VisualStudio.Threading.Analyzers.Tests.dll!Microsoft.VisualStudio.Threading.Analyzers.Tests.VSTHRD200UseAsyncNamingConventionAnalyzerTests.BoolReturningMethodWithSuffix_GeneratesWarning() Line 268    C#

The library should include an actionable message for this case - specifically that the user should call the Verify.Diagnostic(DiagnosticDescriptor) overload to provide the correct descriptor.

Updated 22/09/2018 02:36

Plan better way to pass PlayerInfo

FernAcular/StrongholdSiege

Currently we drag and drop Player class into Strongholds. Created a third class (EmptyStronghold) to get rid of NULLExceptionError, since you cannot have an un-instantiated Object.

Currently requires every stronghold to have a Player GameObject dragged in (Wouldn’t be best for scaling strongholds).

Need to figure way to allow prefab to have default player settings and only two strongholds to require drag and drop.

Updated 22/09/2018 02:25

HashCollision{Map,Set}Nodes should be created at highest position in CHAMP trie possible

scala/bug

Currently, if two keys collide, they force a long trie all the way to the bottom level (6 levels deep IIRC), just to point at the two colliding keys. They should instead be stored as a HashCollision{…}Node at the first available spot in the trie (i.e. keep pushing down the trie until there are no other nodes at that level, but no further).

Updated 22/09/2018 02:17

Fork me on GitHub