text:
Possibilty to interact with opened page ?

Hi.
Very nice solution to bypass cloudflare and work great.
I need to interact with a opened page, like click button, filling form, etc...
Not using postdata, but really interact like with selenium....
Is possible for you to add ? Or already existing but don't find how to ?
Thanks

Hmm, I guess it could be configured to share the port of the webdriver so that you could connect to it... I don't really have time to look into it atm, but I think it would be a great addition to the project if you had time to work that out.
If anyone submits a PR for this I'd happily review and merge it!

I m actually working on it with your source....but i must understand puppeteer function works...
I ll share you my results
Thanks

Any update?

You can try https://github.com/yoori/flare-bypasser - it allow to write extensions for interact with page after solve (but with using nodriver) ...

authors: NoahCardoza iconmix okaiff

repo: NoahCardoza/CloudProxy


text:
Problem using AjaxGrid

Hi,
Sorry, I don't know if I am polluting this space, but there is no other place to ask this. I just cannot make it work in my project. Here is question and code:
https://github.com/LeonardoDaga/MVC6.Grid.Demo1stAspNetApp/issues/1
Please help!
Thanks,
Vedran

I found the source of this error. Thanks!

source: gharchive/issue

license: mit

license_type: permissive

license_source: bigquery


text:
add ffjson marshal, update deployment yaml & makefile

updates to ffjson for json marshalling

from ffjson https://github.com/pquerna/ffjson
Performance Status:
MarshalJSON is 2x to 3x faster than encoding/json.
UnmarshalJSON is 2x to 3x faster than encoding/json.

source: gharchive/pull-request

repo: Nordstrom/choices


text:
Show minimap with image overlay

Hi,
I'm trying to show minimap with image and markers,
my problem is that the minimap doesn't show all map as expected...
I see all the map on the screen but in the minimap just part of the map, this is a picture:

I attached my code:
let osm2 = this.mapDataService.drawMap(this.mapData);
let markers2 = this.itemsDrawService.draw(this.items);
let layers = new LayerGroup([...osm2.layers, ...markers2]);
let miniMap = new MiniMap(layers, {toggleDisplay: true});
miniMap.addTo(this.map);
Thanks
Yael

Hi,
I have the same issue, is there a solution?
Thanks
Michael

authors: michael-eckhart-woellkart yaelFriedmann

repo: Norkart/Leaflet-MiniMap


text:
Added option to skip caching when enumerating rows

This might be a special request but I have a use case where not adding read rows to the cache would be ideal.
I'm writing a Dalamud plugin that searches for translations of game content and that means that I read a lot of rows from many sheets in order to find an item that matches the search string (ex: ex: "popoto" will match "popoto", "popoto step" and "Popotoes au Gratin")
In a Dalamud context the sheet cache (and the row cache) are always kept in memory and using ExcelModule.RemoveSheetFromCache<T>() would be detrimental to other users of the cache.
Therefore it would simply be best for me be able to iterate over rows without loading a gigabyte of data into the cache ^^'
PS. I'm not sure why I had to add another GetEnumerator method, but it wouldn't compile without it

PS. I'm not sure why I had to add another GetEnumerator method, but it wouldn't compile without it
because it breaks the contract with the enumerable interface

it would be better to do a threadlocal internal static that is updated by some idisposable that you using var _ = new nocache() or something and read that in the enumerator, so disposing it restores the original behaviour for you and you can use it in a scope

Hey, just a little bump. Could you look at the updated code? I would really appreciate having this feature upstreamed

hey sorry, this got lost in my notifs! will sort now - thanks for updating the PR

repo: NotAdam/Lumina

license: WTFPL

license_source: github-api


text:
Updated the Image of Sales Forecast Issue# 278

Added an illustrative picture from SILK Corp Images.

@Aini-Bashir please review this pull request.

@Aini-Bashir Please check it now.

@Aini-Bashir. Here is the link: [Link] [https://envato-shoebox-0.imgix.net/c57a/ee3b-7f8a-4075-96d7-1b75751d3270/b_grzes31.jpg?auto=compress%2Cformat&fit=max&mark=https%3A%2F%2Felements-assets.envato.com%2Fstatic%2Fwatermark2.png&markalign=center%2Cmiddle&markalpha=18&w=800&s=88e8c6e5a547b4b88320f67048d9f7cf]

Link:

@rahmatzeb, send the link again. Write the "Link" and then press ctrl+k, it will pop up a screen where you'll paste the link and insert it. Thanks

Okay, let me do it again.
Link

Asset 1: Link

authors: Aini-Bashir rahmatzeb

repo: NoteHive/Silk-Corp-Guide

license: MIT


text:
Remove all references to codeplex (as appropriate on the site)

I see references to codeplex in our site. Customer have complained that codeplex results come up on searches and hopefully reducing links form the gallery will drop the rank.

cleaned it up

repo: NuGet/NuGetGallery


text:
Update catalog2lucene to add the case-insensitive package version field to all documents

After deploying this, we must run db2lucene to that old packages have this field.

Addressed by https://github.com/NuGet/NuGet.Services.Metadata/pull/256.

Duplicate of https://github.com/NuGet/NuGetGallery/issues/4583.


text:
Confusing forms and lexemes when getting lexemes

If there is no lexeme movies, but there is movie with the form movies, "get_or_create_lexeme" will get you the lexeme movie, so if you want to update sense "cinema" it will be wrong. I had about 300 lexemes mixed up due to this issue, while running a bot.

Do I understand you correctly: you were expecting that "get_or_create_lexeme" should also search for an lexeme that has an form with the given string?

repo: Nudin/LexData


text:
About cross compiling

Can I use Nuitka to generate ARM(arm64-v8a) modules on x86 machines? I want to compile and run the.so file generated by hello.py on Android.

Duplicate of #43

authors: kayhayen liukangcc

repo: Nuitka/Nuitka


text:
nuitka 0.7 fails on virtualenv when using --onefile (ERRNO 5)

Nuitka version, full Python version, flavor, OS, etc. as output by this
command (it does more than you think, and we are adding more all the time):

python -m nuitka --version
0.7
Commercial: None
Python: 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]
Flavor: Unknown
Executable: C:\Users\rauln\Desktop\vsm\venv\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10

How did you install Nuitka and Python

pip install nuitka within virtualenv

The specific PyPI names and versions

Nuitka==0.7

Many times when you get an error from Nuitka, your setup may be special
print("hello world") fails, too, if '--onefile' is provided. If not, it seems to work, so probably my setup is wrong, but as far as I know I did everything correctly and I even left to Nuitka to install the C toolchain, too.

Also supply a Short, Self Contained, Correct, Example
That demonstrates the issue i.e a small piece of code which reproduces
the issue and can be run with out any other (or as few as possible)
external dependencies. Issues without this may get rejected without much
consideration.

Provide in your issue the Nuitka options used

I just used --onefile, and that seems to be the cause of the error. --follow-imports works, too, but --onefile generates the error below.

The resulting error

