TransferFileAsync TLS error

FTP OS: Linux
FTP Server: glFTPd
Computer OS: Windows 10
FluentFTP Version: Latest
Logs :
This happens when I try to simply FXP 1 file from one server to another, which are both running glFTPd w/TLS v1.3

Response: 435 Failed TLS negotiation on data channel (timeout), disconnected
Response: 435 Failed TLS negotiation on data channel (timeout), disconnected
Response: 435 Failed TLS negotiation on data channel (SSL_accept(): (5) error:00000000:lib(0):func(0):reason(0)), disconnected
Response: 435 Failed TLS negotiation on data channel (SSL_accept(): (5) error:00000000:lib(0):func(0):reason(0)), disconnected

The issue can be fixed, but its a hack; you have to edit "FtpClient_FXPConnection.cs" goto line 154, and replace the following "if" command:
			// send PASV command to destination FTP server to get passive port to be used from source FTP server
			if (!(reply = await destinationClient.ExecuteAsync("PASV", token)).Success) {
				throw new FtpCommandException(reply);
			}

With this:
			if(!(reply = await destinationClient.ExecuteAsync("CPSV", token)).Success)
			{
				// send PASV command to destination FTP server to get passive port to be used from source FTP server
				if (!(reply = await destinationClient.ExecuteAsync("PASV", token)).Success) {
					throw new FtpCommandException(reply);
				}
			}

However, I still think there should be some other way to solve this issue by adding a custom handler for glFTPd or something like it...

The issue can be fixed, but its a hack; you have to edit "FtpClient_FXPConnection.cs" goto line 154, and replace the following "if" command:
			// send PASV command to destination FTP server to get passive port to be used from source FTP server
			if (!(reply = await destinationClient.ExecuteAsync("PASV", token)).Success) {
				throw new FtpCommandException(reply);
			}

With this:
			if(!(reply = await destinationClient.ExecuteAsync("CPSV", token)).Success)
			{
				// send PASV command to destination FTP server to get passive port to be used from source FTP server
				if (!(reply = await destinationClient.ExecuteAsync("PASV", token)).Success) {
					throw new FtpCommandException(reply);
				}
			}

However, I still think there should be some other way to solve this issue by adding a custom handler for glFTPd or something like it...

Sorry for the late response. Just got around to doing this. I added your fix by default for all servers - I don't see the harm.
Could you try this build please:
FluentFTP.35.0.0_BETA7.zip

Released.
https://www.nuget.org/packages/FluentFTP/35.0.0

Hi @m4mm0n, can you try the latest build from nuget and tell me if it resolves your issue? I need feedback on this please.


Add a gui implementation for led control (and maybe more)

Feature request: Could we add a button to send the Bootload command to put the device into USB DFU bootloader mode?


How to define schema for source code?

I have no prior experience with tantivy, and I want to use it to search a huge amount of source code (like the Chromium's repository). What's the proper way to define a schema for it? Thanks.

I really depends on tiny details about the search experience you are trying to build.
You probably want one field for the source code.
Index it with positions and make it stored.
You might want to have a custom tokenizer but to start the normal tokenizer should do the job.
You will also want a field for the filepath. Make it indexed and stored to.
Maybe add one field for the language.

Thanks for the suggestion! I'll give it a try.


Piping text broken

I wasn't able to get text to pipe from the text buffer to the terminal, so I poked around in the source a bit and fixed it like this:
# index.coffee:108-128
    pipeTerm: (action)->
      editor = atom.workspace.getActiveEditor()
      stream = switch action
        when 'path'
          editor.getBuffer().file.path
        when 'selection'
          editor.getSelectedText()

      if stream and @focusedTerminal
        if Array.isArray @focusedTerminal
          [pane, item] = @focusedTerminal
          pane.activateItem item
        else
          item = @focusedTerminal

        item.ptyProcess.send(
          event: 'input',
          text: stream.trim()
        )

        item.focus()

This seems to work. I was disappointed to find there was no way to pipe text back out, from the terminal to the text buffer, and I couldn't even get highlighting it with the mouse and copy/past to work. If I highlight the text, pressing cmd+c or ctrl+shift+c fail to do anything, and right-clicking doesn't either. Really need to be able to send text back over from the REPL for this to be as useful as it could be.
Thanks for all your hard work, this is nicely done.

PR is welcome.


[Marker.io] Logo not showing in header

On mobile
iPhone 16 Chrome browser

Reported by: Holly<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://na13-prezzee.webflow.io/en-us
Issue details: Open in Marker.io
Device typemobileBrowserChrome Mobile 130.0.6723.90Screen Size402 x 874OSiOS 18.0Viewport Size402 x 684Pixel Ratio@3x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


TiCDC cluster suffers a round robin owner election during rolling update

What did you do?

Create a TiCDC cluster with multiple nodes, such as 7 nodes.
Rolling update the TiCDC cluster

What did you expect to see?
Replication continues normally during TiCDC is rolling update
What did you see instead?
Supposing the owner is restarted at first, then owner will be elected to each following TiCDC node(This is caused by the election way in etcd, it simply selects the election key with the smallest revision as the campaign winner), while the elected owner will be restarted soon by rolling update.
The initialization phase of a TiCDC owner could cost long time, it has many procedures, including  initializing each existing changefeeds (when initializing a changefeed it will create a downstream sink, imaging we create a Kafka sink and do some verification jobs, it is heavy work).
Then we will waste a lot of time in each TiCDC owner node to do owner initialization. What's more, maybe no owner finishes initialization before it restarts, the replication checkpoint could pause during rolling update, and the longer rolling update takes, the larger replication lag may happen.
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
v5.3.0

TiCDC version (execute cdc version):
master@https://github.com/pingcap/ticdc/commit/fe92b89a0ea05a066a61a94d96440f38504d170e
Brainstorming

When processing rolling update, update the TiCDC owner at last, then the owner will be transferred only once, and before the last node is restarted, the owner works as normal. (This may be simple, just change the deploy tools, but may be not reasonable, why should the deploy tool care about which node is TiCDC owner?)
Separate independent owner nodes, as what DM-master does in DM. We can update owner nodes first, then processor nodes. (This changes existing architecture of TiCDC)
Add an API to notify TiCDC cluster that it will go into a rolling update mode. When TiCDC enters rolling update mode, it will have special logic to avoid too much replication lag. (But this is too tricky)
Introduce a more intelligent leader election strategy? (Then we have to deal with consensus, it is complex)

After discussion, we decide to make this a feature, for two reasons

Current behavior doesn't break TiCDC boundary (in extreme scenarios, there checkpoint lag could reach 10 minutes)
In the short term, we tend to update the rolling update strategy in TiUP or TiDB-operator to restart TiCDC owner at last.

Since this issue doesn't break TiCDC boundary, change to severity/moderate.

https://github.com/pingcap/tiup/pull/1972
This is solved by supporting upgrade the owner at the last strategy in the PR above.


can we make the tls version configurable?

now, etcd accepts tls's connection with low version(TLS1.0), see this,can we make this configurable? because TLS1.0 has some security flaw.

@gtank Opinions?

SSLv3 -> POODLE and BEAST
TLSv1.0 -> POODLE and BEAST using CBC cipher
TLSv1.1 -> RC4 cipher usage
I think probably we should bump default to TLS 1.2 directly instead of making it configurable.

I agree with @xiang90. Since we control both endpoints here there's actually not any reason to allow most of the negotiation options in TLS. If we can afford to (check compatibility + perfomance) then we should use something like
// Note: in the wild this pretty much only works for talking to Google
var tightTLSConfig = tls.Config{
    RootCAs: nil, // be explicit about using system bundle
    CipherSuites: []uint16{
        tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
        tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
    },
    MinVersion:               tls.VersionTLS12,
    CurvePreferences: []tls.CurveID{
        tls.CurveP256,
        tls.CurveP384,
    },
}

@xiang90 @gtank ,thanks for your apply. since it is a simple modify for this, then will it be a patch or just support in the master branch?


Option to specify input format

Hello,
As noted in the documentation Tippecanoe assumes GeoJSON format from standard input.
Is there a way to specify the input format?
I am trying to pipe CSV data. When saved as a CSV file everything works as expected, but get a parsing error when piping it in.
Thanks,
Jay
Piping Error
$ cat geom.csv > pipe
---------------------------------
$ tippecanoe -e tiles -zg -l points pipe
pipe:1: Found unexpected character
0 features, 10 bytes of geometry, 4 bytes of separate metadata, 0 bytes ofstring pool
Did not read any valid geometries

You're right, it currently uses the filename to determine the format. I don't think sniffing the format will be reliable, so probably the best thing I can do is add a format field to --named-layer.

This will be fixed in 3cb09d0 in https://github.com/mapbox/tippecanoe/pull/604

Hello,
does it work with PBF file as input ?

PBF (Geobuf) input can't be read from a stream, because the vtzero library works by mapping the entire structure into memory. If you are using Geobuf, you will have to provide it as a regular file.


Docs: fix speed code sample printf format specifiers

%ull should be %llu.

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

Thanks for your contribution.

sha=88883ea9c578a6fe33426c90a1640ebd9790d533


UVW v3

A breaking change to set a tipping point for a new version of uvw, an updated coding style (with a more standard-ish snake style) and huge performance improvements during compilation.
Feedback are highly appreciated. 🙂

Codecov Report

Merging #263 (7093c0b) into master (3db9e8f) will decrease coverage by 3.21%.
The diff coverage is 91.82%.

@@            Coverage Diff             @@
##           master     #263      +/-   ##
==========================================
- Coverage   96.52%   93.31%   -3.22%
==========================================
  Files          62       63       +1
  Lines        2619     2767     +148
==========================================
+ Hits         2528     2582      +54
- Misses         91      185      +94

Impacted Files
Coverage Δ

src/uvw/poll.cpp
0.00% <0.00%> (ø)

src/uvw/loop.h
27.08% <31.25%> (-2.92%)
:arrow_down:

src/uvw/signal.cpp
55.55% <58.82%> (-11.12%)
:arrow_down:

src/uvw/stream.cpp
78.57% <78.57%> (-21.43%)
:arrow_down:

src/uvw/fs_event.cpp
82.35% <80.00%> (-11.77%)
:arrow_down:

src/uvw/fs_poll.cpp
81.25% <80.00%> (-12.09%)
:arrow_down:

src/uvw/check.cpp
81.81% <81.81%> (-18.19%)
:arrow_down:

src/uvw/idle.cpp
81.81% <81.81%> (-18.19%)
:arrow_down:

src/uvw/prepare.cpp
81.81% <81.81%> (-18.19%)
:arrow_down:

src/uvw/util.cpp
85.36% <84.54%> (-5.15%)
:arrow_down:

... and 65 more

Continue to review full report at Codecov.

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

@skypjack do you need any help to get the pipeline back to green too?

Oh, well, put aside some sporadic failures mainly due to the poll tests, it depends on the reduced test coverage and I'm trying to increase it. Any help is appreciated ofc. 🙂

I really like the reduced compile time and find the multi_word_style much better than multiWordStyle for readers.
(not) just joking:

Optimal would be to have a programming language that allows spaces in identifiers and ideal if we had enough words to only ever use single word identifiers ... but these are topics left as exercises for later generations (and languages).

@sthagen have you tried this branch already?
I'm observing a huge improvement in terms of compilation time and I'm curious to know if it's a common thing.
Also, feel free to drop comments, suggestions and complaints if you want. Any contribution is appreciated! 🙂

@skypjack I did not, but I hope to do it on the weekend (... there are traces of such "plans of mine" here on github where a day became a month ... 🤷🏽♂)
I read through the hunderd or so files in the change set and in theory it really looks good. Practice may decide differently on my machine, but I am confident and happy your machines already show the practical gains) 🚀
Sometimes when many functions change their return type from void to int (like in this PR) change sets risk to become a liability. But, typically in wrappers / proxies like this library, this only indicates the beneficial move from a hiding facade pattern to an open proxy that propagates the state info from the lower layers back to the caller instead of providing riddles to the callers :+1:

Yeah, the idea is to make it more transparent and only add the work around memory and lifetime management on top of libuv. It doesn't make much sense to hide to the final user the error codes or any other thing, as if there wasn't libuv under the hood. 😅

@skypjack it fails tests on my env (WSL2 ubuntu-20.04):
[ctest] ../test/uvw/loop.cpp:86: Failure
[ctest] Expected equality of these values:
[ctest]   count
[ctest]     Which is: 11
[ctest]   12u
[ctest]     Which is: 12

Mmm any chance you can reproduce it? I don't know what's going on there otherwise. 😞

Mmm any chance you can reproduce it? I don't know what's going on there otherwise. 😞

@stefanofiorentino ping 🙂
I'd like to merge this one upstream but I can't reproduce nor fix the failure you mentioned.
Any news about it?

Mmm any chance you can reproduce it? I don't know what's going on there otherwise. 😞

@stefanofiorentino ping 🙂 I'd like to merge this one upstream but I can't reproduce nor fix the failure you mentioned. Any news about it?

Some (little) investigations yield this:

the failing test is Loop.walk
failing with USE_ASAN and USE_UBSAN, too

I'm wondering, why we don't have USE_*SAN as github workflows?

Some (little) investigations yield this:

the failing test is Loop.walk
by enabling USE_ASAN the "Lopp" tests pass, but "616 byte(s) leaked in 5 allocation(s)".

I'm wondering, why we don't have USE_*SAN as github workflows?

I'm wondering, why we don't have USE_*SAN as github workflows?

Testing a workflow for that on this branch. 👍

Cool @stefanofiorentino at least I can reproduce the error on the CI. Good catch. 👍

@skypjack launching them 1-by-1 with --gtest_filter only Loop.Close causes the leak.

Probably the uv_loop_close returns UV_EBUSY. I've to stop investigations for a while.

Oh, wait, I suspect the test is wrong actually. We're closing the handle after the loop. 🤦♂
Gotta go now but I'll give it a try during the weekend if possible. Thanks for checking it. ❤

I see the workflows here are green, but my local build (after a git force-clean) still complains:

test$ ./loop --gtest_list_tests | grep "^  " | sed 's/^  //g' | xargs -r -n1 -I '{}' bash -c "./loop --gtest_filter=*{} 2&>1 > /dev/null || echo {} test is KO"
Walk test is KO

What error do you get @stefanofiorentino Loop.walk, a wrong counter?

What error do you get @stefanofiorentino Loop.walk, a wrong counter?

Yes, my cmake conf is
    "cmake.configureArgs": [
        "-DBUILD_TESTING:BOOL=TRUE"
    ]

and the error is still
[ctest] ../test/uvw/loop.cpp:88: Failure
[ctest] Expected equality of these values:
[ctest]   count
[ctest]     Which is: 11
[ctest]   12u
[ctest]     Which is: 12

Yeah @stefanofiorentino that's this line:
loop->resource<uvw::tty_handle>(0, true);

If you run it from the command line, it causes your error. If you can confirm it, we can also drop the line from the test. 👍

Yeah @stefanofiorentino that's this line:
loop->resource<uvw::tty_handle>(0, true);

If you run it from the command line, it causes your error. If you can confirm it, we can also drop the line from the test. 👍

Ok, as setsid sh -c "./test/loop" is working for me.
I'm going to approve this ;)

Any other concerns? I'd make this the upstream version. It has indecently faster compile times too.

@skypjack we should definitely celebrate this day.

Indeed, it's a huge improvement! Compilation time on the CI is already halved too. Very impressive.


[FEA] Update getMap() to use List offset API once avaiable via java apis

        cudfCv.getOffsetBuffer().getInt((ordinal + 1) * DType.INT32.getSizeInBytes()) - startOffset);

Per https://github.com/NVIDIA/spark-rapids/pull/984/files#r510199583 we should update this api.

This has been reworked

This has been reworked


Improvement request

Hello,
It's not an issue but an improvment if it's possible.
I tried your approach and I would know if  can delete some words when some element from the answer:
example:
Question : Can you translate in French : Give me a SEO Title in less 50 characters about : : Iphone
Answer : Sure, here is a possible translation: "Top iPhone XS Max features for gaming" (43 characters) Let me know if you would like any further assistance.
Good approach : Top iPhone XS Max features for gaming
Else I  suppose the model does have the capacities to translate in french
Thank you

Hello,
You should try the other way around: asking the model to write the answer exactly the way you want it (in other words, prompt engineering)
This package is only a generic adapter for HuggingChat’s models. But I hope it helps!


BLD: Fix sparse warnings

[x] split from #13849 (comment)
[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff

Because sparse IntIndex and BlockIndex store value locations as int32, its size / block numbers can't exceed int32 also.
warnings has been disappeared in appveyor.

https://ci.appveyor.com/project/sinhrks/pandas-2dhxb/build/1.0.669/job/2s24fpuxk3d2nrvq

Current coverage is 85.30% (diff: 100%)

Merging #13942 into master will decrease coverage by <.01%

@@             master     #13942   diff @@
==========================================
  Files           139        139
  Lines         50157      50157
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          42785      42784     -1
- Misses         7372       7373     +1
  Partials          0          0

Powered by Codecov. Last update b7abef4...16164fe

thank you sir!


Initial WebSocket Support

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@22798ea). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage        ?   27.60%
=======================================
  Files           ?       46
  Lines           ?     2108
  Branches        ?        0
=======================================
  Hits            ?      582
  Misses          ?     1526
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Publish notifications casted to INotification does not work

        // it works
        var concrete = new QuestionAnswered();
        await _mediator.Publish(concrete);

        // it does not
        INotification underlying = new QuestionAnswered();
        await _mediator.Publish(underlying);

The platform is asp.net core.
I have domain entities with properties like this one:
public IEnumerable<INotification> Events => _events;
which are published when .SaveChanges() called.
as a workaround use dynamic
            foreach (dynamic message in entry.Events)
            {
                await _mediator.Publish(message).ConfigureAwait(false);
            }

