🐛 BUG: passing an invalid compatibility_date in wrangler.toml causes env variables not to be bound

Which Cloudflare product(s) does this pertain to?
Workers Runtime, Wrangler
What version(s) of the tool(s) are you using?
3.82.0 [Wrangler]
What version of Node are you using?
20.18.0
What operating system and version are you using?
Mac Sonoma
Describe the Bug
Observed behavior
Passing an invalid compatibility_date in a wrangler.toml (e.g. 2024-11-05 as of today) does not throw an error; however, it causes any environment variables and secrets to not be available in the deployed worker.
Expected behavior
The invalid compatibility_date should fallback to the latest valid compatibility_date, and environment variables and secrets should be properly available in the worker.
Steps to reproduce

Create a valid wrangler.toml with the following setting:compatibility_date = "2024-11-05"

Add an environment secret in the Cloudflare Dashboard UI, and deploy the secret
Deploy your worker via wrangler using the wrangler.toml and notice your environment variable is not available.

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Can't reproduce this with same exact steps, are you certain that is happening?

Make sure this is a secret and not an environment variable.

Yes, it’s a secret defined in our terraform config for the worker

Is there a recommended way to submit a reproduction?

Could you provide a link to a GitHub repo that demonstrates the issue?

hi @adamdehaven  :) we haven't heard from you in a while, so we’re going to close this issue for now. if this is still a problem, please feel free to open a new issue referencing this one. please be sure to include a link to a repro and we will revisit and investigate further. thanks!


How to flash for a newbie

Maybe its clear to everyone. But how to actualy "flash" the files?
I placed the files in the ESPhome folder but what's next? My ESP8266 module is "online" after adding in ESPhome. But I can not find the Airco controls in my dashboard.
Thanks for the help!

Open a terminal, go to the folder you placed the files.
Enter: esphome run lr_mhi_ac_ctrl.yaml
now it should flash your esp

Thanks for the help!

relates to #55 we hope to make this easier in the future, but making it easier is a bit complex :) based on your comment, i assume you figured it out and it is now working


Design damping solution for alpha units.

Identify material choices
Specify dimensions, roughly
Test with sound meter
I think I have a sound meter at my office

This ticket was in the "Done" column in Hardware. Moved it to the same column after changing repositories.

This ticket was in the "Done" column in Hardware. Moved it to the same column after changing repositories.

Although it was outside the scope of alpha build, this issue remains relevant for the final product. Noise concern was also seconded by feedback from the FoundryM team in India.

Although it was outside the scope of alpha build, this issue remains relevant for the final product. Noise concern was also seconded by feedback from the FoundryM team in India.


[BUG]Tests Fail and Test Result is "Not Applicable"

Hello,
Some hours ago I started testing Azure load tests successfully, but then without changing anything the same tests started failing, the test result is "Not Applicable".
I tried creating new Azure Load test in many regions like East us, East us2, North Europe, but the error persists.
Is there a temporary service problem?
AB#1513231

Hi @DiegoNoble ... Thank you for reporting the issue. Can you please help us with the below information:

share the scenario that you are trying to test and the parameters like engine instances you are referring for each test.
Also, please share the screenshots of the error that you are seeing.
Test run id for the tests which failed and subscription id.

Hi @DiegoNoble ...Checking to see if you have had chance to provide this information. We will close this request post two days in case of no response. Please feel free to reach out to us in case you face the issue again.

Closing this as no response received. Please feel free to reach out in case you run into the issue again.


 Add more categories

Describe the solution you'd like
Add categories for learning technologies

can you elaborate the issue


migration Command not recognised.

> pex
[21:30:39] [Server thread/INFO]: PermissionsEx v2.0-SNAPSHOT-b147
[21:30:39] [Server thread/INFO]: /pex [debug|reload|import|ranking|[--context|--contexts|-c] [-transient] subject permission-default|delete|options|info|permission|parents|[-transient] subject-type list [filter]]
> lp migration permissionex
[21:30:49] [pool-3-thread-1/INFO]: [LP] Command not recognised.

pex and luckperms both using mysql storage

permission s ex


Ensure NRVO is done through the Deserializer to avoid memory corruption

We plan to expand the usage of the serializer to be used for network communication.
Currently we are using the less-than-ideal JSON approach, which adds a lot of overhead.
However, due to concerns about efficiency and internal pointers (e.g. std::string), the deserializer should not perform any unwarranted move.
DoD:

[ ] There is an utility that test if a type is moving during deserialization;
[ ] Tests are added so that SCPEnvelope is not moved;

This is testing only, and we know it works, so changing the milestone.


Carthage Support?

Sweet library! Getting set up seems a bit cumbersome. I saw you mentioned disliking CocoaPods. Would you mind adding Carthage support however?

I'm not sure if it's possible right now. There's a lot of dependencies going on that rely on the SPM.

Closing since this doesn't feasible in the near term.


Sending SIGINT while the tool checks for migration Pod readiness causes infinity loop

Currently, if the user sends a SIGINT (Ctrl+C) to the process while it is waiting for the migration Pod to become Ready, the process will enter an infinity loop, because method:
1. It will try to get the Pod from the API Server
2. The client will return an error because the context is expired (due to SIGINT).
3. It will continue to the next iteration of the loop.

The body of the method copyOnePVC() should check if the context has expired and return in immediately an error to the caller, immediately so that the script exits immediately.

I've sent a quick fix for this, see PR https://github.com/replicatedhq/pvmigrate/issues/216.
Feel free to suggest any other approaches that might be more sophisticated for fixing the issue.

Looks good to me, I'll merge your fix and get a release out

This is released as part of v0.10.2, thank you for the contribution!

Thanks @laverya !


Adding New Item forced the height to be one

Dear to whom it may concern,
I followed the example of adding an item. However after inputting the correct coordinates, the new object is forced to have the values of {h:1, x:0}. I see it through the onLayoutChanges. Im not sure it is a bug or just something I did wrong. Thank you for your time.

Can you share your code @samuelsodhs. Its hard to say anything without code


Cannot open playlist that includes songs that are not available

Describe the bug
When opening a playlist that includes content that is not available for playing, the playlist's song are not displayed at all. A good example is when a playlist includes local content and one tries to access it while the PC that was used as a "server" for these local files is currently offline/shut down.
To Reproduce
Steps to reproduce the behavior:

Go to Playlists
Click on a playlist that includes a song that is unavailable

Expected behavior
When opening a playlist that includes a file that is unavailable: Show the playlist songs and just gray out the file that cannot be played.
Screenshots

General information:

Distribution: Debian bullseye
Installation method: Flathub
Version: 0.1.12
Device used: Desktop

Stack trace:
flatpak run --env=RUST_BACKTRACE=full dev.alextren.Spot
(process:2): Gtk-WARNING **: 10:47:26.973: Locale not supported by C library.
	Using the fallback 'C' locale.
home
bitrate: Bitrate160
using pulseaudio
playlist_xxxxxxxxxxx
Error: ParseError(Error("invalid type: null, expected a string", line: 3089, column: 19))
playlist_yyyyyyyyyyy
Error: ParseError(Error("invalid type: null, expected a string", line: 545, column: 19))

