Geometry::closest_distance_between_segments() returns wrong result

Godot version
Godot 3.4, 4.0
System information
Windows 10 64 bits GLES3 GeForce GTX 1060 6GB/PCIe/SSE2
Issue description
I noticed there existed a closest_distance_between_segments function in Geometry. I gave it a try, but it seems to be broken.
If you give it the following segment points:
Vector3(0, -2.5, 0),
Vector3(0, 2.5, 0),
Vector3(2.9888, -5.1938, 0),
Vector3(2.9888, 4.8062, 0)

It returns 0, which is not correct.
Steps to reproduce
print_line(String("Test: {0}")
				   .format(varray(
						   Geometry::get_closest_distance_between_segments(
								   Vector3(0, -2.5, 0),
								   Vector3(0, 2.5, 0),
								   Vector3(2.9888, -5.1938, 0),
								   Vector3(2.9888, 4.8062, 0)))));

Minimal reproduction project
No response

@akien-mga I believe you wrote this function, you may have some insight on this issue ? thanks :)

I don't recall writing any Geometry function no. My name often appears in git blames due to maintenance changes (style, codebase wide API changes, etc.). You need to go further back in history to find what commit actually added code, not last modified it.

I can't find closest_distance_between_segments() in master, but if we're referring to closest_points_between_segments(), the function was written by reduz and is present since Godot was open sourced in 2014: https://github.com/godotengine/godot/blame/d13f2f9e25e380496e706b59720cd85eed299ca2/core/math/geometry.h#L51


test.py

Hello, I didn't find test.py in the code folder , can you provide it?

Added test.py to the repository.

Thank you for your reply. I can't run train.py successfully according to your command python train.py --num_classes 3 --epochs 350 , is there any change in the running code? Or do you need to change the code in the train.py?

What is the error you are getting?

usage: train.py [-h] [-a ARCH] [--width WIDTH] [-j N] [--start-epoch N]
[--epochs N] [-b N] [--lr LR] [--lr_dis LR_DIS] [--wd W]
[--resume PATH] [--devices DEVICES] [--seed SEED] [--warmup N]
[--disable-cos] [--warm WARM] [--val VAL] [--fold FOLD]
[--norm_layer NORM_LAYER] [--optim {adam,sgd,adamw}]
[--com COM] [--dropout DROPOUT] [--warm_restart] [--full]
[--lambda_adv LAMBDA_ADV] [--lambda_vat LAMBDA_VAT]
train.py: error: unrecognized arguments: --num_classes 3
Do you need to make changes to run the code?

Try the latest code without the argument num_classes.

NameError: name 'KFold' is not defined after operation，The code in train.py should need to be updated

The code in utils.py and train.py should need to be updated

The code in brats.py and train.py should need to be updated

I updated the repo. Can you check now?

The training code should be available. Thank you very much for your answer. If you continue to have questions, please ask you again? Thank you again.

Hello, I'm reproducing your code. Please tell me that the number of brats2021 in the training set and tested in config is inconsistent with that in the running process. I put 330 data in my valid and only 77 Val during training. Why?

Hello, the author. I'm running your code. I put 770 data in the training process. During the training process, I found that it was divided into two parts. There was a separate copy of more than 70 data. I started training after running several epochs. How do you understand this? Why divide according to such proportion?

I splitted dataset into training and validation datasets. Validation dataset is used to evaluate model's performance over unseen data during training. Based on performance, I save the best model.
Please follow Kfold function https://github.com/himashi92/vizviva_brats_2021/blob/main/dataset/brats_train.py#L96.

OK, why is the training set split? Can't the valid verification set be directly used to test the performance?

Ground truth masks for the validation dataset are not yet released. You can use the BraTS continuous evaluation portal to evaluate your predictions on the BraTS 2021 validation dataset.

OK, can you provide me with the address of the brats evaluation website?

https://www.synapse.org/#!Synapse:syn27046444/wiki/616991

Hello, just run test Py, the error of AttributeError: 'Namespace' object has no attribute 'lambda_adv'
appears. What is the reason?

After adding parser.add_argument('--lambda_adv', type=float, default=0.3, help='scalar constant adversarial loss')
parser.add_argument('--lambda_vat', type=float, default=0.2, help='scalar constant vat loss')，The error also appears RuntimeError: Exception thrown in SimpleITK ReadImage: /tmp/SimpleITK/Code/IO/src/sitkImageReaderBase.cxx:99:
sitk::ERROR: The file "/media/hkw/hkwdisk/vizviva_brats_2021-main/BRATS2021/Data/valid/BraTS2021_00011_t1.nii.gz" does not exist.
There should be brats2021 after valid_ 00011 this question folder
Can you update test.py code

This test.py code is written according to the brats evaluation. You can modify it in the way you want.


CIV-7518 DONT MERGE

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-7518
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No


Bot should be able to automatically change the server name after polling is completed.

src/app.js:70
await msg.guild.setName(newName); // will fail if manage server permission isnt avail
should be ready to do that already


Not all records returned for route53 (and possibly others)

I realized while using terraforming that I was only getting results back for my first 100 records. I'm not a ruby dev, but after poking around the code, it looks like paging through records where there are more than 100 is not implemented.
Looking at http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/Route53/Client.html#list_resource_record_sets-instance_method
and
http://docs.aws.amazon.com/Route53/latest/APIReference/API_ListResourceRecordSets.html
It would appear only the first 100 records are returned by default.  I'm not a Ruby developer, but I cant see any sign of looping to get the next batch of records in route53_record.rb

This seems to be related
https://github.com/aws/aws-sdk-ruby/issues/620

And here is a fix in puppet for what looks like the same problem
https://github.com/puppetlabs/puppetlabs-aws/pull/245/files

Created a pull request with a fix https://github.com/dtan4/terraforming/pull/160

This issue was fixed at #160 . Thank you @seanodonnell :exclamation:


Run as arbitrary user

Allow ansible-service-broker container to run with an arbitrary user id
Closes #142

@jmontleon should I rebase this PR on your branch or does your branch implement similar changes?

@fabianvf Can you rebase this as of master and @jmontleon's comments? I will review after you ping me.

Tested and working, spoke with @jmontleon and he's happy. ACK


Added TLS1.2 support to client and server.

Added MqttClientSslChannel and MqttServerSslChannel which both utilize an SSL stream.  Added options to both MqttCLientOptions and MqttServerOptions.  I was unable to update the code in MQTTnet.UniversalWindows due to my lack of Windows 10, but the codeset is fairly simple to understand.
Feel free to update any restrictions such as certificate validation, or simply add them to the client options.

I've gone ahead and applied the changes requested.


updated the react render, to use reactDOM.render

Nice! Do you think it'd be helpful to also change <script type=\"text/jsx\" to <script type=\"text/babel\">? I started to make this change a week ago and then got distracted.

yes I think so, I'll do that.
I am not sure why the Travis build failed

Seems like this might be a little tricky, see: https://github.com/Daniel15/babel-standalone/issues/15
Although version 5 still supports in browser transformations.
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
should document this somewhere?


Mapbox has a new API which requires this change.

Had to make the change to my files. Thought i would report it to you as well.

me gustaria ayudar en el proyecto me interesa mucho

podrian contactarme gracias escriban


Feature: VDB update frequency information

Request Description
Hello! I'm just curious about how often the vulnerability database updates, I've looked through the help CLI command, OWASP page, git page and even the source code but can't seem to find any information regarding the update frequency of the VDB or how often it updates.
My initial guess is that the database is updated dynamically every time a new vulnerability is released but that's only a guess.
This is also a suggestion/request to add the database update frequency somewhere because many other SBOM scanners such as Trivy and Grype mentions it for transparency and reliability reasons.
(If it stands somewhere and I missed it I apologize in advance)
Thank you!
Additional Information
No response

@johennin, the update frequency is 6 hours as mentioned here.
https://github.com/AppThreat/vdb/blob/main/.github/workflows/build.yml#L5
Please feel free to fork the vdb repo to customize the update frequency. You can pass the custom download URL using the environment variables here or simply download the file to the VDB_HOME directory before invoking depscan.

Alright, thank you for the quick and precise response!


Revert "added my link"

Reverts newhavenio/FreeSpace#16

Good stuff!

Be sure to sign up at https://hacktoberfest.digitalocean.com and do your four pull requests before the end of October to get your free t-shirt!


[joy-ui][ButtonGroup] Broken styles with custom button elements

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
https://codesandbox.io/s/affectionate-wiles-xzrrzp?file=/Demo.tsx

Create custom Button:

const A = () => {
  return <Button>hi</Button>;
};

Use Button in ButtonGroup

<ButtonGroup>

</ButtonGroup>

Current behavior 😯
The borders of the ButtonGroup are not rounded.
Expected behavior 🤔
The borders of the ButtonGroup should be rounded.
Context 🔦
No response
Your environment 🌎
@mui/joy 5.0.0-beta.9

@PhillipWinder you are correct, And one more thing I observed -> if  <ButtonGroup>  has only one child then the style is correct.

if this issue is ready to take, can I work on this?

@vineetjk go for it! 🙌

sure @danilo-leal, I will work on this

Hi @brijeshb42 , I am able to run the docs locally in my machine. But I am facing a problem while reproducing the bug in playground.
PFA ->

Kindly guide me if I am in wrong direction.
Thanks

Hi @brijeshb42 , I am able to run the docs locally in my machine. But I am facing a problem while reproducing the bug in playground. PFA ->
Kindly guide me if I am in wrong direction.
Thanks

This problem solved by wrapping  playground page with CssVarsProvider
import { CssVarsProvider } from '@mui/joy/styles';

 <CssVarsProvider>
   …
 </CssVarsProvider>

I have found the cause for this bug..  'data-first-child' and 'data-last-child' props are not applied to the buttons which are returned by function or wrapped in <></>

Indeed, it should function with custom buttons. You can make it work by spreading the props to the Button element using this code:
const A = (props) => {
  return <Button {...props}>hi</Button>;
};

You can see an example here: CodeSandbox Link.
I believe the solution is to utilize the React Context API instead of cloneElements. This way, the Joy UI Button component can apply the data-* attributes to the DOM even when wrapped with a custom element.

Hi @ZeeshanTamboli,
You are correct! it works if we spread props to the Button element. But the same issue is not observed in material library
example : https://codesandbox.io/s/stupefied-montalcini-h8t9tc

But the same issue is not observed in material library
example : https://codesandbox.io/s/stupefied-montalcini-h8t9tc

Indeed, that's why I suggested using the Context API; it's what Material UI relies on internally.

