Expected JSON return format Question

AnguComplete successfully requests data from the server and responds with the following JSON object.  However Angucomplete still responds with "result not found".  I'm assuming the JSON return is not formatted in the correct way. Any ideas?
{"clients":[{"company_name":"Wal-Mart","id":17}]}

My angucomplete directive looks as follows:
   <angucomplete-alt id="client_id"
                                  placeholder="Search clients"
                                  pause="400"
                                  selected-object="clientSelected"
                                  remote-url="/clients/getClients?term="
                                  remote-url-data-field="clients"
                                  title-field="company_name"
                                  description-field="company_name"
                                  input-class="form-control form-control-small">
      </angucomplete-alt>

It looks good to me. But @ctilley83 won't probably understand my English. So, @Boshen, could you reply to him?

lol. smartass

In all seriousness though. Do you have any ideas why the dropdown isn't populating?

Could you paste the raw response from your server?

I'm using rails so here is my console output
Started GET "/clients/getClients?term=wal" for <IP_ADDRESS> at 2015-03-26 15:44:17 -0400
Processing by ClientsController#getClients as JSON
  Parameters: {"term"=>"wal"}
  Client Load (0.4ms)  SELECT company_name,id FROM `clients` WHERE (company_name LIKE '%wal%')
Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.4ms)

Could you get the response from dev console on your Chrome?

Alright let me translate, @ghiden wants the raw response, i.e. what the server sends to the client. You pasted the console output, which is the input to the server.

Remote Address:[::1]:3000
Request URL:http://localhost:3000/clients/getClients?term=walk
Request Method:GET
Status Code:304 Not Modified
Response Headers
view source
Cache-Control:max-age=0, private, must-revalidate
Connection:Keep-Alive
Date:Thu, 26 Mar 2015 19:58:15 GMT
Etag:W/"0488bd9941b8a6f20bdee349deb965cd"
Server:WEBrick/1.3.1 (Ruby/2.2.0/2014-12-25)
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-Request-Id:e6777420-579a-47ca-9b4f-e108fa4ac132
X-Runtime:0.015653
X-Xss-Protection:1; mode=block
Request Headers
view source
Accept:application/json
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:request_method=GET;     _stone_dynamics_session=VTRrRGdMMVI4YlgvV1pqam1OQkxmTTJTdmFJcjJkMnNoRU1hbGtNZjd6S0FDbG1VNUNsKzJvVTJrbEV4dmNKMU83c2xLOFhLUjlVUmdTZXJWZHZGRWd6VFFOOHg4ZjJITFhCeVNUYUNEV3V2b0F0T2NkcTI5T0l2UzBLaEdFTFAxa2tzRC9oYTd5YzBXVFd6bWVVN3JFL1NkczdaZTNlbVZLTE5yTThzMG91MXdOSGY1bHk1d0ZvLzF4UURFMm5kNjAySTZjcU1EdlpZU1F6NFJhcXRUbWRmMmh6YWNIZjV5NVVSMEZXQ3A4Q0lmWEQyblBrdmprQVM4UldMMWZVWGx4WWdOSHdIbFhmNDJwdTRtc3E3dWc9PS0tYXJvd25XcG4xN25yWjlyUnowdnhEZz09--be261ad2674daa0f2cb327c12035abf17ac2aba0; _angularails_session=MTRQRzFZMUw2Z0lLTU1ZQlB1dTFQWnQrZk5tQUt2cFpEWWo0YnBleWpLVlIwaHdWWG5xR2M3ZnBiTDNLM0FEODFXN1dBbUhsTFVzSzRIdEROSEJNT0xQY3AzbTFJT3padjhGRDNWVVk5RGVzWFZTOC9NODNYdHREam85YWhicXVRZzVITExBdkhrUDZtVmp2SVIxVzFnPT0tLXZKc0ZzYXhpZmxCNWFzcFBWNHI0OHc9PQ%3D%3D--5fe2a9aecb51464986927553deecff105f71659d; XSRF-TOKEN=DT5c_gw4dwId4Du6lNK1hS7m; connect.sess=s%3Aj%3A%7B%22passport%22%3A%7B%22user%22%3A%2254f9c79ae4b0963cb5be6926%22%7D%2C%22_csrf%22%3A%22DT5c_gw4dwId4Du6lNK1hS7m%22%7D.38tKdWiWwomfUlXwtkiQ7sRRX%2BSZsk0ZyqwIijY0uYc; __ngDebug=true; _cwi2_session=cmRIV3JKWXdlM1h0L0d2cjRsUTEyVkZSVTFZWm40ZXZ1cXZPRmlZN0xNQi9wWjlPNUx5Z0E0N0FZYUMyQVZyRXk5a2tJRDdaZk85b0NIalhCTklMV3hoMjFlb2tDNGYzeDNXUFhTaUlBRkZNbDVzYTJNRmg1OXFnOGN1VXplN3U1UHo4OFRtdll4Q3JjQjlTcVgrTnJBPT0tLTlhanROTlErQzl3c204cZ2YjVYL2c9PQ%3D%3D--c972dc987b64f5c9404297b06490cdacf3433f10
Host:localhost:3000
If-None-Match:W/"0488bd9941b8a6f20bdee349deb965cd"
Referer:http://localhost:3000/products
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36
X-CSRF-Token:cAkgI9DCMA8MmJ7tvmZEqR9JKReCiXhmohQf8wZZ+OzjX3CK9FDioGPUKdeKr6AxB1EBqrQE    GDAjh8et9gzQkw==
X-XSRF-TOKEN:DT5c_gw4dwId4Du6lNK1hS7m
Query String Parameters
view source
view URL encoded
term:wal

These are headers. Click on 'Response' tab and grab it, please.

This is what is in the response tab:
{"clients":[{"company_name":"Wal-Mart","id":17}]}

Now, I have no clue seriously. It looks all fine to me.

I'll start from scratch and see if that helps.  Problem seems like it's on my end.  I appreciate the help guys.  Sorry for the confusion.

Got it working.  Apparently the gem angular-rails-templates was out of date.  running bundle update fixed the problem

Great!


Publish to NPM ?

Hey !
Thanks for the great work on this module and instabug.
Could you publish this package to npm so we can freeze the package version in our build ?
Cheers !

Hello @RakanNimer
Thank you so much for your suggestion.
and we really sorry for the delay, and finally we did publish instabug-reactnative to npm 🎉
So, You can install it anytime via npm
Thank you for your patience


Custom Profile has only certain allowed values for ncpus

A custom job script of the type
#PBS -q express
#PBS -P exp-00049
only allows certain values of ncpus. I submitted with ncpus=16 which is not allowed.  As far as  I can see, the only allowed values are  32 and  256.  Ideally, upon detecting #PBS -q express  in a job script, the  AI should show only these values of ncpus, to prevent an invalid combination from being submitted.

I did try creating a custom configuration for this instance.  Unfortunately, the custom code was overwritten by the template code and so it did not work.   So  a solution is still needed for us to run EXPRESS jobs invoking eg  256 processors.

I can think of two options.

We make custom configurations a full alternative to resource specifications. User would then select either a resource spec or a custom config rather than both. It would be entirely up to the user to provide a valid configuration that includes the necessary resource specifications.
We allow users to add their own custom resource specifications. Once added these would then appear in the resources drop down menu. These could then be used in combination with a custom configuration or not as the user desires.

Overall I think 2 is better as it is more flexible, 1 would require that users create a new configuration for every combination of resources with express queue access.

Yes, lets go for 2.

On 10 Aug 2021, at 11:27, Christopher Cave-Ayland @.***> wrote:
I can think of two options.
• We make custom configurations a full alternative to resource specifications. User would then select either a resource spec or a custom config rather than both. It would be entirely up to the user to provide a valid configuration that includes the necessary resource specifications.
• We allow users to add their own custom resource specifications. Once added these would then appear in the resources drop down menu. These could then be used in combination with a custom configuration or not as the user desires.
Overall I think 2 is better as it is more flexible, 1 would require that users create a new configuration for every combination of resources with express queue access.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Implemented by 78ba6d27a6efb6c9030192fdaefffa64385be4ce. Please give it a go.

Suggestions for labels to help the user map one menu to another.
In https://openondemand.rcs.ic.ac.uk/pun/sys/chemistry_portal/job_type/
we have
"Job resources"
and
"Custom configuration"
in that order.
In https://openondemand.rcs.ic.ac.uk/pun/sys/chemistry_portal/profile/ the order is reversed and the labels are somewhat different
"Custom Job Script Configurations (Advanced)"
and
"Custom Resource Configurations (Advanced)"
Can we normalise the labels?  Thus in https://openondemand.rcs.ic.ac.uk/pun/sys/chemistry_portal/profile/
"Job resources (advanced)"
and
"Custom configuration (advanced)"
in that order.
Perhaps an example of each might be included in the text, ie
#PBS -l select=1:ncpus=256:mem=800gb,walltime=72:00:00
and
#PBS -q express
#PBS -P exp-000XX
to help clarify what belongs where.

Chris,
Suggestions added to  issue #16
Thanks for the implementation!

On 10 Aug 2021, at 11:27, Christopher Cave-Ayland @.***> wrote:
I can think of two options.
• We make custom configurations a full alternative to resource specifications. User would then select either a resource spec or a custom config rather than both. It would be entirely up to the user to provide a valid configuration that includes the necessary resource specifications.
• We allow users to add their own custom resource specifications. Once added these would then appear in the resources drop down menu. These could then be used in combination with a custom configuration or not as the user desires.
Overall I think 2 is better as it is more flexible, 1 would require that users create a new configuration for every combination of resources with express queue access.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Refactor Helm chart resources

The main change here is to better generate resource names for the
resources created by installing the Helm chart.
This also removes the unnecessary single quote characters around values
in the YAML files, which makes syntax highlighting slightly better for
some editors.
Ideally we'd also change it so that the resource labels would use the
names that can now be overridden, but I'm leaving that out for now.
This also removes the OPERATOR_NAME environment variable from the
Deployment resource as we don't use it at all, but perhaps we should
later consider adding it back again and populating it e.g. fullname
such that any resources created by this operator installation would
create and only touch resources that it itself installed. This may make
it easier for us to better support running multiple operators on the
same Kubernetes cluster.
Fixes: https://github.com/humio/humio-operator/issues/574

Given the amount of conflicts, let's close this one. We probably want to do another round later though to streamline resource names and such.


Video and voice call not working on different network.

I was able to make video and voice calls on same network. But when I change my other phone connection to LTE, it does not work anymore.

You need to deploy a turn server to forward data because mobile operator networks usually cannot establish p2p connections.


Bump truss version to have new fastapi requirements

