text:
Search sensors in API by asset

Description
Search sensors by asset ID
Look & Feel

How to test
Apply the asset_id query param to the sensors API  http://localhost:5000/api/v3_0/sensors?page=1&per_page=10&asset_id=2
Simply put in the ID of any valid asset
Further Improvements
None
Related Items
This PR closes: #1209

[x] I agree to contribute to the project under Apache 2 License.
[x] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

if all_accessible:
    consultancy_account_ids: list = [
        acc.consultancy_account_id for acc in accounts
    ]
    account_ids.extend(consultancy_account_ids)

This seems now to be the only use of accounts (we use account_ids in the query).
I guess we don't need that variable, really.
What do we want to do here? We want to add accounts which the current user can see, in addition to his own account (or the one they sent in as parameter).

if their own account is not in the list, add it here
more importantly, the code right now adds the current users' consultancy account, for which they have no rights. This should add the accounts which have the current users' account as consultancy account - and that might require a query, like above for the child assets.

Oh I see, I think it makes sense to remove the accounts variable. If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Ok. For the second part you mean something like this right
consultancy_accounts = (
                db.session.query(Account)
                .filter(Account.consultancy_account_id == account.id)
                .all()
            )
            consultancy_account_ids: list = [acc.id for acc in consultancy_accounts]

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Regarding the first part, on a closer look, it seems unlikely that the current user’s account would be missing from the list, given that we’re initializing account_ids with [account.id], which includes the current user's account ID by default. what do you think?

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Regarding the first part, on a closer look, it seems unlikely that the current user’s account would be missing from the list, given that we’re initializing account_ids with [account.id], which includes the current user's account ID by default. what do you think?

Only by default, they can send us another, I believe.

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Ok. For the second part you mean something like this right
consultancy_accounts = (
                db.session.query(Account)
                .filter(Account.consultancy_account_id == account.id)
                .all()
            )
            consultancy_account_ids: list = [acc.id for acc in consultancy_accounts]

Seems about right. We should also check if the current user has the role consultant, which makes sure he would be allowed to read data from these accounts. If not, we don't add consultancy accounts to the list.

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Regarding the first part, on a closer look, it seems unlikely that the current user’s account would be missing from the list, given that we’re initializing account_ids with [account.id], which includes the current user's account ID by default. what do you think?

Only by default, they can send us another, I believe.

Oh yeah that's true, for a second I forgot that the user can specify a different account

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Ok. For the second part you mean something like this right
consultancy_accounts = (
                db.session.query(Account)
                .filter(Account.consultancy_account_id == account.id)
                .all()
            )
            consultancy_account_ids: list = [acc.id for acc in consultancy_accounts]

Seems about right. We should also check if the current user has the role consultant, which makes sure he would be allowed to read data from these accounts. If not, we don't add consultancy accounts to the list.

ok, ill work on that

Have you been able to work on the issue I had with pre-existing data not being loaded into your UI?

If I understand you correctly, the approach you said here means that I do a conditional statement to check if the users account is currently in the account_ids list and if not I add it my self, right?

Yes, but the part after that is even more important to fix.

Ok. For the second part you mean something like this right
consultancy_accounts = (
                db.session.query(Account)
                .filter(Account.consultancy_account_id == account.id)
                .all()
            )
            consultancy_account_ids: list = [acc.id for acc in consultancy_accounts]

Seems about right. We should also check if the current user has the role consultant, which makes sure he would be allowed to read data from these accounts. If not, we don't add consultancy accounts to the list.

ok, I'll work on that. This will mean that the all_accessible parameter is majorly for adding consultant accounts, cause looking at the code that's all the parameter is currently doing

Have you seen this @nhoening

This will mean that the all_accessible parameter is majorly for adding consultant accounts, cause looking at the code that's all the parameter is currently doing

Good observation.
I guess we have admins who can in principle search everywhere, but I'm not sure that has a valid use case here.
It would be straightforward to rename the parameter include_consultancy_clients so we model what happens now. And even for that I'm not sure what the use case would be.

This will mean that the all_accessible parameter is majorly for adding consultant accounts, cause looking at the code that's all the parameter is currently doing

Good observation.
I guess we have admins who can in principle search everywhere, but I'm not sure that has a valid use case here. It would be straightforward to rename the parameter include_consultancy_clients so we model what happens now. And even for that I'm not sure what the use case would be.

I think we should rename it for now so its use is more clear

Yes that would actually be necessary

Yes that would actually be necessary

ok then, let me work on that

Yes that would actually be necessary

You can check it now, I have implemented the new changes.

Changes look good.
Oh man, I just noticed we say to select sensors from a complete asset tree but actually we only go one level deep (lines 162ff).
We should recurse into all assets under a given asset.
Luckily it seems this is not really hard in SQLAlchemy: https://sanjayasubedi.com.np/python/sqlalchemy/recursive-query-in-postgresql-with-sqlalchemy/
Can you find out if that works?
Ideally also with a unit test, but I'm not sure where in the test data we have a asset hierarchy with three levels.

When you say recurse into all assets, that means getting sensors from  the specified assets and also from the assets which the specific asset is a parent to. Is that correct?

That's what we already do. We get the asset and its children.
But the children can also have children and so forth.

That's what we already do. We get the asset and its children.
But the children can also have children and so forth.

oh I see, so the tree can end up being super long

Hi, @nhoening can this be merged today so I can do some testing on the edit form PR

authors: joshuaunity nhoening


text:
Feature/flin 119 aggregate restaurant view

Describe your changes
Made a simple aggregation of the basic values of a restaurant. We are still missing nested columns. Currently a result of this aggregation is as follows:
{
  "ID": 3,
  "name": "Pasta Paradise",
  "street": "Via Napoli",
  "number": "3",
  "zipCode": 34567,
  "city": "Napoli",
  "province": "NA",
  "country": "Italy",
  "vatCode": 98761234,
  "email": "pasta.paradise@gmail.com",
  "takeAway": true,
  "delivery": true,
  "dineIn": true,
  "parkingLots": 10,
  "accessibleEntrance": true,
  "childrenArea": true,
  "childrenFood": true
}

Github issue this pull requests addresses
Partly closes FLIN-119
Checklist before requesting a review

[X] I have performed a self-review of my code
[X] I have updated/created the corresponding documentation

I got
- org.apache.flink.util.FlinkException: Global failure triggered by OperatorCoordinator for 'Source: restaurant_info[1] -> Calc[2]' (operator cbc357ccb763df2852fee8c4fc7d55f2).
- ...
- etc

here

Caused by
- 00:52:56,973 ERROR org.apache.flink.runtime.source.coordinator.SourceCoordinatorContext [] - Exception while handling result from async call in SourceCoordinator-Source: restaurant_services[4]. Triggering job failover.

source: gharchive/pull-request

authors: PolimiGiovanniArriciati VegSja

repo: FlinkFood/FlinkFood

license_type: permissive

license_source: github-api


text:
Can't modify frame in HEAD version

In the latest version, the frame of a UIView shows up as NSRect and you can't edit it anymore:

Which app are you testing this in? I am able to modify frames of views on my device

In the app I'm working on. I'll try to reproduce it and get back to you. Are you using Xcode 10 as well?

Yep!
How are you accessing the frame?

I'm selecting a view, then tap the frame property:

I will look into this, thanks!

The same problem

This has since been fixed in a more recent commit, I forgot to close this. It's after 3.0.0 but not in a release yet.

Yup, it works, thanks a lot!

source: gharchive/issue

authors: AYastrebov NSExceptional revolter

repo: Flipboard/FLEX

license_source: bigquery


text:
How to use for viewing Dynamic Scenes?

Hey, I have tried using this for dynamic scenes but it shows only the static scene in the viewer. Can this tool help in viewing dynamic scenes?
https://github.com/hustvl/4DGaussians

Hi,
it would be cool if the viewer also supports 4DGS. Currently, however, only 3D scenes can be rendered.
In what kind of format do you store 4DGS files. A list of ply files?

Closed for now due to inactivity. One day splatviz will support 4DGS, however, currently its not a high priority.

Thank you very much for sharing this repo! If you happen to release a version related to 4DGS in the future, I’d be very interested and would love to learn more. Thanks again for your work!

repo: Florian-Barthel/splatviz

license: MIT


text:
Blog Art: Professional Services 24/02/05

Related Issue
No response
Description
Title of Article: Should You Invest in Professional Services for Your Node-RED Development?
Considerations:

Where will the image be displayed/shared, product? blog post? social media? presentation? website?

Inspirations:

Hi @gdziuba I just added it to the PR

Thank you @Yndira-FlowForge.

authors: Yndira-FlowForge gdziuba

repo: FlowFuse/website


text:
[BUG]执行这个pnpm install指令时会报错误，大神们有啥解决办法不

试试这个npm install -g node-gyp
https://stackoverflow.com/questions/58073775/error-with-node-pre-gyp-when-installing-sqlite3

authors: HenryHengZJ liyiyiya

repo: FlowiseAI/Flowise


text:
update server project name to fix conflict issue

yarn version: 3.2.0
$ yarn
Internal Error: Duplicate workspace name flowise: C:\Users\xxxx\Desktop\Flowise\packages\server conflicts with C:\Users\xxxx\Desktop\Flowise

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

yarn version: 3.2.0
$ yarn
Internal Error: Duplicate workspace name flowise: C:\Users\xxxx\Desktop\Flowise\packages\server conflicts with C:\Users\xxxx\Desktop\Flowise

unforunately we can't renamed it as flowise-server because thats what published to npm - https://www.npmjs.com/package/flowise
anyway we have plan to migrate to pnpm or if anyone want to take a stab feel free!

authors: CLAassistant ClearLove443 HenryHengZJ


text:
Dependency conflict when having http package version 1.2.1

Hello, I'm trying to have this package installed along with http, but the flutter pub add command shows the following error message:
$ flutter pub add dart_rss
The current Dart SDK version is 3.3.0.

Because dart_rss >=2.0.0 depends on http ^0.13.0 and dart_rss <2.0.0 doesn't support null safety, every version of dart_rss
  requires http ^0.13.0.
So, because castnugget depends on both http ^1.2.1 and dart_rss any, version solving failed.

The lower bound of "sdk: '>=2.6.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety

my dependencies and dev_dependencies:
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.6
  isar: ^3.1.0+1
  isar_flutter_libs: ^3.1.0+1
  xml: ^6.5.0
  get_it: ^7.6.7
  path_provider: ^2.1.2
  http: ^1.2.1

dev_dependencies:
  flutter_test:
    sdk: flutter

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^3.0.0
  change_app_package_name: ^1.1.0
  isar_generator: ^3.1.0+1
  build_runner: ^2.4.8

