Legacy WA install fails

trying to run this but it fails, Whatsapp gets uninstalled and reinstalled though
To Reproduce
Steps to reproduce the behavior:

clone repo
connect device, enable debugging
run 'python3 wa_kdbe.py --allow-reboot --alternate-adb'

Expected behavior
Exports of the chats?
Terminal output
[16:52:36.057809] Please read above instructions carefully ↑ . Continue? (default y) :
[16:52:37.703709] Connected to GS370_Plus
[16:52:38.765449] WhatsApp V<IP_ADDRESS> installed on device
[16:52:38.765697] Found legacy WhatsApp V2.11.431 apk in helpers folder
[16:52:38.852346] Backing up WhatsApp <IP_ADDRESS> apk, the one installed on device to tmp/WhatsAppbackup.apk
/data/app/com.whatsapp-bALR5z1yeLi-ctVet7AnLA==/base.apk: 1 file pulled, 0 skipped. 29.6 MB/s (31604309 bytes in 1.017s)
[16:52:39.881465] Apk backup complete.
[16:52:39.881553] Uninstalling WhatsApp, skipping data.
Success
[16:52:41.213063] Uninstalled.
[16:52:41.213189] Installing legacy WhatsApp V2.11.431, hold tight now.
Performing Streamed Install
adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
[16:52:43.661842] Installation Complete.
[16:52:43.661929] Backing up WhatsApp data as tmp/whatsapp.ab. May take time, don't panic.
WARNING: adb backup is deprecated and may be removed in a future release
Now unlock your device and confirm the backup operation...
[16:52:55.312241] Done backing up data.
[16:52:55.312333] Reinstallting original WhatsApp.
Performing Streamed Install
Success
[16:53:04.048321] Our work with device has finished, it is safe to remove it now.
[16:53:04.048582] Found whatsapp.ab in tmp folder. Continuing
[16:53:04.048617] Enter a reference name for this user. : hmn
[16:55:50.767511] Enter same password which you entered on device when prompted earlier. :
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.bouncycastle.jcajce.provider.drbg.DRBG (rsrc:./) to constructor sun.security.provider.Sun()
WARNING: Please consider reporting this to the maintainers of org.bouncycastle.jcajce.provider.drbg.DRBG
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[16:55:52.356961] Successfully 'fluffed' tmp/whatsapp.ab tmp/whatsapp.tar
[16:55:52.357068] Folder extracted/ already exists.
[16:55:52.357119] Taking out main files in tmp/ folder temporaily.
tar: apps/com.whatsapp/f/key: Nicht im Archiv gefunden.
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
[16:55:52.362157] [Errno 2] No such file or directory: 'tmp/apps/com.whatsapp/f/key' -> 'extracted/hmn/key'
[16:55:52.362245] Cleaning up tmp folder...
Desktop (please complete the following information):

OS: Manjaro (Kernel ver 5.9.16-1-MANJARO

Smartphone (please complete the following information):

Device: Gigaset 370 plus
Android 8.1.0

git checkout issues/16
python wa_kdbe.py --allow-reboot

Install seems to work now, however the backup now has the 47 byte thingy
should I close this issue and open a new one for that error?
Terminal:
[17:08:25.429091] Please read above instructions carefully ↑ . Continue? (default y) : y
[17:08:28.182096] Connected to GS370_Plus
[17:08:29.389077] WhatsApp V<IP_ADDRESS> installed on device
[17:08:29.389316] Found legacy WhatsApp V2.11.431 apk in helpers folder
[17:08:29.470280] Backing up WhatsApp <IP_ADDRESS> apk, the one installed on device to tmp/WhatsAppbackup.apk
/data/app/com.whatsapp-rv69_YjvqixMvkMJTjHCVA==/base.apk: 1 file pulled, 0 skipped. 25.8 MB/s (31604309 bytes in 1.168s)
[17:08:30.650008] Apk backup complete.
[17:08:30.650092] Uninstalling WhatsApp, skipping data.
Success
[17:08:32.102557] Uninstalled.
[17:08:32.102712] Rebooting device, please wait.
[17:08:35.935908] Waiting for device...
[17:08:40.947702] Waiting for device...
[17:08:45.960756] Waiting for device...
[17:08:50.974543] Waiting for device...
[17:08:55.989571] Waiting for device...
[17:09:01.003184] Waiting for device...
[17:09:06.015595] Waiting for device...
[17:09:11.028378] Waiting for device...
[17:09:16.041601] Press any key after unlocking device.
[17:09:27.613640] Installing legacy WhatsApp V2.11.431, hold tight now.
Performing Streamed Install
Success
[17:09:33.916644] Installation Complete.
[17:09:33.916741] Backing up WhatsApp data as tmp/whatsapp.ab. May take time, don't panic.
WARNING: adb backup is deprecated and may be removed in a future release
Now unlock your device and confirm the backup operation...
[17:09:38.629140] Done backing up data. Size : 47 bytes.
[17:09:38.629219] Reinstallting original WhatsApp.
Performing Streamed Install
Success
[17:09:55.808564] Our work with device has finished, it is safe to remove it now.
[17:09:55.808687] Found whatsapp.ab in tmp folder. Continuing... Size : 47 bytes.
[17:09:55.808716] Enter a reference name for this user. : hmn
[17:10:02.039376] Enter same password which you entered on device when prompted earlier. :
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.bouncycastle.jcajce.provider.drbg.DRBG (rsrc:./) to constructor sun.security.provider.Sun()
WARNING: Please consider reporting this to the maintainers of org.bouncycastle.jcajce.provider.drbg.DRBG
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[17:10:03.937843] Successfully 'fluffed' tmp/whatsapp.ab tmp/whatsapp.tar. Size : 47 bytes.
[17:10:03.937936] Folder extracted/ already exists.
[17:10:03.937961] Folder extracted/hmn already exists.
[17:10:03.937977] Taking out main files in tmp/ folder temporaily.
tar: apps/com.whatsapp/f/key: Nicht im Archiv gefunden.
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
[17:10:03.944642] [Errno 2] No such file or directory: 'tmp/apps/com.whatsapp/f/key' -> 'extracted/hmn/key'
[17:10:03.944732] Cleaning up tmp folder...

Install seems to work now, however the backup now has the 47 byte thingy
should I close this issue and open a new one for that error?

I am figuring this out in #16. We can continue it there.

@HueHueJanG
I made some changes try with
git pull origin
git checkout issues/16
python wa_kdbe.py --allow-reboot


How do i reposition a popover after rotation?

How does one actually use -popoverController:willRepositionPopoverToRect:inView:?
I tried the following without luck:
- (void)popoverController:(WYPopoverController *)popoverController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView *__autoreleasing *)view
{
    DLog(@"Present position %f %f %f %f", rect->origin.x, rect->origin.y, rect->size.width, rect->size.height);

    rect->origin.x = 100.f;
    rect->origin.y = 100.f;

    DLog(@"New position %f %f %f %f", rect->origin.x, rect->origin.y, rect->size.width, rect->size.height);
}

The output from this is:
Present position 0.000000 0.000000 0.000000 0.000000
New position 100.000000 100.000000 0.000000 0.000000

However the popover origin still appears to be 0,0,0,0 after rotation.

Has anyone done this successfully? I think the delegate is supposed to set the rect and view, but it's not clear to me how to determine that. In my case, I want it to keep pointing at the same view onscreen after rotation.

Got it. If the popover is presented from a bar button, it just uses the bounds and the bar button's view as its rect and view. If you're presenting a popover pointing at a view, you probably did:
[popover presentPopoverFromRect:view.frame inView:view.superview permittedArrowDirections:dir  animated:YES];

Instead do this:
[popover presentPopoverFromRect:view.bounds inView:view permittedArrowDirections:dir animated:YES];

Remember the view you presented from, and give the delegate method the view's bounds and the view.  I've got a singleton class that I use to coordinate popovers (dismiss the active one, etc), and I have a shortcut method on that class that looks like this:
-(WYPopoverController *)presentPopoverFromView:(UIView *)view withContent:(UIViewController *)content;

The singleton keeps track of the view it was given and handles the rotation.

It would be cool if the popover had a presentPopoverFromView method that handled rotation automatically the same way it does for the bar button item...


[Analytics] A display page to show the usages

A basic page which would display the usage needs to be created.

Embeded Ajax and javascript code to display the usage. Currently, this code was updated on http://stats-demo.vlabs.ac.in/test-stats/ (test environment) showing some dummy value. Also, need to update on http://stats-demo.virtual-labs.ac.in/stats/ (production) . But, It was dependent on issue #8.


[FEATURE] Handling of discriminator

Is your feature request related to a problem? Please describe.
The api config we are using contains, some models with discriminators. This means depending on a specific field inside the class, the class is getting mapped to another class which extends the first class. In other programs languages this feature is called e.g. sealed classes. Flutter currently does not support this but the library freezes is able to create these kind of classes and then map them to the specific subclasses.
Currently the issue is that the class does have any fields of the subclass so all the received information is getting ignored.
Describe the solution you'd like
The best solution would be of course to get the classes as sealed classes with e.g. freezed.
The easiest usable solution would be to add all the possible parameters of the possible mapped classes to the normal class and make them nullable. Afterwards the user would be able to access all the information but the checking regarding the needed fields would be up to the user
Swagger specification link
Link to swagger/OpenApi documentation

Hi @felixmede ,
we already support allOff inheritance.
Unfortunately there are no possibility to support oneOf and anyOf, because type is known only when we received response and there is no way to detect it before. In such cases you can just map response to any generated or custom model you want.
If you have some difficulties, working with out generator, related to discriminators, please let us know.
Also, if you have and idea, how can we generate such things - please provide example of swagger and generated code you'd like to have.

Closing this issue. @felixmede please reopen it in case of any ideas


Release @google-cloud/projectify v0.3.1

This pull request was generated using releasetool.

Release is at https://github.com/googleapis/nodejs-projectify/releases/tag/v0.3.1


Enriched functor categories.

Depends on PR #96.
Addresses @JacquesCarette's comment on b72b3ce.

Interesting how EnrichedFunctors (as a 'normal' category) doesn't care at all what the level of the objects of the enriching category is.

I agree! That's because enriched functors don't either. All their fields are morphisms or equalities in V, no objects!


deliver first name from plugin into context when known

Version
2.1.0
Describe the bug

Tattler provides variable user_firstname into the default context.
This is self-guessed from the user's email.
At the same time, users might supply an addressbook plugin that delivers the user's actual first name, instead of a guess.
In the latter case, it makes no sense for the user_firstname variable to stay the guess.

To Reproduce

provide an AddressbookPlugin which supplies a first_name for user X
deliver a notification to user X whose template uses variable user_firstname
delivered notification will include the guessed name instead of the provided name

Expected behavior
When the user's first name is provided by an AddressBook plug-in, variable user_firstname should be that name instead of the guess.

Resolved with #33


Chat - Unable to dismiss comment edit with ESC key

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.65-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Go to chat.
Send a message.
Right click on the message > Edit comment.
Hit ESC key.

