text:
use of DKPro-Wrapper as a server (or at least with stdin and stdout

is it possible to use the DKPro-Wrapper as a server (similar to coreNLP) or at least as continously running, expecting text on stdin and producing stdout, without closing. The startup time is a heavy overhead if the pipelline is started for each small snippet of text as it occurs and i would prefer not to collect all input and then treat it in a single file.
thank you!

it is possible to run the pipeline on a folder of text or xml files, the wrapper will then create a filename.csv for each file in the given output folder. Just pass a directory to the -input option.
There are currently no plans on our side to implement a server mode. (Running a full analysis on texts of notable length takes quite a while, so there's a certain risk of timeouts)
A real streaming mode implementation isn't possible since the document must be loaded completely before further analysis steps begin. It might be possible to implement something that could accept multiple documents on stdin separated by sth like \0 …

authors: andrewufrank thvitt

repo: DARIAH-DE/DARIAH-DKPro-Wrapper


text:
Deprecated "Programming Related" link

The autocode library got shut down
https://discordresources.com/resources/tools/programming#autocode

https://discordresources.com/resources/moderation#a-guide-to-civil-conversation
this one is broken too

This is an open project. Anyone can do PR to fix these issues :)

source: gharchive/issue

authors: JantsoP Pdzly

license_type: permissive

license_source: github-api


text:
cannot see ShapeVariationAnalyzer module

@jcfr @allemangD @bpaniagua
Hi
ShapeVariationAnalyzer is not working/cannot find module after installing SlicerCMF. Thanks!

Per the log in https://github.com/DCBIA-OrthoLab/SlicerCMF/issues/18, the issue seems to be that sklearn is not configured properly for Mac, and this causes errors when it is imported by shapepca, which is imported by ShapeVariationAnalysis. The same happens if only ShapeVariationAnalyzer is installed via the extension manager (without SlicerCMF).
Here is a full log from my machine (using yesterday's Slicer preview release) Slicer_29370_20200917_132211_450.log
When I build ShapeVariationAnalyzer myself, no such error occurs.
$ git clone https://github.com/DCBIA-OrthoLab/ShapeVariationAnalyzer.git
$ cd ShapeVariationAnalyzer
$ mkdir build
$ cd build
$ cmake -DShapeVariationAnalyzer_BUILD_SLICER_EXTENSION=ON -DSlicer_DIR=~/src/Slicer/build/Slicer-build ..
$ ninja
$ inner-build/SlicerWithShapeVariationAnalyzer

This tells me there may be some issue in the factory machine causing sklearn not to be configured correctly. @jcfr, do you have any thoughts on this?
If I understand the superbuild correctly, scikit-learn is installed via pip in the default configuration.
https://github.com/DCBIA-OrthoLab/ShapeVariationAnalyzer/blob/master/SuperBuild/External_python-ShapeVariationAnalyzer-requirements.cmake#L43-L54
If I manually install via pip with the same hashes, I get an error that the hash does not match:
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    scikit-learn==0.23.1 from https://files.pythonhosted.org/packages/ea/47/078b5ef83ccff1def48c29158be998375321397be53af6dc10f22c6dc08d/scikit_learn-0.23.1-cp38-cp38-macosx_10_9_x86_64.whl#sha256=0c3464e46ef8bd4f1bfa5c009648c6449412c8f7e9b3fc0c9e3d800139c48827 (from -r req.txt (line 1)):
        Expected sha256 e585682e37f2faa81ad6cd4472fff646bf2fd0542147bec93697a905db8e6bd2
        Expected     or 058d213092de4384710137af1300ed0ff030b8c40459a6c6f73c31ccd274cc39
        Expected     or e9879ba9e64ec3add41bf201e06034162f853652ef4849b361d73b0deb3153ad
             Got        0c3464e46ef8bd4f1bfa5c009648c6449412c8f7e9b3fc0c9e3d800139c48827

This is confusing to me, since the superbuild succeeds locally without issue and cdash does not report any such issue.

The issue doesn't seem to affect the Linux build of Slicer or the extension manager. Here is the log from my Ubuntu 20 machine after installing the SlicerCMF extension bundle. ShapeVariationAnalyzer and the Population Analysis module load without issue.
Slicer_29363_20200917_135032_863.log

Do you mind testing in your macbook?

The above logs are from my macbook. Everything works correctly if I build the extension myself, but loading from the extension manager causes the problem. This makes me think there is some issue with the factory machine.
In the second comment I was just noting that the issue is never present for me on linux, to emphasize I think this issue is specific to the mac factory machine and not the others, although I can't confirm for Windows.

Thanks for checking, David!
@sjh26 can you please check in any issues in the macOS factory?

If I manually install via pip with the same hashes, I get an error that the hash does not match:

@allemangD and I looked at this, and python 3.6 (version also used in Slicer) need to be used to ensure the hashes match.

It looks like the .dylibs directory containing libomp.dylib is properly packaged in the .tar.gz file but there is any extracting the content of the archive into its final destination.

This has been fixed in https://github.com/Slicer/Slicer/pull/5307

@bpaniagua @allemangD @jcfr
ShapeVariationAnalyzer does not show and instead in the SlicerCMF index when we click on ShapeVariationAnalyzer a module Population Analysis starts that does not seem to allow computing group averages  or group differences , and is quite different from SVA.
Not sure how to report this issue and will further clarify with Bea in June.

@luciacev The fix for this bug required a change to Slicer, so the stable version from last year we had told you to use () will not contain that fix.
I've confirmed that SVA loads correctly on Mac in the latest stable version (4.11.20210226). As best I can tell, all the other modules work correctly there, too. I would recommend we try to use that 2021 version moving forward.
Regarding https://github.com/DCBIA-OrthoLab/SlicerCMF/issues/13, SPHARM-PDM is available on Mac in that version, but not RigidAlignment. I'm working on fixing that next.
I've made notes about these in the weekly updates document, and will send that out to the team this Friday.
Downloads for that revision here.

Closing as the issue is fixed in the current stable release 4.11.20210226.

authors: allemangD bpaniagua jcfr luciacev

repo: DCBIA-OrthoLab/ShapeVariationAnalyzer

license_source: bigquery


text:
Images link for first two manuscripts in "Browse Chants" page lead to a page that never loads

To reproduce:

Go to "Browse Chants" page;
Click on the "Images" link for either A-Gu 29 or A-Gu 30;
A new tab opens, but the url is weird and the site never loads.

Demo (New vs. Old comparison):
https://github.com/DDMAL/CantusDB/assets/83373378/fa8da2fc-0d77-4e7b-bb9a-73a384936b68
I've clicked on random other manuscript images and they all load fine. From my casual random selection, it seems to be just these two that are badly behaved.

That weird URL shows up elsewhere on the internet, so I'm assuming the library changed it at some point; I think it was still floating around on OldCantus last October, so it should go away once the data is updated (but will be worth checking.)
OldCantus links to the images at literature.at : http://www.literature.at/viewer.alo?objid=1138&page=9&viewmode=fullscreen&rotate=&scale=1
It would actually be much better to link to the university's images:  https://unipub.uni-graz.at/obvugrscript/content/pageview/6789708 , both because the URL is less ugly and also because the literature.at ones are in a completely bonkers order (which will be relevant to serving them on CU: @dchiller take note!) But maybe that is a problem for Cantus to solve and not DDMAL!

We can't do too much about other sites not loading well, but if there are different urls, this is a data issue that we can expect to be resolved once we sync the data from OldCantus to New.
@annamorphism, I'm assigning you to this, in case you want to change the urls for these sources as you suggested (either do it on OldCantus in the next few days so we can sync from there, or wait for the full switchover and make the change both on Staging and Production). Please close this once you're done (or whenever you feel it's appropriate)

As there is nothing for NewCantus developers to do about this issue, I'm closing it.

authors: JoyfulGen annamorphism jacobdgm

repo: DDMAL/CantusDB

license: MIT


text:
🛑 vicmap-hydro-rest-api is down

In d3b2258, vicmap-hydro-rest-api (https://services6.arcgis.com/GB33F62SbDxJjwEL/arcgis/rest/services/Vicmap_Hydro/FeatureServer) was down:

HTTP code: 411
Response time: 218 ms

Resolved: vicmap-hydro-rest-api is back up in d3ab180.

repo: DELWP-DTV/santa


text:
Add "unit" tests. src/test/scala and src/test/resources currently empty

Needs basic tests and example image data.

Fixed in commit e48f8d2ca0096e52491dc5c5d93268604878829e
of GIF git repository.

repo: DFDLSchemas/GIF


text:
Check if find is down only once on providers page

Context
The list of available courses on Apply (https://www.apply-for-teacher-training.service.gov.uk/candidate/providers) is a bit slow according to Skylight:
https://www.skylight.io/app/applications/t8bEzG0cuIkd/recent/6h/endpoints/CandidateInterface::ContentController%23providers?responseType=html
Changes proposed in this pull request
Query is find is down only once. This saves a lot of SiteSetting queries and calculation, and might solve the performance issues with this page.
Guidance to review

Link to Trello card
https://trello.com/c/x0OxYLae/2143-speed-up-the-providers-page-in-the-candidate-ui
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

@davidgisbey it was my bad - I introduced the SiteSetting lookup in the timetable, which made this slow.

@tvararu should have mentioned that, but it's a class method, so memoizing it would persist across requests and not change if today's date or the cycle schedule changes.

source: gharchive/pull-request

repo: DFE-Digital/apply-for-teacher-training


text:
[1514] Part 1 add unique index to Vender name

Context
Currently, we store and validate the Vendor name as an enum on the Vendor model. There are problems with this:

Adding a new Vender requires a code change.
This is also a potential security risk as all our vendors are located in our public repo.

We want to replace the enum with basic presence and uniqueness validation.
Changes proposed in this pull request

Migration to add a unique index to vendor name. I've checked in production that all of our vendors have unique names as it is (there are only 6).

Once this has been merged in, I will open the PR here which actually gets rid of the enum on the model
Guidance to review
Link to Trello card
https://trello.com/c/jMnBxRIb
Things to check

[x] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault

 Tech debt: Remove Enum of Vendor names


text:
Fixed socket exception

Context
SocketException
Changes proposed in this pull request
Exhausted socket
Guidance to review
Same vein as
https://github.com/DFE-Digital/search-and-compare-ui/pull/186

 Craig David bug causing exceptions - 21 seconds... timeout

authors: defong timabell

repo: DFE-Digital/search-and-compare-ui


text:
[TEVA-3546] Allow education support roles to be apply via TV

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-3546
Screenshots of UI changes:

@cesidio I've got jobseeker open on left and hiring staff on right.
I still see the Professional status question for a Teaching Assistant role

I don't see this for SENDCo  or education support though

Look good, section no longer there for Teaching Assistant

authors: bencmitchell cesidio

repo: DFE-Digital/teaching-vacancies


text:
[Bug]: 导出的UIGF Json版本中gacha_type这一字段与UIGF标准不一致

Windows 版本
22621.521
Snap Hutao 版本
1.1.8.0
发生了什么？
导出的json中每个list里面的对象中gacha_type字段为NoviceWish、PermanentWish、AvatarEventWish2、AvatarEventWish、WeaponEventWish中的一种，而不是预期的100、200、301、302、400，这导致了胡桃导出的json导入到snap.genshin或者其他工具时可能会报错。
你期望发生的行为？
一个当前版本胡桃导出的json片段示例：
    {
      "uigf_gacha_type": "200",
      "gacha_type": "PermanentWish",
      "item_id": "",
      "count": "1",
      "time": "2020-11-07 00:41:41",
      "name": "魔导绪论",
      "item_type": "武器",
      "rank_type": "3",
      "id": 1000000000000000080
    }

实际上应该是：
    {
      "uigf_gacha_type": "200",
      "gacha_type": "200",
      "item_id": "",
      "count": "1",
      "time": "2020-11-07 00:41:41",
      "name": "魔导绪论",
      "item_type": "武器",
      "rank_type": "3",
      "id": 1000000000000000080
    }

相关的崩溃日志 位于 %HOMEPATH%/Documents/Hutao/Log.db
无

我确认已在表单中附上了充足的补充说明以帮助开发人员确定问题

[X] 是

我确认该问题是一个新问题，没有其他人已经提出相同的问题

[X] 是

我确认该问题没有在文档中解释

[X] 是

导出功能尚未制作完成

authors: CHxCOOH Lightczx


text:
Set up jekyll build teston PRs

We should probably test that the build doesn't fail before merging.

Set this up. In theory, when we create PRs where, a check should run to see if the PR breaks the jekyll build.

repo: DHRI-Curriculum/Dhrift-Homepage


text:
Exchange XML examples for renew domain

The examples was originally lifted from the RFCs to support the developers of the extension of the service, these examples should be exchanged for real working examples lifted from the actual service so all details are captured.

The examples for this particular command have been updated:
ref: https://github.com/DK-Hostmaster/epp-service-specification#renew-domain

repo: DK-Hostmaster/epp-service-specification

license: mit


text:
Respect PointBehaviour for tiglWingGetSegmentEtaXsi

Description

I had to change the class structure / method signature slightly
to allow to pass, how GetEtaXsi is evaluated.
Unfortunately, GetEtaXsi on the paramter surfaces is almost
a factor of thousand slower, which could be a problem for the
VTK export with metadata. Therefore I decided to use the old
eta / xsi interpretation for the exports for now.
closes #808
How Has This Been Tested?

To validate, I changed the consistency test, added a performance
test and added a function to tiglviewer to play around with
the function.
Screenshots, that help to understand the changes(if applicable):
Checklist:

[x] A test for the new functionality was added.
[ ] All tests run without failure.
[x] The new code complies with the TiGL style guide.
[ ] New classes have been added to the Python interface.
[ ] API changes were documented properly in tigl.h.

Codecov Report

Merging #811 (1833e84) into master (e05dfb1) will increase coverage by 0.07%.
The diff coverage is 85.93%.

@@            Coverage Diff             @@
##           master     #811      +/-   ##
==========================================
+ Coverage   62.17%   62.25%   +0.07%
==========================================
  Files         291      291
  Lines       23438    23466      +28
==========================================
+ Hits        14572    14608      +36
+ Misses       8866     8858       -8

Impacted Files
Coverage Δ

src/wing/CCPACSWing.h
100.00% <ø> (ø)

src/wing/CCPACSWingSegment.h
50.00% <ø> (ø)

src/wing/CCPACSWing.cpp
74.55% <46.15%> (+0.99%)
:arrow_up:

src/wing/CCPACSWingSegment.cpp
82.64% <95.55%> (+1.65%)
:arrow_up:

src/api/tigl.cpp
54.39% <100.00%> (-0.03%)
:arrow_down:

src/geometry/CTiglTriangularizer.cpp
86.90% <100.00%> (+0.07%)
:arrow_up:

src/wing/CCPACSWingComponentSegment.cpp
50.09% <100.00%> (-0.19%)
:arrow_down:

repo: DLR-SC/tigl


text:
Suggestion to include nbviewer-link in readme

The experience of looking at Jupyter Notebooks on GitHub is unfortunately not the best. It might be a good idea to include the following link in the Readme: https://nbviewer.org/github/DLR-terrabyte/demo-bids23/blob/main/demo.ipynb

Good call @maawoo. Thanks!

authors: johntruckenbrodt maawoo


text:
Update synth_t structure

Update synth_t struct according to current FPGA structure, which sums to a size of 1244 bytes:
package shape_pkg;
    typedef enum logic [7:0]{
        SAWTOOTH = 0,
        SQUARE,
        SIN,
        PIANO
    } wave_shape;
endpackage
package protocol_pkg;
    //---------------------------------------------------------------------------------------------/
    // Definition of protocol for communication between MCU and FPGA
    //---------------------------------------------------------------------------------------------/
    import shape_pkg::*;

    typedef struct packed {
        logic [31:0] gain /* FIXED POINT */;
        logic [31:0] duration;
    } envelope_t;

    typedef struct packed {
        logic [31:0] freq /* FIXED POINT */;
        logic [31:0] velocity;
        envelope_t [0:`ENVELOPE_LEN-1] envelopes;
        wave_shape shape;
        logic [7:0] cmds;
    } wavegen_t;

    // typedef struct packed {
    //     logic [31:0] delay;
    //     logic [31:0] feedback;
    // } echo_t;

    typedef struct packed {
        logic signed [31:0] balance /* FIXED POINT */;
    } pan_t;

    // typedef struct packed {
    //     logic [31:0] playback_volume;
    //     logic [7:0] playback_speed;
    //     logic [7:0] cmds;
    // } looper_t;

    typedef struct packed {
        // Tau values are delays. 0, 1, 2 and 3 are for comb filters, selected in a 1:1.5 range where
        // the smallest determines the initial delay. Tau 4 and 5 are for all-pass filters, usually
        // set to 5ms and 1.7 ms. Tau is computed as time [ms] * sample rate
        // Gain values are always < 1.0. 0, 1, 2 and 3 are for comb filters = 10 ^ (-3 t / T), where
        // T is the reverb time.
        logic signed [31:0][0:5] tau;
        logic signed [31:0][0:6] gain /* FIXED POINT */;
    } reverb_t;

    typedef struct packed {
        wavegen_t [0:`N_OSCILLATORS-1] wave_gens;
        logic [31:0] master_volume;
        reverb_t reverb;
        pan_t pan;
        // looper_t looper;
        // echo_t echo;
    } synth_t;
endpackage

Possible changes to save bandwidth:
    typedef struct packed {
        logic [7:0] gain /* FIXED POINT */;
        logic [7:0] duration;
    } envelope_t;

Takes size from 1244 bytes to 524 bytes.


text:
Configure Plan readability through branding.yml

Currently, plans are readable by a super_admin, an admin of any of the organizations to which co-owners belong, or to any user with a role in the plan.
For some services, it is not wanted for org-admins to be able to view the full text of any plan within their organization, and this should be restricted to super-admins, or org-admins with requested reviews.
Note that a user requesting a review adds a role for the associated org-admin users on the plan.
We should add a configuration option for whether or not org-admins can view plans from users of their org. This will affect whether the plans at /org_admin/plans have active links to the full DMP content or not. Where all plans can't be viewed by org admins, they will only have access to plans where a specific review has been requested (see notification panel above plans table)

i tested as a super admin and org admin for UCSF and noted some weird behaviors:

as a super admin I see the notifications panel w/many plans awaiting feedback (screenshot 1). i can also click the links to open each plan below and view the content.
as an org admin I don't see the notifications panel, but I should (screenshot 2). when i click the links to open the plans in the main table i receive an error msg (screenshot 3) and am taken to My Dashboard.

desired behavior is to make the default configuration to give Org Admins authorization to open and view plans. I think this was a requirement for UK unis in fact, and is the current behavior. Org Admins should always see plans awaiting feedback in the Notifications panel regardless of the configuration setting.
if the tool is configured to prevent Org Admins from viewing the contents of all plans, the error message should not redirect them to My Dashboard. instead they should stay on the Plans page.
Super Admin UCSF view of plans page

Org Admin UCSF view of plans page

Error message when I click the link to view a plan as an Org Admin

default configuration looks good now. will just need to keep an eye on whether newly privileged admins can see a complete list of plans awaiting feedback. closing issue.

authors: stephaniesimms xsrust

repo: DMPRoadmap/roadmap


text:
Conditional questions causing plans to disapear

Plans that include a conditional question are disappearing. For example, a user can successfully create a plan from a template including a conditional question, but when they go back to view the plan, the plan will disappear from the page.
We temporarily fixed this issue by removing the conditional question from the template, but I believe this bug will be affecting all plans that include conditional questions.

@raycarrick-ed This seems to be related to issue I noticed when dealing with a bug for Maastricht. The plan sections container continues to have style="display:none". Will investigate.

@mariapraetzellis, @briri Not yet identified cause, but working on it. As I have an example which fails.

Just proved in broken case cause this rendering cuases everything in content_for to be surrouned by a display:none  block.
<%= render partial: 'phases/edit_plan_answers',
             locals: {
               plan: plan,
               phase: phase,
               answers: answers,
               readonly: readonly,
               base_template_org: base_template_org,
               guidance_presenter: guidance_presenter,
             } %>

Thanks @briri. A cursory test shows commenting out hide questions fixes issue.
Will tomorrow dig deeper as suggested in your comment.

I think @raycarrick-ed added this to the latest release, so I will close out here.

@pherterich I can't see it in https://github.com/DigitalCurationCentre/roadmap/commits/deploy/dmponline?before=99d780716fca202f19a6dcb7da40ce62edb52e76+35&branch=deploy%2Fdmponline&qualified_name=refs%2Fheads%2Fdeploy%2Fdmponline
It is possible has been patched by @raycarrick

It is patched and part of release 3.1.1 proper

authors: johnpinto1 mariapraetzellis pherterich


text:
Fix form validations on Orgs form

Fixes #1860  .
Changes proposed in this PR:

Update .gitignore file
Add validations for contact_name field
Remove validations for links fields

I think we may need to restore some JS validation for the links (used here and on the template details page when the org is a funder).
The links aren't required, but when one is provided it must have both a URL and Text. The URL should be validated to ensure that its a valid URL.

Lets refactor that afterward (along with the CSS changes you've made). Orgs don't update their links very often. We'll have to add a cleanup task though to capture any unvalidated links that get through between releases.

authors: Bodacious briri


text:
Add test case 7.5 for MEASUREMENTS.

fix: #117
fix: #112

please show the test result.

please show the test result.

repo: DMTF/SPDM-Responder-Validator


text:
[PP] Give an URI to periods

Historical periods should have an URI in order to avoid blank and duplicate nodes in the graph.
Query:
select distinct ?label COUNT(?s) where {
  ?s a ecrm:E4_Period;
      ecrm:P1_is_identified_by ?label .
} GROUP BY ?label

Proposal: <http://data.doremus.org/period/UUID>. This can also be aligned with dbpedia, e.g. <http://dbpedia.org/resource/17th_century>

What about <http://data.doremus.org/period/17th_century> ?

Why not! But would you be able to name any period you may encounter in the data? It is easy when we talk about plain century but in the data, I can see "20 ème siècle - 2 ème moitié" or "Périodes historiques" or "Révolution française". In short, I think it would be better to provide a UUID to identify the period and add a proper label and sameAs links to wikipedia/dbpedia entities when they exist

authors: pasqLisena rtroncy


text:
[Registry Mobile][WP theme] Remove sections from mobile version

"About the Digital Public Good Standard" Button

Acceptance Criteria:
URL: https://digitalpublicgoods.net/registry/
"About the Digital Public Good Standard" is visible on desktop

Set screen size to mobile such as iPhone SE, and "About the Digital Public Good Standard" text and link should disappear.

repo: DPGAlliance/publicgoods-scripts


text:
🛑 SSO Unhas is down

In 26beb46, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 5dc3464 after 5 minutes.


text:
🛑 SSO Unhas is down

In f39b477, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 57c1b92 after 5 minutes.


text:
🛑 Fakultas Hukum is down

In 98fdd1b, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 7a20ad9 after 11 minutes.


text:
🛑 Fakultas Kedokteran is down

In 75ecbc6, Fakultas Kedokteran (https://med.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran is back up in 9daaee0 after 13 hours, 37 minutes.


text:
🛑 LP2M is down

In 27436da, LP2M (https://lp2m.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LP2M is back up in f3f7d91 after 15 minutes.


text:
DS-2623 backport set description in the upload step files

Backport for #1013 that fix the set description in the upload file and add the possibility to setting up the description for multiple files.
I tested both with simple UploadStep than with UploadWithEmbargoStep and it work fine!

I tested simple UploadStep and UploadWithEmbargoStep on my DSpace-CRIS 5.5 and it work fine! Great Work!

This is just a backport. Code changes look bigger as they are caused by changed indentation.
+1 by review and test.

Looks good. Since this has gotten some testing, I'm OK with this going into the 5.6 release.

+1 as well, tested it works

authors: abollini jpiscanc lap82 pnbecker tdonohue

repo: DSpace/DSpace


text:
implement upload bitstream to archived item

Support for uploading a bitstream to an archived item (outside the workspace/workflow)
The contract can be found at https://github.com/DSpace/Rest7Contract/pull/61
A sample json call is:
curl 'http://10.211.55.20:8080/rest/api/core/items/d30de96b-1e76-40ae-8ef9-ab426b6f9763/bitstreams' -XPOST -H 'Content-Type: multipart/form-data' -H "Authorization: $authrization2" -F "file=@Desktop/test-pdf.pdf" -F 'properties={ "metadata": { "dc.description": [ { "value": "example file", "language": null, "authority": null, "confidence": -1, "place": 0 } ]}, "bundleName": "TEST" };type=application/json'

The corresponding output is:
{
  "id" : "f31a304e-9c7b-4809-99e8-e4940956e50c",
  "uuid" : "f31a304e-9c7b-4809-99e8-e4940956e50c",
  "name" : "test-pdf.pdf",
  "handle" : null,
  "metadata" : {
    "dc.description" : [ {
      "value" : "example file",
      "language" : null,
      "authority" : null,
      "confidence" : -1,
      "place" : 0
    } ],
    "dc.title" : [ {
      "value" : "test-pdf.pdf",
      "language" : null,
      "authority" : null,
      "confidence" : -1,
      "place" : 0
    } ]
  },
  "bundleName" : "TEST",
  "sizeBytes" : 6519,
  "checkSum" : {
    "checkSumAlgorithm" : "MD5",
    "value" : "d8d81bf9a24c3aa511b9f670db45d13a"
  },
  "sequenceId" : 17,
  "type" : "bitstream",
  "_links" : {
    "content" : {
      "href" : "http://10.211.55.20:8080/rest/api/core/bitstreams/f31a304e-9c7b-4809-99e8-e4940956e50c/content"
    }
  },
  "_embedded" : {
    "format" : {
      "id" : 4,
      "shortDescription" : "Adobe PDF",
      "description" : "Adobe Portable Document Format",
      "mimetype" : "application/pdf",
      "supportLevel" : 0,
      "internal" : false,
      "extensions" : null,
      "type" : "bitstreamformat"
    }
  }
}

This PR is ready to be reviewed again

This is at +2, and it's already been updated per today's discussion (around making sequence ID read only).  Merging.

authors: benbosman tdonohue


text:
Convert the patches from being hard-coded to having their own file format.

The easiest way for both creating new patches and reading them might be a zip file, with multiple files inside it describing each patch and containing the code to modify.

What about just using regular C# files, where it will modify the code via functions?

I thought about that, and that could be a good option, but that would require the person to know C# to use. I was thinking something along the lines of a few configuration files and gml code, that way creating mods doesn't require you to learn two languages + UndertaleModLib.

So the patchscript would basically just be a file with patch's config and gml code.
I have another question, will there be some sort kf "mods"? Like a collection of multiple patches. Or patches are already considered mods?

Patchscript would be for the config files, not sure how that's gonna look yet but it's going to be fairly simple to write.
I was planning on "mods" just being a zip file with the multiple patches in them (since writing one file would be ridiculous for large mods), and the patcher would look for every config file that existed in that zip file and load it accordingly.

That means patchscript would be as a config for the name of the patch, description, etc. And maybe the GML file wity the actual code. I don't really think it's worth it storing a single line of configuration in a different file.

Maybe so, but many of the patches within cirQOL right now modify multiple files at a time, or replace multiple different sections in a file. The config would also be used to specify the regions of a file to find and/or replace, and how to go about doing it. (Plus, it's just cleaner to separate the config from the actual code once a mod gets big enough).
As a solution to this, maybe making it possible to insert a file as a string in patchscript may be wise, since then the code to insert/replace can just be a string input that can be linked to a file, or it can just be placed in the same file as the config if you need it.

authors: DT-is-not-available qaptivator

repo: DT-is-not-available/circloO-patcher


text:
Check HiveSQL chore syntax

Refer Doc
https://cwiki.apache.org/confluence/display/Hive/LanguageManual

Todo List

[ ]  support missing syntax
[ ]  correct incorrect syntax
[ ]  unit tests

@HaydenOrz HIVESQL  和 SPARKSQL  有跟引擎确认版本么，之前TRINOSQL 每个版本差异都比较大

Hive SQL 文档中废弃的语法会有记录有，所以直接按最新的文档来，
Spark SQL 还没有确认
目前只关心是否有废弃语法，现在的做法是按最新的来，并且兼容废弃语法

authors: HaydenOrz mumiao

repo: DTStack/dt-sql-parser


text:
Add Emote#isAvailable() method

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
Adds Emote#isAvailable() method which tells if the emote is available or not.
The Emoji structure has a available field that indicates if the emote is available for the users, depending on the current boost tier of the Guild.

Will this also get updated once the emote becomes available again or becomes unavailable? Shouldn't there be an event for that or discord doesn't send it?

I'm not sure about the details of this.
The only thing I do know is, that this is part of the emoji/emote object that Discord sends.
My guess is, that the emotes will update when the Boost level of the Discord changes either in positive or negative direction.

Would it be reasonable to add a isAvailable() method to Emote related Events?
Considering that on an EmoteAddEvent, this would always be true, since you can't add emotes when you lack the required boost level.

For this PR to continue, we need to find out if the GUILD_EMOJIS_UPDATE event is fired when boost level changes such that some emojis are no longer available.

From what I could do the docs not mention anything like that(?)
Should I perhaps ask for clarification on the API-docs GitHub?

You could ask in the docs repo, you could also test it out yourself.

https://github.com/discord/discord-api-docs/issues/1725#issuecomment-640947828
Looks like to trigger an event, but won't be guaranteed.

I currently think about how this could be added properly.
My thought was about having an EmoteUpdateX event of some sort that would update its availability, but this would probably require a updateEmote method in the EntityBuilder for what I know.

Since update events seem unreliable according to night, should this now be pretty much everything to add.
I perhaps should add a notice that the isAvailable() boolean might not be updated due to the EmoteUbdateEvent being not reliable on this and that Discord might not send an event in the first place?


text:
Fix inconsistency with MarkdownSanitizer

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
A couple of weeks ago, I submitted a pull request that attempted to resolve the issue causing symbols to not be sanitized correctly inside of quotes. Unfortunately, I found that putting a symbol in front of a quote causes my previous fix to not work correctly.
Example: > _Hello \n> _World ->\\> \\_Hello \n> \\_World
This fixes the issue by changing the regex to allow for quotes that contain just spaces. While Discord removes these extra spaces itself, they are still able to generate quotes (a bit of a weird fix).
BEFORE
>
(As stated before, these are still valid quotes)

AFTER
\>

If there are any more issues related to this in the future, it might be better just to redo how quotes are handled entirely.

The client doesn't render this as a quote:

The WYSIWYG editor does this because you might enter more content to indicate that it will be in a quote.


text:
Error Append services error: list index out of range

an idea why the error occurs when connecting to the box

Hello.
Unfortunately, too little information. Have you edited the settings in other programs or through the web interface? To start with, show the output in the download dialog. Then it is desirable to get the following files from the 'data/enigma2/profile name' folder: lamedb(lamedb5 if exist) and bouquets.tv, bouquets.radio. Or (and) best the last zip archive from the 'data/enigma2/backup/profile name' name folder! For exact paths look in settings.
At the moment I can only assume that the problem when reading lamedb or lamedb5 (has experimental support and has not been fully tested)!

Hello.
Unfortunately, too little information. Have you edited the settings in other programs or through the web interface? To start with, show the output in the download dialog. Then it is desirable to get the following files from the 'data/enigma2/profile name' folder: lamedb(lamedb5 if exist) and bouquets.tv, bouquets.radio. Or (and) best the last zip archive from the 'data/enigma2/backup/profile name'  folder! For exact paths look in settings.
At the moment I can only assume that the problem when reading lamedb or lamedb5 (has experimental support and has not been fully tested)!

Hello,
After using the editor about three times i got the same error. I can't 'load' my saved channellist, can't 'ftp' the channellist into the program.  "list index out of range"
Pity, it sure has potential.
greetings tom

Hi,
Which version are you using?
Try to run the program from the terminal as described above and show the output. Better yet, simply archive the current folder of that profile  where the error occurs(or better the entire data folder) and send it to me.
Best

Hello, first of all, thank you for your quick response.
Second, I'm sorry.
My problem is solved. I had an IP address conflict in my network and one of my receivers acted strange. The error is gone now. Have a nice weekend.
grtzz tom

Same problem here. The network works fine.
FTP-Transfer -> Downloading Bouquets (or anything else) -> downloading -> Done. and PopUp
list index out of range.
Clicking ok. The window closed -> No list

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R  .config/demon-editor/
Run app from also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor

If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R  .config/demon-editor/
Run app from also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor

If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor
If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor

If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor

If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.

Thank you so much for your support.
It's totally crazy. I unzipped the zip file with another program. And now I have an app that opens immediately with a double click.
Unbelievable

Should I make preparations (Terminal) now or can I start the app right away?
Is there a update feature for upcomming versions or must i install every time a new version
I am not familiar with these editors and all the features of a box. I haven't dealt with that so far. So, i can now tryout what it can do for me.
Best and thanks again
Maik
Am 7. Mai 2020, 17:28 +0200 schrieb Dmitriy Yefremov notifications@github.com:

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor
If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

It’s me again
But the issue ist still there
Cheers,
Maik
Am 7. Mai 2020, 17:28 +0200 schrieb Dmitriy Yefremov notifications@github.com:

Hi.
First of all, install the latest version from here to the Application folder.
Then we delete the previous program settings. We give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal:
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor
If app starts, then set up your profile for the receiver and try to download. If an error occurs, then you need to lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l key, described above). The demon-editor.log should be created in the root of the folder.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi
Since the program is in the process of active development, there is no possibility of automatic updating yet. In addition, if problems arise, you must have a certain level of knowledge, at least know what a terminal is. If this is all ok, then I can try to help you in this discussion.
If not, then I will delete this discussion later, and you can write to me on the email indicated in my profile. And in the presence of free time I  can try to help you.

Hi
Since the program is in the process of active development, there is no possibility (for macOS) of automatic updating yet. In addition, if problems arise, you must have a certain level of knowledge, at least know what a terminal is. If this is all ok, then I can try to help you in this discussion.
If not, then I will delete this discussion later, and you can write to me on the email indicated in my profile. And in the presence of free time I can try to help you.

Thanks a lot. Sounds good.
Best
Maik
Am 7. Mai 2020, 19:26 +0200 schrieb Dmitriy Yefremov notifications@github.com:

Hi
Since the program is in the process of active development, there is no possibility (for macOS) of automatic updating yet. In addition, if problems arise, you must have a certain level of knowledge, at least know what a terminal is. If this is all ok, then I can try to help you in this discussion.
If not, then I will delete this discussion later, and you can write to me on the email indicated in my profile. And in the presence of free time I can try to help you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Previous conversation is cleared, due to weak intersection with discussion.
If such an error occurs, please do the following (for macOS version):
Install the latest version from here  to the Application folder . Allow the launch of the program, if necessary, in the security settings!
Then remove the previous program settings. Give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal (macOS):
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor

For  Linux:
./start.py
in the root of app folder, or
 demon-editor
if the program is installed from a *.deb package or PPA repository.
After app starts, then set up your profile for the receiver and try to download. If an error occurs, then lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l option, described above). The demon-editor.log should be created in the root of the folder.
The following information is also desirable:

The build date of the program (maсOS) or version (brаnch).
The used enigma2 image.
Have the settings been edited in other programs.

Previous conversation is cleared, due to weak intersection with discussion.

Previous conversation is cleared, due to weak intersection with discussion.
Perhaps this fix will help to prevent this error.

Thanks again.
Don't stress, I'm in no hurry with this whole thing.
It's not easy. With the terminal (new shell) in Catalina, it doesn't fit everything. Especially because I can't see in which directory I have to be right now to enter the commands
Anyway.
I have deleted corresponding data / folders in my user directory.
Download from the receiver works.
But then it becomes difficult. Closing the window not possible. No idea why. Then i start screenflow to capture (screencast) whats going on.
Suddenly, the Demon Editor window is ready to close … Crazy
Using:

MacOS Catalina Version 10.15.4 (19E266)
Enigma 2, Octagon SF4008, Image OpenATV 6.4
I have no editor because nothing works with Catalina

Cheers
Maik
Am 8. Mai 2020, 14:16 +0200 schrieb Dmitriy Yefremov notifications@github.com:

Previous conversation is cleared, due to weak intersection with discussion.
If such an error occurs, please do the following (for macOS version):
Install the latest version from here to the Application folder . Allow the launch of the program, if necessary, in the security settings!
Then remove the previous program settings. Give the command in the terminal:
rm -R .config/demon-editor/
Run app also from the terminal (macOS):
cd /Applications/DemonEditor.app/Contents/MacOS/
./DemonEditor
For Linux:
./start.py
in the root of app folder, or
demon-editor
if the program is installed from a *.deb package or PPA repository.
After app starts, then set up your profile for the receiver and try to download. If an error occurs, then lay out the output from the terminal, as well as those files that you downloaded from the receiver, as described above. In addition, you can run the program with logging enabled (with the -l option, described above). The demon-editor.log should be created in the root of the folder.
The following information is also desirable:

The build date of the program (maсOS) or version (brаnch).
The used enigma2 image.
Have the settings been edited in other programs.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

But then it becomes difficult. Closing the window not possible. No idea why. Then i start screenflow to capture (screencast) whats going on. Suddenly, the Demon Editor window is ready to close … Crazy
Hi, Maik
Please create, if you can, for this case, a separate issue. I will close it!
Thanks!

But then it becomes difficult. Closing the window not possible. No idea why. Then i start screenflow to capture (screencast) whats going on. Suddenly, the Demon Editor window is ready to close …

Hi, Maik
Please create, if you can, for this case, a separate issue. I will close it!
Thanks!

Hi,
I returned the older build. Try with it.
Best

But then it becomes difficult. Closing the window not possible.

Hi, Maik
Please try with the new build. If it does not help, create a separate issue for this case.
Thanks!

authors: DYefremov MarkusH12 mischugo tommiedepommie

repo: DYefremov/DemonEditor


text:
indicator not working for any tab other than the first one

if you run the example in an android device, you'll notice that the bottom indicator for the active tab will show for the initial tab but if you change tab the indicator will stop appearing.

Hi @bakaa99 - so sorry I missed your issue.  Can you provide any more details?  We are using this successfully with the indicator moving along.   Here is our basic implementation if it is helpful:
  // index state is used by the TabViewAnimated to determine the active tab
  _handleIndexChange = (index: number) => {
    this.props.updateLastActivity();
    const tabState = { ...this.state.tabState, index };
    this.setState({ tabState }, () => {
      this.props.onTabChange(this.state.tabState.routes[index].title);
    });
  };

  _renderLabelFactory = (props: TabScreenSceneRenderPropsType): TabBarCallbackType => (
    ({ route }: TabScreenSceneType): Element<*> => {
      const index = props.navigationState.routes.indexOf(route);
      const inputRange
        = props.navigationState.routes.map((x: TabScreenRouteType, i: number): number => i);
      const outputRange = inputRange.map((inputIndex: number): string =>
        (inputIndex === index ? Colors.lightBlue : Colors.dhsWhite));
      const color = props.position.interpolate({
        inputRange,
        outputRange
      });
      return <Animated.Text style={[styles.label, { color }]}>{route.title}</Animated.Text>;
    }
  );

  _renderIconFactory = (props: TabScreenSceneRenderPropsType): TabBarCallbackType => (
    ({ route }: TabScreenSceneType): Element<*> => {
      const index = props.navigationState.routes.indexOf(route);
      const inputRange
        = props.navigationState.routes.map((x: TabScreenRouteType, i: number): number => i);
      const outputRange = inputRange.map((inputIndex: number): string =>
        (inputIndex === index ? Colors.lightBlue : Colors.dhsWhite));
      const color = props.position.interpolate({
        inputRange,
        outputRange
      });
      const AnimatedIcon = Animated.createAnimatedComponent(Icon);
      return <AnimatedIcon name={route.icon} size={30} style={[styles.icon, { color }]} />;
    }
  );

  _renderTabs = (sceneProps: SceneRendererProps<TabScreenRouteType>): Element<*> => {
    const landscape
      = this.props.screenProps.orientation
      && this.props.screenProps.orientation.split('-')[0] === 'LANDSCAPE';
    const SelectedTabBar = landscape ? TabBarVertical : TabBar;
    return (
      <SelectedTabBar
        {...sceneProps}
        renderLabel={this._renderLabelFactory(sceneProps)}
        renderIcon={this._renderIconFactory(sceneProps)}
        style={styles.tabbar}
        tabStyle={styles.tab}
        indicatorStyle={styles.indicator}
        scrollEnabled
      />
    );
  };

  render(): Element<*> {
    /* $FlowFixMe orientation is a maybe type - we should probably just require it */
    const landscape = this.props.screenProps.orientation.split('-')[0] === 'LANDSCAPE';
    const SelectedTabView = landscape ? TabViewVertical : TabView;
    const tabBarPosition = landscape ? 'top' : 'bottom'; // 'top' is same as 'left' in vertical tabs
    const initialLayout = { width: 600, height: 400 };
    const sceneMap = SceneMap(this.state.scenes);
    return (
      <SelectedTabView
        initialLayout={initialLayout}
        renderTabBar={this._renderTabs}
        style={styles.container}
        navigationState={this.state.tabState}
        renderScene={sceneMap}
        onIndexChange={this._handleIndexChange}
        swipeEnabled={Platform.OS !== 'web'}
        tabBarPosition={tabBarPosition}
      />
    );
  }

repo: DaKaZ/react-native-vertical-tab-view


text:
Calling API

I tried to call a basic API with a request via HttpClient. I am getting the following errors:
blazor.webassembly.js:1 WASM: Unhandled exception rendering component:
p.printErr @ blazor.webassembly.js:1
blazor.webassembly.js:1 WASM: System.NotImplementedException: Cannot invoke method because it was wiped. See stack trace for details.
p.printErr @ blazor.webassembly.js:1
blazor.webassembly.js:1 WASM:   at System.Net.Http.HttpClientHandler.Dispose (System.Boolean disposing) <0x3bf5ca0 + 0x00004> in :0
p.printErr @ blazor.webassembly.js:1
blazor.webassembly.js:1 WASM:   at System.Net.Http.HttpMessageHandler.Dispose () <0x3bf5b50 + 0x00008> in :0
I am essentially calling this function under the Counter.razor sample file right after the increment button. I've tested the API with Postman so I know it isn't the API.
public async Task GetDataLoaded()
{
RequestModel request = new RequestModel();
request.TargetAmount = 5000;
    //create post data
    var postData = JsonConvert.SerializeObject(request);

    using (HttpClientHandler handler = new HttpClientHandler())
    {
        handler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
        using (HttpClient client = new HttpClient(handler, false))
        {
            //client.DefaultRequestHeaders.Add("<keyname>", "<value>");
            client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));

            // Wrap our JSON inside a StringContent which then can be used by the HttpClient class
            var httpContent = new StringContent(postData, Encoding.UTF8, "application/json");

            var responseFromServer = await client.PostAsync("<personal api URL>", httpContent).Result.Content.ReadAsStringAsync();
            return responseFromServer;
        }
    }
}

I never encountered any kind of error of this type before, maybe something similar on Edge browser when using some Polyfills in the past.
First of all:

Is your sample working on a regular Blazor sample project ? Not the BlazorMobile default one.
Is the Blazor version used on your BlazorMobile project similar to the one mentioned in the doc ?

It may be important, as i don't have personnally updated the Blazor package since some times, and if there is some breaking changes on Microsoft side on the project Startup / Service registration, it must be done on the BlazorMobile template project too.

Is your exception occuring on all Browser ?

I never had any problem at the moment (and using it for a client), with BlazorMobile if you respect exactly the requirements mentionned on the documentation.

@Daddoon Good suggestion on trying it on a regular Blazor project. I tried it on the regular template in VS2019 and got the same errors. It must be something about using HttpClient and HttpClientHandler. Yes it is all client side. I am running Blazor WASM.

Seems like it is related to Blazor WASM and something with CORS. I tried enabling everything I could on the web service end but still getting the same error. For your template you're essentially taking the Blazor WASM and putting it into the Android/iOS container right?

I think you are using the HttpClient API wrongly with Blazor.
As stated in the doc, you must inject the HttpClient object from your page / dependency services, not construct a custom one by yourself as there is some specific implementation made with BCL, depending your are using the server or WASM version. Actually the WASM HttpClient for Blazor is a special implementation of the library, hidden by the BCL process.
Take note of the documentation: https://docs.microsoft.com/en-us/aspnet/core/blazor/call-web-api?view=aspnetcore-3.1
In my opinion your problem should go away if instanciated from an injection on a page or BlazorComponent. Note also that you only need to get the reference of this object once in lifecycle of you application, so you may cache it on a internal helper of your, to call it everywhere when needed.
Otherwise, the CORS issue is variable depending the browser security default parameters.
Note also that if you are using HTTPS, you may have some blocking issue on Edge / UWP if the certificate is not really certified (like auto signed or expired).

I didn't mention before but I tried it with DI before and I am getting the same results. CORS is fully enabled in the web service deployment and on Azure app service. Below is the same function with the HttpClient injected
public async Task GetDataLoaded()
{
RequestModel request = new RequestModel();
request.TargetAmount = 5000;
    //create post data
    var postData = JsonConvert.SerializeObject(request);

    //client.DefaultRequestHeaders.Add("<keyname>", "<value>");
    Http.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));

    // Wrap our JSON inside a StringContent which then can be used by the HttpClient class
    var httpContent = new StringContent(postData, Encoding.UTF8, "application/json");

    var responseFromServer = await (await Http.PostAsync("<api url>", httpContent)).Content.ReadAsStringAsync();

    return responseFromServer;
}

Sorry, but as the problem is occuring on Blazor too, i think it's a Blazor issue, not a BlazorMobile one. Try with a simple Http request to determine what is the issue, maybe it's a Blazor / Mono WASM issue.
Feel free to ask help on the official Blazor issues feed here: https://github.com/dotnet/aspnetcore/issues
Closing.

authors: Daddoon ajhena

repo: Daddoon/BlazorMobile


text:
Wrong realtime lighting for vertex-lit surfaces

With vertex lighting, the wrong diffuse color is used for realtime lights. Instead of the basic diffuse texture, the result of multiplying the diffuse with the vertex color is used. This comes from the line diffuse *= var_Color; in lightMapping_fp.glsl. So dynamic lights are practically impossible to see on dimly lit vertex-lit surfaces such as parts of the station15 evergreen trees.
I guess it's structured this way because vertex lighting is a type of "rgbGen", at least in explicitly specified vertex lighting shaders where the syntax is rgbGen vertex. In principle, any rgbGen operation should be included in the diffuse. But obviously this is the wrong idea for vertex lighting, so we should try to detect the vertex lighting case and exclude that calculation from the diffuse used for lighting purposes. I guess the criteria for detecting vertex lighting can be rgbgen vertex + is bsp surface + no lightmap, in a lightmap stage.

Isn't vertex lighting supposed to be part of diffuse? If not, how is it expected to contribute to the final colour?

Diffuse color multiplied by vertex color. Vertex color is a light color serving the same function as lightmaps.

authors: VReaperV slipher

repo: DaemonEngine/Daemon


text:
When setting in_nograb to 1, input is not grabbed but pointer is hidden when focusing

When setting in_nograb to 1, input is not grabbed but pointer is hidden, maybe that's unwanted?
Also, the pointer move still affects the camera.
Enabling in_nograb may also be useful when doing benchmark: in that specific use case, not hiding pointers and not being used to move the camera may be wanted.

When setting in_nograb to 1, input is not grabbed but pointer is hidden, maybe that's unwanted?

After re-reading myself I had to reproduce to understand why I've said…
I mean the desktop pointer is hidden like if it was captured.

Also, the pointer move still affects the camera.

The only thing in_nograb seems to do is to not recenter the pointer.
I don't know if there is a bug, but the behaviour is a bit puzzling.
With in_nograb enabled when the game is on the main menu, the main menu displays the in-game mouse pointer, so there is a continuity, when entering the window the desktop pointer disappears and the in game pointer appear, when leaving the window the in game pointer disappears and the desktop pointer reappears. But outside of a menu, in a loaded game level, when entering the window the mouse pointer disappears and will only reappear when leaving the windows again.

I assume this was fixed by 4e9095477beab0a310958b6513a9a16ef3b0bd4c.

authors: illwieckz slipher


text:
Client: Improvements for false-positives handling

This should be implemented to complete #238 #241

When reading reports/false-positives list from server: sort items by severity,ID
In markFalsePositives/unmarkFalsePositives sum up the changes and add confirmation "Are you really sure?"
Documentation of new features (use proper options - new: unmarkFalsePositves/markFalsePositves/interactiveMarkFalsePositves/interactiveUnmarkFalsePositves)
increase test coverage of Go tests

Sven Dolderer sven.dolderer@daimler.com, Daimler TSS GmbH, imprint

Standard false positive commands are already documented in #323

Will close this issue, because:
When reading reports/false-positives list from server: sort items by severity,ID
-> currently they come already sorted - open a new issued once they come unsorted from the server.
In markFalsePositives/unmarkFalsePositives sum up the changes and add confirmation "Are you really sure?"
-> Postponing, because this is not essential (open a new issue if needed)
Documentation of new features (use proper options - new: unmarkFalsePositves/markFalsePositves/interactiveMarkFalsePositves/interactiveUnmarkFalsePositves)
-> already done: see https://daimler.github.io/sechub/latest/sechub-client.html
increase test coverage of Go tests
-> already done along with the other changes

authors: de-jcup sven-dmlr

repo: Daimler/sechub


text:
PDS Cluster Monitoring Status Exception

Problem
While running a cluster of 3 PDS members and requesting the status of the cluster, exceptions occur on the PDS members:
com.daimler.sechub.pds.PDSJSONConverterException: Was not able to convert JSON string to class com.daimler.sechub.pds.monitoring.PDSClusterMember object
…
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "uuid" (class com.daimler.sechub.pds.job.PDSJob), not marked as ignorable (8 known properties: "started", "owner", "created", "ended", "result", "serverId", "state", "jsonConfiguration"])
  at [Source: (byte[])"{"hostname":"708ac9247372","ip":"10.2.5.3","port":8444,"heartBeatTimestamp":"2021-09-20T09:24:24.719885","executionState":{"queueMax":10,"jobsInQueue":1,"entries":[{"jobUUID":"4e1c67d8-21fc-4066-a39b-a8ac245b0d82","done":false,"canceled":false,"job":{"owner":"admin","serverId":"PRODUCT_CLUSTER","created":"2021-09-20T09:17:32.188512","started":"2021-09-20T09:22:07.725691","jsonConfiguration":"{\"sechubJobUUID\":\"b6196fb6-62e8-44f8-99f2-4a74daf2090d\",\"apiVersion\":\"1.0\",\"productId\":\"PDS_P"[truncated 98 bytes]; line: 1, column: 557] (through reference chain: com.daimler.sechub.pds.monitoring.PDSClusterMember["executionState"]->com.daimler.sechub.pds.execution.PDSExecutionStatus["entries"]->java.util.ArrayList[0]->com.daimler.sechub.pds.execution.PDSExecutionJobInQueueStatusEntry["job"]->com.daimler.sechub.pds.job.PDSJob["uuid"])

At first no exception occurs while requesting the monitoring_status using sechub-developertools/scripts/pds-api.sh monitoring_status and the cluster has three members:
{
  "jobs": {
    "CREATED": 3,
    "READY_TO_START": 0,
    "QUEUED": 0,
    "RUNNING": 1,
    "CANCEL_REQUESTED": 0,
    "CANCELED": 0,
    "FAILED": 0,
    "DONE": 8
  },
  "members": [
    {
      "hostname": "708ac9247372",
      "ip": "10.2.5.3",
      "port": 8444,
      "heartBeatTimestamp": "2021-09-20T09:17:24.449131",
      "executionState": {
        "queueMax": 10,
        "jobsInQueue": 0,
        "entries": []
      }
    },
    {
      "hostname": "708ac9247372",
      "ip": "10.2.5.3",
      "port": 8444,
      "heartBeatTimestamp": "2021-09-20T08:27:29.945557",
      "executionState": {
        "queueMax": 10,
        "jobsInQueue": 0,
        "entries": []
      }
    },
    {
      "hostname": "6b200213fce3",
      "ip": "10.2.5.5",
      "port": 8444,
      "heartBeatTimestamp": "2021-09-20T09:17:24.441473",
      "executionState": {
        "queueMax": 10,
        "jobsInQueue": 0,
        "entries": []
      }
    }
  ]
}

After a couple more requests of the monitoring_status, exceptions in the PDS cluster members are thrown. For example, first in member 2, afterwards member 3 and finally in member 1. Once exceptions occurred in all members, only one member will be shown in the monitoring status:
{
  "jobs": {
    "CREATED": 1,
    "READY_TO_START": 0,
    "QUEUED": 0,
    "RUNNING": 3,
    "CANCEL_REQUESTED": 0,
    "CANCELED": 0,
    "FAILED": 0,
    "DONE": 12
  },
  "members": [
    {
      "hostname": "708ac9247372",
      "ip": "10.2.5.3",
      "port": 8444,
      "heartBeatTimestamp": "2021-09-20T08:27:29.945557",
      "executionState": {
        "queueMax": 10,
        "jobsInQueue": 0,
        "entries": []
      }
    }
  ]
}

This is the same as #804 - with some additional information.

The problem seems to be that there comes no more an heartbeat when a PDS Job was inside the queue and the deserialization problem from #804 happens...
So even when #804 happens the heartbeat must still work!

authors: Jeeppler de-jcup


text:
Use in Nuxt.js

How can I use your plugin in nuxt.js? I tried the following but it doesn't recognize this.popmotion.tween.
mounted() {
    if (process.browser) {
      require('~/plugins/popmotion')
    const container = this.popmotion.styler(document.querySelector('section'));
const formElements = document.querySelector('.animatedimage');

const scaleanim = this.popmotion.tween({
    from: {
        scale: .7
    },
    to: {
        scale: 1
    },
    duration: 1000
})
scaleanim.start(container.set);
    }
  },

@digisocialnet  i got it working via
import * as popmotion from 'popmotion'

i can see popmotion is attached but not tested more :D

authors: cannap digisocialnet

repo: DakshMiglani/vue-popmotion


text:
Turn ON/OFF Device in Rainbow mode

Plug-in does a great job controlling devices that are in static mode (on/off/change colors), but I have no luck with the ones set in rainbow mode. When powering on or off it does nothing but a quick blink.  I don't know if this is a limitation of openrgb or this plug-in. Can it be implemented?
Thanks for this useful plug-in!

I see what you mean. Thanks for the report.
After some quick tests of possible solutions, I think, yes, I should be able to make this better. I'll work on it.

Thank you very much!!

Hello Sir, any news on this matter?

Hey, I did some of the work needed for this update a while back, but I've haven't been able to get back to it and finish it yet. I haven't forgotten about this, and I'll finish it when I get the chance.

Just haven't been able to prioritize this lately. I'm still busy all this month, but I should be able to revisit this in August.

Hi there. I've just published version 1.4.0 with these changes implemented. If you could test it out and let me know if everything works well for you, that would be great.

thanks for taking the time to look at this!
I updated to 1.4 and tested it with mixed results.
2 of my devices set to rainbow mode seems to work correctly as expected when turning off and on:
Adata d60g ram sticks
Adata s40g ssd
2 other of my devices set to rainbow mode do weird things when turning off and on:
Rog strix LC cooler doesn't respond to off when in rainbow mode
Asus Motherboard lights and zones do respond to off command, but when turning on there are set to red color by default and not rainbow mode

Hmm, that's going to be tough to debug without having those devices. Could you list all of the available modes that OpenRGB has as options for those devices?

Asus Rog Strix LC modes:

I just realized that I don't use rainbow mode for the Asus motherboard, I use direct mode.  Changing to rainbow mode and tested on/off and it does work correctly.
However the reset to red is happening when in direct mode and turning off and on.
Asus Motherboard modes:

I'm also wondering if the motherboard's zones can be displayed as separate accessories to control individual colors of each zone?
Asus Motherboard zones:

Do you know if you had the issue of the motherboard lights turning red before you updated the plugin to version 1.4.0? Or is that new behavior?

I had the issue before 1.4.0

authors: DallasHoff arturoovf

repo: DallasHoff/homebridge-openrgb


text:
Create new label for gen-express-app package!

Since the project has its regular users and there is an opportunity to extend this package to more users, why don't we rename the package “egen”? This will help users remember the package better and increase the user audience. What do you think about this idea?

Nice, but the package name "egen" has already been used (npm). 😢

How about "egn"? This name tag is free and so easy to remember!)

authors: Dalufishe the-az-dev

repo: Dalufishe/gen-express-app


text:
.WithParameterValidation() does not work with [FromRoute] parameters

        //Should fail when id does not equal "hello" or "world". Expect 400 response
        builder.MapGet("/test/{id}", async ([FromRoute, RegularExpression("^(hello|world)$")] string id) =>
        {
            //Currently returns "hello world" regardless of validation
            return Results.Ok("hello world");
        }).WithParameterValidation();

Validating parameters that are simple types is not supported currently. This is similar to how ModelValidation in ASP.NET Core MVC works. You need to accept parameters that are complex types whose properties have the validation attributes on them. You can combine a complex type with AsParameters to achieve what you want:
// Will fail when id does not equal "hello" or "world". Expect 400 response
builder.MapGet("/test/{id}", async ([AsParameters] TestReuqest request) =>
{
    // Will only return if properties of `request` are valid
    return Results.Ok("hello world");
}).WithParameterValidation();

public class TestRequest
{
    [FromRoute, RegularExpression("^(hello|world)$")]
    public string? Id { get; set; }
}

authors: DamianEdwards JCKortlang


text:
request.path has been replaced by request.url.pathname

I'm getting this error when calling the signIn() function using the latest version of SvelteKit.

Same, related to https://stackoverflow.com/questions/70534899/sveltekit-error-request-query-has-been-replaced-by-request-url-searchparams

@krg-digital looks like the author is not very active, have you found a workaround yet?

Same, related to https://stackoverflow.com/questions/70534899/sveltekit-error-request-query-has-been-replaced-by-request-url-searchparams

Yeah, stumbled upon that thread when investigating the error. I'm definitely no expert when it comes to the inner-workings of SvelteKit, but I'd guess these lines of code is where the issues lies... and that TODO might hint at what needs to be done?

Hey everyone! Sorry for the inactivity, SK-Auth has now been upgraded to v0.4.0 thanks to #58 by @lulzneko which should resolve these issues.

authors: Dan6erbond Kelvijn krg-digital


text:
bug: default is not shown unless actual default value is truthy

# cli.py
from dataclasses import dataclass, field
from typing import Annotated
from typing_extensions import Doc

import cappa

@cappa.command(name="hello")
@dataclass(kw_only=True)
class Command:
    config: Annotated[
        dict,
        cappa.Arg(
            short="-c",
            long=True,
            show_default="hello",
        ),
        Doc("Configuration file"),
    ] = field(default_factory=dict)

    def __call__(self):
        print(self.config)

if __name__ == "__main__":
    cappa.invoke(Command)

$ python cli.py
Usage: hello [-c CONFIG] [-h] [--completion COMPLETION]

  Options
    [-c, --config CONFIG]      Configuration file

  Help
    [-h, --help]               Show this message and exit.
    [--completion COMPLETION]  Use --completion generate to print shell-specific completion source. Valid options: generate, complete.

If I change the annotation to dict | None and the default value to None, same result. I have to actually set a truthy default value like "hey" for the default to be shown.
Expected output
$ python cli.py
Usage: hello [-c CONFIG] [-h] [--completion COMPLETION]

  Options
    [-c, --config CONFIG]      Configuration file (Default: hello)

  Help
    [-h, --help]               Show this message and exit.
    [--completion COMPLETION]  Use --completion generate to print shell-specific completion source. Valid options: generate, complete.

It's because default.default is None when I set None as default, and Empty when I set a default factory, in if not self.show or default.default in (None, Empty): (DefaultFormatter.format_default()).
I can see why it's not immediate to fix: if a string is provided as show_default, but it contains the {default} placeholder, then yeah we might not want to show None. But if it's a string without the {default} placeholder, I think we can assume it should always be shown? So something like if "{default}" in self.format: ...?

I wonder if we shouldn't assume that if the user provided something to show_default, it's that the default value is not none or empty, and therefore we should always show the default. So, using a sentinel for DefaultFormatter.format instead of "{default}". WDYT?

Or maybe field factories could be seen as something else than Empty :shrug: That wouldn't solve the case for None though.
    log_path: An[
        str | None,
        cappa.Arg(short="-P", long=True, group=_GROUP_GLOBAL, propagate=True, show_default="standard error"),
        Doc("Write log messages to this file path."),
    ] = None

Lmk what you think of that ^. Not using any of your suggested alternatives 😬
tl;dr

coerce None/Empty default values to ""
format them
if the resultant formatted string is "", dont show the default because it would be (Default: )

Where item 3 is potentially fixes other cases in which an empty string formatted default would look broken.

I havent much thought about what if you want '' to be clear about empty string, but that wouldn't have displayed as such today either, and i'm not certain whether repr anything is a good idea or not.

Yes!! Clever! Seems perfect 🙂

authors: DanCardin pawamoy

repo: DanCardin/cappa


text:
Create python-package-conda.yml

trying to set up CI testing in GitHub

Well, this doesn't seem to work. Not sure what the deal is.

Needed to have conda install scipy and numpy and mpl. I think that one is supposed to use an "environment.yml" file to list these requirements, but I wasn't sure where this file was supposed to be located, so I just included these in the workflows file.

Success! Basic tests are now being run.

repo: DanHickstein/pyNLSE


text:
Webassembly 3.4.1 version on npm doesn't randomize weights

Output of npm list:
-- jsnet@3.4.1
Weights in the network [2, 3, 1] (XOR example) at second layer stay the same:
[ { bias: 1, weights: [ -0.4384047377812256, 0.71476953983941 ] },
{ bias: 1, weights: [ 0.836493930022522, 0.7845843352178457 ] },
{ bias: 1, weights: [ -0.8790343793408859, -1.049725288141738 ] } ]
This produces the same results in 5 (or any number of) epochs training.
Interestingly, the javascript version does not have this problem.

Sorry for the delayed reply, I just tried this out, and I wasn't actually able to replicate it.
What I did was npm installed v3.4.1, navigated to node_modules/jsnet/nodejsDemo.js, and ran it, printing out the weights in layer [1] in a callback as console.log(net.layers[1].neurons.map(n => n.weights)).
Is this the same as what you did?
If this is still an issue, and you made any changes, could you perhaps share what they were? If there were no other changes, then this is somewhat strange, and will need further exploring.
Did the inference look plausible, at the end of the training, for you?

I'm using Windows, also, so that's probably not it. And both versions are loaded, and executed after each other, to show speed comparison, but are not otherwise interlinked.
Are the values at the end correct-ish for XOR? For example:

If they are, then the network trained, so the values should have changed, but if not, then, as though learning rate was 0, the weight values for some reason don't get updated.
Are you using node at least v8?

authors: DanRuta Mitiko

repo: DanRuta/jsNet


text:
listen to only message

thx for greate machine.
i really appreciate.
but i have one issue.
ex)
///
@listen_to('')
def to_duty(message):
print(message)
....
i want only listen_to NEW MESSAGE, NOT THREAD.
how can i solve this problem?

You can't do it via the api, but you can look for thread_ts in the internal message event object like so:
if 'thread_ts' in msg._msg_event;
    # Do your stuff here
    pass

I have created a pull request #286 with this feature.

authors: davidolrik hyowoo

repo: DandyDev/slack-machine


text:
I'd love to help!

This is one of the best mods I've ever used! I'd love to help you troubleshoot it on 1.16.4. Are you still working on this?
I have to admit that I keep meaning to learn how to use github so bear with me...

Sorry I noticed I wasn't good enough in Java and didn't have enough knowledge in modding

That's ok 😁. I don't have much either. Thanks for getting back to me. If
you ever change your mind, let me know 👍
On Sun., Nov. 14, 2021, 10:30 Daniel Mendes, @.***>
wrote:

Sorry I noticed I wasn't good enough in Java and didn't have enough
knowledge in modding
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Daniel-Mendes/Simply-Caterpillar/issues/1#issuecomment-968322903,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQUZFBUW2JC536GMNGP6F3UL7PZFANCNFSM4WVWDVYQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

authors: Daniel-Mendes phrayz

repo: Daniel-Mendes/Simply-Caterpillar


text:
BaseReferenceDrawer constant uses wrong height for a custom struct

Issue
After generating a Reference ScriptableObject script with the SO code generator using a custom serializable struct with its own propertyDrawer, the representation of the struct has the wrong height when folded out in the editor. As far as I know, this only happens for SO References, not any of the other SO classes. It requires the "Use Constant" flag to be true. The height for the resulting representation of the property is always wrong, as the foldout icon takes up an entire line's height.

Reproduction flow
Take a simple struct, in this case called CameraView. It contains two Vector3 values, to determine the desired rotation (in Euler angles) and position of a camera. This is the struct definition:
[Serializable]
public struct CameraView {
    public Vector3 cameraPosition;
    public Vector3 cameraRotation;
}

Since the struct is serializable by the UnityEditor, we have a very basic PropertyDrawer, that just draws the fields as intended:
OnGUI:
EditorGUI.PropertyField(position, property, label, true);

And GetPropertyHeight:
return EditorGUI.GetPropertyHeight(property);

After this, we generate SO Architecture code for the CameraView type, including a CameraViewReference. This allows us to create a few CameraViewVariable assets, which look fine in the editor:

(Of course, we're ignoring the developer description as that was already mentioned in a different issue.)
When we finally include this reference in a MonoBehaviour, like so:
public CameraViewReference cameraView;

It looks fine as a variable:

But when we select "Use Constant", we are immediately presented with the foldout icon, positioned a bit strangely:

This isn't a major issue though, as it's still possible to click the rightmost edge of the foldout icon, which results in the images shown at the top of this issue.
Another issue would be the indentation of this struct, as it would be better suited using the full width underneath. However, that is not the main focus.
Potential solution
After digging around in the BaseReferenceDrawer, I found a potential solution. In GetPropertyHeight, the SupportsMultiLine bool is false for custom structs. When manually set to true for testing purposes, the height changes when the field is folded out.
Closed:

Folded out:

But as you can see, the height is still a bit strange, as it now results in a bit of unused space. Regardless, I noticed the use of the [MultiLine] attribute for classes would allow one to make use of this behaviour. However, as it stands, this is only reserved for classes, and not for structs.

Thanks for reporting this issue in so much detail!
I should hopefully have some time in the coming week to catch up with the increasing list of issues :)

I've encountered the same problem in the collection editor.

I did things a bit different this time along. I generated these scriptable objects for a class instead of a struct, and putting the MultiLine attribute above the class declaration doesn't seem to have any effect.
I figure that this is probably the result of the same problem. To reproduce this one, just follow the original reproduction flow, but generate a collection as well. Using a class VS a struct might make a difference but I'm not completely sure about that.

I'm working on a fix by implementing #110 - this is, as you might imagine, quite a big feature. Once it's done everything should render properly, since I'm also re-writing all the editors.
Once it's done you won't have to implement PropertyDrawers either, unless you want some custom behaviour, of course.

This will be fixed in the new update. Just added the finishing touches.

This update includes drawing custom objects without property drawers. The above is an example of that, the type simply including the following:
[System.Serializable]
public class TestType
{
    [SerializeField]
    private float floatValue;
    [SerializeField]
    private Quaternion quaternionValue;
    [SerializeField]
    private SubType subType;

    [System.Serializable]
    public class SubType
    {
        public double publicValue;

        [SerializeField]
        private string privateValue;
    }
}

authors: DanielEverland Robert-Oost


text:
Update BaseVariableEditor.cs

fixes #140
if(IsClampable) -> if(_isClamped.boolValue)
fixes #141
now invokes Raise event when value changed in Inspector
Adds a "Raise" button to manually invoke event.

whoops, I accidentally included some "developer description" stuff.... You don't need to include that.

Please submit separate PRs pr. fix/feature

authors: DanielEverland Monsoonexe


text:
could not be resolved to an NgModule class

ERROR in node_modules/ng-pick-datetime/date-time/date-time.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (ng-pick-datetime) which declares OwlDateTimeModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer
version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Also getting this error.

Ok so to resolve this you need to do the following

run this  npm i ng-pick-datetime-ex

run this npm install dayjs

put this in the css or scss style sheet @import "../node_modules/ng-pick-datetime-ex/assets/style/picker.min.css";
4.put these in the module where the picker is needed   OwlDateTimeModule,
OwlNativeDateTimeModule,
and you should be fine
if there is any error do npm i
It work for me just now.

@iamade install those two packages seemed to fix my issue. Im using pnpm and was getting a similar problem. Did those packages needed to be added because they are missing peer dependencies?

It still doesn't work on angular cli version 13

@iamade
I understand from your answer that we should no more use
"ng-pick-datetime": "^7.0.0",
but instead we should use
"ng-pick-datetime-ex": "^15.0.0",
am I correct?

authors: JosehGaks crh225 harvanchik iamade malek-itani sheng-snd

repo: DanielYKPan/date-time-picker


text:
FAILED SYNC IMAGE docker.io/library/busybox:latest

SYNC docker.io/library/busybox:latest

镜像不存在, 请根据模板提示, 填写正确的镜像

repo: DaoCloud/public-image-mirror


text:
Features and enhancements request

There are 4 in total,sorry for my poor English first,hope these pics can help.

Gallery info alignment

2.Add option to allow user to choose column quantity in both portrait and landscape,personally i request a 3 columns option in portrait

3.Add option to turn on/off gallery name

4.Shorten the distance between two page rows and add page number displaying to each page.

该意见对提升app的体验还是有点帮助的，特别是3和4项

@Dar9586
Thanks,version 1.9.8 solved 1 3 4 and only "3 column in portrait" remains to be done.

Added 3 column while in portrait in 1.9.9

Perfect,thank you.


text:
Support getting version for macOS Betas

Modify the version parsing code to support macOS Beta versions which don't include a patch version (e.g. 10.15).

Signed-off-by: Zac Brown zacbrown@users.noreply.github.com

The lint failures do not appear to be related to my change.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   82.67%   82.67%
=======================================
  Files           3        3
  Lines         127      127
=======================================
  Hits          105      105
  Misses         22       22

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 5672990...3ae2ce9. Read the comment docs.

Thank you for the pull request. As far as I can see, the Travis build is failing because of TryFrom used in cargo-audit which isn't related to your changes. I'm going to merge and release a new version soon.

authors: DarkEld3r codecov-io zacbrown


text:
NetworkServerConnection and NetworkClientConnection missing overrides.

In the documents here the example for NetworkServerConnection and NetworkClientConnection have methods that need overrides but does not have it in the examples.

Fixed in next version!


text:
Don't add trailing / in api calls

Always appending / to the resource can cause some POST requests for new resources to fail when using _callAPI / _buildRequestURI.
PR Summary
Fixes #230
PR Checklist
No new help or unit tests to write.

[N/A ] Write Help
[N/A ] Write Unit Test
[x] Update CHANGELOG.md

Thanks for the update and support. I will look into merging this PR this week.

authors: DarqueWarrior daveneeley

repo: DarqueWarrior/vsteam


text:
BTRX-277 - Implement "Download Full Application" button

[ ] Submitter: Include the JIRA issue number in the PR description
[ ] Submitter: Make sure Swagger is updated if API changes
[ ] Submitter: Check documentation and code comments. Add explanatory PR comments if helpful.
[ ] Submitter: JIRA ticket checks:

Acceptance criteria exists and is met
Note any changes to implementation from the description
Add notes on what you've tested

[ ] Submitter: Update RC_XXX release ticket with any config or environment changes necessary
[ ] Submitter: Update FISMA documentation if changes to:

Authentication
Authorization
Encryption
Audit trails

[ ] Submitter: If you're adding new libraries, sign us up to security updates for them
[ ] Tell the tech lead (TL) that the PR exists if they wants to look at it
[ ] Anoint a lead reviewer (LR). Assign PR to LR

Review cycle:

LR reviews
Rest of team may comment on PR at will
LR assigns to submitter for feedback fixes
Submitter rebases to develop again if necessary
Submitter makes further commits. DO NOT SQUASH
Submitter updates documentation as needed
Submitter reassigns to LR for further feedback

[ ] TL sign off
[ ] LR sign off
[ ] Product Owner sign off
[ ] Assign to submitter to finalize
[ ] Submitter: Verify all tests go green, including CI tests
[ ] Submitter: Squash commits and merge to develop
[ ] Submitter: Delete branch after merge
[ ] Submitter: Test this change works on dev environment after deployment. YOU own getting it fixed if dev isn't working for ANY reason!
[ ] Submitter: Verify swagger UI on dev environment still works after deployment
[ ] Submitter: Inform other teams of any API changes via hipchat and/or email
[ ] Submitter: Mark JIRA issue as resolved once this checklist is completed

Coverage increased (+0.05%) to 61.684% when pulling 2c4e071532fae34ca6d6888cf5f23424c3771e31 on BTRX-277-DownloadFullApplication into 9d378ecce2ad5f59a5b01adb160f068513793b19 on develop.

authors: coveralls vvicario

repo: DataBiosphere/consent


text:
(fleet) add network healthchecks to the script

This PR adds a couple network healthcheck to URLs we require to work for some features (APM instrumentation today). This should help diagnose if those urls are accessible.

/merge

repo: DataDog/agent-linux-install-script


text:
[BUG] There's no way to know when the trace agent is ready

Agent Environment
Agent is started locally via docker:
docker run --rm \
    --name dd-agent \
    -p8125:8125 \
    -p8126:8126 \
    -v /var/run/docker.sock:/var/run/docker.sock:ro \
    -v /proc/:/host/proc/:ro \
    -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
    -e DD_API_KEY="OMIT" \
    -e DD_APP_KEY="OMIT" \
    -e DD_AGENT_MAJOR_VERSION="7" \
    -e DD_SERVICE="myapp" \
    -e DD_HOSTNAME="localhost" \
    -e DD_ENV="dev" \
    gcr.io/datadoghq/agent:7

Describe what happened:
The start script for my application:
while ! nc localhost 8126 </dev/null; do
    echo "waiting for statsd server to start..."
    sleep 1
done

ddtrace-run myapp

If I run my start script it will sit and wait for statsd to start. If I then go and run the above docker command to start the dd agent, my start script eventually connects and then proceeds to run my app via ddtrace-run.
As my app is starting up though, I get this error:
[2022-10-28 14:42:48][ddtrace.internal.writer][ERROR] - failed to send traces to Datadog Agent at http://localhost:8126/v0.4/traces
Traceback (most recent call last):
  File "myapp/env/lib/python3.10/site-packages/tenacity/__init__.py", line 407, in __call__
    result = fn(*args, **kwargs)
  File "myapp/env/lib/python3.10/site-packages/ddtrace/internal/writer.py", line 446, in _send_payload
    response = self._put(payload, headers)
  File "myapp/env/lib/python3.10/site-packages/ddtrace/internal/writer.py", line 399, in _put
    resp = compat.get_connection_response(self._conn)
  File "myapp/env/lib/python3.10/site-packages/ddtrace/internal/compat.py", line 235, in get_connection_response
    return conn.getresponse()
  File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1374, in getresponse
    response.begin()
  File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

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

Traceback (most recent call last):
  File "myapp/env/lib/python3.10/site-packages/ddtrace/internal/writer.py", line 559, in flush_queue
    self._retry_upload(self._send_payload, encoded, n_traces)
  File "myapp/env/lib/python3.10/site-packages/tenacity/__init__.py", line 404, in __call__
    do = self.iter(retry_state=retry_state)
  File "myapp/env/lib/python3.10/site-packages/tenacity/__init__.py", line 361, in iter
    raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x106c2e9b0 state=finished raised RemoteDisconnected>]