Integration tests back to passing for the most part, which is good: https://github.com/basetenlabs/truss/actions/runs/6881960233
Only failure will be addressed in a followup PR.


deps: limit upper bound for torch dep to 2.3.1

PyTorch 2.4.0 has been released, but for now we want to keep the upper bound for this dependency to 2.3.1
Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

Can you make that <2.4.0, please? Just in case there is a security update of 2.3 series.

Changelog worthy?


File doesn't build

In the step above Select Build > Build All from the menu. I don't see anything in the build Menu.
I've selected "Build Output" Several times, and just see two blank boxes below. 0 errors, 0 warnings, 0 messages.
Using Visual Studio for Mac Community, V 8.5.1 (build 42)

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

ID: 98d01d28-eba7-401c-5716-1361edfa928d
Version Independent ID: f235603a-edcc-257a-901e-b0709cf81053
Content: Build a complete .NET Core solution using Visual Studio for Mac - .NET Core
Content Source: docs/core/tutorials/using-on-mac-vs-full-solution.md
Product: dotnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Thanks for writing this @TangledTessellations
Can you add a screenshot of what you see? I think the problem is that the output pane is too short to display more of the text output, but I'm not sure.
Thanks.


Unable to infer type, solvable with strange workarounds

TypeScript Version:
Seems to affect all versions on ts playground

Search Terms:
implicitly has type 'any'
strange inference
Code
let key: string | undefined

if (!key) {
	throw ""
}

let value: { [key: string]: { foo: string } } = {}

for (let i = 0; i < 10; i++) {
	const res = value[key]
//            ^^^: 'res' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.ts(7022)
	if (res.foo == key) {
		break
	}
}

Expected behavior:
res should be inferred to {foo: string} inside the loop
If you remove the use of key from the if expression inside the loop or define key as a javascript string without throw at the top it will work.
See playground link for 2 working cases with strange workarounds.
Playground Link: https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABAMQIYwDYGFUGcCmAFAJSIDeAsAFACQG+UiA1vgJ4BciuUATjGAHNEAH0TgAJvmD9846jRjBEhAIQtWpKAAsecAO6IARIerz6jAG6oMIfJzKIA2us7c+ggLr3EwOHFe8-EIAvoihALzkwaa0vjzK5ogwiJEADADcSYgAPIgAjBlJANRFpJS0NBAI3Ig8+LgpiFY2+M5sHjE0CkqEdbgAdL5wKZHqZfJdAEZ1qEwT0bQLC9SgkLAIiADqcDxMQTgEeSTkZgzMbI3G1AD014iIAHpPzy9PnYnNtt5tHFyBnt4hgF3CEwo0yMtYjsEmdkmlMslcgUESVxhUqmAan1Gp9WuoOlQJoplH1Bn4RucNCcKjRpvhZvN5EsYqtoPAkNtdvs8PgAEzHcp0M4uP4gkRiMCSaRgWTyYmqMaIbS6AxXQm0D7WL7kJwitxBLw6oGioJgiJRTpxGGMOGIQqI-L21HUroYrH1HFavHtTrdEn1MnDcKRQx4cTAQxo273GOxuPxx6vCa0mZzCoLGhLIA

This is a circularity because the condition inside the if could change what type key could have on the second iteration of the loop.

Not sure if I follow, how can that happen? Can you illustrate with an example?
One thing about eliminating falsy values from the set with throw, I would think
let val: string | undefined
if (!val) return
let x = val << should be string

and
let val: string
let x = val << should be string

are identical from x's point of view, how does changing this to the latter fix the error?

Not sure if I follow, how can that happen? Can you illustrate with an example?

Super contrived example, but like this: https://www.typescriptlang.org/play?#code/DYUwLgBA1iCeBcEDOYBOBLAdgcwgHwgFdMATEAMyxBIgF4IByAeygYG4AoD9ciACgCEMWAEoIAbw4BIMAAtUTAO4QARCo4BfLqEgA3AIbBCIROIgBtYYhQYcAXVMRyTJtbRZcGiF-ritHAHoAiAAVWXQkCEUmQmAaACMQCEMMbFkwQOCDIxAAOhY6CScXRAYU9DSwBm9OTIgAIUJIOQiITCZIJCYIAFtCAGNZDmzjfKhCyQgpiGxwYqY+ETdbXEnp9eFC4jJKTGpOdfXUcEJUTEYAeVk2pnYOda1-Z1R+HQh0QoAGNneIAB4IABGb7vADUoLEkik-SYmBQEGOkXoIxAljgdnu00xUxhcKYoFywCY2D4DCsjAgoOgcBE2IguK6BKJJIYiNKlIRICQIlqUh4-ERuWc3Vo9GEkOkUnix30UGkjyAA
TypeScript generally (and rightly imo) makes fairly pessimistic assumptions about what might be changed during loop iteration.

@jgbpercy That makes more sense, thanks!
However I don't see how declaring key as let key = "foo" works around the error.
As far as I know
let key: string | undefined = ""
if (!key) throw "" // or return

and
let key: string = ""

are identical, but the latter solves the error. In my mind the semantics for the two should be identical so that's why I suspect there's a bug.
We can also work around your example by doing something like
let arr = []

for (let i = 0; i < 10; i++) {
    const res = value[key]

    console.log('key: ' + key)
    console.log('res: ' + res);

    arr.push(res.foo)

	if (key) {
		break
	}
}

let x = arr // x is becomes string[]

But maybe I'm in no-goal territory here. I know typescript does not promise to solve all edge cases.

As far as I know
let key: string | undefined = ""
if (!key) throw "" // or return

and
let key: string = ""

are identical, but the latter solves the error. In my mind the semantics for the two should be identical so that's why I suspect there's a bug.

These aren't identical, at least under strict null checks. In the first case key has type string | undefined, but at the specific point in control flow analysis after the conditional throw, it has a narrowed type string. However, it is legal for code that subsequently runs to set back to undefined and widen the type again. TypeScript makes the pessimistic assumption that the loop iteration could do this, and my example shows how that would be possible.
If key's original type is just string, it's not legal for any code to set it back to undefined, so TS can safely assume the loop iteration doesn't do that. Modifying my example to change the original type of key shows how the TS compile error moves to the point where we assign key = undefined.
Hope this helps!

As a simpler example of what I mean, this is legal:
let key: string | undefined = 'ok';

if (key === undefined) {
    throw "";
}

console.log(key); // Here key type is string

key = Math.random() > 0.5 ? 'Now key type will be widened to string | undefined again' : undefined;

console.log(key);

Yeah this makes sense now. Thanks for the explanation.


Add type annotations to public interfaces

This will require dropping 3.4 support, but I think that's reasonable.  There are very few considerations when Porting to Python 3.5 and in practice, I've never seen an issue through a dozen or so migrations.
Bloop will need to consider a policy in the future for minimum required python version.  For the foreseeable future, there aren't any compelling features for bloop specifically in 3.6 or 3.7.  A rough draft would ensure that minimum python version bumps would correspond to a major version bump (ie. 3.6 could be required for bloop 2.0.0).
The following need type annotations:

[ ] SessionWrapper
[ ] Engine
[ ] Column
[ ] Condition
[ ] Type
[ ] Index
[ ] BaseModel
[ ] Scan, Query, Search
[ ] ScanIterator, QueryIterator, SearchIterator
[ ] PreparedSearch

Internal methods should also be annotated; due to the dynamic nature of many methods, I expect non-public methods to use a lot of Union, Optional, and Any.

tl;dr This may not happen.  The typing module does not make this easy, and I'm not sure the pep even knows what it wants.
After a naive attempt at this, it turns out circular imports are painful.  I think I can do typing with strings, but that kind of sucks.  I'll review what other packages are doing, but the notes in pep 484 don't inspire confidence; it seems like this is not as solid a feature as I first expected, but an evolving spec that hasn't finalized at all.
From that document, I think I could use ColumnType = TypeVar("ColumnType", bound="Column") to specify all of the types without any imports.  But, it's still not clear if I can do that with strings.  If I can use strings for the bound param, it's not clear how I'll hook those TypeVar up to the class definitions without importing into the definition (again, that would make the imports circular).

Closing for now.  It may worthwhile at some point in the future, but there are a lot of cyclic references that would either require more imports, or defining the types in a different file and importing them everywhere.  That seems less than useful.


html: make sure we allocate enough space for the \0, always close

conhost has been leaving the clipboard open for all HTML copies because
StringCchCopyA needs an extra byte for the null terminator and we
haven't been giving it one. We should also make sure that we always
close the clipboard (always).
PR Checklist

[x] Closes an untracked bug that was driving me crazy
[x] CLA
[x] Tested
[ ] Requires documentation to be updated
[x] Core

Validation Steps
Went mad on the clipboard.

Consideration: review this PR with whitespace suppressed.


🐛 Bug Report: Icon for New Relic Dashboard plugin broken on plugins page

📜 Description
Noticed on the plugins page, the icon for the New Relic Dashboard is broken.
https://backstage.io/plugins
👍 Expected behavior
Icon should display.
👎 Actual Behavior with Screenshots

👟 Reproduction steps
Click https://backstage.io/plugins, scroll down to New Relic Dashboard plugin, see broken image! :x
📃 Provide the context for the Bug.
It seems to link to an image on the New Relic site which isn't there anymore:
https://newrelic.com/themes/custom/curio/assets/mediakit/NR_logo_Horizontal_Rev.svg
🖥 Your Environment
Safari, latest backstage.io URL
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

This plugin was added via https://github.com/backstage/backstage/pull/8615; might you have any insight or a new icon, @mufaddal7 ? If so, thanks!

Create a pull request : https://github.com/backstage/backstage/pull/16345

Hello,
Has this bug been fixed? If not, I'll work on that.

Closing as the image isn't broken on the plugins page anymore; thx!


[Feature]: Better testing framework

Description about the feature
Background
Currently, our testing framework uses some bash scripts to start a cluster of containers and configure some network and other environments.
https://github.com/xline-kv/Xline/blob/72f3cf9f0210c175ad36e77b4dedcdf39774a329/scripts/benchmark.sh#L88-L107
https://github.com/xline-kv/Xline/blob/72f3cf9f0210c175ad36e77b4dedcdf39774a329/scripts/benchmark.sh#L143-L150
And the best solution for these functions at present is to use docker-compose, just provide a docker-compose.yml file to manage these resources.
Issues
Due to different configurations, both benchmark.sh and quick_start.sh have their own startup scripts, which the script sections we really want to merge.
We experienced a failure of the benchmark.sh script because startup scripts are stale.
How to ?
Write a docker-compose script like the following in ci/docker-compose.yml to start a cluster.
version: '3.9'

networks:
  xline_network:
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: "<IP_ADDRESS>/16"

