Create SelectionSort.py

@fms12  Hello I added Selection Sort In python, with  correct code and also the Time and space complexity. Please check and merge.

@lognoroy it's already done you can check it out.


Add Sankey diagram

About Sankey diagram: https://github.com/d3/d3-sankey

Ah it's called Alluvial Diagram! Sorry, found it. Closing!


[BACKLOG-974] Implemented named configuration control in the VFS dialog.

@mdamour1976 Please Sir!


Courts: adjudication process

Regarding the adjudication process I have the following questions:

Is there a mechanism and requirements for a juror to be part of a specific  court? can a juror be part of several courts?

When a user triggers a dispute they must pay an arbitration fee proportional to the amount of reputation that will be included on the jury. Is there a mechanism for measuring the reputation?

(From @mariapao)

Is there a mechanism and requirements for a juror to be part of a specific court? can a juror be part of several courts?

They can be part of multiple courts, but their reputation in one court is not transferrable to a different court.

When a user triggers a dispute they must pay an arbitration fee proportional to the amount of reputation that will be included on the jury. Is there a mechanism for measuring the reputation?

Reputation will likely be represented as a non-transferrable token, so it would generally be as easy to see how much reputation an address has as it is to see how many tokens they have. The actual reputation mechanism is still not well defined in the paper, but we can track the implementation details of that in #12


Remove old recipes, switch to test config based on env var.

This removes some old conda recipes that were useful at a time
prior to conda-build baking all the config into the pkg at build
time. It now allows for a single TESTS_TO_RUN env var to be set
that determines the subset of tests to run, if the env var is not
set it defaults to all tests.

Codecov Report

Merging #3091 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3091   +/-   ##
=======================================
  Coverage   85.64%   85.64%
=======================================
  Files         328      328
  Lines       69504    69504
  Branches     7875     7875
=======================================
  Hits        59527    59527
  Misses       8720     8720
  Partials     1257     1257


[BUG]buttons not working

Describe the bug
Button Links: buttons don't click
Form Labels: want to Add label form inputs (name, email, message) to improve accessibility.
External Links: external links open in same page
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
can you assign me this issue under the labes of the appropriate level, hacktoberfest and gssoc-ext

Hey @GauriSachan, You can get started. Please go through the entire project for such issues with button, not just the homepage.
All the best!

Hey @GauriSachan, You can get started. Please go through the entire project for such issues with button, not just the homepage. All the best!

hey i was editing the code and i couldn't help but notice that in 1.html the types of food are not clickable >
what i wish to do:
make those options clickable
when user clicks those options then it will take them to a site with restaurants regarding that type of food (this will be for now but if you wish to add your own site you can easily change the site in the code)
so can i do it? if so then can you assign me other level if it seems fit?


Upgrade to ubuntu-20.04 for azure pipeline CI

ubuntu-18.04 is deprecated and will have scheduled brownouts until fully unsupported on 2022-12-01. See for more details https://github.com/actions/runner-images/issues/6002
Microsoft-hosted pipelines supports the 2 latest versions of macOS, Windows and Ubuntu. Now that ubuntu-22.04 is available, ubuntu-20.04 will become the oldest supported version as ubuntu-18.04 is being deprecated.

@jamesobutler thank you for submitting this. I have added it to my queue for review.

@jamesobutler thank you for submitting this. The same comment as for #8319 applies to this PR too:
https://github.com/numba/numba/pull/8319#issuecomment-1214840973

@esc Ok here is the upcoming brownouts where the CI won’t be working for Ubuntu.

August 22, 12:00 UTC - August 22, 16:00 UTC
August 30, 12:00 UTC - August 30, 18:00 UTC

@esc Ok here is the upcoming brownouts where the CI won’t be working for Ubuntu.

August 22, 12:00 UTC - August 22, 16:00 UTC
August 30, 12:00 UTC - August 30, 18:00 UTC

you may want to consider this for the 0.56.x line because Ubuntu 18.04 will be completely unsupported before 0.57.0 is released.

OK; that is very good to know!!

For same reason including https://github.com/numba/numba/commit/81702eb8967327677ce060dac045430da2bc1a97 for the 0.56.x line would be another good idea as macOS-10.15 image is fully unsupported on Azure DevOps by September 30th.

For same reason including 81702eb for the 0.56.x line would be another good idea as macOS-10.15 image is fully unsupported on Azure DevOps by September 30th.

@jamesobutler is that commit on a PR somewhere?

https://github.com/numba/numba/commit/81702eb8967327677ce060dac045430da2bc1a97 was merged into main by way of #8276. That commit has not made it to https://github.com/numba/numba/tree/release0.56 by direct commit or PR.

81702eb was merged into main by way of #8276. That commit has not made it to https://github.com/numba/numba/tree/release0.56 by direct commit or PR.

Thank you!! I've added a comment on #8276 -- we will cherry-pick this onto the release0.56 branch prior to the release.

@jamesobutler thank you again for submitting this! I have reviewed it and it will be merged into main and cherry-picked for 0.56.1.


Release the connection when discovering the column types in the migrator

When the migrator is used to discover the column types, such as when
used with AutoMigrate(), it does not close the query result. This
changes the migrator to close the query result and it also changes the
query to use LIMIT 1 to prevent additional work against the database
when only discovering the schema.
Fixes #3432.

The test failures for sqlserver seem to be caused by this issue rather than anything related to this PR.


Limit font fallback to those in the cache dir

This reduces dependence on machine-specific font configuration, making
tests a bit more reproducible.

LGTM


Improve the log message when we a route matches but cannot find an controller/action.

Following is how the log looks like...

Suggestion: We can clearly mention what action we were looking for and in which controller. Note that I enabled debug logging and probably being very descriptive is not bad.
Example: No action with name 'Foo' found on controller 'Namespace.Home''

@rynowak does this information even exist such that we can log it? We surely know the controller and action tokens but could we reliably say what controller type/namespace it was?

I don't think you can do this in a general/accurate way. There are many cases in which the action might be there but not match due to an httpmethod constraint, an area constraint or any other constraint that the user has assigned to the route (for which you definitely not have text for)

does this information even exist such that we can log it?

We can log the route values - that should be good enough

There are many cases in which the action might be there but not match due to an httpmethod constraint

This isn't that case. We give better logging output already for that case

could be usefull logging some message like this ?
"No actions matched the current request path : '/home/foo' "

Should this rely on RouteValueDictionary's  ToString?

I plan to work on it

Is there a reason why this wasn't closed? It looks like it was fixed with the PR that @juunas11 had merged in.

@programatt I believe you are correct.
@kichalla can you confirm?

d44c9aee1e0fe331158a7c9bb2c88b38d74c72e7


MRG redo truncating y axis on plot_compare_evokeds

This is a bit weird. plot_compare_evokeds doesn't currently disable the y axis, even though there is a lot of code for that purpose (and it looks very nice). I forgot if I did that on purpose, or if it's just a mistake on my part?
Anyway, this is what the evoked viz tutorial looks like with this fix.

Maybe - I remember there might have been bugs associated with it (could you check in the discussion we had back then?) or at least I (and Eric if I'm not mistaken) preferred to have less arbitrary trimming (for example why is it 148 and not 150 in the example above).
Visually I prefer how it looks currently (before the changes in this PR) - so I was probably in favor of not trimming y by default. But I'm not against because one can just set truncate_yaxis=False.

There is actually a "precision" parameter controlling the trimming.
But ok, maybe it'd be best to set truncate_yaxis to default to False then. (Still, it needs to be possible to activate it, which currently is not possible I think :))

@jona-sassenhagen travis is not happy apparently for a good reason.
shall this be merged before #4289 ?

Yes please, merge before #4289.
I've simplified it - now it's just off by default and can be turned on manually.

Codecov Report

Merging #4405 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #4405      +/-   ##
==========================================
- Coverage   82.75%   82.74%   -0.01%
==========================================
  Files         349      349
  Lines       63970    64095     +125
  Branches     9851     9869      +18
==========================================
+ Hits        52939    53038      +99
- Misses       8305     8330      +25
- Partials     2726     2727       +1

@mmagnuski any objections?

@mmagnuski :)

Well, before this one, truncate_yaxis was ignored because I messed up an if clause. So setting truncate_yaxis to False or True currently doesn't change anything.

Fair enough. It seems like this preserves the old behavior, then, and fixes a bug, right? If so just update whats_new as BUG saying truncate_yaxis=True now actually works and we should be good to merge.

Fair enough. It seems like this preserves the old behavior, then, and fixes a bug, right?

Yes!

This should be it then!

Will merge when green because this is so small and I think you've addressed @mmagnuski's comments.
@mmagnuski feel free to look and we can fix anything else you find in #4289, though

Thanks @jona-sassenhagen

Thanks everyone!

Thanks @jona-sassenhagen! :rocket:


Tooltips for controls should appear upon keyboard focus

@weboverhauls Are you looking at simple browser based approach, by adding title attribute to the controls or a more JS based approach?

Browsers unfortunately don't support title attribute upon focus (as they should!), so this needs to be a JavaScript enhancement.


Standalone OpenMP implementation based on Converse User-level threads

Original author: Seonmyeong Bak
Original issue: https://charm.cs.illinois.edu/redmine/issues/1666

The current OpenMP implementation only works with Charm++ and AMPI.
However, this OpenMP implementation basically can work standalone because it only uses converse APIs which are independent of Charm++ and AMPI.
Several things should be done for this but it doesn't require huge changes in the current implementation.

Move the task queue into converse level
The current task queue is used only for OpenMP and there's no reason that it should be in ck-core. It only uses converse constructs.

Initialization of Converse library in OpenMP runtime.
LLVM OpenMP runtime has explicit initialization point so we only need to call 'ConverseInit' there and 'CsdExitScheduler' in the termination of the scheduler.

This work can bring many benefits other than the modularity of the OpenMP implementation.