Yeah I got it, sure I will do the changes..
thanks :)

I wrote on the newer issue but just to make sure but I'll write here just in case, I have opened a PR proposal, I managed to fix it by just using CSS.
https://github.com/mui/material-ui/pull/41456


Multiple 's Order Not Working

Is this a bug report?
Yes
Have you read the Installation Instructions?
Yes
Environment
"react": "16.6.3",
"react-native": "0.58.3",
"react-native-maps": "^0.23.0",

Steps to Reproduce

(Write your steps here:)

              <MapView
                showsUserLocation={true}
                showsMyLocationButton={true}
                style={styles.map}
                region={{
                  latitude: 39.957278,
                  longitude: -83.002115,
                  latitudeDelta: 0.015,
                  longitudeDelta: 0.0121,
                }}
              >

                /* . FIRST UrlTile shows beneath SECOND
                <UrlTile
                    urlTemplate={'https://dist.com/map/test/Mapnik/{z}/{x}/{y}.png'}
                    maximumZ={18}
                    shouldReplaceMapContent={true}
                />

                /* . SECOND UrlTile shows above FIRST
                <UrlTile
                  /**
                   * The url template of the tile server. The patterns {x} {y} {z} will be replaced at runtime
                   * For example, http://c.tile.openstreetmap.org/{z}/{x}/{y}.png
                   */
                    urlTemplate={'https://mapserver.com/arcgis/rest/services/LandCover/MapServer/tile/{z}/{y}/{x}?token=' + this.context.state.tokenNeoTreks}
                    maximumZ={19}
                />

              </MapView>

