JAR publishing is broken

https://github.com/TBD54566975/ftl/actions/runs/7578470555/job/20641121612

i think this was just flakiness, the error indicated connectivity issues and eventually publishing resumed working
but this reminds me about the stuff we'd talked about a bit ago to make the process a little more robust - rolling back JAR publishing/Go releases if either counterpart were unsuccessful. i'll make a ticket to track this


Cookie expiration

Hey @awinogrodzki
Thank you so much for this amazing library.
I wanted to know how can I keep my user indefinitely logged in/their cookie never expires.

Hey @27lakshay!
The process of verifying user token requires valid public certificates fetched from Google, which have expiry date. See Verify ID tokens using a third-party JWT library

Finally, ensure that the ID token was signed by the private key corresponding to the token's kid claim. Grab the public key from<EMAIL_ADDRESS>and use a JWT library to verify the signature. Use the value of max-age in the Cache-Control header of the response from that endpoint to know when to refresh the public keys.

To work around this issue, we theoretically could store expired certificates to validate against, but this would be potential security risk.
This limitation also exists in firebase-admin-node and other libraries that implement Firebase Authentication, unless they allow some undocumented behaviour.
Either way, I will experiment with Google APIs to see if we can achieve endless session using token refresh. I am not sure yet if token refresh should will also refresh kid identifier that corresponds to valid certificates.
I will let you know later today

Here's a good conversation about this issue: https://stackoverflow.com/questions/70350163/firebase-expired-idtoken-becoming-invalid-after-1-week
kid header is being refreshed together with the rest of the token, so it might be we can refresh the token after kid has expired.
I will prepare some experimental release where we could potentially test this

@27lakshay, I've prepared experimental<EMAIL_ADDRESS>package.
You can add UNSAFE_expireTokenOnInvalidKidHeader: true to options passed to authMiddleware, getTokens and getFirebaseAuth functions.
UNSAFE_expireTokenOnInvalidKidHeader instructs token verifier to throw TOKEN_EXPIRED error instead of INVALID_ARGUMENT or INVALID_SIGNATURE error, which causes token to be refreshed.
Please note that there is a chance that token refresh will fail after Google certificates are refreshed. If that chance is 100%, you would not be able to implement endless loading.
Please give it a try and let me know if it extended your session's lifetime.

Hi @awinogrodzki ,
Thank you so much for such a quick response and explanation.
I would like to explain my usecase, right now I am using firebase client sdk for auth in nextjs, as currently auth is client based I cannot do SSR for certain pages and also I have to show loader on login/register page and then redirect the user if they are signed in as per firebase client sdk.
I need my users to be indefinitely logged in, until and unless we delete or explicitly revoke their tokens, now this works successfully with firebase client sdk and the user never gets signed out but the SSR part is not possible with this.
I tried to build a rough implementation with next-firebase-auth-edge, it works great, its fast, works well with next-intl, perfect for my usecase but,
if the cookie gets expired it just runs the callback handleInvalidToken in middleware and doesn't provide any information about why it was invalid, if it could throw something like TOKEN_EXPIRED or some other unique identifier which helps the client code understand that the certificate got expired, then I could just show a loader on client for this particular case and hit the auth/login endpoint again from onAuthStateChanged once the firebase auth is intialized on client.
Same thing for the google certificates part, if the authMiddleware could throw that google certificates got expired then I could hit the api/login again as per the firebase client auth state.
Any other potentials solutions are also welcome.

Actually, other developers also requested handleInvalidToken to provide more insight to the reason behind token being invalid.
I've just released<EMAIL_ADDRESS>Since 1.4.0, handleInvalidToken is now called with InvalidTokenReason as the first argument.
export enum InvalidTokenReason {
  MISSING_CREDENTIALS = 'MISSING_CREDENTIALS',
  MISSING_REFRESH_TOKEN = 'MISSING_REFRESH_TOKEN',
  MALFORMED_CREDENTIALS = 'MALFORMED_CREDENTIALS',
  INVALID_SIGNATURE = 'INVALID_SIGNATURE',
  INVALID_CREDENTIALS = 'INVALID_CREDENTIALS'
}

const InvalidTokenMessages: Record<InvalidTokenReason, string> = {
  [InvalidTokenReason.MISSING_CREDENTIALS]: 'Missing credentials',
  [InvalidTokenReason.MALFORMED_CREDENTIALS]: 'Credentials are incorrectly formatted',
  [InvalidTokenReason.INVALID_SIGNATURE]: 'Credentials have invalid signature',
  [InvalidTokenReason.MISSING_REFRESH_TOKEN]: 'Refresh token is missing',
  [InvalidTokenReason.INVALID_CREDENTIALS]: 'Invalid credentials'
};

Please remember that handleInvalidToken is mostly informative and most of the time, the reason would be InvalidTokenReason.MISSING_CREDENTIALS.

As for TOKEN_EXPIRED error – the library does not throw this error explicitly. TOKEN_EXPIRED error is catched internally to trigger token refresh. If token refresh fails, the library calls handleError with INVALID_CREDENTIAL error.
I've added some documentation on possible AuthError and InvalidTokenReason types. See https://next-firebase-auth-edge-docs.vercel.app/docs/errors
Let me know if it helps

I will close the issue now, as it seems resolved. Cheers 🌮


Navigation doubles up URL

Issue Summary
When adding URLs to the navigation page, the URL is doubled up after clicking Save.
http://i.imgur.com/bxMGQK5.png
Steps to Reproduce

Add a URL
Click Save

Technical details:

Azure hosted
Ghost Version: 0.8
Node Version: 4.4.1
Browser/OS: 51.0.2704.103 (64-bit)
Database: sqlite3