services:
  node1:
    image: ghcr.io/xline-kv/xline:latest
    networks:
      xline_network:
        ipv4_address: <IP_ADDRESS>
    volumes:
      - .:/mnt
    ports:
      - "2379:2379"
    environment:
      RUST_LOG: curp=debug,xline=debug
    command: >
      xline
      --name node1
      --members node1=http://<IP_ADDRESS>:2379,node2=http://<IP_ADDRESS>:2379,node3=http://<IP_ADDRESS>:2379
      --storage-engine rocksdb
      --data-dir /usr/local/xline/data-dir
      --auth-public-key /mnt/public.pem
      --auth-private-key /mnt/private.pem
      --is-leader
  node2:
    image: ghcr.io/xline-kv/xline:latest
    networks:
      xline_network:
        ipv4_address: <IP_ADDRESS>
    volumes:
      - .:/mnt
    ports:
      - "2380:2379"
    environment:
      RUST_LOG: curp=debug,xline=debug
    command: >
      xline
      --name node2
      --members node1=http://<IP_ADDRESS>:2379,node2=http://<IP_ADDRESS>:2379,node3=http://<IP_ADDRESS>:2379
      --storage-engine rocksdb
      --data-dir /usr/local/xline/data-dir
      --auth-public-key /mnt/public.pem
      --auth-private-key /mnt/private.pem
  node3:
    image: ghcr.io/xline-kv/xline:latest
    networks:
      xline_network:
        ipv4_address: <IP_ADDRESS>
    volumes:
      - .:/mnt
    ports:
      - "2381:2379"
    environment:
      RUST_LOG: curp=debug,xline=debug
    command: >
      xline
      --name node3
      --members node1=http://<IP_ADDRESS>:2379,node2=http://<IP_ADDRESS>:2379,node3=http://<IP_ADDRESS>:2379
      --storage-engine rocksdb
      --data-dir /usr/local/xline/data-dir
      --auth-public-key /mnt/public.pem
      --auth-private-key /mnt/private.pem

Not only can it be provided to users as a quick start, but also during testing and deployment, only one command is needed: docker-compose -f ci/docker-compose.yml up -d. And you can destroy all resources by running docker-compose -f ci/docker-compose.yml down.
This is the first step that needs to be done. Subsequently, tools related to testing can be mounted in /mnt, and operations such as configuring container networks need to be configured in a separate script.
Finally, the quick start document needs to be updated, quick_start.sh should be deleted, and benchmark.sh and validation.sh need to be refactored.
Code of Conduct

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

hi @iGxnon would like to take on this task

OK,  this issue is assigned to you @rohansx. Thank you for your contribution.

@Phoenix500526, kindly review PR #699  and inform me if any modifications are necessary. Once confirmed, I will proceed with the documentation process.


Error : xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option

Output: /root/recon/output
Threads: 100
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
● Scanning is in progress: Scanning for vulnerabilities of example.com using nuclei [89%]

Hii @simrotion13,
Thanks for raising this issue.
This happened because your parameters file contains special characters like ' ( ) so xargs is throwing this error I have pushed the update. Please update your Garud.
Thanks and regards,
R0X4R


coreui NoteBox component

This PR introduces a NoteBox component. It is meant to be an alternative to Banner, integrating better on content-heavy pages, like record pages.

ahh i found it.

It's tough when so much is populated from whatever we're given from the backend!

Mostly just suggestions and questions. Otherwise looks really good! And it's 1000x better than what we have.
One big one - I'm not seeing the "Read more"/"Read less" button here, but I believe i should be?

I fixed a bug related to this. Maybe on this branch? Anyway, I'll take a look.

Mostly just suggestions and questions. Otherwise looks really good! And it's 1000x better than what we have.
One big one - I'm not seeing the "Read more"/"Read less" button here, but I believe i should be?

I fixed a bug related to this. Maybe on this branch? Anyway, I'll take a look.

Oh, I know what's going on here. This specific case is using a <details> element. It is likely closed by default, which means the overflow detection isn't triggered. This is actually kind of what we want, otherwise there would be two methods to collapse the content.
Generally, I prefer the <details> method, but I added the other one for an ortho use case. I probably should have argued my case 🙂

While testing this PR, I noticed a bug that was introduced by #1270:
The persistence of record page table state was also moved to wdk-client. There is at least one place that uses the old updateTableState action, which needs to be updated to use the new action. Additionally, the logic that handles scrolling to the selected table row also needs to be moved to RecordTableSection.
I will make a new issue for this.

I've added icon support, and made some additional stories to highlight the option. I also modified the padding and border width to compensate for the additional space needed for the icon.


Optional Auto-Complete

Okay, if you select an option in the menus your client will try to keep a list of all your most common words (greater than length 1) and will allow you to tab-autocomplete suggestions.
Version 1: this can just be done with a mapping of your most commonly used words, with counts
Version 2: 2 or 3-deep Markov chain
A fun optimization question, how big a local dictionary do we want to keep?

It also seems handy to just start with a count of 1 for all the innate and skill-based commands already known to the game.

I thought this was an interesting take on practical Markov chains:
https://yurichev.com/blog/markov/


Align build and test matrix with Iggy server builds

Build for multiple architectures and test on all supported combinations as the iggy server.

Will be addressed as part of #19 .


ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)

In Python 3.9 , "gcd" is deprecated : https://docs.python.org/3.5/library/fractions.html#fractions.gcd
Fix :
$ diff commpy/channelcoding/gfields.py*
6c6
< #from fractions import gcd
---
> from fractions import gcd
112c112
<             orders[idx] = (2**self.m - 1)/(math.gcd(i, 2**self.m-1))
---
>             orders[idx] = (2**self.m - 1)/(gcd(i, 2**self.m-1))

Thanks for the feedback and the suggested fix :+1:

Thanks for the feedback and the suggested fix :+1:


Can we change the NODE_ENV by craco config

Dear all,
Our team has a monorepo that contains several common modules (API service) and a frontend (CRA with CRACO).
However, there are some places in the common modules that restrict API calls by having process.env.NODE_ENV !== 'development', instead it returns a mock response. However, our team would like to override CRACO settings to set to non-dev mode without touching the common modules which are used by the entire org.
Is there any way we could override NODE_ENV for the React app specifically?
Like.. NODE_ENV=STAGE
For now I know

CRA doesn't allow us to change NODE_ENV directly
I could use .env.local to add my custom variables. Yet, NODE_ENV is still not changeable

In my understanding env vars inside react app are nothing more then a plugin that reads the values from .env files and inject into process.env,
so what i mean is static builds does not have any node env that reads from process.. if you need to set NODE_ENV,
you can create your own env like MY_NODE_ENV and use that in all of your mono repo to handle your use case.
Hope i am able to understand your issue correctly.

In my understanding env vars inside react app are nothing more then a plugin that reads the values from .env files and inject into process.env,
so what i mean is static builds does not have any node env that reads from process.. if you need to set NODE_ENV, you can create your own env like MY_NODE_ENV and use that in all of your mono repo to handle your use case.
Hope i am able to understand your issue correctly.

@m-nathani
I think I missed something..

I could not use a customized env var like "MY_CUSTOM_ENV" because we can't do such drastic change at this point and in fact we don't own the common service's code base, we can only make the change on our side.
NODE_ENV is not for production, I agree with the static build thing. The NODE_ENV is just for development's use, when the NODE_ENV is not equal to "PRODUCTION", we mock the response. If it is equal to "PRODUCTION", we fire a network request. In this situation, we would like to manipulate the NODE_ENV to test the network request for integration. With that, we can split the mode into three / even four. "DEVELOPMENT", "SIT", "UAT" and "PRODUCTION".

I finally managed to figure it out. We can use cross-env to override the NODE_ENV with craco config while we couldn't if we just do it on a simple CRA project without CRACO.


problem building tests with clang

meson setup builddir
The Meson build system
Version: 1.5.1
Source dir: /home/armnmfv/GITHUB/simde
Build dir: /home/armnmfv/GITHUB/simde/builddir
Build type: native build
Project name: SIMDe
Project version: 0.8.2
C compiler for the host machine: clang (clang 19.1.0-rc2 "clang version 19.1.0-rc2 (https://github.com/llvm/llvm-project.git d033ae172d1c5a85fd09c36e23608a9241ea2990)")
C linker for the host machine: clang ld.bfd 2.34
C++ compiler for the host machine: clang++ (clang 19.1.0-rc2 "clang version 19.1.0-rc2 (https://github.com/llvm/llvm-project.git d033ae172d1c5a85fd09c36e23608a9241ea2990)")
C++ linker for the host machine: clang++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Compiler for C supports arguments -fopenmp-simd: YES
Compiler for C++ supports arguments -fopenmp-simd: YES
Compiler for C supports arguments -Wpsabi: YES
Compiler for C++ supports arguments -Wpsabi: YES
Library m found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.1
Build targets in project: 2002

Found ninja-1.10.0 at /usr/bin/ninja

cd builddir/
[ ~/GITHUB/simde/builddir : (b_v0.8.2 %)]

meson compile -j1
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -j 1
[103/4004] Linking target test/x86/avx512/cast-emul-c
FAILED: test/x86/avx512/cast-emul-c
clang  -o test/x86/avx512/cast-emul-c test/x86/avx512/cast-emul-c.p/cast.c.o -Wl,--as-needed -Wl,--no-undefined -lm
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
test/x86/avx512/cast-emul-c.p/cast.c.o: in function simde_test_f16_precision_to_slop': cast.c:(.text+0x258b8): undefined reference to __truncsfhf2'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

what am i doing wrong
it works well with gcc 13 and 14

Hello @mfvalin , do older versions of clang work for you?
We've never tested with clang-19