This error comes 1 second before I finally see:
2022-10-28 21:42:48 UTC | TRACE | INFO | (run.go:254 in Infof) | Listening for traces at http://0.0.0.0:8126

In the logs for the docker dd-agent. So what's happening is my app is trying to send traces before the dd-agent is ready to send them. There needs to be some way for me to ask dd-agent if it's ready to go so that my app can wait until that time to proceed with traces.
Describe what you expected:
I expect there to be some way in either bash or python for me to ask the dd-agent, "is it ok to send traces?"
Steps to reproduce the issue:
This will happen for any application that uses ddtrace-run and can not rely on dd-agent to be running already at start up time.
Additional environment details (Operating System, Cloud provider, etc):
I see this error on linux and mac systems, aws and heroku.

Hi @lexicalunit, thanks for using Datadog.
Since in this case the port on the host is opened by docker rather than the agent itself, it indeed happens before the agent is ready to handle requests. It may be better to wait until a full http request succeeds, for example by running curl http://localhost:8126/info instead of nc. If you need further assistance, feel free to reach out to our support.
Thanks.

authors: lexicalunit vickenty

repo: DataDog/datadog-agent


text:
Adds 'print-default-build-tags' invoke task

What does this PR do?
Adds an extra invoke task to print out go build tags for a given build configuration.
eg:
$ inv print-default-build-tags
apm,consul,containerd,cri,docker,ec2,etcd,gce,jetson,jmx,kubeapiserver,kubelet,netcgo,orchestrator,otlp,podman,process,python,secrets,systemd,zk,zlib