We can accelerate all existing OpenMP applications with our work.
Because the OpenMP works on converse and can use all the feature of the converse, we can provide better OpenMP implementation
compared to the vanilla LLVM OpenMP and other OpenMP implementations including research OpenMP implementations such as ForestGOMP and BOLT.
In current implementation, we can accelerate only MPI + OpenMP applications other than Charm++ applications. However, MPI and Charm++ are only used for scientific applications, which have very limited pool of users.
If we want to see some applications we haven't touched, we should be able to run other parallel apps beyond MPI and Charm++.
OpenMP has bigger user pool and been used beyond academia and scientific applications such as machine learning and data analysis apps directly or indirectly through libraries.

OpenMP with other high-level languages and parallel frameworks.
There are many parallel frameworks in high-level languages which adopts fork-join model instead of message passing model.
We can accelerate these frameworks with our OpenMP in many ways.  Even though we're working on python support of Charm++, it just ports Charm++ constructs into python and still highly complex to use for ordinary users.

Original author: Seonmyeong Bak
Original date: 2017-09-06 04:56:53

Basically, it works with a few lines of codes in converse and OpenMP runtime.


You got scanned page...

Add a page to https://csirt.divd.nl for scanners to redirect to.

Please recheck, @cookiemonster


Question with faker locale

In faker one can choose the locale being used to generate values by using Faker\Factory::create('pt_BR');, how can I do something similar with fogger?

Take a look at kaboodle-solutions fork, the faker locale support is implemented there. https://github.com/kaboodle-solutions/fogger


Test compatibility with Airports DLC

https://store.steampowered.com/app/1726380/Cities_Skylines__Airports/

The Airports expansion allows you to build your own airport areas, set up gates and connect them via concourse networks. Design your dream airports, from small airfields to large international hubs.

TMPE will require an update because of a breaking change in one of vanilla methods we are patching.

Fixed in #1305


iCloud Sync Error for select folders

Are there any related issues?

Not that I can see
What operating system are you using?
Sierra 10.12.3
What version of Nylas Mail are you using?
10.0.20
--
Bug?
Do you have any third-party plugins installed? If so, which ones?
No
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
It looks like mostly an iCloud issue, but my G Suite trash folder is also struggling to sync.
Is the issue reproducible with a particular attachment, message, signature, etc?

Not that I'm aware of.
Description
Basically a few folders from my iCloud email are not syncing at all (along with the trash folder from my G Suite). Running Mail with Debug Flags shows only one error, and the popup saying "Encountered an error while syncing" is permanently in place. The error reads:
/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/fbjs/lib/warning.js:36 Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of SyncActivity. See https://fb.me/react-warning-keys for more information.
There's no correlation between the folders that would indicate it's an account issue, so I can't work out why this isn't working. I also have 2FA enabled, using an app password if that helps at all.