zen3 CPU, Ubuntu 20.24.6 LTS
(simde 0.8.2)
intel compilers 2023 (traditional) fail when compiling
icc (ICC) 2021.10.0 20230609
Intel(R) oneAPI DPC++/C++ Compiler 2023.2.0 (2<IP_ADDRESS>30721)
../simde/x86/avx512/cvt.h(69) (col. 7): internal error: assertion failed at: "edg_expr.c", line 7466 in dump_expr_il0
intel compilers 2024 (llvm based) fail when compiling
build_dir/../test/x86/avx512/../../../simde/simde-f16.h:181: undefined reference to `__truncsfhf2'
nvidia 24.1 fails at setup
meson.build:1:0: ERROR: None of values ['c99'] are supported by the C compiler. Possible values for option "C_std" are ['none']
clang version 16 (AMD aocc)  fails when compiling
C compiler for the host machine: clang (clang 16.0.3 "AMD clang version 16.0.3 (CLANG: AOCC_4.2.0-Build#89 2023_12_13)")
C linker for the host machine: clang ld.lld 16.0.3
C++ compiler for the host machine: clang++ (clang 16.0.3 "AMD clang version 16.0.3 (CLANG: AOCC_4.2.0-Build#89 2023_12_13)")
C++ linker for the host machine: clang++ ld.lld 16.0.3
ld.lld: error: undefined symbol: __truncsfhf2
gcc 11 compiles  O.K. (all tests successful)
gcc  13/14 compiles O.K. (half the tests fail 1001/2002)

if i switch to a zen4 Ubuntu 22.04 platform,
the distro gcc11 works, all tests pass
clang from llvm 19 works, all tests pass
gcc14 works, all tests pass
clang 16 from AMD aocc works, all tests pass
intel icx/icpx 2024 works, all tests pass
it looks like my problems are associated in some way with my Ubuntu 20.04 setup

it looks like my problems are associated in some way with my Ubuntu 20.04 setup

Okay. I'm going to close this issue for now. Good luck!


Custom view not showing post navigation

When you create a custom view for example "top 15 posts" or "flagged posts" that view will not show the post navigation I also tried adding the following to the custom view template but it did not work
{{> posts_views_nav}}

The way this is handled will change soon. You can already try this on the devel branch actually:
_.findWhere(Telescope.modules.top,{template: "posts_views_nav"}).only.push("postsDaily");

This basically tells the posts_views_nav template to be included on the postsDaily route.


Increase clearance from intake to ground

During test run, the intake was scraping on the ground. Increase clearance by 3 mm.

Increase height off the ground for the front of the intake even more than the back, because the front sticks out over the wheels, and thus is the first to hit when the bot goes up a hill.


implement prompt

closes #127

there is still a test to write

Rebased and merged locally. Thanks!


Migration in progress

We are currently migrating the code in https://github.com/eclipse/kuksa.val.feeders/tree/main/someip2val to this repo. The content of this repo is currently unstable.

Migration finished


[GURPS] Learning a spoken language subtracts WAY more points from the point summary than it should be.

To reproduce this, navigate to the traits tab and add a new language.
Under the 'spoken' drop-down menu, select 'native' and then navigate to the General tab and look at the point summary. Instead of subtracting 3 points for the spoken native language, it will have subtracted a whopping 30 points from the total.
Similarly, choosing Accented will subtract 20.
One-Way subtracts merely 1 point like it's supposed to.
Broken subtracts 10 points when it should be only 1.
This bug only occurs with spoken languages, all the written language options calculate properly.

Hm... looks like I missed a place where javascript was concatenating values as strings instead of adding them as numbers. Working on it now.

Can this issue be closed?

Close this issue - it has been fixed for soem time now.


file INSTALL cannot copy file     to "/usr/local/localsend_app": Permission denied

I encountered an error while trying to compile the latest Linux version
CMake Error at cmake_install.cmake:66 (file):
  file INSTALL cannot copy file
  "/home/kero/localsend/app/build/linux/arm64/release/intermediates_do_not_run/localsend_app"
  to "/usr/local/localsend_app": Permission denied.

Obviously, the compiled file attempts to install to/usr/local, and ordinary users do not have permission. When I used sudo, the compilation was successful, but there were no generated files in the build folder. They were all moved to/usr/local, which made it impossible for me to package the generated files because they were mixed up in a vast number of system files. I remember the previous version was not like this. Moreover, regular software compilation on Linux is separated from "make" and "make install".
How can I compile files without installing them to/usr/local, or even if installed, leave a generated file for the build to package? I don't think moving directly to the installation file is very appropriate.

If you could compile this in the previous version, then several things may have changed:

The source code is moved to app/ directory
The generated .dart files are now included in git

If you could compile this in the previous version, then keep in mind that several things have changed:如果您可以在以前的版本中编译它，那么请记住，有几件事发生了变化：

The source code is moved to app/ directory源代码已移至 app/ 目录
The generated .dart files are now included in git (no need to run build_runner anymore)生成的 .dart 文件现在包含在 git 中（无需再运行 build_runner ）

Thank you for your reply, but it seems that your answer did not solve my problem. I still report permission errors when compiling under regular users, and when compiling under root, I will still directly install and delete the compiled files.
I just want to package the compiled files.

Did you find a fix to this error?

You can checkout the github pipeline where the binaries for the releases are built:
https://github.com/localsend/localsend/blob/ff6b83b85eae3841bbcc57175685dd1e85ede749/.github/workflows/release.yml#L116
There is not much to do except running flutter build linux. Have you tested to build an example flutter app?

I flutter run it after flutter clean and it worked


Not expanding unquoted variables correctly

Consider the following example:
$ export T="c d"
$ node -e 'console.log(JSON.stringify(process.env.T), process.argv)' a b $T

You get the following result:
"c d" [
  '/home/ec2-user/.nvm/versions/node/v17.0.1/bin/node',
  'a',
  'b',
  'c',
  'd'
]

The variable T is expanded in possitional args c and d. If we quote the variable then we get a different result:
$ export T="c d"
$ node -e 'console.log(JSON.stringify(process.env.T), process.argv)' a b "$T"
"c d" [
  '/home/ec2-user/.nvm/versions/node/v17.0.1/bin/node',
  'a',
  'b',
  'c d'
]

However, in the shell-quote library the situation is different. Consider the following example:
const shellQuote = require('shell-quote')

console.log(shellQuote.parse('test a b $T', { T: 'c d' }))

We get the following result:
[ 'test', 'a', 'b', 'c d' ]

Notice that the behaviour is different as in the variable T does not get expanded. In other words, the behaviour is similar to variable T beign quoted, i.e:
const shellQuote = require('shell-quote')

console.log(shellQuote.parse('test a b "$T"', { T: 'c d' })) // [ 'test', 'a', 'b', 'c d' ]

If shell-quote is used to parse string which are used to spown a process with environment variable that are not quoted, it will result in a completely different behaviour than the one expected from the standard shell.

interesting - this makes sense, that the presence of quotes should matter.
Are there existing tests that would break with this change?

I have no idea. I was planning to use this library but it seems that at the moment it will not be a good fit due to this particular bug.

I'd love to review a PR that fixes it and adds tests :-)

I've pushed up a branch with failing tests, and found the place where the unquoted env var is retrieved.
The difficulty is essentially that the current approach inlines env vars amidst parsing - however, an unquoted env var needs to be treated as part of the parse, and at this point in the implementation, we've already tokenized the input - and it's tricky to insert more tokens into the list.

Isn't this a matter of porting an existing shell's grammar parser to js?
Here are the interesting bits from bash:
https://git.savannah.gnu.org/cgit/bash.git/tree/parse.y (Yacc grammar for bash)
https://git.savannah.gnu.org/cgit/bash.git/tree/subst.c (The part of the shell that does parameter, command, arithmetic, and globbing substitutions)
These two files account for probably 60% of what bash is.
Supporting ${T} is not that far off from $T, and you'd have to support brace expansion for cases like abc${T}def. Then, what about ${T[1]} or $1 or $PID or $((T*2)) or $(echo $T | sed s/-/_/g) ?
Are there practical applications to handling shell variable expansion in a javascript program? Can we really take shell variables out of the shell?

There are many more shells than bash, and porting a parser would be extremely brittle since that can change drastically across even a single shell's major versions.

There are many more shells than bash, and porting a parser would be extremely brittle since that can change drastically across even a single shell's major versions.

I whole heartedly agree, and I think it's more sensible to remove variable expansion from the library, rather than attempt to fix it. I'm leaning towards removing this feature from my fork.

We won’t ever be removing any features; breaking changes are toxic to the ecosystem.


[FEATURE]: Drag a copy

Hi all
Thanks for this great project!
I was wondering if there is the possibility to drag a copy.

In our use-case, we would like to group identical tasks into 1 element and indicate the copies with a badge.
If all 4 copies are dragged, then the element itself can be dragged.
I was thinking if we could set a dragCopy prop that enables copies as long as it's true.

This is possible via the DragOverlay component


Fix scatter operator for nonstandard shapes

remove standard() shape check for scatter inputs. Fixes error seen for non standard inputs

add tests

Added


Request for AdapterTrainer to support saving entire model

🚀 Feature request
Request for AdapterTrainer to support saving complete model
Motivation
AdapterTrainer's function _save() supports saving adapter modules and heads but does not support saving the pretrained model.
I encountered this issue while using the --load_best_model_at_end=True in the training arguments. I get a warning Could not locate the best model at runs/my_current_model/checkpoint-70/pytorch_model.bin, if you are running a distributed training on multiple nodes, you should activate --save_on_each_node.
This is due default AdapterTrainer only saving the adapters and heads and not the rest of the model weights.
So am I missing some arguments that can explicitly save a pytorch_model.bin file? Otherwise, I believe it would be nice to have an feature to save either adapter modules or the complete model in AdapterTrainer.
I am using Pfeiffer's MAD-X task and language adapters.
Your contribution
As of now, I am manually saving the best model using a callback to use model.save_pretrained() as follows (subsequently via load_pretrained  best model is loaded manually):
`
  best_acc = -1
  class CustomCallback(TrainerCallback):
      def __init__(self, trainer) -> None:
          super().__init__()
          self._trainer = trainer

      def on_epoch_end(self, args, state, control, **kwargs):
          if control.should_evaluate:
            global best_acc, model, save_best_model_path
            print('USING HEAD: ', model.active_head)
            control_copy = deepcopy(control)
            output_metrics = self._trainer.evaluate(eval_dataset=self._trainer.train_dataset, metric_key_prefix="train@"+lang)
            acc = output_metrics['acc']
            if state.global_step < state.max_steps and best_acc<=acc:
                print('Saving the model using CustomCallback: ', save_best_model_path)
                model.save_pretrained(save_best_model_path, from_pt=True)
                best_acc = acc
            return control_copy

training_args = TrainingArguments(
        seed=SEED,
        evaluation_strategy="epoch",
        save_strategy="epoch",
        logging_strategy="epoch",
        learning_rate=lr,
        num_train_epochs=epoch2,
        per_device_train_batch_size=batch_size2,
        per_device_eval_batch_size=batch_size2,
        output_dir=MODEL_DIR+'_'+lang,
        overwrite_output_dir=False,
        # The next line is important to ensure the dataset labels are properly passed to the model
        remove_unused_columns=False,
        save_total_limit=1,
        load_best_model_at_end=True,
        # resume_from_checkpoint=MODEL_DIR+'/last-checkpoint',
    )

trainer = AdapterTrainer(
    model=model,
    args=training_args,
    train_dataset=train_dataset2,
    eval_dataset=valid_dataset2,
    compute_metrics=compute_metrics
    )

