Use config dict in TaskConfigLogger for easier serialization

Use config dict (instead of dataclass) in TaskConfigLogger for easier serialization (e.g. json.dump).
Note that dataclasses are not JSON serializable out of the box.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

I'm quite against going back from dataclass to dict

Let me try to explain my point:

the most common use case of the dataclasses.asdict utility function is serialization: convert a dataclass instance to a JSON-like dictionary for serialization, e.g., when sending data over a network or storing it in a database,...
the main purpose of our loggers is indeed to prepare all the evaluation data for serialization (done by EvaluationTracker)

In my opinion, converting dataclass instances to dicts is a common and recommended approach for logging and (later serializing) them.

I'm quite against going back from dataclass to dict

I've been considering the use of dataclasses in the logging system and would like to understand more about the rationale behind this choice. It would be helpful to know the considerations or advantages that led to this decision. Could you please share some insights or context about the thought process involved? Thanks.
CC: @clefourrier

Ofc, and thanks for your very detailed answers!
We went the dataclass way first to constrain keys used (without having to add a lot of post init logic as you would for a dict), get implicit typing about said keys, and to help us when coding with IDEs as we now get autocompletion.
We had added a dataclass serializer to json afterwards and changed all the dict classes we were using to dataclasses and it indeed made coding way faster.


Adding new feature Illuminate/Http/Request.php to change request Camelcase to Snake case

The database column naming conventions is snake case for example 'first_name' so when we insert to database we simple use ModelName::create($request->all()) because the coming request key name is using snake too.
What if the coming request key naming convention is using CamelCase? Then we can't use the above method in inserting the data.
I have used regex to change the request CamelCase to use Snake case so programmers can use the above insert method.
✌

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@ahmedessam1 wonderful friend


Support for MacOS

Hello! Please, add support for MacOS system.

How can we run it in MacOS ? That's a pity that we cannot use the nice hardware with the M processors with your program. If this is not going to get supported, do we have any workaround to make it work ? (without virtualization)

Hello!
Hello! Please, add support for MacOS system.
Thanks！

virtualization doesn't seem to work with arm64


Aim-bot issue

**Fedoraware Version Date: last
**Windows Version: 10 pro
Configs used:
configs.zip
Description:
When i use bullet weapon, aim-bot tryes to PROJECTILE enemy? I linked video, where you can see, how aim-bot aiming like projectile aimbot. https://youtu.be/F1UIMiaXpmo
Steps to reproduce:
Just use any sniper riffle or revolver and speactate where aim-bot aiming.
Steps to reproduce the behavior:

Go to casual/community server (NOT LOCAL, there is no such error in local server)
Try to kill enemy with bullet weapon

Additional info:
I spot this issue scince october, I though it will repear itself. Sorry for my bad english.

0:17 timecode in video

How is it aiming as an projectile weapon? You're probably missing because you're too far and the revolver has spread

How is it aiming as an projectile weapon? You're probably missing because you're too far and the revolver has spread

No, no. It missing even in short range. I can make another video if you want.

reinject and make a new aimbot cfg from scratch, maybe get one of the cfgs in the discord.

reinject and make a new aimbot cfg from scratch, maybe get one of the cfgs in the discord. this can help sometimes.

k, thx, i will try

its just conflicting settings brother


HOL46 #11132: Deploy a Microservice App Connected to Oracle Base Database Service

11132
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

Added the updated changes after the self-QA completion


Tamal

Animated Product Card
I have built the animated product card using Reactjs , this Closes #8
A handy guide is being provided at products_card -> README.md
Check it out :
Product-Card
Thankyou,
 Tamal

Hello @IAmTamal. We are glad to receive your contribution for Dezenix. Due to some changes regarding the library specifications, There are some changes we request you to carry out before we merge this pull request.
Firstly we have changes the layout of the project. The readme is yet to be updated so ill describe the new layout here

All User-made components are to be in src/lib-components/{component_name} here {component_name} is the name of your component in snake_case
Css files should follow this syntax {name}.module.css here {name} can be anything you want but in snake_case. This is due to the fact that we are transpiling the css classnames to avoid any conflicts between 2 or more modules. Due to this, simple importing your css file will no-longer work. You will have to named import your css files and then treat it as a dictionary to use your css classnames.
User-made module should be exported in src/index.js
A simple example should be added in example/src demonstrating your component

There have also been some changes to component guidelines.

Components should make use of props to display images or strings. In your case specifically we would request you to make use of props to display your Shoe-img image, Item name, item price and buy now and any other kindof description you would like to add button
We also request you to not make use of any network components. For fonts, It would be better if you make use of default browser provided fonts. This is due to the fact that we can't always be sure which license is used in 3rd party stuff. In future we do plan to provide more fonts which will be licensed properly

As for the guideline changes, I've implemented your product card according to the new guidelines. Please take a look at the "Tamal" branch in this repo itself. We only require you to make use of props and remove any 3rd party import before we close this issue.
Thanks you


Implement link-layer channel payment fragmentation

The daemon currently support open/closing and conducting payments over several channels per-peer. However, link-layer payment fragmentation has yet to be implemented.
Link-layer payment fragmentation arises when an HTLC is to be forwarded on an out-going interface, but neither of the links (channels) have sufficient capacity. In order to clear+settle the payment, the payment hash may have to be distributed amongst several links.
Such logic would need to be inserted both when sending out locally initiated payments, and when forwarding multi-hop HTLC's within the htlcSwitch.

Closing for now as the current onion routing scheme renders this impossible if we wish to maintain the verifiability of the per-hop payload.


feat(api): refactor parse and add setup.py

Quick refactor for the calendar_parse.py and adds a setup.py so we can just pip install . when inside the repo, instead of pip install -r requirements.txt.

[x] add setup.py
[x] refactor calendar_parse.py
[ ] integrate with tests

Closes #20
Closes #21
Closes #24

Still a few things to do here (mostly test related)
But also curious why the other code is in a different repository?
I guess I need to dig in a little more and look at how the database is all set up.