Maybe related...
I keep getting "Encountered an error while syncing<EMAIL_ADDRESS>Oddly enough, I have two iCloud accounts - one an older one that I still use with @me.com and a newer one. The older one is the one getting this error.
Nothing in Developer Console when running Nylas Mail with Debug Flags apart from a possible memory leak in EventEmitter.
These are the /var/folders/xq/v2lxchv50db8x79s70rywzyh0000gn/T/Nylas-Mail-7138.7145.log logs:
{"host":"Nikitas-MacBook-Air.local","timestamp":"2017-02-05T08:22:42.234Z","payload":[]}
{"host":"Nikitas-MacBook-Air.local","timestamp":"2017-02-05T08:22:42.558Z","payload":["ActionBridge: default Action Bridge Broadcasting: willMakeAPIRequest"]}
{"host":"Nikitas-MacBook-Air.local","timestamp":"2017-02-05T08:22:45.304Z","payload":["ActionBridge: default Action Bridge Broadcasting: notifyPluginsChanged"]}
{"host":"Nikitas-MacBook-Air.local","timestamp":"2017-02-05T08:22:46.632Z","payload":["ActionBridge: default Action Bridge Broadcasting: didMakeAPIRequest"]}
{"host":"Nikitas-MacBook-Air.local","timestamp":"2017-02-05T08:22:46.830Z","payload":["ActionBridge: default Action Bridge Broadcasting: didMakeAPIRequest"]}
{"host":"Nikitas-MacBook-Air.local","timestamp":"2017-02-05T08:22:49.815Z","payload":["ActionBridge: default Action Bridge Received: db-store-trigger"]}
(last one repeats indefinitely)```

I have the same iCloud issue as @skyesofrock
Folders have synced (i.e. i can see the folders names) but nothing inside any of them.
Tried to pull debug logs but i don't see any actual errors 👎

thanks for the details!I think the error you are seeing must be related to this one https://github.com/nylas/nylas-mail/issues/3198#issuecomment-275507500

Just resolved the iCloud sync issue by going into iCloud.com and deleting some old folders (Mailbox, Mailpilot, Airmail). My hunch is that nested folders (Mailbox/Foo) might have been an issue...

this should be fixed on 1.0.26 which was released today! Thanks for your patience!

Can confirm it's working, thanks for the fix!


Interpret content-type header for 'application/x-www-form-urlencoded' correctly

Sometimes the Content-Type header can have additional information, such as charset.  Also, there should only be one Content-Type header in a HTTP Request.
This PR fixes interpretation of the application/x-www-form-urlencoded by comparing only the beginning of the Content-Type header value instead of testing for equality.


cannot specify build target

Describe the bug
while running svelte-kit build i cannot set the build target, it says
"build_server: The value for kit.vite.build.target specified in svelte.config.js has been ignored. This option is controlled by SvelteKit."
and when i then try to build a project where i use BigInt it says
"> Transform failed with 1 error: app.js:2052:9: error: Big integer literals are not available in the configured target environment ("es2018")"
Reproduction

create an empty ("skeleton") sveltekit project (with the node-adapter)
create an index.js file in src/routes and fill it with

export function get () {
	let n = 10n

	return {
		status: 200,
		body: n.toString()
	}
}

overwrite your svelte.config.js to

import node from "@sveltejs/adapter-node"

export default {
	kit: {
		adapter: node(),
		vite: {
			build: {
				target: "esnext"
			}
		}
	}
}

Logs
$ npm run build

><EMAIL_ADDRESS>build
> svelte-kit build --verbose

vite v2.6.3 building for production...
✓ 13 modules transformed.
.svelte-kit/output/client/_app/manifest.json               0.96 KiB
.svelte-kit/output/client/_app/layout.svelte-65943d9d.js   0.53 KiB / gzip: 0.35 KiB
.svelte-kit/output/client/_app/error.svelte-1cfc6a4a.js    1.56 KiB / gzip: 0.74 KiB
.svelte-kit/output/client/_app/assets/start-61d1577b.css   0.16 KiB / gzip: 0.15 KiB
.svelte-kit/output/client/_app/start-6f07df61.js           15.17 KiB / gzip: 5.91 KiB
.svelte-kit/output/client/_app/chunks/vendor-af0f2ef7.js   7.08 KiB / gzip: 2.89 KiB
  build_server: The value for kit.vite.build.target specified in svelte.config.js has been ignored. This option is controlled by SvelteKit.
vite v2.6.3 building SSR bundle for production...
✓ 14 modules transformed.
[vite:esbuild-transpile] Transform failed with 1 error:
app.js:2052:9: error: Big integer literals are not available in the configured target environment ("es2018")

Big integer literals are not available in the configured target environment ("es2018")
2050|
2051|  function get () {
2052|   let n = 10n;
   |           ^
2053|
2054|   return {

> Transform failed with 1 error:
app.js:2052:9: error: Big integer literals are not available in the configured target environment ("es2018")
Error: Transform failed with 1 error:
app.js:2052:9: error: Big integer literals are not available in the configured target environment ("es2018")
    at failureErrorWithLog (C:\Users\User\OneDrive\Programming\small_projects\javascript\testing\sveltekit\nft\test\node_modules\esbuild\lib\main.js:1493:15)
    at C:\Users\User\OneDrive\Programming\small_projects\javascript\testing\sveltekit\nft\test\node_modules\esbuild\lib\main.js:1282:29
    at C:\Users\User\OneDrive\Programming\small_projects\javascript\testing\sveltekit\nft\test\node_modules\esbuild\lib\main.js:629:9
    at handleIncomingPacket (C:\Users\User\OneDrive\Programming\small_projects\javascript\testing\sveltekit\nft\test\node_modules\esbuild\lib\main.js:726:9)
    at Socket.readFromStdout (C:\Users\User\OneDrive\Programming\small_projects\javascript\testing\sveltekit\nft\test\node_modules\esbuild\lib\main.js:596:7)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:199:23)

System Info
  System:
    OS: Windows 10 10.0.19043
    CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
    Memory: 8.02 GB / 15.93 GB
  Binaries:
    Node: 16.10.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.24.1 - ~\AppData\Roaming\npm\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1023.0), Chromium (94.0.992.38)
  npmPackages:
    @sveltejs/adapter-node: next => 1.0.0-next.53
    @sveltejs/kit: next => 1.0.0-next.180
    svelte: ^3.43.0 => 3.43.1

Severity
serious, but I can work around it
Additional Information
no additional information

This PR by @GrygrFlzr is the one introduced target: 'es2018' and there're explanation for the reason behind it: https://github.com/sveltejs/kit/pull/486#issuecomment-797194660
As I see it, es2018+ is there to support async/await syntax. Does it mean that we can simply change the value to es2020? Or at least can we allow users to override the target with any value satisfying es2018+?

Just found that one of yesterday's PRs (#2604) partially solved the issue. Now the target is es2020 so it is okay to use big integer literals, but it still shows a warning if svelte.config.js tries to override the target.

I think we should allow build.target to be changed, and have es2020 as the default. I don't think it would be easy to validate the value to be higher than es2020 though, esbuild's target option is magnificently flexible, e.g. chrome80, firefox90.  Feel free to send a PR to apply my first sentence :)

@bluwy Thanks for helpful comment. Just made a draft PR. Could you please take a look at it, and let me know if this is a good way to go?


Datepicker Popup Bug on Min / Max Date

Bug description:
Min and Max Date in Datepicker Popup doesn't work either by defining min-date / max-date attribute or by setting datepicker-options
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/y1DvReVwFxFTk1UVR1yJ
Version of Angular, UIBS, and Bootstrap
Angular: 1.5.7
UIBS: 1.3.3
Bootstrap: 3.3.6

Please extend us the courtesy of searching big open and closed issues prior to entering a new one as this is a duplicate.

Still not working
http://codepen.io/Koutroupis/pen/YGQZOw


Add WORKING_DIRECTORY environment variable to .env file

Just an idea, since load_cfg.py file is loading environment variables and it's looking for a WORKING_DIRECTORY variable which isn't included in the example .env, replacing it with './data_storage' which may not be where the user has their data stored.

You're right. That's the old version of the variable name.


Batch upload

The following patch adds support for uploading several files at a time. At the same time, it adds support for standard input, so the data can be piped to the script.

I tested the Automator service and it works :) (the old one had stopped working for me)


[Bug Report] After click payment link no UI reaction

Platform
Desktop
Version
1.4.2
Description
After clicking the payment link the Firefly Desktop app opens and the payment is prefilled. But since I want to send from another wallet (same profile) I click on the wallet symbol. Then the wallets are shown (left button stil the "Payment details added from IOTA link" active), but the UI does not responds
Close app - restart
Expected behaviour
as in the previous version 1.3.3 (? at least I think so), I could change the wallet and proced with the payment
Actual behaviour
UI freezes
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

click IOTA payment link
click on wallet symbol (left toolbar) (profile needs to have multiple wallets)
click on another wallet -> wallet will not change (restart needed)

Operating System
Windows
Diagnostics
Firefly v1.4.2
Language: en
Currency: EUR
Node selection: Automatic
Platform: win32
Platform Version: 10.0.22593
Platform Architecture: x64
CPU Count: 12
Total Memory: 32519.3 MB
Free Memory: 13903.9 MB

Developer Profile
No
Profile Type
Hardware (Ledger)
Staking
Previously staked
Crash Status
Non-responsive
Error Messages
Diagnosis was after restart
Error Logs
not available

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thank you! This will be fixed with UI changes in 1.5.0, therefor I will close this.


Update lifecycle payload with new fields and remove deprecated fields

add the entitlementNumber and entitlementId fields to the framework lifecycle payload and update database evolutions to reflect this change. (https://bitbucket.org/atlassian/atlassian-connect-spring-boot/commits/47bc041f6fad92b514baedcf095600b7ec1826b5)
add missing displayUrl and displayUrlServicedeskHelpCenter to AtlassianHost model
remove the deprecated publicKey field from the AtlassianHost model (https://ecosystem.atlassian.net/browse/ACSPRING-159)
remove the deprecated serverVersion and pluginsVersion fields from the AtlassianHost model
remove findByBaseUrl method from AtlassianHostRepository (https://ecosystem.atlassian.net/browse/ACSPRING-160)

Fixed by #73


Change PHP logo and color

This is my design now. I was busy with making the logo responsive to both light and dark terminal. If you want to change something, please feel free to let me know 😄 (#228)

Hi @rootEnginear,
Here is what I get, when I run your code:

Few Remarks:

the correct syntax to color your ASCII is {N}, not ${N}. More info here
Following #179, we stopped using bright colors. Saying that I think we should get rid of them from the Color Enum (I'll do that)

Looking forward to merge your PR.

Sorry for your inconvenience. I have updated the ASCII modifier and the palette, please check this again 😉

Looks amazing @rootEnginear
Hopefully, this won't be your last contribution. Thanks again :1st_place_medal:


PR: [WIP] update_font script

Hi @dalthviz @ccordoba12
related to #188, #189, #191
This is a draft of the update_font.
For example,
(1) Codicon is updated to the latest release (0.0.26)
python update_font.py --prefix=msc --version=0.0.26 --cmaphex=0x --nopatch
Update started

Info URL      : https://github.com/microsoft/vscode-codicons/commit/a409f88773a7690461aaa651bd699271ee39e367

Charmap URL   : https://github.com/microsoft/vscode-codicons/raw/0.0.26/dist/codicon.css
Charmap Path  : qtawesome/fonts/codicon-charmap.json

Charmap Count : 476
Charmap Hex   : 0x

Font URL      : https://github.com/microsoft/vscode-codicons/raw/0.0.26/dist/codicon.ttf
Font Path     : qtawesome/fonts/codicon.ttf

Font md5sum   : 805fb6ad1751ed8b849b5bf9be742ab5

Patch Font    : nothing

Update finished

(2) FontAwesome5 Brands is updated to the master branch version
python update_font.py --prefix=fa5b --compat
Update started

Info URL      : https://github.com/FortAwesome/Font-Awesome/commit/7cbd7f9951be31f9d06b6ac97739a700320b9130

Charmap URL   : https://github.com/FortAwesome/Font-Awesome/raw/master/metadata/icons.json
Charmap Path  : qtawesome/fonts/fontawesome5-brands-webfont-charmap.json

Charmap Count : 457
Charmap Hex   : asis

Font URL      : https://github.com/FortAwesome/Font-Awesome/raw/master/webfonts/fa-brands-400.ttf
Font Path     : qtawesome/fonts/fontawesome5-brands-webfont.ttf

Font md5sum   : b37ae0f14cbc958316fac4635383b6e8

Patch Font    : utf-8      Font Family Name         -> Font Awesome 5 Free Brands
Patch Font    : utf-8      Full Font Name           -> Font Awesome 5 Free Brands
Patch Font    : utf-8      Typographic Family Name  -> Font Awesome 5 Free Brands
Patch Font    : utf-8      WWS Family Name          -> Font Awesome 5 Free Brands
Patch Font    : utf-16-be  Font Family Name         -> Font Awesome 5 Free Brands
Patch Font    : utf-16-be  Full Font Name           -> Font Awesome 5 Free Brands
Patch Font    : utf-16-be  Typographic Family Name  -> Font Awesome 5 Free Brands
Patch Font    : utf-16-be  WWS Family Name          -> Font Awesome 5 Free Brands

Font md5sum   : e4a11520df4bb6e8912e845c973ea212

Update finished

(3) Material Design Icons is updated to the v6.5.95 with default font patching
python update_font.py --prefix=mdi6 --version=v6.5.95
Update started

Info URL      : https://github.com/Templarian/MaterialDesign-Webfont/commit/8cfdab3f63b70c2948e68e134d58aab63e430a39

Charmap URL   : https://github.com/Templarian/MaterialDesign-Webfont/raw/v6.5.95/css/materialdesignicons.css
Charmap Path  : qtawesome/fonts/materialdesignicons6-webfont-charmap.json

Charmap Count : 6595
Charmap Hex   : asis

Font URL      : https://github.com/Templarian/MaterialDesign-Webfont/raw/v6.5.95/fonts/materialdesignicons-webfont.ttf
Font Path     : qtawesome/fonts/materialdesignicons6-webfont.ttf

Font md5sum   : b62641afc9ab487008e996a5c5865e56

Patch Font    : utf-8      Font Family Name         -> qta+b62641@Material Design Icons
Patch Font    : utf-8      Full Font Name           -> qta+b62641@Material Design Icons
Patch Font    : utf-8      PostScript Name          -> qta+b62641@MaterialDesignIcons
Patch Font    : utf-16-be  Font Family Name         -> qta+b62641@Material Design Icons
Patch Font    : utf-16-be  Full Font Name           -> qta+b62641@Material Design Icons
Patch Font    : utf-16-be  PostScript Name          -> qta+b62641@MaterialDesignIcons

Font md5sum   : 83f6f66aa42bf77cb652faf1962e5a65

Update finished

The update_font.py can update the corresponding font for each prefix.
The following options can be specified.
  --prefix {fa,fa5,fa5s,fa5b,ei,mdi,mdi6,ph,ri,msc}
  --version VERSION (git branch or tag)
  --cmaphex {asis,no,0x,0X} (for control charmap's value format, default: asis)
  --nopatch (don't patch font)
  --compat (run the original font patch for fa5/fa5s/fa5b)

As default, font family is renamed to f"qta+{md5sum(font)[:6]}@<original family>".
If you don't mind a lot of diffs, by update_font.py with --prefix and --version, all fonts can be updated without collide.
I think it is defficult for this update_font.py to merge to setupbase.py keeping compatibility.
In setupbase.py, FontAwesome5 zip is downloaded and processed but this is much special than other fonts.
So, I changed that, in update_font.py, FontAwesome5 ttf is downloaded and processed same as other fonts.
Could you try it and give me some feedback?

Hi @kumattau thank you for all the work on this !! After a quick review I think it could be nice to have this in the console_scripts entrypoint (add in setup.py an entry to the console_scripts pointing to the main function of the update_font script as is done for icon_browser) and add the missing/outdated documentation. Will check locally the script :+1:
Furthermore, seeing that each font can potentially implement it's own logic if needed as done for FontAwesome5. I think this work kind off standarizes and makes available an utility command to update all the fonts available in a more in context way that using distutils.cmd.Command as interface/base abstract class. Seems resonable to me then to remove setupbase in favor of update_font.
However, just in case, what do you think @ccordoba12 ? Do you know if is there any reason to keep using the current approach with distutils.cmd.Command ?

I added --cmapfmt option for more charmap formatting.
The original Material Design Icons's charmap is "ab-testing": "F01C9",
but qtawesome's charmap is "ab-testing": "0xf01c9".
To convert from original to qtawesome, the following options needs to specified.
# convert charmap value to f"0x{value.lower()}"
python update_font.py --prefix=mdi6 --version=v6.5.95 --cmaphex=0x --cmapfmt=lower

Thank you for feedback @dalthviz, I will try console_scripts !
Related to https://github.com/spyder-ide/qtawesome/issues/188#issuecomment-986828450,
but the problem with this script is that it can update fonts, but it cannot add fonts.
This is because patch_iconic does not work well and it is difficult to add new font definitions in the python source (__init__.py).
To add new font, I think it is easiest to stop defining the source code
and detect the necessary definitions from the directory structure.
In this case, if fonts, json, and md5sum can be saved, there is no need to update the source code.
In addition, since the directory is divided by prefix, you can use the original font file name as it is,
and if you want to save the log output by update_font.py, it is easier to manage the log file.
For example, prefix "ph" defintion is detected from directory structure.
fonts/ph/phosphor.ttf
fonts/ph/phosphor-charmap.json
fonts/ph/phosphor.md5sum

Do you know if is there any reason to keep using the current approach with distutils.cmd.Command ?

Probably because we were more familiar with distutils when that feature was implemented. But now we should replace it because distutils is going to be removed in the future.

But now we should replace it because distutils is going to be removed in the future.

distutils in qtawesome can be replaced with setuptools. I sent PR #199.
I agree removing distutils, but I think it's simply a matter of preference.

Thanks for the PR @kumattau ! Although I think the idea will be to remove those commands in favor of the usage of the update_font script you are implementing here. So actually, you can remove those commands in this PR and then #199 will not be necessary. How that sounds to you?

I think the traditional command should be supported for a few versions after the release of the update_font script to to allow for a migration period.
The point I was trying to make is that the discontinuation of distutils is not a reason to discontinue the traditional commands, because distutils can be replaced with setuptools.
I like script, but I cannot answer which best because I have not been able to compare it sufficiently with traditional commands.
This PR is still WIP, so I think applying #199 won't lose anything.

Ok @kumattau I will check PR #199 :+1:
Although I think that at the end we will need to remove the current subclasses in favor of the script here. Maybe we could check if makes sense to make the update_font script (the FontUpdater class in particular) a subclass of setuptools.Command while preserving the logic that it currently handles instead of adding update_font into the console_scripts entry point

The point I was trying to make is that the discontinuation of distutils is not a reason to discontinue the traditional commands, because distutils can be replaced with setuptools.

Information sharing.

setuptools document

https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html#prefer-setuptools

Prefer Setuptools
As Distutils is deprecated, any usage of functions or objects from distutils is similarly discouraged, and Setuptools aims to replace or deprecate all such uses. This section describes the recommended replacements.
distutils.core.setup → setuptools.setup
distutils.cmd.Command → setuptools.Command
distutils.command.{build_clib,build_ext,build_py,sdist} → setuptools.command.*
distutils.log → (no replacement yet)
distutils.version.* → packaging.version.*
distutils.errors.* → setuptools.errors.*

PEP 632 -- Deprecate distutils module

https://www.python.org/dev/peps/pep-0632/

Migration Advice
Note
This section suggests some alternative replacements for popular functionality that is being formally deprecated with this PEP. It is current at time of writing, but is not kept up to date.
For these modules or types, setuptools is the best substitute:
distutils.ccompiler
distutils.cmd.Command
distutils.command
distutils.config
distutils.core.Distribution
distutils.errors
For these modules or types, use the standards-defined Python Packaging Authority packages specified:
distutils.version — use the packaging package
For these modules or functions, use the standard library module shown:
distutils.fancy_getopt — use the argparse module
distutils.spawn.find_executable — use the shutil.which function
distutils.spawn.spawn — use the subprocess.run function
distutils.sysconfig — use the sysconfig module
distutils.util.get_platform — use the platform module
For these functions, and any others not mentioned here, you will need to reimplement the functionality yourself. The legacy documentation can be found at https://docs.python.org/3.9/distutils/apiref.html
distutils.dir_util.create_tree
distutils.util.change_root
distutils.util.strtobool

@dalthviz

I think it could be nice to have this in the console_scripts entrypoint

I think it is better not to specify update_font.py in console_scrtipts.
console_scripts installs the specified script as user's script in the directory like as /usr/bin or $HOME/.local/bin,
but update_font.py focuses to update existing bundled fonts for qtawesome developpers,
and update_font.py lacks the following functions for qtawesome users.

Updating the bundled fonts with keeping compatibility without user's care
Installing new fonts and charmaps in user's fonts directory and updating them.

I think it is better not to specify update_font.py in console_scrtipts.
console_scripts installs the specified script as user's script in the directory like as /usr/bin or $HOME/.local/bin,
but update_font.py focuses to update existing bundled fonts for qtawesome developpers,
and update_font.py lacks the following functions for qtawesome users.
Updating the bundled fonts with keeping compatibility without user's care
Installing new fonts and charmaps in user's fonts directory and updating them.

That makes sense, actually I think that it would be better to have it as a cmdclass (then being accesible as the current update_fa5 or update_msc commands)


mysql schema whois.sql and mapping.json for full ICANN compliant whois output

A full dump of a working mysql schema with example data in it so whoisd will return a fully ICANN compliant output.
Insertion of data into the database is out of the scope of this commit and should be handled by any registrar according to their needs.

Great, thanks


The argument is called --user not --username

This tripped me up until I read the source to see that it's expecting --user not --username

LGTM, thanks for the update.


Global uniforms are unusable

Godot version:
d817be92c2d9edce842ab37ab13117743f8a3bee
OS/device including version:
Win10
Issue description:
Global uniforms emit the long error when user tried to use them, I think the most important part is this:

ERROR: Error compiling Fragment shader, variant #2 (
#define MODE_RENDER_DEPTH
#define MODE_RENDER_NORMAL
).
at: ShaderRD::_compile_variant (servers\rendering\rasterizer_rd\shader_rd.cpp:347)
ERROR: Failed parse:
ERROR: 0:1790: 'global_variables' : undeclared identifier
ERROR: 0:1790: 'data' : unknown swizzle selection
ERROR: 0:1790: 'data' : vector swizzle selection out of range
ERROR: 0:1790: '' : compilation terminated
ERROR: 4 compilation errors.  No code generated.

Steps to reproduce:
Just run a scene in the provided project.
Minimal reproduction project:
Test3.zip

Seems fixed in the current master...


Fail to generate eval data

Hi, I ran scripts/prepare_eval_data.sh but can't find the function eval.creative_eval.get_gpt_outputs. Where can I find it?

Hi @KaiLv69 sorry for the late response. That part of script is outdated. This pr #30 should fix the error. I will close this issue.


Russian Peasant Algorithm

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Motivation
(Please outline the motivation for the proposal.)
Pitch
It is a special way of multiplying 2 numbers without the use of multiplication operator

Please assign this issue to me
I would like to contribute in c++ under DWOC

Please merge my PR

Hi, i want to contribute as a participant of gssoc'21

@HarshCasper Please assign this issue to me, I would like to contribute in C and JAVA as a participant of GSSOC'21


Reference to /home/aalexandre/ in Makefile's library path

The Makefile contains a reference to /home/aalexandre/bin/../d/phobos/generated/linux/release/default which might not work on all systems.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.


docs: Add compatibility matrix

Description
Adds a compatibility matrix to our docs so that people know which versions of Kubernetes and Argo CD this has been tested on.
Checklist
Please make sure that your PR fulfills the following requirements:

[ ] Reviewed the guidelines for contributing to this repository
[ ] The commit message follows the Conventional Commits Guidelines.
[ ] Tests for the changes have been updated
[ ] Docs have been added / updated
[ ] Optional. My organization is added to USERS.md.

Type of Change

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[x] Documentation content changes
[ ] Other (please describe)

Other information

Once we're good with this, I think we will want to retroactively update the v1.5.0 docs


'Waiting for IR' dialog cannot be dismissed

When creating a custom button, the dialog that informs that the terminal is in cloning mode and is waiting for an input cannot be dismissed. This was a conscious choice not to complicate the terminal program flow, as this would require new mode switching logic on the terminal. However, this can lead to the app being stuck in the dialog and force the user to restart.

mentioned in commit cf19874968a5671b5f5f7af38b3e41e6ed78b0db

created branch 40-dismiss-dialog to address this issue

mentioned in commit 7f7bcc0ae881b494aaf3ffe325ef5209ee706e6a

mentioned in commit 3b5464419d52985235dae1ef63f282f6070a1179

In GitLab by @albu-razvan on May 14, 2024, 18:37
mentioned in commit 34a1e53bbfbdecbb94613d02c166ba2807cf3cae

mentioned in commit 7ff98312012d60974e896252337c7f2a5205462a

mentioned in commit 74392b72e84f5bf8542df615c48d12c7f6ab35fb

mentioned in commit b5a6e51932eadf9c65eeb8a4d34e7c8c55a2810b

mentioned in commit 37c6c89b172b2f30d7a033c34a65cfc6edcb6022


Add option to auto tangent new bezier points in animation editor

This adds an option to set the default behavior of new bezier keys in the editor settings
This would close https://github.com/godotengine/godot-proposals/issues/10250

Example of behavior when the behavior is set to Mirrored Automatic
https://github.com/user-attachments/assets/04d7508c-72b9-44c8-b798-ffe59f7a26d8

Rebased and tried to apply @TokageItLab and @Calinou 's comments. Still have to work on making sure that it works when you drag the keys as Calinou pointed out it in his last comment. Marking as draft until I solve that.

@Calinou outside this PR should the current behavior of adding and dragging a key with Ctrl be changed so it's registered as a single do action that can be undone with a single undo? That part of the behavior isn't from this PR.
Current Do/Undo history when Ctrl + Click dragging a point into the bezier editor and undoing it.

@Calinou outside this PR should the current behavior of adding and dragging a key with Ctrl be changed so it's registered as a single do action that can be undone with a single undo? That part of the behavior isn't from this PR.

I'd say yes, I expect those to be considered a single action.


Documentation for Meteor 1.3 should state<EMAIL_ADDRESS>

I just tried to update my Meteor 1.2 app to Meteor 1.3 and fell in the trap that the SCSS package wasn't compatible anymore. The update broke with an error. So I looked at the docs and those stated that I should pin fourseven:scss to version 3.8.0. But this only resulted in an error that there was no binary available for my system (MacOS). Finally, I found #201 where I learned that version 3.8.0_1 is the right version for Meteor 1.3. I recommend to update the docs accordingly.
BTW: Is there any chance to make fourseven:scss cross-version compatible? I am running multiple Meteor apps that are on different Meteor versions but share the same packages which require fourseven:scss.

@derwaldgeist I changed the readme. For the foreseeable future, fourseven:scss 4.5.0+ should remain compatible with new meteor versions.

Thanks!


Add support for absolute color values

Fixes #70
Adds new APIs to TapTarget such that absolute color values can be specified. There are now two functions per color, one that takes a @ColorRes and one that takes a @ColorInt (suffixed with Int).

@xiphirx Amazing. Thank you so much.


New asyncio implementation

Do you know if I can read anywhere for the purpose of this PR? Is it porting the current asyncio implementation over Sans IO?

It is indeed aimed at providing an asyncio implementation on top of the Sans-I/O implementation.
Based on my experience of the threading implementation, ETA for completion is likely to be 1 to 4 years for now so don't hold your breath :-)
No significant user-visible improvements are expected. The benefits are mostly maintainer-visible.


Base image on ubuntu instead

No good reason to base it on a small image.

Naaaah, not important.


runtime: set heap start and stack top at app startup

Add memop ecalls during application start up to set the heap starting address and stack top address with the kernel. This does not take that much extra time, but can be very valuable to the kernel if it is tracking process debug information. These calls were also in 1.x version of libtock-rs, so it seems appropriate to replicate them here as well.

Is there a reason you are making these calls in the entry point assembly rather than in rust_start?

This seemed like a good place that had related memop calling code. I don't have a strong preference, so I could move it there. We might save a few assembly instructions by keeping in asm startup, but that isn't a good enough reason to put it in the "wrong" spot. Would you like me to move it?

Is there a reason you are making these calls in the entry point assembly rather than in rust_start?

This seemed like a good place that had related `memop calling code. I don't have a strong preference, so I could move it there. We might save a few assembly instructions by keeping in asm startup, but that isn't a good enough reason to put it in the "wrong" spot. Would you like me to move it?

