[ENH] Make the RandomShapeletTransform more flexible

Is your feature request related to a problem? Please describe.
the RandomShapeletTransform in transformations/panel/shapelet_transform is hard coded to use information gain in _find_shapelet_quality. It would be nice to be able to use other quality measures, such as those described in
[1] Jon Hills et al., "Classification of time series by shapelet transformation",  Data Mining and Knowledge Discovery, 28(4), 851--881, 2014.
happy to help and give more info if someone wants to take this on.
Describe the solution you'd like
A way of selecting between alternatives that does not compromise the numba optimisation

@TonyBagnall , can I work on this issue ?

Tony is away currently, I leave this issue for now personally.


Enhancement of JSON module

Add deserializeJson!T(jv)
SumType support in serializeToJson/deserializeFromJson
Tuple support in serializeToJson/deserializeFromJson

Codecov Report
Attention: Patch coverage is 85.91549% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 81.22%. Comparing base (5589c29) to head (4a58f64).

Files
Patch %
Lines

voile/json.d
85.81%
20 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   80.96%   81.22%   +0.25%
==========================================
  Files          17       17
  Lines        5176     5305     +129
==========================================
+ Hits         4191     4309     +118
- Misses        985      996      +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update to use the NWC versioning system.

See https://github.com/nostr-protocol/nips/pull/1531

#203  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jklein24 and the rest of your teammates on  Graphite

Merge activity

Oct 11, 1:53 PM EDT: A user merged this pull request with Graphite.


java.lang.IllegalArgumentException: Key screens.ScreenD:transition was used multiple times

Can't prevent this as I reuse the screen d from a drawer (at least in android) :
FATAL EXCEPTION: main
Process: com.myapplication.myapplication, PID: 20160
java.lang.IllegalArgumentException: Key screens.ScreenD:transition was used multiple times
at androidx.compose.runtime.saveable.SaveableStateHolderImpl$SaveableStateProvider$1$1.invoke(SaveableStateHolder.kt:89)
at androidx.compose.runtime.saveable.SaveableStateHolderImpl$SaveableStateProvider$1$1.invoke(SaveableStateHolder.kt:88)
at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:82)
at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1137)
at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:828)
at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:849)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:625)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:537)
at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:41)

Found a method by adding withing screen:
override val key: ScreenKey
    get() = uniqueScreenKey

That is a horrible way to set the unique key, you need to save the value like this
override val key: ScreenKey = uniqueScreenKey

You are likely causing bugs by using get(), since get does not save the value for later, and so you are generating a new key each time the key is accessed.

@Syer10 thanks for correction!


DO NOT MERGE [RND-643] Investigate Serializable Snapshot Isolation (SSI) in PostgreSQL

Add retry logic to upsert, update and delete.
Update transactions to use SSI.
Add validation to retry, when error code: 40001.
Add the POSTGRES_MAX_NUMBER_OF_RETRIES to env file. Add tests to validate changes.
Remove  FOR SHARE NOWAIT from select

Description

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] I have signed all of the commits on this PR.
[ ] I have agreed to the Ed-Fi Individual Contributors' License
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

With the change some of the tests are generating deadlocks and must be addressed. The results were documented in the main repository


Part or all of the inputs of algorithm are taken from indexed predecessor batch algorithms

As a Pipeline Builder I want to be able to define that the algorithm's inputs (part or all) will be taken from indexed output of predecessor batch algorithms.
User Story implementation details:
E.g for  indexed output of predecessor batch algorithms:
alg C receives the output of batch alg A (A1, A2, A3) and the output of batch alg B(B1, B2, B3) then 3 instances of alg C will be executed with the following input: (A1, B1), (A2,B2), (A3,B3)

TID-360

indexed condition
File: tid_310.js
describe : "pipeline actions"

Test
description

TID-360- indexed condition (git 88)
execute pipeline validate result


Modify V2DataReceiver to allow error returns

On receipt of errors, do not advance the since token. Only added to functions where losing data is bad (events, to-device msgs, etc).
With unit tests, which actually caught some interesting failure modes.

This can happen in a more simple manner, as any retry triggered after processing to-device msgs will be seen again. This is because we don't process everything in one mahoosive transaction, but break it up by response type. For this reason, it might be better to move processing to-device msgs to the last thing in the stack?


AWS EC2 Provisioner does not support temporary credentials with session token.

Many corporate or high security environments vend temporary AWS credentials to access an AWS account. These credentials have three factors: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN. Without all three the authentication will fail.
Currently the AWS EC2 provisioner supports specifying the access key, and secret key, but does not support specifying a session token. As a result inletsctl will attempt to make AWS API calls with only the first two factors, and auth will be rejected.
Expected Behaviour
I should be able to optionally specify a session token when calling inletsctl create, or inletctl should make use of the environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN as this is the recommended way to set temporary credentials to a specific shell session.
Current Behaviour
inletsctl does not support session tokens.
Context
By default AWS credentials last forever, until revoked. Many orgs instead use temporary AWS credentials which have a session token and expire. Without support for this form of auth it is hard to use inletsctl in orgs that require the use of temporary credentials.
More docs on temporary AWS credentials here: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html
Your Environment
Version: 0.8.6
Git Commit: f0b3d64de575204b425bad99bd9b8a5d891cbb68

Thanks for raising this. You could also set up your VM as required and download the inlets server manually, or using CloudFormation/TF/Pullumi.
Inletsctl uses cloud init, so a similar approach is what I'd expect to work with other tooling.
I would be interested in any possible solution that you may see? That was part of the original template. How does the AWS SDK enable the third leg of authentication?
@Waterdrips may also have ideas or @rgee0

This should be relatively straightforward to implement. It’s a case of capturing a new flag value and passing it through to the provisioner, which currently passes “” in the token field.
You’d probably want to split the two suggested approaches. Offer through a flag initially and then consider environment variables later.

https://github.com/inlets/cloud-provision/pull/8 is the first part

https://github.com/inlets/inletsctl/pull/104 is a drafted part 2 once part 1 is available

#105 provides for the use of temporary credentials.
@nathanpeck if you're interested I'd appreciate an extra set of eyes on the testing.

Doco here:https://github.com/inlets/docs/pull/18

Thanks @rgee0 that was excellent timing 👍
Nathan, you can still set up your tunnel servers however you like, but inletsctl 0.8.8 now supports the request above:
https://github.com/inlets/inletsctl/releases/tag/0.8.8


Add xtask --print-timestamp option for debug::println() in applets

Currently only debug printing has timestamps (i.e. log, warn, etc).

I doesn't seem possible right now, see https://github.com/knurling-rs/defmt/pull/765#issuecomment-1689566461.

This doesn't seem to be an issue since we migrated to probe-rs in #246.


Enable Diskless ETL

Currently the ETL runs assuming that all the output data will be dumped to local disk. This is not very suitable for cloud execution in a container (we need to export the data to storage bucket) and also prevents distributed execution because some codepaths will read files from disk (this is not possible if you run the write and read tasks on different machines).
This bug is to track the effort to refactor our use of local disk and replace it with something more generic like fsspec.
Below is list of things that will likely cause problem and will need fixing:

pathlib.Path does not seem to support non-local files and it breaks them (e.g. gs://somepath is turned into gs:/path when fed through Path)
creating directories may not be necessary when we use non-local filesystem. fsspec should be able to do that at file open thus simplifying the code
review cases where we need to write and re-read files from disk. This may have been an "easy hack" but perhaps it is not necessary to do that.

We ended up migrating to dagster. See #1487 for the reasoning.


Create Domain button hidden by Nav Bar

Only happening for my in the "Wizard" steps

Also on intent and entity part of wizard

Got it. It's already fixed. I will push the changes soon.

Fixed by https://github.com/samtecspg/articulate/commit/6ec327120ff750019675db2287d5fcb4889acafc


az cli webapp list not returning the netFrameworkVersion

Describe the bug
I'm unable to have an overview of the current framework version for all the webapps in a given subscription. The script below always return null for such property. It works correctly when I use az webapp show -n {name} -g {rg} --query "[name, siteConfig.netFrameworkVersion]"
Related command
az webapp list --query "[].{name:name, version:siteConfig.netFrameworkVersion}"
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
Return name and dotnet version of the website
Environment Summary
azure-cli                         2.57.0

core                              2.57.0
telemetry                          1.1.0

Extensions:
application-insights              0.1.19
automation                         0.2.1
azure-devops                      0.26.0
datafactory                        0.7.0
ssh                                2.0.2

Dependencies:
msal                              1.26.0
azure-mgmt-resource             23.1.0b2

Additional context
No response

Thank you for opening this issue, we will look into it.

@yonzhan hello there, any news here? We're approaching the 6 months mark and this is still broken

any update on this. having same issue.


load wave speed too slow

hello,
i load audio mp3/wav about 90M, it really need a lot of time to show the wave。but when i use  tag，the speed is fast。perhaps the reason is wavesurfer download the audio?
do you have any good idea to resolve it?
If there is a mistake, please forgive

You need to pre-generate the waves.

i saw some other issues, they suggest pcm , wavesurfer-peakbuilder
but our project the audio is stored on another server......perhaps i have to download the audio first , then generate ....

i believe you need to generate peaks and store in database for each audio file. and on load you need to load peaks from servers

Is there a tutorial or walkthrough of utilizing a package (could be software, could be node utility) to generate this waveform data?

you can use audiowaveform (https://github.com/bbc/audiowaveform) to generate peak data, for example like this:
audiowaveform -i some-file.mp3 --pixels-per-second 10 -b 8 -o some-file.json

@xiaoxiaodexueyin I'm working on a api service that will allow you to pull pregenerated waveforms, you can follow it here #1183
for now you'll have to do it on your own server.

once you have the peaks data you may load it like this
https://github.com/katspaugh/wavesurfer.js/issues/2058#issuecomment-761284236

once you have the peaks data you may load it like this
https://github.com/katspaugh/wavesurfer.js/issues/2058#issuecomment-761284236


Update container-storage-interface-disks.md

fix the content issue on page of custom storage class.

@sethmanheim
Because these changes involved tabbed content, the commits should be pulled into the private repo for automated checks and staging. Let us know if you'd like help pulling those commits into the private repo.
#label:"aq-pr-triaged"

Moved to private repo and merged. #please-close


Improvement proposal

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

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

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
NowExampleC9BootstrapInstanceLambdaFunctionneeds to be improved in error handling. For instance, when error happens in the part of try, cfnresponse.senddoesn't throw Failure message to Cloudformation so Cloudformation ends up hang status.
So I would recommend improvement like this.
status = cfnresponse.SUCCESS
if event['RequestType'] == 'Create':
try:
...
cfnresponse.send(event, context, status, responseData, 'CustomResourcePhysicalID')

except Exception as e:
  status = cfnresponse.FAILED
  responseData['Error'] = str(e)
finally:
  cfnresponse.send(event, context, status, responseData, 'CustomResourcePhysicalID')

hey @jinseo-jang
sounds pretty helpful.
i will implement as soon as i find some time to do so :)

it's now build-in


How to forward last received message to another chat?

I am trying to build a bot that can forward the last received message to another chat.
Example:;
Me>bot: Hey
bot>2ndchat:Hey
newPerson>bot: what are you?
bot>2ndchat: what are you?
This is what ive got so far but it doesnt work, even if i put a value after message_id: is says it was expecting "="
  bot.api.forward_message(to_chat_id: 2*******1, from_chat_id: message.chat.id, message_id: ?)

am i in the right direction or completely off? thanks in advance!

Did you try to provide a message_id?
 bot.api.forward_message(to_chat_id: 2*******1, from_chat_id: message.chat.id, message_id: message.id)


[BUG] Can't edit values of inspectors in ShadowControl mode

You can edit required values, however, the highlighted area is not editable.

[ ] In shadow-control the Result should be removed
[ ] In shadow-control the TimeStamp should be removed
[ ] In shadow-control the Attempts should be removed

This seems to be the case in all inspectors.

/cib

Branch 167-_BUG_Can_t_edit_values_of_inspectors_in_ShadowControl_mode created!

@PTKu is it okay now?

Re-tries, Timestamp and Result are removed in ShadowControl, in other presentation types are in Display presentation.


Fix for issue134

Fix for #134. Also adds check to see if arguments are directories when performing a diff.

It happens to me that the diff output is incorrect.
The diff output shows that:

delete the whole old file
add one line, which is the path of the new file.

That is, it's comparing the old file with "a file containing the path of new file", instead of the content of the new file.
After tracing code, it seems that the source variable should be the content of the new file, but currently it's the path of the new file(and type of source is #Pathname).
Could you fix this? Thank you.


Enable active scan and receive type 4 scan response packets

Hello,
It appears that you have the ability to enable active scanning in HCI_Cmd_LE_Set_Scan_Params .
Have you tried this with your code and decoded these scan response packets?
Thanks in advance,
Dave
REF:
Scan Response
In addition to the 31 bytes of advertising data, the device doing the scanning can request the scan response data. This does not require authentication, and does not require making a connection. The scan response data is an additional 31 bytes of data the peripheral can return to the scanning device, though it takes an extra set of packets to and from the peripheral to request and receive it.

Hi,
No I have not tried that. That bit of code (HCI_Cmd_LE_Set_Scan_Params) was lifted from scapy.
Not sure I have a device that would reply to that type of request.... Also not sure if the extra packet has to be actively sent to the peripheral or if the lower level would take care of that...
Cheers,
François

Hi,
I've already added the Blue Maestro device format to this library which also has extra information in the scan response so I would be interested in this also.
I've done a HCI trace using the btmon tool. I started the scan with bluetoothctl.
This report shows that the event types are ADV_IND (0x00) and SCAN_RSP (0x04)
> HCI Event: LE Meta Event (0x3e) plen 43                  #63 [hci0] 35.867823
      LE Advertising Report (0x02)
        Num reports: 1
        Event type: Connectable undirected - ADV_IND (0x00)
        Address type: Random (0x01)
        Address: DC:76:F7:E1:62:E0 (Static)
        Data length: 31
        Flags: 0x06
          LE General Discoverable Mode
          BR/EDR Not Supported
        Company: Blue Maestro Limited (307)
          Data: 1b640e100006011601be27ba0100
        Name (complete): DC76F7E1
        RSSI: -69 dBm (0xbb)

> HCI Event: LE Meta Event (0x3e) plen 41                  #64 [hci0] 35.870235
      LE Advertising Report (0x02)
        Num reports: 1
        Event type: Scan response - SCAN_RSP (0x04)
        Address type: Random (0x01)
        Address: DC:76:F7:E1:62:E0 (Static)
        Data length: 29
        Company: Blue Maestro Limited (307)
          Data: 27ca27c227b900000124020d010401be011001e70000000000
        RSSI: -70 dBm (0xba)

@deepcoder have you confirmed if both of these reports appear in the HCI trace when the scan is launched with aioblescan?
I am trying to workout if aioblescan filters them out somewhere along the way...

I have done a little bit more research on this. Running a btmon HCI trace I have confirmed that aioblescan does not cause the SCAN_RSP (0x04) event types to happen by default
Changing the scan_type default from 0x0 to 0x1 in the below line does cause the SCAN_RSP to be included in the HCI trace:
https://github.com/frawau/aioblescan/blob/ac3fbcb414573a47786903f9e17b169107c003c0/aioblescan/aioblescan.py#L799-L828
The only place this gets called from is here where there is no option to change the parameters:
https://github.com/frawau/aioblescan/blob/ac3fbcb414573a47786903f9e17b169107c003c0/aioblescan/aioblescan.py#L1321-L1324
In hindsight, that looks like it was @deepcoder initial point, just took me a while to get up to speed.
I think it would be useful to have this as a choice in the library. Not sure the best way of doing that so asking the question here.
@frawau: If you are interested, I could look at getting a Blue Maestro Pebble shipped to you


How are you going about cleaning?

How are you going about cleaning this?
Manually or with GPT-4.

I use a regex to search for a specific subset of instructions/inputs/outputs that are highly likely to be wrong. After that, I manually go and verify that something is indeed incorrect and query gpt-3.5-turbo or fix them by hand.

How are you going about cleaning this?
Manually or with GPT-4.

Much of the work has progressed manually with the help of various tools (see tools directory).  There exists a tool that can use GPT3.5/4 to double-check the answers.

i bet one could convince the gpt-3.5 api to take in a line, and decide whether it's acceptable or needs fixed, and if it needs fixed to suggest a fix, which could then be quick-reviewed (accept or reject) by a human

i bet one could convince the gpt-3.5 api to take in a line, and decide whether it's acceptable or needs fixed, and if it needs fixed to suggest a fix, which could then be quick-reviewed (accept or reject) by a human

We have this capability already built out in one of the tools. I think the first 1000 entries have been checked in this manner.


improving docs

See a live version here: http://predictablynoisy.com/repo2docker/
This fleshes out and clarifies many of the instructions. I also added some API docs etc. LMK!

pinging @willingc :)

I'm going to close this since I've essentially rewritten the project again, making all of this obselete! Sorry!


Add threading to the client

Threading for the Python client.
What needs to happen is:

Add tests
Add batching for manual batching (i.e., behavior when client.batch.configure() is not set or when client.batch.configure(batch_size=None)
Validate if documentation is correct

The documentation on the website (weaviate.io) doesn't have to change because it does not impact the user.

Hi @bobvanluijt, I am not sure this will work as intended.

Here we set threads but you create coroutines.
The requests library is not async compatible, so all the parallelism we want will actually result in a sequential execution.

We can introduce this functionality by using either threads or processes.

It uses this approach: https://stackoverflow.com/a/22414756/1501285

An array of batches is created.
A single batch is fired and awaited.

On the same setup as Weaviate’s ANN benchmarks this results in ≈ 2x improvement.
Probably more can be done but it's a start.
PS:
Most importantly, it doesn't break the UX of current implementations.

I have created something similar that does not have any breaking changes in the client, please see: https://github.com/semi-technologies/weaviate-python-client/pull/138
Lets keep this PR open until we decide which one is going to be merged.

I'm agnostic on the how as long as it has a great UX 👍

This is fixed in another PR https://github.com/semi-technologies/weaviate-python-client/pull/138, closing


JSON error

I get the following TypeError: the JSON object must be str, not 'bytes'
This is happening in the parse_signed_request() method, which is called when I do this:
user = facebook.get_user_from_cookie(cookies, APP_ID, APP_SECRET)
I am able to fix this by making the following change:
data = json.loads(data)
to
data = json.loads(data.decode('utf-8'))
Do you know why I might be having this problem and have to do the decode?
Thanks.

This looks like a duplicate of #209.


WIP Quickstart

fix #360 new page - Get Started With Mergin Maps (draft)

relevant content added to one page as a quick start for new users
right now quite long, we should consider using gifs or a video to avoid screenshots

Let's close this for now and reopen when we get to it :)


added json summary report support

Pull Request Test Coverage Report for Build 943338342

45 of 47 (95.74%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 92.455%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/cli/main_runner.go
5
7
71.43%

Totals

Change from base Build 942257819:
0.06%

Covered Lines:
1740

Relevant Lines:
1882

💛  - Coveralls


Remove x86 dependency

This is required for https://github.com/hermitcore/uhyve/issues/247.
The x86 crate does not provide a configuration which can be compiled on the stable toolchain channel. The rest of uhyve has already been migrated to x86_64. The constants imported from x86 have been inserted manually.

bors r+


select(...).transition is not a function

See .mov attached:
https://github.com/d3/d3-zoom/assets/3750712/3fb69250-319b-401b-8b78-c59ec17a6650
It seems like the return value of select from d3-selection does not always allow the .transition function to be called safely.

This usually occurs because you have multiple copies of d3-selection (and perhaps d3-transition) installed with different versions, resulting in d3-transition mutating the wrong copy of d3-selection. You should fix this by running npm update or equivalent to get consistent installed versions.


fix: rename billing features to billing products

https://github.com/raystack/proton/pull/331

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 41.66%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
5899

Relevant Lines:
14160

💛  - Coveralls


Refactor ColouredFormatter to separate concerns

logger.py defines a class called ColoredFormatter.
The name of the class is simple, but the actual class is given several responsibilities:

As the name suggests, (optionally) add color codes into a logRecord.
Split messages at colons, which mimics the functionality of the standard log hierarchy.
Translate level 9 log records into Trace log records.

Meanwhile, much of the work related to color codes has leaked outside of the class; it isn't self-contained.
Finally, in order to achieve the first two items, it performs a deepcopy on the parameters, which causes #7585 and #7528.
Describe the solution you'd like

The code in #7957 takes care of the 3rd point, by assigning the responsibility to the logging class.
Define a ColoredLogRecord class that encapsulates a LogRecord, and provides a shim for all the methods and attributes, except the levelname property, for which it adds color code sequences.
Move formatter_message, COLORS and the individual colors and the ANSI (?) color sequences into the class as 'private' attributes.
Replace the color range with a more modern enumerated type.
Define a ColonSeparatedLogRecord class that similarly encapsulates and shims a LogRecord, except the msg property is split by colons.
Replace ColoredFormatter with KivyFormatter (still looking for a better name - something that acknowledges it is more than just color). It takes the log record that needs to be emitted, optionally wraps it in a ColonSeparatedLogRecord, wraps the result in a ColonSeparatedLogRecord, and passes that to the standard formatter.
Note: There is no longer a need to do a deepcopy, which should fix the bugs listed above.
For some reason, the COLORS table is being exported by the __all__ declaration. Make an alias at the top level of the file to support that.

Describe alternatives you've considered

I can't imagine why anyone would import the COLORS table. If we were confident it wasn't being used, we could stop declaring it at the top level of the file and exporting it. The only reason I would add the alias is just in case someone is using it in a way I can't predict.
The standard way of giving context to a log message would be with a sublogger: logging.getLogger("kivy.GL").info("Texture max units: %d", x) The Kivy logger eschews this, sticking with the root logger and using colon separators: Logger.info("GL:Texture max units <%d>", x). This is less powerful (e.g. I can't turn suppress the GL logging which keeping other logging). It also breaks log messages from third-party libraries that use colons in their messages. I have some half-baked ideas for a logHandler that automatically mangles colon-separated LogRecords from the Kivy logger into standard subloggers, and then formatting them back to look identical to the current system for those who don't override the defaults. If such a system was implemented, then ColonSeparatedLogRecord would be obsolete.

I have some cleaned up code ready for this. Just waiting to see how my first PR is received before submitting.

Fixed via https://github.com/kivy/kivy/pull/7962


[GHSA-pw8r-x2qm-3h5m] Arbitrary code execution in Apache Struts 2

Updates

Affected products
References

Comments
Add some patch links related to CVE-2013-2135 which fixed in multi-branch.

Hi @sunSUNQ, CVE-2013-2135 appears to have the same references as CVE-2013-2134, so I made sure they have the same commit references and Jira ticket references. I also replaced the dead securityfocus.com reference with an archived copy.


Make attachments for job requests optional

For backwards compatibility some internal clients were sending requests to the multipart endpoint but not sending an attachment field. This worked on the 2.3.x line but on 2.5.x it is enforced more strictly and is throwing 400. The proper thing to do would be to make the clients do the right thing but it would be such a long tail that releasing this fix is more effective short term while that logic is slowly phased out.

Coverage remained the same at 93.781% when pulling c6ffbc6e68280f4f5ba0270c4f9a1ecbaccfeac3 on tgianos:optionalAttachmentsDev into 6d176f18c5f58b8da9e8742985173437ae69e004 on Netflix:master.


HMAC Push notification updates

Adding the new HMAC code to the example and push classes to help make this easier.
See typescript docs here: https://github.com/xmtp/example-notification-server-go/blob/main/docs/notifications-client-guide.md

I was hoping to have more time to validate this this week but going to merge in favor unblocking integrators and will follow up with any tweaks once I've fully validated on Android.


Runtimes, memory given sample size, # variants

I am trying to apply the iSAFE method; however, I find it eats up a lot of memory and runs slowly. Do you any comments with regards to # of samples and variants. For example, 10,000 phased diploids and 7k variants? I couldn't find any computational performance measurements in your paper. Thanks!

For reference, when I downsample to 100 with 1.6k variants, it runs immediately and completes in seconds.

The iSAFE software loads the entire genotype data for the specific region of interest. As a result, the memory consumption is  O(NM), where N is the the number of individuals and M is the the number of variants. The running time is O(NM^2). For more detail please check the following plots:

The iSAFE software loads the entire genotype data for the specific region of interest. As a result, the memory consumption is O(NM), where N is the the number of individuals and M is the the number of variants. The running time is O(NM^2). For N=10,000 and M=7000, you will need ~6GB of RAM and ~17 minutes of a single core of a 2.60GHz CPU.
For more detail please check the following plots:

Thank you for such a thorough response! Your ballpark estimates check out with what I observe. I found analysis with the whole dataset to be much more tractable once I left my local setup and access cluster resources.


Errors are usually caused by RuboCop bugs.

0.90.0 (using Parser <IP_ADDRESS>, rubocop-ast 0.8.0, running on ruby 3.2.0 x86_64-darwin22)

The latest RuboCop version is 1.45.1 with many bug fixes. Please upgrade to the latest RuboCop. Thank you.

1.45.1

Thank you a lot. 🙏


Files cannot be retrieved programmatically

When curl or get are used to get latest linux-editor-mono or linux-template-minimal, instead of downloading the zipfiles, HTML pages are written. See https://github.com/umarcor/godot-commit-artifacts/commit/577ee335e2f8058051d51dbb2996f86b25c948bc and https://github.com/umarcor/godot-commit-artifacts/actions/runs/4548687288/jobs/8019967935:
<!DOCTYPE html>

  <meta charset="utf-8">
  <title>Redirecting…</title>
  <link rel="canonical" href="https://github.com/godotengine/godot/suites/11869467969/artifacts/620727309">

  <meta http-equiv="refresh" content="0; url=https://github.com/godotengine/godot/suites/11869467969/artifacts/620727309">
  <meta name="robots" content="noindex">

Redirecting…

  Click here if you are not redirected.

--2023-03-28 23:45:11--  https://godotengine.github.io/godot-commit-artifacts/download/godotengine/godot/master/linux-editor-mono
Resolving godotengine.github.io (godotengine.github.io)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to godotengine.github.io (godotengine.github.io)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://godotengine.github.io/godot-commit-artifacts/download/godotengine/godot/master/linux-editor-mono/ [following]
--2023-03-28 23:45:11--  https://godotengine.github.io/godot-commit-artifacts/download/godotengine/godot/master/linux-editor-mono/
Reusing existing connection to godotengine.github.io:443.
HTTP request sent, awaiting response... 200 OK
Length: 645 [text/html]
Saving to: ‘linux-editor-mono’

     0K                                                       100% 1.95M=0s

2023-03-28 23:45:11 (1.95 MB/s) - ‘linux-editor-mono’ saved [645/645]

<!DOCTYPE html>

  <meta charset="utf-8">
  <title>Redirecting…</title>
  <link rel="canonical" href="https://github.com/godotengine/godot/suites/11869467969/artifacts/620727309">

  <meta http-equiv="refresh" content="0; url=https://github.com/godotengine/godot/suites/11869467969/artifacts/620727309">
  <meta name="robots" content="noindex">

Redirecting…

  Click here if you are not redirected.

I though I might download the JSON files (https://github.com/godotengine/godot-commit-artifacts/tree/gh-pages/data), for instance https://godotengine.github.io/godot-commit-artifacts/data/godotengine.godot.master.json, but I can't see how to get the URL from there without reimplementing the logic.

I don't think it's possible to implement a redirect in any other way due to the "serverless" aspect of GH Pages, but I can output a JSON with target links, if it helps.

That would certainly help!


Module 'tensorflow' has no attribute 'constant' after local pip installation

Please go to Stack Overflow for help and support: http://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Ubuntu 16 with Cuda 8 and Nvidia GEForce 780i, g++ 5.4.0, cudnn 6

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):

no. simply following https://www.tensorflow.org/install/install_sources

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 16 (xenial)

TensorFlow installed from (source or binary):

masterbranch

TensorFlow version (use command below):

1.1.0rc0

Bazel version (if compiling from source):

Build label: 0.4.5
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Mar 16 12:19:38 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

CUDA/cuDNN version:

6

GPU model and memory:

Nvidia GEForce 780i, 2G

Exact command to reproduce:
karun@karunlindev3:~/shadow/cuda-workspace$ python
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'tensorflow' has no attribute 'constant'

I tried to get tf version
karun@karunlindev3:~/shadow/cuda-workspace$ python
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
print(tf.GIT_VERSION, tf.VERSION)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'tensorflow' has no attribute 'GIT_VERSION'

You can collect some of this information using our environment capture script: https://github.com/tensorflow/tensorflow/tree/master/tools
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
when i install tensor flow with gpu support from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp34-cp34m-linux_x86_64.whl
it works with some warnings that certain libraries could be faster.
when i install local pip pacakge following https://www.tensorflow.org/install/install_sources
i get this
karun@karunlindev3:~/shadow/cuda-workspace$ python
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'tensorflow' has no attribute 'constant'

I have looked on stackoverflow, tensorflow github and i have made sure my situation is different. i am not using tensorflow as a filename, nor I am in the source directory where config is launched.
i have checked directory permissions on site-packages and it looks good.
i uninstalled the gpu package 1.0.1-cp34 before i installed local pip.

What am I missing?
Source code / logs
local source
karun@karunlindev3:~/shadow/tensorflow$ ls
ACKNOWLEDGMENTS  AUTHORS    bazel-genfiles  bazel-tensorflow  bower.BUILD  configure        ISSUE_TEMPLATE.md  models.BUILD  RELEASE.md  third_party  util
ADOPTERS.md      bazel-bin  bazel-out       bazel-testlogs    BUILD        CONTRIBUTING.md  LICENSE            README.md     tensorflow  tools        WORKSPACE
Here is the output for installation of loca pip. I noticed that there are a LOT more files from the gpu package on googlapis than local pip
Successfully uninstalled tensorflow-gpu-1.0.1
karun@karunlindev3:~/shadow/cuda-workspace$ pip install --upgrade /tmp/tensorflow_pkg/tensorflow-1.1.0rc0-cp36-cp36m-linux_x86_64.whl
Processing /tmp/tensorflow_pkg/tensorflow-1.1.0rc0-cp36-cp36m-linux_x86_64.whl
Requirement already up-to-date: bleach==1.5.0 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: protobuf>=3.2.0 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: wheel>=0.26 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: numpy>=1.11.0 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: werkzeug>=0.11.10 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: six>=1.10.0 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: html5lib==1.0b8 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: markdown==2.2.0 in /home/karun/anaconda3/lib/python3.6/site-packages (from tensorflow==1.1.0rc0)
Requirement already up-to-date: setuptools in /home/karun/anaconda3/lib/python3.6/site-packages (from protobuf>=3.2.0->tensorflow==1.1.0rc0)
Requirement already up-to-date: appdirs>=1.4.0 in /home/karun/anaconda3/lib/python3.6/site-packages (from setuptools->protobuf>=3.2.0->tensorflow==1.1.0rc0)
Requirement already up-to-date: packaging>=16.8 in /home/karun/anaconda3/lib/python3.6/site-packages (from setuptools->protobuf>=3.2.0->tensorflow==1.1.0rc0)
Requirement already up-to-date: pyparsing in /home/karun/anaconda3/lib/python3.6/site-packages (from packaging>=16.8->setuptools->protobuf>=3.2.0->tensorflow==1.1.0rc0)
Installing collected packages: tensorflow
Found existing installation: tensorflow 1.1.0rc0
Uninstalling tensorflow-1.1.0rc0:
Successfully uninstalled tensorflow-1.1.0rc0
Successfully installed tensorflow-1.1.0rc0

You said you're using Ubuntu 16 but the logs say Red Hat 4.4? This might be a better question for StackOverflow. Please see our issue tracker policy.

No red hat. That's what anaconda writes on a python prompt. I am following all directions and building without issues. Please don't close this issue.

Is this possibly related to https://github.com/tensorflow/tensorflow/issues/7285?

Thanks. I looked at that thread. The problem there was the name of script matched package name i.e. tensorflow. I am simply using a shell from anaconda python 3.6. The shell, as you can see is launched from a directory different than tensorflow source tree.
Think there might be in issue with pip_package.

so i pulled latest and built again using --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" and now I cannot even import tensorflow. It fails with this error
ImportError: /home/karun/anaconda3/bin/../lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/karun/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
is gcc 5 compatible?

AttributeError: module 'tensorflow' has no attribute 'constant'
how to solve this


hotfix - filter out favicon requests and check for valid fund short code

Hotfix
Change description
We are seeing errors in Sentry (eg. https://funding-service-design-team-dl.sentry.io/issues/4061658169/) following release of the new routes in frontend to support eg. frontend.dev.gids.dev/cof redirecting to /cof/r2w3. The requests for /favicon.ico are generating lots of noise in the logs as we don't have a fund called 'favicon.ico'.
This change tackles this in the following ways:

Adds a before_request filter to return a simple 404 when someone asks for /favicon.ico (not the full 404 page as that also tries to retrieve fund details)

Checks for all requests to /something_else whether something_else is a valid fund short code.

[x] Unit tests and other appropriate tests added or updated

[x] README and other documentation has been updated / added (if needed)

[x] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
Navigate to the following URLs when running the docker-runner locally:

http://localhost:3008/cof/r2w3 - should return 200
http://localhost:3008/cof/ - should redirect to http://localhost:3008/cof/r2w3
http://localhost:3008/rubbish - should return a full 404 page
http://localhost:3008/ - should redirect to http://localhost:3008/cof/r2w3
http://localhost:3008/favicon.ico - should return a simple 404 status code

Screenshots of UI changes (if applicable)
n/a

Ah well, I was a little late to that, sorry 😜


Export endpoint followup

I have done some changes for the purpose of testing the metadata field. We do not use the metadata in the handler yet, because it is IMO not needed.

It conflicts - prolly with my PR, sorry! :disappointed:

Rebased :heavy_check_mark:

LGTM please rebase red CI.

/retest

Let’s see now.


display the raw scale for transformed data

As we've seen during the meeting, to display the transformed data in raw scale, we currently do this by customizing the breaks and labels through scale_x_continous.
Meanwhile we set limits to filter out boundary event.
But limits within scale_x_continous will affect the geom_gate layer as well. So we thought about using coord_trans instead. e.g.
p + coord_trans(xtrans = "inverse_biexp", limx = c(0, 4096))

Even though, limits in coord_trans won't affect the data (including geom_gate), it does transform the data in the end. (I've confirmed it by reading ggplot docs and source code).

The difference between transforming the scales and transforming the coordinate system is that scale transformation occurs BEFORE statistics, coordinate trans AFTER.

So both do the transformation to data before the plot is rendered, which is not what we want since data is already transformed.
Besides, we do want to remove these outlier events before the statistics calculation (since they mess up the color fill_gradient of hexbin). So coord_trans or coord_cartesian won't be the good choice here.
The solution would be:

still uses scale_x_continous to set breaks and labels for raw scales, but without limits settings
do the boundary event filtering somewhere else (e.g. within fortify method) and have the option to switch it on/off

@raphg @gfinak ?

addressed by f70ab78a15c643be139dbe14b35139d421a1bc81


Build fails with latest llvm

ok, not really a bug, as it should work with llvm 8 only ...
LLVM_DIR_CPPNAMELINT_PATH  : xxx/llvm-project/build/release/lib
is wrong for me, I have xxx/llvm-project/build/lib only; fixed it with a link
then I get:
/usr/bin/ld: cannot find -lclangToolingRefactor (which is now called libclangToolingRefactoring)
/usr/bin/ld: cannot find -lLLVMX86AsmPrinter (not available in my build)
Just removing these libs from CMakeLists.txt was not successfull (no surprise).
I did some more tests to get that fixed.
By adding all llvm-13 libs to the CMakeLists.txt I was finally able to build cppnamelint, but then I get a runtime error:
: CommandLine Error: Option 'opt-bisect-limit' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
which indicates a library load issue which I could not solve in a reasonable time.
But at least it looks as if an update to latest llvm is possible.

Hi @ruedbi
Happy to know someone is interested in this project too. This project is based on LLVM v8.0, LLVM is growing faster, in the middle while, libraries or interfaces are possibly changed. So build this project with LLVM v8.0.
Have fun.

Hi @ruedbi , I integrated this project with Azure CI/CD, the pre-built library is 8.0.0. I am trying use library from vcpkg. So I can't update current buildable CMakeLists.txt directly.

Hi @ruedbi , it supports to build with newer llvm version. Thank you for your report.


py3 compat

We should do the legwork here first.

dnspython (https://pypi.python.org/pypi/dnspython) is not py3 compatible, which is a requirement in flask-consulate. This should be a push towards solving adsabs/flask-consulate#4 with an alternate implementation


[Bug Report] The files shown in setup are not there in the .zip

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Run with '...'
Do a command '....'
Some other step '....'

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Debug Info
Please run the debug command and paste it here or upload it as an attachment. If you cannot run the command, please provide information about your system such as operating system version, JMusicBot version, etc.
Additional context
Add any other context about the problem here.

As the releases page says, don't download the zip file, you need to download the prebuilt jar.


Begin merging in datamap UI

Closes https://github.com/ethyca/fides/issues/2975
Closes https://github.com/ethyca/fides/issues/2978
Code Changes

[x] Copies the bulk of the datamap UI files from fidesplus to this repo
[x] Dependency management (aka merging package.json's until the app would build)
[x] Fixing up various imports
[x] New page datamap which can be accessed by going directly to localhost:3000/datamap
[x] Bring in datamap ui cypress tests
[x] Redux merging

Steps to Confirm

[ ] npm i to install all the new dependencies
[ ] npm run dev to start the admin-ui
[ ] Right now I purposefully didn't add a way to get to localhost:3000/datamap yet, but you should be able to navigate directly there. Hopefully all the functionality of the datamap-ui is still there!

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[x] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Description Of Changes
Known issues which will be addressed in https://github.com/ethyca/fides/issues/2976 and https://github.com/ethyca/fides/issues/2977

[ ] localhost:3000/datamap doesn't render the side nav or nav bar as having active links. This should be fixed by fixing up our nav config
[ ] Layout of the map and the table no longer scroll their innards since they are now using the Layout component of admin-ui. The padding also seems a little off. We need to merge these properly
[ ] Privacy declarations are using very duplicate components

nice, thanks for the screenshots and details, those will be very helpful!!


SendStream doesn't complete if canceled when it has inflight frames or queued retransmissions

cancelWriteImpl does not call onStreamCompleted if there is inflight frames for the stream. If any of those inflight frames is lost then queueRetransmission is called. It does not check for completion but queues the frame for retransmission. That retransmission never happens because popStreamFrame checks if cancelWrite flag has been set and returns early. onStreamCompleted is never called.
I think queueRetransmission should check cancelWrite flag and not add the frame to retransmission queue if set. Then it would check for completion. cancelWriteImpl should also clear the retransmission queue before checking for completion.

Wow, good catch! Once again!

Wow, good catch! Once again!

I think queueRetransmission should check cancelWrite flag and not add the frame to retransmission queue if set.

Agreed.

Then it would check for completion.

The stream should complete as soon as CancelWrite is called (or it is triggered by receiving a STOP_SENDING frame).

I think queueRetransmission should check cancelWrite flag and not add the frame to retransmission queue if set.

Agreed.

Then it would check for completion.

The stream should complete as soon as CancelWrite is called (or it is triggered by receiving a STOP_SENDING frame).


Kaggle Notebook fails to train Llama3 on T4 GPU

I used the kaggle guide book in the readme, and executed it step by step on T4x2 GPU accelerator on Kaggle. But turns out my SFT Trainer detects two GPUs while training, but the tensors should be on the same device. Hence I factory reset the system and then force to use only one t4 GPU instead

In the screenshot you can see now the session has only single GPU, so I thought we were good to go. But guess what, then I ran into this issue

I have exhausted my free resources on colab so I came on kaggle, but looks like i am having a really hard time just to fine tune a LLM which was supposed to be the easy part using unsloth. I kindly request assistance i setting up Kaggle notebook which runs end to end smoothly.

I then updated my torch to 2.3.0 but then it ran into conflicts with other dependencies.

Currently we do not support multi GPU - use our Kaggle Llama-3 notebook: https://www.kaggle.com/code/danielhanchen/kaggle-llama-3-8b-unsloth-notebook

I know you don't support gpu t4 2x, there is no option for t4 1x, it fails on p100. don't know what next to do, please assist. @danielhanchen

Oh 2x Tesla T4 is the option!

Just select it

Its not working on 2x Tesla T4 that's why I created this issue

@raj-chinagundi hopefully it works now and it's solved?


Layout problem in german subscribe

I commited the german translation for #2405, subscription window, yesterday.
Unfortunately, after it was merged, I noticed that the text is too long and breaks the layout.
Since I am new to the project, I am not sure if I should shorten the text,
or if I can simply change the window properties. I started installing the whole project locally to
check for these things offline first.
Thanks,
nin

Can you post a screenshot of the busted text? If there's no shorter translation that would fit, we can apply some language-specific styling to lower the text size, as we did in #2408.

I can shorten the headline and the 3500 Bonusedelsteine, But The Problem would remain because the second entry is hard to make any shorter and still be nice to read.

I watched #2408 and think that would also be a good idea.
If I am allowed to, I could change these layout things and check them in in the future. I will of course try to make it all fit and still sound nice. I was going to install the codecombat for checking on my machine, but the npm takes up all the ressources on my computer when using windows. Hard to imagine... I got time on sunday and will fix my linux. So if you do not mind and I could test locally, I would also change the layout and commit that in future.
Thanks,
nin

I just noticed that there is still the $ sign in the price field. Another contributer translated that.
Should it stay dollar or would it be the same in euro? Then I would change it along with other things.

You would want to change it to $ USD, because we don't know what the Euro price would be; Stripe figures that out dynamically.
Sure, I'd be happy to review a pull request changing the layout. Thank you!

Okay, seems I do not need to change that for #2409. Thanks for the fix.

You're welcome @angryelven-jdd !


(swedish) Translations

Can you translate the strings that appear in rd_notification_debug_fake 1 so I can make a translated screenshot?

Can you translate the strings that appear in rd_notification_debug_fake 1 so I can make a translated screenshot?

I will do now, didnt have time before

Um, where is that exactly?


[CI] Moved to github actions #82

Added github actions for django_loci.
Closes #82

Success Build URL: https://github.com/codesankalp/django-loci/actions/runs/651014903

@nemesisdesign Can you please review it?

Rebased the PR to ci branch and opened PR #88 to test the build


Update Control_LoL.xaml with new file path in description

Just updates the information in the Leage of Legends Profile overview where the LeagueofLegends.exe file is usually found.

PR's should be to dev not master


Use MS5611_READ_OK in MS5611.read() error checking

Since this constant is provided by the library for this exact purpose, it seems sensible to include it's usage in the examples.

Of course 👍


Implement new vitals inside of the App and troubleshoot integration issues.

This should replace the existing Readout components and allow us to delete dead code like data-displays.scss

Resolved by #691


fix: create safeJoin util for console wrappers

Fixes https://github.com/getsentry/raven-js/issues/1219
This should fix the issue for now. I didn't pass values through JSON.serialize as some of them might be rather large, and we use msg only for logging in sentry, not in the console itself - there, you can still see the full value, as with regular console calls.

Before:

After:


chore(master): Release 0.17.0

:robot: I have created a release beep boop
aztec-packages: 0.17.0
0.17.0 (2023-12-13)
⚠ BREAKING CHANGES

deduplicating circuit types + typing everything (#3594)

Features

Deduplicating circuit types + typing everything (#3594) (fcb04a7), closes #3592 #3059

Miscellaneous

docs: Remove references to npm packages (#3676) (bd5355f)

barretenberg.js: 0.17.0
0.17.0 (2023-12-13)
Miscellaneous

barretenberg.js: Synchronize aztec-packages versions

barretenberg: 0.17.0
0.17.0 (2023-12-13)
Miscellaneous

barretenberg: Synchronize aztec-packages versions

This PR was generated with Release Please. See documentation.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 9ccbbd96 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,008
867,716
3,447,812

l1_rollup_execution_gas
842,095
3,594,824
22,203,181

l2_block_processing_time_in_ms
2,211
8,487
35,232

note_successful_decrypting_time_in_ms
349 (-3%)
1,060 (+1%)
3,850 (-1%)

note_trial_decrypting_time_in_ms
63.3 (-10%)
39.2 (-1%)
139

l2_block_building_time_in_ms
20,210
80,486 (+1%)
321,840

l2_block_rollup_simulation_time_in_ms
16,658
66,333
265,395

l2_block_public_tx_process_time_in_ms
3,522 (+1%)
14,084 (+2%)
56,203 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
24,775 (-1%)
47,670 (-1%)

note_history_successful_decrypting_time_in_ms
2,519 (-6%)
5,260

note_history_trial_decrypting_time_in_ms
76.6 (-16%)
148 (-3%)

node_database_size_in_bytes
3,623,235
3,912,578

pxe_database_size_in_bytes
29,940
59,499

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
200
43,109
20,441

private-kernel-ordering
115
25,833
9,689

base-rollup
2,971
667,692
873

root-rollup
86.7 (-4%)
4,072
881

private-kernel-inner
261
64,516
20,441

public-kernel-private-input
172
25,203
20,441

public-kernel-non-first-iteration
171 (+1%)
25,245
20,441

merge-rollup
10.8 (-1%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
10,323
26,359 (+2%)

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/aztec-packages-v0.17.0 :sunflower:

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/barretenberg.js-v0.17.0 :sunflower:

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/barretenberg-v0.17.0 :sunflower:


Main branch

Coverage increased (+1.1%) to 79.068% when pulling efbbb87b1913c76c3e1cf8410d390ca11e9b6464 on quangtdn:mainBranch into 705678fb5d6415059a58217cece95ac6189923e6 on CS2103AUG2017-W10-B4:master.


Properly resolve HTTP methods

On Spring Framework 5 HttpMethod is an enum type that exposes a resolve(java.lang.String) method that matches the String value passed with the enum value while handling null values gracefully. However, in the context of toValidHttpMethod(java.lang.String), there is a previous assertion that ensures null will not be passed moving forward. Hence, using enum's native valueOf directly seems like a good idea.
Furthermore, Spring Framework 6.0 marked HttpMethod#resolve(java.lang.String) as deprecated for removal, and starting from Spring Framework 6.1 this API element no longer exists. This change is currently causing issues (#1760) with latest Spring Framework and Spring Boot versions.
This commit replaces the use of this method with the equivalent HttpMethod#valueOf(java.lang.String).
Closes #1760.

Thanks again for PR!


Add gcr.io as additional container registry

Why?

We want to push container images to gcr.io too.
What?

This adds an extra step to our CI to also push to gcr.io
How?

Test Plan
CI will show if it works. The Service Account itself was tested through impersonation.

Not sure I understand, can you elaborate?

Discussed on discord: The point was that since authentication is truly only done when pushing, we don't really know if this works until we merge it and it actually pushes.


Trinity.Core: fix #44; fix #16; fix #19

Various fixes on assembly path, config and FileUtility.

The semantics of Global.MyAssemblyPath is changed from "get the directory of trinity core" to "get the directory of the user assembly" so multiple user programs safely use the assembly path without interference (they may share the same copy of trinity.core)
The assembly path is passed to Trinity.C during initialization.

@yatli,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Fix issue #23628 Remove Bootstrap

Fixes: https://github.com/zulip/zulip/issues/23628 - Replace Bootstrap progress bars in portico pages (Password Strength bar was using Bootstrap , now i have Replaced/completely removed usage of Bootstrap in this particular part)
Screenshots and screen captures:

Hey myself Aditya singh and this is my first PR For Zulip. I have Made Changs In static/styles/components , reset_confirm.html , registration.html , static/js/password_quality.ts . I have Remove More than 136 Lines from Bootstrap.css And Redesigned everything again in components.css. I have made 2 Line changes in password_quality.ts In order To Avoid Bootstrap Style as bar-danger/bar-success were Bootstrap specific. and I have Made Changes in HTML Files So That there is no problems. Thank You

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Thanks @AdityaSingh-02 ! Please fix the failing test and clean up your commit history, then post again to request a review. See here for guidelines.


redundant unnecessary repetitive calling of _validate_source_file() in nested loops

I am using the latest version of the repository (1.6.4) and when generating soundscapes I noticed a prohibitive slow generation of soundscapes in a loop. here's what I found out:
So following the example in the documentation : https://scaper.readthedocs.io/en/latest/examples.html
in the add_event() method when I specify a list of source files for event (instead of []), every time it wasnt to add an event it will go through validating the entire list of source files because of calling "_validate_source_file()" in "validate_event()" !  this is extremely redundant and unnecessary because Instead of doing so only "one" necessary time it will do it : {number of soundscapes  times number of_added_event_per_soundscape} times. particularly if the list of event source files is long (as in my case).
The same argument of course applies when _validate event is called in add_background.
So I believe the _validate_source_file must be moved out of all loops and be just called once for the list of background files and source files through a separate method outside of all the loops.
I am just commenting them out in my case.
Also similary if you dont specify the list of source files in the add_event or add_background and go with [] instead, this redundant file checking happens through another function in utils.py called : "_get_sorted_files()" where in the last line of the method is written:
files = [f for f in files if os.path.isfile(f)]
this line is again is a huge unnecessary overhead and should be performed outside all the loops and only once for all background and source files.

The reason every distribution tuple is validated when an event is added is that it can be different each time.
In your case you always add the same list of source files, but in general each time you add an event you could specify a different list of source files (or a different distribution tuple altogether) meaning we must validate the distribution tuple every time we call add_event.
I we don't validate the source files when an event is added it could cause Scaper to crash downstream. So from a design standpoint I believe what we are doing is the correct thing to do.
We could, potentially, add a flag to add_event to disable source file validation (e.g. disable_source_file_validation=False by default), since this is the only validation that involves file I/O - I believe all the other validation steps are insignificant computationally.
@moabaom To help us better understand how serious an issue this is, can you share a Minimal Working Example (MWE) and report the execution time with and without source file validation? Thanks!

p.s - actually another option would be to create a "cache" for validated files, such that if a scaper object has already validated that a file exists, it doesn't try to validate it again. This is probably safer than disabling validation and achieves the same speedup. If you create a new scaper object in a loop (like in the example), we could support providing a list of validated files as input, and the scaper object will not try to validate these source files.
Still, let's start with the MWE and timings to better scope the problem. thanks.


"Best Practices" for using this add on?

It would be helpful to show some simple "Best Practices" for using this plugin.  I think I understand, in general, how it works, but it would be nice to see where the obvious places to put the components are.  At least, it's not obvious to me where to put them.
I'm looking for where to place them to minimize duplication of code and simplify build-out.

Sorry, but I can't understand how a controller can extend BaseController since it extends already Controller Class.
It could be great to provide an sample of Controller.

@sbourdette Just have some kind of an App\BaseController in your app that extends your framework's Framework\Controller class, and then make all other controller classes within the app extend App\BaseController instead of Framework\Controller. Does that make sense?

Ok it's clear for me.
Thanks @levacic


DGJ-11 Added scripts to run the project locally

Summary
Added config and scripts to run the project locally using docker-compose
Changes
docker-compose

Added docker-compose and a Makefile to run the project locally based on the ones found in https://github.com/AOT-Technologies/forms-flow-ai

Camunda Update

Added custom Dockerfile / pom.xml with support for the newest Keycloak version (upgraded oauth2-oidc-sdk dependency)

Just to confirm again, we won't be setting up analytics in local

I think for now we'll skip analytics locally as the project requires a lot of resources when running locally already 😰  If needed we can add it in


Teach the LLM to understand risk associated with using LLM applications.

Describe the contribution to the taxonomy
Adds a skill to understand different attacks against applications built using LLM
and mitigation for some of the attacks.
Input given at the prompt
What are supply chain Vulnerabilities in context of LLM applications.
Response that was received
Supply chain vulnerabilities in the context of Large Language Models (LLMs) refer to potential risks and threats that can arise during the development, deployment, and maintenance of these models due to the interconnectedness and interdependence of various stages,  entities, and components involved in the process. Here are some key vulnerabilities to consider:

Data Leaks: Sensitive data, such as training data or internal documentation, can be accidentally or intentionally exposed  during the development or deployment stages, leading to data breaches, intellectual property theft, or privacy violations.
Dependency Risks: LLMs often rely on various external libraries, tools, and services, which can introduce vulnerabilities if these dependencies are not properly managed, maintained, or secured.

Response that is now received instead
│ Supply chain vulnerabilities in the context of LLM (Large Language Model) applications refer to potential risks or weaknesses in the   │
│ systems, processes, or third-party entities involved in the development, deployment, and maintenance of these models. These            │
│ vulnerabilities can have serious consequences, such as unauthorized access, data breaches, or disruptions in service. Here are some    │
│ common supply chain vulnerabilities in LLM applications:                                                                               │
│                                                                                │
│ 1. Inadequate access control: Insufficient access controls can lead to unauthorized access to sensitive data or resources,         │
│ potentially exposing the model to manipulation or tampering.                                                                           │
│ 2. Lack of code review: Inadequate code review can result in undetected vulnerabilities in the codebase, potentially leading to    │
│ security issues or exploits.                                                                                │
│ 3. Dependent libraries and components: LLMs often rely on various libraries and components, which can introduce vulnerabilities if │
│ not updated or patched regularly.                                                                                │
│ 4. Third-party integrations: Collaborations with third-party entities, such as cloud service providers or data providers, can      │
│ introduce additional vulnerabilities if not properly managed and secured.                                                              │
│ 5. Insufficient testing and validation: Inadequate testing and validation can result in undetected bugs or issues, potentially     │
│ leading to security vulnerabilities or performance degradation.                                                                        │
│ 6. Insecure APIs and SDKs: If not properly secured, APIs and SDKs can be exploited by attackers, potentially leading to            │
│ unauthorized access or data breaches.                                                                                │
│ 7. Inadequate supply chain traceability: Lack of visibility into the supply chain can make it difficult to identify and address    │
│ potential vulnerabilities, as well as maintain compliance with regulations.
Contribution checklist

[x] tested contribution with lab generate
[x] lab generate does not produce any warnings or errors
[x] all commits are signed off (DCO)
[x] the qna.yaml file was linted

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


Simplify prober

This PR simplifies prober implementation.
Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>
[X] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Refactor prober and its usages for sake of simplicity.

Verification
Runs local test to ensure nothing changed, make test-local.

cc @bwplotka @squat @FUSAKLA

Fixed the issues, now we only set Ready and not NotReady in a single rungroup actor unless we have special logic for that component. If that component only exposes http endpoint we do it around httpserver start. If the component also exposes grpc endpoint, we utilize grpcserver actor.

ping @FUSAKLA


Updated dates in Storage Changelogs

/check-enforcer override

This was only a changelog update and the release pipeline will validate the version.


fix: add permission for listing namespaces

This is required for handling topology spreads with namespace selectors where we need to look up namespaces matching a selector.
Fixes #2702
How was this change tested?

Deployed to EKS

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Worth an integration test for cross-namespace topology?


[NuGet.org Bug]: XML Comments in Code Block not rendered in nuget.org

Impact
It bothers me. A fix would be nice
Describe the bug
I have created several pacakges, and for those packages I have created README.md files. Those markdown files contain XML code blocks. Within those code blocks I have added XML comments to remove irrelevant content (so I can focus the reader on the releavent stuff). However, when I publish those packages, the README content that is rendered on nuget.org does not show those XML comments (presumably because they are also HTML comments).
You can see an example of the behaviour here, in this package

https://www.nuget.org/packages/PlayNicely.Projects/1.1.3-beta-550#example

Yet, when rendered in gitlab, it works as expected

https://gitlab.com/play-nicely/foundation/-/tree/main/Code/PlayNicely.Projects/PN.Projects?ref_type=heads#example

Repro Steps

Create a package with a README.md file.
Add a code block to the readme file, ```xml
Add an XML comment to the code block
Publish the package

Expected Behavior
The comment should be rendered correctly.
Screenshots

Additional Context and logs
No response

This is a duplicate of https://github.com/NuGet/NuGetGallery/issues/9060.
Expanded the title of the other issue to include XML so it's more clear.


bound platform movement

Atm the platform can move out of the canvas. Let's add some bounds!
Also if someone wants to tell me why there is fmin and fmax (I thought they were for floats) but not min/max I would gladly add this to the docs too
EDIT: I also increased the speed of the platform. I cannot keep up with the ball!

What is the error that is shown if std::min is used?

Atm I moved on and cannot try with the exact configuration I had before. I tried to add it to my current project and it is working. I amso checked the inputs I was using and they were all ints. I can tell you only that it could not find the function and suggested to use fmin/fmax instead. Since I just wanted to see if it was working, I moved on without recording the error.

added the discord explanation in the file.


TesseractEngine does not release the traineddata file

After I run the following code I can not delete the *.traineddata file in datapath folder, until I completely closes the program
Shared Function GetOcrText(ByVal imagePath As String,
                             ByVal datapath As String,
                             ByVal languages As IEnumerable(Of String)) As String

        Dim languagesStr = String.Join("+", languages)
        Dim resultText As String = ""

        Using engine = New TesseractEngine(datapath, languagesStr, EngineMode.Default)
            Using img = Pix.LoadFromFile(imagePath)
                Using page = engine.Process(img)
                    resultText = page.GetText()
                End Using
            End Using
        End Using

        Return resultText

    End Function

I just did a quick test using the console sample app and was able to delete the tessdata directory. So assuming your properly disposing of the engine wherever it's used and no instance is currently active it should be fine.
Please re-open if the issue persists.


Temporarily fix upgrade tests

I think we could consider three different test scenarios for toolkit:

upgrade from a previous version to current head code [this is the current upgrade test]
upgrade from current head version to an older version [this would be the downgrade test]
upgrade from current head to current head [this would what downgrade and recovery tests are doing in this current PR]

As soon as we get a v2 released in elemental-toolkit we could easily implement this three tests scenarios. In fact there is only one missing.

What I do when manually testing is that I rebuild elemental-toolkit with an arbitrary GIT_COMMIT, then I build a second image using that elemental-toolkit version, and finally I can test upgrade was done by executing elemental version --long (that should include the GIT_COMMIT value).
Maybe in the tests we could follow a similar logic.

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

Project coverage is 72.53%. Comparing base (c03dc35) to head (895c8a5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1992   +/-   ##
=======================================
  Coverage   72.53%   72.53%
=======================================
  Files          76       76
  Lines        8909     8909
=======================================
  Hits         6462     6462
  Misses       1913     1913
  Partials      534      534

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

What I do when manually testing is that I rebuild elemental-toolkit with an arbitrary GIT_COMMIT, then I build a second image using that elemental-toolkit version, and finally I can test upgrade was done by executing elemental version --long (that should include the GIT_COMMIT value).
Maybe in the tests we could follow a similar logic.

The intention was to downgrade and upgrade to known and meaningful states for a basic compatibility check. So that upgrading from current stable (v1.1.x) and downgrading to v2 (assuming head is >= 2.0.0). Version 2 is still not tagged, but as soon as it is I'd just stick to that.
Then, what I think is also relevant is upgrading to the same head of the PR, this is likely to unveil some upgrade issues introduced by the PR that are not exercised with the upgrade and downgrade test, such as the one you saw with the snapper config. This would be the closer we can get to emulate an upgrade to an eventual higher version.
Also something we are not doing in this tests and we should is reboot to fallback. The problem is that in github performance is really poor and this will make upgrade tests quite longer.

Closed in favor of #2003 and #2004


[T2A5][W14-A4]TanJunAn

Ready for review

This PR should be against nus-cs2103-AY1617S1 :-)
Closing...


METRON-585 Pcap Replay Fails to Stop

The service script for Pcap Replay often fails to actually stop the tcpreplay process.
The tcpreplay process is a huge consumer of resources when running on Quick Dev and actually having it stop when asked, would be super nice.
Needed to kill it until it was good and dead.  Tested the change on Quick Dev.

This is a rather annoying bug when working on Quick Dev.  The tcpreplay process that is started by Pcap Replay is very resource intensive.  If you stop Pcap Replay, but tcpreplay keeps running, it annoyingly continues to consume a lot of resources.  I would love to get this merged, but need some reviewers from the community. :)

+1 by inspection


Add search highlighting

Hello,
I use inspector-jay regularly and I wanted to add some search highlighting to better visually find matches in big structures.
Hope you like it!

Hi kawas,
Great idea; thanks for your contribution! I just gave it a try; the highlighting functionality in itself works fine, but it seems to be triggered whenever a tree node needs to be rendered .. and a tree node is only (re-)rendered when it first appears, when scrolling through the tree, and some other situations.  Now I have to scroll the tree back and forth to make sure the highlighting appears correctly everywhere :)
I think ideally, the highlighting should be triggered whenever the user is typing in the search field. An easy fix is to add (-> tree .repaint) to the beginning of the search-tree-and-select function. It ensures the tree is re-rendered when typing in the search field. When I find some more time, I'll have another look to see if that's the best solution.
Kind regards,
Tim

I'll merge your pull request in a new branch for now; I'll merge that with master once I'm happy with the implementation, but it will be nice to have highlighting available :)


Error on single image inference, thanks

I have tried to use the model to do aesthetics assessment on a single image, and below is my code snippet:
`
class IAA:
def init(self, model_file, weights_path):
self.device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
self.init_model(model_file, weights_path)
normalize = transforms.Normalize(mean=IMAGE_NET_MEAN, std=IMAGE_NET_STD)
self.transform = transforms.Compose([
transforms.ToTensor(),
normalize
])
def init_model(self, model_file, weights_path):
    self.model = TANet(model_file)
    self.model.load_state_dict(torch.load(weights_path))
    self.model.to(self.device)
    self.model.eval()

def inference(self, image_path):
    with open(image_path, 'rb') as f:
        image = Image.open(f)
        image = image.convert('RGB')
        image = image.resize((224, 224))
        image = self.transform(image)
        image = torch.unsqueeze(image, dim=0)
        image = image.to(self.device)
        iia_score = self.model(image)
    return iia_score

if name == 'main':
weights_path = r'.\weights\SRCC_758_LCC_765.pth'
model_file = r'.\weights\resnet18_places365.pth.tar'
image_path = r'.\samples\00000.png'
iaa = IAA(model_file, weights_path)
score = iaa.inference(image_path)
`
However, I got an error: ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 1]).
It seems this is a reported error when using batchnorm on a single image (batch size =1), see here (https://discuss.pytorch.org/t/error-expected-more-than-1-value-per-channel-when-training/26274/67). However, it was suggested that adding model.eval() can solve the problem. As you can see, I used model.eval(), but still got the error.
Did you happen to encounter to this error? If so, how did you solve it? Thanks a lot.

My current workaround solution is to use multiple images in a batch. However, it might be better to figure out how to solve the single image issue.
In addition, the model produces a softmax output with 10 element for a single image. How can we compute a single score for an image? Thank you.

I have never encountered such a problem before ，you may refine the function of "validate(opt, model=model, loader=dataloader_test……" when bs=1，to see if you can solve this problem，see issue 8.
use the function of "def get_score(opt, y_pred)" in my code to obtain a score.

I have never encountered such a problem before ，you may refine the function of "validate(opt, model=model, loader=dataloader_test……" when bs=1，to see if you can solve this problem，see issue 8.

use the function of "def get_score(opt, y_pred)" in my code to obtain a score.

I got it, thanks a lot.

@junyongyou hi could you solve this issue without using the dataloader? For now I am doing
bn7 = nn.BatchNorm1d(q.shape[0])
bn7.eval()

because it seems that the problem is that the BatchNorm1d is in training mode, although we set the whole model to eval. I am sure there is nicer solution. I guess the BatchNorm should be created when creating the TargetNet and then the forward pass just calls it.

@woshidandan Ok my solution doesn't work because it throws some wrong predictions. I would need the single image inference without dataloader for converting the model to onnx. Any ideas?

There are some sub-models that are not in eval mode even the whole model is set to eval. Thus, I don't know how to solve the problem.

@junyongyou 关于single image inference，想问下你这边解决了吗？


added Realme Clone

🛠 Fixes Issue
Closes #625

👨💻 Changes proposed

Added Realme UI Clone

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots
https://user-images.githubusercontent.com/77873383/170826265-6c38ac00-ca7e-4528-b81e-b7c4866b9cf7.mp4

@gurjeetsinghvirdee please check


[jsfm] supported JS services

added global methods: registerService() and unregisterService()
added CallbackManager for manage callback ids generally
rebuild BroadcastChannel as a JS Service
updated weex-vdom-tester

After discussion, this feature has been implemented in jsfm-feature-0.19, and have few difference with this code.
This PR will be closed.


feature: Agent 安装默认值支持全局配置 (closed #445)

Codecov Report

Merging #513 (9a610ab) into V2.2.1-rc (bbd92bd) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##           V2.2.1-rc     #513      +/-   ##
=============================================
+ Coverage      70.32%   70.35%   +0.02%
=============================================
  Files            288      288
  Lines          20802    20819      +17
=============================================
+ Hits           14630    14647      +17
  Misses          6172     6172

Impacted Files
Coverage Δ

apps/node_man/handlers/meta.py
93.21% <100.00%> (+0.52%)
:arrow_up:

apps/node_man/models.py
75.47% <100.00%> (+0.02%)
:arrow_up:

apps/utils/batch_request.py
62.68% <0.00%> (-2.99%)
:arrow_down:

apps/utils/concurrent.py
62.33% <0.00%> (-1.30%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
96.96% <0.00%> (-0.51%)
:arrow_down:

apps/node_man/handlers/job.py
86.32% <0.00%> (+0.26%)
:arrow_up:

apps/node_man/views/meta.py
70.83% <0.00%> (+12.50%)
:arrow_up:

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 bbd92bd...9a610ab. Read the comment docs.


Data no-turbolinks on admin link for administrate

Otherwise the JS and styles get carried over

I believe this is in place already: https://github.com/headwayio/voyage/blob/master/lib/voyage/templates/navigation.html.erb#L10
We'll have to review if it isn't working as expected.

I've updated this to the latest Turbolinks 5 syntax as provided by @GeekOnCoffee and it will be in a PR shortly.


Why BTDF is updating Project Path and Settings File Path in SSO when IncludeSSo=true

Hi
I want to know the significance of updating Project Path and Settings File Path in SSO when IncludeSSo=true.
Because when i am trying to deploy my application in UAT then it is failing with the exception of not founding the SSOSettingsFileReader.dll
Here is the log file:-
error MSB4018: The "UpdateSSOConfigItem" task failed unexpectedly.\r
System.IO.FileNotFoundException: Could not load file or assembly 'SSOSettingsFileReader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b9585ffc9d454e4a' or one of its dependencies. The system cannot find the file specified.\r
File name: 'SSOSettingsFileReader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b9585ffc9d454e4a'\r
at DeploymentFramework.BuildTasks.UpdateSSOConfigItem.Execute()\r
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()\r
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()\r
This work item was migrated from CodePlex
CodePlex work item ID: '11183'
Vote count: '1'

[tfabraham@8/2/2017]
This is an issue in v5.6.  If SSOSettingsFileReader.dll is not already in the GAC, a mis-ordered operation executes that requires the DLL to be in the GAC, before it has been installed in the GAC.  You can simply install SSOSettingsFileReader.dll in the GAC with gacutil.exe on those machines.  It's a one-time fix.
This is fixed in v5.7.
Tom

SSOSettingsFileReader.dll this file is not copied from DeployTools into my msi package. While all the others are. I am not sure how to resolve this.


Custom structured logformat broken since #373

Access logs are now always prefixed with the correct source ip (even behind proxies). This is nice, but also prevents custom logformats in structured formats (like JSON).
Left a comment on the PR as well: https://github.com/kubernetes/ingress/pull/373/files#r104397378

thanks! :)


when replying to a message, original message is not quoted

Expected behavior
upon selecting "reply" or "reply all", i expect the original email to be quoted in the compose message interface.
(this was also the previous behavior before i updated to 5.711)
Actual behavior
the compose message interface is empty and looks like crafting a new message.
Steps to reproduce

receive an email
reply to that email

Environment
K-9 Mail version: 5.711
Android version: 10
Account type: imap

Thanks for reporting. This is a bug, caused by what was included in the change log as "lots of internal changes" :)

Fixed in 5.713. Available here: https://github.com/k9mail/k-9/releases/tag/5.713

confirmed. it is fixed. awesome, appreciate the quick reaction.


Book Hub Exchange Form has No Validations

Connect with a Reader Button accepts the Request without filling a form data

Issue already created!


[docs] Fix Typo in Pricing.js

@enducker It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!


Update aioquic dependency to >= 1.0.0, < 2.0.0 (fixes: #6746)

Description
This fixes some specification compliance issues as well as a potential DoS vulnerability.
Start with version 1.0.0, aioquic follows semantic versioning, so no breaking changes will occur before version 2.0.0.
Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

You're most welcome! I'm super lucky to have @rthalley on board as a co-maintainer for aioquic!


user agent not passed correctly

hi! just wanted to point out that you are missing 2 leading '-' for the user agent to work properly
that line should look like
browser_options.add_argument("--user-agent=" + get_user_agent())
https://github.com/simao-silva/noip-renewer/blob/040b95e5e62d73ccbd71f7ca2c9d0036400a281b/renew.py#L83
appreciate your work!

Fixed in #146 .


Standardize on New file Upload methodology

Check everywhere that a file uplada is being done and make it use the "new" methodology.

Everything checks out.  Boards doesn't have an onUpload function as none is needed at this time.


encoder: Fix protocol 0 UNICODE emission for invalid UTF-8

Please see individual patches for details.

(adjusted the first patch to also come with tests)
interdiff:
--- a/ogorek_test.go
+++ b/ogorek_test.go
@@ -964,6 +964,24 @@ func TestUnquoteCharEOF(t *testing.T) {
        }
 }

+func TestStringsFmt(t *testing.T) {
+       tvhash := []struct{
+               in      interface{}
+               vhashok string
+       }{
+               {"мир",          `"мир"`},
+               {Bytes("мир"),   `ogórek.Bytes("мир")`},
+               {unicode("мир"), `ogórek.unicode("мир")`},
+       }
+
+       for _, tt := range tvhash {
+               vhash := fmt.Sprintf("%#v", tt.in)
+               if vhash != tt.vhashok {
+                       t.Errorf("%T %q: %%#v:\nhave: %s\nwant: %s", tt.in, tt.in, vhash, tt.vhashok)
+               }
+       }
+}
+
 // like io.LimitedReader but for writes
 // XXX it would be good to have it in stdlib
 type LimitedWriter struct {

Kamil, thanks for the approval.

I appled the patches to master myself as 1fea98e4f7aeffc5c3cb0d4cf87dd61877715b89 and 09fec8bdc113401306abc6280a8d0f3a99d9c48b. Hope it is ok.


Connecting to remote seConnecting to remote server not workingrver not working

I followed all the steps here:
http://docs.spyder-ide.org/current/panes/ipythonconsole.html?highlight=ssh#connect-to-a-remote-kernel
But then, when I import the json, it fails to start, and pop the "issue reporter" window.
I have been connecting to remote serve using this approach in the past (almost 1yr ago), but I have no idea why it fails now.

Hey @HitachiAIL, thanks for reporting. You said:

But then, when I import the json, it fails to start, and pop the "issue reporter" window.

Please use that window to post your issue here on Github. It contains all the information we need to help you.
Unfortunately, your current report contains almost no useful information, so I'm going to close it.


Changing Webroot

I want to host my wiki at mydomain.xyz/wiki. I have set up the correct reverse proxy via caddy, but the frontend returned by wikmd does not have the correct links. How do I change the webroot?

 What are the links showing? Do you run it native or in docker?
Thanks!

I see everything normally, but say I want to edit homepage, clicking the edit button takes me to mydomain.xyz/edit/homepage, but it should go to mydomain.xyz/wiki/edit/homepage. Manually putting this url takes me to the right page.
This is also called baseurl in some projects, if that helps.
Caddyfile -
mydomain.xyz {
  handle_path /wiki/* {
    reverse_proxy localhost:8080
  }
  redir /wiki /wiki/
}

Hi @DhruvaSambrani
I found a way to fix this. I'll try to do it this week! fix_webroot_#86

Hi, what is the ETA on this?

Hi, I am also interested in this feature for hosting behind reverse proxy.


Performance issues

Hello,
I get performance issues when I try typing the following sequence:
N E V E R   G O N N A   L E T   Y O U   D O W N
Thank you for your assistance,
R. Ick A. Stley

Hi!
Thanks for the feedback! I have looked into the issue and I was able to reproduce it. We have provided a quick patch for it in the latest commit. I hope it will be statisfactory, I have noticed significant performance improvements on my workstation.
Sincerely,
elementbound


Cow: Watch (?-i:8B4LwoGMNkh4NS6JA)(?# Google Maps)

Cow requests the watch of the watch_keyword (?-i:8B4LwoGMNkh4NS6JA)(?# Google Maps). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:8B4LwoGMNkh4NS6JA)(?# Google Maps) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