trainer.add_callback(CustomCallback(trainer))`

It's possible to save the entire model using the transformers library. However, when loading the model for inference, the default configuration does not include additional parameters (adapters). As a result, the model will only perform inference on the non-adapter parameters. I haven't tried it myself but you should attempt to inference the model while specifying a custom config and see if that works out.

@Celestinian , on the contrary, from the library behavior, the adapter library saves only the adapter modules and heads but not bert weights. As a result, the model attempts to load only adapter weights. I suspect the trainer.state variable needs to be corrected to store both adapter and bert weights.

@erzaliator I'm missing a piece, are you saying it is possible to save a model with an adapter to be later loaded for inference without using the adapter library?


Worldguard region support does not work

Adding a Worldguard region to disable job earnings does not work and throws an error :/.
I do the following:

//pos1 + //pos2
/rg define test
/jobs area add wg:test 0

Error: https://pastebin.com/HEeGTBt0
Jobs 4.10.3
Paper 1.13.2 - 616
AsyncWorldEdit version 3.6.0-rc-05
WorldEdit version 7.0.0-beta-05;6bbf29b

https://github.com/Zrips/Jobs/commit/06538ed4e63d43aedcdd11e34d18cf9ceed38a76

Nice, thanks! Is there a way to download the fix as a development build or do I have to wait for an official release?

We will do soon a development build on Releases tab.


auth-backend: migrate saml provider to sign-in resolver

Some more work towards #6245

Reminder to update the description on #6245 too

Verified with the mock IdP in auth-backend/scripts btw, but not beyond that
@freben yeh updating that thing after merj


Cannot copy from STDIN into a file on the container (docker cp)

Description
When trying to copy from STDIN into a new file in the destination container, docker cp panics and complains that the file is not a directory.
Steps to reproduce the issue:

docker run --name foo -td debian:8
echo baz | docker cp - foo:/tmp/bar.txt

Describe the results you received:
The process exits with error code 1:
destination "foo:/tmp/bar.txt" must be a directory

Describe the results you expected:
I should have a file name /tmp/bar.txt in the container foo. In particular I expect:
docker exec foo /tmp/bar.txt

to output baz.
Output of docker version:
$ docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      linux/amd64

Output of docker info:
$ docker info
+Containers: 25
 Running: 2
 Paused: 0
 Stopped: 23
Images: 116
Server Version: 1.12.3
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 148
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.27-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.951 GiB
Name: moby
ID: L356:7AG6:5VUW:W6EE:GDWE:XS26:AQGD:4236:37MI:RY7D:7IOG:3JLE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 22
 Goroutines: 37
 System Time: 2016-12-16T21:53:15.680267972Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
Insecure Registries:
 <IP_ADDRESS>/8

docker cp expects a tarfile on stdin, not a plain file.

@justincormack Sorry. Didn't know that.
I guess echo baz | docker exec -i foo sh -c "cat - > /tmp/bar.txt" can accomplish what I want.


Documentation Error: padded_shapes isn't provided in padded_batch method.

Thank you for submitting a TensorFlow documentation issue. Per our GitHub
policy, we only address code/doc bugs, performance issues, feature requests, and
build/installation issues on GitHub.
The TensorFlow docs are open source! To get involved, read the documentation
contributor guide: https://www.tensorflow.org/community/contribute/docs
URL(s) with the issue:
Please provide a link to the documentation entry, for example:
https://www.tensorflow.org/tutorials/keras/text_classification
Description of issue (what needs changing): Under heading 'Prepare the data for training'  in first code snippet
BUFFER_SIZE = 1000
train_batches = (
train_data
.shuffle(BUFFER_SIZE)
.padded_batch(32))
test_batches = (
test_data
.padded_batch(32))
padded_shape isn't provided while it is mandatory i guess. Also when i was following this tutorial i got the error: "TypeError: padded_batch() missing 1 required positional argument: 'padded_shapes'"
So please update the documentation. And also please help me out what should be the padded_shapes for this example.
I've read the documentation for padded_batch but i still got different errors. Thank You
For example, why should someone use this method? How is it useful?
Correct links
Are you planning to also submit a pull request to fix the issue? See the docs
contributor guide: https://www.tensorflow.org/community/contribute/docs,
docs API guide: https://www.tensorflow.org/community/contribute/docs_ref and the
docs style guide: https://www.tensorflow.org/community/contribute/docs_style

@devspartan
I have tried executing tutorial in colab with TF 2.2 and i am not seeing any issue.Please, find the gist here..Can you please help me to understand where exactly you are facing the issue.If possible please share colab link or simple standalone code to reproduce the issue.It helps us in localizing the issue faster.Thanks!

I've been using TF 2.1. After upgraded to TF 2.2 it works fine. Thank you for your quick response


[Home] Apply network logic to home screen

01
banner, meal, wakeup song 완료

04.04
night study


Send the proper comment to the API when adding comments

Details
This returns the code back to what it was originally doing before I refactored it.
Fixed Issues

Fixes https://github.com/Expensify/Expensify/issues/157666
Tests

Upload an attachment to a chat
Refresh the page
Verify there is no message for "Uploading attachment..." before the attachment

Tested On

[x] Web

Only needs tested on one platform since it's related to the API
Screenshots

Web

bump for review please @sketchydroide


Need to create a new Masterchef that handles these markets and ends rewards at market resolution

Won't fix for initial set of grouped markets.


GCC crash with C functions in conditional expression.

.py
def dynfuncswitch(val, preferleft=True):
	"""Causes gcc crash."""
	return (math.floor if preferleft else math.ceil)(val)

.pxd
from libc cimport math

The above code is valid Python, and it Cythonizes fine, but it causes a crash in gcc. Typing the arguments and return of the function does not change the behaviour.
error: assignment of function ‘double __pyx_t_1(double)’
19498 |     __pyx_t_1 = floor

I'm relatively sure this is something I've fixed recently as part of a bigger PR.
https://github.com/cython/cython/blob/2a335975f705e0c40df2b593006a3cd0bb1bcf6f/Cython/Compiler/Code.py#L835-L837
If this is the right fix is it worth taking those three lines out and submitting them on their own?


Return cards to deck when player leaves

Right now cards in players hands are lost forever when those players disconnect. Instead simply put them in a random place in the deck.

See #136


(173) Task list view

https://trello.com/c/YpH2TlYQ
Add task list view

Add a task list the the project show page. The GOV.UK task list component is currently in a "being worked on" state, meaning that we have to pull in the styling from the prototype kit for now.

Generate a task list on project creation, via the TaskListCreator.

Add the FactoryBot Gem, along with minimal factories for project, section, and task, so that we can easily create models in various states for easier testing.

 Create task list view


angular 2.0

Hi @knalli , i would like to know what plans you have for angular 2.0 as i am very interested in using with vert.x for projects.
Thanks

Closing this one. When Angular JS 2 will arrive, or better: will be ready for developer 3rd party additions, this will be a topic. Next year probably.


When --format junit is used there is no result summary number

It is not possible to find out result summary number when --format junit is used. It is needed ie for adjusting --fail-threshold accordingly.
Please consider showing the summary number in console :pray:
Thx!

I think there might be possibility to make items in junit xml more granular (I can imagine there could be row per resource and not per check). So there would be possible to calculate the summary number from junit file directly. WDYT?

We are thinking of printing the junit/json per resource as you suggested, but for the meantime I was thinking of something like this:

Notice, if you wish to calculate the score from the json/junit format, you can calculate:
(allResources - failedResources) / allResources * 100


chore:  update Bug Report Issue Form

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


Change to s_players array to make it scalable for more players

Changed s_players array to mapping(uint256 => address) private s_playersMapping
uint256 private s_playersCount, along with the implementation in the fulfillRandomWords. Now instead of working with arrays, contract uses mapping so chainlink VRF does not run out of gas in case there are a lot of players (running out of gas due to new address[](0) operation, now it is just changing the counter s_playersCount = 0 for fixed gas).
Modified test case not to call the array values just to keep it complete.

Just realized it will not help the course video, closing the request.


saveImage.sh - Stretch not happening when enabled

Discussed in https://github.com/thomasjacquin/allsky/discussions/2935

Originally posted by jcauthen78 August 25, 2023
Allsky v2023.05.01_03
# Auto stretch images saved at night.  The numbers below are good defaults.
AUTO_STRETCH="true"
AUTO_STRETCH_AMOUNT=10
AUTO_STRETCH_MID_POINT=10
The allsky.log says the stretch has been run, but comparing it to a previous image, it's identical.  I can manually run the convert with the settings in the saveImage.sh and it works via the CLI, but not within the actual flow of the night. Here are examples of the AllSky stretch, vs 2 manual stretches:
"Stretched" From Allsky (no change from original):

Manual Stretch of 10x10:
convert image.jpg -sigmoidal-contrast 10x10 10x10.jpg

Manual Stretch of 10x10%: Unsure why the % returns different than just 10 from above.
convert image.jpg -sigmoidal-contrast 10x10% 10x10p.jpg

Is there something specific in saveImage.sh that needs changed for it to truly work?
FIX: in saveImage.sh change IMAGE_TO_USE to CURRENT_IMAGE.
Fixed in Point Release 3.

Fixed in point release 3.


$scope does not seem to $digest when you first select an option from the dropdown

It looks that in 3.0.1 something is broken. When you select an item for the first time from the dropdown, the $scope does not get digested, so any bindings will obviously not update. I do not seem to be able to reproduce it on a plunkr but since I updated it broke at certain places where for example I have
<selectize blah ng-model="thecontroller.themodel"></selectize>

{{thecontroller.themodel}}

the value in the curly ones will not update on the first selection but rather on any consecutive ones..
If I manually call $scope.$digest for example on the onChange callback it works...

Tried with $scope.$apply but I keep having $digest already in progress error. I finally chose to use $timeout which allow to avoid this error and works fine for me. See angular's doc.


Variables (libs) defined in the Collection-level Post Response cannot be used anymore in the Request-level Post Response since v1.20

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
As the title says - not sure if this is by design.
Before v1.20, I could (re-)use the variables/libs that I defined in the Collection-level, but since v1.20 I got Error invoking remote method 'send-http-request': ReferenceError: Cannot access 'atob' before initialization (see the attached screenshots).
.bru file to reproduce the bug
No response
Screenshots/Live demo link
🟢 Before v1.20

🔴 Since v1.20

Yes, this is kinda by design. It was changed for Folder level scripts. See: https://github.com/usebruno/bruno/issues/2639

"kinda"? 😅
@Its-treason Okay then, perhaps just to confirm so that I can close this issue: is the following where it all started?

https://github.com/usebruno/bruno/pull/2529
https://github.com/usebruno/bruno/pull/2530
https://github.com/usebruno/bruno/commit/45ff36d394518b5c8042a626f9ce2505084653f3

"kinda"? 😅
@Its-treason Okay then, perhaps just to confirm so that I can close this issue: is the following where it all started?

https://github.com/usebruno/bruno/pull/2529
https://github.com/usebruno/bruno/pull/2530
https://github.com/usebruno/bruno/commit/45ff36d394518b5c8042a626f9ce2505084653f3

Yes, this is where it all started.
The reason I wrote "kinda" is because breaking your script was not the design goal.

But wait, this is weird. If I now put the same declarations in the Folder-level script, I got: Error invoking remote method 'send-http-request': SyntaxError: Identifier 'atob' has already been declared.

I thought Collection-level and Folder-level scripts work in their own isolated "boxes". So are they still sharing the same scope somehow? Is this how it's supposed to work? 🤔

Internally for executing the for example the Pre-Request script. The scripts from Collection, Folders and requests are concatenated. So the Collection and Request Pre-Request script are executed in the same context. The Post-Script is then concatenated, executed in another context.
I hope this explanation made sense. If not, peeking into the source code could help:
Pre-Request-Script: https://github.com/usebruno/bruno/blob/81497d8397082f8600d348f87dfcdded05660d65/packages/bruno-electron/src/ipc/network/index.js#L329-L343
Post-Request-Script: https://github.com/usebruno/bruno/blob/81497d8397082f8600d348f87dfcdded05660d65/packages/bruno-electron/src/ipc/network/index.js#L410-L427

Thanks - if the scripts are concatenated, it does make sense for the second error:
Error invoking remote method 'send-http-request': SyntaxError: Identifier 'atob' has already been declared
But I still cannot make sense of the first one that I originally reported:
Error invoking remote method 'send-http-request': ReferenceError: Cannot access 'atob' before initialization
I mean, if they're concatenated, shouldn't the Folder-level script also get the declarations from the Collection-level script?

I mean, if they're concatenated, shouldn't the Folder-level script also get the declarations from the Collection-level script?

No, because Bruno uses "Sandwich" order, the Post-Request scripts are concatenated in reverse order.

So the final Post-Request-Script will look like this:
const result = atob("Something");

const atob = require("atob");

Aah, gotcha! It's all clear now. Thanks again, very much, for the clarification! 🙇🏻

How does this work for scripts within the Tests tab?  We have a custom scripts.js file sitting at the root of the collection that we were requiring at the collection level in 3 places:  Pre-Request,Post-Response, and Tests:
const scripts = require('./scripts')
If we want these scripts available to each request (we're ignoring folder scripting, for now), how should we set this up?  Seems like the sandwich flow won't allow for this any more?

If we want these scripts available to each request (we're ignoring folder scripting, for now), how should we set this up? Seems like the sandwich flow won't allow for this any more?

Yes, you are right, with the current "Sandwich" flow this does not work.


Update plasma default configuration. Trigger image building.

Using Plasma config suggested by EigenDA docs.
Build images on push events, and update workflow_dispatch condition to be effective.

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

Project coverage is 16.44%. Comparing base (0bacc52) to head (93afd2d).

:exclamation: Current head 93afd2d differs from pull request most recent head 8fed632
Please upload reports for the commit 8fed632 to get more accurate results.

:exclamation:  There is a different number of reports uploaded between BASE (0bacc52) and HEAD (93afd2d). Click for more details.
HEAD has 2 uploads less than BASE
| Flag | BASE (0bacc52) | HEAD (93afd2d) |
|------|------|------|
|chain-mon-tests|2|1|
|sdk-tests|2|1|

Additional details and impacted files
@@             Coverage Diff             @@
##            celo7     #180       +/-   ##
===========================================
- Coverage   61.32%   16.44%   -44.88%
===========================================
  Files          20        8       -12
  Lines        1753      535     -1218
  Branches       71       71
===========================================
- Hits         1075       88      -987
+ Misses        646      447      -199
+ Partials       32        0       -32

Flag
Coverage Δ

cannon-go-tests
?

chain-mon-tests
27.14% <ø> (ø)

sdk-tests
16.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes

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

Project coverage is 16.44%. Comparing base (0bacc52) to head (8fed632).

:exclamation:  There is a different number of reports uploaded between BASE (0bacc52) and HEAD (8fed632). Click for more details.
HEAD has 2 uploads less than BASE
| Flag | BASE (0bacc52) | HEAD (8fed632) |
|------|------|------|
|chain-mon-tests|2|1|
|sdk-tests|2|1|

Additional details and impacted files
@@             Coverage Diff             @@
##            celo7     #180       +/-   ##
===========================================
- Coverage   61.32%   16.44%   -44.88%
===========================================
  Files          20        8       -12
  Lines        1753      535     -1218
  Branches       71       71
===========================================
- Hits         1075       88      -987
+ Misses        646      447      -199
+ Partials       32        0       -32

Flag
Coverage Δ

cannon-go-tests
?

chain-mon-tests
27.14% <ø> (ø)

sdk-tests
16.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes


Update Operator version to 1.2.0

@venunathb @git4rk @edburns
From the description of 1.2.0 in https://github.com/OpenLiberty/open-liberty-operator/releases:
Pending validation and official release. Do not use it in production.

I think we should wait until it's recommended for production?

Also, there is no relative release directory including installation scripts for 1.2.0 yet:

@git4rk You're right, it belongs to aks repo. The latest version of OLO & WLO will be automatically installed with OLM for aro repo.

It seems to me this issue should be closed, no?

@edburns I realized that the similar changes from WASdev/azure.liberty.aks/pull/83 are also needed for azure.liberty.aro repo, I'll look into it next week, and let's keep this issue open as for now.


Allow testing OAuth2 locally by providing access tokens via environment variables

The "tokens" library should support passing in personal access tokens (generated by "zign") in order to do local testing.

Pullrequest merged and new version of 'tokens' released (0.7.0). Should be available in Maven-Central now.

TODO: add documentation how to test locally using the new OAUTH2_ACCESS_TOKENS environment variable

This is broken right now: it uses System.getProperty instead of getEnv..

@hjacobs works in 0.9.0

@lukasniemeier great, thanks :+1:


[main] Upgrade to latest dependencies

update deps for release -psschwei
/cc knative-sandbox/eventing-writers knative-sandbox/serving-writers
/assign knative-sandbox/eventing-writers knative-sandbox/serving-writers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/pkg 97eb150...e60d250:
  > e60d250 upgrade to latest dependencies (# 2543)

/test integration-tests_reconciler-test_main

/test integration-tests_reconciler-test_main


iOS notification style error

This is a (multiple allowed):

[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)

What you did
Opened notification with the following code:
window.f7.addNotification({
  message: 'Some words ...'
})

Expected Behavior
Close button well positioned.
Actual Behavior
Close button not well positioned.

Tested with Chrome web browser and iOS simulator.

In addition, this is only to see if there is no title defined.

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Updated maxKringSize to closed form formula

Source of closed form formula: https://oeis.org/A003215

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

Coverage remained the same at 100.0% when pulling c181e72ccefb314d99d3ce6620c08fe91f74a85a on temporalparts:master into 4a4e426a275e649a2c6fb969b3ca477a5db7a890 on uber:master.

@isaacbrodsky - would it be worthwhile from a perf perspective to actually hard-code the integer sequence for k less than some threshold?

Maybe, but I would hesitate to add a microoptimization like that. Without benchmarking, I'd guess the possible performance gain is pretty small.


Fiji spelling issues on toner/terrain at different zoom levels

http://maps.stamen.com/#terrain/3/-27.06/203.73 - "Fij"
http://maps.stamen.com/#toner/4/-22.27/174.64 - "Fi"

Nice find! This may be a similar issue to issue #89 .
@almccon filed that one at https://github.com/stamen/terrain-classic/issues/102 with more detail on what may be causing the problem.
This probably also applies to issue #105
Hope this helps!


Rename release bundle for mac to replace 'apple' with 'macos'

apple is really not a useful name here, when the release really is for macOS :)

I would expect the OS to be Darwin on iOS and other Apple operating systems as well, so maybe the condition needs to be updated to match?

This will currently not do the right thing on any other Darwin OSs but macOS. That doesn't seem too bad, given that nobody could ship anything based on Wasmtime for those OSs anyway, because they forbid JITting. I agree that we should fix it, but that's unrelated to this patch, so I'll land this for now.


how to convert TriviaQA to squad format?

HI!  i want to convert dataset to squad formation ,but I don't  clear which file need to use, i try as bellow, but meet some error.

root@843d9505135f:/home/trivia/utils# python convert_to_squad_format.py --triviaqa_file dataset/wikipedia-dev.json --squad_file squad --wikipedia_dir dataset/wikipdia-dev.json  --web_dir dataset/web-dev.json
0%|                                                                                | 0/14229 [00:00<?, ?it/s]
Traceback (most recent call last):
File "convert_to_squad_format.py", line 110, in
convert_to_squad_format(args.triviaqa_file, args.squad_file)
File "convert_to_squad_format.py", line 67, in convert_to_squad_format
text = get_text(qad, qad['Source'])
File "convert_to_squad_format.py", line 12, in get_text
return utils.get_file_contents(local_file, encoding='utf-8')
File "/home/trivia/utils/utils.py", line 10, in get_file_contents
with open(filename, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'dataset/wikipdia-dev.json/White.txt'

icould you tell me more detail how to convert？

@mandarjoshi90 can i have help to convert wikiQA data to squad format, thank you.


Add User schema and paths

With this PR:

adding User schema and other related schemas (#47)
adding paths and operations for User
updating openapi/openapi.yaml to include the changes

For this schema, I am using Google Workspace user API as reference.  I think it has some properties that we could potentially utilize in the future.

Not fully fleshed out, so converting to draft.

Not fully fleshed out, so converting to draft.

@tschaffter not ready yet, sorry!
There's one thing I need to fix for the User* schemas, regarding password.

Looks great!


python310Packages.python-roborock: 0.17.3 -> 0.17.6

Diff: https://github.com/humbertogontijo/python-roborock/compare/refs/tags/v0.17.3...v0.17.6
Changelog: https://github.com/humbertogontijo/python-roborock/blob/v0.17.6/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 231946 run on x86_64-linux 1

4 packages built:

python310Packages.python-roborock
python310Packages.python-roborock.dist
python311Packages.python-roborock
python311Packages.python-roborock.dist


The host-model cpuModel isn't usually fully supported in the nodes and we should take it into account

What this PR does / why we need it:
Currently we threat host-model of a node as a supported cpuModel
because the node contains: cpu-model.node.kubevirt.io/<host-model-name>: "true" label
in order to run host-model libvirt has to disable some features that the node doesn't have
and if we define the cpuModels to be <host-model-name> of some node the vmi will fail.
In this case virt-launcher shouldn't had been scheduled at all because the node doesn't support all the
 features.
In order to fix this we can define new set of labels (migration-cpu-model.node.kubevirt.io/<model-name>) just for migrations with   host-model because in migration we need selector that will allow us to migrate to one of the following:

target node with the same host-model and all the required-features
target node that support the source node's host-model as a supported model that has all the required features

these new labels will be used only when migrating a vm with host-model cpuModel.
As for the other cases we will use cpu-model.node.kubevirt.io/<model-name> always and in these cases we don't care about
the required features because these models are well defined(if node has this label it support all the model's features).
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
how to reproduce :
deploy the following vm in kubevirt-ci cluster (use the host-model of the node as cpuModel):

—

apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  labels:
    kubevirt.io/vm: vm-masquerade
  name: vm-masquerade
spec:
  running: false
  template:
    metadata:
      labels:
        special: vmi-masquerade
      name: vmi-masquerade
    spec:
      domain:
        cpu:
          model: Cooperlake
        devices:
          disks:
          - disk:
              bus: virtio
            name: containerdisk
          - disk:
              bus: virtio
            name: cloudinitdisk
          interfaces:
          - masquerade: {}
            name: testmasquerade
            ports:
            - name: http
              port: 80
              protocol: TCP
          rng: {}
        resources:
          overcommitGuestOverhead: true
          requests:
            memory: 1Gi
      networks:
      - name: testmasquerade
        pod: {}
      terminationGracePeriodSeconds: 0
      volumes:
      - containerDisk:
          image: registry:5000/kubevirt/fedora-with-test-tooling-container-disk:devel
        name: containerdisk
      - cloudInitNoCloud:
          networkData: |
            version: 2
            ethernets:
              eth0:
                addresses: [ fd10:0:2::2/120 ]
                dhcp4: true
                gateway6: fd10:0:2::1
          userData: |-
            #!/bin/bash
            echo "fedora" |passwd fedora --stdin
            yum install -y nginx
            systemctl enable --now nginx
        name: cloudinitdisk

after deploying this vm you will get libvirt's error that some features are missing .
virt-launcher should not be scheduled in that case.
Special notes for your reviewer:
Release note:

NONE

/cc @vladikr

/retest

Thanks @Barakmor1 !
It looks good to me.
I don't see a better solution rather than adding dedicated labels to the node to distinguish between the CPU models which are supported for creating a new VMI from those that are supported for migration.
/approve
@xpivarc @jean-edouard @iholder-redhat can you please take a look at this as well?

/retes

/retest

/retest

/retest

/retest

/retest


new quarter, new clippy

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

10 of 15 (66.67%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 83.247%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/classic/clvm_tools/cmds.rs
6
11
54.55%

Files with Coverage Reduction
New Missed Lines
%

src/compiler/sexp.rs
1
78.1%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
14882

Relevant Lines:
17877

💛  - Coveralls


[RecoveryServicesBackup] Remove ingore attribute and fix the recording file after recoveryservices release

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Official release for Kafka v2.0.0 support

Can you create an official release v0.4 and Docker image for your commit that added support for Kafka v2.0.0?

yes! Can you please test latest, make sure it works for your use case, maybe let's bundle in #34 if we have a chance, then I'll make a release for 0.4 - Kafka 2.0.0

Thank you for creating this service!

Pleased to have helped!

Done as per https://github.com/simplesteph/kafka-security-manager/commit/661e41d6af6ae6f8511f2e1428063e16a87695c6
Docker info:
Tag: v0.4-release
Size: 123 MB (thanks for the big reduction in size!)


added authentication-related explanation

This pull request depends on pull request #1375
I am including auth_usage.rst, which provides description on how to use authentication

Is auth_usage.rst supposed to be in this PR?  I don't see the file.

NVM...I just saw the earlier PR.


firebird: 3.0.7 -> 3.0.8; 4.0.0 -> 4.0.1

firebird: 3.0.7 -> 3.0.8
firebird: 4.0.0 -> 4.0.1

@ofborg build firebird_3 firebird_4 wt3 wt4 fileshelter flamerobin


rebuild for 3.12

rebuild for missing py312 artifacts. (to support enabling 3.12 on https://github.com/AnacondaRecipes/ray-packages-feedstock/pull/17)

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_c8gl0_5q5i/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:182: missing_tests: output "gymnasium-other": No tests were found.
clone/recipe/meta.yaml:182: missing_imports_or_run_test_py: output "gymnasium-other": Python packages require imports or a python test file in tests.
clone/recipe/meta.yaml:69: missing_imports_or_run_test_py: output "gymnasium-all": Python packages require imports or a python test file in tests.
clone/recipe/meta.yaml:22: wrong_output_script_key: It should be outputs/x/script, not outputs/x/build/script
===== Final Report: =====
4 Errors and 0 Warnings were found


Typo in template: "route." instead of "routes."

When you create a default ASP.NET Core Web Application and then add new area with scaffolding it generates "route." instead of "routes."

This issue was moved to aspnet/Scaffolding#863


Add Bean Validation support to REST endpoints

e.g. public String getParamRequired(@QueryParam("foo") @NotEmpty String foo)

It looks like this actually works - most likely, the trouble of this not working was a temporary issue.


add volume mounts as per 2.9 service broker api spec

see: http://docs.cloudfoundry.org/services/api.html#binding and http://docs.cloudfoundry.org/services/api.html#binding
this api isn't stable yet, so there will be another one of these PRs, but we're pointing at this fork for now and would love to be back on master :)

Hi @cwlbraa, thank you for adding volume mounts to the Binding struct. Please could you add a test? There is a context for binding here: https://github.com/pivotal-cf/brokerapi/blob/1ff35433ffe641849fd4c614537bb5c94b8240c5/api_test.go#L885
cc: @jamesjoshuahill

Going to icebox this until tests are added.

@mariantella @avade hey all, what behavior would you have me test? just looking for an example of an plain english assertion, given that the change is only to types and doesn't actually /do/ anything.

Thank you @cwlbraa , this has been now merged.


Expose server publicly?

Is it a way to expose this server to the public? Maybe with something like https://www.npmjs.com/package/no-ip

Hi. That's an issue with NAT and your internet service provider. There are ways of using proxies, e.g. ngrok, but ultimately this issue is not about react-native-node itself.


noreferer/noopener option for site generation

Please Select if your Request is Either something new or an Enhancement

[ ] Enhancement of an existing Feature.
[X] Request of a new feature.

Please select the area your request applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[ ] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[X] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Is your feature request related to a problem? Please describe
Describe the solution you'd like
Add configuration option in dendron.yml for adding noreferer and noopener to <a ...> tags.
https://github.com/11ty/eleventy/issues/563#issuecomment-501178428
Describe alternatives you've considered
https://github.com/JKC-Codes/eleventy-plugin-automatic-noopener
Additional context

Thanks for reporting the issue. Added it to our community roadmap. This will show up as an upcoming CROP


option to save leaflet maps as pdfs?

would be great to be able to save the leaflet maps (once you've done a bunch of manipulating) as pdfs

i'm working on this - have a download button and an example to work off of! but the downloads themselves are running into server fail issues

done for first two tabs, need to add for access index still

done!


Profiling macOS apps

Is it possible to use ETTrace to profile macOS apps instead of iOS/simulator? I tried adding a build target with the macosx SDK and while I could eventually get it to build and link against my application I couldn't get it to connect with the runner.

Hey @hofstee I just merged https://github.com/EmergeTools/ETTrace/pull/82 to build the sdk for macOS as part of our CI, it seems like it succeeded to build at least without any errors. What changes did you have to make for it to be linked with a macOS app, you could open the change as a PR if you want


Resolves #109

Coverage increased (+0.05%) to 91.0% when pulling f8e8c85ba7b095c5941af629e6b93743f1f3efd2 on develop into d251bc179c81fe3212a1f7c8275bce4789174dbc on master.


Aosp parity

Basically make function names copy the AOSP names and have very similar functionality, so it allows drag and drop in.

I thought the title of this was asop party
On Jul 25, 2016 5:57 PM, "Piotr Leja"<EMAIL_ADDRESS>wrote:

Basically make function names copy the AOSP names and have very similar
functionality, so it allows drag and drop in.
You can view, comment on, or merge this pull request online at:
https://github.com/fuzz-productions/RatingBar/pull/6
Commit Summary

allow rating bar to slide even though it is above or below the stars
change function names to more closely follow the AOSP version of
Rating Bar

File Changes

M
example/src/main/java/com/fuzzproductions/ratingbarexample/MainActivity.java
https://github.com/fuzz-productions/RatingBar/pull/6/files#diff-0
(4)
M
library/src/main/java/com/fuzzproductions/ratingbar/RatingBar.java
https://github.com/fuzz-productions/RatingBar/pull/6/files#diff-1
(36)

Patch Links:

https://github.com/fuzz-productions/RatingBar/pull/6.patch
https://github.com/fuzz-productions/RatingBar/pull/6.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fuzz-productions/RatingBar/pull/6, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBQ43zurWIHg78a1dXhQKH-6B8Skr7Qks5qZTEzgaJpZM4JUluz
.

Nope just a parity. Although AOSP Party would be an interesting thing too.


TimestepMode is no longer exported

After switching to bevy_rapier2d I found out I can't import TimestepMode any longer, so I'm unable to change the defaults in the RapierConfiguration resource. Is someone else having this issue or am I looking at the wrong modules while importing this enum?
Maybe having some helper functions like RapierConfiguration::fixed_mode(...) and RapierConfiguration::interpolated_mode(...) could be useful, but just exporting the aforementioned enum should be enough.
Thanks for this huge update!

The TimestepMode enum has been exported again in https://github.com/dimforge/bevy_rapier/pull/153, but it’s not yet released.


THEEDGE-1874 add a struct update before saving as INTERRUPTED

load from database (currently being set to ERROR)
update from Image Builder

Signed-off-by: Jonathan Holloway<EMAIL_ADDRESS>Description
Image.Status is being set to ERROR prematurely on graceful shutdown.
Add a last minute update from DB and then Image Builder before INTERRUPTED
Fixes # (issue) THEEDGE-1874
Type of change
What is it?

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #819 (0f73fd5) into main (c359047) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #819      +/-   ##
==========================================
- Coverage   30.90%   30.89%   -0.01%
==========================================
  Files          44       44
  Lines        4915     4916       +1
==========================================
  Hits         1519     1519
- Misses       3193     3194       +1
  Partials      203      203

Impacted Files
Coverage Δ

pkg/services/images.go
16.14% <0.00%> (-0.03%)
: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 c359047...0f73fd5. Read the comment docs.


It seems to be crashing 'vscode-pdf(v1.2.2)'.

I'll have to double-check that the 'vscode-pdf' extension is something I installed or is included in VS Code by default, but it appears to have been enabled and is conflicting with Live Preview.
Ah, Live Preview works normally when the 'vscode-pdf' extension is disabled.
Testing Environment:

Version: 1.90.1 (user setup)
Node.js: 20.9.0
OS: Windows_NT x64 10.0.19045

Thank you for your support.

I ran VS Code again to attach the error message, but after confirming that no issues occurred, I closed it.


typo

@wraith13 : Thanks for your contribution! The author, @ericlicoding, has been notified to review your proposed change.


fix(client): Change project submission text

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #50049

Change the second paragraph of the two files of the College Algebra with Python course to:
Once you complete the project, submit your project link below.
If you are submitting a Google Colaboratory link, make sure to
turn on link sharing for "anyone with the link."

@gikf That makes sense. Just updated.


Deploy in testing

3 settings are to be added in travis:
DOCKER_PASSWORD: Password to inovia dockerhub account
GOOGLE_CLIENT_ID Givemetime app google id
API_URL URL where to reach the api (without port)

@devitito please next time try not to submit a merge request with 32 commits. It's way longer to review than 4 smaller ones.

I merged the PR. Although @devitito can you advise on this: https://github.com/inovia-team/givemetime/pull/21#discussion_r101003241 ?


thrift090 0.9.0 (fixes formulae)

Fixing patches URLs

Can this error be a problem of my environment
brew install https://raw.githubusercontent.com/rafaelverger/homebrew-versions/master/thrift090.rb --with-java --with-python
######################################################################## 100.0%
==> Downloading https://archive.apache.org/dist/thrift/0.9.0/thrift-0.9.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/thrift090-0.9.0.tar.gz
==> Downloading https://gist.githubusercontent.com/rafaelverger/2602feff4050df0693c5/raw/35344407630182efb679de6c29804f0334c2ad26/patch-tsocket.patch
Already downloaded: /Library/Caches/Homebrew/thrift090--patch-a1dc9e54ffacf04c6ba6d1e37b734684ff09d149a88ca7425a4237267f674829.patch
==> Downloading https://gist.githubusercontent.com/rafaelverger/2602feff4050df0693c5/raw/35344407630182efb679de6c29804f0334c2ad26/patch-cxx11-compat.patch
Already downloaded: /Library/Caches/Homebrew/thrift090--patch-dedc5fbf5fb0e1c8bba20bb4ed1a5d4bc617237c02c47a7d1eb36e8bcb41bb20.patch
==> Downloading https://gist.githubusercontent.com/rafaelverger/2602feff4050df0693c5/raw/35344407630182efb679de6c29804f0334c2ad26/patch-use-boost-cpp-client-server.patch
Already downloaded: /Library/Caches/Homebrew/thrift090--patch-2ea5a69c5358a56ef945d4fb127c11a7797afc751743b20f58dfff0955a68117.patch
==> Downloading https://gist.githubusercontent.com/rafaelverger/2602feff4050df0693c5/raw/35344407630182efb679de6c29804f0334c2ad26/patch-remove-tr1-dependency.patch
Already downloaded: /Library/Caches/Homebrew/thrift090--patch-d03c712b794a7fee0335877204bf5cb8f1c0b345c51443a9ea6e4020870828ca.patch
==> Patching
patching file lib/cpp/src/thrift/transport/TSocket.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 21 with fuzz 1.
patching file compiler/cpp/src/thrifty.yy
patching file compiler/cpp/src/generate/t_rb_generator.cc
Hunk #1 FAILED at 352.
1 out of 1 hunk FAILED -- saving rejects to file compiler/cpp/src/generate/t_rb_generator.cc.rej
patching file lib/cpp/src/thrift/server/TNonblockingServer.cpp
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 478 with fuzz 1.
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i /private/tmp/thrift090--patch20150912-41137-1bheaux/patch-cxx11-compat.patch

No, looks like the bot is having the same problem:
==> Patching
/usr/bin/patch -g 0 -f -p1 -i /private/tmp/thrift090--patch20150911-13589-1e5gaec/patch-tsocket.patch
patching file lib/cpp/src/thrift/transport/TSocket.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 21 with fuzz 1.
/usr/bin/patch -g 0 -f -p1 -i /private/tmp/thrift090--patch20150911-13589-166c2bp/patch-cxx11-compat.patch
patching file compiler/cpp/src/thrifty.yy
patching file compiler/cpp/src/generate/t_rb_generator.cc
Hunk #1 FAILED at 352.
1 out of 1 hunk FAILED -- saving rejects to file compiler/cpp/src/generate/t_rb_generator.cc.rej
patching file lib/cpp/src/thrift/server/TNonblockingServer.cpp
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 478 with fuzz 1.
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i /private/tmp/thrift090--patch20150911-13589-166c2bp/patch-cxx11-compat.patch

@rafaelverger, did this work for you locally?

@dunn @signalpillar it was an error due to missing whitespaces in two patches but I've fixed now..
Oh... I've force changed my previous commit, I'm sorry for this; Can we still work in this PR or should I close this one and open again? The jenkins' job is stuck apparently: http://bot.brew.sh/job/Homebrew Versions Pull Requests/875

The jenkins' job is stuck apparently: http://bot.brew.sh/job/Homebrew Versions Pull Requests/875

It's not. The CI is just a little busy at the moment. The build is being allocated machines as they become available.

Hmmm job finished with a failure in mountain_lion. Apparently a git error, may we retry the job?

Heh. Jenkins is lightly trolling us there. Have re-queued it.

Now it's ok :) @DomT4

@rafaelverger first of all, thank you for fixing this formula.
Have you considered to keep required patches for the thrift as part of this repo not as gist, so you don't have to keep track of them in your account ?

@signalpillar this would be great :) since I've didn't see anyone doing it I thought that wasn't allowed.
how can we do this?

@rafaelverger maybe we can create a folder in this repo like thrift090-patches put patch files there and refer (raw) them in the .rb file. This should work, IMO.

Please don't dump patches in this repo. We keep the tap repos for formulae. The current format is fine. You're welcome to submit them to https://github.com/Homebrew/patches if you really don't want to look after them on your account.

@DomT4 this is a really nice option to have them in patches repo. Thank you!
@rafaelverger What do you think ?

@signalpillar @DomT4 I'm moving the patches to homebrew/patches repo right now :) after this is done I will update this PR :)

Waiting for merge in homebrew/patches https://github.com/Homebrew/patches/pull/1 :)

@DomT4 @signalpillar done :)

Thanks @rafaelverger, lets when when they will be merged

Those errors are about mountain_lion nodes that couldn't be started :S

Anyone able to help with those build errors on mavericks?
==> brew install --only-dependencies --verbose --build-bottle Homebrew/versions/thrift090Build timed out (after 120 minutes). Marking the build as aborted.```