I can use this repository directly by adding
  dart_rss:
    git:
      url: https://github.com/Flutter-Bounty-Hunters/dart-rss.git

to the dependencies, can this a problem from pub.dev?

It seems pub.dev version is not up to date with master branch code.
A commit  has upgraded the http version last month.
It would be great to publish a new version/build to pub.dev @sudame 🥇

@fengjiongmax @istornz
Thank you for using this package!
This project has been transferred to @matthew-carroll , so please "ping" to him/her!

@sudame Thanks for your quick reply 👍
I think he/she will be notified for this thread :p

We just pushed v3.0.2 to Pub. Everything should be updated.

authors: fengjiongmax istornz matthew-carroll sudame

repo: Flutter-Bounty-Hunters/dart-rss


text:
Fix an issue with block comments

Removing alle  block comments before replace loggings.
The BaseController (project/Resources/iphone/alloy/controllers/BaseController.js)
has within a block comment a console output command.
Before transformation:
/* console.log(); */
After  transformation:
/* /*console.log();*/ */
This kind of comments cannot be nested, so removing them before..

Thx!

authors: FokkeZB MichelBahl

repo: FokkeZB/ti-stealth

license: mit


text:
IE support issue

Javascript Promise() does not supported by IE browser.

Can you make a PR? Like https://github.com/adamyung/Croppie/commit/9ab3dc9df02b2e1278bf108c1959f71b4c18251d

The Promise() thing is fixed if you grab the latest from the repo.  I just haven't updated the bower & npm packages

I saw you use a third party library (es6-promise) to fix the issue, I fix the problem myself by using jQuery library. Thanks.

I saw that, and it looks good.  Unfortunately since Croppie isn't just a jquery plugin, we can't depend on it.      I'll close this one for now, feel free to comment on it if you have suggestions.

authors: adamyung russ-ab thedustinsmith

repo: Foliotek/Croppie


text:
Support Spokfile and spokfile

just because thats how things are.
makefile and Makefile both work and so we should do the same for spokfile and Spokfile.
easy fix ...

Yeah this seems reasonable. I think what I'm probably going to do is "freeze" spok (it will obviously still work and I will still patch it etc.) as the more I think about it the more I want to start fresh and build on some lessons in a new thing.
I'm a much better dev than I was when I first wrote this 😂 So there's a lot I'd like to change including some brand new ideas and I think it needs a blank canvas rather than lots of refactoring of an existing thing

repo: FollowTheProcess/spok


text:
Force use static libgomp when -static-libgcc is specified

gcc from devtoolset does not link libgomp statically even with -static-libgcc option is specified. This rewrites gcc spec file to select the static / shared library depending on the set of options (otherwise libcheck certainly complains about unknown system library libgomp.so).

Looks good to me. But rather than modifying the specfile during finalization, I think it should be done during initialization.

Superseded by #52.

authors: FooBarWidget asl

repo: FooBarWidget/holy-build-box


text:
Add FC085: Resource using new_resource.updated_by_last_action to converge resource

There's so much misuse of this pattern in our cookbooks. With use_inline_resources turned on by default now there's no reason to ever use it. We need to point people to simple pure chef resource based converges or to converge_by when they're writing their own ruby code in resources
Signed-off-by: Tim Smith tsmith@chef.io

So this currently does not detect @new_resource usage. That's a known limitation

Are there helpful words somewhere to point a person towards when this rule is tripped?

@robbkidd That will go on the foodcritic-site repo. We'll have a "dont do this" / "do this" code example

repo: Foodcritic/foodcritic


text:
🛑 ForGoodEyesOnly.eu is down

