RequestError ?

Potentially just me, but after installing current packages and pulling this code in, I repeatedly get error (using a valid Cloud services API key):
Google.Apis.Requests.RequestError
Invalid Value [400]
Errors [   Message[Invalid Value] Location[ - ] Reason[invalid] Domain[global]
press any key to continue.

Could you tell us which package and what you mean by "this code"? A short but complete example would make it much easier for us to help you.

Apologies! I thought issues were separated by packages.   I was trying to implement the sample package at
google-api-dotnet-client-samples/Translate.TranslateText/   pulled the package and running in Visual Studio 2017. No modifications, other than after the posted error, trying a different ApplicationName.
I was able to use my issued API with https://github.com/Genbox/GoogleTranslate.Net but prefered the method outlined in this sample and wished to use it as a starting point for translation services. Thank you!

Okay, I'll have a look when I can, but I'm currently at a conference so may be slightly delayed.
Note that we now have (in beta) a simpler package to use: Google.Cloud.Translation.V2. It uses the same underlying package, but wraps things up a bit more simply.
What language and text did you request?

Understandable and appreciated - language was "sp", text was "Rock and Roll"   - I'll check out the beta thanks; simpler better.

Okay, that explains it - "sp" isn't a supported language code. See https://cloud.google.com/translate/docs/languages - and in the Google.Cloud.Translation.V2 API you can use the LanguageCodes class so you don't need to remember the codes.

EXTREMELY SORRY - I had a list of codes and I have no idea where I had 'sp' from. Thank you


Please invite me to the GitHub Community Organization

Name
Astro
Discord Username (if applicable)
No response
Additional Context
https://github.com/chryz-hub/chryz-hub.github.io/issues/359

Welcome @Astro2020-lovely 🥳


Clicking on a Tab Drawn by a Telerik DocumentWindow

Bear with me cause it's my first time using WinAppDriver, and this is a bit of a doozy.
I'm trying to implement UI testing via WinAppDriver on an old WPF application primarily built in C# using Telerik controls. It had basically no accessibility elements set and I've been more or less doing them alongside me building the UI tests themselves. The latest hurdle is that the majority of the functionality is located within a window located relatively deep under 3 other panes of the application.

Sorry to block some of it off, I'm unsure if I can show some of the particulars here I'm being safe instead of sorry
Now I've gone through and added accessibility names to everything, but my understanding is that the home tab shown in the upper left of that picture is drawn by the Telerik DocumentWindow in the designer.cs for that form:
        this.home.AccessibleName = "dwHome";
        this.home.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
        this.home.CloseAction = Telerik.WinControls.UI.Docking.DockWindowCloseAction.Hide;
        this.home.Controls.Add(this.gridPane);
        this.home.DocumentButtons = Telerik.WinControls.UI.Docking.DocumentStripButtons.None;
        this.home.Location = new System.Drawing.Point(6, 29);
        this.home.Name = "dwHome";
        this.home.PreviousDockState = Telerik.WinControls.UI.Docking.DockState.TabbedDocument;
        this.home.Size = new System.Drawing.Size(886, 400);
        this.home.Text = "Home";
        this.home.ToolCaptionButtons = Telerik.WinControls.UI.Docking.ToolStripCaptionButtons.None;

And I've attempted everything I can think of for accessing home from my WinAppDriver testing suite. After setting the accesibility ID I can reach documentTapStrip1 no problem with
var home = session.FindElementByAccessibilityId("documentTabStrip1");
but doing
home.FindElementByAccessibilityId("dwHome").Click(); consistently throws not found errors. I'm sure even if it did find it it would simply click near the center of the window instead of on the actual button itself.
Does anyone know how I would be able to programmatically click on that Home tab? I'm willing to resort to coordinate based clicking as an absolute last resort at this point because I don't anticipate Home to move in this application, but it's a gross way of doing it.

try home.FindElementsbyxpath("/") this will give you all the child elements of home, that will make sure that winappdriver is able to find "dwHome"

@anunay1 I've actually tried that, trying to put it into a children variable and get the count:
           var children = home.FindElementsByXPath("/");             Console.WriteLine(children.Count.ToString());
I had an issue with it timing out but that's because this particular page of the application has literally thousands of child elements and couldn't search fast enough. I went to another window with a minimal amount of child elements. When I did so I was finding only a single element every time until I hit a bottom pane. All of these were formerly unnamed with accessibility names so I went into the design of that form and included them, and the accessibility tree now looks like this:

Now, for the record, the tabs on this page look like this:

And by all means these don't appear anywhere in the tree even as unnamed children. They simply aren't included, at least in accessibility insights and Inspect.exe, as elements.
What I'm supposing is happening here is that these tabs are drawn by documentTabStrip1 and therefore aren't actual Component components. It's possible these are somehow actually in there but hidden behind the Telerik control. It's possible this may be an issue outside of WinAppDriver, but I'm assuming that functionality to click on drawn objects is something that already exists in some capacity?

I went to another window with a minimal amount of child elements. When I did so I was finding only a single element every time

Its weird, but to get child elements when searching from an element, you need to use elm.FindElementsByXPath("*/*")

I went to another window with a minimal amount of child elements. When I did so I was finding only a single element every time

Its weird, but to get child elements when searching from an element, you need to use elm.FindElementsByXPath("*/*")

Ah, crap. I didn't update it in the post above while I was writing it. You're super right and that's what I ended up doing to find the children that existed. Doing
elm.FindElementsByXPath("/")
did nothing at all.

Yeah, I am also testing on msedgedriver.  It expects elm.FindElementsByXPath("*") to find children


Can I Apply Presets in the Layers

Hi,
I was wondering If It is possible to apply predefined Animation / Transition Presets (Already Defined inside After Effect) to the layer from NexRender?
If yes, then can you please guide how can I do so?. Also if there is any workaround to do so?
Thanks

Hello @adiwithadidas
I can't definitely answer on how to achieve something like that, but what I can suggest is to check out if that is something that is possible to do with the scripting. And in case it is, I think the road after that is quite straightforward. :)
Cheers!

I can do it in scripting, I tried by adding it through extended SCript toolkit for After Effect  and it works fine
but in nexrender when I do the same through external jsx script . it throws an error
aerender ERROR An existing connection was forcibly closed by the remote host.                                           : Unable to receive at line 316                                                                                aerender ERROR: After Effects can not render for aerender. Another instance of aerender, or another script, may be running; or, AE may be waiting for response from a modal dialog, or for a render to complete. Try running aerender without the -reuse flag to invoke a separate instance of After Effects
When I remove the part that Apply Presets,  everything works fine.

Judging by the error log, maybe AE instance opens up a dialog window there? It is something scripting cannot "click" on, unfortunately 😄

I am running in to a similar issue, except that I am not getting an error thrown in terminal.
This is my included 'script.jsx' code
var comp = comp.app.project.item(1); var layer = comp.layer(1); layer.selected = true; var preset = File("/Users/name/Desktop/preset.ffx");   layer.applyPreset(preset);
The script works fine when run in the application, but when using in a nexrender job it hangs on rendering job... removing the last line makes the job finish. Can it have something to do with file access?

Can it have something to do with file access?

That is also a possibility, have you tried commenting out the preset file loading function to see if its working?

I applied presets.exists to a textlayer in the script and removed the
applyPreset(preset) rule. This works. Leaving that rule hangs the
'rendering job...' So it seems that the file can be found and called by
script with succes but not applied?! I am not sure if one can call the
applyPreset without a File argument but I can try when behind my laptop.
Op ma 5 okt. 2020 07:44 schreef Vladyslav Hrytsenko <
<EMAIL_ADDRESS>
Can it have something to do with file access?
That is also a possibility, have you tried commenting out the preset file
loading function to see if its working?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/inlife/nexrender/issues/470#issuecomment-703409532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7FAEZNGM7UZA6MKJMQLL3SJFMKBANCNFSM4QB45ZPA
.

So I tried applying preset without a File but this does not work. Calling the file or commenting out the call to file does not make a difference. The problem seems to lay in the applyPreset() method.
This is what terminal produces as an error result after a long wait. Hopefully it can be helpful. I am a bit lost here.
aerender ERROR -609: AESend failed to send apple event at line 885

> job rendering failed
Error: Couldn't find a result file: /var/folders/d3/2ryw442s0r73j2fxj9mzk5mm0000gn/T/nexrender/WYuMMJvgMW7LNctzGQTBp/result.mov
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/@nexrender/cli/node_modules/@nexrender/core/src/tasks/render.js:171:31)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:210:5)
    at Pipe.<anonymous> (net.js:659:12)

Is it all you have in your script.jsx ??
If not, here's a few ideas :

var comp = comp.app.project.item(1); var layer = comp.layer(1); layer.selected = true; var preset = File("/Users/name/Desktop/preset.ffx"); layer.applyPreset(preset);

There's an error in your scrip :
comp.app.project.item(1) should be app.project.item(1)
Also , as Nexrender creates a new project , if there's anything else going on in your job, there's no guarantee that your Comp still is a the project first item. you should reference it by name, creates a function to find it, or use the dynamic parameters offers by Nexrender.
Also a good idea would be to scope your script. When you run it with AE open, it's possible that your variables are already set by running the script previously or by another script. So Because Nexrender runs a new instance of AE, those variables are gone.

Sorry no... It was a simplified and apparently mistyped version :) Thanks for your useful tips and attention. I'd love to contribute to nexrender btw, but I guess I need some guidance...
Here is my updated and tested script. The same thing happens. The out commented line results in hanging the rendering job for a long while and eventually returning the error mentioned before. Without that line it returns a file with the text "true".
Any ideas where to look?
(function myScript(){
    var myComp;
    for (var i = 1; i <= app.project.numItems; i++) {
        if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name === 'myComp')) {
            myComp = app.project.item(i);
            break;
        }
    }

    var myPreset = File("/Users/botoboto/Desktop/myPreset.ffx");
    var myLayer = myComp.layer(1);
    myLayer.selected = true;
    //myLayer.applyPreset(myPreset);
    myComp.layers.addText(myPreset.exists);
})();