Yes, I would like you to move it. I think it is more important to minimize the amount of handwritten assembly than to keep all the Memop calls in one place.
To support applications that need to microoptimize every byte possible off the code size, we can add a disable-debug-memops feature to libtock_runtime that removes the Memop calls entirely.

Ah, I started to move the implementation, and there isn't really a good way to get access to the rt_header information at that point in rust_start. It looks like it would require a lot more machinery. Do you have any suggestions?

Ah, I started to move the implementation, and there isn't really a good way to get access to the rt_header information at that point in rust_start. It looks like it would require a lot more machinery. Do you have any suggestions?

I would expect you to be able to see it as an extern symbol. If that doesn't work, you can pass a reference to rt_header into rust_start (requires an extra assembly instruction, unfortunately, because ARM doesn't have 6 argument registers).

This seems like more reason to keep the memop code in the start up asm, since that code already has access to rt_header values, and there is synergy with making multiple similar memop call right after each other.
I am leaning more towards keeping in asm. Are you leaning more that way now too?

This seems like more reason to keep the memop code in the start up asm, since that code already has access to rt_header values, and there is synergy with making multiple similar memop call right after each other.
I am leaning more towards keeping in asm. Are you leaning more that way now too?

I sent my own version of this PR at #407. I personally would prefer to minimize the amount of assembly code, and I think the increase in code size is a reasonable tradeoff to make.

