Remove confusing note about authenticate

This note was added in 1.8, but doesn't seem to have ever been true. authenticate is the main way to check a set of credentials, as recommended under "How to log a user in" further down this page. login_required isn't at all comparable and doesn't replace it in any way whatsoever.

As I recall, the original motivation for the note was that a user was reimplementing functionality that Django already provides. Instead of pointing to @login_required here, maybe suggesting LoginView is more sensible. Similarly, "How to log a user in" might benefit from a pointer to LoginView.
I think the need to use authenticate() is somewhat rare, but maybe you have a use case in mind that we could add to help clarify, although RemoteUserMiddleware is there as an example now.

Does it make more sense to you if the last sentence said:
Rather if you're looking for a way to login a user, see the
:class:`~django.contrib.auth.views.LoginView`.


[Feature] About Page Header

Description
Implement the AboutPageHeader component per design and add it to /about page.
NOTE: The header is currently available as an image - to be updated  to image + text when background image is provided
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Screenshots

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

👍🏽
Looks good @gertie-sheshe but the component will be useful with text that as an image. For example have you tried viewing it in mobile/table screen size?.
As we discussed, you can implement it with a placeholder background image (or just blue/purple background color) while we wait for the background image from the design team.

Got it. I think I understood it as using the image on the design as a placeholder. Your approach is definitely better. Let me make the changes


Add a checkbox to mute notifications

sorry, I got confused. Please ignore me :smile:

Test post please ignore https://www.reddit.com/r/pics/comments/92dd8/test_post_please_ignore/


Refactor Println to use a stream

The default Println writes to stdout which makes it harder to test.
Refactored to write to stdout but configured with a variable which can
be updated for tests.
Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

I'm curious if an io writer instead would be better?

Isn't stdout an io.writer? The goal was to replace the var Output = os.Stdout variable with a byte buffer to test things.
If you have better suggestions let me know. 👍

I'm curious if an io writer instead would be better?

Isn't stdout an io.writer? The goal was to replace the var Output = os.Stdout variable with a byte buffer to test things.
If you have better suggestions let me know. 👍

Sorry, I meant use an io.Writer as a field to the structure, and let the caller decide where to store the "logs".
Let me know what you think.
@ianlewis feel free to chime in

I'm going to close this as it's pretty stale. Feel free to rebase and send a new PR if we still need this


Fix icon for shared projects in nested hierarchy

Before:

After:

The warning icon is being tracked here: https://github.com/dotnet/roslyn-project-system/issues/1627

tag @abpiskunov @dotnet/project-system

Yes, looks good sorry just saw the PR - btw i am preparing major redesign in dependencies for 15.3 which would include cross targeting , will send PR soon.


(seer) Installation error

Expected Behavior
It should install the latest version of seer.
Current Behavior

Error on install, my best bet is that the author removed the releases from github.
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/ccseer/Seer/raw/master/Seer-0.7er-0.7.4.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.The install of seer was NOT successful.

Possible Solution

Find where the new releases are stored.
Your Environment

Package Version used: latest
Operating System and version: Windows 10 1607
Chocolatey version: 0.10.11

I think you have the wrong repository, this package isn't located here.
Please use the Contact Maintainers on the package page, this repository only contains packages from the chocolatey user.


feat: implement FileUploader and use in resource form 🗂

Closes #264
Description ✏
This PR enhances the ResourceAttachmentField component by integrating the new FileUploader component into the UI package.

New UI for file input
File attachment preview
Added styling when hovering or dragging a file over
Added an error message for oversized files & wrong file types (see potential issues below).

Potential issues 🚩:

The current <input type='file' /> element allows users to select files of any size, but server-side validation handles the actual size limit.
Possible Optimization: Disabling the Save button when the selected file exceeds the size limit OR the file type is not supported to prevent unnecessary uploads.

Type of Change 🐞

[x] Feature - A non-breaking change which adds functionality.
[ ] Fix - A non-breaking change which fixes an issue.
[ ] Refactor - A change that neither fixes a bug nor adds a feature.
[ ] Documentation - A change only to in-code or markdown documentation.
[ ] Tests - A change that adds missing unit/integration tests.
[ ] Chore - A change that is likely none of the above.

Checklist ✅

[x] I have done a self-review of my code.
[x] I have manually tested my code (if applicable).
[ ] I have added/updated any relevant documentation (if applicable).

Thanks @ramiAbdou I like the changes you've made, the new UI looks great!


DO NOT MERGE! Fast Forward stable to<PHONE_NUMBER>7ff747a815d08f080765812443a43e.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed


Can't list all project

yes, there is a pagination process in the list request, a "More" button need be added in next version


Outline Mac dns fails after being idle for a long time

Outline fails to resolve domain names after the computer sleeps for a long time.(2 hours or more) A website such as google.com times out while an ip address such as <IP_ADDRESS> is perfectly reachable. The status is listed as "connected"

@Omoeba Thanks for the report! @alalamav Have you ever encountered this?

Seems like there may be an issue with DNS after idleness. I'll  try to reproduce.
Thank you for the report, @Omoeba. If you encounter the issue, could you please submit feedback through the app?

I can confirm it is a dns issue. ip addresses are reachable but dns will time out.


Updating vuepress-plugin-live breaks docs examples

Updating vuepress-plugin-live from 1.4.2 to 1.5.0+ breaks the following examples in the docs:

http://localhost:8080/components/Async.html#call-promise-using-refs
http://localhost:8080/components/Dialog.html#prevent-scrolling
http://localhost:8080/components/Drawer.html#styled-examples
http://localhost:8080/components/Drawer.html#examples
http://localhost:8080/components/Drawer.html#using-v-model
http://localhost:8080/components/Drawer.html#right-aligned
http://localhost:8080/components/Drawer.html#prevent-page-scroll
http://localhost:8080/components/Drawer.html#add-transitions
http://localhost:8080/components/File.html#custom-dropzone-content
http://localhost:8080/components/Form.html#styled-example
http://localhost:8080/components/Form.html#form-status
http://localhost:8080/components/Form.html#clearing-inputs
http://localhost:8080/components/Input.html#styled-example
http://localhost:8080/components/Intersect.html#using-a-scoped-slot
http://localhost:8080/components/Resize.html#styled-example
http://localhost:8080/components/Toggle.html#scoped-slots
http://localhost:8080/directives/clickout.html#usage
http://localhost:8080/directives/intersect.html#default-behavior

VuePress-Plugin-Live Version Release Notes

Interesting. Im going to have to spend some time with this one.

Specifically happens when going from v1.4.2 to the next release, 1.5.0 (or above).

v1.4.2 to v1.5.0

Not much changed between these two, so hopefully it is easy to figure out.
One change that occurred was updating a dependency, Vue-Live, from v1.4.3 to v1.6.0. So a code change in there may be related also.

Hello,
Is there any update on that one? I saw the plugin:[['live']] is missing on vuepress config I wonder if a newer version could have fixed that issue so we can reenable it or if there are alternatives to vuepress live plugin.
Not having a live example is quite painful when looking at the documentation.

The original issue was actually unrelated to this latest one, but I've upgraded Vuepress to the next version. Unfortunately, vuepress-plugin-live does not currently support the next version. I've reached out to the authors to see if they are going to support it and waiting to hear back. If not, then my options are to either make a PR myself (or fork it) or maybe use an embeded Codesandbox. It may take me a little while to get to it, but I fully intend to have live examples in the documentation.


Readme.md

Needs to at least cover each of the commands and project usage especially.

eh this is p much done in v0.2.0


convert_date_time fails if offset is GMT or positive