Detecting used DLLs:   0%|                                                                                | 0/18Traceback (most recent call last):
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\__main__.py", line 137, in <module>
    main()
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\__main__.py", line 123, in main
    MainControl.main()
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\MainControl.py", line 963, in main
    copyDllsUsed(
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\Standalone.py", line 1371, in copyDllsUsed
    used_dlls = _detectUsedDLLs(
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\Standalone.py", line 1143, in _detectUsedDLLs
    worker_pool.submit(
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\utils\ThreadedExecutor.py", line 45, in submit
    self.results.append(function(*args))
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\Standalone.py", line 1103, in addDLLInfo
    used_dlls = _detectBinaryDLLs(
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\Standalone.py", line 1070, in _detectBinaryDLLs
    return detectBinaryPathDLLsWindowsDependencyWalker(
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\Standalone.py", line 1033, in detectBinaryPathDLLsWindowsDependencyWalker
    result = detectDLLsWithDependencyWalker(binary_filename, scan_dirs)
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\DependsExe.py", line 152, in detectDLLsWithDependencyWalker
    "scan_dirs": "\n".join(
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\freezer\DependsExe.py", line 153, in <genexpr>
    "UserDir %s" % getExternalUsePath(dirname) for dirname in scan_dirs
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\utils\FileOperations.py", line 759, in getExternalUsePath
    filename = getWindowsShortPathName(filename)
  File "C:\Users\rauln\Desktop\vsm\venv\lib\site-packages\nuitka\utils\FileOperations.py", line 724, in getWindowsShortPathName
    raise WindowsError(
OSError: [Errno 5] Acceso denegado.

The error is caused when running getWindowsShortPathName on path C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe, don't know why.

Thanks for the report, so you got something in your PATH, that you are not allowed to access. It looks like a permission denied error. I am going to change it such that it will then just not shorten the filename. This is mostly an optional step to shorten the path, because external tools frequently mishandle them, and Dependency Walker is one of them, but that probably also means, DLLs won't be loaded or even loadable from there anyway.

I pushed a fix to factory: https://nuitka.net/doc/factory.html
Thanks for your report, this is something that could happen due to lots of things. Windows terminal is from the App store, and these have very mixed permissions, but this is probably in PATH for a few things to work with it.
This is also going to be in 0.7.1 hotfix once that comes out, probably today/tomorrow.

thanks for the kind words, but obviously Nuitka has to cope with these things, and thanks for reporting it. It's part of the 0.7.1 hotfix I just made.

I can confirm it is solved in the hotfix release. Thanks A LOT for being so incredibly fast 😃

If you are happy, make sure to share Nuitka on your social networks. That is the best non-monetary support I can get.

authors: DervishD kayhayen


text:
tests: Ignore /usr/etc/

Closes #811

Just noting that the latest tag (.3) didnt make it to PyPI again.  No drama, not urgent, however I'd like to include this fix in the next packaging release for openSUSE, and possibly also a fix for https://github.com/Nuitka/Nuitka/issues/960 if that is possible.

Just noting that the latest tag (.3) didnt make it to PyPI again.  No drama, not urgent, however I'd like to include this fix in the next packaging release for openSUSE, and possibly also a fix for https://github.com/Nuitka/Nuitka/issues/960 if that is possible.

.3 is now on PyPI.  I'll finish off the openSUSE package with that.

.3 is now on PyPI.  I'll finish off the openSUSE package with that.


text:
公招识别读取头像图片路径的处理似乎有问题

[v0.5.4]版本中
nonebot_plugin_arktools/open_recruitment/data_source.py中
第283行
avatar = Image.open(Path().parent / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128))  # 头像
获取到的是nonebot运行路径下的avatar目录，可能应该改为
avatar = Image.open(Path(__file__).parent.parent / "_data" / "operator_info" / "image" / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128))  # 头像
此处为插件安装的目录，与自动更新下载路径一致。

[v0.5.4]版本中 nonebot_plugin_arktools/open_recruitment/data_source.py中 第283行 avatar = Image.open(Path().parent / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像 获取到的是nonebot运行路径下的avatar目录，可能应该改为 avatar = Image.open(Path(__file__).parent.parent / "_data" / "operator_info" / "image" / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像 此处为插件安装的目录，与自动更新下载路径一致。

确实，改了之后这个报错就解决了

[v0.5.4]版本中 nonebot_plugin_arktools/open_recruitment/data_source.py中 第283行 avatar = Image.open(Path().parent / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像 获取到的是nonebot运行路径下的avatar目录，可能应该改为 avatar = Image.open(Path(__file__).parent.parent / "_data" / "operator_info" / "image" / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像 此处为插件安装的目录，与自动更新下载路径一致。

确实，改了之后这个报错就解决了

[v0.5.4]版本中 nonebot_plugin_arktools/open_recruitment/data_source.py中 第283行 avatar = Image.open(Path().parent / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像 获取到的是nonebot运行路径下的avatar目录，可能应该改为 avatar = Image.open(Path(__file__).parent.parent / "_data" / "operator_info" / "image" / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像 此处为插件安装的目录，与自动更新下载路径一致。

已修复

authors: NumberSir Yangleis liuzj288


text:
[Question] Does this work with BlockTheSpot?

Since it doesn't have lyrics in its package, was wondering if this worked in conjunction with BlockTheSpot+Spicetify,

I dont really understand this question, but this is made for Spicetify.
If you use BlockTheSpot + Spicetify, this should work too.


text:
Languages Tag View (chip)

This PR shouldn't be merged as long as long as nyaa website doesn't move to 1.0.1. This PR would then need to be tested on the new API.
Furthermore I have a problem with the taiwan flag, I can't make it work.
Close #31 after merge

Close #31 after merge

Nyaa is currently 1.0.1

Hey. I can't see those flags

repo: NyaaPantsu/NyaaPantsu-android-app


text:
Box Selection Tool

Suggestion from technicians: Implement a selection tool similar to lasso, but that selects using a box.

I'm going to close this issue as it hasn't been requested lately.


text:
Ssh newkeys 6578 v2

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6578
Suricata PR required https://github.com/OISF/suricata/pull/9903

Replaced by https://github.com/OISF/suricata-verify/pull/1507

repo: OISF/suricata-verify


text:
Remove noisy queue clearing printing

Since these tests get run with all logging enabled these prints are actually added a lot of unnecessary noise on successful runs.

 Completely purge rabbit after performance test runs

repo: ONSdigital/census-rm-performance-tests


text:
Update dp-mongodb

What
Update dp-mongodb to latest version
Update Go to latest version
How to review
Check the changes make sense, there is no reference to v2 and tests pass
Who can review
Anyone

Some unit tests have failed.

repo: ONSdigital/dp-permissions-api


text:
Update to chromedriver version 94

What is the context of this PR?
Update ChromeDriver to 94.
How to review
Check functional tests pass.
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Update Chromedriver

repo: ONSdigital/eq-questionnaire-runner


text:
Add Concourse task to deploy Notify API credentials

What is the context of this PR?
Added a Concourse task to deploy the Notify API credentials into Secret Manager and give the App Engine service account access to it.
How to review
Review using https://github.com/ONSdigital/eq-pipelines/pull/266
OR
Use the ci/README.md to deploy a secret into Secrets Manager. (Must be an existing env)
Checklist
*[ ] Tests updated

@berroar @LJBabbage I've made some changes to read the dev key from the repo instead of k8s after a discussion with Mark. That is what we intended from the beginning I think, just lost track.


text:
Allow viewing of submitted answers

What is the context of this PR?
As a respondent,
I need to access my responses to questions
so that I can refer to them if my data is queried by ONS at a later date or used as a reference for next time I complete the same survey
How to review
Easiest to test using docker (docker-compose up -d) to ensure the dynamoDb container is created.
Use test_submitted_responses.json schema which allows answers to be viewed for 45 seconds.

Still need to add tests around this but ready for a high level review. I'd also like to discuss issues around security of answers.

The answers need to be stored encrypted exactly as they are when being stored in Postgres. For this we will need to keep the user signed in (so we can encrypt and decrypt the answers with the user provided keys).
We should look at doing this by adding configurable backends for questionnaire store. This could potentially allow us to switch out Postgres for DynamoDB for survey state during surveys.
The extra information required on the thank you and answers after submission screen e.g. ru name, submission time, should be stored in the server side session.
In doing this we should also be able to store the eq id and form type in the session and remove them from the urls for post submission screens.

@dwyeradam still getting 5xx's on submission, to do with Boto3's PutItem class

@dwyeradam @shahi645 this is because there is an extra & on line 36 of dev_settings.sh

repo: ONSdigital/eq-survey-runner


text:
Implemented create survey feature

can be found at /surveys/create (no link from survey page)

This PR is feature complete but I need to add tests (once I've learned how ...)

 US102: INT User to Create a CE - After R17/18 (M)

 US101: INT User to Create a Survey - After R17/18 (L)

Codecov Report

Merging #139 into master will decrease coverage by 2.73%.
The diff coverage is 44.28%.

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
- Coverage   95.21%   92.48%   -2.74%
==========================================
  Files          34       34
  Lines        1254     1317      +63
==========================================
+ Hits         1194     1218      +24
- Misses         60       99      +39

Impacted Files
Coverage Δ

response_operations_ui/exceptions/exceptions.py
100% <100%> (ø)
:arrow_up:

response_operations_ui/error_handlers.py
100% <100%> (ø)
:arrow_up:

...se_operations_ui/controllers/survey_controllers.py
81.39% <11.76%> (-17.16%)
:arrow_down:

response_operations_ui/views/surveys.py
76.19% <51.85%> (-18.94%)
:arrow_down:

response_operations_ui/forms.py
85% <54.16%> (-13.25%)
:arrow_down:

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 0e2b966...bf8db22. Read the comment docs.

Can you add these config changes to the confluence doc for new config? https://digitaleq.atlassian.net/wiki/spaces/RASB/pages/406257665/Pending+Release+Config+Changes

authors: codecov-io gemmai95 madeye-matt

repo: ONSdigital/response-operations-ui


text:
Improve the way login errors are generated

This way of displaying errors means that 1) every error will be displayed if there are mulitple and
2) the errors that are generated have links

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   99.55%   99.55%
=======================================
  Files          24       24
  Lines         446      446
=======================================
  Hits          444      444
  Misses          2        2

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 21d698e...61acac5. Read the comment docs.

authors: codecov-io insacuri


text:
Get tx id from header

What? and Why?

What does this pull request change/fix? Why was it necessary?

Get tx_id from header. This makes logging and monitoring of the service easier.
Checklist

[x] CHANGELOG.md updated? (if required)

Codecov Report

Merging #60 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   98.53%   98.55%   +0.01%
==========================================
  Files           8        8
  Lines         341      345       +4
==========================================
+ Hits          336      340       +4
  Misses          5        5

Impacted Files
Coverage Δ

tests/test_data.py
100% <ø> (ø)
:arrow_up:

tests/test_response_processor.py
100% <100%> (ø)
: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 5e16e76...4488c29. Read the comment docs.

 Fix empty tx_id in sdx_receipt_rrm

repo: ONSdigital/sdx-receipt-rrm


text:
incorrect label for rule BR-BT-00738-0053

Citing the changelog of SDK 1.8.1:

Remove redundant rule checking that preferred publication date is after the dispatch date.
Correct rule BR-BT-00738-0053 to allow the preferred publication date (BT-738) to be equal to the dispatch date (BT-05).

The schematron seems to have been updated accordingly, but in rule_en.xml the error message for BR-BT-00738-0053 still reads:
Preferred publication date' (BT-738-notice) must be between 2 and 60 days after 'Notice dispatch date'

Hi,
The English version is indeed not aligned with the translations and this should get fixed with a next labels update.

@YvesJo Thx - as far as I can tell the issue also exists in the other languages.

Hi @mdewinne
Extracting the labels for SDK 1.8.2, I get the following:
	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Предпочитана дата за публикуване' (BT-738-notice) трябва да бъде между 0 и 60 дни след 'Дата на изпращане на известието'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Preferované datum zveřejnění' (BT-738-notice) musí být v rozmezí od 0 do 60 dnů po 'Datum odeslání oznámení'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Foretrukken offentliggørelsesdato' (BT-738-notice) skal være mellem 0 og 60 dage efter 'Afsendelsesdato for bekendtgørelsen'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Bevorzugtes Datum der Veröffentlichung' (BT-738-notice) muss zwischen 0 und 60 Tage nach 'Datum der Übermittlung der Bekanntmachung' sein</entry>
 	Line 17886: <entry key="rule|text|BR-BT-00738-0053">'Προτιμώμενη ημερομηνία δημοσίευσης' (BT-738-notice) πρέπει να είναι μεταξύ 0 και 60 ημερών μετά 'Ημερομηνία αποστολής της προκήρυξης'</entry>
 	Line 25975: <entry key="rule|text|BR-BT-00738-0053">'Preferred publication date' (BT-738-notice) must be between 2 and 60 days after 'Notice dispatch date'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Fecha preferida de publicación' (BT-738-notice) debe situarse entre 0 días y 60 días después de 'Fecha de envío del anuncio'</entry>
 	Line 17798: <entry key="rule|text|BR-BT-00738-0053">'Avaldamise eeliskuupäev' (BT-738-notice) peab olema 0 kuni 60 päeva pärast 'Teate saatmise kuupäev'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Ensisijainen julkaisupäivä' (BT-738-notice) on oltava 0 ja 60 päivän välillä 'Ilmoituksen lähetyspäivä' jälkeen</entry>
 	Line 20106: <entry key="rule|text|BR-BT-00738-0053">'Date de publication souhaitée' (BT-738-notice) doit être compris entre zéro et soixante jours après 'Date d’envoi de l’avis'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Ní mór 'Dáta foilsithe is rogha leat' (BT-738-notice) a bheith idir 0 agus 60 lá tar éis 'Dáta seolta an fhógra'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Željeni datum objave' (BT-738-notice) mora biti između 0 i 60 dana nakon 'Datum slanja obavijesti'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'A hirdetmény közzétételének preferált dátuma' (BT-738-notice) 0–60 nappal 'A hirdetmény megküldésének dátuma' után kell, hogy legyen</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Data di pubblicazione preferita' (BT-738-notice) deve essere compreso tra 0 e 60 giorni dopo 'Data di trasmissione dell'avviso'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Pageidaujama paskelbimo data' (BT-738-notice) turi būti 0–60 dienų po 'Skelbimo išsiuntimo data'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Vēlamais publicēšanas datums' (BT-738-notice) jābūt no 0 līdz 60 dienām pēc 'Paziņojuma nosūtīšanas datums'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Data ta’ pubblikazzjoni preferuta' (BT-738-notice) irid ikun bejn jiem żero u 60 jum wara 'Data ta’ meta ntbagħat l-avviż'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Voorkeursdatum voor publicatie' (BT-738-notice) moet tussen 0 en zestig dagen na 'Verzenddatum van de aankondiging' zijn</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Preferowana data publikacji' (BT-738-notice) musi wynosić od 0 do 60 dni po 'Ogłoszenie – data wysłania'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Data de publicação preferida' (BT-738-notice) deve estar entre 0 e 60 dias após 'Data de envio do anúncio'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Data preferată pentru publicare' (BT-738-notice) trebuie să fie între 0 și 60 de zile după 'Data notificării expedierii'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Preferovaný dátum uverejnenia' (BT-738-notice) musí byť od 0 do 60 dní po 'Dátum odoslania oznámenia'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Zaželeni datum objave' (BT-738-notice) mora biti od 0 dni do 60 dni po 'Datum pošiljanja obvestila'</entry>
 	Line 17781: <entry key="rule|text|BR-BT-00738-0053">'Önskat offentliggörandedatum' (BT-738-notice) måste vara mellan 0 och 60 dagar efter 'Avsändningsdatum för meddelandet'</entry>

and may only detect an issue for the EN label. Would you have additional information to share?

@YvesJo Ah yes, you are right. But then there may have been a regression, because in the latest version of the rule_.xml files, the delay once again mentions "between 2 and 60 days".
E.g. rule_fr.xml in SDK 1.12:
'Date de publication souhaitée' (BT-738-notice) doit être compris entre deux et soixante jours après 'Date d’envoi de l’avis'

indeed, following further investigations, some unexpecting and competing operations were carried out and led to regression in some recent SDKs. This is currently under investigation.
Thanks for the details.

authors: YvesJo mdewinne

repo: OP-TED/eForms-SDK


text:
Allow custom base types for structures with optional fields

This a proposed solution to the issue #192.
Extends the templates with a data type template that allows a structure with optional fields to subtype from a custom structure. The template is a copy of the ClassWithOptionalFields.cs with a couple of changes, mainly caused by replacing virtual with override.

 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.

Release now has support.

authors: CLAassistant larws opcfoundation-org

repo: OPCFoundation/UA-ModelCompiler


text:
database_size is a confusing service

The thresholds sent to database_size is applied on the database growth since last query - this may be slightly unexpected from the name of the service.
Further, the perf-data gives the absolute database size and not the growth.  I was staring at the numbers for a while and believing I found a bug - until I read the documentation.  I think it's not appropriate that the thresholds apply to one variable while the actual reported data is another variable.  And I even do have a use-case where I'd actually like to monitor the absolute database size.
Suggestion: mark database_size as deprecated and split it into two, database_size_growth as a rename of the currenct database_size (but it should return growth values in perfdata), and database_total_size, database_disk_size or something like that for a service that checks for and returns the actual database size.  Check the available disk space on the postgres data partition (if possible) and let percentages in the thresholds apply to the ratio database_size / (database_size + free disk space)

Hi,
I agree this service is quite confusing.
Unfortunately, checking the available disk space on the postgres data partition is not possible in a clean or portable way. Moreover, checking the available space/partition size is not related to a PostgreSQL tool, but a system tool that should be deployed as well anyway (eg. check_disk :)).
I'm fine with the idea to rename database_size as database_size_delta (the db can growth...or shrink :)) and create a new service database_size which apply on actual absolute db size.

Right, on second thought the "ratio of database size towards database size plus free disk space" probably doesn't make much sense anyway.  I would like to use a percentage there rather than fixed size though.  Ratio of database size versus size of all databases could probably work, though in many settings it's always close to 100%.  Well, I guess this is yet another threshold variable that has to be hand tuned, where it's meaningless to try to pick some default fire-and-forget value :-)

+1 for adding a check on the database full size
I propose to allow something like  -w "1%,100GB" -c "2%,150GB" to keep the compatibility with the current behaviour and get an alarm when getting (slowly) above some threshold ?

I'm ok with @Krysztophe proposal. Not with the syntax. Currently, a raw number, a percentage, or a
size are all accepted as size variation. So it is not clear if a size apply to the total size or variation. Same for percentage or raw number.
Myabe we should pick something like -w "delta=1%,size=100GB" -c "delta=10GB,size=150GB". size would only allow a size or a raw number.
Plus, we should probably add a perfdata about the size variation of each database.
Extending the current database_size avoid some code duplication and to break compatibility with existing setup.

I need reviewers on PR #225.

Done!
Thanks,

authors: Krysztophe ioguix tobixen

license: PostgreSQL


text:
Platform-Plugin: Table-Only (headless) mode

It would be great if saiku could be called via url in a mode that only renders the crosstab.
it would be a nice addition for cdf-dashboards.

done
?plugin=true&mode=view#query/open/{queryName}  will open a query and just display the result. with options like swap axes etc. plugin=true would be biplugin=true in the biserver
mode=table is the same as above except the query toolbar is removed as well

authors: buggtb pstoellberger

repo: OSBI/saiku-ui


text:
Feat flexovl elster flex 1586

FLEX-1586

SonarQube analysis reported 1 issue:

 1 major

Watch the comments in this conversation to review them.

All is well.

repo: OSGP/Shared


text:
use of doc strings in notebooks for visualization of test results

the notebooks to visualize the test results has background on test data and tolerances etc. These are now copy-paste (+edits) from the test files. This could probably be more efficient and automated by using doc strings in test files.

this could also help to add remarks to the notebooks, i.e. we have a 'notes' section in each notebook. We could use this to indicate where we needed modifications to the test data to get it run for each contribution. This might also be relevant information when you want to use the code.


text:
Add ttl to SOA records in builds

It seems like SOA records have two different ways of being built... the usual bind_render_record, and zone_builder.render_soa_only. This adds the TTL to the latter.
Resolves https://github.com/OSU-Net/cyder/issues/930

Is this supposed to be reviewed or not?

i'll deal with this one.

authors: akeym drkitty murrown

repo: OSU-Net/cyder


text:
Private github repositories are not listed in Github repo selection step

This issue has been migrated from :
https://github.com/mike-goodwin/owasp-threat-dragon/issues/119
and was opened by @rav94 :
The repository was listed only after I changed the repository permissions to the public mode. Think this would be an important option to have because you are providing the Github credentials expecting to view your private repos as well. Plus people would be reluctant to put their threat model diagrams in public.

Definitely we can't make threat models publicly available, Threat Dragon needs to use a private repo.

Agreed @FrankArchitect that this is a limitation of TD, and should be changed as soon as we can. Dow you know what needs to be done with TD + github to provide this? Any suggestions welcome
The alternative is to use Threat Dragon desktop version on a locally cloned repo, and then commit+push back up to the private repo when required. I know this is not using the webapp, and is more awkward process, but it may help here.
The desktop release is at :
https://github.com/mike-goodwin/owasp-threat-dragon-desktop/releases/tag/v1.2

This has a comment from @hemedga https://github.com/mike-goodwin/owasp-threat-dragon/commit/305296d10fc1d310613f28503cc050ede802027b#commitcomment-40338515
"this commit was a good shot for threatdragon.org.
However, we are going to self-host it and we are going to use private repositories.
I suggest moving this to an environment variable i.e. process.env.GITHUB_REPO.
We're going to test it in our environment.:

authors: FrankArchitect jgadsden

repo: OWASP/threat-dragon


text:
Upgrade dependency

Upgrade jsonwebtoken@8.5.1 to version 9.0.1

Please ignore this PR and close it. Generated by TestIM


text:
Multi-file parsing in grid.py does not seem to work

It seems that the multi-file parsing in grid.py does not work. Even when multiple files can be read in the .from_netcdf classmethod, only the last one is returned.
I've made a new branch with a very simple test function to show the issue:
erik:~/Codes/PARCELScode] python tests/test_multi_filename.py
Generating NEMO grid output with basename: multi_filename0
Generating NEMO grid output with basename: multi_filename1
Generating NEMO grid output with basename: multi_filename2
Generating NEMO grid output with basename: multi_filename3
Generating NEMO grid output with basename: multi_filename4
Generating NEMO grid output with basename: multi_filename5
Grid.time as computed in .from_netcdf [      0.   86400.  172800.  259200.  345600.  432000.]
Grid.time as returned by .from_netcdf [ 432000.]

Issue fixed; turned out not to be a bug. Rather, a misinterpretation from me on how to use the Grid.from_netcdf class. Proper usage is
grid = Grid.from_netcdf(filenames, variables, dimensions)

repo: OceanPARCELS/parcels


text:
List Card not found

Hi,
Could you please add samples so that we could try out
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/cards/cards-reference#list-card
Also i was unable to find the same in botbuilder-teams.d.js. Where is it defined ?
Thanks

Could you please provide an example on how to use the JSON manually ? Or could you please refer me to an example.

Thank you. Got it working.
List Card is not supported in Bot Emulator ?

That's correct - it only works in Teams.

repo: OfficeDev/BotBuilder-MicrosoftTeams


text:
Is there an official documentation for BotBuilder-MicrosoftTeams?

Hi, I am new to Microsoft Teams and Botbuilder framework. Is there any official documentation and API reference for this botbuilder-teams library?

We don't have a separate SDK documentation for botbuilder-teams (yet).
However, this section of our documentation discusses this in depth: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bots-overview

authors: chamathabeysinghe clearab


text:
Fix copy-paste error in jsdoc for .fetchMemberList()

It seems the jsdoc was copy-pasted from .fetchChannelList() and the first line wasn't updated

@oneeman,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

authors: msftclas oneeman


text:
Tell us more about your awesome experience using MCCA :)

It's great to hear that you enjoyed using our product! Please share your feedback on how we can further improve your MCCA experience.
NOTE: Please do not share any personal or sensitive information related to your organization and/or yourself.
Tell us about:

Why do you use MCCA?
What do you like about MCCA?
What do you want to see more of?
What role (admin, leadership, engineer, etc) do you belong to & which other stakeholders in your or use MCCA?
Any other feedback that you want us to work on.

Interested in discussing more?
Leave your email address and we will reach out to you or drop us an email at mccahelp@microsoft.com.

Good day karashah1. I like MCCA a lot. It makes it easier to show people what they have to OK for me to apply in Compliance. My position is Compliance Specialist.
What I believe is necessary is to be able to download the report and share it in Teams or by email. At the moment. At the moment I have to show it on screen.
The print is not in color, which is OK, but not as good as the color version.
niek@m365compliance.com

Good day karashah1. I like MCCA a lot. It makes it easier to show people what they have to OK for me to apply in Compliance. My position is Compliance Specialist. What I believe is necessary is to be able to download the report and share it in Teams or by email. At the moment. At the moment I have to show it on screen. The print is not in color, which is OK, but not as good as the color version. niek@m365compliance.com

@NiekM51 Thanks for taking the time to share feedback!
To your feature request - We are able to print in colour (screenshot below). Are you sure your default print settings are not set to black & white ? Alternatively, you can directly share the HTML report via email/teams as well.

Hi Karashah1, I have looked at my settings and cannot see where the problem may lie. How can I share or email the document directly?
@.***
Compliance Specialist
Niek Meerkotter
+27-72-358-4688
@.@.>
@.***https://m365compliance.com/
From: karashah1 @.>
Sent: Wednesday, 06 April 2022 13:09
To: OfficeDev/MCCA @.>
Cc: Niek Meerkotter @.>; Mention @.>
Subject: Re: [OfficeDev/MCCA] Tell us more about your awesome experience using MCCA :) (Issue #39)
You don't often get email from @.@.>. Learn why this is importanthttp://aka.ms/LearnAboutSenderIdentification
Good day karashah1. I like MCCA a lot. It makes it easier to show people what they have to OK for me to apply in Compliance. My position is Compliance Specialist. What I believe is necessary is to be able to download the report and share it in Teams or by email. At the moment. At the moment I have to show it on screen. The print is not in color, which is OK, but not as good as the color version. @.@.>
@NiekM51https://github.com/NiekM51 Thanks for taking the time to share feedback!
To your feature request - We are able to print in colour (screenshot below). Are you sure your default print settings are not set to black & white ? Alternatively, you can directly share the HTML report via email/teams as well.
[image]https://user-images.githubusercontent.com/67892508/161961609-4d4ddde5-276f-4033-9f3f-70c503f37cac.png
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/MCCA/issues/39#issuecomment-1090143215, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWXAKJZI2GVVXHYOFICL3P3VDVWDDANCNFSM5PQK2SFQ.
You are receiving this because you were mentioned.Message ID: @.@.>>

The report is great as it pulls together a lot of information and provides a nice summary and next level of detail. It's a great tool for Microsoft partners as a report to run before, during, and post delivery of a project.
What I'd like to see is an option to export the results in a json file. The option could either have the output only be HTML or Json, or maybe it produces both: -filetype json,html
I could then store these results within blob storage and then use Power BI to show trends over time.  HTML is great when you view it one at a time, but makes it harder if I want to compare the summary scores over a period of time. Let's say I automate running the report monthly, and I want to see how we've improved (based on the nice recommendations) during the last six months.

Hi Conrad
This is a great idea. I concur totally with this.
@.***
Compliance Specialist
Niek Meerkotter
+27-72-358-4688
@.@.>
@.***https://m365compliance.com/
                        [A picture containing text, sign  Description automatically generated] [A picture containing icon  Description automatically generated] [A picture containing text, sign  Description automatically generated]

From: Conrad Agramont @.>
Sent: Thursday, 21 July 2022 18:41
To: OfficeDev/MCCA @.>
Cc: Niek Meerkotter @.>; Mention @.>
Subject: Re: [OfficeDev/MCCA] Tell us more about your awesome experience using MCCA :) (Issue #39)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
The report is great as it pulls together a lot of information and provides a nice summary and next level of detail. It's a great tool for Microsoft partners as a report to run before, during, and post delivery of a project.
What I'd like to see is an option to export the results in a json file. The option could either have the output only be HTML or Json, or maybe it produces both: -filetype json,html
I could then store these results within blob storage and then use Power BI to show trends over time. HTML is great when you view it one at a time, but makes it harder if I want to compare the summary scores over a period of time. Let's say I automate running the report monthly, and I want to see how we've improved (based on the nice recommendations) during the last six months.
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/MCCA/issues/39#issuecomment-1191709853, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWXAKJYXBP66E47YVAVLR4TVVF4RRANCNFSM5PQK2SFQ.
You are receiving this because you were mentioned.Message ID: @.***>

repo: OfficeDev/MCCA


text:
PickaDate removal from DatePicker

This addresses #99. Microsoft copyright is retained in the plugin while PickaDate is moved to another file that is loaded in.

I'm going to update this pull request to take out commits from another branch.

Closing this pull request because of unintended changes brought in from another branch.

repo: OfficeDev/Office-UI-Fabric


text:
Wdo3650/panel commanding usability

Updated with usability enhancements.

Changes:
-Command bar animates down
-First button margin, padding and color changes
-Other buttons in command bar match hover and active styles from ODN usability change

Looks good however the commanding seems broken and not selectable on small screens. Probably a pointer events issue. We might want to add some space between the buttons on small screens as well.

THIS IS APPROVED, PULL REQUEST CAN BE COMPLETED IF USER DESIRES THIS RESULT. THANK YOU FOR YOUR WORK, MAY TEH FORCE BE WITH YOU.

authors: battletoilet philworthington wdo3650


text:
"error":"This service is not available in your location."

Hi
I'm running the step-by-step tutorial and once I run the command [npm run deploy], and login to AAD, I got the following exception:
Fetching zip upload url ...
API response error: {"error":"This service is not available in your location.","correlationId":"40846ac3-b508-476c-ae41-588c58462d58","serverCorrelationId":"226cb7c7-0370-4e8a-a9d5-34b156172bb7"}
Failed to get zip upload url!

any guidance on how to move forward from here ?
Thanks

Checklist app is currently not supported for customers with M365 billing region as Canada, South Africa and United Arab Emirates because of data residency issues.

Has anything changed since almost a year ago when this was first raised.  I am getting the same issue still trying to test sample teams app code

authors: elbruno pcox-outreach yogesh-MS

repo: OfficeDev/microsoft-teams-app-checklist


text:
It does not load me or it does not open the company in the desktop teams

Good day, I have a problem with the authors company and it is that when I open it from my local teams, to send a communication, the authors company communicator remains blank and never loads or opens me, because it could be that mistake?

Hi, problem solved.


text:
Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 922ed66:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


text:
Cannot append 'svg' properly with 'ReactFauxDOM'

I have the following ReactFauxDom implementation:
import React, { Component } from 'react';
import * as d3 from 'd3';
import ReactFauxDOM from 'react-faux-dom';

class Animate extends Component {
    render() {
        const w = window.innerWidth;
        const h = window.innerHeight;
        var fauxRoot = ReactFauxDOM.createElement('div');

        let nodes = d3.range(200).map(function() {
            return {r: Math.random() * 12 + 4};
        });

        let root = nodes[0];
        let color = d3.scaleOrdinal().range(d3.schemeCategory10);

        root.radius = 0;
        root.fixed = true;

        const forceX = d3.forceX(w / 2).strength(0.015);
        const forceY = d3.forceY(h / 2).strength(0.015);

        let force = d3.forceSimulation()
            .velocityDecay(0.2)
            .force('x', forceX)
            .force('y', forceY)
            .force('collide', d3.forceCollide().radius(function(d){
                if (d === root) {
                    return Math.random() * 50 + 100;
                }
                return d.r + 2;
            }).iterations(5))
            .nodes(nodes).on('tick', ticked);

        let svg = d3.select(fauxRoot).append('svg')
            .attr('width', w)
            .attr('height', h);

        svg.selectAll('circle')
            .data(nodes.slice(1))
            .enter().append('circle')
            .attr('r', function(d) { return d.r; })
            .style('fill', function(d, i) { return color(i % 3); });

        function ticked(e) {
            svg.selectAll('circle')
                .attr('cx', function(d) { return d.x; })
                .attr('cy', function(d) { return d.y; });
        };

        svg.on('mousemove', function() {
            const p1 = d3.mouse(this);
            root.fx = p1[0];
            root.fy = p1[1];
            force.alphaTarget(0.3).restart();//reheat the simulation
        });

        return fauxRoot.toReact();
    }
}

// indicate which class can be exported, and instantiated via 'require'
export default Animate;

It renders as follows:

But, when I change the above's d3.select(fauxRoot).append('svg') to d3.select('body').append('svg'), it incorrectly renders, duplicated svg's, at the bottom of the <body>:

The following is what I'm trying to get it to look like:

https://jsfiddle.net/jeff1evesque/hgcuy9mc/

Note: the original source code was written with d3js (version 3). It's update doesn't have a nice effect, that the gravity callback provided. More specifically, when the mouse approaches the aggregated circles, they should collectively get repelled. This is less so, with the adjusted jsfiddle's version 4 update.

I adjusted my code to use animateFauxDom:
import React from 'react'
import * as d3 from 'd3'
import {withFauxDOM} from 'react-faux-dom'

class MyReactComponent extends React.Component {
    componentDidMount() {
        const w = window.innerWidth;
        const h = window.innerHeight;
        const faux = this.props.connectFauxDOM('svg', 'collision');

        let nodes = d3.range(200).map(function () {
          return { r: Math.random() * 12 + 4 };
        });

        let root = nodes[0];
        let color = d3.scaleOrdinal().range(d3.schemeCategory10);

        root.radius = 0;
        root.fixed = true;

        const forceX = d3.forceX(w / 2).strength(0.015);
        const forceY = d3.forceY(h / 2).strength(0.015);

        var svg = d3.select(faux)
          .attr('width', w)
          .attr('height', h)
          .append('g');

        svg.selectAll('circle')
            .data(nodes.slice(1))
            .enter()
            .append('circle')
            .attr('r', function (d) { return d.r; })
            .style('fill', function (d, i) { return color(i % 3); });

        root.radius = 0;
        root.fixed = true;

        function ticked(e) {
            svg.selectAll('circle')
            .attr('cx', function (d) { return d.x; })
            .attr('cy', function (d) { return d.y; });
        };

        let force = d3.forceSimulation()
            .velocityDecay(0.2)
            .force('x', forceX)
            .force('y', forceY)
            .force('collide', d3.forceCollide().radius(function (d) {
                if (d === root) {
                    return Math.random() * 50 + 100;
                }
                return d.r + 2;
            }).iterations(5))
            .nodes(nodes).on('tick', ticked);

        svg.on('mousemove', function () {
            root.fx = d3.event.pageX;
            root.fy = d3.event.pageY;
            force.alphaTarget(0.3).restart();//reheat the simulation
            this.props.animateFauxDOM(3500);
        });
        this.props.animateFauxDOM(3500);
    }

    render() {
        return (
            <div>{this.props.collision}</div>
        )
    }
}

MyReactComponent.defaultProps = {
  collision: 'loading'
}

export default withFauxDOM(MyReactComponent)

However, it seems to only last for a few seconds before displaying an Uncaught TypeError:

Got the animation to work without implementing react-faux-dom:
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import * as d3 from 'd3';

class AnimateCollisions extends React.Component {
    constructor() {
        super();
        const nodes = this.generateNodes(200);
        this.state = {
            colors: d3.scaleOrdinal().range(d3.schemeCategory10),
            nodes: nodes,
            root: nodes[0],
            width: window.innerWidth,
            height: window.innerHeight,
            alpha_target: .4,
            iterations: 4,
            velocity_decay: .1,
            forceX: d3.forceX(window.innerWidth / 2).strength(0.015),
            forceY: d3.forceY(window.innerHeight / 2).strength(0.015),
        }
        this.getColor = this.getColor.bind(this);
        this.generateNodes = this.generateNodes.bind(this);
        this.storeForce = this.storeForce.bind(this);
        this.renderD3 = this.renderD3.bind(this);
    }

    componentDidMount() {
        this.renderD3();
    }

    generateNodes(range_limit) {
        return [...Array(range_limit).keys()].map(function() {
            return { r: Math.random() * 12 + 4 };
        });
    }

    storeForce(force) {
        this.setState({force: force});
    }

    getColor(i) {
        return this.state.colors(i % 3);
    }

    renderD3() {
        const nodes = this.state.nodes;
        const forceX = this.state.forceX;
        const forceY = this.state.forceY;
        const root = nodes[0];
        const svg = d3.select(ReactDOM.findDOMNode(this.refs.animation));
        const alpha = this.state.alpha_target;
        const iterations = this.state.iterations;

        root.radius = 0;
        root.fixed = true;

        svg.selectAll('circle')
            .data(nodes.slice(1))
            .enter();

        function ticked(e) {
            svg.selectAll('circle')
                .attr('cx', function(d) { return d.x; })
                .attr('cy', function(d) { return d.y; });
        };

        svg.on('mousemove', function() {
            const p1 = d3.mouse(this);
            root.fx = p1[0];
            root.fy = p1[1];
            force.alphaTarget(alpha).restart();//reheat the simulation
        });

        let force = d3.forceSimulation()
            .velocityDecay(this.state.velocity_decay)
            .force('x', forceX)
            .force('y', forceY)
            .force('collide', d3.forceCollide().radius(function(d) {
                if (d === root) {
                    return Math.random() * 50 + 100;
                }
                return d.r + 2;
            }).iterations(iterations))
            .nodes(nodes).on('tick', ticked);

        this.storeForce(force);
    }

    render() {
        // use React to draw all the nodes, d3 calculates the x and y
        const nodes = this.state.nodes.slice(1).map((node, index) => {
            const color = this.getColor(index);
            return (
                <circle
                    fill={color}
                    cx={node.x}
                    cy={node.y}
                    r={node.r}
                    key={`circle-${index}`}
                />
            );
        });

        return (
            <svg width={this.state.width} height={this.state.height}>
                <g ref='animation'>{nodes}</g>
            </svg>
        )
    }
}

export default AnimateCollisions;

This is my first D3v4 attempt. If anyone has advice on how to make my animation better, or smoother, please let me know:

https://codesandbox.io/s/ly5zx2p4ym

repo: Olical/react-faux-dom

license: unlicense


text:
Fix storage cache persistance across build configs

Currently, the storage cache will persist between different build configurations. For example, if a developer compiles in debug mode, then switches to release mode, the cache will hold onto and emit the debug code.

It's more complicated. The storage cache will store the code compiled with O3 (that's what we do by default), either in LLVM IR or object format. We need to define what should be the expected functionality. Also, what does debug mode mode in terms of optimization flags and debug info? Are you referring to cmake build types?

Tagging @koparasy to triage this issue

repo: Olympus-HPC/proteus


text:
corn simulation

Hi,
I am trying to run pySTICS for corn simulation.
I have taken de "run_pystics_simulation_stics_example.ipynb" and changed species and variety to :
species = 'corn'
variety = 'Cherif'
where 'Cherif' is a variety present in "corn_plt.xml"
the "parametrization_from_stics_example_files" function retrieves correctly the different example parameters, but the execution fails in the simulation run_pystics_simulation where i get the bellow error:
"""
in senescence_stress(lev_i, ulai, vlaimax, temp_min_prev, tgeljuv10, tgeljuv90, tgelveg10, tgelveg90, tletale, tdebgel, codgeljuv, codgelveg)
else:
fstressgel = 1
return fstressgel
"""
UnboundLocalError: cannot access local variable 'fstressgel' where it is not associated with a value
If you have any insights to resolve this issue i am having. (When leaving to wheat and Talent everything works fine)
Best regards

As a work around i modified the function bellow by adding an init value to the return value fstressgel, and seems to have corrected the issue
`def senescence_stress(lev_i, ulai, vlaimax, temp_min_prev, tgeljuv10, tgeljuv90, tgelveg10, tgelveg90, tletale, tdebgel, codgeljuv, codgelveg):
 **fstressgel = 1**

if lev_i > 0:

    # Frost stress
    if (
        ulai < vlaimax
    ):  # si on est avant stade iamf --> fgeljuv
        if codgeljuv == 2:
            fstressgel = frost_stress(temp_min_prev, tgeljuv90, tgeljuv10, tletale, tdebgel)

    else:  # après stade iamf -> fgelveg
        if codgelveg == 2:
            fstressgel = frost_stress(temp_min_prev, tgelveg90, tgelveg10, tletale, tdebgel)
else:
    fstressgel = 1

return fstressgel`

hey @edericqu
Thanks for your warning !
I never had this issue on wheat, but I saw the same kind of problem on other modules if the output has not been initialized and when none of the condition is verified. I think your fix is fine, I will add it to the new version released in few days
pySTICS has not been tested and validated on corn yet, so take your precautions when interpreting your results. Validated species will be gradually mentioned in the readme

OK, thanks for your warning @etienneperez , that might explain that somme paramaters had very little infleunce is my initials tests.
Are the weather and soil modules validated in a general matter, or need to be adapted to each crop ?

The options implemented in pySTICS seem validated in our first tests on wheat, we are currently testing other determinate growth crops and forage crops to see if specific formalisms are needed (for example, codlainet code for barley and cutting for forage crops were implemented). @edericqu

authors: edericqu etienneperez

repo: OmbreaPV/pySTICS


text:
Watershed mapgen BUGS ! #2

Other bugs need to be checked/fixed about the watershed new mapgen

[x] The papyrus isn't generated on the new mapgen => after check, yes they spawn

[x] The papyrus needs to be generated and grow on default:dirt_with_grass, default:dirt, default:sand, default:desert_sand
[ ] pyramids spawn in a way very strange and bugged...

And generated underground ?!

Is cutted if exceeds +110 ?

[ ] I can see many small ships underwater, but i haven't see big ships(created with stone), need to check this point

@crabman77 @gravgun @Gael-de-Sailly, if someone can check this little point ? Thank you in advance
@Wuzzy2 will maybe be interrested about his [pyramids] bugs with the [watershed] lua mapgen

I can confirm the papyrus grows on dirt only.

Je veux juste vous rappeler que je ne suis pas disponible avant une semaine, c'est probablement ma seule connexion à Internet avant le 1er août.
Je suis désolé mais vous devrez vous en occuper vous-mêmes.

Pas de soucis @Gael-de-Sailly !
@gravgun, @crabman77 => vos dernières modifications ont elles réparé le bugs des pyramids ?

aucune idée, je n'ai rien modifié.

@Ombridride 41b34841021efc63b8626ac62bad763ed21a6155 delayed Pyramids generation, which will most likely fix the current issues as I guess they're related to timing (since the code is pretty clean). The only "bug" that's actually a(n "overexpressed") feature is pyramids generating underground.

Everything is ok, closed this issue

authors: Cyberpangolin Gael-de-Sailly Ombridride crabman77 gravgun


text:
Test 04 (deep dag): Issues with multiprocessing

Hi I have problems to get test_04_deep_dag() running correctly.
When running as is, it results into an AttributeError. The error message states problems with local objects, which is common for multiprocessing:
AttributeError: Can't pickle local object 'DagTestCase.test_04_deep_dag.<locals>.run_test'
The line it fails is: https://github.com/OmenApps/django-postgresql-dag/blob/20c47971a56c62aed3616d4d29fafcfb79204efd/tests/test.py#L625
I'm running this from Windows. As far as I know Windows systems have pickle-issues. Maybe there is an alternative to using multiprocessing? One can also not use signal, as this is missing some functionality on Windows.

@Nix3c3r Thank you for pointing this out. I need to add some better CI for this repo to check for these sorts of issues, and will see about how I can resolve this. I've added this to my to-do list.

repo: OmenApps/django-postgresql-dag


text:
Trouble to connect with unity

I download and setup unity properly. After i want to use vs code to code in c# for unity and begin ton link them. All work properly exept the font prediction and i saw in my OUTPUT terminal this issue :
Starting OmniSharp server at 06/03/2021 à 21:03:42
Target: d:\Unity code\Projet\Test\Test.sln
[ERROR] Error: spawn cmd ENOENT
I try every solution i found on the net (as known as add C/Window/System32 in your path value but did not change) so i need help

This is OmniSharp server repo, of you have a problem with C# extension please open an issue here https://github.com/OmniSharp/omnisharp-vscode and provide the necessary details (OmniSharp log, repro steps and so on). Thanks.

authors: VidsSkids filipw

repo: OmniSharp/omnisharp-roslyn


text:
Don't duplicate find symbols results from C# files

Fixes https://github.com/OmniSharp/omnisharp-roslyn/issues/1281

@mholo65 Done; thanks. It does kind of look like this has been present for as long as cake...

@mholo65 @DustinCampbell Another approach could be to simply remove the "cake" flavored handler. Ctrl-t in VS Code doesn't specify a language, so the C# extension doesn't pass one to OmniSharp, thus running both handlers.
However, the symbol provider (https://code.visualstudio.com/docs/extensionAPI/vscode-api#DocumentSymbolProvider) gets access to the current document, so we could specify a language in the request based on the current document. Of course, that means you could only search for Cake symbols from a Cake file and vice versa. Thoughts?

@mholo65 @DustinCampbell Another approach could be to simply remove the "cake" flavored handler. Ctrl-t in VS Code doesn't specify a language, so the C# extension doesn't pass one to OmniSharp, thus running both handlers.

However, the symbol provider (https://code.visualstudio.com/docs/extensionAPI/vscode-api#DocumentSymbolProvider) gets access to the current document, so we could specify a language in the request based on the current document. Of course, that means you could only search for Cake symbols from a Cake file and vice versa. Thoughts?

I think there should be a single FindSymbolsHandler that lives in the OmniSharp.Roslyn.CSharp project that returns results from the entire workspace for all project systems. The cake handlers really just translate locations don't they? This could be done by calling into a method exposed by the project system from the findsymbols endpoint.

In the interest of being able to release today, I'm going to merge this PR. I filed https://github.com/OmniSharp/omnisharp-roslyn/issues/1287 to track cleaning this up further.

authors: DustinCampbell rchande


text:
[WIP] Fix renaming in LSP

Blocked by #1411
Still random issues when renaming to a shorter name (the change is too long). Seems to be related to the fact that rename changes are not applied in the server.
//cc @david-driscoll

Ready for review! Everything works ok now!


text:
Add Custom .NET CLI support to OmniSharp

Add a configuration mechanism to allow users to point OmniSharp to a custom .NET CLI, with a fallback to the DOTNET_ROOT environment variable before falling back to the PATH.
I've updated the tests to use this functionality for locating the .NET CLI instead of using the old test-only code-path.
As this is my first contribution to Omnisharp, I'm not quite sure how this exposes the new setting through to omnisharp.json, so if anyone has any pointers on that, they would be well appreciated.
cc: @333fred

FWIW, it kind of looks like this runs before the omnisharp.json files are loaded. ☹

authors: SamB jkoritzinsky


text:
Microsoft.Build.Exceptions.InvalidProjectFileException:  ON MACBOOK

Environment data
.NET Core SDK (reflecting any global.json):
Version:   2.1.301
Commit:    59524873d6
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.13
OS Platform: Darwin
RID:         osx.10.13-x64
Base Path:   /usr/local/share/dotnet/sdk/2.1.301/
Host (useful for support):
Version: 2.1.1
Commit:  6985b9f684
.NET Core SDKs installed:
2.1.300 [/usr/local/share/dotnet/sdk]
2.1.301 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version: Version 1.24.1 (1.24.1)
C# Extension version: 1.15.2
Steps to reproduce
dotnet new console
and then run the project
Expected  behavior
should print Hello World!
Actual behavior
Here is the output:
Running] scriptcs "/Users/mhermac/Google Drive/projects/console/Program.cs"
Unexpected argument: Drive/projects/console/Program.cs
[Done] exited with code=1 in 0.276 seconds
Here is the OmniSharp log:
Starting OmniSharp server at 2018-6-24 17:24:53
Target: /Users/mhermac/Google Drive/projects/console
OmniSharp server started with Mono 5.12.0
Path: /Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/OmniSharp.exe
PID: 12761
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on MacOS 10.13.5 (x64)
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 15.0 - "/Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to '/Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 15.0 - "/Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin"
MSBuildExtensionsPath = /usr/local/Cellar/mono/5.12.0.226/lib/mono/xbuild
BypassFrameworkInstallChecks = true
CscToolPath = /Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin/Roslyn
CscToolExe = csc.exe
MSBuildToolsPath = /Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin
TargetFrameworkRootPath = /usr/local/Cellar/mono/5.12.0.226/lib/mono/xbuild-frameworks
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/Users/mhermac/Google Drive/projects/console'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.DotNet.DotNetProjectSystem
Initializing in /Users/mhermac/Google Drive/projects/console
[info]: OmniSharp.DotNet.DotNetProjectSystem
Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
Resolving projects references
[info]: OmniSharp.MSBuild.ProjectSystem
No solution files found in '/Users/mhermac/Google Drive/projects/console'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/Users/mhermac/Google Drive/projects/console/console.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/Users/mhermac/Google Drive/projects/console'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.Stdio.Host
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.Stdio.Host
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/Users/mhermac/Google Drive/projects/console' on host 12747.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /Users/mhermac/Google Drive/projects/console/console.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file '/Users/mhermac/Google Drive/projects/console/console.csproj'.
/Users/mhermac/Google Drive/projects/console/console.csproj(1,1)
Microsoft.Build.Exceptions.InvalidProjectFileException: The imported project "/usr/local/Cellar/mono/5.12.0.226/lib/mono/xbuild/15.0/Microsoft.Common.props" was not found. Also, tried to find "15.0/Microsoft.Common.props" in the fallback search path(s) for $(MSBuildExtensionsPath) - "/Library/Frameworks/Mono.framework/External/xbuild/" . These search paths are defined in "/Users/mhermac/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/OmniSharp.exe.config". Confirm that the path in the  declaration is correct, and that the file exists on disk in one of the search paths.  /usr/local/share/dotnet/sdk/2.1.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00042] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00000] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].ThrowForImportedProjectWithSearchPathsNotFound (Microsoft.Build.Evaluation.ProjectImportPathMatch searchPathMatch, Microsoft.Build.Construction.ProjectImportElement importElement) [0x000a2] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].ExpandAndLoadImports (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x001be] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0000d] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00209] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003a] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x000e6] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].Evaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Framework.BuildEventContext buildEventContext) [0x000f8] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].Evaluate (Microsoft.Build.Evaluation.IEvaluatorData4[P,I,M,D] data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, System.Int32 maxNodeCount, Microsoft.Build.Collections.PropertyDictionary1[T] environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory2[S,T] itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCache projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.Execution.ProjectInstance projectInstanceIfAnyForDebuggerOnly, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService sdkResolverService, System.Int32 submissionId) [0x00018] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Project.Reevaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00046] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00034] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation) [0x00000] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary () [0x00007] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Project.Initialize (System.Collections.Generic.IDictionary2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00126] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x0009c] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection) [0x00000] in <61115f75067146fab35b10183e6ee379>:0    at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.Collections.Generic.IDictionary2[TKey,TValue] globalProperties, System.String toolsVersion) [0x000f5] in <61115f75067146fab35b10183e6ee379>:0
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.String toolsVersion) [0x00000] in <61115f75067146fab35b10183e6ee379>:0
at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore (System.String filePath) [0x0003e] in <64f2a38974d54ecaaa93e3697628b738>:0
at OmniSharp.MSBuild.ProjectLoader.BuildProject (System.String filePath) [0x0000d] in <64f2a38974d54ecaaa93e3697628b738>:0
at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load (System.String filePath, OmniSharp.MSBuild.ProjectLoader loader) [0x00014] in <64f2a38974d54ecaaa93e3697628b738>:0
at OmniSharp.MSBuild.ProjectManager+<>c__DisplayClass23_0.b__0 () [0x00000] in <64f2a38974d54ecaaa93e3697628b738>:0
at (wrapper delegate-invoke) System.Func1[System.ValueTuple2[OmniSharp.MSBuild.ProjectFile.ProjectFileInfo,System.Collections.Immutable.ImmutableArray1[OmniSharp.MSBuild.Logging.MSBuildDiagnostic]]].invoke_TResult()   at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject (System.String projectFilePath, System.Func1[TResult] loadFunc) [0x0001b] in <64f2a38974d54ecaaa93e3697628b738>:0

