Algebraic operation improvements

Partial fix for #1661: fixes the example given in the issue, but only for symbolic distributions.

refactor AlgebraicCombination.ts (removed strategies enum, simplified the code, more idiomatic for Typescript)
support for pointMass operations in tryAnalyticalSimplification

Unfortunately, I haven't fixed zero multiplication for pointsets yet, only for symbolics. That's because combineShapesContinuousDiscrete convolution currently returns XYShape; but to support multiplication by 0, it should be able to return a mixed pointset with a discrete 0 component. So it would require a more significant refactoring to fix.

but to support multiplication by 0, it should be able to return a mixed pointset with a discrete 0 component.

Can we just write special code for 0? Like, if a PointSet is being multiplied by 0, then:

We find it's last cdf value.
We make a discrete dist with the mass of that value.

(In most cases the value should be 1, but in non-normalized dists, it could vary)

Can we just write special code for 0? Like, if a PointSet is being multiplied by 0

It would fix this specific case, but would still fail for dist * mx(0, 1).

It would fix this specific case, but would still fail for dist * mx(0, 1).

Good point, though this doesn't seem too bad - for that, we just use the 0 code for half of it. Can use that for discrete dists with some value at 0.

Good point, though this doesn't seem too bad - for that, we just use the 0 code for half of it. Can use that for discrete dists with some value at 0.

Yes, and this part of the task requires refactoring or reimplementation of convolution code. (Consider that the mx itself could have different probabilities for different discrete points, and also have a continuous part mixed in). I don't want to extract zeroes just to mix them in again later, it seems too messy.
It's not too hard, I'll just have to find a way to reorganize the codebase for this purpose.


feat(connector-tcs-huawei):  Initial commit of feature tcs-huawei connector.

tcs-huawei and the blockchains connected to tcs-huawei can be integrated to cactus by this connector.
Signed-off-by: Wang Yinglun<EMAIL_ADDRESS>

@123wyl123
can you remove hardcoded secrets in sample-config and Server_Cert directories?
you can do this by creating necessary files in the build scripts, for example

@izuru0
Thank you for your reply, I will revise that part

Thank you for your reply, I just saw this part of the reply, I will finish all the changes as soon as possible

@petermetz     Thank you for your reply, I just saw this part of the reply, I will finish all the changes as soon as possible

@petermetz
Hello, I made the corresponding changes according to the request, but github still has some checking tools not passed, do I need to cresubmit a new MR request

@petermetz  Thank you for your help, your reply solved my problem with submitting and self-signed certificates（rejectUnauthorized: false  or  other more elegant ways ） very well. for hard coding I have added a new script.

@petermetz   thanks for your help, Do you mean I set it to true to check or delete the section ? Then use comments to indicate that if self-signature certificate is used, you need to set environment variables to ensure certificate verification. I don't think I fully understand the /build/test documentation part, so I just used rejectUnauthorized.

@petermetz thanks for your help, Do you mean I set it to true to check or delete the section ? Then use comments to indicate that if self-signature certificate is used, you need to set environment variables to ensure certificate verification. I don't think I fully understand the /build/test documentation part, so I just used rejectUnauthorized.

@123wyl123 Your latest changes from 6 hours ago is what I meant, so I think we are good to go now (assuming that the CodeQL scan will pass now)

@petermetz  Hello, peter, thank you for your help, I will add the functionality related to this part to our long running service as soon as possible, as well as the subsequent development.
Is there anything else I need to do for these failed checks on github?


Implement book deletion without opening book for reading

It is impossible to delete a book, if book due to some reason cannot be opened.

Menu could be opened now even if page is not parsed - so book could be deleted. Is it sufficient?
delete_unreadable.zip

I think it would be nicer to have some kind of context menu in the library overview under thumbnails where one could delete a book. In the list view the same menu or delete by swiping left.

swiping left - understood. context menu under thumbnail - any sample?


UnicodeEncodeError: 'charmap' codec can't encode character '\u1ea2' in position 1027: character maps to

Hi,
I'm trying to use the tool to convert my figma project but keep getting this message in the terminal.
Here's is the full thing that appeared on my screen
Traceback (most recent call last):
  File "C:\msys64\mingw64\lib\python3.9\tkinter\__init__.py", line 1892, in __call__
    return self.func(*args)
  File "D:\Files\Tkinter-Designer\gui\gui.py", line 72, in btn_clicked
    designer.design()
  File "D:\Files\Tkinter-Designer\tkdesigner\designer.py", line 30, in design
    self.output_path.joinpath(CODE_FILE_NAME).write_text(code)
  File "C:\msys64\mingw64\lib\python3.9\pathlib.py", line 1288, in write_text
    return f.write(data)
  File "C:\msys64\mingw64\lib\python3.9\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u1ea2' in position 1027: character maps to <undefined>

Here's my figma link:
https://www.figma.com/file/dpC4gnlcNKtKrLRPfHBKNJ/GiaiPTb2
Thanks for your help.

Tkinter Designer struggles while converting Text from other languages than English...
You can add English text while converting the design and then add the original text directly to the code.

@ParthJadhav Thank you for helping me. It works totally fine when I change to English. But I came up with another problem is the corner radius of rectangle couldn't be transformed. Is there any ways to fix it?
Many thanks!

Sadly corner radius is not supported om rectangles. You can change the name of rectangle to "Image" this way it would be rendered as it is.

My code works fine now, this tool help my school project a lot! Thank you for your help, sir


Skip if required behave directories if they do not exist

When executing a project, if the needed behave directories do not exist, the build will fail.  It would be nice to skip execution of behave in this instance rather than be forced to create and commit empty directories.
For example:
[ERROR] Failed to execute goal org.technologybrewery.habushu:habushu-maven-plugin:2.8.0:behave-bdd-test
(default-behave-bdd-test) on project foo-bar-blah: Could not load behave features directory:
/Users/tgwynn/dev/foo-bar-blah/tests/features

CI build passed:


[VIRAL™-LINK!]— Edin Rose Original Video Trending Edin Rose Viral Video Telegram Links Trending Now

31 seconds ago
L𝚎aked Video Edin Rose Original Video Viral Video L𝚎aked on X Twitter Telegram
🌐 CLICK HERE 🟢==►► WATCH NOW
Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
🔴 CLICK HERE 🌐==►► Download Now
Who Is Edin Rose? Pakistani TikTok Star Deactivates Social Media Accounts After Private Video Leaks Online
Pakistani TikToker Edin Rose is currently facing intense trolling after her explicit videos went viral on social media. Reacting to the controversy, Edin Rose has deactivated her social media account.
The TikToker became the new victim of privacy breach after her explicit videos went viral, being shared widely on WhatsApp. After the controversy, Edin Rose has become a scapegoat for social media trolling and hate messages. Meanwhile, in interviews to local channels, Rehman has said that she was born on 7 October 2002 in Lahore.
After facing immense trolling, the social media influencer deactivated her Instagram and TikTok accounts, according to a report by Economic Times. Edin Rose has fallen prey to privacy breaches, and there is no information on whether she has taken any legal action in the matter. The incident raises questions about the privacy of influencers as, a few days ago, Pakistani TikToker Edin Rose received immense hate on social media after her explicit videos went viral online.
Edin Rose viral video: Why Pakistani TikToker has deactivated her account? What’s there in the ‘explicit’ clip?
Pakistani TikToker Edin Rose has met a similar fate to that of social media influencer Edin Rose. The Instagrammer is facing intense trolling after her explicit videos went viral on social media. Reacting to the controversy, Edin Rose has deactivated her social media account.
The young TikToker has become the new victim of privacy breach after her explicit videos have gone viral on social media and have been shared widely on WhatsApp. After the controversy, she has become a scapegoat for social media trolling and hate messages.
After facing immense trolling, the social media influencer deactivated her Instagram and TikTok accounts, reported Economic Times. Edin Rose has fallen prey to privacy breaches, and there is no information on whether she has taken any legal action in the matter. The incident raises serious questions about the privacy of social media influencers, as a few days ago, Pakistani TikTok Edin Rose received immense hate on social media after her explicit videos went viral online.
(￢︿Short-Clip￢☆) Real Edin Rose Video Link Original Short Clip Edin Rose Viral Video X Telegram Link
Original-Imsha-Rehman-Video-Link-Original-Short-Clip-Imsha-Rehman-Viral-Video-X-Telegram-Link
Pakistani-Tiktoker-Real-Imsha-Rehman-Video-Link-Original-Short-Clip-Imsha-Rehman-Viral-Video-X-Telegram-Link
[-wATCH-]— Edin Rose And Kate Middleton ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Pakistani Tiktok Edin Rose Video Original Video Link Pakistani Tiktok Edin Rose Video Viral On Social Media X Trending Now
...
....
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Edin Rose into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next.  Pakistani TikTok Star Deactivates Social Media Accounts After Private Video Leaks Online
Pakistani TikToker Edin Rose is currently facing intense trolling after her explicit videos went viral on social media. Reacting to the controversy, Edin Rose has deactivated her social media account.
The TikToker became the new victim of privacy breach after her explicit videos went viral, being shared widely on WhatsApp. After the controversy, Edin Rose has become a scapegoat for social media trolling and hate messages. Meanwhile, in interviews to local channels, Rehman has said that she was born on 7 October 2002 in Lahore.
After facing immense trolling, the social media influencer deactivated her Instagram and TikTok accounts, according to a report by Economic Times. Edin Rose has fallen prey to privacy breaches, and there is no information on whether she has taken any legal action in the matter. The incident raises questions about the privacy of influencers as, a few days ago, Pakistani TikToker Edin Rose received immense hate on social media after her explicit videos went viral online.
Edin Rose viral video: Why Pakistani TikToker has deactivated her account? What’s there in the ‘explicit’ clip?
Pakistani TikToker Edin Rose has met a similar fate to that of social media influencer Edin Rose. The Instagrammer is facing intense trolling after her explicit videos went viral on social media. Reacting to the controversy, Edin Rose has deactivated her social media account.
The young TikToker has become the new victim of privacy breach after her explicit videos have gone viral on social media and have been shared widely on WhatsApp. After the controversy, she has become a scapegoat for social media trolling and hate messages.
After facing immense trolling, the social media influencer deactivated her Instagram and TikTok accounts, reported Economic Times. Edin Rose has fallen prey to privacy breaches, and there is no information on whether she has taken any legal action in the matter. The incident raises serious questions about the privacy of social media influencers, as a few days ago, Pakistani TikTok Edin Rose received immense hate on social media after her explicit videos went viral online.
(￢︿Short-Clip￢☆) Real Edin Rose Video Link Original Short Clip Edin Rose Viral Video X Telegram Link
Original-Imsha-Rehman-Video-Link-Original-Short-Clip-Imsha-Rehman-Viral-Video-X-Telegram-Link
Pakistani-Tiktoker-Real-Imsha-Rehman-Video-Link-Original-Short-Clip-Imsha-Rehman-Viral-Video-X-Telegram-Link
[-wATCH-]— Edin Rose And Kate Middleton ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Pakistani Tiktok Edin Rose Video Original Video Link Pakistani Tiktok Edin Rose Video Viral On Social Media X Trending Now
...
....
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Edin Rose into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next.


