MFA Zone tab stays empty

When I run testnet from sunet-custom-with-gss branch, the drawer tab exists but is empty. There are no errors in the web console.
Something apparently changed in my test setup that's causing this. Investigating.

There is a CSP error but Im not sure whether that was already there before. The OCA.mfazones object is there.

It would make it easier if I could use localhost instead of testnet setup but that's currently not working due to https://github.com/pondersource/nextcloud-mfa-awareness/issues/93

It's probably because https://github.com/pondersource/mfazones/blob/main/js/plugin.js is not getting executed, will test and debug.

Hm, still seeing this with
git checkout fb4582337e3c236543be859e0cc463cc876241a1

I can see in the js logs that a GET request to http://sunet-nc2/index.php/apps/mfazones/access?source=/testfolder is failing with 500 error code when the user opens the details side menu.

I also added a log to https://github.com/pondersource/mfazones/blob/main/js/plugin.js inside the attach function. I don't see the log in the console.

Also this error message appears on an interval in the sunet-nc2 logs. It seems unrelated though.
<IP_ADDRESS> - - [13/Nov/2023:10:15:15 +0000] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 1303 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
{"reqId":"ez82upXjX5siaC4XdcLD","level":4,"time":"2023-11-13T10:15:15+00:00","remoteAddr":"<IP_ADDRESS>","user":"usr1","app":"no app in context","method":"POST","url":"/index.php/apps/text/session/sync","message":"Could not boot mfazones: The given tag id is invalid","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0","version":"<IP_ADDRESS>","exception":{"Exception":"UnexpectedValueException","Message":"The given tag id is invalid","Code":4,"Trace":[{"file":"/var/www/html/apps/workflowengine/lib/Manager.php","line":592,"function":"validateCheck","class":"OCA\\WorkflowEngine\\Check\\FileSystemTags","type":"->","args":["is","1"]},{"file":"/var/www/html/apps/workflowengine/lib/Manager.php","line":350,"function":"validateOperation","class":"OCA\\WorkflowEngine\\Manager","type":"->","args":["OCA\\FilesAccessControl\\Operation","",[["OCA\\WorkflowEngine\\Check\\MfaVerified","!is","",false],["OCA\\WorkflowEngine\\Check\\FileSystemTags","is","1",false]],"deny",["OCA\\WorkflowEngine\\Helper\\ScopeContext"],"OCA\\WorkflowEngine\\Entity\\File",[]]},{"file":"/var/www/html/apps/mfazones/lib/AppInfo/Application.php","line":149,"function":"addOperation","class":"OCA\\WorkflowEngine\\Manager","type":"->","args":["OCA\\FilesAccessControl\\Operation","",[["OCA\\WorkflowEngine\\Check\\MfaVerified","!is","",false],["OCA\\WorkflowEngine\\Check\\FileSystemTags","is","1",false]],"deny",["OCA\\WorkflowEngine\\Helper\\ScopeContext"],"OCA\\WorkflowEngine\\Entity\\File",[]]},{"file":"/var/www/html/apps/mfazones/lib/AppInfo/Application.php","line":80,"function":"addFlows","class":"OCA\\mfazones\\AppInfo\\Application","type":"->","args":[]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":107,"function":"__construct","class":"OCA\\mfazones\\AppInfo\\Application","type":"->","args":[]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":186,"function":"getAppContainer","class":"OC\\ServerContainer","type":"->","args":["mfazones","mfazones"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":153,"function":"getAppContainerForService","class":"OC\\ServerContainer","type":"->","args":["OCA\\mfazones\\AppInfo\\Application"]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":196,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\mfazones\\AppInfo\\Application"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":213,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["mfazones"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::","args":["mfazones"]},{"file":"/var/www/html/lib/base.php","line":1045,"function":"loadApps","class":"OC_App","type":"::","args":[]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/workflowengine/lib/Check/FileSystemTags.php","Line":109,"message":"Could not boot mfazones: The given tag id is invalid","exception":{},"CustomMessage":"Could not boot mfazones: The given tag id is invalid"}}```

This log appears on a short cycle and makes it unable to debug other stuff. So I am going to prioritize it. Whatever it is, it seems related to mfazones so fixing it will only help I guess.

This error message might be related. Because it is about a failure in loading the mfazones app: "Could not boot mfazones"

The error stems from this bit of code from the mfazones Application class:
                         "class" => "OCA\WorkflowEngine\Check\FileSystemTags",
                         "operator" => "is",
                         "value" => $tagId,
                         "invalid" => false

Where the $tagId is queried from systemTagManager. A tag which is created if not exists via a call to addTag function. But the error says "The given tag id is invalid".

The tag is visible in the database which is not a surprise since I already in my logs that the value for $tagId is 1.
MariaDB [nextcloud]> SELECT * FROM oc_systemtag
    -> ;
+----+---------+------------+----------+
| id | name    | visibility | editable |
+----+---------+------------+----------+
|  1 | mfazone |          0 |        0 |
+----+---------+------------+----------+
1 row in set (0.000 sec)```

I changed the tab visibility value to true in the database and it fixed this issue along with the repeating error message. So changing:
$this->systemTagManager->createTag(self::TAG_NAME, false, false);

to:
$this->systemTagManager->createTag(self::TAG_NAME, true, false);
```
in the mfazones `Application` class fixes this issue.

The change is applied in this commit.

Verified with @MahdiBaghbani that the issue is fixed.


[pipeline] add pipeline forward for variants of gpt2

📌 Checklist before creating the PR

[x] I have created an issue for this PR for traceability
[x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[x] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

#4200
📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

Support pipeline forward for transformers.GPT2LMHeadModel
Support pipeline forward for transformers.GPT2ForTokenClassification
Support pipeline forward for transformers.GPT2ForSequenceClassification
Refactoring module_policy/get_held_layers methods in gpt2 policy
Add relevant tests

💥 Checklist before requesting a review

[x] I have linked my PR to an issue (instruction)
[x] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[x] I have performed a self-review of my code
[x] I have added thorough tests.
[x] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[x] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

Tests:


Fix invalid use of size_t instead of uint64_t

API calls require the use of uint64_t by convention to avoid the
architecture-dependent size of size_t. Using size_t generates a cast
error on x86 architectures.

This is currently breaking CI, and is only affecting the tests (not the library).
https://dev.azure.com/aipmr/MixedReality-WebRTC-CI/_build/results?buildId=12029&view=results


tests are failing, things are broken

Hey lytics. Nice project you have here. I'm using it in something for work. Unfortunately the latest merge here has broken tests. If you run go test .  at this projects root you will see that the latest commit broke things with the ? string somehow.
commit 2c06157bd55d0d09bb15e7648606e065a8a5079f has passing tests, so I am pinning to that commit for the time being.
the latest commit: 6146185d8a0363f33780de1629e292efcd12d2cd doesn't have passing tests, and in my project's tests that depend on this, it runs into out of bounds errors
You should probably look into automating the CI, so that you don't break your test :)

Here is a working library if you are interested:
https://github.com/nicksnyder/base62


Update README.rst

Add instructions to install on Arch Linux through AUR.

Fair enough, I'll include this in the release.


Miscellaneous Solidity fixes

Addresses issues:

https://github.com/Snowfork/polkadot-ethereum/issues/42
https://github.com/Snowfork/polkadot-ethereum/issues/56

That’s great!
Just one question: Is the duplicate decodeUint256 necessary?

Right now Scale.sol contains all the Scale decoding work, while Decode.sol is a library that only includes the functions required by the current codebase.


Logbook.strategy property is not defined in spring-configuration-metadata.json

At this time (2.0 RC1) the new property logbook.strategy and its possible values is not defined in logbook-spring-boot-autoconfigure-2.0.0-RC.1.jar!/META-INF/spring-configuration-metadata.json
This avoids hinting and proper validation in Intellij IDEA in the app configuration file.
Expected Behavior
Property should be added and described
Actual Behavior
Definition is missing.
Possible Fix
Declare new property and its possible values.

Thanks for the issue. :handshake:
I just opened #554 with a fix.


If no doc identifier supplied, use title

As discussed in https://github.com/metanorma/metanorma-nist/issues/124:
Retrieving the following:
* [[[NISTCSF11,NIST Framework for Improving Critical Infrastructure Cybersecurity Version 1.1]]], _NIST Framework for Improving Critical Infrastructure Cybersecurity Version 1.1_
should treat the document title, "NIST Framework for Improving Critical Infrastructure Cybersecurity, Version 1.1", as the NIST document identifier, given that that is how it is cited in text, and that no actual document identifier has been supplied for screen scraping.
In addition, "NIST" should not be redundantly prefixed to this "document identifier" outside of NIST contexts.

The screenscraped page has inserted the document subtype, "White Paper", as the document identifier in the #pub-header-full-display container. So I will need to do exception handling: we do not have a clear indication within the paper of what labels are or are not docidentifiers.
@ronaldtse, do you know what other instances there are of NIST documents without identifiers?

This is indeed a white paper, as the DOI indicates CSWP.
Only the SP FIPS and NISTIR (from CSRC and other NIST labs) have consistent document identifiers.

... So if the document identifier is not prefixed by SP, FIPS, or NISTIR, I will throw it out, and replace it with the title.
... My God.
Please confirm.

Actually, it's worse than that: I can't throw it out, because it is in fact the doctype. I have this working currently, but I will need to change it so that #pub-header-full-display is being used as a doctype unless it is prefixed with SP, FIPS, or NISTIR

I have done this, will need to do some debugging, will publish tonight.

... No, got it done.

@opoudjis remember, for SP and FIPS, we will transition to their new Metanorma JSON endpoint, so the parsing there is much simpler for those two types.

Which I just found out about this morning.


How/why/when to update package-lock.json?

There are two files with this name in the delphi-epidata repo, one in the root and one in src/client/packaging/npm/.  package-lock.json files are generated from package.json files that reside in the same directory, by running various npm commands.  It is not fully clear when or why these should be regenerated, or what all of the ramifications are when they are or are not regenerated.
The version number for the most recent release was bumped from 0.3.21 to 0.4.0 in src/client/packaging/npm/package.json, but the associated src/client/packaging/npm/package-lock.json still has version 0.3.14.  The prior release has been living with this, so i presume its not a showstopper.  Is this supposed to be taken care of by dependabot?
We also had recent changes to the one in the repo root dir.  see: https://github.com/cmu-delphi/delphi-epidata/issues/980#issuecomment-1256756392
The purpose of this file is even less clear to me, as it is not seemingly tied to our releases.

I'm not familiar with npm at all, but I think @sgratzl would know more about this.


.bot file deprecated

With SDK 4.3+ the .bot file has been deprecated.  This documenation needs to be updated to represent the correct way to build a QnA Maker bot without the .bot file.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 466e4935-993f-ed61-0446-c6eff7310572
Version Independent ID: 50fe83f8-c261-0bbe-5b8e-910ee27f17dc
Content: Azure Bot Service tutorial to have a bot answer questions - Bot Service
Content Source: articles/v4sdk/bot-builder-tutorial-add-qna.md
Service: bot-service
Sub-service: sdk
GitHub Login: @JonathanFingold
Microsoft Alias: v-jofing

The docs, sample, and templates (VS, Yeoman) will be released during the first week of May. We are currently working on getting things ready.

@Kaiqb so what are we do to until the first week of May - use the older SDK?


Preparing for a release 1.3.0

updating the change-log

Coverage: 62.375%. Remained the same when pulling 9969bc52ebbae168a537b0f7194d002f8ba3925b on hosseinsh-changelog-1.3.0 into ba4f02e54d18e53536052139500cf95b5e2be384 on master.


add postcss-choose-color

Merged in by https://github.com/himynameisdave/postcss-plugins/commit/a740902f36cbe870550bee2a23757b7b7209cd32


Detect C++11 support for Visual Studio 2015.

This patch changes include/internal/catch_compiler_capabilities.h so that it detects C++11 features in Visual Studio 2015.

Thanks for that.
I've actually reorganised catch_compiler_capabilities.h - and added the nullptr detection for VS2015 as part of that. The CPP11_OR_GREATER, though, I don't think VS2015 is quite ready for yet (and I have diminished its use in Catch anyway).


Regression caused in move to botocore by removal of copy_managed

This was added in #117 to deal with copying files larger than 5GB within S3.
This is now no longer working since we have removed the copy_managed

So apparently we need to do a multi-part upload where all the blocks are copies - not too hard. https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html


Cannot run lesswrong2 locally

Steps to reproduce:

Checkout this repo
npm install
npm start

I get the following error:
 Error: Could not construct a client with those parameters
W20180422-12:01:28.391(-5)? (STDERR)     at new Client (/home/james/code/lesswrong2/node_modules/intercom-client/dist/client.js:90:13)
W20180422-12:01:28.392(-5)? (STDERR)     at server.js (packages/lesswrong/lib/events/server.js:5:22)

It looks like it's not able to read the intercom API key from settings.json.
Can you try to reproduce this issue and let me know if you get it too?
This is using node 7.2.1 and npm 4.0.5

Have you added your own Intercom API key in settings.json?

settings.json already has an intercom api key.
When I add a console.log statement to server.js to log the value, it comes
back as undefined
This leads me to believe that the problem is that it's not reading the
configuration file for some reason
On Sun, Apr 22, 2018, 5:31 PM Capax<EMAIL_ADDRESS>wrote:

Have you added your own Intercom API key in settings.json?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Discordius/Lesswrong2/issues/534#issuecomment-383417570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0sE8TUPgacxcmLRhqJ-Zjnk6W49_qRks5trQSygaJpZM4Te8RI
.

It's working now. No clue why - I didn't change anything.
Closing issue.


Add configuration for 'id' shorthand, or be able to create own shorthand

Right now we have 'id' as a shorthand for { type: 'serial', primaryKey: true }. But in my application I would like to use uuid's instead, while I could of course specify that every single time, it is more DRY if I could just create my own shorthand.
This would require a sort of configuration file.
If this is something that seems to fit in the library, I could try and submit a PR.

Interesting idea

Similarly, I have 'created_at' in pretty much all my tables, so that would also be something that could be DRY'd up.

See #91

Awesome! :+1: Thanks a lot for this!


operator hive-operator (1.2.4132-6dfd1cf)

Update Hive community operator channel alpha to 1.2.4132-6dfd1cf

/merge possible

/retest-required

/merge possible

/merge possible


chore: highlight matching words in JS Editor

Description

Fixes #9330
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Manual
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: chore/add-word-match-highlighting-to-js-editor

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
56.59 (0)
38.39 (-0.01)
35.84 (0)
56.83 (-0.01)

:green_circle:
app/client/src/components/editorComponents/CodeEditor/index.tsx
77.03 (0.06)
58.41 (0)
65.22 (0)
78.53 (0.07)

:red_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.71 (-0.23)
40.83 (-0.84)
36.21 (0)
56.74 (-0.25)

/ok-to-test sha=e023116

/ok-to-test sha=dd1fe17


Connecting to MySQL with SSL

Add additional config options in order to connect to MySQL server via SSL.

Hi @sofanixys.
We have added parameters for connecting to MySQL using client certificates in v3.12.1.
This functionality now works with MySQL 8.0 and higher. We encountered a problem, when connecting to MySQL 5.7 there is a tls handshake error. To solve this problem, issue has been opened.


New Airport: KPDX (Portland International Airport)

This is my second take at an American airport, and to be honest, I'm pretty proud of it. This is also the first time I make an airport with a video map! There's some interesting mountains to the east of the airport, but unfortunately, the P80 TRACON is not big enough to see them.

lookin' good! workin' good! :+1: :+1:

@Fechulo PS don't throw away the qGIS files, as we may want to come back later and clean up the edges a bit. Overall, very nice work though! It's a fun little airport I think!

Thanks for the feedback! I was surprised as to how easy it actually was to add the video map. Nowhere near as difficult as terrain! :smile:

True dat... The terrain is by far the most painful... lol


How do I get verbose warnings when I run golint?

When I run golint, I'm just getting the file names, line numbers, and a brief message.
server.go:66:1: exported function AddContacts should have comment or be unexported
server_test.go:24:2: var myUserId should be myUserID

I see that the code adds url descriptions to the warnings: https://github.com/golang/lint/blob/dea130113ab8ebacb52dbce09c9a4c92951afdca/lint.go#L533
How do I get golint to print those out with the urls?  It would have been much nicer to have a link to this immediately: https://github.com/golang/go/wiki/CodeReviewComments#initialisms

Golint is built as a library, and the golint command is a relatively simple wrapper around that. You can fork that command and fully customise the output format, or integrate the library into some completely separate system and render links appropriately (e.g. with HTML styling).


Progressively enhanced combobox for developer specialties

Developer specialties is live (behind a feature flag) but the UX isn't great. And definitely won't scale. The second image is only about half of what is actually there!

Developer form
Developer search

I'd like to change these two input fields to typeahead comboboxes. Stack Overflow's "tags" feature is a great baseline to model this after.

 Clicking one adds it to the input field with an X. Clicking the X removes that tag.
I've already built out some of this in the combobox branch. When you render the partial you get typeahead search powered by Hotwire - the only custom JavaScript is to progressively enhance the form with autocomplete and hide some browser validations.
The inputs should be progressively enhanced and continue to work if someone doesn't have JavaScript enabled. This probably means rendering the existing checkboxes then hiding them in a Stimulus controller to show the combobox.
Ideally, whatever is built can be reused for the location search as well. If possible, please build these components with that idea in mind.

Please note that I don't have a ton of experience with building dynamic inputs like this. I will probably push back on every line of custom JavaScript you write! So I'm looking for someone who has done this before and can teach me how best to build this.
I've tripled the bounty ($75) to reflect that. Thanks!

The best I have ever read on the select-multiple combobox pattern is this two-part series from Sarah Higley: https://sarahmhigley.com/writing/select-your-poison/
The exploration, user testing, and final recommendations directly inspired my take on this pattern: https://codepen.io/smargh/pen/jOGZwKW
Most importantly, IMO, is the user feedback that the StackOverflow-like approach that puts the "tags" inside the input is harder to work with, since the typeable area is always moving and shifting.

That's a great point regarding inside vs. outside. Thanks for sharing @fractaledmind!
Do you have any interest in working on this issue? If not, no worries. :)

Just adding this here (following our Twitter chat) as it might be helpful for whoever picks up this feature.
https://purpleriver.dev/posts/2023/search-and-select-hotwire

Starting on this!

Excellent! All yours @MiaSinek.
Let me know if have questions. I feel like there are a lot of product edge-cases that might come up with this one. If I don't hear from you in a week or so I'll reach back out.


Update DicomStoreExport.java

Java 8 doesn't appear to pass tests

@noerog has just changed tags
@averikitsch @kurtisvg do we want to fix the test repos or admin merge (or something else)

#1481 already has the test as flaky, so I'm fine with admin merging.


Decorator node inconsistency issue

Thanks for the great set of examples! They're super helpful. I'm looking to use py_trees for my setup and I'm following the examples that you've given, especially with the go to locations decorator node.
Let us say I have a fallback node : OR that can either do action 1 or action 2. Action1 is a searchAndGoto node that has your decorator node. It is a sequence that first searches for a location, and goes to that location, inside a decorator node that performs this until it is successful. Action2 is just another action (that always succeeds, let's say). As per this setup, I would like the fallback node to complete Action1, i.e. exhaust all the locations, and then try action2 only if action1 fails. Here's the associated code snippet:
`
    sel = py_trees.composites.Selector(name = "or", memory=True)
    seq = py_trees.composites.Sequence(name="search", memory=True)
    dec = py_trees.decorators.OneShot(
        name='root', child=seq, policy=py_trees.common.OneShotPolicy.ON_SUCCESSFUL_COMPLETION
    )
    tree = py_trees_ros.trees.BehaviourTree(sel, record_rosbag=False)

    tree.setup(timeout = 15.0)
    sel.add_child(dec)
    sel.add_child(GoToPose(
            name = "action2"
        ))

    seq.add_children([
        GetFVFromQueue(
            name = "get FV", blackboard_key="loc_list", fv='loc'
        ),
        GoToPose(
            name = "gotopose"
        )
    ])

`
Here's the output for the same.
('Go to loc choice is : ', 2)
[ INFO] get FV               : Terminated with status Status.SUCCESS

{o} or [*]
   -^- root [*]
       {-} search [*]
           --> get FV [✓]
           --> gotopose [*]
   --> action2

Blackboard Activity Stream

{o} or [*]
   -^- root [*]
       {-} search [*]
           --> get FV
           --> gotopose [*]
   --> action2

Blackboard Activity Stream

{o} or [*]
   -^- root [✕]
       {-} search [✕]
           --> get FV
           --> gotopose [✕]
   --> action2 [*]

Blackboard Activity Stream
[ INFO] get FV               : Terminated with status Status.INVALID

{o} or [*]
   -^- root
       {-} search
           --> get FV
           --> gotopose
   --> action2 [*]

Blackboard Activity Stream

{o} or [✓]
   -^- root
       {-} search
           --> get FV
           --> gotopose
   --> action2 [✓]

As you can see here, as soon as action1 (gotopose) fails for the first location, it fires action2. I would like for it to be stuck in action1 until the queue is empty. What's the best way to implement this?
Thanks

To me, it seems you may want to pull from the either_or idiom available here: https://py-trees.readthedocs.io/en/devel/idioms.html#either-or
So basically the condition is the success of get FV -- does this return success or failure? -- if success, run "action1", else, run "action2".
You'll then probably want to stick a Retry decorator on top of that so you... well, keep retrying after the first "action1" failure.
From your other issue to py_trees, I think you're in an older version so maybe you'll need to implement this yourself?


Can't Use Super Stream

Steps to reproduce
i got to use it and dose not work then when I configure it for some reason it wants me to sign in why is this??
Expected behavior
just to use and be done not want a sign in??
Actual behavior
...
Crash logs (or stack trace)
...
App version
Latest
Android version
14
Device
Sam s23 fe
Other details

Acknowledgements

[X] I am fully confident that this issue is related solely to the app and not to any provider.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to the pre-release version.

Apologies. Will be closing this one as it does not concern the app anymore


Wire up new map-markers back end for SAM

Resolves https://github.com/VEuPathDB/web-eda/issues/1688

[x] get something working
[x] get top 7 from distribution for categoricals
[x] basic legend functionality
[x] check dependencies and prevent extra map-markers requests and make sure marker animations are not interrupted
[x] resolve issue with extra (sometimes failing with 400) data request when changing variable
[x] continuous overlays
[x] sort out entity counts - especially totalEntityInSubsetCount which is currently 42
[x] address all "TO DO"s relevant to the issue
[x] tidy up unused imports etc, remove console logging

Note that this PR will not address the following (make tickets before checking off)

[x] user-specified overlay values (e.g. custom paint-by-variable for categoricals)

this will be part of https://github.com/VEuPathDB/web-eda/issues/1596

[ ] filter-awareness (e.g. if you filter on 4 values of occupation, does the distribution call get skipped?

I'm not sure we even know we want to do this. Shall we wait until we have a bit more experience with the map?

[x] user-selectable outputEntity (probably in the header to the left of the bracket)
- there may be some code in a long-reverted version of the map visualization that did this
- the last UX meeting we decided to punt on this until it becomes obvious we need it

This is now functional and usable.
There are two work-arounds for minor back end issues.

I will test out some specifics of different overlay variables and marker types, but we might need more UI in place to fully test those features.

Continuous overlays appear to be broken:
Study: SCORE S. mansoni Cluster Randomized Trial
Filters: none
Overlay variable: School-aged children in village count
Error: 500 Internal Server Error {"status":"server-error","message":"The variable value 17.0 is not in any specified bin range.","requestId":"7HvmEf9oNr4DwGIxCU6Dt3"}

Continuous overlays appear to be broken:
Study: SCORE S. mansoni Cluster Randomized Trial Filters: none Overlay variable: School-aged children in village count
Error: 500 Internal Server Error {"status":"server-error","message":"The variable value 17.0 is not in any specified bin range.","requestId":"7HvmEf9oNr4DwGIxCU6Dt3"}

Fixed now thanks to Danielle

I'll merge in main and then hopefully we can merge?

Thanks both.
@dmfalke - could you let me know when this is on qa please?

Sure. I will try to get it queued up today, so it should be on sites tomorrow.

@bobular I had a doozy of a night and won’t get this on QA sites until sometime tomorrow (Saturday). Sorry for the delay!

I'm glad to hear it @dmfalke !
No rush (until Monday 1pm EDT at least - lol)


Use listed dependency name for feature names

This commit updates the implementation of renamed dependencies to use the listed
name of a dependency in Cargo.toml for the name of the associated feature,
rather than using the package name. This'll allow disambiguating between
different packages of the same name and was the intention all along!
Closes #5753

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

r? @ehuss

@bors: r=ehuss

:pushpin: Commit a8f3bf8aab2d1c90442d4c0ac5894e3a27503bc4 has been approved by ehuss

@bors: r=ehuss

:pushpin: Commit 5295caddd58e440f2f4b128d7621210d59655a86 has been approved by ehuss

:hourglass: Testing commit 5295caddd58e440f2f4b128d7621210d59655a86 with merge ac037ab4e8d7bef2735d0d3795a5e9bb2cb4860a...

:boom: Test timed out

@bors: retry

:hourglass: Testing commit 5295caddd58e440f2f4b128d7621210d59655a86 with merge d9feff2b8864faa8053758f0c6bc20165bfbe417...

:sunny: Test successful - status-appveyor, status-travis
Approved by: ehuss
Pushing d9feff2b8864faa8053758f0c6bc20165bfbe417 to master...


Retrieve Graph Data from DSNP

Purpose
In order to know who a user follows (or unfollows), we need to retrieve graph change event from DSNP batch data.
Solution
This PR retrieves all graph change events from DSNP batches and uses it to populate the graph in Redux. It then uses that to update the UI in various places like the connection list, and the user's feed.
Change summary

Alter populate script to add follow information
Update the SDK to incorporate a parquet issue storing graph change events
Read graph change events in the SDK
Alter the redux store to store follows and followers efficiently
Modify PostLIst to use the new graph change events.
Modify ConnectionList to use the new graph change events.
Fix tests.
Update package-lock.json to version 2 (hopefully for the last time).

Steps to Verify

Start up a clean, deployed chain and the static server.
Run the new populate script.
Start the app.
Confirm that there are posts in the "Feed" tab of the post list.
Confirm that you see connections when you click "followers" in the profile block.
Confirm that you see connections when you click "following" in the profile block.
Confirm that the posts in the feed are consistent with the following list.
Confirm that the the follow/unfollow buttons in the "followers" section are consistent with the follow list.

👍 fabolous!


Fix sorting of speaker list

The listing on https://ep2017.europython.eu/en/speakers/ is only partially sorted by alphabet letters.
The relevant code is in the sessions tag module.

Closing because no longer relevant – fixed in 2018 + will be implemented differently in 2019.


Fixes a bug that causes image retrieval to never complete if it depends on an source image URL whose request is already in flight.

The bug is that are many scenarios in which _processImage:forEntity:withFormatName:formatName:completionBlocksDictionary:completionBlocksDictionary fails to call all completion blocks. Here are the simplest repro steps.

Formats A and B (neither of which are in a family)
Entity X
Both X(A) and X(B) rely on the same source image url
Retrieve X(A) and then X(B) prior to source image becoming available
When source image becomes available the image is processed and completion blocks called for A, but not B.

The fix is to redo the calculation of the list of formats that should be processed when a source image becomes available.

If you could take a moment to fix merge conflicts, I'd be happy to accept this PR. Apologies for the delay!

@mallorypaine sorry this took so long. I've just rebased this onto upstream/master fixing the conflict. Should be clean now.


Movenet does not work with android gpu delegate on unity.

Movenet does not work with android gpu delegate on unity.
hello. I want to use movenet in unity android game.
for use tensorflow lite in android unity. I should import dynamic shared library .so files
so I refered https://github.com/asus4/tf-lite-unity-sample this project.
after I made tensorflow lite module for movenet I knew there is problem to use movenet with gpu delegate.
because, the module worked almost situation. for examples
movenet + gpu + android not worked
movenet + cpu + android worked
movenet + gpu + windows worked
movenet + cpu + windows worked
posenet + gpu + android worked
posenet + cpu + android worked
posenet + gpu + windows worked
posenet + cpu + windows worked
I used https://tfhub.dev/google/lite-model/movenet/singlepose/lightning/tflite/float16/4 version of movenet model.
and I used posenet model in asus4's repository
tensorflow version is 2.6.0.

Thanks for reporting the issue. Could you share a bit more information about what you mean by "not worked"? e.g. did you get an error message and the model doesn't run? Or does the model run but at unexpectedly slow speed or produce low quality predictions?
We have an example of using MoveNet on Pixel 5 (Android) with GPU. You can also check the speed/accuracy comparison in the blogpost. Thanks.

Thank you for your response.
"not worked" means the app has been shut down.
your example is working for me. (Galaxy Note 10)
so I'm guessing there is something problem with built gpu delegate .so file

Thanks for your clarifications. Is the current situation that you were able to run the model normally with the example I shared on Android (Galaxy Note 10)? Does the same example and model work on your target device (is it Asus 4)? or you are already unblocked by the example?

The "Asus4" is user name of this repositoryhttps://github.com/asus4/tf-lite-unity-sample that I referenced. Sorry to make you confused.
You know, There is two way for using tensorflow lite in android.

using aar file( in your example )
using so file( in my project )
the issue is occurred when using so file.

and your example use tensorflow 2.5.0 and I'm using tensorflow 2.6.0. I'm not sure. If it is related with this problem.
What I learned from your example, it seems that this problem is likely related to the android gpu delegate rather than the problem with movenet itself.
Anyway if you have any idea about this issue, give me a mention or not, you can close this issue thread.

@Igniscode can you please point to the code of the following items:

How you created the Interpreter with delegate
The gradle file that you linked the .so file.
How you build the .so file?

Thanks!


Issues with fetching quotes.

I was able to successfully login into WeBull account and had no issues until I tried to use get_quote() method to print out the stock data. I am getting an SSL error shown below. I think it's unable to verify the SSL certificate for the website's "quotes-gw.webullbroker.com". Is there a way to resolve this issues?
I've also followed the instructions and installed the latest version of this package.
SSLCertVerificationError                  Traceback (most recent call last)
File ~\AppData\Roaming\Python\Python310\site-packages\urllib3\connectionpool.py:703, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    702 # Make the request on the httplib connection object.
--> 703 httplib_response = self._make_request(
    704     conn,
    705     method,
    706     url,
    707     timeout=timeout_obj,
    708     body=body,
    709     headers=headers,
    710     chunked=chunked,
    711 )
    713 # If we're going to release the connection in ``finally:``, then
    714 # the response doesn't need to know about the connection. Otherwise
    715 # it will also try to release it and we'll have a double-release
    716 # mess.

File ~\AppData\Roaming\Python\Python310\site-packages\urllib3\connectionpool.py:386, in HTTPConnectionPool._make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    385 try:
--> 386     self._validate_conn(conn)
    387 except (SocketTimeout, BaseSSLError) as e:
    388     # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.

File ~\AppData\Roaming\Python\Python310\site-packages\urllib3\connectionpool.py:1042, in HTTPSConnectionPool._validate_conn(self, conn)
...
--> 563         raise SSLError(e, request=request)
    565     raise ConnectionError(e, request=request)
    567 except ClosedPoolError as e:

SSLError: HTTPSConnectionPool(host='quotes-gw.webullbroker.com', port=443): Max retries exceeded with url: /api/search/pc/tickers?keyword=AAPL&pageIndex=1&pageSize=20&regionId=6 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))

I am able to get it working fine.
If you try curl or postman, are you able to get it working?


Check speed and look for optimizations

From @avictorious :

When I reset birth spacing preference probabilities to 1, running the model (like in example_sim.py) slows down by 3x!   This happens because more postpartum women are then set to be sexually active and have to run through check_conception at each time step, instead of being filtered off as not sexually active and irrelevant.  Code that’s responsible here: https://github.com/fpsim/fpsim/blob/1eaa4e6d023956de1790f9789b4d2c97902b37f2/fpsim/sim.py#L304-L317

@cliffckerr - Is this issue still a priority for you? Let's close if not.

Seems niche, ok to close.


Performance issue when using BulkSelect

BulkSelect is not a very performant component - the major issue is that each Item gets a newly bound onClick handler on every render, which means that each Item will rerender every time. There are two potential fixes for this: Item can ignore functions for the purposes of deciding whether to rerender or BulkSelect can avoid binding a new onClick on every render (note that this would require the onClick function to receive which item was clicked in its arguments).

Looks like Table and Pagination may also have the same issue.

In our impending rewrite of BulkSelect, we need to also make sure that individual items can be controlled and fed in simple data (i.e., BulkSelect should not require an array of selected values before beginning to render the top level of BulkSelect.

Considering closed with #88.


Error: Shape input of size 7680

@ofsoundof Thank you for your work
Actually, there are two PVT V1 and V2, PVTV2 is better than PVT V1. I am implementing your idea in PVT V2 but getting some errors. Otherwise, my network works fine, I made some changes to it. The error is pointing into  if self.sr_ratio == 1:
Remember, my image size is 112, and patch_size=8 other than that everything is same
Your Block
class Block(nn.Module):

    def __init__(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0.,
                 drop_path=0., act_layer=nn.GELU, norm_layer=nn.LayerNorm, sr_ratio=1):
        super().__init__()
        self.sr_ratio = sr_ratio
        self.norm1 = norm_layer(dim)
        self.attn = Attention(
            dim,
            num_heads=num_heads, qkv_bias=qkv_bias, qk_scale=qk_scale,
            attn_drop=attn_drop, proj_drop=drop, sr_ratio=sr_ratio)
        # NOTE: drop path for stochastic depth, we shall see if this is better than dropout here
        self.drop_path = DropPath(drop_path) if drop_path > 0. else nn.Identity()
        # self.norm2 = norm_layer(dim)
        # mlp_hidden_dim = int(dim * mlp_ratio)
        # self.mlp = Mlp(in_features=dim, hidden_features=mlp_hidden_dim, act_layer=act_layer, drop=drop)
        self.conv = LocalityFeedForward(dim, dim, 1, mlp_ratio, reduction=dim)

    def forward(self, x, H, W):
        batch_size, num_token, embed_dim = x.shape  # (B, 197, dim)
        patch_size = int(math.sqrt(num_token))

        x = x + self.drop_path(self.attn(self.norm1(x), H, W))
        # x = x + self.drop_path(self.mlp(self.norm2(x)))

        if self.sr_ratio == 1:
            cls_token, x = torch.split(x, [1, num_token - 1], dim=1)  # (B, 1, dim), (B, 196, dim)
            # print(cls_token.shape, x.shape)
            x = x.transpose(1, 2).view(batch_size, embed_dim, patch_size, patch_size)  # (B, dim, 14, 14)
            x = self.conv(x).flatten(2).transpose(1, 2)  # (B, 196, dim)
            x = torch.cat([cls_token, x], dim=1)
        else:
            x = x.transpose(1, 2).view(batch_size, embed_dim, patch_size, patch_size)  # (B, dim, 14, 14)
            x = self.conv(x).flatten(2).transpose(1, 2)  # (B, 196, dim)
        return x

Traceback (most recent call last):
  File "/media/khawar/HDD_Khawar/facerectransformer-main/code/train.py", line 231, in <module>
    print_per_layer_stat=True, verbose=True)
  File "/home/khawar/anaconda3/envs/RSC/lib/python3.7/site-packages/ptflops/flops_counter.py", line 43, in get_model_complexity_info
    _ = flops_model(batch)
  File "/home/khawar/anaconda3/envs/RSC/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/media/khawar/HDD_Khawar/facerectransformer-main/code/vit_pytorch/pvt_v2.py", line 372, in forward
    x = self.forward_features(x)
  File "/media/khawar/HDD_Khawar/facerectransformer-main/code/vit_pytorch/pvt_v2.py", line 364, in forward_features
    x = blk(x, H, W)
  File "/home/khawar/anaconda3/envs/RSC/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/media/khawar/HDD_Khawar/facerectransformer-main/code/vit_pytorch/pvt_v2.py", line 212, in forward
    x = x.transpose(1, 2).view(batch_size, embed_dim, patch_size, patch_size)  # (B, dim, 14, 14)
RuntimeError: shape '[1, 512, 4, 4]' is invalid for input of size 7680

Hi @khawar512 ,
Thanks for your interest in our work. This is a problem due to the inappropriate reshaping and dimension changing operations. To debug the code, it is helpful to analyze the dimension of the tensors in the forward function. You can do so by the changing the comments following each line. I believe it will be much easier for you to find the bug and also better for me to help you once you have done that.

Thank you @ofsoundof


[Question] Trouble accessing RawText objects outside of the current notebook or python script

Hello,
I put together some sample code for text classification inspired by the crowdsourcing example. The complaints_df dataframe below contains a text field (narrative) and a label field (with values -1 or 1)
# splitting it into train, dev, test sets
from sklearn.model_selection import train_test_split
train, testval = train_test_split(complaints_df, test_size=0.2, random_state=123)
dev, test = train_test_split(testval, test_size=0.5, random_state=123)

from snorkel import SnorkelSession
from snorkel.models import candidate_subclass, Context, Candidate, StableLabel
from snorkel.contrib.models.text import RawText

session = SnorkelSession()
values = list(complaints_df.label.unique())

# snorkel candidate, value if none defaults to binary (true, false)
Narrative = candidate_subclass('Narrative', ['narrative'], values=values)

# Make sure DB is cleared
session.query(Context).delete()
session.query(Candidate).delete()
session.query(StableLabel).delete()

train_index = train.index
train.index.str = np.asarray(str(x) for x in train.index)
train_complaints = train.values[:, 0]
train_labels = train.values[:, 1]

for element in zip(train_index, train_complaints, train_labels):
    split = 0
    raw_text = RawText(stable_id=element[0], name=element[0], text=str(element[1]))
    narrative = Narrative(narrative=raw_text, split=split)
    session.add(narrative)
    context_stable_id = "~~".join([str(element[0]), str(element[0])])
    session.add(StableLabel(context_stable_ids=context_stable_id,
                            annotator_name='gold',
                            split=0,
                            value=element[2]))
session.commit()

Now within the same session if I try to access the candidates using the following code it works well
train_cands = session.query(Narrative).filter(Narrative.split == 0).order_by(Narrative.id).all()
train_cands[0] #prints the text narrative, context

Let's say, we move this out to a different jupyter notebook or python script where we intend to utilize the generative modeling results (marginals) along with the training set we defined earlier to train a discriminative model
from snorkel import SnorkelSession
session = SnorkelSession()

from snorkel.models import candidate_subclass
Narrative = candidate_subclass('Narrative', ['narrative'])

train_cands = session.query(Narrative).filter(Narrative.split == 0).order_by(Narrative.id).all()
train_cands[0]

results in
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/loading.py in configure_subclass_mapper(discriminator)
    815         try:
--> 816             sub_mapper = mapper.polymorphic_map[discriminator]
    817         except KeyError:

KeyError: 'raw_text'

During handling of the above exception, another exception occurred:

AssertionError                            Traceback (most recent call last)
~/anaconda2/envs/snorkel/lib/python3.6/site-packages/IPython/core/formatters.py in __call__(self, obj)
    700                 type_pprinters=self.type_printers,
    701                 deferred_pprinters=self.deferred_printers)
--> 702             printer.pretty(obj)
    703             printer.flush()
    704             return stream.getvalue()

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/IPython/lib/pretty.py in pretty(self, obj)
    400                         if cls is not object \
    401                                 and callable(cls.__dict__.get('__repr__')):
--> 402                             return _repr_pprint(obj, self, cycle)
    403
    404             return _default_pprint(obj, self, cycle)

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/IPython/lib/pretty.py in _repr_pprint(obj, p, cycle)
    695     """A pprint that just redirects to the normal repr function."""
    696     # Find newlines and replace them with p.break_()
--> 697     output = repr(obj)
    698     for idx,output_line in enumerate(output.splitlines()):
    699         if idx:

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/snorkel/models/candidate.py in __repr__(self)
     62         return "%s(%s)" % (
     63             self.__class__.__name__,
---> 64             ", ".join(map(str, self.get_contexts()))
     65         )
     66

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/snorkel/models/candidate.py in get_contexts(self)
     38     def get_contexts(self):
     39         """Get a tuple of the consituent contexts making up this candidate"""
---> 40         return tuple(getattr(self, name) for name in self.__argnames__)
     41
     42     def get_parent(self):

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/snorkel/models/candidate.py in <genexpr>(.0)
     38     def get_contexts(self):
     39         """Get a tuple of the consituent contexts making up this candidate"""
---> 40         return tuple(getattr(self, name) for name in self.__argnames__)
     41
     42     def get_parent(self):

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py in __get__(self, instance, owner)
    274             return dict_[self.key]
    275         else:
--> 276             return self.impl.get(instance_state(instance), dict_)
    277
    278

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py in get(self, state, dict_, passive)
    680                     value = callable_(state, passive)
    681                 elif self.callable_:
--> 682                     value = self.callable_(state, passive)
    683                 else:
    684                     value = ATTR_EMPTY

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py in _load_for_state(self, state, passive)
    721
    722         return self._emit_lazyload(
--> 723             session, state, primary_key_identity, passive
    724         )
    725

<string> in <lambda>(self, session, state, primary_key_identity, passive)

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py in _emit_lazyload(self, strategy_options, session, state, primary_key_identity, passive)
    811                 .with_post_criteria(lambda q: q._set_lazyload_from(state))
    812                 ._load_on_pk_identity(
--> 813                     session.query(self.mapper), primary_key_identity
    814                 )
    815             )

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/ext/baked.py in _load_on_pk_identity(self, query, primary_key_identity)
    600         )
    601
--> 602         result = list(bq.for_session(self.session).params(**params))
    603         l = len(result)
    604         if l > 1:

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/loading.py in instances(query, cursor, context)
    103     except Exception as err:
    104         cursor.close()
--> 105         util.raise_from_cause(err)
    106
    107

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/util/compat.py in raise_from_cause(exception, exc_info)
    381     exc_type, exc_value, exc_tb = exc_info
    382     cause = exc_value if exc_value is not exception else None
--> 383     reraise(type(exception), exception, tb=exc_tb, cause=cause)
    384
    385

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/util/compat.py in reraise(tp, value, tb, cause)
    127         if value.__traceback__ is not tb:
    128             raise value.with_traceback(tb)
--> 129         raise value
    130
    131     def u(s):

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/loading.py in instances(query, cursor, context)
     83             if single_entity:
     84                 proc = process[0]
---> 85                 rows = [proc(row) for row in fetch]
     86             else:
     87                 rows = [

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/loading.py in <listcomp>(.0)
     83             if single_entity:
     84                 proc = process[0]
---> 85                 rows = [proc(row) for row in fetch]
     86             else:
     87                 rows = [

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/loading.py in polymorphic_instance(row)
    837         discriminator = row[polymorphic_on]
    838         if discriminator is not None:
--> 839             _instance = polymorphic_instances[discriminator]
    840             if _instance:
    841                 return _instance(row)

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/util/_collections.py in __missing__(self, key)
    732
    733     def __missing__(self, key):
--> 734         self[key] = val = self.creator(key)
    735         return val
    736

~/anaconda2/envs/snorkel/lib/python3.6/site-packages/sqlalchemy/orm/loading.py in configure_subclass_mapper(discriminator)
    817         except KeyError:
    818             raise AssertionError(
--> 819                 "No such polymorphic_identity %r is defined" % discriminator
    820             )
    821         else:

AssertionError: No such polymorphic_identity 'raw_text' is defined

So the problem does seem with the "RawText" object defined earlier in the code.
But otherwise accessing counts, or marginals or gold labels seem to work fine. Example, the following does give me the number of observations in my training set, etc.
session.query(Narrative).filter(Narrative.split == 0).order_by(Narrative.id).count()

Any thoughts or suggestions on how to deal with this? Thanks.

Hi @nishamuktewar, it sounds like Snorkel v0.9 will suit your needs much better since we don't require you to store your text in a prespecified schema. You can check out our new crowdsourcing tutorial for more ideas. If you're still looking to use Snorkel v0.7, feel free to reopen this issue on https://github.com/snorkel-team/snorkel-extraction.


Allow setting bool fields of ChannelEdit to false

Setting e.g. ChannelEdit.Archived = false is currently not possible as Go will treat a false value as empty and will omit the archived property from the resulting JSON object. The same goes for Locked, NSFW and Invitable.

Please note the checks.


Windows Hello for Business vs. Virtual Smart Card

Virtual Smart Card is being superseded by Windows Hello for Business. It would be a good idea to include that information on this Virtual Smart Cards topic.
Refer to this page: https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-faq
Specifically this statement: "Microsoft recommends new Windows 10 deployments to use Windows Hello for Business. Virtual smart card remain supported for Windows 7 and Windows 8."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 263e05e9-23b3-40bb-0db2-cf215414457e
Version Independent ID: 8e32b5ef-93dc-4573-0ed6-a941cf1186fb
Content: Virtual Smart Card Overview (Windows 10)
Content Source: windows/security/identity-protection/virtual-smart-cards/virtual-smart-card-overview.md
Product: w10
Technology: windows
GitHub Login: @DaniHalfin
Microsoft Alias: daniha

@officedocsbot assign @e0i

@robmacf
The issue has been noted and the document will be revised in the light of your feedback.
Thank you.

@robmacf
With the help of your feedback, the content has been updated with relevant changes accordingly. Thanks.

@officedocsbot close


Sum with axis

Nice!
This is what I changed it to.
https://github.com/geohot/tinygrad/commit/7f249ec76da5b1196aded658c9575e5447aca27c


ARROW-7372: [C++] Allow creating dictionary array from simple JSON

Simple value types are supported: integers, string-like, decimal

Thanks for the suggestions. I'm going to merge when CI is green.


⚠ Bofrost.at has degraded performance

In e118d04, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1582 ms

Resolved: Bofrost.at performance has improved in 78884d0.


”Zătreni”, ”Butanu”, ”Ciortești”, ”Dealu Glămeia”, ”Dealu Văleni” are listed in the drop-down menu

Description:
When user writes ”Zătreni”, ”Butanu”, ”Ciortești”, ”Dealu Glămeia”, ”Dealu Văleni” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Zătreni"

Expected results
The location appears in the drop-down menu as "Sat Zătreni, VÂLCEA (Zătreni)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Butanu"

Expected results
The location appears in the drop-down menu as "Sat Butanu, VÂLCEA (Zătreni)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Ciortești"

Expected results
The location appears in the drop-down menu as "Sat Ciortești, VÂLCEA (Zătreni)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Dealu Glămeia"

Expected results
The location appears in the drop-down menu as "Sat Dealu Glămeia, VÂLCEA (Zătreni)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Dealu Văleni"

Expected results
The location appears in the drop-down menu as "Sat Dealu Văleni, VÂLCEA (Zătreni)".


2FA Does not work for logins

Screenshot of the specific issue here:

Basically, though, undefined method 'verify_with_drift' for #<ROTP::TOTP:0x000000000739a718> is the exact error, I can get you full stack trace if you need it.
Note that because I have 2FA enabled I can't login to Metasmoke for any Smokey related things either because of this.

If you have an SE account, you should be able to log in with SE to skip 2FA.

Except I dont.  Therefore the workaround doesnt work.
This issue was filed at @Undo 's request.

Also, as a FR, what do we think of letting devs disable 2FA for users? Or is that too rare of a use case? cc @Undo1

The rotp gem got updated from 3.3.1 to 4.0.2 in febc379b, which appears to be when tests started failing. We really should care about tests more.

Just locked rotp to 3.3.1, but we really should update to 4.0.2, so not closing.

@ArtOfCode- (since you wrote this code) Pretty sure this just need to change to verify(params[:code], drift_before: 15, drift_after: 15), but I'm not quite sure.
https://github.com/Charcoal-SE/metasmoke/blob/9b86338533f8eeb9467765d4fc5217ed86113232/app/controllers/custom_sessions_controller.rb#L38

just as an FYI, the 'hotfix' pushed by @thesecretmaster worked.  I can login again to MS.


[JBEAP-10146] added more security permissions to the tests

Jira was very old on for a different version.  Closing

@rsearls , sorry I'm not sure I understand your last comment, are you saying you wanted to close this PR?

I forwarded you email from Marek as to why.


adding models to the source causes full redraw of the columns

Hi,
first of all, thx for the nice plugin :)
I'm trying to get deckgrid to work nicely with ngInfiniteScroll, but it looks like the columns are redrawn for every new item added to the collection, is that correct ? I've seen a closed ticket where it's supposed to work.. I just can't see how.
My items are images, every time I add some new images, it triggers a complete redraw of the layout (including the new items, which is correct). All images are re-loaded, etc... which makes for a rather bad user experience...
Can you please let me know if there's a way to add new items to the source model without triggering a complete redraw ?

+1

This is the solution I implemented (I know it can be done in a more elegant way, with regard to  $$addElementsToColumns function but unfortunately I did not have much time):
Deckgrid.prototype.$$onModelChange = function $$onModelChange (newModel, oldModel) {
            var self = this;
            newModel = newModel || [];
            oldModel = oldModel || [];

            var newModelOldLength = angular.copy(newModel);
            newModelOldLength.splice(oldModel.length);

            if(angular.equals(oldModel, newModelOldLength) && oldModel.length != 0){
            	var elementsToAdd = angular.copy(newModel);
            	elementsToAdd = elementsToAdd.splice(-(newModel.length - oldModel.length));
            	self.$$addElementsToColumns(elementsToAdd);
            }else{
            	self.$$createColumns();
            }
};

Deckgrid.prototype.$$addElementsToColumns = function $$addElementsToColumns (elements) {
            var self = this;

            if (!this.$$scope.layout) {
                return $log.error('angular-deckgrid: No CSS configuration found (see ' +
                                   'https://github.com/akoenig/angular-deckgrid#the-grid-configuration)');
            }

            angular.forEach(elements, function onIteration (card, index) {
            	index = self.$$getTotalElements();
                var column = (index % self.$$scope.layout.columns) | 0;

                if (!self.$$scope.columns[column]) {
                    self.$$scope.columns[column] = [];
                }

                card.$index = index;
                self.$$scope.columns[column].push(card);
            });
};

Deckgrid.prototype.$$getTotalElements = function $$getTotalElements () {
        var number = 0;
        angular.forEach(this.$$scope.columns, function onIteration (value, index) {
            	number += value.length;
        });
            return number;
};

This is my fork https://github.com/symrad/angular-deckgrid/blob/master/angular-deckgrid.js.

@symrad Thanks, your changes work great!


Uploads not being processed

Several of my uploads have been disappearing. Today 3 of 5 recordings were lost in one go. The app uploads, the data is deleted from the phone (iPhone 7) and no error is reported. Application does not crash and there is no error log. It appears the server eats them. It is quite frustrating because as you know it takes time, effort, and money to drive around doing this!
I will be happy to assist, however I do not have an Xcode development machine at hand. My OSM account is theid.

As an example, the highlighted below was not processed on upload...

The other three can be seen post processing on the website:

05-04-2017 17_46.log.txt

First let me appreciate your report, we almost never (you are the first) get a report as good as yours. About your issue: as i could tell form your log file the iOS application did its job, but the server side did not process every recording that you uploaded.
Current status on server: we are actually reimplementing the processing part (because there are several bugs that ware found here). My guess is that your "missing" recordings are on the server but they are stuck in a processing queue. I will talk with the guy working on this to try to find your recordings. I can not promise that you will get them back, but I must say that until know we did not experienced any recoding loss so it is fair to assume that you will get them back.

I can confirm that your recordings are on the server. There was a bug on the processing part, your tracks stuck in a processing state. After we make them visible i will close this.

This was fixed in the meantime.


feat: display voting power

Summary
Closes: https://github.com/snapshot-labs/sx-ui/issues/433
Depends on: https://github.com/snapshot-labs/sx.js/pull/159
Depends on: https://github.com/snapshot-labs/sx-ui/pull/457
Test plan

Check voting power on different spaces.

Can you make the loading button being a circle similar than on the connect wallet button?

Otherwise it looks good


Checklists dont save the checkmarks

I add a checklist like shown in the image, but the checkmarks dont get saved when I switch to another note. If i double click to edit the text, the markdown checkmarks are not checked (they all appear as "- [ ]" without the "x")

I made a few checkbox related fixed recently. Which version of the plugin is this?

v1.0.9
Ive also just updated to v1.0.10, and it still happens

I still can't replicate this. Would you mind checking the console to see if there's any error when you click on a checkbox? https://joplinapp.org
Or alternatively please provide the complete Markdown content of the note to replicate the bug

Oh it works now. I updated to the Joplin 3.2.3 yesterday, and it is fixed now
Ive just tried on 3.2.1 (min required version for this plugin) and it is bugged there

Right, it indeed requires the latest pre release. Glad it's working now!


Made a mistake when registering new module

Pointed requirejs-svg to requirejs-text plugin (https://github.com/requirejs/text), instead of requirejs-svg (https://github.com/hippich/requirejs-svg)
Now it appears I can't unregister it, since it was pointed to repo I have no access to.. Could you guys help either re-point it to proper repo or  unregister it, so I could repeat it with proper URL?

requirejs-svg has been unregistered :heavy_multiplication_x: Thank you for using Bower :bird:


Problem with download button - bag

Hello,
I noticed that from desktop in some browsers (Opera, Chrome, Firefox ) when I click on download button it doesn’t open windows downloading bar (to save on a computer), instead of that directly opens mp4 url in new tab and playing video again.
Before fluid-player I used the kt-player and that option is worked properly.

Hi @crnidario, can you link a page to see this happen? We'll look into this issue and get a fix in place.

This is a somewhat expected behavior and depends entirely on the server where the video is served from.
By default, browsers will inline display supported videos. To force browser to download the video as file you need to use Content-Disposition header on the video serving side.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition


Password for virtual machine expired in VMware

I tried a couple obvious variants for "old password" please add machine password to readme

I managed to get in via changing time on host system to 9 nov 2024

didn't saw already closed issue, sorry.

I thought I would had the opportunity to preserve more games to justify me to release a new virtual machine, but unfortunately, as of today, 3 games are still missing. I was not motivated to do a release just to fix this for the moment, but as you noticed, changing the password yourself or changing the date from your PC fixed this annoying issue


as插件上传符号表失败 [SymtabTool-E] Failed to upload symtab file.

异常类型
编译异常
gradle版本
6.2
系统
Windows

Task :app:uploadGithubReleaseSymtabFile
[Bugly Plugin]  Run upload task in application module.
WARNING: API 'variant.getMappingFile()' is obsolete and has been replaced with 'variant.getMappingFileProvider()'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMappingFile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[Bugly Plugin]  Processing file: E:\Android\Imomoe\app\build\outputs\mapping\GithubRelease\mapping.txt
[Bugly Plugin]  Uploading file: E:\Android\Imomoe\app\build\outputs\mapping\GithubRelease\mapping.txt
[SymtabTool-I] Upload symbol file: Github-mapping.txt
[SymtabTool-I] Uploading..
[SymtabTool-I] Uploading..
[SymtabTool-E] Failed to upload symtab file.
[SymtabTool-I] You can manually upload the file on Bugly website: https://bugly.qq.com/v2/crash-reporting/preferences/dsyms/07cdf10759?pid=1
[SymtabTool-I] The file should be manually uploaded is: E:\Android\Imomoe\app\build\outputs\mapping\GithubRelease\mapping.txt
[Bugly Plugin]  Failed to upload.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 22s
31 actionable tasks: 1 executed, 30 up-to-date
18:03:17: Task execution finished 'uploadGithubReleaseSymtabFile'.

我也是上传不了

这个是什么问题？用插件我也无法上传

有解决方法吗？


Rails 5 status?

All the tests pass with Rails 5, but when I include this gem in my upgraded rails 5 project, all requests stop logging shortly after the server starts (perhaps after the first silenced request).  Has this been used successfully on a  Rails 5 project?
I ended up rolling my own middleware that just inspects the HTTP_X_SILENCE_LOGGER which was the only way I was silencing requests.
class Rails::Rack::RequestSilencer
  attr_reader :app, :options

  def initialize(app, options={})
    @app = app
    @options = options
  end

  def silent_header?(env)
    env['HTTP_X_SILENCE_LOGGER']
  end

  def call(env)
    if silent_header?(env)
      ::Rails.logger.silence { @app.call(env) }
    else
      app.call(env)
    end
  end
end

hi @johnnaegle I haven't tried it on a Rails 5 app myself yet, but your experience is a bit worrisome. I'll see if I can't figure out what's going on here.

@johnnaegle I added silencer to one of my Rails 5 apps and did some testing locally. I couldn't identify anything out of the ordinary and from what I could tell it was working alright. Now, this is hardly a valid or extensive test and I'll give more credence to your report over my limited attempt to reproduce. I wonder if Rails.logger.silence isn't actually threadsafe afterall. Were you using puma?
Despite this issue, I opted to release 1.0.0 primarily because I'd been sitting on 1.x for so long and more issues were being reported as the result of use of the significantly outdated 0.6.0 release.
I'll take another stab at reproducing this. If you have any thoughts or suggestions, they are most welcome 😄

I believe this is still an issue. I am using puma. Did anybody have a chance to take a look and try to 'bridge' this issue?

Works for me on 5.1.2, both in development and production. Also using puma.

Its not working for me with Puma in development.

FWIW, I was experiencing this problem on a Rails <IP_ADDRESS> app running with Puma 5.2.2 under JRuby <IP_ADDRESS> when I was using:
config.logger = Logger.new(STDOUT)

In conjunction with Puma's stdout_redirect in my Puma config (previously I'd needed to use STDOUT logging to work with a Tomcat deployment strategy before Rails 5). After switching the production config.logger to use ActiveSupport::Logger.new("#{Rails.root}/log/production.log") and having the Puma stdout_redirect just handle Puma's own output, the main logfile now continues to be written as expected with silencer enabled.


Add arguments parameter to exchange

In order to use custom attributes on an exchange, I added the option exchange_arguments to the configuration. Our use case is the Delayed Message Plugin.
Thanks

Thanks! looks good!


Create an alternative transfer page - Payments by government entity

It should look almost identical to current transfers page but with small variation in columns:
http://staging.rp.nrgi.smartlane.io:3030/transfers
Headers: Year; Paid By; Paid to; Gov entity; Level; Payment Type; Currency; Value;
Where Gov entity is ("transfer_gov_entity")
and level is "transfer_level"
For now lets just create page, and we will add link later from main page.

This table should only display values if
transfer_level =  "country"

Great work!
Small corrections based on image below

In the menu change name of link to Payments by Project  (1st one) and Payments by Recipient (2nd one)
Rename page title accordingly, for both pages: Payments by Project and Payments by Recipient
Change header from Gov entity to Government entity
Add a link/button to switch between the two pages (to make it even easier to spot)

Not sure if this deployed correctly onto staging server.
Changes should be visible on both payment pages...

to be more concrete:
http://staging.resourceprojects.org/transfers
This page should have a s title:
Payments by project

it should also have a button to switch between the two pages:
see payments by recipient


Version Tags

I've noticed that the PECL website has 5 listed versions (pre 1.0 betas, but milestones nonetheless) while the Git repo has no tags listed. Is there any plan to match the PECL version tags on the Git repo?

The future of the relationship between this project and the PECL release isn't currently clear, and I'm not sure when it will become clear. We'll figure out a pathway forward when it does.


Read Only Mode

This PR adds read only modes, either through one or more defined roles, or through read only on the current tenant.

This seems to be limited to a visual read-only effect; destructive operations can still be performed by users with read-only roles by hitting the Kibana API directly (with suitably crafted HTTP headers) e.g. DELETE http://localhost:5601/api/saved_objects/dashboard/{id}


Reduce bevy features

This PR makes the bevy features more specific, which reduces the amount of crates a build needs to pull in (from ~230 to ~200 dependencies, mostly skipping 3d rendering crates).

Thanks! I've merged the change.


[Persist] Add support to store BLOB files in the Databases.

Description:
Currently, we are mapping Ballerina's byte[] field type to SQL BINARY type. but the BINARY type is a fixed-length type that can only go up to 8000 bytes as per the documentation.
One option is to make byte[] mapped to the SQL LONGBLOB type and give an option for the user to set the type he wants as annotation etc.

I went through how others support LONGBLOB and BINARY supports in the schema file. For the bytes type, the Prisma default is mapped to the LONGBLOB and given options to set any other type through annotations. Refer[1] for more information.

https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#bytes

We should follow a similar approach. Since we don't have the annotation support yet, we can't allow setting up the SQL datatype for the user. We default mapped to the LONGBLOB which is the common usage. If the user needs any other type, he/she can update the SQL script before creating the Tables, etc.

Created different issues to support setting different SQL types for the ballerina types https://github.com/ballerina-platform/ballerina-standard-library/issues/4400


Too many temperory directories

In our tests, we have too many creation of temporary folders that never gets deleted.
Every time we have Files.createTempDirectory (there are 25 in master at this exact time), we should replace that by JUnit @TempDir folders that gets deleted by JUnit automatically (this is the equivalent of temporary folders rules in JUnit 4).

@paulodamaso/z please, pay attention to this issue

@0crat in

Bug was reported, see §29: +15 point(s) just awarded to @hdouss/z

The job #394 assigned to @dgarus/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job

@dgarus/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat wait

@0crat wait (here)

@dgarus The impediment for #394 was registered successfully by @dgarus/z

@HDouss could you pls close the issue.

@dgarus Thank you!


Cannot destroy the connection from timeout while connecting

Description
Calling socket.destroy() doesn't work if the timeout timer timed out while connecting. It has no effect. This means we still get the error event later, when it actually times out.
I think its because of this this._pending check here?
https://github.com/Rapsssito/react-native-tcp-socket/blob/master/src/Socket.js#L308
return new Promise<void>((resolve, reject) => {
  const socket = TcpSocket.createConnection(
    {
      host: '<IP_ADDRESS>',
      port: 1337,
    },
    () => {
      socket.write(payload, 'binary', err => {
        // TODO
      })
    },
  ).setTimeout(5000)

  socket.on('timeout', () => {
    socket.destroy() // Has no effect
    reject(new Error('Timed out'))
  })

  // Gets called some time after the `timeout` callback
  socket.on('error', err => {
    socket.destroy()
    reject(err)
  })
})

Notice the timestamps:

Relevant information

OS
iOS

react-native
0.65.1

react-native-tcp-socket
6.0.3

Tested using patch-package and removing the this._pending check gives me the desired result.
PR: https://github.com/Rapsssito/react-native-tcp-socket/pull/169
patch-package:
diff --git a/node_modules/react-native-tcp-socket/src/Socket.js b/node_modules/react-native-tcp-socket/src/Socket.js
index 51ca3d6..4268015 100644
--- a/node_modules/react-native-tcp-socket/src/Socket.js
+++ b/node_modules/react-native-tcp-socket/src/Socket.js
@@ -305,7 +305,7 @@ export default class Socket extends EventEmitter {
      * Ensures that no more I/O activity happens on this socket. Destroys the stream and closes the connection.
      */
     destroy() {
-        if (this._pending || this._destroyed) return this;
+        if (this._destroyed) return this;
         this._destroyed = true;
         this._clearTimeout();
         Sockets.destroy(this._id);


Output relation-graph entailment

Getting Unrecognized argument: --output-individuals but that function has been in place for a while: https://github.com/balhoff/relation-graph/commit/eb2bd72519bfa115441adbd8345dc266495d3646

ODK has the most recent relation-graph release, v2.2.2.
More importantly, it certainly has that argument:
# relation-graph --help
relation-graph
Usage: relation-graph [options]
  --usage  <bool>
        Print usage and exit
  --help | -h  <bool>
        Print help message and exit
  --ontology-file  <filename>
        Input OWL ontology
  --output-file  <filename>
        File to stream output triples to.
  --mode  <RDF|OWL>
        Configure style of triples to be output. RDF mode is the default; each existential relation is collapsed to a single direct triple.
  --property  <IRI>
        Property to restrict output relations to. Provide option multiple times for multiple properties.
  --properties-file  <filename>
        File containing line-separated property IRIs to restrict output relations to.
  --output-subclasses  <bool>
        Include entailed rdfs:subClassOf or owl:equivalentClass relations in output (default false)
  --reflexive-subclasses  <bool>
        When outputting rdfs:subClassOf, include relations to self for every class (default true)
  --equivalence-as-subclass  <bool>
        When outputting equivalent classes, output reciprocal rdfs:subClassOf triples instead of owl:equivalentClass triples (default true)
  --output-classes  <bool>
        Output any triples where classes are subjects (default true)
  --output-individuals  <bool>
        Output triples where individuals are subjects, with classes as objects (default false)
  --disable-owl-nothing  <bool>
        Disable inference of unsatisfiable classes by the whelk reasoner (default false)
  --verbose  <bool>
        Set log level to INFO

Should hold off until relation-graph 2.3 is in the ODK Docker image anyway, so the output can be TSV.

Note for the future: calling the ODK Docker image through the run script does not use the same version of relation-graph as the one installed within the image:
$ sudo ODK_IMAGE=odkfull ODK_TAG=dev sh run.sh relation-graph --help
Config
Usage: config [options]
  --usage  <bool>
        Print usage and exit
  --help | -h  <bool>
        Print help message and exit
  --ontology-file  <string>
  --output-file  <string>
  --mode  <output mode>
  --property  <string*>
  --properties-file  <string?>
  --output-subclasses  <boolean value>
  --reflexive-subclasses  <boolean value>
  --equivalence-as-subclass  <boolean value>
  --disable-owl-nothing  <boolean value>
  --verbose  <bool>

vs.
$ sudo docker run -it obolibrary/odkfull:dev relation-graph --help
relation-graph
Usage: relation-graph [options]
  --usage  <bool>
        Print usage and exit
  --help | -h  <bool>
        Print help message and exit
  --ontology-file  <filename>
        Input OWL ontology
  --output-file  <filename>
        File to stream output triples to.
  --mode  <RDF|OWL|TSV>
        Configure style of triples to be output. RDF mode is the default; each existential relation is collapsed to a single direct triple. TSV mode outputs the same triples as RDF mode, but as TSV, compacting IRIs using an optional prefixes file.
  --property  <IRI>
        Property to restrict output relations to. Provide option multiple times for multiple properties. If no properties are provided (via CLI or file), then all properties found in the ontology will be used.
  --properties-file  <filename>
        File containing line-separated property IRIs to restrict output relations to. If no properties are provided (via CLI or file), then all properties found in the ontology will be used.
  --output-subclasses  <bool>
        Include entailed rdfs:subClassOf or owl:equivalentClass relations in output (default false)
  --reflexive-subclasses  <bool>
        When outputting rdfs:subClassOf, include relations to self for every class (default true)
  --equivalence-as-subclass  <bool>
        When outputting equivalent classes, output reciprocal rdfs:subClassOf triples instead of owl:equivalentClass triples (default true)
  --output-classes  <bool>
        Output any triples where classes are subjects (default true)
  --output-individuals  <bool>
        Output triples where individuals are subjects, with classes as objects (default false)
  --disable-owl-nothing  <bool>
        Disable inference of unsatisfiable classes by the whelk reasoner (default false)
  --prefixes  <filename>
        Prefix mappings to use for TSV output (YAML dictionary
  --obo-prefixes  <bool>
        Compact OBO-style IRIs regardless of inclusion in prefixes file
  --verbose  <bool>
        Set log level to INFO

Aha, there's a newer-er version of the run script!

For reference, uncompressed PHENIO relation-graph output in TTL is ~9 Gb

TSV is a comparatively svelte 2.5 Gb.
Build works as expected now.


DDC exhausts stack for recursive LUB

The language/least_upper_bound_expansive_test checks that compilers can deal with recursive LUB.
Running this test with DDC yields a stack overflow.

Looked into this, the problem in DDC is setting up the classes, not anything to do with the LUB.
class C2<T> extends N<N<C2<N<C2<T>>>>> {
  T get c2 => null;
}

C2<dynamic> requires C2<N<C2<dynamic>>>, which requires C2<N<C2<N<C2<dynamic>>>>> etc.
VM with preview-dart-2 issues error: illegal recursive type 'N<C2<N<C2<T>>>>' (and a similar error for C1 in this example) but neither Analyzer/CFE issue the message.
The VM status file has the comment "Fail, OK: Non-contractive types are not supported in the vm."
If these types aren't supported on the VM and they aren't used in dart4web (because DDC doesn't support them), do we want to support them in the language? CC @leafpetersen

I think it's reasonable to have a contractiveness restriction.


Chrome Extension example

I use FuseBox for regular web app projects but am now looking to create a Chrome Extension. I assume this should be possible, but am wondering where to get started - how to generate a manifest file, what to include, etc.
Has anyone done this or does any guidance already exist?
If not, can a sample be added on how to use FuseBox for such a use case? (I really, really, really, don't want to revert to Webpack and Babel which appears to be what every react dev is doing in this space).

Hey, I am 100% sure it's possible .
Have you checked v4 yet ?
https://codesandbox.io/s/github/fuse-box/react-example
You can try the live example
Join our slack channel slack.fuse-box.org we will help you, also it would make sense to share the knowledge and create a bootstrap project

@mattgi I know your struggle, here is a sample chrome extension for my SpringType framework I created. You'd just need to make sure you include all the meta files. I the end your extension should consist of a folder with all the meta data and built JS (main.js) just like any other web app.
Start with the manifest.json and work your way thru the code :)
https://github.com/springtype-org/springtype/tree/master/src/devtools/src

Thank guys.
I sat back for a while after posting and then realised I could probably hack it a bit from what I was used to.
Basically the end result is a single folder that includes the manifest, icons, and js files. On file change, it repackages and I can refresh the extension in Chrome and away I go
I have a src folder with my icons, manifest, and two typescript entry point files.. and then just hooked it all up as follows:
const { FuseBox, EnvPlugin, CopyPlugin, CSSPlugin, JSONPlugin, QuantumPlugin } = require("fuse-box");
const { src, task, context } = require("fuse-box/sparky");

context(
  class {

    async createBackground() {
      const fuser = FuseBox.init({
        homeDir: "src",
        output: "public/$name.js",
        sourceMaps: !this.isProduction,
        plugins: [this.isProduction && QuantumPlugin({ bakeApiIntoBundle: "background.js", containedAPI: true })]
      });
      const bundle = fuser.bundle("background").instructions("> Background.ts");
      if (!this.isProduction) {
        bundle.watch();
      }
      await fuser.run();
    }

    async createContent() {
      const fuser = FuseBox.init({
        homeDir: "src",
        output: "public/$name.js",
        sourceMaps: !this.isProduction,
        plugins: [JSONPlugin(), CSSPlugin(), EnvPlugin({ NODE_ENV: process.env.NODE_ENV }), this.isProduction && QuantumPlugin({ bakeApiIntoBundle: "content.js", containedAPI: true })]
      });
      const bundle = fuser.bundle("content").instructions("> Content.tsx");
      if (!this.isProduction) {
        bundle.watch();
      }
      await fuser.run();
    }
  }
);

task("clean", async () => {
  await src("public")
    .clean("public")
    .exec();
  await src(".fusebox")
    .clean(".fusebox")
    .exec();
  await src(["manifest.json", "icon-16.png", "icon-48.png", "icon-128.png"], { base: "./src" })
    .dest("public/")
    .exec();
});

task("default", ["clean"], async context => {
  context.createBackground();
  context.createContent();
});

I think it can be cleaner.. and I'm used to having a task that is more like:
  const fuse = context.getConfig();
  fuse.dev({ port: process.env.PORT || 3000, fallback: "index.html" });
  context.createBundle(fuse);
  await fuse.run();

but as I wanted the file copying and the two files I ended up with the above.. any improvements you see from a cursory glance?


[Tue Jul 26 14:33:10.102425 2016] [pagespeed:error] [pid 26576] [mod_pagespeed <IP_ADDRESS>-0 @26576] Attempt to destroy unknown SHM segment [1]pagespeed_default_shm/metadata_cache.
[Tue Jul 26 14:33:10.103217 2016] [pagespeed:error] [pid 26576] [mod_pagespeed <IP_ADDRESS>-0 @26576] Attempt to destroy unknown SHM segment [1]globalstatistics.
[Tue Jul 26 14:33:10.103567 2016] [pagespeed:error] [pid 26576] [mod_pagespeed  @26576] [0726/143310:ERROR:google_message_handler.cc(59)] Attempt to destroy unknown SHM segment [1]SharedCircularBuffer.:0.

I agree this is annoying, but it's also benign.  We should figure out
what's going on and remove the warning.
On Tue, Jul 26, 2016 at 8:38 AM, Jan Galek<EMAIL_ADDRESS>wrote:

Clear install module,
OS: Ubuntu 14.04
Apache: 2.4.7
PHP: 7.0
I still get (/var/log/apache2/error.log)
[Tue Jul 26 14:33:10.099304 2016] [pagespeed:error] [pid 26576] [mod_pagespeed <IP_ADDRESS>-0 @26576] Attempt to destroy unknown SHM segment [1]/var/cache/mod_pagespeed/ flush /named_locks.
[Tue Jul 26 14:33:10.102425 2016] [pagespeed:error] [pid 26576] [mod_pagespeed <IP_ADDRESS>-0 @26576] Attempt to destroy unknown SHM segment [1]pagespeed_default_shm/metadata_cache.
[Tue Jul 26 14:33:10.103217 2016] [pagespeed:error] [pid 26576] [mod_pagespeed <IP_ADDRESS>-0 @26576] Attempt to destroy unknown SHM segment [1]globalstatistics.
[Tue Jul 26 14:33:10.103567 2016] [pagespeed:error] [pid 26576] [mod_pagespeed  @26576] [0726/143310:ERROR:google_message_handler.cc(59)] Attempt to destroy unknown SHM segment [1]SharedCircularBuffer.:0.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pagespeed/mod_pagespeed/issues/1365, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB2kPaA7-CGqlRk_OetD8GyTB-DR-zgbks5qZf_LgaJpZM4JVGcF
.

I think it's clear that this warning happens enough in practice that we are just learning to ignore it, so we might as well just not print it.  Maks?

I think I might have fixed this last week or two weeks ago, actually.
On Jul 26, 2016 9:10 AM, "Joshua Marantz"<EMAIL_ADDRESS>wrote:

I think it's clear that this warning happens enough in practice that we
are just learning to ignore it, so we might as well just not print it. Maks?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/pagespeed/mod_pagespeed/issues/1365#issuecomment-235262105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADl1REvPbJ_4w2HFJKqpR1zPsRYwbileks5qZgcrgaJpZM4JVGcF
.

Warrning ? I see error [pagespeed:error]
But when I try turn on
ModPagespeedEnableFilters responsive_images,resize_images,lazyload_images
It not work and only this errors I saw.
PS: I test one picture 1200x120 but not have attr height and width, but it set by css. Its a problem ?

I think I might have fixed this last week or two weeks ago, actually.

6ff9ecd394d26ed253dcd738f25d0641249aa1e7

but not merged - https://github.com/pagespeed/mod_pagespeed/blob/master/pagespeed/apache/mod_instaweb.cc#L307


Set non-field errors on an object in a FieldArray

As far as I can tell, it isn't possible to set a non-field error (like the form wide error) on an object in an array.
This is useful as sometimes there are non-field errors that are applied to an object in an array but not to a particular field in the object.

@halayli
It is possible, try this in your validate function:
errors.your_field_name._error = "Some error"

@nktssh I tried that but the error never made it into the props of "your_field_name"'s error where "your_field_name" is of the form "form.members[0].submember[2]._error

Pretty sure you have to use a nested object like:
{
	members: [
		{
			submembers: [
				null,
				null,
				{
					_error: 'message!'
				}
			]
		}
	]
}

This appears answered. If it is not, take a look at #3242, or let it be known!


"state" was not declared in this scope

In file included from sketch\Joystick.cpp:2:0:
sketch\HIDReportData.h:49:3: warning: #warning Modified LUFA header file. Remove the file if problematic. [-Wcpp]
#warning Modified LUFA header file. Remove the file if problematic.
^~~~~~~
C:\Users\alans\Downloads\ArduinoTaikoController-master\taiko_controller\taiko_controller.ino: In function 'void loop()':
taiko_controller:306:5: error: 'state' was not declared in this scope
state = 0;
^~~~~
C:\Users\alans\Downloads\ArduinoTaikoController-master\taiko_controller\taiko_controller.ino:306:5: note: suggested alternative: 'static'
state = 0;
^~~~~
static
taiko_controller:308:17: error: 'button_state' was not declared in this scope
state |= (button_state[i] ? 1 << i : 0);
^~~~~~~~~~~~
taiko_controller:310:20: error: 'hat_mapping' was not declared in this scope
Joystick.HAT = hat_mapping[state];
^~~~~~~~~~~
exit status 1
'state' was not declared in this scope

Fixed in the lastest commit.

Fixed in the lastest commit.


Client round-robin host management

http://groups.google.com/group/terrastore-discussions/browse_thread/thread/d2cf6
58e9dd01036

Original issue reported on code.google.com by Andrei.Pozolotin on 10 Mar 2011 at 3:01

Original comment by<EMAIL_ADDRESS>on 12 Mar 2011 at 9:46

Changed title: Client round-robin host management
Changed state: Accepted
Added labels: Type-Feature, Priority-Medium, Project-Terrastore-JavaClient, Milestone-2.5


fix: #1 fontSize on Android

I fixed the #1 issue.
I removed creation of the fontSizeProperty from the index.android.ts and imported this property from the @nativescript/core.
Also, I added getter and setter for this property.
In the demo, I added text and fontSize to the Checkbox, and fontSize to the label to verify that each of them work as expected.

@boris01 thank you so much!! ❤  Published in 2.0.4 now.


Make sure ClusterPool namespace matches

https://github.com/open-cluster-management/backlog/issues/14016

/cc @jamestalton @jeswanke


Support workaround fuse operation

What changes are proposed in this pull request?
For pass some benchmark tools like fio, I purpose to add a workaround list to pass some specific fuse operation.
Why are the changes needed?
Add a configure key contains fuse operation list separated by comma, return 0 for these method.
Does this PR introduce any user facing changes?
No

@maobaolong also, let's discuss whether we need this function in the community sync next Monday.
I think it may downgrade the performance by comparing the set in each operation call.
I don't see the needs for adding this workaround

@maobaolong please discuss with @LuQQiu offline


[Feature] Add Animated Hamburger Menu Button

Description
I want to add animated hamburger menu button
Screenshots
https://github.com/user-attachments/assets/017f1969-b5af-4071-85b8-7e01ce6a929f
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Provide your PR @VaishnaviMankala19

I'm interested in working on issue #1272. I've already reviewed the issue description and believe I have the necessary skills to contribute.
Please let me know if you're open to assigning this to me.

can you assign this issue to me?

I've created a video demonstrating my solution to the reported issue.
https://github.com/user-attachments/assets/6dd35869-48c8-4ded-9119-aca1e14ab7d5


hide the launcher after the game has started

I just want to be able to close/hide the launcher while the game is running. Is it possible? Like, Discord and Spotify has the same behavior.

why?

Well, every other game launcher hides itself after the game launch so, maybe this one should do it as well?

The launcher is designed to revert the patch when game exits.
And "XXX can do this way" is not a valid reason we must do so.


Add-SrmLicenseKey is failing with Could not find any of the servers specified by name

Code of Conduct

[X] I have read and agree to the Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation
5.1.1
Module Version
<IP_ADDRESS>6
PowerShell Version
7.4.2
PowerCLI Version
<IP_ADDRESS>51661
PowerVCF Version
<IP_ADDRESS>0
Guest Operating System
Windows Server 2022
Environment Details
Standard nested internal lab
Description
When executing the Add-SrmLicenseKey cmdlet it sometimes errors
Error or Debug Output
[05-03-2024_12:12:31] [INFO] Assigning Licenses to Site Recovery Manager for Site Protection and Disaster Recovery for VMware Cloud Foundation
[05-03-2024_12:12:36] [INFO]  Error at Script Line 6940
[05-03-2024_12:12:36] [INFO]  Relevant Command: Disconnect-SrmServer -Server $srmFqdn -Force -Confirm:$false
[05-03-2024_12:12:36] [INFO]  Error Message: 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] Unable to connect to the remote server: dr.fault.SessionLimitExceeded
[05-03-2024_12:12:36] [ERROR] Unable to connect to the remote server: dr.fault.SessionLimitExceeded
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find SrmServer with name 'sfo-m01-srm01.sfo.rainpole.io'.
[05-03-2024_12:12:36] [ERROR] System.Management.Automation.CmdletInvocationException: 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
 ---> VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.ServerObnFailureException: 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
   at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.ObnSelector.TerminateObnProcessingDueToServerObnFailure(String errorId, ErrorCategory errorCategory, Object targetObject, Exception innerException, String connectionId, Object[] messageParams)
   at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.ObnSelector.SetParameterNewValue(PropertyInfo parameter, ArrayList expandedItemList)
   at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.ObnSelector.SelectObjectByName(PropertyInfo parameter)
   at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.ObnSelector.SelectServerByName()
   at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.BaseCmdlet.SelectServerByName()
   at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.BaseCmdlet.ProcessRecordErrorHandled()
   at VMware.VimAutomation.Srm.Commands.Commands.BaseSrmCmdlet.ProcessRecordErrorHandled()
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.
[05-03-2024_12:12:36] [ERROR] 5/3/2024 12:12:36	Disconnect-SrmServer		Could not find any of the servers specified by name.

Expected Behavior
Adding a license should complete without any issue or report a single POST_VALIDATION_FAILURE
Actual Behavior
Failed
Steps to Reproduce
Execute Add-SrmLicenseKey on the command line
Log Fragments and Files
No response
Screenshots
No response
References
No response

Investigation
Issue 1:
When the function authenticates to SRM its failing but no error is return to the user
Issue 2:
Disconnecting from the SRM server is failing due to the placement of the disconnect within the function.
Issue 3
Found that the Undo-SrmLicenseKey cmdlet is not even disconnecting from the SRM server