Expected Result:
Comment edit will be dismissed.
Actual Result:
Unable to dismiss comment edit with ESC key.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/da422b7f-0196-4547-ac13-3f84852dd843

View all open jobs on GitHub

@twisterdotcom I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

Production
https://github.com/Expensify/App/assets/115492554/895e395b-225d-42e4-a601-95862caac9bb

@dukenv0307 Might be related to this https://github.com/Expensify/App/pull/35226 PR

Easily recreatable. Will wait for @dukenv0307 to chime in before we slap External on this.

I can repro on main

Confirmed the revert fixed this issue https://github.com/Expensify/App/pull/40865 I prefer to proceed with the re vert as it seems like that PR has been linked to couple other blockers

@dukenv0307 I can see there is multiple regressions linked, in order to move deploy forwards, I prefer revert and you can add these fixes and test it thoroughly in second try. Its not a critical feature we need out in release 1

revert PR being CPed, closing as we will validate the PR


fix(ACI): At least one team or user should be specified when creating a restricted container in Azure ACI EE-578

close EE-578

/azp run


How to generate data.js in franc packages

Hi @wooorm, Thanks for create greate packages
I have a question: How to generate https://github.com/wooorm/franc/blob/main/packages/franc/data.js file ?
Can you tell me the way to do it ? Where the data base is also OK 🙇
Thanks

I would try
npm run build-packages

Cf. https://github.com/wooorm/franc/blob/ee64d1ffd9d83c3cc8a4cd76cfaa063d1bec24d6/package.json#L44-L52

Yup, as Gábor explains, use the npm scripts!


api docs: Document GET /server_settings.

Testing Plan: test-api, mypy and lint checks passed locally. Made sure that the docs display properly.

Updated the PR, fixing the merge conflicts and addresing your comments. Thanks for reviewing, @timabbott!

Merged, after fixing the too-long line by using a [ldap-auth] anchor, thanks @YagoGG!  See c36cf95dc86f4a2a8ff68447256e7df87ba0655a.


Get rid of cmake CMP0075 policy warning