Hi! Thanks for the report. I thought we had handled this previously :(
Do you have an example of a public playlist with one such track? Or an excerpt of the network response (for instance, the line being pointed at, or the object representing one such track)?
If needed, cached files for the network responses are in .var/app/dev.alextren.Spot/cache/spot/net.

 I can open on Spot a public playlist that has an unavailable song. I can see that the song is unavailable on Spotify. Spot doesn't gray it out and lists it normally. When trying to play it, it just skips to the next track. I think this is the expected behavior as of now.
So, the problem seems to be related with my own playlists that include local-only songs. I have added for example a local mp3 file in my playlist and I have done it with the Spotify client on windows. It is this playlist that I cannot open. I am also going to try having Spotify on Windows open when trying to open the playlist on Spot and come back with feedback.
Is it something special you want to see on the cached files?

 I can open on Spot a public playlist that has an unavailable song. I can see that the song is unavailable on Spotify. Spot doesn't gray it out and lists it normally. When trying to play it, it just skips to the next track. I think this is the expected behavior as of now.

Better than an error or a crash, but still could be improved!

So, the problem seems to be related with my own playlists that include local-only songs. I have added for example a local mp3 file in my playlist and I have done it with the Spotify client on windows. It is this playlist that I cannot open on Spot. I am also going to try having Spotify on Windows open when trying to open the playlist on Spot and come back with feedback.

Okay, I'll try this :) I'll get back to you if I can't work it out from here!

here is one of my public playlists that has this exact problem in spot: https://open.spotify.com/playlist/5FKAf83T8zZHBDu2xEgPNg?si=MRv2XhQESvy8q8MhdaMZRw

here is a paste of the json data for convience: https://snippet.host/kvbd
it fails at the first track where is_local is true and it seem that the album.id can't be null in spot (probably more as well)

Thanks, I could reproduce it with your playlist! Indeed, the track object that causes the error is missing most fields and is messing up the parsing. I played a bit with untagged enums in serde, looks like it should help with solving this!

fixed in 0.1.13


Merge HMC and HMCDA

Since HMC is a special case of HMCDA (i.e. n_adapt = 0), perhaps we should merge this 2 samplers, e.g. into the following interface
HMCDA(model, L, epsilon = 0.)

where L is the (max) total hamiltonian simulation length (i.e. n_leapfrog*epsilon). Then

if epsilon is not given, we would default to HMCDA and use dual averaging to pick a value
if both L and epsilon are given, we run the normal HMC sampler, with stepsize=epsilon, and for L/epsilon iterations.

Closed by #236


add isDateCorrect() assert

I think this assertion will be very useful

What's the real life use case for this?

What's the real life use case for this? What is then supposed to be done with the value (which is now known to be a "correct date") and the knowledge about it being a "correct date"?

I use this check in api, at the very beginning, when receiving arguments. This allows you to immediately throw a validation error.

And what exactly do you do that value (later in your code)?

And what exactly do you do that value (later in your code)?

I use it in sql queries. If the date is initially incorrect, all further actions do not make sense

You should really use DateTime instances and convert them to strings yourself, for example like in https://github.com/doctrine/dbal/blob/3622d6d5823ccaba5d768c311aed27383655041f/lib/Doctrine/DBAL/Types/DateType.php#L30-L44

So this is verifying if a specific value (2021-02-28) is on the format (Y-m-d).
I dont see any tests and Im hesitant about the use case. What you really should do is:
$date = \DateTimeImmutable::createFromFormat('Y-m-d', $rawDateInput);
if ($date === false) {
  throw new ValidationError('Wrong date');
}

$mySercice->foo($date);

Ie, as soon as you can, use a DateTimeImmutable, because you know that is safe compared to $rawDateInput.


Footer enhancements

Is your feature request related to a problem? Please describe.
@Priyaaa1 I saw the footer is boring and less informative
I would like to fix the footer of the website currently it is very basic and less informative.
With my knowledge and coding skills i can make you a nice and a matching footer .
Current footer-

As a GSsoc'24 contributer i would like to work on this project. I request you to assign this project for me @Priyaaa1

I'd want to contribute to this project as a GSsoc'24 contributor. Please give me this issue to work on.

Hey! @Priyaaa1 How about adding all of the footer contents in a columnar fashion and not keeping them in row. Since it is making the footer look too short. I would want to add all of the contents in a column fashion to improvise the UI and also there could be one more enhancement. The hover effect of Facebook could be blue, that of Insta could be pink and so on. I would implement all of this using Tailwind CSS. Kindly assign me this under the gssoc label tag so that I can start working on this issue rightaway.


AC3 or DTS via Scream?

Hello! This crazy think can be real in this world? I want to cast my AC3 or DTS sound while i whatch cinema, and receive this cast on Raspberry Pi with hat which i2s to optical SPDIF converter.
I understand what problems can be at hat side, but i first want to understand if it possible to cast AC3 and DTS sound like virtual passthrough device?
Thanks.

Transferring multichannel sound is possible, but only raw, not encoded as AC3 or DTS. Why do you want to decode on the Raspi?

Thanks for the answer.
Sorry, I think I described the situation a little incorrectly.  I do not want to decode in the Raspberry pi, I want, through the optical output of the hat, to send a signal to the optical input of my receiver, and receiver will decode it.


feat(linter): Fix suggestion for eslint:no_empty_static_block rule

Relates to https://github.com/oxc-project/oxc/issues/4179

Merge activity

Oct 21, 4:20 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


it shouldn't turn  ** in to  Math.pow  for BigInt

Describe the bug

(**) operator is converted to Math.pow  and Math.pow doesn;t supports bigint which causes error while serving build files.

Steps to reproduce

Do a exponent operations BigInt(2) ** BigInt(10), it will work fine with npm start
After npm build, build file converts ** to Math.pow (https://babeljs.io/docs/en/babel-plugin-transform-exponentiation-operator) which doesn't supports BigInt.

Expected behavior

Exponent operator ** should not be converted  to math.pow for bigint.

For anyone who googled this issue.
I needed to delete node_modules/.cache folder before yarn build.
If .cache folder remains undeleted, changes to the browserslist will have no effect.


nav: add ability to download map for an upcoming trip.

This would resolve nav issues when going offline and needing to change route.
(Optional) Can remove the map after a certain time where it has not been used (7 days?)

Closing this as it's not an issue. Feature requests can be discussed in the #feature-requests channel in the community Discord.


Convert startup screen and about menu to trifl model

Do this right

changes made in pull request #522


Make earn report pretty

The earn report is just a raw table that's hard to read. We should make it pretty and easy to read. Use proper formatting for balances etc.

Related: https://github.com/joinmarket-webui/joinmarket-webui/issues/386


Add step to update compute instance types in Exoscale migration howto for v4 to v5

Follow-up for #61
Checklist

[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[x] Link this PR to related issues or PRs.

Not sure how I missed this while writing the how-to :see_no_evil:


Externalizing config using MicroProfile, ConfigMaps and Secrets - Absent link

No link to the interactive lab/tutorial
"Start Interactive Tutorial" is anchor with no href property
Start Interactive Tutorial

/kind bug
/language en
Duplicate of issue https://github.com/kubernetes/website/issues/42401
Help is welcome (to delete the obsolete page). The Kubernetes docs are maintained largely by volunteers.
/triage duplicate

Closing in favor of https://github.com/kubernetes/website/issues/42401. Any assistance with existing issue https://github.com/kubernetes/website/issues/42401 is welcome.
/close not-planned


Possible Null-Pointer dereferences

Hi,
in the sysapi folder we have quite often the following pattern - e.g.
in sysapi/sysapi/Tss2_Sys_ActivateCredential.c Line 35
    if( credentialBlob == 0 )
	{
		SYS_CONTEXT->decryptNull = 1;
	}

MARSHAL_SIMPLE_TPM2B( sysContext, &( credentialBlob->b ) );
---------------------------------------------------------^^^^^^^^^^^^^^^^

Doesn't this imply that credentialBlob can be NULL and on the next line we dereference it?
Or am I missing something here?

Hi Peter. Looks that way to me. I've fixed something similar in the past. The one I found was a NULL check followed by an immediate dereference so it was a more obvious. I've got coverity scans automated for the tabrmd, I'll be enabling the same here soon-ish. I'm hoping it will help uncover situations like this. Till then bug reports are welcome & patches appreciated!

Unfortunately neither clang nor coverity did find this :/
Sent from my mobile

Okay I double checked it and actually it's not real a null-pointer dereference (although I still don't like it) - the code works even if credentialBlob is NULL.
What actually happens is,
if you use the address operator on a member of a NULL pointer struct, you get the offset of this member - so it's more or less the offsetof macro.
I tried the same thing within NV_Write:
so
e.g. something like
&(((TPM2B_MAX_NV_BUFFER *)NULL)->b))
yields 0 as a result, because
#define TPM2B_TYPE1(name, bytes, bufferName)
typedef union {
struct  {
UINT16  size;
BYTE    bufferName[(bytes)];
} t;
TPM2B   b;
} TPM2B_##name
/* Table 79  Definition of TPM2B_MAX_NV_BUFFER Structure */
TPM2B_TYPE1( MAX_NV_BUFFER, MAX_NV_BUFFER_SIZE, buffer );
-> So yes it becomes 0, it's not a NULL pointer dereference, but the code more or less only works since ->b is always the first element (thus offset 0).
If a different element is to be used, then you might get problems.
Also the  &(((TPM2B_MAX_NV_BUFFER *)NULL)->b))
is actually undefined behavior according to the standard.
See
https://stackoverflow.com/questions/26906621/does-struct-name-null-b-cause-undefined-behaviour-in-c11
and of course
https://en.wikipedia.org/wiki/Offsetof
I'd vote to fix these occurrences - but you can also close this issue - up to you.

It's an interesting observation and one that we can definitely clean up to make the code more clear / less odd. I don't see a reason that we wouldn't take a patch for this.

This should be fixed with the introduction of the MU library. Now this code looks as follows:
    if (!credentialBlob) {
        ctx->decryptNull = 1;

        rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer,
                                      ctx->maxCmdSize,
                                      &ctx->nextData);
    } else {

        rval = Tss2_MU_TPM2B_ID_OBJECT_Marshal(credentialBlob,
                                               ctx->cmdBuffer,
                                               ctx->maxCmdSize,
                                               &ctx->nextData);
    }

thanks for chasing down these old tickets @tstruk


remove mintable tokens query

fix #332

replaced by https://github.com/public-awesome/launchpad/pull/335


[FEATURE] Add Support for Download History in Drifty CLI

Is your feature request related to a problem? Please describe.
Drifty CLI lacks a feature that can detect previously downloaded files or processed links. Therefore, it cannot prompt the user to select a different filename or accept the generated one. The user will not receive any warning if they download the same file from the same link more than once.
Describe the solution you'd like.
Drifty GUI already has a feature to check for previously processed links or previously downloaded links. The CLI should also utilise this feature to serve the user better. Whenever the link is received, Drifty CLI should check for any previously downloaded links or processed links and provide a warning accordingly.
Screenshots
No response
Additional information
If anyone wants to work on this issue, please feel free to comment below and I will assign you with the task.

hey @SaptarshiSarkar12 I would like to work on this issue. please assign me this issue.

Sure @Abhishek2nayak! I am assigning the task to you.

@Abhishek2nayak How much is done? Did you start working on it? did you face any problem?

@SaptarshiSarkar12 yeah I started working on it . and i hope this will fixed soon .

@Abhishek2nayak Okay. That's great :+1:


RH-TREX Renaming

Renaming ocm-example-service to rh-trex --- much of this should be also soon be changed in our templatization!
Signed-off-by: Erin Murphy<EMAIL_ADDRESS>

@markturansky I consolidated everything I could to just trex now!

LGTM.   can you paste the output of make test && make test-integration ?   we don't have automation yet to run the tests. I'm presuming you're running them to ensure this PR.

Yep I have been, and ran them again here:
  11:35:17 AM  ─╮
╰─ make test                                                                                ─╯
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go install -ldflags="" ./cmd/trex
OCM_ENV=testing gotestsum --format short-verbose -- -p 1 -v  \
                ./pkg/... \
                ./cmd/...


Observatory timeline is no longer working

Clicking "refresh" button in Observatory timeline has no effect at all. Flutter version 48d5fcabbd805a622b74af2d2671ff0c845abdcd

cc @rmacnak-google

cc @a-siva @bkonyi
I think @flar has experienced similar issues.

I believe this is due to WebComponents V0 support being dropped from most version of Chrome.

This should be fixed as of this CL. This is likely a temporary workaround as Catapult will stop working eventually, but it should be enough for now.
Until the CL above rolls into Flutter, you can always save your timeline and then import it to the viewer in about://tracing.

See https://bugs.chromium.org/p/chromium/issues/detail?id=1036492
You can work around this by viewing the timeline with a build of Chrome before version 80

Thank you for the quick responses! A relative note: I exported a tracing with DevTools yesterday
timeline_2020_2_13-1581662382688000.json.zip
and it can't be opened by about:tracing, but it can be opened by perfetto.
@kenzieschmoll @devoncarew : do you plan to integrate DevTools with perfetto? Perfetto seems to be quite fast, and preserves some nice keyboard shortcuts from about:tracing (Catapult?).

I just tried and am able to import a DevTools json file into both chrome://tracing and perfetto. The trace you linked may be hitting an edge case.
We haven't looked into replacing our trace viewer with Perfetto or embedding it (if that's even possible). The DevTools trace viewer has some custom UI (like guidelines for enhanced async tracing) and usability features (like scroll to zoom in addition to WASD) that we've added and don't want to lose. We should however, ensure that DevTools traces can be imported into Perfetto (which seems like is already possible).
What are the keyboard shortcuts you are referring to?