There's a CI backlog we're trying to clear. Just bear with us on this.

@DomT4 looks like u guys solved the backlog, nice!

Can anyone look look this PR? @signalpillar @DomT4

I'll merge it later tonight. Just bear with me till then.

Merged in https://github.com/Homebrew/homebrew-versions/commit/d0db458d70c3af2e60728408c809553146ac8add. Thank you for your contribution to Homebrew @rafaelverger!

@rafaelverger thank you very much!

no problem @signalpillar ... thank you guys too :)


Add autosize argument

Hi, thanks for this great library making Plotly faster to use.
I often use the autosize option of Plotly layouts, especially when working in Jupyter notebooks. I can use it on Express with .update(layout=dict(autosize=False)), however adding it to functions arguments would make it less cumbersome. Would it be reasonable ?

Hmm. I'm concerned about the expanding set of of kwargs in these functions, so I'll say "not for now"... You can likely do this by creating a plotly.py template and setting it as the default template though do you don't have to keep typing the update() call. That can also be made shorter using the new magic-underscores with .update(layout_autosize=False) :)

I understand, I could create a plotly template but I tend to change this setting for each plot. I didn't know about the magic-underscores, thanks!


generate sitemap.xml

Leaving the current sitemap.xml for reference
-https://www.zemax.com/sitemap.xml

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!--  This is the parent sitemap linking to additional sitemaps for products, collections and pages as shown below. The sitemap can not be edited manually, but is kept up to date in real time.  -->
<sitemap>
<loc>https://www.zemax.com/sitemap_products_1.xml?from=6263099130033&to=7252744863921</loc>
</sitemap>
<sitemap>
<loc>https://www.zemax.com/sitemap_pages_1.xml</loc>
</sitemap>
<sitemap>
<loc>https://www.zemax.com/sitemap_collections_1.xml</loc>
</sitemap>
<sitemap>
<loc>https://www.zemax.com/sitemap_blogs_1.xml</loc>
</sitemap>
</sitemapindex>