Make "Include file check macros honor CMAKE_REQUIRED_LIBRARIES"
(https://cmake.org/cmake/help/git-stage/policy/CMP0075.html), avoiding
this warning message:
"Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
details.  Use the cmake_policy command to set the policy and suppress
this warning."

thanks!


attention weights

Hi,
I have a question about how scaled dot and cosine similarity are calculated
Given the current target hidden state qi with each source hidden state kj
The scaled dot is calculated as follows:

where dw represents the dimension of word embeddings
The cosine similarity is computed as follows:

Is that correct, or am I missing something?
Thank u in advance

I figure these formulas are correct.


Remove WordPressVIPMinimum.VersionControl.MergeConflict in favor of the new sniff

The VIP Coding Standards removed WordPressVIPMinimum.VersionControl.MergeConflict sniff in favor of Generic.VersionControl.GitMergeConflict. See the changelog here: https://github.com/Automattic/VIP-Coding-Standards/releases/tag/2.1.0.
We still reference it https://github.com/inpsyde/php-coding-standards/blob/529e046bd9b921bca40cb95ebfd65d743cdf0215/Inpsyde/ruleset.xml#L129 and it causes an error when running phpcs.
ERROR: Referenced sniff "WordPressVIPMinimum.VersionControl.MergeConflict" does not exist

We don't require a specific version of the VIP CS:
https://github.com/inpsyde/php-coding-standards/blob/8b3abeb0ec546c025e4c3b546981bc37e8feaebf/composer.json#L34

We don't require a specific version of the VIP CS

Yes, we require latest version of v2 series, because if we require a specific version then we need to update the version everytime they fix a bug and so on.
Requiring the latest in v2 series in theory should preserve us from things like that: removing a rule is surely a breaking change and should not be done without increasing the major version... but looks like VIP doesn't really care about it.
My opinion is to keep the requirement as-is and replace WordPressVIPMinimum.VersionControl.MergeConflict with Generic.VersionControl.GitMergeConflict.


Check on napari, if the plugin manager is busy and provide a dialog on close

Avoid closing napari if the plugin manager is busy

Short-term I guess we would need to poll napari directly. Long-term I envision an API in napari where plugins can register their long-running tasks (with a predefined expiry date, so maybe it's a matter of "keeping them alive" as needed) and would also unregister them once done. Then napari would check that list when needed (e.g. upon closing), and could even be exposed somewhere in the UI for more information.

The status payload would look something like this:
{
  "status": "some-value-from-enum",
  "description": "additional details for a tooltip or whatever",
  "timestamp": "ISO-something for the moment the payload was sent (or received; delegated to napari?)",
  "id": "some sort of unique identifier to retrieve this later and remove it"
}


vaapic: memset misc object

Signed-off-by: Zhong Li<EMAIL_ADDRESS>

@chivakker  yeah, your comments make sense, it is a typo. I'll update it.

verify + 1

merged as 0ee515f10124740a8f0d9830210be5d8d2142387


Navigation between page-router-outlet

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 6.0.2
Cross-platform modules:
Android Runtime: 6.0.7
iOS Runtime: 6.0.2
Plugin(s):

"dependencies": {
"@angular/animations": "8.0.0",
"@angular/common": "8.0.0",
"@angular/compiler": "8.0.0",
"@angular/core": "8.0.0",
"@angular/forms": "8.0.0",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "8.0.0",
"@angular/platform-browser-dynamic": "8.0.0",
"@angular/router": "8.0.0",
"@nstudio/nativescript-checkbox": "^1.0.0",
"@nstudio/nativescript-pulltorefresh": "^1.0.1",
"nativescript": "^6.1.0-2019-07-22-110314-13705",
"nativescript-accordion": "^6.0.0-beta.2",
"nativescript-angular": "8.0.2",
"nativescript-background-http": "^3.4.1",
"nativescript-camera": "^4.5.0",
"nativescript-drawingpad": "^3.1.0",
"nativescript-drop-down": "^5.0.2",
"nativescript-fancyalert": "^3.0.9",
"nativescript-image-swipe": "^5.0.1",
"nativescript-localstorage": "^2.0.0",
"nativescript-svg": "^1.3.7",
"nativescript-theme-core": "^1.0.6",
"nativescript-ui-listview": "7.0.0",
"nativescript-ui-sidedrawer": "7.0.0",
"nativescript-websockets": "^1.5.3",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.5.2",
"tns-android": "^6.1.0-2019-07-19-113003-02",
"tns-core-modules": "^6.0.1",
"zone.js": "0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "8.0.0",
"@nativescript/schematics": "~0.5.0",
"@ngtools/webpack": "8.0.0",
"nativescript-dev-webpack": "~1.1.0",
"typescript": "3.4.5"
},

Describe the bug

When i try navigate from tab child (detail) to another tab child (detail) does not work
To Reproduce

Click in "GO TO TABS PAGE", open player two, click on teams tab, open some team, try navigate to player 1 detail (last button)
I can only navigate to players, but i cant navigate a specific player
Expected behavior
Sample project

Example: https://play.nativescript.org/?template=play-ng&id=lTchXt
Additional context

I tried this issue, but dos not work:
https://github.com/NativeScript/nativescript-angular/issues/1022

Hi @PabloPG,
I reviewed your project and the issue seems to be related to the path. Try the following setup of the navigate method:
this.routerExtension.navigate(["/tabs", { outlets: { playerTab: ["players", "player", 1] } }]);

For your convinience, I am attaching also the project with some edits.

HI @PabloPG,
Were you able to test the above-given solution on your side?

Sorry for the delay in returning.
I tested on my project passing the parameters as recommended and it worked correctly.
Thank you very much.
I had created a queryParams with a redirect field and as a value to where to redirect 👍


"JSX/ES2015" React transpiling

Just an idea. What if we could do JSX-like and ES2015 class syntax? Something like:
class HelloComponent(React.Component):
    def __init__(self, **props):
        self.state = {'counter': 0}
        self.props = props

    def updateCounter(self):
        self.state['counter'] += 1

    def componentDidMount(self):
        setInterval(self.updateCounter, 1000)

    def render(self):
        return div({'className': 'maindiv'},
                   h1('Hello', self.props['name']),
                   p('Lorem ipsum dolor sit ame.'),
                   p('Counter: ', self.state['counter'])
                   )

The goal here would be to write clean React code in Python.
A "step 2" would be to stub out React and its classes, as well as the supported HTML tags (p h1 etc), then we'll gain the benefits of autocompletion and some type inference, too.

Hi Oman,
Thanks for the feedback.
I am not a React expert, so I'll first have to do some homework studying...
Will get back on this.
Kind regards
Jacques de Hooge

@osman-masood : To prepare for a talk I'm doing soon (subject: Transcrypt / Redux / FRP: Reactive Isomorphic Web Components In Python Only)
My question to you, referring to *What if we could do JSX-like and ES2015 class syntax? *
What do you actually miss, in my opinion this is already possible in Transcrypt?

@AXGKl I tried several ways of getting it to work, but keep getting errors. For example the above code produces react_demo.js:87 Uncaught TypeError: cls.__new__ is not a function.
Try this commit made on my fork: https://github.com/osman-masood/Transcrypt/commit/f75d1df4b56b2c06560b3f624b8f3004d01639ee
Still looking into this...

@osman-masood : Ok understood, so its really a bug somewhere in the react demo or your code. Would love to look into this deeper but unfortunately these days some project delivery ...minutes are running out :-/
Zero use to you for now, but in general I must say that I found react always a bit too loaded, API wise. Was having more fun with riotjs for reactive components. Meanwhile I don't even use this anymore but pure transcrypt only, together with a templating engine.

Hi,
Thanks for this awesome project! I just started using it and stumble exactly on the same issue... I would love to help but my JS is kind of non existent.
cheers,
Francois

This issue "hangs". @osman-masood and @fdv1 I can't help you since I've not enough knowledge of react. Does any of this require an extension or modification Transcrypt itself? If so, which modification exactly. Or does it require someone to make a library for it, e.g. to replace the use of JSX? If so can any of you do that?

I'll close this for now, since it seems to linger.
If anyone starts working on this, feel free to reopen.

@JdeH I was working on a "transpiler" from JSX to JS, which would work separately from Transcrypt (at least initially), but never finished.

That happens...
So I guess it's ok this issue is closed now?
Hope you keep on using Transcrypt, though...
Kind regards
Jacques

@JdeH Yep! Closed makes sense for now. Thanks.

Thank you very much.
I must say that I have been coding in JS since then (I needed to learn it anyway).
I'll give another go soon...
cheers,Francois
From: Osman<EMAIL_ADDRESS>To: QQuick/Transcrypt<EMAIL_ADDRESS>Cc: Francois du Vignaud<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Sent: Monday, 7 November 2016, 18:21
Subject: Re: [QQuick/Transcrypt] "JSX/ES2015" React transpiling (#121)
@JdeH Yep! Closed makes sense for now. Thanks.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@AXGKl Sorry to resurrect this dead thread, but "Transcrypt / Redux / FRP: Reactive Isomorphic Web Components In Python Only" sounds really interesting.  Is there a video of this talk anywhere?

Hi,
Unfortunately to my knowledge it wasn't video'ed. (@AXGK: right?)
But the slides are available at:
https://axiros.github.io/transcrypt/#/
Hope they contain enough info.
Kind regards
Jacques


Not working on Windows 10

Hi ,
I tried the code :
ObservableCollection chromecasts = await ChromecastService.Current.StartLocatingDevices();
But receive this error
An exception of type 'System.IO.FileLoadException' occurred in mscorlib.ni.dll but was not handled in user code
Additional information: Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
New project for windows 10 used with framework 4.5.2
Any ideas

Hey,
Not sure if this was your issue, but I had wrong dependencies listed on 0.3.2 package.
So now there is 0.3.3-pre which works.
Sorry for the trouble.

Hey,
Not sure if this was your issue, but I had wrong dependencies listed on 0.3.2 package.
So now there is 0.3.3-pre which works.
Sorry for the trouble.

Hey @Tapanila ,
I got the same error with 0.3.4 and 0.3.3-pre.

Could you send me the project to teemu(at)tapanila.net or create a new project where this can be reproduced.

Hi Tapanila,
I followed some instruction and remove my packages folder (/Users/Username/AppData/Local/Packages).
Then rebuild. Problem solve.

Awesome


Main README is missing tag instructions

When adding the magda-auth-internal plugin, you also need to add:
tags:
magda-auth-internal: true
into the values.yaml file for it to deploy it.

@GregLeichner Thanks for your feedback.
I've removed the tags from the instruction (so the plugin will always be deployed) to avoid the confusion.


Tried to get the GiraffeSample to work but fail - Record label 'Text' is not defined.

I've had a good go at making this run today, trying things out. Apart from a number of packages that took me some time to work out how to include, I'm still left with this issue that I can't fix, even by looking at the source. I'm out of practice F# wise I know but this seems a very weird problem to have.
I did try a few variations of opening various libraries but no go.
It isn't critical as I was just experimenting but it's brickwalled me for today's playing around. Maybe someone can shed some light?

Hi, sorry for the late reply, but did you get around to fix this? All the sample projects in all the Giraffe repos are being build and tested as part of each build, so if you take the code from there or if you create a new Giraffe app through the dotnet new command then these things should work out of the box.
Please let me know if you still have problems!


Adds tag filtering to SysTable

Closes YARA-177

Codecov Report

Merging #41 (03e7055) into master (0eaf891) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head 03e7055 differs from pull request most recent head 401a609. Consider uploading reports for the commit 401a609 to get more accurate results

@@          Coverage Diff           @@
##           master     #41   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          36      36
  Lines         525     526    +1
  Branches      162     162
======================================
- Misses        477     478    +1
  Partials       48      48

Impacted Files
Coverage Δ

src/Components/SysTable/SysTable.js
0.00% <0.00%> (ø)

src/Components/SysTable/constants.js
0.00% <ø> (ø)

src/Components/SysTable/hooks.js
0.00% <0.00%> (ø)

src/operations/queries.js
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


CSS: make separation line visible again by setting 100% width

The line disappeared when I switched to flex layout in #125.

I have merged #130 instead.


code review by sig-auth

Starting as a running list as I review the code here for https://github.com/kubernetes/org/issues/1245.

adding csi driver capabilities is not threadsafe. This can race with multiple writers or if reading while a concurrent write is executing.
log redaction of secrets is fragile. This is complex and is whitelist based.
Controller server races. Read operations need to hold the lock that guards cs.vols.

stylistic comment: Put all of controllerServer methods in the file where controllerServer is declared. Some of them are in utils.go, and controllerserver.go is short enough.

stylistic: move init into handle. Does os.Exit(0) at the end of the main do anything? It looks like it should be removed.
sytlisitc: move main packages out of pkg/ and into a cmd/ directory to designate that they are not shared packages.
Why use atomic here? Counter doesn't survive restarts. Is that a problem? It looks pretty easy to add volumes with name conflicts.

Questions:

Why are driver options passed with a mix of env variables and command line arguments?
What is mock_provider here?

adding csi driver capabilities is not threadsafe. This can race with multiple writers or if reading while a concurrent write is executing.

We inherited this code from https://github.com/kubernetes-csi/drivers/blob/master/pkg/csi-common/driver.go

log redaction of secrets is fragile. This is complex and is whitelist based.

We'll look into this and see how we can make it better.

Controller server races. Read operations need to hold the lock that guards cs.vols.
stylistic comment: Put all of controllerServer methods in the file where controllerServer is declared. Some of them are in utils.go, and controllerserver.go is short enough.

Sure, we'll make the change. Also just to add, the controller server is implemented only for sanity tests for the CSI driver.  secerets-store-csi-driver only uses the nodeserver.

stylistic: move init into handle. Does os.Exit(0) at the end of the main do anything? It looks like it should be removed.
sytlisitc: move main packages out of pkg/ and into a cmd/ directory to designate that they are not shared packages.

We'll make the changes.

Why use atomic here? Counter doesn't survive restarts. Is that a problem? It looks pretty easy to add volumes with name conflicts.

The controllerserver is a fake implementation. It's only present here for running the sanity tests for the CSI driver.

Why are driver options passed with a mix of env variables and command line arguments?

We'll make a change to make the provider volume path configurable using a flag instead of the env variable.

What is mock_provider here?

Like I mentioned above, the controllerserver is fake/mock implementation which is solely used for the purpose of running sanity tests against our CSI driver. The mock_provider is just a fake provider name we set for the purpose of sanity tests.
@mikedanese Thank you taking the time to review the code. Really appreciate it. Please let us know if these answers the questions.

Closing as all issues have been addressed


C++ code analysis GitHub action

Enables the standard GH analysis action for LLRI.
The build file generates vcxproj files using CMake because the analysis auto build workflow doesn't currently accept CMake on Windows.
The analysis currently only runs on Windows because both llri-dx and llri-vk are built on Windows, which is sufficient because the code between platforms doesn't change.

This PR will also fix all issues that come up in CodeQL in order to prevent failing builds in develop


ETSI ITS IVI Extension flag problem

Note: Possibly related to #290
I am unable to decode an ETSI ITS IVI message which fails at decoding the Zid which contains an extension flag:
Relevant ASN.1:
Zid::= INTEGER (1..32,...)

GlcPart::= SEQUENCE {
	zoneId						Zid,
	laneNumber					LanePosition OPTIONAL,
	zoneExtension				        INTEGER (0..255) OPTIONAL,
	zoneHeading					HeadingValue OPTIONAL,
	zone						Zone OPTIONAL,
	...
	}

The asn1c generated constraint check does not contain the extensible flag:
asn_per_constraints_t asn_PER_type_Zid_constr_1 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 5,  5,  1,  32 }	/* (1..32) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};

Furthermore, the decoder output does not tell me why the decoding has failed:
SET OF GlcPart decoding (constr_SET_OF.c:967)
Decoding GlcPart as SEQUENCE (UPER) (constr_SEQUENCE.c:1098)
  [PER got  1<=332 bits => span 1189 +4[5..336]:5a (331) => 0x1] (asn_bit_data.c:139)
  [PER got  4<=331 bits => span 1193 +4[9..336]:5a (327) => 0x4] (asn_bit_data.c:139)
Read in presence bitmap for GlcPart of 4 bits (40..) (constr_SEQUENCE.c:1121)
Decoding member "zoneId" in GlcPart (constr_SEQUENCE.c:1170)
Decoding NativeInteger Zid (UPER) (NativeInteger.c:268)
  [PER got  1<=327 bits => span 1194 +5[2..328]:45 (326) => 0x1] (asn_bit_data.c:139)
Decoding unconstrained integer Zid (INTEGER.c:661)
  [PER got  8<=326 bits => span 1202 +5[10..328]:45 (318) => 0x14] (asn_bit_data.c:139)
  [PER got 24<=318 bits => span 1226 +6[26..320]:22 (294) => 0x8a8040] (asn_bit_data.c:139)
  [PER got 24<=294 bits => span 1250 +9[26..296]:00 (270) => 0x1b5] (asn_bit_data.c:139)
  [PER got 24<=270 bits => span 1274 +12[26..272]:60 (246) => 0x800014] (asn_bit_data.c:139)
  [PER got 24<=246 bits => span 1298 +15[26..248]:22 (222) => 0x8a4540] (asn_bit_data.c:139)
  [PER got 24<=222 bits => span 1322 +2[26..224]:08 (198) => 0x200000] (asn_bit_data.c:139)
  [PER got 24<=198 bits => span 1346 +5[26..200]:36 (174) => 0xdac000] (asn_bit_data.c:139)
  [PER got 16<=174 bits => span 1362 +8[18..176]:00 (158) => 0xf8] (asn_bit_data.c:139)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Failed decode zoneId in GlcPart (constr_SEQUENCE.c:1180)

I suspect the problem is that Zid is being decoded as an unconstrained integer despite clearly being constrained (1..32). However, I am not sure if that is the cause of the decoding failure from the above log. Any clues to debug the issue will be much appreciated.

Update: I cross-checked the generated C code again and the constraint checking code seems to be correct:
asn_per_constraints_t asn_PER_type_Zid_constr_1 CC_NOTUSED = {
	{ APC_CONSTRAINED | APC_EXTENSIBLE,  5,  5,  1,  32 }	/* (1..32,...) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};

So, its not likely related to the extensions, but I am not sure..

I've narrowed down the source of the error: its the INTEGER_decode_uper function in INTEGER.c:
This part of code in the above function sets ct to 0 which causes the failure in decoding (see line in Bold)
	if(ct && ct->flags & APC_EXTENSIBLE) {
		int inext = per_get_few_bits(pd, 1);
		if(inext < 0) ASN__DECODE_STARVED;
		**if(inext) ct = 0;**
	}

I dont understand the logic: with inext, we're presumably extracting the extension marker bit from the per data frame. If inext is not 0 (i.e. there is an extension marker), why do we set the constraints (ct) to 0?
Modifying if(inext) ct = 0; to if(inext < 0) ct = 0; does solve the issue of decoding Zid but results in overflow extensions further in the message.
The full function is below:
asn_dec_rval_t
INTEGER_decode_uper(const asn_codec_ctx_t *opt_codec_ctx,
                    const asn_TYPE_descriptor_t *td,
                    const asn_per_constraints_t *constraints, void **sptr,
                    asn_per_data_t *pd) {
    const asn_INTEGER_specifics_t *specs =
        (const asn_INTEGER_specifics_t *)td->specifics;
    asn_dec_rval_t rval = { RC_OK, 0 };
	INTEGER_t *st = (INTEGER_t *)*sptr;
	const asn_per_constraint_t *ct;
	int repeat;

	(void)opt_codec_ctx;

	if(!st) {
		st = (INTEGER_t *)(*sptr = CALLOC(1, sizeof(*st)));
		if(!st) ASN__DECODE_FAILED;
	}

	if(!constraints) constraints = td->encoding_constraints.per_constraints;
	ct = constraints ? &constraints->value : 0;

	if(ct && ct->flags & APC_EXTENSIBLE) {
		int inext = per_get_few_bits(pd, 1);
		if(inext < 0) ASN__DECODE_STARVED;
		if(inext) ct = 0;
	}

	FREEMEM(st->buf);
	st->buf = 0;
	st->size = 0;
	if(ct) {
		if(ct->flags & APC_SEMI_CONSTRAINED) {
			st->buf = (uint8_t *)CALLOC(1, 2);
			if(!st->buf) ASN__DECODE_FAILED;
			st->size = 1;
		} else if(ct->flags & APC_CONSTRAINED && ct->range_bits >= 0) {
			size_t size = (ct->range_bits + 7) >> 3;
			st->buf = (uint8_t *)MALLOC(1 + size + 1);
			if(!st->buf) ASN__DECODE_FAILED;
			st->size = size;
		}
	}

	/* X.691-2008/11, #13.2.2, constrained whole number */
	if(ct && ct->flags != APC_UNCONSTRAINED) {
		/* #11.5.6 */
		ASN_DEBUG("Integer with range %d bits", ct->range_bits);
		if(ct->range_bits >= 0) {
			if((size_t)ct->range_bits > 8 * sizeof(unsigned long))
				ASN__DECODE_FAILED;

			if(specs && specs->field_unsigned) {
				unsigned long uvalue = 0;
				if(uper_get_constrained_whole_number(pd,
					&uvalue, ct->range_bits))
					ASN__DECODE_STARVED;
				ASN_DEBUG("Got value %lu + low %ld",
					uvalue, ct->lower_bound);
				uvalue += ct->lower_bound;
				if(asn_ulong2INTEGER(st, uvalue))
					ASN__DECODE_FAILED;
			} else {
				unsigned long uvalue = 0;
				long svalue;
				if(uper_get_constrained_whole_number(pd,
					&uvalue, ct->range_bits))
					ASN__DECODE_STARVED;
				ASN_DEBUG("Got value %lu + low %ld",
					uvalue, ct->lower_bound);
                if(per_long_range_unrebase(uvalue, ct->lower_bound,
                                           ct->upper_bound, &svalue)
                   || asn_long2INTEGER(st, svalue)) {
                    ASN__DECODE_FAILED;
                }
			}
			return rval;
		}
	} else {
		ASN_DEBUG("Decoding unconstrained integer %s", td->name);
	}

	/* X.691, #12.2.3, #12.2.4 */
	do {
		ssize_t len = 0;
		void *p = NULL;
		int ret = 0;

		/* Get the PER length */
		len = uper_get_length(pd, -1, 0, &repeat);
		if(len < 0) ASN__DECODE_STARVED;

		p = REALLOC(st->buf, st->size + len + 1);
		if(!p) ASN__DECODE_FAILED;
		st->buf = (uint8_t *)p;

		ret = per_get_many_bits(pd, &st->buf[st->size], 0, 8 * len);
		if(ret < 0) ASN__DECODE_STARVED;
		st->size += len;
	} while(repeat);
	st->buf[st->size] = 0;	/* JIC */

	/* #12.2.3 */
	if(ct && ct->lower_bound) {
		/*
		 * TODO: replace by in-place arithmetics.
		 */
		long value = 0;
		if(asn_INTEGER2long(st, &value))
			ASN__DECODE_FAILED;
		if(asn_imax2INTEGER(st, value + ct->lower_bound))
			ASN__DECODE_FAILED;
	}

	return rval;
}

Getting closer...


Add support for Property layoutPath in Run-Class

Needed for https://github.com/LiveSplit/LiveSplit/pull/2145
cc @Relacibo
Continuation of #436

In this PR, https://github.com/LiveSplit/livesplit-core/pull/627/commits/cf696559d431f01ad30ed127493c83903a79b4c9 matches the commit we're using in LiveSplit.

Oh, so <None /> as it is in the latest version, isn't actually a thing in what we used in LiveSplit?


md-select not selecting value with setValue

Bug, feature request, or proposal:
Bug
What is the expected behavior?
When a FormControl call setValue method, the  show the value.
What is the current behavior?
When a FormControl call setValue method, the  don't show the selected value, only put the value into FormControl (I see in console.log(formcontrol.value)).
What are the steps to reproduce?
In component.html:
<md-select class="col-md-3" placeholder="Tipo*" formControlName="clientType">      <md-option *ngFor="let type of clientTypes" [value]="type">           {{ type.description }}       </md-option> </md-select>
In component.ts:
this.clientForm.controls.clientType.setValue({id: '1', description: 'Test'})
The field stay with the same value of placeholder, "Tipo*".
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 4.3
Material: 2.0.0-beta.8
OS: Windows 10
Browser: Chrome 60
Is there anything else we should know?
My english is very bad, sorry.

If you have objects as options' value, you must use the compareWith. Otherwise, the by-ref default comparison will naver let it work right. Take a look at the https://github.com/angular/material2/issues/6970#issuecomment-328355857.

Thanks! Closing this issue.


Missing dependency typing_extensions

When I tried to import the torrent parser module, I got the following error:
ModuleNotFoundError: No module named 'typing_extensions'
I fixed it by running pip install typing_extensions. You probably need to add it as a dependency.

It shouldn't be a required dependency, maybe I forgot to remove the import code after experimenting with some features.
I'll check this tonight, thanks for your report.

Still happening :) I will create PR for this!