@formher Do you have mono installed?

Do you have mono installed?

yes.
Mhers-MacBook-Pro:~ mhermac$ mono --version
Mono JIT compiler version 5.12.0.226 (tarball Thu Jun 14 13:20:28 BST 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           normal
SIGSEGV:       altstack
Notification:  kqueue
Architecture:  amd64
Disabled:      none
Misc:          softdebug
Interpreter:   yes
LLVM:          supported, not enabled.
GC:            sgen (concurrent by default)

@formher How did you install it?

I haven't installed mono specifically, I am guessing it came with .NET SDK ?

@formher Not sure. I suspect that if you install mono (https://www.mono-project.com/download/stable/#download-mac) that this issue might go away.

almost there... now it says..
Mhers-MacBook-Pro:~ mhermac$ mono --version
-bash: /usr/local/bin/mono: No such file or directory

no it's not there. installing from https://www.mono-project.com/download/stable/#download-mac  seems like broke the pathes or something

CS Code tries to run it via scriptcs for some reason. Here is the output:
Running] scriptcs "/Users/mhermac/Google Drive/projects/console/Program.cs"
/usr/local/bin/scriptcs: line 2: mono: command not found

Tagging @filipw is this related to dotnet script at all?

ok the problem is resolved with mono. now the issue is with scriptcs, which I guess is another topic already
thank you

Tagging @filipw is this related to dotnet script at all?

looks like this is a scriptcs bug, not related to OmniSharp anymore. I will close this and if there is any other issue with OmniSharp we can revisit this.

authors: filipw formher rchande

repo: OmniSharp/omnisharp-vscode


text:
Switch to download.visualstudio.microsoft.com part 1

This checkin in the first part of the work to switch to using download.visualstudio.microsoft.com.
This checkin does two things:

It replaces the OmniSharp links with CDN links
It adds a new gulp task to update links in package.json. This will allow us to script the insertion process.

@DustinCampbell I will CC you on the debugger packaging script updates where I make use of gulp updatePackageDependencies so you can leverage something similar for OmniSharp if you would like.


text:
Short solution needed: "How to remove specific header" (nginx)

Please help us write most modern and shortest code solution for this issue:
How to remove specific header (technology: nginx)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to remove specific header

repo: Onelinerhub/onelinerhub


text:
Camera.setRange() function only effective if called after Camera.open()

Python Library versions
TauLidarCamera 0.0.2
TauLidarCommon 0.0.2

Camera Info

If possible, paste the output of camera.info() from Python (after camera has been successfully opened)

ToF camera opened successfully:
    model:      4.0
    firmware:   3.3
    uid:        450225
    resolution: 160x60
    port:       /dev/cu.usbmodem00000000001A1

Describe the bug
When calling Camera.setRange() before Camera.open(), the values passed to setRange() have no impact on the depth map colouring
Steps to Reproduce

In the current version of the distance.py example program, comment out line 19, and run the program
Screenshot the depth map output and kill the program
Go back to distance.py and change Camera.setRange(0, 1200) on line 12 to Camera.setRange(0, 7500)
Screenshot the depth map output and kill the program

What is happening?
Following the steps above, you'll see there is no change to the colouring of the depth map
With Camera.setRange(0, 1200) on line 12:

With Camera.setRange(0, 7500) on line 12:

What is expected?
Expecting to see the depth map colouring change when different values are passed to Camera.setRange(0, 7500)
If the program is changed to call Camera.setRange() AFTER Camera.open(), only then does the colouring change:
With Camera.setRange(0, 1200) on line 19:

With Camera.setRange(0, 7500) on line 19:

@vsemi can you comment on this bug? Should we just always call Camera.setRange() AFTER Camera.open()?

The reason is the open() method called setDefaultParameters() and it reset any parameters set before open(). Doing this is to prevent crash if no parameters been set and user doing other operation other than set necessary parameters immediately. I could fix this by by not set those 2 static parameters in setDefaultParameters() but given a static value.

@vsemi since the FrameBuilder constructor sets the range and color mode, it should be safe to remove the setColorMode and setRange calls from Camera.setDefaultParameters().
Please try that out and let me know how it goes?
If everything works fine, commit the changes and we'll make a new release

authors: greenbreakfast vsemi

repo: OnionIoT/tau-lidar-camera


text:
Provide flow type definitions

Related with #1.

Coverage remained the same at 100.0% when pulling 4a58d56352b8fae529fd82f111fa63df8d6f3bb6 on feature/flow into 4f2dc56cfde9d93b6c542b0638aa67c769f24bdc on master.

Coverage remained the same at 100.0% when pulling d114088fa719a13e296f08d0ddadd6fd8450c6fe on feature/flow into 4f2dc56cfde9d93b6c542b0638aa67c769f24bdc on master.

Coverage remained the same at 100.0% when pulling 880e5fc959781577567549d05c0e032c5295af40 on feature/flow into 4f2dc56cfde9d93b6c542b0638aa67c769f24bdc on master.

authors: Oopscurity coveralls


text:
Remove device and board from cproject schema

Describe The Problem To Be Solved
The schema allows board and device to be specified in the cproject file:
https://github.com/Open-CMSIS-Pack/devtools/blob/eacdd6c4709b5ec65054364f0eba7a5f6a7d6c22/tools/projmgr/schemas/common.schema.json#L750-L751
This adds unnecessary complexity, since the hardware is best specified in the target types.
(Optional): Suggest A Solution
Suggestion: remove the device and board from the cproject schema. Replace this with a mechanism for selecting the target processor for multi-processor devices.
This would make it easier for users to decide where to put the hardware information. It would also make it easier to implement tools that consume the csolution specification.
Downsides include making a breaking change to the schema and minor loss of flexibility. I think these are outweighed by the usability benefits.

This looks like an bug in the schema.
https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#project lists the available options:

board: is not permitted, hence a bug in the schema file
device: should be only used to select a processor core.  Could this be improved in the schema?

In a similar and consistent way this was always allowed also for clayers.
Should it be also removed as expected in the documentation?
https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#layer
@RobertRostohar I believe you were experimentally working on board layers using such board or device nodes, would you agree with their removal?
Being a breaking change it should be scheduled for a major version release.

I believe that clayer should have the same features as cproject regarding device (and board) as already mentioned by @ReinhardKeil:

board: not permitted
device:only allowed to select processor core (Pname)

We could also consider a new name for the device attribute in the cproject and clayer files to make things clearer. E.g., processorName (it's a shame processor is already taken).

We could change that, but maybe this is not required.
At csolution.yml it is possible to specify:
board: <board-name>                       // specifies the device indirectly via the device defined by the board
device: :<pname>                              // adds a processor core for a device defined by a board
device: <device-name>                     // overwrites the board device or specifies the device of a unknown board
device: <device-name>:<pname>    // specifies both device and processor core
At cproject.yml or clayer.yml it is possible to specify just:
device: :<pname>                             // adds a processor core; device is always defined at csolution.yml level
board: not permitted.
I believe this can be reflected in the schema.

I just validated with @ducnguyenarm that the uv2csolution conversion tool has not specified the device:  nor board: node in cproject.yml files.
We still cannot rule out completely that this has not be used by any user, therefore it remains a potentially breaking change.

Still my recommendation is to reflect this in the schema; reasons:

IMHO this is a usage error as the documentation has been clear about it.
Schema checks can be disabled to my knowledge.

@jkrech @ReinhardKeil Specifying the full device name under the device node in *.cproject.yml files has always been allowed. A quick search in NXP packs, for example NXP::EVK-MIMXRT1064_BSP@17.0.0, reveals more than thousand examples using it.
This is potentially a breaking change and requires a major semantic increment.

authors: ReinhardKeil RobertRostohar brondani jkrech mcgordonite

repo: Open-CMSIS-Pack/devtools


text:
Reference Handler Not Cloned

Hello,
I am a user of the Convey project and noticed that they use this project for its JSON serialization. I may have found an issue in your Clone code for cloning serialization options.
public static JsonSerializerOptions Clone(this JsonSerializerOptions options)
{
	if (options == null) throw new ArgumentNullException(nameof(options));
	Contract.EndContractBlock();

	var clone = new JsonSerializerOptions
	{
		AllowTrailingCommas = options.AllowTrailingCommas,
		DefaultBufferSize = options.DefaultBufferSize,
		DictionaryKeyPolicy = options.DictionaryKeyPolicy,
		Encoder = options.Encoder,
		IgnoreNullValues = options.IgnoreNullValues,
		IgnoreReadOnlyFields = options.IgnoreReadOnlyFields,
		IgnoreReadOnlyProperties = options.IgnoreReadOnlyProperties,
		IncludeFields = options.IncludeFields,
		MaxDepth = options.MaxDepth,
		NumberHandling = options.NumberHandling,
		PropertyNameCaseInsensitive = options.PropertyNameCaseInsensitive,
		PropertyNamingPolicy = options.PropertyNamingPolicy,
		ReadCommentHandling = options.ReadCommentHandling,
		WriteIndented = options.WriteIndented
	};

	foreach (var converter in options.Converters)
		clone.Converters.Add(converter);

	return clone;
}

It looks like you are not cloning the reference handler option. Unless I am missing something. Could this option along with any other potential missing options be added in the clone?
What happens currently when I pass in my JsonSerializerOptions object with a reference handler option set to the JsonSerializerFactory constructor, then call the GetSerializer method. I get back a serializer with the handler option no longer set.
If you need any further details I can try to provide more. Thanks.

https://www.nuget.org/packages/Open.Serialization.Json.System/2.3.3

Thanks for the PR!

authors: electricessence tstrausbaugh-dev


text:
【问题确认】3.3.6会出现 hmget 命令耗时很长的问题，确认下最新的代码能否复现该问题

慢查询日志：

pika_client_conn.cc:158] table: db0, command: "HMGET" "d3d01a35ee5a87c909bdd60a52187779" "gnid" "gzh_id" "title_vecstr" "btag_json" "store_news_type" "dupid" "kws_title" "tbtag" "title" "tag" "btag" "cluster" "content_length" "content_pic_count" "image" "pdate" "duration" "store_vvctag" "vbtcls" "store_vctag" "s", command_size: 222, arguments: 23, start_time(s): 1682823831, duration(us): 2161166
pika_client_conn.cc:158] table: db0, command: "HMGET" "d3d01a35ee5a87c909bdd60a52187779" "gnid" "gzh_id" "title_vecstr" "btag_json" "store_news_type" "dupid" "kws_title" "pdate" "cluster" "v_qt" "store_lt", command_size: 133, arguments: 13, start_time(s): 1682823831, duration(us): 2004331