That indeed seems like a valid script, and theoretically, everything should be fine. Hopefully, somebody might have some insights into what might be going wrong here.

Sorry no... It was a simplified and apparently mistyped version :) Thanks for your useful tips and attention. I'd love to contribute to nexrender btw, but I guess I need some guidance...
Here is my updated and tested script. The same thing happens. The out commented line results in hanging the rendering job for a long while and eventually returning the error mentioned before. Without that line it returns a file with the text "true".
Any ideas where to look?
(function myScript(){
    var myComp;
    for (var i = 1; i <= app.project.numItems; i++) {
        if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name === 'myComp')) {
            myComp = app.project.item(i);
            break;
        }
    }

    var myPreset = File("/Users/myName/Desktop/myPreset.ffx");
    var myLayer = myComp.layer(1);
    myLayer.selected = true;
    //myLayer.applyPreset(myPreset);
    myComp.layers.addText(myPreset.exists);
})();

Any update here? I have the same issue, and I haven't fix this problem yet, please give me some help, thank you very much

Yep samesies here! Good to know that this i a documented issue though and I'm not crazy!


Use Yarn for Install/Uninstall CLI if available

Make react-native install and uninstall cli to use yarn if available (fixes #11122)
Test plan Yarn

Publish to Sinopia: https://github.com/facebook/react-native/tree/master/react-native-cli
react-native init AwesomeApp
react-native install react-native-fit-image
react-native uninstall react-native-fit-image

Test plan NPM

Publish to Sinopia: https://github.com/facebook/react-native/tree/master/react-native-cli
react-native init AwesomeAppNPM --npm
react-native install react-native-fit-image
react-native uninstall react-native-fit-image

output (yarn.lock)
> react-native install react-native-fit-image
yarn add v0.16.1
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency
└─<EMAIL_ADDRESS>✨  Done in 4.11s.
rnpm-install info Module react-native-fit-image has been successfully installed & linked

> react-native uninstall react-native-fit-image
yarn remove v0.16.1
[1/2] Removing module react-native-fit-image...
[2/2] Regenerating lockfile and installing missing dependencies...
success Uninstalled packages.
✨  Done in 3.32s.
rnpm-install info Module react-native-fit-image has been successfully uninstalled & unlinked

output (without yarn.lock)
› react-native install react-native-fit-image
<EMAIL_ADDRESS>/Users/n3tr/Code/TestApp
└──<EMAIL_ADDRESS>
rnpm-install info Module react-native-fit-image has been successfully installed & linked

› react-native uninstall react-native-fit-image
-<EMAIL_ADDRESS>node_modules/react-native-fit-image
rnpm-install info Module react-native-fit-image has been successfully uninstalled & unlinked

This is awesome, thank you so much for doing this! Commented with just some small nit and questions.

Requesting changes because of config.getProjectRoots()[0].
Thanks for the review @Kureev!
@n3tr, @Kureev I just noticed there is this line in install.js:
res = spawnSync('rnpm', ['link', name], spawnOpts);

Should it be replaced by something else, e.g. calling into link.js?
Rnpm is now part of the CLI and I think 'rnpm link' is going to fail for most people as they don't have rnpm installed?
https://github.com/rnpm/rnpm
Sorry about the delay reviewing this!

@mkonicek the latest commits no longer use config.getProjectRoots()[0] 😄
I have tested by remove rnpm and run install - the line
res = spawnSync('rnpm', ['link', name], spawnOpts);

It won't throw any errors, but won't link any dependencies too.
I'll look into it sometime this week.

Maybe I'm wrong, but rnpm has been renamed to react-native, so it should work if you replace it.
About throwing an error: spawnSync doesn't throw, it returns an object with the error instead.

@Kureev I think you're correct.
I've updated the code to
res = spawnSync('react-native', ['link', name], spawnOpts);

also update link.js and unlink.js to support link/unlink with some-package@version.

› react-native install react-native-image-picker@latest
yarn add v0.16.1
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency
└─<EMAIL_ADDRESS>✨  Done in 3.54s.
rnpm-install info Linking react-native-image-picker android dependency
rnpm-install info Android module react-native-image-picker has been successfully linked
rnpm-install info Linking react-native-image-picker ios dependency
rnpm-install info iOS module react-native-image-picker has been successfully linked
rnpm-install info Module react-native-image-picker@latest has been successfully installed & linked

Awesome! You rock! Do you have anything else blocking this PR?

@Kureev No, It looks good to me. 😃

Needs a rebase
patching file fbandroid/java/com/facebook/catalyst/js/react-native-github/local-cli/util/yarn.js
Hunk #1 FAILED at 7
1 out of 1 hunks FAILED -- saving rejects to file fbandroid/java/com/facebook/catalyst/js/react-native-github/local-cli/util/yarn.js.rej
abort: patch failed to apply

@n3tr do you need any assistance here?

@bestander Rebased.
@Kureev It's fine, Thanks :)

@facebook-github-bot shipit

Is it possible that we use that great util (PackageManager) in other places? I remember @mkonicek added yarn support to some other places in the past already

I think it can be a nice standalone project: package-manager or smth that provides an API around npm / yarn.

Thanks for doing this! Merging.
@facebook-github-bot shipit

I think this branch should be rebased

@Kureev rebased :)

@facebook-github-bot shipit


Saved model execution

We need to have a way to save and run models later

Models will be executed on a new service called daas-analytics-catalogue-executor
The orchestrator will need to follow the following logic:
GET /health
Once this is 200 the service has started
POST /load/job_id
Load the model with the job_id used in the analytics_catalogue step, it has to be the same
POST /predict
This will accept raw data and predict it. You have to include the column names in the first line. Also must follow the format of the csv. For example:
prediction request raw data expected:
x, y
-1.42811500584555, 3.76194843454781
-0.0937990215106019, 3.40634508630138
 0.149619792650416,  2.84290718332174

The executor is as separate service so that the orchestrator can adjust its running parameter to achieve "targeted scalability". This can be achieved by the include some optional JSON data
{
  "instances": "10",
  "memory": "4g",
  "cores": "2"
}

All values must be strings and do the adjust the execution of the executor

Also the orchestrator MUST CREATE A BUCKET NAMED "diastemamodels" BEFORE running any analytics-catalogue job

@karamolegkos
not available for call until monday, communication via text until then is however possible

Περιμένω για να  κάνουμε το internal UPRC meeting μας για να ολοκληρώσουμε τα σχετικά μας guides για τις νέες αλλαγές.
Αυτή η αναμονή θα γίνει έχοντας υπόψη τον τρόπο με τον οποίο τα νέα inputs θα έρχονται από το Web Application στον Orchestrator και στην συνέχεια θα προωθούνται στα services που αναφέρονται παραπάνω.

Final updates following specification updates before intergration. @karamolegkos
Running the job
MongoDB connnection metadata is now REQUIRED. Please take note of the following command below to see all available env vars. I have included the default values as the initial input, please change them accordingly
Example command
spark-submit
--conf spark.executorEnv.MINIO_HOST="localhost"
--conf spark.executorEnv.MINIO_PORT="9000"
--conf spark.executorEnv.MINIO_USER="minioadmin"
--conf spark.executorEnv.MINIO_PASS="minioadmin"
--conf spark.executorEnv.MONGO_HOST="localhost"
--conf spark.executorEnv.MONGO_PORT="27017"
src/main.py
Notes
When calling /stop the returning value is not guaranteed. If the request is dropped or responds normally, you should consider the job to be now stopped/killed.
Following discussion on technical meeting, columns names on /predict are not required. The request only needs to include the samples now. For example now it is:
8.42954405116883,10.3104502614474
8.48126384793122,10.6044070049211
8.83738509966331,10.6722477165529
8.89821530147121,10.787268851993

Instead of
x,y
8.42954405116883,10.3104502614474
8.48126384793122,10.6044070049211
8.83738509966331,10.6722477165529
8.89821530147121,10.787268851993

Moved in Integration to be tested with the Runtime Manager.

@konvoulgaris
Found a bug, check slack to fix.

Integrated.
--> Tested and working as expected.


Warnings-flag should default to true.

Too many projects start without warnings enabled and then when they figure that hey, it would be nice to have, then they get drowned by too many warnings and doesn't follow through.
Having low tolerance of warnings is healthy and therefore I propose to change the default value to check for them. It should of course be simple to turn it off for existing projects that can't realistically enable it.

We tried something like this in RSpec 3.0.  In 3.0, the .rspec file generated by rspec --init had --warnings in it.  We got lots of questions/comments on twitter and elsewhere asking, "why do I get spammed with so much warning output on RSpec 3?"  The unfortunate truth is that most of the ruby ecosystem does not have warning-free code, and that means that if you enable warnings on a project that uses gems, you're likely to get lots of warning output you can't do anything about.  In addition, the warning output won't give you any indication about how to turn it off: when a gem has code that triggers ruby warnings, Ruby isn't going to tell you "configure RSpec to disable warnings like so".  It makes for a very bad experience for RSpec users if they are stuck getting tons of noisy warning output from code they did not write and there's no indication how to disable it.
The solution we came up with for RSpec 3.1 was to move the warnings flag into the commented-out part of the spec_helper.rb file generated by rspec --init.  This encourages users to set it but forces them to take action (e.g. uncommenting it) to enable it so they are aware of how it got turned on and will therefore know how to turn it off if they need to.
If you want it to default to true for you, you can just add --warnings to ~/.rspec and it'll enable it for all projects using rspec on your machine.
For more background, see #1571 and #1572.