NOW REVERSE ORDER
              <MapView
                showsUserLocation={true}
                showsMyLocationButton={true}
                style={styles.map}
                region={{
                  latitude: 39.957278,
                  longitude: -83.002115,
                  latitudeDelta: 0.015,
                  longitudeDelta: 0.0121,
                }}
              >

                /* . SECOND UrlTile shows above FIRST
                <UrlTile
                  /**
                   * The url template of the tile server. The patterns {x} {y} {z} will be replaced at runtime
                   * For example, http://c.tile.openstreetmap.org/{z}/{x}/{y}.png
                   */
                    urlTemplate={'https://mapserver.com/arcgis/rest/services/LandCover/MapServer/tile/{z}/{y}/{x}?token=' + this.context.state.tokenNeoTreks}
                    maximumZ={19}
                />

                /* . FIRST UrlTile shows beneath SECOND
                <UrlTile
                    urlTemplate={'https://dist.com/map/test/Mapnik/{z}/{x}/{y}.png'}
                    maximumZ={18}
                    shouldReplaceMapContent={true}
                />

              </MapView>

I get the same result either say.  I've tried Z-Index on iOS but it doesn't effect anything.
Expected Behavior
The UrlTiles should be able to be ordered visually depending on the order of UrlTile or atleast have some sort of mechanism to determine the order of display for more than one UrlTile applied to the map.
Actual Behavior
You'll notice in the video that the layer containing the red dot data points always moves behind the other UrlTile layer and hides it.  It doesn't matter which order I place the  the result is the same:

Reproducible Demo
Here's a video:
https://s3.us-west-1.wasabisys.com/demos/2019-03-18_16-38-10.mp4

I resolved this issue by going with the fix as described here:  https://github.com/react-native-community/react-native-maps/issues/1181#issuecomment-343874160
Add a key to the layer:
key={Date.now()}

@systemlevel did you add a zIndex to your UrlTiles?

@rborn yeah that’s a great point. I attempted the zindex parameter. It didn’t work for me. The zindex had no effect on my UrlTile layers.
Have you had success with zIndex?  If so do you have a code snippet that demonstrates how you got yours to work?
Thanks so much.


Persist and load multi-cursor processing queue states

What changed?

Wire multi-cursor queue processing logic to persist & load processing queue states.
Add feature flag for both persist and load operation
On load, check if ack level and processing queue states are compatible with each other

Why?
Part of multi-cursor queue impl

How did you test it?
Local canary, verified processing queue state can be persisted to and load from DB.

Potential risks
N/A, feature flag disabled.

Coverage increased (+0.06%) to 67.434% when pulling b16c42d414f21304bcdc1b9d4ab29e74b4e3af44 on yycptt:persist-load-multicursor-states into 63e8bacf5e9811801dc8d94098b341553c242ad5 on uber:master.


Click on placeholder rather next to it

Hello everyone,
I have been trying to modify the way the placeholder works in my project.
Currently, if I click next to the placeholder, it will place the caret where I want it to be and the text will start typing as expected.
However if I click on the placeholder itself, it will select it as a normal text.
Instead, I would like the caret to appear when i click on the placeholder.
Maybe I didn't search hard enough but i haven't found any information on that topic so far.
Thank you

Hi @vincentdegheyndt, have you seen #403? See also the note about placeholder styling on https://draftjs.org/docs/api-reference-editor/.

Thnaks @thibaudcolas,
Yes I have seen that issue and already used a custom css file to prevent that behaviour of the caret as they explain.
However I don't know of any css property that would make the placeholder text "unselectable". If there is then a custom css file should do the trick, I reckon.

Oh that’s strange – Draft.css is meant to come with the styles that do this, I think. Here are the relevant styles:
.DraftEditor-editorContainer {
    background-color: rgba(255, 255, 255, 0);
    border-left: .1px solid transparent;
    position: relative;
    z-index: 1;
}

.public-DraftEditorPlaceholder-root {
    color: #9197a3;
    position: absolute;
    z-index: 1;
}

At least in my editor this seems to be enough for the placeholder to not be clickable, since the "editor container" is in front of it.

This worked !!!
Thank you very much for your help;


Add titles to traffic light bulbs

Add the text that will bi inserted into the message as a tool tip (title) of the color "lights" in the popups.

Sorry, this should have gone to my fork ;-)


Plasma: 5.10.4 -> 5.10.5

Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

nix-shell -p nox --run "nox-review wip" showed some errors, I fixed these errors in the following pull requests: #28500 #28498 #28499

I am getting the following hash error:
output path ‘/nix/store/ca745axwm2qzy1f0fvyvmqbqjygpg0v2-kdeplasma-addons-5.10.5.tar.xz’ has
sha256 hash ‘03a1l3yqf72l9w93i9f3q6wrh41ri37c11rfxrfs8ya97x2qnk5d’ when
‘1xdsa38i60x24p6xiv4x1cqd7f2xijs15c19qsjv594lnmbizbr5’ was expected

Weird...
I re-executed ./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/plasma-5, but my srcs.nix did not change in the current run.

I re-ran the build several times and it eventually succeeded. Probably, some mirror has a bad version.

Thx for retrying! :)

Looks good here. Thanks!


Bump faraday dep version from >= 0.9.2 to >= 2 and migrate custom middleware. Fixes ylecuyer/survey-gizmo-ruby#121

Followed the faraday ~2 update docs here
Also used referenced a some legacy and current faraday source code to guide me in the migration of the custom ParseSurveyGizmo middleware
The new middleware template offered for faraday 2, contains some useful code comments
lostisland/faraday-middleware-template/blob/main/template/lib/gem_path/middleware.rb.erb
The legacy ResponseMiddleware class
lostisland/faraday_middleware/blob/main/lib/faraday_middleware/response_middleware.rb
The new implementation of JSON Response Middleware that is bundled with faraday 2
/lostisland/faraday/blob/main/lib/faraday/response/json.rb
Tests that cover the custom parser are passing. Wasn't sure if there was a need for adding more. I'm fairly new to Ruby to any pointer welcomed and I'm happy to add some specs given a bit of direction 🙏

Thanks for the PR ! sadly I have no more access to survey gizmo (aka alchemer) API to properly test it.
@peret @dgimb89 do you want to give it a try? I saw you work on the playcloudtest fork

@ylecuyer @peret @dgimb89
is anyone able to rereview and progress this fix please?

@ylecuyer @peret @dgimb89 is anyone able to rereview and progress this fix please?

I will have a look on Saturday

@ylecuyer @peret @dgimb89 is anyone able to rereview and progress this fix please?

I will have a look on Saturday

@dgimb89 thanks for the reply on this. Have you had a chance to take a look?


RUM-7894: Fix proguard rules for compose checkbox

What does this PR do?
Checkbox is not visible in obfuscated apks. From an investigation it looks like we need to use keep over keepClassMembers, and also that the path for CheckboxKt should be different.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.96%. Comparing base (f61a42c) to head (cc0834b).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2470      +/-   ##
===========================================
+ Coverage    69.95%   69.96%   +0.01%
===========================================
  Files          786      786
  Lines        29298    29299       +1
  Branches      4889     4891       +2
===========================================
+ Hits         20493    20497       +4
+ Misses        7439     7435       -4
- Partials      1366     1367       +1

see 37 files with indirect coverage changes

Just to clarify, this PR doesn't fix what you've mentioned in the description "also that the path for CheckboxKt should be different.", does it?

Question about the description "that the path for CheckboxKt should be different."
it should be different from what? from debug?


Towards Lurk alpha cleanup + Lurk Beta

[ ] port the demo command from clutch to lurk (#806),
[x] merge the branch / PR that passes LEM benchmarks (#783),
[x] merge #802 (which fixes #800)
[ ] have GPU CI online (#790 )
[x] figure out the bench perf difference in deserialized params vs memory (postponed after #808
[x] decide what's in scope from #657
[x] schedule a "War room" meeting to issue PRs cleaning up Lurk (@huitseeker)
[x] Close #753

In order to make the war room effective, we need to organize ourselves to organize tasks in parallel as much as possible. We can remove Lurk functionality in the reverse order that LEM functionality was introduced. The following seems to be the sensible order, with some items that could be addressed in parallel (e.g. benchmarks and examples):

[ ] Remove Lurk-specific benchmarks, ensuring equivalent functionality is available in LEM.
[ ] Remove functionality in clutch that's already covered in the REPL using LEM.
[ ] Remove functionality in fcomm that's already covered in the REPL using LEM.
[ ] Remove Lurk-specific calls in the REPL, ensuring equivalent functionality is available in LEM.
[ ] Remove Lurk-specific proving, making sure the equivalent functionality and tests are available in LEM and pass.
[ ] Remove Lurk-specific evaluation, ensuring the equivalent functionality and tests are available in LEM and pass.
[ ] Remove the Lurk-specific store.


dear brothers sisters and all. please tell me how to import a project to online code editor. i can download it i can fork it i can save it but no option to import others project. really annoying and confusing about security.

Dear friend we want to specify that this repo is {N} Playground related.
Please use it to provide feedback or report an issue related to {N} Playground only.
If your issue is related to {N} itself please report it to the {N} repo
or search for solution in Stack Overflow.
All issues which are not related to {N} Playground will be closed.
We appreciate your feedback! While we are doing all we can to take care of every
issue, sometimes we get overwhelmed. Because of that, we will consider issues
that are not constructive or problems that cannot be reproduced "dead".
Additionally, we will treat feature requests or bug reports with unanswered
questions regarding the behavior/reproduction for more than 20 days "dead". All
"dead" issues will get closed.
Please, provide the details below:
Did you search for the problem in other open issues in this repo?
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Did you try it outside of {N} Playground?

Yes - it has the same behavior as in the playground
Yes - but the behavior is different (give more information)
No

Which browser are you using?

Chrome
Safari
Mozilla
IE

Are there any errors/warnings logged in your browser console?
Which platform(s) does your issue occur on?

iOS
Android
Both

Are there any entries logged in the Device Logs tab?
Please provide the following information shown in devices tab in the playground:

Model
OS version
Preview app version
Runtime version

Please tell us how to recreate the issue with as much detail as possible.
The best approach would be to get your code running in the {N} Playground and share the link with us, along with any additional details or steps to reproduce needed for examining the issue there.

Duplicate for #5 and #7


Updating API and generating code

This PR adds the port field to LLMServerPool and updates the LabelSelector to be of type map[string]string. The 'why' is clarified in the comments.
Additional minor changes to support the API changes

/lgtm


DCOS-8081: Add Link to status documentation to the status column header

This adds a link to the marathon docs which explains the status column in more detail.

LGTM


"ImportError: cannot import name 'insecure_hashlib' from 'huggingface_hub.utils'

I have this versions of librarys :
huggingface_hub version: 0.24.6
transformers version: 4.44.1
datasets version: 2.13.0
sagemaker version: 2.229.0
Do you have any idea what caused the error?
The error:
UnexpectedStatusException                 Traceback (most recent call last)
Cell In[22], line 5
2 data = {'training': training_input_path}
4 # starting the train job with our uploaded datasets as input
----> 5 huggingface_estimator.fit(data, wait=True)
File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/sagemaker/workflow/pipeline_context.py:346, in runnable_by_pipeline..wrapper(*args, **kwargs)
342         return context
344     return _StepArguments(retrieve_caller_name(self_instance), run_func, *args, **kwargs)
--> 346 return run_func(*args, **kwargs)
File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/sagemaker/estimator.py:1350, in EstimatorBase.fit(self, inputs, wait, logs, job_name, experiment_config)
1348 self.jobs.append(self.latest_training_job)
1349 if wait:
-> 1350     self.latest_training_job.wait(logs=logs)
File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/sagemaker/estimator.py:2720, in _TrainingJob.wait(self, logs)
2718 # If logs are requested, call logs_for_jobs.
2719 if logs != "None":
-> 2720     self.sagemaker_session.logs_for_job(self.job_name, wait=True, log_type=logs)
2721 else:
2722     self.sagemaker_session.wait_for_job(self.job_name)
File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/sagemaker/session.py:5859, in Session.logs_for_job(self, job_name, wait, poll, log_type, timeout)
5838 def logs_for_job(self, job_name, wait=False, poll=10, log_type="All", timeout=None):
5839     """Display logs for a given training job, optionally tailing them until job is complete.
5840
5841     If the output is a tty or a Jupyter cell, it will be color-coded
(...)
5857         exceptions.UnexpectedStatusException: If waiting and the training job fails.
5858     """
-> 5859     _logs_for_job(self, job_name, wait, poll, log_type, timeout)
File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/sagemaker/session.py:8461, in _logs_for_job(sagemaker_session, job_name, wait, poll, log_type, timeout)
8458             last_profiler_rule_statuses = profiler_rule_statuses
8460 if wait:
-> 8461     _check_job_status(job_name, description, "TrainingJobStatus")
8462     if dot:
8463         print()
File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/sagemaker/session.py:8514, in _check_job_status(job, desc, status_key_name)
8508 if "CapacityError" in str(reason):
8509     raise exceptions.CapacityError(
8510         message=message,
8511         allowed_statuses=["Completed", "Stopped"],
8512         actual_status=status,
8513     )
-> 8514 raise exceptions.UnexpectedStatusException(
8515     message=message,
8516     allowed_statuses=["Completed", "Stopped"],
8517     actual_status=status,
8518 )
UnexpectedStatusException: Error for Training job huggingface-qlora-jailbreaks-mistralai--2024-08-22-08-29-48-606: Failed. Reason: AlgorithmError: ExecuteUserScriptError:
ExitCode 1
ErrorMessage "ImportError: cannot import name 'insecure_hashlib' from 'huggingface_hub.utils' (/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/init.py)
The above exception was the direct cause of the following exception
Traceback (most recent call last)
File "/opt/ml/code/run_qlora.py", line 12, in
from transformers import (
File "", line 1075, in _handle_fromlist
File "/opt/conda/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1272, in getattr
module = self._get_module(self._class_to_module[name])
File "/opt/conda/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1284, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback)
cannot import name 'insecure_hashlib' from 'huggingface_hub.utils' (/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/

I solved the issues just by updating all library to latest versions, but now i have probelm about the model:
i have checked and i have valid token but somehow it doesnt work, any ideas?
UnexpectedStatusException: Error for Training job huggingface-qlora-jailbreaks-mistralai--2024-08-22-14-56-40-620: Failed. Reason: AlgorithmError: ExecuteUserScriptError:
ExitCode 1
ErrorMessage "raise EnvironmentError(
OSError: mistralai/Mistral-7B-v0.1 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with use_auth_token or log in with huggingface-cli login and pass use_auth_token=True."
Command "/opt/conda/bin/python3.10 run_qlora.py --bf16 True --dataset_path /opt/ml/input/data/training --gradient_accumulation_steps 2 --gradient_checkpointing True --learning_rate 0.0002 --logging_steps 10 --lr_scheduler_type constant --max_grad_norm 0.3 --merge_adapters True --model_id mistralai/Mistral-7B-v0.1 --num_train_epochs 1 --output_dir /tmp/run --per_device_train_batch_size 6 --save_strategy epoch --tf32 True --use_flash_attn True --warmup_ratio 0.03", exit code: 1


Getting proc first argument must be an iterator with react-native

This problem looks so weird. I am using redux-saga and react-native for developing an android app. I keep getting an error saying proc first argument (Saga function result) must be an iterator as long as I do not start Debug in chrome. When I try to understand the issue by starting Debug in chrome the error goes away and the app works as expected!

The code is so simple:
function* setUserByJwt(getState) {
  const user = jwtDecode(getState().user.jwt).user;
  yield put({type: SET_USER, user});
}

function* watchLogin(getState) {
  yield* takeEvery(SET_JWT, setUserByJwt, getState);
}

function* rootSaga(getState) {
  yield fork(watchLogin, getState);
}

export default function create() {
  const store = createStore(
    rootReducer,
    applyMiddleware(createSagaMiddleware(rootSaga)),
    autoRehydrate() // Comes from redux-persist (The problem still exists when I remove it. So the problem is not related to it.)
  );
}

The error is raised because the middleware runs rootSaga(getState) and checking that the result is an Iterator.
The fact that it works in Chrome debugger makes me suspect something to do with Generator/Iterator support (present in the Chrome emulator but not on the dev. device). But this is just a speculation as I never developed react native apps.
Maybe someone with experience in react native apps could help.

I used es6-symbol and it solved the issue.
At first, the error was "Can't find variable Symbol". So I imported babel-polyfill by mistake while I should had rather used es6-symbol mentioned in #54. For some reason that I still do not understand, it was passing the "Symbol" error and was stopping on "not an iterator" error instead.

The iterator test checks for a Symbol.iterator method on the result. But this should also raise an error kind of Symbol is not defined.
Anyway closing this as it seems more an issue with the underlying platform. Feel free to comment, I can reopen it if necessary


[9.x] Avoid Storing Turbo Frame Visits as Previous URL

There was an issue in the Turbo Laravel package where someone noticed the url()->previous() was behaving weirdly. I traced it down to how Laravel stores the previously visited URL in the session.
I think it's safe to ignore visits from Turbo Frames to get stored as previously visited URL, since that's generally not a URL you would want to redirect users to (since it's mostly for UI fragments, not always entire pages). The only way to override this behavior was by creating a new middleware that extends the StartSession and override that method.
I think it wouldn't hurt to add this to the core or at least provide a way where I could customize this behavior in the package.
Couldn't find tests for this behavior, so I also added a test case just for that behavior.

This feels like opening pandoras box; this is very specific to a single framework, IMO this will only end with more checks for other similar solutions in other frameworks.
I think this belongs in a custom middleware in the projects that require this.

Tbh, I agree. I mainly wanted to see if there was a way to make this more customizable at app or package levels without requiring an entirely new middleware. I'll try to find another way and if I'm not able to, I guess I can only document the need to override this.


Enable log rotation for Fluent::Log

As the log file increases, it becomes difficult to handle the log file.
So, I want to enable the log rotation for Fluent::Log to keep log files down to a manageable size.
I'll add these command line arguments to fluentd command.

--log-rotate-age

The number of old log files to keep, or frequency of rotation (daily, weekly or monthly). The default value is 0.

--log-rotate-size

Maximum logfile size (only applies when log-rotate-age is a number). The default value is 1M.

What happens when --log-rotate-age is 0?

log-rotate-age means "the number of old log files to keep".
When --log-rotate-age is 0,  old log files are not created.

@ganmacs What does it mean? Which one?:

log file will be rotated, but old log will disappear immediately
log file will not be rotated

log file will not be rotated

This one.
Fluent::Logclass uses ServerEngine::DaemonLogger class inside and ServerEngine::DaemonLogger extends Ruby's Logger class.
This is a design by ruby's Logger class( https://github.com/ruby/ruby/blob/7b2d47132ff8ee950b0f978ab772dee868d9f1b0/lib/logger.rb#L769 )

I meant that we should tell users that the default value of --log-rotate-age=0 means "no log rotation" clearly.

I added a description about the case of --log-rotate-age=0.


Managed server not connecting to Admin in a weblogic container

Hi All,
I have created a weblogic container with a domain and admin server using the Oracle registry image and the below command
docker run -d -p 7001:7001 -p 9002:9002 --name WLS_CONTAINER -v $PWD:/u01/oracle/properties container-registry.oracle.com/middleware/weblogic:<IP_ADDRESS>-dev
My container is up and running. I am able to access the admin console via 9002 port (https).
After creating a node manager and a managed server from the admin console, the attempt to start the managed server is failing.

When we attempt to start the managed server from nodemanager, i can see in the debug that it is using startweblogic instead of startManagedWebLogic
When i attempt to start the managed server from docker bash, with the command

startManagedWebLogic.sh  ms1 https://adminip:9002, it fails as it is not able to connect to the admin server.
Please advise on solution for the same.

Are you using the WebLogic Operator?

This does not look like a WKO question, feel free to re-open the issue if I'm incorrect.
For future questions of this nature please feel free to use WebLogic's public #general slack channel at oracle-weblogic.slack.com (sign-up here: https://weblogic-slack-inviter.herokuapp.com/).


N:N example

I've tried adding an n:n for access teams.  Put the owner and the entity record in teh references and no luck.  Error is not helpful either.  Any way to get a screen shot of this utility being used in a WF?

Hello,
Why don't you want to use "Add to Access Team" action instead?

:) i feel dumb... but the view you have to choose the Access team has columns I don't:
To use this saved view, you must remove criteria and columns that refer to deleted or non-searchable items. If you contact support, please provide the technical details.  Now the question is which saved view.?

That's not your problem - it's problem of CRM. Here are steps to resolve it:

Open CRM -> Settings -> Customization -> Customize the System.
Entities -> Team Template -> Views -> Teams Quick Find View.
Delete name column and add it back, Save and Close view, Publish All Customizations.

After that issue with "Access Team Template" lookup should be resolved.

Here's the settings I used that may come in handy for helping others


Microsoft Business Voice GUIDs

Hi,
Would it be possible to also include the SKU GUID besides the SKU part name, similar to how it's done in the licensing service plan reference? In my particular case I'd like to assign some of the  "Microsoft Business Voice *" products using Microsoft Graph (which requires GUIDs as per the docs) as I do with the rest of the products in the aforementioned link (E1, E3, etc), and I was not able to find them anywhere. Alternatively if there is a link I missed or any other source providing the GUIDs , I'd be grateful if you would share it.
Kind regards
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ed46e6b1-48c5-5302-2f38-89c315d4bff7
Version Independent ID: 81053999-79ca-888d-38fa-8978276b6228
Content: Assign Teams add-on licenses to users - Microsoft Teams
Content Source: Teams/teams-add-on-licensing/assign-teams-add-on-licenses.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

@bratsche Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @M0rfic
How are you? Sorry for the late reply.
I see that some Business Voice GUIDs were added in the article you included after you created this issue.
Did you have a chance to look at them?
Thank you

Hi @get-itips
Thank you, much appreciated! They will probably come in handy very soon, for the time being we resorted to checking the service plans included with each subscription, eg MCOEV, TEAMS1 etc, for which we already knew the GUIDs.
Kind regards


Fixes https://github.com/duckdb/duckdb-web/issues/3327

crosslinks re. auto type detection between overview and auto detection pages.

Thanks!


Uploading event photo

Subject: Uploading event photo
Description:
Uploaded a photo for an event to kickstart things with Couchers.
Results:
I uploaded a nice photo. Then the website kept cropping it over and over on its own, now it's blurry and zoomed with no option to change anything.
Backend version: develop-ac60fa25
Frontend version: develop-ac60fa25
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Page: https://couchers.org/event/907/dinner-gathering-in-silicon-valley
User: bk007 (4243)

Not sure what's going on here and how it keeps on getting cropped "over and over"?

I think the user's goal was to upload the whole photo, but when displayed, it was either cropped or cut so only a section of the original upload is shown....just how I interpreted it though based on the photo/page provided.


Create plugin-dingding-json-pusher.yml

Description

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Add link to plugin/component Git repository in description above

Add link to resolved HOSTING issue in description above

Am I missing something or are these not actually there?

Sorry, I missed these steps. Append as required.

@Zintow Thanks; this makes checking the request much easier.


ability to send non-retained command topic messages

The command topic message is retained, causing incompatibility with hass custom alarm via mqtt.  The retained message can cause the alarm to rearm after having been disarmed through some method other than mqtt. This could apply to other situations, but when using hca, disarming through the web interface does not send a new mqtt command, leaving the AMAP command intact.
https://github.com/gazoscalvertos/Hass-Custom-Alarm/issues/81

Thank you!  By the way this app is awesome.


Use GitHub repository variables in the CI

Instead of hard coding test variables like test bucket name or test bucket prefix in the CI, we will be using GitHub repository variables.
This allows us to change the values later without having to create a new pull request, and also allows contributors to easily config these variables in their own forks.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

This allows contributors to easily config these variables in their own forks.

Nice! Thanks for this improvement, @monthonk.

How do we config these variables in our fork or in main repo? I was going through https://docs.github.com/en/actions/learn-github-actions/variables. Are we talking about these?


Don't receive SMS verification code

I'm not receiving any SMS verification code to verify my phone number. What should I do? I want to receive the airdrops.
I'm from Venezuela and my operator is Movilnet (+58 416 ...)

I have the same problem with my  german phone number. (+49 171 ...)


Documentation Suggestions

For people, like me, trying to get started with coach:

Add the installation instructions (or a link explaining where to find them) to the online documents:  https://nervanasystems.github.io/coach/index.html

Add "sudo" as a prerequisite.  When I try to follow the installation instructions in the readme.md, I immediately get an error saying "sudo is not recognized as an internal or external command, operable program or batch file."  What is sudo?  Where do I get it?  I can figure this out via Google, but it's still an obstacle early on.

Now that I've gone to Google:  please make clear that coach only runs on an obscure operating system that most people have never heard of, because you've decided that Microsoft and Apple must die.

Thanks for the feedback.
As the first line of the installation section in the README states, Coach has only been tested on Ubuntu 16.04 LTS and with Python 3.5. A few users have also got it working on OS X with varying levels of success.
We'd appreciate any contributions that enable support of additional operating systems.


What caused this problem? What should I do?In a hurry

You have to use cross C compiler. You are using host C compiler that can build executable for Windows. You need C compiler to build Linux executable.

我有点不太明白您的意思，我办公的win10电脑执行bee pack -be GOOS=linux是没有问题的  但是我得另一台电脑执行这个命令就失败，请问您能告诉我具体该怎么配置我得电脑吗？
translation：
I don’t quite understand what you mean. It’s OK to run bee pack -be GOOS=linux on my win10 computer, but I have to run this command on another computer and it fails. Could you tell me how to configure my computer? Computer?
No problem with office computer
| |
任帅
|
|
@.***
|
签名由网易邮箱大师定制
On 4/21/2021 @.***> wrote：
You have to use cross C compiler. You are using host C compiler that can build executable for Windows. You need C compiler to build Linux executable.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Go compiler use C compiler to build cgo package. Go can build linux executable but you need to use C compiler for Linux (Not Windows).

我明白您的意思，但是为什么我另一台win10电脑就可以把我的项目编译成可以让linux运行的包呢？
translation:
I understand what you mean, but why can my other win10 computer compile my project into a package that can run linux?
| |
任帅
|
|
@.***
|
签名由网易邮箱大师定制
On 4/21/2021 @.***> wrote：
Go compiler use C compiler to build cgo package. Go can build linux executable but you need to use C compiler for Linux (Not Windows).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Because the part of codes are different with Go compiler.
package foo

/*
void Bar() {
    // This part is compiled with C compiler
}
*/
import "C"