Fixed, added website URL to config in azure (using: https://deploy.azure.com)


Beast P2P Network

This pull request introduces an alternative P2P network protocol based upon boost::beast websockets.
Major Features:

multi-threaded - the networking code can use as many threads as necessary, number configured via command line
less than 1000 lines of code
uses a simple yet reliable syncing algorithm
auto reconnect
graceful connection shutdown w/out delay
prioritizes blocks over transactions without creating large queues

Tested at 1000 TPS with 3 nodes on localhost
Tested multiple syncing peers at same time as 1000 TPS
Missing Features:

No RPC interface for dynamically adding/removing peers
no attempts made to minimize bandwidth consumed via pre-acks

This net plugin could "in theory" work side-by-side with the existing net plugin and is entirely independent / optional.

Will it negotiate a different network version than the current p2p protocol?

Boost 1.67 release notes mention

This version fixes significant defects in websocket::stream which can lead to asserts or undefined behavior. Users are encouraged to update to the latest Boost release.

IMO we should move the build scripts to 1.67 before taking this


Subtle laggy windows when dragging

When dragging windows there is a subtle lag, maybe they aren't getting redrawn/updated fast enough.

Steps to reproduce: Drag any window
Expected outcome: windows are moving smoothly like in v0.22.0beta
Noted outcome: windows are moving choppily

From my experience, this issue appeared when udis86 was added to hyprland.
I run and ARM64 system, so udis86 might not like this.
Like in #1127 but just that the windows get centered to the cursor in like 0.25 seconds from what I'm seeing and guessing.
https://user-images.githubusercontent.com/123803351/224329375-e6f55aeb-f081-4ebf-bf52-f2ae674924c9.mp4

I am having this issue too, on x86

I am having this issue too, on x86

Very interesting, am glad, that I'm not the only one.

git bisect please. There have been some changes to how this behaves because of #1127

I have identified the commit where something has changed about how laggy windows are when dragging: #fb45f8f
That is the commit where windows are less laggy, before that one, Windows were even laggier/glitchier and would only snap to the center of the cursor when the cursor is still, according to my tests.

I don't see any choppiness there - I see that they "lag" behind - that's because misc:move_manual_resizes (iirc thats the name) is on by default - meaning your drags are animated to be more fluid.
If that's the issue - it's expected behavior and can be disabled with that and another var you can find in the wiki and this can be closed.

That's expected if your curve looks kinda like 1,0,1,1
drags are animated with your windowsMove settings.

But my curve is the default curve, so 0.05, 0.9, 0.1, 1.05.

Yes, that fixes it for me too!

Seems like adding animate_mouse_windowdragging=false to misc is the intended way to prevent this behavior, according to the wiki.

This is new I guess?

Seems like adding animate_mouse_windowdragging=false to misc is the intended way to prevent this behavior, according to the wiki.

Yes this fixed it for me completely, now the window moves non choppily and also stay centered to the mouse, thank you very much!


Usage in combination with ngFor and item index changes

I'm trying to use this package in combination with a ngFor loop(inside ng2 dragula), this works in basic usage. But when the index of a item changes the scrolling doesn't scroll to the correct element anymore. So for example: Item with index 7 gets swapped with item with index 1, now the new index 1 still scrolls to index 7. It should be index 1.
Here are the two code snippets:
<span [dragula]='"bag-one"' [dragulaModel]="elements">
    <app-side-elem *ngFor="let item of elements; let i = index;" pageScroll [href]="'#item_'+i"></app-side-elem>
</span>

<div class="col s12" *ngFor="let item of elements; let i = index;" [id]="'item_'+i">
    <!-- SOME HTML HERE -->
</div>

According to Firefox Developer tools the ID of the target DIV gets updated correctly, and the same goes for the pageScroll element. Anyone got ideas?

Sounds like an issue related to #84. I'm afraid there's no proper workaround for that and you have to wait till I find time to add the linked enhancement.

@Nolanus Thanks for the quick reply, i will try to think of a workaround myself in the meantime. The linked issue has some useful info that could possibly help.

Should be fixed with the latest release

Thank you for the quick fix Nolanus, i'm going to test it tonight :-)

@Nolanus, it is indeed fixed! Thanks a lot.


how to enable php-mcrypt?

I need support to enable php-mcrypt on now-php
I get an error when use mcrypt
Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open()
Thank you for support.

Hi @khanhnguyenha1120.
Mcrypt is not recommended since PHP 7 (https://www.php.net/manual/en/function.mcrypt-module-open.php).
now-php uses PHP 7.4 under the hood. Try to look for mcrypt provider in packagist (https://packagist.org/packages/phpseclib/mcrypt_compat).


Fixed the Problem of mouse hover over the "Created by " Box.

Issue #523
Solved the Issue which was bad cursor pointer when pointed onto the "Created by username".
As you can see below in the video, I have shown both the old cursor and new cursor:
| Mouse Cursor over the Top Box - Old |
https://github.com/Spyware007/Animating-Buttons/assets/100849696/0605f716-63c4-468d-b21f-1f3eaba9af87
| Mouse Cursor over the Top Box - New |
https://github.com/Spyware007/Animating-Buttons/assets/100849696/ec41f325-3884-4987-a06e-477b011949ab
Please Review this PR and Kindly Merge it!
Contributor - Sabhi Sharma (GSSOC'23)

Hey @PoorviShetty could you've added a level3 to it please!

@Spyware007 Hey, It passed all checks and has no conflicts. Can you review and merge it!

@sabhisharma-ise Please resolve the conflicts!

@Spyware007 Hey, please review the PR
I've resolved the merge conflicts now!

@sabhisharma-ise  I'm extremely sorry!
But I guess due to the latest merges there are still some conflicts.

@Spyware007
Check now

@sabhisharma-ise
Failed to compile.
12:26:10.863 |
12:26:10.863 | Module not found: Error: Can't resolve '../../Functions/Download' in '/vercel/path0/src/components/Main'
12:26:10.863 |
12:26:10.863 |
12:26:10.886 | error Command failed with exit code 1.
12:26:10.886 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
12:26:10.902 | Error: Command "yarn run build" exited with 1
12:26:11.180 | BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1
Here's the vercel error.
It's saying module not found.
Means you accidentally imported something that is not defined.

It wasn't coming yesterday, but I'm not sure why it came now.


Debug with DAP fails

Let's make sure issue is not already fixed in snapshots first.

[X] I verified I can reproduce this issue against latest snapshots build

Steps to reproduce
From a fresh installation and clean workspace:

Ctrl+3
Debug with VScode Java Debug Adapter

I expected: Debugging starts
But got:  Error dialog with:
Error executing 'com.redhat.eclipseide.jdtlsclient.debugwithvscode': java.lang.NullPointerException: Cannot invoke "java.util.Map.putAll(java.util.Map)" because "builder.dspParameters" is null
Error executing 'com.redhat.eclipseide.jdtlsclient.debugwithvscode': java.lang.NullPointerException: Cannot invoke "java.util.Map.putAll(java.util.Map)" because "builder.dspParameters" is null

Community

[X] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

Seems like https://github.com/eclipse/lsp4e/issues/756 broke it . It removed DSPLaunchDelegate.jsonToMap which made sure that dspParameters is initialized while the new code doesn't do so.


V2/i18n el

Summary
Greek translation.
Description for the changelog
added file el.js in td.vue/src/i18n
edited file index.js in td.vue/src/i18n
Other info

Looks great to me @kostasadriano - do you want me to test it on my local V2 Threat Dragon?

I can merge this in @kostasadriano , unless you would like the honour?

I can merge this in @kostasadriano , unless you would like the honour?

Great! I don't see an option to merge, I guess I don't have the appropriate permissions.

Ah, not yet ... I have sent an invite as you are now a contributor. If you accept the invite then you should have write access @kostasadriano


Upload in "high quality" for unlimited storage

I 'd like to help with the client side compression, to allow users to upload unlimited photos.
Have you already started working on it?
To add this feature we would definitely need an option in the configuration of the cli to allow the users to enable/disable the compression, but where do you think it's better to implement the compression? in the cli o directly on the library?

Oh no, so photos uploaded with this CLI will count against quota, regardless of the account's setting? 😟

Yep it does. Oh well, at least I can use the Recover Storage button in Google Photos.
But is it even possible for this program to upload as “High Quality”?
From API documentation:

I've seen that too in the documentation... so downsizing the image is not a solution.
As I already reported in this issue, there is this feature request in the official Google Photos API issues page.

Did anyone checkout the website photos.google.com and checked the API that is used there? The URLs look slightly different, but still quite similar to the official API. I'd assume that it is somehow possible to upload in high quality, but it is just not documented?

Or had a look at the google photos uploader/sync program to see how it does it?

Last I checked there is no way to upload in the "high quality" (unlimited) via the API. It's a future feature on the google side. The google apps use a non public api.


[2|CBH & HR - Employee Dashboard Page] Add an employee #40

#40

@sionkimadd

Ensure that you are using shadcn with the styling similar to the diagram


Update Goerli Deneb fork epoch

Duplicate?

https://github.com/eth-clients/goerli/pull/178/files

@etan-status thanks! should have checked first


Allow for scheme prefix before fastcgi server's IP address

My Caddyfile has the following directive
fastcgi / {$PHP_URL} php

The env var PHP_URL equates to tcp://<IP_ADDRESS>:9000 and is set by my Docker setup. It appears Caddy does not support any sort of scheme prefix before the IP address and fails with the following error:
27/Jan/2016:17:04:40 +0000 [ERROR 502 /index.php] dial tcp: too many colons in address tcp://<IP_ADDRESS>:9000

Caddy also fails with a similar message if the scheme is set to fastcgi://

Yeah, you will need to remove the scheme.

Could Caddy perhaps support tcp and fastcgi schemes at some point to save having to do some find and replace trickery before starting Caddy?

Yeah. Considering it already supports optional unix: prefix for unix sockets, it makes sense to allow it for tcp.
It's pretty straightforward for a newbie if anyone is interested in picking this up. But if no one does for a few days, I'll add it.

Should add tests too. Anyone who is new to Go or this project is welcome to make the change! Just comment here that you're going to do it.

I'll try taking this on. I'll let @abiosoft know with a comment here if I can't get it done.

Thanks :+1:


⚠ Avatar API Endpoint has degraded performance

In 6866f88, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1028 ms

Resolved: Avatar API Endpoint performance has improved in 90ba583 after 10 minutes.


Missing version ad revenue connector 6.14.4 which is dependent on the latest AppsFlyer sdk 6.14.4

Hello,
At the moment we can't use the latest AppsFlyer Unity plugin sdk 6.14.4 because the ad revenue connect Unity plugin 16.4.3 has a podspec on iOS requiring the sdk 6.14.3 instead.
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "AppsFlyerFramework":
  In Podfile:
    AppsFlyer-AdRevenue (= 6.14.3) was resolved to 6.14.3, which depends on
      AppsFlyerFramework (= 6.14.3)

    AppsFlyerFramework (= 6.14.4)

Please could you do a new ad revenue connect Unity plugin to fix this up?
Thanks,
Silvio

👋 Hi @silviosav-SEGA-HARDlight  and Thank you for reaching out to us.
In order for us to provide optimal support, please submit a ticket to our support team at<EMAIL_ADDRESS>When submitting the ticket, please specify:
✅ your AppsFlyer sign-up (account) email
✅ app ID
✅ production steps
✅ logs
✅ code snippets
✅ and any additional relevant information.

Hi, @af-vero I'll do but what's the point of having the Issues tab open publicly if you redirect me to a support email?

Hi,
There are issues that we can handle here, but there are some issues that can be prioritized only through support/product.

Hi,
thanks, you can close it up, I was told from the support ticket that they won't be making a new release or use a pessimistic operator in the podspec dependency because they're working to include the ad revenue connector API into the sdk itself.
I can easily downgrade and use the 6.14.3 because I don't need the changes in the update of sdk 6.14.4. Unfortunately anyone needing that and also the ad revenue connector will need to wait for a future release.


.NET Framework 4.8

Any chance this can support .NET Framework 4.8?  Read from docs that .NET Standard 2.1 no longer support it.

not possible, we depends on span not supported in 4.8


Minor spelling tweaks

Spotted a couple minor spelling and grammar things when going checking through the readme

oh god thank you so much for this haha


add section: "What to Do When You Have a Firewall"

Added the section to tell users what to do when trying the first tutorial from behind a firewall.

+1

Thank you!
On Mon, Jul 13, 2015 at 10:38 PM, Nishant<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/druid-io/druid/pull/1519#issuecomment-121136953.

@solimant do you mind signing the CLA: druid.io/community/cla.html
and we can merge this

@fjy I thought the CLA was for code contributions. I am only contributing to the documentation.

@solimant we had a discussion awhile ago and decided that CLAs for everything in the druid repo. Do you have a concern with the CLA? If so, we can discuss about it

Not at all, I just wasn't aware. Anyways, I've signed the CLA.

@solimant Thanks for the contrib!

@fjy My pleasure. Thank you for the support. I was wondering, when would this be published on druid.io?


rp2040.svd file device's description is missing

It looks like there's an error in the rp2040.svd file.
Per specification of CMSIS-SVD (near the text "description is a string describing the device features (e.g. memory size, peripherals, etc.)"), the field "description" of element "device" is mandatory.
In the actual rp2040.svd, this field is missing.

https://www.keil.com/pack/doc/CMSIS/SVD/html/elem_device.html doesn't describe the description as required. Or does "Occurrence: 1..1" actually mean the same thing as "Use: required"? :thinking:
Actually, looking at the file that you linked to:
        <!-- version specifies the version of the device description -->
        <xs:element name="version" type="stringType"/>
        <!-- description is a string describing the device features (e.g. memory size, peripherals, etc.) -->
        <xs:element name="description" type="stringType"/>
        <!-- V1.1: licenseText specifies the file header section to be included in any derived file -->
        <xs:element name="licenseText" type="stringType" minOccurs="0"/>

where does it say that description is mandatory? (I'm not being antagonistic, I'm just trying to work out what I've missed)

Not a big fan of XML, so maybe I'm in the wrong, but according to this specification, use is for attributes and min/maxOccurs are for elements, and in the latter case, the default value is 1.
Where things become complicated: register name is declared alike while peripheral name explicitly says minOccurs="1" - both of them are obviously mandatory ... what's the author's exact intent is not clear for me here.

When passing rp2040.svd w3c's validator, it appears that not only the description field of device is mandatory, but there's also other issues.
So I'll close this issue and open a more generic one.


ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects

Getting below error when trying to install the oncall in my local machine.
sudo git clone https://github.com/linkedin/oncall.git
cd oncall
sudo /home/ubuntu/venv/bin/python -m pip install --editable .

Building wheels for collected packages: oncall, greenlet
Building editable for oncall (pyproject.toml) ... done
Created wheel for oncall: filename=oncall-2.1.7-0.editable-py3-none-any.whl size=8523 sha256=0e64fc61da7e60ef7abb23608eaf6b74a4160e1a05973f26d488146cc5d59017
Stored in directory: /tmp/pip-ephem-wheel-cache-uiiwuquj/wheels/c2/27/83/c502e0189941ffcec9538808e1f02e8ebbc2da4c75a95571c6
Building wheel for greenlet (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for greenlet (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [158 lines of output]
running bdist_wheel
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for greenlet
Successfully built oncall
Failed to build greenlet
ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects

Can you please help me here.

Here is the version details
ubuntu@ip-172-31-0-95:~/oncall$ /home/ubuntu/venv/bin/python --version
Python 3.12.3


Create script to do a partial export of WordPress database and uploads directory

To facilitate local development, write a script that exports selected sites and content from AWS.

https://github.com/MESH-Research/dev-scripts/commit/5c7235a566b27aa4a4bcba434e67451ec6e62d4b


Versions >3.1.1 require float TTL

Unclear if this will require action. https://github.com/Kong/kong/issues/9944 is pending a response from the gateway team as to whether this change was intended or not.
At present, the master build of Kong (kong/kong:master-alpine) returns float values for key-auth TTLs. This breaks our struct, which expects an int. If the change is intended, we need to change it to a float. This should be fine for older version.
The upstream TTL change affects a generic TTL building block in the Kong DAO. It can be used in entities other than key-auth. It does not appear that go-kong is affected further, as no other tests are breaking, but we should do a review of Kong entities to confirm which use it and whether there are other go-kong structs that should require a change.

Apparently fixed by Kong/kong#9944


Quick jump to items starting with a letter in long artist/album lists in the library view

When browsing by artist/album/album artist/genre/playlist one can have too many items to scroll down when searching. It will be useful to have a hotkey to jump to an artist/album/etc. starting with a particular letter.
For example, press j then l to jump to the artists starting with letter L in the artist list.

Yeah, this has been requested a few times and also something I want. I've been dragging my feet because I can't figure out a good UI for it. We can't just process regular keystrokes because many of them are used for other bits of functionality, like controlling playback and switching views.
It will probably need to be something like a short sequence: Ctrl+J to enter "jump to" mode, followed by a letter like L or something.

Yeah, this has been requested a few times and also something I want. I've been dragging my feet because I can't figure out a good UI for it. We can't just process regular keystrokes because many of them are used for other bits of functionality, like controlling playback and switching views.
It will probably need to be something like a short sequence: Ctrl+J to enter "jump to" mode, followed by a letter like L or something.

After a bunch of back and forth, eventually we just added an inline filter to the browse window, which can be activated by ^F


🚧: Ipv6 Integration

In this pr, we're implementing dual stack support. For Ipv4 and 6.
Suggestions and help are welcome, @TheMeinerLP we can work together if you want(added you as collaborator.)
#275

I will start adding it in just to see how it behaves and works. Later i will cleanup the code and customize on the new Worker.

An exception instead of a zero would be better

but one of them can be zero, exception is being thrown if both are zero.
See CloudNetWrapper.java:74 or BungeeCord.java:294

Someone know what's the Problem with NetworkConnection.java:157 in my form.
Throwing an AbstractChannel$AnnotatedSocketException: Protocol family unavailable: /censor:censor:censor:censor:censor:censor:52be:5d1d:1410 Exception when the InetAddress contains an Ipv6 Address. With Ipv4 all works fine.
Help appreciated ^^

https://github.com/CloudNetService/CloudNet/blob/1ee2c9eaee97d8023c1dd0298e309586d94f83e7/cloudnet-master/src/main/java/eu/cloudnetservice/cloudnet/v2/master/bootstrap/CloudBootstrap.java#L27 Not a good idea at all...

https://github.com/CloudNetService/CloudNet/blob/1ee2c9eaee97d8023c1dd0298e309586d94f83e7/cloudnet-master/src/main/java/eu/cloudnetservice/cloudnet/v2/master/bootstrap/CloudBootstrap.java#L27
Not a good idea at all...

Agree, just overlooked it probably.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 4
- Added 5

Complexity increasing per file
==============================
- cloudnet-wrapper/src/main/java/eu/cloudnetservice/cloudnet/v2/wrapper/server/BungeeCord.java  2
- cloudnet-wrapper/src/main/java/eu/cloudnetservice/cloudnet/v2/wrapper/CloudNetWrapperConfig.java  2

See the complete overview on Codacy

Not sure if this is ready for a review? @Likqez can you please give a feedback?

I will remove the WIP status if is ready. Currently just not much time to contribute.

Gotcha

Is there any progress on this or should I incorporate the changes in this PR into another branch and take over the issue?

There is no progress & no local changes left right now. I just can't find the time and motivation to progress. You could take over.

There is no progress & no local changes left right now. I just can't find the time and motivation to progress. You could take over.

Alright, I will merge this PR into a new branch and continue development there.


Feat/196 makers documentation

I added some new pages to the overall documentation section of stadtpuls. Such as:

add new project
add new device
config TTN application

I updated pages such as:

register for an account
faq

Additionally, I fixed some typos and slightly changed the wording in some pages.
Pages missing:

view data
troubleshooting

Looking forward to your thoughts and feedback :)

LGTM - I fixed some minor wordings and typos.

LGTM - I fixed some minor wordings and typos.

thank you for double checking

Amazing thank you very much! Love it! 😍 I see you used a warning sign a few times. We might want to build a component for that in that vibe at one point:

Like the idea! :) think we could need this little component here and then withing the future documentation. But would keep it a little more simple that what you just screenshotted

@ff6347 I am still working on this branch to add all doc pages --> see Slack

@julizet Okay sorry. Since you merged that branch I thought we could delete it.
I would prefer not to merge it in the first place or to create a new branch based on main if you already merged it. Since keeping merged branches around can create confusion. Quod erat demonstrandum

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Implement a cluster status method, to now if worker are really running

Currently, we only know that we have submitted some jobs to a cluster scheduler. We don't know if these jobs are running or queued, or in any other state.
What do you think of implementing a kind of status method?
In the PBS case for example, it would issue a qstat call, and get the PBS scheduler status of every jobs handled by the Dask cluster.
Not sure if this is really needed, as we are able with the use of Dask Client to know the real size of the cluster (and maybe by some other means).
Maybe this issue is just about documenting how to retrieve the information about a cluster state, either by job scheduler (eg. PBS) API, either using Dask API.

I think this would be useful when using an autoscaling cluster. Particularly when jobs are waiting in the queue and the adaptive cluster is trying to decide if it should scale up/down.

I agree that understanding the status would be useful, especially for
things like adaptive scheduling.
On Sun, Mar 11, 2018 at 10:44 PM, Joe Hamman<EMAIL_ADDRESS>wrote:

I think this would be useful when using an autoscaling cluster.
Particularly when jobs are waiting in the queue and the adaptive cluster is
trying to decide if it should scale up/down.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/11#issuecomment-372179037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszB5OLNsqxhKZyGE8nFsfvbUENCRMks5tdeEngaJpZM4Sl6D7
.

Is the following approach a dependable way of querying the cluster for the number of workers?
min_workers = 10  # for example
while len(cluster.workers) < min_workers:
    sleep(1)

I believe that cluster.workers is only a convention at this point.  It's managed by the cluster object and so represents workers that have been asked for, but not workers that have connected.  For the latter you would want the following:
cluster.scheduler.workers

@rabernat - most of the hard work for this functionality is being done in #63. Stay tuned.

This appears to have been addressed:
In [15]: import dask_jobqueue

In [16]: cluster = dask_jobqueue.SLURMCluster(cores=1, processes=1)

In [17]: cluster.worker_spec
Out[17]: {}

In [18]: cluster.workers
Out[18]: {}

In [19]: cluster.scale(2)

In [20]: cluster.workers
Out[20]: {0: <SLURMJob: status=running>, 1: <SLURMJob: status=running>}

However, it appears that the reported information can be misleading sometimes. For instance, I am using a system which restricts the number of concurrent jobs to 35.  For instance, I am using a system which restricts the number of concurrent jobs to 35. When I submit 40 jobs, dask_jobqueue reports that all 40 workers are in running state even when some of the jobs are in pending state according to squeue:

Never mind ;)
I hadn't seen @mrocklin's comment

I believe that cluster.workers is only a convention at this point. It's managed by the cluster object and so represents workers that have been asked for, but not workers that have connected. For the latter you would want the following:
cluster.scheduler.workers

In [26]: len(cluster.scheduler.workers)
Out[26]: 36

I am curious... What needs to be done for this issue to be considered "fixed"? I'd happy to work on missing functionality.

There is now a convention around plan/requested/observed in the Cluster
class that should be what you are looking for I think.
On Wed, Jul 8, 2020 at 10:12 AM Anderson Banihirwe<EMAIL_ADDRESS>wrote:

I am curious... What needs to be done for this issue to be considered
"fixed"? I'd happy to work on missing functionality.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/11#issuecomment-655646375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTHGUTYRLYI7JBOP7BTR2SSIPANCNFSM4EUXUD5Q
.


Adding Table of Contents like list of the solutions to the challenges directory

Since we'll be having multiple solutions, possibly multiple per-language, I think it'd be nice / beneficial to have a table of contents like log of all of the solutions in the challenge directory, with a short description of the solution. This would encourage people to solve the solution different ways, and could prove a quick overview of the submitted solutions.
This listing could also include the solution author's name, as a quick view of everyone that contributed to that challenge.
For example, a solution that utilizes a quick sort could be submitted, and someone or even the same person could also upload a solution that utilizes a randomized quicksort.
I think it'd also make browsing the repo more user-friendly, as you could relatively easily get a feel for what kind of solutions have already been submitted without having to open every solution file.
Thoughts?

Would we then come up with descriptions of implementations on our own, for the existing implementations? And then continue to create the descriptions?
Or would contributors be expected to write their own descriptions?
Also, some implementations are based purely on the language and it's capabilities.

My thoughts are to have contributors provide short descriptions of their solutions and add them to the list file when they add their solutions.
Wouldn't necessarily be a "requirement" but would be nice to have.
WRT your third point, I think that's even more of a reason to have a short description of the solution. That way, people who wanted to could peruse the repo and find neat things to look at.

I think it's a good idea, but what will we then do for the existing solutions? There have been a lot merged into this repo.

I don't see it as a mandatory thing. We can ping people to let them know, and they can choose to add a description if they'd like to.
Going forward, we can just add it to the contributing guide.

I think it's a nice idea as it can introduce people to different algorithms/language functionalities.
It is also easier to compare / visually appealing that in-script comments.
I feel like this would be a lot more helpful when the repo grows bigger; as of now there are plenty of challenges where there are no solutions, let alone multiple ones for the same language.
As a side note, as there been some promoting this repo on the actual subreddit? I feel like there are a lot of people who would happily contribute if they were aware this existed.

@tlseabra I messaged the moderators and they added it to the Community Projects wiki but haven't done any formal announcements.

Seems like the overall consensus is that this is definitely beneficial and would help people out in their own implementations

I also have an idea to possibly semi-automate this. I'll send a pull request within the next couple of days if I can get my idea flushed out.

Ok, i've done some preliminary work and this seems definitely doable. However, in order to get this right, it'd be extremely helpful if we could agree on a consistent formatting on a few things:

For the header file. If this is consistently formatted, we can parse out some things very easily like author, date, and short description. Here are a couple examples to get the conversation started.

# -*- coding: utf-8 -*-
# @Author: Tyler Nivin
# @Date:   Wed Mar 30, 2016 12:23:47 PM
# @Last Modified by:   nivintw
# @Last Modified time: Wed Mar 30, 2016 12:49:48 PM
# @Description: This script intentionally destroys the solutions table
#                and rewrites it completely.
# @Long Description[not required]: A longer description A longer description A longer description A
#                longer description A longer description A longer description A longer description A longer description
#                A longer description A longer description A longer description A longer description A longer
#                description A longer description A longer description A longer description

or
/***************************
 * Name: Tyler Nivin
 *
 * Description: A short description
 * Long Description: See above example.
 * Last Modified: Sun Oct 04, 2015  03:45PM
 **************************/

With both, the necessary commenting code would be ignored entirely, and only the comments we wanted to include in the solutions table would be parsed for. Really, the main differences between the two examples are whether or not to include the prepended @ symbol.
I'm open to any other suggestions as well. These are just my preliminary thoughts.

Additionally, we should support multiple author links, e.g. regular name, github, linkedin etc.
We could maybe have "Author:" be the "normal" name and the "Github:" etc. be those accounts?
Thoughts?

I think a simple formatting would work.
/***************************
 * Name: Tyler Nivin
 *
 * Description: A short description
 * Long Description: See above example.
 * Last Modified: Sun Oct 04, 2015  03:45PM
 **************************/

And optional
GitHub: github.com/Username
LinkedIn: linkedin.com/in/namename

Keeps it short and sweet, but still gives enough info and people can "self promote" with links to their profiles.

Interesting how the # and [] symbols mess with relative links. I suppose it's because # is used for headers in markdown and [] are used to create links in MD as well. I figured that if it's not in markdown, i.e. the name of a directory/file, then it wouldn't recognize that sort of syntax.

Naming scheme fixed by PR #126

Fixed in commit 380e8bf

Isn't quite finished yet actually, I haven't finished the TOS. But this can stay closed if you want, I have a plan and will submit a pull request when I finish.

@twn346 Will reopen :)


Make it possible to write the index from independent thread easily.

(This is a follow up from  #549)

Ideally what I need is the ability to write to index from independent threads each having own writer.

This problem is very common and hurts some Very Important Project relying on tantivy (toshi, plume). (Invoking the name @fdb-hiroshima and @hntd187 for the discussion).
Web server are typically multithreaded and requests may spawn the need to add or delete documents. Dealing with a Arc<RwLock<IndexWriter>> might feel dirty, and rust beginners may not really understand the logic behind that.
On the other hand, the IndexWriter already relies on a channel to dispatch indexing operation to its own small thread pool. Stamping is also done using Atomics. There is actually no real reason to prevent .add_document() and and .delete_term() to happen from different threads.
The problem is

what should happen with .commit()
what should happen with .rollback()

Especially would this ability to index from several threads confuse people on

what a commit is in tantivy? (.commit() ensure that all operations that happened but the .commit() are processed)
how multithreaded indexing works ? (indexing from several thread will no help. Tantivy has its own multithreading system).

Also,

should .commit() and .rollback() block other operations? (It is technically possible to have .commit() only block other .commit() operations.)
Should .commit() and .rollback() return futures?

A no brainer for next version of tantivy would be to remove the make &mut self -> &self change on add_document.
It might remove some of the RWLock contention I suspect toshi may have for instance.

That would wrap up a lot of contention especially if you defer the commit for too long. Another very small change I think makes sense is to expose IndexMeta outside tantivy, currently it's only pub in it's module, but not exported outside the crate, that would make generating index summaries for indexes located on many machines much easier.
I also have some thoughts on the IndexWriter above, but it's late, I'll write them tomorrow after a bit of research.

That would be a super cool feature. My end users are admiring of tantivy read speed and if parallel write would be possible it would be fantastic. You make a great work, thanks!
By the way, if I use Arc<RwLock<IndexWriter>> wouldn't it fall with error if I clone such object for each thread? Actually I use Actix-Web framework to spawn threads.

@kkonevets no I do it that way, it works fine, you just do Arc::clone(&writer) you're cloning the Arc, not the writer itself.

@hntd187 Actix-web does not allow to explicitly clone the object Arc::clone(&writer)
Instead it postulates a notion of State which is cloned I guess when spawning workers. So when I set Arc<RwLock<IndexWriter>> object in state it falls with error
Failed to acquire Lockfile: LockBusy. Some("Failed to acquire index lock. If you are usinga regular directory, this means there is already an IndexWriterworking on thisDirectory, in this process or in a different process.")

I guess it would be nice to implement the feature in tantivy without the need to depend on the architecture of a specific web framework.

@kkonevets Can you share the code you are talking about? The error you pointed is not called by a call to IndexWriter...

sure, https://gitlab.com/kkonevets/ssergeev

@fulmicoton I a sorry, have just committed the changes, pull if already cloned
look at ModifyState struct insrc/state

Your problem is that multiple State object are created. Not that the Arc gets cloned.

Can you try the following...
  let modify_state = ModifyState::new().unwrap();
   HttpServer::new(move || {
        vec![
            App::with_state(SearchState::new().unwrap())
                .prefix("/search")
                .resource("", |r| r.method(http::Method::POST).with(search_index))
                .boxed(),
            App::with_state(modify_state.clone())
                .prefix("/modify")
                .resource("", |r| r.method(http::Method::POST).with(modify_index))
                .boxed(),
        ]
    })
    .bind(host)
    .unwrap()
    .start();

error[E0277]: (dyn std::ops::Drop + std::marker::Send + 'static) cannot be shared between threads safely
--> src/bin/server.rs:138:5
|
138 |     HttpServer::new(|| {
|     ^^^^^^^^^^^^^^^ (dyn std::ops::Drop + std::marker::Send + 'static) cannot be shared between threads safely
|
= help: the trait std::marker::Sync is not implemented for (dyn std::ops::Drop + std::marker::Send + 'static)
= note: required because of the requirements on the impl of std::marker::Sync for std::ptr::Unique<(dyn std::ops::Drop + std::marker::Send + 'static)>
= note: required because it appears within the type std::boxed::Box<(dyn std::ops::Drop + std::marker::Send + 'static)>
= note: required because it appears within the type tantivy::directory::DirectoryLock
= note: required because it appears within the type std::option::Option<tantivy::directory::DirectoryLock>
= note: required because it appears within the type tantivy::IndexWriter
= note: required because of the requirements on the impl of std::marker::Sync for std::sync::RwLock<tantivy::IndexWriter>
= note: required because of the requirements on the impl of std::marker::Send for std::sync::Arc<std::sync::RwLock<tantivy::IndexWriter>>
= note: required because it appears within the type tsearch::state::ModifyState
= note: required because it appears within the type [closure@src/bin/server.rs:138:21: 149:6 sstate:tsearch::state::SearchState, modify_state:tsearch::state::ModifyState]
= note: required by <actix_web::server::HttpServer<H, F>>::new

@fulmicoton thank you for your comment, I did create multiple State objects, my fault
But now it seems that DirectoryLock (that is in IndexWriter) does not implement a Sync trait and can not be shared between threads safely. How come IndexWriter can be shared? (also @hntd187 )

This ticket looks interesting and I wanted to add my 2c.

* should `.commit()` and `.rollback()` block other operations? (It is technically possible to have `.commit()` only block other `.commit()` operations.)

I think blocking is fine. I estimate that most multi-threaded uses of tantivy are read-heavy >>> write-heavy. Blocking every once in a while should be ok. Unless, I am missing some obvious write-heavy use case, when reading needs to be non-blocking.

* Should `.commit()` and `.rollback()` return futures?

AFAIK, Futures imply an event-loop, which increases binary size and adds another thread model. What killer functionality do Futures add for our typical current and future use cases?

@kkonevets Yeah. I need to mark the DirtectoryLock as Sync. In the meanwhile you can solve your problem by using a Mutex instead of a DirectoryLock.

@petr-tik Your 2c are always welcome :).

I estimate that most multi-threaded uses of tantivy are read-heavy >>> write-heavy.

That's more or less true. There are some analytics usage where write are more frequent than reads...
But still we are talking about commits here, and we can consider read >>> commit operation.
I am suggesting futures here, not for performance reason at all, but for ergonomy.
I'm thinking of people trying to build a webserver in which a request handle commits without blocking for instance. Right now, it will require running commit from a thread pool.

I am going to make it 4c total, by adding another 2c.

I am suggesting futures here, not for performance reason at all, but for ergonomy.
I'm thinking of people trying to build a webserver in which a request handle commits without blocking for instance. Right now, it will require running commit from a thread pool.

Can we hide it behind a feature-flag or do you want to redesign the current commit pipeline to be async/futures-based?
I would use rust handy support for conditional compilation to make it a feature flag.
Thinking about it. If we ever commit to implementing a wasm backend #541, we can re-use the Future feature on webserver and wasm front-end that will convert them to JS Promises (I think, my JS understanding is very hand-wavy)

If you're gonna add that future functionality it might be better to build it on where nightly is going or wait until the async/await lands in stable. Don't implement a contract that's going away soon.

@petr-tik @hntd187 both of your points are super valid. Great input guys!
Assuming it does not imply any regression in perf, do I internalize the Arc<RwLock> in the IndexWriter, and return a Arc cloned without an error when the user call index.index_writer() ?

Internalizing the RwLock is a bit tricky because of PreparedCommit...
As a general rule, I try as much as possible to rule out the chances to poison locks.
That means I ensure that during the lifetime of such a lock I never do io or call user defined code, or anything of that kind.
The straightforward implementation of Internalizing the RwLock could for instance require to have the WriteLockGuard in the PreparedCommit object but we would then allow for the user to write faulty code and poison this lock, or create a deadlock.

@fulmicoton  I am sorry for a dilettante question. What do you mean by user code? How is it possible for the user to call something from PreparedCommit? Is PreparedCommit::set_payload() somehow related to user code?

@kkonevets Sorry for the sparse information.
If the thread holding a RwlockGuard panicks. The lock is "poisoned". That means that trying to acquire the lock will return an error in the future.
I want to avoid the situation were a client of tantivy is unaware that a PreparedCommit wraps a RwLock guard under the hood. The risk is that if the client does something like that.
let prepared_commit = index_writer.prepare_commit()?;
some_operation_that_panics();

He will get an error next time he tries to add docs to the index.
The relationship between this error and the possibly "legitimate" panic quite opaque.

closing the issue.

@fulmicoton I am new to both Rust and Tantivy. To get a shared index writer in multiple threaded env, I am fighting with Rust's mut ref for a whole day. I wonder what the right approach to write the index from independent thread currently using v0.10.1?
A no brainer for next version of tantivy would be to remove the make &mut self -> &self change on add_document.

I see add_document doesn't require mut in latest version, since there is no summary for this this issue, does it mean the best approach of doing this is using Arc<RwLock<IndexWriter>>? Or is there any other easier approach? Thanks.

 Just take the read lock for adding documents, and the write lock for committing.


Issue/2098 resource detail (#2221)

Pull request opened by the merge tool on behalf of #2221

Merged in 02bbc50ccd200a4963caef8ba013b77b456b3cc4


Added Xrm.Page API v6, 7.0, and 7.1 (Microsoft Dynamics CRM)

I recreated my fork and repository to force stronger alignment with DT trunk, and reduce pull-request additions.  It's my understanding now that I should branch my fork, and apply stronger ALM to make future PR acceptance easier.  This PR includes work that I've tried to make fit into DT for a while, and hopefully this is the PR that finally fits as intended.  Thanks for all your hard work, DT team!

@6ix4our thanks mate!


Add static registration configuration to access logs

To enable access logs to be statically registered in Envoy, a name and custom configuration struct will have to be provided.

@htuch


updated the margins of headings on the homepage

@sparkdevelopment can you review and sign off?

@marcincichon Ok to merge


Still active?

It's been more than two months now since the project was last updated so I'm wondering if it's still under development. I like the idea of using UniRx for events and the upcoming debug feature got me excited but I'm not sure it's worth the wait. Thanks so much for sharing your work still.

Hello Ziad,
I'm definitely still working on this project and have the first iteration
of the visual debugger ready to push. I've been busy graduating, moving,
and I'm currently on vacation and looking for jobs.
Thank you for your interest in the project, good to know it won't be just
me using it once it is in a better state!
Joshua
On Thu, Jun 14, 2018, 7:08 PM Ziad Jeeroburkhan<EMAIL_ADDRESS>wrote:

It's been more than two months now since the project was last updated so
I'm wondering if it's still under development. I like the idea of using
UniRx for events and the upcoming debug feature got me excited but I'm not
sure it's worth the wait.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MystikalPooka/Unity-Visual-Behavior-Tree/issues/12,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQzOft4ZDp4Xs9eEt9UU99FaWcA_IJzks5t8xcVgaJpZM4Uo6fk
.

May be you might publish it on the asset store once it's ready for production. There a lack of free and open source solutions for behavior trees there. You might eventually create a paid version of it with tutorials if it catches on.

Update on this: I have a new job and things are starting to settle down a bit, so I'm slowly trying to get back into this project. It's been a few months since I've touched it and the editor code for unity is always a brain fuck, so it may take a little while before I have any really meaningful updates... but I'm back, none-the-less!
Would be really cool if I could get enough traction on this project to enlist the help of other (perhaps more experienced?) unity open source devs.

You might want to have a look at this concerning the editor. If it's already available in the alpha version then you might want to start targeting it already.

Update on this: The 2019.1.0 alpha is currently out, so I installed it through unity hub and of course none of the old editor gui stuff seems to have been ported over to this version, or I am unaware yet how to do it.
The XAML-ish copy looks like a GREAT start, just hope they keep making it more simple as they add features otherwise we get to the same place as before.
Creating a new issue for this. Thanks again @ZiadJ !!

I created a new gitter channel just for this repo at https://gitter.im/MystikalPooka/Unity-Visual-Behavior-Tree . feel free to join me there to talk at any time! :)


Bug Report: TypeError when Removing Validators

Bug Report: TypeError when Removing Validators
Steps to Reproduce:

Visit the following URL: INSTANCE_URL/plugins/netbox_field_permissions/field-permissions/manage/
Ensure validators are installed (if not already installed).
Click on Remove Validators.

POST on https://INSTANCE_URL/plugins/netbox_field_permissions/field-permissions/manage/
/netbox_field_permissions/utilities.py, line 120, in uninstall_validator

Expected Behavior:
Validators should be removed without error.
Actual Behavior:
A TypeError occurs when attempting to remove validators. list indices must be integers or slices, not str
Log output
TypeError at /plugins/netbox_field_permissions/field-permissions/manage/

list indices must be integers or slices, not str

Request Method: | POST

https://INSTANCE_URL/plugins/netbox_field_permissions/field-permissions/manage/
5.0.9
TypeError
list indices must be integers or slices, not str
/opt/netbox/venv/lib/python3.12/site-packages/netbox_field_permissions/utilities.py, line 120, in uninstall_validator
netbox_field_permissions.views.FieldPermissionManageView
/opt/netbox/venv/bin/python
3.12.3

We are encountering a problem related to Custom Validation in NetBox, which is implemented as per the NetBox documentation on custom validation. The validation is set up using the configuration.py file.
However, this Custom Validation breaks the logic for the netbox-field-validator, which uses Config Revision to set up the validators.
Maybe someone will find this information useful.

I see a message Static NetBox configuration detected. Please install customer validator manually
def write_static_configuration_messsage():
    sys.stdout.write(
        colorize(
            "\n  Static NetBox configuration detected. Please install customer validator manually!!",
            fg="yellow",
            opts=("bold",),
        )
    )
    sys.stdout.flush()

Can you please tell me, how can I install my own custom validator manually?
It means, I cannot add them in configuration.py and need to add them "manually" to the config revision?
I did not found any other hint to how to do that?

Hi @Kani999,
Thanks for reporting this. The migrations do indeed check if NetBox uses a static validator configuration and prevents activating a dynamic configuration.
The original plan did include a view to help with install/uninstall but did not make it to the current release candidate. I'll will create a fix for this and the management page will show the resulting JSON that can be used to statically configure the validators. If you can't wait for that you can add netbox_field_permissions.validators.FieldPermissionValidator for each model in the CUSTOM_VALIDATORS dict.

This is now fixed in release 0.1.0rc2


Allow aliasing current module

Fixes #13.
This PR introduces a special alias source named _ that can be used as a stand-in for the current module. For example, this input:
{-# OPTIONS_GHC
  -fplugin=Imp
  -fplugin-opt=Imp:--alias=_:Self #-}
module Qualified.Example where
print = putStrLn . show
defaultMain = Self.print

Will produce this output:
module Qualified.Example where
print = putStrLn . show
defaultMain = Qualified.Example.print

Note that the name _ is special, but the name Self is not. You can use whatever you want, like This or Current. You can even set up multiple aliases for the current module if you want that for some reason.

This PR also fixes a bug where imports for the current module were incorrectly being added. Previously this input:
module Example where
undefined = Example.undefined

Would produce this output:
module Example where
import qualified Example
undefined = Example.undefined

Which is always an error since a module cannot import itself. Now no import statement will be generated in this scenario.

Announcement post:
https://discourse.haskell.org/t/alias-the-current-module-with-imp/9211
https://taylor.fausak.me/2024/03/31/alias-current-module/


Upgrade Buttons on SensitiveInfo Page

Why
Upgrade pressable components on page to use react-native-xaml Button.

Why Upgrade pressable components on page to use react-native-xaml Button.

Same question as on #162. What does this specifically solve?

Closing for same reason as #162


Update styles to support (new?) markup structure

Merged into master manually as this branch had a couple of conflicts


build: merge dev to stage

:tada: This PR is included in version 0.23.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix(documentation): Fix typos in English documentation

This mostly fixes typos, but there are also some minor grammatical changes

Thank you very much!!!!!!!!

That's OK. This PR can be merged but need to correct a typo about 'maimly'. The others I mentioned may be finished in other PR.

Merged, @joyhchen thanks for the wonderful job!


[AKS] az aks check-acr: Add new check-acr command

Description

This PR add a new command az aks check-acr to the aks module. This command allows customers to easily check the ACR connection to the AKS cluster. See the testing guide for more details.
Testing Guide

Example usage: az aks check-acr -g myResourceGroup -n myAKSCluster --acr myacr.azurecr.io
Eample Output:
[2021-01-11T21:08:53Z] Checking host name resolution (myacr.azurecr.io): SUCCEEDED
[2021-01-11T21:08:53Z] Canonical name for ACR (myacr.azurecr.io): r1209eus.eastus.cloudapp.azure.com.
[2021-01-11T21:08:53Z] ACR location: eastus
[2021-01-11T21:08:53Z] Loading azure.json file from /etc/kubernetes/azure.json
[2021-01-11T21:08:53Z] The cluster uses service principal.
[2021-01-11T21:08:53Z] Validating service principal credential: SUCCEEDED
[2021-01-11T21:08:53Z] Validating image pull permission: SUCCEEDED
[2021-01-11T21:08:53Z]
Your cluster can pull images from myacr.azurecr.io!

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

AKS

AKS

hi @qwordy could you help to review?

hi @qwordy could you help to review?

I downloaded the code and had a try. It seemed no problem. But, I haven't cover all code branches. Make sure you have tested all conditions.

I downloaded the code and had a try. It seemed no problem. But, I haven't cover all code branches. Make sure you have tested all conditions.

@fengzhou-msft code owner

@fengzhou-msft code owner


Inconsistent file name references

If you have forceConsistentCasingInFileNames set to true in tsconfig, you'll get the following error:
File name '[...]/node_modules/ag-grid/dist/lib/rowControllers/iDataSource.d.ts' differs from already included file name '[...]/node_modules/ag-grid/dist/lib/rowControllers/iDatasource.d.ts' only in casing

i put that in, but doesn't warn me. maybe it only works on linux or max? (i'm using windows 10)

I'm on Windows 7. But I think it's because you have imports like "../iDataSource" and "../iDatasource".

yes i know, and i've just fixed that, thanks for raising.
what i mean twas, i set forceConsistentCasingInFileNames=true, and it didn't warn me.


Unknown frame id 217056256 (0xcf00400)

Hello,
I try to decode can frames from Scania truck. I've dumped them with candump. Unfortunately, all frames are not recognized. I use j1939.db. So, I've decided to separete one frame:
(1682437707.894858) can0 0CF00400#F07D859B0FFFFF85
which is engine rpm and torque. It is properly recognized with my db file on asammdf. But, with cantools unfortunately I obtain message: Unknown frame id 217056256 (0xcf00400)
My command is:
cat scania.dat| python3 -m cantools decode  --single-line ./j1939.dbc
The same for frames dumped from Toyota RAV4 and odb2.dbc file works perfectly. Should I use different command for extended frames? Please help me...
Best regards!

That means that the id is not contained in your dbc. Since this is j1939, the issue usually is that the source address (least significant byte of the id) is different. Try finding that message in your dbc and compare its id to the one you try to decode.

I have changed the frame id to 0CF004$FE (according to db file) and the response is:
(1682437707.894858) can0 0CF004FE#F07D859B0FFFFF85 ::
EEC1(
EngTorqueMode: Low idle governor/no request (de,
ActlEngPrcntTrqueHighResolution: 1.875 %,
DriversDemandEngPercentTorque: 0 %,
ActualEngPercentTorque: 8 %,
EngSpeed: 499.375 rpm,
SrcAddrssOfCtrllngDvcFrEngCntrl: 255,
EngStarterMode: notAvailable,
EngDemandPercentTorque: 8 %
)
But in j1939 description is, that it should be 0Cf00400. Probably by db is corrupted  :-(

No, this is the way j1939 works. The id is also used to encode some protocol stuff (like the source address, SA).
The SA in the dbc is 0xfe while the one in your log is 0x00.
Ideally one would use a tool that has proper j1939 support to cope with that. Cantools has some light support but I have never used that.
You can work around this by either changing the ids in your log to match your dbc or vice versa.

Thanks a lot for your help!!!

Welcome, been there ;).

The "source adresses" 0xFE and 0xFF are special values. They shall not be used for real ECUs. In a DBC, the meaning of these addresses are:

0xFF: broadcast (mainly used for the destination address, not for the source address)
0xFE: "default" or "any"
Defining a J1939 frame with SA/DA 0xFE means, that any SA/DA (from 0x00 to 0xFD) that this frame should be applied for any real message where the rest of the frame id matches (especially the PGN).
But as far as I remember, cantools does not support this "wildcard" feature.
You might observe similar problems with the priority in a j1939 frame. These are the first three bits in the 29 bit identifier. A common problem is having a frame definition like 0x18...... (which is prio 6), whereas your CAN trace might contain messages with 0x1C..... (which is prio 7). It is even allowed (for the ECU) to change the priority of a pgn dynamically. I could observe those problems with frames that have a variable length. The most common message "type" are DM1. They are either sent as single frames of as multiframe using the j1939 transport protocol. And the SAE itself proposes to use prio 6 for single DM1, but prio 7 for the multiframe usecase.
Most of the vector tools can deal with both "0xFE" and different prios.
But cantools, as juleq said, has a "light" implemtation for j1939.
Hope this helps and avoids some more suprise ;-)


Passing the key in headers

The key won't be passed by query params anymore it will be passed with the headers

@tkadlec Could you please guide if this is the correct way of doing this, I'm not sure if this the right practice in this particular case, but it works.

Thanks @jefflembeck I totally forgot about this one, this PR is up since our API started accepting key with headers.
Yes, from user perspective we are not changing anything, It's just our wrapper which will pass key with the headers not with the query params with every request.


Kinematicbody fails to follow rotation

Godot version:
3.2 beta 5
OS/device including version:
Zorin OS 15
Issue description:
I have a platform which is a kinematicbody and in 3.1 the character followed the rotation no problem, but in 3.2 beta 5 it fails to follow the rotation of the platform.
Behaviour in 3.1.2

Behaviour in 3.2 beta 5

Minimal reproduction project:
https://github.com/Janders1800/3D-Platformer

The regression seems to happen between 3.2 beta 2 and 3.2 beta 3.
Likely related to changes from #33864, cc @madmiraal.

Yes, it's definitely caused by #33864, which added:
https://github.com/godotengine/godot/blob/2299fb819808f5cab5140d31abe7e4dc0b0707df/scene/3d/physics_body.cpp#L1154-L1161
Updating the floor velocity with the current linear velocity of the platform discards the contribution provided by the rotation as calculated here in Godot physics:
https://github.com/godotengine/godot/blob/2299fb819808f5cab5140d31abe7e4dc0b0707df/servers/physics/space_sw.cpp#L975
and here in Bullet physics:
https://github.com/godotengine/godot/blob/2299fb819808f5cab5140d31abe7e4dc0b0707df/modules/bullet/space_bullet.cpp#L1024
Without the current collision point, we cannot calculate the current velocity due to rotation.
I'll submit a PR to fix it.


samples: use std syncronization primitives

Replaced MSDKMutex with std::mutex and appropriate guards in most trivial cases

@fzhar yes, that is the idea :) We will, but after refactoring of CBuffering class in mfx_buffering. It is not as straightforward as these changes, so I decided to split clean up in separate PRs. The goal to eliminate all custom synchronization primitives and classes not only including mutexes, but also custom semaphores, events and threads


Distance calculation for the detected beacons.

I have added the filed to one of my project, everything works well but there is no mechanism to get the distance. I tried this article formula to calculate the distance but I am getting very vague value as compared to the alt beacon library for android. I see alt beacon uses different calculations method for that.
However, the article seems quite outdated as some of the hyperlinks work no more. Can you shed some light on it @davidgyoung , maybe some tips that can be helpful for me to begin with.

Did you try the built in distance calc?
https://github.com/AltBeacon/ios-beacon-tools/blob/ed4adf10bc9e5cb36ae111966ab33f99a647b0f5/ios-beacon-tools/RNLBeacon%2BDistance.h#L37
Distance estimates are always going to be rough.

It's giving very vague value, like 40 m for about 3 - 4 meters.


Moving elements in a full grid

Hi,
I want to make a grid limited in size (3x5), where users can move the elements.
I don't want to allow elements outside the grid, but if I limit it, when all spaces are occupied is not possible to move some elements because they collide.
DEMO: https://jsfiddle.net/tw6qvb7q/
It's possible to move the 3x1 elements up and down, but not the 1x1 elements horizontally.
Is there any way to fix this?

One solution i'm going to try is remove the height and width restrictions, but check if there are items outside of my desired area. I think gridstack does not include functions to check but, but it shouldn't be so complex to do. Any other ideas?
PS. Thanks for doing this great library!

I also have such problems

I finally removed the height restriction and use only the width value. If you move something, the grid will have space to swap, but you have to check if everything is in your desired grid area before saving or using the grid. It would be nice if gridstack could support fixed sizes by swapping elements in the desired grid area.

Midito, is it possible to put your solution on fiddle?
Anyway I vote for adding this feature to Gridstack!

Hi,
Here you have the link: https://jsfiddle.net/tw6qvb7q/3/
It won't work on fiddle because the way we use it is to have a left column with some items (widgets). When you click on it, the widget will appear in the grid area, where you can move it and set its final position. The position of every item will be the next free one.
I have constrained only the width. Every time there is a change, we check if there are items outside the grid (is_area_empty()) and set a variable to false if the grid is has problems. Also, any element outside the grid area will be marked in red using css.
I've set the grid area with black background temporary for fiddle, but we use a grid image background in development.
We have used "full width" widgets only, so if you need to add more than one item in the same row, you may have some problems.
I hope it helps.

This would require an enhancement in the algorithm for collision detection and widget movement. In this example, moving up and down would still not be possible, aside from the large blocks, but swapping the smaller blocks would be. Several tickets are open for this and will be linked shortly.

Duplicate of #149. Closing this ticket in favor of that one. Please reopen if you feel that ticket will not satisfy what you're asking for here.


thoughts on using frameworks in a command line xcode / tool

is it possible that marathon can do some fancy work to streamline swift packages for use with terminal apps ?
I'm wanting to plugin EasyImagy with a swift xcode terminal xcode app and tap into third party swift packages. Doesn't look like there's an elegant solution unless I reduce my app to a script.

https://stackoverflow.com/questions/630911/using-frameworks-in-a-command-line-tool/52249057#52249057

related https://github.com/koher/EasyImagy/issues/34


Support parameters for update/delete queries

See #220
Currently, multi-table updates and deletes are not supported.
This fix makes HQLUpdateQueryTest#testUpdateQuery pass. I have not tried other tests yet.
I suspect we would be better off using something like BasicExecutor instead. I'll look into this further next week,

Ignore this. I'm going to recreate...


Restrict smoke tests to appropriate namespaces

Currently the intkey smoke and two-family tests verify that the entire
state is initially empty. This will work if the validator is started
with an empty genesis batch, as it is in these tests' compose files:
    sawtooth admin keygen && \
    sawtooth admin genesis && \
    sawtooth-validator -v \
        --endpoint tcp://validator:8800 \
        --bind component:tcp://eth0:4004 \
        --bind network:tcp://eth0:8800 \

However, if the genesis batch is non-empty, then state won't be empty,
and the tests will fail:
    sawtooth admin keygen && \
    sawtooth keygen my_key && \
    sawtooth config genesis -k /root/.sawtooth/keys/my_key.priv && \
    sawtooth admin genesis config-genesis.batch && \
    sawtooth-validator -vv \
      --endpoint tcp://validator:8800 \
      --bind component:tcp://eth0:4004 \
      --bind network:tcp://eth0:8800 \

This commit fixes the tests to only check their specific namespaces so
that the tests will pass regardless of what the genesis batch is.
The fix here is quick and dirty. A more elegant approach would be to refactor both tests using the RestClient at integration/sawtooth_integration/tests/integration_tools.py.

http://intelledger.github.io/app_developers_guide/ubuntu.html#validator-start-up-process It seems like sawtooth config genesis is a required startup command. So all of our integration tests should have them in the validator startup.

sawtooth config genesis is required if one is going to do any sort of settings transactions.  It can be skipped, but that could result in anyone hijacking the settings family (by being the only authorized key).


Revision of VB arrays topic

Revision of VB arrays topic
Summary
Revises the VB arrays topic to remove non-compilable code and address customer issues, especially lack of clarity and absence of examples.
Fixes #3760
Suggested Reviewers
@BillWagner

@BillWagner, I've addressed your comments, discussed the size of jagged arrays, and added an example.

@rpetrusha I read through the changes you made, and this is great.  Let's :shipit: when you are ready.


How to persist cookies?

Is your feature request related to a problem? Please describe.
My server uses session based authentication and it seems this lib doesn't persist cookies so user can't login.
Describe the solution you'd like
Just using session based authentication. Where cookies are sent with every request.
Describe alternatives you've considered
Using CookieJar like this cookie_jar or Requests. Problem is I don't know how.
Additional context
None.

I suggested a workaround #592
but still we need a better solution providing by the library

Closing this in favor of #592


Export BaseContext for deep integration

I'm attempting to integrate Reach Router with a legacy React app, with a lot of routes and an already existing routing system. The app is too big to migrate all routes in one go, so I need to make using ReachRouter, opt in.
LocationProvider get's me half of the way there, every ReachRouter component/hook which receives a route, works.
However, for Link and useNavigate++, I need to use my own navigate. I've already tested that exporting BaseContext solves all of my problems.
diff --git a/src/index.js b/src/index.js
index a44bdb4..fb181aa 100644
--- a/src/index.js
+++ b/src/index.js
@@ -658,6 +658,7 @@ export {
   Match,
   Redirect,
   Router,
+  BaseContext,
   ServerLocation,
   createHistory,
   createMemorySource,

I'd be happy to make a PR to export it, but I was thinking you'd maybe want to have a component called BaseContextProvider or something like it.
Thanks for any responses 🙏

After reading the source more thoroughly I realized that using LocationProvider does exactly this. Thanks for making this great library!


fix: bump edge-runtime to 1.58.0

What kind of change does this PR introduce?
Bump edge-runtime to 1.58.0
BREAKING CHANGE: This PR changes the way eszip is bundled. It should remain in draft status until it is determined to be stable enough.
Changes
1.58.0 (2024-08-23)
Features

version up the Deno codebase to 1.45.2 (#389) (82588d6)

support declarative style fetch handler (#400) (5d4a9b4)

Bug Fixes

deps: bump openssl from 0.10.64 to 0.10.66 (#397) (b27190c)

sb_core: expose web compression/decompression stream API (#398) (14f3f92)

base: connections for inspector sessions should be upgradeable to the websocket (#399) (53061f6)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 60.019%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.03%

Covered Lines:
6362

Relevant Lines:
10600

💛  - Coveralls

Will close due to stale.


Problem when installing inside docker image ubuntu:14.04

Hi,  I have problem when installing inside docker image
root@6296a40bde67:~/SDC2017Round1/src/object_awareness# pip3 install opencv-python
Downloading/unpacking opencv-python
  Could not find any downloads that satisfy the requirement opencv-python
Cleaning up...
No distributions at all found for opencv-python
Storing debug log for failure in /root/.pip/pip.log

is it the issue of manylinux or something?
Thanks

Your pip version is too old for manylinux wheels. Also you are probably missing wheel package.
pip3 install --upgrade pip
pip3 install wheel

still error
pip3 install --upgrade pip && \
        pip3 install --upgrade wheel && \
        pip3 install opencv-python

Downloading/unpacking pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0
e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
Installing collected packages: pip
  Found existing installation: pip 1.5.4
    Not uninstalling pip at /usr/lib/python3/dist-packages, owned by OS
Successfully installed pip
Cleaning up...
Requirement already up-to-date: wheel in /usr/local/lib/python3.4/dist-packages
Cleaning up...
Downloading/unpacking opencv-python
  Could not find any downloads that satisfy the requirement opencv-python
Cleaning up...
No distributions at all found for opencv-python
Storing debug log for failure in /root/.pip/pip.log

Try to pip install -U setuptools before also. Recently, I've obersevd that sometimes setuptools and distutils conflict with each other. I believe I saw this with docker...
I got to the point where for every new virtual environement I create, first thing I do is pip install -U pip setuptools wheel.

Pip 1.5.4 is over 3 years old. Please consider using Python virtual envs.
This issue is not related to opencv-python. Please ask general Python (package management) questions via Stackoverflow or some other programming community.


"Previous" and "Next" page names are considered as search results

If I search for a page heading, I always get results from the previous and next pages since they mention the search term as the "next" and "previous" links respectively.
Is there any way to ignore particular sections of the page?

I can't reproduce your problem on our example website, can you share a reproduction?

Sure!
This is already live here:
https://composedestinations.rafaelcosta.xyz/
(Github proj: https://github.com/raamcosta/compose-destinations-docs)
I'm using this config:
{
          indexPages: true,
          indexBlog: false,
          removeDefaultStopWordFilter: true,
          removeDefaultStemmer: true,
          highlightSearchTermsOnTargetPage: true,

          // `hashed` is recommended as long-term-cache of index file is possible.
          hashed: true,
        },

Also @weareoutman is there a way to order search results? I was thinking it would be nice to have matching headings at the top, and matches on normal text, below.

Try configure this theme correctly:
- indexPages: true,
+ docsRouteBasePath: "/",

See our readme:

Ahh that may be it 🙂 Thanks!

I missed the docs only thing 👍

👍. Maybe we can improve it by autodetecting docs-only mode in future.


Anyway to get the file name?

Hi
Is there anyway to get the filename when user upload file and submit it from any step?
Thx

Hello !
Did you find a solution to this ?
Thank you !

Sorry for a late reply, this is addressed in #168 and will added in the next release.
 <ReactSpreadsheetImport
        onSubmit={(data, file) => {
          console.log(file.name)
        }}/>


Add ASTC Normalmap support

See https://github.com/bkaradzic/bgfx/issues/1788
This PR include two patchs, the first one updats orignal astc-encoder to the latest.
The second one https://github.com/bkaradzic/bimg/commit/d5af27eef19cdbe68898488d193c7080432baa5a adds normal map support.  See https://github.com/ARM-software/astc-encoder/blob/master/Docs/Encoding.md#encoding-normal-maps
It just merged code from https://github.com/ARM-software/astc-encoder/blob/master/Source/astc_toplevel.cpp#L1588-L1642
I add some enums in astc_lib.h , ASTC_COMPRESS_MODE::ASTC_COMPRESS_NORMAL_PSNR , ASTC_COMPRESS_MODE::ASTC_COMPRESS_NORMAL_PERCEP, and ASTC_CHANNELS::ASTC_RA .
We can compress a normal map texture by
// Use ASTC_COMPRESS_NORMAL_PERCEP for better quailty.
astc_compress(_width, _height, src, ASTC_RA, srcPitch, astcBlockInfo.blockWidth,
      astcBlockInfo.blockHeight, ASTC_COMPRESS_NORMAL_PSNR, decode_mode, dst);

https://github.com/bkaradzic/bimg/blob/master/src/image_encode.cpp#L146
@andrewwillmott Could you review this PR ? I hope nothing is wrong.
I haven't change the behaviour of bimg itself , I guess we need to add an new api of encoder , so that the encoder can encode the texture in normal map mode.  bimg has already have an command line option --normal , @bkaradzic  Can you add an new API like bimg::imageEncodeNormalMapFromRgba32f ? Or you may have a better idea.

@bkaradzic Could you merge this one first? and I can do the rest part.

Hi, sorry for the radio silence, I've been slammed and I forgot about the email notification.
The astc lib changes look ok to me on a once-over. I've synced them and I'll test them later today.
The library-ised version of the ARM code bimg uses lives here: https://github.com/andrewwillmott/astc-encoder. So it's be good to get these changes there too. I'll just check they haven't diverged already first.

@andrewwillmott Do you need me to create the same PR (Adding ASTC_RA) to  https://github.com/andrewwillmott/astc-encoder ? or you can merge it by yourself.

@cloudwu Yeah, it's better to create first PR for astc-encoder, and merge it there, and then copy changes here (workflow should be the same as if bimg used submodules).

Yeah, tell you what -- if you could create a PR against astc-encoder, I'll merge it and test it and then handle the updating of the bgfx copy.

Actually, never mind, you can leave it to me, the normal map patch applies to the original without the update at least.

I've added your changes to https://github.com/andrewwillmott/astc-encoder and then slightly refactored them, to allow RA->XYZ decoding, and the encode-for-normal to be independent of the quality. (Though of course they set some of the same things.)
I'm going to hold off on updating from https://github.com/ARM-software/astc-encoder for now. Some of the recent changes are about ripping out 32-bit support and requiring C++11, and I suspect some bgfx/astc_lib users are not ready to accept that yet. Also there're a lot of changes that have gone in in the last month, after it has been fairly inactive for a long time prior to that, so it might be an idea to let them settle. The only bugfix I can find is to astc_toplevel which isn't used in the library variant, so I don't think we're missing anything.
I'll bring these changes across to bimg and in doing so have a look at how they should be called from image_encode.cpp. I'm guessing by adding more TextureFormats, though the number of block formats in ASTC makes this annoying.

I'll close this PR after @bkaradzic  copy the changes from https://github.com/andrewwillmott/astc-encoder  , or @andrewwillmott may create a new PR ?

I'll create a new PR, yeah, with the texturec changes.
Did you find one of the normal map encoding options was better than the other? It'd be easier to expose just the one in the tool due to the API.

I'll create a new PR, yeah, with the texturec changes.
Did you find one of the normal map encoding options was better than the other? It'd be easier to expose just the one in the tool due to the API.

I am porting https://assetstore.unity.com/packages/essentials/tutorial-projects/viking-village-29140 this scene from unity to bgfx these days. I'll compare two encoding options next week.  I think one option is ok , we can choose the better one by default.

Some comparison for your information :
I use a normal map from https://github.com/fmod/Viking-Village/blob/master/Assets/Textures/Terrain/terrain_01_n.tif  (A 2048x2048 tangent-space normal map)

encode tools
format
channels
bpp
command options
PSNR (dB) higher is better

nvcompress
dxt1nm
RGB
4
-nomips -normal -bc1n
27.484683

astcenc
astc 6x5
RG
4.27
-t 4.0 -normal_psnr  -thorough
29.670458

astcenc
astc 5x4
RG
6.4
-t 6.0 -normal_psnr  -thorough
33.839983

astcenc
astc 5x4
RG
6.4
-t 6.0 -normal_psnr  -thorough
33.839983

nvcompress
dxt5nm
RG
8
-nomips -normal -bc3n
34.518504

astcenc
astc 4x4
RG
8
-t 8.0 -normal_percep -fast
35.779205

astcenc
astc 4x4
RG
8
-t 8.0 -normal_psnr -fast
36.121064

astcenc
astc 4x4
RGB
8
-t 8.0 -thorough
33.238881

astcenc
astc 4x4
RG
8
-t 8.0 -normal_percep  -thorough
37.030079

astcenc
astc 4x4
RG
8
-t 8.0 -normal_psnr -thorough
37.403131

etcpack
EAC_RG11
RG
8
-f RG
40.834371

I strip the blue channel for all the results and then use astcenc -compare to calcuate (only two channels) PSNR.
EAC_RG11 has the best PSNR , but etcpack is very very slow (It cost a few minutes to encode this texture) .
I think we can use -normal_percep for astcenc by default, becuase etcpack has a similar option by default.

btw,  @bkaradzic  Could you add an option to use stereographic projection for two-channels normal map ? See https://www.nvidia.com/object/real-time-normal-map-dxt-compression.html  (3. Tangent-Space Normal Maps)

btw, etcpack use a very slow algorithm to encode EAC format, my implemention is much faster (reduce from O(n*n) to O(n) ) . https://github.com/bkaradzic/bgfx/issues/1392

I have this working in bimg/texturec, but I'm finding the astc code is giving me compression artefacts on this test image.

Still digging into that. One thing to note is the astc -normal options overlap with -fast/-thorough etc., this is why the difference between the fast/thorough options is small. The normal map modes tend to force very thorough encoding modes, maybe to try to deal with the artefacts?
From looking at the table, I've added just ASTC_4x4N and ASTC_6x6N as the normal map encoding options.

I traced the block artefacts to zero encode weights for gb, epsilon values fixed them. I think this may have been the reason for the high encode thresholds the -normal mode sets in astcenc, which override some of the compression mode settings. Hence I'm now leaving the those to the compression speed setting, so the two things are independent.
I've just opened #24  which brings bimg up to date with my astc_encoder fork and makes it so the -n/-normalmap option triggers the ASTC_ENC_NORMAL_RA mode. Unfortunately I initially went down the path of doing this by adding corresponding bimg TextureFormat enums, before realising that would require a fair few changes to bgfx, due to the enum shadowing, and switching to using Quality instead.

I think we may change the prototype of imageEncodeFromRgba32f by adding an additional options bit flags to support more encoding algorithm.
btw, @bkaradzic bgfx haven't support BC3nm/DXT5nm now, could you add it ? At least we can support   encoding BC3nm in bimg as BC3 by channel swizzling .


Versions v2.13-v2.16 not found in documentation

When selecting another version from the latest documentation page, versions v2.13-v2.16 throw a Page not found error.

This bug occurred, because the documentation of the corresponding versions had not been generated in the gh-pages branch with past version releases.
However, this will be resolved with the Jira issue (https://jira.cscs.ch/browse/UES-144), i. e. moving the documentation of ReFrame to readthedocs.org.


Add configuration file for orchestration

What this PR does / why we need it:
This PR will add configuration file for Orchestration and unit tests.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #56

Codecov Report

Merging #70 into master will increase coverage by 0.51%.
The diff coverage is 83.67%.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   41.42%   41.94%   +0.51%
==========================================
  Files          13       13
  Lines         828      875      +47
  Branches       85       87       +2
==========================================
+ Hits          343      367      +24
- Misses        464      487      +23
  Partials       21       21

Impacted Files
Coverage Δ

orchestration/connectionmanager/connector.py
70% <100%> (+10%)
:arrow_up:

orchestration/utils/config.py
87.5% <82.97%> (-12.5%)
:arrow_down:

orchestration/connectionmanager/credcreator.py
0% <0%> (-34.49%)
:arrow_down:

orchestration/connectionmanager/st2.py
27.02% <0%> (+5.4%)
:arrow_up:


Problem to install tensorflow

Hello, I am trying to install the tensorflow to use it in the digits of nvdia and am having this problem :/

Exception:
Traceback (most recent call last):
File "/home/felipe/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/felipe/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/felipe/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/felipe/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/felipe/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/felipe/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/felipe/.local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
ensure_dir(destdir)
File "/home/felipe/.local/lib/python2.7/site-packages/pip/utils/init.py", line 83, in ensure_dir
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permissão negada: '/usr/local/lib/python2.7/dist-packages/funcsigs-1.0.2.dist-info'

(1) Please follow issue guidelines and template style ISSUE_TEMPLATE before raising an issue.
(2) This is not a bug hence you can go to stack overflow where tf community can help you out. This link might solve your issue.

Thanks, I solved the problem using the following command:
pip3 install --user tensorflow-gpu


VEP: document new --skipped_variants_file option

ENSVAR-4683: related with https://github.com/Ensembl/ensembl-vep/pull/1379
Check changes in my sandbox

We are branching within a week, please could you update this PR as this is for 110. Thanks @nuno-agostinho


Please support typeguard version 3

Version 3.0.0 of typeguard has been released with breaking changes.
The change that most immediately impacts this package is that the initial argname parameter is removed from typeguard.check_type. This causes quite a few tests to fail (log attached).
If I work around that change (for which I am happy to offer a PR, if you let me know whether you want to maintain backward compatibility with typeguard 2.x or not), I find that there are still quite a few failures (log attached).

Thanks for the heads up.  This should be fixed now.  I'm actually glad they made that change to typeguard.check_type(); the old API was quite awkward.


fix devcontainer for todo-java-postgresql-terraform

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2597

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/2597

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2597

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/2597

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2597

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/2597

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/2597

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/2597

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2597

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/2597

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/2597

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/2597

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/2597

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2597

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/2597

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/2597

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2597

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2597

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/2597
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/2597

View Changes | Compare Changes