Do you think there would be a way to enable warnings on the tested code but not on the dependency code?
True I don't want to be spammed by dependencies having warnings in their code, but it would be interesting to have warnings for my own code. Unless all output warnings are already covered by Rubocop / Reek?

There isn't a way to do that properly, you can see how we deal with this internally in our spec suite, (we turn on warnings and check we don't generate any as a spec).


Request: Replace the osmium ingot in osmium compressor recipes with CraftTweaker

It sounds odd, but I'd like to make the osmium compresser use tin. In my pack I've put a lot of effort into limiting the pack to five metals: iron, gold, copper, tin and nickel. I've replaced almost a hundred recipes to accomplish this.
In my quest to cut down on clutter, I'd like to replace osmium with tin. I'd like to make the osmium compressor use tin, and rename it to the tin compresser. Unfortunately that doesn't seem to be possible.

The CT handler does accept gas inputs, but the machine itself might not support turning that into gas, I can't remember

The only thing it supports is turning Osmium into a gas internally.
https://github.com/aidancbrady/Mekanism/blob/3e469fb40a2a086527cf14dbe9ba709f708a9bca/src/main/java/mekanism/common/tile/TileEntityOsmiumCompressor.java

This should have been resolved in the 9.7 update


OCPBUGS-32228: Fix failure to create a second hostedcluster in the same namespace

What this PR does / why we need it:
https://github.com/openshift/hypershift/pull/3234 introduced a logic to list secrets generated by the cli and set their ownerReference . However, it was executed before .spec.infraID is defaulted which caused it to try to set the ownerReference on secrets that don't belong to the HostedCluster which was causing the creation of a multiple HCs in the same namespace to fail.
This only surfaced in agent clusters since the cli doesn't automatically sets the spec.infraID and relies on the HO to default it.
The core cluster creation workflow will now generate and set infraID for all platforms.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #OCPBUGS-32228
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

@jparrill its affecting user creating agent clusters using the cli.
It would also show up potentially if someone creates a cluster on any platform without the cli using yaml manifest and not set spec.infraID

/retest-required

/cherry-pick release-4.15


Build error: ’class franka_hw::FrankaHW’ has no member named ‘robotMode’

Since #279 was merged, I get the following compiler error when building franka_ros from source and having its Debian packages installed in /opt/ros too:
franka_control_node.cpp:128:43: error: ‘class franka_hw::FrankaHW’ has no member named ‘robotMode’; did you mean ‘robotMutex’?

See #320 for a fix.


Fix app hanging when called in swap mode

We should make modifications to this line of code in order for the CI to pass.

Codecov Report
Base: 77.72% // Head: 77.72% // No change to project coverage :thumbsup:

Coverage data is based on head (e6391a6) compared to base (e33691a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #51   +/-   ##
========================================
  Coverage    77.72%   77.72%
========================================
  Files           12       12
  Lines         2352     2352
========================================
  Hits          1828     1828
  Misses         524      524

Flag
Coverage Δ

unittests
77.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


chore(main): release 0.0.3

:robot: I have created a release beep boop
0.0.3 (2024-02-13)
Bug Fixes

Add file to test Release Please (3c1a8c0)
Test Release Please (d7ac82d)
Testing Release Please (0c9e908)
Testing Release Please (b3d2c7b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/daniel-mizuki/leetcode-solutions/releases/tag/v0.0.3 :sunflower:


Hi, the FID metric is not in the test script.

Dear author:
Hi, the FID metric is not in the test script.  Does FID need to be calculated separately?
best wishes

Hi! We separately calculate the FID using pytorch-fid.


MCR: Possible refund amount miscalculation due to wrong epoch

Auditor: Ottersec
Code: MCR Settlement Contract
In the MovementStaking.sol contract, instead of msg.sender domain, attesters[i] is passed to getCurrentEpoch in slash. This could lead to the refund amount miscalculation due to wrong epoch and subsequently loss of funds.

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Marking this as decentralized because MCR does not need to be sage for centralized launch.
#499 is the correct general approach to clarifying confusion on these subtler conditions.

This is considered an "accepted risk" for this potion of the audit as with any other issues tagged "decentralization."


Final Merge | Set up a "Hello world" project as one app with Webpack

Set up a "Hello world" project as one app with Webpack | Final Merge
In this PR I have :

Implemented a connection between a Ruby on Rails back-end and React front-end.
Understood the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.
Get a chance to use Webpack with jsbundling-rails gem
Install needed node dependencies as described in the previous lesson's tutorial.
Created a babel.config.js in the root folder.
Updated webpack.config.js to include the babel loader and image loading configs
Created a table for storing your messages and create 5 different greetings.
Created an API endpoint that selects a random greeting from your table (you will need a controller with an action and Rails route).
Created a static view that will be the root of your app.
Created a store, an action, and a reducer that will connect to the API endpoint to get the random greeting.
Displayed the random greeting in my Greeting component.
Removed React.StrictMode to avoid double refresh and API fetch reload

⚠ Before running App

Make sure to run bundle install and npm i
Create a  .env file with the following content:

POSTGRES_USER=postgres
# If you declared a password when creating the database:
POSTGRES_PASSWORD=YourPassword
POSTGRES_HOST=localhost
POSTGRES_DB=Hello_React_Rails_development
POSTGRES_TEST_DB=Hello_React_Rails_test

Now you can run db:create , db:migrate, db:seed
Finally run ./bin/dev and visit http://localhost:3001/

Happy Reviewing 😄

Thank you @prolajumokeoni and @mikethreels for your kind feedbacks, happy coding 😄 :rocket:


feat(adaptor): Lambda@Edge supports response callbacks

adding

Cloudflont response can now be handled.

type Bindings = {
  callback: Callback
  request: CloudFrontRequest
  response: CloudFrontResponse
}

app.get('/callback/response', async (c, next) => {
  await next()
  c.env.callback(null, c.env.response)
})

Headers can now be added in OriginResponse. (I have a feeling we can do this in a much cooler way)

  app.get('/header/add', async (c, next) => {
    c.env.response.headers['Strict-Transport-Security'.toLowerCase()] = [{
      key: 'Strict-Transport-Security',
      value: 'max-age=63072000; includeSubdomains; preload'
    }];
    c.env.response.headers['X-Custom'.toLowerCase()] = [{
      key: 'X-Custom',
      value: 'Foo'
    }];
    await next()
    c.env.callback(null, c.env.response)
  })

refactoring. I cut out a lot of the internal header manipulation process.

Hi @watany-dev !
LGTM! Great work!


"Cannot determine network-available?" (portainer_agent)

Hi there,
getting this error for the portainer agent (https://docs.portainer.io/v/ce-2.9/start/install/agent/docker/linux)
The network is set to bridged
greetz

Can you share a bit more debug logging? Also what does the output of " docker inspect " name say?

Docker inspect:
[     {         "Id": "9b9bae98c8e3d7f13e0dea868c650705f8e29eb707095300bf4abeb20816561e",         "Created": "2022-01-12T09:18:13.906875603Z",         "Path": "./agent",         "Args": [],         "State": {             "Status": "running",             "Running": true,             "Paused": false,             "Restarting": false,             "OOMKilled": false,             "Dead": false,             "Pid": 1764,             "ExitCode": 0,             "Error": "",             "StartedAt": "2022-01-14T06:32:26.524739448Z",             "FinishedAt": "2022-01-14T06:31:07.446588683Z"         },         "Image": "sha256:76d4e53fa5833f0b07db15617ec7ca1f4bc9849d04bc2733627c3bd9bb5a7658",         "ResolvConfPath": "/var/lib/docker/containers/9b9bae98c8e3d7f13e0dea868c650705f8e29eb707095300bf4abeb20816561e/resolv.conf",         "HostnamePath": "/var/lib/docker/containers/9b9bae98c8e3d7f13e0dea868c650705f8e29eb707095300bf4abeb20816561e/hostname",         "HostsPath": "/var/lib/docker/containers/9b9bae98c8e3d7f13e0dea868c650705f8e29eb707095300bf4abeb20816561e/hosts",         "LogPath": "/var/lib/docker/containers/9b9bae98c8e3d7f13e0dea868c650705f8e29eb707095300bf4abeb20816561e/9b9bae98c8e3d7f13e0dea868c650705f8e29eb707095300bf4abeb20816561e-json.log",         "Name": "/portainer_agent",         "RestartCount": 0,         "Driver": "overlay2",         "Platform": "linux",         "MountLabel": "",         "ProcessLabel": "",         "AppArmorProfile": "",         "ExecIDs": null,         "HostConfig": {             "Binds": [                 "/var/run/docker.sock:/var/run/docker.sock",                 "/var/lib/docker/volumes:/var/lib/docker/volumes"             ],             "ContainerIDFile": "",             "LogConfig": {                 "Type": "json-file",                 "Config": {}             },             "NetworkMode": "default",             "PortBindings": {                 "9001/tcp": [                     {                         "HostIp": "",                         "HostPort": "9001"                     }                 ]             },             "RestartPolicy": {                 "Name": "always",                 "MaximumRetryCount": 0             },             "AutoRemove": false,             "VolumeDriver": "",             "VolumesFrom": null,             "CapAdd": null,             "CapDrop": null,             "CgroupnsMode": "host",             "Dns": [],             "DnsOptions": [],             "DnsSearch": [],             "ExtraHosts": null,             "GroupAdd": null,             "IpcMode": "private",             "Cgroup": "",             "Links": null,             "OomScoreAdj": 0,             "PidMode": "",             "Privileged": false,             "PublishAllPorts": false,             "ReadonlyRootfs": false,             "SecurityOpt": null,             "UTSMode": "",             "UsernsMode": "",             "ShmSize": 67108864,             "Runtime": "runc",             "ConsoleSize": [                 0,                 0             ],             "Isolation": "",             "CpuShares": 0,             "Memory": 0,             "NanoCpus": 0,             "CgroupParent": "",             "BlkioWeight": 0,             "BlkioWeightDevice": [],             "BlkioDeviceReadBps": null,             "BlkioDeviceWriteBps": null,             "BlkioDeviceReadIOps": null,             "BlkioDeviceWriteIOps": null,             "CpuPeriod": 0,             "CpuQuota": 0,             "CpuRealtimePeriod": 0,             "CpuRealtimeRuntime": 0,             "CpusetCpus": "",             "CpusetMems": "",             "Devices": [],             "DeviceCgroupRules": null,             "DeviceRequests": null,             "KernelMemory": 0,             "KernelMemoryTCP": 0,             "MemoryReservation": 0,             "MemorySwap": 0,             "MemorySwappiness": null,             "OomKillDisable": null,             "PidsLimit": null,             "Ulimits": null,             "CpuCount": 0,             "CpuPercent": 0,             "IOMaximumIOps": 0,             "IOMaximumBandwidth": 0,             "MaskedPaths": [                 "/proc/asound",                 "/proc/acpi",                 "/proc/kcore",                 "/proc/keys",                 "/proc/latency_stats",                 "/proc/timer_list",                 "/proc/timer_stats",                 "/proc/sched_debug",                 "/proc/scsi",                 "/sys/firmware"             ],             "ReadonlyPaths": [                 "/proc/bus",                 "/proc/fs",                 "/proc/irq",                 "/proc/sys",                 "/proc/sysrq-trigger"             ]         },         "GraphDriver": {             "Data": {                 "LowerDir": "/var/lib/docker/overlay2/1aa9e7a39ff8ae64a552ec464d7a3df40cd9dd917f3f9e04eb12f560b4959d5b-init/diff:/var/lib/docker/overlay2/8c619207eec4dcb3722fc5d3e9a6b5f8f631 4113b017fbad220b32ab398d22da/diff:/var/lib/docker/overlay2/f4990b572e3bd05b6e6719a258eb652e3fa4395511d3f3fe6774f7bc35a3a48d/diff:/var/lib/docker/overlay2/72e1582a706c57cb44b4bb002e239fe6f7e5 1bfc6990b810e4c1d466aa8ba60c/diff:/var/lib/docker/overlay2/a6951c5fbb021004f4e2ac4cb76ad41a5793b6927ce1cd81c25600082c328fd7/diff:/var/lib/docker/overlay2/77f0edca0a26c414885e0cbdfefd5eb2b48b 2fd5865139060dedbab4c160067e/diff",                 "MergedDir": "/var/lib/docker/overlay2/1aa9e7a39ff8ae64a552ec464d7a3df40cd9dd917f3f9e04eb12f560b4959d5b/merged",                 "UpperDir": "/var/lib/docker/overlay2/1aa9e7a39ff8ae64a552ec464d7a3df40cd9dd917f3f9e04eb12f560b4959d5b/diff",                 "WorkDir": "/var/lib/docker/overlay2/1aa9e7a39ff8ae64a552ec464d7a3df40cd9dd917f3f9e04eb12f560b4959d5b/work"             },             "Name": "overlay2"         },         "Mounts": [             {                 "Type": "bind",                 "Source": "/var/lib/docker/volumes",                 "Destination": "/var/lib/docker/volumes",                 "Mode": "",                 "RW": true,                 "Propagation": "rslave"             },             {                 "Type": "bind",                 "Source": "/var/run/docker.sock",                 "Destination": "/var/run/docker.sock",                 "Mode": "",                 "RW": true,                 "Propagation": "rprivate"             }         ],         "Config": {             "Hostname": "9b9bae98c8e3",             "Domainname": "",             "User": "",             "AttachStdin": false,             "AttachStdout": false,             "AttachStderr": false,             "ExposedPorts": {                 "9001/tcp": {}             },             "Tty": false,             "OpenStdin": false,             "StdinOnce": false,             "Env": [                 "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"             ],             "Cmd": null,             "Image": "cr.portainer.io/portainer/agent:2.9.3",             "Volumes": null,             "WorkingDir": "/app",             "Entrypoint": [                 "./agent"             ],             "OnBuild": null,             "Labels": {}         },         "NetworkSettings": {             "Bridge": "",             "SandboxID": "f06938bb8479a540132a8c785ea1034a038d835412eda1709e64d29f20ee7877",             "HairpinMode": false,             "LinkLocalIPv6Address": "",             "LinkLocalIPv6PrefixLen": 0,             "Ports": {                 "9001/tcp": [                     {                         "HostIp": "<IP_ADDRESS>",                         "HostPort": "9001"                     },                     {                         "HostIp": "::",                         "HostPort": "9001"                     }                 ]             },             "SandboxKey": "/var/run/docker/netns/f06938bb8479",             "SecondaryIPAddresses": null,             "SecondaryIPv6Addresses": null,             "EndpointID": "c9c7df0da1b4dc4b163c3be6290e2e0db3cbe6502eebc2ec70ea6ecb97c0eaeb",             "Gateway": "<IP_ADDRESS>",             "GlobalIPv6Address": "",             "GlobalIPv6PrefixLen": 0,             "IPAddress": "<IP_ADDRESS>",             "IPPrefixLen": 16,             "IPv6Gateway": "",             "MacAddress": "02:42:ac:11:00:02",             "Networks": {                 "bridge": {                     "IPAMConfig": null,                     "Links": null,                     "Aliases": null,                     "NetworkID": "64e5969cbf3d38c738c2769a4a5b6123457032749550dc5de55962e84c77640e",                     "EndpointID": "c9c7df0da1b4dc4b163c3be6290e2e0db3cbe6502eebc2ec70ea6ecb97c0eaeb",                     "Gateway": "<IP_ADDRESS>",                     "IPAddress": "<IP_ADDRESS>",                     "IPPrefixLen": 16,                     "IPv6Gateway": "",                     "GlobalIPv6Address": "",                     "GlobalIPv6PrefixLen": 0,                     "MacAddress": "02:42:ac:11:00:02",                     "DriverOpts": null                 }             }         }     } ]
This is the only message in the log. Do i have to activate debug logging?

I am also getting this right now for more container. These are on another pi. I just recently installed docker and dockerproxy there.

Debug Log:
Seems normale and then it just says removing sensor and no container set up?
2022-01-28 09:27:17 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] glances: Received callback for: Memory (percent) 2022-01-28 09:27:17 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] glances: Received callback for: 1CPU 2022-01-28 09:27:17 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] tvheadend: Received callback for: Memory (percent) 2022-01-28 09:27:17 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] tvheadend: Received callback for: 1CPU 2022-01-28 09:27:19 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] cloudflare-ddns: Received callback for: Memory (percent) 2022-01-28 09:27:19 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] cloudflare-ddns: Received callback for: 1CPU 2022-01-28 09:27:19 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] portainer_agent: Received callback for: Memory (percent) 2022-01-28 09:27:19 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] portainer_agent: Received callback for: 1CPU 2022-01-28 09:27:27 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] Dockerproxy: Received callback for: Memory (percent) 2022-01-28 09:27:27 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] Dockerproxy: Received callback for: 1CPU 2022-01-28 09:27:28 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] homebridge: Received callback for: Memory (percent) 2022-01-28 09:27:28 DEBUG (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] homebridge: Received callback for: 1CPU 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] Dockerproxy: Removing sensor entity: memory_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] Dockerproxy: Removing sensor entity: 1cpu_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.switch] [Docker1] Dockerproxy: Removing switch entity 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] glances: Removing sensor entity: memory_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] glances: Removing sensor entity: 1cpu_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.switch] [Docker1] glances: Removing switch entity 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] homebridge: Removing sensor entity: memory_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] homebridge: Removing sensor entity: 1cpu_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.switch] [Docker1] homebridge: Removing switch entity 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] tvheadend: Removing sensor entity: memory_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] tvheadend: Removing sensor entity: 1cpu_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.switch] [Docker1] tvheadend: Removing switch entity 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] cloudflare-ddns: Removing sensor entity: memory_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] cloudflare-ddns: Removing sensor entity: 1cpu_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.switch] [Docker1] cloudflare-ddns: Removing switch entity 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] portainer_agent: Removing sensor entity: memory_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.sensor] [Docker1] portainer_agent: Removing sensor entity: 1cpu_percentage 2022-01-28 09:27:28 INFO (Thread-3) [custom_components.monitor_docker.switch] [Docker1] portainer_agent: Removing switch entity 2022-01-28 09:27:34 DEBUG (MainThread) [custom_components.monitor_docker.sensor] [Docker1]: Setting up sensor(s) 2022-01-28 09:27:34 DEBUG (MainThread) [custom_components.monitor_docker.switch] [Docker1]: Setting up switch(es) 2022-01-28 09:27:34 INFO (MainThread) [custom_components.monitor_docker.switch] [Docker1]: No containers set-up

Can anybody show me the output of the following command:
curl --unix-socket /var/run/docker.sock http://localhost/containers/<containername>/json | jq ' .HostConfig.NetworkMode'
Please replace "" with your container name.

Here is the output for portainer_agent. But this error appears for all container on this (remote) machine on the same time and sporadically. So i don't think thats it's a problem with a container. Rather with the machine and or communication?
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed 100  5464    0  5464    0     0  2667k      0 --:--:-- --:--:-- --:--:-- 2667k "default"

Any update on this? Same error even with the newest version (of everything)

This issue still persists?

I will close this one, if it happens again, please raise a new issue.


update Treatments

Relevant Issue
[PAL-124] https://pallinet.atlassian.net/browse/PAL-124
Description
added treatments database.
use when testing:
user<EMAIL_ADDRESS>password: password

thank you for the feedback. Changes to naming convention have been implemented. Will keep in mind for next commits