@kenzieschmoll : I miss WASD and search.

I just added WASD to the flutter version of DevTools, so that will be available soon. I agree search is needed - this is something that is on our radar.


[BUG] Qwen-14B-Chat-Int4 在推理的时候报错

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
2张 3060 12g
推理的时候 报错
2023-10-31 11:54:27,374 - ERROR - Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 362, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 325, in execute
for data in application_iter:
File "/usr/local/lib/python3.9/dist-packages/werkzeug/wsgi.py", line 256, in next
return self._next()
File "/usr/local/lib/python3.9/dist-packages/werkzeug/wrappers/response.py", line 32, in _iter_encoded
for item in iterable:
File "/usr/local/lib/python3.9/dist-packages/flask/helpers.py", line 115, in generator
yield from gen
File "/usr/src/app/main.py", line 214, in generate_curl
for new_response in model.chat_stream(tokenizer, question, history=history):
File "/root/.cache/huggingface/modules/transformers_modules/Qwen-14B-Chat-Int4/modeling_qwen.py", line 1273, in stream_generator
for token in self.generate_stream(
File "/usr/local/lib/python3.9/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
response = gen.send(None)
File "/usr/local/lib/python3.9/dist-packages/transformers_stream_generator/main.py", line 931, in sample_stream
outputs = self(
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/accelerate/hooks.py", line 164, in new_forward
output = module._old_forward(*args, **kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/Qwen-14B-Chat-Int4/modeling_qwen.py", line 1108, in forward
transformer_outputs = self.transformer(
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/Qwen-14B-Chat-Int4/modeling_qwen.py", line 938, in forward
outputs = block(
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/accelerate/hooks.py", line 164, in new_forward
output = module._old_forward(*args, **kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/Qwen-14B-Chat-Int4/modeling_qwen.py", line 639, in forward
attn_outputs = self.attn(
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/accelerate/hooks.py", line 164, in new_forward
output = module._old_forward(*args, **kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/Qwen-14B-Chat-Int4/modeling_qwen.py", line 464, in forward
mixed_x_layer = self.c_attn(hidden_states)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/accelerate/hooks.py", line 164, in new_forward
output = module._old_forward(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/auto_gptq/nn_modules/qlinear/qlinear_cuda_old.py", line 221, in forward
self.autogptq_cuda.vecquant4matmul_old(x, self.qweight, out, self.scales.float(), self.qzeros, self.group_size)
RuntimeError: Unrecognized tensor type ID: AutocastCUD
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS: Ubuntu 20.04
- Python: 3.9
- Transformers: 4.31.0
- PyTorch: 2.1.0+cu118
- cuda: 11.8

备注 | Anything else?
No response

建议按README说明安装transformers，并确认版本为4.32.0，4.31.0还不支持AutoGPTQ.

使用 4.32.0 后还是同样的错误
Home-page: https://github.com/huggingface/transformers
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)
Author-email<EMAIL_ADDRESS>License: Apache 2.0 License
Location: /usr/local/lib/python3.9/dist-packages
Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex, requests, safetensors, tokenizers, tqdm
Required-by: auto-gptq, optimum, peft, transformers-stream-generator

OS: Ubuntu 20.04
Python: 3.9
Transformers: 4.32.0
PyTorch: 2.1.0+cu118
cuda: 11.8

排除transformers问题的话，这个环境的用pip直装auto-gptq可能还会触发个不匹配的问题。PyTorch版本可能需要降到2.0.1，参见 https://github.com/PanQiWei/AutoGPTQ/issues/374 请看下是否能解决这个问题哈


dxvk failed to install on wine 5.6-staging

OS : Debian sid
wine : 5.6-staging
dxvk : 1.6
I'm using one wine profile per game, so each time i install a new game i just do (where OOT change for each game, here its for Ocarina of Time) :
# WINEPREFIX="/mnt/STOCKAGE_01/.wine/x64/OOT" WINEARCH=win64 winecfg
# WINEPREFIX="/mnt/STOCKAGE_01/.wine/x64/OOT" WINEARCH=win64 ./setup_dxvk.sh install
After i upgraded to wine 5.6-staging, i just get this at dxvk setup output :
wine: configuration in L"/mnt/STOCKAGE_01/.wine/x64/OOT" has been updated.
/dxgi.dll: File not found in wine prefixs/c:/windows/system32
/dxgi.dll: File not found in wine prefixs/c:/windows/syswow64
/d3d9.dll: File not found in wine prefixs/c:/windows/system32
/d3d9.dll: File not found in wine prefixs/c:/windows/syswow64
/d3d10core.dll: File not found in wine prefixwindows/system32
/d3d10core.dll: File not found in wine prefixwindows/syswow64
/d3d11.dll: File not found in wine prefix/c:/windows/system32
/d3d11.dll: File not found in wine prefix/c:/windows/syswow64

The strange thing is if i install dxvk 1.6 with winetrick-master (on the same wine profile that previously failed, that ensure it's not a prefix issue) it just work fine. I really don't understand what happen...
I don't know what to provide for debug purpose, so feel free to ask

Works fine for me. Was that a fresh prefix?
This is especially weird because our script calls wineboot -u which should restore the wine DLLs before installing DXVK, but I guess I can just remove the safeguard...

I can confirm I'm seeing the same behaviour @Ski-lleR is describing, with a pre-existing prefix, which had DXVK 1.6 installed before upgrading to Wine Staging 5.6.
./setup_dxvk.sh uninstall
wine: configuration in L"/home/snowfall/.wine" has been updated.
/dxgi.dll: File not found. Skipping.indows/system32
/dxgi.dll: File not found. Skipping.indows/syswow64
/d3d9.dll: File not found. Skipping.indows/system32
/d3d9.dll: File not found. Skipping.indows/syswow64
/d3d10.dll: File not found. Skipping.ndows/system32
/d3d10.dll: File not found. Skipping.ndows/syswow64
/d3d10_1.dll: File not found. Skipping.ows/system32
/d3d10_1.dll: File not found. Skipping.ows/syswow64
/d3d10core.dll: File not found. Skipping.s/system32
/d3d10core.dll: File not found. Skipping.s/syswow64
/d3d11.dll: File not found. Skipping.ndows/system32
/d3d11.dll: File not found. Skipping.ndows/syswow64

./setup_dxvk.sh install
wine: configuration in L"/home/snowfall/.wine" has been updated.
/dxgi.dll: File not found in wine prefixws/system32
/dxgi.dll: File not found in wine prefixws/syswow64
/d3d9.dll: File not found in wine prefixws/system32
/d3d9.dll: File not found in wine prefixws/syswow64
/d3d10core.dll: File not found in wine prefixstem32
/d3d10core.dll: File not found in wine prefixswow64
/d3d11.dll: File not found in wine prefixs/system32
/d3d11.dll: File not found in wine prefixs/syswow64

Can't reproduce on an existing prefix either.

Wine 5.6 has winepath regression when compiled with MinGW installed.
https://github.com/Frogging-Family/wine-tkg-git/issues/17

Great... I'm pulling Wine from the official Staging repo, so that's affected as well.

Same but different from me as well
setup_dxvk.sh: 31: setup_dxvk.sh: 0: not found
wine: configuration in L"/home/jerick/.wine-witcher3" has been updated.
/dxgi.dll: File not found in wine prefix:/windows/system32
/dxgi.dll: File not found in wine prefix:/windows/syswow64
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
/d3d9.dll: File not found in wine prefix:/windows/system32
/d3d9.dll: File not found in wine prefix:/windows/syswow64
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
setup_dxvk.sh: 205: [: install: unexpected operator
/d3d10core.dll: File not found in wine prefixdows/system32
/d3d10core.dll: File not found in wine prefixdows/syswow64
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
/d3d11.dll: File not found in wine prefix/windows/system32
/d3d11.dll: File not found in wine prefix/windows/syswow64
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found
setup_dxvk.sh: 177: setup_dxvk.sh: 1: not found

So apparently the problem is that winepath appends an \r character to the returned string, which would explain the weird output.
@WinterSnowfall @Ski-lleR Does this version of the script fix the issue? (remove the .txt extension, Github won't let me upload it without it)
setup-dxvk.sh.txt

That was on a fresh prefix, with nothing installed.
Yes your fixed script fixed the issue :)

adding -0 to winepath fixes it for me
(https://build.opensuse.org/package/view_file/home:tobijk:X11:vulkan/dxvk/0001-setup-Use-0-option-with-winepath.patch?expand=1)

Using -0 sounds like a good approach, since it's an official parameter:
  -0            separate output with \0 character, instead of a newline

I don't think this change was intended in the first place, and \0 sounds dangerous by definition.
Again, I cannot reproduce the problem so I have to make do with something I know works, and replacing \r just happened to be the first thing people came up with.

@doitsujin The winepath regression should be fixed upstream now with this commit


Remap the Eject key?

I'm not sure if this should be possible, but is there a way to remap the Eject key?
If so, how?

You cannot do it.
https://github.com/tekezo/Karabiner-Elements#limitations


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_33732585-149c-40cc-af8b-010ccdf2b0cd/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_33732585-149c-40cc-af8b-010ccdf2b0cd.git

Docs Build status updates of commit 63692df:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


refactor: AGP 8.0 Support

Compile with Java SDK 1.8 .
Added Namespace Definition in android/build.gradle.
Corrected packageName in AndroidManifest.xml.

@microsoft-github-policy-service agree


Check if belts from trade deals stack properly with regular ones

Report from @beamnarak6404, need to reproduce and fix if it is a bug

Didn't reproduce


add reprs for classes

Hi -- thanks for the library 💙
was using this in debugger while developing something and found reprs to be useful -- though might as well PR it
ipdb> new_todo
Task('(A) 2022-02-14 something +seanfish deadline:2022-02-15-01-00')
ipdb> todo_sources
[TodoTxt(filename="/home/sean/data/todo/todo.txt"), TodoTxt(filename="/home/sean/data/todo/done.txt")]

Oh, nice! Sounds like a good idea to add that -- do you mind adding yourself to the AUTHORS.md file? You don’t have to, but I’d like to give credit where credit is due :)
Thanks a lot for helping to improve pytodotxt!

Thanks a lot! I’ll put the release out on pypi in a bit!


[** do not merge until 2/7 **] stage dl page updates for RC4

Create RC4 DL page and update Download Archives to ref the new page.

I can make a PR after the merge, but these are the added Docker Images to the download table:

.NET Core 1.0 RC 4
Installer
Binaries
Docker Images

Windows
32-bit / 64-bit
32-bit / 64-bit
1.1.0-sdk-msbuild-rc4-nanoserver

macOS
64-bit
64-bit

CentOS 7.1
-
64-bit

Debian 8
-
64-bit
1.1.0-sdk-msbuild-rc4

Fedora 23
-
64-bit

openSUSE 13.2
-
64-bit

Ubuntu 14.04
See notes below for Ubuntu 14.04 and Mint 17 installers
64-bit

Ubuntu 16.04
See notes below for Ubuntu 16.04 and Mint 18 installers
64-bit

Is it expected that the RC4 installer has no digital signature (I looked at the Windows 64-bit one only)?

@nil4 yes, the Windows installers should be signed. We're ironing that out right now.


libgcc compiling error since 11.0 switch

I tried to reconfigure the ps2dev environment on my dev machine today, and was met with a nice libcpp failure:
libtool: link: ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" )
../../../libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’:
../../../libcpp/expr.c:812:18: error: format not a string literal and no format arguments [-Werror=format-security]
  812 |        0, message);
      |                  ^
../../../libcpp/expr.c:815:39: error: format not a string literal and no format arguments [-Werror=format-security]
  815 |           virtual_location, 0, message);
      |                                       ^
../../../libcpp/expr.c:825:34: error: format not a string literal and no format arguments [-Werror=format-security]
  825 |      virtual_location, 0, message);
      |                                  ^

You can reproduce this by installing Nix on any linux capable machine, put a file named default.nix included below in a folder and, in the same folder, run the command nix-shell. Inside the environment try to run build-all.sh from ps2dev and you should encounter the issue.
default.nix:
{ pkgs ? import <nixpkgs> {} }:
let fhs = pkgs.buildFHSUserEnv {
  name = "ps2dev";
  targetPkgs = pkgs: (with pkgs; [
    gnumake
    clang
    clang-tools
    gcc
    wget
    git
    patch
    texinfo
    bash
    file
    bison
    flex
    gettext
    gsl
    gnum4
    gmp.dev
    gmp.out
    mpfr.out
    mpfr.dev
    libmpc
  ]);
  runScript = "bash";
};
in pkgs.stdenv.mkDerivation {
  name = "ps2dev-shell";
  nativeBuildInputs = [ fhs ];
  shellHook = ''
    # or whatever you want
    export PS2DEV=$HOME/ps2
    mkdir -p $PS2DEV
    chown -R $USER: $PS2DEV

    # setup login env
    export PS2SDK=$PS2DEV/ps2sdk
    export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
    exec ps2dev
    '';
}

Looks to be something missing in your NIX configuration
Here you have a similar issue.
https://github.com/jcmvbkbc/crosstool-NG/issues/48
The error is produced because a warning is generated.
So it isn't an issue in ps2toolchain-we

Oh gosh thanks for that, I completely missed that nix overwrote the defaults!
Thanks and sorry for the bother!


Correct command tedge tedge-mapper-c8y to tedge tedge-mapper c8y

Last commit from previous PR was not merged - sudo - tedge tedge-mapper c8y

Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

should not have it created


Ruby 3 Compatibility + Crawl Data

Allow passing data: {} into crawl! from this branch https://github.com/dtengeri/kimuraframework
Ruby 3 compatibility from this branch: https://github.com/n-studio/kimuraframework
Hopefully this PR gets merged into the main branch so everyone can benefit but if not I hope this helps a future traveler by providing a branch that merges two useful disparate branches.

@jkeen is your branch effectively the successor / continuation of Kimurai at this point? Seems like this has been somewhat abandoned, but updates are very much needed in some areas. If so, would you mind opening an issues area for further work/collab and potential issue reporting?

@vifreefly Is this project effectively abandoned? The villagers are plotting an uprising
@ylluminate It's not intended to be… but I guess it could? It's super frustrating when great OSS projects get semi-abandoned like this and everyone has little islands of fixes that never get merged back upstream. All I did with this branch is combine two islands to get my own thing working, and I PR'd in hopes it would get merged or at least to let other people find and benefit from it.
That all being said I don't really have the bandwidth to take over this project, so I hesitate to open up an issues tab inviting assumptions that I'm the maintainer… but caution thrown to the wind, I just did that. Issues are open, discussions are open.

Hey @jkeen, I would love to see a PR like this on Tanakai, my recent fork of Kimurai.

So it kinda seems that the choice has now settled to https://github.com/jkeen/kimuraframework vs https://github.com/glaucocustodio/tanakai for succession from a cursory glance...
And this thread makes it clear that vifreefly/kimuraframework is done: https://github.com/vifreefly/kimuraframework/pull/72

@ylluminate It does seem that way. 🤴
I'm not promising a bunch of new features and things moving forward, but I will do my damnedest to at least respond to PRs and things.
I just merged in some commits from the tanakai fork onto my kimurai fork. I kept the original name because it seems like tanakai is abandoned as well and we might as well keep this mess of abandoning a touch simpler moving forward.

hey @jkeen, Tanakai is not abandoned, it's just that I am focusing in other stuff recently, but contributions are welcome :), we can create an org to host it, so you have write access as well


VSCode opens the same file every single time it starts, no matter what I do

VSCode Version: 1.23
OS Version: Elementary OS Loki 0.4.1

Steps to Reproduce: I don't really know how it got into this state
Every single time I open VS Code, it opens the .env file from a project I haven't touched in months. It indicates that the file is changed/unsaved (even though it isn't), and asks me if I want to save it when I close it.
Even if I have another project open, if I close the window with this file open, then Exit VS Code, it still reopens the file the next time I start VS Code
I've tried changing the window.restoreWindows setting to none, but it still opens the file when I start VS Code
I've tried moving the project to a different folder. It still opens a file at the previous location when I start VS Code, and populates it with the old file's contents (even though the file is no longer in that location)
I've tried disabling all of my plugins and it still opens the file when I open VS Code.
 It is extremely frustrating.

I managed to resolve the issue by deleting ~/.config/Code/Backups/*


Sequential consumption and simultaneous consumption issues

有两个问题请教一下：
1.在之前开源的rocketMq当中，是可以通过选择队列的方式让同一类型的消息实现顺序消费，现在这个SCS该如何操作实现顺序消费呢。
2.spring.cloud.stream.rocketmq.bindings..producer.sync和spring.cloud.stream.rocketmq.bindings..consumer.orderly是否需要一起配置呢
There are two questions to ask:

In the previous open source rocketMq, it is possible to order the same type of messages to achieve sequential consumption by selecting a queue. Now how does this SCS operate to achieve sequential consumption?
2.spring.cloud.stream.rocketmq.bindings..producer.sync and spring.cloud.stream.rocketmq.bindings..consumer.orderly need to be configured together?

For Q1: need set partition key, refer PartitionSelectorStrategy & partition configuration items, make sure in the same message queue. It has been supported in 2.1.1, 2.0.1, 1.5.1 BUILD-SNSPH version and we have released SNAPSHOT version in sonatype snapshot repository, RELEASE version will be release next week.
For Q2: yes, orderly should be true

我也实现了 顺序消费 和 配置的 版本 在2.1.0中 本来今天打算提交的 发现了这个
非常期待2.1.1 版本


Manual Interaction: Ignore first x seconds

Hello,
the lights which I control have a function to slowly dim to the target value (e.g. if I switch on, it Dims to 100% within 5s).
Since I use this function, adaptive lighting seems not to work anymore and I think that this slow dimming to the target is seen as a manual user-interaction so that Adaptive Lighting becomes inactive.
Would it be possible to ignore manual interaction for a configurable time after switch on?
Greetings,
Hendrik

Hello,
the lights which I control have a function to slowly dim to the target value (e.g. if I switch on, it Dims to 100% within 5s).
Since I use this function, adaptive lighting seems not to work anymore and I think that this slow dimming to the target is seen as a manual user-interaction so that Adaptive Lighting becomes inactive.
Would it be possible to ignore manual interaction for a configurable time after switch on?
Greetings,
Hendrik

Hi. I think this will also help with an issue I have with tuya lights. I have some lights on local tuya (internet blocked from them) and the take control doesn't work on them properly. When the lights are turned on, they seem to change some settings and the take control understands that as a manual user-interaction, so the adaptive lighting is not activated when the take control function is selected. A ignore for x seconds after they are turned on should solve this as well.


feature: implement an initial mempool.space websocket client, and library for block-events

Description
This PR focus on solving the issues:

#4
#5

Refactoring the previous implementation for the competency test to become an initial library that produces a stream of BlockEvent, focusing only on new block data and deprecating the previous track-address and other features implemented.
This PR although moving some files in library structure, it's still maintained and makes it possible to use it through a CLI interface where the block events are printed to stdout.
As a result, now we have the module for mempool.space wrt to the WebSocket client, message building, and parsing (both for request and response).

Notes to the reviewers
There is no need to go through each commit, the PR could be reviewed as a whole to connect the parts and get an overview related to the logic and implementation.
There is no unit or integration test at the moment, as I'm still researching the best way to build some sort of running process with electrsd and bitcoind that replicates the mempool.space behaviour, and it's being addressed by the #6 . If you have any suggestion feel free to reach me on BDK discord :grin:
It has been tested locally with nigiri for running the bitcoind and also running mempool.space through docker, connected to the local regtest RPC.
If you would like to test it, please take a look at the README file for the commands and guidelines.

Checklists
All Submissions:

[x] I've signed all my commits
[x] I followed the contribution guidelines
[x] I ran cargo fmt and cargo clippy before committing

New Features:

[ ] I've added tests for the new feature
[ ] I've added docs for the new feature
[ ] I've updated CHANGELOG.md

This PR and its commits have been squashed and merged into #10, to make it easier for review and code checking at this stage.


enable set session tests

@kovrus is this PR still relevant?

@chaudum what should we do with this?


Add HistoryTree struct

Motivation
ZIP-221 specifies a header commitment to a history tree of the previous blocks.
Thie PR adds a HistoryTree struct that keeps track of the history using the zcash_history.rs wrapper of librustzcash.
Specifications
Relevant: https://zips.z.cash/zip-0221 (though this is just part of it)
Designs
See #2135 for some design discussion.
Solution
The HistoryTree struct keeps track of the tree, adding blocks, pruning the tree, and computing the root hash.
There are also some changes to zcash_history.rs that I only realized were needed when writing this.
Review
This was split off from #2301 to reduce its size so it was partially reviewed.
This has no tests because it is tested indirectly by #2301. However I'm thinking of adding some basic tests; feedback is welcome.
@teor2345 may want to finish reviewing it, and @dconnolly may want to take a look to review the future interaction of this code with the note commitment trees.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work
Part of #2135
Removing blocks will be added in #2378.
Pruning will be refactored in #2377.
Proper Orchard support will be added along with zcash_history support in https://github.com/ZcashFoundation/zebra/issues/2283. Currently it only has the placeholder parameters for the Orchard roots.

I'm going to get @dconnolly to review this PR, feel free to tag me if you have any questions.

@conradoplg made some comments and suggestions for you


Add a setting for the default currency code

The default currency code should be set in the backoffice

Breaking change
The flow has changed to check for an override, then the configuration service and finally from the currentuiculture
Added in V1.1


handle empty parameters for anthropic function calling

when tool has zero arguments, anthropic doesn't return a JSON, but an empty string. setting default value to empty dictionary

Thanks! I believe this is correct. Merging!

@kwindla FYI


404 trying to downloading<EMAIL_ADDRESS>

Expected Behavior
jimp installs
Current Behavior
Fails to install
Failure Information (for bugs)

npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>npm ERR! A complete log of this run can be found in:

Steps to Reproduce

I ran npm install --save-dev jimp

Screenshots

Context

Jimp Version: Default
Operating System: MacOs
Node version: v8.11.3

Failure Logs

npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>npm ERR! A complete log of this run can be found in:

Hmmm I just tried a fresh install and it seemed to work fine. Are you sure you're connected to the internet?

@hipstersmoothie
I am. The odd thing is the link it gets 404 from works fine in my browser.

@hipstersmoothie
I got it to work by commenting out my _auth value and email from .npmrc someone elsewhere mentioned having an issue with downloading an angular dependacy when they had always-auth=true but commenting that out didn't work so i tried commenting out my credentials
I had it something like:
_auth = ${AUTH}
email = ${EMAIL}
always-auth=true

registry=https://registry.npmjs.org/
@omitted:registry=https://jfrog.omitted.com/omitted/

any idea why npm would get a 404 for just for plugin-flip for having those values set but not for the others?
It's not hitting my private registry either:

161 http fetch GET 404 https://registry.npmjs.org/@jimp%2Fplugin-flip 807ms
162 silly fetchPackageMetaData error for<EMAIL_ADDRESS>404 Not Found<EMAIL_ADDRESS>


Add screenfetch tool

Screenfetch fetches system/theme information in terminal for Linux desktop screenshots.
Added in Tools and Plugins section.

@k4m4
I wish to add some awesome lists. Should I be adding each source one pull request at a time, or is it ok if I add multiple sources in 1 PR ?

1 Pull Req. for each suggestion. Thanks! @kaustubhhiware


[mle] drop Child ID Response if Router IDs do not match

The Child ID Response message contains the RLOC16 that the Parent
assigns to the Child. Add a check to ensure that Parent's and Child's
Router IDs match. If the Router IDs do not match, drop the Child ID
Response message.

I wonder if the child can attach successful if this is the buggy Router is the only available parent, because the incorrect RLOC16 may not be cleared.

I wonder if the child can attach successful if this buggy Router is the only available parent, because the incorrect RLOC16 may not be cleared.

It is possible. I guess a child could send a Child Update Request with a Child Timeout set to zero, but is this worth the effort?

I wonder if the child can attach successful if this buggy Router is the only available parent, because the incorrect RLOC16 may not be cleared.

It is possible. I guess a child could send a Child Update Request with a Child Timeout set to zero, but is this worth the effort?

I think it's not worth adding more complexity, which also adds risk.


What major issue are you facing right now?

I am super interested in VocGAN research and want to help you in any way possible to get this repo to maturity.

Thanks, But appox. all issues are resolved in latest commit. You can modify the model architecture for better performance and quality.


Backend Routes

Backend Routes

[ ] Contains the following sections: HTML, API Endpoints(Backend)
[x] Each route has a description
[x] API Endpoint routes contains wildcard variables written in snake_case
[ ] Routes does not contain superfluous routes
[ ] Have API routes that will allow the front end to get all info it needs and does not have unneeded routes:

probably doesn't need a GET likes api endpoint because that info comes through the post show

Review
GET /api/users - Returns the reviews of a user (to be modified).
POST /api/users/product_id - Writes a review of a product.
^ /api/users/:user_id/reviews    would get you all the reviews that user has made
/api/products/:product_id/reviews    would get you all the reviews for a product
UPDATE /api/users/id/product/id - Adds a product to the cart (to be modified).
^ POST and it would be for /api/cart_items
DELETE for /api/cart_items/:cart_item_id to remove an item from the cart.
Remember that we only keep one session and we know exactly who the current_user is, you don't need to nest everything under /users/:user_id
From the above I hope you get the point. Let me know if you need to meet to talk about both front end and backend routes.

https://github.com/appacademy/bluebird/wiki/backend-routes

@paulobocanegra well, this was embarrassing. All of the backend routes was completely and absolutely a bogus copy and paste template. LOL you proof read not even a rough draft :D. I thought it was only the state sample I need to focus on.
Its updated now.


Add auth scaffolding

I also made UUIDs the default in this project. \o/

I do like using the mix phx.gen.* tasks whenever possible. They give you a lot of nice scaffolding.


Inconsistent cop names Lint/DisjunctiveAssignmentInConstructor and Lint/OrAssignmentToConstant

Both of these cops relate to the ||= operator, but have different names ("disjunctive assignment" vs "or assignment"). They should be made consistent.

@bbatsov I'm not sure if this is something that can be done before 2.0?

Yep, this will have to wait unless we figure out a way to be able to have a primary cop name and some alias for the sake of not breaking user configuration when renaming stuff. I guess we should start some list of all the cops we'd like to rename for one reason or another.

We should also agree which name to adopt as the canonical one. I assume that disjunctive assignment is the "proper" term, but I'm not sure about this.

Agreed. FWIW I've never seen "disjunctive assignment" elsewhere, but it sounds fancier. It might be confusing to end-users though (and it was raised when the cop was first created - https://github.com/rubocop/rubocop/pull/6608#issuecomment-450776354)

Fair point - logical or is known as "disjunction", but I've heard this term used only in academic contexts. Perhaps we should stick to simpler terms.

I think it's fine to stick with disjunctive, it's just more academic, but that's not a bad thing :grin:


Adds an example SLI query for canary app availability [#158378094]

This includes an example query for the canary app availability sli. This example is in line with how we plan to do uptime/error budget in healthwatch. It is not a simple query that spits out 9s. We could (and have) written a simple query that does this, but only because the metric value of 1 = healthy and 0 = fail which does not apply to all cases, and may only apply to black box pass/fail cases.
Here's how we plan to do sli calculation in healthwatch:
indicators:
- name: canary_app_availability
  service_level: {}
  promql: health_check_CanaryApp_available{source_id="healthwatch-forwarder"}
  thresholds:
  - level: critical
    lt: 1

So here we are saying that the canary app indicator is in a critical state if the value is less than 1. Notice that the promql has no ranges/aggregates. We could do an average over 5 minutes and our threshold could be a fraction, but this may be perceived as "fudging the number" as they say. If we run this query 60 times over the last hour, and we are in a critical state once, the uptime is 59/60 or 98.3%.
Let's look at a more interesting example to see why this is necessary.
indicators:
- name: http_latency
  description: Service level is in adherence if 95% of requests complete within 1 second.
  service_level:
    objective: 0.9999 # defined by operators, 259 seconds of error budget allowed over the last 30 days

  # taking all endpoints into account, what percentage of requests complete within a second
  promql: sum(rate(http_request_duration_seconds_bucket{le="1"}[1m])) / sum(rate(http_request_duration_seconds_count[1m]))
  thresholds:
  - level: critical
    lt: 0.95 # defined by component developer, can be overridden by operator

This is a latency SLI. We can get all values over the past 30 days by running a query_range against log-cache. We should evaluate this with a step of 15s for granularity. For each result that is less than 0.95, we subtract 15 seconds from the error budget. So if it is in a critical state 10 times in the last 30 days, we have 259 - (10 * 15) = 159 seconds of error budget remaining. Stephen Thorne's post has some good information on this!

@AmberAlston I've updated this PR to include grabbing the latest value of cf push healthcheck from log-cache


Module wakup clarification

As we all know lora is a low power consuming technology and for the most of the time each node should remain in sleep mode consuming less power as possible. I saw that the library has the sleep function. But my question is after putting the device in sleep mode for 10 seconds. After that time the device wakes up automatically or i have to do that manually? I found on the internet the following function to wake up:
void wakeUP_RN2483() {
    Serial1.end();
    pinMode(PIN_SERIAL1_TX, OUTPUT);
    digitalWrite(PIN_SERIAL1_TX, LOW);
    delay(5);
    digitalWrite(PIN_SERIAL1_TX, HIGH);
    Serial1.begin(57600);
    Serial1.write(0x55);
}

Thanks

When you call the sleep function you have to give a time in milliseconds for how long the radio should sleep. After that amount of time the radio will automatically wake up. Only when you want to wake up the radio before the timeout has expired you have to use the function as you posted.
It might be an idea to add the wake up function to the library, but the problem is that the library does not know about the pin numbers used for the serial. Only which stream is used.
Another option could be to use the autobaud() function to wake up the radio.


Update Blog “biryani”

Automatically generated by Netlify CMS

👷 Deploy Preview for voluble-torrone-2d1f72 processing.

Name
Link

🔨 Latest commit
5ebeee502977d6be35e740daeadab583f6b75655

🔍 Latest deploy log
https://app.netlify.com/sites/voluble-torrone-2d1f72/deploys/63fc3377e30f6400089f7d77


postgres DB shows now packages

In Dbeaver, I cannot see packages.

However in pgadmin they are there.

There are no errors in the errors log.  Any idea why the packages do not show?

Hello @enderjsv,
DBeaver does not show packages because this feature is not implemented.
I'll mark it as a feature request.

Thank You ShadelessFox


fix(back-compatibility): Use plain functions instead of arrow functions

Some older browsers and/or node versions do not support => functions, so use regular function declarations instead.

I appreciate the PR! Is this PR actually needed in order for you to adopt this package or were you just sending it preemptively?
I'm actually interested in moving away from IE11 in my new packages. Support for arrows looks pretty good:

I'm keen to just say that it's the user's responsibility to transpile this to work in their environment if they care, otherwise someone else could come along as ask for ES3 support.

I just saw the project on my feed and was curious about it. I took a quick look at the code to see what you were doing when I noticed support for pre-Promise and then saw the =>. I was pretty sure that the => and Promise support occurred at the same time in node, so I just thought I would just send the fix your way since I noticed it. I do not use the package myself, but I thought I would just be nice to send in the bug/compatibility fix. Feel free to do with this as you like 😄

Thanks @toddbluhm, I appreciate it :)


[SPIKE] Look into calculating unknown emissions by the usage amount rather than the cost

Currently, we are calculating unknown emissions creating a new Co2e/Cost coefficient by totaling both the cost and co2e per classification (Compute, Storage, Networking or Memory) and getting a Co2e per Cost ratios for each classification. We then reclassify each unknown usage row based on its pricing unit and usage type (ex reclassifying it as Compute). We then multiply the respective ratio by the cost associated with each reclassified unknown usage row to get an approximate carbon estimation.
We think we might be able to get more accurate results if instead of cost, we used the usage amount associated with each usage row. This would be essentially the same implementation but the ratios would instead be co2e per usage amount and those ratios would then be multiplied by each usage rows usage amount rather than cost.
We can start by creating new tabs in the existing spreadsheets and analyzing the difference in the data. If we feel comfortable with this approach, we could create an implementation ticket to update the code base.
Note: make sure you are looking at the usageType and usageUnit
A/C's

[ ] Document calculation method as it will be needed to write up blurb for microsite

Changes pushed, QA tested locally and looks good. Closing this off.

After analyzing this approach for all three cloud providers, this should be the new algorithm for handling Unknown usage types:

For known usage types, track usageAmount and kilowatt Hour per service and usage unit:

appEngine: {
seconds: {
usageAmount: 10,
kilowattHours: 100,
}, {
bytes: {
usageAmont: 20,
kilowattHours: 200,
}, {
computeEngine: {...},
totals: {
seconds: {...},
bytes: {...},
totals: {...}
}```
2. For unknown rows, if there is a known ratio with the same service and usage unit, multiple the usageAmount by the ratio
3. If there is no same service and usageUnit, then multiple the usageAmount by KwH/usageUnit ratio for all known usage (total)

GCP specific notes:
- For usage unit "requests", multiple the usageAmount by the total kilowattHour per usageUnit for all units
- For the services "Secret Manager" and "Cloud Key Management Service (KMS)", also multiple the usageAmount by the total kilowattHour per usageUnit for all units

AWS specific notes:
- We should continue to use Cost instead of usageAmount as a proxy, because there is no usage unit for AWS, only "pricing unit". Because of this Cost is a more accurate denominator to use

Azure specific notes:
- Given the large permutations of usage units, we should normalize them before classifying the unknown usage. E.g. "10 hours" and "100 hours" become "hours".


BGE - Process Batch button and hiding batch configuration

Critical Changes
Changes

Added the Process Batch button to the BGE UI
Hid processing settings when BGE batches are processed

Issues Closed
New Metadata
Deleted Metadata

**lurch: attach W-028756

Tracking W-028756

**lurch: attach W-028756


Not compatible with touchscreen

I'm submitting a ...
[ ] feature request

Do you want to request a feature or report a bug?
feature

What is the current behavior?

The present drag and drop is not compatible with touchscreen.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar.

What is the expected behavior?
Can it be made usable with touchscreen too?

What is the motivation / use case for changing the behavior?

Now-a-days every one is using mobiles, tablets and touchscreen laptops, so it is better to have drag and drop compatible with touchscreen

Please tell us about your environment:

Angular version: 2.X.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Was able to use this on Chrome in Android 7.0 but sadly failed on iPhone 6. :(

Yeah, it's failing on apple devices here too.


Change Linked YouTube Video to Ricky Star

lmao video literally can't be embedded

To be honest I just want to give up on ricky star I'm sorry that I'll have to let you down so I'm just going to run around you and desert you I'm sorry that I make you cry and this is where I say goodbye but I'm just telling a lie and I'm sorry I hurt you

Agreed.


[luci-app-vpn-policy-routing] adding wildcard domain names to luci when using dnsmasq ipset

Hi,
First of all thank you all for your effort for providing me and others with a great product.
When using "vpn-policy-routing" package from cli, it is possible to add follwing configs
config policy
	option dest_addr '.youtube.com'
	option interface 'tunel'

config policy
	option interface 'tunel'
	option dest_addr '.youtu.be'

config policy
	option dest_addr '.ytimg.com'
	option interface 'tunel'

config policy
	option dest_addr '.ggpht.com'
	option interface 'tunel'

config policy
        option dest_addr '.googlevideo.com'
        option interface 'tunel'

config policy
	option interface 'tunel'

that is somehow treated as a wildcard domain and I have tested it.
But when using luci application, I get "invalid"
when I try to save the values.

My environment is as follow:
OpenWrt 19.07.3 r11063-85e04e9f46
TP-Link Archer C5 v1
LuCI openwrt-19.07 branch git-20.136.49537-fb2f363
vpn-policy-routing 0.2.1-13
luci-app-vpn-policy-routing git-20.167.61968-87da00a-73
I tried to find out where all validation happens and send a PR but could not find any clue. I'm new to openwrt specially luci development.
Thanks.

it seems when I specify source address this type of domain is not working

@stangri

@yazdan should work without the leading dot.

@stangri I need to route all sub-domains in wildcard fashion and when I add sites without leading dot it seems not working. But I try it and let you know. I may have mixed up things.

With dnsmasq.ipset setting it should work for subdomains without the leading dot.

Aha Thanks a lot

Closing this as it does not appear to be a bug.


Would be nice if clicking on an entry that is complete in the Activity log opens the treeview node where the job was done

In a scenario where a task takes a long time to complete and i am multitasking on other tasks, it would be nice when the long-running task is done, i can click on the entry in the Activity log to switch to the treeview node and the corresponding editor to go back to that work.

Jing opened this after doing an upload. A general solution will be difficult, and may not make sense for any given activity. For upload, it could at least be a good idea to add a "View Files", "Open Container", etc. action, to help people regain context after a long running upload finishes.


Add a github star button at the Navbar

Describe Feature
Your task is to build a GitHub star button and add it to the left side of the SignUp button.
Screenshot:

Inspiration:
https://supabase.io/

Can I please work on this issue?

Can I work on this issue?

@random3900 Yes! you can work on this.
assigned to you

Can I work on this issue?

Hey @Sockalingam29
Just assigned to @random3900, you can pick a different issue from the GitHub issue page.

Can I please work on this issue?

Please share the screenshot of the changes before committing your code, If you need any help, feel free to ping me.

Sure! Thanks!

Please assign me this issue

Please assign me this issue

Hey @Smriti925 already assigned to @random3900
You can pick a different issue from the GitHub issue page.

Feel free to star this repo.

Hey! Is this fine?

Hey! Is this fine?

Looks good to me!
Can you please add some kind of hover effect on this button similar to this
And You also need to add this button on the mobile dropdown menu similar to this website

Can you please add some kind of hover effect on this button similar to this

You can fill the star with white color on hover!

Can you please add some kind of hover effect on this button similar to this

You can add give the white bg color to star on hover!

Sure, could you please tell me how to view them? I can only see the comment by the Vercel bot.

Sure, could you please tell me how to view them? I can only see the comment by the Vercel bot.

You can see it over here: https://github.com/rishipurwar1/coding-space/pull/127

Thanks, I've made the necessary changes and committed them to the PR branch

Thanks, I've made the necessary changes and committed them to the PR branch

Thanks for your valuable contributions.
Changes are live on the website.


Fix: Application breaking when pay button was clicked

Notion Card
Notion Card
Description

Show pop-up when invoice is being sent without connecting a payment gateway in the application.
Show an error pop-up when the user clicks on the pay button after clicking on the view invoice button when viewing the invoice email.

Preview
Before stripe connect -
https://github.com/saeloun/miru-web/assets/57438322/b39b8dbd-6d30-490c-a51f-2e8d0e34311d
After connecting the stripe -
https://github.com/saeloun/miru-web/assets/57438322/0316c436-dcb5-4d3d-8ace-975b87791a42
Note

I've not added the preview for when the user clicks invoice since we have disabled sending of the invoices.

@prasanthchaduvula I've made the requested changes. Please review.

@prasanthchaduvula I've made the requested changes. Please review.

@prasanthchaduvula I've made the requested changes. Please review.

@apoorv1316 I've made the requested changes. Please review.


does the Master account needs to be a cloud only account or can it be an account that is synced from on-prem using AD Connect?

does the Master account needs to be a cloud only account ( created in online ) or can it be an account that is synced from on-prem using AD Connect ?

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

ID: 0fdac5f7-cd43-34c5-5905-dceeb9813952
Version Independent ID: 6fd53f84-dbb2-2a9c-2745-ea1999779113
Content: Embed content in your application for your customers - Power BI
Content Source: powerbi-docs/developer/embed-sample-for-customers.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi, @Neenisharma -- thanks for your question! I've assigned it to the author to get back to you.

Hi @Neenisharma,
According to our development team the master account can it be an account that is synced from on-prem using AD Connect.
In any case, this looks like a support request or product question rather than documentation feedback.
If you need further assistance, you might find a solution in the Power BI Community. If not, try our support page.


Message in reaction roles, Stats fixing

Not yet done. Will doing this in the next days maybe.
This code will mostly break the whole bot. This time it is really necessary to review the code

Dan being funny again.

Can you add confirm button to delete cmd

deprecated

Just adding a few more infos and the stats work again

@danielpmc
I think everything is done.  Are it about 300GB/server or are it Mb? Because I now multiply it by 1000 to show the size in Gb

Its different per node.

@danielpmc I think everything is done.  Are it about 300GB/server or are it Mb? Because I now multiply it by 1000 to show the size in Gb

But for example Node 6 has 300GB and not 300MB?

I have removed the buttons I added.
The stats command should work fine. I will edit it over the time to provide single node infos etc.
In reaction roles there is a medsage semd saying you got the role. The message sill be deleted after a few seconds

Will be closing due to being outdated as well as conflicts.


Bugsnag report error details

Changes
Adding internal error and public error details to Bugsnag context by default so we can avoid doing it manually
Checklist

[x] Apply one of following labels; major, minor, patch or skip-release
[x] I've updated the documentation, or no changes were necessary
[ ] I've updated the tests, or no changes were necessary

@kibertoad finally decided to do it here because, if I am not wrong, it will solve the issue for all the services/libraries where we are using Bugsnag, please correct me if it is not right 🙏


Documentation request for beginners

No doubt preact and surprisingly small. But I'm not able to follow the documentation much given on main site. It looks like the people who have already worked with reactjs and looking for small library can easily switch to preact. I couldn't even find much tutorials on google.
So what would be right way for the beginner who doesn't have basic knowledge of setting up babel, webpack etc.? Do we have documentation/API library? Do I need to learn reactjs first?
I started with a codepen example. But it looks like that the example given on type of component are also broken. When I click on "Run in REPL", nothing is displayed. I'm checking in chrome browser on Ubuntu machine.

Hi there @amitguptagwl! You're right, the documentation for people who haven't worked with Virtual DOM Components previously is a little lacking.  We have the Getting Started guide, but it intentionally skips over any sort of Babel/Webpack setup.  This is done because Preact doesn't require any of that, rather it's just commonplace these days.  However, it'd be nice to have a "zero to sixty" type tutorial, taking you from a


Font is hard to read (especially on stream)

The typeface with the black weight is very strong and hard to read, in combination with the white text color on the dark grey background.
For the player labels, it's even less readable.
The "Titillium Web" font used in one of the sandbox forks was an improvement.

I think Titillium Web is currently used, but you're only using a 900 weight instead of the 400/500 weights referenced in the CSS.

Yes, chat asked for a bigger font, I was using 600 so I added the 900... but as previously mentioned I am not good at design, so will trust your judgement :)


Adds configs

@cmccoy  Would you mind taking a look?

PTAL

PTAL

I've been trying some typo injection. Strange errors occur:
Rename default -> defaults:
python pkb.py --benchmarks cluster_boot --config_override=cluster_boot.vm_groups.defaults.vm_count=1
2015-10-08 15:53:38,909 dd009cab MainThread INFO     Verbose logging to: /tmp/perfkitbenchmarker/run_dd009cab/pkb.log
2015-10-08 15:53:38,909 dd009cab MainThread INFO     PerfKitBenchmarker version: v0.21.0-125-g1000689
2015-10-08 15:53:38,909 dd009cab MainThread INFO     Flag values:
--benchmarks=cluster_boot
--config_override=cluster_boot.vm_groups.defaults.vm_count=1
2015-10-08 15:53:39,020 dd009cab MainThread cluster_boot(1/1) ERROR    Error during benchmark cluster_boot
Traceback (most recent call last):
  File "/usr/local/google/home/connormccoy/git/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 271, in RunBenchmark
    spec.ConstructVirtualMachines()
  File "/usr/local/google/home/connormccoy/git/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py", line 236, in ConstructVirtualMachines
    vm_spec = vm_spec_class(**group_spec[VM_SPEC][cloud])
KeyError: 'vm_spec'
2015-10-08 15:53:39,021 dd009cab Thread-1 cluster_boot(1/1) INFO     Running: gcloud compute instances delete pkb-dd009cab-0 --format json --quiet --zone us-central1-a
2015-10-08 15:53:40,506 dd009cab Thread-1 cluster_boot(1/1) INFO     Ran gcloud compute instances delete pkb-dd009cab-0 --format json --quiet --zone us-central1-a. Got return code (1).
STDOUT:
STDERR: ERROR: (gcloud.compute.instances.delete) Some requests did not succeed:
 - The resource 'projects/bionic-baton-343/zones/us-central1-a/instances/pkb-dd009cab-0' was not found

2015-10-08 15:53:40,507 dd009cab Thread-1 cluster_boot(1/1) INFO     Running: gcloud compute instances describe pkb-dd009cab-0 --format json --quiet --zone us-central1-a
2015-10-08 15:53:42,028 dd009cab Thread-1 cluster_boot(1/1) INFO     Running: gcloud compute disks delete pkb-dd009cab-0 --format json --quiet --zone us-central1-a
2015-10-08 15:53:43,566 dd009cab Thread-1 cluster_boot(1/1) INFO     Ran gcloud compute disks delete pkb-dd009cab-0 --format json --quiet --zone us-central1-a. Got return code (1).
STDOUT:
STDERR: ERROR: (gcloud.compute.disks.delete) Some requests did not succeed:
 - The resource 'projects/bionic-baton-343/zones/us-central1-a/disks/pkb-dd009cab-0' was not found

2015-10-08 15:53:43,567 dd009cab Thread-1 cluster_boot(1/1) INFO     Running: gcloud compute disks describe pkb-dd009cab-0 --format json --quiet --zone us-central1-a
2015-10-08 15:53:45,049 dd009cab MainThread cluster_boot(1/1) INFO     Complete logs can be found at: /tmp/perfkitbenchmarker/run_dd009cab/pkb.log
Traceback (most recent call last):
  File "pkb.py", line 21, in <module>
    sys.exit(Main())
  File "/usr/local/google/home/connormccoy/git/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 461, in Main
    return RunBenchmarks()
  File "/usr/local/google/home/connormccoy/git/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 387, in RunBenchmarks
    RunBenchmark(benchmark, collector, i + 1, total_benchmarks)
  File "/usr/local/google/home/connormccoy/git/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 271, in RunBenchmark
    spec.ConstructVirtualMachines()
  File "/usr/local/google/home/connormccoy/git/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py", line 236, in ConstructVirtualMachines
    vm_spec = vm_spec_class(**group_spec[VM_SPEC][cloud])
KeyError: 'vm_spec'

What running with --config_override=cluster_boot.vm_groups.defaults.vm_count=1 does is add a new group called "defaults" with no vm_spec - that's where the keyerror comes from. I agree that the user should get some kind of warning if the override doesn't make sense - I'll add that.

New behavior:
$ python pkb.py --benchmarks cluster_boot --config_override=cluster_boot.vm_groups.defaults.vm_count=1
2015-10-08 17:35:29,922 028ff84d MainThread INFO     Verbose logging to: /tmp/perfkitbenchmarker/run_028ff84d/pkb.log
2015-10-08 17:35:29,922 028ff84d MainThread INFO     PerfKitBenchmarker version: v0.21.0-158-gb1a5de2
2015-10-08 17:35:29,923 028ff84d MainThread INFO     Flag values:
--benchmarks=cluster_boot
--config_override=cluster_boot.vm_groups.defaults.vm_count=1
2015-10-08 17:35:30,150 028ff84d MainThread WARNING  The key "defaults" was not in the default config, but was in user overrides. This may indicate a typo.
2015-10-08 17:35:30,150 028ff84d MainThread INFO     Complete logs can be found at: /tmp/perfkitbenchmarker/run_028ff84d/pkb.log
Traceback (most recent call last):
  File "pkb.py", line 21, in <module>
    sys.exit(Main())
  File "/usr/local/google/home/ehankland/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 481, in Main
    return RunBenchmarks()
  File "/usr/local/google/home/ehankland/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 400, in RunBenchmarks
    benchmark_module.GetConfig(user_config)), {}))
  File "/usr/local/google/home/ehankland/PerfKitBenchmarker/perfkitbenchmarker/benchmarks/cluster_boot_benchmark.py", line 40, in GetConfig
    return configs.LoadConfig(BENCHMARK_CONFIG, user_config, BENCHMARK_NAME)
  File "/usr/local/google/home/ehankland/PerfKitBenchmarker/perfkitbenchmarker/configs/__init__.py", line 321, in LoadConfig
    _ValidateConfig(config)
  File "/usr/local/google/home/ehankland/PerfKitBenchmarker/perfkitbenchmarker/configs/__init__.py", line 299, in _ValidateConfig
    _ValidateGroup(group_name, group)
  File "/usr/local/google/home/ehankland/PerfKitBenchmarker/perfkitbenchmarker/configs/__init__.py", line 260, in _ValidateGroup
    (group_name, ' '.join(missing_group_keys)))
perfkitbenchmarker.errors.ValueError: Missing required key(s) in group "defaults": vm_spec

This is looking great! Thanks @ehankland @cmccoy for contributing this awesome feature to PKB.

PTAL

PTAL

Test this please.

@meteorfox: any chance you'd be able to test this on Rackspace? A benchmark or two would be fine - just hoping to verify that the defaults work.

test this please.

Other than trying to get some tests run on other providers, LGTM.

test this please.

test this please.

Seems like jenkins didn't pick up the latest changes...  https://github.com/ehankland/PerfKitBenchmarker/commit/0e9569b2785eb78ebbecadfc0afa4bab0bc was the reason copy_throughput broke (iops is not a flag, but scratch_disk_iops is). Might have something to do with rebasing and not just adding a new commit. Ran locally after the fix and it worked. Running another test to see if it will work this time.

@cmccoy Sure, I'll run a few benchmarks on Rackspace.

@cmccoy @ehankland
I tested this PR with Rackspace, I had to patch a few things to get it working. Here's the patch
https://gist.github.com/meteorfox/2de16488361ae8b1c014

@meteorfox  - thanks for testing it out. Do you want me to apply the entire patch or just the firewall and image bits? The rest didn't look related to this change.

@ehankland
Yes, please, just apply the the firewall, and image bits. I'll submit a PR with the SSH key and lock changes, since I just noticed that simply removing the lock isn't going to do it, because it creates a race condition when uploading an SSH key used by multiple VMs to the same region, but leaving the lock wouldn't work for benchmarks that spans several zones (or regions). Regardless, all of this code is actually not needed, we already pass the key using the cloud-init template. I already started working on a PR, it will actually just be removing this unnecessary logic, and simplifying the public key code.

@cmccoy @ehankland I submitted PR #531 for the firewall fix. Currently in master, Rackspace provider is broken due to this issue, which I missed due to lack of testing on Rackspace. :smile:
In that case, you would only need to apply the image bits from the patch I suggested above.


ntfy-sh: build and package web UI and docs

Fixes #188695
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Also added an extra sed to correctly set the version number in the resulting binary. Because upstream uses goreleaser, which can only use the latest git tag from the build directlry, this is necessary to get the version number in --help.

- ntfy: set version number and strip binary
+ ntfy-sh: set version number and strip binary

Final change, I promise. So sorry this took so much back and forth.

Oops, well, that was just sloppy of me.
And I see this as a learning experience, so no hard feelings. :)
Grateful for all your time and input!


Lucas araujo

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


⭐FEAT: Search language

Is your feature request related to a problem? Please describe.
When I want to filter the projects, I must scroll and find word by word the filter I want.
Describe the solution you'd like
A search input inside of the dropdown that list the filters to be possible to search the filter the user want.
Additional context
I can contribute with this feature opening a Pull Request 😊

I opened a Pull Request containing this feature.
I hope to be useful.
https://github.com/ArslanYM/StarterHive/assets/12664500/145cba18-dc56-44df-afc8-a65f30d73f51


Support Clojure 1.12 array class tokens

The new foo/3 was reader-illegal prior to 1.12.
Bring in and customize some tools.reader bits and bobs to support reading this new syntax.
Clojure's symbol allows us to construct technically illegal symbols, we take advantage of this to test and support this new syntax in any version of Clojure via, for example, (symbol "foo" "3").
Closes #279

@borkdude, when you have some time/interest, I think this PR's approach merits a review.
Recap of options from #279 (with some additions). Support new syntax in rewrite-clj by:

Waiting for and relying upon an upcoming clojure.tools.reader release that reads this new syntax
[this PR] Bringing in necessary support to rewrite-clj itself
Entirely inlining clojure.tools.reader and adapting as necessary (this is the approach you took for clj-kondo). This could have other benefits and would make relaxing parsing rules easier.
Switching from clojure.tools.reader to edamame. You were half-joking, but it might be an interesting experiment someday. Because you control edamame, it could be adapted/extended however we see fit.

I'm certainly open to 4 since I have to support the symbol with numeric anyway too. In edamame I also rely on tools.reader btw but only on tools.reader.edn, like rewrite-clj (which was my inspiration initially).

I had not looked at edamame source code in a while. I kinda like that it is not shy about using clojure.tools.reader impl namespaces. I will keep that in mind for future changes.
I like the idea of exploring using edamame. It would be a bigger change with a (potentially) bigger impact on rewrite-clj users. I guess we could explore edamame separately from this issue/PR. It probably deserves a decision matrix.

Unless you see a problem with this PR @borkdude, I think I'll go ahead and merge it.

LGTM!


Allow Users to Supply Their Own BigQuery Client

Add a flag 'user_supplied_client' which prevents the library from attempting
to create a BigQuery client.
Document the use of connect_args for suppling their own BigQuery client
to the dbapi

Fixes #464 🦕

Please implement this!  Will really help with Airflow use cases

@chalmerlowe Please could you take a look?

I will look at this and provide some feedback.

Just a heads up.  I've tested the functionality of this PR and it seems to work.  No issues found so far.

Anything I can help with to get this moving?

@waltaskew @DimaK415
Thank you for you assistance in getting this over the finish line.


5322

Modified set_log_level to support multiple class names.

If you could fix those two nits, then +1.


⚠ DesiTorrents has degraded performance

In 7d44739, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: DesiTorrents performance has improved in 9dfb6c2.


Add option to customize the knocker behavior

This is the last step for proper knocker integration
Is now possible to enable knocker per apphook config and if emit knocks on post publishing and / or updates

Coverage decreased (-0.3%) to 97.114% when pulling 77f97ef98b0fa8bd9ed7adebc1250c7129885b06 on feature/should_knock into 8cfb7b7da8472a5297fd94967b8c317dd1d6c0e7 on develop.

Coverage decreased (-0.3%) to 97.114% when pulling 9c7d1e8cbfffb071122eafc780a948839a33037b on feature/should_knock into 8cfb7b7da8472a5297fd94967b8c317dd1d6c0e7 on develop.

Coverage increased (+0.01%) to 97.393% when pulling a8a5f5fb607e0246dd1a78bdff80b3a3a60763c0 on feature/should_knock into 8cfb7b7da8472a5297fd94967b8c317dd1d6c0e7 on develop.


Dialogs as children of temporary Drawers open below the Drawer backdrop

[x ] This is a v1.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
Using a Drawer with a Modal within it as a child should open the Modal above the backdrop of the Drawer.
Current Behavior
Child Dialogs render below the Drawer backdrop and are not usable. Screenshot:

Steps to Reproduce

Put a Dialog component within a Drawer component like:

<Drawer>
    <Dialog />
</Drawer>

Context
I have a temporary Drawer that contains controls that cause Dialogs to open

Your issue has been closed because it does not conform to our issue requirements.
Please provide a full reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

Thanks @oliviertassinari I updated it here: https://codesandbox.io/s/ryv7qzpq84 however it seems it does work there. There is most likely a problem with my own implementation so I will look closer at it.

Going to close this as the issue is actually because we are also embedding a react-modal from https://github.com/reactjs/react-modal. I don't expect that to work correctly.

@stueynet You can use our Modal instead, it would work.

Yup I just migrated to it. Thanks!


Vue 3 extension

Version
6.0.0-beta.15
Browser and OS info
Chrome / Windows 10
Steps to reproduce
All the projects that I have created of VUE 3 the plugin does not detect me that it is VUE
What is expected?
Be able to use the Vue plugin in chrome
What is actually happening?
It always stays in gray and puts vue.js not detected

Did you follow the troubleshooting steps? https://devtools.vuejs.org/guide/faq.html#the-vue-devtools-don-t-show-up


边缘段部署

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
1.我看rk提供了qwen1.8B的测试结果，请问这一块qwen官方有相关资料吗？rk那边我已经询问，没有回复。
2.jetson部署使用tensort-llm可以实现吗？
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?
No response

To assess the performance of our models across various tasks, kindly refer to the model card, such as this example: https://huggingface.co/Qwen/Qwen-1_8B-Chat. Please note that we do not have information about specific edge device performance. However, from the perspective of model effectiveness, especially for models of smaller sizes, we suggest try using Qwen1.5.

We currently lack definitive information on this matter. Nonetheless, it's a potential avenue to explore. For further guidance, please reach out to TensorT-LLM directly.

To assess the performance of our models across various tasks, kindly refer to the model card, such as this example: https://huggingface.co/Qwen/Qwen-1_8B-Chat. Please note that we do not have information about specific edge device performance. However, from the perspective of model effectiveness, especially for models of smaller sizes, we suggest try using Qwen1.5.
We currently lack definitive information on this matter. Nonetheless, it's a potential avenue to explore. For further guidance, please reach out to TensorT-LLM directly.

收到，谢谢


enableShowMore

I am suggesting that a "enableShowMore" property should be added to disable the "Show More" button. Currently, i am  using a card product title to limit the number of lines shown in the title. I've successfully disabled the "Show Less" button, but the "Show More" button is still being displayed in the title.

Can you Explain its use case of it?
the main idea, behind this component, is to show the "Show More" part.

That's true the main  of this is show the "Show More" part, but if you make an other prop to disable it  as enableShowLess  prop, it will be more useful for other parts like titles card descriptions and more.


Document status bar android quirks

https://github.com/react-navigation/react-navigation/issues/5568
similarly, if you were to set it to draw-under outside of expo you'd need to manually add the status bar height there

@brentvatne using SafeAreaView.setStatusBarHeight(0) in Expo with typescript and the latest packages throws a _reactNative.SafeAreaView.setStatusBarHeight is not a function error.
Perhaps due to the hoistNonReactStatic not copying the static function properly from SafeView to SafeAreaView?

it looks like you're importing it from react-native and not react-navigation

@brentvatne Good catch.  I thought I'd copied your import statements, but it seems I may have been foiled by VS Code's auto-import. 🤦🏼♂


Remove embedded React and Laravel folders

@nirmalbrj7 I think we can delete the folders from here now that they are top level repos. Can you please confirm?

Done.


Add implementation of Countable for CachingIterator

Q
A

Type
bug

BC Break
no

Fixed issues

Summary
Hi,
I currently use MongoDB with Doctrine, as well as ElasticSearch through FOSElascitaBundle.
When trying to use EnqueueBundle to speed up the populate command https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/doc/cookbook/speed-up-populate-command.md, I encountered an error.
The enqueue command for elastica makes a count of getCurrentPageResults:
https://github.com/php-enqueue/enqueue-elastica-bundle/blob/master/Queue/PopulateProcessor.php#L61
Unfortunately, Doctrine's CachingIterator does not implement countable unlike Mongo's https://github.com/mongodb/mongo-php-library/blob/master/src/Model/CachingIterator.php which generates an error.
So I added the implementation of countable in CachingIterator in order to be able to use Enqueue with FOSElastica and MongoDB via Doctrine.
Thank you very much for the library :wink:

@Branlute thanks for the updates! We'll need to take care of CI first before merging as something is really off with it. I'll merge this whenever I'll have a chance :)

@Branlute we've managed to get checks back to shape (sorry for the long time wait :( ). May I ask you to rebase your PR atop newly created 2.5.x branch?

@malarzm I rebase my branch with 2.5.x and change the target branch to 2.5.x

Thanks @Branlute! 🚀


add missing get method for decodedResponse

i do not see a need for this change.
existing code is doing exactly the same. see https://github.com/contextio/PHP-Lite-ContextIO/blob/master/class.contextioresponse.php#L202
	public function getData() {
		return $this->decodedResponse;
	}


Add instrument configuration class

Fixes #18
This also includes a bunch of precommit cleanup as well as some refactoring of property names in the channel class.

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (59062a8) 58.65% compared to head (e64965e) 60.11%.

Files
Patch %
Lines

mocksipipeline/detector/response.py
86.95%
3 Missing :warning:

mocksipipeline/detector/__init__.py
0.00%
1 Missing :warning:

mocksipipeline/inversion/response_matrix.py
0.00%
1 Missing :warning:

mocksipipeline/util.py
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   58.65%   60.11%   +1.45%
==========================================
  Files           7        8       +1
  Lines         520      539      +19
==========================================
+ Hits          305      324      +19
  Misses        215      215

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