Let's use yours.


datetimeencoder is very slow

Describe the bug
Looks like the format is being guessed for every single element, twice (once with day first, once with month first)
np.vectorize doesn't speed things up, it's just syntactic sugar
The code below has just 70 thousand rows, but it 14 seconds to execute on my laptop
Steps/Code to Reproduce
from pprint import pprint
import pandas as pd

data = pd.DataFrame({
    'date.utc': pd.date_range('1900-01-01', '2100-01-01', freq='1D').strftime('%Y-%m-%d'),
    'city': 'Paris',
    'value': 3.
}
)
print('data shape: ', data.shape)
# Extract our input data (X) and the target column (y)
y = data["value"]
X = data[["city", "date.utc"]]

X

from skrub import to_datetime

X = to_datetime(X)
X.dtypes

from sklearn.preprocessing import OneHotEncoder
from sklearn.compose import make_column_transformer
from skrub import DatetimeEncoder

encoder = make_column_transformer(
    (OneHotEncoder(handle_unknown="ignore"), ["city"]),
    (DatetimeEncoder(add_day_of_the_week=True, resolution="minute"), ["date.utc"]),
    remainder="drop",
)

X_enc = encoder.fit_transform(X)
pprint(encoder.get_feature_names_out())

Expected Results
No more than 1 second, probably 😄
Actual Results
the results are correct, just too slow
Versions
System:
    python: 3.11.6 (main, Oct 23 2023, 22:48:54) [GCC 11.4.0]
executable: /home/marcogorelli/skrub-dev/.venv/bin/python
   machine: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35

Python dependencies:
      sklearn: 1.3.0
          pip: 23.1.2
   setuptools: 65.5.0
        numpy: 1.25.2
        scipy: 1.11.2
       Cython: None
       pandas: 2.1.1
   matplotlib: None
       joblib: 1.3.2
threadpoolctl: 3.2.0

Built with OpenMP: True

threadpoolctl info:
       user_api: openmp
   internal_api: openmp
    num_threads: 16
         prefix: libgomp
       filepath: /home/marcogorelli/skrub-dev/.venv/lib/python3.11/site-packages/scikit_learn.libs/libgomp-a34b3233.so.1.0.0
        version: None

       user_api: blas
   internal_api: openblas
    num_threads: 16
         prefix: libopenblas
       filepath: /home/marcogorelli/skrub-dev/.venv/lib/python3.11/site-packages/numpy.libs/libopenblas64_p-r0-5007b62f.3.23.dev.so
        version: 0.3.23.dev
threading_layer: pthreads
   architecture: SkylakeX

       user_api: blas
   internal_api: openblas
    num_threads: 16
         prefix: libopenblas
       filepath: /home/marcogorelli/skrub-dev/.venv/lib/python3.11/site-packages/scipy.libs/libopenblasp-r0-23e5df77.3.21.dev.so
        version: 0.3.21.dev
threading_layer: pthreads
   architecture: SkylakeX
0.0.1.dev0

Marco is right: we can't do this for every row by default.
We would need something like:

take 10 rows
check the format
if it's consistent try to apply it on all rows
if fail move to slow route.

Does that make sens?

Thank you for spotting this, @MarcoGorelli. We haven't checked the computational performances yet, indeed.
I think subsampling makes sense here and is a very simple solution, @GaelVaroquaux. I'll open a PR.

You guys rock! I love how we are identifying the practical bottlenecks and solving them fast


Importing and Exporting Decks with Elroy

Doesn't seem to function with my save file, I select the deck, select export, and I get extract complete (though I cannot find the deck). Then i try to import, but when i press import, no dialog comes up to choose and the deck doesn't change at all.

Not really an issue since I haven't bothered to write the import code, the exported deck should be in the same area as where the program is being ran from.
It shouldn't take me to long™ assuming I actually can be bothered doing it haah

I can find it. It is in the debug folder. However, I am having a problem with it. It is displaying the incorrect card count (just in the main deck), Also, any AI that use the decks created with Elroy, don't get a deck at all. The game just ends at the beginning since they have no cards to draw.

Yeah, Elroy is pretty broken still, and have 't really been 100% bothered to fix it at the moment.

Thanks for the reply. That's fine. I completely get it.


[DARGA] Backport ac70851: Get OpenStack Projects for current user

Opened to solve VCR cassette merge conflicts detected while trying to backport #10090
https://bugzilla.redhat.com/show_bug.cgi?id=1343717
@tzumainn @chessbyte

@miq-bot add_label darga/yes


New client from path

This adds a new way of setting up a collins client by specifying the paths to look for a config file in, based on the feedback in #2. I'm also rewriting NewClientFromYaml() slightly to avoid duplicated code by having it use NewClientFromFiles().
@tumblr/collins @alex-laties

👍 :shipit:

apparently a test is failing?

Whoops, i messed up the test config file. Should be fixed now.

LGTM

👍


[js-testing] write more tests for javascripts/explore/components/SaveModal.jsx

currently file is 16% covered. bring to 70%.

Notice: this issue has been closed because it has been inactive for 331 days. Feel free to comment and request for this issue to be reopened.


fix(adf): DataFactoryResource.GetPipelineRuns cannot do pagination

add customization codes to implement the non-standard pagination logic of DataFactoryResource.GetPipelineRuns
fix #39438
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


on-drag-hover is instantly removed, if it is nested within another droptarget

I modified the demo:
http://plnkr.co/edit/ucpyenUIjPR0jNczEaDY?p=preview
Now every li is a drop-zone within the parent ul-drop-zone.
Unfortunately the li-element's on-drag-hover class is instantly removed by the event listener:
var deregisterDragHover = $rootScope.$on("ANGULAR_HOVER", function (e, channel) {
    if (isDragChannelAccepted(channel, dropChannel)) {
        element.removeClass(dragHoverClass);
    }
});

For what is this necessary anyway?

Should be fixed now.


How to ignoring dates formatting

Hello,
I have a problem exporting accounting data.
When I export a string similar to "CB: 12/08/2018", the string is considered as a date, like "12/08/2018". This completely distorts the final export.
const workSheet: XLSX.WorkSheet = XLSX.utils.table_to_sheet(<HTMLInputElement>document.getElementById('excel-export')); const workBook: XLSX.WorkBook = XLSX.utils.book_new(); XLSX.utils.book_append_sheet(workBook, workSheet, 'Invoices'); XLSX.writeFile(workBook, 'file.xls' );
I have already tried many solutions with configurations like this one:
var  config = { 	       raw:true, 		type: 'base64' 		} const workSheet: XLSX.WorkSheet = XLSX.utils.table_to_sheet(<HTMLInputElement>document.getElementById('excel-export'), config);
In this way, the whole table is considered as text and the numbers are considered as strings. I can't use them as numbers in my Excell.
Since my dates are already formatted, is it possible to tell the cell that it contains text or to ignore the formatting of the dates when I parse my table? Do you have a solution for me?
In the documentation I found this : XLSX.utils.table_to_sheet takes a table DOM element and returns a worksheet resembling the input table. Numbers are parsed. All other data will be stored as strings.
Thank you in advance for your help