Update Readme.md and Add New Members in the Contributors Section

Hi @rohan26062001,
I would like to take this up. From where may I get details of the additional contributors to be added to Readme.md file?
Thanks,
Pramod

Hello @pramod74 ,
Have you registered for Diversion 2022?


F_TRACE

C:\temp\demo>main                                                                                Traceback (most recent call last):                                                                                File "C:\temp\demo\main.pyw", line 165, in <module>                                                                     File "C:\temp\demo\pygameextra\context.py", line 311, in __call__                                                       File "C:\temp\demo\pygameextra\context.py", line 288, in _loop                                                          File "C:\temp\demo\main.pyw", line 129, in loop                                                                         File "C:\temp\demo\engine\SceneContext.py", line 75, in __call__                                                        File "C:\temp\demo\pygameextra\context.py", line 173, in __call__                                                       File "C:\temp\demo\pygameextra\context.py", line 170, in actual                                                         File "C:\temp\demo\pygameextra\display.py", line 150, in wrap                                                           File "C:\temp\demo\pygameextra\mouse.py", line 65, in wrap                                                              File "C:\temp\demo\pygameextra\context.py", line 166, in run                                                            File "C:\temp\demo\pygameextra\context.py", line 92, in _loop                                                           File "C:\temp\demo\engine\SceneContext.py", line 87, in loop                                                            File "C:\temp\demo\universal\game_state.py", line 469, in check_slots                                                   File "C:\temp\demo\universal\game_state.py", line 142, in __enter__                                                   RuntimeError: f_trace is not writable in Nuitka

nuitka-action latest nuitka, python 3-11 on windows, dist (standalone) AS EXTRA CONTEXT

In the template, we have made it clear, that not filling out the issue template is not acceptable. I am closing this kind of report as invalid. The main reason is that we do not want to be left guessing. For you it's easy to erase the issue template and expect us to ask you questions only as necessary, but we cannot do that. We would much rather wait for you to create a new report, fill out the template, or wait for somebody with the necessary skill to do it.
In short: No issue template, no fun. Therefore we are  likely just deleting the issue, as it serves as a bad example and detraction for searches.  And even worse, it might keep good reporters from reporting as is this "already known."


can not downlaod scipyserver

can not download scipyserver

@estheryou May I ask what error message you were seeing? Also, which repo are you downloading this from?
Thanks,
Michael

Hi,Michael, thanks for the prompt reply, just downloaded the scipyserver ,I
guess it requires some strong web connection ,failed many times before that
single success.
The message was GET to an address ending in timeout , sorry it is too long
and when I copy that address and it turned out to be nothing  .
Thank you so much !
estheryou
On Tue, Jul 21, 2015 at 1:36 PM, Michael Chiang<EMAIL_ADDRESS>wrote:

@estheryou https://github.com/estheryou May I ask what error message
you were seeing? Also, which repo are you downloading this from?
Thanks,
Michael
—
Reply to this email directly or view it on GitHub
https://github.com/kitematic/kitematic/issues/844#issuecomment-123411279
.

@estheryou Thanks for letting me know.
Just to confirm you have it working now?
Closing this issue for now if it's working. If not, please respond and we will try to help as much as we can.


DS-4291 Properly show results for 0-9 link in browse

When browsing by Author, if you click the "0-9" link at the top, it is only showing results for 0 instead of 0-9.
Currently, only a facet query prefix for "0" is being used, so no other results are shown. Because facet query prefixes don't support ranges, the simplest solution is to perform separate queries and combine the results for 0-9. This fix performs the additional queries and combines their results and totals.
This is the 7.x version of #2463
Fixes #7631

@KingKrimmson : Just a note that this PR looks to be failing in Travis because of checkstyle issues.  Checkstyle validation is required on master, see https://wiki.lyrasis.org/display/DSPACE/Code+Style+Guide

I don't think this affects DSpace 7+ Angular interface anymore? The browse by author does not break down the results by number or letter anymore. See screenshot from DSpace demo running 7.6.1:

Closing as this appears obsolete per @alanorth 's comment above


fix: x/oracle voting salt length update

Description
Brings our salt length up per #416
Also cleans up a bit of keeper/msg_server_test.go and types/errors.go
progress on: #416

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added appropriate labels to the PR
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #430 (0d90604) into main (e98e7fa) will decrease coverage by 0.00%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   47.41%   47.41%   -0.01%
==========================================
  Files          57       57
  Lines        7615     7626      +11
==========================================
+ Hits         3611     3616       +5
- Misses       3735     3739       +4
- Partials      269      271       +2

Impacted Files
Coverage Δ

x/oracle/types/msgs.go
53.70% <44.44%> (-2.74%)
:arrow_down:

x/leverage/keeper/interest.go
69.09% <100.00%> (+0.76%)
:arrow_up:


Add LLVM backend

Add LLVM backend as a target. Make it available through an optional feature flag like llvm-support or something; LLVM is an utterly massive dependency that I don't want to rely on. If performance isn't good enough, we can directly lower the psuedo-assembly-language to LLVM; this should achieve performance on par with other languages like C.

/assign


[WIP] Speed up search indexing [OSF-7748]

Purpose
Speed up search indexing without refactoring the whole thing.
Changes

Use django magic to filter in sql instead of filtering in python.
Use values_list to only pull back data we're actually going to use.
Make Nodes modified during the first pass of indexing be indexed again afterwards.

Side effects
None expected.
Ticket
https://openscience.atlassian.net/browse/OSF-7748

Was this branched off of master? Can you change the base of this PR to master and check that?

Based on this thread, I think we should hold off on adding the .include for now--sorry for leading you astray.
Once that's done, I think this is good to go.

On second thought, the .include query might not be too huge. So it's your call if you want to include (NPI) it in this PR.

@sloria New branch off master, cherry-picked in the commits.


TRAM not working

I installed and run the TRAM from your GitHub
But when sending a URL for analyzing and scanning
I didn’t get any responds, where one can check the logs/debugging of the system?
No notifications of what’s going on the system itself and I didn’t find any logs on the Tram installation path.
ENV:
Ptyhon3, Ubuntu on windows
The URL send to scan: https://unit42.paloaltonetworks.com/autoit-compiled-malware/

If i understand your problem correctly, you were able to install the program without problems, but nothing happens when you submit the URL? Two things come to mind: the first is to double check there is data in the database, if there is not, then there is no data for TRAM to compare to; next, how long did you wait after the report was submitted? I would suggest trying again, and give it about 2 minutes as it can take a while to process.

so:
first, yes, you understand it correct: installed without problems and nothing happens when submitting url.

not sure how to check if there is data in the database, how am i suppose to add data to this ? like this the ls of the path, and the ls of the 'database' path:

~/temp/tram (master)
$ ls
conf/            database/  models/     README.md         service/  webapp/
CONTRIBUTING.md  handlers/  NOTICE.txt  requirements.txt  tram.py

~/temp/tram/database (master)
$ ls
dao.py  tram_relation.py

i wait much more then 2 minutes, even hours so :-)

Double check the database, since I have ran into that issue myself:
https://github.com/mitre-attack/tram/wiki/Common-Problems
If data is there, I would check the command line when the URL is submitted to see if any additional information is given, or try installing on the base Windows system as it has not been tested in Ubuntu at this time.


Fixes to transform to properly support cases such as np.array("abc")

Adding get_value before str_to_int, to handle cases like np.array("abc")

Yup, I've added to ray.py as well already.


Recursive module instantations cause stack overflow

MCVE:
module top(input x, output y);
top top_i(.x(x), .y(y));
endmodule

yosys -p hierarchy recurse.v

Produces
-- Parsing `recurse.v' using frontend `verilog' --

1. Executing Verilog-2005 frontend: recurse.v
Parsing Verilog input from `recurse.v' to AST representation.
Generating RTLIL representation for module `\top'.
Successfully finished Verilog frontend.