$ inv print-default-build-tags -a arm64 -b agent -f iotoo
'iotoo' does not correspond to an agent flavor. Options: ['base', 'iot', 'heroku', 'dogstatsd']

$ inv print-default-build-tags --help
Usage: inv[oke] [--core-opts] print-default-build-tags [--options] [other tasks here ...]

Docstring:
  Build the default list of tags based on the build type and current platform.
  Prints as comma separated list suitable for go tooling (eg, gopls, govulncheck)

  The container integrations are currently only supported on Linux, disabling on
  the Windows and Darwin builds.

Options:
  -a STRING, --arch=STRING
  -b STRING, --build=STRING
  -f STRING, --flavor=STRING

Motivation
Various go tooling takes in a build-tags parameter to run checks/analysis against a codebase.
I implemented this as a convenience for developers to configure their tooling correctly when working on the agent codebase.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
N/A
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Maybe you can use something like
@task
def print_default_build_tags(ctx, build="agent", arch="x64", flavor=AgentFlavor.base.name):
    """
    Build the default list of tags based on the build type and current platform.
    Prints as comma separated list suitable for go tooling (eg, gopls, govulncheck)

    The container integrations are currently only supported on Linux, disabling on
    the Windows and Darwin builds.
    """

    try:
        flavor = AgentFlavor[flavor]
    except KeyError:
        raise Exit(message=f"`{flavor}` is not an agent flavor", code=1)
    print(",".join(sorted(get_default_build_tags(build, arch, flavor))))

for the flavor issue

Thanks for the suggestion, works great

No particular rush for this to get in, moving it to 7.40

authors: paulcacheux scottopell