PR published in version v0.4.1.


Can't create items in collections with join field, draft/autosave enabled, and using Postgres adapter

Describe the Bug
When creating a new item in a collection with a join field and autosave enabled, it redirects to the /collections/{collectionName}/create route as expected, but then redirects immediately to the new item's page (/collections/{collectionName}/{itemId}), as if the item were already created. Since the item doesn't exist at this point, it shows the "Not Found" UI.
If draft is allowed, but not autosave, the creation UI works as expected. This error also does not happen, even with autosave enabled, if I use a different db adapter, such as SQLite.
Link to the code that reproduces this issue
https://github.com/mikeploythai/payload-bug
Reproduction Steps

Visit the Vercel deployment of the repo (auto-login enabled)
Create a new item in the services collection
Be presented with the "Not Found" screen

https://github.com/user-attachments/assets/f2b054b0-d0fa-401a-9c29-aaf7a9705a9d
Which area(s) are affected? (Select all that apply)
db-postgres
Environment Info
Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.12.3
Relevant Packages:
  payload: 3.0.1
  next: 15.0.0
  @payloadcms/db-postgres: 3.0.1
  @payloadcms/email-nodemailer: 3.0.1
  @payloadcms/graphql: 3.0.1
  @payloadcms/next/utilities: 3.0.1
  @payloadcms/payload-cloud: 3.0.1
  @payloadcms/richtext-lexical: 3.0.1
  @payloadcms/translations: 3.0.1
  @payloadcms/ui/shared: 3.0.1
  react: 19.0.0-rc-65a56d0e-20241020
  react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:26 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8122
  Available memory (MB): 16384
  Available CPU cores: 8

If draft is allowed, but not autosave, the creation UI works as expected.

An update to this, the creation UI loads, but once I save the draft, the actual content does not get saved. I then get redirected to the new item's page (/collections/{collectionName}/{itemId}), but get shown the "Not Found" error once again.

@mikeploythai this is likely fixed in #9365

Awesome! Thanks 🫡


MaxPNG

Pull Request Description
Adding the PNG encoding and decoding library MaxPNG. Note that MaxPNG is GPL 3.0 licensed, but I was told this would be considered on a case-by-case basis. Also, was not able to run the check script, as it calls chflags which is not available on Ubuntu Linux, but MaxPNG has its own CI and unit tests set up and builds against the Swift 3.1 release.
Acceptance Criteria
To be accepted into the Swift source compatibility test suite, a project must:

[x] be an Xcode or swift package manager project
[x] support building on either Linux or macOS
[x] target Linux, macOS, or iOS/tvOS/watchOS device
[x] be contained in a publicly accessible git repository
[x] maintain a project branch that builds against Swift 3.0 compatibility mode
and passes any unit tests
[x] have maintainers who will commit to resolve issues in a timely manner
[x] be compatible with the latest GM/Beta versions of Xcode and swiftpm
[x] add value not already included in the suite

  * BSD
  * MIT
  * Apache License, version 2.0
  * Eclipse Public License
  * Mozilla Public License (MPL) 1.1
  * MPL 2.0
  * CDDL

Ensure project meets all listed requirements before submitting a pull request.

@swift-ci Please test source compatibility

@swift-ci Please test

GPLv3 is probably the license that raises the most concerns when considering adding a project to the compatibility suite.  If we start seeing a large number of projects under this license that are important to add to the suite, it makes a stronger case for adding projects with this license and exploring in more detail the legal implications of adding them and what it means for engineers working on the compiler from different companies.  Right now, however, I am going to decline this request even though I'd love to see this project in the suite.


fix: Penny-Arcade parsing on Php 7

Recently switched from the LinuxServer - FreshRSS docker image to the official FreshRSS image.
Sadly this broke the parsing since str-contains() built-in didn't exist in PHP7 (which is what the official FreshRSS image is built on), but does exist in PHP8 (LinuxServer image is built on).
Naively picked one of the solutions from the comments in: PHP Docs: str-contains. To get the parsing working again.

Turns out I had an old FreshRSS docker container that was stuck on version 1.21.0 from last year.
Blown away and now on latest (1.24.0) with PHP8.2.18. This change is still working.


Rendering a subview from a localized view requires providing full view path

If I have a localized version of a view, which is rendering another, non-localized view, the latter is not found unless a full path to it is given.
For example, I have the following file structure:
views/
    about/
        _contact_details.php
        contact.php
        ru/
            contact.php

I have the _contact_details.php subview which doesn't need to be localized (no localizable strings in it), and I render it from both versions of contact.php using the following call:
<?= $this->render('_contact_details') ?>

It does work for about/contact.php, but throws an InvalidParamException in about/ru/contact.php. The only way to get the latter to work is replacing the render call with:
<?= $this->render('/about/_contact_details') ?>

This is undesirable as it requires one to make view paths absolute; moreover, this is contrary to Yii 1.1 behaviour which would correctly pick up the "untranslated" version of _contact_details in both cases.

Try passing $this as context - the second argument to render().

Indeed, it works if I replace the call with:
<?= $this->context->renderPartial('_contact_details') ?>

But the View::render()'s behaviour is in my humble opinion a bit unobvious and inconsistent.

What is the reason for not having $this->render call $this->context->render?
Is it to optimize the view rendering process? It would be logical to have the view search be executed for each view right?
Ideally if I localize a view I want to worry just about the parts I want to change, not about any references that might break where I have to change context or render calls.

Yes, that might be considered as a bug, I think.

@SamMousa Don't quite follow your train of thought, but to put it simply, it's for the sake of consistency. I can expect [Controller]->render() behave consistently with [View]->render(), but the latter misbehaves in terms of localization handling.