func Foo() {
    // This part is compiled with Go compier
}

okey , I understand, thank you very much. next ,I want to use win10 to package my program into a linux executable file. What should I do? Because I am a junior programmer, I don't know how to deal with this problem in detail.
| |
任帅
|
|
@.***
|
签名由网易邮箱大师定制
On 4/21/2021 @.***> wrote：
Because the part of codes are different with Go compiler.
package foo
/void Bar() {    // This part is compiled with C compiler}/import"C"funcFoo() {
// This part is compiled with Go compier
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

As far as I know, there are no good compilers that can build Linux executable for Windows. So you've better to build Linux executable on Linux host (ex: VirtualBox, Cloud, WSL2)

好吧 万分感谢您。
| |
任帅
|
|
@.***
|
签名由网易邮箱大师定制
On 4/21/2021 @.***> wrote：
As far as I know, there are no good compilers that can build Linux executable for Windows. So you've better to build Linux executable on Linux host (ex: VirtualBox, Cloud, WSL2)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


成功迁移logical算子

成功迁移logical算子，并通过单

测

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

Solved.


fix: FluentDatePicker does not update value when current value is null and user selects date from drop down calendar in FluentDatePicker

🐛 Bug Report

💻 Repro or Code Sample
@page "/test"

<FluentDataGrid Items="@People" ShowHover="true" TGridItem="Person">
    <PropertyColumn Width="100px" Property="@(p => p.PersonId)" Title="ID" />
    <PropertyColumn Width="300px" Property="@(p => p.Name)" />
    <TemplateColumn Width="150px" Title="Birthdate" Sortable="true" SortBy="@_sortByBirthDate" Align="Align.Center" Filtered="startDate != null || endDate != null" >
      <ColumnOptions>

            <FluentDatePicker @bind-Value="startDate" Label="Start date" DisabledDateFunc="@DisabledStartDate" />

            <FluentDatePicker @bind-Value="endDate" Label="End date" DisabledDateFunc="@DisabledEndDate" />

      </ColumnOptions>
      <ChildContent>
        @context!.BirthDate.ToString("yyyy-MM-dd")
      </ChildContent>
    </TemplateColumn>
</FluentDataGrid>

    Peoples:
    @String.Join("; ", People.Where(p => p.Selected).Select(p => p.Name))

@code {
    DateTime? startDate =  null;
    DateTime? endDate = null;

    private readonly GridSort<Person> _sortByBirthDate =
      GridSort<Person>.ByAscending(d => d.BirthDate);

    private bool DisabledStartDate(DateTime date)
    {
      return endDate.HasValue && date > endDate.Value;
    }

    private bool DisabledEndDate(DateTime date)
    {
      return startDate.HasValue && date < startDate.Value;
    }

    record Person(int PersonId, string Name, DateOnly BirthDate)
    {
        public bool Selected { get; set; }
    };

    static IQueryable<Person> People = new[]
    {
        new Person(10895, "Jean Martin", new DateOnly(1985, 3, 16)) { Selected = true },
        new Person(10944, "António Langa", new DateOnly(1991, 12, 1)),
        new Person(11203, "Julie Smith", new DateOnly(1958, 10, 10)),
        new Person(11205, "Nur Sari", new DateOnly(1922, 4, 27)),
        new Person(11898, "Jose Hernandez", new DateOnly(2011, 5, 3)),
        new Person(12130, "Kenji Sato", new DateOnly(2004, 1, 9)),
    }.AsQueryable();

}

🤔 Expected Behavior
User should be able to select a Date even if the current value is null.
To reproduce, run this example, and click the filter icon on the Birtdate field. There is a date picker for startDate and endDate. Trying to change the dates by clicking the calendar does not work.
😯 Current Behavior
When user clicks a date from the calendar, the components value is not updated. If the user first types in a new date, that value is applied, and then the date picker works correctly.  Or initializing with a non-null value it will also work.
💁 Possible Solution
No solutions.
🔦 Context
This is an issue as of Fluent 4.8.0 release.
🌍 Your Environment
Chrome Version 126.0.6478.62 (Official Build) (arm64)
Mac OS Sonoma 14.5 arm64

@marciolordelo

Could you give us more details or a small example?
I've tried your example, but everything seems OK. What can I do to reproduce your problem?
What's wrong?

I am having this issue as well.  I can reproduce on the docs site
https://www.fluentui-blazor.net/DateTime

Scroll down to the Default Date Picker section
Clear the selected date from Days view
Try to select a new date, it doesn't select

@dvoituron
https://github.com/microsoft/fluentui-blazor/assets/3911628/bf4b6769-ea9b-4928-b1f6-5b93d4c87814

@dvoituron
https://github.com/microsoft/fluentui-blazor/assets/3911628/e3324f00-7522-47f2-bb7e-7abba70d8140

Could you give us more details or a small example? I've tried your example, but everything seems OK. What can I do to reproduce your problem? What's wrong?

Make sure you're running with fluent 4.8.0.  Also, maybe it's language / country specific somehow?

Fixed with PR mentioned above. You can use preview package newer than 4.8.1-preview.24174.2 to verify

4.8.1 FluentDatePicker not work
https://github.com/microsoft/fluentui-blazor/assets/138755518/da90dd2e-e3ee-4916-8861-9677931c5429

We had to do a patch release (v4.8.1) for an upcoming icons update. We mention this as the only change in the WhatsNew docs.
This release does not include this or any other fixes yet. These will be in v4.8.2

Updated info on releases page as well


what is difference between  audio codec AAC-LC and LC-AAC？

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

When read Recommended Media Support in Alexa Voice Services Docs， I found AAC-LC and LC-AAC audio codec in Music Service Provider (MSP) Audio Formats，like picture blow：

I don't know what the difference between AAC-LC and LC-AAC.
I want to know the difference between AAC-LC and LC-AAC becasue I implemented MediaPlayer with my own mediaplayer, so I want to fix out whether my own mediaplayer support AAC-LC and LC-AAC or not？
In my opinion， AAC-LC and LC-AAC are same audio codec， mean Low Complexity ACC, am I right?
What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @DonghuaZheng, I believe AAC-LC and LC-AAC  are the same. I am double checking with the team and will correct them.  Thanks for bringing this to our attention.

@kclchan thanks


Dell Flash utility not downloading into the correct location so packages do not create v6.4.8

When downloading Dell BIOS files to create a package, the script throws the below error without any detail about what failed.
Error: BIOS flash upgrade utility failed to download. Check log for more details
After looking around it does successfully download the file Flash64W_ZPE.exe to the temp folder, then creates the Flash64Utility folder in the package location as expected. It then tries to find the EXE in the package location to unpack it and fails (as it's only in the temp folder). After placing the EXE in the package location manually and running the process again it got further and unpacked the EXE into that location but the script then failed again because the unpacked Flash64W.exe was not in the temp folder (only in the package folder). To get this to work I needed to make sure that both files were in both locations and the BIOS packages were created correctly in SCCM.
It looks like the folders specified in the scripts are referencing the wrong locations during this function so need re-ordering.
Thanks
Michael

Due to changes within the Flash64W_ZPE exe, the DAT was not handling the flash64w.exe being in a subfolder. Code updated, posting hotfix 2 later today.


Add .gitignore from template Makefile

This commit adds the standard .gitignore from the CBMC template
Makefile, ensuring that all CBMC output directories are ignored.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing in favour of #663


[release/v2.6] Add release docs

Adds script to show Go modules updates from rancher
Adds script to do post release checks, also added a distinction between check actions and actual builds. This will cause dapper to be run using -q --no-out to have a clearer output from the checks.
Adds release steps into docs/ folder, this should be the foundation of keeping changes in the repository and when something was changed/automated

Updated, also added the update README step


[#1088] Update Android Gradle Plugin

Description
Resolves #1088

Blocked by https://github.com/icerockdev/moko-resources/issues/384


If I close LBRY app window, there is no way to get new window without relaunching the app

The Issue
If I click to close the LBRY browser window, there is no way to get a new window except for quitting the app and relaunching it.
Steps to Reproduce

close LBRY window
try every combination of key commands (command-N, etc) to spawn a new window
give up, quit the program, and relaunch LBRY desktop

Expected Behavior
If I close a window, I should be able to open a new one.

Spoke with Julie about this, she will edit the issue. She was hoping a keyboard command would re-open the app. It does minimize to tray and comes back up if relaunching/opening from menu/task tray.


Revert "clean architecture refactoring"

Reverts SaahilKapasi/CSC207-Project#22

The following problems occurred while merging :
To resolve before merging :

renamed frontend folder to view , deployment config not updated accordingly
tests moved without properly updating GitHub workflow


Changes helping build the conda-forge recipe

These are changes in setup.py and setup_support.py that helped build the conda-forge recipe.

This is obsolete


[New game]: BACK TO SPACE 👾

🎮 Game Request
Game logic and basic description

40 Years ago we thought we had defeated them. But they are back! Now it's up to you!
Try blasting the invaders back to space with the controllers in VR, on your phone or by hitting the spacebar on desktop.

Point down the features
Game points

We can get points by hitting the invaders

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @0xabdulkhalid 👋!
@kunjgit here,
We have this annoucement to make 📢!!
💥 Special Announcement:
It's the Call to all the designers 🔥 🎨
As you all know that GameZone has crossed 100 games 💗 , it's time that we all come up together and make the UI even better!!
We are redesigning the thumbnails, make sure you come up with the aesthetic and cool ideas 🚀 !
You are supposed to share the 4 different templates that can be used. Make sure that the size is: 1280 px X 720 px.
The frame should be such that there is only a single image of the game that's taking up the major portion of the frame. Any kind of text should not be there.
The design should be catchy and aesthetic! 🔥
Note: You are not supposed to create any issue right now for the same.
You have to share different designs right now in Discord  and Project Admin would be selecting one design and would be assigning the issue. After that only, you have to start working on it.

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Figure out User Removal from Initiative Semantics

When a user is removed from an initiative what set of portfolios should be removed from the initiative?
Option A: None
Option B: All of the portfolios owned directly by the user, regardless of whether the user added them
Option C: All of the portfolios that the user added to the initiative, regardless of current ownership status
Option D: Both B and C.
@hodie Thoughts?

Can we transfer ownership of portfolios? I mean, I like it, but I don't remember that :)
Independent of that Option A seems like the right thing here. We already have the step of "submission" to make sure that only portfolios that should be in the initiative are in there. Most likely, users would leave an initiative because they don't see the use of being in there anymore. That step should not change the initiative data for e.g., year to year comparisons if we run projects with the same country multiple years in a row (real use case).

@cjyetman your point makes perfect sense from the system perspective, but it wouldn't jive with the NDA we're providing for COP participants or GDPR (at least not without complex ToC that we would need to write and they would need to be able to accept or reject). I also think that many organizations would not be happy with a system that doesn't allow them to delete uploads/submissions if needed.
I completely agree with the goal of having initiative-uploads as stable (or exclusively expansive) as possible, and I hope that the proposed approach (Option A) would take us mostly there. With that option, the only way that a submission would be deleted if the user explicitly deletes the uploaded portfolio or deletes their whole account.
In terms of the initiative believing that there was a portfolio: I don't know enough about upload "registry", but I assumed we'd do a query for downloading/accessing all portfolios and also have queries for "how many portfolios are there right now"?


Add DCO

Signed-off-by: Mike Ng<EMAIL_ADDRESS>

/assign JustinKuli

The actual DCO file has to be in the repo? It can't just be linked from the CONTRIBUTING file?

@dhaiducek trying to playing it safe for:
https://github.com/cncf/toc/issues/744

It says:

GitHub: ensure DCO or CLA are enabled for all GitHub repositories of the project

Maybe it's just referring to the automation check but if it doesn't hurt anything lets just add the file just to be sure. Cheers.


Extern const does not work with generics

include ./constnum

SIG1: extern const Int

foo: func<T>(a: T){
    match(a){
        case b: Int => "matched!"
        case => Exception new("error") throw()
    }
}

main: func{ foo(SIG1) }

constnum is an extern c header file:
#define SIG1 1

Because SIG1 is a const, taking reference of it will cause compiler error.

Looks like the travis build is broken, can you take a look?

Eh, not sure what was wrong with travis..


Ganar-lo-perdido-sin-saltos-cuanticos

I install the system trying to do it following a line. I try to correct dependencies without leaving anything behind.
As a notable tester, I close my eyes and execute.
Uncaught Exception:
Error: spawn /home/alfonso/snap/parity-ui/38/.config/parity-ui/parity ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

This is not parity-ui.


AFHTTPSessionOperation not run on background

Thanks for your library.
I used AFHTTPSessionOperation and add it to NSOperationQueue but it always run on main thread. I want that task will be processed on background thread. Please give me some advice for this.
This is my code:
   // create opertation
    NSOperation *operation = [AFHTTPSessionOperation operationWithManager:_sessionManager HTTPMethod:@"POST" URLString:apiURL parameters:params uploadProgress: nil downloadProgress: nil
    success:^(NSURLSessionDataTask * _Nonnull task, id  _Nonnull responseObject) {
        @autoreleasepool{
            if(responseObject) {
                completion(responseObject,nil);
            }
        }
    } failure:^(NSURLSessionDataTask * _Nonnull task, NSError * _Nonnull error) {
        @autoreleasepool{
            NSLog(@"Error: %@", error);
            completion(nil,error);
        }
    }];
    [_opertationQueue addOperation:operation];

Thanks for you help.

This is not a AFHTTPSessionOperation issue, but rather central behavior of AFNetworking in general. In short, completion handlers are run on the session manager's completionQueue, and if that's nil, they run on the main queue. You can change this behavior by specifying the GCD queue you want the completion handlers run upon:
AFHTTPSessionManager *sessionManager = [AFHTTPSessionManager manager];
sessionManager.completionQueue = dispatch_queue_create("com.domain.app.networkcompletionqueue", DISPATCH_QUEUE_SERIAL);


Fix downloads being overwritten when having multiple items

Fixes #191
- Summary
There was a bug where downloads from the last line item would overwrite other downloads in an order. This is fixed.
- Test plan
Added regression test.
- Description for the changelog
Fix bug with missing downloads on orders with multiple items
- A picture of a cute animal (not mandatory but encouraged)

Just going to merge this since it is rather small and tested in production by smashing.


deep loops

like deepForEach, deepMap, etc..

Args should be extended to include more information about current child and parent.. like current keypath: val, key, currentObj, parentObj, key, superParentObj, ... ?


SW-3127 IUCN conservation category in species CSV

Update the species CSV importer to replace the "Endangered" column with "IUCN
Conservation Category." Unlike the other enumerated columns, it does not accept
localized values since the IUCN category codes are an international standard.

Current dependencies on/for this PR:

main

PR #1255

PR #1256

PR #1257

PR #1258

PR #1259

PR #1260   👈

PR #1261

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #1255

PR #1256

PR #1257

PR #1258

PR #1259

PR #1260   👈

PR #1261

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #1255

PR #1256

PR #1257

PR #1258

PR #1259

PR #1260   👈

This comment was auto-generated by Graphite.


[f] 116 -  Implement sort feature (BE)

Summary by CodeRabbit
Release Notes

New Features

Enhanced comment and like counts for snippets, ensuring accurate reflection of user interactions.
Improved filtering options for audio sources, providing clearer labels for radio stations.
Expanded snippet retrieval functionality with new sorting and filtering capabilities.

Bug Fixes

Automatic updating of like and comment counts through new triggers for improved data integrity.

Chores

SQL migrations and functions added to streamline database operations and optimize performance.

Overall, this PR looks good to me. 💯


Creating embedding is not reproducible

I am using StellarGraph to create embeddings for a particular graph/feature set.  Unfortunately, the embeddings are different each time I create/train the graph despite providing identical information each time.
Is this bug, or am I using StellarGraph incorrectly?
Below is the code that demonstrates the issue:
import networkx as nx
import random
import numpy as np
import pandas as pd
import keras
import stellargraph as sg
from stellargraph.mapper import GraphSAGELinkGenerator, GraphSAGENodeGenerator
from stellargraph.layer import GraphSAGE, link_classification
from stellargraph.data import UnsupervisedSampler

# Establish random seed
RANDOM_SEED = 42
random.seed(RANDOM_SEED)

# Create a graph from well-known karate club data
print(f"Creating graph")
graph = nx.karate_club_graph()

# Create features for each node
print(f"Creating features")
features = []
nodes = list(graph.nodes)
columns = ["c-" + str(x) for x in range(10)]
nodes.sort()
for node in nodes:
    f = {c: random.random() for c in columns}
    features.append(f)

features_df = pd.DataFrame(features)
print(f"features_df: \n{features_df}")

for i in range(2):
    print(f"----- Iteration: {i} -----")

    # Create the model and generators
    print(f"Creating the model and generators")
    Gs = sg.StellarGraph(graph, node_features=features_df)
    unsupervisedSamples = UnsupervisedSampler(Gs, nodes=graph.nodes(), length=5, number_of_walks=3, seed=RANDOM_SEED)
    train_gen = GraphSAGELinkGenerator(Gs, 50, [5, 5], seed=RANDOM_SEED).flow(unsupervisedSamples)
    graphsage = GraphSAGE(layer_sizes=[100, 100], generator=train_gen, bias=True, dropout=0.0, normalize="l2")
    x_inp_src, x_out_src = graphsage.node_model(flatten_output=False)
    x_inp_dst, x_out_dst = graphsage.node_model(flatten_output=False)

    x_inp = [x for ab in zip(x_inp_src, x_inp_dst) for x in ab]
    x_out = [x_out_src, x_out_dst]
    edge_embedding_method = "l2"
    prediction = link_classification(output_dim=1, output_act="sigmoid", edge_embedding_method=edge_embedding_method)(x_out)

    # Create and train the Keras model
    model = keras.Model(inputs=x_inp, outputs=prediction)
    learning_rate = 1e-2
    model.compile(
        optimizer=keras.optimizers.Adam(lr=learning_rate),
        loss=keras.losses.binary_crossentropy,
        metrics=[keras.metrics.binary_accuracy])

    _ = model.fit_generator(train_gen, epochs=5, verbose=2, use_multiprocessing=False, workers=1, shuffle=False)

    # Create the embeddings
    print(f"Creating the embeddings")
    nodes = list(graph.nodes)
    nodes.sort()
    print(f"Nodes: {nodes}")

    # Create a generator that serves up nodes for use in embedding prediction / creation
    node_gen = GraphSAGENodeGenerator(Gs, 50, [5, 5], seed=RANDOM_SEED).flow(nodes)

    embedding_model = keras.Model(inputs=x_inp_src, outputs=x_out_src)
    embeddings = embedding_model.predict_generator(node_gen, workers=4, verbose=1)
    embeddings = embeddings[:, 0, :]

    np.set_printoptions(threshold=10)
    print(f"embeddings: {embeddings.shape} \n{embeddings}")

There are a number of debug (print output) statements when the code is executed. (sample output is shown below).  Note that the embeddings are different despite the identical inputs, graph configuration, model configuration, and random see values.
----- Iteration: 0 -----
:
:
1/1 [==============================] - 0s 58ms/step
embeddings: (34, 100)
[[-0.10566715  0.02253576 -0.18743701 ... -0.1028127   0.03689012
  -0.02482301]
 [-0.03171733  0.01606975 -0.08616363 ... -0.11775644  0.0429472
  -0.02371055]
 [-0.05802531  0.03910012 -0.10229243 ... -0.15050544  0.06637941
  -0.01950052]
 ...
 [ 0.03011296  0.08852117 -0.01836969 ... -0.154132    0.03844732
  -0.08643046]
 [ 0.01052345 -0.0123206   0.08913474 ... -0.11741614  0.03202919
  -0.04432516]
 [ 0.01951274  0.06263477  0.07959272 ... -0.10350229  0.05735112
  -0.0368157 ]]
:
:
----- Iteration: 1 -----
embeddings: (34, 100)
[[ 0.11182436 -0.02642134  0.01168384 ...  0.10322241 -0.01680471
  -0.03918815]
 [ 0.02391489  0.02674667 -0.00091334 ...  0.12946768 -0.02389602
  -0.01414653]
 [ 0.08718258 -0.01711811 -0.05704292 ...  0.13477756 -0.00658288
  -0.05889895]
 ...
 [ 0.06843725 -0.13134597 -0.10870655 ...  0.11091235 -0.05146989
  -0.06138216]
 [-0.00593233 -0.05901312 -0.02113489 ... -0.01590953 -0.02516254
  -0.02280537]
 [ 0.00871993 -0.04059998 -0.07237951 ... -0.01590569 -0.00954109
  -0.01116194]]

@annitrolla @adocherty @PantelisElinas can someone have a look please?
We’ve looked at this issue before, did we narrow it down to the optimiser? I remember that, with the seeds fixed, the random walks and the target-context pairs were the same, initial model weights were the same as well, but then the two models started to diverge while training (even after 1 epoch), for a reason we couldn’t find (everything we looked at was same between the models: initial state, training data, etc.). BUT when we changed the optimiser to the simple sgd instead of adam, the divergence of the two models vanished, and they became identical after training. Every other optimiser we tried (nesterov, adam, etc.) introduced the divergence between the models. Very strange. Seems to be some deeply rooted issue in keras?

@ericbroda actually, your two models are not created equal: their initial weights are different. Before doing anything else, you may want to fix the random seed at the start of EACH iteration in your loop; see https://machinelearningmastery.com/reproducible-results-neural-networks-keras/

@ericbroda actually, your two models are not created equal: their initial weights are different. Before doing anything else, you may want to fix the random seed at the start of EACH iteration in your loop; see https://machinelearningmastery.com/reproducible-results-neural-networks-keras/
Also, I'd suggest upgrading your stellargraph library to the most recent version in the develop branch on github: https://github.com/stellargraph/stellargraph

Not that fixing the random seed in the random library does not fix the random seed for deep learning models. You also need fix the random seeds in tensorflow and numpy, as well as in the generators (as you have done).  See the articles above for more information on this.  However, it is difficult to control for all sources of randomness in deep learning models, as even machine precision noise can affect the optimizer.
Is there a particular reason why you need reproducible training?

@adocherty Reason for requiring reproducible training is to support reproducible clustering to support incremental topic modelling on large corpus that grows daily.  More specifically I am using StellarGraph to create a model then get embeddings which are then used for clustering to support topic modelling.  The data (corpus) grows daily and hence I use induction to continuously grow the model.  Unfortunately, each time I get the embeddings to perform cluster analysis on the new (inducted) data, the embeddings are very different and do not align at all properly.  As a test case, I tried to add (induct) identical data into an existing model and the embedding come out quite differently.  The net-result, is that without this being addressed, a fundamental (identified in the demos also) use-case that use the embeddings for downstream work for production-scale workload (ie. requires continuous updating of models) will not be addressed.

@youph I tried the SGD optimizer and it did not address the embeddings issue (ie. embeddings are still different).  As a side note, changing the optimizer gave measurable poorer accuracy in the model.

@youph I just tried setting the TensorFlow random seed at the beginning of the demo code (code below, as recommended in provided MachineLearningMastery link) and the embeddings still came out different.
RANDOM_SEED = 42
random.seed(RANDOM_SEED)
from tensorflow import set_random_seed
set_random_seed(RANDOM_SEED)

In the interest of completeness, I tried the following steps to ensure all random seeds across python/tensorflow/keras are set (see code below, put at the top of the demo code).  The embeddings still came out differently (ie. this did not solve the problem).
# Establish random seed
RANDOM_SEED = 42

# 1. Set PYTHONHASHSEED environment variable at a fixed value
import os
os.environ['PYTHONHASHSEED'] = str(RANDOM_SEED)

# 2. Set python built-in pseudo-random generator at a fixed value
import random
random.seed(RANDOM_SEED)

# 3. Set numpy pseudo-random generator at a fixed value
np.random.seed(RANDOM_SEED)

# 4. Set tensorflow pseudo-random generator at a fixed value
import tensorflow as tf
tf.set_random_seed(RANDOM_SEED)

# 5. Configure a new global tensorflow session
import keras
from keras import backend as K
session_conf = tf.ConfigProto(intra_op_parallelism_threads=1, inter_op_parallelism_threads=1)
sess = tf.Session(graph=tf.get_default_graph(), config=session_conf)
K.set_session(sess)

One more note:  I tried upgrading to StellarGraph version 0.8.0 and the demo code breaks (Note: the demo code (above, start of this issue) still conforms to pattern in StellarGraph clustering demo).
Any help or ideas are appreciated!
Code:
x_inp = [x for ab in zip(x_inp_src, x_inp_dst) for x in ab]
x_out = [x_out_src, x_out_dst]
prediction = link_classification(output_dim=1, output_act="sigmoid", edge_embedding_method="ip")(x_out)

# Create and train the Keras model
#### Breaks on the line below
model = keras.Model(inputs=x_inp, outputs=prediction)

With the following traceback:
Traceback (most recent call last):
  File "stellargraph_demo.py", line ..., in <module>
    model = keras.Model(inputs=x_inp, outputs=prediction)
  File "/Users/ericbroda/.virtualenvs/gnn/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/Users/ericbroda/.virtualenvs/gnn/lib/python3.6/site-packages/keras/engine/network.py", line 93, in __init__
    self._init_graph_network(*args, **kwargs)
  File "/Users/ericbroda/.virtualenvs/gnn/lib/python3.6/site-packages/keras/engine/network.py", line 231, in _init_graph_network
    self.inputs, self.outputs)
  File "/Users/ericbroda/.virtualenvs/gnn/lib/python3.6/site-packages/keras/engine/network.py", line 1366, in _map_graph_network
    tensor_index=tensor_index)
  File "/Users/ericbroda/.virtualenvs/gnn/lib/python3.6/site-packages/keras/engine/network.py", line 1347, in build_map
    for i in range(len(node.inbound_layers)):
TypeError: object of type 'Activation' has no len()

Re fixing all the seeds: even if all the seeds are fixed at the start of the script, the 2 models in the loop won’t be the same from the start. The easiest thing would be to build and train one model, run the script twice, and compare.

@youph Yes, that works (ie. the embeddings are consistent).
This may be a dumb question, but if the all the seeds (including TensorFlow seed) why is the model different each time?  Is this a TensorFlow/Keras issue?

Fixing the seeds at the start of the script initialises the random generators to fixed states. Building and training the 1st model in the loop uses the random generators, so their internal states are updated, hence the 2nd model (that is built after the 1st without resetting all the random states) is necessarily different. Or are you fixing all the random states at the start of each loop iteration as well?
(I’m on leave without a computer so can’t run the code)

To achieve your ultimate goal of incremental representation learning on the updated corpus, you would need to save model weights between the updates, and restore them to that saved state before doing further sgd on updated data. Does this make sense?

Yes, this makes sense.  Thank you for all of your support!  I will be using your suggestions

Let us know how it works out

@ericbroda I have encountered the same problem. I have tried to save the model weights and to set all the random seeds, but I still couldn't get the same embeddings. Could you please tell me your solution in detail?


OLS-1255: Fix rag-content Tekton descriptors to make the renovate bot happy

This must be a merge gone wrong at some point in the past. The renovate bot silently failed to parse .tekton/lightspeed-rag-content-pu*.yaml and stopped updating the Konflux task references.

/retest

/approve
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-rag-content"


⚠ Bofrost.be has degraded performance

In 9e28915, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1171 ms

Resolved: Bofrost.be performance has improved in e41638c.


Docs overhaul

I'm sure this will cause a lot to need rebasing, but the layout was killing me.
I'm ready to move the source into a ./ref/go/ directory and start framing up protobuf structs or json-schema for a more canonical use as well, but that can wait for another change.
cc @mrunalp @philips @crosbymichael @LK4D4 @tianon @vishh

View it

so much more is needed, this is just a first pass.
Ideally, the *.md should be all someone needs, and the source is just an example.

These seem like useful changes, but they're going to be a lot of
conflicts with #126.  What do I need to do to get some eyeballs on
that?

:+1:

@wking hrm. there is overlap, but you've got some file renaming too that is not idiomatic.

On Thu, Sep 10, 2015 at 12:31:12PM -0700, Vincent Batts wrote:

@wking hrm. there is overlap, but you've got some file renaming too
that is not idiomatic.

I tried my best to be idiomatic, but I'm happy to make any adjustments
that folks ask for.

LGTM

LGTM
@vbatts can you rebase plz?

rebased. PTAL.
On Thu, Sep 17, 2015 at 7:21 PM, Michael Crosby<EMAIL_ADDRESS>wrote:

LGTM
@vbatts https://github.com/vbatts can you rebase plz?
—
Reply to this email directly or view it on GitHub
https://github.com/opencontainers/specs/pull/176#issuecomment-141271048.

On Fri, Sep 18, 2015 at 07:40:45AM -0700, Vincent Batts wrote:

rebased. PTAL.

I left a few copy-edit suggestions with the branch at 159a3ea.  The
only involved change would be mirroring something like my 4cfa5841
(Move hooks from lifecycle.md to runtime.md, 2015-08-28, #126) to
avoid having duplicate hook documentation in both your runtime.md and
runtime-config.md.

I guess the hook duplication needs cleanup too. Was hoping this would mostly be reorg.

alrighty. I deduped the hook's docs.

LGTM

LGTM


Documentation for snapPoints prop is confusing

Hi, I am a bit confused about the doc for the snapPoints prop. At the end of the description there it says, "Note: Array values must be in descending order." Why does it say that? As far as I understand this, I have to provide the snap points like [450, 300, 125, 0]. But, judging from my own experience, this is not necessary, and also the "AppleMusic" example especially doesn't do that either.
@osdnk Could you clear that up for me, please?

I just looked at the code and noticed that sorting the snap points has been there almost from the beginning (here to be exact).
So, in other words, the Note in the snapPoints description is deprecated, or is there something I'm missing?

At least that's how I understood it.
There is an internal proper sorting of the snapPoints happening, which also keeps track of the initial indeces.

Yes, the documentation is deprecated for that. I will submit a PR.


Disable attribute not available in .NET 8 Isolated function apps

As per new upgrade to .NET 8, References to Microsoft.Azure.WebJobs.* should be removed, yet the Disable attribute is not present.
What do I need to use now?

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

ID: 3b7f85a6-7b15-afe0-6443-27512c831553
Version Independent ID: 5caea59e-779c-7b0e-e30b-497d4d1df4c7
Content: How to disable functions in Azure Functions
Content Source: articles/azure-functions/disable-function.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@Ruud-cb
Thanks for your feedback! We will investigate and update as appropriate.

@Ruud-cb Currently, the support for [Disable] attribute in Isolated worker mode is not available and refer [Azure function]Please support [Disable] attribute for isolated-worker mode and item: Make it possible to disable all functions in a function app except a few specified ones.
@ggailey777 Can we add a note in the doc?

@Ruud-cb I hope the above comment answers your question. We are discussing internally with our product team regarding doc changes and will make changes accordingly. We will proceed to close this thread and feel to reach out for any questions.


Fix ToLower() Epic Fail

It broke paths for certain languages

Sorry, took a lot of time to review all of your changes. LGTM, thanks.


format! type spec fails incorrectly

Steps to reproduce
Timex.DateTime.now |> Timex.format!("{ISO:Extended}")
run mix dialyzer
Description of issue
The dialyzer type spec fails with the error
The call 'Elixir.Timex':'format!'(#{},<<_:112>>) will never return since the success typing is ('Elixir.Timex.Convertable',binary()) -> no_return() and the contract is ('Elixir.Timex.Convertable',format::'Elixir.String':t()) -> 'Elixir.String':t() | no_return()

I emailed the author of dialyzer. He's not well versed in Elixir, but maybe had some insight into tracking down this bug.

The problem here is that dialyxir/dialyzer has inferred that the Elixir.Timex':'format!'/2 function will never return. This is typically due to some type being wrongly specified.  As I wrote, I am not versed in Elixir but the function's second argument in both the success typing (binary()) and in the spec/contract ('Elixir.String':t()) looks like a type in Erlang, i.e., it has parentheses at the end.  In contrast, the `type' its first argument does not, i.e. it has no parentheses and (to me at least) looks like an atom.  I would have expected something of the form 'Elixir.Timex.Convertable':some_type() there.  Can it be that this is the culprit?


fixes #1581: off by one docs version list (possible fix)

✅ I have added the tests to cover my changes.
✅ I have updated the documentation accordingly.
✅ I have read the CONTRIBUTING document.
Summary
I believe this will fix #1581
Details and comments
Docs list is off by one and I believe it's simply in the version list generation
I don't have a way to test it since CPLEX won't install on my Mac M1
I also don't see how to test docs either... unless you publish to the qiskit.org site which I would not want to do (obviously).

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

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

Thanks. How do I test the docs generation w/o pushing to Qiskit.org? I could link into the bash script... any other pointers appreciated.

The docs build process is super long for the metapackage, unfortunately.  If you've got tox installed (pip install tox), you can just run tox -e docs, but beware it may well take an hour.  It also will only build the current version of the docs - it won't build all the historical versions.  The current version inserts links to qiskit.org/documentation/stable/, but the files that are there are just whatever was last pushed there by our deployment pipelines.  Ideally that's the correct version, but clearly our deployment has a slight bug.
When we're checking docs PRs, our CI runs the build and publishes the build artifact.  You can see the run here (or you can do some clicking through "Checks" at the top of the PR page, then click the "Tests" heading.  If you scroll down, there should be an html_docs artifact you can download, which is the built documentation.
I made #1598, which I think is the actual underlying issue here (though I haven't properly had time to test it yet, or to re-deploy the broken stable links).

Thanks for the details. I will see what other docs or low hanging issues I can try to tackle next. Best.


Improve GitHub Actions

Merges the doc github action to run in one file and skip if it's not a push to master
Also makes every action only run if it's a push OR a pull request, to prevent double running actions on PRs

This now technically blocks on #1243

Additionally, the changes made to the test matrix can be split into another PR.

Closing this in favor of remaking into separate PRs (and to fix my fork)


new plots placed under the task bar by default

Running ipython on linux from X11 server on Windows using Mobaxterm (an app that packages CygWin for Windows).  And that Windows is run from a Citrix server.  In the Windows session, the task bar is placed on the left of the screen (not at the bottom as is default).
Using the BestEffortCallback, new plots always appear underneath the Windows task bar, as if they have not considered that possibility.  Here's a screen shot:

Expected Behavior
Geometry of any task bar(s) should be considered when placing a new plot window on screen.
Current Behavior
Plots are blocked by the task bar and need to be moved by the user.
Possible Solution
Ask the window manager for the available rectangle boundaries in which a new window will not be blocked.
Steps to Reproduce (for bugs)
See first paragraph.  Might be able to reproduce using linux remote terminal but be sure to move the task bar to the left of the screen.
Context
Only annoying since the text on the left of the plot is occluded.  The window must always be moved to reveal full content.
Your Environment
As stated above.

Does this happen if you just use plt.plot() from an IPython terminal?
I am not sure of the top of my head what the Qt new window placement rules are...

I'll use this code to test and show a screen shot.

Simpler system.
host computer: Windows 10
VirtualBox guest: linuxmint
task bar placement: left side
window placement: on screen, does not block task bar

next comes the system as reported initially

Initial system: Windows 10
Citrix server and window manager: Windows Server 2016 Standard, task bar on left
X11 Server: MobaXterm
linux workstation: RHEL7
window placement: on screen, does not block task bar

FWIW, the ipython session reports these version in use:
In [2]: !conda list qt
# packages in environment at /share1/bluesky/conda_envs/bluesky:
#
# Name                    Version                   Build  Channel
pyqt                      5.6.0            py37h8210e8a_8    conda-forge
pyqtgraph                 0.10.0                     py_5    conda-forge
qt                        5.6.3                h8bf5577_3
qtconsole                 4.4.3                    py37_0
qtpy                      1.5.2              pyh8a2030e_0    conda-forge

In [3]: !conda list matplotlib
# packages in environment at /share1/bluesky/conda_envs/bluesky:
#
# Name                    Version                   Build  Channel
matplotlib                3.0.3                    py37_0    lightsource2-tag
matplotlib-base           3.0.3                    py37_0    lightsource2-tag

@prjemian does this happen with the latest version still? https://github.com/bluesky/bluesky/issues/1180#issuecomment-492296256

I'll test again next week.

Initial system: Windows 11
Citrix server and window manager: Windows Desktop 2022, task bar on left
X11 Server: MobaXterm
linux workstation: RHEL9
window placement: on screen, does not block task bar

In short, problem has been solved (and various components have been upgraded) since my initial report.


[Tackle-233] landscape error including deleted assessments

Issue : Tackle-233

added filter ".deleted is not true" tothe landscape Query

Before :

After :

Thanks @jonathanvila this PR looks good to me.


Xml views are recreated on every view() call.

If you'll try an example from README, you can quickly notice this. The problematic bits seems to be around Anvil.java(289):
                } else if (c == null && (v == null || get(v, "_layoutId") != Integer.valueOf(layoutId))) {

Here _layoutId property from view is an Object and is compared by reference with boxed Integer returned by Integer.valueOf(). Since Integer.valueOf() always returns new object, it will always destroy inflated xml view, and create a new one.

Ok, I see you already addressed it in master branch. Too bad you have boxing all over the place tho.


Set soversion to version

Since there's no ABI guarantees, as mentioned in #243

I think I would add a leading 0. so that if in future this changes we can start using this properly

ok


i18n.js - Can't resolve 'containers/App/constants' after 'npm run clean'

-Node: 7.0.0 (also tried with 6.9.1)
-NPM: 3.10.8
Steps to reproduce:

git clone --depth=1 https://github.com/mxstbr/react-boilerplate.git
cd react-boilerplate
npm run setup
npm run clean
npm start (or npm run start)

Results in:
ERROR in ./app/i18n.js
Module not found: Error: Can't resolve 'containers/App/constants' in '/Users/MyUsername/Work/react-boilerplate/app'
 @ ./app/i18n.js 8:0-58
 @ ./app/app.js
 @ multi main

Fix is adding back a 'constants.js' file in 'containers/App/' with the line:
export const DEFAULT_LOCALE = 'en';

Was just going to report this; I can confirm that after running npm run clean, the resulting project is missing app/containers/App/constants.js.  This was a bit confusing when just starting out.

Ugh, would appreciate a PR fixing this!

I'm on it!

Released as v3.3.1, thanks for the quick fix @adjnor, amazing!

Hey, this issue is popping back up for me.
Inside the /containers/App/ directory there is a constants.js file with
export const DEFAULT_LOCALE = 'en';
However the same error is popping up
ERROR in ./app/i18n.js Module not found: Error: Can't resolve './translations/en.json' in 'c:\Users\sebsc\Development\rampex\rampex-frontend\app'  @ ./app/i18n.js 13:0-59  @ ./app/app.js  @ multi main

@sebscholl I just did a clone, yarn install, npm run clean on current master and translation/en.json is present.

It contains an empty array.
What version of the boilerplate are you using?

@gihrig I didn't use yarn install but npm... maybe there's something in there?

I have been using yarn installexclusively for a couple of months. The resulting dependency tree has been very solid, npm install not so much...
This may not have anything to do with the error you are seeing, but it's a simple experiment. worth a try next time you have a weird problem that seems to have no explanation.
To be fair to npm, this sequence also solves a lot of problems:
rm -rf node_modules
npm cache clean
npm install


fix: clickhouse syntax highlight not working

fix clickhouse syntax highlight not working

Hello @songjiao, sorry for so long response time
I promise, from current moment we will spend more time and give more quickly community feedback
could you try to resolve conflicts with the latest version and add a screenshot in Readme which explained how to syntax highlight working in your branch with complex queries contains macros etc.
Also, could you check with docker-compose compatibility with Grafana 7 with current docker-compose development environment?

@songjiao @Slach Any updates for this pr?

@zifter feel free to make new PR with the same fixes
I not sure this fixes works well on latest Grafana 7.x
could you try to test it?
wget  https://github.com/songjiao/clickhouse-grafana/archive/refs/heads/fix-clickhouse-highlight-not-working.zip
unzip fix-clickhouse-highlight-not-working.zip
cd fix-clickhouse-highlight-not-working
npm run build:prod
cd ../

git clone https://github.com/Vertamedia/clickhouse-grafana.git
cp -fv fix-clickhouse-highlight-not-working/dist ./clickhouse-grafana/dist

cd clickhouse-grafana
touch .env

register on grafana.com
goto MyAccount -> plugins
create plugin
and make API KEY for it
create clickhouse-grafana/.env file with following content
GRAFANA_API_KEY=<API_KEY_FROM_grafana.com->My account>

run
docker-compose run plugin_signer
docker-compose up -d grafana

open http://localhost:3000/ -> Dashboards -> manage
and try to open any clickhouse related dashboard

@zifter did you try to check functionality?

@songjiao thanks a lot for your efforts, I need to close PR due to inactivity, look like the latest master resolves issue with syntax highlight


internal route

I have a route, GET /getData/:format
The format can be XML or JSON. I would like users, when going to GET /getData, to be automatically internally routed to GET /getData/xml. Is this possible?
I am on koa-router@next

is /getData/xml a separate route?

Hello, that is the same route, getData/:format

like this?
var koa = require('koa');
var app = new koa();
var router = require('koa-router')();

app.experimental = true;

router.get('/getData/:format?', function* (next) {
  var format = this.params.format || 'xml';
  this.body = `format is ${format}!`;
  yield next;
});

app
  .use(router.routes())
  .use(router.allowedMethods());

app.listen(8081);

GET /getData -> format is xml!
GET /getData/xml -> format is xml!
GET /getData/json -> format is json!

The problem for me was that /getData did not route to /getData/:format.

did you include the question mark? /getData/:format?

Thanks. I didn't notice that until your pointed it out. I will try it out when I am back home, but I believe that the question mark was what I needed!

The question mark should do it! Please reopen the issue if you have any further questions / problems.


Adjusted file metrics fieldset for long file paths

Increased width sizes and reworked the css to overflow text in a more appropriate manner.

Close #543

This change spreads out the controls so it looks like this:

@stricklandrbls I will approve once the formatting it fixed.

@stricklandrbls I will approve once the formatting is fixed.

@Shanedell Fixed.


[stable/prometheus-node-exporter] Upgrade to 0.18.0

Signed-off-by: David J. M. Karlsen<EMAIL_ADDRESS>What this PR does / why we need it:
Upgrades to latest release
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] title of the PR contains starts with chart name e.g. [stable/chart]

/assign @cpanato

@cpanato ptal?

/lgtm


Transition stops to work correctly when adding startIndex

Bug is related to

[ ] embla-carousel (core package)
[x] embla-carousel-react
[ ] embla-carousel-vue
[ ] embla-carousel-svelte
[ ] embla-carousel-autoplay
[ ] embla-carousel-auto-height
[ ] embla-carousel-class-names
[ ] embla-carousel-docs (documentation)
[ ] embla-carousel-docs (generator)

Embla Carousel version

v8.0.0-rc10

Describe the bug

I have a state where I set the index of the image that it's being clicked to open a modal with a carousel that should open starting on the specific index. I'm trying to use the 'startIndex' prop but it isn't working well... When I set the startIndex with the value I received, the carousel behaves correctly but when I pass to another slide it stops making its transition correctly, making a 'rough' transition.

Expected behavior

I expected the transition to work correctly

@mariaaraujo please always test the latest RC before you create bug reports. At the time of writing it’s v8.0.0-rc15. And creating a CodeSandbox that clearly demonstrates the problem is also mandatory if you want me to look into it.

@davidjerleke Unfortunately I can't update. Last time we did it we had huge problems with the carousel behavior. I fixed the problem with the transition with the solution bellow, but it displays the "scroll" present on the scrollTo() function
 useEffect(() => {
    if (emblaMainApi) {
      emblaMainApi.scrollTo(selectedIndex);
    }
  }, [emblaMainApi, selectedIndex]);

@mariaaraujo from rc10 to rc15 isn’t a big jump . You won’t notice much and the problem you describe is fixed in rc15. I am not going to release v8.0.0-rc10 again which goes against the way of versioning so either make the update or use workarounds. However I do strongly recommend you to upgrade to the latest version.
I can’t know what problems you ran into before when upgrading but if it was major version differences (eg. 7–> 8) yes, there will be breaking changes. However, in most cases trouble arise from a faulty setup in the first place.