机器配置：
Linux 693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
10 核  256G

月财：没有复现

repo: OpenAtomFoundation/pika


text:
Uncaught exception edit

For some reason, the CSR Dongle error catch was not working properly. Instead, it gets catched as an uncaught exception, and every uncaught exception closed the Hub.
Commented out the section that would close the Hub app, and I can still connect using a BLED112 dongle attached to my Windows Computer. Users will still get a warning popup window saying no CSR dongle is attached, then it shows up as an error in the GUI.

@daniellasry Ready for review and merge.

I don't agree with this fix. When an uncaught exception is thrown we should consider the application is in a bad state. Not swallow them silently and continue.
If there is a specific exception that's shutting down the Hub, then catch and handle that specific exception in the place where it is thrown!

It was too difficult to catch this Error in the Hub. Though it was possible in the NodeJS Ganglion repo. Changes will be made in the GUI to remove CSR functionality for future releases.

authors: daniellasry retiutut


text:
Crowdfunding feature

Imagine an author that wants to release a book/film/music in public domain.
Before releasing it for free for everyone (in a CC0 ou CC-BY license), he wants to receive at least 10.0 BTC for his work.
It would be nice to have an option to sell shares of a goal (i.e book release in public domain).
When all 100 shares items are sold out, each one costing 0.1 BTC, a download link with URL becomes visible to all users.