@yktoo Consider this situation:
There is a view A with text "HEADER" rendering view B, C, D ... Z.
Now I want to change the text in view A using a localized view.
From reading your post it seems that I would have to change each call to $this->render to supply the correct context.
That is bad since I don't care about those subviews, I just want to localize view A.
The reason for my response was that this is not a documentation issue, it is a real bug.
So the default behavior, in my opinion, should not be changed for localized view and each view / subview render call should be handled exactly the same.
Hope that makes sense, I think @samdark understood what I meant since he added the type:bug label ;-)

@SamMousa What you're describing is also my understanding exactly, which is why I reported this. I agree messing with the context for each view in scope doesn't sound very attractive.

#3820 unsure this related or not


Support background transparency

Thanks for your work this is really great !
Could you add support for flash files with transparent background ?
example file: http://www.cjoint.com/data/FHkkjnKNR4R_TransparentBG.swf

@vikbez
Thank for your request!
Added the ability!!
sample code
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0" />
    <title>background transparency</title>
    <script type="text/javascript" src="swf2js.js"></script>
</head>
<body style="margin: 0; padding: 0; background-color: #000000;">
<script type="text/javascript">

    // _root
    var _root = swf2js.createRootMovieClip(1024, 768, 120);

    // stage setting
    var stage = _root.getStage();
    stage.backgroundColor = null;

    // swf load
    _root.loadMovie("./FHkkjnKNR4R_TransparentBG.swf");

    // action
    _root.addEventListener("enterFrame", function(){
        if (this.getCurrentFrame() === 349) {
            this.gotoAndPlay(215);
        }
    });

</script>
</body>
</html>

I'm afraid my expressions may be rude or hard to read, because I'm not so good at English.