I'm trying to run thru the setup from a new clean virtual environment and can't get past the pip install . phase. I get the following error output
(env) ➜  courtbot-vt git:(feature/refactor-improve-parse) ✗ pip install .
Processing /home/yume/coding-projects/code-for-btv/courtbot-vt
Requirement already satisfied: bs4==0.0.1 in ./env/lib/python3.8/site-packages (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Requirement already satisfied: importlib-metadata==3.7.3 in ./env/lib/python3.8/site-packages (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Requirement already satisfied: iniconfig==1.1.1 in ./env/lib/python3.8/site-packages (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Requirement already satisfied: packaging==20.9 in ./env/lib/python3.8/site-packages (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Collecting pandas==1.2.1 (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/ac/00/b52d3ae41ce14c4adef5d2a6952c46ed733ff9d1b33fc1aa423db0a6c1cd/pandas-1.2.1-cp38-cp38-manylinux1_x86_64.whl
Collecting pymongo==3.12.0 (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/ba/3a/ea837307e36f8d182341b2cb21196b777f19681473040188cf9299721623/pymongo-3.12.0-cp38-cp38-manylinux1_x86_64.whl
Collecting pytest==6.2.2 (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/a1/cf/7f67585bd2fc0359ec482cf3c430bce3ef6d3f40bc468137225a733e3069/pytest-6.2.2-py3-none-any.whl
Collecting python-dotenv==0.19.1 (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl
Requirement already satisfied: pytz==2020.4 in ./env/lib/python3.8/site-packages (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Collecting requests==2.24.0 (from courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl
Requirement already satisfied: beautifulsoup4 in ./env/lib/python3.8/site-packages (from bs4==0.0.1->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Requirement already satisfied: zipp>=0.5 in ./env/lib/python3.8/site-packages (from importlib-metadata==3.7.3->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Requirement already satisfied: pyparsing>=2.0.2 in ./env/lib/python3.8/site-packages (from packaging==20.9->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Collecting numpy>=1.16.5 (from pandas==1.2.1->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip
Collecting python-dateutil>=2.7.3 (from pandas==1.2.1->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl
Collecting py>=1.8.2 (from pytest==6.2.2->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl
Collecting attrs>=19.2.0 (from pytest==6.2.2->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/be/be/7abce643bfdf8ca01c48afa2ddf8308c2308b0c3b239a44e57d020afa0ef/attrs-21.4.0-py2.py3-none-any.whl
Collecting pluggy<1.0.0a1,>=0.12 (from pytest==6.2.2->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Collecting toml (from pytest==6.2.2->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests==2.24.0->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests==2.24.0->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.24.0->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/56/aa/4ef5aa67a9a62505db124a5cb5262332d1d4153462eb8fd89c9fa41e5d92/urllib3-1.25.11-py2.py3-none-any.whl
Collecting chardet<4,>=3.0.2 (from requests==2.24.0->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Requirement already satisfied: soupsieve>1.2 in ./env/lib/python3.8/site-packages (from beautifulsoup4->bs4==0.0.1->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
Collecting six>=1.5 (from python-dateutil>=2.7.3->pandas==1.2.1->courtbot-vt==0.1.dev72+ge86f67e.d20220323)
  Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Building wheels for collected packages: courtbot-vt, numpy
  Running setup.py bdist_wheel for courtbot-vt ... error
  Complete output from command /home/yume/coding-projects/code-for-btv/courtbot-vt/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-yjr9ev7z-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp2jri4zi_pip-wheel- --python-tag cp38:
  /tmp/pip-yjr9ev7z-build/.eggs/setuptools_scm-6.4.2-py3.8.egg/setuptools_scm/integration.py:17: RuntimeWarning:
  ERROR: setuptools==39.0.1 is used in combination with setuptools_scm>=6.x

  Your build configuration is incomplete and previously worked by accident!

  This happens as setuptools is unable to replace itself when a activated build dependency
  requires a more recent setuptools version
  (it does not respect "setuptools>X" in setup_requires).

  setuptools>=31 is required for setup.cfg metadata support
  setuptools>=42 is required for pyproject.toml configuration support

  Suggested workarounds if applicable:
   - preinstalling build dependencies like setuptools_scm before running setup.py
   - installing setuptools_scm using the system package manager to ensure consistency
   - migrating from the deprecated setup_requires mechanism to pep517/518
     and using a pyproject.toml to declare build dependencies
     which are reliably pre-installed before running the build tools

    warnings.warn(
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for courtbot-vt
  Running setup.py clean for courtbot-vt
  Running setup.py bdist_wheel for numpy ... error
  Complete output from command /home/yume/coding-projects/code-for-btv/courtbot-vt/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oslxvp3r/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpvs4eze6ipip-wheel- --python-tag cp38:
  Running from numpy source directory.
  Cythonizing sources
  Processing numpy/random/_bounded_integers.pxd.in
  Processing numpy/random/_pcg64.pyx
  Traceback (most recent call last):
    File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 53, in process_pyx
      import Cython
  ModuleNotFoundError: No module named 'Cython'

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 234, in <module>
      main()
    File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 230, in main
      find_process_files(root_dir)
    File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 221, in find_process_files
      process(root_dir, fromfile, tofile, function, hash_db)
    File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 187, in process
      processor_function(fromfile, tofile)
    File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 60, in process_pyx
      raise OSError(msg) from e
  OSError: Cython needs to be installed in Python as a module
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-oslxvp3r/numpy/setup.py", line 461, in <module>
      setup_package()
    File "/tmp/pip-build-oslxvp3r/numpy/setup.py", line 443, in setup_package
      generate_cython()
    File "/tmp/pip-build-oslxvp3r/numpy/setup.py", line 248, in generate_cython
      raise RuntimeError("Running cythonize failed!")
  RuntimeError: Running cythonize failed!

  ----------------------------------------
  Failed building wheel for numpy
  Running setup.py clean for numpy
  Complete output from command /home/yume/coding-projects/code-for-btv/courtbot-vt/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oslxvp3r/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  Running from numpy source directory.

  `setup.py clean` is not supported, use one of the following instead:

    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)

  Add `--force` to your command to use it anyway if you must (unsupported).

  ----------------------------------------
  Failed cleaning build dir for numpy
Failed to build courtbot-vt numpy
Installing collected packages: numpy, six, python-dateutil, pandas, pymongo, py, attrs, pluggy, toml, pytest, python-dotenv, idna, certifi, urllib3, chardet, requests, courtbot-vt
  Running setup.py install for numpy ... error
    Complete output from command /home/yume/coding-projects/code-for-btv/courtbot-vt/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oslxvp3r/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-pxamd0wy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/yume/coding-projects/code-for-btv/courtbot-vt/env/include/site/python3.8/numpy:
    Running from numpy source directory.

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install numpy`   (last NumPy release on PyPi)

    Cythonizing sources
    numpy/random/_bounded_integers.pxd.in has not changed
    Processing numpy/random/_pcg64.pyx
    Traceback (most recent call last):
      File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 53, in process_pyx
        import Cython
    ModuleNotFoundError: No module named 'Cython'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 234, in <module>
        main()
      File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 230, in main
        find_process_files(root_dir)
      File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 221, in find_process_files
        process(root_dir, fromfile, tofile, function, hash_db)
      File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 187, in process
        processor_function(fromfile, tofile)
      File "/tmp/pip-build-oslxvp3r/numpy/tools/cythonize.py", line 60, in process_pyx
        raise OSError(msg) from e
    OSError: Cython needs to be installed in Python as a module
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-oslxvp3r/numpy/setup.py", line 461, in <module>
        setup_package()
      File "/tmp/pip-build-oslxvp3r/numpy/setup.py", line 443, in setup_package
        generate_cython()
      File "/tmp/pip-build-oslxvp3r/numpy/setup.py", line 248, in generate_cython
        raise RuntimeError("Running cythonize failed!")
    RuntimeError: Running cythonize failed!

    ----------------------------------------
Command "/home/yume/coding-projects/code-for-btv/courtbot-vt/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oslxvp3r/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-pxamd0wy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/yume/coding-projects/code-for-btv/courtbot-vt/env/include/site/python3.8/numpy" failed with error code 1 in /tmp/pip-build-oslxvp3r/numpy/

Is this something wrong on my end?

@iamyume if you pip3 install --upgrade pip setuptools wheel and retry it should fix things, looks like old version of all 3

yes that did the trick thanks. Will be reviewing the PR this week. Thanks for all the work you've put in.

@iamyume for sure, fun to code stuff that helps people! Couldn't make it tonight (even though I was signed up) due to bad cold - need to sleep instead of stare at screens haha

Ok starting running the script and got an error pretty quickly. I can dive into things a little bit later, but probably would be best at least to wrap each event parsing in a try statement so an error won't crash the rest of the run
(env) ➜  courtbot-vt git:(feature/refactor-improve-parse) ✗ python3 main.py
INFO:root:Parsing all court calendars found at https://www.vermontjudiciary.org/court-calendars
INFO:root:Beginning to collect court calendar urls.
INFO:root:Finished collecting court calendar urls
INFO:root:Parsing URL https://www.vermontjudiciary.org/courts/court-calendars/ans_cal.htm. addison county, civil division.
INFO:root:Parsing URL https://www.vermontjudiciary.org/courts/court-calendars/and_cal.htm. addison county, criminal division.
Traceback (most recent call last):
  File "main.py", line 54, in <module>
    main()
  File "main.py", line 37, in main
    all_court_events = parser.parse_all(CALENDAR_ROOT_URL)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 322, in parse_all
    all_court_events += parse_calendar(court_url)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 260, in parse_calendar
    event_blocks += parse_day(day_text, date)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 177, in parse_day
    event_blocks += parse_courtroom_from_day(split, date)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 159, in parse_courtroom_from_day
    event_blocks.append(parse_event_block(case_text, date))
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 127, in parse_event_block
    full_date = VT_TIMEZONE.localize(datetime(date.year, date.month, date.day, hour, minute))
ValueError: hour must be in 0..23

Ok starting running the script and got an error pretty quickly. I can dive into things a little bit later, but probably would be best at least to wrap each event parsing in a try statement so an error won't crash the rest of the run
(env) ➜  courtbot-vt git:(feature/refactor-improve-parse) ✗ python3 main.py
INFO:root:Parsing all court calendars found at https://www.vermontjudiciary.org/court-calendars
INFO:root:Beginning to collect court calendar urls.
INFO:root:Finished collecting court calendar urls
INFO:root:Parsing URL https://www.vermontjudiciary.org/courts/court-calendars/ans_cal.htm. addison county, civil division.
INFO:root:Parsing URL https://www.vermontjudiciary.org/courts/court-calendars/and_cal.htm. addison county, criminal division.
Traceback (most recent call last):
  File "main.py", line 54, in <module>
    main()
  File "main.py", line 37, in main
    all_court_events = parser.parse_all(CALENDAR_ROOT_URL)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 322, in parse_all
    all_court_events += parse_calendar(court_url)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 260, in parse_calendar
    event_blocks += parse_day(day_text, date)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 177, in parse_day
    event_blocks += parse_courtroom_from_day(split, date)
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 159, in parse_courtroom_from_day
    event_blocks.append(parse_event_block(case_text, date))
  File "/home/yume/coding-projects/code-for-btv/courtbot-vt/src/parse/calendar_parse.py", line 127, in parse_event_block
    full_date = VT_TIMEZONE.localize(datetime(date.year, date.month, date.day, hour, minute))
ValueError: hour must be in 0..23

looks like its converting the 12 in 12:30 to 24....looking

@iamyume just fixed the bad hour, still fails on 2 pages I think? One because environmental doesnt have a county and the other is somewhere in a slack thread


Cannot use playbar in the record

Description
Cannot find Playbar after replay the record.
For example, in this demo
https://videojs.com/advanced/#disneys-oceans
all the videos have play bars so that we can control the time of replay.
Steps to reproduce
I am using the example of
http://<IP_ADDRESS>:8080/examples/upload/simple.html
Results

Expected
Please describe what you expected to see.

videojs
the latest
browsers
I am using chrome

duplicate of #23

@thijstriemstra
I am sorry that when I try the demo, it shows like this:

@JoeyChuuichi correct, that's how it's implemented right now. See #23 for an open ticket that also asks for the progress bar implementation.


Question about 3D reconstruction.

Hi,can we use this code for reconstruction the full head of the human being?

No, this code is trained on a database based on the Basel model that contains only the face. If you can get 3d head scan database you may re-train the code.

@naren142 Hi, I also want to get reconstruction of full head, including face and back. Do you find any good project? Can you share, please.


Support current source type for EEBUS (Porsche Mobile Connect Charger)

Hi
I'm using a Porsche Mobile Connect Charger with evcc, having switched from using it with the Porsche HEM due to the lack of support for a home battery by the Porsche HEM.
The PMCC works brilliantly with EVCC! 🥇🥇
A difference I did notice is that although EVCC is correctly managing the PMCC, the charger still thinks the current source is from the grid rather than solar as shown in the following two screen shots. The first is from the charger's dashboard web page and second is what is shown in evcc for the same session and the last is from the charge history in the My Porsche app.

While if the charger is connected to the Porsche HEM, both the PMCC dashboard and My Porsche app correctly indicate the session's current source as solar or grid.
This difference doesn't affect charging, evcc correctly habdles the charging sessions as per the desired configuration.
Is it possible for evcc to report the current source type to a EEBUS charger?
It would be nice a nice finishing touch if the charge session correctly reported the energy sources used.
For reference this is my configuration for the charger -
  - type: template
    template: pmcc
    ski: e4836c94b3a8b035b5cf191564acebb8a497e203
    ip: <IP_ADDRESS>
    name: pmcc

This is not possible because of the way evcc works compared to how the Porsche HEMS works.

Ok. Thank-you for the response.


WIP: sketch: add features introspection

WIP TBD

replaced by #958
thanks @shajmakh for taking over

/reopen
for demo purposes

main PR merged


The BDI_DataImportDeleteBTN doesn't protect against CSRF

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

**lurch:attach W-026535

Tracking W-026535

Closing this; superceded by @jjbennett's work in #3901


Remove unnecessary dart:async import.

I'm trying to enforce this inside google3, and so it would be nice to be
able to land this.
This requires Dart 2.1, so this is technically a breaking change. If
that's not OK, then I can abandon this PR and make an exception inside
google3 instead.
Note that Dart 2.1 has been out for quite a long time now.

Hi Michael, thanks a lot! I don't think Dart 2.1 is an issue, I have a pending PR which requires Dart 2.7 (#394), but we'd need to change package version in pubspecs and add something to a CHANGELOG.  I plan to start active work on syncing internal/external next week. Could you wait a bit until I merge #394 and then update this PR? Feel free to send me equivalent google3 change any time.

Michael, could you sync your PR? Minimum Dart SDK version is now 2.7


Cannot deploy vdc on devnet

Description
No nodes available to deploy vdc of size SILVER on devnet using https://vdc.devnet.grid.tf
Traceback/Logs/Alerts
error:
log.2021-06-30_11-02-12_919926.txt:2021-06-30 11:17:38.150 | ERROR    | jumpscale.sals.vdc.deployer:_log:930 - VDC UUID: de2b5ba315d949658384f8ed20f7af57, NAME: wed30v2, OWNER: ranatarek no available nodes to deploy etcd cluster

deployment still broken as 5/7/2021
fs/log.txt:2021-07-05 10:41:26.784 | ERROR    | jumpscale.sals.vdc.deployer:_log:930 - VDC UUID: 6f381501ce174cc4bfad4476df23463b, NAME: testnodevdeb, OWNER: samehabouelsaad no available nodes to deploy etcd cluster
fs/log.txt:2021-07-05 10:41:26.786 | ERROR    | jumpscale.sals.vdc.deployer:_log:930 - VDC UUID: 6f381501ce174cc4bfad4476df23463b, NAME: testnodevdeb, OWNER: samehabouelsaad failed to deploy etcd cluster
fs/log.txt:2021-07-05 10:41:26.787 | ERROR    | jumpscale.sals.vdc.deployer:_log:930 - VDC UUID: 6f381501ce174cc4bfad4476df23463b, NAME: testnodevdeb, OWNER: samehabouelsaad Failed to deploy external etcd cluster. cancelling workloads

pulled latest changes from development branch, tested and it worked.

closed as the issue seems to gone after updating the Devnet


Automatically email CSV reports to all program admins at one week intervals.

Is it possible to automatically send CSV reports over email to all listed program admins? Emails could go out at pre set intervals for example once a day or once a week. This item is a "nice to have" raised by SHA program admin.

Yes, the system supports recurring scheduled work. Would it be ok to link to the CSV download URL instead of attaching the CSV to the email? The former is more secure.

Yes, I think that would still be an improvement to current business process.


townlong-yak source

We should add townlong yak as a source to the catalog. The source is the following: https://hub.wowup.io/addons/author/foxlit.
Each addon from the json looks like:
{
  "id": 35,
  "repository": "https://www.townlong-yak.com/addons/venture-plan",
  "repository_name": "Venture Plan",
  "source": "TownlongYak",
  "description": "
Interface improvements for Adventure Campaign missions.
",
  "homepage": "https://www.townlong-yak.com",
  "image_url": "https://www.townlong-yak.com/addons/static/icon.png",
  "owner_image_url": "https://www.townlong-yak.com/addons/static/icon.png",
  "owner_name": "foxlit",
  "total_download_count": 0,
  "funding_links": [],
  "releases": [{
    "body": "
Adventurer selection UI changes and hotfixed ability data.
",
    "download_count": 0,
    "download_url": "https://www.townlong-yak.com/addons/ul/384693caa4df85b04535152df04e616b2da971d2a/install.zip",
    "external_id": "18e7e5f7a855399ee93c0671291fff2b",
    "game_version": "90002",
    "id": 1397,
    "name": "venture-plan-4.08",
    "prerelease": false,
    "published_at": "2021-02-01T00:05:40.187Z",
    "tag_name": "venture-plan-4.08",
    "url": "https://www.townlong-yak.com/addons/ul/d86ed82501fbb3c4b748c44f5a38aa9f5032d134f/install.zip",
    "game_type": "retail"
  }]
}

We should transform it to the following:
{
  "id":35,
  "websiteUrl":"https://www.townlong-yak.com/addons/venture-plan",
  "dateReleased":"2021-02-01T00:05:40.187Z",
  "name":"Venture Plan",
  "summary":"
Interface improvements for Adventure Campaign missions.
",
  "numberOfDownloads":0,
  "categories":[],
  "flavors":["wow_retail"],
  "gameVersions":[{"flavor":"wow_retail","gameVersion":"90002"}],
  "source":"wowi"
}

@tarkah do we need the download_url here from the release actually?
@petergp would you be up for helping the initial mapping here?

@casperstorm Thanks the mapping example. I can do the mapping later today.


ignores .credentials file (from sbt 1.3.3)

Using sbt 1.3.3 and coursier with a credentials file it does not find a https file-based pom file - giving unauthenticated message and using ldap basic authentication
See https://github.com/sbt/sbt/issues/5200 for more details
See https://gitlab.com/wayne-optrak/sbt-bug-demo for very simple example - just grab the repo and run sbt update
Apologies if this amounts to a duplicate but it's not clear from other reports.

I think we are running into this problem as well.

Had the same problem in sbt 1.4.6 (which uses Coursier 2.0.8 via sbt-coursier 2.0.5)
I could trace the issue to the fact that Nexus now adds an additional , charset="UTF-8" to its www-authenticate HTTP 401 reply.
https://github.com/sbt/sbt/issues/5200#issuecomment-760199502
The solution I intend to apply is to rewrite the "realm picker" by first parsing every item out of the www-authenticate header and then taking the realm, rather than a simple regex.

Had the same problem in sbt 1.4.6 (which uses Coursier 2.0.8 via sbt-coursier 2.0.5)
I could trace the issue to the fact that Nexus now adds an additional , charset="UTF-8" to its www-authenticate HTTP 401 reply.
https://github.com/sbt/sbt/issues/5200#issuecomment-760199502
The solution I intend to apply is to rewrite the "realm picker" by first parsing every item out of the www-authenticate header and then taking the realm, rather than a simple regex.


NodeOS main webservice to the outworld

I'm still reading the issues to find my way in NodeOS, so please forgive me if this topic was discussed already.
I'm understanding that running an UI app within NodeOS basically means a NodeJS app running in some port that can be accessed by another machine browser or, in the future, some webview inside a NodeOS terminal, right?
But I was thinking when we got like a bunch of apps running, not websites or something independent, but system stuff, like an IDE or a Web config interface.
Because of that most people would think about a desktop like UI so you can launch and manage other running apps.
But before we can think about how gorgeous this desktop could be, we need to think of how exactly this "One app to rule then all" would do to manage all the other apps.
What I'm proposing here is some kind of NodeOS init like system!? A node Process Manager, maybe something like strong-pm. And coupled to this a NodeOS main RESTful webservice with a standardised API to manage the Process Manager, that would control all the system process. That PM would probably be something to centralize the logging system for all running apps as well, so we can populate our /var/log files.
With this infrastructure in place, any developer would be able to create their vision of Desktop/System Manager GUI for NodeOS.
Now this UI would be able to ask NodeOS to launch an app like SystemControlPanel and open it on an window/iframe or something like that. When we close the window, our desktop UI would communicate it to the PM webservice so it could verify if the SystemControlPanel terminated it's own webservice or it need to be gently put to sleep.
What you guys think about that?

I'm understanding that running an UI app within NodeOS basically means a NodeJS app running in some port that can be accessed by another machine browser or, in the future, some webview inside a NodeOS terminal, right?

Right :-) But they can also be too a pure web apps without a backend server using client-side APIs provided by the browser, or a web app using a simple web server to give access to the low-level APIs that the browser is not able to provide.

But before we can think about how gorgeous this desktop could be, we need to think of how exactly this "One app to rule then all" would do to manage all the other apps.

It's easier to think on a common protocol instead of about an app to manage the other ones, lefting the implementation details to each one. I think there was some discussion related to that at #215.

What I'm proposing here is some kind of NodeOS init like system!? A node Process Manager, maybe something like strong-pm. And coupled to this a NodeOS main RESTful webservice with a standardised API to manage the Process Manager, that would control all the system process. That PM would probably be something to centralize the logging system for all running apps as well, so we can populate our /var/log files.

Seems to be too much complex and centralized and using its own non-standard protocol, just against the design rules of NodeOS... Davius is some kind of exception because it's simple and small, designed to use as few resources as possible (it's not running when nobody is using it), uses a standard protocol (WebDAV) and it could be heavily used by all the applications, not only to serve the apps themselves but also the apps can be able to use it in a transparent way (due to the standard protocol) to access to the users files, unrelated to the GUI. That's the reason why being so useful with so minimal footprint and in a standard way why it's included by default (and also at the users filesystem level, not globally), if we can find something similar for the process management we could consider to include it too.

With this infrastructure in place, any developer would be able to create their vision of Desktop/System Manager GUI for NodeOS.

As I said it before, it's better to desing a protocol that to implement the system, so anyone can implement the way the see it fits.

Now this UI would be able to ask NodeOS to launch an app like SystemControlPanel and open it on an window/iframe or something like that. When we close the window, our desktop UI would communicate it to the PM webservice so it could verify if the SystemControlPanel terminated it's own webservice or it need to be gently put to sleep.

I think most of these things should be task of the Windows Manager or more globally the Desktop Environment, but I like the idea of a per-user central repositoro of apps, until now I was thinking about using globally installed npm modules and identify them with some field on the package.json file, but having a register and start them by using Web Intents specifcation is not a bad idea...

Humm I see, I was thinking in RESTful webservice, but I saw you mentioned JSON-RPC what looks very cool.
But using JSON-RPC calls over HTTP or Websockets or using Webintents calls would still require an always running NodeOS service to listen to then right? (I was forgot about Webintents, but I really like it)
And if this service is about launch/redirect to other services, it would not benefit of some kind of Node Process Manager? Or you think that a launch and forget aprouch would be better so each service takes care of it self?

But using JSON-RPC calls over HTTP or Websockets or using Webintents
calls would still require an always running NodeOS service to listen to
then right? (I was forgot about Webintents, but I really like it)

There's in fact an always running server, nodeos-reverse-proxy. It listen
for incomming HTTP and WebSocket request and start the per-user servers on
demand. It's also able to listen for random ports and domains if the
servers use the nodeos-reverse-proxy-register module, that automatically
monkeypatch the build-in net module to register the servers transparently.

And if this service is about launch/redirect to other services, it would
not benefit of some kind of Node Process Manager? Or you think that a
launch and forget aprouch would be better so each service takes care of it
self?

nodeos-reverse-proxy listen to the child process to know when it finished
to de-register itself, so there's no need for more complex process
management. Unix KISS principle at its fullest :-)

Oh, so the thing is there already! o.O

How it works
Communications with nodeos-reverse-proxy are done using POST requests to the urls http://<IP_ADDRESS>/_register and http://<IP_ADDRESS>/_unregister, that later are filtered by it to only allow requests from the own machine.

So before continuing to try to reinvent the wheel, I guess I need to take a look at how this works to know if it's possible to not restrict it to localhost or if it would be possible to warp it in some kind of a thin layer to expose it to the outside world.
I'm not sure yet it is how it works, but I'm imagine I making a webintent call to _register MyCoolApp and that would launch MyCoolApp server side (if needed) and respond where I can reach it.
In resume what I would like to see happening, is I'm calling, from a client browser:

NodeOS, I'm user1/pass123... (get back a welcome)
NodeOS, give me a list of all Apps I can access... (get back a json or something)
NodeOS, give me MyCoolApp1... (get back an URL to it)
NodeOS, give me MyCoolApp2... (get back an URL to it)

Just that! :P

That's already with nodeos-reverse-proxy and Davius: auth is done using HTTP Auth and your NodeOS user account credentials, list the apps is just a matter of doing a request to /lib/node_modules, access to the apps files is done the same way, and you can start your apps backend by doing requests to /[MyCoolApp1] :-) I don't remember if I have this documented somewhere, but you are more than welcome to provide a pull-request with it :-D

I'm feeling like that kids that invented something super cool, and their parent just tell they are not gonna get millionaire because the thing already exists. :-P

Well, you can always help to improve it :-)

Well, navigating to
http://localhost:50080/lib/node_modules/

really listed it, but
http://localhost:50080/lib/node_modules/[ifconfig]

give errors since the folder "[ifconfig]" does no exist.
I took a look at Davius code and saw nothing that suggests it would work. Dindn't find it on webdav definition too. What am I missing?

I told you '/[ifconfig]', from the root. The code that does so it's on
nodeos-reverse-proxy. Anyway, ifconfig is not a gui app...
El 18/10/2016 12:42 AM, "Allan Brazute"<EMAIL_ADDRESS>escribió:

Well, navigating to
http://localhost:50080/lib/node_modules/
really listed it, but
http://localhost:50080/lib/node_modules/[ifconfig]
give errors since the folder "[ifconfig]" does no exist.
I took a look at Davius code and saw nothing that suggests it would work.
Dindn't find it on webdav definition too. What am I missing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NodeOS/NodeOS/issues/309#issuecomment-254356193, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgfvkF8FtMaDc5jSi-iXG4ACb7qIsjeks5q0_nkgaJpZM4KXVTO
.

Oh, ok, thx. Gonna try to hold up noob questions. :)

Don't worry, but it would be good if you start a FAQ with them, sometimes the ones that are mostly involved in a project and know how it works can't be able to think what questions would have a newcommer :-)

Why don't you open a pull-requests on nodeos-reverse-project with them? :-)


Eager imports cause crash in partially built environment.

With pythran, numpy, and scipy installed on Gentoo Linux:
$ pythran --version
0.15.0

If I attempt to install numpy 2.x and scipy using the system package manager:
# unmask numpy and scipy release candidates

emerge -1 numpy scipy

numpy builds correctly. Then it tries to build scipy. However, since there is an older version of scipy installed, and scipy needs pythran to build, pythran fails to run.
Further investigation shows that pythran cannot even print its version:
/usr/lib/python3.11/importlib/__init__.py:126: UserWarning: A NumPy version >=1.22.4 and <1.29.0 is required for this version of SciPy (detected version 2.0.0rc1)
  return _bootstrap._gcd_import(name[level:], package, level)
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.11/pythran", line 5, in <module>
    from pythran.run import run
  File "/usr/lib/python3.11/site-packages/pythran/run.py", line 11, in <module>
    import pythran.types.tog
  File "/usr/lib/python3.11/site-packages/pythran/types/tog.py", line 10, in <module>
    from pythran.tables import MODULES, attributes
  File "/usr/lib/python3.11/site-packages/pythran/tables.py", line 4630, in <module>
    save_arguments((), MODULES)
  File "/usr/lib/python3.11/site-packages/pythran/tables.py", line 4576, in save_arguments
    save_arguments(module_name + (elem,), signature)
  File "/usr/lib/python3.11/site-packages/pythran/tables.py", line 4576, in save_arguments
    save_arguments(module_name + (elem,), signature)
  File "/usr/lib/python3.11/site-packages/pythran/tables.py", line 4580, in save_arguments
    themodule = import_module(".".join(module_name))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/scipy/special/__init__.py", line 777, in <module>
    from . import _ufuncs
  File "scipy/special/_ufuncs.pyx", line 1, in init scipy.special._ufuncs
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

This is awkward because if scipy was not installed at all, pythran would be perfectly okay. But because there is a broken scipy installed, it refuses to print --version. It is also hard to work around, because Gentoo is primarily a from-source distro. It is easy to mark scipy as "broken until it is rebuilt", but not easy to uninstall it from the live system in the middle of a rebuild.
It would be more convenient if there was some way pythran could avoid trying to import scipy until it knows it actually has to translate some scipy code, but I don't know how easy that is. Failing that, maybe it could catch the specific case of binary incompatibility and treat it the same as though scipy was uninstalled?
Either solution should permit completing the upgrade by successfully rebuilding scipy.
/cc @mgorny

Aside: it feels like pythran has some surprising slowness to print --version information on a cold start, which probably is a result of indirectly importing numpy and scipy at the top of the file which main() is in.

Aside: it feels like pythran has some surprising slowness to print --version information on a cold start, which probably is a result of indirectly importing numpy and scipy at the top of the file which main() is in.

This part was easy, fixed in #2195

We're already trying to import scipy and scipy.special (see https://github.com/serge-sans-paille/pythran/blob/a1fc589aaa635597bef89311b4483900d2af30d6/pythran/tables.py#L4538).
From what I see, if we get a ValueError when trying to import scipy.special we should actually also dismiss scipy?

I think so, I just don't know enough about scipy internals to really know that ValueError is a "good enough" flag for that condition.

This part was easy, fixed in #2195

Thanks!  Glad to see it was that easy though.


feat: handle binary, octal and hex to number parsing

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#75  👈
#74
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malezjaa and the rest of your teammates on  Graphite


Add SimpleLocalize CLI

Open source tool for finding i18n keys in JavaScript/TypeScript projects. We use it to translate e-mail which are sent from NodeJS backend. 👍

https://github.com/sindresorhus/awesome-nodejs/blob/main/contributing.md


Develop an SAP Fiori App Using SAP Business Application Studio

Tutorial URL: https://developers.sap.com/tutorials/appstudio-fioriapps-create.html
I got stuck again at below error when I ran module to run the application (Step 8 ) :
UAA tenant mode is shared, but environment variable TENANT_HOST_PATTERN is not set
I am using ‘application’ plan for UAA service instance as per tutorial.
Please advice where am I going wrong ?

Using UAA makes things a bit more complicated. I'll remove this part from the tutorial. As a workaround you can create the app without UAA and ignore all UAA steps later on - I think there's only one for biding and one for authenticating when running the app.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Use CRLF line-endings

Most serial communication uses CRLF, so this is what serial terminals expect.

@stefanor Any chance we could add something to the CI which prevents people accidently landing '\n\r' pattern in the C code?
Is something as simple as
if grep '\\n\\r' firmware/*.c firmware/*.h; then
  echo "Should just use '\n' rather than '\n\r'"
  exit 1
fi

?

I was sceptical of that for a while, but what the hell, sure.
This does really need a better test suite at some point...


Use ProgressLogging.jl

Requires https://github.com/JunoLab/ProgressLogging.jl/issues/1
Checking in Manifest.toml for now.

Hm, what do you think about deprecating Juno.@progress etc for the ProgressLogging equivalents instead of rexporting?

That sounds good.


I've a really big issue with what youve done

HOW did i miss this over the course of 3 months?

WHO allowed you to do this, without supervision?

WHY Dont i see 104 TONS of stars on this repository?

YOU.... are my hero.
This is exacty what Ive been looking for for... years man. years.
oh, by the way mr smarty pants....
since we're talkin js vision challanges.....
you happen to know any solutions for depth estimation in javascript (without AI, without ARcore, monocular only..... and lets go for live too, and something different besides opencv opticla flow )
even if you dont feel like answering that one.....
i really just wanted to thank you for all your work
this is truly a work of art sir.
thank you

and sorry. this is just a really handy way to assure i can get positive messages to people .....
through the problems sections........
humans are weird that way huh?
(and we wonder why it seems everyone complains so much in this world)

omg.
just slid through your demos.....
this is SO BEYOND a work of art Sir.....
its like a miracle.
I dont have much.
im not in this commercially.
and i can't sponsor you....
but i really wanna repay you, for your time and effort
paypal?
cash app?
fansonly?
anything. you let me know and i will buy you a bunch of coffees. not like a ton... but more than you have now

wait... are you saying......
i could just .....
ad any refrence image webp??
at anytime, and it will just track and find its pose.....
no training?
dynamic fudicial markers?

I was just looking at the basic ar app. and was aquainting myself with the three js  structure you have there... did not make it modify the tracker yet though, but im thinking as long as
await tracker.database.add([{
name: 'my-reference-image',
image: document.getElementById('my-reference-image')
}]);
    oh... once the session is started, trackers cant be updated?

    .. i just need to relax and look over your code some more first.

    BUT YEAH....... no... no no.
    I've been doing this myself for two years now. I hate ARcore and ARkit... andjust now accepting AI getting involved, but ive been dead set and determined....
     6dof is possible on any monoculare system with iIMUs and GPS under the right (even if low quality) JS library (and openCV or JSfeat ... but add web assembly now. anything should be possible
    and once 6dof, is achieved, landmarks fall into place. and then...... depth Estimation... and point registration.......
     anyhow... its really alot to manage. especially for me.... because before this... i didnt even bother with JS.

     irrelavant......
     i sat there one day and heard someone say.....
     VR will get better one day. it just needs to grow and then youll have what youve always wanted.
     and i nearly threw up.
     1. the technologies are here and they arent really headset dependent.
     they just need to accessible . so.... Javascript it is. no matter what.
     2. when do WE ever just sit there and wait for someone else to bring us our own dreams?

but remember..... i do not know... javascript. lol
and that makes me ALMOST.... completely useless.
and ive asked the same question...... am i going to make an impact? anywhere?
im pretty sure that answer is no..... EXCEPT in two places......

in my own experience, knowledge and growth..... its become who i am. Determined. Positive.(regadless of my ignorance)
.and..... in YOUr own experience....

i i...... i just think i know very much how you feel....
and we're both probably right. this all probably means so much more to us... than anyone out there.
but like i keep telling myself... i cant predict the future...i cant see the bigger picture from here....
but i know if i give this up......I'm giving up what COULD arrise from it
and im simply giving up on myself.
oh.... HOLOPORTATION.... that was actually a huge goal of mine....
and i knocked that out with 2 kinects and p5.js. and three.js.. in my first 3 months.
streams live through WEBRTC into a cardboard headset  I'd say (almost) perfectly
just looking for the right 6dof tracking AR system to project it into
oh... this.
slipping this into web assemply.....i think this could be the god like experience right here.
https://www.youtube.com/watch?v=vB_F-Sj0AX0
https://www.youtube.com/watch?v=Tn0JOVpFWzM
(and might as well enhance it with some spatial mapping )
professional full 3d teleprecensing. thats what we need. on everyones phone       (my dream)
!!!
ideas..... inspiration ...... hope.
https://www.youtube.com/watch?v=A_KnsMY_smQ
dont give up.
I love your work. always will now.

Yes, I do understand that some very cool things are possible with this library. This work is complex and challenging, and it takes more than being determined and positive, though.
If you have questions about AR, I ask you to open an issue in the other repository instead. Thank you.

dont give up.

By the way, I am not giving up on anything, but I am doing things in my time and keeping things within my means.
I am closing this issue. Thank you for your message, and please let me know if you need any further help.


Security Issue

Hello
We use the latest Version 6.5.0
While scanning our solution, we found a security issue, the package has a dependency on System.Text.Regularexpressions.4.3.0 which has a security issue:

Can you please update your dependencies

Same here, security issues one dependencies, 8 months without a new release!

Will this issue be resolved?

This issue is fixed in my fork called DotSwashbuckle

This only affects the netstandard2.0 target, and can be resolved by you adding an explicit package reference to override the dependency version.


shape file import

Is it possible to import shape files? They seem to be rather common.

GeoSpark will support it. I am working on this.

See Issue https://github.com/DataSystemsLab/GeoSpark/issues/2


Upgrade RN + Native Base

NOTE: This breaks the bar that should be above the keyboard in the note screen. I played around with a few things to see if I could get it to place nice but it wouldn't. I am thinking it is due to the fact that native-base's Content can end up as a ScrollView then there is a nested ScrollView in the getNoteComponent method.
Personally I would suggest reviewing the structure of most of these screens to remove some of the inline styles, the inline binds (you should not bind within a render method as that creates a new function every render) and cleanup how the views are structured. This would be for another day though.

@rmevans9  Thank you :)
We will check it later.

@rmevans9 Thanks for your PR!
There remains some views to fix style, but I will merge this PR.
I do not have a knowledge about inline style.
I'm grad if you tell me how to fix.


Fix (IOS): Pass correct state events

Hello 👋
First of all, thank you for this package. I've tried lots of bottom-sheet package and I find this one to be more performant compared to all those bloated JS versions. However, there's a bug on onStateChanged prop where it won't pass in hidden state when hidden "programmatically" e.g.
// Dismiss after clicking a button
setSheetState('hidden')

This PR fixes that issue to ensure we are getting the state event consistently.
If there's a better solution for this, please let me know. Thank you!

Hello!
Thanks for taking interest in our library, I'm glad to hear your experience with the performance!
The native gesture handling via the native library we depend on is what gives us that performance. However, it also means that we have 2 separate entries to manage sheet state: native gesture interactions, and React props. The onStateChanged event is intended to be used to synchronize the React state/props with the native state.
If the check in this PR is removed, and a single state change is timed correctly, it will lead to a bug where the delay of the JS bridge causes an infinite loop of the sheet switching between the two states.
To handle side effects when the sheet is updated from either source, I would recommend calling an additional method alongside setState calls, or simply use a useEffect hook on the state variable. Let me know if that works out for you!

With our use-case, we needed to open a screen via react-navigation/native after pressing a button/link on the sheet. The issue is that in IOS, it will fail since the sheet window is already presented. The solution is to "wait" for the sheet to close before opening the said screen.
This is where the issue comes where we wouldn't know if the sheet was fully closed when hiding it programmatically.
It would be nice to support ref and do something like await sheetRef.current.dismiss()

btw I created my own native bottom sheet here
Closing this. Thanks!


OpenDF / Constraints

Hello,
Thanks again for putting the tremendous effort to develop and release SMCalFlow!
Following the motto "you don't understand it until you implement it", we tried to reproduce the basic functionality of a system which would be able to execute some SMCalFlow dialogues. Trying to do this, really made it clear 1) how much work was put into building the full SMCalFlow application, and 2) that there are many design decisions to be made when developing such a system, which would result in different flavors of dataflow applications.
One central example of this is the way constraints are represented, handled, and executed. If you could give some more explanation, that would be very appreciated. For example, multiple constraints are often combined in a compositional pattern, or are surrounded by intension/extension markers. Does this mean you use lazy evaluation? And how do you handle contradictions between constraints?...
We tried to simplify the expressions in our implementation, to make them more understandable (somewhat along the lines of your macros in "Constrained Language Models Yield Few-Shot Semantic Parsers"), while still being executable. This is described in an upcoming paper in LREC 2022 : "Simplifying Semantic Annotations of SMCalFlow", and the corresponding package OpenDF - https://github.com/telepathylabsai/OpenDF, which includes the code to transform SMCalFlow expressions to a simplified form, and code to execute simplified expressions.
We hope OpenDF will increase interest in dataflow dialogues, and encourage development of new dialogue designs.

Thanks for developing the OpenDF package! We are excited to see such work happening!
For your questions — the “intension” can be viewed as a pointer to the existing node/computatino on the dataflow graph (think it as & in C), and “extension” is like accessing the node/computation (like * in C). The evaluation does not need to be lazy.
When there are contradictions between constraints, no value will be allowed by the resulting constraint. The ReviseConstraint(c1, c2) is a special operator, which would analyze c1 and c2, and use c2 to overwrite part of c1 when some predicates are non-compatible. For example, ReviseConstraint((w: Widget) => w.title == "foo" && w.description == "bar", (w: Widget) => w.title == "baz")) would produce a new constraint like (w: Widget) => w.title == "baz" && w.description == "bar". This blog has provided some info about how we design about constraint and revision.

Thanks a lot for the encouragement and the answers!
Regarding intension/extension,
OpenDF has this feature - it's called the "view" mode of an input, which can be either VIEW_INT or VIEW_EXT.
(Strictly speaking there may be other view modes, corresponding to cases like deeper references in C - *x/**x, ***x..., but we didn't find any use cases needeing that yet)
By default, all inputs of a node are used as VIEW_EXT, but it's possible to set them to VIEW_INT in two ways:

In the signature of a node - this will set the specified view mode for the specified input for all instances of this node type.
There is syntax allowing to set the view mode for an input of a node instance (a specific computation).

Seeing the dataset, we expected that selecting the right "view" mode would be quite central in the implementation, but in fact we ended using it only very rarely.
For example, in the dataset, most refer's appear in the context  "Execute(intension=refer())". It is not clear why this 'Execute' was necessary - when doing the graph evaluation, is the refer not evaluated (executed) before evaluating the Execute? or does the execute evaluate the result of the refer? (and what if the refer has multiple results...) - that brought to mind delayed execution...
For the revise -
Thanks for the link to the blog, that really helps set the background more clearly, and describe what we've been struggling with - detecting and resolving contradicting constraints. I wish we had read this blog when we started writing the system - it would have saved us from exploring many dead ends before getting to where the system is now :)
Implementing this (which is left to the developers, as mentioned in the blog), is one of the most tricky part of the work.
For example, there are different "modes" of detecting(resolving) constraint contradiction(implication):

doing it on specific object instances
doing it "logically"/"symbolically"

simple example - if we wanted to look for an Int, and had two constraints - 1. it's an even number, 2. it's an odd number, then one way is to look at the ints in the graph/DB and check that the intersection is empty. The other is to symbolically detect (e.g. using rules) that odd/even are in principle incompatible, and then discard one.
The problem here is that if you have many such constraints (odd, even, prime, not divisible by 7, ...) they all need to know each other in order to symbolically decide if/how they contradict.
You could try to "normalize" some such constraints e.g. isDayOfWeek could be converted to OR(Mon,Tue,Wed,Thu, Fri), so you can use the simpler/base logic of a data type, but that has its limits and costs as well.
This is connected to pragmatics - deciding what a "typical" user would expect. with the same example - if a user says they want an even number, and in the next turn that they want an odd number, then the expected behaviour would be for the agent to understand that these are contradicting, and that the user changed their mind and now want an odd number. But if the user first said the number should be divisible by 381, and then that it should be divisible by 153, it is not clear that the user changed their mind - maybe we should keep both (unless, of course, the user indicated a "clobber" in the turn's text).
This can get quite elaborate, e.g. for types where different subfields interact with each other - e.g. in the TimeSlot class in OpenDF, constraints about the start / end / and duration of an event affect each other...
Could you share some insights here?
Another question regarding constraint data type -
In OpenDF, we decided not to have a separate data type for constraints, instead we have a flag ("constraint_level") in each Node which represent if it's a simple object, a constraint[], constraint[constraint[]]....
So far there weren't any use cases (i.e. dialogues from the SMCalFlow dataset) where this was a problem. Is it missing anything?
Thanks again!


Unable to complete registration on Firefox

Browser: Firefox 69.0.4
We're seeing some errors when users attempt to use a YubiKey on Firefox. When a user taps their YubiKey and clicks Complete Registration we're seeing this error in our logs:
The attestation statement format "packed" is not supported.

On the user's end they remain on the screen with the Complete button. User was able to register when they switched to Chrome.
Notes
This issue is blocked by https://github.com/silverstripe/silverstripe-webauthn-authenticator/issues/73

Hmm, weird. I couldn't recreate this on (OSX) Firefox version 69.0 (for a registration) or the latest version 70.0 (for a log in).

I'll keep this open until we're able to test this on another operating system

This has been resolved upstream, so we should be able to close this out by upgrading (we're currently on the 1.x line, current is 3.x.)

Nice catch

Marking this issue as blocked by: https://github.com/silverstripe/silverstripe-webauthn-authenticator/issues/73

#73 is resolved, which in turn resolves this issue. Closing.


Docker Image does not build

The Docker image has Build Server variable set incorrectly code - link It seems the url has been changed from  the existing download link. Can you guide me to the new url and I would update the docker image and raise a pull request

Dear @saptwa ,
The server downloads.dbpedia-spotlight.org doesn't exist anymore. I just moved it to SourceForge. Could you, please, try again?
Thanks,

I'm getting a problem while building the docker -
sudo docker build -f Dockerfile  -t english_spotlight .
Sending build context to Docker daemon  4.608kB
Step 1/9 : FROM openjdk:7-jre-alpine
7-jre-alpine: Pulling from library/openjdk
4fe2ade4980c: Already exists
6fc58a8d4ae4: Already exists
7d9bd64c803b: Already exists
Digest: sha256:0d48c0d70b8be574b96b374f765e51a3270bef649720e3c7f278c46eebb9c192
Status: Downloaded newer image for openjdk:7-jre-alpine
---> f14e31261ad5
Step 2/9 : MAINTAINER  DBpedia Spotlight Team<EMAIL_ADDRESS>---> Running in d6e0e5659221
Removing intermediate container d6e0e5659221
---> 54de439e8952
Step 3/9 : ENV RELEASE_SERVER    downloads.dbpedia-spotlight.org
---> Running in e6d325dd697a
Removing intermediate container e6d325dd697a
---> 9a59ca3ee253
Step 4/9 : ENV RELEASE_FILENAME  dbpedia-spotlight-0.7.1.jar
---> Running in ed99b5341523
Removing intermediate container ed99b5341523
---> 2fe4479b5218
Step 5/9 : ENV LANGUAGE_MODEL    en_2+2.tar.gz
---> Running in 8544ab483f52
Removing intermediate container 8544ab483f52
---> 3932d63a1994
Step 6/9 : RUN apk add --no-cache curl &&     mkdir -p /opt/spotlight &&     cd /opt/spotlight &&     curl -O "http://$RELEASE_SERVER/spotlight/$RELEASE_FILENAME" &&     curl -O "http://$RELEASE_SERVER/2016-04/en/model/$LANGUAGE_MODEL" &&     tar xvf $LANGUAGE_MODEL  &&     rm  $LANGUAGE_MODEL &&     apk del curl
---> Running in 1fca23acc6c1
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/4) Installing nghttp2-libs (1.32.0-r0)
(2/4) Installing libssh2 (1.8.0-r3)
(3/4) Installing libcurl (7.61.1-r0)
(4/4) Installing curl (7.61.1-r0)
Executing busybox-1.28.4-r1.trigger
OK: 122 MiB in 86 packages
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   277  100   277    0     0    472      0 --:--:-- --:--:-- --:--:--   471
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   270  100   270    0     0    620      0 --:--:-- --:--:-- --:--:--   620
tar: invalid tar magic
The command '/bin/sh -c apk add --no-cache curl &&     mkdir -p /opt/spotlight &&     cd /opt/spotlight &&     curl -O "http://$RELEASE_SERVER/spotlight/$RELEASE_FILENAME" &&     curl -O "http://$RELEASE_SERVER/2016-04/en/model/$LANGUAGE_MODEL" &&     tar xvf $LANGUAGE_MODEL  &&     rm  $LANGUAGE_MODEL &&     apk del curl' returned a non-zero code: 1
Any thoughts as to what I'm doing wrong?

Hi,
Do you mean changing
ENV RELEASE_SERVER downloads.dbpedia-spotlight.org
in
ENV RELEASE_SERVER sourceforge.net/projects/dbpedia-spotlight/files/spotlight
in Dockerfile ?


[LAB] Week 2_Problem 2_남태웅

Problem
Week 2_Problem 2
Source Code
import torch
from random import random
from typing import Callable

##                         Problem 2                          ##
##                                                            ##
##            Arbitary x_train, y_train are given.            ##
##     In this problem, x_train is list of list of float.     ##
##   Suppose that x and y have linear correlation, y=wx+b.    ##
##           (In this problem, w will be a vector.)           ##
##     In function training(), you should return [w, b].      ##
##          In function predict(), you should return          ##
##            list y_test corresponding to x_test.            ##
##                  Made by @jangyoujin0917                   ##
##                                                            ##

# NOTE : Feel free to use torch.optim and tensor.

def training(x_train : list[list[float]], y_train : list[float]) -> tuple[list[float], float]: # DO NOT MODIFY FUNCTION NAME
    # data normalization
    # 1. Prevents overflow when calculating MSE
    # 2. Prevents underfitting
    # Note that you need to convert [w, b] to the original scale.
    # w = w * (y_max - y_min)
    # b = b * (y_max - y_min) + y_min
    y_min = min(y_train)
    y_max = max(y_train)
    normalize = lambda y : (y - y_min)/(y_max - y_min)

    alpha = 0.003

    m1 = len(x_train)
    m2 = len(x_train[0])
    w = [10*random()]*m2
    b = 10*random()
    for _ in range(10**4):
        dw = [0]*m2
        db = 0
        for i in range(m1):
            tmp = 0
            for j in range(m2):
                tmp += w[j] * x_train[i][j]
            for j in range(m2):
                dw[j] += (tmp + b - y_train[i]) * x_train[i][j] / m1
            db += (tmp + b - y_train[i]) / m1
        for j in range(m2):
            w[j] = w[j] - alpha * dw[j]
        b = b - alpha * db
    return (w, b)

def predict(x_train : list[list[float]], y_train : list[float], x_test : list[list[float]]) -> list[float]: # DO NOT MODIFY FUNCTION NAME
    w, b = training(x_train, y_train)
    func = lambda x : sum(list(p*q for p,q in zip(w,x))) + b
    return list(map(func, x_test))

if __name__ == "__main__":
    x_train = [[0., 1.], [1., 0.], [2., 2.], [3., 1.], [4., 3.]]
    y_train = [3., 2., 7., 6., 11.] # y = x_0 + 2*x_1 + 1 # Note that not all test cases give clear line.
    x_test = [[5., 3.], [10., 6.], [8., 9.]]

    w, b = training(x_train, y_train)
    y_test = predict(x_train, y_train, x_test)

    print(w, b)
    print(y_test)

Description
linear regression with MSE
Output (Optional)
No response

This issue is closed now because of the lack of progress.


cmd/server: mock account search route

Issue: https://github.com/moov-io/gl/issues/17

Codecov Report

Merging #19 into master will increase coverage by 3.68%.
The diff coverage is 82.75%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   57.73%   61.42%   +3.68%
==========================================
  Files           4        4
  Lines         168      197      +29
==========================================
+ Hits           97      121      +24
- Misses         63       66       +3
- Partials        8       10       +2

Impacted Files
Coverage Δ

cmd/server/accounts.go
77.17% <82.75%> (+2.57%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd2fe7f...9639fa9. Read the comment docs.


Fix IDFA rejection when app submitted with v.1.1.4

The version 1.1.4 update the code about the Apple IDFA.
The #447 add AdSupport module in the framework causing issues during the submission of apps to the App Store.
The current implementation let superfluous AdSupport framework because the class loading of ASIdentifierManager is done at runtime and not checked at compile time.

Coverage increased (+0.2%) to 82.112% when pulling 748ecc07747f85dd40f32ea617862690984f4130 on issue/470-fix_idfa_rejection_on_app_submission into f03618717fe90660a2b1ca1b0e835e30264f6a69 on release/1.1.5.


Add Logging and Metrics Bot

We've been hitting github rate limits with the existing shared runtime bot. Adding another one to split the workload.

@ameowlia  could you take a look at this when you get a chance?


Handling 500/502/503/504 error request

http://example.qutheory.io lead to 502 error page in Nginx, could Vapor route to a custom 50* error page or that is Nginx specific?

Oops, thanks for noticing that. Looks like I forgot to restart the example when I restarted the server. You only see that page if the server has not been booted.


I don't know why Log can‘t’ send to my windows server. But Login、Register and create new project all normal in my windows server

I used ExceptionLess 4.1.2861 Releaes Version in windows server 2019.
can login、register and create new project.
so i create new Apikey in my Wpf Client.but it can't send log to server.
i used "Fiddler" to watch. this api return 500 errorcode.I don't why?because i can login、register.

this api return 500 errorcode.(/api/v2/events)

Have you tried running newer versions of Exceptionless? We are on version 6.1 now.

new versions can running in IIS？

They could with some work, but we moved everything to docker to make them easier to use. Literally the only requirement is docker. https://github.com/exceptionless/Exceptionless/wiki/Self-Hosting

all right. i will try in free time.

thank you very much.

I'm going to close this as it seems solved, if you have any questions please let us know.


New file selection fixed tests and rel path problem

This is one commit ahead of #937
My fixes to the tests. Feel free to integrate these change in your original PR #937 and we can continue there @similato87

Oops uploaded wrong branch! one more try


Fix roundId=undefined issues

There are still cases where local shuffles don't correctly get round associations:
https://discord.com/channels/797758027875876865/797759589591678987/1171109231253012500

More context: https://discord.com/channels/797758027875876865/797759589591678987/1175108823447511060


added minify version and minify task

Every package comes with minify version why not this?

Added Minify Version
Able to make minify version with the suffix ".min"

Does this only minify CSS? I think sass & less file doesn't need to be minified.

Minify task is optional but, You can't say the sass or less file doesn't need to be minified. Think, Now this project is small/not heavy & there is doesn't any good result after minified the output. But sometimes we need the file to be minified for production if I'm going to use this as standalone.

Sorry I did that by mistake.


Menu, Dialog and MenuItem causes the all page re-rendering

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/s/material-ui-issue-latest-s2dsx?file=/src/App.tsx
Steps:

Install react developer tools extension on the browser
Go to the link mentioned above
Open the browser dev tools and click on the react Profiler tab
Click the setting icon and abilitate the Highlight updates when components render.
Watch the re-rendering of all page when the menu of the select opens

PS: The example code is taken directly from the Materi Ui web site docs, so if the sandbox it's not working you can see the same behaviour here: https://mui.com/material-ui/react-select/
Current behavior 😯
The Current behaviour causes the re-rendering of the entire page when I click on the select menu component (maybe It's because the body component changes by adding these properties: style="padding-right: 15px; overflow: hidden;")
PS: Another thing to specify is that the native version of the select component doesn't cause this re-rendering.
Expected behavior 🤔
Re-render only the specific component or the nearest parent (like a  component)
Context 🔦
I'm trying to use the material ui select component in order to open a menu with some options to choose from with out re-rendering the entire page.
Your environment 🌎

Browser used: Chrome and Firefox,
Material UI version: "@mui/material": "^5.11.10",
React version:     "react": "^18.2.0",
@mui/envinfo output:
```
  System:
    OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 3.96 GB / 7.67 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 18.14.2 - /usr/local/bin/node
    Yarn: 3.4.1 - /usr/local/bin/yarn
    npm: 9.5.0 - /usr/local/bin/npm
  Managers:
    Apt: 2.2.4 - /usr/bin/apt
  Utilities:
    Make: 4.3 - /usr/bin/make
    GCC: 10.2.1 - /usr/bin/gcc
    Git: 2.30.2 - /usr/bin/git
    Mercurial: 5.6.1 - /usr/bin/hg
    Subversion: 1.14.1 - /usr/bin/svn
  Languages:
    Bash: 5.1.4 - /bin/bash
    Perl: 5.32.1 - /usr/bin/perl
    Python3: 3.9.2 - /usr/bin/python3
```

The codesandbox you linked is the default template. I don't see any custom code there.
Anyway, I checked the behavior you're describing on the https://mui.com/material-ui/react-select/ page. Opening the Select does not cause rerendering of the whole page. If it was the case, all components on the page would be recursively rerendered. What you may see as the whole page rerender is the invisible full-size backdrop element being added when the Select is open. You should see it in the element inspector in the dev tools - look for a div with MuiPopover-root MuiMenu-root MuiModal-root classes at the bottom of the body.


chore(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4306

Questions ?
Please refer to the Backport tool documentation


Bugfix finding global security in owasp.CheckSecurity

This PR fixes owasp.CheckSecurity's RunRule method's logic for finding the global security in an OpenAPI schema.
Previously utils.FindFirstKeyNode was used, from github.com/pb33f/libopenapi/utils, however this is recursive so would find the first security node at any depth - including security definitions on individual operations. So, if there was no global security then the security of the first operation traversed was used in lieu.
For example, in the following appspec, the security on the PUT /secure operation was mistakenly extracted as the global security:
openapi: 3.0.1
info:
  version: "1.2.3"
  title: "securitySchemes"
paths:
  /insecure:
    put:
      responses: {}
  /secure:
    put:
      responses: {}
      security:
        - BasicAuth: []
components:
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic

As a result, none of the following rules would generate results for the PUT /insecure operation:

owasp-protection-global-safe
owasp-protection-global-unsafe
owasp-protection-global-unsafe-strict

A test has been added in 0d7ddbd1667084c4a1713b02645f04ce05bb4439 with the above appspec and the underlying issue addressed by traversing the *yaml.Nodes appropriately in a helper func findGlobalSecurityNode in 3938a712f88e2282b44e7d1068ce71d793adf730.
In the process of debugging I also reformatted a difficult to read expression in 20cb2646f977e7ce25ca77900c934f33591a8bf3.
Closes https://github.com/daveshanley/vacuum/issues/340.

Nice! Thank you for fixing this, thank you for your contribution!

No worries :)
Heads up utils.FindFirstKeyNode is called 7 more times across the vacuum codebase - there may be other issues related to its misuse.

Yes, I am aware it's lurking in places and it needs to be retired for sure, it's some early prototype code that got baked in

Wow, nice job @TheTeaCat :partying_face:


chore: Update CI workflows\n\n- Adds PR and Release workflows, removes CircleCI\n-Updates semantic-release config to also include package-lock.json when committing\n-Adds CI badge to README

This is coming from a script. Closing and trying again to get title to look correct.


[#9189] Make ApdexScore pass additional information used in calculating ApdexScore

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


No updates for websocket subscription "position"

Hello!
First of all thanks for this package. It works really good.
But somehow I don't see updates for the "position" subscriptions. I was wondering if somebody could help me.
const ws = new WebsocketClient({
  key: API_KEY,
  secret: PRIVATE_KEY,
  livenet: true,
});

ws.subscribe(['position']);

ws.on("open", () => {
  log("connection open");
});

ws.on("update", (message) => {
  console.log("MUHH")
  log("update", message);
});

ws.on("response", (response) => {
  log("response", response);
});

ws.on("close", () => {
  log("connection closed");
});

ws.on("error", (err) => {
  console.error(chalk("ERROR"), err);
});

I just realized I get updates if I change my position. In order to calculate the (un)realized percentage i need another subscription.
Sorry :)


Broken link to San Fransisco Fonts

The link from the website to the San Fransisco fonts doesn't work.

https://developer.apple.com/fonts/downloads/SFUI.zip

Hey Andreas,
Thanks for bringing out this issue. We'll correct that.
Meanwhile you can get the needed font from here, https://developer.apple.com/fonts/


Base Url Problem?

Hi @mgechev ,
I used tabs in my project. I migrated angular version on 4.2.3 and then , i am getting a problem with tab click, it behaving like routes.
It shows in browser url like:
http://localhost:8080/main/#abc , http://localhost:8080/main/#xyz
Below Code Which I Used:-

      Home

      About Us

Node:v 7..
Npm:v5.5.1
Please Help Me Out......

Solved..
It getting resolved after Node version updated to 8..


Refactor GetByteSize and GetPlaneByteSize using GetBlockShape

Description
GetBlockShape and GetByteSize have almost exactly the same switch over all image formats. This eliminates that redundancy, by using GetBlockShape in the definition of GetByteSize.
To make this work nicely, this also changed the way GetBlockShape handles multi-planar formats. Now, rather than a separate block shape for each plane, GetBlockShape returns a single block shape, for all the planes, treating them essentially as if they were a single-plane format with the same components/subsampling.

I don't think I agree with the refactor to the meaning of GetBlockShape's return values. While I think it makes sense from what I've read with the other changes here, taken in isolation the return values for multi-planar formats are quite unintuitive unless you look at the implementation. A block-compressed format returning {4, 4, 16} means something entirely different to a multi-planar format returning {2, 2, 6}.
Reducing the duplication is nice if we can get it 'for free' but it's really a very minor thing since these functions are rarely modified and duplicated code is not that bad when it's very clear and obvious like this code is. I'd say either change it so the functions are still defined the same way externally, or drop the change and leave it with the relatively harmless duplication.

That's fine. I made the change to GetBlockShape because I thought it was more in line with the existing code (e.g. the way GetPlaneByteSize was defined in terms of GetByteSize). I'm happy to revert this.
When GetBlockShape is specific to a single plane, it seems that GetPlaneByteSize is the fundamental operation, and GetByteSize is just be the sum of GetPlaneByteSize over all the planes in the format. Does that sound good to you? This reversal of the definitions seems to make the GetPlaneByteSize test tautological, so I will also see if there isn't a better way to do that test.

That reversal sounds reasonable to me, yes. The GetPlaneByteSize test does become a bit tautological but even right now its is pretty simplistic already. Really it's there to ensure consistency between the two functions so that the above test of GetByteSize on planar formats is valid, and to verify any refactors like this still produce the same result accounting for subsampling rates on different planes and packing formats etc.
If you wanted to you could add specific hardcoded GetPlaneByteSize return values similar to what I do for GetByteSize on planar formats, but I don't think it's necessary.

The behaviour of GetBlockShape has been reverted, and I also added additional tests for GetPlaneByteSize.


refactor [githubreleasedate]

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against bd327b6759c370689175a6f0d863ad6c4b7299b4


WIP: PWM for Firmata

Still need to test and wrap up functions, but at this point suggestion/comments/concerns are welcome.

Merged. thx

@rwaldron thanks for having a look - so is it possible to call setPwmFrequency() or similar via Firmata? Basically the reason it's set like that is simply so it can't be changed by users and to give a sensible value when someone asks for the limits and since it can't be changed setting it this way works. That period is the 101 default period - https://github.com/01org/corelibs-arduino101/blob/master/variants/arduino_101/variant.h#L94
To be honest maybe a better move would be to respond MRAA_ERROR_FEATURE_NOT_SUPPORTED when such functions are called using the Firmata backend. What do you think?

That period is the 101 default period - https://github.com/01org/corelibs-arduino101/blob/master/variants/arduino_101/variant.h#L94

Yes, but that's a value in nanoseconds, not microseconds. Looking at that line and the line above it:
#define PWM_FREQUENCY		490
#define PWM_PERIOD_NS       2048000

1000ms / 490 =
2.0408ms =
2040.8µs =
2040800ns
But the value in this implementation is used in terms of µs: https://github.com/intel-iot-devkit/mraa/blob/firmata/src/pwm/pwm.c#L341-L349
mraa_result_t
mraa_pwm_period_us(mraa_pwm_context dev, int us)
{
    if (us < plat->pwm_min_period || us > plat->pwm_max_period) {
        syslog(LOG_ERR, "pwm: period value outside platform range");
        return MRAA_ERROR_INVALID_PARAMETER;
    }
    return mraa_pwm_write_period(dev, us * 1000);
}

The mraa internal type mraa_board_t struct defines has comments indicating that the value is µs
int pwm_default_period; /**< The default PWM period is US */
int pwm_max_period; /**< Maximum period in us */
int pwm_min_period; /**< Minimum period in us */

(It looks like some platforms might be using ns for their pwm_max_period: https://github.com/intel-iot-devkit/mraa/search?p=2&q=period&utf8=✓)

thanks for having a look - so is it possible to call setPwmFrequency() or similar via Firmata?

No, the defaults are used:

Servos: #define REFRESH_INTERVAL 20000// minumim time to refresh servos in microseconds
"analogWrite" (whatever the default is for the pin & timer being used)

I was under the impression that MRAA works with a period in nanoseconds too, as indicated by mraa_pwm_write_period(dev, us * 1000) in mraa_pwm_period_us. Perhaps the comments in mraa internal types are off, @arfoll can you confirm this?
Also, the return code was added temporarily. I will provide a basic implementation for those functions that will at least allow you to change the duty cycle using Firmata's analogWrite.

@Propanu no the comments from @rwaldron are sport on, the value is wrong in your code.

Yeah, my bad, and it's obvious from us < plat->pwm_min_period || us > plat->pwm_max_period which I missed. They are microseconds, like mentioned in the comments. However dev->period is in nanoseconds hence why this can get confusing.


Fixed config location for some internal commands

Possibly we should print warning when .vagga/vagga.yaml is used. Or print info message what config file was found.

I think we should print INFO-level message. .vagga/vagga.yaml is specifically meant to locally override vagga.yaml.
It looks like it never worked since vagga 0.2, but still may be useful for testing new features or adding a git-ignored vagga.yaml.

Looks good now. Thanks!


Assume that Zwave light state changes are successful to avoid UI flickering

Description:
Previously, turning on a Zwave light via the UI resulted in the switch going from Off to On as normal, briefly back to Off, then to On as soon as the Zwave network reported the state change.
This PR updates the internal state immediately after the state change is made to prevent this confusing flickering. Zwave state changes are not synchronous, so they cannot return the new state of the device as described in https://home-assistant.io/blog/2016/02/12/classifying-the-internet-of-things/. I'm not sure of a way to avoid this UI flickering without optimistically updating state.
This change has been running with 20+ Leviton VRMX1-1LZ lights for a few months, and has been working well in practice.
I see the assumed_state method in a handful of components, which seems related. I'm not yet sure if this change requires that we return True for this component. Thoughts?
Checklist:
If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

/cc @turbokongen @leoc @technicalpickles #2674

We should not use assumed_state on zwave stuff.  Because there will be a callback of the state somehow.
There has been implemented a new change to the frontend code to avoid the flickering, and it seems to work for other devices, does it not for lights? The flickering still occurs at startup, but that is due to the zwave network starting, and dissapeared when the network is fully up.

@turbokongen is correct. The frontend will wait up to two seconds before the toggle will represent the current known state.

Right on, I had been relying on this change for so long that I wasn't aware of the change to delay for two seconds! I agree that delaying a UI update is a better way to solve this 👍 . I'll revert this change locally and file an issue if I'm sill experiencing anything odd. Thanks!


⚠ Bofrost.de has degraded performance

In bdaf270, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1468 ms

Resolved: Bofrost.de performance has improved in e82558d after 6 minutes.


Rule: add noUselessFragment rule and test

rule
#341

@sebmck I have a question about. So I am seeing failures and I believe the failures are because the rule is being applied to jsxFragments rule.
On the one hand, it could be a matter of just:

removing those tests (which could possibly degrade the test and the unit cases it's testing)
accepting those tests changes (which could make it somewhat unclear to a contributor who looks at the result for the first time and can't see that another rule is being applied)
if there's a way to not apply the rule (which lets us keep both coverage and clarity)

What are your thoughts?

@VictorHom I think we should just update the jsxFragments tests to include multiple inner children.

if there's a way to not apply the rule (which lets us keep both coverage and clarity)

So far we've deliberated avoiding being specific with the rules for test runs. It makes the execution ordering consistent with what will actually be ran for the user and acts closer to an integration test.


Why the G matrix is 4*4?

Hello,
Can I ask why the G matrix is a [4, 4] matrix instead of [3, 3]? I thought it's going to transform the coordinates from source to template?
Thanks.

A rigid transformation consists of a rotation transformation R(3x3) and a translation vector t(3x1). Together they form a 3x4 (R, t) or a matrix G(4x4) with the last row is fixed to 0, 0, 0, 1


Sorted with numbers to words and new added

@evamy Can you please rerun the sorting and resolve the conflict :)

@evamy Thanks.


use hubot-mockadapter instead of hubot-mock-adapter

I ported hubot-mock-adapter to hubot-mockadapter (plain JS), add some missing mocks like emote function, so we can get more test coverage from tests
I've done the related work on https://github.com/gasolin/webbybot
https://github.com/gasolin/webbybot/commit/845830fe8607f779317aa3ec1a2410f118ee22d9
with preference to do the following work directly on ES6 based hubot instead of coffee version #1138

The list of hubot adapters in the hubot documentation is being replaced with a link to a GitHub topic search. Add the hubot-adapter topic to your repository on GitHub to include it in this list.
/cc https://github.com/github/hubot/pull/1320


Add the usecase support for iot.

https://crosswalk-project.org/jira/browse/CTS-1901
Impacted tests(approved): new 64, update 0, delete 0
Unit test result summary: pass 42, fail 17, block 5
The result is normal.

LGTM


Drupalvm as a composer dependency...different php version on host

Issue Type

Bug Report / Support Request

Your Environment

Vagrant 1.9.1
VirtualBox 5.0.8r103449
ansible 2.5.0
  config file = None
  configured module search path = [u'/Users/Mike/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.5.0/libexec/lib/python2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.14 (default, Mar 30 2018, 15:55:25) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]

Your OS

macOS (version)
Windows (version)
Linux (version)
All!

Summary
I've been working on a base project for our drupal 8 projects that uses drupalvm as a composer dependency. I'm curious how to get this working if there is a conflict with the host machines php versions.
Because everything in the drupal-composer template exists in the composer.json at the project root, this means that if there is a conflict with PHP versions on the host machine there is a problem with composer install. IE

User needs to run composer install to get drupalvm (in the dev dependencies) - has 5.6 on host.
User needs to vagrant up and run composer install INSIDE the vm to have the correct composer dependencies installed for the project, which is php 7.1

Without separate composer.json files for the vm and the project, it seems there is a weakness in this flow. Ideally it would be possible to install a single package, drupalvm, then continue to 2, but I can't seem to find a way to do that. And putting drupalvm in separate composer.json kind of nullifies the point of having it as a composer dependency imo, and complicates things.
Does anyone have any thoughts here? Trying to minimise friction on different platforms for our developers and this is one of the last sticking points.

If I understand the questions, set the platform to the minimum php version required:
https://github.com/drupal-composer/drupal-project/blob/8.x/README.md#how-do-i-specify-a-php-version-

I don't think that helps me. Because the minimum php version required will be satisfied by the VM. But the host machine may still only have 5.6 available on it. Usually the solution to this is to have drupalvm installed through git and then run composer install inside the vm, but this isn't much use if you want to have drupalvm as a composer dependency.
It's a bit of a chicken and egg thing, you want the vm so that you have the right environment to run composer install, but you need to run composer install to get that environment in the first place

Ah right, gotcha. Thanks @thom8, sorry @joestewart I misread your suggestion.
Re upgrading to 7.1, yeah I will absolutely suggest the upgrade this is mainly for ease of use when on-boarding contractors