In ac47f2e, ForGoodEyesOnly.eu (https://forgoodeyesonly.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ForGoodEyesOnly.eu is back up in 755a7b4.

repo: ForGoodEyesOnly/status


text:
Product and person css updates

Issue
Resolves #569
What was done

[x] Updated the person name to text wrap when name is too long
[x] Fixed it so that long tag names have the same padding on the right as they do the left
[x] Moved person note icon to directly after person's name
[x] Fixed a bug where if you typed a new person name into the assignment form, the input width would get larger once the name got too long. Now the width doesn't change.

How to test

Test that the above is visually true.

FOR DEVS
Feature URL: See feature branch
FOR APPROVAL
Approval URL: See Approval branch

@smle225 Weird. I didn't change the icon size.

repo: FordLabs/PeopleMover


text:
Running as non-root

Hi, thanks for the amazing library! I am able to use all functionality when I run as root. However, my application has to run as non-root user but it still needs to access the HID devices. I added the user to the input group and added a udev rule but it still does not work, see:
https://github.com/node-hid/node-hid/issues/140
Do you have any idea perhaps? Thanks!

Super happy you like it. ^_^
I'm not too familiar with setting permissions on devices. Most likely because I use a Mac as my development machine and it seems happy as is.
Out of curiosity, what udev rule did you create? Is in inside a particularly named file? Are you using Ubuntu and if so, which version?

This tutorial:
https://puredata.info/docs/faq/how-can-i-set-permissions-so-hid-can-read-devices-in-gnu-linux/view
I am using Ubuntu/Linux 16.04; not sure whether this udev rule is necessary since adding the user to the input group already allows opening the device with cat.

Ah, thanks for that link.
I added myself to the group "input" but it had no effect. Adding a udev rule after that had no effect either. Both procedures tried on Ubuntu 16.04.
I did find something interesting though!
Running node-hid/src/show-devices.js without sudo looks like this.

While running node-hid/src/show-devices.js with sudo looks like this.

The logitech-g29 library is looking for the string G29 Driving Force Racing Wheel in the product field which is one of the reasons it works with sudo.
I am currently playing with an updated findWheel() function inside the logitech-g29 library that also checks the vendorId and productId fields. It finds the wheel without sudo (yay) but then halts with an error (boo). Assuming permissions are the culprit again.

Yes, I already noticed the mentioned issue. However, binding to the device
without sudo throws the same error as you are getting :/.
Thanks for looking the issue!
-Rein
On Fri, May 27, 2016 at 4:14 PM, Daniel Gagan notifications@github.com
wrote:

Ah, thanks for that link.
I added myself to the group "input" but it had no effect. Adding a udev
rule after that had no effect either. Both procedures tried on Ubuntu 16.04.
I did find something interesting though!
Running node-hid/src/show-devices.js without sudo looks like this.
[image: show-devices]
https://cloud.githubusercontent.com/assets/1933203/15609703/6a0753ea-23d6-11e6-858b-38bb13df875a.png
While running node-hid/src/show-devices.js with sudo looks like this.
[image: show-devices-with-sudo]
https://cloud.githubusercontent.com/assets/1933203/15609711/74e7bd68-23d6-11e6-873b-1a399687d731.png
The logitech-g29 library is looking for the string G29 Driving Force
Racing Wheel in the product field which is one of the reasons it works
with sudo.
I am currently playing with an updated findWheel() function inside the
logitech-g29 library that also checks the vendorId and productId fields.
It finds the wheel without sudo (yay) but then halts with an error (boo).
Assuming permissions are the culprit again.
[image: error]
https://cloud.githubusercontent.com/assets/1933203/15610294/63ce8978-23d9-11e6-86c6-1d59ac2f4525.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ForestMist/logitech-g29/issues/1#issuecomment-222157265,
or mute the thread
https://github.com/notifications/unsubscribe/AD-4l3kA2FWTq4al7QCTYuqV3TbA6M2Eks5qFvw-gaJpZM4InpeX
.

Updated code is live on GitHub and NPM.
More importantly, check out the updated install instructions at https://github.com/ForestMist/logitech-g29#install that detail how to create a special udev file. No group membership actions needed.
Works great on my test machine but I'll feel even better if you want to confirm that it also works on yours. :)

Thanks a lot for your effort! I will test it and let you know on Monday!
Have a nice weekend.
-Rein

On 27 May 2016, at 19:46, Daniel Gagan notifications@github.com wrote:
Updated code is live on GitHub and NPM.
More importantly, check out the updated install instructions at https://github.com/ForestMist/logitech-g29#install that detail how to create a special udev file. No group membership actions needed.
Works great on my test machine but I'll feel even better if you want to confirm that it also works on yours. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I followed your tutorial and now it works as a train :). Thanks for your support!

authors: ForestMist reinzor


text:
👋  Submitting state and required fields

Hello! Maybe this could be useful 🤷
I needed a couple more features so I have added:

submitting state
Ability to add custom error messages
Basic ability to hold back submission until required fields are present
Some JS doc

No breaking changes 😄

Hey @Coderamrin, I closed this because I found a small issue errorsMessages -> errorMessages. I can push the update if its needed

@bennlongg
Yes,
please push the updates.

@Coderamrin update pushed

authors: Coderamrin bennlongg

repo: FormBold/formbold-react


text:
How to style  and  with radium?

I've seen the documentation saying about  but could not find the right way to use it. If I target document.body it erases everything...

You can either:

Use the <Style> component (docs have an example with html and body)
Use CSS
Don't style HTML/body unless you absolutely have to (e.g. height: 100% and that kind of stuff)

authors: fractall ianobermiller

repo: FormidableLabs/radium


text:
(chore) - don't destructure getInitialProps

While spinning up my first nextjs project (experienced with react/urql), I ran into a eslint error where ctx was not defined for getInitialProps.
The HOC works as expected without this change, but was confusing for somebody who is new to nextjs.
The other changes are prettier formatting.

I've placed a similar PR since in this state getInitialProps does not work when used in a component

authors: JoviDeCroock kysley

repo: FormidableLabs/urql


text:
Nginx proxy_pass

Hi all,
I'm having a few problems setting up a reverse proxy for this.
I have a statically hosted page on my RPi which is handling my media centre, and I want to add a link to it to the spotify-connect-web HTML UI.
I tried with a normal proxy_pass, which didn't work (404), and then tried to use upstreaming, but that didn't work either (404 too).
When I ssh into my Pi and wget localhost:4000, it downloads the raw HTML for the web interface, so I'm not sure what's going wrong here.
upstream spotifyweb {
  server localhost:4000;
}

server {
  // snip
  location /spotifyweb/ {
    proxy_pass http://spotifyweb;
  }
  // snip
}

Any ideas about what could be wrong? I'm a little confused as to why it's 404-ing instead of 5XX-ing, which suggests maybe it's something to do with my nginx config rather than spotify-connect-web.
Best regards,
Joe

OK, getting there... added a trailing '/' to the proxy_pass directive, but now none of the resources are found...

The resources are served from an absolute path, so there's two options:

Tell Flask what the url path for the static folder should be by adding the static_url_path parameter to this line: https://github.com/Fornoth/spotify-connect-web/blob/master/main.py#L39
Map the /static path in Nginx to the proper path

authors: Fornoth joeinnes

repo: Fornoth/spotify-connect-web


text:
Address(Firewall): Add -allowrouting parameter for enable ipmask addr…

…ess on routing table
this parameter don't work on iprange, fqdn, geo type

/azp run

/azp run

/azp run

/azp run

repo: FortiPower/PowerFGT


text:
Error

09.04 19:45:15 [Server] Server thread/CRITICAL TypeError: "Argument 2 passed to pocketmine\entity\Entity::createEntity() must be an instance of pocketmine\level\Level, instance of pocketmine\level\format\Chunk given, called in /plugins/morph-master/src/morph/main.php on line 141" (EXCEPTION) in "/src/pocketmine/entity/Entity" at line 545
09.04 19:45:15 [Server] Server thread/CRITICAL Unhandled exception executing command 'morph add Chicken' in morph: Argument 2 passed to pocketmine\entity\Entity::createEntity() must be an instance of pocketmine\level\Level, instance of pocketmine\level\format\Chunk given, called in /plugins/morph-master/src/morph/main.php on line 141
Ryanshaw2 > /morph add Chicken
Could you fix this please?

@RyanClarke2 okey, I update plugin

ok thank you


text:
Feature/group edit can deactivate offer

Description
Fixes #982
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
Here is offer for solution to fix can deactivate issue with little refactoring.
The Group Settings component doesn't use groupRefreshRequired output, but it defined. Also Group Edit component already has all needed data without Inputs, so it uses the same group source. Obviously only one thing we need to change in Group Settings is authorized state and it's the same group source.
Test cases

[x] Case 1:

Given I am the usual user
When I go to this page
Change description under Group information section
Then I see Save and Cancel Changes buttons
Go to Access tab
Then I see confirmation modal

[x] Case 2:

Given I am the usual user
When I go to this group
And I click on Managers tab
Then I see managers content

We can keep this as a reference but cannot use it as it is as it introduces other problems.

authors: Iloveall smadbe

repo: France-ioi/AlgoreaFrontend


text:
🛑 Certificados Humanidades is down

In 6fd24c2, Certificados Humanidades (https://certificadosfhu.unse.edu.ar) was down:

HTTP code: 503
Response time: 965 ms

Resolved: Certificados Humanidades is back up in a50fae3.

repo: Francisco-Castillo/certificados


text:
Can't install Twitch Leecher

I used this program before and it worked fine. I uninstalled the previous version, because somehow it wasn't able to upgrade TL version I was in (2.0.5 -> 2.0.7) But it still wouldn't upgrade. It always leads me to

I went to the closed issues and the closest to what I am facing is this one #750. However, even after I did it, it still wouldn't work. I don't know what to do now. Here is the log txt if you need it.
log.txt

Thx for the log.

[27CC:5834][2022-04-04T13:36:43]e000: Error 0x80070070: Failed to set end of file.
[27CC:5834][2022-04-04T13:36:43]e000: Error 0x80070070: Failed to extract all files from container, erf: 1:B:0
[27CC:0AF8][2022-04-04T13:36:43]e000: Error 0x80070070: Failed to begin and wait for operation.
[27CC:0AF8][2022-04-04T13:36:43]e000: Error 0x80070070: Failed to extract payload: a0 from container:

The error code 0X80070070 is an MSI installer error stating your drive is full (not engough space on disk).
If this is the case, you know how to solve it 😄
If this is NOT the case, the only additional cause could be anti virus software not letting the installer write files on disk. We had false positives mostly in AVAST anti virus. SO check your anti virus software if you have something installed.
Other than that the issue does not have anything to do with your old uninstalled version of TL. Everything seems to be ok considering the log.

Ah ok! I am installing it at the D drive tho which has ample amount of space, does it matter the C drive space?

Yes, the Windows installer system always extracts the payload files to the temporary folder. Per default that is on your C:\ drive.

Thanks! I have managed to install it! It is just that my C drive is filling up so much up till there are no free storage left! I have to check on that, but that is a completely separate problem! Thanks again for the fix!

authors: Franiac makerkym

repo: Franiac/TwitchLeecher


text:
Add more documentation

Documentation of the shortcuts
Hopefully link dokka API reference
Documentation of the CLI

[ ] @oxisto Check if there is a an automated dropdown generation for subfolders from versions.

I configured the dokka gradle task to use the versioning plugin and (locally) managed to generate the dropdown. However, I don't know how to integrate it into the github workflow.

authors: KuechA konradweiss

repo: Fraunhofer-AISEC/cpg


text:
Bugfix/variable resolution

This solves various problems in the current Variable resolution for java and C++.
Change-Log
Graph-changes
Added

A definition edge for fields as not only methods can have definitions and declarations(Still missing for RecordDeclarations etc.)

I still need to solve problems for some other tests that fail now. However, I expect that we only need to adapt the tests

I was working on something similar, mainly to address #212. The idea that I had was to have a Redeclarable class or interface that defines whether something can be redeclared and had a definition. Seems I have never pushed the branch, I can do so later and maybe you can recycle certain aspects of it.
Not sure about field declarations though, is there a scenario where we need to distinguish between def and decl here?

This branch is now up to date and just needs a few fixes regarding the 3 failing resolver tests. Then we're good to go to merge this

I was working on something similar, mainly to address #212. The idea that I had was to have a Redeclarable class or interface that defines whether something can be redeclared and had a definition. Seems I have never pushed the branch, I can do so later and maybe you can recycle certain aspects of it.
Not sure about field declarations though, is there a scenario where we need to distinguish between def and decl here?

Is there a difference between functions and fields? I would have said that we just do it consistently.

Ready for review @konradweiss @oxisto

Do you remember when you branched this PR originally? It seems like that the initializer of those two static members are not being parsed. Not sure why or which change introduced this.

Might I suggest that we merge #232 first?

I merged master back in, they fail because of some changes introduced there. Does #232 solve the issue?

I merged master back in, they fail because of some changes introduced there. Does #232 solve the issue?

Not necessarily, but it will make a lot of things, such as function declarations, variable declarations and adding them to a TU more consistent. So it might be easier to spot the problem that we currently have on master.

I merged master back in, they fail because of some changes introduced there. Does #232 solve the issue?

Not necessarily, but it will make a lot of things, such as function declarations, variable declarations and adding them to a TU more consistent. So it might be easier to spot the problem that we currently have on master.

After testing a merge-in of #232 into this branch, the tests above are fixed but FunctionPointerTest#testC fails now ^^

BTW this is not valid C (you are re-declaring a function with the same name). But not sure if this is a problem for us. In C++ this is possible, so our code should be able to handle it.
https://github.com/Fraunhofer-AISEC/cpg/blob/0e21d17cb9c42286b0889b4756ae9b4420a06992/src/test/resources/functionPointers/func_ptr.c#L1-L2

The problem seems to be, that somehow instead of using the dedicated resolveFunctionPtr function in the VariableUsageResolver the regular resolve of the ScopeManager is used, and this one only checks for the name of the variable (which goes horribly wrong if you refer to functions instead of variables):
https://github.com/Fraunhofer-AISEC/cpg/blob/0e21d17cb9c42286b0889b4756ae9b4420a06992/src/main/java/de/fraunhofer/aisec/cpg/passes/scopes/ScopeManager.java#L537

authors: Masrepus konradweiss oxisto


text:
Something broke while playing the track.

Description
The console outputs "Something broke while playing the track." and doesn't play the video.
I am running Java 13 on a Docker container. What is wrong?
Version info
Client used: erela.js
Output of java -version:
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:103) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349) ~[lavaplayer-1.3.38.jar!/:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:830) ~[na:na]
Caused by: java.lang.NullPointerException: null
at java.base/java.net.URI$Parser.parse(URI.java:3127) ~[na:na]
at java.base/java.net.URI.<init>(URI.java:623) ~[na:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeTrackFormat.getUrl(YoutubeTrackFormat.java:66) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:97) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:91) ~[lavaplayer-1.3.38.jar!/:na]
... 4 common frames omitted```

Update your Lavalink.

@OtterBoops It is at the latest version already.

~[lavaplayer-1.3.38.jar!/:na]
Its not, ll currently uses 1.3.49 within the master branch. It should be already available on ci - not sure how it looks for the docker container. Maybe u have to compile it ur own.

Maybe u have to compile it ur own.
He has to pull the docker image.

Hmm okay.

This way I was able to solve my exactly same problem. Do you know what the cause is?

This way I was able to solve my exactly same problem. Do you know what the cause is?

What do you mean?

I Have the same issue:
2020-06-17 09:50:39.200 ERROR 15120 --- [lava-daemon-pool-playback-1-thread-1] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of OPGtpO1g_jk
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:103) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349) ~[lavaplayer-1.3.38.jar!/:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:830) ~[na:na]
Caused by: java.lang.NullPointerException: null
at java.base/java.net.URI$Parser.parse(URI.java:3127) ~[na:na]
at java.base/java.net.URI.(URI.java:623) ~[na:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeTrackFormat.getUrl(YoutubeTrackFormat.java:66) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:97) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42) ~[lavaplayer-1.3.38.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:91) ~[lavaplayer-1.3.38.jar!/:na]
... 4 common frames omitted
2020-06-17 09:50:39.205  INFO 15120 --- [XNIO-1 I/O-4] lavalink.server.io.SocketServer          : {"op": "stop", "guildId": "383386139333230592"}
2020-06-17 09:50:39.358  INFO 15120 --- [parallel-4] s.n.m.impl.connections.AudioWebSocket    : Websocket to wss://eu-central1374.discord.media/?v=4 closed with code 4014 and reason Disconnected.
2020-06-17 09:50:39.361  INFO 15120 --- [parallel-4] s.n.m.impl.connections.AudioWebSocket    : Closing

Update lavalink

Update lavalink

is lavalink 1.3.38 the last?

Lavaplayer * and no, we're on version 1.3.49
Download the latest here https://ci.fredboat.com/viewLog.html?buildId=lastSuccessful&buildTypeId=Lavalink_Build&tab=artifacts&guest=1

What do you mean?

Do you know what has changed during this update?

https://github.com/sedmelluq/lavaplayer has changelogs and commits.

There are too many threads like this where we are just asking people to update. Closing this.
Please use our Discord channel for further discussion.

authors: Frederikam HoloKi Horstexplorer OtterBoops computergeek12 duncte123 isinstance

repo: Frederikam/Lavalink


text:
Slash-start-start-slash multiple line issue

In order to pass the test for this waypoint, the comment for the slash-start-start-slash type of commenting has to be on the same line as the first slash-star, otherwise it doesn't work.

Challenge http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1999

authors: bugron maxiedk

repo: FreeCodeCamp/FreeCodeCamp


text:
I've tricked the test to pass without passing any arguments to the contructor

Challenge Waypoint: Make Unique Objects by Passing Parameters to our Constructor has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var Car = function(wheels, seats, engines) {
  //Change this constructor
  this.wheels = wheels || 3;
  this.seats = seats || 1;
  this.engines = engines || 2;
};

//Try it out here
var myCar = new Car();

// Only change code above this line

(function() {return JSON.stringify(myCar);})();

I don't actually see this as a problem. The use of default values in the constructor shows a knowledge of what you're doing and I don't think someone who knows to do that is someone who doesn't know how to pass parameters to something.
I'm leaving this open for discussion but I don't personally have a problem with this passing.

Neither do i, code is legit.

Ok then :)
On Mon, Dec 7, 2015, 19:01 Dieter Daems notifications@github.com wrote:

Neither do i, code is legit.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/5066#issuecomment-162592349
.

Awesome, and good job with the default values in your constructor! :smile:

authors: DDaems ltegman svlasov


text:
Octoprint: Access Request issues

Hi there!
I recently got your octoprint edge driver setup and I noticed I keep getting access requests from it, about once every ~24hrs. Is this a limitation of smartthings, or is there something wrong? I'd gladly input the api key into the driver settings if that would help fix the issue.
Another issue I wanted to bring to your attention (though it's really a smartthings issue): usernames in octopi are Case-Sensitive. In the smartthings app, the username field automatically capitalizes the first character upon saving, which broke my setup since my octopi username is all lower case. Might be a good gotcha to note in the setup instructions.

Hey!
Thanks for the bug report. I will take a look at what might be going on with the api key setup. I might be able to support both API Key and the octopi recommended authorization flow.

the username field automatically capitalizes the first character upon saving

So long as you deselect the 'Shift' button when entering it, it should be saved as all lowercase, though it may be displaying with an upper first character if you try and edit it again it should still be all lowercase.

So long as you deselect the 'Shift' button when entering it, it should be saved as all lowercase, though it may be displaying with an upper first character if you try and edit it again it should still be all lowercase.
strange, I could have sworn that it was still capitalizing it, but rechecking just now shows that's not the case. Guess I just mis-typed it the first few times.

Another thing I just noticed about the auth issue, it appears that it's requesting authentication even if it doesn't need it. I'm still able to see all the info from my printer, and the lgocat shows everything is coming through just fine. Maybe a check to see if it needs authentication is all that's needed?

ok, awesome! thanks for the update!

I've updated the driver to explicitly call driver.datastore:save after the API key is captured and this seemed to fix it on the hub I tested. I also reduced the state poll duration from 1 second to 5 seconds to allow a little more space for the datastore update to occur. I ended up publishing the changes last week so it should already be deployed, please let me know if this solves the problem for you as well.

I am request my credentials be reset for 1Password

I am request my credentials be reset for 1Password

Hi, are you having a problem with the octopi driver? It doesn't have any connection to 1Password could you elaborate on what you are looking for?

Sorry I am looking for help with 1password
On Wed, Sep 21, 2022 at 4:30 PM Robert Masen @.***>
wrote:

I am request my credentials be reset for 1Password
Hi, are you having a problem with the octopi driver? It doesn't have any
connection to 1Password could you elaborate on what you are looking for?
—
Reply to this email directly, view it on GitHub
https://github.com/FreeMasen/SmartThingsEdgeDrivers/issues/6#issuecomment-1254334668,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3GS6BNONBVSVBUHG5HWKM3V7OLCBANCNFSM522EP7RQ
.
You are receiving this because you commented.Message ID:
@.***>

--
Donald Rich
Senior Performance Strategist
https://www.kitmanlabs.com?utm_source=sl&utm_medium=email&utm_campaign=signature
P: 425-531-0147
E: @.***

authors: FreeMasen RyantHults drich5

repo: FreeMasen/SmartThingsEdgeDrivers


text:
Git hash is missing from --version output if the compiler is installed

Description

When the compiler is installed as described in the README, the --version command line option of freec does not include the compile-time output of git describe --always --dirty.
Steps to Reproduce

Install the compiler as described in the README using the following command.
cabal new-install freec

Run the following command.
freec --version

Expected behavior

The output should be the same as the output of the following command.
./tool/run.sh --version

For example,
The Free Compiler, version 0.1.0.0 (v0.1.0.0-N-gXXXXXXX, ghc 8.6, linux, x86_64)

where N is the number of commits since v0.1.0.0 has been tagged and XXXXXXX is the current short Git commit hash.
This information is intended for bug reports to help maintainers know which exact version of the compiler is affected.
Actual behavior

Because Cabal builds local packages in a temporary directory when using the new-install command, githash does not have access to the .git directory. Thus, the output of git describe --always --dirty is not included.
The Free Compiler, version 0.1.0.0 (ghc 8.6, linux, x86_64)

Versions

freec --version: The Free Compiler, version 0.1.0.0 (ghc 8.6, linux, x86_64)
but should be The Free Compiler, version 0.1.0.0 (v0.1.0.0-525-gf48fc57, ghc 8.6, linux, x86_64)
ghc --version: 8.6.5
cabal --version: 2.4.1.0
OS: Ubuntu 19.10

Known workarounds

I have not found a way to configure Cabal to run the installation in the package's root directory instead of a temporary directory. I think the only way to work around this issue is by writing the output of git describe --always --dirty to a VERSION file before cabal new-install is invoked and including the contents of this file into the --version command at compile time. I'll post a PR for this approach soon. Suggestions for alternative approaches are welcome.
Additional Information

We've explored multiple approaches to deal with this issue in #12. The first approach would actually fix this issue but complicates the installation process. The second approach does not really fix the issue and additionally complicates maintenance of the compiler. Thus, we've decided that we are not going to fix this issue. Instead of asking for the output of freec --version, the issue template for bug reports now asks for the Git commit hash. This solution is not perfect but it is the best solution we've got for now.

repo: FreeProving/free-compiler


text:
CMake Error at CMakeLists.txt:85 (set_target_properties)

在macos下执行xcode.sh时报错
CMake Error at CMakeLists.txt:85 (set_target_properties):
set_target_properties called with incorrect number of arguments.
-- Adding post-build NIB file generation event for MacFreeRDP-library
-- Adding Xcode XIB resources for MacFreeRDP
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present.  A line of code such as
cmake_minimum_required(VERSION 3.23)

should be added at the top of the file.  The version specified may be lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/Users/xuezhouyan/Desktop/flutterworkspace/rdp/FreeRDP/client/Mac/xcode/CMakeFiles/CMakeOutput.log"
CMakeOutput.log
.

@fengyuyxz please provide more information like the used commit for building, your environment etc. as requested in the issue template

My MAC OS version is 11.6.7 and Cmake version is 3.23.2
Freerdp source code is tag 2.7.0 ，xcode version 13.2.1

How does your cmake command line look like?

cmake command is
cmake -D "CMAKE_OSX_ARCHITECTURES:STRING=x86_64" . && make

@fengyuyxz are you sure that your git checkout is clean (you can use git clean -xdf to be sure)?
In what CMakeLists.txt file does the error occur? I cannot find any CMakeLists.txt file that has a set_target_properties call on the line nummer that's stated in your error output.

@fengyuyxz I guess you try to build from client/Mac subdirectory? That will not work, you need to use the top level CMakeLists.txt.

authors: akallabeth fengyuyxz mfleisz

repo: FreeRDP/FreeRDP


text:
add a new project for SIM70x0

a new project to support sim70800, sim7090 ...

lib/cellular/modules/sim70x0 also requested a pull.


text:
Floating button as simple button

How can I use LGPlusButtonsView as simple button without any rotation, showing buttons on tap? Something like that is needed: https://github.com/bernikowich-cedoni/LGPlusButtonsView/commit/7f7211956af697b9935a9880c575112570239f30

Take look at plusButtonAnimationType property.

authors: Shebuka bernikowich-cedoni

repo: Friend-LGA/LGPlusButtonsView


text:
Strip WagtailUserbar javascript from Python instead.

The script tags messes with the html passed down when using Svelte.
Suggestion:
html = re.sub(r'<script.+?</script>', '', html, flags=re.DOTALL)
before returning it in get_wagtail_userbar
Then we can remove this in WagtailUserbar.js:
html = html.replace(/<script[^\0]*<\/script>/g, '');

Excellent suggestion, I will look into making a PR tonight

Merged. (Somehow "tonight" means I'll look into it about two weeks later).

authors: marteinn rinti

repo: Frojd/Wagtail-Pipit


text:
数据大屏跳转异常

点击数据大屏按钮，无法跳转到指定页面。如图：

已经移除数据大屏

repo: FuAdmin/fu-admin


text:
The new opcode to calculate the ContractId or PredicateId inside of the script/contract

Some users have use cases where they need to calculate the predicate id on the fly inside of the script. Adding a new opcode would be nice because it would be much cheaper to do inside on the VM side than on the Sway side.
We can add an opcode that calculates the contract's root, and then on the Sway side, the user can concatenate it with the ChainId and generate a predicate id. Or we can add an opcode that returns the predicate id directly.
Another question, do we want to do the same for ContractId? Maybe it is not too actual because usually, you also need state root(storage slots).

Can you describe what the use case would be for calculating the predicate ID on the fly?
How would we handle cases for things like configuration time constants?

Let's imagine you have a script/contract that needs to create a personal predicate (where the owner or any other data is hardcoded into the predicate's bytecode).
The script/contract should have/load the predicate's bytecode into memory, replace the dummy values with the actual owner's data, and calculate a new predicate id.
Because the predicate's bytecode is a part of the script/contract, it has to be compiled before with some "default"/"dummy" values from configurable constants. The developer of the script/contract should handle the actualization of the data to personalize the predicate.

Calculating contract IDs & predicate IDs is definitely a useful feature.
IMO the most difficult part is filling in the configurable constants before calculating the root, I guess that's something that should probably be a feature added to Sway?
Regarding this opcode, I guess it would primarily be used to take a byte array and calculate the binary merkle tree root?
Would it be possible to do this as a precompile instead of an opcode?

Why can't this be done at the language level? I understand it may be complex, but still feels like something that can be done through library and not an opcode.

Why can't this be done at the language level? I understand it may be complex, but still feels like something that can be done through library and not an opcode.

It can be done on the language level, but it would be much cheaper in terms of gas for the end-user. We already provide the CROO opcode, but it fetches the root from the storage.
The code root calculation requires a binary Merkle tree, and implement it on the Sway is too expensive.

authors: SilentCicero dmihal xgreenx

repo: FuelLabs/fuel-specs


text:
principal_value PR: added functions, tests and documentation.

Background: All non RotMatrix rotation types can represent the same RotMatrix in two or more ways. Sometimes a particular set of numbers is better conditioned (e.g. SPQuat) or obeys a particular convention (e.g. AngleAxis has non-negative rotation). In order to preserve differentiability it is necessary to allow rotation representations to travel slightly away from the nominal domain; this is critical for applications such as optimization or dynamics.
This PR adds a function called principal_value #72 (comment). This function takes a rotation type (e.g. Quat, RotXY) and outputs a new rotation of the same type that corresponds to the same RotMatrix, but that obeys certain conventions or is better conditioned. The outputs of the function have the following properties:

all angles are between between -pi to pi (except for AngleAxis which is between 0 and pi).
all Quat have non-negative real part
the components of all SPQuat have a norm that is at most 1.
the RodriguesVec rotation is at most pi

Codecov Report

Merging #76 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #76      +/-   ##
=========================================
+ Coverage   98.78%   98.8%   +0.02%
=========================================
  Files           6       7       +1
  Lines         494     504      +10
=========================================
+ Hits          488     498      +10
  Misses          6       6

Impacted Files
Coverage Δ

src/principal_value.jl
100% <100%> (ø)

Continue to review full report at Codecov.

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

Looks good to me. Maybe include (part of) the PR description in the docstring for principal_value? It's also possible that using ifelse to avoid branches in some places could result in faster code, but that's not critical.

Great. I edited the docstring to include most of the information from the PR description. Let's leave performance tweaks to another PR.

authors: codecov-io ryanelandt tkoolen


text:
[attributes] seem to always be included in bundle

Hey guys,
Question about [attribute] selectors - are they intended to never be stripped from the final bundle? I noticed that they are always included.
My webpack config - nothing special, just good ol' vanilla purging:
new PurgecssPlugin({
  keyframes: false, // https://goo.gl/bACbDW
  styleExtensions: ['.css'],
  paths: globAll.sync([
    './src/**/*.js',
    './src/**/*.jsx',
    './src/index.ejs'
  ], { absolute: true })
})

I'm using my own scss library called Sassyons which out of the box contains an obnoxious amount of classes. Over 24,000 lines worth! Purgecss successfully strips that library down to only the handful of selectors that are actually used in my test project. So far, so good. Then I add these 2 styles to my top-level scss file to test things out:
.this-is-never-used {
  display: none;
}

[this-is-never-used] {
  display: block;
}

The class is stripped out successfully and not included in the built asset but the attribute selector is included. I'm wondering if this is because attributes can be a pain since they can be regexy like [some-attr*] or [another-attr^=whatever].
Just want to know if this behavior is intended or not. I'm trying to revamp my Purgecss Whitelister plugin and don't know if I should be considering attribute selectors or not since they seem to be included by default.  If they aren't supposed to be included by default (i.e. this is indeed a bug), what would be the correct way to whitelist them once this is ironed out? Should the whitelist array contain something like [attribute-name] or attribute-name?  I appreciate your help in advance!

Yes, attributes are not stripped from the final bundle.
At the moment, attributes are not consider when removing unused css. If the class associated with the attributes is not used, then it will be removed.
button[disabled=true], this will be removed if button is not found in the content. But it will be kept otherwise. I'll close this issue as https://github.com/FullHuman/purgecss/issues/110 is a duplicate.

@qodesmith
https://github.com/FullHuman/purgecss/issues/110#issuecomment-475669082

authors: Ffloriel leeoniya qodesmith

repo: FullHuman/purgecss-webpack-plugin


text:
Rival walking throws direction error after Pokemon choice in Oak's Lab

Appears to be only if the player chooses a nickname?

Cannot repro. Closing.

repo: FullScreenShenanigans/FullScreenPokemon


text:
refactor: rename getter for RFC #344

https://github.com/Fullstop000/wickdb/issues/4

Thank you very much!


text:
remove extension from search result links

The JavaScript building links in Pagefind results included the .html extension with the URLs.
This change removes the extension from search result links.

Looks good to me, though it'd be better to solve it by having the index correct. But I didn't see a good way to do that: https://pagefind.app/docs/
Also, I was unable to run search locally. I get this message when I start up (even after blowing away node_modules):
pagefind doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
08:24:15 AM [serve]    404                   /_pagefind/pagefind.js

So search doesn't work for me locally.
Anyway, that's a side note. This solution looks good to me. Thanks!

authors: mooreds spwitt


text:
suggestion: remove lightningKillsDropsFix rule

the main mod (Carpet) already has this functionality

https://github.com/gnembon/fabric-carpet/wiki/Current-Available-Settings#lightningkillsdropsfix

https://github.com/fxmorin/carpet-fixes/wiki/Available-Settings#lightningkillsdropsfix
so they overlap
[13:24:30] [main/WARN]: Method overwrite conflict for method_5800 in carpet-fixes.mixins.json:itemFixes.ItemEntity_lightningKillsDropsMixin from mod carpet-fixes, previously written by carpet.mixins.ItemEntityMixin. Skipping method.

I wrote the original rule and asked gnembon to remove it, and he never did

authors: FxMorin peow

repo: FxMorin/carpet-fixes


text:
Status of ES6 Proxy in Blink doesn't match Chrome Platform Status

Per https://www.chromestatus.com/feature/4811188005240832 , it's behind a flag, but this isn't noted in the chart for http://caniuse.com/#feat=proxy

Looks like they removed it again (according to https://github.com/tvcutsem/harmony-reflect and my own test), but have updated the data to reflect the versions that did have support behind a flag. Thanks!

authors: Fyrd cvrebert

repo: Fyrd/caniuse


text:
Initial Letter page — Fixing broken link to Bugzilla

I included two links to the Bugzilla ticket for implementing Initial Letter in Firefox — only one of them points to CSS Shapes. Wooops! This commit should fix that.

Thanks!

authors: Fyrd jensimmons


text:
Appcache support was removed in Safari 15.0

The final bits of appcache support was removed from WKWebView in iOS 18 beta (and on other platforms). We wrote all about the story of  when and how we've removed appcache step by step over 7 years.

Storage
WebKit for Safari 18 beta removes the last bits of support for AppCache.
When AppCache first appeared in 2009, in Safari 4, it held a lot of promise as a tool for caching web pages for use offline. It was imagined as “HTML5 Application Cache” back when HTML itself was being further expanded to handle more use cases for web applications. A developer could create a simple cache manifest file with a list of files to be cached. Its simplicity looked elegant, but there was no mechanism for cache busting, and that made both developing a site and evolving the site over time quite frustrating. AppCache also had security challenges. So new web standards were created to replace it. Today, developers use Service Workers and Cache Storage instead.
WebKit deprecated AppCache with a warning to the Console in Safari 11.0. Then in 2021, we removed support for AppCache from Safari 15.0, with a few exceptions for third-party users of WKWebView. Now we are removing those exceptions. This change to WebKit will only affect the rare web content loaded in older third-party apps that have JavaScript code which relies on the existence of AppCache related interfaces.

From https://webkit.org/blog/15443/news-from-wwdc24-webkit-in-safari-18-beta/#deprecations
Distilling this history down to Can I Use data — we removed support from Safari 15.0.

Thanks!


text:
Cleanup gh-pages (gh-pages) [Part II]

[Part II]
The goal is to host on gh-pages branch only static files relevant to the site, where all source code should live on master branch.
Additionally, CICD is included where all future changes for gh-pages should be done through PR on master for docs/ folder which will be copied to docs/ on gh-pages.
Review/Merge first [Part I]

Hi @ljubon Thanks for your PR but we do not want to add github pages code and internal files into master branch. We would like to leave them in the separate branch as it is now. I am OK with cleaning gh-pages branch and having different gihub actions for this branch and master.

authors: ljubon mariannovotny

repo: G-Research/siembol


text:
🛑 Data quality profiles is down

In f56cac9, Data quality profiles (https://data-quality.gbif.es/api/v1/data-profiles?enabled=true) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Data quality profiles is back up in 8330d8d after 15 minutes.

repo: GBIFes/status


text:
Java: Allow ignoring TLS certificate errors

Acceptance criteria:

VaasConfig contains a boolean ignoreTlsErrors
HTTP and Websocket connections ignore errors if ignoreTlsErrors is set

We won't do this. For development use HTTP.

repo: GDATASoftwareAG/vaas


text:
Fixes #210. Update RRTMGP to Pincus 2020-Feb-12

Updates RRTMGP to RobertPincus/rte-rrtmgp master branch as of 2020-Feb-12

As RRTMGP is not on by default, this is zero-diff to "plain" RRTMG.

@GEOS-ESM/cmake-team I have verified this is 0-diff. If you approve the CMakeLists.txt changes, I can merge into develop


text:
Pulled call MAPL_GridGetCorners out of the condition to avoid hang in…

… MAPL_GetGlobalHorzIJIndex

Pull MAPL_GridGetCorners out of conditional block to avoid hang
Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[x] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

This PR fixes issue #2069

I've pulled in the latest from main and have updated the CHANGELOG and CMakeLists for a release once I test this.

repo: GEOS-ESM/MAPL


text:
Add loggers when reading and writing weights

Types of change(s)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)
[ ] Refactor (no functional changes, no api changes)

Checklist

[ ] Tested this change with a run of GEOSgcm
[ ] Ran the Unit Tests (make tests)

Description
In the v12 tracking branch, there are prints when reading and writing weight files. This PR brings them to develop but makes them pFlogger prints.
I'll work with @bena-nasa to make sure they actually work and all.
Related Issue

Okay. Good news, it works. Odd news it prints as:
           MAPL: INFO: Writing weight file: rh_00576x00361_00012x00008_00024x00144_00004x00024_method_03
           MAPL: INFO: Writing weight file: rh_02304x01441_00012x00008_00024x00144_00004x00024_method_03

Now, that makes sense since it's the MAPL logger I used.
But this is activated by Extdata so we have:
...
        EXTDATA: INFO: TR_VEG_FRAC updated R bracket with: ExtData/g5chem/sfc/LAI/veg_fraction_x720_y360_t12_2008.nc at time index   4
        EXTDATA: INFO: TR_regionMask updated L bracket with: ExtData/g5chem/sfc/RADON.region_mask.x540_y361.2001.nc at time index   1
           MAPL: INFO: Writing weight file: rh_00576x00361_00012x00008_00024x00144_00004x00024_method_03
           MAPL: INFO: Writing weight file: rh_02304x01441_00012x00008_00024x00144_00004x00024_method_03
...

It's weird, but I don't feel right assuming the only thing that calls this will be the ExtData code. @bena-nasa might know more.
@tclune Is it good/allowed/okay to make the logger dynamic? That is, we could pass in a string to the call for this and then have the logger be based on the caller? So if say ExtData calls it, we pass in 'EXTDATA' and use that for the:
     lgr => logging%get_logger(logger_string)

?
Or am I just overthinking this?

One fundamental issue here is that we have competing rationales for determining the local logger.   On the one hand we have the component hierarchy and that serves us reasonably well for the gridcomps.   (And even there, I'm not 100% convinced that my "long" name approach is good.  Maybe we should let the logger controls be flat.  Would not be able to debug entire subtrees.)   The other is the library layers where the usual logger approach makes sense.
So what do we do when a gridcomp calls a utility layer?     We might want to control that from the gridcomp, but that would be difficult.  Now I'm going to read the details and provide a more specific response.

@tclune Is it good/allowed/okay to make the logger dynamic? That is, we could pass in a string to the call for this and then have the logger be based on the caller? So if say ExtData calls it, we pass in 'EXTDATA' and use that for the:

This can be done, but I don't think it is a good idea.    It makes the logger too much part of the interface, but we want it to be "behind the scenes".
What we should do is decide for any given module what its logger should be.   "MAPL" is a fine placeholder.   But maybe "MAPL.base" or "MAPL.regridder" or ...    For now I'd not worry.  In  MAPL3 I hope to have a firmer convention.

@tclune Okay. For now it does seem to work in my testing (as shown above). So I'll undraft


text:
proper management of files

e.g
folder name :- singly linkedlist
menu driven program of singly linked list
some questions on it to boost the over all learning experience
if its fine assign me this issue and labels hacktoberfest gssoc

@Rohith2201 hello respond to it please

Bro after assigning you don't close issue before it's done aio 😭 reopen it and wait for me to work on it

@Rohith2201 check pull request and review it i ran it on an online compiler it was working fine you can now accept the pull request

@Anuraj-IND I guess @Rohith2201 has already assigned you hacktoberfest label for the work that you have contributed and closed the pull request previously.
So what is your issue exactly ?

@Anuraj-IND I guess @Rohith2201 has already assigned you hacktoberfest label for the work that you have contributed and closed the pull request previously.
So what is your issue exactly ?

You're responding to old issue ig

authors: Anuraj-IND monish-parimi


text:
[Ch1 SubB] UI 퍼즐 시스템 구체화

#77
#151
#148

위 내용을 확인하여 UI 퍼즐 내용에 대한 확장 예정

회의 때 따로 정리 요청하셔서 여기에 올립니다.

퍼즐은 좀 더 생각을 해보겠읍니다..


text:
RGI12 (Caucasus and Middle East)

Most outlines replaced with the 2013 inventory by Levan Tielidze in Caucasus and the 2011 inventory by Neamat Karimi and others in Middle East. Remaining outlines from RGI6.
Known issues in 7a:

Remaining outlines from RGI6 still of variable quality
The two new inventories are of good quality but quite far from the year 2000 (edit: probably solved by Levan's outlines)

Email from Levan:

the new dataset from 2000 for the whole Caucasus region was submitted to GLIMS (November 2020) and you do not need to use outlines from 2013 anymore for RGI7.
The current status is that these outlines are submitted but not yet in GLIMS.

trello card of the new inventory


text:
CanonicalGeneGlyph not rendering UTR and CDS without discontinuous locations

CanonicalGeneGlyph not rendering UTR and CDS without discontinuous locations
Example GFF
ctgA	ensembl_havana	gene	10000	18000	.	+	.	ID=gene:ENSG00000069998;Name=HDHD5;biotype=protein_coding;description=haloacid dehalogenase like hydrolase domain containing 5 [Source:HGNC Symbol%3BAcc:HGNC:1843];gene_id=ENSG00000069998;logic_name=ensembl_havana_gene_homo_sapiens;version=12
ctgA	ensembl_havana	mRNA	10000	18000	.	+	.	ID=transcript:ENST00000155674;Parent=gene:ENSG00000069998;Name=HDHD5-201;biotype=protein_coding;ccdsid=CCDS13741.1;tag=basic;transcript_id=ENST00000155674;transcript_support_level=1;version=9
ctgA	ensembl_havana	three_prime_UTR	10000	11000	.	+	.	Parent=transcript:ENST00000155674
ctgA	ensembl_havana	five_prime_UTR	11001	12000	.	+	.	Parent=transcript:ENST00000155674
ctgA	ensembl_havana	exon	12001	15000	.	+	.	Parent=transcript:ENST00000155674;Name=ENSE00001867638;constitutive=0;ensembl_end_phase=-1;ensembl_phase=2;exon_id=ENSE00001867638;rank=8;version=1
ctgA	ensembl_havana	CDS	17001	18000	.	+	1	ID=CDS:ENSP00000155674;Parent=transcript:ENST00000155674;protein_id=ENSP00000155674

@shashankbrgowda can you say where you got this GFF? I looked up ENSG00000069998 in a human GFF and it looked quite different. I'm not sure the given example is a valid GFF gene.

@shashankbrgowda can you say where you got this GFF? I looked up ENSG00000069998 in a human GFF and it looked quite different. I'm not sure the given example is a valid GFF gene.

Okay. I think I manually created it from an example gene. Sorry about that.

authors: garrettjstevens shashankbrgowda


text:
GPII-2131: Fix compatibility with modern versions of Firefox.

See GPII-2131 for details.

I integrated this version into the latest version of the Storytelling Tool along with the latest dev cuts of Infusion (3.0.0-dev.20200213T104048Z.a09c72b8f.FLUID-6145) and Kettle (1.12.0-dev.20191220T164344Z.f1fef17.FLUID-6145), and it seems to have solved my issues relating to the malformed IoC reference in the listener mentioned above. I also ran tests for gpii-location-bar-relay with those new Infusion and Kettle versions and experienced no issues in my environment.
Approved for my purposes! Thanks @the-t-in-rtf :)

authors: BlueSlug the-t-in-rtf

repo: GPII/gpii-location-bar-relay


text:
Linking dynamic pipeline shader libraries on Linux doesn't work as-is

I had to make the below changes to rps_rpsl_host_dll.c to get dynamic libraries to work on Linux. Not sure how portable these changes are back to windows but I'm sure it's possible to work out something more platform-independent.

Branch: https://github.com/GPUOpen-LibrariesAndSDKs/RenderPipelineShaders/compare/main...expenses:RenderPipelineShaders:linux-dynamic-libraries
Shader compilation script: https://github.com/expenses/rust-rps/blob/1306c542a55c1c699374e7ee6c4bb09574380c98/compile_dynamic.sh

diff --git a/src/runtime/common/rps_rpsl_host_dll.c b/src/runtime/common/rps_rpsl_host_dll.c
index 50a79e4..d408677 100644
--- a/src/runtime/common/rps_rpsl_host_dll.c
+++ b/src/runtime/common/rps_rpsl_host_dll.c
@@ -98,9 +98,9 @@ void ___rpsl_abort(uint32_t result)
 }

 uint32_t ___rpsl_node_call(
-    uint32_t nodeDeclId, uint32_t numArgs, void** ppArgs, uint32_t nodeCallFlags, uint32_t nodeId)
+    uint32_t nodeDeclId, uint32_t numArgs, uint8_t** ppArgs, uint32_t nodeCallFlags, uint32_t nodeId)
 {
-    return (*s_rpslRuntimeProcs.pfn_rpsl_node_call)(nodeDeclId, numArgs, ppArgs, nodeCallFlags, nodeId);
+    return (*s_rpslRuntimeProcs.pfn_rpsl_node_call)(nodeDeclId, numArgs, (void**)ppArgs, nodeCallFlags, nodeId);
 }

 void ___rpsl_node_dependencies(uint32_t numDeps, const uint32_t* pDeps, uint32_t dstNodeId)
@@ -124,9 +124,9 @@ void ___rpsl_scheduler_marker(uint32_t opCode, uint32_t flags, const char* name,
     (*s_rpslRuntimeProcs.pfn_rpsl_scheduler_marker)(opCode, flags, name, nameLength);
 }

-void ___rpsl_describe_handle(void* pOutData, uint32_t dataSize, uint32_t* inHandle, uint32_t describeOp)
+void ___rpsl_describe_handle(uint8_t* pOutData, uint32_t dataSize, uint32_t* inHandle, uint32_t describeOp)
 {
-    (*s_rpslRuntimeProcs.pfn_rpsl_describe_handle)( pOutData, dataSize, inHandle, describeOp);
+    (*s_rpslRuntimeProcs.pfn_rpsl_describe_handle)( (void*)pOutData, dataSize, inHandle, describeOp);
 }

 uint32_t ___rpsl_create_resource(uint32_t type,
@@ -145,7 +145,7 @@ uint32_t ___rpsl_create_resource(uint32_t type,
         type, flags, format, width, height, depthOrArraySize, mipLevels, sampleCount, sampleQuality, temporalLayers, id);
 }

-void ___rpsl_name_resource(uint32_t resourceHdl, const char* name, uint32_t nameLength)
+void ___rpsl_name_resource(uint32_t resourceHdl, unsigned char* name, uint32_t nameLength)
 {
     (*s_rpslRuntimeProcs.pfn_rpsl_name_resource)(resourceHdl, name, nameLength);
 }
@@ -190,7 +190,7 @@ uint8_t ___rpsl_dxop_isSpecialFloat_f32(uint32_t op, float a)
     return (*s_rpslRuntimeProcs.pfn_rpsl_dxop_isSpecialFloat_f32)(op, a);
 }

-int __declspec(dllexport) ___rps_dyn_lib_init(const ___rpsl_runtime_procs* pProcs, uint32_t sizeofProcs)
+int ___rps_dyn_lib_init(const ___rpsl_runtime_procs* pProcs, uint32_t sizeofProcs)
 {
     if (sizeof(___rpsl_runtime_procs) != sizeofProcs)
     {

Finding a platform-independent solution for the export declaration is definitely possible but your other changes leave me a little curious.
I do not see an obvious requirement for the usage of uint8_t pointers instead of void pointers and unsigned char strings instead of const char ones that is linux specific. Would you mind elaborating on these changes?

@FlorianHerickAMD
Without that I get these errors:
3d.rpsl.g.c:588:10: error: conflicting types for ‘___rpsl_node_call’; have ‘uint32_t(uint32_t,  uint32_t,  uint8_t **, uint32_t,  uint32_t)’ {aka ‘unsigned int(unsigned int,  unsigned int,  unsigned char **, unsigned int,  unsigned int)’}
  588 | uint32_t ___rpsl_node_call(uint32_t, uint32_t, uint8_t**, uint32_t, uint32_t);
      |          ^~~~~~~~~~~~~~~~~
In file included from <command-line>:
./RenderPipelineShaders/src/runtime/common/rps_rpsl_host_dll.c:100:10: note: previous definition of ‘___rpsl_node_call’ with type ‘uint32_t(uint32_t,  uint32_t,  void **, uint32_t,  uint32_t)’ {aka ‘unsigned int(unsigned int,  unsigned int,  void **, unsigned int,  unsigned int)’}
  100 | uint32_t ___rpsl_node_call(
      |          ^~~~~~~~~~~~~~~~~
3d.rpsl.g.c:590:6: error: conflicting types for ‘___rpsl_describe_handle’; have ‘void(uint8_t *, uint32_t,  uint32_t *, uint32_t)’ {aka ‘void(unsigned char *, unsigned int,  unsigned int *, unsigned int)’}
  590 | void ___rpsl_describe_handle(uint8_t*, uint32_t, uint32_t*, uint32_t);

The output C file from rps-hlslc contains different functions declarations from what's in RenderPipelineShaders/src/runtime/common/rps_rpsl_host_dll.c:
/* Function Declarations */
static struct texture _BA__PD_make_default_texture_view_from_desc_AE__AE_YA_PD_AUtexture_AE__AE_IUResourceDesc_AE__AE__AE_Z(uint32_t, struct ResourceDesc*) __ATTRIBUTELIST__((nothrow)) __asm__ ("?make_default_texture_view_from_desc@@YA?AUtexture@@IUResourceDesc@@@Z");
uint32_t _BA__PD_bloom_mips_for_dimensions_AE__AE_YAIII_AE_Z(uint32_t, uint32_t) __ATTRIBUTELIST__((always_inline, nothrow)) __asm__ ("?bloom_mips_for_dimensions@@YAIII@Z");
void _BA__PD_compute_bloom_from_hdr_AE__AE_YAXUtexture_AE__AE_UFilterConstants_AE__AE__AE_Z(struct texture*, struct FilterConstants*) __ATTRIBUTELIST__((always_inline, nothrow)) __asm__ ("?compute_bloom_from_hdr@@YAXUtexture@@UFilterConstants@@@Z");
void rpsl_M_3d_Fn_hello_rpsl(struct texture*, struct FilterConstants*) __ATTRIBUTELIST__((nothrow));
void ___rpsl_abort(uint32_t);
uint32_t ___rpsl_node_call(uint32_t, uint32_t, uint8_t**, uint32_t, uint32_t);
void ___rpsl_block_marker(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
void ___rpsl_describe_handle(uint8_t*, uint32_t, uint32_t*, uint32_t);
uint32_t ___rpsl_create_resource(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
void ___rpsl_name_resource(uint32_t, uint8_t*, uint32_t);
uint32_t ___rpsl_dxop_binary_i32(uint32_t, uint32_t, uint32_t);
void rpsl_M_3d_Fn_hello_rpsl_wrapper(uint32_t, uint8_t**, uint32_t) __ATTRIBUTELIST__((noinline, nothrow));

Could you share with us your specific OS information, e.g. the output of cat /etc/os-release and the rpsl file used as source for the compiler? We are currently diagnosing an issue with the compiler that may be the cause of this.

authors: FlorianHerickAMD expenses


text:
Bayesian GPLVM runs out of memory when using quadrature_expectation for latent_dim=4

I tried to run Bayesian GPLVM. In a series of my experiments, I notice that I can't use some kernels. I can use RBF kernel. But I can't use White and Convolutional kernels.
We can calculate analytic expectations of RBF kernel.
But we can only calculate quadrature expectations of  White and Convolutional kernels.
Can I use these kernels with Bayesian GPLVM?

System information:

Python version: 3.7.4
TensorFlow installed from (source or binary): pip install tensorflow<2
TensorFlow version (use command below):  1.14.0
GPflow installed from (source or binary):pip install gpflow
GPflow version: 1.5.0

You can collect some of this information using our environment capture script You can also obtain the TensorFlow version with python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
v1.14.0-rc1-22-gaf24dc91b5 1.14.0

I put my code.
import tensorflow as tf
import numpy as np

import gpflow
from gpflow  import kernels

import pods

data = pods.datasets.oil_100()
Y = data['X']
labels = data['Y'].argmax(axis=1)

latent_dim = 4  # number of latent dimensions
num_inducing = 40  # number of inducing pts
num_data = Y.shape[0]  # number of data points
X_mean_init = gpflow.models.PCA_reduce(Y, latent_dim)  # Initialise via PCA
X_var_init = np.ones((num_data, latent_dim))
Z_inducing_inputs_init = np.random.permutation(X_mean_init.copy())[:num_inducing]  # Pick inducing inputs randomly from dataset initialisation

kernel = kernels.White(latent_dim)

m = gpflow.models.BayesianGPLVM(
    X_mean=X_mean_init,
    X_var=X_var_init,
    Y=Y,
    kern=kernel,
    M=num_inducing,
    Z=Z_inducing_inputs_init
)

In m = gpflow.models.BayesianGPLVM(X_mean=X_mean_init, X_var=X_var_init,  Y=Y, kern=kernel,  M=num_inducing,Z=Z_inducing_inputs_init), The code spent long time and raise error ValueError: Tried to convert 'input' to a tensor and failed. Error: Cannot create a tensor proto whose content is larger than 2GB.
Please give me your support.

Hi @raven38 , I've now looked into this - it's not a bug in GPflow, it's just how you use it. The default number of points to use for the Gauss-Hermite numerical quadrature (when analytic kernel expectations haven't been defined) is H=100, which works fine for D=2, but produces too many points in the D=4 that you chose (latent_dim), as the overall number of support points that need to be generated is O(H^D)! You can make it work in D=4 by reducing the number of points, e.g. to 30. You can achieve this by adding the keyword argument num_gauss_hermite_points=30 to the calls of expectation(pX, ...) in the gplvm.py code. (Ideally, this would be more easily configurable - please do help out and make a pull request to GPflow if you can think of how to make this happen!)
It would be great if you could re-state your question on stackoverflow.com on the gpflow tag: https://stackoverflow.com/questions/tagged/gpflow - I would then post my answer over there again, which will be much more helpful to other users in the future than a closed issue!

(You might want to reduce the number of latent dimensions, 4 is probably too large - definitely for this dataset - and I don't see how a White kernel would let you learn anything useful here! though obviously the same is true for any other kernel for which analytic expectations haven't been added, such as Matern32)

repo: GPflow/GPflow


text:
🛑 Forge.GZod01.fr (CyberGammaForge) is down

In 6098c3b, Forge.GZod01.fr (CyberGammaForge) (https://forge.gzod01.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Forge.GZod01.fr (CyberGammaForge) is back up in 3f31277 after 3 hours, 29 minutes.


text:
Add Thai translation.

Here is the Thai translation for the plugin!
I'll update the translation when new version is released, thanks!

This needs to be in a different branch ;)
Added to 2.5.0 (81b9a9a345e2067da164b1f8c31946c83a8d927e)

repo: GamerJoep/MinetopiaVehicles


text:
response to workflow_run event

Added option to retrieve the status of the last workflow job when using workflow_run  event for notification.
If you have more than one workflow file, you will need to write the Slack notification settings in the workflow configuration file each time.
We have prepared workflow files to be notified using the workflow_run event, and made it possible to specify the target workflows to be notified.
This method of notification using workflow_run is also useful in cases where dependabot notification fails
Configuration example
on:
  workflow_run:
    workflows:
      - lint
      - test
    types:
      - completed
jobs:
  main:
    name: main
    runs-on: ubuntu-20.04
    steps:
      - uses: swfz/slack-workflow-status@feature/follow-workflow-run
        with:
          workflow_run: true
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

Looks like this change is not backward compatible, now our workflows are failing with:
Error: TypeError: Cannot read properties of undefined (reading 'id') Error: Cannot read properties of undefined (reading 'id')

hmm, ok gonna revert this and debug further

I am so sorry!
I have checked the operation without workflow_run
I have re-submitted the PR and hope you will take a look at it!
https://github.com/Gamesight/slack-workflow-status/pull/47
The difference is here
https://github.com/Gamesight/slack-workflow-status/pull/47/commits/8b0f2ea7bb582da2fc8f9e04a77ae0974f8df9d2

authors: AnthonyKinson msuwada swfz

repo: Gamesight/slack-workflow-status


text:
Beta versions npm publisher

increment beta version on every patch to 'develop' branch
except version bamping (compares package.json versions from
current and previous patches).
NOTE: this solution uses latest published version (catched from npm)
and increments it. No commits, tags will be pushed back to github.

publish beta package to npm
NOTE: !!! This solution is for CI/CD only. You'll get amended commit and
bumped version of package.json in case of local use !!!

in this patch implemented CD of latest development version.
Thus docker based build toolkit removed.

@angieskazka @jheeffer please review and merge
it will became a deploy blocker

:+1:

:+1:

authors: korel-san rychkog temujin valorkin

repo: Gapminder/vizabi


text:
VisualStudio - libvorbis

VisualStudio complains that the libvorbis project is out of date when starting a debug build. This is caused by the libvorbis project having incorrect locations for several header files.

Resolved.


text:
Icons not shown

react-native, react and native-base version
react: 16.0.0-alpha.12
react-native: 0.47
native-base: 2.3.2
Expected behaviour
An icon should be shown when I use <Icon name="menu">
Actual behaviour
A substitute icon is shown.
Steps to reproduce (code snippet or screenshot)

The full source code is
export default class App extends React.Component {
    render() {
        return (
            <Container>
                <Header>
                    <Left>
                        <Button transparent>
                            <Icon name="home" />
                        </Button>
                    </Left>
                    <Body>
                        <Title>Termine</Title>
                    </Body>
                </Header>
                <Content>
                    <Text>Appointments...</Text>
                </Content>
            </Container>
        );
    }
}

Is the bug present in both ios and android or in any one of them?
At least on an Android device...

I tried the above code on the versions specified by you. But the home icon was displaying properly. Can you check these issues #76 & #138

@aloifolia You need to link the icons. run react-native link or react-native link react-native-vector-icons

set type attribute depend on Bundled Icon Sets(list below)
Example
Bundled Icon Sets
Entypo
EvilIcons
Feather
FontAwesome
Foundation
Ionicons
MaterialIcons
MaterialCommunityIcons
Octicons
Zocial
SimpleLineIcons
Nativebase use: react-native-vector-icons
See full docs here: https://github.com/oblador/react-native-vector-icons

authors: akhil-geekyants aloifolia shivrajkumar waritthornnudee

repo: GeekyAnts/NativeBase


text:
逻辑回归模型的评估指标——程序清单中TP、FP、FN、TN的计算的疑惑

唐老师，
在阅读到程序清单5-7时，我有个疑惑：
def evaluation(re):
    """
    计算预测结果的查准查全率以及f1
    参数
    ----
    re ：DataFrame，预测结果，里面包含两列：真实值‘lable_code’、预测值‘pred’
    """
    bins = np.array([0, 0.5, 1])
    label = re["label_code"]
    pred = re["pred"]
    tp, fp, fn, tn = np.histogram2d(label, pred, bins=bins)[0].flatten()
    precision = tp / (tp + fp)  # 0.951
    recall = tp / (tp + fn)  # 0.826
    f1 = 2 * precision * recall / (precision + recall)  # 0.884
    print("查准率: %.3f, 查全率: %.3f, f1: %.3f" % (precision, recall, f1))

 tp, fp, fn, tn = np.histogram2d(label, pred, bins=bins)[0].flatten()
我查阅了np.histogram2d的帮助文档，我觉得返回的顺序应当是tn,fp,fn,tp呀？

这是我认为返回的H：

H[0][0]对应TN，H[0][1]对应FP，H[1][0]对应FN，H[1][1]对应TP。
我也用一个小例子试了一下（这个例子里的tp=3, fp=2, fn=1, tn=1）
bins=np.array([0, 0.5, 1])
x=pd.Series([0, 1, 0, 1, 1, 1, 0])
y=pd.Series([1, 1, 0, 0, 1, 1, 1])
a, b, c, d = np.histogram2d(x,y,bins=bins)[0].flatten()

运行结果如下：
In [119]: a,b,c,d
Out[119]: (1.0, 2.0, 1.0, 3.0)

我不知道是否np.histogram2d的帮助文档没有理解到位？还请唐老师指点一二。

我验算了一下，是的。我错了。你的理解是对的。
对于这个计算，其实更好的方法是使用sklearn的，confusion_matrix。具体的代码如下
from sklearn.metrics import confusion_matrix

label = pd.Series([0, 1, 0, 1, 1, 1, 0])
preds = pd.Series([1, 1, 0, 0, 1, 1, 1])
tn, fp, fn, tp = confusion_matrix(label, preds).ravel()

我稍后会将代码更新。谢谢你的提交
对错误感到十分抱歉。

原来如此，这种方法确实更直观！受教了~

bug已修复，再次感谢提交。

authors: GenTang Phil-Kuo


text:
getCurrentPosition() is deprecated

Hi,
I see this in ChromeDevTools Console:
getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be
removed in the future. You should consider switching your application to a secure origin,
such as HTTPS. See https://goo.gl/rStTGz for more details.

And I also see this:
Google Maps API warning: SensorNotRequired:
https://developers.google.com/maps/documentation/javascript/error-messages

Thanks.

@rcaf so sorry for the late reply. Will look at resolving this soon.

authors: mikebronner rcaf

repo: GeneaLabs/Phpgmaps


text:
🛑 AI flowise is down

In 4e54bb9, AI flowise (https://aiflow.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI flowise is back up in 39a0c3d after 23 days, 10 hours, 48 minutes.

repo: GentlemanHu/own-status


text:
🛑 WWWW xyz is down

In 99f63c6, WWWW xyz (https://www.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WWWW xyz is back up in aa48a78.


text:
Switch between navigation bar and swipe control by command line arguments

Hello,
I propose to add command line arguments --navigation-bar and --swipe-control which will turn on appropriate controls for a session.
As --show-touches works which I use.
I often miss-click right mouse button and some applications are redrawn upon minimize, and theirs contexts are lost.
It's good that we have MOD+b for back and MOD+h for home, but it would be nicer to have those switches.

I propose to add command line arguments --navigation-bar and --swipe-control which will turn on appropriate controls for a session.

Which concrete actions would they do?
AFAIK, there is no easy way to just enable/disable the navigation bar (from adb for example).
What would --swipe-control do?

I often miss-click right mouse button

There is an option --forward-all-clicks (so that you inject right-click instead of BACK).

--navigation-bar will force switching to navigation bar with three classical buttons: back, home and application cycle.
--swipe-control will force gesture control. With --forward-all-clicks it will work like charm.
I started using --forward-all-clicks after many days of miss-clicking.
I use gesture control and think that navigation bar --forward-all-clicks will fit perfectly.
But I don't wanna use it forever, my fingers are very good for swipes.
How hard it was to --show-touches? It seems that two proposed command are in the same league.

I turned on navigation bar and with connected phone executed:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
That turned gesture navigation on my phone.

:+1: (for recent Android only I guess)
cmd source code is here: https://android.googlesource.com/platform/frameworks/native/+/refs/heads/master/cmds/cmd/cmd.cpp
In the end, it calls this code in Java:
https://github.com/aosp-mirror/platform_frameworks_base/blob/f9eb7b947a88b905a1cd4bb3e0b22582cae26055/services/core/java/com/android/server/om/OverlayManagerShellCommand.java#L65-L68
But all of this is just the wrapper. Instead, we should call the method expose in the AIDL of the service IOverlayManager:
https://github.com/aosp-mirror/platform_frameworks_base/blob/f9eb7b947a88b905a1cd4bb3e0b22582cae26055/core/java/android/content/om/IOverlayManager.aidl#L91

Is there any progress on this yet? If not, would you be open to a PR?

repo: Genymobile/scrcpy


text:
Can not compile the scrcoy.exe

Hi. I have read the BUILD.md carefully and  installed  all the required packages.
However, when I run the following commands to compile, it fails.
cd prebuilt-deps/
make prepare-win64
cd ..
meson x --buildtype release --strip -Db_lto=true -Dcrossbuild_windows=true --cross-file=cross_win64.txt -Dcompile_server=false -Dcompile_app=true -Dportable=true
ninja -Cx
The error message is as follows：

Can you help me?

(Please post the terminal output as text instead of screenshot)
It has been fixed on dev branch by 52cebe1597cef201f28dc3c6122dc022616362c2. Checkout the dev branch and it will work.
I don't understand why I don't have link issues on v1.20 on my machine.

You rock! I compiled it successfully now!
(I will post the terminal output as text on next issue. ^_^)


text:
Independent volume control

[✔ ] I have checked that a similar feature request does not already exist.

Is there some way to control the volume of the window without having to turn down the phone or computer's volume? I like to listen to audio books from my phone, but they come up too loud when I use the device or computer speakers. I have tried turning down the volume of just the window in volume mixer, but every time I have to reopen scrcpy, the volume is back at max. I like to leave the phone's volume alone because it is just right for making phone calls, and the computer's master volume needs to be kept high for certain alerts, so I need a third option.

Yes. You should be able to control the audio from Scrcpy independently. Go to windows audio control and you should be able to adjust the scrcpy audio without changing the volume of the computer (If you are on windows)


text:
Phone Crashing

OS: Windows 10
Scrcpy version: 2.5
Installation method: Out of the box
Device model: Nokia N152DL
Android version: 12

I don't know why, but for some reason lately, when I have scrcpy open, my phone freezes up and shows a blank screen and has to be hard booted before it does anything again. Nothing else makes my phone misbehave like this, so I can only assume it's scrcpy's fault. How do I mirror my phone onto my PC without the phone crashing?

Probably a problem with the capture/encoding process in your system ROM.
Does it happen with another encoder?
Is the device hot when it reboots?

The device is always hot when it's plugged in, and I'd never even heard of decoders until now.

The device is always hot when it's plugged in

Is it better with the screen turned off? https://github.com/Genymobile/scrcpy/blob/master/doc/device.md#turn-screen-off

I don't turn the screen off very often, because the shortcut to turn it back on is hard to remember, and I sometimes have to go back to using the phone normally at a moment's notice.

It's still crashing on 2.7. The commands I use are
scrcpy --shortcut-mod=lalt,ralt --select-tcpip  --no-audio  --window-x=5 --window-y=40 --window-width=500  --window-height=1000


text:
Linked wallet under a 3ID shows "purchase" action

There are some new patterns to learn here when using 3ID Connect. Basically a 3ID can have multiple blockchain wallets linked to it. However, the cadastre UI picks a single wallet to determine whether that wallet is the "owner" of a parcel. If it is the owner, it shows the editing view instead of the purchasing view.
Currently, when a wallet is selected that is not the owner of a parcel, but is linked to the 3ID that owns the Ceramic doc for that parcel, they can successfully edit the doc within the purchase view.
@gravenp Should we use the 3ID as the main form of identity on the cadastre? This means that the cadastre will show all parcels owned by all wallets under that 3ID as their own, instead of only parcels from a single wallet.

Alright trying to untangle a bit of the knot here:

We want unique individuals (not businesses, not wallets) to participate in governance and voting.
There are valid reasons that users would want wallets to remain separate although they may be effectively controlled by the same individual.

Number 1 points to using 3ID for governance purposes. Number 2 just points to the Cadastre UX ensuring someone doesn't accidentally cross-wallet edit or fund transactions. I think that's more important than any minor convenience gain. So I'd lean toward keeping wallet ID as the key on the Cadastre unless 3ID is implemented to stay consistent with governance but with affordances to force/allow the user to still toggle between wallets to interact with the respective land parcels.

Alright trying to untangle a bit of the knot here:

We want unique individuals (not businesses, not wallets) to participate in governance and voting.
There are valid reasons that users would want wallets to remain separate although they may be effectively controlled by the same individual.

Number 1 points to using 3ID for governance purposes. Number 2 just points to the Cadastre UX ensuring someone doesn't accidentally cross-wallet edit or fund transactions. I think that's more important than any minor convenience gain. So I'd lean toward keeping wallet ID as the key on the Cadastre unless 3ID is implemented to stay consistent with governance but with affordances to force/allow the user to still toggle between wallets to interact with the respective land parcels.

After synchronous discussion, we are leaving the behavior as is for now. Users will only be able to edit docs if they have the specific wallet selected in Metamask.
Also, I believe the linking of accounts is a 3ID specific thing
https://developers.idx.xyz/guides/definitions/default/#3id-keychain
However, it seems to be just an IDX definition, which means any DID could implement it if they wanted to?

After synchronous discussion, we are leaving the behavior as is for now. Users will only be able to edit docs if they have the specific wallet selected in Metamask.
Also, I believe the linking of accounts is a 3ID specific thing
https://developers.idx.xyz/guides/definitions/default/#3id-keychain
However, it seems to be just an IDX definition, which means any DID could implement it if they wanted to?

authors: codynhat gravenp

repo: Geo-Web-Project/cadastre


text:
Add an alternative property to disable swiping without side effects on IE

Add an alternative property to disable swiping without side effects on IE :
IE disables scroll in 'disabled' containers

LGTM, thanks for spotting the issue with IE!

authors: MeTaNoV alemarre

repo: GeoloeG/iron-swipeable-pages