This was fixed by #124 and has been pulled in.  I do not believe a new version that contains the fix has been pushed up to Nuget yet.
In the meantime, you can grab the current master branch and stick the project in your aspcore src folder.  The project.json reference will use the updated code because it exists in your src folder. (provides a warning that it's not using the version you specified as a reminder this will be temporary so you don't forget.
When a new nuget package becomes available you can just delete the Mediatr code you pulled down and update the project.json reference.
I'm currently doing this to get around the issue so I don't have to adjust my calling code to compensate.

@dvanherten thanks for the reply


Add Icons/Emojis next to each link of the learning plan to identify content type

At each learning plan add add Icons/Emojis next to each link identify content type: Video, Audio, Text, Diagram, etc...
This will help viewers quickly identify the content type and encourage them to move forward and learn further.

Are you still interested in pursuing this idea Husam?

Are you still interested in pursuing this idea Husam?

Thanks Zach, If we make it a standard. Yes, I'll be happy to implement it at AVS page. But wanted to make sure we all agree on it?

Hi Husam,
Can I schedule 10 or 15 minutes to discuss more?
Zach
From: Husam Hilal @.>
Sent: Thursday, November 16, 2023 10:20 AM
To: microsoft/PartnerResources @.>
Cc: Zachary Riffle @.>; Comment @.>
Subject: Re: [microsoft/PartnerResources] Add Icons/Emojis next to each link of the learning plan to identify content type (#200)
Are you still interested in pursuing this idea Husam?
Thanks Zach, If we make it a standard. Yes, I'll be happy to implement it at AVS page. But wanted to make sure we all agree on it?

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PartnerResources/issues/200#issuecomment-1814782350, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A23QSUORAC7XNYDQMKQLYZLYEY4J7AVCNFSM4YEXWBY2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBRGQ3TQMRTGUYA.
 Happy to collaborate!

Hi Husam, I am closing this issue. The underlying objective of this issue, to "help viewers quickly identify content type and encourage them to move forward and learn further", has to some extent already been accomplished. The repository has made great strides in becoming more visually appealing and consumable. We have expanded the use of emojis, graphics, visuals, etc. and while emojis per content type are not implemented at scale, it will remain a best practice for all future pages.

Great, thanks a lot @ZacharyRiffle ! Cheers!


Uncaught TypeError: o is not a function

This shows when i used connect in my component
export default connect(["customers"])(Customers);

https://github.com/didierfranc/react-waterfall-example/issues/5


New Brazilian Meetup: Bitcoin Clube São Paulo

Thanks for making a suggestion for a new meetup.
Please note: Only suggest bitcoin-only meetups.
Meetups which promote any coin or token other than Bitcoin are not suitable for listing.
Altcoin's are only mentioned in the context of warnings or lessons learnt for bitcoin.
Required:

Name of Meetup: Bitcoin Clube São Paulo
Location Of Meetup: Distrito Fintech (Av. Rebouças, 1585 - Pinheiros, São Paulo)
At least one of the following:

Meetup Page (or similar): https://www.meetup.com/pt-BR/clubebitcoinsp/events/287559085/
Telegram Group (or similar):
Website:

Optional

Name of Organiser(s) & Twitter Handle: Organizers - @DidiMosats @lucasdcf
Meetup Twitter Handle: @ClubeBitcoinSP
Links showing public support: >>>  example
Tweet your commitment

As the organiser of Bitcoin Clube São Paulo Meetup I can confirm that the meetup is bitcoin-only
-The meetup is bitcoin focused.
-'Altcoins' are scams and are not promoted in talks/presentations at our meetups.
#bitcoinonlymeetups @bitcoinonly_

PS: Please remove @BitcoinAssembly from the list, as this no longer exists, we have changed the name to Bitcoin Clube São Paulo

Please can you link to a tweet or tweets about the meetup

https://twitter.com/ClubeBitcoinSP

https://twitter.com/ClubeBitcoinSP/status/1559581895024934912


Make it so it'll show the configured prefix

Thanks for this, I can't believe we over looked that LOL


[docs] updates for gsuite apps

to: @mime-frame
cc: @airbnb/streamalert-maintainers
size: small
resolves N/A
Background
Adding doc updates to go with #426 (GSuite apps)
Changes

Adds the following to currently supported services:

G Suite Reports (Activities)

Admin
Calendar
Google Drive
Groups
Google Plus
Logins
Mobile Audit
Rules
SAML
Authorization Tokens

Testing

Tested locally with tests/scripts/test_the_docs.sh

Coverage remained the same at 95.815% when pulling d6c9b04755a93659f191b72bb79e26d89cd4bba1 on ryandeivert-gsuite-docs into b0c016d24ca08827cbf2e378a13648bcf3f196a0 on master.


Feature Request: main volume in the list of midi controls

Would it be possible to add main volume in the list of parameters controllable through midi controller? Would like to control main volume from expression pedal.

Duolicated


Dependency updates

Updates to more recent call-matcher and espurify versions, which don't depend on the big core-js library.
Also updates acorn to the most recent version, which still works on all the same Node.js versions as previously.

@twada do you have a moment to merge/release this? there are no breaking changes to the unassert API in these updates.

@goto-bus-stop You should talk @twada on Twitter when he don't respond. I sometimes did so to make him notice a PR.

@goto-bus-stop @falsandtru Thank you for pinging me and sorry for my late response. I'll go ahead tomorrow (in JST).

@goto-bus-stop Thank you! Now merged and will be released within a day.

Thank you :revolving_hearts:

Released as 1.6.0. Thanks!


feat: parallel unit test runners

Description
closes #3953
This PR adds parallel test runners to improve our test execution times by utilizing the fact that each test is actually completely separate from each other. Also a flag --test-threads added to forc-test to manually control number of thread used for execution.
Simple benchmarks taken from my local system with m1 max can be seen in below: (
Each config is executed 10 times)

Num Threads
Average Time

1
1.019   ms

2
938 ms

4
883 ms

As it can be seen speed-ups aren't great as this includes building as well which is done with single thread. So I tested just building with tests enabled on the same project (which is sway-lib-std btw) which takes 810ms (again averaged 10 times). So after I normalize the results above with this data

Num Threads
Average Time

1
209    ms

2
128 ms

4
73 ms

Speed-ups are more visible with more complex tests with increased number of tests.
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

@mohammadfawaz @bingcicle ready to go! Added all the doc changes from your comments.


Remove test and jar that uses the deprecated Constraint api

Constraint api was removed in #3116

This fixes the test failure seen after #3116 was merged, I also kicked off a full IT build to make sure all is good after this PR.


Displayed units for table sizes are incorrect and confusing

This is a simple UI issue
Seen on DBeaver <IP_ADDRESS>005311732

When displaying table sizes in the "Tables" treeview, or in the table Statistics, the displayed units are incorrect and extremely confusing For example, here is a small screencap of the treeview display.

This is wrong in a few ways. Of note:

the correct symbol for bytes is B (not b, which is bits, or a factor of 8x different)
the correct symbol for the 1000x multiplier is k, not K (K is technically a Kelvin unit)
the correct symbol for the 1024x binary multiplier is Ki
All DBeaver values are reporting as binary values, and the correct prefixes should be used accordingly

if a table is taking 1024 bytes on disk, this would be 1 KiB (not 1 Kb as it shows now)
I should also add that I wish DBeaver didn't report binary units, but the more straightforward powers of 10 (ie. 1024 bytes would reports as 1.024 kB, if reporting 4 digits of precision)

For convenience, the correct way to report binary multipliers (if that is what you continue to do, vs reporting powers of 10) is as follows:

2^10 bytes = 1 KiB = 1024^1 bytes
2^20 bytes = 1 MiB = 1024^2 bytes
2^30 bytes = 1 GiB = 1024^3 bytes
2^40 bytes = 1 TiB = 1024^4 bytes
2^50 bytes = 1 PiB = 1024^5 bytes
2^60 bytes = 1 EiB = 1024^6 bytes

See https://en.wikipedia.org/wiki/Binary_prefix for further reference.
This issue might seem like a niggly detail. but details matter. The b vs B is particularly bad. Proper binary prefixes is less of an issue (SO many things get that misleadingly wrong), but precision would be appreciated in DBeaver.

Changes will be made in 7.1.5 release

I'd wish to keep unit names as short as possible. As they consume very deficit space in the right side of database navigator.
We use 1024 multipliers always.
I think, we could just remove confusing b at all leaving just K,M,G,T,P,E modifiers.
Moreover, since 7.1.4 we show exact size on bytes in the tooltip.
WDYT?

Fixed

verified


support/render: report unregistered errors with Sentry or else

This PR introduces a function type ReportFunc used to report unknown errors as well as a global variable of that type. Once the variable initialized, problem.Render will use it to report the error.
This PR also introduces a Sentry package with a function that satisfies the function type mentioned above.
Applications that wants to use Sentry can simply do problem.RegisterReportFunc(Sentry.AsyncCapture).

Closing because of https://github.com/stellar/go/pull/1800


DUALR2 and POWR2 not working

What issue do you have? Please be as thorough and explicit as possible.
The DUALR2 and POWR2 switches show in Homekit but do nothing when turned on and off.
works fine using ewe link app.
devices show in my devices tab of the settings in Homebridge ui correctly.
Details of your setup.

Do you use (1) Homebridge (+ config-ui), (2) Homebridge (CLI) or (3) HOOBS?

(1) Homebridge (+ config-ui)

Which version of Homebridge/HOOBS do you have?

v1.3.4

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Raspberry Pi
Node.js Version: v14.17.0
NPM Version: v6.14.13

Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?

homebridge-ewelink v6.8.0
yes has worked in previous versions.

Which eWeLink devices do you have that are causing issues? Please include product models if applicable.

DUALR2
POWR2
Please paste any relevant logs below.

[27/06/2021, 9:30:26 pm] [eWeLink] Initializing eWeLink platform...
[27/06/2021, 9:30:26 pm] [eWeLink] [v6.8.0] initialised. Syncing with eWeLink.
[27/06/2021, 9:30:26 pm] [eWeLink] Sending HTTP login() request.
[27/06/2021, 9:30:29 pm] [eWeLink] New HTTP API host received [us-apia.coolkit.cc].
[27/06/2021, 9:30:29 pm] [eWeLink] Sending HTTP login() request.
[27/06/2021, 9:30:31 pm] [eWeLink] Sending HTTP login() request.

Hi @bcyng
Please could you turn on debug logging in the plugin settings, and paste here any logs that appear if you try to control the switch.
This will give me a better idea of what’s going on.
Thanks!

I have and there are no debug log lines. those I have pasted are all the log lines against ewe link

Are there any logs after the
[27/06/2021, 9:30:31 pm] [eWeLink] Sending HTTP login() request.

line? In particular the list of devices and one saying the plugin setup is complete?

nope. that is the last ewe link log line. seems it stops there?

For some reason the plugin seems to be stopping before fully initialising. This is why the devices don’t work in homekit.
So need to find the reason why the plugin isn’t initialising.
I assume the plugin has worked for you at some point before?

yea it was working reliably on previous versions

could you roll back to a previous version to see if it works again? and tell me which version number if it does work.
The final line of the logs should be
[eWeLink] ✓ Setup complete...

for a proper initialisation.

so ive tried rolling back all the way to v5.5.1.
get same issue. maybe its something else. could there be something else that's not allowing it to init?
this is my config:
{             "name": "eWeLink",             "username": "XXXX@XXXX",             "password": "XXXXXX",             "mode": "auto",             "countryCode": "+61",             "httpHost": "auto",             "debug": true,             "bridgeSensors": [                 {                     "type": "motion"                 }             ],             "groups": [                 {                     "type": "null",                     "operationTime": 100                 }             ],             "platform": "eWeLink"         },

Could you change the httpHost line to the following and see if this helps?
"httpHost": "us-apia.coolkit.cc",

doesn't seem to make any difference

How about if you completely remove the lines:?
            "countryCode": "+61",
            "httpHost": "auto",

If that doesn't work, could we message on discord instead?
https://discord.gg/cMGhNtZ3tW

Sure. Will have to do that. Will contact you when I have some time. Thanks fir the support so far.

So I fixed this by uninstalling the plugin and removing config and reinstalling. I think it was an issue with the config because I had to remove it and start again to make it work.
Also reset the password.

Glad you got it sorted.
Out of interest, now you have it working, do you have the httpHost and countryCode config items set?

No these aren’t set. Only the username and password are set


[objc] Improve Makefile dependencies to only rebuild things if needed.

Build and tests passed.

Build and tests passed.


Update fails with bad-sapling-bundle-authorization

Experiment that was failing due to cross_version...   interesting edge case for lsp.


fix: Fixed Name and Ticket crash issue

Fixes #1990
Checklist:

I have checked for PMD and check-style issues : I don't know how to, I did install check-style plugin in android studio and it shows no error
[x] I have read the Contribution & Best practices Guide and my PR follows them.
[x] My branch is up-to-date with the Upstream development branch.

Changes: Issue was because of fasttItemAdapter was expecting a ComparableItemListImpl object, So created a new comparator and new ComparableItemListImpl
gif

Links for the issue : https://github.com/mikepenz/FastAdapter/issues/852, SortActivity.kt

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2

See the complete overview on Codacy


Expose the cleanup function for shutdown

I'd rather not have to start depending on diehard in order to use this in my application. Making the cleanup function available on the export makes it possible to shutdown the connection explicitly via require('amqplib-easy').close().

Thanks! This looks good. Can you add a note to the README about this?

Done.

Published as 4.2.0.

Awesome, thanks


paddle model file can't be selected under macos

Netron app and version: 4.9.5 Desktop app
OS and browser version: macOS 11.4

Duplicate of #443 and #554


Going to need special logic for LWM.DeepStorage again

If you like, I can do a pull request (I think there's an even faster way to do it), but as it is, Satisfied Storage won't work with Deep Storage once I start checking for mass limits again...

a pull request would be great

So sorry, been away for a bit.  I will get it to you as soon as I can!


[AST] Fix curcular reference with implicit some

getPotentiallyOpaqueGenericParams has a redundant call to check if declarations contain any opaque type representations. We don't need to check this here. Instead we can simply collect the result type representaions without the additional checks.
rdar://102279814

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Size of gif increases after processing with Vips::Image.thumbnail

Hi there!
I'm using Vips::Image.thumbnail to resize gif images and I noticed that for some gifs, the size after resizing is much bigger than before.
My code:
input_path = input_file.path << "[n=-1]"
image = Vips::Image.thumbnail(input_path, size, size: :down)
image.magicksave(temp_file.path, optimize_gif_frames: true, optimize_gif_transparency: true)

As an example, the gif attached is 1.9MB, and after processing by the code above it's 4.88MB.

I've tried changing the quality in magicksave:
image.magicksave(temp_file.path, optimize_gif_frames: true, optimize_gif_transparency: true, quality: x)

with x = 0, 1, 50 and 100 but it didn't make any difference.
I wonder what I could be missing?
Many thanks!
Chloe

Hello @chloe-meister,
I think that's just the way it is. magicksave exposes some of imagemagick's GIF write controls, but not all, unfortunately.
GIF optimisation is a very manual process. If your source GIF has been carefully tuned, you'll need to do the same amount of tuning to get a small thumbnail from it.

I'll have a quick look inside the GIF, it's an interesting test image.

I understand. Thanks for the quick answer and for looking at the gif. Hopefully you can find something interesting out of it 🙂

Actually, it seems to be working OK for me. I tried:
$ vips copy wave.gif[n=-1] x.gif[optimize-gif-frames,optimize-gif-transparency]
$ ls -l wave.gif x.gif
-rw-rw-r-- 1 john john 1916652 Jul 22 13:44 wave.gif
-rw-rw-r-- 1 john john 1919527 Jul 22 17:43 x.gif

So the size stays low. However, if I shrink I see:
$ vipsthumbnail wave.gif[n=-1] -o x.gif[optimize-gif-frames,optimize-gif-transparency] --size 400
$ ls -l x.gif
-rw-rw-r-- 1 john john 5106476 Jul 22 17:47 x.gif

What's happening is that the shrink operation also slightly sharpens. Your original GIF has perfect flat edges that compress well, but the raised edges on the shrunk version need more bytes to represent.
I don't think there's much that can be done about this, unfortunately.

I also tried just loading and saving the image:
image = Vips::Image.new_from_file(input_file.path, n: -1)
image.magicksave(temp_file.path, optimize_gif_frames: true, optimize_gif_transparency: true)

and indeed the size stays low. As you pointed out, the issue is with shrinking. The increase in file size makes sense given that it's sharpening as well.
Thank you very much for the clarifications 🙂

Just wondering. Is it possible to make a thumbnail with another kernel? Such as "nearest" that won't mix colors.

Yes, thumbnail used to have a kernel, option, but we removed it as it was too confusing. People kept picking the wrong one and getting bad results :(
You can do the thumbnailing yourself since it's pretty easy with GIF. Something like:
#!/usr/bin/ruby

require 'vips'

image = Vips::Image.new_from_file ARGV[0], access: :sequential, n: -1

target_size = ARGV[2].to_i

# image.height will be for all frames -- we want the height of one page. If
# page-height is missing, default to image height
page_height = if image.get_typeof("page-height") != 0
                image.get("page-height")
              else
                image.height
              end

# we now know the number of pages in the animation
n_loaded_pages = image.height / page_height

# resize to fit a inside target_size by target_size box
scale = [target_size.to_f / image.width, target_size.to_f / page_height].min

# adjust the scale so that we hit the image.height exactly, or we'll hae frames
# that vary in size
target_height = (page_height * scale).round
scale = (target_height.to_f * n_loaded_pages) / image.height

# normally you'd need to premultiply around resize, but :nearest does not mix
# pixels, so there's no need
image = image.resize scale, kernel: :nearest

# we need to set the new page_height
image = image.copy
image.set "page-height", target_height

image.write_to_file ARGV[1],
  optimize_gif_frames: true, optimize_gif_transparency: true

Running:
$ ./thumb_nearest.rb ~/pics/wave.gif x.gif 400

ie. a 20% shrink makes:

1.34mb, so it's smaller. Nearest will give nasty artifacts with large reductions, of course, eg.:
$ ./thumb_nearest.rb ~/pics/wave.gif x.gif 64

You can see there are odd "sparkle" effects:

Thank you so much, works a treat!

Hmmm, I don't understand the reason sparkles. It's kind of divided on even and odd frames. Maybe it's related to this particular gif or encoder does something different on even/odd phases.

A 8x nearest-neighbour shrink is just takinig every 8th pixel, so you get horrible aliasing. You could use a triangle filter instead, but they look very soft, and the mushy edges would be hard to compress.

If that can help, when I tried thumbnailing as above with large reductions I didn't get the sparkles but the last frames have got many white parts in them, as shown with the file attached.

My implementation is really close to @jcupitt 's above:
  def resize_gif(vips_image, size)
    # GH issue: https://github.com/libvips/ruby-vips/issues/244
    # This will get nasty with large reductions
    target_size = size.to_i

    page_height = vips_image.get("page-height") || vips_image.height

    n_frames = vips_image.height / page_height

    scale = [target_size.to_f / vips_image.width, target_size.to_f / page_height].min

    target_height = (page_height * scale).round
    scale = (target_height.to_f * n_frames) / vips_image.height

    # normally you'd need to premultiply around resize, but :nearest does not mix
    # pixels, so there's no need
    new_image = vips_image.resize(scale, kernel: :nearest)

    # we need to set the new page_height
    new_image.set("page-height", target_height)

    new_image
  end

Called by:
image = Vips::Image.new_from_file(input_file.path, n: -1, access: :sequential)
image = resize_gif(image, size)
image.write_to_file(temp_file.path, optimize_gif_frames: true, optimize_gif_transparency: true)

I was using 8.10 and it has some fixes to the GIF loader.
You'll need to add a copy before the set or you'll see errors in large programs. You must have a unique reference to an image before modifying the metadata.

Thanks for clarifying, I wondered why the copy indeed. I'll add it back 🙂


Add secure parameter to force https

This pull request will allow to client to send a query parameter called secure to force the redirection over https if the request is coming from an insecure http url.
(Maybe todo : create an option in the server to be able to deactivate this feature.)

ping @defunctzombie


nasted Promis.all causes TypeError: Cannot get property "result" of null"

hey guys,
i have another issue with nasted Promis.all:
promiseAllNasted : function (http) { 			return Promise.all([ 				Promise.resolve('all-1.1'), 				Promise.all([ 					Promise.resolve('all-2.1') 				]) 			]).then(function(results){ 				console.log('promiseAllNasted first: ', results[0]); 				console.log('promiseAllNasted second: ', results[1]); 				return 'done'; 			}).catch(function(e){ 				console.error('promiseAllNasted reject: ', e); 			}); 		}
hopefully you can provide another fix - thank you in advance!
florian

sorry for any reasons github does not interpret my tabs in code..

hey guys - i do not want to bother you but can you reproduce my issue?


[Code Cell Code] Heavy dependencies in executable cell

Steps to reproduce the problem

Go to https://learn.qiskit.org/course/ch-applications/hybrid-quantum-classical-neural-networks-with-pytorch-and-qiskit#hybrid-4-8
Scroll down to cell with content

# install packages needed for this specific page
!pip install torchvision

Click on Run
See how execution stuck on installation (probably due to torchvision is huge package to install)

What is the current behavior?
Cell with installing torchvision take long time and simply stucks.
Because torchvision is not installed all other cells can not be executed due to missed dependency.
What is the expected behavior?
It would be good to preinstall torchvision and remove installation cell from page.
Screenshots (optional but very helpful)
Stuck in here

Environment (optional but very helpful)

Device: Laptop (MacBook Pro 16 2019)
OS: MacOS 11.6
Browser Chrome

Solved issue. Merged #1418 into main.
https://github.com/Qiskit/platypus/pull/1418


I am making a BMW Logo

I am interested in this please assign me this issue.

@Harshit-Pathak, are you still working on this issue? If not, let me know so that I assign it to someone else.

Yes sir I am working but I am getting an error on running yarn start command, also I have yarn installed but still its showing so I am stuck


Dig UI not being displayed

As a disclaimer this could be an issue with the fact I haven't used Docker before*
I followed the installation instructions, etc, everything seems to be installed fine with no errors, the web server starts up, when I navigate to it on Chrome, the Dig UI is completely blank, when I view the source there is certainly something being loaded, however it doesn't seem to be displayed.

I am also getting this response. I don't think this has anything to do with Docker.

@saggu Do you have any sense of why the UI is not loading?
Also, what is the status of this project? I see no new updates for about 18 months. Are there subsequent projects that have more active code contribution that we should be paying attention to?

@jgerardsimcock there has been some issues after chrome update 80. We are currently working on a new version. There will be a new release soon.

Thank you very much @saggu

I can confirm I am having the same issue.  I am running Dig inside a libvirt virtual machine using Vagrant.  I set the DOMAIN in .env to the IP of the VM.  Initially started docker with sudo /etc/init.d/docker start and thus had to run as superuser with: sudo ./engine.sh up.  Later I figured out that by running sudo systemctl start docker instead (and possibly, by having my user added to the docker group) I could just run as ./engine.sh up.  Not sure if initially running as root damaged my installation.  However, in both cases, when I point to http://:12497/mydig/ui  I get a blank screen (which I initially did from Firefox, but then from Chrome).  If I go to /mydig/ui/static/new.html it will load a lot of bower_components.  If I go to /mydig it will show "MyDIG Web Service" and if I go to / it will show "DIG ETL Engine
myDIG UI
Github Repository".  I will continue trying to get it to work, but I was wondering if there was any update with this bug.  I am really looking forward to trying out this system.  I am trying to determine if it will work for my use case of building a comprehensive software ontology by scraping (academic) websites and extracting names of software systems and relating them to other mentioned entities / artifacts like author names, licenses, downloaded URLs, etc.  Thanks for making your system available!

Any update regarding this?
I am getting following errors:
kibana_1           | {"type":"log","@timestamp":"2020-10-29T08:17:24Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
logstash_1         | [2020-10-29T08:16:05,574][ERROR][logstash.agent           ] failed to fetch pipeline configuration {:message=>"No config files found: /usr/share/logstash/pipeline. Can you make sure this path is a logstash config file?"}
dig_logstash_1 exited with code 1

I'm using Firefox as my default browser.

@saggu .....
Getting the above errors at my end.
installed desktop docker and trying to up the DIG project.

No config files found in path {:path=>"/usr/share/logstash/pipeline/*"}

[2021-06-17T07:20:10,521][ERROR][logstash.agent ] failed to fetch pipeline configuration {:message=>"No config files found: /usr/share/logstash/pipeline. Can you make sure this path is a logstash config file?"}

initialized

[2021-06-17T07:19:58,681][INFO ][o.e.n.Node ] [wfXSPoP] starting ...
[2021-06-17T07:19:59,145][INFO ][o.e.t.TransportService ] [wfXSPoP] publish_address {<IP_ADDRESS>:9300}, bound_addresses {<IP_ADDRESS>:9300}
[2021-06-17T07:19:59,175][INFO ][o.e.b.BootstrapChecks ] [wfXSPoP] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2021-06-17T07:19:59,219][INFO ][o.e.n.Node ] [wfXSPoP] stopping ...
[2021-06-17T07:19:59,371][INFO ][o.e.n.Node ] [wfXSPoP] stopped
[2021-06-17T07:19:59,372][INFO ][o.e.n.Node ] [wfXSPoP] closing ...
[2021-06-17T07:19:59,415][INFO ][o.e.n.Node ] [wfXSPoP] closed
Help me to come out the issue.

@saggu / @szeke  In chrome Browser i am getting blank page when i logged in DIG UI.
Please suggest some info to get the Proper to get log in.

The reason the UI is not working is because mydig-webservice/frontend relies on HTML imports, a feature that was only ever implemented on Chrome browser and which even Chrome has since deprecated. The following workaround works for me.

Change the image for mydig_ws in docker.yml to this:

image: mydig_ws

Clone the mydig-webservice repo.

Add the following line in the <head> section of frontend/templates/projectDetailsUpdate.html and frontend/templates/updateIndex.html.

Create Dockerfile.local in the root of your mydig-webservice repo with the following content:

FROM uscisii2/mydig_ws:2.0.4

COPY frontend /app/mydig-webservice/frontend

Create the docker image. cd to the repo root and run the following command.

docker build -t mydig_ws -f Dockerfile.local .

./engine.sh up should work now.


Improve seq.chain

Description
Improvements on seq.chain :

ChainWrapper becomes immutable (except the internal this._commited for optimization)
Add commit to execute the chain
Add peek to peek at the result during the chain

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #70   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          29     29
  Lines          52     60    +8
  Branches        1      3    +2
=====================================
+ Hits           52     60    +8

Impacted Files
Coverage Δ

src/seq/ChainWrapper.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


A Question On Coverage

Hi: I am using this tool to test a very small function with just if-else statement inside. And I found that the total coverage and the valid coverage is always showing 0 branches (0.00% of map). And there is a warning: Fuzzing stopped due to guidance exception: Too many trials without coverage; likely all assumption violations
edu.berkeley.cs.jqf.fuzz.guidance.GuidanceException: Too many trials without coverage; likely all assumption violations
Elapsed time:         17s (no time limit)
Number of executions: 99,116
Valid inputs:         99,116 (100.00%)
Cycles completed:     0
Unique failures:      0
Queue size:           0 (0 favored last cycle)
Current parent input: <seed>
Execution speed:      6,663/sec now | 5,718/sec overall
Total coverage:       0 branches (0.00% of map)
Valid coverage:       0 branches (0.00% of map)
Fuzzing stopped due to guidance exception: Too many trials without coverage; likely all assumption violations
edu.berkeley.cs.jqf.fuzz.guidance.GuidanceException: Too many trials without coverage; likely all assumption violations
        at edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.getInput(ZestGuidance.java:561)
        at edu.berkeley.cs.jqf.fuzz.junit.quickcheck.FuzzStatement.evaluate(FuzzStatement.java:124)
        at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
        at edu.berkeley.cs.jqf.fuzz.junit.GuidedFuzzing.run(GuidedFuzzing.java:208)
        at edu.berkeley.cs.jqf.fuzz.junit.GuidedFuzzing.run(GuidedFuzzing.java:154)
        at edu.berkeley.cs.jqf.plugin.FuzzGoal.execute(FuzzGoal.java:347)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.828 s
[INFO] Finished at: 2021-11-25T21:32:03-05:00
[INFO] ------------------------------------------------------------------------

I also tried with command: mvn jqf:repro -DlogCoverage=coverage
It has another warning that
[ERROR] Failed to execute goal edu.berkeley.cs.jqf:jqf-maven-plugin:1.7:repro (default-cli) on project testBuild: The parameters 'input', 'testClassName', 'testMethod' for goal edu.ber
keley.cs.jqf:jqf-maven-plugin:1.7:repro are missing or invalid -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException

I run this test on Java11, maven 3.8.3, jqf 1.7. I am guessing if there is some special requirement for Zest to detect the coverage?
Thanks and Happy Thanksgiving

Can you try the tutorial on the wiki or the example target repository? Does that work or do you get the same error? I want to isolate whether it's an issue with the JQF setup or with the target program.
There was a similar issue reported in #141, which was fixed by me bumping dependencies, but that has not yet been released (last release is 1.7 in April, bump was in June). I can make a quick JQF 1.8 release if that seems to be the bottleneck. If you want to get the latest development version, you can clone the JQF repo, run mvn install, and depend on JQF 1.8-SNAPSHOT in your pom.xml.

It HELPS!!! Thank you so much!!!

Hi: Sorry I came up with another question. After I use mvn jqf:repro -DlogCoverage to get the coverage report. How can I grab the coverage information from the output file? It seems to offer some information about which class and function is covered, but how can I find which line is covered? I did not find any related information in the wiki.
Thanks

The coverage file gives you a hint of the line number where a branch or function call was covered. For example, the line :
BRANCH(-1438560254,1,248) // edu/berkeley/cs/jqf/examples/js/JavaScriptCodeGenerator#generateIdentNode

Says that branch with unique ID -1438560254 at line 248 of the file containing class JavaScriptCodeGenerator was executed, this was in method generateIdentNode, and the branch 1 was taken (if-else branches have only 0 or 1 as the outcome, whereas switch-case branches can have multiple outcomes).
If you want more comprehensive coverage, you can just use a tool such as JaCoCo to run the repro and get a nice HTML formatted coverage report.


Avoiding non-numeric input

Hi there!
I see in your codesandbox (also, thanks for that, it's been very helpful!) that you're using an onChange to detect non 0-9 characters and remove them.  This results in a bit of a flicker sometimes, as the value is cleared out.
Is there a reason that an onKeyDown couldn't be used instead, to avoid those characters from even being set in the first place?
I suppose that the onChange would still be necessary to handle pastes...

This is what I came up with, FWIW.  Do you see any glaring problems with it?
const ALLOWED_KEYS = [
  'ArrowLeft',
  'ArrowRight',
  'Backspace',
  'Delete',
  'End',
  'Enter',
  'Escape',
  'Home',
  'Meta',
  'PageDown',
  'PageUp',
];

<CodeInput
    onChange={( currentTarget: input }) => {
        // remove any non-digits (e.g. from a paste)
        input.value = input.value.replace(/\D+/g, '');
      }}
    onKeyDown={(e) => {
        // Allow particular "special" keys
        if (ALLOWED_KEYS.includes(e.key)) return;

	    // Allow paste, select all
        if ((e.metaKey  || e.ctrlKey) && (e.key === 'v' | e.key === 'a') return

        // Otherwise, if a non-digit key is pressed, do nothing
        if (!/^[0-9]$/i.test(e.key)) {
          e.preventDefault();
          return;
        }
      }}

would be a valid library on its own! 😄
but: I would rather avoid the trap of allowlisting the keyboard shortcuts.
example1: on mac the code above breaks ^e (Control+E), which would go to the end of the input, and most other emac-isms.
example2: people might run/choose systems on which paste is not ⌘v or ctrl+v 😅
the premise of seamless integrating across OS/accessibility goes against allowlisting this sort of thing (:
If there's some other way to implement it, that is, only allowing input of certain characters without breaking anything else, I would gladly accept it. even though the base lib should support any type of input, the numeric case is indeed a major use-case.

Those are good points, and I think you're probably right that there are edge cases I haven't considered.  For what it's worth, ^e does work correctly, for some reason I don't quite understand.  I think perhaps a slightly improved version would be to only prevent the key if none of meta, control, or alt are also pressed.  But, like you say, there's no way to know what folks might have set up, so this probably isn't safe.  Thanks!

What if was a blanket "if special key is pressed, allow alphabetical keys to be pressed" & then if there's slipthrough they'd be caught by the input.value filter? Since it's easier to know whether a special key is pressed rather than all keyboard shortcuts that this might interfere with


Bump isort in pre-commit

Codecov Report

Merging #31 (25de4d6) into main (9a6aadf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           34        34
=========================================
  Hits            34        34

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 9a6aadf...25de4d6. Read the comment docs.


Update render.ts

A fix cannot add properties to the inextensible object issue when running on PRD mode.

What is "PRD" mode?

It is production, I got an error is "cannot add property object is not extensible" with React when running in production.
However, replace the  return Object.assign(children.props, data); to  return cloneElement(children, Object.assign({}, children.props, data)); is resolve the issue. So I submit this PR.

Hi @streamich
Just would like to check when this fix shall be released as I'm going to release my component and would like to go with the fix instead keep a copy of version on my local folder?
Thanks and Regards
Duy

:tada: This PR is included in version 0.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


It give lag

[ ] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

There is absolutely no information in your report.
What is lagging? video? keyboard events? Over USB? over Wifi? Which device? Which system?

stream labs
Mobile-vivo y95
Dell insipiron 8000 series
On Thu, Jun 11, 2020, 12:21 Romain Vimont<EMAIL_ADDRESS>wrote:

There is absolutely no information in your report.
What is lagging? video? keyboard events? Over USB? over Wifi? Which
device? Which system?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/1495#issuecomment-642448823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLCQIRBVMSEQGYLCLDET3LRWB5FRANCNFSM4N3DY53Q
.


New GUI Design

This task gathers all needed work to have the currently implemented IDE elements displayed as in the newest design
This does not include implementing completely new features (like chat), but includes the revising of CB (except copilot hints). Also, I did not touch widgets and their editing (Which is tracked by #6622).
### New Design of Graph Editor
- [ ] https://github.com/enso-org/enso/issues/7197
- [ ] #6552
- [ ] #6872
- [ ] https://github.com/enso-org/enso/issues/7212
- [ ] https://github.com/enso-org/enso/issues/7200
- [ ] New node's action bar (circular menu)
- [ ] Update visualizations to the new design (try change anchor and use autolayout if possible)
- [ ] Update Project breadcrumbs to reuse CB's ones
- [ ] Update "Play" button to new design (triangle with rounded corners).
- [ ] Pending node status

### New Look of Component Browser
- [ ] https://github.com/enso-org/enso/issues/7198
- [ ] https://github.com/enso-org/enso/issues/7199
- [ ] https://github.com/enso-org/enso/issues/7201
- [ ] https://github.com/enso-org/enso/issues/7244
- [ ] https://github.com/enso-org/enso/issues/7260
- [ ] Remove Tab shortcut for opening CB
- [ ] Improved documentation view, as in the design.

### New Logic of Component Browser
- [ ] Display static functions only when opening CB without source data (node selected).
- [ ] Synchronize CB Breadcrumbs with documentation panel
- [ ] Local scope filtering
- [ ] Unstable filtering
- [ ] Shortcuts

### Lower Priority
- [ ] https://github.com/enso-org/enso/issues/5922
- [ ] Resize input when opening CB
- [ ] Add "Enso" icon to the CB input panel.

The design doc shows all panels and enso window "blurry-transparent", but we won't implement it in the nearest future, so here I put the link to design version with solid colors: https://www.figma.com/file/pMF3XTTNCcwTkI6sRnP5Z6/ide2-v50-solid_colors?type=design&mode=design&t=1ZAI7xgZKnuK5Qkt-0
To see Component Browser, you need to copy the file to your drafts (option appears after clicking file name), find "component browser" in the left panel and click "eye" icon.

whoops

I think the rest of the tasks that were pending, are implemented in GUI2.


Add --warn-on-legacy-js-interop flag to JS compilers (dart2js & DDC)

Talking to @srujzs about this.
We should let folks OPT-IN to getting warnings here. We can use this on critical packages, etc in the short term to start pushing folks towards wasm-compatible JS-interop model.
CC @sigmundch ... and @joshualitt

Could this be a lint? That has everything needed to manage opt-in.

@rakudrama – great idea! I'd take it.
The only issue with a lint: it's not reported for ALL CODE.
I want to be able to compile https://gallery.flutter.dev/ – or some other big app – and see all of the spots that would need to get fixed to run w/ wasm (at least in theory)

Going to go with the lint idea. It's cleaner.


init being undefined??

So i was trying to write a program in linux but for some reason it says that init is an undeclared identifier, even tho that i have imported nigui,

here is the code in case i missed anything,
import nigui
app.init()
var window = newWindow("NiGui Example")
# Create a window with a given title:
# By default, a window is empty and not visible.
# It is played at the center of the screen.
# A window can contain only one control.
# A container can contain multiple controls.

window.width = 600.scaleToDpi
window.height = 400.scaleToDpi
# Set the size of the window

# window.iconPath = "example_01_basic_app.png"
# The window icon can be specified this way.
# The default value is the name of the executable file without extension + ".png"

var container = newLayoutContainer(Layout_Vertical)
# Create a container for controls.
# By default, a container is empty.
# It's size will adapt to it's child controls.
# A LayoutContainer will automatically align the child controls.
# The layout is set to clhorizontal.

window.add(container)
# Add the container to the window.

var button = newButton("Button 1")
# Create a button with a given title.

container.add(button)
# Add the button to the container.

var textArea = newTextArea()
# Create a multiline text box.
# By default, a text area is empty and editable.

container.add(textArea)
# Add the text area to the container.

button.onClick = proc(event: ClickEvent) =
# Set an event handler for the "onClick" event (here as anonymous proc).

  textArea.addLine("Button 1 clicked, message box opened.")
  window.alert("This is a simple message box.")
  textArea.addLine("Message box closed.")

window.show()
# Make the window visible on the screen.
# Controls (containers, buttons, ..) are visible by default.

# At last, run the main loop.
app.run()
# This processes incoming events until the application quits.
# To quit the application, dispose all windows or call "app.quit()".

There is a name conflict between your source file app.nim and the identifier app used by NiGui.
Two possible solution:

Rename your source file.
Replace app.init() by nigui.app.init() and app.run() by nigui.app.run()

There is a name conflict between your source file app.nim and the identifier app used by NiGui. Two possible solution:
* Rename your source file.

* Replace `app.init()` by `nigui.app.init()` and `app.run()` by `nigui.app.run()`

yeah i saved the file as app.nim never knew it would make a conflict, thanks for the help, appreciate it!


Replace exactly and counting

Add
pattern()->replace()->first()->exactly()->with()
pattern()->replace()->only()->exactly()->with()

pattern()->replace()->all()->exactly(); // disallow

And throw if there are more replacements counted than supposed to.
Additionally, add
pattern()->replace()->first()->counting()

which should work exactly as otherwise

Question arises, whether to check just one more match above the expectations, or all of them?

Just one - more performance, possibility to avoid catastrophic backtracking
All of them - actual number of replacements in exceptions, might aid developer in finding the cause

Question arises, whether to check just one more match above the expectations, or all of them?

Just one - more performance, possibility to avoid catastrophic backtracking
All of them - actual number of replacements in exceptions, might aid developer in finding the cause

Add
replace()->first()->exactly()
replace()->first()->atLeast()

Add
replace()->first()->exactly()
replace()->first()->atLeast()


Add Code of Conduct documents

Moving the Code of Conduct conversation/editing from Google Docs to this repo

Turned off the CI since this code base doesn't need it.

Thanks for helping put this together all!

Thanks for taking the lead on this!

I disabled Travis.

@Carreau Thanks for disabling Travis :sunflower:

Thanks all, this has been unactive for some time I'm going to merge and we can iterate on subsequent PRs.

:+1: thanks Matthias

Great, thanks!
On Thu, Apr 7, 2016, 18:56 Kyle Kelley<EMAIL_ADDRESS>wrote:

[image: :+1:] thanks Matthias
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jupyter/governance/pull/14#issuecomment-207169796

Thanks :cake:


Invalid config: The following integrations and platforms could not be set up: tech

Few days ago I had to restart my HA from Backup and TECH stopped working. I tried to reinstall integration but it seems repo is outdated.
In notification I see:

Invalid config
The following integrations and platforms could not be set up: tech (Show logs)

When I am trying to reinstall TECH integration:

Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

In logs I see:

Setup failed for custom integration tech: Requirements for tech not found: ['tech'].
6:17:00 PM – (ERROR) setup.py
Unable to install package tech: ERROR: Could not find a version that satisfies the requirement tech (from versions: none) ERROR: No matching distribution found for tech
6:17:00 PM – (ERROR) util/package.py - message first occurred at 6:16:46 PM and shows up 3 times
2_022-10-18 18:17:00.751 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package tech: ERROR: Could not find a version that satisfies the requirement tech (from versions: none)_
ERROR: No matching distribution found for tech
2022-10-18 18:17:00.754 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration tech: Requirements for tech not found: ['tech'].

Anyone else having this problem or someone know how to fix this?

For others who may get this error here is a solution:
Duplicate of https://github.com/MichalKrasowski/tech-controllers/issues/11
You need to remove tech requirement line from manifest.json as it is referencing a non existent pypi package.

This is now merged to master and dev branches. @Pxvvxp  please test it.
Furthermore dev branch contains now few new fat features:
https://github.com/mariusz-ostoja-swierczynski/tech-controllers/issues/7
https://github.com/mariusz-ostoja-swierczynski/tech-controllers/issues/15
https://github.com/mariusz-ostoja-swierczynski/tech-controllers/pull/24
Please have a look. Cheers, Mariusz


Rename everything to machinae

This change is

bors delegate=Rhuagh

Will release as soon as this is merged, before anybody else takes the name on crates.io

bors r+


Feature request: support bindrandom=true binding to port in bindrange

Currently bindrange does nothing if bindrandom=true, it would be good if when bindrange is specified bindrandom allocates one of the unused ports in that range. This makes it easier for firewall rules since we don't have to open a massive range and we can still have a random port assigned.
Currently my work around is to generate a random port in bash and assign that to the SSH command.

Just solved this in a3ffd2b. Just note that if you provide multiple ranges separated by a comma, it will randomly select a range in the range and check it is open before assigning it to the connection. Let me know how this works for you!


Add support for returning job execution times

We would like to allow retrieving the time taken for jobs when using IBMQ. This is at the moment not available, as results are obtained from the specific Job objects (e.g. counts) and neither the job objects nor result objects are stored explicitly. An approach could be to store internally the information contained in job.time_per_step and result.time_taken.
For optimization tasks, it can be desirable to store multiple job execution times and not just the most recent.
Further details can be found in this request.

Hi @antalszava, can I try to look into this one? Might need some help though.
Thanks in advance!

Hi @sagarpahwa, that's great, thanks for showing interest there!
Definitely! This could be coming up after concluding with #108. Once merged we could explore what could be a nice approach here.

Okay, will start exploring the existing code meanwhile.
Thanks @antalszava .

Hi @sagarpahwa, feel free to let us know if you'd need some help in terms of design or anything here

Oh, my bad. Forgot to provide update here. exams are going on right now, won't be able to work till 2nd November.
If possible, can I start this post that?

Hi @sagarpahwa, no worries! Sure, starting then works fine too.
Good luck with your exams! :slightly_smiling_face:

I'd like to revive this issue, as it ties in well with the addition of the Tracker in PennyLane v0.17.0 .


[advice] table schema change

There are some shortcomings in the table structure change of StarRocks. When using it, I feel it is not elegant enough.

The table schema change with a big table, it's maybe a timeout.

That StarRocks database performs schema changes which are not a simultaneous way, which to create an asynchronous task executed by schedule. So,In 'Flink CDC' synchronization task, we must obtain a result on whether the table struct change has been completed despite it is costly,  otherwise, The new data collected is lost .

Using the command 'SHOW ALTER TABLE COLUMN from xxx  where TableName=xxx ' to query the task which executing the schema change DDL is inaccurate，i  found that operation which  executing the schema change has a 'OK' result,but the query command has no result.

In summary, Whether the table structure change can be adjusted to synchronous execution or refactoring in a more elegant way?

If the schema change is synchronous, it will be cost much time to wait.

Using the command 'SHOW ALTER TABLE COLUMN from xxx where TableName=xxx ' to query the task which executing the schema change DDL is inaccurate，i found that operation which executing the schema change has a 'OK' result,but the query command has no result.
Could you reproduce it? If the result is OK but the query has no result, this a bug.


Layers / Legend component

Story details: https://app.clubhouse.io/cartoteam/story/123846

Block until we review the interface definition and how it interacts with underlying deck.gl

Pull Request Test Coverage Report for Build 792661022

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.186%

Totals

Change from base Build 741828883:
0.0%

Covered Lines:
547

Relevant Lines:
656

💛  - Coveralls


A richer typesystem

Add types Person (or Contact?), Organization (?), because they are recognized by CoreNLP and they improve our parsing.
@rakeshr1

Person => Entity(tt:contact),
Organization => no


New Client : Nodes

Isn't an exposed as a separate type any more and Len() Less() Swap() doesn't exist on Nodes in new client for sorting.

@timothysc This will be our highest priority after releasing 2.2.

@timothysc Working on it now.

@timothysc Let us know if there are other issues.


remove link to retired KB

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

File
Status
Preview URL
Details

sysinternals/downloads/junction.md
:x:Error

Details

sysinternals/downloads/junction.md

[Error]

Unhandled exception - report this issue via https://aka.ms/SiteHelp: System.AggregateException: One or more errors occurred. ---> System.ArgumentException: There is no rule with the name SecureLinks
   at Apex.Validation.Logic.Validations.LinkSyntaxValidation.ValidateLinks(TokenizedMarkdown markdown, Check validationLinkRuleSet, List`1 validationResults)
   at Apex.Validation.Logic.Validations.LinkSyntaxValidation.<>c__DisplayClass2_0.<Validate>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Apex.Validation.Logic.ValidationManager.<>c__DisplayClass9_2.<<ValidateContent>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Apex.Validation.Logic.ValidationManager.<ValidateContent>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Apex.Validation.Logic.ValidationLogic.<ValidateAuthoringRules>d__2.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Validations.DocFx.Adapter.OnlineServiceMarkdownValidatorProvider.<>c__DisplayClass4_0.<GetValidators>b__0(MarkdownDocument document)
---> (Inner Exception #0) System.ArgumentException: There is no rule with the name SecureLinks
   at Apex.Validation.Logic.Validations.LinkSyntaxValidation.ValidateLinks(TokenizedMarkdown markdown, Check validationLinkRuleSet, List`1 validationResults)
   at Apex.Validation.Logic.Validations.LinkSyntaxValidation.<>c__DisplayClass2_0.<Validate>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Apex.Validation.Logic.ValidationManager.<>c__DisplayClass9_2.<<ValidateContent>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Apex.Validation.Logic.ValidationManager.<ValidateContent>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Apex.Validation.Logic.ValidationLogic.<ValidateAuthoringRules>d__2.MoveNext()<---

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

reopening to see if it fixes that strange error

Docs Build status updates of commit c4b13c7:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit c4b13c7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/junction.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Lopez lightning revisions

Modified Lopez lightning flash rate to use a different approach for convective-cloud-base. Tuned Lopez scheme for c90 and c180 Free-run and Replay. Made LOPEZ the default lightning scheme.
This PR is zero-diff for PCHEM simulations,  non-zero-diff for GMI since lightning is a source of NOx.

Huh. Weird CI error. I've pushed a fix that should let the YAML validator work.


Don't throw when reading an invalid header name

This PR changes the behavior of Header.get to not throw when requesting an invalid header name. The call will instead fail gracefully by returning null.
Motivation: throwing in the read path is a strange interface decision, and this creates a lot of error-handling complexity for upstream clients. Changing this behavior at the root removes the need for clients to explicitly try-catch this exception.
This resolves zkat/make-fetch-happen#38.

Oh wait, even more: I don't think this is a header name issue. The error message is misleading. The issue you're seeing with that error is that sanitizeName() is used on the header value when the header is created. You'll have to go find where Headers get created when doing so from external requests, and prevent that from throwing at that point, somehow. IMO, manual creation of headers should still error.

You'll have to go find where Headers get created when doing so from external requests, and prevent that from throwing at that point, somehow.

Wouldn't this be in the logic path invoked by make-fetch-happen that we had decided against changing? The class Headers here is quite generic; if we don't want to modify the interface (the circumstances under which errors are thrown), we shouldn't make any changes here. If we're interested in changing how Headers is used, I believe the change would be out of scope for this package.
Or it's possible I'm misunderstanding what you mean?


[Feature Request] Chunk deletion logic suggestion/enhancement if possible

Just a suggestion regarding the chunk clearing logic. Currently as I understand it, it either starts to delete by added date order (oldest first) once the chunk size has been reached though clear-chunk-max-size, or you can specify a time based on when it was last accessed --clear-chunk-age. I was wondering how feasible it would be when the chunk max size is reached, it then deletes the least accessed chunks/cache, keeping the more recently accessed files still in the cache despite being the oldest?
As a scenario I have 1TB assigned for clear-chunk-max-size. A few of my friends with kids literally loop some kids movies all day every day to keep them quiet, until they are bored and binge loop on a new title. If they were the first added to the cache then they would be the first deleted, despite probably being the most recently accessed. Just a thought!
Thanks for all your hard work with this. It’s a great project and is making huge progress considering how young it is.

The last access date will be used. So the most "unused" chunk will be deleted first. But the logic is not that stable. The next release will improve the logic.


iOS Speech Recognition not giving response.

I've an issue in iOS, sometimes my speech recognition works fine, and in some cases it didn't give me any response, is this related to iOS server, does this plugin uses apple speech recognition api to get result by decoding voice into text, or it uses iPhone speech recognition for that conversion, as I'm building an app in ionic and I need to know if it's something related to iOS server. Ans can you also tell me that if I call stoplistening event to stop the recognition then the possibility is 100% that the response will get returned.
Thanks

@vickyssj7 did you managed to resolved? Mine issue is different, i get response but delayed 20-30 seconds.

@ vickyssj7 você conseguiu resolvido? O meu problema é diferente, recebo resposta mas demora 20-30 segundos.

I am facing the same problem. Any solution?

In my case, it is giving a response after around 2 minutes. Any solution? Did you manage to get it working? @vickyssj7 @daniellyqueiroz @adnanumar

@ vickyssj7 você conseguiu resolvido? O meu problema é diferente, recebo resposta mas demora 20-30 segundos.

I am facing the same problem. Any solution?

In my case, it is giving a response after around 2 minutes. And sometimes no response at all. Any solution? Did you manage to get it working? @vickyssj7 @daniellyqueiroz @adnanumar

Same here I am facing the delayed response issue too. Both in Simulator and Iphone.

I found two options to fix the slow response:

Change the plugin code to return partial results:
BOOL showPartial = [[command argumentAtIndex:3 withDefault:@(NO)] boolValue]; => BOOL showPartial = [[command argumentAtIndex:3 withDefault:@(YES)] boolValue];
Manually trigger stopListening() e.g. after a pre-defined time out, once you do the callback for startListening().subscribe() will get called. Obviously option one is preferable, you get the result after a sentence.


Hey! Not at the moment, but thank you! This is basically just me getting my hands dirty in react again after a long while in c#. So I'm sliiiiightly embarrassed I exposed you to this mess, BUT I'll reach back out if I want any feedback!
ps- i am aware of the uber-jankiness of the PR haha

No worries! I've started way worst than this tbh :) I'm here whenever you'd like feedback :D

Ya know now that you've asked.. what's glaring at first glance?
(realizes people are on github to help and receive help)

I guess it depends on the purpose of this pull request. If you were thinking of improving the current one of was just trying to create something of your own to try out? It's a bit specific now that I look at the pull request and it's hard to give feedback without much context of what you're trying to accomplish.

Yea so this PR was actually intended to go towards the start of an actual project, and was never intended to reach the source ie... wanted to clone, forked instead and then realized my PR hit you instead of just showing a buddy of mine how I intended to start our project

therein lying the wtf moment you likely had when i added all that code to be '..halping'


Refs #28622 -- Clarified security implications of PASSWORD_RESET_TIMEOUT.

I meant to write this up after the discussion for ticket 28622, finally got around to it :-)

@spookylukey Thanks! I moved this to the related PR #11705.

Merged in 45304e444e0d780ceeb5fc03e6761569dfe17ab2.

Thanks @felixxm . I think there is now a small typo/grammar issue — "make difference" should be "make a difference" or "make any difference".

Good catch, thanks :+1: Fixed in 28e769dfe6a65bf604f5adc6a650ab47ba6b3bef.


Squashing migrations

It is not required, since when deploying a new database, the actions must be performed anew, taking into account the filled data.


Fixing controller segments stale issue when push segments with url protocol.

Right now we keep all the segment files to data directory.This contains a lot of tmp file when this table is uploaded with url only protocol.
We should only move segment files to data directory when Pinot Controller will be actually serving data downloading from Pinot Servers.

Current coverage is 64.31% (diff: 100%)

No coverage report found for master at bca3a4a.

Powered by Codecov. Last update bca3a4a...132a3f3


Add docs for --memory-swap.

From #9603 which was missing docs.

LGTM

Ping @SvenDowideit @fredlf

LGTM - @jamtur01 @fredlf


ModuleNotFoundError when running examples

Sorry for the noob question, but how do you run the training/test examples located inside learning3d/examples?
I've installed all the requirements and I'm not using virtualenv, yet this is the error I get:
Traceback (most recent call last):
  File "train_pointnet.py", line 20, in <module>
    from learning3d.models import PointNet
ModuleNotFoundError: No module named 'learning3d'

I know I can get rid of that error with the following (and editing checkpoints paths I suppose):
# from learning3d.models import PointNet
# from learning3d.models import Classifier
# from learning3d.data_utils import ClassificationData, ModelNet40Data
from models import PointNet
from models import Classifier
from data_utils import ClassificationData, ModelNet40Data

But I was curious how you run these examples directly without editing any script (since I can't see any setup.py at the root forlder to make this folder a python module)?

Hey, thanks for showing interest in learning3d.
Ideally, you should not run test files inside the learning3d directory The main objective here was to use learning3d as a package and import everything from outside of the directory. Hope this answers your query.
If you want to forcefully run them inside the folder then you will have to update a lot of relative imports in multiple files.

I hope the problem is resolved on your end.
I am closing this issue due to prolonged inactivity. Feel free to open if you have some new findings.

Hello,while I run pcrnet in my virtual python envirometn outside learning3d ,I come across this problem.could you help to solve ,sincererly hope

Hi! Thank you so much for creating this package!
I am having the same problem, "ModuleNotFoundError when running examples", except I am running test_pointconv.py from out of the learning3d directory, as suggested in the README. Would you know what could be happening?
Thank you :)


Avoiding writeFile collisions?

Is it possible with this module?
I have a lot of asynchronous tasks that all write JSON to the same file in parallel. I will often get a corrupted file because two functions write to the file at the same time.
Is there anyway to avoid this using lockfile?

Yes! Create a lock file whose file name is deterministicly generated from the json file name. You may also like http://npm.in/write-file-atomic

Can you provide an example?


Build glib on x86-linux

Changes to build glib on x86-linux target. The following triplet file has been used for the build:
set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_CMAKE_SYSTEM_NAME Linux)

set(VCPKG_C_FLAGS "-m32")
set(VCPKG_CXX_FLAGS "-m32")
set(VCPKG_LINKER_FLAGS "-m32")

Thank for the PR! LGTM pending CI.
We generally try to make the CMake files as vcpkg-independent as possible, so I've pulled some of the CFLAGS detection logic over from our boost wrapper[1] which should be more robust :)
[1] https://github.com/Microsoft/vcpkg/blob/6509199a2aeb882c91babb7cc95ef36b30738091/ports/boost-modular-build-helper/CMakeLists.txt#L44-L60

Thanks for the PR!
It passes all CI tests! 🎉


Parser breaks CSS files.

Is there a way to disable the CSS parser and just export the css files unchanged?

Hi @mykt0ngc0. In the latest development builds, there is indeed a check-box to disable parsing the CSS files. Will be able to control this from version 7, which I'm working on finalizing now.

Awesome! Thanks @leonstafford 🙏
The parser breaks my minified css on the current version.

I'm having this problem, too. Took me a while to figure it out, but as far as I can tell, WP2S is minifying the CSS and removing stuff in the process.

Fixed in v7 as it doesn't modify the CSS files at all.


Added contact form section

I added a contact form section to my portfolio mobile website. Below are the major changes I made. 🔔

Added the HTML markup for the form.
added the CSS styling to the form by selecting the appropriate class name.
Added form spree submit feature to my form action.
followed the design guide from the Figma file provided by Microverse.

Made changes to the index.html file and style.css file: below are the changes made

changed h1 tags to h2 better semantic
Centered the title and paragraph to make my design look exactly like the provided Figma file

I have made the requested changes by adding the h1 tag to my main page header

I would apologize for making that mistake in my reivew. Inshallah, i would try to improve my reviewing skills. :blush:


.hyper.js error "'module' is undefined" on Windows 10 after installation with Chocolatey

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10 Pro 1703
Hyper.app version: 1.3.3
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/LoZeno/21bd7b4baa2371b6079c24852ca7131c
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app:

Issue
I installed Hyper using Chocolatey. Right after I launched it the first time, I tried to edit my preferences, but I get the following message:
Script: C:\User<myUser>.hyper.js
Line: 5
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

This is because your default settings for .js files are to run them with the Microsoft JScript runtime.
You can fix this by...

opening the containing folder
right clicking on your .hyper.js file
select "Open With"
click "choose another app"
select a text editor like Atom, VSCode etc
then check "Always use this to open .js files"
click "OK"

Yeah, that was the issue!
I'm kind of ashamed that I didn't realise it myself!
thanks

Thanks for making clear the file is opend for edit.

This is resolved in 2.0 and will be released soon 👍


Create authentication and permissions system

@williamanimate - Penetration testing

We will need to add some form of authentication and permissions system in the future for remote daemons. This will likely need to be implemented in the shiphelm library. More information can be found here: Docker Portainer remote connection


Reduce closure allocations in Task.ContinueWith for async operations.

From @davidfowl
We need to remove the closure allocations here. ContinueWith takes a state object. You may need to store the amount read and the length in a field. This is what the pattern looks like:
private static Func<Task, object, Task> _doReadAsync = DoReadAsync;
private int _read;
private int _length;

private static Task DoReadAsync(Task previous, object state)
{
    return ((HttpProtocol)state).DoReadAsync();
}

private async Task DoReadAsync()
{
    _currentAsyncOperation = CurrentOperationType.Read;
    _read = await ReadAsync(wb.Buffer.Length);
}

currentOperation = currentOperation.ContinueWith(_doReadAsync, this).Unwrap();

await currentOperation;

Will link the specific lines once merged in.

This will be part of removing pipes and the task queue from IISHttpServer.


azure-monitor: simplify relabel_configs examples

The intent of the relabl_configs examples in this document is to apply a new label to all metrics. The source_labels field is not needed, as the re-labeling does not use the values from __address__, and specifying source_labels is not necessary to select all metrics for re-labeling. We can simply omit this from the suggested configuration.

@stevekuznetsov Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you make your changes in the private repo, review the articles on staging, and fix any validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see Get started contributing to the Microsoft Learn platform.
We'll close this PR. Thank you.


Use WithInsecure() to dial GRPC [phab:D1147]

Created by zarko at 2016-11-11 21:18:22:
GRPC refuses to dial a service insecurely
unless you apologize ahead of time.

shahms accepted this revision at 2016-11-11 21:19:43

zarko closed via commit d262d87d763b2f06fb0c8c8fc96116421e018c03 at 2016-11-11 21:25:00


Heap Class Addition

Is your feature request related to a problem? Please describe.
Heap Class Implementation
Describe the solution you'd like
Heap Class Implementation with required methods
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@krypticmouse please get started. If possible, use our BinaryTree module where required.