Bug: 502 bad gateway on 3.10

The new update got installed with composer update. But I got a strange 502 bad gateway error for my ajax requests.
I couldn't figure out the problem at first, so I tried to rollback some composer updates and it looks like that the problem is gone when I rolled back to the previous 3.9.3 version.
The strange thing is that normal (none-ajax) request are doing fine.
This is my dispatcher with the used middleware. Please let me know if you need more information.
$relay = new RelayBuilder();

$dispatcher = $relay->newInstance([

    Middleware::FormatNegotiator(),

    //Adds the php debug bar
    Middleware::debugBar($debugbar),

    Middleware::LeagueRoute()
        ->router($router) //The RouteCollection instance
]);

$response = $dispatcher(ServerRequestFactory::fromGlobals(), new Response());

(new Zend\Diactoros\Response\SapiEmitter)->emit($response);

Thank you. I suspect the problem is in debugBar (in 3.10 the data is sent in the http headers in ajax requests, as explained here http://phpdebugbar.com/docs/ajax-and-stack.html#ajax ) but I'll take a look.

Hi, I've released a new version (3.10.1). Can you test it and telme if it works fine?
Thanks.

Thank you for the fix. But I still get the same error.
When I disable the debugbar middleware it's working again.
I tried to disable the collector but that isn't working either.
this is my code for the initialization of the debugbar
'''php
$debugbar = new \DebugBar\StandardDebugBar();
// tried this as a solution but wasn't working
// 	if ($_SERVER['REQUEST_METHOD'] != 'GET')
// 		$debugbar->sendDataInHeaders();
$debugbar->addCollector(new \DebugBar\Bridge\MonologCollector(Log::getLogger()));
Log::info('Collector for monolog is activated!');

$twig = new DebugBar\Bridge\Twig\TraceableTwigEnvironment($twig);
$debugbar->addCollector(new DebugBar\Bridge\Twig\TwigCollector($twig));
'''

I guess this is a problem with the data send in headers. I have to provide an option to disable this feature, but I'd like to know the origin of this problem. Maybe is because there's too much data? Or because a specific collector? Can you check the response receives by the browser and see the body and headers send?

I don't think there is to much data because it seems to happen with every ajax request.
For one of the requests this is the header for version 3.9.3 (response header)
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Tue, 29 Dec 2015 20:34:26 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.5.9-1ubuntu4.14
Expires: -1
Cache-Control: no-cache, no-store, max-age=0
Pragma: no-cache
Set-Cookie: sso_PorSi_c=1; path=/admin/
Set-Cookie: sso_PorSi_s=zC0PRCJjuTRJXlH49JNTrTxOZu2fJQDmrVgf2IAIn8aD0Pxpv-X8CEGCA_s9dV3TqpCFjIJPU2snuKXzCoaiAT6oB8S-04VoHc43bJpgJlu_YiIKkO69cp7JchZg8lzXki19iLaYwoi-153S7KQ7gvr-ZFV_PY8sNooxg2vUJfnOzQutN-qqGI635jU81M6cVUpNN-4YKkNTeOfV3dc09w; path=/admin/; HttpOnly
Set-Cookie: sso_PorSi_v=Ktk0M8t74SKpayVIKamJETFeeYU; path=/admin/; HttpOnly
Vary: Accept-Encoding
Access-Control-Allow-Origin: *
Content-Length: 1724

Indeed when I enable sendDataInHeader(); for none GET request types I get the same 502 error.
When I set a storage the problem seems to be gone.
So it looks like that indeed there is to much data. So I searched on Google and found this: http://shiki.me/blog/firephp-on-nginx-502-bad-gateway/ and my server is also on nginx.
It would be nice if we could indeed disable this feature, or disable debugbar completely for ajax requests maybe?

Ok, the version 3.10.2 has this feature disabled by default but you can enable it with captureAjax() option.
I'm intrigued with this issue, so if you find a way to solve it, please, let me know.
(For example, by default, the max lenght of each header is 4Mb, maybe too much.)

Yes it's working now.
I already tried to find a fix, but didn't find anything useful. But I will let you know if I found something!

Disabling capture_ajax fixed all my 502 problems.


Missing nodes when using docker image

When testing the example workflows using the provided docker image I ran into some issues with missing nodes. I wonder if maybe the dockerfile is not up-to-date with the latest workflows and there are some custom node installs missing?
For example the Wonder3D_to_NeuS_to_Mesh.json complains about a missing "Image Rembg (Remove Background)".
I tried to identify which repository could be the right one for that and found and installed this one:
https://github.com/Jcd1230/rembg-comfyui-node
but it looks like it is not the right one, at least the workflow does not accept it.
I also tried to use that node instead of the one in the workflow, but I am getting "TypeError: Cannot handle this data type: (1, 1, 256, 3), |u1"
Could you please point me to where I can find the correct "Image Rembg (Remove Background)" node repository?

I just found the answer - looks like it is the
https://github.com/WASasquatch/was-node-suite-comfyui
that is missing. Now at least that workflow seems to work for me.


Make the pointers in Fetch impls unions

Objective
Every Fetch struct initializes pointers for both storages, even though only one is ever really used. This both makes the struct bigger, and adds a miniscule amount of overhead when initializing a Fetch as it needs to zero out the unused Fetch impl.
Solution
Extend #4800. Add a compile-time discriminated union called StorageSwitch which is a debug-build checked union of different ways a Fetch could represent a pointer to the respective storage.
As sparse sets always have a reference populated when making a fetch. They're no longer wrapped in an Option, and do not need any unwrapping.
This can be done (more) safely if GATs was stablized, but it seems like rust-lang/rust#96709 may be stalled for the foreseeable future.
As this is based on #4800, this won't come out of draft until some form of that PR is merged.
Co-Authored-By: Boxy<EMAIL_ADDRESS>

Some suggested changes https://github.com/james7132/bevy/pull/4


Pattern Lab as website building framework?

Hello,
Is pattern lab meant to be a whole website building framework with the pattern system or is it only supposed to help with creating a design concept but the whole implementation should be done without pattern lab?
Thanks in advance,
C. Gerl

Hey @ChristophGerl,
Thanks for your question. This may help clear things up a bit: http://atomicdesign.bradfrost.com/chapter-3/#just-what-exactly-is-pattern-lab
Pattern Lab is a tool to help you build pattern libraries, but is not a tool that you will use to launch a website. I myself Pattern Lab to create production-level frontend code, and then translate that code into a content management system. Does that help?


Running core edition of powershell under ssh from windows results in broken UX

Steps to reproduce

From windows box, open inbox powershell
ssh to a linux VM. Use ssh that comes with windows version of git from command line

C:\Program Files\Git\usr\bin\ssh.exe

Follow instructions to install powershell
Everything works fine up to this point
Run powershell
Try to do something

Expected behavior
You should be able to work
Actual behavior
Console UX is broken:
half of commands are entered at the top of the screen, overriding the buffer

Environment data

v0.4.0

Same here. I wanted to try PS on an Ubuntu 16.04 remote cluster node, but the console got really messed up. I tried both ssh.exe that ships with Git for Windows, and also the one from bash.exe (upgraded to Ubuntu 16.04). Neither worked properly. Arrow keys not working properly to move inline and in history, in some places backspace doesn't work... not glitched, but broken.
The few commands that worked got the expected results, so anticipation is not lost, but grew even more. Very eager to try a fixed version, or even start tweaking with a hotfix, but Putty really is not an elegant workaround.

By the way guys, if you install PowerShell core on your windows box, you can use PowerShell remoting to the Ubuntu box (over SSH). That seems to be working fine (with the exception that at least with ConEmu in the way, the Ctrl+C/Ctrl+V don't work in PSReadLine).

And how does one do that precisely? (Sry, never done that before. Is that Enter-PSSession but instead creating a CIM-Session it's an SSH-Session? I am clueless.)

This issue was moved to lzybkr/PSReadLine#471

@joeyaiello @lzybkr  is this really "OK"?
I mean -- how can PowerShell close this?
I mean, I'm uncomfortable with taking a mandatory dependency on an external module for the REPL prompt in the first place -- is there any functionality more core to the purpose of a shell than this?
But if it's broken in a way that impacts docker connections, and PowerShell in WSL, that seems beyond an unfortunate bug in an external module, and into core functionality.

This might not be PSReadline.  I can repro with the original steps and after some trial and error was able to remove PSReadline and it still had an issue.  I'll investigate this.

I tried this with alpha.18 and had the same problem.  However, trying it with latest master and setting TERM=xterm it appears to work fine with win32 port of ssh.exe from our other GitHub repo (not the one that comes with Git).
At this point, it may just be a documentation issue.

Issue from Win32-OpenSSH to on TERM not being set https://github.com/PowerShell/Win32-OpenSSH/issues/252

I don't think it's quite as simple as setting TERM=xterm. I'm hitting this issue with an environment that uses Shell in a Box. I've configured my Shell in a Box web server such that the.ip.address/ps will invoke docker run -e TERM=xterm -it microsoft/powershell, and in the docker session I connect to in the browser where TERM is set to xterm the issue still persists. Yet other endpoints I create (such as one for ssh) work just fine.

@KirkMunro I'll setup ShellInABox and will investigate this further

Great, thanks. @SteveL-MSFT, if you have questions about ShellInABox, let me know.

@KirkMunro got a repro.  ShellInABox is pretty cool i have to say, we definitely want powershell working in this environment

@SteveL-MSFT Glad you got the repro going. ShellInABox is really cool. I have a modified fork of it (https://github.com/KirkMunro/shellinabox) right now that supports launching PowerShell in a docker container via a POSH endpoint, or for user-defined ssh/mosh targets. I'd like to plug PSRemoting in there as well once I have more time.

@KirkMunro can you open a separate issue for ShellInABox?  I believe this original issue is something OpenSSH needs to address.  Thanks

@SteveL-MSFT: I don't know which layer of the stack this is broken in...right now, we set TERM=xterm on the SSH side, and my current repro is a complete hang after starting PowerShell. I can't type or do anything here (no Ctrl+C, Ctrl+Break, nothing).

I'll try to get someone on the SSH side to take a look so we know where to prioritize/resource investigation.
/cc @bagajjal @manojampalam @bingbing8 @SandeepSutari

I lied. Ctrl+Break totally works to get back out to the Windows shell (killing the SSH connection). I was using the wrong mapping on my Pok3r...

Hum! In my case, when connected from Windows 10 to Ubuntu 16.04, pressing Ctrl-C doesn't work.  So, its getting hung at the prompt.
c:> ssh user@linuxSystem

@SteveL-MSFT: Done, new issue opened here: #3849.

@MaximoTrinidad yeah, Ctrl+C doesn't work for me either. Only Ctrl+Break to leave the session entirely.
That being said, @bagajjal isn't getting a repro on his Win 10 CU box at all, so we're digging in to see what the difference is between our two machines. Given that PuTTY works fine for both of us, we think this is in the OpenSSH layer, so I opened an issue at PowerShell/Win32-OpenSSH#733.


Return throughput in response for Cosmos DB runtime resources

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

Could someone from the SDK team look at this PR? I think the gates are failing because it is marked as a breaking change. I could not find any other errors in the runs.

/azp run automation - sdk

@allenjzhang Can you review this change and help with the failing gates? The only errors I could find are that this was identified as a breaking change.

/azp run automation - sdk

Hi @shurd, Besides the API breaking change failure. (add ‘options’ property in response)
This may be ok as you mentioned in above comments.
And also there is SDK breaking change as below:
[ChangeLog] Breaking changes
[ChangeLog]   - Model ThroughputSettingsResource no longer has parameter autopilot_settings
[ChangeLog]   - Model ThroughputSettingsGetPropertiesResource no longer has parameter autopilot_settings
This may cause your sdk pump up version. you may evaluate the impact on your CLI PS if have etc.
Pls confirm.

The autopilot property was renamed in a previous change, and we do not think anyone has taken a dependency on the original naming. The property is not used in CLI/PS yet, but we will be adding it there soon.


Breaks Youtube rendering

I don't know why yet.  I'll look into it on a day that's not Christmas

https://github.com/AidanWelch/ProgressiveImmersion/issues/17 Gives more info so closing this as duplicate


Change to fully PEP440 compliant dev version numbers (always .dev0)

A small improvement to the issue in https://github.com/scipy/scipy/issues/4301, first fix in https://github.com/scipy/scipy/pull/4307

@rgommers does NumpyVersion interact reasonably with this?

NumpyVersion should  be ok. Adding new tests to scipy/_lib/tests/test__version.py could be nice though

a test for this would indeed be useful

Merged, thanks @ahjulstad. Test will be added in gh-4542.


Missing runtime_mappings support for async search requests

NEST/Elasticsearch.Net version: 7.14.1
Elasticsearch version: 7.14.1
.NET runtime version: 5.0
Description of the problem including expected versus actual behavior:
Support for defining runtime mappings is missing from IAsyncSearchSubmitRequest and AsyncSearchSubmitDescriptor
When I did a diff between ISearchRequest and IAsyncSearchSubmitRequest I found that they were the same except ISearchRequest had these additional fields:
IRuntimeFields RuntimeFields
ISlicedScroll Slice
IPointInTime PointInTime
Fields Fields

I know async search doesn't support snapshot and maybe some other things so not sure if any of these are missing on purpose, but generally it seems that async search is supposed to be pretty much the same as a regular search.
https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html

Thanks, @ejsmith for highlighting this gap. Indeed those should be present. I've created a PR for this which I hope to sneak into the next release.

Thank you!! Is that due to come out soon? I'm currently blocked by this.
Code generation will definitely help make sure that these things aren't missed. I took a look at your 8.0 plan and it looks really good!

@stevejgordon I also just noticed that AsyncSearch is missing these fields compared to ISearchResponse:
long Total { get; }
string PointInTimeId { get; }

I'm not sure if PointInTimeId is supposed to be there, but I definitely need the Total field.

Bit of a side discussion, but it sure would be nice if models like these shared some sort of interface in common since they are super similar.

Ahh I just noticed that I can get Total from HitsMetadata

Ahh I just noticed that I can get Total from HitsMetadata
Was just going to mention that, but we should have the shortcut property there as well. PointInTimeId would be needed too as it may represent a newer ID for the PIT if that was used on the search. Will get a PR in now.

Bit of a side discussion, but it sure would be nice if models like these shared some sort of interface in common since they are super similar.
I think there are historical reasons it's been problematic to do so but I can see why it would be useful. I'll flag that as something I can look at once code-gen is in place as that may dictate some of the design.

@ejsmith - The 7.15.0 release is now available https://github.com/elastic/elasticsearch-net/releases/tag/7.15.0

Thanks @stevejgordon!


Can't handle tables with a column called "order" or other reserved words

I'm going to copy in the sqlite_escape function from Datasette: https://github.com/simonw/datasette/blob/5890a20c374fb0812d88c9b0ef26a838bfa06c76/datasette/utils/init.py#L345-L349

That didn't fix it:
% python -m sqlite_history content.db --all
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/simon/Dropbox/Development/sqlite-history/sqlite_history/__main__.py", line 68, in <module>
    run()
  File "/Users/simon/Dropbox/Development/sqlite-history/sqlite_history/__main__.py", line 64, in run
    configure_triggers(args.database_path, args.tables)
  File "/Users/simon/Dropbox/Development/sqlite-history/sqlite_history/__main__.py", line 20, in configure_triggers
    configure_history(db, table)
  File "/Users/simon/Dropbox/Development/sqlite-history/sqlite_history/__init__.py", line 12, in configure_history
    db.executescript(triggers_sql(table, columns))
sqlite3.OperationalError: near "order": syntax error


Bug: Superscript and Subscript are not interpreted while using clipboard.

Lexical version:
Steps To Reproduce

Use lexical playground.
Copy and paste some page content containing sub and sup elements from elsewhere.
Observe behaviour for superscript and subscript elements.

Content copied:

HTML code for above content:

aRND and JLM contributed equally to this paper.

bJLG and JS contributed equally to this paper.

The current behavior

The expected behavior

This was fixed here for Google docs here: #2571
Looks like we're still not supporting the semantic HTML import


🐛 Search query results not always displaying matched descriptions

Describe the bug.
In the search results page, because we trim descriptions, we do not display the matched string from the search query in the description if it occurs after the cut-off.
To Reproduce
search escapes in fmd front end.  A releases in error chart is returned. The match is description but you'll see the term escapes is not highlighted in the description because we've trimmed it before this part is shown
Expected Behaviour
you’d expect to see the section of the description where your search query matched and the matched string highlighted, in all search results.
Additional context
No response

Related to this, if you have multiple words in the query, only the full match will be highlighted. We could improve this by splitting on words and highlighting each word match independently.


[Crash/Client] Lookin at Knife usage

http://pastebin.com/QDJWqKin
crashed when logged in dedicated server
MC 1.11.2
Forge 2233
Quark 81
Better with mods 1.0.0
And others

Cannot reproduce, put an attempt fix either way though.

it only crash when on a dedicated server with Quark and my other mods, will try only Quark and BWM, see if it comes from another mod

right, will attempt with a server

yeah, still can't reproduce with those two mods, if you can find more let me know


[stdlib][WIP perf experiment] Replace AnySequence with Array in default Sequence methods

This is an experiment to confirm that replacing AnySequence in default methods on Sequence with Array improves performance. This is a supporting argument to SE-NNNN Sequence Cleanup.
At the moment, I don't know if the replacement implementations work correctly, because the code as is does not compile. I seem to misunderstand something fundamental here and would appreciate getting educated. Please advise @dabrahams, @airspeedswift, @moiseev, @gottesmm, @atrick.
My original reasoning is that associatedtype SubSequence defined in protocol Sequence ensures same return type of following methods: dropFirst, dropLast, drop(while:), prefix, prefix(while:). Another requirement that can not be expressed in Swift type system at the moment (recursive protocol constraints) is that SubSequence conforms to Sequence.
For a lot of types in stdlib, the Sequence conformance is provided by the default implementation in extension Sequencein Sequence.swift. And I thought replacing AnySequence<Element> with [Element] — here I assume it's just syntactic sugar for Array<Element> — would just work. But stdlib with this change does not compile. According to the first error, my modified implementation (please see diff) fails to provide Sequence conformance for EnumeratedIterator:
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Algorithm.swift:93:15:
error: type 'EnumeratedIterator<Base>' does not conform to protocol 'Sequence'
public struct EnumeratedIterator<
              ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:1041:15:
note: candidate has non-matching type '<Self> (Int) -> [Self.Element]'
[with Iterator = EnumeratedIterator<Base>,
 SubSequence = [(offset: Int, element: Base.Element)]]
  public func dropFirst(_ n: Int) -> [Element] {
              ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:1073:15:
note: candidate has non-matching type '<Self> (Int) -> [Self.Element]'
[with Iterator = EnumeratedIterator<Base>,
 SubSequence = [(offset: Int, element: Base.Element)]]
  public func dropLast(_ n: Int) -> [Element] {
              ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:1123:15:
note: candidate has non-matching type '<Self> (while: (Self.Element) throws -> Bool)
 throws -> [Self.Element]'
[with Iterator = EnumeratedIterator<Base>,
 SubSequence = [(offset: Int, element: Base.Element)]]
  public func drop(
              ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:1160:15:
note: candidate has non-matching type '<Self> (Int) -> [Self.Element]'
[with Iterator = EnumeratedIterator<Base>,
 SubSequence = [(offset: Int, element: Base.Element)]]
  public func prefix(_ maxLength: Int) -> [Element] {
              ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:1199:15:
note: candidate has non-matching type '<Self> (while: (Self.Element) throws -> Bool)
 throws -> [Self.Element]'
[with Iterator = EnumeratedIterator<Base>,
 SubSequence = [(offset: Int, element: Base.Element)]]
  public func prefix(
              ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:451:8:
note: protocol requires function 'dropFirst' with type '(Int) ->
 [(offset: Int, element: Base.Element)]'; do you want to add a stub?
  func dropFirst(_ n: Int) -> SubSequence
       ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:471:8:
note: protocol requires function 'dropLast' with type '(Int) ->
 [(offset: Int, element: Base.Element)]'; do you want to add a stub?
  func dropLast(_ n: Int) -> SubSequence
       ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:481:8:
note: protocol requires function 'drop(while:)' with type
'(((offset: Int, element: Base.Element)) throws -> Bool)
 throws -> [(offset: Int, element: Base.Element)]'; do you want to add a stub?
  func drop(
       ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:501:8:
note: protocol requires function 'prefix' with type
 '(Int) -> [(offset: Int, element: Base.Element)]'; do you want to add a stub?
  func prefix(_ maxLength: Int) -> SubSequence
       ^
/Users/mondo/Developer/swift-source/swift/stdlib/public/core/Sequence.swift:525:8:
note: protocol requires function 'prefix(while:)' with type
'(((offset: Int, element: Base.Element)) throws -> Bool)
 throws -> [(offset: Int, element: Base.Element)]'; do you want to add a stub?
  func prefix(
       ^

Am I missing something fundamental? Is this some kind of compiler bug? Is it related to the most recent changes in #8990?

I don't really have time to advise on this but I'll suggest that you build some small models of the feature you're trying to add, outside of the standard library, to understand how the language works before jumping into changing stdlib code. It looks like you're expecting Array to resolve overloads that require AnySequence, but those are unrelated types.

@dabrahams, @airspeedswift, @moiseev, @gottesmm Could you point me in the right direction here?
I don't see any place that specifies that the protocol Sequenceconformance that is provided by default method implementation in extension Sequence must be provided by AnySequence. Why doesn't it work when I replace it with Array? I thought that SubSequencegets inferred to be Array here, as there is no concrete type that would define the associated type to be anything else, as far as I can see.

@palimondo what if you try to specify the SubSequence typealias explicitly? You are right that the associated type 'value' gets inferred, but it is not necessarily the case that it's inferred solely based on the methods that you list. Perhaps there is even an ambiguity that you introduce with your change.

@moiseev How does one explicitly specify typealias in default implementation? Can I do typealias in an extension?!

Can I get a benchmark, please?

@palimondo You should be able to ask swift-ci to do that. Can you try?

@swift-ci Please smoke benchmark

Build comment file:
Build failed before running benchmark.

@moiseev AFAIK CI bot listening to you requires commit access which I don't have yet.
...and from the looks of it, rightly so. I can't tell my brackets apart. Array<Element> or [Element], but never Array[Element]! I shouldn't try to push changes at 11pm. I've force-pushed correction.
@swift-ci Please smoke benchmark

Oh well. I was misled by:

@swift-ci Please smoke benchmark

Build comment file:
Build failed before running benchmark.

@shahmishal Why aren't there any links to failing build here?
After searching around a lot on Jenkins  I found the failing build. My changes are crashing the compiler... filed SR-4988.

@swift-ci Please smoke benchmark

From the build Log:  Setting status of f579944fcdf129893dc59ac3154fd8c490496585 to FAILURE with url https://ci.swift.org/job/swift-PR-osx-smoke-perf/97/ and message: 'Build finished. '
Did you force push to this PR? If yes, it's known bug with GitHub PR testing.

@shahmishal Indeed I force pushed. There's no need to try to build again now, it crashes the compiler.

Build comment file:
Build failed before running benchmark.

@dabrahams Could you please have a quick look over the change in [Sequence.swift] here? This currently crashes compiler, but is this a change that would be acceptable and still in scope for Swift 4? I'm hoping this is source compatible, but affects ABI (I guess?).

These changes would fail with infinite input sequences, wouldn't they?

Yes, it would fail with infinite input sequences, as is the case with all other non-lazy methods on Sequence.
At the moment this initial commit has only extracted the inner classes into their own files without any changes. Second part is to properly implement LazySequence conformance modeled after PrefixWhile.swift.gyb.
But extracting out the lazy implementations would allow the default methods to just always return [Element] instead of AnySequence. (Once we resolve that compiler crash...)

My point is that to handle infinite sequences you should explicitly use .lazy. The prefix and dropFirst are the only two exceptions on Sequence that are always lazy. Cleaning up the API to be consistent across all Sequence methods is my goal here.


hyprctl keyword monitor doesn't rotate touchscreen input

So i use hyprctl keyword to rotate my screen and also use (https://github.com/JeanSchoeller/iio-hyprland) to do that automatically.
Works perfectly fine. But it doesn't rotate the touchinput from my touchscreen. I have a Lenovo Yoga and i like to flip the keyboard over and use it as a big tablet in portrait mode. The window rotation works nice, but how could i rotate the touchinput?
Also are there any plans to support the gestures via Touchscreen? I love the 3 finger swipe to change the workspace.
Thanks in advance!

https://wiki.hyprland.org/Configuring/Variables/#touchdevice

Also are there any plans to support the gestures via Touchscreen?

plans? ye. Not much more than that tho

You can use lisgd for gestures https://aur.archlinux.org/packages/lisgd.
I have some config that you can use to start if you are interested.
I also made a wvkbd (on-screen keyboard) landscape tablet 1920x1080 layout also.

Yeah i would happily take that config to play around, thanks!
Also for the keyboard; As long as i could change the layout to 1080x1920, because that would be the orientation i would use the keyboard in

@vaxerski the wiki you linked doesn't explain how i would use the hyprctl keyword command to rotate the touchdevice.
I used the hyprctl devices and found my touchdevice, but no matter how i format the command, i get the error: Error setting value <wacom-hid-517f-finger,transform,1> for field <touchdevice>: No such field.

Yeah i would happily take that config to play around, thanks!

You need to find the right even in /dev/input.
Sadly here it chages, sometimes is 10 sometimes is 12.
This launch lisgd, it is based on Sxmo file sxmo_hook_lisgdstart.sh.
I only made one gesture,1 finger swipe up (from bottom) -g "1,DU,B,*,keyboard.sh open" that open the osk.
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors

LISGD_THRESHOLD="${SXMO_LISGD_THRESHOLD:-125}"
LISGD_THRESHOLD_PRESSED="${SXMO_LISGD_THRESHOLD_PRESSED:-60}"
#LISGD_INPUT_DEVICE=/dev/input/event12
#LISGD_INPUT_DEVICE=/dev/input/event10
LISGD_INPUT_DEVICE="${SXMO_LISGD_INPUT_DEVICE:-"/dev/input/event12"}"

#-g format:
#   fingers,swipe,edge,distance,command
#order matters, only the first match gets executed   -g "1,DU,B,*,setsid -f inputhandler.sh upbottomedge" \
lisgd "$@" -d "$LISGD_INPUT_DEVICE" ${orientation:+-o $orientation} \
	-t "$LISGD_THRESHOLD" -T "$LISGD_THRESHOLD_PRESSED" \
	-g "1,DRUL,BR,*,setsid -f inputhandler.sh bottomrightcorner" \
	-g "1,DU,B,*,keyboard.sh open" \
	-g "1,DLUR,*,*,setsid -f inputhandler.sh upright" \
	-g "1,ULDR,*,*,setsid -f inputhandler.sh downright" \
	-g "2,RL,*,*,setsid -f inputhandler.sh twoleft" \
	-g "2,LR,*,*,setsid -f inputhandler.sh tworight" \
	-g "2,DU,*,*,setsid -f inputhandler.sh twoup" \
	-g "2,UD,*,*,setsid -f inputhandler.sh twodown" \
	-g "3,RL,*,*,setsid -f inputhandler.sh threeleft" \
	-g "3,LR,*,*,setsid -f inputhandler.sh threeright" \
	-g "3,DU,*,*,setsid -f inputhandler.sh threeup" \
	-g "3,UD,*,*,setsid -f inputhandler.sh threedown"

Also for the keyboard; As long as i could change the layout to 1080x1920, because that would be the orientation i would use the keyboard in

Portrait? That would be the default since I made the landscape.
The kbd is made for a phone so the only changes are the height values in e.g. layout.mobintl.h:
#define KBD_PIXEL_HEIGHT 660

/* how tall the keyboard should be by default (can be overriden) */
#define KBD_PIXEL_LANDSCAPE_HEIGHT 360

@RandomLegend
hyprctl keyword device:device-name:transform 1

Thank you very much!

@RandomLegend If you're still interested, there's this:https://github.com/JeanSchoeller/iio-hyprland
to automatically rotate your screen, touchscreen and wacom layer.
You could pair it with https://github.com/alesya-h/linux_detect_tablet_mode so that the screen will rotate only if the device is in tablet mode.
They're both on the aur.

Sorry for reviving this thread, but @RandomLegend, how did you find out the device name? I have a l13 Yoga Gen2, hyprctl devices only spits out "wacom-pen-and-multitouch-sensor-finger", with which the hyprctl keyword device: command doesn't work. Evtest end input-utils both state something like 056a:51f8, but I don't know how to incorporate this into the hyprctl command, nothing I've tried worked so far

@viato115 i just used hyprctl devices and got wacom-hid-517f-finger and wacom-hid-517f-pen from that, i then put this into into hyprctl keyword device
Sorry, don't have anything more for ya...


training time

your work is perfect, what i want to ask is how long does it take to train the model?

Hi, I was using a machine with 8 GPU (48GB GPU memory for each). It only takes about one hour for most of the training jobs.

thank you for your reply，this helps me very much.


Docker swarm mode -  No installed keys could decrypt the message

Description
Docker swarm stop working with no apparent reason, and all docker containers within the same network can't see each other.
Steps to reproduce the issue:

Create docker swarm cluster

Describe the results you received:
Docker swarm crashed with:
 [ERR] memberlist: failed to receive: No installed keys could decrypt the message from=<IP_ADDRESS>:43799
Describe the results you expected:
Docker swarm is stable and working without interruption
Additional information you deem important (e.g. issue happens only occasionally):
The cluster is build of 3 manager nodes and 2 worker nodes. I'm using hashicorp vault for managing secret and consul as a backend. I know consul was used as docker cluser manager before docker swarm mode, and the simillar error i can find in consul issue tracker, however that break entire swarm cluster and consul is running in a container just to serve backend for vault. I'm not sure if that may be related.
Output of docker version:
Client:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Tue Jan 10 20:26:30 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Tue Jan 10 20:26:30 2017
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 13
 Running: 13
 Paused: 0
 Stopped: 0
Images: 18
Server Version: 1.12.6
Storage Driver: devicemapper
 Pool Name: docker-202:1-528295-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 6.654 GB
 Data Space Total: 107.4 GB
 Data Space Available: 33.65 GB
 Metadata Space Used: 12.24 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.135 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.77 (2012-10-15)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host null bridge overlay
Swarm: active
 NodeID: a6ud78xyqy5y1ozjg97czakqt
 Is Manager: true
 ClusterID: 8o2s7fmvqz5nxka36l29t8kjw
 Managers: 3
 Nodes: 5
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-92-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.859 GiB
Name: manager-1
ID: DXLI:OO5Z:TW77:ISKZ:B2UH:QD6Z:LWMI:V5OI:LTUO:LD2Z:P3CG:WI5W
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: atheon
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Labels:
 node.type=manager
 node.access=private
 node.subnet=private1
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):

@mavenugo @sanimej There seems to be a problem with the network encryption keys rotation

Same issue here with DDC :
UCP 2.0.2
DTR 2.1.4
Client:
Version:      1.12.6-cs6
API version:  1.24
Go version:   go1.6.4
Git commit:   712e864
Built:        Wed Jan 11 00:10:32 2017
OS/Arch:      linux/amd64
(I know it's a CS issue, but the opensource version has the same problem. A support ticket is already raised too)
3 Nodes controllers, and the cluster is KO.
A lot of this message on controllers (2 of them) every seconds :
docker[7811]: time="2017-02-06T08:42:43.989516242+01:00" level=warning msg="2017/02/06 08:42:43 [ERR] memberlist: Decrypt packet failed: No installed keys could decrypt the message from=node1:7946
docker[7811]: time="2017-02-06T08:42:43.989516242+01:00" level=warning msg="2017/02/06 08:42:43 [ERR] memberlist: Decrypt packet failed: No installed keys could decrypt the message from=node2:7946
docker[7811]: time="2017-02-06T08:42:43.989516242+01:00" level=warning msg="2017/02/06 08:42:43 [ERR] memberlist: Decrypt packet failed: No installed keys could decrypt the message from=node3:7946
Please fix it asap, because our prod environment still not usable every day !

I encountered same issue from version 1.13.1
...
2월 21 12:43:19 worker01 dockerd[1089]: time="2017-02-21T12:43:19.096581826+09:00" level=warning msg="memberlist: failed to receive: No installed keys could decrypt the message from=<IP_ADDRESS>:56006"
2월 21 12:43:18 worker01 dockerd[1089]: time="2017-02-21T12:43:18.111254446+09:00" level=warning msg="memberlist: failed to receive: No installed keys could decrypt the message from=<IP_ADDRESS>:56004"
2월 21 12:43:14 worker01 dockerd[1089]: time="2017-02-21T12:43:14.106128116+09:00" level=warning msg="memberlist: failed to receive: No installed keys could decrypt the message from=<IP_ADDRESS>:55996"
2월 21 12:43:10 worker01 dockerd[1089]: time="2017-02-21T12:43:10.095728684+09:00" level=warning msg="memberlist: failed to receive: No installed keys could decrypt the message from=<IP_ADDRESS>:55988"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09+09:00" level=info msg="Firewalld running: false"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09+09:00" level=info msg="Firewalld running: false"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09+09:00" level=info msg="Firewalld running: false"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09+09:00" level=info msg="Firewalld running: false"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09+09:00" level=info msg="Firewalld running: false"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09+09:00" level=info msg="Firewalld running: false"
2월 21 12:43:09 worker01 dockerd[1089]: time="2017-02-21T12:43:09.111379889+09:00" level=warning msg="memberlist: failed to receive: No installed keys could decrypt the message from=<IP_ADDRESS>:55984"
...

@lpakula @thinkhard-j-park Fix for this has been merged in the docker master and will also be included in 1.13.2. Root cause and the fix is explained here

Fix was cherry picked through https://github.com/docker/docker/pull/31030

@thaJeztah I encountered the same problem with 17.03.0-ce on a Raspberry Pi swarm. Are there ARM binaries available, can't find any on https://master.dockerproject.org?

@StefanScherer armhf packages are available in the apt.dockerproject.org repo http://apt.dockerproject.org/repo/pool/main/d/docker-engine/.
IIRC, https://master.dockerproject.org only has client binaries for ARM

Thanks @thaJeztah I first tried the test.docker.com script on ARM, but then I only get the 17.03.0-ce-rc1. So this will work with the next release candidate. So I'll compile ARM deb from master manually.

I still got these warnings in manager log as I often destroyed my swarm to reset a demo environment with docker swarm leave -f on all nodes and then created the swarm again. It turned out that even after the leave of the manager the docker engine still was listening on port 7946 and after the docker swarm init on the same manager node the log showed me "Error in agentInit : failed to create memberlist: Failed to start TCP listener. Err: listen tcp <IP_ADDRESS>:7946: bind: address already in use"

after the leave of the manager the docker engine still was listening on port 7946 a

@StefanScherer could you open an issue for that?

I found a way to reproduce it and opened #31913


Release APP

Can the release application be used

?

Hello, you can use it with release app only on rooted device.

Thank you, I'll try. I've tried official tools before - Layout Inspector, It doesn't work.

Thank you, It works.


use relative path to datapckage.json

Minor change. Just making the path to datapackage.json be a relative path so that this works wherever anyone happens to clone the repo

Note that this change was only made in the BidsHelper folder.

Added another minor commit, a gitignore file to ignore .user files

Added another file to the sample data.


Rename SwarmPort to PublicPort

/cc @icecrime @stevvooe @aluzzardi @mrjana

Can we get some reasoning behind this?

Let me summon the messenger: ping @aluzzardi

So, PublicPort doesn't really reflect what is happening here. There isn't really an access boundary. This has more to do with a common port, across the cluster, under which a service can be accessed. I'd rather rename Port to ContainerPort or something or just name it back to NodePort (which was an extremely poor name).

Done.


WIP: Mahti-rhel8 changes to CSC Docs

https://csc-guide-preview.rahtiapp.fi/origin/mahti-rhel8/apps/by_system/

Idea: Availability of all Mahti apps labeled now as Mahti-rhel7. Once Mahti is updated to RHEL 8, apps should be recompiled and tested, and if they work, they should be relabeled as Mahti-rhel8. The generate_by_system.sh script should be accordingly edited to include a new category Mahti-rhel8 for easy tracking which software have been verified to work. Once everything is done, remove -rhel7/8 tags and merge branch into master.


Parentheses inside let breaks syntax highlight

As you can see in the next image, when I use a expression like the one in the image, the syntax breaks.

If I use [] instead, the syntax works.

It even breaks without the ' before the parentheses.
I am using the latest neovim nightly.
Edit: here is the code I used:
(macro map! [buffer?]
  (fn cons [obj seq]
    [obj (unpack seq)])
  (let [expr '("lhs" "rhs" {})
        expr (if buffer? (cons 0 expr) expr)
        expr (if buffer?
               (cons 'vim.api.nvim_buf_set_keymap expr)
               (cons 'vim.api.nvim_set_keymap expr))]
    (list (unpack expr))))
(macrodebug (map! true))

Thank you for reporting this! I've pushed a fix with the latest commit https://github.com/TravonteD/tree-sitter-fennel/commit/96087b263b72b75552755a40f1f26c9510bc8f17


Update status bar when chosen DB changes

This PR fixes #23677

@lewis-sanchez Let's hold off on this one until I get my fix for https://github.com/microsoft/azuredatastudio/issues/23565 in - I'll check if that also fixes this issue

@lewis-sanchez Yeah, the other fix also fixes this. So closing this one https://github.com/microsoft/azuredatastudio/pull/23690


Expandable / child rows

This project looks pretty cool. I was reading over the documentation but didn't see anything on expandable rows*. Is this something I missed, and if not, does this project plan to add expandable rows in the future?

Example from jQuery DataTables project: https://datatables.net/examples/api/row_details.html

hey @patorjk thanks for the feedback. As it stands right now I'm not so sure if I would add something like this but I'll add a community feedback tag and see what people think

Sounds good. There's been discussion about it for the Angular2 datatable [1,2], though I can't tell if they've added it for it or not. If you decided to green-light it but don't have time yourself, let me know and I could look into creating a PR.
[1] https://github.com/angular/material2/issues/6095
[2] https://github.com/angular/material2/issues/5936

Something like this will be really helpful

In my opinion will be really helpful, i will waiting for it ;)

Yes, this feature would be helpful. Right now we have tasks, that need expandable rows.

There is an urgent need for this expandable table. Many thanks！！！

Great project! I have found it to be very useful and scalable. I do agree with the others on this one, having the ability to display data in a hierarchy manner while being able to still search/filter/export would be very helpful!

I've added this feature in the latest release (beta-44) and the example usage is here:
https://github.com/gregnb/mui-datatables/blob/master/examples/expandable-rows/index.js
Thanks for everyone's patience

Hello eveyone and congratulations for this repository :)
@gregnb , in your example the expandable row expands to just one more row. Is it possible to render multiples child instead of just one ?
An application would be using packages : rows are representing packages and when you expand them you see what there is inside the package.
Thank you for your help !


[libSyntax] Parse attributes on closures

https://github.com/apple/swift/pull/36012 introduced attribtues on closures. Support them in libSyntax.
Fixes rdar://77923956

Does this need a SwiftSyntax change to change the parser lib hash?

Yes, forgot to push it.
https://github.com/apple/swift/pull/37566
@swift-ci Please test

Yes, forgot to push it.
https://github.com/apple/swift-syntax/pull/287
@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 209a5f4fe34b58f1d954d47dbfe4fca9213e3317

Build failed
Swift Test OS X Platform
Git Sha - 209a5f4fe34b58f1d954d47dbfe4fca9213e3317

https://github.com/apple/swift-syntax/pull/287
@swift-ci Please test


27-backend-creating-controller-for-individual-logged

This code takes advantage of the Spring Boot annotations to take/make server requests and to communicate with the mySQL database. Note: This may not work with ArrayLists but I'll get to that later.

Because we are working on something else this sprint, I am closing this pull request. The session implementation can be done later.


CMDistributionGroup add collection members

Pull Request (PR) description
Resource CMDistributionGroup can now also match, include and exclude Collections.
Tested in lab environment using the updated example for this resource.
This Pull Request (PR) fixes the following issues
None
Task list

[x] Added an entry to the change log under the Unreleased section of the
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

In addition to my inability to pass the unit tests, the HQRM tests are failing due to an updated version of ChangelogManagement:
- BREAKING CHANGE: Get-ChangelogData''s Output.Unreleased is now null if there are no unreleased changes to match the behavior of Output.Released


Can we make a better layout?

Our current layout is very traditional and static. It has some weakness:

Not expandable
Doesn't display any information about the main person's spouses or children
Can't display siblings
Can't select alternate spouses or parents

One way to solve this is to show spouses and children for the main person like Ancestry does:

But you still can't see children of ancestors and it's still not expandable.
FamilySearch's landscape pedigree is the best I've seen:

It's expandable, shows spouses and children, allows for children of all couples to be shown, and allows for alternate spouses and parents to be selected. Their clever trick is grouping couples which more easily enables behaviors based on families. Should we try that?
We won't necessarily add the children dropdowns or allow for alternate spouses and parents to be selected (it requires a bit of work) but it's nice to know we could.

We will try to build a pedigree like the FS Family Tree pedigree, but likely with less features.
We will need new elements:

fs-pedigree-couple - display a couple together
fs-pedigree-ancestor-group - display 2-3 gens of people (3 when showing root; 2 when loading more)
fs-pedigree-descendant-group - display a list of descendants and their spouses

To load the root person's spouse and the spouse's ancestors we will call the Ancestry resource with the spouse query param set with an empty value.

/platform/tree/ancestry?person=PID&generations=2&spouse

This will load the root person with ahnen number 2 and the spouse with number 3 (there will be no number 1).

The display of the couples and the lines connecting them are being calculated somewhat dynamically (the number is fixed while the sizing is configurable).
Todo:

[ ] Load another group of ancestors
[ ] Update fs-person-chip to not wrap text
[ ] Allow persons to be added
[ ] Load descendants

Released in 4.2.0
Loading descendants will be added later


Hidden tooltip overflows viewport

I am currently implementing quite a long VisTooltip on a VisXYContainer. I wrap the content of this tooltip using CSS, which works as expected. Sadly, when the tooltip was first shown on a larger screen and the viewport is resized to be smaller, the CSS left property on the tooltip container does not update which causes the viewport to overflow horizontally. As soon as the user hovers my chart again and the left value is recomputed+updated, this overflow goes away.
As a quick fix I propose to use display: none to hide the tooltip when it is not shown instead of opacity: 0. Another solution would be allowing people to overwrite the styles of the container itself instead of only it's content.
Version: 1.2.1(@unovis/ts<EMAIL_ADDRESS>

@Coronon Nice catch, it was bothering me as well.
@reb-dev Can you please look into this? If we simply use display: none we won't have smooth fade outs, but maybe we can come up with some trick that will make it work.

@Coronon We've just released version 1.2.3 containing this fix


Updated README.MD

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes: #160
Description
[Please include a brief description of the changes or features added]
I have added number of forks,stars,pr's opened and closed,issues of repo in the documentation.In addition to it modified
the below

Type of PR

[ ] Bug fix
[X] Feature enhancement
[X] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]

Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@Muskansahuincredible @techmannih please label gssoc and level


Tweetinvi always showing null response Authentication time

Tweetinvi always showing null user.
Auth.SetUserCredentials("lsiL1pwhHYc8CkPb","yMHcgeoNrnMGzXx2ixHoco8xq","965423104-dJwzaONw", "Cv6XBCth5Orn8DlKJCU9tf2sdmYzp0wHxQRD3GAKgx1qg");
var autuser = Tweetinvi.User.GetAuthenticatedUser();
var user = Tweetinvi.User.GetUserFromScreenName("@*********");
autuser or user get always null response

This issue has been facing since last week.
Earlier, the same DLL used to have get data.

@SachinUnfyd  did you resolve this as I'm currently getting exactly the same error. Constantly returning null.

@SachinUnfyd @p1pster did you both found a fix to the problem.
Were your credentials invalid?

I am also facing this same issue - two MVC projects, for #1 everything works like a charm. For the other, #2 - authenticatedUser always comes back null as does basic Search.SearchTweets.
The only difference I can think of is one project is using different core OWIN application authentication.. Using identical twitter credentials and api calls, #1 works a-ok and #2 always returns null - no exceptions, just null for search, authenticateduser, etc.

Could you share some code showing how you use the library please?

I have the same issue.  I created a new Windows Form Application using VS2015.   Installed TweetinviAPI  4.0.2 via NuGet.   Created button with following code (same as repository example) using valid Keys and Tokens:
Auth.SetUserCredentials("5xxxxxx",` "tdxxxxxxx" , "24823839-xxxxx", "Axxxxx");
var user = User.GetAuthenticatedUser();

user is NULL.  I even recreated the tokens and keys and still same issue.
I noticed the issue on Saturday with an app using Tweetinvi 0.9.10 which brought me here to try with the latest version.  I have also tried versions 3.0.0 and 4.0.1 without success
Thanks

Update
I ran the same test project using VS2019 and it worked!   Re-compiled my older project using 4.0.2 and appears to be working ok now.

Great happy to hear about it. You are the 2nd person telling me about this VS2015 having an issue, I will remember this :)

I do not provide support for this version sorry. I am spending already a lot of time maintaining and improving Tweetinvi. I cannot support such old versions. Either get the version on git, build it and test it out find a way to upgrade.

@linvi I figured it out! Also just FYI this package was published June of this year, I'm not sure if it's yours directly or a fork off your project, but the github URL it lists is yours.
Reading up on the Exception Handling portion of your wiki, I set ExceptionHandler.SwallowWebExceptions = false and was able to see the exception that was being thrown:  The underlying connection was closed: An unexpected error occurred on a send.
I saw this same exception for an alternate twitter package I tried to switch to as a result of this issue, but when it came up I figured it was just out of date.
So, I read up on this issue here and changing the security protocol to Tls1.2 fixed the issue.
Above the request I just added
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

I think that may be related to why switching to VS2019 for other people worked for this issue, but either way everything works, and it wasn't an issue with your code!

Great I am very happy to hear you found a solution. And thank you for reporting the solution.
I would advise you to update maybe when version 5 comes out. Twitter api changes and various things have to change to catch up with them.
Wish you the best in your project


Keybinding for cursorWordLeftSelect not captured when partially overlapping with custom global macOS Ventura keyboard shortcut

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.78.0-insider (Universal)
OS Version: macOS Ventura 13.3.1 (a) (22E772610a)

Steps to Reproduce:

On macOS Ventura, open System Preferences → Keyboard → Keyboard Shortcuts → Mission Control → Mission Control
Set Move Left a Space to option + left (without shift)
Restart VS Code
Observe that the keybinding for cursorWordLeftSelect which is option + shift + left no longer works, even though it is different from the global shortcut defined above

The issue reproduces cleanly on both the latest VS Code and VS Code Insiders.
The issue is not on the OS level, as the shortcut option + shift + left still works in apps such as Safari and Textedit after the above steps.
Checking the output of the command Developer: Toggle Keyboard Shortcuts Troubleshooting, it seems the shortcut is not captured at all.
Output for the problematic option + shift + left:
2023-05-02 18:33:08.613 [info] [KeybindingService]: / Soft dispatching keyboard event
2023-05-02 18:33:08.613 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2023-05-02 18:33:08.614 [info] [KeybindingService]: / Received  keydown event - modifiers: [alt], code: AltRight, keyCode: 18, key: Alt
2023-05-02 18:33:08.614 [info] [KeybindingService]: | Converted keydown event - modifiers: [alt], code: AltRight, keyCode: 6 ('Alt')
2023-05-02 18:33:08.614 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2023-05-02 18:33:09.089 [info] [KeybindingService]: / Soft dispatching keyboard event
2023-05-02 18:33:09.089 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2023-05-02 18:33:09.090 [info] [KeybindingService]: / Received  keydown event - modifiers: [shift,alt], code: ShiftLeft, keyCode: 16, key: Shift
2023-05-02 18:33:09.090 [info] [KeybindingService]: | Converted keydown event - modifiers: [shift,alt], code: ShiftLeft, keyCode: 4 ('Shift')
2023-05-02 18:33:09.090 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2023-05-02 18:33:10.689 [info] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.

Output for a different keybinding that works, option + shift + up:
2023-05-02 18:33:55.440 [info] [KeybindingService]: / Soft dispatching keyboard event
2023-05-02 18:33:55.440 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2023-05-02 18:33:55.440 [info] [KeybindingService]: / Received  keydown event - modifiers: [shift], code: ShiftLeft, keyCode: 16, key: Shift
2023-05-02 18:33:55.441 [info] [KeybindingService]: | Converted keydown event - modifiers: [shift], code: ShiftLeft, keyCode: 4 ('Shift')
2023-05-02 18:33:55.441 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2023-05-02 18:33:55.726 [info] [KeybindingService]: / Soft dispatching keyboard event
2023-05-02 18:33:55.726 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2023-05-02 18:33:55.726 [info] [KeybindingService]: / Received  keydown event - modifiers: [shift,alt], code: AltRight, keyCode: 18, key: Alt
2023-05-02 18:33:55.726 [info] [KeybindingService]: | Converted keydown event - modifiers: [shift,alt], code: AltRight, keyCode: 6 ('Alt')
2023-05-02 18:33:55.726 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2023-05-02 18:33:55.918 [info] [KeybindingService]: / Soft dispatching keyboard event
2023-05-02 18:33:55.918 [info] [KeybindingService]: | Resolving shift+alt+[ArrowUp]
2023-05-02 18:33:55.918 [info] [KeybindingService]: \ From 2 keybinding entries, no when clauses matched the context.
2023-05-02 18:33:55.920 [info] [KeybindingService]: / Received  keydown event - modifiers: [shift,alt], code: ArrowUp, keyCode: 38, key: ArrowUp
2023-05-02 18:33:55.920 [info] [KeybindingService]: | Converted keydown event - modifiers: [shift,alt], code: ArrowUp, keyCode: 16 ('UpArrow')
2023-05-02 18:33:55.920 [info] [KeybindingService]: | Resolving shift+alt+[ArrowUp]
2023-05-02 18:33:55.921 [info] [KeybindingService]: \ From 2 keybinding entries, no when clauses matched the context.
2023-05-02 18:33:55.921 [info] [KeybindingService]: / Dispatching keybinding triggered via menu entry accelerator - shift+alt+up
2023-05-02 18:33:55.921 [info] [KeybindingService]: | Resolving shift+alt+[ArrowUp]
2023-05-02 18:33:55.921 [info] [KeybindingService]: \ From 2 keybinding entries, no when clauses matched the context.
2023-05-02 18:33:56.396 [info] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.

Possibly related: https://github.com/microsoft/vscode/issues/176349.


Cannot get dotnet-codegen

Here is a screencast of my attempt to follow the readme: http://somup.com/cbQUrbVbPx

Started a new project in Visual Studio 2017
Added a second project to the solution ("Your generator cannot be defined in the same project that will have code generated for it")
"Install the CodeGeneration.Roslyn NuGet Package." via Visual Studio's NuGet GUI
"Define the generator class:"
"Define attribute" in the main project (rather than the Generator project) because "define your attribute in another assembly if it must be applied to projects that target older platforms."
"install the CodeGeneration.Roslyn.Attributes package" to the main project
"Define your attribute class." and "specify the assembly-qualified name of the generator type as a string instead"
BUILD FAILS because dotnet-codegen doesn't exist. Skim through issues, discover that the part of the documentation about consuming a redistributed generator is actually required here.
Try installing dotnet-codegen via NeGet GUI - it fails because package type 'DotnetCliTool' that is not supported by project
Try installing dotnet-codegen by adding the given nuget.conf and DotNetCliToolReference XML
"Make sure that the DotNetCliToolReference version matches the version of the CodeGeneration.Roslyn package your package depends on."
Try command-line restore - The imported project "C:\Program Files\dotnet\sdk\1.1.0\Microsoft\Portable\v4.5\Microsoft.Portable.CSharp.targets" was not found.
Try getting the dotnet-codegen by creating a new project that is dotnetcoreapp1.0, still run into DotNetCliToolReference is not supported.

Sorry for your trouble, and thanks for your screencast.
I suspect the crux of your problem is that (IIRC) code generation is currently only supported for .NET SDK style projects (since they support DotNetCliTool). So your game project that you want to generate code for isn't supported.
However, we used to support that in 0.3. So try reviewing the README in our v0.3 branch and be sure to install nuget packages from 0.3.x. I think you'll have more luck.


feat: generic action view

[x] convert existing functionality to be used generically
[x] make node drain use the generic
[x] use virtual text for the description
[x] adjust window size to care for virt_text

@mosheavni Turned out really nice!


(v2) Inconsistent toBytes / fromBytes behaviour

(with sdk v2.0.0 - master branch today)
    const transferTransaction = new TransferTransaction()
        .addHbarTransfer(receipt.accountId, -1)
        .addHbarTransfer("0.0.3", 1)
        .freezeWith(client);

    const transactionBytes = transferTransaction.toBytes();
    const transactionToExecute = Transaction.fromBytes(transactionBytes);

results in error while decoding: Error: invalid wire type 4 at offset 11
while (note added setMaxTransactionFee)
    const transferTransaction = new TransferTransaction()
        .setMaxTransactionFee(10)
        .addHbarTransfer(receipt.accountId, -1)
        .addHbarTransfer("0.0.3", 1)
        .freezeWith(client);

    const transactionBytes = transferTransaction.toBytes();
    const transactionToExecute = Transaction.fromBytes(transactionBytes);

results in error while decoding: RangeError: index out of range: 173 + 10 > 173

This should now be fixed in v2.0.1 release, re-open if issue persists.

The index out of range issue is closed, however I'm still getting invalid wire type followed by No transaction found in bytes
This is the code I'm using to test
    const transferTransaction = new TransferTransaction()
        .addHbarTransfer(receipt.accountId, -1)
        .addHbarTransfer("0.0.3", 1)
        .freezeWith(client);

    // convert transaction to bytes to send to signatories
    const transactionBytes = transferTransaction.toBytes();
    const transactionToExecute = Transaction.fromBytes(transactionBytes);

@abonander

@gregscullard
The test I had used only a single node AccountId which is why I thought I had fixed Transaction.[from|to]Bytes().
I don't know why this hadn't come to me sooner, but I completely changed the way those methods are handled to use a new protobuf type called TransactionList. By using this new protobuf type it should hopefully eliminate any further issues as we no longer try to parse bytes ourselves. Another benefit of this type is that it will make it much easier to encode/decode bytes from other SDK's when they implement this type. I have released v2.0.3, and added a test which sets multiple node AccountId. Can you please test your transaction again.

@danielakhterov this works if I set the node account ids
    const transferTransaction = new TransferTransaction()
        .setNodeAccountIds([new AccountId(3)])
        .addHbarTransfer(receipt.accountId, -1)
        .addHbarTransfer("0.0.3", 1)
        .freezeWith(client);

I would expect that .freezeWith would set a random account Id so that it's transparent. Setting a node/nodes is appreciated as a feature, but it should be optional in all cases and a developer choice to use the feature or not.
The below still fails (note, no .setNodeAccountIds)
    const transferTransaction = new TransferTransaction()
        .addHbarTransfer(receipt.accountId, -1)
        .addHbarTransfer("0.0.3", 1)
        .freezeWith(client);

I believe the issue was with how we were serializing transactions that have multiple nodes set. Now that we use the TransactionList protobuf type I believe the issue is resolved. I have added a test for multi-node Transaction.toBytes() which passes: https://github.com/hashgraph/hedera-sdk-js/blob/master/test/unit/Transaction.js#L10 I'll close this issue as I think it's resolved, but if the issue persists please reopen.


improve add() ?

bool add(Print * stream) add another print stream. Returns false if no space left.
It might be better to return the index of the Stream so the user has an index to work with?
or maybe better should index(Stream) be public.
@tig FYI

That is a breaking change to the API though.
From: Rob Tillaart @.>
Sent: Tuesday, August 10, 2021 1:09 PM
To: RobTillaart/Multiplex @.>
Cc: Charlie Kindel @.) @.>; Mention @.***>
Subject: [RobTillaart/Multiplex] improve add() ? (#5)
bool add(Print * stream) add another print stream. Returns false if no space left.
It might be better to return the index of the Stream so the user has an index to work with?
or maybe better should index(Stream) be public.
@tighttps://github.com/tig FYI
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RobTillaart/Multiplex/issues/5, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEO6CSXKAXA3JSMTOYMGUTT4GBMZANCNFSM5B42GPOA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

Definitely breaking.
I just filed this issue, not to fix it soon but to keep thinking about how the interface could improve.
For now I think that making the Index(Stream) function public is the most organic growth path ...

index(Stream) is added in 0.2.1
stream(index) is added in 0.2.1

For now the add() function stays as is. The index() function helps when the index is needed.
OK it is less fast than returning the index directly but for now there is no need reported so lets close the issue..


Dummy component support

Right now we only support starting a network if all components used inside it are actually available and runnable.
However, there is certain amount of demand for having partially-implemented graphs, for example with Flowhub and top-down design (noflo/noflo-ui#266). In this case we'd want to instantiate "dummy" (no-op) components for the graph nodes that don't yet have an implementation, and otherwise run the network normally. Messages received by these no-op components could either raise an error, or be ignored.
Potential implementation for dummy components could be based on the MsgFlo foreign participant format where you can define things like ports.

We can use the # @runtime annotation to distinguish NoFlo dummies from MsgFlo foreign participants


2 x minor discrepancies in CCK descriptions vs actions

👓 What did you see?

Change When a JPEG image is attached to either attach a JPEG or rename it to PNG
cf: https://github.com/cucumber/compatibility-kit/blob/main/devkit/samples/attachments/attachments.feature.ts#L49
Change When a PDF document is attached with a filename to attach the document.pdf file with a different name. Rename the cuke to When a PDF document is attached as renamed-document.pdf`
cf: https://github.com/cucumber/compatibility-kit/blob/main/devkit/samples/attachments/attachments.feature.ts#L57

✅ What did you expect to see?

📦 Which tool/library version are you using?

🔬 How could we reproduce it?

Steps to reproduce the behavior:

Install '...' version '...'
Create a file called '....'
Run command '....'
See error '....'

📚 Any additional context?

This text was originally generated from a template, then edited by hand. You can modify the template here.

@davidjgoss are you happy for these changes (Global), to the CCK?

@luke-hill LGTM!

Fixed in #52 Will be released shortly


Add (Switch), repeatable with .

Right now, the plugin can be repeated if you have vim-repeat installed, but I suppose if there's a way to get repeatability without it, that would be best. And plug mappings are pretty standard, so I'm fine with it. Could you also create a mapping for the reverse command to ensure both entry points are covered?

Seems like it, yeah -- I'll merge the PR and try to remove vim-repeat as a dependency :+1:


Studio update, WARN  Issues with peer dependencies found

When updating Studio dependencies:
gitpod /workspace/prisma (main) $ pnpm update -r @prisma/studio@latest @prisma/studio-server@latest
Scope: all 10 workspace projects
packages/sdk                             |  WARN  deprecated<EMAIL_ADDRESS>packages/integration-tests               |  WARN  deprecated<EMAIL_ADDRESS>packages/integration-tests               |  WARN  deprecated<EMAIL_ADDRESS>packages/integration-tests               |  WARN  deprecated<EMAIL_ADDRESS>packages/integration-tests               |  WARN  deprecated<EMAIL_ADDRESS>packages/integration-tests               |  WARN  deprecated<EMAIL_ADDRESS>Downloading<EMAIL_ADDRESS>15.5 MB/15.5 MB, done
Downloading registry.npmjs.org/typescript/4.6.3: 11.4 MB/11.4 MB, done
Downloading<EMAIL_ADDRESS>17.1 MB/17.1 MB, done
Downloading<EMAIL_ADDRESS>11.2 MB/11.2 MB, done
.                                        | +692 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1064, reused 330, downloaded 687, added 692, done
node_modules/.pnpm/@prisma+engines@3.12.0-31.ae010d3ee58f28c22599b1e5fbd1697a82240550/node_modules/@prisma/engines: Running postinstall script, done in 1.5s
<EMAIL_ADDRESS>Running install script, done in 467ms
<EMAIL_ADDRESS>Running install script, done in 1.1s
<EMAIL_ADDRESS>Running postinstall script, done in 86ms
 WARN  Issues with peer dependencies found
packages/cli
└─┬ @prisma/studio-server
  ├── ✕ missing peer @prisma/sdk@"*"
  └─┬ @prisma/studio-pcw
    ├── ✕ missing peer @prisma/client@"*"
    └── ✕ missing peer @prisma/sdk@"*"
Peer dependencies that should be installed:
  @prisma/client@"*"  @prisma/sdk@"*"

Hi there,
As part of our effort to clean up our GitHub repo, we’re closing this issue to help focus on features and improvements that align with our focus areas and those of our community.
This issue was originally created for internal tracking purposes, but if you feel this is important to you, feel free to reopen the issue and get like-minded users to upvote as we will prioritize fixing issues based on community interest.
For more insight into our priorities and how we’re thinking about the future of Prisma, please see our blog post: https://www.prisma.io/blog/prisma-orm-manifesto.
Thank you for your understanding and support!


Fix exception handling in DrainStatusPoller

Fixes #9143
isDrainMode, which can throw a KeyError, was running outside a try/except block

DrainStatusPoller also checks it at L44. But it's Ok to have the try/except block, it won't hurt.

@goughes Erik, can you please fix those 2 pylint bold warnings and squash your commits? Changes look good.


Create ele.txt

Centre de services scolaire des Affluents

@beligh-hamdi Would you please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

Could you please also disclose your affiliation to the school, because you seem not to be a student, neither a teacher of the school.
Thank you for your understanding.

the school official website URL: https://cssda.gouv.qc.ca/
the school street address: 80, rue Jean-Baptiste-MeilleurRepentigny, Québec J6A 6C5 Canada

@beligh-hamdi Thank you for the clarification. Pull request merged.


is it possible to give a choice for app to extend the length limitation of clientId even in mqtt v3.1?

https://github.com/netty/netty/blob/d5208096e40df642048dfb81341f450e531a11be/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttCodecUtil.java#L28
In mqtt v3.1, principle request mqtt server must support clientId with length of at least 23,  but the server still can support length over 23. So I suggest to give a choice for app to customize the length limitation of clientId.

@jidan2333 I am happy to review a PR ...


fc_feats not used in Att2in2Core?

Hi, in Att2in2Core the fc_feats is not used.  Is it on purpose or just a mistake?

Oh, I read the paper. It is on purpose.