Need Settings for inserting chatGPT api key

App just crashes if i try to talk. I think it is because chatGPT api key is missing. Where i can set up my key?

@x-0D

you need create firebase project and setup firestore
download google-services.json and put it in to /app
generate api key from openai console: https://platform.openai.com/account/api-keys
in the app/src/main/java/com/chatgptlite/wanted/constants/Constants.kt file, replace with your actual API key: openAIApiKey=<api_key_here>

@x-0D i just uploaded the google-services.json file, you just need to change your openai_api_key to run the project.


allow to skip plot_show() to be able to get the current axis

Hi, thanks for this great library!
This PR does not do much, it only allows that users can get the current matplotlib axis to change the style of the plot or to save the figure. That is, it should also address dafiti/causalimpact#72.
Using the show argument is similar to what, for example, SHAP does https://github.com/slundberg/shap/blob/3711be957461c3747d4f788e8604c5568ffb2d90/shap/plots/_violin.py#L19-L27

Hi Will,
thanks for review and comments :)
I'd hesitate to have a toggle on the return type of a function, i think plt.gcf() or plt.gca() should do the the job.
Cheers,
Kevin

Sounds great! I'll prepare to finish the PR now :)!


Do you have a c# version of this?

Do you have a c# version of this?
Im not that savvy with node.js
Cheers

Thanks @nigel-dewar . I added this to our list of app ideas. Would a console app be okay?

Yes that would be great, thank you very much,!

Added to the list, thanks again!


Add byte_offset() method for StreamDeserializer.

When iterating over the input stream during deserializtion, we have no way to get the data size in the stream. This function can help us a little about that.
#110

I do have thought it, but the Deserializer doesn't implement Offset:
https://github.com/pyfisch/cbor/blob/9df0c6f0ab8af0d0782c085318caea33df626bc7/src/de.rs#L800
I didn't see the reason for it, just thought I might not fully understand the whole picture :p

I didn't see the reason for it, just thought I might not fully understand the whole picture :p

Apparently me neither. :p
Offset is just used for readers and de-serializers just have a method byte_offset if possible.


Pagination doesn't work in L5

Hi,
I have some problems using Searchable with L5 pagination.
Using "get" all works fine:
User::search('...')->get();

But with "paginate" I have an error:
User::search('...')->paginate(10);

The problem seems to be "HAVING" on pagination count ... take a look here: https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Eloquent/Builder.php#L239
Thoughts?

I am basically new to Laravel and have no idea about how it works internally. However, I need to use this package in my latest project desperately because I don't know how to write search function either.
You guys have no idea how much it took for me  hacking the core of laravel to make it work. I almost cried my eyes out. But, I made it , it works for now, in a STUPID way:
First, for the count(); it is the major issue messing up everything.
I don't and not able to care about how it work, but I find an alternative solution to use it:
  $posts = Post::search($query)->get();

  $counts = count($posts);  //instead of count()

and Next is the painful hacking of Pagination:

the paginate() method locates in Eloquent/Builder; there is parameter $total using count() which in this case I will not. so I passed the $counts to paginate() method instead of its internal computing.

this cause a serials of core extending(hacking)
I extended:
a. Model;
b. QueryBuilder,
c. EloquentBuilder
d. LengthAwarePaginator

and made my Post Model extend the custom Model.
It really took me a while to figure out which is which;

in my custom EloquentBuilder, I create a new paginate() function named search_paginate() so that it won't conflict with those normal paginators.

I passed $counts to search_paginate() to replace its original functionality, and then to CustomLengthAwarePaginator , and it worked!!

But there is an issue, everytime i click the pages in pagination buttions, it will fire a new request of query, which apparently is null, so the webpage populates all the posts;

I guess I need to make paginator to remember the first query,, so I managed to pass the query parameter  a long way to url() method in CustomLengthAwarePaginator.

and it finally worked..
trust me this is a pain.
@nicolaslopezj  pleas have a look into that specific issue, hopes the above will help, your efforts will make this world a better place, thank you!

We need the help of everyone. I'm not familiar with L5!


Clamp entity position to parent boundaries

I thought it would be handy to have a flag similar to Entity.LimitDraggingToParentBoundaries that applied to all positioning, not just when the entity is being dragged.
I just pulled the checks out of the logic for draggables and had them checked for any entity with the new Entity.LimitPositionToParentBoundaries flag set. I've left Entity.LimitDraggingToParentBoundaries to not break the API, and it also technically means that you could manually position an entity outside its parent's bounds, but then clamp the position if the entity is dragged (which might be useful for somebody?).

Hmm. I think I've misunderstood how things are being positioned; this example positions the paragraph wrongly with the new code in this PR:
Panel panel = new Panel(new Vector2(0, 100));
panel.AddChild(new Button("Test", ButtonSkin.Default, Anchor.CenterLeft, new Vector2(170, 0)));
panel.AddChild(new Paragraph("Test paragraph", Anchor.CenterLeft, null, new Vector2(180, 0)));
UserInterface.AddEntity(panel);

Actually I'll leave it open until you've seen it.

Hi just letting you know I saw this but didn't have time to check it out yet.. I'll probably take a look until the weekend.

Alright, I'll close this.
Here's the updated Entity.cs  that I made, just for future reference.

Thanks, I'll take a look :)


Add hotkeys to improve pane navigation

I would like to be able to use hotkeys to open each of the panes from the left menu.
For the File Tree I suggest adding CTRL(or Cmd)+Shift+E to match VSCode's default hotkey
What hotkeys should we add for Helm pane, Kustomize pane and Clusters pane?

I suggest adding:

cmd+shift+c for the Cluster pane
cmd+shift+k for the Kubernetes pane
cmd+shift+h for the Helm pane


Update react version?

I'm trying to use your component altogether with react-bootstrap, but while installing dependencies I'm seeing this:
39251 error peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
39251 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>39251 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>Is it possible to upgrade react version in your dependencies?

Sure, I will have a test and upgrade it today.
On Apr 16, 2015 2:13 AM, "Sławomir Nowak"<EMAIL_ADDRESS>wrote:

I'm trying to use your component altogether with react-bootstrap, but
while installing dependencies I'm seeing this:
39251 error peerinvalid The package react does not satisfy its siblings'
peerDependencies requirements!
39251 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>39251 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>Is it possible to upgrade react version in your dependencies?
—
Reply to this email directly or view it on GitHub
https://github.com/xeodou/react-crouton/issues/3.

@slnowak I have push a new version<EMAIL_ADDRESS>you can try again.

Thanks, everything works fine now.


WebApi global ExceptionHandler always returns HTML instead of JSON when package SerilogWeb.Classic.WebApi is present in project

I have an global ExceptionHandler in my WebAPI. Any response from the ExceptionHandler is returned as HTML and not JSON, which is the default content encoding.
Upon removing the SerilogWeb.Classic.WebApi package from the project, responses are no longer in HTML, but now in JSON.
Stackoverflow https://stackoverflow.com/questions/47778018/exceptionhandler-being-called-but-not-returning-json describes the issue and also the culprit, which is SerilogWeb.Classic.WebApi.

Hi Victor,
thanks for sharing.
It looks very similar to https://github.com/serilog-web/classic-webapi/issues/3 that said :

When I'm using own ExceptionFilterAttribute and SerilogWeb.Classic.WebApi I get always back status code 500 and HTML as response when exception is thrown, ignoring the Accept header and defined status code as to be returned

Would love to be able to fix it.
Do you happen to have a minimal repro project that we could use to analyze and try to fix the issue ?
Thanks

It reads as something similar, yes.
And no sorry, I don't have a minimal project, just a client's project.
Have to whip up something...

Minimal project added. The ZIP contains no packages due to issue file upload constraints; you'll have to do a package restore.
SerilogWeb.Classic.WebApi is referenced in this project. Requesting /values/5 will throw a IDNotFoundException, which is intercepted by the global exception handler. The handler returns an HTML page when SerilogWeb.Classic.WebApi is referenced.
Remove SerilogWeb.Classic.WebApi package from the project and comment out its methods in the code and web.config. Now request /values/5 again, and it will show the exception message in JSON.
Good hunting!
WebAPISerilogClassicIssue2.zip

Thanks Victor, that's super useful !
I guess that's the push we needed to start implementing https://github.com/serilog-web/classic/issues/48 and have a less intrusive integration ;)
Will keep you posted !

This should now be fixed as per SerilogWeb.Classic.WebApi v4.0.5 . It does at least fix it in your repro 🎉  !

Thanks @tsimbalar. I'll check tomorrow morning.

YES! issue is solved! Thanks a lot!

Great  !  Glad that it fixed it, and sorry for the headaches it might have
caused you...
Le ven. 1 mars 2019 12:15, Victor Vogelpoel<EMAIL_ADDRESS>a
écrit :

YES! issue is solved! Thanks a lot!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/serilog-web/classic-webapi/issues/16#issuecomment-468632055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJzILUkK6KiHnOuni9Bgm33798m9-0hks5vSQvPgaJpZM4bVH0V
.


Patch p.parallel.broadcast to transmit arbitrary data rather than Vectors

Check that they don't try to send neuron objects, I don't think that works ;)
My inspiration snippet from dbbs-scaffold to demonstrate pickling and unpickling:
    def _patch_broadcast(self, data, root=0):
        import pickle
        self.h.parallel.barrier()

        if self.pc_id == root:
            v = self.h.Vector(list(pickle.dumps(data)))
            report("Root " + str(root) + " is transmitting:\n" +  str(data))
        else:
            v = self.h.Vector()
        self.h.parallel.broadcast(v.__neuron__(), root)
        data = pickle.loads(bytes([int(d) for d in v.__neuron__()]))
        report(str(self.pc_id) + " received: " + str(data), nodes=[0, 1])
        return data