-- Running command `hierarchy' --

2. Executing HIERARCHY pass (managing design hierarchy).
[1]    5707 segmentation fault (core dumped)  yosys -p hierarchy recurse.v

Backtrace:
0x00005555556ec6e1 in Yosys::RTLIL::Design::module (this=<optimized out>, name=...) at kernel/rtlil.cc:423
423		return modules_.count(name) ? modules_.at(name) : NULL;
(gdb) bt
#0  0x00005555556ec6e1 in Yosys::RTLIL::Design::module (this=<optimized out>, name=...) at kernel/rtlil.cc:423
#1  0x0000555555c643d0 in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:508
#2  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#3  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#4  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#5  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#6  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#7  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#8  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509
#9  0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
    at passes/hierarchy/hierarchy.cc:509

(and so on)
Reduced from a testcase from @cr1901 which involved a missing -lib, it would be nice to error out here more meaningfully.

Likely related: #1127


Rich text editor component

There seems to be a need for a rich text editor component. Consult with designer and refine specification.
Ref: https://github.com/folkehelseinstituttet/Fhi.Frontend.RnD/issues/9

In FHI statistikk we are in the need of some richer text input/output in metadata. We seem to land on plain html with a few whitelisted tags. A rich text editor component from the FHI design system would have been very interessting to us.

In FHI statistikk we are in the need of some richer text input/output in metadata. We seem to land on plain html with a few whitelisted tags. A rich text editor component from the FHI design system would have been very interessting to us.

We'll take a new look at this issue in the next planning meeting.

Conclusion after discussion in the Designsystem team today, and a talk with @robinzaal, is that FHI Statistikk creates an Angular version of a rich text editor component, and FHI Designsystem waits, and creates a Web Component version in an not to distant future. We hope to be able to reuse some of the code FHI Statistikk develops, in order to get some synergies.


Changing HashSet to LinkedHashSet for deterministic iterations

Test org/jkiss/utils/CommonUtilsTest.java uses a HashSet to test the functionalities of CommonUtils.getItem, which uses the iterator of the argument. Currently, the test depends on the iteration order of the HashSet (i.e., assuming the second object is b). However, HashSet does not guarantee any specific order of entries. Tests can fail if the iteration order changes.
This PR proposes to fix the test by changing HashSet to LinkedHashSet that make the iteration order deterministic.

👍


Azure Maps service supports Managed Identities but is not included in this page

Note - the Azure Map Service supports Managed Identities, but is not included in this page. This is specified in teh Azure Maps documentation - https://docs.microsoft.com/en-us/azure/azure-maps/azure-maps-authentication#managed-identities-for-azure-resources-and-azure-maps
(Likely someone from Maps needs to be contacted to properly update their entry on this page)

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

ID: 726adac9-1848-01a6-9586-842c81f820f7
Version Independent ID: 249db438-8c95-8e69-f69e-8e48fcd0b359
Content: Azure Services that support managed identities - Azure AD
Content Source: articles/active-directory/managed-identities-azure-resources/services-support-managed-identities.md
Service: active-directory
Sub-service: msi
GitHub Login: @barclayn
Microsoft Alias: barclayn

@John-Garland
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @John-Garland, thank you for your submission. I find no information that indicates that Azure Maps supports managed identities. I do find documentation that indicates that Azure maps supports Azure Active Directory authentication. Managed identities support would imply that a service can authenticate to another service using a managed identity. Please let me know if I missed something.

#please-close


Wrong scrolling behaviour of UICollectionView in iOS 10

In iOS 10 something might have changed in CollectionViews. Starting the provided demo with iOS 10.2 breaks the scrolling of UICollectionViews. UITableView works as it should in iOS 10.
UICollectionView works in iOS9.
If you scroll up or down the view does not bounce. Further you can scroll down as long as you want (it does not scroll up automatically if the upper end is reached). See the screenshot attached.
To reproduce the bug just start the provided demo in an iOS 10 simulator, navigate to the CollectionView demo and scroll up or down

Hey @iAppDeveloper88
Yeah, it seems to be an issue with this call:
https://github.com/andreamazz/AMScrollingNavbar/blob/master/Source/ScrollingNavigationController.swift#L340
This was a workaround, looks like a need a new one :|

Ok, I can't for the life of me remember why I implemented that method. After some testing everything looks fine. I'll push to master, let me know if that fixes your issue.

Thanks for your fast reply and the fix. Now it is working as it should.

Awesome


Black background bizarre when use showInView

Hi,
Problem using:
- (void)showInView:(UIView *)containerView withContentView:(UIView *)contentView atOrigin:(CGPoint)origin;
Init dropdown view with default style and show in UITableView.
When we scroll in the table and then show 'LMDropdownView' the problem arises.

Scroll on point zero working fine:

Congratulations for the project.
Thank you very much.

hi @Quadram ,
With this method

(void)showInView:(UIView *)containerView withContentView:(UIView *)contentView atOrigin:(CGPoint)origin;

The 'containerView' should be the view of your view controller (self.view) or navigation controller (self.navigationController.view). If the problem still occurs, please post some code so I can find the way to fix it.
Thank you.

Hi @lminhtm , thank you for your response.
I want to display the view on my table, I don't want display on the view of my view controller (self.view) or navigation controller (self.navigationController.view).
Then attached capture as I want to show my containerView:

And so it would show as you say to me:

I use the following code:
`- (void)showDropDownViewFromDirection:(LMDropdownViewDirection)direction {
// Init dropdown view
if (!self.dropdownView) {
    self.dropdownView = [LMDropdownView dropdownView];
    self.dropdownView.delegate = self;

    // Customize Dropdown style
    self.dropdownView.closedScale = 1;
    self.dropdownView.animationDuration = 0.4;
    self.dropdownView.animationBounceHeight = 10;
}
self.dropdownView.direction = direction;

// Show/hide dropdown view
if ([self.dropdownView isOpen]) {
    [self.dropdownView hide];
}
else {

    self.dropdownView.contentBackgroundColor = [UIColor customGreenLightLight];

    if(![self.tableViewPointsNear isHidden]) {
        [self.dropdownView showInView:self.tableViewPointsNear withContentView:self.tableViewSectors atOrigin:CGPointZero];
    }
    else {
        [self.dropdownView showInView:self.mapViewPointsNear withContentView:self.tableViewSectors atOrigin:CGPointZero];
    }
}

}`
Thanks for your help and sorry for my English.

hi @Quadram,
The dropdown view was't designed for displaying inside a tableview at the beginning, so I think you should try to display it in your view controller and modify the origin and your bottom buttons.
Thanks for your report 👍

@Quadram how do you control the origin of the dropdown menu?


[Fix][Doc] Fix rest-api missing content

Purpose of this pull request
en rest-api  v2 missing  a part of info

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

cc @liugddx @gitfortian only en v2 is missing


Event like distruct method

Hi,
I have created new module, in there i want to unset all variables after completion of all operations.
I can do it if i add unset code under all actions of all controllers and all actions has same code instead of this is there any way where i can add unset code at one function / contoller so we have to not wright same code on all actions.
i am using below code to unset all variable of current action/function
$allVar = array_keys(get_defined_vars());
foreach ($allVar as $var) {
unset($$var);
}
unset($allVar, $var);

Why would you do that, ever?
If you want to run a piece of code after each method, after rendering or after the app has finished dispatching, you can add a listener.
Here's a list of MVC events: http://framework.zend.com/manual/current/en/modules/zend.mvc.mvc-event.html#order-of-events
Or this list, easier to read: https://akrabat.com/a-list-of-zf2-events/
Here's an example for how to attach listeners to MVC events:
http://lab.empirio.no/how-to-attach-mvc-events-in-zf2.html

thanks Thinkscape

can be closing this issue ?


[Model] Timesnet giving segmentation fault error for '4Week' period

What happened + What you expected to happen
TimesNet is giving error (ProcessExitedException: process 1 terminated with signal SIGSEGV)  when I am training on '4WEEK' period.
This didn't happen for
TimesNet +   'WEEK' period
other models (GRU, NHITS, etc.)  + '4WEEK' period.
Whole error message  :
---------------------------------------------------------------------------
ProcessExitedException                    Traceback (most recent call last)
File <command-32941315091992>, line 35
     11 horizon = 13
     12 nf = NeuralForecast(
     13     models= [
     14
   (...)
     32
     33 )
---> 35 nf.fit(df) # train_df) # _subset)
     36 preds_nf_df = nf.predict()

File /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages/neuralforecast/core.py:274, in NeuralForecast.fit(self, df, static_df, val_size, sort_df, use_init_models, verbose)
    271         print("WARNING: Deleting previously fitted models.")
    273 for model in self.models:
--> 274     model.fit(self.dataset, val_size=val_size)
    276 self._fitted = True

File /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages/neuralforecast/common/_base_windows.py:734, in BaseWindows.fit(self, dataset, val_size, test_size, random_seed)
    731 self.trainer_kwargs["check_val_every_n_epoch"] = None
    733 trainer = pl.Trainer(**self.trainer_kwargs)
--> 734 trainer.fit(self, datamodule=datamodule)

File /databricks/python/lib/python3.10/site-packages/mlflow/utils/autologging_utils/safety.py:432, in safe_patch.<locals>.safe_patch_function(*args, **kwargs)
    417 if (
    418     active_session_failed
    419     or autologging_is_disabled(autologging_integration)
   (...)
    426     # warning behavior during original function execution, since autologging is being
    427     # skipped
    428     with set_non_mlflow_warnings_behavior_for_current_thread(
    429         disable_warnings=False,
    430         reroute_warnings=False,
    431     ):
--> 432         return original(*args, **kwargs)
    434 # Whether or not the original / underlying function has been called during the
    435 # execution of patched code
    436 original_has_been_called = False

File /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py:544, in Trainer.fit(self, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path)
    542 self.state.status = TrainerStatus.RUNNING
    543 self.training = True
--> 544 call._call_and_handle_interrupt(
    545     self, self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path
    546 )

File /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py:43, in _call_and_handle_interrupt(trainer, trainer_fn, *args, **kwargs)
     41 try:
     42     if trainer.strategy.launcher is not None:
---> 43         return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
     44     return trainer_fn(*args, **kwargs)
     46 except _TunerExitException:

File /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py:141, in _MultiProcessingLauncher.launch(self, function, trainer, *args, **kwargs)
    133 process_context = mp.start_processes(
    134     self._wrapping_function,
    135     args=process_args,
   (...)
    138     join=False,  # we will join ourselves to get the process references
    139 )
    140 self.procs = process_context.processes
--> 141 while not process_context.join():
    142     pass
    144 worker_output = return_queue.get()

File /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages/torch/multiprocessing/spawn.py:145, in ProcessContext.join(self, timeout)
    143 if exitcode < 0:
    144     name = signal.Signals(-exitcode).name
--> 145     raise ProcessExitedException(
    146         "process %d terminated with signal %s" % (error_index, name),
    147         error_index=error_index,
    148         error_pid=failed_process.pid,
    149         exit_code=exitcode,
    150         signal_name=name,
    151     )
    152 else:
    153     raise ProcessExitedException(
    154         "process %d terminated with exit code %d" % (error_index, exitcode),
    155         error_index=error_index,
    156         error_pid=failed_process.pid,
    157         exit_code=exitcode,
    158     )

ProcessExitedException: process 1 terminated with signal SIGSEGV

Versions / Dependencies
1.6.4
Reproduction script
# Creating test dataset

import pandas as pd
import numpy as np

start_date = "2018-12-08"
end_date = "2022-10-08"
dates = pd.date_range(start=start_date, end=end_date, freq='4W')

df1 = pd.DataFrame({
    'ds': dates,
    'unique_id': '1',
    'y': np.random.uniform(0, 1000, size=len(dates))
})
df2 = pd.DataFrame({
    'ds': dates,
    'unique_id': '2',
    'y': np.random.uniform(0, 1000, size=len(dates))
})
df = pd.concat([df1, df2])
df.head()

# from ray import tune
# Outlier robust scaling
# https://nixtlaverse.nixtla.io/neuralforecast/examples/robust_regression.html
from neuralforecast.losses.pytorch import RMSE
from neuralforecast.losses.pytorch import  HuberMQLoss, DistributionLoss
from neuralforecast import NeuralForecast
from neuralforecast.auto import TimesNet, AutoNHITS, AutoLSTM, AutoRNN
from neuralforecast.models import Informer, Autoformer, FEDformer, PatchTST
from neuralforecast.models import NHITS, GRU
quantiles = [0.5]
horizon = 13
nf = NeuralForecast(
    models= [

           NHITS(h=horizon,
              input_size=2*horizon,
              loss= HuberMQLoss(quantiles=quantiles),
              dropout_prob_theta = 0.6,  # dropout to robustify vs outlier lag inputs
             #stat_exog_list=['airline1'],
              n_freq_downsample=[2, 1, 1],
              scaler_type='robust',
          #    alias = 'NHITS',
              max_steps=200,
             # early_stop_patience_steps=2,
              inference_windows_batch_size=1,
             # val_check_steps=10,
              learning_rate=1e-3),

    ],
    freq= '4W-SAT'

)

nf.fit(df) # train_df) # _subset)
preds_nf_df = nf.predict()

# from ray import tune
# Outlier robust scaling
# https://nixtlaverse.nixtla.io/neuralforecast/examples/robust_regression.html
from neuralforecast.losses.pytorch import RMSE
from neuralforecast.losses.pytorch import  HuberMQLoss, DistributionLoss
from neuralforecast import NeuralForecast
from neuralforecast.auto import TimesNet, AutoNHITS, AutoLSTM, AutoRNN
from neuralforecast.models import Informer, Autoformer, FEDformer, PatchTST
from neuralforecast.models import NHITS, GRU
quantiles = [0.5]
horizon = 13
nf = NeuralForecast(
    models= [

           TimesNet (input_size = 2*horizon, # 4*time_len,
                  top_k = 3,                                                   # Number of periods (for FFT).
                  num_kernels = 3,                                             # Number of kernels for Inception module
                  batch_size = 2,                                              # Number of time series per batch
        #          windows_batch_size = 32,  # Number of windows per batch
                  learning_rate = 0.001,
                  h = horizon,
                  loss=RMSE(), # HuberMQLoss(quantiles=quantiles),  # RMSE(),
                  start_padding_enabled = True,
                  scaler_type = 'robust',
                  alias = 'TimesNet',
                #  futr_exog_list = ['Holiday_Flag', 'Temperature', 'Fuel_Price', 'CPI', 'Unemployment'], # Future exogenous #variables                                       )                                                # Horizon
                ),

    ],
    freq= '4W-SAT'

)

nf.fit(df) # train_df) # _subset)
preds_nf_df = nf.predict()

Issue Severity
None

Hey @iamyihwa, thanks for using neuralforecast. We only use the frequency in the predict step, so it shouldn't be related to that. One particular thing I see in your logs is that sometimes the libraries come from /local_disk0/.ephemeral_nfs/envs/pythonEnv-ddd04b3a-0174-4c04-bbcf-7a923ab83f01/lib/python3.10/site-packages and other times from /databricks/python/lib/python3.10/site-packages. Are you using virtualenv? If so you can try installing mlflow there (which seems to be the one coming from a different location).


unexpected MissingParameterException when a help-option is supplied

The example from chapter 2.3, extended by an help-option (e.g. -?), fails if just the help-option is supplied:
@Parameters(hidden = true)  // "hidden": don't show this parameter in usage help message
List<String> allParameters; // no "index" attribute: captures _all_ arguments (as Strings)

@Parameters(index = "0")    InetAddress  host;
@Parameters(index = "1")    int          port;
@Parameters(index = "2..*") File[]       files;

@Option(names = "-?", help = true) boolean help;  // <-- added

Called just with "-?" leads to:
Exception in thread "main" picocli.CommandLine$MissingParameterException: Missing required parameter: port

Thanks for the bug report! Investigating...

Tracked it down to over-eager validation. This is now fixed in master.

I released picocli v0.9.6 for this.
Thanks again for the bug report!

Thanks for the fixing quickly.
And thanks for the nice tool - helps me much.

Glad to hear that!
If you like this project please star it on GitHub and tell your friends! :-)


Update tutorials with V2 primitives

What should we add?
Update the tutorials to adopt V2 primitives by default.

The update can be coordinated with the introduction of a FidelityStatevectorKernel example as in https://github.com/qiskit-community/qiskit-machine-learning/issues/658.

Merging the IEEE 2024 tutorials (issue https://github.com/qiskit-community/qiskit-machine-learning/issues/850) can also be done as part of this work.

This issue should also be taken into account when doing the update: https://github.com/qiskit-community/qiskit-machine-learning/issues/658 .

@OkuyanBoga does the 0.8.1 update resolve this issue? If so, feel free to close it.


API Key?

Hi, I think this is a great idea !!
When I tried this I am getting a message "You didn't provide an API key".  How do I provide it?
Also I don't have access to ChatGPT-4.  Does it work with GPT-3?

Thanks for your note. SQLwrite doesn't use GPT-4. I've added more instructions in the README.md file, and the latest version in the repo now has much nicer error handling. Will issue a new release momentarily!

It's not clear to me that there is a free version. What model are you using? (SQLwrite is still by default using GPT-3.5-Turbo.)

As far as I am aware, the only "free" part is an initial $5 credit to your quota. Then you have to pay.

Lol you are right. There is no free version for the models except for the initial credit.  Just that I have forgotten that and got confused with the ChatGPT 3.5 which I am still getting for free. I apologize!


Mechanics

You should provide a link to a release, not to the repo in the submission in Canvas.

Thank you! We will make sure both links (repo and version) are included in our next submission.
@hsmohammed Is this the only suggestion for our milestone 1?

Feedback understood. Will add two links.
Were able to get more feedback from Hossam.


Add Typescript definitions

Expected Behavior
copy-paste-component should have typescript definitions for every method that it exports
Current Behavior
copy-paste-component does not have any type definitions
Context
For better integration with tools that utilizes typescript, this package should implement typescript definitions for each method that it exports.

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Training About

First of all, thank you for your contribution and excellent work.
Recently, I have been trying to replicate your work. I first pre-trained on static images and BL30K, then main train on DAVIS and YouTubeVOS, and finally used the trained weights for inference. However, when I uploaded the inference results for 2017testdev and 2018YouTubeVOS, the metrics were much lower than yours (about 10 points lower). Just to clarify, I trained on two 3080TI GPUs, and I've ensured that the hyperparameters are exactly as you specified. However, the inference results suggest that I may have overlooked some details. Could you please advise on what might be causing this discrepancy? Also, I noticed in your paper that you mentioned freezing batch normalization layers during main training. Do I need to explicitly freeze them, as I haven't seen any freezing operations in the code?

The default setting, without any modification, should work. See https://github.com/hkchengrex/STCN/issues/108

I'll check the training details again and thank you for your reply


Export Maps in 4.7

TS 4.7 will support export maps 🎉
https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-rc/#esm-nodejs
{
    "compilerOptions": {
        "module": "node16",
    }
}

Woohoo, 4.7 was released: :tada:
https://devblogs.microsoft.com/typescript/announcing-typescript-4-7


Wrong behavior with angular-cli@webpack

Hi, how are you ?
The library not works correctly with the latest version of the cli, I test it with sideNav and it not work, with the dropdown works well
Thank you

Need a bit more info. Maybe share a repository that shows the problem.
If you're in the mood to debug and fix we'd love a PR.
Thanks.

Hey @rubyboy , I have issues as well. I can't get angular2-materialize to work with angular-cli webpack version. I think I am not installing the libraries properly. Did you try it? Any luck?
Regards
Chris

I haven't tried it since @Sixthdim created a PR (https://github.com/InfomediaLtd/angular2-materialize/pull/84) to fix incompatibilities with the CLI on RC-5. Maybe he or @pchristou can comment on this.

I ended up abandoning cli and going back to a RC5 boiler plate of starter pack along with materialize.

This issue is related with the exception
Uncaught TypeError: Vel is not a function
I fixed it hacking the cli at the moment, in node_modules/angular-cli/addon/ng2/models/webpack-build-common.ts I added the following lines in the plugins object:
new webpack.ProvidePlugin({
  $: "jquery",
  jQuery: "jquery",
  "window.jQuery": "jquery",
  Hammer: "hammerjs/hammer"
}),

Doing that the issue is solved until the angular-cli team do that we can use own settings.

As @rubyboy stated, we need a little more detail to provide feedback. How did you set this up in your app? Are you getting any errors with line numbers? I have been using angular2-materialize successfully in my angular-cli webpack.2 app since my PR (https://github.com/InfomediaLtd/angular2-materialize/pull/84). The webpack instructions in the readme worked for me, minus the webpack config part.
Did you import your required scripts in your app.module.ts? Like...
import 'jquery';
import 'materialize-css';
import 'angular2-materialize';

I have not encountered the Uncaught TypeError: Vel is not a function error. I'm not sure what script that would be coming from.

@Sixthdim I'm trying to import it the way you said but I'm getting the following error:
Couldn't find Materialize object on window. It is created by the materialize-css library. Please import materialize-css before importing angular2-materialize.
Is there something else we have to do to import it using angular-cli@webpack?

Hi, the correct way to import jquery and materialize is using the scripts array on the angular-cli.json file, like this:
{   "project": {     "version": "1.0.0-beta.12-1",     "name": "sample-project"   },   "apps": [     {       "root": "src",       "outDir": "dist",       "assets": "assets",       "index": "index.html",       "main": "main.ts",       "test": "test.ts",       "tsconfig": "tsconfig.json",       "prefix": "app",       "mobile": false,       "styles": [         "styles.scss",         "../node_modules/material-design-icons/iconfont/material-icons.css"       ],       "scripts": [         "../node_modules/jquery/dist/jquery.js",         "../node_modules/materialize-css/bin/materialize.js"       ],       "environments": {         "source": "environments/environment.ts",         "dev": "environments/environment.ts",         "prod": "environments/environment.prod.ts"       }     }   ],   "addons": [],   "packages": [],   "e2e": {     "protractor": {       "config": "./protractor.conf.js"     }   },   "test": {     "karma": {       "config": "./karma.conf.js"     }   },   "defaults": {     "styleExt": "css",     "prefixInterfaces": false   } }
Doing the is not necesary to import jquery and materialize-css like @Sixthdim suggest, you must just import angular2-materialize


Fix broken links

I was just browsing the code, and I noticed that a couple of the links in the diesel_codegen README seemed broken/missing. Hopefully I've pointed them towards the right things now :)

Thank you!
We should probably have a check for that in CI (same with links in docs, we had a PR for that as well recently).


Timer doesn't appear in the panel

in Ubuntu 18.04.3.
Show in only one menu is not working also, i still have 3 menus with the timer empty

I can't replicate this on 3.28:


az ad sp create-for-rbac  is missing --name (-n) argument description.

Would be helpful to have a description under "optional arguments". I saw it in examples but had to experiment to find the right form for the name. I expected that info in argument description.

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

ID: e99d25ff-03e2-e015-37f4-a29b59ec50d4
Version Independent ID: 1a8e88ed-72c7-fbe7-b0ad-68f23b3946cd
Content: az ad sp
Content Source: latest/docs-ref-autogen/ad/sp.yml
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jiasli for awareness


Add label field to points, render on map

Users will wish to see the details of Point features.  Add a label property to each point item, and render it.

Data added to main in this commit: https://github.com/debrief/reactol/commit/68f70bd861c1907e302d53a2721376f747c51465

done


ssl error

[CRITICAL] Ghauri was not able to establish connection. try checking with -v set to 5. error '<urlopen error [SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:992)>' occured.

[CRITICAL] _ssl.c:975: The handshake operation timed out. Ghauri is going to retry..


setting the environment variables

Hello guys, Im currently using openruntimes to develop and deploy functions locally. I have 2 questions that i cant seem to find an answer to in the docs.

currently when i change the code of my cloud function, i restart the docker container to see the changes. just wondering what the normal workflow is when developing cloud functions. Is everyone restarting the container to check every code change or is there a quicker workflow ? Im guessing there is no unit test like workflow to quickly test the code as you write it
how do i set up the env variables so that i see them in req.env (nodejs 16)  currently when the function is called the req.env is empty.

This is my current docker compose
version: '3'

services:
  open-runtimes-node-16.0:
    container_name: open-runtimes-node-16.0
    build:
      context: .
    ports:
      - 3000:3000
    environment:
      - INTERNAL_RUNTIME_KEY=secret-key
      - INTERNAL_RUNTIME_ENTRYPOINT=src/index.js
      - APPWRITE_API_KEY=my_api_key
      - APPWRITE_FUNCTION_PROJECT_ID=myproj_key
      - APPWRITE_FUNCTION_ENDPOINT=my_endpoint
    volumes:
      - ./example/:/usr/code:rw
    command: sh -c "sh /usr/local/src/build.sh && cp /usr/code/code.tar.gz /tmp/code.tar.gz && sh /usr/local/src/start.sh"

many thanks in advance

Hi @pishty1!

Sure, that's how you update environment variables, but that's not how the req.env works. Those are actually passed in per execution.
The vars are passed in when executing the function. For example, see https://github.com/appwrite/appwrite/blob/5b4a3805bf7a1ee54cb562fd525dd471069a4cdd/app/executor.php#L499.

@pishty1 do you have any other questions or can this be closed now?

Closing due to inactivity


Create CV_nogit

I am submitting

[X] a new package
[x] an update for a package

Literal Version of current CV package for no GitHub. Useful for not having a default blank space.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE
(I cannot confirm or deny the above, for I have only modified one file from what I downloaded)

[X] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

basic-resume-0.1.0_nogit.zip

Hello, there are a few issues with the structure of the package. However, basic-resume (on which this package seems to be based) v0.1.2 was merged recently and makes the github argument optional. You may want to give a try to the new version before submitting this package.

I'm closing this PR for now, if you still need this fork, please fix the issues with the package structure and open a new one.


✨ Add Eurostat source and Prefect tasks

Summary
Adding Eurostat connector
Importance
To use Eurostat in Prefect 2.0
Checklist

This PR:

[X] follows the guidelines laid out in CONTRIBUTING.md
[ ] links relevant issue(s)
[X] adds/updates tests (if appropriate)
[X] adds/updates docstrings (if appropriate)
[ ] adds an entry in CHANGELOG.md

@Rafalz13 the other "unit" tests are also not unit tests; they try to connect to the actual API. So the mocking in general is incorrect and needs fixing (once you fix it you might as well re-add the to_df() test since it used the same mocking logic as other tests?)


Inconsistent enum naming in schema

There are a few problems with naming consistency regarding our enums:

Some of them use the word "enum" in their names e.g. "WeightUnitsEnum" which seems redundant
some seems duplicated, e.g.: "VoucherType" and "VoucherTypeEnum"
we're either using plain classes for enums or enum.Enum - we should come up with a consistent approach here. I was a fan of using simple classes for that but @patrys recommended migrating to enum. @patrys What are the benefits of using enum in your opinion?

Enums are nice for static type checking. I believe we should also drop the "enum" suffix in the API, it's obvious from their type that they are enums. Do we want a grace period where both names are available not to break existing clients?

Well, it would be nice, I'm only wondering how much effort would that be. Some enums are used as arguments in mutations and there's no way to deprecate input objects.

I'm not suggesting to deprecate input objects, just to expose the type under both the old and the new name and gradually switch to using the new one. Existing clients will remain compatible as the types are identical so all values remain valid. If you use codegen to generate TypeScript types, codegen will update to reference the new ones, worst case, you will need to change a bunch of type imports in your code (types are not used at runtime though so compiled code will keep working).

Also, as part of this, we would like to generate descriptions for the values, refer to: https://docs.graphene-python.org/en/latest/types/enums/#value-descriptions


Update module github.com/google/go-github/v58 to v60

This PR contains the following updates:

Package
Type
Update
Change

github.com/google/go-github/v58
require
major
v58.0.0 -> v60.0.0

Release Notes

google/go-github (github.com/google/go-github/v58)
v60.0.0
Compare Source
This release contains the following breaking API changes:

Turn RequiredStatusChecks Checks and Contexts into pointers (#3070)
feat!: Change Hook.Config field from map to *HookConfig (#3073)

...and the following additional changes:

Bump go-github from v58 to v59 in /scrape (#3069)
Bump golang.org/x/net from 0.20.0 to 0.21.0 in /scrape (#3071)
Update workflow and tools to use Go 1.22 and 1.21 (#3074)
Add test case for JSON resource marshaling (#3075)
Add test case for JSON resource marshaling (#3076)
Rename function parameters to match usage as url parameters (#3078)
Add test case for JSON resource marshaling (#3080)
Bump github.com/PuerkitoBio/goquery from 1.8.1 to 1.9.0 in /scrape (#3085)
Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#3084)
Bump version of go-github to v60.0.0 (#3086)

v59.0.0
Compare Source
This release contains the following breaking API changes:

Add suspended as option to AdminService.CreateUser() (#3049)

...and the following additional changes:

Bump go-github from v57 to v58 in /scrape (#3046)
Fix issue in AcceptedError handling for UploadSarif (#3047)
Fix typos (#3048)
Add MergedAt field to PullRequestLinks (#3053)
Add default workflow permissions for enterprise/org/repo (#3054)
Bump actions/cache from 3 to 4 (#3055)
Add Topics to EditChange struct (#3057)
Add list repo org variables and secrets (#3058)
Fix leaked client transport on copy (#3051)
Bump codecov/codecov-action from 3.1.4 to 3.1.5 (#3061)
Bump github.com/getkin/kin-openapi from 0.122.0 to 0.123.0 in /tools (#3062)
Add custom properties on Repository and PushEventRepository (#3065)
Add support for deployment protection rules (#3050)
Bump codecov/codecov-action from 3.1.5 to 4.0.1 (#3066)
Add ListWorkflowJobsAttempt method to ActionsService (#3060)
Bump version of go-github to v59.0.0 (#3068)

Configuration
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
:warning: Warning: custom changes will be lost.


DAT-15646

  DevOps - Reusable Debian Package Creation Workflow Migration

DAT-15646
Impact

[ ] Bug fix (non-breaking change which fixes expected existing functionality)
[x] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

chore(build.yml): update Maven commands in Build & Test Java 8 and Build & Test Java non-jdk-8 jobs to exclude unnecessary modules
chore(build.yml): remove unused upload_deb job
chore(pom.xml): remove unused plugins and dependencies related to deb packaging
chore(control): remove unused control file
chore(postinst): remove unused postinst file

Let's wait before merging this as the Package artifact job is failing

Please do not merge this until the Jira ticket is set to RTM

@sayaliM0412 I checked the build issue here https://github.com/liquibase/liquibase/actions/runs/5822561979/job/15790327295?pr=4659 but I think it will be gone once merged to master. There are no references to deb stuff in this PR so I guess it is happening the same as other builds where the branch workflow is not the one that is executed in favor of the master workflow file code.