This should be doable. Lighthouse has an on-chain way of doing it, we could simply integrate that same thing into OpenBazaar. Should work for both services and digital goods. Physical goods might be interesting too, for a Kickstarter-style thing.
I mean, releasing the funds when the treshold is reached should be easy enough. Releasing when the actual service is completed, like releasing that book/film/music, would require some sort of oracle service.

repo: OpenBazaar/OpenBazaar-Client


text:
Feature Request: Full Screen on Maximize

This is a minor user interface annoyance. The standard behavior on mac os is that the green "maximize / full screen" button takes you directly into full screen view.

However, on OB clicking the green button simply expands the window without taking you to full screen. You have to go to View -> Toggle Full Screen to do that.
This deviates from standard mac behavior and may be a minor annoyance to new users, as it was for me.

This was closed by #905

authors: ekerstein jjeffryes

repo: OpenBazaar/openbazaar-desktop


text:
updated csv files

filled in some gaps and made updates based on the latest ISO standards

i did not check in the generated json files, do you want these too?

this PR overrides the previous one..

have a bitter PR en route

repo: OpenBookPrices/country-data


text:
Ignore case of MAC addresses and fix postgres log messages

Summary and Scope
Ignore case when dealing with MAC addresses. This is done by storing MAC addresses in lower case and converting any MAC addresses in requests to lower case before comparison. It is not desirable to distinguish MAC addresses as different based on case; therefore, we ignore it.
Also, some log message reformatting is present in this PR. For instance, there was a postgres.Add prefix in the Delete() function. Further, periods at the ends of log messages are removed so that it looks better when concatenated with other errors.
Issues and Related PRs
Migrated from https://github.com/bikeshack/hms-bss/pull/7
Testing
Tested on:

Cable Guys SI Cluster (cg-head and compute nodes)

This is a system of x86-64 Gigabyte 272-Z32-00 machines running Rocky Linux 8.8

Added integration tests that test addition/retrieval/deletion using MAC addresses of differing case.
Risks and Mitigations
More comprehensive integration tests should be implemented in the future.

Rebased onto new main with re-homing changes.

repo: OpenCHAMI/bss


text:
Allow adjustment of adc ranges without providing delay ranges

Currently, you have to provide delay_ranges to delay_calibration if you provide adc_ranges. This should be changed such that delay ranges are picked from a file if possible.

The underlying issue is that it is not well defined what to do if calibration parameters are already present. Should just these be used, or the new ones be read from the file of e.g. a different scan. To solve this, a new option has been added in PR #525

repo: OpenCOMPES/sed


text:
OpenCSPM not picking up custom output.json

Describe the bug
Having followed instructions at https://github.com/OpenCSPM/opencspm/blob/main/site/data_collection.md#aws-cloud-resources, OpenCSPM does not pick up my custom data.
# ls -l assets/custom
total 316
-rw-r--r-- 1 christophetd christophetd     12 nov.  16 12:35 manifest.txt
-rwxr-xr-x 1 christophetd christophetd 316195 nov.  16 12:35 output.json