Thanks for very fast response and sample !
There is still a problem because the background stays black
(try setting background-color: #b7d;)

Yes, thank you so much for trying to solve the issue !
We tried setting the stage.backgroundColor to "transparent" or "rgba(0,0,0,0)" , but it causes repaint issues during the animation. Maybe just a "clear" frame is missing somewhere ?

Done a PR, don't know if it's the right way to do it :
https://github.com/ienaga/swf2js/pull/4

@karkinge
Thank you!
Indeed!! "transparent" was this!

@vikbez
Thank you PR!
I have received a very big hint .
update 0.6.21
By all means, please try using.

a little added.
stage.backgroundColor will start in "null" or "transparent".
sample code2
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0" />
    <title>background transparency</title>
    <script type="text/javascript" src="swf2js.js"></script>
</head>
<body style="margin: 0; padding: 0; background-color: #000000;">
<script type="text/javascript">

    // _root
    var _root = swf2js.createRootMovieClip(1024, 768, 120);

    // stage setting
    var stage = _root.getStage();
    stage.backgroundColor = "transparent";

    // swf load
    _root.loadMovie("./FHkkjnKNR4R_TransparentBG.swf");

    // action
    _root.addEventListener("enterFrame", function(){
        if (this.getCurrentFrame() === 349) {
            this.gotoAndPlay(215);
        }
    });

</script>
</body>
</html>

:+1: :+1: :+1:
works perfect

@vikbez
It has been simplified.
swf2js.load("./FHkkjnKNR4R_TransparentBG.swf", { bgcolor: "transparent" });

var 0.7.3

wow ! great !
thanks 😄


Not able to execute it !!

app1_name> get init

GetX Pattern (by Kauê)
CLEAN (by Arktekko)
Which architecture do you want to use? [1] Unhandled exception:

Synchronous waiting using dart:cli waitFor and C API Dart_WaitForEvent is deprecated and disabled by default. This feature will be fully removed in Dart 3.4 release. You can currently still enable it by passing --enable_deprecated_wait_for to the Dart VM.
See https://dartbug.com/52121.
dart:cli-patch/cli_patch.dart 9:47                                                      _waitForEvent
dart:cli/wait_for.dart 64:12                                                            _WaitForUtils.waitForEvent
dart:cli/wait_for.dart 152:19                                                           waitFor
package:dcli/src/util/wait_for_ex.dart 38:17                                            waitForEx
package:dcli/src/functions/echo.dart 34:5                                               _Echo.echo
package:dcli/src/functions/echo.dart 24:13                                              echo
package:dcli/src/functions/ask.dart 157:7                                               Ask._ask
package:dcli/src/functions/ask.dart 113:11                                              ask
package:dcli/src/functions/menu.dart 135:22                                             menu
package:get_cli/common/menu/menu.dart 20:20                                             Menu.choose
package:get_cli/commands/impl/init/flutter/init.dart 21:25                              InitCommand.execute
C:\Users\praso\AppData\Local\Pub\Cache\hosted\pub.dev\get_cli-1.8.4\bin\get.dart 18:23  main
dart:isolate-patch/isolate_patch.dart 295:33                                            _delayEntrypointInvocation.
dart:isolate-patch/isolate_patch.dart 184:12                                            _RawReceivePort._handleMessage
package:dcli/src/util/wait_for_ex.dart 35:28                                            waitForEx
package:dcli/src/functions/echo.dart 34:5                                               _Echo.echo
package:dcli/src/functions/echo.dart 24:13                                              echo
package:dcli/src/functions/ask.dart 157:7                                               Ask._ask
package:dcli/src/functions/ask.dart 113:11                                              ask
package:dcli/src/functions/menu.dart 135:22                                             menu
package:get_cli/common/menu/menu.dart 20:20                                             Menu.choose
package:get_cli/commands/impl/init/flutter/init.dart 21:25                              InitCommand.execute

try this
dart pub global activate -s git https://github.com/knottx/get_cli.git --git-ref knottx

try this
dart pub global activate -s git https://github.com/knottx/get_cli.git --git-ref knottx

Thanks a lot bro !!


events: Do nothing in apply_event for restart events.

These signal that the Tornado process restarted, which in itself is not notable for apply_events.

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv!


[Cloud Synchronization] Configuration for MQTT base cloud Sync

Added configuration that can be un-commented for easy cloud based Data Synchronization
Signed-off-by: Sunchit Sharma<EMAIL_ADDRESS>Description
A mechanism based on MQTT is required for pushing data stored in core-data DB of Edge Orchestration to the cloud. This would require a cloud endpoint and a configuration for pushing this data to the required cloud on a defined Topic.
Fixes #341
Type of change

[X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
The configuration was set up as follows in the docker-compose.yml file
app-service-mqtt:
    image: edgexfoundry/docker-app-service-configurable:1.1.0
    ports:
      - "<IP_ADDRESS>:48101:48101"
    container_name: edgex-app-service-configurable-mqtt
    hostname: edgex-app-service-configurable-mqtt
    networks:
      edgex-network:
        aliases:
          - edgex-app-service-configurable-mqtt
    environment:
      EDGEX_SECURITY_SECRET_STORE: "false"
      Registry_Host: edgex-core-consul
      Clients_CoreData_Host: edgex-core-data
      Clients_Data_Host: edgex-core-data # For device Services
      Clients_Notifications_Host: edgex-support-notifications
      Clients_Metadata_Host: edgex-core-metadata
      Clients_Command_Host: edgex-core-command
      Clients_Scheduler_Host: edgex-support-scheduler
      Clients_RulesEngine_Host: edgex-kuiper
      Databases_Primary_Host: edgex-redis
      edgex_profile: mqtt-export
      Service_Host: edgex-app-service-configurable-mqtt
      Service_Port: 48101
      MessageBus_SubscribeHost_Host: edgex-core-data
      Binding_PublishTopic: events
      # Added for MQTT export using app service
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_ADDRESS: broker.mqttdashboard.com
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_PORT: 1883
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_PROTOCOL: tcp
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_TOPIC: "DataStorage"
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_PARAMETERS_AUTORECONNECT: "true"
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_PARAMETERS_RETAIN: "true"
      WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_PARAMETERS_PERSISTONERROR: "false"
      # WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_PUBLISHER:
      # WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_USER:
      # WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_ADDRESSABLE_PASSWORD:
      # WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_PARAMETERS_QOS: ["your quality or service"]
      # WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_PARAMETERS_KEY: [your Key]
      # WRITABLE_PIPELINE_FUNCTIONS_MQTTSEND_PARAMETERS_CERT: [your Certificate]
    depends_on:
      - consul
      # - logging  # uncomment if re-enabled remote logging
      - data

The output was seen on the cloud based MQTT client

Please note that as this was a public free broker QOS was not perfect.
Test Configuration:

Firmware version: Ubuntu 20.04
Hardware: x86-64
Edge Orchestration Release: 1.0.0

Checklist:

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

Could you explain how to set up the cloud environment?
I would appreciated it if you provide the guide document in the docs folder.

Could you explain how to set up the cloud environment?
I would appreciated it if you provide the guide document in the docs folder.

Thanks for the Review. I have added a doc as required.


Support docker containers

Issue
The runner should be updated to prefer steps running inside docker containers.
Running steps inside docker containers is already possible (and works well) with the runner, it just isn't clarified and needs a little work.
This ensures a clean execution environment for each job.
This also means removing the installation of unnecessary software packs, and rather have the user specify what to install, apart from docker (BREAKING CHANGE).
Generally there should be a compelling reason to install software directly on the runner, vs in a docker container image.
It would be good to have an example of running steps in docker containers.
Housekeeping
Docker can fill the instance storage, and this can be cleaned by periodically running:
docker system prune -af

No longer relevant


games making other running programs like 'disabled'.

I tried running Frogger and blackjack, and it's fine. However, what annoys me, it's like taking control other applications (in this case on linux, my terminal), prevent me from typing anything into it whenever the game on the run. Seems like, it's resetting the applications UI every seconds.

Oh, so these games are auto-focused? Well, I'll close this issue.


Update CONTRIBUTING.md Getting Started guidelines

Issue Description
The current Getting Started guidelines are great!  The only thing I had to search for was the version of Node being used for the application.  From what I saw in Gitter, any version of Node v5 should work.  Might be helpful to put this into the guidelines as well as a link to a version manager (nvm, n, etc) for any newbies jumping in.

I agree with this. I recently went through the contribution guide pretty easily except for the fact that it turned out i was using an older version of node. Wasn't a big deal but a good idea nonetheless :)

@KerryKDiehl @pawan92 Thanks for reporting this.
IMHO, we could add the versions for node (^4) and npm (^2) however, adding anything about the version manager is going to be gnarly with multiple OS types.
For instance I have done installations on OSX, Windows 10, Windows 7, Ubuntu 14 and C9.io and trust me it takes a different workaround for each type for the version manager.
So, I recommend that adding something on the lines of below in the Prerequisites should be okay:

MongoDB ~ ^3
Node.js ^4
npm ~ ^2

Updating to the latest releases is recomended.

FYI, personally for me:
nvm is awesome on *UNIX  and nodist is awesome on Windows
There are others but these two work best, but IMHO we needn't endorse any in the contribution guidelines. Its really up to the users to choose.


Change event called twice when using spacebar to toggle play/pause checkbox control state

When using a checkbox control for the play/pause toggle, the change event is fired twice when using the keyboard (spacebar) to check or uncheck the play/pause checkbox control.  This issue applies to the JME 2 + jQuery Mobile branch.  I'm currently investigating this issue.
Alexander, if you have any insights, let me know.
Cheers,
Matt

Just a little update on this issue.  Looks like jQuery Mobile sets the checked attribute when the keyboard is used, thus triggering another change event.  The following is the relavent code snippet from jquery.mobile.forms.checkboxradio.js:
				vclick: function() {
					var $this = $(this);

					// Adds checked attribute to checked input when keyboard is used
					if ( $this.is( ":checked" ) ) {

						$this.attr( "checked", "checked" );
						self._getInputSet().not($this).removeAttr( "checked" );
					} else {

						$this.removeAttr( "checked" );
					}

					self._updateAll();
				},

Cheers,
Matt


Add read_scp_raw to kaldi_io

Hi @vesis84,
Thanks for the awesome wrapper first of all. It covers almost all the ways one could possibly use to read kaldi vectors. Maybe I missed something but I did not find a method that gives vectors directly based on raw scp text like -- "AMI_ES2011a_H00_FEE041_0003427_0003714 tests/data/feats_ascii.ark:39"
It's a really trivial addition but I thought it would help to have it. So I created this PR. Let me know if some method is doing exactly what I have implemented in read_scp_raw.

Hi,
sorry for late reaction.
The functionality you were looking for was already there (but a bit hidden, this is true ;) ).
The 'open_or_fd' already supports reading from ark with offset, so you can call
'kaldi_io.open_or_fd("<ark_file>:")'.
So if you want to read single line from 'scp' yourself, you get rid of the key
get the feature matrix by calling:
kaldi_io.read_mat("<ark_file>:")
And for reading the features from 'scp' file there is the function: read_mat_scp,
which returns a 'generator' that reads the key/value-items that are read according to the 'scp' file...
All the best,
Karel


Remove app-specific components from library

Either change the structure of this repository to be a mono-repo, or separate the demo app in a separate project.

Remove app-specific public exports
Move any dependency not used anymore by public exports in devDependencies
Export public library components directly in 'react-science' instead of 'react-science/ui'

Export public library components directly in 'react-science' instead of 'react-science/ui'

I removed this change from https://github.com/zakodium-oss/react-science/pull/789 to avoid unnecessary breaking change.


community: Add stop sequence support for ExllamaV2-loaded models

Description
This PR introduces stop sequence support for ExllamaV2-loaded LLMs through the following changes:

Replace Generator:

Replaced ExLlamaV2BaseGenerator with ExLlamaV2DynamicGenerator.
This change allows access to the generate(...) method, enabling the specification of stop_conditions that function equivalently to stop_sequences.

Streaming Enhancements:

Makes use of generator.set_stop_conditions(...).

Issue
N/A
Dependencies
No additional dependencies required for this change.

@ant-8 do you want to continue iterating on this?

@ccurme Couldn't find the time to come up with a better implementation. Closing


Added CircleCI test

Added smoke test for continuous integration.
Verifies Prometheus can scrape node_exporter via pushprox.

@brian-brazil


standalone-loader, routes: fix keycloak redirect by setting featureFlags even if loading user/settings fails

Fixes AAH-990
When using keycloak (COMPOSE_PROFILE=standalone-keycloak) (introduced in #809),
clicking the logout button, or navigating to a screen when not logged in should redirect to the keycloak login screen.
That relies on logic in AuthHandler#render (src/loaders/standalone/routes.tsx)
    if (!user && !noAuth) {
      if (isExternalAuth && UI_EXTERNAL_LOGIN_URI) {
        return (redirect to keycloak);
      }
      return (redirect to our login);

which broke after #900: https://github.com/ansible/ansible-hub-ui/pull/900/files#diff-76c5d9078cc60d85b811f04071a06094c28652a2577143e6aed4da35dba1cd50L88-R105
the change caused featureFlags not to get set if the user or settings API request fails, which happens when the user is not logged in (and view-only is disabled),
which caused us to redirect to the wrong login screen.
Updated standalone-router updateInitialData to make it easier to set these independently,
and made sure featureFlags gets set even when other requests fail.

When using view-only + keycloak, the redirect still won't happen (user is not null), maybe we should consider adding a "go to login" (the right one) button to the EmptyStateUnauthorized screen.
Cc @awcrosby @ZitaNemeckova

LGTM code-wise :+1:
@awcrosby Can you please verify it's working in UI.

Due to popular demand, added the Login button to EmptyStateUnauthorized,
unified all the Login buttons to use LoginLink,
and made sure LoginLink respects SSO.
This means SSO in view-only mode can still reach the SSO just by clicking the Login link/button


Revert "Merge upstream changes that have occurred since the fork (#59)"

This reverts commit 0402edd5af78e429b440a203368f15d6e5a4a22c.
The final result in the main branch did not retain the merge commit, so trying to merge the upstream/main again now produces significant conflicts even though they should not be present.

cc @Ekleog-NEAR this is an interesting case where merge queue setup fails spectacularly.
So originally I PRd a merge commit, pulling in bytecodealliance/wasmtime:main changes since the last fork. Then the merge queue "squashed" and "normalized" everything which caused this merge commit to instead become this humongous +100k,-100k commit. And now when I try merging again, it fails with a crapton of conflicts, because the only common base commit git sees with the bytecodealliance/wasmtime:main is the original base, and this +100k,-100k commit introduces a crapload of conflicts :D

@nagisa TBH I never understood why we squash-and-merge. This is already temporarily disabled on nearcore (because of the TOCTOU issue with reviews, see the bp issue thread on zulip), and it uses a merge commit there. I guess switching to merge commit everywhere might make sense for the reason you mention :)

TBH I never understood why we squash-and-merge.

Linear history in the main branch is pretty darn nice.

Linear history in the main branch is pretty darn nice.

I mean there’s git log --first-parent, git bisect --first-parent, and AFAICT basically all git commands have a way to ignore the branches and treat the merges as though they were squash-merges


Offer source selection directives don't share informatino about the currently selected region.

Selecting a region from the popup doesn't get selected in the dropdown. Same goes for the automatically selected region for the returning user. Could be fixed by holding the selected region state on the OfferListCtrl

fixed in 242eaf0


Pillar support?

Looking through the example I see it's doing general state stuff. Does it support accessing pillar information as well?

@dizzythinks We haven't needed SaltStack pillar support, but this could be added pretty easily.
The reason we haven't needed pillar support is that we're using this to build Docker images that would be instantiated later, rather than being managed by Salt when they are running. But I can see that it might be handy to put some configuration options in pillars.
What do you want to do with the pillars? What would you need it for?

I was thinking specifically of using masterless pillar at build time for things like nginx config files where I might want to use different values for things like paths to SSL certs, server name variables etc based on different environments potentially, or just generally the ability to use Jinja.
I have a fairly rich repository for saltstack already that uses a number of template driven methods to configure and am looking to do a migration piece to docker and would like to minimise potential rewrite of things.

Sorry when I say build time I mean building a container that has relevant configuration included that is built from Jinja templating in some cases.

Being able to use the nginx formula is a good example of where pillar support would be handy.

@dizzythinks So you would like to have pillar files copied to the right place on the minion then? Would you be willing to share a repo or point me at an example that uses pillars that I could use to try out some code?

Yeah, basically I was thinking that in the example where there is is the salt folder there could also be a pillar folder. I can create a little sample for you tomorrow to have a look at as I'm in the UK. Will drop a link in here in the morning if that's ok. Really appreciate you taking the time to look!

@dizzythinks It would be great if you could send an example! What would be great is some sls/pillar files that you know work, and with a sentence or two about what you would like to have happen with FlyingCloud. If you can do that I can think about how to implement it and maybe take a shot at adding this-

Hi, I have thrown some really simple example of what I was thinking up here: https://github.com/dizzythinks/flyingcloud-example

@dizzythinks Thanks for the example - that should be sufficient. I will take a shot at it and let you know when I have something that works so you can try it out.

Sounds like a great idea. I'm going to leave this in @adamfeuer's hands for now.

@dizzythinks I added your example to this branch: https://github.com/cookbrite/flyingcloud/tree/feature/pillar-support/examples/nginx-pillar
I'm going to give it a try now... might take a bit before I get something working.

@dizzythinks Seems each pillar should be a directory, with its own top.sls file that can include other pillar .sls files, so that on the docker container they will be located at /srv/salt/pillar/top.sls, like the example here: pillar walkthrough. This is a little different from what you are thinking- you had each pillar be a self-contained file, but that doesn't quite match the docs.

No that's cool, my example was more for easy demarcation in the repo, but with the idea that pillars/dev could be mounted into the container as /srv/salt/pillar/ so all good thanks.

@dizzythinks Ok got basic pillar support working on this branch. You can pull it and try to build the example. Here's the workflow:
cd examples/nginx-pillar
# build the base layer
flyingcloud --debug --build sysbase
# build the nginx pillar example using the pillar configured in its layer.yaml file
flyingcloud --debug --build nginx
# build the nginx pillar example, specifying the qa pillar to override what is in the layer.yaml
flyingcloud --debug --pillar qa --build nginx

The example underwent some changes to get it working, will you look at it to  if it will work for you?

Thanks @adamfeuer I will get on to this today and try it out.

@adamfeuer this looks perfect and works in exactly the way I imagined pretty much. The changes in the pillar structure are fine as I made the mistake of forgetting it was a masterless example so missed out the top.sls
One thing that might be nice - although it could be fixed with a script after use - would be if pillar is used that the container image name is suffixed with the pillar used?  e.g. quay.io/cookbrite/nginx_pillar_nginx_dev or maybe that could be in the tag?
Like I say, I can do that myself around this if it breaks the pattern behaviour of flyingcloud. Either way this is brilliant and as I say, exactly how I imagined it working.

@dizzythinks Cool, I'm glad this works for you. It will be pretty easy to add the pillar name to the image. I'll take a shot at that soon.
Then need to write some tests so I can do a Pull Request.

@dizzythinks I added the pillar name to the docker tag - only happens if there is a pillar specified. Will you check this out and see if it's what you imagined?
I'll work on some tests this weekend and see if can get this reviewed and merged.

@adamfeuer I've pulled the change - checked the git log to be sure - but it doesn't seem to work for me. It seems to always tag as "dev" even when explicitly setting --pilar qa
    2017-02-22 09:19:06,648 - flyingcloud.base - INFO - Using pillar 'qa' and setting pillar_dir to '/home/philhuk/flyingcloud-pillar/flyingcloud/examples/nginx-pillar/pillar/qa'.
    2017-02-22 09:19:06,648 - flyingcloud.base - INFO - Using pillar 'qa' and setting pillar_dir to '/home/philhuk/flyingcloud-pillar/flyingcloud/examples/nginx-pillar/pillar/qa'.
    2017-02-22 09:19:06,648 - flyingcloud.base - INFO - Build starting...
    2017-02-22 09:19:06,649 - flyingcloud.base - INFO - Disk Usage '/': usage(total=197931847680, used=87426260992, free=100427567104)
    2017-02-22 09:19:06,649 - flyingcloud.base - INFO - Disk Usage '/home/philhuk/.docker': usage(total=197931847680, used=87426260992, free=100427567104)
    2017-02-22 09:19:06,649 - flyingcloud.base - INFO - Disk Usage '/var/lib/docker': usage(total=197931847680, used=87426260992, free=100427567104)
    2017-02-22 09:19:06,649 - flyingcloud.base - INFO - Disk Usage '/tmp': usage(total=197931847680, used=87426260992, free=100427567104)
    2017-02-22 09:19:06,673 - flyingcloud.base - INFO - Docker Info: {u'ContainersPaused': 0, u'Labels': None, u'DefaultRuntime': u'runc', u'CgroupDriver': u'cgroupfs', u'ContainersRunning': 0, u'NGoroutines': 23, u'Swarm': {u'Managers': 0, u'ControlAvailable': False, u'NodeID': u'', u'Cluster': {u'Spec': {u'Raft': {}, u'CAConfig': {}, u'Dispatcher': {}, u'Orchestration': {}, u'TaskDefaults': {}}, u'Version': {}, u'ID': u'', u'CreatedAt': u'0001-01-01T00:00:00Z', u'UpdatedAt': u'0001-01-01T00:00:00Z'}, u'Nodes': 0, u'Error': u'', u'RemoteManagers': None, u'LocalNodeState': u'inactive', u'NodeAddr': u''}, u'LoggingDriver': u'json-file', u'OSType': u'linux', u'HttpProxy': u'', u'Runtimes': {u'runc': {u'path': u'runc'}}, u'DriverStatus': [[u'Root Dir', u'/var/lib/docker/aufs'], [u'Backing Filesystem', u'extfs'], [u'Dirs', u'167'], [u'Dirperm1 Supported', u'true']], u'OperatingSystem': u'Ubuntu 16.04.2 LTS', u'Containers': 22, u'HttpsProxy': u'', u'BridgeNfIp6tables': True, u'MemTotal':<PHONE_NUMBER>, u'Driver': u'aufs', u'IndexServerAddress': u'https://index.docker.io/v1/', u'ClusterStore': u'', u'ExecutionDriver': u'', u'SystemStatus': None, u'OomKillDisable': True, u'ClusterAdvertise': u'', u'SystemTime': u'2017-02-22T09:19:06.672222064Z', u'Name': u'noodle-xps', u'CPUSet': True, u'RegistryConfig': {u'InsecureRegistryCIDRs': [u'<IP_ADDRESS>/8'], u'IndexConfigs': {u'docker.io': {u'Official': True, u'Name': u'docker.io', u'Secure': True, u'Mirrors': None}}, u'Mirrors': None}, u'SecurityOptions': [u'apparmor', u'seccomp'], u'ContainersStopped': 22, u'NCPU': 4, u'NFd': 14, u'Architecture': u'x86_64', u'KernelMemory': True, u'CpuCfsQuota': True, u'Debug': False, u'ID': u'GQHH:INE4:BL2V:6MCI:XYX6:2JO4:KI2C:2F26:DGOK:5PDR:HIGM:YP43', u'IPv4Forwarding': True, u'KernelVersion': u'4.4.0-63-generic', u'BridgeNfIptables': True, u'NoProxy': u'', u'LiveRestoreEnabled': False, u'ServerVersion': u'1.12.3', u'CpuCfsPeriod': True, u'ExperimentalBuild': False, u'MemoryLimit': True, u'SwapLimit': False, u'Plugins': {u'Volume': [u'local'], u'Network': [u'overlay', u'bridge', u'host', u'null'], u'Authorization': None}, u'Images': 95, u'DockerRootDir': u'/var/lib/docker', u'NEventsListener': 0, u'CPUShares': True}
    2017-02-22 09:19:06,673 - flyingcloud.base - INFO - Starting salt_highstate: source_image_name=quay.io/cookbrite/nginx_pillar_sysbase:latest, container_name=nginx_pillar_nginx, salt_dir=/home/philhuk/flyingcloud-pillar/flyingcloud/examples/nginx-pillar/salt/nginx
    2017-02-22 09:19:06,673 - flyingcloud.base - INFO - Creating container 'nginx_pillar_nginx' from image quay.io/cookbrite/nginx_pillar_sysbase:latest
    2017-02-22 09:19:06,674 - flyingcloud.base - INFO - create_container: {u'environment': {}, u'name': u'nginx_pillar_nginx', 'volumes': [u'/srv/pillar', u'/srv/salt'], u'image': u'quay.io/cookbrite/nginx_pillar_sysbase:latest', u'detach': True, 'host_config': {'Binds': [u'/home/philhuk/flyingcloud-pillar/flyingcloud/examples/nginx-pillar/pillar/qa:/srv/pillar:rw', u'/home/philhuk/flyingcloud-pillar/flyingcloud/examples/nginx-pillar/salt/nginx:/srv/salt:rw'], 'PortBindings': {}}, u'ports': []}
    2017-02-22 09:19:06,785 - flyingcloud.base - INFO - Created container 2e177aad22fb, result={u'Id': u'2e177aad22fb782406074e77bd80e90a22c26aa69c4e9772d51bb13f21eb2757', u'Warnings': None}
    2017-02-22 09:19:06,990 - flyingcloud.base - INFO - About to start Salting
    2017-02-22 09:19:06,991 - flyingcloud.base - INFO - Running [u'salt-call', u'--local', u'state.highstate'] in container 2e177aad22fb
    2017-02-22 09:19:22,689 - flyingcloud.base - INFO - Finished Salting: duration=0:16 minutes
    2017-02-22 09:19:23,390 - flyingcloud.base - INFO - Committed quay.io/cookbrite/nginx_pillar_nginx_dev:2017-02-22t091906z: result={u'Id': u'sha256:3e001bfa9aa2c32cca1c2b196e2ee90ee5c471f7df57a3d589749c8ab40ea237'}
    2017-02-22 09:19:23,390 - flyingcloud.base - INFO - docker_cleanup 2e177aad22fb782406074e77bd80e90a22c26aa69c4e9772d51bb13f21eb2757
    2017-02-22 09:19:23,982 - flyingcloud.base - INFO - Not squashing layer quay.io/cookbrite/nginx_pillar_nginx_dev:2017-02-22t091906z
    2017-02-22 09:19:23,982 - flyingcloud.base - INFO - Tagging image quay.io/cookbrite/nginx_pillar_nginx_dev:2017-02-22t091906z as repo=quay.io/cookbrite/nginx_pillar_nginx_dev, tag=latest
    2017-02-22 09:19:23,998 - flyingcloud.base - INFO - Not pushing Docker layers.
    2017-02-22 09:19:23,998 - flyingcloud.base - INFO - Build finished

@dizzythinks Thanks for finding that! I think I know what's wrong, will try to fix it tonight.

@dizzythinks ok, I think I fixed it, will you try this one with both qa and dev pillars? I did it and it seems to set the tag names correctly now.

Here's a run setting the qa pillar:
$ flyingcloud --pillar qa --build nginx
2017-02-22 21:53:04,362 - flyingcloud.base - INFO - Using pillar 'qa' and setting pillar_dir to '/Users/adam/src/flyingcloud/examples/nginx-pillar/pillar/qa'.
2017-02-22 21:53:04,362 - flyingcloud.base - INFO - Using pillar 'qa' and setting pillar_dir to '/Users/adam/src/flyingcloud/examples/nginx-pillar/pillar/qa'.
2017-02-22 21:53:04,362 - flyingcloud.base - INFO - Build starting...
2017-02-22 21:53:04,365 - flyingcloud.base - INFO - Disk Usage '/': usage(total=249769230336, used=209441697792, free=40065388544)
2017-02-22 21:53:04,365 - flyingcloud.base - INFO - Disk Usage '/Users/adam/.docker': usage(total=249769230336, used=209441697792, free=40065388544)
2017-02-22 21:53:04,366 - flyingcloud.base - INFO - Disk Usage '/var/folders/2h/fjtk0g3d5n334qwxj1tcq9f40000gn/T': usage(total=249769230336, used=209441697792, free=40065388544)
2017-02-22 21:53:04,404 - flyingcloud.base - INFO - Docker Info: {u'ContainersPaused': 0, u'Labels': None, u'CgroupDriver': u'cgroupfs', u'ContainersRunning': 0, u'ContainerdCommit': {u'Expected': u'aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1', u'ID': u'aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1'}, u'InitBinary': u'docker-init', u'NGoroutines': 28, u'Swarm': {u'Managers': 0, u'ControlAvailable': False, u'NodeID': u'', u'Cluster': {u'Spec': {u'TaskDefaults': {}, u'Orchestration': {}, u'EncryptionConfig': {u'AutoLockManagers': False}, u'Raft': {u'HeartbeatTick': 0, u'ElectionTick': 0}, u'CAConfig': {}, u'Dispatcher': {}}, u'Version': {}, u'ID': u'', u'CreatedAt': u'0001-01-01T00:00:00Z', u'UpdatedAt': u'0001-01-01T00:00:00Z'}, u'Nodes': 0, u'Error': u'', u'RemoteManagers': None, u'LocalNodeState': u'inactive', u'NodeAddr': u''}, u'LoggingDriver': u'json-file', u'OSType': u'linux', u'HttpProxy': u'', u'Runtimes': {u'runc': {u'path': u'docker-runc'}}, u'DriverStatus': [[u'Backing Filesystem', u'extfs'], [u'Supports d_type', u'true'], [u'Native Overlay Diff', u'true']], u'OperatingSystem': u'Alpine Linux v3.5', u'Containers': 12, u'HttpsProxy': u'', u'BridgeNfIp6tables': True, u'MemTotal':<PHONE_NUMBER>, u'SecurityOptions': [u'seccomp'], u'Driver': u'overlay2', u'IndexServerAddress': u'https://index.docker.io/v1/', u'ClusterStore': u'', u'InitCommit': {u'Expected': u'949e6fa', u'ID': u'949e6fa'}, u'Isolation': u'', u'SystemStatus': None, u'OomKillDisable': True, u'ClusterAdvertise': u'', u'SystemTime': u'2017-02-23T05:53:04.391087126Z', u'Name': u'moby', u'CPUSet': True, u'RegistryConfig': {u'InsecureRegistryCIDRs': [u'<IP_ADDRESS>/8'], u'IndexConfigs': {u'docker.io': {u'Official': True, u'Name': u'docker.io', u'Secure': True, u'Mirrors': None}}, u'Mirrors': []}, u'DefaultRuntime': u'runc', u'ContainersStopped': 12, u'NCPU': 4, u'NFd': 17, u'Architecture': u'x86_64', u'KernelMemory': True, u'CpuCfsQuota': True, u'Debug': True, u'ExecutionDriver': u'<not supported>', u'ID': u'SYZN:VZUT:ITIJ:Z2PR:6ASR:MBXZ:QMVT:KDCK:RUQ4:UAQK:5ELD:WPIL', u'IPv4Forwarding': True, u'KernelVersion': u'4.9.8-moby', u'BridgeNfIptables': True, u'NoProxy': u'*.local, 169.254/16', u'LiveRestoreEnabled': False, u'ServerVersion': u'1.13.1', u'CpuCfsPeriod': True, u'ExperimentalBuild': True, u'MemoryLimit': True, u'SwapLimit': True, u'Plugins': {u'Volume': [u'local'], u'Network': [u'bridge', u'host', u'ipvlan', u'macvlan', u'null', u'overlay'], u'Authorization': None}, u'Images': 12, u'DockerRootDir': u'/var/lib/docker', u'NEventsListener': 1, u'CPUShares': True, u'RuncCommit': {u'Expected': u'9df8b306d01f59d3a8029be411de015b7304dd8f', u'ID': u'9df8b306d01f59d3a8029be411de015b7304dd8f'}}
2017-02-22 21:53:04,405 - flyingcloud.base - INFO - Building docker layer 'nginx' with tag 'quay.io/cookbrite/nginx_pillar_nginx_qa'.
2017-02-22 21:53:04,405 - flyingcloud.base - INFO - Starting salt_highstate: source_image_name=quay.io/cookbrite/nginx_pillar_sysbase:latest, container_name=nginx_pillar_nginx, salt_dir=/Users/adam/src/flyingcloud/examples/nginx-pillar/salt/nginx
2017-02-22 21:53:04,405 - flyingcloud.base - INFO - Creating container 'nginx_pillar_nginx' from image quay.io/cookbrite/nginx_pillar_sysbase:latest
2017-02-22 21:53:04,406 - flyingcloud.base - INFO - create_container: {u'environment': {}, u'name': u'nginx_pillar_nginx', 'volumes': [u'/srv/pillar', u'/srv/salt'], u'image': u'quay.io/cookbrite/nginx_pillar_sysbase:latest', u'detach': True, 'host_config': {'Binds': [u'/Users/adam/src/flyingcloud/examples/nginx-pillar/pillar/qa:/srv/pillar:rw', u'/Users/adam/src/flyingcloud/examples/nginx-pillar/salt/nginx:/srv/salt:rw'], 'PortBindings': {}}, u'ports': []}
2017-02-22 21:53:04,651 - flyingcloud.base - INFO - Created container 3a080806daea, result={u'Id': u'3a080806daea292122a4b4715bd3500623ad5dbc6e289c4158d29e2fc13a977d', u'Warnings': None}
2017-02-22 21:53:05,234 - flyingcloud.base - INFO - About to start Salting
2017-02-22 21:53:05,234 - flyingcloud.base - INFO - Running [u'salt-call', u'--local', u'state.highstate'] in container 3a080806daea
2017-02-22 21:54:22,602 - flyingcloud.base - INFO - Finished Salting: duration=1:17 minutes
2017-02-22 21:54:23,510 - flyingcloud.base - INFO - Committed quay.io/cookbrite/nginx_pillar_nginx_qa:2017-02-23t055304z: result={u'Id': u'sha256:8d3721a44f924b174a3beed6126062358c92bf4b128e7f1802332febd2c239dc'}
2017-02-22 21:54:23,511 - flyingcloud.base - INFO - docker_cleanup 3a080806daea292122a4b4715bd3500623ad5dbc6e289c4158d29e2fc13a977d
2017-02-22 21:54:24,367 - flyingcloud.base - INFO - Not squashing layer quay.io/cookbrite/nginx_pillar_nginx_qa:2017-02-23t055304z
2017-02-22 21:54:24,367 - flyingcloud.base - INFO - Tagging image quay.io/cookbrite/nginx_pillar_nginx_qa:2017-02-23t055304z as repo=quay.io/cookbrite/nginx_pillar_nginx_qa, tag=latest
2017-02-22 21:54:24,407 - flyingcloud.base - INFO - Not pushing Docker layers.
2017-02-22 21:54:24,407 - flyingcloud.base - INFO - Build finished

Hey @dizzythinks, have you tried this branch out with the fixes? Just want to see if it's working before I start to work on merging it.

Hi. Sorry, I've been away. I did test it and it was all good, I just seem to have forgotten to post and tell you. Sorry.

@dizzythinks No problem. I will work to get this code-reviewed and merged.
@georgevreilly Looks like we have pillar support worked out, I will add some tests and submit a PR for improvements and feedback.

👍

Did this get merged yet?

@dizzythinks No, I'm sorry - I had to work on other things for a while. I will make a Pull Request this weekend. Or you can do that too. :-)

Any updates on this?


fix the bug in header animations -

file name as ani.demo.js
fix some more things as well

Yes please assign me this issue:)

That was helpful thanks @4hund3rbird


Cleanup stationaryBlocks setting

Description

Checklist

[ ] This PR has only one purpose or idea.
[ ] Tests have been added/updated to verify that the new/changed code works.

[ ] The code style follows good practices.
[ ] The commit message(s) follow good practices.

[ ] The release notes are up-to-date with any bug fixes or new features.
[ ] The documentation is still up-to-date in the doc folder.
[ ] The dependencies are still up-to-date in setup.py.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Files with Coverage Reduction
New Missed Lines
%

armi/bookkeeping/db/database3.py
1
87.81%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
24836

Relevant Lines:
29257

💛  - Coveralls


Question: why doesn't ruff complain about CapsWords (PascalCase)?

PEP 8 describes that:

Class names should normally use the CapWords convention.

and that for Method Names and Instance Variables

Use the function naming rules: lowercase with words separated by underscores as necessary to improve readability.

Short example.py:
class MyClass:
    WhatIf: str
    WhySo: str

ruff check example.py --select ALL --ignore D
All checks passed!

ruff --version
ruff 0.8.3

Read-as-written, I believe attributes defined at the class-level are not instance variables, but rather class variables (unless you're using a dataclass)
class MyClass:
    class_var = "bar"
    def __init__(self):
        self.instance_var = "foo"

That being said, I have no idea if PEP-8 intended to cover class variables here, or type-annotations-only declaractions.

There is N815 which says:
Bad:
class MyClass:
    myVariable = "hello"
    another_variable = "world"

Good:
class MyClass:
    my_variable = "hello"
    another_variable = "world"

At first glance, it's surprising that it doesn't exclude PascalCase, but maybe there is a reason?

Read-as-written, I believe attributes defined at the class-level are not instance variables, but rather class variables (unless you're using a dataclass)
class MyClass:
class_var = "bar"
def init(self):
self.instance_var = "foo"
That being said, I have no idea if PEP-8 intended to cover class variables here, or type-annotations-only declaractions.

Technically, I can't disagree, that it is class attribute (and I am not sure about explicit PEP-8 opinion on that).
But N815  would complain on mixedCase in the absolutely same case, as mentioned above. Such behavior looks inconsistent and surprising to me.
For popular case like pydantic class attributes are more like instance variables.

These are just my own notes from looking into this issue:
The difference here doesn't come from whether the variable is attributed. It correctly flags myVariable but it doesn't flag MyVariable. See playground
This sounds very familiar to https://github.com/astral-sh/ruff/issues/14905

I did search the pep8-naming repository for an explanation but couldn't find any.
My best guess is that CapNames are allowed because flagging them would be in conflict with the PEP8 recommendation for type variables.

@MichaReiser Another code pattern that could explain this are nested classes, where the nested class is swapped out using an assignment to a different class by a subclass. I've seen this pattern used in a few places over the years.
E.g. webob.request.Request.ResponseClass or wtforms.Form.Config come to mind, although in the latter case you're generally expected to always define a new nested class, rather than assign one. Although you can think of those as type variables too, since they're referring to a type.
I think we could come up with some heuristics for the given example with AnnAssign though. If the annotation doesn't refer to a  type-like, then using PascalCase is wrong. If it's a regular Assignment, then we don't know, without performing type inference.

I also sometimes use this pattern:
from enum import Enum, auto
from typing import TypeAlias

class LoggerOption(Enum):
    INFO = auto()
    WARN = auto()

class Logger:
    Option: TypeAlias = LoggerOption

    def __init__(self, option: Option):  # using the alias
        self.option = option

In another file:
from logger import Logger  # only Logger needs to be imported

logger = Logger(Logger.Option.INFO)


Is there a w2grid property to change the data after the data loaded from the remote service?

Hi, I need some help about the w2grid:  I want to process the data and change the data's value after the data loaded from the remote service. I want to know is there a gird property that can do this?
example : (like this:)
conf: {
name: 'grid',
...
...
...
// like this to change the data value
rowRender: function (rowData)
{
if(rowData.money < 0)
{
rowData.money = 0;
}
if(rowdata.pay_time == '1970-01-01 08:00:00')
{
rowdata.pay_time = '';
}
if(rowdata.enable == 1)
{
rowdata.enable = 'yes';
}
}
...
...
...
}
thanks.

Please submit bugs here, not question. See http://w2ui.com/web/docs/w2grid.records

ok, thanks
could you tell me where is the website or place for submiting question ?

Either stackoverflow or commens on w2ui.com website

ok, thank you


Sample data on the design surface on the UWP does not take effect

This issue was created by @HaoLife from https://github.com/MicrosoftDocs/feedback/issues/924
Describe the bug
I used sample data on the design surface during the development of the UWP app, but found no effect, and it was effective for me to use the method in WPF with the same example, which should be a bug for the UWP app
To Reproduce
Steps to reproduce the behavior:
1.Add to xmlns:ds="using:Designs.Homes"
2.Add to d:DataContext="{d:DesignInstance Type=ds:MainDesign, IsDesignTimeCreatable=True}"
3. Add class MainDesign and add Mock data.
4. Has no effect
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
This place needs to show MainDesign Mock data.
Desktop (please complete the following information):
OS: windows10
Version 16299
Additional context
This question I do not know where to feedback, if the problem is not handled by you, whether you can tell where to feedback the problem

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

ID: 51100eeb-4a55-5997-eee8-2ed0047be78f
Version Independent ID: d9d5ad3b-4932-c02f-bac0-4dd5a9dd48fb
Content: Sample data on the design surface, and for prototyping - UWP app developer
Content Source: windows-apps-src/data-binding/displaying-data-in-the-designer.md
Product: uwp
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

Thanks for reaching out with your feedback. This sounds like a support request to me. You'll find quicker support by consulting our developer support resources. For community assistance with development questions I recommend that you ask on our forums or StackOverflow. Otherwise, please see the developer support page for your support options. If you get assistance through these other resources and believe that information would help us improve the docs, please come back and let us know.


Function autogeneration without file save.

Project -> New Project -> AS3 Project
Open Main.as.
Mouse click in the end of "// entry point" line.
Press Enter.
Type "blabla();"
Try to "Generate private function" via Ctrl+Shift+1
Result (look at brackets):
private function init(e:Event = null):void
{
	removeEventListener(Event.ADDED_TO_STAGE, init);
	// entry point
	blabla();

private function blabla():void
{

}}

But if you save file before generation, then bug don't emerge.

I checked the release of 5.1.1 - the error is not repeated.
@nomikovsupe please close the issue if it is not relevant at the moment.
Thanks.

Now all ok