Line 109 of lib/write_xlsx/utility.rb contains the following line:
return nil if date_time =~ /[^0-9T:-.Z]/
When running this regex against the time "2014-11-20T00:00:00+00:00" with an online regex tester (http://rubular.com/), I found that the "+" was getting caught. Adding a + seemed to fix this:
return nil if date_time =~ /[^0-9T:-+.Z]/

thank you for your comment.
It is difficult to decide how to handle time zone in write_xlsx.
for example, "00:00:00+09:00" means "00:00:00" for Japanese user, but different time for the user in other areas.
so it is better handle time zone not in write_xlsx but in client program, i think.


Note types with spaces don't get sorted

Note type "Japanese sentences" wasn't getting sorted, changed name to "Japanese-sentences" and it worked.

Should be working from v1.1.8


Explore Encrypting Private Values with XChacha20Poly1305 with js-dag-jose

Related to #4, we need to explore and implement symmetric encryption for any sensitive information. In the current meta-content.json, this data is under the key "private". Ideally, only the value, not the attribute, will be encrypted.
This encryption is on the level of the waczCID, meaning that there is a new key for every new wacz file. Those keys will need to be managed appropriately (I'll add key management in a separate issue).
User Story
As a researcher, I can take a wacz file, hash it and read the public info from Starling's Hyperbee Gateway. I will see some values are encrypted. To read that data, I can ask Starling for the key for that particular wacz file. In my UI, I can enter that key as a string and then (in the browser in the UWAZI UI) I can decrypt the data. (The UI portion will be added as a separate Github issue).
Methods
Ceramic Network's dag-jose library seems to provide what we need, with the added bonus of being able to directly put the result on IPFS. However, we may need to work out complications with wanting to encrypt some values but not others, and treating all of the information for a wacz as a single MongoDB-like doc if we use HyperbeeDeeBee as in #4 .
From the Ceramic docs: Symmetric encryption
Encrypt and store a payload using a secret key:
const storeEncrypted = async (payload, key) => {
  const dirEncrypter = xc20pDirEncrypter(key)
  // prepares a cleartext object to be encrypted in a JWE
  const cleartext = await prepareCleartext(payload)
  // encrypt into JWE container layout using secret key
  const jwe = await createJWE(cleartext, [dirEncrypter])
  // let IPFS store the bytes using the DAG-JOSE codec and return a CID
  const cid = await ipfs.dag.put(jwe, { format: dagJoseIpldFormat.codec, hashAlg: 'sha2-256' })
  console.log(`Encrypted block CID: \u001b[32m${cid}\u001b[39m`)
  return cid
}

Load an encrypted block from a CID and decrypt the payload using a secret key:
const loadEncrypted = async (cid, key) => {
  const dirDecrypter = xc20pDirDecrypter(key)
  const retrieved = await ipfs.dag.get(cid)
  const decryptedData = await decryptJWE(retrieved.value, dirDecrypter)
  return decodeCleartext(decryptedData)
}

Create a key, encrypt and store a block, then load and decrypt it:
const key = randomBytes(32)
const secretz = { my: 'secret message' }
console.log('Encrypting and storing secret:\u001b[1m', secretz, '\u001b[22m')
const cid = await storeEncrypted(secretz, key)
const decoded = await loadEncrypted(cid, key)
console.log('Loaded and decrypted block content:\u001b[1m', decoded, '\u001b[22m')

Since we're able to use binary, I don't think we need to ASCII-armor any of the data.


Alternative solution of the Word exercise in functional

Alternative solution of the Word exercise in functional using the method "lineToWord" given in the text

Less readable than the original one.


how to give width or style css ? not able to bind ?

width its working thanks

You can set width through settings, and bind style through class or id, by matching element layer.


[Twilio’s Authy] ...

Extension
https://www.raycast.com/guga4ka/authy
Description
Error:
Error: missing expected parameter: clearRootSearch

Steps To Reproduce

Search a code with Authy's extension
Hit enter to copy to clipboard

Current Behaviour
The app shows an error and nothing gets copied to the clipboard
Expected Behaviour
The code is copied to the clipboard

What version of macOS / Raycast do you use?

For this specific report
macOS Sonoma 14.1
Raycast 1.60.1
But I have the exact same behaviour with my macOS running latest Ventura and same Raycast version

Also, don't know if worth mentioning here or opening a new bug report; I'm not getting all the accounts synced. I have only a handful of accounts accessible through raycast out of like 30 that I have on my Authy account


Use Slice to encode null flags in blocks

The getRegion method copies chunks of the underlying boolean array on every call.
By switching it to a slice, we can create a view, instead.

looks good


rocPRIM changes to support reloctable ROCM installation

Hard coded reference to /opt/rocm is parameterized
to CMAKE_INSTALL_PREFIX
Package is generated to install into ROCM_INSTALL_PATH if
defined in the env otherwise default into /opt/rocm

Signed-off-by: Pruthvi Madugundu<EMAIL_ADDRESS>

Please review the updated commit.
Thank you.

Please review the latest commit.


Add support for promises

Promise support is a must have and is definitely preferred over callbacks.

@marcus-sa This code is generated by the gRPC code generator. Please see the issue here:
https://github.com/grpc/grpc-node/issues/54
Discussing why they still use callbacks.
I'm going to investigate grpc-helper and see if we can use that.
Failing at that, hand-written code to help with this is also ok...

@marcus-sa This code is generated by the gRPC code generator. Please see the issue here:
grpc/grpc-node#54
Discussing why they still use callbacks.
I'm going to investigate grpc-helper and see if we can use that.
Failing at that, hand-written code to help with this is also ok...

Was looking at the same thing for promises, apparently there is a bug that has to get resolved first (PR is open at: https://github.com/xizhibei/grpc-helper/pull/9/files#diff-3cafb86a5b0a9d0916a7fed543a1fb53)

Promises have been added in the entire library now, so closing this.


Add exclude method for version catalog dependencies

This pr adds a version of exclude that accepts version catalog dependencies. I didn't see any existing tests for this file, but let me know if there is somewhere I should be adding tests for this.
https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/issues/946

Sorry, apparently there's now a merge conflict. Resolve that and I can merge this.


this.constants munges what's defined in this.config during initializations

setting up a test to see if GHE is supported and it seems like it is.
however, when attempting to query a known user from GHE using the setup perscribed in the readme, i'm redirect to use the public github.com apis rather than the prefixed GHE host.
It looks like the constants are always used within the config from the routes.defines area rather than the config.

A lot has changed since this ticket was created. Are you still seeing this?

There was an issue where any provided host in the config was being clobbered by the default non-enterprise one. It's been fixed.


Add #[allow(dead_code)] to ?clippy

Given the fact Ferris' ?clippy command, doesn't execute the code on the playground, rather, just lints it, if possible, could the #[allow(dead_code) flag, be enabled...? As I'd suspect members are often using the command to lint snippets of code, out of context, for which highlighting that the snippet is unused, is quite unhelpful...

Source: https://discord.com/channels/273534239310479360/461038099682689054/985216327499276328


[tcgc] multipart doc

fixes https://github.com/Azure/typespec-azure/issues/607

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs

@ArcturusZhang @qiaozha could you help to add doc for your language?

@timovv Could you help take a look for JS part ? thanks


Music page won't open

Hi there: Nice tool guys, respect for it and thank you !
I'm installed vk-cli on Bash on Ubuntu on Windows. expect the Music page, everything works fine. When I'm trying to open Music page, after a long time the application returns the following log trace:
Environemetnt
VK version 0.7.6
Bah on Ubuntu on Windows: 4.4.0-17134-Microsoft #48-Microsoft Fri Apr 27 18:06:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
D Compiler version: DMD64 D Compiler v2.080.1

StackTrace
std.conv.ConvOverflowException@/usr/include/dmd/phobos/std/conv.d(1356): Conversion negative overflow
/usr/include/dmd/phobos/std/conv.d:158 pure @safe int std.conv.toImpl!(int, real).toImpl(real) [0x7267de]
/usr/include/dmd/phobos/std/conv.d:194 pure @safe int std.conv.to!(int).to!(real).to(real) [0x72676a]
source/app.d:78 vkapi.vkAudi[] app.getShuffledMusic(int, int) [0x7100d6]
source/app.d:1162 app.ListElement[] app.GetMusic() [0x71948e]
source/app.d:496 void app.bodyToBuffer() [0x713538]
source/app.d:1317 _Dmain [0x71a651]
??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFNlZv [0x7dcdc3]
??:? scope void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[], char**, extern (C) int function(char[][])*).runAll() [0x7dcd6c]
??:? scope void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x7dccf3]
??:? _d_run_main [0x7dcc63]
??:? main [0x783201]
??:? __libc_start_main [0xd7ce1f44]

Could you please help me to solve this and enjoy music on my terminal?

It's hard to tell the exact cause from a first glance. Will check it in a while

I can tell more details if you need

It's a bit hard to reproduce coz of win10 + WSL


Document job service in compact architecture

@LightGuard  I will do a readme for job service.

That's a good start. Please work with Veena and Justine to get this into the docs.

https://github.com/kiegroup/kogito-apps/blob/main/jobs-service/README.md


No error and not work

I run two commands.
python run_basics.py
python demo.py -i images -o result --isDlib True
There seems to be no error. But  it didn't seem to be work.
Anyone can help me, please


Why Android Studio 2.2 preview7 prompt “Lombok requires annotation processing ”

This is a wrong project for this issue.  Lombok plugin for IntelliJ and Android Studio already has this issue reported with information to the background and issue that seems to be in AS API reporting that annotation processing is disabled while it's enabled by default.
https://github.com/mplushnikov/lombok-intellij-plugin/issues/264


rtrdump: serial missing from metadata if zero

Hello,
setup is:
VRP's: https://rpki.cloudflare.com/rpki.json
Server: GoRTR v0.14.6
Client: RTRdump 0.11.0 (really is v0.14.6 but the version string was not updated)
When GoRTR was just started, and the serial is zero:
systemd[1]: Started GoRTR RPKI to router server.
gortr[53493]: time="2020-10-24T23:00:53+02:00" level=info msg="New update (188879 uniques, 188879 total prefixes). 0 bytes. Updating sha256 hash  -> dbbbbd2701d7d695435842bf91729e4dad2cee533d8611092530de20cf15d3ce"
gortr[53493]: time="2020-10-24T23:00:54+02:00" level=info msg="Updated added, new serial 0"
gortr[53493]: time="2020-10-24T23:00:54+02:00" level=info msg="GoRTR Server started (sessionID:62387, refresh:3600, retry:600, expire:7200)"
gortr[53493]: time="2020-10-24T23:01:01+02:00" level=info msg="Accepted tcp connection from <IP_ADDRESS>:36358 (1/0)"
gortr[53493]: time="2020-10-24T23:01:03+02:00" level=info msg="Disconnecting client <IP_ADDRESS>:36358 (v1) / Serial: 0"

lukas@ubuntu20:~$ jq '.["metadata"]' output.json
{
  "counts": 188879,
  "generated":<PHONE_NUMBER>,
  "valid":<PHONE_NUMBER>
}
lukas@ubuntu20:~$

I would expect to see "serial": 0 in JSON, instead of omitting the serial.
Only when the serial bumps to non-zero does the JSON metadata output from the rtrdump contain it:
gortr[53493]: time="2020-10-24T23:10:54+02:00" level=info msg="HTTP 304 Not modified for https://rpki.cloudflare.com/rpki.json"
gortr[53493]: time="2020-10-24T23:20:49+02:00" level=info msg="New update (188878 uniques, 188878 total prefixes). 0 bytes. Updating sha256 hash dbbbbd2701d7d695435842bf91729e4dad2cee533d8611092530de20cf15d3ce -> 4ac2429ec0831c8877e58b8f35d2f4e491e562463d6882f4f5a8cbec5dc53073"
gortr[53493]: time="2020-10-24T23:20:51+02:00" level=info msg="Updated added, new serial 1"
gortr[53493]: time="2020-10-24T23:21:21+02:00" level=info msg="Accepted tcp connection from <IP_ADDRESS>:36542 (1/0)"
gortr[53493]: time="2020-10-24T23:21:23+02:00" level=info msg="Disconnecting client <IP_ADDRESS>:36542 (v1) / Serial: 0

lukas@ubuntu20:~$ jq '.["metadata"]' output.json
{
  "counts": 188878,
  "generated":<PHONE_NUMBER>,
  "valid":<PHONE_NUMBER>,
  "serial": 1
}
lukas@ubuntu20:~$

This is making monitoring serial updates more difficult.
Could you make rtrdump emit "serial": 0 in these cases instead if omitting it?

Thank you for raising the issue.
I'll have a look at making the version number dynamic.
What happens here is Golang has an omitempty setting which, when the value is zero, it is considered as default. I may be able to remove this flag. What are you using to monitor serial updates?

I'm currently writing and testing a script that handles rtrdump and jq, compares serial and data with a previous run, and returns with different exit codes, infos on stdout and errors on stderr.
I should then be able to use the script both in custom situations (cronjob triggered local health-check and sending results to something like healthcheck.io) and also as a nagios plugin.

Following #82, I am considering making something like this (that would output to Prometheus).
Your solution seems quite nice. Although I don't think jq is able to handle default values: I will take a look at removing the omitempty then.

I'm accessing '.["metadata"]["serial"] | numbers', if my script doesn't see anything (in case of the serial being omitted), then the script currently assumes "serial": 0 :
lukas@rpki-bz:~$ jq '.["metadata"]["serial"] | numbers' output.json
1
lukas@rpki-bz:~$ jq '.["metadata"]["serial"] | numbers' output-noserial.json
lukas@rpki-bz:~$

I don't understand what you mean by saying jq may not be being able to handle default values?

I don't understand what you mean by saying jq may not be being able to handle default values?

`jq '.["metadata"]["serial"] | numbers' does not return zero but empty: you have to assume zero in the reading script, correct?

Yes, I have to assume zero in this case, so I'm unable to tell the difference between incomplete JSON and "just" missing serial.
If rtrdump would output "serial": 0 then I don't have to assume zero and can handle invalid/incomplete JSON also.

Ah to handle the case where the rtr session would break and rtrdump outputs a partial file?

Well I didn't think about possible failure scenarios too much to be honest, I'm just trying to make it as robust as possible, so that's why I dislike the idea that I have to assume zero when the parameter is missing. I think if 0 is a proper serial number valid as per the RTR specification, it should appear in the JSON explicitly.
In reality, jq behaves differently with a truncated JSON file, so this could be detected today:
lukas@rpki-bz:~$ jq '.["metadata"]["serial"] | numbers' output-noserial.json
lukas@rpki-bz:~$ echo $?
0
lukas@rpki-bz:~$ jq '.["metadata"]["serial"] | numbers' output-truncated.json
parse error: Unfinished string at EOF at line 1, column 11451471
lukas@rpki-bz:~$ echo $?
4
lukas@rpki-bz:~$

I just feel like I would be more robust to remove the second part (although even today a truncated json would lead to jq return non-zero, and the die() error function would stop it all):
# read serial from JSON
RTR_SERIAL=$($JQ '.["metadata"]["serial"] | numbers' $RTRCHK_RTRDUMP_FILE) || die

# if not found, assume zero
[ -z "$RTR_SERIAL" ] && RTR_SERIAL=0


Calculate elasticsearch gateway parameters automatically from replicas

Signed-off-by: Benjamin<EMAIL_ADDRESS>
What this PR does / why we need it:
Calculate elasticsearch gateway parameters automatically from master/data node replicas instead of manually changing MINIMUM_MASTER_NODES and other parameters
Special notes for your reviewer:
Already tested the changes of this PR
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

Hi @icereval @rendhalver ,
Just wondering if you're ok with this PR?
Thanks Ben


Implement Linear Combination "outlining"

Rank-1 constraint systems as used in Groth16 and other similar LIP-based SNARKs enjoy "free" addition gates of arbitrary arity. That is, the cost of MSMs in these SNARKs does not scale with the density of the R1CS matrices.
This is not the case for SNARKs like Marlin and Fractal. In these SNARKs, MSM cost scales with matrix density. One way to reduce density is to "outline" commonly used linear combinations: instead of substituting a LC into the constraints that uses it, one instead creates a new variable from the LC, and uses this variable in those constraints. This optimization is beneficial as long as the number of variables does not grow too large. This issue tracks ideas and progress on implementing an algorithm for performing this optimization.

This is implemented now.


Arguments Segregation

Hi,
You've provided the great solution but somehow script binwalk.py does not segregate arguments provided.
For instance,
binwalk -e file.bin
will execute like
binwalk -efile.bin
Which is not a valid one.

strl = ' '.join(sys.argv[1:])
command = 'python "C:\\Program Files\\Python37\\Scripts\\binwalk" ' + strl
os.system(command)

Added

Merged


Linkable Lighthouse viewer reports

I'd like to be able to send a link to a lighthouse viewer/report to someone to investigate and make improvements on the page based on the report.
Can you add a way to include the ID of the run in the lighthouse-viewer URL so I can send it to someone and it will load that particular run's report.

How to: Update URL to include run.id, make page with frames.
JS grabs ID, hits service for run report object, then calls function to use it.
Kinda like that


Backport 1.18 CVE 2022 2879 fix to 1.16.15

Issue #, if available:
Description of changes:
Backport the patch for CVE-2022-2879
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold

/lgtm

/approve


CartoMobileSDK Pod can't be fetched (HTTP 403 Error)

When installing from a fresh nativescript project and adding @nativescript-community/ui-carto I get the following error during Pod generation:
[!] Error installing CartoMobileSDK
[!] /usr/bin/curl -f -L -o /var/folders/jn/q_8tx4cj2rg08_n1vhv7qh9m0000gn/T/d20240430-36531-s2pew2/file.zip https://nutifront.s3.amazonaws.com/sdk_snapshots/sdk4-ios-4.4.7.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403

When I access the repo https://nutifront.s3.amazonaws.com/sdk_snapshots/sdk4-ios-4.4.7.zip directly using a browser I get
<Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>6W6ZGA924V4QW7GQ</RequestId>
<HostId>
heJ/wRo6Hw4knu043a7Vw/gBOTs0C1Nk92fp31eCaiCZFCQKuHRCfwxHOvqKn8lJv1ug18/bE6Q=
</HostId>
</Error>

I've tried to access the repo from different IP-Locations in case one of my IPs was all of the sudden blacklisted or whatever but no luck.
Does anybody have any suggestions what to do?
Building the Pod from the GitHub repo failed as well. Does anybody have a working example how to build the CartoMobileSDK on a MacOS (arm)?
Any help would be much appreciated!
Thx in advance.

@Xaver-M-Kienzerle might an issue on Carto side. And seeing they officially dropped carto mobile SDK it might be permanent.
However I now maintain a fork (have been for years in fact).
I will setup a pod so you can download it. Might take a few days though. I will loom tomorrow if I have the latest version available somewhere in my projects

@Xaver-M-Kienzerle here is the latest iOS release from Carto https://github.com/Akylas/mobile-sdk/releases/tag/release%2Fv4.4.6-rc.1

@farfromrefug Thank you very much for your quick response and help!
I've downloaded the zip, extracted and put it into platforms/iOS/Pods/CartoMobileSDK like:
$ ls platforms/ios/Pods/CartoMobileSDK/CartoMobileSDK.xcframework
Info.plist                      ios-arm64_armv7                 ios-arm64_i386_x86_64-simulator

But running the project I got the same error as before. It seems I didn't install the pod correctly or the pod install command needs something else to recognize the SDK package?
Could you give me a hint? - I'm not very familiar with the whole cocoa system..

Normal you get the same error as the plugin still tries to get it from the web. Not sure how but from your app podfile you need to say that the CartMobileSDK pod comes a zip or a Dir. Think it is possible

I've modified the @nativescript-community/ui-carto/platforms/iOS/Podfile to include the path to the zip file ...
pod 'CartoMobileSDK', :path => '~/Downloads/CartoMobileSDK.4.4.7.ios.zip'

... which prevents the download error.
BUT now the issue of a missing "podspec" file aroused:
webpack 5.88.2 compiled successfully in 7444 ms
Webpack compilation complete.
Installing pods...
Analyzing dependencies
[!] No podspec found for `CartoMobileSDK` in `~/Downloads/CartoMobileSDK.4.4.7.ios.zip`

I will keep investigation in the next couple days.

Last solution. Remove the podfile from the plugin and put the xcframework directly there. You might even be able to use patch package to do that automatically with npm install

I fixed it by providing a custom podspec file which I compiled using the template from https://github.com/CartoDB/scripts/build-ios.py.
My custom podspec file looks like:

Pod::Spec.new do |s|

  s.name         = "CartoMobileSDK"
  s.module_name  = "CartoMobileSDK"
  s.version      = "4.4.7"
  s.summary      = "CARTO Mobile SDK is an advanced MapView with 3D effects, offline maps, routing, geocoding and many more features"

  s.description  = <<-DESC
                   Advanced MapView API

                   * Offline packages for maps, routing and geocoding
                   * Fast vector tile rendering with CartoCSS styling
                   * 2.5D view - tilting, rotating, navigation view
                   * 3D models on map
                   * Use your own custom map data sources
                   * Same API for iOS, Android, Xamarin, Universal Windows Platform

                   By carto.com
                   DESC

  s.homepage     = "https://carto.com/developers/mobile-sdk/"
  s.screenshots  = "https://github.com/CartoDB/mobile-ios-samples/blob/gh-pages/carto-mobile-sdk-animated.gif?raw=true"

  s.license      = { :type => "BSD", :text => <<-LICENSE
                     $license
                     LICENSE
                   }

  s.author             = { "CARTO" => "https://www.carto.com" }
  s.social_media_url   = "https://twitter.com/carto"

  s.platform     = :ios, "9.0"

  s.source       = { :http => "https://github.com/Akylas/mobile-sdk/releases/download/release%2Fv4.4.6-rc.1/CartoMobileSDK.4.4.7.ios.zip" }

  s.source_files  = "CartoMobileSDK.xcframework/**/*.{h,m,mm}"

  s.public_header_files = "CartoMobileSDK.xcframework/**/*.{h}"

  s.preserve_paths = "CartoMobileSDK.xcframework"

  s.frameworks = [ "OpenGLES", "GLKit", "UIKit", "CoreGraphics", "CoreText", "CFNetwork", "Foundation" ]

  s.weak_frameworks = []

  s.vendored_frameworks = "CartoMobileSDK.xcframework"

  s.libraries = "z", "c++"

  s.requires_arc = true

  s.cocoapods_version = ">= 1.10.1"

end

I saved the file to ~/Downloads/CartoMobileSDK.4.4.7.ios.podspec.
Now within the Podfile of the package (@nativescript-community/ui-carto/platforms/iOS/Podfile) I declared the custom podspec like:
pod 'CartoMobileSDK', :podspec => '~/Downloads/CartoMobileSDK.4.4.7.ios.podspec'

Running tns build ios now downloads the SDK from the mirror (provided by @farfromrefug) location and all headers etc. are setup correctly. The build succeeds!
Hope anybody else having this problem might help this.
Thanks again @farfromrefug for your help!!

@Xaver-M-Kienzerle indeed that works too and that is about what my new releases podspec is about to look like :D
BTW in my fork i will drop almost everything Carto related. It means also no more watermark.
Hope that is ok with you.

Glad you liked the pod spec file. Hopefully it will help others too.
What "watermark" are you referring to?

@Xaver-M-Kienzerle the carto logo that appears on the bottom left of the map

Just FYI I removed the watermark a while ago by using setWatermarkScale( 0 ) (I use my own tile server therefore I think this is ok)

@Xaver-M-Kienzerle yes i was doing the same.
Just so you know : https://github.com/Akylas/mobile-sdk/issues/1

From my point of view you can close the issue. Thanks again.

@Xaver-M-Kienzerle if you want to test i just published a rc build of my fork https://github.com/Akylas/mobile-sdk/releases/tag/v5.0.0-rc.1. Not released on maven/cocoapod yet. I need to find a new framework name first...
WARNING: all carto online stuff + licensing have been removed.


#50: Add unit test to check that portbinding that is part of the crea…

…te request is properly serialized.

[merge]


TODO: _find_and_remove

Hey @anguswg-ucsb, first time contribution here!
just a few things, are you interested in contributions to this library? if so are you open to adopting a linting standard throughout the codebase? ( personal rec black )
Refactored & resolved # TODO: this is always 0 because we're removing the match

Dynamically adjusts offset after modifications for precise match positioning. Resolved # TODO
Utilizes single pass through matches.

Hello @jknndy
I am happy to take contributions, thanks for making a PR! Ill take a closer look at your PR this afternoon. I was planning on using black but I hadn't done so yet.
Ill take a look at your pull request this afternoon. The tiny bit I looked at the code change, looks like you cleared up a bit of hacky code I had in there. The only thing I need to double check is the make sure the use of -= in place of += is appropriate when calculating the new offset value for the string (i.e.):
# this:
offset += - (end - start)

# versus this:
offset -= - (end - start)

# this:
offset += - (end - start)

# versus this:
offset -= - (end - start)

The original expression involved adding the length of the replacement string to the offset and then subtracting the length of the replaced substring (end - start) & the updated expression directly subtracts the length of the replaced substring from the offset.


Add py.typed file so types can be used for users of mergedeep

See https://www.python.org/dev/peps/pep-0561/#id18
Without this, mypy won't type check mergedeep in code that uses it as a dependency:
error: Skipping analyzing 'mergedeep': found module but no type hints or library stubs

It looks like this file is in the root of the repo rather than in the mergedeep module folder. Has anyone confirmed that type discovery for this module works right now? Initial indications in my project seem to suggest no.

For me mypy is complaining actually that this package is not typed

Mypy is also telling me that this project is not typed. I do also believe the py.typed file is in the wrong place.

@clarketm could we please check this? Or do you need any help here?

Indeed, the py.typed file needs to be inside the mergedeep folder.
It would be nice if it was moved.
Is this library still being maintained? I see the last commits were made three years ago.


Fix page layout styling for many repositories being selected

Description
If user selects many repositories, the page layout will look weird.
On Desktop — can't click the "View what you have updated using Unfork".

On smaller screens — Back button covers the text, and also can't click the "View what you have updated using Unfork".

Suggested solution

The page content should not overlap with the footer component.
Hide back button on xs - sm sizes
Alternative proposals are welcome

Hi, can i take this one? can you assign it to me?

@kala2 there you go!

Sorry, issue is free for anyone to take it!

Please assign it to me.

I fixed this issue @lyqht please have a look on PR #30


Bintray Examples

I've posted your projects to Bintray, currently just as .MSI and Chocolatey packages (Nuget).

https://bintray.com/bincrafters/public-choco
https://bintray.com/bincrafters/public-msi

Here are some notes about the nuances in no particular order:

Nuget packages posted to bintray can be accessed via chocolatey: see choco source add
This is nice for using choco but bypassing the public repository moderation, also for testing in preparation for pushing to chocolatey central
The same basic advantage exist for both .deb and .rpm packages on linux
Will add linux next
I've only added the x86 pipeline for nuget/chocolatey because Nuget's package structure makes it harder than it's worth to package both x64 and x86 via appveyor.
I did add the MSI files for both architectures, because it's easy with MSI
I've used jfrog's CLI, which has pro's and cons.  I like because I can test my upload commands locally. It's also written in Go co-incidentally.
You have to create the packages on appveyor manually before appveyor will upload
"--override" on jfrog cli doesn't work for nuget packages. It's an API problem, ticket open.
I made appveyor as simple as possible for demo.  Please add back the tag-version mapping and all the other logic that was lost if desired. (For example, you can refactor to do x64 nuget packages if you want).
We can now express dependencies between packages, for example I think emd effectively depends on changelog

cool stuff! are there any files i can look into for the scripting ?

Yes, I forked each repo, look there.

Ok, everything is fully implemented now:
gump, emd, changelog
Each of these projects now features:

a working travis recipe which features:
-- Matrix builds for amd64 and i386
-- Builds both .rpm and .deb and pushes each to corresponding bintray repos
-- Uses apt-get to pull go-bin-deb from bintray for packaging debs
-- Uses very simple custom docker image which has go-bin-rpm for packaging rpms
a working appveyor recipe which features:
-- matrix builds for x64 and x86... but x64 is disabled for reasons to be discussed later
-- Builds both .msi and .nupkg and pushes each to corresponding bintray repos
-- Note: For .msi files, Bintray has "Generic Repo" type
Uses JFrog CLI for uploading to bintray rather than appveyor/travis providers
-- bt_user and bt_key env variables are added in appveyor/travis web UI rather than config

go-msi, go-bin-rpm, go-bin-deb
Each has all the things as the other above with the following differrences:

go-msi
-- Has no travis recipe, only appveyor
go-bin-deb
-- Has no appveyor recipe, only travis
-- skips the go-bin-rpm related steps, has no rpm.json
go-bin-rpm
-- Has no appveyor recipe, only travis
-- skips the go-bin-deb related steps, has no deb.json

Nuances you might hit trying to port these recipes:

x86 debian packages have to be created with arch "i386" for apt-get install to associate properly
Nuget wants both x64 and x86 files in one package, which is incompatible with appveyor matrix
-- One workaround is to bypass the matrix, and build both together (which is how you had it before)
-- Another is to just build the x86 for windows, which is fine for your tools (IMO)
-- You have to pre-create the package on Bintray before uploading which is annoying
-- You can script it with the jfrog cli "pc" option on your local machine

You can automatically reference the existing packages in the corresponding package managers after adding the respective bintray repository to your local list as follows:

Debian
-- echo "deb https://dl.bintray.com/bincrafters/public-deb unstable main" | sudo tee -a /etc/apt/sources.list

Redhat/Centos/Fedora
-- wget https://bintray.com/bincrafters/public-rpm/rpm -O bintray-bincrafters-public-rpm.repo && sudo mv bintray-bincrafters-public-rpm.repo /etc/yum.repos.d/

Windows
-- choco source add -n=bincrafters -s="https://api.bintray.com/nuget/bincrafters/public-choco"

Another nuance I forgot to mention, there is a step in the travis recipes:

cd $HOME/gopath/src/github.com
mv $BT_SUBJECT $ORIGINAL_AUTHOR
export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/$ORIGINAL_AUTHOR/$APP

This is necessary because of a nuance in the go dependency resolution system when working with a forked repository.  You won't need this outside of a fork.

There seems to be an issue with the emd package on windows.
Command ["C:\WINDOWS\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\emd\tools\emd-386-0.0.12.msi" /quiet ] exited with '1603'.
No time to debug at the moment.

Because this repo is named go-github-release maybe the tutorials should be left as-is, and the bintray examples should be documented in a new repo named go-bintray-release or something.

hi @solvingj
about the msi error you got, please check,
https://support.microsoft.com/en-us/help/834484/you-receive-an-error-1603-a-fatal-error-occurred-during-installation-e
https://www.msigeek.com/715/how-to-troubleshoot-the-error-1603-fatal-error-during-installation
I did the check on my windows2k12 vagrant, it worked
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /i C:\\vagrant\\emd-386.msi /quiet"
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /i C:\\vagrant\\emd-386.msi /quiet"
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /x C:\\vagrant\\emd-386.msi /quiet"
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /i C:\\vagrant\\emd-386.msi /quiet"
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /x C:\\vagrant\\emd-386.msi /quiet"
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /i C:\\vagrant\\emd-amd64.msi /quiet"
[mh-cbon@pc2 testing] $ vagrant winrm -c "msiexec.exe /x C:\\vagrant\\emd-amd64.msi /quiet"

PS C:\Users\vagrant> emd
emd - 1.0.0

Please, Keep me up to date if the problem persists.

Because this repo is named go-github-release maybe the tutorials should be left as-is, and the bintray examples should be documented in a new repo named go-bintray-release or something.

That will be very small guide, no ?
Besides, as many had ask about that, as using gh-pages makes big repositories, and its clunky anyway, i will move to bintray for this guide, and myself.

Thanks to your implementation, I have been able to implement the bintray/travis thing (so painful) for go-bin-deb, with some very minor adjustments. All i got to do now is

apply it on relevant repos,
test all the things,
figure out how to put that down in the guide

https://github.com/mh-cbon/go-bin-deb/blob/master/.travis.yml
for backward compatibility reasons many existing will be kept, but not updated anymore unless some fix.

All sounds good... this is a nice one!
  - (yes n | ./jfrog bt pc --key=$BTKEY --user=$GH_USER --licenses=MIT --vcs-url=https://github.com/$GH_USER/$GH_APP $GH_USER/$GH_APP/$GH_APP) || echo "package already exists"

about that see also https://github.com/JFrogDev/jfrog-cli-go/issues/88 (i did not tried it so far)

go-msi
-- Has no travis recipe, only appveyor

Its better to keep the linux build of go-msi, so the user can access commands like check-json / set-guid / to-rtf independently of their underlying os.

-- You can script it with the jfrog cli "pc" option on your local machine

with https://github.com/JFrogDev/jfrog-cli-go/issues/90 it can be into the build script, but if another good solution exists, worth to mention.

Nuget wants both x64 and x86 files in one package, which is incompatible with appveyor matrix
-- One workaround is to bypass the matrix, and build both together (which is how you had it before)
-- Another is to just build the x86 for windows, which is fine for your tools (IMO)

yes, go msi needs updates.
https://github.com/chocolatey/choco/wiki/HelpersInstallChocolateyInstallPackage#-file64-string
https://github.com/mh-cbon/go-msi/blob/master/templates/choco/chocolateyInstall.ps1#L5
https://github.com/mh-cbon/go-msi/blob/master/templates/choco/pkg.nuspec#L34
but uninstall helper command does not have the -File64 arg.
https://chocolatey.org/docs/helpers-uninstall-chocolatey-package
For the moment i will keep using only one file, 386 one.

Depending on how much time you're interested in investing in adding features to Go-msi, Choco packages have the option of not even containing the MSI.  Instead, they can be built with URL's pointing to the MSI files, which can then be intelligently chosen and downloaded based on architecture at install time.  Many choco recipe's for third party packages are written this way to get around licensing issues for redistributing.   So, from a CI point of view, you might have the 32 and 64 bit runs of appveyor just create the MSI's and put them on bintray "generic" repository.  Then, you can create a choco package for both whenever you want because you can predict the URL's based on the variables.  You can do this either in the 32 bit run, or the 64 bit run, or be lazy and just let it happen in both.  You might also just put a third "arch" in the matrix called choco, and for that architecture, just create the choco package.   All kinda hacky.

Oh, and I also almost mentioned the package creation in the CI recipe in my original post, but because it's annoying how it fails and such, I chose not to. Sorry to see that you ultimately worked your way through all the related problems with that the hard way :(  I should have explained.

Depending on how much time you're interested in investing in adding features to Go-msi, Choco packages have the option of not even containing the MSI. Instead, they can be built with URL's pointing to the MSI files, which can then be intelligently chosen and downloaded based on architecture at install time. Many choco recipe's for third party packages are written this way to get around licensing issues for redistributing. So, from a CI point of view, you might have the 32 and 64 bit runs of appveyor just create the MSI's and put them on bintray "generic" repository. Then, you can create a choco package for both whenever you want because you can predict the URL's based on the variables. You can do this either in the 32 bit run, or the 64 bit run, or be lazy and just let it happen in both. You might also just put a third "arch" in the matrix called choco, and for that architecture, just create the choco package. All kinda hacky. It's nugets fault.

have example on hand ?

Oh, and I also almost mentioned the package creation in the CI recipe in my original post, but because it's annoying how it fails and such, I chose not to. Sorry to see that you ultimately worked your way through all the related problems with that the hard way :( I should have explained.

this https://github.com/mh-cbon/go-msi/blob/master/appveyor.yml#L59 ?

Here's a decent example i think:
https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/curl

thanks!
looks likes it s  a bunch of ps script.
i think it happens at https://github.com/chocolatey/chocolatey-coreteampackages/blob/master/automatic/curl/update.ps1#L32
https://github.com/chocolatey/chocolatey-coreteampackages/blob/master/automatic/curl/tools/chocolateyInstall.ps1#L4
i might try to put an SO question with a reward, honestly ps is not that much of my taste.

the golang implementation part is really easy from here.

The choco team has quite a few people in the gitter and they do answer questions:
https://gitter.im/chocolatey/choco
Someone in the room might even help with the PS.

chat: bad idea.

I found a pretty nasty bug in travis, it does not honor GOARCH in
env:
  matrix:
    - GOARCH=amd64 OSARCH=amd64

instead i have to use any another name.
    - OKARCH=amd64 OSARCH=amd64

I was so confused by this, spent so much time !!! :(  thank you for sharing the bug report.

yeah, there s also this kind of problems, sometimes, https://github.com/appveyor/ci/issues/1752

at some points things should get back to normal,
https://github.com/appveyor/ci/issues/1755
https://github.com/appveyor/ci/issues/1754
https://github.com/mh-cbon/go-msi/blob/master/appveyor.yml#L70

all up to date.


Failed to compile query

I used the flake and then tried to run the query command but it failed during compilation. I've attached a log of the failure. I'm running on a macbook pro with an m3 processor.
$ uname -a
Darwin D3PJYN2XF6 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:32:11 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T6030 arm64 arm Darwin

fail.log

Thanks for opening an issue! Unfortunately the flake is only available on Linux systems for now, for MacOS I'd recommend installing the dependencies manually.


fix deleted at timestamp

What's the purpose of this PR
Fix the deleted at timestamp field is set for records not deleted.
Which issue(s) this PR fixes:
Fixes #4492
Brief changelog

add a check before the record is saved to the database

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Read the Contributing Guide before making this pull request.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit tests to verify the code.
[x] Run mvn clean test to make sure this pull request doesn't break anything.
[x] Update the CHANGES log.

Codecov Report

Merging #4493 (ee4164a) into master (4272471) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #4493      +/-   ##
============================================
- Coverage     53.63%   53.60%   -0.04%
+ Complexity     2702     2701       -1
============================================
  Files           489      489
  Lines         15294    15301       +7
  Branches       1588     1589       +1
============================================
- Hits           8203     8202       -1
- Misses         6535     6542       +7
- Partials        556      557       +1

Impacted Files
Coverage Δ

...rip/framework/apollo/common/entity/BaseEntity.java
0.00% <0.00%> (ø)

...ervice/service/ReleaseMessageServiceWithCache.java
84.70% <0.00%> (-1.18%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us.


NFT standard

This implements all traits, functionalities and tests as in https://github.com/near/near-sdk-rs/tree/master/near-contract-standards/src/non_fungible_token.
Still missing doc strings, will be added tomorrow. But this has been so long as blocked by features, working on higher priorities, etc. I'd like to see some comments!

@ailisp have you tried to run rust tests on this resulting wasm file? (is it possible?)

Thanks for your review.

@ailisp have you tried to run rust tests on this resulting wasm file? (is it possible?)

Yes, __tests__/my-nft/*.ava.js and "Contract standard / examples" on ci does that.

can we organize imports without paths? Maybe similarly to how it's done with main lib and examples?

Will do!

Have you tried to use it in the external project?

I haven't. Updating the /example-contracts test to depend on a lib version should work too, I'll make it that way.

I wander if standards should live in src, then be built to /lib and examples will live in /examples, as well as tests in main /tests folder

This is a good question! In rust sdk, near-contract-standard is a separate crate. We probably want this too, as most non-standard contract doesn't need near-contract-standards. It is a challenge for me to figure out where should I organize lib, examples and tests in this case. Maybe we should turn this repo into a workspace. Maybe it should live in a separate repo. If in same repo, whether examples should be organized in root /examples or their own examples, etc. A couple of things to discuss.
So in this PR, I want only ensure it works as an external library, and let's have a discussion next week on ^ and make a separate PR to properly organize near-contract-standards in general!

@volovyks Addressed those easier ones. For more difficult ones, Will try to address them next Monday. As you said it's generally good - before the sprint planning I'll move unresolved / TBD points in separate issues to merge this PR :)

@volovyks @thisisjoshford From my understanding, if you pass in an array with the JS SDK, it uses positional arguments:
nft_transfer([receiver_id, token_id, approval_id, memo]).
This is not compatible with the standards and I believe we should use named arguments such as:
nft_transfer({receiver_id: string, token_id: string, approval_id: number, memo: string}).
By using positional arguments, it might not be compatible with some implementations and could break things. Please correct me if I'm wrong.

Pierre Le Guen has reached me and we agree to move to
nft_transfer({receiver_id: string, token_id: string, approval_id: number, memo: string}). format of argument. I think this is the issue mentioned by @thisisjoshford and @BenKurrek . Let me know if there's other issues!

Most comments are addressed. For three more challenging one, I move and track them in #288, #289, #290


Fix typographical error(s)

@neuland, I've corrected a typographical error in the documentation of the jade4j project. Specifically, I've changed carefull to careful. You should be able to merge this pull request automatically. However, if this was intentional or if you enjoy living in linguistic squalor, please let me know and create an issue on my home repository.

thank you for your contribution :+1:


RHIDP-4187 [DOC] Getting Started >Customizing the Home Page 4.1 and 4.2 header update

RHIDP-4187 [DOC] Getting Started >Customizing the Home Page 4.1 and 4.2 header update

IMPORTANT: Do Not Merge - To be merged by Docs Team Only
Version(s):
1.2+
Issue:
https://issues.redhat.com/browse/RHIDP-4187
Link to docs preview:
4.1: https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-577/getting-started-rhdh/#_using-hosted-json-files-to-provide-data-to-the-home-page
4.2: https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-577/getting-started-rhdh/#_using-a-dedicated-service-to-provide-data-to-the-home-page
Reviews:

[ ] SME: @ mention assignee
[ ] QE: @ mention assignee
[ ] Docs review: @ mention assignee
[ ] Additional review: @mention assignee (by writer)

Additional information:

/assign @invincibleJai

/lgtm

/cherry-pick release-1.3


Add a --ci option to pytest (off by default)

As requested here.

Codecov Report

Merging #36 (f92b295) into master (e42ddb1) will decrease coverage by 2.10%.
The diff coverage is 44.73%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   65.42%   63.31%   -2.11%
==========================================
  Files           1        1
  Lines         937      965      +28
  Branches      178      186       +8
==========================================
- Hits          613      611       -2
- Misses        271      294      +23
- Partials       53       60       +7

Impacted Files
Coverage Δ

src/datalad_installer.py
63.31% <44.73%> (-2.11%)
:arrow_down:

Continue to review full report at Codecov.

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


Issues Accessing PropTypes

Hey there,
I just recently updated the program, and I am having an issue where the music library never loads.
I opened the console and found this:
C:\Users\Royal\AppData\Local\GPMDP_3\app-4.6.1\resources\app.asar\node_modules\react\lib\lowPriorityWarning.js:38 Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in  React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
I have also looked around on the issues to see if anyone else has the issue, but I found that the newest build fixes this.
Does anyone get any ideas?

Fixed Just started working no idea how.


Docs: Improve kubectl command

Page: https://hwameistor.io/docs/quick_start/advanced_features/node_expansion#post-check
The  kubectl get localstoragenode k8s-worker-4 command should have -o yaml appended at the end.
The correct command would be:
kubectl get localstoragenode k8s-worker-4 -o yaml

This problem exists in both the Chinese version and the English version. Please check.
/kind bug

thanks，could you please submit a pr for this fix?

Okay. I will submit a PR to fix it.

any advice for HwameiStor are very welcome, include architect, features, code, docs.!

By the way, I haven't submitted PR in this repo before, since this issue exists in both Chinese and English, can I modify both languages in one PR?

Here is the fixed PR: https://github.com/hwameistor/hwameistor/pull/706


Don't skip windows tests

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
--ginkgo.skip="" will result in skipping all tests, see: https://github.com/kubernetes-sigs/cri-tools/actions/runs/7869228390/job/21467910596
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/approve
/lgtm

/lgtm


Add missing tslib dependencies

Changelog
TypeScript: Added missing dependencies on tslib
Docs
None
Description
Fixes #1262
When importHelpers is true in tsconfig.json (as it is by default with @foxglove/tsconfig), tslib must be a dependency.

🤷 the docs on it say:

By default, these helpers are inserted into files which use them. This can result in code duplication if the same helper is used in many different modules.

So it seems like a (maybe small) code size optimization to have it turned on?


v2.1.2

A 2.1.2 release is imminent (any day now).
Since 2.1.1, the main change here is the inclusion of native code builds for Wasm that are compatible with .NET 7, because a specific version of emscripten is required.  This work happened in #505.
The 2.1.2 release is also intended to fix a problem which was introduced in 2.1.1.  Basically, from what I can tell, 2.1.1 is broken on net6.0-ios.  This was reported at #516.  The problem was introduced by the change to fix #506, and that change looked fine in principle, but it apparently triggers a bug in Mono's AOT code.  That issue has been logged at dotnet/runtime#75700.
For the short term, since #506 was actually Windows-specific anyway, I have re-done that code change to take effect only for Windows builds.  That change is commit 9adcbfc.
I have just published 2.1.2-pre20220916165053 up to nuget, so we can verify things.  As soon as it looks okay, unless some other regression shows up, I will release 2.1.2.
FYI cc to @filipnavara @bricelam @ajcvickers

I ran the Microsoft.Data.Sqlite and EF Core tests locally on Lunix and Windows and they all passed, so everything looks good on our end.

I tested the prerelease, and it passed our tests too.

2.1.2 is now available on nuget.


Instruction text in Settings Editor should wrap

Below the text "Place your settings..." should wrap

@sandy081 Good candidate for help-wanted and good-first-issue ?

Not sure. Because this involves editor zone widgets which is tricky.
But why not, if I get help would be happy to delegate :)

With new UI Layout, instruction text gets more space. But no wrapping.
Closing this as there are no plans in fixing this unless if there is a strong opinion.
Thanks


Include 'x5t#S256' header param in the JWTs

Moved from: https://wso2.org/jira/browse/IDENTITY-6825
Since SHA1 is getting deprecated, it'd better to send 'x5t#S256' header param [1] also in the JWT. We can have both x5t and x5t#S256.
[1] https://tools.ietf.org/html/rfc7515#page-12

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Host dashboard: Add Host itslef to "Hosted Collectives"

We want hosts to be able to add funds to themselves when they have activated their host budget.
To do that we should:

List the host itself on /host/dashboard/hosted-collectives
Make sure the add funds form works for this host
Make sure the button to customize the fees is not displayed

+1

I added an entry in the Members table so it appears in the list.
Follow up:

Test that Added Funds actually works in production
Do that by default when we activate budget for a given Host (entry in the Members table + approvedAt=NOW)
Make sure the button to customize the fees is not displayed

https://github.com/opencollective/opencollective-api/compare/activate-budget-members-entry

The host Collective is now showing up twice:

@alanna Seems something unexpected happened when you turned the budget on. Do you remember anything unusual?

Nothing unusual @znarf - I think I pressed the button and it seemed fine.

@alanna ok, from the db, it's a bit like it was activated 2 times, so I'm wondering how it happened. Anyway, it's now corrected.

It's done.


Fixed issue #261

Added zero length string prefix to the stack to prevent it from being
reset after the first nested commit.

I ran into this issue myself so I figured I would take a crack at it.  Let me know if you have any feedback.

Thanks. I'll merge this shortly


Funny Dates

Am I wrong or you guys are creating the RangeStart and RangeEnd as constant values. Arent they supposed to be dynamic values?
The post shows up as from 10 days ago but all the data are from 2012 and the data as R;ange start is also 2012.
If it is constant what is the significance of the date that we are creating this whole thing.
Btw I forgot to say, I did and it didnt work.
Hoenstly, It seemed to me that you guys just skip the ciritical parts:(((

Hi @atalaycelebi - I'm not sure what you're referring to. Is your comment for a specific article? Can you provide the link if so?

Not enough info to address. Please submit new feedback and be sure to include the URL for the article you're referencing if this is still a problem. Thanks for taking the time to submit feedback.


invalid switch parameter

switch() parameter expects string, NULL given
file: system/HTTP/Request.php
// line # 237
- switch (strtolower($which) )
+  switch (strtolower( (string) $which) )

This is an "issue", not a "pull request". This isn't mergeable.
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/CONTRIBUTING.md
You can also check the "pull requests" tab above, for examples.


EventGrid DataPlane SDK: Regenerated the SDK based on latest swagger.

Regenerated the EventGrid DataPlane SDK to include the changes made to IoTHub event schema and Microsoft.Resources event schemas.

Can one of the admins verify this patch?

@lmazuel, can you please help review/merge this PR?  We are looking to release this tomorrow.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c50bf85). Click here to learn what that means.
The diff coverage is 44.57%.

@@            Coverage Diff            @@
##             master    #3181   +/-   ##
=========================================
  Coverage          ?   57.19%
=========================================
  Files             ?     8151
  Lines             ?   164428
  Branches          ?        0
=========================================
  Hits              ?    94048
  Misses            ?    70380
  Partials          ?        0

Impacted Files
Coverage Δ

...tgrid/models/device_life_cycle_event_properties.py
50% <ø> (ø)

...ntgrid/models/iot_hub_device_deleted_event_data.py
80% <ø> (ø)

...entgrid/azure/eventgrid/models/device_twin_info.py
25% <ø> (ø)

...rid/azure/eventgrid/models/device_twin_info_py3.py
25% <ø> (ø)

...ntgrid/models/iot_hub_device_created_event_data.py
80% <ø> (ø)

azure-eventgrid/azure/eventgrid/models/__init__.py
100% <100%> (ø)

azure-eventgrid/azure/eventgrid/version.py
100% <100%> (ø)

...d/models/device_life_cycle_event_properties_py3.py
50% <100%> (ø)

...e/eventgrid/models/resource_action_success_data.py
25% <25%> (ø)

...entgrid/models/resource_action_failure_data_py3.py
25% <25%> (ø)

... and 14 more

Continue to review full report at Codecov.

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


[spec] nfc role user id in issue tracker

Motivation
Describe the need or frustration that motivated you to make this suggestion. Please note that the
goal of this project is to provide a general-purpose template project, so please take care when
suggesting features that may be specific to a particular use case.
Suggested Solution
Describe your suggested solution to the need or frustration that you are experiencing.
Alternatives
Describe any alternative solutions or features you considered and why you believe your suggested
solution is preferable.
Additional Information
Provide any additional information that you believe may help us evaluate your suggestion.

This already exists in #2

closing.


Error in gen_Onet_train_data.py

It gave error from negative dimension, I try to find the value and it's -1, not sure where it came from

~/DFace/dface/core/detect.py in detect_rnet(self, im, dets)
389         for i in range(num_boxes):
--> 390             tmp = np.zeros((tmph[i], tmpw[i], 3), dtype=np.uint8)
391             tmp[dy[i]:edy[i]+1, dx[i]:edx[i]+1, :] = im[y[i]:ey[i]+1, x[i]:ex[i]+1, :]
392             crop_im = cv2.resize(tmp, (24, 24))
ValueError: negative dimensions are not allowed

@macsermkiat which value is -1, can you show me more details, thanks.

Hello. I got the same error. It came from 390 line of /DFace/dface/core/detect.py. Namely after the first hundred processed images in tmp = np.zeros(tmph[i], tmpw[i], 3), dtype=np.uint8) tmph[i] == -4 and tmpw[i] == -4 when i == 457

@kimimatias which version of your python

@kuaikuaikim I'm using Python 2.7
It's as @kimimatias wrote. There're some of tmph[i] < 0
There are also sometimes tmph[i] == 0 too, that also caused error.

@macsermkiat @kimimatias
Maybe some bias sample make this problem,  try filter this sample image of  negative prediction.

@kuaikuaikim I'm using Python 3.5

@kuaikuaikim I'm using Python 3.5


Velero Restore PVC with Reclaim Policy Retain got Lost status

What steps did you take and what happened:

Have a storageclass with reclaimPolicy: true and allowVolumeExpansion: true

---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: expandable-retainable-standard
parameters:
  type: pd-standard
provisioner: kubernetes.io/gce-pd
allowVolumeExpansion: true
reclaimPolicy: Retain

Create a PVC with expandable-retainable-standard storage class

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  labels:
    app: grafana
    chart: grafana-1.14.8
    heritage: Tiller
    release: grafana-test
  name: grafana-test
  namespace: data-devops
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
  storageClassName: expandable-retainable-standard

Create a deployment and mount the volume with that pvc.

run velero backup velero create backup data-devops-5 --include-namespaces data-devops

delete deployment and the pvc as well

run velero restore velero restore create --from-backup data-devops-5 --include-namespaces data-devops. It took a while, like > 10 minutes (although the data in pvc is not that big). Then finish.

I tried to describe the status, there's a timed out error on the pvc restoration excecution.

$ velero restore describe data-devops-5-20190430170224 | grep pv
  Cluster:  error waiting on in-cluster persistentvolume pvc-grafana-test-01: timed out waiting for the condition

Then I tried check the pvc status, it's Lost

==> v1/PersistentVolumeClaim
NAME          STATUS  VOLUME               CAPACITY  ACCESS MODES                    STORAGECLASS  AGE
grafana-test  Lost    pvc-grafana-test-01  0         expandable-retainable-standard  27m

What did you expect to happen:
Not sure, but I guess velero can handle the retainable volume. Or is it expected?
Environment:

Velero version (use velero version):

Client:
	Version: v0.11.0
	Git commit: ab2fc65c02ecdcb9bb1690e3afe67a3b3196aebc
Server:
	Version: v0.11.0

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.8-gke.6", GitCommit:"394ee507d00f15a63cef577a14026096c310698e", GitTreeState:"clean", BuildDate:"2019-03-30T19:31:43Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes installer & version: v1.11.8-gke.6

xref #1151
@bangau1 it sounds like the issue is probably that since the original PV still existed in the cluster (due to Retain policy), Velero wasn't able to restore it since one by that name already existed. I think if you manually delete the in-cluster PV before attempting the restore, this should work.

@skriss thanks for pointing that.
Does velero plan to handle that existing PV with some sort of flag? Like letting end-user to choose whether to use the existing PV (storage) or delete and recreate it again?

We have an open issue to allow deleting/recreating objects when restoring: https://github.com/heptio/velero/issues/469

@bangau1 it sounds like the immediate issue has been resolved and we already have backlog issues for the relevant functionality, so I'm going to close this issue. Feel free to reopen as needed!


[Bug]: Duplication files

Description
With Leo we were working on IPComputing we noticed a bug when changing route.
What happened?
With Leo we were working on IPComputing we noticed a bug when changing route I explain, we created a button to go on the IPComputing route (a private route) and when we returned to the IPCloud page the upload files this duplicated not only on the front but also on the aleph nodes. (several post message seen on explorer d'aleph)
Expected behaviour
Files duplication.
Environment

Linux
Computing branch / Master if you change a little bit code.

Steps to reproduce
For reproduce the bug:
import { Link as RouteLink } from 'react-router-dom';

import { Button, Link } from '@chakra-ui/react';

<>
	<Link as={RouteLink} to="/computing" w="100%" id="ipc-homeView-login-button">
		<Button variant="inline" w="100%" mb="16px" id="ipc-dashboardView-upload-file-modal-button">
			Inter Planetary Computing
		</Button>
	</Link>
</>

You can add this button on sideBar.tsx at the end.
Don't forget add in Routes.tsx this ->
import ComputingView from 'views/ComputingView';

<PrivateRoute path="/computing" children={<ComputingView />} />

you can create a ComputingView.tsx and add the same button don't forget change redirection.
import { Link as RouteLink } from 'react-router-dom';

import { Button, Link } from '@chakra-ui/react';

<Link as={RouteLink} to="/dashboard" w="100%" id="ipc-homeView-login-button">
	<Button variant="inline" w="100%" mb="16px" id="ipc-dashboardView-upload-file-modal-button">
		Inter Planetary Cloud
	</Button>
</Link>

Click on this button and admired the result :)

Relevant log output
you can see behavior these images, duplication is real.

Proposed solution
/

It seems, that there is no bug, I mean on aleph.
It's true that there is a bug with the display, but on the explorer, there is no duplication.
I tried on the master branch with the latest version and I have this on the explorer:

Two possibilities:

The first one:

There is no bug, to be sure you need to check the content of the duplicate post messages on the explorer.
If it's all the same, that's normal. It means that somewhere in the code, the post message is updated with the same content.
If it's not the same, you need to check if there are many store messages in the explorer. I think that it's not that, in your screenshot we see only one store message, but check it just to be sure.

The second one:

There is a bug, but not on the master branch, on your branch. I can't try by myself on your branch because it seems that you haven't pushed your last changement

For me it's a problem with your code on your branch, but I don't think it's a real duplication bug, in fact, only the post message is duplicate but not the store message.
So somewhere in your code, there is a loop which adds the same file on your post message, this is why you have many amend on the  post message. BUT it's not a bug in the production version.
To fix it:

Try to debug the behaviour of IPC from the start to the end of the app
Try to remove your new features, maybe it comes from that

:question: Have you tried on the master branch? Maybe my trying was not correctly done.
:information_source: Even if you fix this bug, there still one with the front.
The bug comes from the fact that when you go on the dashboard view, all the files are loaded, but the files already loaded before you click the button are not unloaded.
So there is a duplication, but if you refresh the page, everything returned to normal.
:warning: Fix this bug before merging your branch on the dev one.

@ZerLock
Yes like I said before, the graphic bug comes from the reload of the files/ contacts without unloading the old data so the data is duplicated.

:information_source: Even if you fix this bug, there still one with the front.
The bug comes from the fact that when you go on the dashboard view, all the files are loaded, but the files already loaded before you click the button are not unloaded.
So there is a duplication, but if you refresh the page, everything returned to normal.

A quick and easy fix, will be to unload the old data (by clearing the array of files/ contacts) and load the new data.


Add support for async generate

Generators will likely need to read a template referenced from the annotated class.
Since all I/O is async, changed generate signature and GeneratedOutput.output to futures.

I ran with my own implementation here - 06379e728180c9c8c19373f0c249c402e905e05b
Thanks!


Implementing the SST kw model

Hi,
In your paper you have implemented the SST kw model as well. I was wondering if it was possible for you to upload the equivalent ML_SA_CG.C file. I was hoping to implement this turbulence model.

Hi @jethromoses - we implemented KOSST only for the same geometry and inlet velocity (as a proof of principle) - so I haven't added that case to this repo. It would be an interesting exercise for you to extend what we have now to the KOSST model. If you're having trouble or would rather not wait - I can exchange some files with you offline (my email is rmaulik@anl.gov).

Thanks for the files!


Training and running dnns on CPU with MKL Multithreaded is slower than with MKL Sequential

Expected Behavior
Training and running a dnn on CPU with dlib linked against the multithreaded version of MKL should give a speedup of (CPU_Cores - 1) compared to MKL sequential.
Current Behavior
Training and running a dnn on CPU with dlib linked against the multithreaded version of MKL results in a performance loss of about 10% compared to MKL sequential. Additionally cpu time is wasted in the multithreaded case since all cores run on 100% instaed of one core beeing used in sequential mode.
Steps to Reproduce
1.: Build the examples of dlib without cuda
2.: Train a dnn example (I used the mnist example dnn_introduction_ex).
3.: Time the execution of the dnn like in  https://github.com/Zyrin/dlib/commit/13caad723e8922e660e54dc2d871d22dada98535
4.: Rebuild the example with PullRequest https://github.com/davisking/dlib/pull/1302 and cmake option DLIB_USE_MKL_SEQUENTIAL enabled
5.: Rerun the same timing programm

Version: 19.8 + 19.10
Where did you get dlib: dlib.net
Platform: Windows 7 + 10 64 bit and Ubuntu 16.04.4 LTS 64 bit
Compiler: Visual Studio 2015 + gcc  5.4

I have tested it with the dnn_imagenet_ex example and I can only see a speedup of about 20% with four (real) cores running at full load.

What about setting the OMP_NUM_THREADS environment variable to 1 and linking to the normal multi-threaded version of the MLK.  Does that end up being notably slower than linking to sequential? I normally just set OMP_NUM_THREADS as appropriate rather than relinking.

No, setting OMP_NUM_THREADS to 1 seems to perform the same as linking against the sequential lib.
Unfortunately, this is not an option when openmp is useded elsewhere.

Sure, but there is also MLK_NUM_THREADS if you want to just effect the
MLK.  I assume it has the desired effect?

Ok, seems like we can close this then. I think the sensible thing for most people is to use the MKL's environment variables to control this rather than mess with linker settings.  I already get lots of questions from confused people who are just beginning to program and have no idea what "this linking thing is". So adding more options and complications to the build and link process isn't something I'm super excited about.


run trie generation thread on background QOS

motivation: build the trie should not interrupt other threads
changes: set QOS of trie thread to background

@swift-ci please smoke test

cc @yim-lee

@swift-ci please smoke test


fix: remove Timestamp from epoch inputs

:tada: This PR is included in version 3.1.0-alpha.9 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


return the result in a code block

The syntax for a code block in Slack is the same as in GFM, so three backticks should trigger it.

Haven't thought of using code block before. Thank you for the pull request!


fix order of inky

I wondered why all my handlebar templates didn't work, where I used partials and helpers.
with a syntax like {{> footer}} or {{myHelper "foobar"}}
The errors shows me that some characters were (html)escaped, like > and "
Anyway it looks like a mistake that inky is processed before handlebars.

Initially we had it in that older deliberately because Inky would choke on a full HTML layout, but that's been fixed, so this order works now.


checkPathForIllegalChars contains a grow only cache that will likely scale poorly with solution / project size

In this commit:
https://github.com/fsharp/FSharp.Compiler.Service/commit/427a0b663bf995d158189028763c86a3e443112a
checkPathForIllegalChars now has a grow only cache, for very large solutions and for the use of FCS as a separate stand alone compiler server, this cache will eventually contain the path of very single file in the solution seen by the fsharp compiler.  And so will be pretty humongous I should imagine.
I suggest that:
we do some analysis to identify a less memory intensive solution, for example.
remove checkPathForIllegalChars from the very lowlevel pathname apis and then directly call
checkPathForIllegalChars where it makes sense.
or some other clever solution that will scale better with project and solution size.
We have received the same PR in the Visual FSharp repo and for that we will certainly search for a more scalable solution.
Kevin

This was fixed in visualfsharp tools I believe


Dangling input elements after renaming top level file element in explorer view in single folder workspace

Steps to Reproduce:

Invoke rename on a top level file element in explorer view in single folder workspace
Check in developer tools that the div monaco-tl-contents for that file row contains multiple invisible children elements which are input element containers

I can not reproduce this issue on my machine.
How do you end the rename, with Esc, Enter or some other way?
Are you doing anything else that is special?

@isidorn I just press f2 esc continuously. I can reproduce this easily on linux(ubuntu) and windows. The setup it's just a folder with a single file and I drag and drop the folder on vscode.

Yes I can reproduce now.

This might happen again on tomorrow's vscode insiders. Thus unlocking converstaion so we can open this issue if needed.

You are right I can repro this again.


Minor updates

Update

Jamf - Okta Directory
Addigy - Slack Integration
Kandji - Reporting

Links
https://support.addigy.com/hc/en-us/articles/4423652435219-Zapier-and-Addigy-Integration
https://support.kandji.io/support/solutions/articles/72000559775-generating-and-exporting-reports
I'm sure there's more I've missed but at a glance


Unreal's ASTC compression can cause RenderDoc to report a large number of asserts.

Description
When using ASTC compression in the project, a large number of assert logs appear if the width and height of the texture are not multiples of the ASTC block size.

Log:
09-10 16:55:25.998  8139  8421 I renderdoc: @66e0097d00000d40@ RDOC 008139: [16:55:25] gl_texture_funcs.cpp(3788) - Log     - width :2,height :1 ,xoffset:0,yoffset:0,format:37812
09-10 16:55:25.998  8139  8421 I renderdoc: @66e0097d00000d41@ RDOC 008139: [16:55:25] gl_texture_funcs.cpp(3791) - Error   - Assertion failed: 'width % blockSize[0] == 0'
09-10 16:55:25.998  8139  8421 I renderdoc: @66e0097d00000d42@ RDOC 008139: [16:55:25] gl_texture_funcs.cpp(3792) - Error   - Assertion failed: 'height % blockSize[1] == 0'
Steps to reproduce
you can use this two texture reproduce the bug  with astc
Environment

RenderDoc version:  github source code build.（ renderdoc.exe and Android arm amr64 apk）
Operating System: android 14
Graphics API: opengles

"Additionally, if ASTC 6x6 is used, atlas 1024x512 will also report this issue."

For steps to reproduce, as detailed in the documentation about filing issues please share a specific and complete reproducible test case that I can use to investigate the problem, such as a capture or executable depending on what is most relevant to the bug. Without a repro case it is usually impossible for me to replicate the situation you are running into, and it can easily waste time trying to reproduce a problem that is not as expected or described.
Please ensure that you have run your program on its own (not from RenderDoc) with API validation and have checked that your program does not produce any validation errors or warnings, since RenderDoc does not handle invalid API use. Make sure that you have updated your graphics drivers and if you have a different GPU or hardware available try testing on that to eliminate your hardware as a potential problem.
If you can't share your test case publicly due to privacy or NDA concerns you can contact me via email. Even if you can't share your test case privately email is typically the best avenue if you can discuss more details than you can privately.

I have uploaded the test APK to Google Drive because GitHub limits APK uploads to within 25MB, so it couldn't be uploaded here. Additionally, I noticed the submission of the log code related to RenderDoc.

the issue has been confirmed to originate from RenderDoc.

Additionally, if ASTC 6x6 is used, atlas 1024x512 will also report this issue.This issue will eventually cause the Android process to experience an ANR (Application Not Responding) and crash.

Does the ANR occur only with RenderDoc running?  Also what is 'atlas 1024x512'?

yes ,anr occur only with renderdoc running。I have already analyzed the Android ANR logs, and the cause of the ANR is due to RenderDoc.（log from android system. /data/anr  or  /data/system/dropbox/）
'atlas 1024x512  means atlas size is 1024x512

renderdoc anr  issue  has test  on unreal 4.26 4.27 tow version.

I have already analyzed the Android ANR logs, and the cause of the ANR is due to RenderDoc.（log from android system. /data/anr or /data/system/dropbox/）

Please post this log.  I'm not seeing either the app or RD's server ANR but I am seeing a lot of GL errors on replay of the form:
Log     - Got a Debug message from GL_DEBUG_SOURCE_API, type GL_DEBUG_TYPE_ERROR, ID 11, severity GL_DEBUG_SEVERITY_HIGH:
Log     - 'Error:glGetIntegerv::<pname> is not an accepted value'

The replay app also displays blocky flickering artifacts, but the rendered output on the host is fine.

<EMAIL_ADDRESS>Renderdoc server is running well，but the launch app is anr。

I guess I'm not seeing the ANR because I'm running your test app:
Activity: com.xindong.torchlight/com.epicgames.ue4.GameActivity

yes,I cannot provide this app as it is a commercial project of the company. I can provide the complete adb log instead.
log.zip

Your log is very confused, I've pulled out some key moments:
09-19 17:15:56.573  2690  2736 I ActivityManager: Start proc 11533:org.renderdoc.renderdoccmd.arm64/u0a394 for next-top-activity {org.renderdoc.renderdoccmd.arm64/org.renderdoc.renderdoccmd.arm64.Loader} caller=com.android.shell

09-18 17:17:04.878  2690  2736 I ActivityManager: Start proc 22800:com.xindong.torchlight/u0a388 for next-top-activity {com.xindong.torchlight/com.epicgames.ue4.SplashActivity} caller=com.miui.home
09-18 17:17:06.596  2690  8123 I ActivityTaskManager: The Process com.xindong.torchlight Already Exists in BG. So sending its PID: 22800

09-18 17:17:10.610  2690  2736 I ActivityManager: Start proc 23093:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0i7 for  {com.xindong.torchlight/org.chromium.content.app.SandboxedProcessService0:0} caller=com.xindong.torchlight

09-19 17:17:35.812  2690  2736 I ActivityManager: Start proc 13134:com.xindong.torchlight/u0a388 for next-top-activity {com.xindong.torchlight/com.epicgames.ue4.SplashActivity} caller=com.android.shell
09-19 17:17:36.069  2690  8124 I ActivityTaskManager: The Process com.xindong.torchlight Already Exists in BG. So sending its PID: 13134

09-19 17:17:39.399  2690  2736 I ActivityManager: Start proc 13422:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0i9 for  {com.xindong.torchlight/org.chromium.content.app.SandboxedProcessService0:0} caller=com.xindong.torchlight

09-19 17:17:42.471 13134 13159 W MIUIScout App: Enter APP_SCOUT_WARNING State
09-19 17:17:42.472 13134 13159 W MIUIScout App:  (Current message: duration=2503ms seq=74 h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
09-19 17:17:42.474 13134 13159 D AppScoutStateMachine: dump trace dirName = 2024-09-19-17-17-42-13134-APP_SCOUT_WARNING-com.xindong.torchlight
09-19 17:17:42.476 13134 13521 W MIUIScout App: Event:APP_SCOUT_WARNING Thread:main backtrace:
09-19 17:17:42.476 13134 13521 W MIUIScout App:     at android.graphics.HardwareRenderer.nSyncAndDrawFrame(Native Method)

09-19 17:17:44.999  2690  4064 I WindowManager: ANR in Window{b098012 u0 com.xindong.torchlight/com.epicgames.ue4.GameActivity}. Reason:Input dispatching timed out (b098012 com.xindong.torchlight/com.epicgames.ue4.GameActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=true))

09-18 17:25:30.278  2690  8035 I ActivityManager: Process com.xindong.torchlight (pid 22800) has died: fg  TOP

So it looks like you:

Started RD
Launched your app from the home launcher
Launched it again via RD - I don't know if this is a problem but it certainly isn't helping

Please kill your app and RD, then clear logcat, and then the run the test once and attach the logcat output to this issue.  I also noticed that your app spawns a webview component, I'd be curious to see what happens if you disable this behaviour - I don't think it will affect the ANR but it's worth a test.

I tried disabling the WebView, and the ANR no longer occurs. I suspect that this WebView SDK may have some conflict with RenderDoc. I'll put the ANR issue aside for now and check if there is a problem with the SDK. This SDK is a third-party one.

Additionally, disabling the assert logs in RenderDoc also prevents the ANR from occurring. I suspect that there might be a race condition related to the logging part that is causing this issue.

That's good to hear, at least you have a work around.  Once the associated PR for the asserts is merged I'll close this issue.  The GL errors I'm seeing I'll investigate as a separate issue.
Thanks!

Likewise, thank you for your technical support!


Move the chunks slides before images

Images refers to {knitr} which uses chunk options so better to have chunk options explained first.

#20


Added code to remove tmp dir after test suite is completed, fixes bug #79

for file lib/haml-rails.rb ... I just removed extra white space so nothing touched there.
test/test_helper is where I added code to remove tmp directory once the test suite is completed.

@indirect Test are failing only in ruby2.1 due to:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 1.7) ruby
Current Bundler version:
bundler (1.6.9)

Thanks! I think I got the tests worked out.


BUG-000101873 Some entries in the Mil2525D.stylx file do not have a key

This issue was logged through Support and Qt is tracking so they can test once it is fixed. This is an issue with the data so it is being logged here.
Repro steps:

Navigate to the mil2525d.stylx file that ships with your Qt Runtime 100.0 installation.
Open this file using DB Browser for SQLite or a similar program.
Click the "Browse Data" tab and then select the "ITEMS" table.
In the "NAME" filter search for this symbol:
Protection Lines : Mine Cluster : Friend
Observe this symbol does not have value in the "Key" field

The customer has reported the following symbols do not have a key:
Protection Lines : Mine Cluster : Friend
Protection Points : Nuclear Event : Friend
Protection Points : Nuclear Event : Hostile
Protection Points : Nuclear Event : Neutral
Protection Points : Nuclear Event : Unknown
Maneuver Areas: Limited Access Area : Friend
Maneuver Areas: Limited Access Area : Hostile
Maneuver Areas: Limited Access Area : Neutral
Maneuver Areas: Limited Access Area : Unknown
Fire Areas : Area Targets : Smoke Planned or On Order : Friend
Fire Areas : Area Targets : Smoke Planned or On Order : Hostile
Fire Areas : Area Targets : Smoke Planned or On Order : Neutral
Fire Areas : Area Targets : Smoke Planned or On Order : Unknown
cc: @mich5148 @jean7082
Salesforce ID: BUG-000101873
This is not really a qt issue but this is just to test once the mil symbols team has put in the fix to make sure it works.

I do see these blank entries (below) -probably because the symbol did not map from 2525C to 2525D (i.e. was "retired").
It is no problem to delete these retired entries on the next update (since they obviously are not used) - I'm not sure how this manifests itself as a bug though with the description provided.

Good to know, that esri is going ahead in this issue/bug 👍