https://main--zemax--hlxsites.hlx.page/sitemap.xml is generated by default and no changes are to be done for now..Will reopen incase we need to do any customization on request of the customer


Catch exception with docker not running

Resolve Issue #296

LGTM, but maybe remove text about "not found" - just leave as "Docker daemon not running."


Map pans with mousewheel zoom

Describe the bug
The map pans when the mouse wheel is used during the snap-back animation of the view.
To Reproduce
Steps to reproduce the behavior:

Go to https://openlayers.org/en/v6.2.0/examples/drag-rotate-and-zoom.html
Zoom out farther than the resolution constraint allows
Wait a new hundred milliseconds until it snaps back.
Use the mouse wheel during the snap-back animation.
If the mouse was positioned to the left of the map center it jumps to the left, otherwise to the right. The more it was over-zoomed the farther the jump is.

Expected behavior
The map coordinate at the mouse pointer should not change.

I can confirm this. It is the same behavior as with a trackpad. @jahow, since you are most familiar with the view constraint code, could you take a look at this please? Or @MoonE, do you already have an idea how to fix this? A pull request would be welcome.

Ok, I've reproduced this as well. Thanks @MoonE for the report, I'll look into this.


Fix migrations service in playground

Fixes https://github.com/dotnet/aspire/issues/2308
Creating a transaction failed if starting from a blank slate because there isn't a database to create a transaction on. Removing the transaction fixes this problem.
However, it would be ideal to keep the transaction to make this safe to transient errors. To follow best practice, we need to:

Create the database
Start transaction
Apply migratio
Commit transaction.

@AndriySvyryd How do you instruct EF to just create the database? I looked at DbContext.Database.EnsureCreatedAsync, but it also creates tables.
Microsoft Reviewers: Open in CodeFlow

You can call dbContext.GetService<IRelationalDatabaseCreator>().CreateAsync()
If you remove the transaction you'll need to remove the execution strategy as well as retrying in case of a failure will only make it worse. This is tracked in https://github.com/dotnet/efcore/issues/22616

The retry is there to keep retrying until the database server container is running.
I've re-added the transaction. Please take another look.