$ cat assets/custom/manifest.txt
output.json

$ cat config/config.yaml
---
db:
  host: redis
  port: 6379
buckets:
  # - gs://darkbit-collection-us-cspm
  # - s3://my-other-bucket-here
local_dirs:
  - /app/data/custom
  # - /app/data/test

I did run docker-compose down && docker-compose up after making these modifications.
No visible error in logs
Expected behavior
OpenCSPM should pick up the new resources file
Screenshots
UI:

Docker information (please complete the following information):
$ docker --version
Docker version 19.03.13, build 4484c46d9d

$ docker-compose --version
docker-compose version 1.27.4, build 40524192

Cloud provider (if applicable):
AWS

Solved: I had to manually delete Docker volumes (docker volume rm opencspm_core opencspm_postgres opencspm_redis) and restart OpenCSPM. Might be worth mentioning in the docs

This is a UI bug. The new files will be loaded since the config.yaml is re-read every time the background job runs, but it is not reflected correctly in the UI.

authors: christophetd joshlarsen

repo: OpenCSPM/opencspm


text:
Verify authncontext in assertion from IdP

This issue is imported from pivotal - Originaly created at May 7, 2020 by Thijs Kinkhorst
For a given combination IdP, SP, AuthnContextClassRef (A, B, R) the authnrequest will be enhanced with a RequestedAuthnContext which the IdP will use to e.g. trigger an MFA scenario or other policy.
The authnrequest is just a "request" and for various reasons not secure. We therefore need to verify that the IdP actually performed the authentication within the requested context (e.g., verified MFA) in the assertion we receive back and which is secure.
We can do this the spec compliant way but ADFS does not conform to this spec/does not use the spec in the way we want it to. It will always list the authncontextclassref of the first factor so we can see no difference there.
If the authncontextclassref has been configured for this IdP and SP combination, the authentication can succeed (that is, be forwarded to the SP) when:

The requested authncontextclassref  R is present as a the "AuthnContextClassRef"  element of the assertion (generic, for SAML 2.0 IdPs) ; OR
The requested authncontextclassref  R is present as a value of the (multi valued) attribute (just another attribute, like other attributes in the assertion such as urn:mace:dir;attribute-def:uid): http://schemas.microsoft.com/claims/authnmethodsreferences.
Checking both will make the chance higher that it works also with non-ADFS implementations.

Example assertion message from generic IdP:
<AuthnContext>
<AuthnContextClassRef>R</AuthnContextClassRef>
</AuthnContext>

MS (succeeeds for R = "http://schemas.microsoft.com/claims/multipleauthn"):
<AttributeStatement>
    <Attribute Name="urn:mace:dir:attribute-def:mail">
        <AttributeValue>medewerker04@hartingcollege.nl</AttributeValue>
    </Attribute>
    <Attribute Name="http://schemas.microsoft.com/claims/authnmethodsreferences">
        <AttributeValue>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</AttributeValue>
        <AttributeValue>http://schemas.microsoft.com/ws/2012/12/authmethod/phoneappnotification</AttributeValue>
        <AttributeValue>http://schemas.microsoft.com/claims/multipleauthn</AttributeValue>
    </Attribute>
</AttributeStatement>
<AuthnStatement AuthnInstant="2020-05-05T12:09:21.031Z"
    SessionIndex="_d884044e-5f13-4b8e-9fcf-5779cf1dee2b">
    <AuthnContext>
        <AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</AuthnContextClassRef>
    </AuthnContext>
</AuthnStatement>

When neither is present, fail with a specific exception (message logs which idp, sp involved and which authncontextclassref we're searching for). See: #172718794 for details.

This validation can be added to the existing input filter: \EngineBlock_Corto_Filter_Command_ValidateAuthnContextClassRef. I suggest adding a validation helper (that resides in the new EngineBlock source folder) that is tasked with verifying the requirements stated in this story.
This will entail moving the blacklist validation to a similar validation helper service. Alternatively, another input filter could be created that is specifically tasked with the manage configured sp/idp authncontext settings validation. (Michiel Kodde - Jun 30, 2020)

@thijskh you requested:

When neither is present, fail with a specific exception (message logs which idp, sp involved and which authncontextclassref we're searching for).

Have you thought about the specifics of this user facing error message? I'd like to know the proposed error path name and the English/Dutch error messages. Or do I incorrectly assume this will be a custom user-facing error message?
Nevermind, I later read #172718794 (Michiel Kodde - Jun 30, 2020)

repo: OpenConext/OpenConext-engineblock


text:
Dificuldade no entendimento do README

Gostaria de contribuir adicionando meus resumos, mas o README não é intuitivo. Devo rodar o script de qualquer maneira ou apenas quando não existe a pasta da disciplina em questão? Se não tiver, deve ser o nome completo da disciplina ou apenas a sigla? Que README.md com {discipline} é esse?
Quando acesso o Contributing para tentar ter mais informações sobre como contribuir, encontro as mesmas informações que já vi e nada novo. Sempre devo criar uma issue quando quero contribuir com algo que não tem uma issue (exemplo, um novo resumo de SO)? Crio uma nova branch para abrir PR?

Olá, @marcellasiqueira, muito obrigado pelo interesse em contribuir! :smile:
Se a disciplina não existir, você pode rodar o script do jeito que está lá e fazer os ajustes que achar necessário na pasta que foi gerada (O {discipline} mostrado no README.md após a geração é um bug do script, e realmente é uma falha nossa). Normalmente, utilizamos os nomes abreviados das disciplinas (como tc, so, eda, etc.).
O passo-a-passo a respeito de como realizar uma contribuição está descrito na sessão Como contribuir? do Contributing.md. Resumidamente, você precisa fazer um fork, que vai criar uma cópia do nosso repositório para a sua conta, fazer os commits lá (criar uma branch nova nesse repo forkado é totalmente opção sua) e submeter a Pull Request. Ao abrir a PR, terá um mini-template para ajudar no processo também.
No geral, a gente tenta encorajar ao máximo a contribuição, não precisa ficar com receio de enviar suas alterações ou de cometer algum "erro", existe todo um cuidado na hora da revisão e, caso necessário, as mudanças que a gente vai sugerir sempre virão de maneira totalmente amigável e transparente. Aguardamos seus resumos! :heart:

Ah, e caso não exista uma issue para o material que você quer adicionar, você pode abrir uma nova tranquilamente. Inclusive, caso ajude, você pode seguir algum dos modelos abaixo:

Modelo 1 - novo resumo
Modelo 2 - nova pasta
Modelo 3 - adição de leite
Modelo 4 - correção de algum conteúdo
Modelo 5 - atualização de conteúdo de alguma disciplina

@marcellasiqueira esse {discipline} provavelmente é um bug, ele deveria colocar o nome da disciplina que você quer criar.
Quanto as outras dúvidas, @lucasmedeiros respondeu, caso tenha mais por favor use essa issue pra perguntar! Queremos saber para melhorar nosso readme e contributing.
Vou abrir algumas issues para adicionar as informações que você perguntou aqui

repo: OpenDevUFCG/Tamburetei