Super late, but you just need raw:true.  Leave out the type:'string'.

From table_to_sheet, passing raw: true will suppress date parsing.  If you have control over the table generation, you can also add the attributes data-t="s" data-v="CB: 12/08/2018" to the TD element to bypass value parsing


Add ability to collect REST logs in Exchange log collector

Is your request related to a problem? Please describe.
Need REST logs for some troubleshooting scenario, TEAMS use REST to connect to exchange
Describe The Request
Add ability to collect REST logs in Exchange log collector

@Guytou777 is this the only default location of logs that we need?
C:\Program Files\Microsoft\Exchange Server\V15\Logging\Rest

Yop David,
Both path could be fine I guess :
C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Rest
C:\Program Files\Microsoft\Exchange Server\V15\Logging\Rest
Cordialement, Regards,
Gael Istasses
Support Escalation Engineer
Office Product Group
EMEA Exchange & Outlook
Customer Services and Support
Office: +33 (1) 57752611
Based in France
<EMAIL_ADDRESS>Working hours: Mon-Fri 9-18 CET
[Microsoft Logo]
Team Manager | Yolande Dupoy<EMAIL_ADDRESS>+33 (1) 57753129
Ce mail peut contenir des informations confidentielles. Si vous n
From: David Paulson @.>
Sent: mardi 2 juillet 2024 16:59
To: microsoft/CSS-Exchange @.>
Cc: Mention @.>; Author @.>
Subject: Re: [microsoft/CSS-Exchange] Add ability to collect REST logs in Exchange log collector (Issue #2123)
@Guytou777https://github.com/Guytou777 is this the only default location of logs that we need?
C:\Program Files\Microsoft\Exchange Server\V15\Logging\Rest

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/CSS-Exchange/issues/2123#issuecomment-2203458793 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AY25PYEZPCEVAJPW5Q3FWHLZKK53RBFKMF2HI4TJMJ2XIZLTS2BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDENJYGYZDKMZUHCSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRSGI2TQNRSGUZTKMFENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWVDEOJTGI4TQOJXGU32I3TBNVS2S2DBONPWYYLCMVWKY43VMJVGKY3UL52HS4DFVREXG43VMVBW63LNMVXHJJTUN5YGSY3TSWBKI5DZOBS2U4TFOBXXG2LUN5ZHTJLWMFWHKZNJGI4DKNRSHA3DCOECUR2HS4DFUVUXG43VMWSXMYLMOVS2UMRTHA3DINZUGQ4THAVEOR4XAZNFNRQWEZLMUV3GC3DVMWVDEMRVHA3DENJTGQ4IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDENJYGYZDKMZVGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGI4TGMRZHA4TONJXU52HE2LHM5SXFJTDOJSWC5DF.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Updated endsnotwith description in Readme

In the strings section, endsnotwith has the same description as endswith.
Fixes Or Enhances
Make sure that you've checked the boxes below before you submit PR:

[x] Tests exist or have been written that cover this particular change.
(Readme update - PR does not require tests.)

@go-playground/validator-maintainers

Coverage remained the same at 75.1% when pulling 7d5c452a9cea3f548659265d59687a2fc23aa714 on ciprian-cimpan:patch-1 into ce34f361cca51e25715399ab801c5e1c01d02d89 on go-playground:master.


Very slow movement of Linux windows

Hello,
I use Appimage for different Linux Mint 20.3: Cinnamon, Mate, XFCE with the same hard materail.
However only with XFCE, I get an issue.
I can move the windows right, left, up and down but they move very very slowly.
The processors don't have much activity in the 5% range. The RAM is not used much, about 10%.
If I don't start Appimage, no problem while I start Appimage with whatever the associated application, the problem occurs. I must kill Xorg to stop issue with all running applications....
Do you have any idea?
Regards,
CocoR55

What graphics card model and driver are you using?
Can you reproduce this if you disable compositing in the Xfwm options (or if it's already disabled, enable it)?

Graphics:  Device-1: VMware SVGA II Adapter driver: vmwgfx v: <IP_ADDRESS> bus ID: 00:02.0 chip ID: 15ad:0405
Display: x11 server: X.Org 1.20.13 driver: vmware unloaded: fbdev,modesetting,vesa compositor: marco
resolution: 1920x1095~60Hz
OpenGL: renderer: SVGA3D; build v: 2.1 Mesa 21.2.6 direct render: Yes
Great idea. If the Xfwm compositor is disabled, they are any more problem. If the Xfwm compositor is enabled, problem occurs.

Hmm are you trying to use Material Maker in a VM? I'd strongly advise against doing this, because MM relies on shaders to compute all textures, so hardware acceleration is required.

For information, with Firejail or with Flatpak, this is the same. If the Xfwm compositor is disabled, they are any more problem. If the Xfwm compositor is enabled, problem occurs.

I don't but I am going to try and I will say to you.
I'm not sure but I feel like I can do without the enabled Xfwm compositor.
Thank you for help.

You are right. Following Material Maker installation, an error window indicates that "Unable to initialize Video driver"  " Your video card driver does not support any of the supported OpenGL versions. Please update your drivers or if you have a very old or integrated GPU upgrade it."


Array of objects

This probably isn't a bug, but rather my lack of understanding. I have a nested array of objects. However, {t("data.products[0].slug")} doesn't even render. It returns as a missingKey. What am I doing wrong?
{
"pageTitle": "Products",
"data": {
        "products": [
            {
                "id": "1",
                "status": "published",
                "sort": null,
                "slug": "my-url"
            },
            {…}
    ]
  }
}

Nevermind, it looks like in this case, the item shouldn't be in quotes

I mispoke. It's not clear how this works with an array of objects.
When I query the JSON file directly, it returns properly:
---
import json from<EMAIL_ADDRESS>const data = json.data;
---

{data.products[0].slug}

However, this does not work: {t("data.products[0].slug")}

While this seems to work when mapping, VS Code doesn't seem to know it's type. Unsure if I'm implementing this correctly.
{t('data.products', { returnObjects: true }).map((product) =>
		(

{product.slug}

		)
)}

I used the Array constructor to call .map on non-array objects
Example:
{
    Array.prototype.map.call(
      t("data.products", { returnObjects: true }),
      (product) =>
{product.slug}

    )
  }


WopsS changes and small issue fix

Continuation of:
https://github.com/maximegmd/CyberEngineTweaks/pull/808
CI run

Closing since its a dupe and I didn't know I can't run CI (thou pretty obvious :D)


Add leaky ReLU and other conv layers to pytorch deep explainer

Adds the other convolutional layers (1d and 3d), as well as an additional nonlinearity (Leaky ReLU).

Thanks!!


fix: cyclic dependencies between context-derive and sdk

This pull request includes changes to the Cargo.toml file for the context-derive macro.
Dependency updates:

Changed the gadget-sdk dependency from a workspace reference to a path reference in macros/context-derive/Cargo.toml

Related to #388

This would fix the failing CI in main: https://github.com/tangle-network/gadget/actions/runs/11683067902/job/32531500729


WIP - Troubleshooting guide

Draft guidance on how to troubleshoot failed installs and upgrades.

fyi @smarterclayton @derekwaynecarr @bparees

Looks like a good start, some more ideas - https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md

It would be nice to have more informations on which systemctl services should be running on masters and workers node, open ports (and which services open them to facilitate discovery of failing services).

/close
I frankly haven't had the time to update this. I will leave this branch up if others want to fork and continue to iterate.


Adjust timeout to resize charts

Adjust timeout to resize charts upon Insights nav toggle.
https://github.com/project-koku/koku-ui/issues/1504

LGTM


Add null-check in CompatCapabilityLoader

Added null-check for the TE type in the AttachCapabilitiesEvent, as it may still be null during the event.
Fixes issue reported to Atum 2 here: https://github.com/TeamMetallurgy/Atum2/issues/189

The type is passed in the tile entity constructor before capabilities are gathered, how can it still be null? This sounds more like a mod not correctly registering its tile entities, which is going to cause all kinds of issues all over the place.

I managed to fix the issue on my end - I weren't necessarily registering the TE incorrectly though. The problem was that I was setting the TE type after the constructor and relying on getType, due to that I'm extending ChestTileEntity, which at the time did not have a constructor with just a TileEntityType (I assume that Forge added a patch, that added a new constructor?)
I personally think it would be a good idea to add a null-check, as you there is a chance that it'll cause a crash in other mods.
Here's the code that causes it: https://github.com/TeamMetallurgy/Atum2/blob/a8c2038fd0738f876e520844a5840bdba47af460/src/main/java/com/teammetallurgy/atum/blocks/base/tileentity/ChestBaseTileEntity.java#L27


Errors you may encounter when upgrading the library

An error will happen when upgrading library prometheus/client_golang:
github.com/prometheus/client_golang
-Latest Version: v1.7.1   (Latest commit fe7bd95 16 days ago)
-Where did you use it:
https://github.com/mintance/nginx-clickhouse/search?q=prometheus%2Fclient_golang%2Fprometheus&unscoped_q=prometheus%2Fclient_golang%2Fprometheus
-Detail:

github.com/prometheus/client_golang/go.mod

module github.com/prometheus/client_golang
require (
	github.com/beorn7/perks v1.0.1
	github.com/cespare/xxhash/v2 v2.1.1
	…
)
go 1.11

github.com/prometheus/client_golang/prometheus/desc.go

package prometheus
import (
	"github.com/cespare/xxhash/v2"
	…
)

This problem was introduced since prometheus/client_golang v1.2.0(committed 9a2ab94 on 16 Oct 2019) . If you try to upgrade  prometheus/client_golang to version v1.2.0 and above, you will get an error--- no package exists at "github.com/cespare/xxhash/v2"
I investigated the libraries  (prometheus/client_golang >= v1.2.0)  release information and found the root cause of this issue is that----

These dependencies all added Go modules in the recent versions.

They all comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation. Quoting the specification:

A package that has migrated to Go Modules must include the major version in the import path to reference any v2+ modules. For example,  Repo github.com/my/module migrated to Modules on version v3.x.y.  Then this repo should declare its module path with MAJOR version suffix "/v3"  (e.g., module github.com/my/module/v3), and its downstream project should use "github.com/my/module/v3/mypkg" to import this repo’s package.

This "github.com/my/module/v3/mypkg" is not the physical path. So earlier versions of Go (including those that don't have minimal module awareness) plus all tooling (like dep, glide, govendor, etc) don't have minimal module awareness as of now and therefore don't handle import paths correctly See golang/dep#1962, golang/dep#2139.

Note: creating a new branch is not required. If instead you have been previously releasing on master and would prefer to tag v3.0.0 on master, that is a viable option. (However, be aware that introducing an incompatible API change in master can cause issues for non-modules users who issue a go get -u given the go tool is not aware of semver prior to Go 1.11 or when module mode is not enabled in Go 1.11+).
Pre-existing dependency management solutions such as dep currently can have problems consuming a v2+ module created in this way. See for example dep#1962.
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Suggested solutions
1. Migrate to Go Modules.
Go Modules is the general trend of ecosystem, If you want a better upgrade package experience, migrating to Go Modules is a good choice.
2. Keep using the dependency manage tool (like dep, glide, govendor, etc).
Because the import paths have different meanings between the projects adopting module mechanism and the non-module mechanism.

https://github.com/golang/go/wiki/Modules#semantic-import-versioning
https://golang.org/cmd/go/#hdr-Module_compatibility_and_semantic_versioning
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

If you prefer to use the dependencies manage tool (like dep, glide, govendor, etc), a textbook example provided by repo github.com/moby/moby can prevent this type of issues.
https://github.com/moby/moby/blob/master/VENDORING.md
https://github.com/moby/moby/blob/master/vendor.conf
In the vendor directory, github.com/moby/moby adds the /vN subdirectory in the corresponding dependencies.
This will help more downstream modules to work well with your package.
By the way, have you ever encountered such errors when upgading the libraries?Do you plan to upgrade the libraries in near future?
Hope this issue report can help you ^_^
Thank you very much for your attention.
Best regards,
Kate

@strangeman  @patsevanton  Could you help me review this issue? Thx :p

Hi, thanks for information. I'll investigate that issue.


Adding New  related entity tries to insert primary key value causing exception

I'm create a few related entities and attempting to save them.  The entities are new, but for some reason EF is attempting to insert the primary key column causing a duplicate primary key exception (attempting to insert an entity with Key '0', which already exists in the DB.
Offending code:

     // grab discount code from DB
     var lecode = _DBContext
                             .DiscountCodes
                             .Include(x => x.DiscountCodesPortalMap)
                             .Include(x => x.DicountCodesPackageMap)
                             .Where(x => x.CodeText == "testy")
                             .SingleOrDefault();

                 // Create order record and add to context
                PaymentsOrders o = new IaymentsOrders();
                _DBContext.Add(o);

                // Get customer object
                var lebuyer = await _AppUserManager.GetUserAsync(User);

                // Make some changes to the order record
                o.TimeStamp = DateTime.UtcNow;
                o.TimeStampCst = DateTime.UtcNow.ToCSTTime();
                o.UserId = lebuyer.Id;
                o.PortalId = WebUtil.GetCurrentPortal(HttpContext).ID;
                o.MerchantAccountId = WebUtil.GetCurrentPortal(HttpContext).MerchantAccountId.Value;
                o.ResultCode = 100;

                 // Create order item records for everything in the shopping cart
                foreach (var leitem in ShoppingCart.Get(HttpContext).CartItems)
                {
                    PaymentsOrderItem oitem = new PaymentsOrderItem();
                    oitem.ItemId = leitem.PackageId;
                    oitem.ItemType = PaymentOrderType.PortalPurchase;
                    oitem.Quantity = leitem.QuantityInCart;
                    oitem.UnitPrice = (decimal)leitem.UnitPrice;
                    oitem.Order = o;

                    // add the item to the order
                    _DBContext.Add(oitem);

                   // if user has a coupon code, create a coupon code use record and add it to the context
                    if (lecode != null)
                    {
                        // we have a code, so we need to add a code use record... one code use for each
                       // item in the cart Qty
                        for (int i = 0; i < leitem.QuantityInCart; i++)
                        {
                            DiscountCodesUses useRecord = new DiscountCodesUses()
                            {
                                ConsumedOn = DateTime.UtcNow,
                                ConsumerId = lebuyer.Id,
                                DiscountCodeId = lecode.Id,
                                OrderItem = oitem // set order item reference
                            };
                             // Add it to the context
                            _DBContext.DiscountCodesUses.Add(useRecord);
                        }
                    }
                }

                // Save change causes error
                _DBContext.SaveChanges();

Order Item Entity:
    public partial class PaymentsOrderItem
    {
        public PaymentsOrderItem()
        {
            DiscountCodes = new HashSet<DiscountCodes>();
            DiscountCodesUses = new HashSet<DiscountCodesUses>();
        }

        public long Id { get; set; }
        public long ItemId { get; set; }
        public long OrderId { get; set; }
        public decimal UnitPrice { get; set; }
        public PaymentOrderType ItemType { get; set; }
        public int Quantity { get; set; }

        public virtual ICollection<DiscountCodes>DiscountCodes { get; set; }
        public virtual ICollection<DiscountCodesUses>DiscountCodesUses { get; set; }
        public virtual Package_Config Item { get; set; }
        public virtual PaymentsOrders Order { get; set; }
    }
}

        modelBuilder.Entity<PaymentsOrderItem>(entity =>
            {
                entity.ToTable("Payments_OrderItem");

                entity.HasIndex(e => e.ItemType)
                    .HasName("IX_Payments_OrderItem");

                entity.HasIndex(e => e.OrderId)
                    .HasName("IX_Payments_OrderItem_1");

                entity.Property(e => e.Id).HasColumnName("ID");

                entity.Property(e => e.UnitPrice).HasColumnType("decimal");

                entity.HasOne(d => d.Item)
                    .WithMany(p => p.PaymentsOrderItem)
                    .HasForeignKey(d => d.ItemId)
                    .OnDelete(DeleteBehavior.Restrict)
                    .HasConstraintName("FK_Payments_OrderItem_Package_Config");

                entity.HasOne(d => d.Order)
                    .WithMany(p => p.PaymentsOrderItem)
                    .HasForeignKey(d => d.OrderId)
                    .OnDelete(DeleteBehavior.Restrict)
                    .HasConstraintName("FK_Payments_OrderItem_Payments_Orders");
            });

Code use entity:
 public partial class DiscountCodesUses
    {
        public long Id { get; set; }
        public long DiscountCodeId { get; set; }
        public string ConsumerId { get; set; }
        public DateTime ConsumedOn { get; set; }
        public long OrderItemId { get; set; }

        public virtual ApplicationUser Consumer { get; set; }
        public virtual DiscountCodes DiscountCode { get; set; }
        public virtual PaymentsOrderItem OrderItem { get; set; }
    }

 modelBuilder.Entity<DiscountCodesUses>(entity =>
            {
                entity.ToTable("DiscountCodes_Uses");

                entity.Property(e => e.Id)
                    .HasColumnName("ID")
                    .ValueGeneratedNever();

                entity.Property(e => e.ConsumedOn).HasColumnType("datetime");

                entity.Property(e => e.ConsumerId)
                    .IsRequired()
                    .HasMaxLength(450);

                entity.HasOne(d => d.Consumer)
                    .WithMany(p => p.DiscountCodesUses)
                    .HasForeignKey(d => d.ConsumerId)
                    .OnDelete(DeleteBehavior.Restrict)
                    .HasConstraintName("FKDiscountCodes_Uses_AspNetUsers");

                entity.HasOne(d => d.DiscountCode)
                    .WithMany(p => p.DiscountCodesUses)
                    .HasForeignKey(d => d.DiscountCodeId)
                    .OnDelete(DeleteBehavior.Restrict)
                    .HasConstraintName("FK_DiscountCodes_Uses_DiscountCodes");

                entity.HasOne(d => d.OrderItem)
                    .WithMany(p => p.DiscountCodesUses)
                    .HasForeignKey(d => d.OrderItemId)
                    .OnDelete(DeleteBehavior.Restrict)
                    .HasConstraintName("FK_DiscountCodes_Uses_Payments_Orders");
            });

The error I get is `{"Violation of PRIMARY KEY constraint 'PK_DiscountCodes_Uses'. Cannot insert duplicate key in object 'dbo_DiscountCodes_Uses'. The duplicate key value is (0).\r\nThe statement has been terminated."}'
The generate SQL is as follows:
PortalWeb.exe Information: 0 : 2017-05-17 11:48:55.946 -05:00 [Information] Executed DbCommand (36ms) [Parameters=[@p0='?' (Size = 450), @p1='?' (Size = 450), @p2='?', @p3='?' (Size = 450), @p4='?', @p5='?' (Size = 450), @p6='?', @p7='?', @p8='?', @p9='?' (Size = 450), @p10='?' (Size = 4000), @p11='?', @p12='?', @p13='?', @p14='?', @p15='?', @p16='?', @p17='?', @p18='?', @p19='?', @p20='?' (Size = 450), @p21='?' (Size = 450)], CommandType='Text', CommandTimeout='120']
SET NOCOUNT ON;
INSERT INTO [Payments_Orders] ([AuthorizationNumber], [AuthorizedBy], [BillingInfoId], [CaptureReconcileId], [CreditCardId], [InternalAuthorizationNumber], [LegacyFailAuthId], [LegacyOrderId], [MerchantAccountId], [MerchantOrderID], [Message], [PortalId], [ResultCode], [SettlementOrderId], [Shipping], [SubTotal], [Tax], [TimeStamp], [TimeStampCST], [Total], [TransactionNumber], [UserId])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
SELECT [ID]
FROM [Payments_Orders]
WHERE @@ROWCOUNT = 1 AND [ID] = scope_identity();
PortalWeb.exe Information: 0 : 2017-05-17 11:48:55.989 -05:00 [Information] Executed DbCommand (40ms) [Parameters=[@p22='?', @p23='?', @p24='?', @p25='?', @p26='?'], CommandType='Text', CommandTimeout='120']
SET NOCOUNT ON;
INSERT INTO [Payments_OrderItem] ([ItemId], [ItemType], [OrderId], [Quantity], [UnitPrice])
VALUES (@p22, @p23, @p24, @p25, @p26);
SELECT [ID]
FROM [Payments_OrderItem]
WHERE @@ROWCOUNT = 1 AND [ID] = scope_identity();
PortalWeb.exe Information: 0 : 2017-05-17 11:48:56.025 -05:00 [Information] Executed DbCommand (33ms) [Parameters=[@p27='?', @p28='?', @p29='?' (Size = 450), @p30='?', @p31='?'], CommandType='Text', CommandTimeout='120']
SET NOCOUNT ON;
INSERT INTO [DiscountCodes_Uses] ([ID], [ConsumedOn], [ConsumerId], [DiscountCodeId], [OrderItemId])
VALUES (@p27, @p28, @p29, @p30, @p31);

As you can see, EF attempts to erroneously INSERT the [ID] column.
As an aside, everything works fine if I don't attempt to add a DiscountCodesUses record.  I.e. all the other tracking/id relationships seems to work.
Is this an EF issue or am I doing it wrong?
Thanks in advance!

In your code

entity.Property(e => e.Id)
.HasColumnName("ID")
.ValueGeneratedNever();

You have configured not to generate values for ID column in DiscountCodes_Uses table. When you add DiscountCodesUses entity to context, EF will just send value as is to database (since there is no value generation configured). In your case, since you have not set the value of Id it takes the default value of int which is 0. You need to provide a value for Id property or set value generation for it.

Thanks, @smitpatel
Two things:

That code was generated by EF scaffolding.
I removed the .ValueGeneratedNever() line... and now

Exception is:
InnerException = {"Cannot insert the value NULL into column 'ID', table 'dbo.DiscountCodes_Uses'; column does not allow nulls.
Answer to 2:
Since your database is not configured to generate any values, your database needs you to provide value of the column every time you are trying to insert something. When ValueGeneratedNever call was made, EF concluded that we don't have to generate values hence we will send whatever value you provided while adding the entity which is 0 and we sent it. (hence first exception)
When you remove call to ValueGeneratedNever in the runtime model, you made the property as ValueGenerated (by convention it would Identity). Since the value set is 0 which is default(long), we take it as no value set and the value should be generated by database. This sends Insert statement without including the column ID. Hence the 2nd exception.
Given that your database is not configured to use any value generation, whenever you are adding new entity, you need to explicitly specify the value of Id column.

Oh geez...!
Sorry for wasting your time and thanks for your help!


Issue #3743: add Gurobi error log

Log Gurobi error if Gurobi environment cannot be loaded

Wrong place. It should be in the function at the top of the file.
And PR should be against main (and not stable).
I will look.

I have pushed my code to do this.

https://github.com/google/or-tools/commit/dfdf042f6be3f9612c44f58be1035954024847e3#diff-c66dfba5003e496974e5afdd9cd57908ea5416e389f5c8396afbd3576c583731R35


Changes in ProphetAppMultiRepoRequest

Current ProphetAppMultiRepoRequest:
{
	"repositories": [
		{
			"path": "https://github.com/FudanSELab/train-ticket",
			"isMonolith": false
		}
	],
	"systemName" : "tms"
}

Proposed:
System will append https://github.com/
In the future, we can extend to bitbucket, gitlab, etc.
{
	"repositories": [
		{
			"path": "FudanSELab/train-ticket",
			"isMonolith": false
		}
	],
	"systemName" : "tms"
}

Implemented in 0.0.8-dev branch


Bug 2068600: Check that deployment ready replicas greater than zero

There is a case where both ReadyReplicas and Replicas are 0
and the Eventually passes. Adding this to avoid this situation.

/bugzilla refresh

/bugzilla refresh

/approve
/labe backport-risk-assessed

/lgtm

/bugzilla refresh

/label cherry-pick approved

/label cherry-pick-approved

@asood-rh @gregkopels @evgenLevin could one of you please review and approve the cherry-pick? Thank you.


Add documentation for Github OIDC federation with Keycloak

Signed-off-by: Lily Sturmann<EMAIL_ADDRESS>Co-authored by: Andrew Block<EMAIL_ADDRESS>I keep moving this to work around the CI testing issues - hopefully this is the last one.

/approve
/lgtm


Setup doesn't work as expected?

Hi, first of all thanks for the great plugin!
One thing I noticed, I was only able to make my custom setting to go through if I set the value of vim.g.neocolumn_setup to false before calling the setup function, like this:
local status, neocolumn = pcall(require, "NeoColumn")
if not status then
	return
end

vim.g.neocolumn_setup = false

neocolumn.setup({
	fg_color = colorscheme.base01,
	bg_color = colorscheme.base09,
	NeoColumn = { "80", "120" },
})

Is this the intended behavior?

Nice, thanks! 🙂


Gyro Continuously detects changes on crypto-key Resource

Gyro continuously detects changes to the crypto-key resource. Gyro says it updates it, but doesn't change the state file. When I gyro up the next time, the same changes are detected.
Config:
google::crypto-key qa-key
    key-ring: $(google::key-ring "base/todd-gyro-gcp-1")
    name: "qa-key"
    purpose: "ENCRYPT_DECRYPT"
    rotation-period: 1
    next-rotation-date: "09/21/2020"
    primary-key-version-id: 1

    crypto-key-version-template
        algorithm: GOOGLE_SYMMETRIC_ENCRYPTION
        protection-level: software
    end
end

State:
google::crypto-key 'qa-key'
    '_configured-fields': ['key-ring', 'name', 'purpose', 'rotation-period', 'next-rotation-date', 'primary-key-version-id', 'crypto-key-version-template']

    crypto-key-version-template
        '_configured-fields': ['algorithm', 'protection-level']
        'algorithm': 'GOOGLE_SYMMETRIC_ENCRYPTION'
        'protection-level': 'SOFTWARE'
    end
    'id': 'projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key'
    'key-ring': $('google::key-ring' 'base/todd-gyro-gcp-1')
    'labels': {}
    'name': 'qa-key'
    'next-rotation-date': '09/21/2020'
    'primary-key-version-id': '1'
    'purpose': 'ENCRYPT_DECRYPT'
    'rotation-period': 1
    'versions': ['projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key/cryptoKeyVersions/1']
end

Diff
⟳ Update google::crypto-key qa-key (projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key)
· primary-key-version-id:  'projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key/cryptoKeyVersions/1' → '1'

Output
⟳ Updating google::crypto-key qa-key (projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key)
· primary-key-version-id:  'projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key/cryptoKeyVersions/1' → '1'
OK

The fix would need you to reset all the value of primary-key-version-id so it only contains the last id part of the value. primary-key-version-id:  'projects/todd-gyro-gcp/locations/global/keyRings/todd-gyro-gcp-1/cryptoKeys/qa-key/cryptoKeyVersions/1' → '1'

I'm confused. Our config value for primary-key-version-id is set to 1.
google::crypto-key qa-key
    key-ring: $(google::key-ring "base/todd-gyro-gcp-1")
    name: "qa-key"
    purpose: "ENCRYPT_DECRYPT"
    rotation-period: 1
    next-rotation-date: "09/21/2020"
    primary-key-version-id: 1

    crypto-key-version-template
        algorithm: GOOGLE_SYMMETRIC_ENCRYPTION
        protection-level: software
    end
end

The bug is that the long version gets saved in the state and Gyro keeps wanted to change it.

Fix seems to work.


Data size error reported during training

Error message：
raise ValueError(f'Scale mismatches. GT ({h_gt}, {w_gt}) is not {scale}x ',
ValueError: ('Scale mismatches. GT (256, 256) is not 4x ', 'multiplication of LQ (256, 256).')
Is the amount of data required for fine-tuning training with my own data?Please teach me how to fix it

I also got the same error. Have you fixed the error yet?


Avoid creating empty instance specs

@bratseth please review.
@tokle FYI.
Allows an application with the deployment spec
<deployment some-attribute='some-value'>
</deployment>

to be deleted — currently this is disallowed, because it has a "default" instance.

You need to fix some unit test in config-model-api though.

Thanks!

Yeah, this didn't work at all >_< Wonder how I crossed that unit test off as successful, in my head. Anyway, this should be better. PTAL.


Firebase V9 compatibility

import firebase from "firebase/app" threw an error saying:
export 'default' (imported as 'firebase') was not found in 'firebase/app'
Solved by changing imports to:
import firebase from 'firebase/compat/app';
import 'firebase/compat/auth';
import 'firebase/compat/firestore';

The project is running version v8 of firebase, if you want to use v9 you'll have to use compact, I do intend on updating this in the near future.


ntr: negative regulation of telomerase activity

Hi,
I'm curating a paper about the yeast homolog of human PinX1, a
protein that binds to and inhibits the activity of telomerase. Thus, I'd
like a process term for "negative regulation of telomerase activity", with
a standard definition.
Since the protein is characterized to bind directly to the catalytic
subunit of the enzyme and thus sequester it away from the telomerase
template RNA, it might be appropriate to also have a function term for
"telomerase inhibitor activity". The def for this could be something like
"Binds to the catalytic subunit of telomerase and sequesters it away
from the telomerase template RNA, thus preventing the formation of
active telomerase holoenzyme."
yeast paper: PMID: 14977919
human paper: PMID: 11701125
thanks,
-Karen
Reported by: krchristie
Original Ticket: "geneontology/ontology-requests/3251":https://sourceforge.net/p/geneontology/ontology-requests/3251

thanks www.movied.org


feat(error): Use the icon from .tk-validation__errors

Description

Use the generated icon from .tk-validation__errors

Demo

Will merge the change in the other PR : https://github.com/SymphonyPlatformSolutions/symphony-ui-toolkit/pull/402