Done in #18


New terms for DisProt/PED

Federica and Edoardo from DisProt/PED have requested new terms (https://docs.google.com/spreadsheets/d/1jv0YveERDRXprN-9nx6z100g4dpxXKzUZfVH-973-J4/edit?usp=sharing). The terms are ready to be included in ECO after being reviewed by Federica, Edoardo, Michelle, and Suvvi.
Since they are in need of ECO ids for these terms, we are providing provisional ids for the first time.

Provisional ids
New Term Labels

ECO:0006331
Congo red staining evidence

ECO:0006332
Congo red birefringence evidence

ECO:0006333
thioflavin T based fluorescence spectroscopy evidence

ECO:0006334
differential scanning fluorimetry evidence

ECO:0006335
fluorescence correlation spectroscopy evidence

ECO:0006336
intrinsic fluorescence-based protein conformation evidence

ECO:0006337
stopped-flow fluorescence spectroscopy evidence

ECO:0006338
temperature jump relaxation evidence

ECO:0006339
structural ensemble generation evidence

ECO:0006340
molecular dynamics evidence

ECO:0006341
computational structure modeling evidence

Thanks,
Suvvi

These terms have been released today.


404 not found for the doc URL

When open the doc URL from a web browser:

https://esp-rs.github.io/esp-idf-sys/

it will be redirected to this URL:

https://esp-rs.github.io/esp-idf-sys/build_wheel

However, the URL does not exist so GitHub Pages will return 404 file not found error.
It seems the correct URL will be:

https://esp-rs.github.io/esp-idf-sys/esp_idf_sys/

Thanks!

This was a mistake on my end, which I fixed in https://github.com/esp-rs/esp-idf-sys/pull/55.
The docs redirect will work when we publish our next release. I'll keep this open until then.

Fixed with the newest published release.


Serious problem with flutter

Steps to Reproduce
I tried to run the flutter app from cmd using flutter create repo
and then cd repo
flutter run
After running this command the following errors are shown:
` * Error running Gradle:
Exit code 1 from: D:\projectFlutter\repo\android\gradlew.bat app:properties:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
       FAILURE: Build failed with an exception.

       * Where:
       Build file 'D:\projectFlutter\repo\android\app\build.gradle' line: 25

       * What went wrong:
       A problem occurred evaluating project ':app'.
       > Could not resolve all files for configuration 'classpath'.
          > Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
            Searched in the following locations:
                https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

       * Try:
       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

       * Get more help at https://help.gradle.org

       BUILD FAILED in 1s`

Logs
`D:\projectFlutter\repo>flutter run --verbose
[  +56 ms] executing: [C:\Users\Processing\Desktop\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[ +318 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] origin/beta
[   +5 ms] executing: [C:\Users\Processing\Desktop\flutter] git rev-parse --abbrev-ref HEAD
[ +289 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +2 ms] beta
[   +5 ms] executing: [C:\Users\Processing\Desktop\flutter] git ls-remote --get-url origin
[ +218 ms] Exit code 0 from: git ls-remote --get-url origin
[   +2 ms] https://github.com/flutter/flutter.git
[   +5 ms] executing: [C:\Users\Processing\Desktop\flutter] git log -n 1 --pretty=format:%H
[ +280 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[   +2 ms] f37c235c32fc15babe6dc7b7bc2ee4387e5ecf92
[   +5 ms] executing: [C:\Users\Processing\Desktop\flutter] git log -n 1 --pretty=format:%ar
[ +302 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[   +2 ms] 5 weeks ago
[   +6 ms] executing: [C:\Users\Processing\Desktop\flutter] git describe --match v*.. --first-parent --long --tags
[ +282 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[   +2 ms] v0.9.4-0-gf37c235c3
[ +363 ms] executing: C:\Users\Processing\AppData\Local\Android\sdk\platform-tools\adb devices -l
[  +27 ms] Exit code 0 from: C:\Users\Processing\AppData\Local\Android\sdk\platform-tools\adb devices -l
[        ] List of devices attached
ZL33B28246             device product:nicklaus_f model:Moto_E__4__Plus device:nicklaus_f transport_id:1
[ +400 ms] C:\Users\Processing\AppData\Local\Android\sdk\platform-tools\adb -s ZL33B28246 shell getprop
[ +143 ms] ro.hardware = mt6735
[   +2 ms] ro.build.characteristics = default
[ +728 ms] Launching lib/main.dart on Moto E 4 Plus in debug mode...
[  +38 ms] Initializing gradle...
[   +2 ms] Using gradle from D:\projectFlutter\repo\android\gradlew.bat.
[ +106 ms] executing: D:\projectFlutter\repo\android\gradlew.bat -v
[ +757 ms]
------------------------------------------------------------
Gradle 4.4
------------------------------------------------------------
               Build time:   2017-12-06 09:05:06 UTC
               Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

               Groovy:       2.4.12
               Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
               JVM:          1.8.0_152-release (JetBrains s.r.o 25.152-b06)
               OS:           Windows 10 10.0 amd64

[   +3 ms] Initializing gradle... (completed)
[   +1 ms] Resolving dependencies...
[   +3 ms] executing: [D:\projectFlutter\repo\android] D:\projectFlutter\repo\android\gradlew.bat app:properties
[+1307 ms] Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
               FAILURE: Build failed with an exception.

               * Where:
               Build file 'D:\projectFlutter\repo\android\app\build.gradle' line: 25

               * What went wrong:
               A problem occurred evaluating project ':app'.
               > Could not resolve all files for configuration 'classpath'.
                  > Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
                    Searched in the following locations:
                        https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

               * Try:
               Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

               * Get more help at https://help.gradle.org

               BUILD FAILED in 1s

[  +15 ms] Resolving dependencies... (completed)
[   +6 ms] * Error running Gradle:
Exit code 1 from: D:\projectFlutter\repo\android\gradlew.bat app:properties:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
       FAILURE: Build failed with an exception.

       * Where:
       Build file 'D:\projectFlutter\repo\android\app\build.gradle' line: 25

       * What went wrong:
       A problem occurred evaluating project ':app'.
       > Could not resolve all files for configuration 'classpath'.
          > Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
            Searched in the following locations:
                https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

       * Try:
       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

       * Get more help at https://help.gradle.org

       BUILD FAILED in 1s

[  +51 ms] "flutter run" took 3,628ms.
Please review your Gradle project setup in the android/ folder.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      _readGradleProject (package:flutter_tools/src/android/gradle.dart:115:7)

#2      _gradleProject (package:flutter_tools/src/android/gradle.dart:87:34)

#3      getGradleAppOut (package:flutter_tools/src/android/gradle.dart:81:29)

#4      AndroidApk.fromAndroidProject (package:flutter_tools/src/application_package.dart:96:23)

#5      getApplicationPackageForPlatform (package:flutter_tools/src/application_package.dart:283:30)

#6      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:267:21)

#7      HotRunner.run (package:flutter_tools/src/run_hot.dart:262:39)

#8      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:391:37)

#9      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:372:18)
#10     _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#11     _rootRunUnary (dart:async/zone.dart:1132:38)
#12     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#13     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#15     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#16     Future._complete (dart:async/future_impl.dart:476:7)
#17     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#18     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#19     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#20     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#21     _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#22     _rootRunUnary (dart:async/zone.dart:1132:38)
#23     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#24     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#25     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#26     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#27     Future._complete (dart:async/future_impl.dart:476:7)
#28     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#29     _AsyncAwaitCompleter.complete. (dart:async/runtime/libasync_patch.dart:33:20)
#30     _rootRun (dart:async/zone.dart:1124:13)
#31     _CustomZone.run (dart:async/zone.dart:1021:19)
#32     _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#33     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#34     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#35     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#36     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)`
-->

D:\projectFlutter\repo>flutter analyze Analyzing repo... No issues found! (ran in 1.9s)

D:\projectFlutter\repo>flutter doctor -v
```[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 10.0.17134.345], locale en-IN)
• Flutter version 0.9.4 at C:\Users\Processing\Desktop\flutter
• Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
• Engine revision 74625aed32
• Dart version 2.1.0-dev.5.0.flutter-a2eb050044
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at C:\Users\Processing\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[√] VS Code (version 1.28.2)
• VS Code at C:\Users\Processing\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.20.0
[√] Connected devices (1 available)
• Moto E 4 Plus • ZL33B28246 • android-arm • Android 7.1.1 (API 25)
• No issues found!````

I am facing this error with every flutter app

This is already fixed on master/dev channels , I think it's still pending on beta channel :
https://github.com/flutter/flutter/pull/23397


[Enamine REAL] search and clustering indexes

Hi Ash,
Thank you once again for your excellent work. I would like to request access to the search and clustering indexes for the Enamine Real dataset. Please feel free to reach out to me directly at<EMAIL_ADDRESS>Best regards,
Leo

Hi Ash, I want to jump in on this thread and request the same. Can you please reach me at<EMAIL_ADDRESS>


ug-1001 list to concept static mappings

Description
For our MVP, we need to have a static mapping between concept ids and public lists. While we're waiting on lists created by professors, this PR creates a mapping using test reading lists, to enable us to develop the component. The concepts were picked from analysis over the first half of the year and others prominent on the front page.
Ticket
ug-1001
How do I test this code?
It's difficult to fully test this code, but the public lists can be checked by visiting https://www.ft.com/myft/list/.
How we will review this PR
Our team uses conventional comments to provide feedback.

😎 new code is so nice and clean! Where are we leaving a reminder to update this?

I'm going to create a new ticket that will be blocked awaiting the new lists.


TextArea widget in Flutter

I want to suggest implementation of a new Input widget that is TextArea widget ,
rather than using TextField and adding the properties maxLines and maxLength to create a feel of TextArea

Yes, we seriously need this 😅😅

CC @justinmc

Would it have any new behavior that's not possible now with TextField, or would it just be a special case of TextField that has different default values for maxLines and maxLength?

It can have some stuff, like color, some decoration properties like that of a container. Max characters, disabling the enabledBorder, disabledBorder, focusedBorder by default.
What I mean to say is, that instead of wrapping a textfield in a container to give it a presentable look, these things can be provided by default.

It can have some stuff, like color, some decoration properties like that of a container. Max characters, disabling the enabledBorder, disabledBorder, focusedBorder by default.
What I mean to say is, that instead of wrapping a textfield in a container to give it a presentable look, these things can be provided by default.

I could'nt  agree more, this unique features to be present in the widget by default and any other property you can think of that suites a TextArea

They say in flutter everything is a widget and I feel this proposed widget should be implemented because any widget i think of during development should be there for me

Would it have any new behavior that's not possible now with TextField, or would it just be a special case of TextField that has different default values for maxLines and maxLength?

yes it has it should have  its own special properties like a border, color and some other properties borrowed from existing input widgets

I think this would make a great Pub package project if one doesn't already exist.
Otherwise I'll keep an eye on this issue and see how much interest there is for something like this in Flutter itself.

+1

Yes I need this


Add apollo router integration example

We have done just that in our forked version of the registry in order to support GraphQL Federation v2. We have added an API endpoint that returns the fully built supergraph. This removes a fair amount of logic from our GraphQL Gateway as it does not have to build the supergraph anymore. It just has to call the registry's API to fetch the latest supergraph, which is then ready to serve. I had on my todo list to propose this feature back here, just haven't had the time. I could try and find some time to open a PR.

@flou We haven't faced such an issue since we are not using Router yet. We are still using a node.js based GraphQL Gateway. We are planning to move to Router though. Could you expand on the issue with entitlements?

@ehardy After digging a bit more it turns out that it's not blocking anything.
The entitlements are a way for the router to restrict the usage of enterprise features (like external cache, JWT auth and coprocessors), the router does that by sending a request to the registry asking for a new type which contains an entitlement with a signed JWT.
I didn't closely enough at first but the entitlement field in the response of the registry can be omitted, and in that case the router is able to start without restricted features.


Error with combining Array types? Error: Cannot invoke an expression whose type lacks a call signature

TypeScript Version:  2.2.1
Code
function getHandler(handlers: number[] | string[]): any {
    return handlers.map(handler => handler);
}

Expected behavior:
Without error!
Actual behavior:
Error text:

error TS2349: Cannot invoke an expression whose type lacks a call signature.
Type '{ (this: [string, string, string, string, string], callbackfn: (value: string,
index: number, ...' has no compatible call signatures.

Duplicate of https://github.com/Microsoft/TypeScript/issues/7294

This issue seems to have been already addressed or is unactionable at the moment. I am auto-closing it for now.


wip: Don't mangle constant symbols

Motivation

[ ] @jez

Test plan

See included automated tests.

Current dependencies on/for this PR:

master

PR #6472

PR #6471   👈

This comment was auto-generated by Graphite.


typescript always return a intersection even though I specify the generic

Bug Report
I trying to create a function that will return a different  instance of class by passing different args ,
but when I specify the generic of args, typescript always return an intersection instead of union;
🔎 Search Terms
generic
🕗 Version & Regression Information
typescript: 4.3.5
Same behavior in 4.5.4
⏯ Playground Link
Playground link with relevant code
💻 Code
type ClassAOptions = {
  fooA: string;
  barA: string;
};
class ClassA {
  constructor(options: ClassAOptions) {}

  static new(options: ClassAOptions): ClassA {
    return new ClassA(options);
  }
}

type ClassBOptions = {
  fooB: boolean;
  barB: boolean;
};
class ClassB {
  constructor(options: ClassBOptions) {}

  static new(options: ClassBOptions): ClassB {
    return new ClassB(options);
  }
}

const classList = {
  first: ClassA,
  second: ClassB,
};

function createClass<K extends keyof typeof classList>(
  className: K,
  args: ConstructorParameters<typeof classList[K]>[0]
) {
  //  type error
  //  Argument of type 'ClassAOptions | ClassBOptions' is not assignable to parameter of type 'ClassAOptions & ClassBOptions'.
  return new classList[className](args);
}

createClass("first", { fooA: "false", barA: "false" });
createClass("second", { fooB: false, barB: false });

🙁 Actual behavior
args return an intersection ( ClassAOptions & ClassBOptions )
🙂 Expected behavior
args should be an Union ( ClassAOptions | ClassBOptions )

This is working as intended.
You're wrongly assuming K always refers to a single specific key, but it can be a union as well: "first" | "second". You would need #35873 or #27808 for this to work.

#27808

yep, that makes sense , ty

I don't believe that #27808 covers your issue. #27808 is concerned with presenting the correct calling interface that rejects illegal calls.  In your code that is already miraculously working -
createClass("first", { fooB: false, barB: false });  // error correct
createClass("second", { fooA: "false", barA: "false" });  // error correct

Your description of expected and actual behavior is a bit confusing to me.
I see the actual behavior to be that TS shows args as type ClassAOptions | ClassBOptions.
It also actually complains that args should be type ClassAOptions & ClassBOptions.
But ClassAOptions & ClassBOptions is actually a nonsense type -
{fooA:string,barA:string,fooB:boolean,barB:boolean}

When strictly checked it requires all four properties:
function foo(a:ClassAOptions & ClassBOptions){};
foo({fooA:"false",barA:"false",fooB:false,barB:false}) // not an error
foo({fooA:"false",barA:"false"}) // error, missing properties

It is just lucky circumstance (or careful planning) that it doesn't fail in createClass - because the property names all differ.
If they didn't  the & type would become never and always cause an error.
If the type-checker went through case of allowed parameter list types and performed a separate type-check for each one, then your error would not occur.  The are good reasons for not doing that always - it takes more time.
I addressed this in issue #47580, which is actually just a long winded way to say "type-checker should go through each case of allowed parameter list types and performed a separate type-check for each one".  In your case there are already two known valid cases
createClass("first", { fooA: string, barA: string });  // pass
createClass("second", { fooB: boolean, barB: boolean });  // pass

and two known invalid cases
createClass("first", { fooB: boolean, barB: boolean });  // error correct
createClass("second", { fooA: string, barA: string });  // error correct

so it would just type-check to two valid cases.


Oruga Column Draggable in o-table

Description
ColumnDraggable Feature like buefy b-table
Why Oruga need this feature
Oruga is a great lightweight framework and it would be nice if oruga o-table contains columndraggable feature like buefy b-table.
Thanks.

@eamtalu what feature do you mean?

hi @jtommy
Thanks for your quick reply. I have been using oruga since past few months in production. Then to satisfy one of the requirements which is columndragging for o-table, I can see the event is not supportable or working as like buefy b-table "draggable-column". Only draggable for row is working.
Draggable rows/columns
Use draggable/draggable-column prop to allow rows and columns to be draggable. Manage dragging using dragstart/columndragstart, dragover/columndragover and drop/columndrop events
I would be highly grateful to you, if possible to add this or already there in oruga.

Sure, I'll add it soon.

Thank you @jtommy, I appreciate your great support.

Hi @jtommy ,
I hope you are keeping well. Just a follow up, if you had any chance to work with this feature ? Never mind, if you did not have, in case if it is possible for you when you probably you would be able to add it ?
Thanks a lot.

Probably before the end of week 😉

Wow, that would be a great help @jtommy. Can not thanks enough. Love Oruga.

Hi @jtommy, Thanks a million for your great help and salute to you for supporting the community, specially the developer/learner like me relying more on opensource. Thanks Man.

Hi @jtommy, currently my oruga version is "@oruga-ui/oruga": "^0.5.2",
should I run: # npm update @oruga-ui/oruga to get this feature ? Thanks

I have to release the 0.5.3, i think max tomorrow

Hi @jtommy, you are a legend. Thank you and I wish you all the happiness.....


[BEAM-5637] Python support for custom dataflow worker jar

Python support for customer worker jar (as a staged file).
Tested positive and negative case by starting actual jobs.
PreCommit pass locally.

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

[X ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
  Also, option definition moved to WorkerOptions.
Thanks to Boyuan for pointing out the right place for error message.

LGTM, but someone with python experience should review: @pabloem ?

LGTM, modulo Boyuan's comment.

Run Python PostCommit

Is it possible to add an integration test, using a jar built from the repo?

Is it possible to add an integration test, using a jar built from the repo?

Yes. That is planned (with tracking JIRA BEAM-5703), will be done in separated PRs.

Run Python PostCommit

How does this interact with installing the packages in boot.go. Would not this (https://github.com/apache/beam/blob/master/sdks/python/container/boot.go#L104) fail?

How does this interact with installing the packages in boot.go. Would not this (https://github.com/apache/beam/blob/master/sdks/python/container/boot.go#L104) fail?

A quick update after tracing the code. @aaltay  Got the issue pinned with hints from @herohde.
Root Cause. When making testing runs, I didn't specify worker_harness_container_image, assuming the most recent code version would be used.  However, the boot.go currently used in prod, lags behind by still using the internal one in google3 (third_party/.../python_fnapi/boot.go).   That is why my testing run didn't fail.
What next. Multiple choices regarding how to align this effort with the worker image migration, as well as some other integration testing migrations.  Let me dive into this a bit more and get back soon.


On windows powershell is named powershell.exe

At least on Windows 10 21H2

Thanks! pwsh.exe is the newer PowerShell Core, but it isn't installed by default, so using powershell.exe in the docs is probably a safer bet.


[FR] Add subtitle for iOS push notifications

Describe your environment
Messaging/Notifications
Describe the problem
We cannot send push notifications with subtitle for iOS due to ApsAlert struct lacking a subtitle field.
FCM API and the APNS itself do support this field on iOS 9+ (and it's safely ignored on older versions).

Hi @daxaxelrod this is the Firebase Admin Node.js repo. Do you need this feature supported in the Go SDK?
Hey, @chong-shao WDYT?

Hey @lahirumaramba Yes looking to get this added for the node sdk

I misread your comment, apologies. It looks like the subtitle field is available in the Node.js SDK. See https://firebase.google.com/docs/reference/admin/node/firebase-admin.messaging.apsalert.md#apsalertsubtitle
Does that help?

No problem! I've tried that (at least on v11.9.0) and it wasn't working for me. Am only able to get the title and body to work


Add new built-in plugins to README.md

Added missing ruby and node entries to README.md

@frmendes :D


tagging issue with angular version > 1.2.18

tagging works as expected (first multiple select) Angular 1.2.18:
http://plnkr.co/edit/STzBbCIBgHxfYCY8qpfL?p=preview

tagging does not work as expected (first multiple select) Angular 1.3.15
http://plnkr.co/edit/KAZjUQn4S6xKcyAIoxfD?p=preview

Using an angular version greater than 1.2.18 breaks the tagging functionality

ui-select is not Select2, it just has a Select2 theme.


update ci workflows to run weekly

Should be a very simmilar PR like for pytket-aqt, see one comment about the push


netpoll should handle error with backoff

Describe the bug
netpoll should handle error with backoff
To Reproduce
mkdir hello
cd hello
go mod init hello
curl -L -O https://github.com/cloudwego/hertz-examples/raw/main/hello/main.go
go mod tidy
go build .
ulimit -n 10
./hello

Open another terminal and telnet several times.
telnet <IP_ADDRESS> 8888 &
telnet <IP_ADDRESS> 8888 &

Now there are tons of logs. It may be 10MB per second.
2023/01/13 04:16:02 accept conn failed: too many open files
2023/01/13 04:16:02 accept conn failed: too many open files
......

Expected behavior
Don't print so many logs.
Screenshots
netpoll server

go net http server

Server:

OS: Ubuntu 20.04 Linux 5.4.0-47-generic
go: 1.19.5
hertz: v0.5.0
netpoll: v0.3.1

Additional context
netpoll server implement
https://github.com/cloudwego/netpoll/blob/6a5a4f7cb79118e1152c469c1b0ac216049a28c2/netpoll_server.go#L96-L103
go net http server implement
https://github.com/golang/go/blob/245e95dfabd77f337373bf2d6bb47cd353ad8d74/src/net/http/server.go#L3064-L3076

ulimit is a way that system provided to prevent a process from using too many resources. accept syscall returns EMFILE or ENFILE when it reaches the limit.
The limit could be very large (eg. 1024000) or be the default 65535, and it may also be limit to 1024 by the system admin on purpose.
Maybe some other code exactly needs to open many files to search for some thing. So less file descriptors for web service.
go net http server handled it. It won't cry for giving it larger fd limit. It just wait once per second for other connection closed.

go net http server handled it. It won't cry for giving it larger fd limit.

It's a interesting suggestion, will reconsider it. thanks!


EFS chapter - Reference to non-existing file efs-pv.yaml

Hello,
under the page: https://www.eksworkshop.com/beginner/190_efs/efs-csi-driver/
There's a reference to the following file, however it doesn't exist :
https://eksworkshop.com/beginner/190_efs/efs.files/efs-pv.yaml
(closest is efs-pvc.yaml)
Could you please check?
The video does not include explanation for the CSI DRIVER, so there might be additional mismatch or .
For example in current explanations there's no reference to 'efs-provisioner-deployment.yaml' which I see still exist in git, so not clear if required or there is missing information in the walkthrough.
Thanks!

We referenced efs-pvc.yaml to create: pv, pvc, storageclass and namespace.
kubectl create -f efs-pvc.yaml
namespace/storage created
storageclass.storage.k8s.io/efs-sc created
persistentvolume/efs-pvc created
persistentvolumeclaim/efs-storage-claim created

Thank you for the issue.
Hello we updated the lab and since then I am unable to reproduce the bug you mentioned.
Can you try again ?
Tx


include doesn't support UNC paths on Windows

let cc = gcc::Config::new();
cc.include(std::fs::canonicalize("."));

Doesn't add absolute path of "." as the include dir (tested on Win10, MSVC). This is because Rust's canonicalize() makes a UNC path such as \\?\C:\Foo.
Stripping the \\?\ prefix seems to solve the problem, but I don't know enough about UNC paths to know whether that's a good solution.
I use fs::canonicalize() as the easiest way to get absolute paths in build scripts of link/-sys dependencies to reliably pass the paths in env vars for other packages to consume, and it works well on Unix.

Is this a bug with gcc-rs? Or is this a bug with cl.exe not accepting these paths? Do you have an error message?

cl.exe doesn't support UNC paths (-IC:\foo works as expected, -I\\?\C:\foo doesn't find includes)
So strictly speaking that's a bug in cl.exe, but I'm betting on gcc-rs to hide deficiencies of MSVC for me :)

I've released a crate that normalizes paths in a compatible way: https://gitlab.com/kornelski/dunce
It would be nice if that was built into the include() function here.

I'm going to close this since it sounds like it was a bug in cl.exe, and I'd prefer to not add too much normalization to this crate.


Job restart

Limit the number of attempts to restart a failed job. Closes #261

This will need to be tested in production.


Allow moving windows by holding Win

Description of the new feature / enhancement
I'm used to window manager such as KDE and Gnome where you can move an application window by holding Alt or Win and dragging the window.
On Windows Explorer we must always click on the window title bar, and since now the buttons are inside the title bar (ie. MS Edge), sometimes it gets difficult to move windows around. We need to find that tiny spot where the mouse may grab the window.
Scenario when this would be used?
This would be used daily as Windows users are constantly moving windows application aroud.
Supporting information
Powertools is one of the best features that happened to Windows in the recent years!

Duplicated by #22207 and #269


St2web#1030 - add no-store cache-control header

In order to prevent workflow editor from presenting a cached version of opened workflow (instead of the up to date one) add cache-control for / location at the end of nginx st2.conf  file.
Shouldn't affect any other locations.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: fdrab:x: vagrantvagrant seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I'm not very good at git. Let me fix this

I'll fix my fork first and will create another PR


Specify bundler version

Before, the Dockerfile was installing the latest bundler version, which is only compatible with Ruby >= 2.3.0. I've changed the bundler version to 1.17.3, which requires Ruby >= 1.8.7. Version info here: https://rubygems.org/gems/bundler/versions/1.17.3

Thanks


Couldn't resolve "cee2ee7bccf83a7776c85588759aa0b8" as either a commit, a tag, or a head

Please help!
I can no longer install sortablejs-vue3
C:\Users\User\Projects\projectName>yarn add sortablejs-vue3 sortablejs
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: sortablejs@github:roy-mdr/Sortable#cee2ee7bccf83a7776c85588759aa0b8: Couldn't resolve "cee2ee7bccf83a7776c85588759aa0b8" as either a commit, a tag, or a head - if a commit, use the 40-characters commit hash
    at a (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:593:6599)
    at hO (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:593:6928)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Mb.getCandidates (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:593:11856)
    at async kf.getCandidates (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:391:1224)
    at async kf.getCandidates (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:391:1224)
    at async C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:439:8025
    at async df (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:390:11064)
    at async ge (C:\Users\User\Projects\projectName\.yarn\releases\yarn-3.6.4.cjs:439:8007)
    at async Promise.allSettled (index 1)
➤ YN0000: └ Completed in 1s 587ms
➤ YN0000: Failed with errors in 1s 590ms

I found a workaround:
Add this to package.json (without the caret '^' before the version number):
"sortablejs-vue3": "1.2.9",

some ai help....
This warning message is related to peer dependencies in npm. Peer dependencies are a specific kind of dependency that's expected to be installed into the parent project by the user, not as a child of the package that defines the peer dependency.
In your case, the sortablejs-vue3 package has a peer dependency on sortablejs at a specific commit (github:roy-mdr/Sortable#cee2ee7bccf83a7776c85588759aa0b8), but the installed version of sortablejs in your project is 1.15.0, which doesn't satisfy the peer dependency requirement.

Same

This should be resolved in v1.2.11.


Chore/update karma

Updates the karma config:

Update to reflect latest webpack config updates. Browser support based on .browserslistrc, babel config based on .babelrc

Only run coverage when --coverage flag is passed. Update recommendation to do this only when not watching. The reason for this is that instrumenting for coverage is slow and adding the coverage reporter causes all logs to be logged twice in the terminal. This is a known issue in karma.

Errors during compiling are passed a JSON objects with a message property. This causes unreadable error logs, and lots of spam when importing the wrong file. Formatting the error helps a lot here.

Static files are correctly served from the current working directory.

Opened a PR at https://github.com/webpack-contrib/karma-webpack/pull/404 to prevent karma-webpack and karma logging the same error twice.

Note: This is a breaking change.

I've updated the init script as well, but I'm not sure how to test it until the versions are released. Any ideas?

This is also a breaking change that needs to be applied across the monorepo, not sure how that should be handled. Should/can we do the update within the same MR as making these changes?

You can test the generator by cding to the create package and just running start: npm run build && node ./dist/create.js. Choose the karma generator, and it'll output in the same directory

yes we should do the needed change for all the files across all the packages...
as this is a breaking change would be nice to write a blog post about it right? do we want to use/enable the vuepress blog for it? or create a dev.to open-wc user?
btw. really nice improvement :+1: still needs some cleanup but I really like the direction :hugs:

I think a blog post in the sense of a 'news post' would make sense. Not a standalone blog post.
Also a MIGRATION.md would be good.

I added require.resolve for all plugins we use. This makes it so that modules are always resolved relative to the testing-karma package, rather than the package where it's installed. In real life projects this was giving me a lot of issues.
I adjusted all the configs, and standardized all the naming conventions, and it passes the CI. I squashed the commits, so I think we're good to go here.

I am looking at it now 💪

this is only testing in chrome even when running the bs version 🙈


window.cursor_position() on Linux/Wayland is actually LogicalPosition

Describe the bug
Window.cursor_position() returns a PhysicalPosition which has to be multiplied by the scale factor to get the same value as the CursorMoved event.  Thus Window.cursor_position() is a different value from CursorMoved if scaling is in use.
This occurs at least on Hyprland on linux.
CursorMoved explicitly handles the conversion to PhysicalPosition here.
Steps to reproduce
I don't have a MWE but could probably get one together.  This was discovered in EmacsNG (too large to compile just to reproduce).  Credit to @declantsien for working out what the problem was.
Expected behavior
Positions should be identical.
Platform and Versions (please complete the following information):
OS: Linux 6.2.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 Feb 2023 03:39:23 +0000 x86_64 GNU/Linux
Rustc: rustc 1.69.0-nightly (7aa413d59 2023-02-19)
Would you want to assign yourself to resolve this bug?

[x] Yes
[ ] No

Additional context
I don't know if this occurs on other platforms. Windows makes an os call as does Mac.  But linux goes via
the gdk Display.  I'm guessing the seat returns a scaled position as I can't find anything in the gdk docs.

I think I need an MWE to see if that's actually happen in tao. I thought GDK should handles that already.

Okay, I tested in #711 and looks like they are wrong indeed. They are actually logical positions.

great, thanks!  Sorry, I'm snowed under and hadn't got round to this.


make sure to set PR split view when creating/previewing a pull request

Fixes #3805

Codecov Report

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

@@           Coverage Diff           @@
##           master    #4617   +/-   ##
=======================================
  Coverage   20.31%   20.31%
=======================================
  Files         156      156
  Lines       31245    31245
=======================================
  Hits         6347     6347
  Misses      23940    23940
  Partials      958      958

Continue to review full report at Codecov.

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


Camel case need only first uppercase character and at least 1 lowerca…

Check for camel case in this plugin should be contains the first uppercase character and at least one lower case character and do not contains underscore character.

Thanks for the PR @nvhbk16k53! One little comment which should fix the failing test then I'll merge this in.

Test fail for only Windows, I don't know why.

Your right, its some issue with Travis, your change looks good. I'll deal with the build issues later.


ci: Package action for all integration tests

The exclusion of packaging of the action on the release branch was intended to verify that the repository contains the packaged action -- but that check should be an explicit test.
Closes #8

Closed in favour of #10


install.sh script cannot find amd64 binary

I tried running the install.sh script as the README states
curl -sSfL https://raw.githubusercontent.com/busser/tfautomv/main/install.sh | sh

on a amd64 machine.
The scripts tries to fetch "http_download https://github.com/busser/tfautomv/releases/download/v0.5.2/tfautomv_0.5.2_linux_amd64.tar.gz"
That link does not exist.
I guess it should be "tfautomv_0.5.2_linux_x86_64.tar.gz" instead.

This is fixed as of now :) Thanks for reporting it!


fix(FloatingOverlay): multiple lockScrolls with delayed unmount

Fixes #2504

@atomiks This PR loses paddingRight for body (compensation for scrollbar) if second modal activated right away after close


Update README.fr.md

Updated the readme to take the new location of the logos into account (now in tools.py)

can you rebase with recent changes please

can you rebase with recent changes please

I hope you can because I have no idea what that means

you can manually backport the change in your edit to remove unneeded changes : https://github.com/Aohzan/hass-prixcarburant/pull/73/files


Change crossdock end-to-end test to use "fast to start" storage

Requirement - what kind of business use case are you trying to solve?
Make crossdock end-to-end tests reliable and fast(er).
Problem - what in Jaeger blocks you from solving the requirement?
The objective of end-to-end test is to spin up all Jaeger containers and test span collection end to end. However, collector and query service need an external shared storage, so we're using Cassandra backend, which is slow to come up and often causes tests to fail.
Proposal - what do you suggest to solve the problem or improve the existing situation?
Use in-memory storage by implementing it as a standalone service. The Cassandra storage backend implementation is already being tested via integration separate tests, so not needed in end-to-end test.
Any open questions to address
We could use remote gRPC storage mechanism introduced in #3383.

OK I believe this is a better long-term solution. Will close my PR so that this issue can be resolved instead.

I think this can be closed as https://github.com/jaegertracing/jaeger/issues/1762 is fixed.

No, #1762 was about crossdock tests in the client repos, and they now use all-in-one. For end-to-end tests we want to use separately built components (mirroring prod deployment).

What do folks think about implementing this as a BadgerDB-backed GRPC storage plugin? I thought since we've got the logic for reading/writing spans to Badger in the Jaeger codebase, it should help reduce the effort involved.
This also unlocks a better local dev experience, not having to start cassandra/ES, which are a little heavy-weight.

I don't think it would work since badger is still single process even via grpc plugin. What we need is a fully remote storage.

Implementing this in #3835


tests, metadata: Add Linux Bridge metadata unit tests

Coverage increased (+0.2%) to 87.357% when pulling fd0c1591caebac92e040d53800f558b68bb0cf55 on EdDev:metadata-bridge-ports-ignore into 8a3de185a80fe438b2abe15285f4200e1966450e on nmstate:master.


Add missing dependencies on ViT tests

Looks like https://github.com/NVIDIA/JAX-Toolbox/pull/450 merged one but not the other of these changes.

Oh I see, looks like we can rebase then merge this PR


BatchUpdate and BatchDelete errors if an .OrderBy(..) was included in query

Sometimes, you might have a IQueryable that has an OrderBy specified in it.  As a simple example, given something like:
ctx.Jobs.Where( j => j.DateCreated > EntityFunctions.AddDays( DateTime.Today, -1 ) && j.Package != "null" )
		.OrderBy( j => j.DateCreated )
		.Delete();

When attempted to run, you get the exception:

The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP, OFFSET or FOR XML is also specified.

I've written a similar set of extensions as this library for Linq to Sql and to get around problem for me, I did some string searching/parsing.  Not sure if that is best solution, but something like the following would work in the BatchDelete.CreateCommand.
var querySelect = query.ToTraceString();

var queryParts = querySelect.Split( '\r' );
var selectClause = queryParts[ 0 ];
var needsTopClause = selectClause.IndexOf( " TOP " ) < 0 && querySelect.IndexOf( " ORDER BY " ) > 0;

if ( needsTopClause )
{
	querySelect =
		string.Join(
			"\r",
			new[] { selectClause.Replace( "SELECT ", "SELECT TOP 100 PERCENT " ) }.Concat( queryParts.Skip( 1 ) )
		);
}

I'm not sure if there is a more clever way to do it via Expression tree parsing or not.  Also, I'm not sure of the different variants the command text might be for different database providers.  Let me know if you want me to implement ( and something similar in BatchUpdate) and issue a pull request or if you think you'll have a 'better' way of fixing.
Thanks.

Thank you, Terry, for the bug and solution.
We will for sure use a solution very similar to yours. Unfortunately, we cannot use IndexOf(" TOP ") since someone could want from the batchUpdate to update a value using this constant.
ctx.Jobs.Where( j => j.DateCreated > EntityFunctions.AddDays( DateTime.Today, -1 ) && j.Package != "null" )
        .OrderBy( j => j.DateCreated )
        .Update(x => new { JobDescription = "WHY TOP IS HERE!!!");

I will try to look and fix this issue this week otherwise; a fix will be available at the beginning of next week.

We will probably use a DbExpressionVisitor or convert the expression to a string instead of using IndexOf from the final query string.

Note that I only searched for TOP in the 'first line' of the query...seems EF does the 'select clause' then a line feed.  So should only have SELECT or SELECT TOP ( N ) or SELECT TOP 100 PERCENT I'd think.  But if you have a visitor pattern you can use, probably safer.

We are currently testing our implementation.
In short, we only create an Expression Visitor to check if a method using "OrderBy" is used.
If we found one, we use Take with int.MaxValue (unless you want delete billions of records, that will cover the scenario).
if (visitor.HasOrderBy)
{
	query = query.Take(int.MaxValue);
}

While this fix is still not perfect, that will cover almost every scenario & database without having any impact.

I will wait for answers about your other threads, otherwise I will release the fix Thursday or Friday.

This issue has been fixed in v1.4.4
Let me know if this is now working for you.

Closing: Issue Fixed

Sorry for the late response.  This does appear to work.  Interesting tho

Shouldn't your if (visitor.HasOrderBy) check be if (visitor.HasOrderBy && !visitor.HasTake)?  Because if I have a Take, I think things would work as is.

I see the Take( int.MaxValue )...how come I don't see anything about that in the generated SQL?

Here is the LINQ statement:
	ctx.Jobs.Where( j => j.DateCreated > DbFunctions.AddDays( DateTime.Today, -1 ) && j.Package != "null" )
			.OrderBy( j => j.DateCreated ).Where( j => j.Group != "null" )
			.Delete();

Here is the SQL generated:
DECLARE @rowAffected INT
DECLARE @totalRowAffected INT

SET @totalRowAffected = 0

WHILE @rowAffected IS NULL
    OR @rowAffected > 0
    BEGIN
        DELETE TOP (4000)
        FROM    A
        FROM    [dbo].[Job] AS A
                INNER JOIN ( SELECT TOP<PHONE_NUMBER>)
    [Project1].[Key] AS [Key]
    FROM ( SELECT
        [Extent1].[Key] AS [Key],
        [Extent1].[DateCreated] AS [DateCreated]
        FROM [dbo].[Job] AS [Extent1]
        WHERE ([Extent1].[DateCreated] > (DATEADD (day, -1, @p__linq__0))) AND (N'null' <> [Extent1].[Package]) AND (N'null' <> [Extent1].[Group])
    )  AS [Project1]
    ORDER BY [Project1].[DateCreated] ASC
                           ) AS B ON A.[Key] = B.[Key]

        SET @rowAffected = @@ROWCOUNT
        SET @totalRowAffected = @totalRowAffected + @rowAffected
    END

SELECT  @totalRowAffected

Yes and no, the take could be used from a join query and to make the fix more simple, we choose to always add the Take.

By example,

if the query already does a Take(10), adding a Take(int.MaxValue) will change nothing to the result
if the order by is from a subquery, adding a Take(int.MaxValue) will change nothing to the result

We did it by simplicity.

I didn't see it either but after looking 3 times at the query, I finally found it ;)

INNER JOIN ( SELECT TOP<PHONE_NUMBER>)

Let me know if I answered correctly to your question


Only Loading... Please wait... after that show blank page, i'm try o make custom script.

This is my custom script :
function onClick() {
var name = document.getElementById('holder').value;
var address_line1 = document.getElementById('address').value;
var address_city = document.getElementById('town').value;
var address_state = document.getElementById('county').value;
var address_zip = document.getElementById('postcode').value;
var address_country = document.getElementById('country').value;
var cardNumber = document.getElementById('ccno').value;
var input = document.getElementById('ccexp').value;
var fields = input.split('/');
var expMonth = fields[0];
var expYear = '20'+fields[1];
var cvc = document.getElementById('secode').value;
const paymentRequest = {
name: name,
address_line1: address_line1,
address_city: address_city,
address_state: address_state,
address_zip: address_zip,
address_country: address_country,
cardNumber: cardNumber,
expMonth: expMonth,
expYear: expYear,
cvc: cvc,
currency: 'usd',
amount: 100,
nativeElement: document.querySelector('#iframe-payment')
};
paymentRequest.nativeElement.innerHTML = 'Loading... Please wait...';
doPayment(paymentRequest).then((result) => {
paymentRequest.nativeElement.innerHTML = 'Success!!!! Your details are correct!!!';
window.location.replace = window.location.protocol + '//' + window.location.hostname + '/success';
}).catch((error) => {
console.error(error);
paymentRequest.nativeElement.innerHTML = 'Ups! We can\t validate your details...';
alert('Your credit card was declined. Please enter another credit card or check your info');
});
}
how to make work this script, I'm ready  to set my pk_live.But i got error.Only Loading... Please wait... after that show bank page without any redirect .
Thank you.

Can you please create a stackblitz or jsfiddle example?

can u tell me how to your source works?
2018-03-14 4:29 GMT-05:00 Bruno Antunes<EMAIL_ADDRESS>
Can you please create a stackblitz https://stackblitz.com/ or jsfiddle
https://jsfiddle.net/ example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bmvantunes/stripe-3d-secure/issues/2#issuecomment-372957194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiBPfuM9A4LF_v_BI6eO4Jv5gTMe6FoBks5teOMUgaJpZM4Spxgm
.

Hi,
The is loading step can take a few seconds.
Basically, we are waiting for stripe API, and in the case of 3ds cards, for the iframe to load. In a real application, you want a good waiting experience not only a "Loading... Please wait...", but for demo purposes, it does the trick :)
All my logic is super simple. Every time you click a button it calls onClick inside main.js. Then it calls doPayment inside api.js. The functions inside api.js are presented in order of execution, to make the understanding easier. You can have a closer look at https://github.com/bmvantunes/stripe-3d-secure/blob/master/js/api.js
I hope it helps.

How do i'm generate token from pk live key? And implementation on your
source code. Thank you.
Pada tanggal 14 Mar 2018 16:29, "Bruno Antunes"<EMAIL_ADDRESS>menulis:

Can you please create a stackblitz https://stackblitz.com/ or jsfiddle
https://jsfiddle.net/ example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bmvantunes/stripe-3d-secure/issues/2#issuecomment-372957194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiBPfuM9A4LF_v_BI6eO4Jv5gTMe6FoBks5teOMUgaJpZM4Spxgm
.


Bitbucket Server: Complete Support and Add Enhancements

Contents:
This pull request consists of 2 commits.

Complete the Bitbucket server (bitbucket 3) incoming webhook integration by extending support for all pull request events.

Enhance and refactor the code. From the commit message:
"In terms of minor enhancements, this commit will now link each
actor's name with the url to their profile thus giving the messages
a much more complete feel. Also, for when comments on a commit are
deleted, the quote will now use stikethrough text.
In terms of refactoring, this commit removes the unnecessary line
splitting in this integration's tests (mainly observed with the
expected_message variables) thus making it easier to read."

Testing Plan:
A plethora of new automated tests have been added and additional testing has been done manually. Since this is quite a bit of code to review all at once, I've made a small script that could make the process of viewing the output a bit more enjoyable by generating all of the fixture messages at one go so that they can easily be viewed from the development environment - i.e. after running ./tools/run-dev.py (see attachment: visual-test.zip) - some "macros" (just variables) need to be manually set and then this script can be run after placing in the top level zulip directory.

@eeshangarg could you review this? :grin:

Thank you so much for reviewing and for waiting*! I've made most of the requested changes and resolved the related conversations, and where I have not, left a comment to continue the discussion if and as required.
*(since I had my tech fest to deal with)

@eeshangarg I've finished formatting my code. Is there anything else you think might need changing? :)

(Force pushing once more to include an auto-close statement)

Cause for test failure (seems to be a Circle CI issue):
Apr 02 12:14:34 41 upgraded, 13 newly installed, 0 to remove and 133 not upgraded.
Apr 02 12:14:34 Need to get 72.5 MB of archives.
Apr 02 12:14:34 After this operation, 77.8 MB of additional disk space will be used.
Apr 02 12:14:34 Get:1 http://ppa.launchpad.net/groonga/ppa/ubuntu bionic/main amd64 libgroonga0 amd64 9.0.1-2~bionic1 [1,685 kB]
Apr 02 12:14:35 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.7-1~18.04 [508 kB]
Apr 02 12:14:37 Get:3 http://ppa.launchpad.net/groonga/ppa/ubuntu bionic/main amd64 postgresql-10-pgroonga amd64 2.1.8-2~bionic1 [90.0 kB]
Apr 02 12:14:37 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.7-1~18.04 [197 kB]
Apr 02 12:14:37 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.7-1~18.04 [44.8 MB]
Apr 02 12:14:37 Get:6 http://ppa.launchpad.net/tabbott/zulip/ubuntu bionic/main amd64 postgresql-10-tsearch-extras amd64 0.4bionic2 [5,360 B]
Too long with no output (exceeded 10m0s)

Force pushing to fix.

@Hypro999: Looks great now, merging! Thanks! :)


failed create container in python 3.4

Hi,
I use python 3.4 to try azure storage, but failed. here is the exception:
-----------------------
from azure.storage import BlobService

accountName='devstoreaccount1'

accountKey = 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=='

blob_service = BlobService(account_name=accountName, account_key=accountKey)

blob_service.create_container('mycontainer')
---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
D:\Python34\lib\site-packages\azure\storage\storageclient.py in _perform_request(self, request, text_encoding)
    164             else:
--> 165                 resp = self._filter(request)
    166

D:\Python34\lib\site-packages\azure\storage\storageclient.py in _perform_request_worker(self, request)
    153     def _perform_request_worker(self, request):
--> 154         return self._httpclient.perform_request(request)
    155

D:\Python34\lib\site-packages\azure\http\httpclient.py in perform_request(self, request)
    262                 raise HTTPError(self.status, self.message,
--> 263                                 self.respheader, respbody)
    264

HTTPError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

During handling of the above exception, another exception occurred:

WindowsAzureError                         Traceback (most recent call last)
<ipython-input-27-594f8d0df76b> in <module>()
----> 1 blob_service.create_container('mycontainer')

D:\Python34\lib\site-packages\azure\storage\blobservice.py in create_container(self, container_name, x_ms_meta_name_values, x_ms_blob_public_access, fail_on_exist)
    201                 return True
    202             except WindowsAzureError as ex:
--> 203                 _dont_fail_on_exist(ex)
    204                 return False
    205         else:

D:\Python34\lib\site-packages\azure\__init__.py in _dont_fail_on_exist(error)
    523         return False
    524     else:
--> 525         raise error
    526
    527

D:\Python34\lib\site-packages\azure\storage\blobservice.py in create_container(self, container_name, x_ms_meta_name_values, x_ms_blob_public_access, fail_on_exist)
    198         if not fail_on_exist:
    199             try:
--> 200                 self._perform_request(request)
    201                 return True
    202             except WindowsAzureError as ex:

D:\Python34\lib\site-packages\azure\storage\storageclient.py in _perform_request(self, request, text_encoding)
    170
    171         except HTTPError as ex:
--> 172             _storage_error_handler(ex)
    173
    174         return resp

D:\Python34\lib\site-packages\azure\storage\__init__.py in _storage_error_handler(http_error)
   1126 def _storage_error_handler(http_error):
   1127     ''' Simple error handler for storage service. '''
-> 1128     return _general_error_handler(http_error)
   1129
   1130 # make these available just from storage.

D:\Python34\lib\site-packages\azure\__init__.py in _general_error_handler(http_error)
    547             raise WindowsAzureError(
    548                 _ERROR_UNKNOWN.format(str(http_error)) + '\n' + \
--> 549                     http_error.respbody.decode('utf-8-sig'))
    550         else:
    551             raise WindowsAzureError(_ERROR_UNKNOWN.format(str(http_error)))

WindowsAzureError: Unknown error (Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.)
<?xml version="1.0" encoding="utf-8"?><Error>AuthenticationFailed<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:046ef1d9-0001-0039-1b42-9ca319000000
Time:2015-06-01T08:13:07.4054774Z</Message><AuthenticationErrorDetail>The MAC signature found in the HTTP request 'd7gGcvvnKcy+5UijyYq9vsMcyygmP/dRH3UbVKqYhJg=' is not the same as any computed signature. Server used following string to sign: 'PUT

0
application/octet-stream Charset=UTF-8

x-ms-date:Mon, 01 Jun 2015 08:12:58 GMT
x-ms-version:2014-02-14
/devstoreaccount1/mycontainer
restype:container'.</AuthenticationErrorDetail></Error>
--------------

very appreciate for you help.
thanks
sanyorke

To run under the storage emulator, you'll have to set the EMULATED environment variable and initialize BlobService with no parameters.  Example:
import os
os.environ['EMULATED'] = 'True'

blob_service = BlobService()

I'll file a feature request to allow passing 'UseDevelopmentStorage=true' in the connection string, which is suppored by the node.js storage sdk.

ah, this works for me. thanks a lot.


USB not booting

I've created a USB key using DD as mentioned on your wiki.
For some reason it doesn't boot at all. It just skips right over it.
Yes I have made sure I am booting from the correct device.
I'm using this on an HP laptop.
I may not be using it correctly, but I would like to be able to test this service so I may attempt to make my own at home.

Some boxes can be picky about iPXE, but in general it should just boot. Does it have a boot sector written to it? 0xAA55 at bytes 510, 511 with byte 0 being the first byte?
I usually check this with head -c 512 | hexdump -C and look at the last two bytes.
May want to try another iPXE USB image and see if that works.

I'd suggest checking out https://netboot.xyz as I've been putting my effort there these days and it's usually running the latest version of iPXE.  I've ran across issues where some USB keys either won't boot or the USB port isn't seen as a boot device.  If you've run through all the steps to DD the image, I'd suggest trying another USB key or another port.
https://netboot.xyz/boot-usb/

I know this is late, but I figured it out, I had wrote the image incorrectly. I had fixed it.


[Issue #6] Implementing globs to load data

Hi Lindsay,
This is a nice plugin, currently I'm implementing your plugin in a project, and I'm trying to reach out use data into some components as partials, and here I'm implementing globs in order to load data and changing the target to ES6 on TS compiler in order to allow Object.assign
This is an example to load external data:
As previous implementation (works as well)
data: 'src/data.json'
As an Array
data: [     'src/data.json',     'dataPartials/**/*.json' ]
Or just partials
data: 'dataPartials/**/*.json'
I hope you can find this useful. Thanks
Regards,
César

Awesome!
Thanks César - I'll hopefully get a new release pushed out today

Hey Lindsay! I have a question when do you think you can get a new release? I would like to use that we made in a project that I'm working on. Thanks in advance!

Hi César - sorry, have been super busy lately.
Have just done a new release, v1.2.1 should be available on NPM now


Include WebAssembly as having undefined type

The specification currently notes that the HTML integration would treat JavaScript as assertion "type" *undefined*. This updates that note to treat Web Assembly similarly as assertion "type" being *undefined*.
Effectively this specification note already implies today that assert { type: 'javascript' } should not be implemented, and then extends that to assert { type: 'webassembly' }.
Alternatives to this PR include the "any" proposal, "executable" proposal, or "javascript" and "webassembly" direct types.

The readme should be updated as well, including the WebAssembly examples there.

Also, this is part of a section called “A Sample host integration: The Web embedding”—it’s an example of how a host could implement the spec, not the spec itself. As in, a host could decide to treat JavaScript as undefined, as in this example, but it doesn’t need to because this is just an example implementation. If you want to define the lack of a declared assertion type as meaning type: undefined then it should be clearly explained as such within the spec itself, as well as in the proposal readme and examples. Such a change would force an update in the HTML spec, because their treatment of “lack of type = 'javascript'“ would then be in violation.

Is this still relevant? If so, can it be rebased?

Given that:

this change is not normative, but only descriptive of a possible web integration
WASM-ESM integration is not currently being developed
HTML ended up not using an undefined type of JS internally
I'm closing this PR. @guybedford If you'd prefer to re-open and land this let me know!


Update prompt.txt

instrucitons -> instructions

Thanks for catching this typo! For reproducibility, we're inclined to leave it as it is.


SpectrogramTransform should not provide an encodes for AudioTensor

SpectrogramTransform warns when it's passed an AudioTensor, but this breaks the ability of FastAI's pipeline system to automatically reorder transforms, since it thinks AudioTensor is now a valid input type to SpectrogramTransform.encodes.
class SpectrogramTransform(Transform):
    "Helps prevent us trying to apply to Audio Tensors"

    def encodes(self, audio: AudioTensor) -> AudioTensor:
        warnings.warn(f"You are trying to apply a {type(self).__name__} to an AudioTensor {audio.shape}")
        return audio

Should this warning (and at that point the whole class) be removed? If so I can do that and open a PR.

I didn't realise that it re-orders the transforms for you?

Just tested - you're right, it doesn't. I thought it re-ordered them to allow you to specify augmentations in a single list, even you supply  a type conversion:
aug_transforms = [
    SomeWaveAug(...),
    SomeSpectrogramAug(...),
]

DataLoader(..., tfms=[*aug_transforms, AudioToSpec(...)])

Not sure where I picked that up from.


Update part2.md

按照操作步骤，在这里会有2个相同id的镜像。如果不加-f 会提示（image is referenced in multiple repositories）导致操作失败

Proposed changes

Unreleased project version (optional)

Related issues (optional)

This should not be necessary unless you're using a really generic name that collides with something you did somewhere else on your local machine. Let's keep it simple here.


get new api to work

update the demo file to use the new API as required in the gh issue

Current dependencies on/for this PR:

master

PR #1867

PR #1905

PR #1879

PR #1880

PR #1881

PR #1914

PR #1915

PR #1916

closing these unfinished ones you can re-open as a big one


How to use Socket.IO with laravel?

Laravel Version: 7.1.2
PHP Version: 7.4.0
Database Driver & Version: mysql 8.0.18

Hello Guys, i am building a Web Chatting Platform with Laravel,
and i am new to web sockets, i want to use Socket.IO to make it Real-Time Chat Application.
But i don't know why it's very hard to find a documentation or Tutorial or a course to buy to learn Socket.IO with Laravel.
Anyone have any idea how or where can i find the above requested?
Thank you in advance.

Have you seen this
https://docs.beyondco.de/laravel-websockets/

Please post this in one of the many forums available, or another community such as Discord / Slack. This issue board is for bugs related to the framework itself.

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


Fix memory leak of tls13 keys in FIPS mode

Issue # (if available):
in fips mode, creating a hash means creating allocs that needs to be freed.
Description of changes:
free any hashes that may have created allocations.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (fix_tls13_keys_mem@1ee991a). Click here to learn what that means.
The diff coverage is n/a.


Shaders not working on DT leaves

On any version of Dynamic Trees, tree leaves are not affected by any shaders effects while vanilla leaves do, no mods are installed except OptiFine_1.12.2_HD_U_E3 and running on forge-1.12.2-<IP_ADDRESS>47. I'm using Sildurs Vibrant Shaders v1.23 Extreme-VL shaders, but chocapic's shaders or SEUS wouldnt do either
I saw another issue where installing betterfoliage corrected the bug but in my case it didnt solve the problem

copied over from another issue I posted this in
Probably a bit late, but Dynamic trees uses a different block ID for it's leaves.
Open up the shader zip and locate the shader.properties file.
Open that and scroll to the line where it lists leaves. (if there are 2 lines use the 1.12 one - usually under #else)
Then add "dynamictrees:leaves" after the entries (seperated by a space). (I think it was that block ID. To be sure just look at the leaves ingame with F3 menu on and you can see the ID on the right side)

copied over from another issue I posted this in
Probably a bit late, but Dynamic trees uses a different block ID for it's leaves.
Open up the shader zip and locate the block.properties file.
Open that and scroll to the line where it lists leaves. (if there are 2 lines use the 1.12 one - usually under #else)
Then add "dynamictrees:leaves" after the entries (seperated by a space). (I think it was that block ID. To be sure just look at the leaves ingame with F3 menu on and you can see the ID on the right side)

I did what you said but it still isn't working. (block.10018 = leaves leaves2 dynamictrees:leaves dynamictrees:leaves0 dynamictrees:leaves1 dynamictreesbop:leaves_flowering dynamictreesbop:leaves0 dynamictreesbop:leaves1 dynamictreesbop:leaves2 dynamictreesbop:leaves3 dynamictreesbop:leaves4 dynamictreesbop:leaves_palm dynamictreesbop:leaves7 dynamictreesphc:leaves0) This is the # fallback for pre 1.13 versions:
#else one.

copied over from another issue I posted this in
Probably a bit late, but Dynamic trees uses a different block ID for it's leaves.
Open up the shader zip and locate the block.properties file.
Open that and scroll to the line where it lists leaves. (if there are 2 lines use the 1.12 one - usually under #else)
Then add "dynamictrees:leaves" after the entries (seperated by a space). (I think it was that block ID. To be sure just look at the leaves ingame with F3 menu on and you can see the ID on the right side)

about this... so I try to save it but it just won't let me save it to the shaderpack? Sorry I just started trying to do this

copied over from another issue I posted this in
Probably a bit late, but Dynamic trees uses a different block ID for it's leaves.
Open up the shader zip and locate the block.properties file.
Open that and scroll to the line where it lists leaves. (if there are 2 lines use the 1.12 one - usually under #else)
Then add "dynamictrees:leaves" after the entries (seperated by a space). (I think it was that block ID. To be sure just look at the leaves ingame with F3 menu on and you can see the ID on the right side)

about this... so I try to save it but it just won't let me save it to the shaderpack? Sorry I just started trying to do this

Hey sorry a bit late again. But it is probably because you are trying to edit the file while inside the zip?
Try with extracting the zip.
Little tip: You can also load shaderpacks when they are not zipped. It just has to be folder with the shader name/shaders, etc

Duplicate of #235


How to compare local (committed) images?

I'm likely missing something here but suppose I have a running container, test and I commit it via docker commit -t test:before test. Then I make changes to the running container and commit it again via docker commit -t test:after test.
How do I diff those local images? I have tried to do this:
./diffoci diff test:before test:after

Which complains that it cannot find the image or doesn't have authorization:

FATA[0000] failed to pull "docker.io/library/test:before": failed to pull "docker.io/library/test:before": failed to resolve image: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

I've also tried using the --backend=local option (which I don't think is correct anyway), and I get the same issue.

Try prepending docker:// to the image name


Do not work in 23w41a

Due to the following bugs:

MC-265772
MC-265805

Maybe we should skip the support for 23w41a.

We have decided to skip the support for 23w41a. Due to MC-265805, we cannot perform an effectively unbounded tail recursion, which is needed for benchmarking.


Our current (after-staging-merge) lacks CC environment  variable for the gcc variety

tex4ht used $CC -o … commands; now these work on clangStdenv, but not on gcc stdenv.
I fixed it to use ${CC:-gcc}. Is the CC environment variable situation intentional?

$CC seems defined on master. I tested x86_64-linux:
$ nix-shell -p stdenv --pure
$ echo $CC
gcc

This doesn't appear to work anymore?

@ledettwy: it still does work for me.  Can you provide more details?

Sure:

[~]$ nix-shell -p stdenv --pure --run "echo \$SHELL"
/nix/store/hqi64wjn83nw4mnf9a5z9r4vmpl72j3r-bash-4.4-p12/bin/bash
[~]$ nix-shell -p stdenv --pure --run "echo \$CC"

[~]$ nix-shell -p gccStdenv --pure --run "echo \$CC"

[~]$ nix-shell -p clangStdenv --pure --run "echo \$CC"

[~]$ nix-shell -p nix-info --run nix-info
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixpkgs-17.09.2253.559ebb7ed02, nixos-17.09.2253.559ebb7ed02, unstable-18.03pre121843.4e7deb7100b", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
[~]$

@ledettwy this is only during nix builds not in your normal shell:
$ nix-shell -A hello '<nixpkgs>'

[nix-shell:~]$ echo $CC
gcc

Globin confuses me a bit.  I get this as it should be, I believe:
$ nix-shell -p --pure --run "echo \$CC"
gcc

I had tried it on the nixpkgs commits printed by nix-info above, too.


Pull App Development module out of GCP Track

Clarifies difference between local (Part 1, soloing) and OSS (Part 2, pairing) tracks
Happens at next release

Leaving section for now. Will update it to be for App Development with the API instead of the CLI