Add vertical control

I added the functionality to control the vertical setting. It works with my luminary and has a simple control as Level.
I also tried adding temperature but this doesn't seem te be a simple byte although the response in the debug logging shows a simple byte corresponding to a scaled range on my luminary.

What do you mean by adding temperature? You mean setting the temperature with the SetTemperature opcode? The issue there is that scaling is weird since we don't have a min and max. I know it should be possible but it's too much work to figure out right now. The rest of temperature handling is already implemented and released in 0.0.8.

I saw that there was already code for the temperature but no opcode.
I don't understand what you say about no min/max. The unit has this info in my case:
UnitControl(type=, offset=16, length=8, default=127, readonly=False, min=2700, max=4000)])}
I found code 10 triggers the temperature.
Revisiting what I did, it seems to work now (similar to the others, just 1 byte). Only the android app doesn't seem to get an update for the temperature (it does for vertical and level). The luminary however changes its color temperature.
Do I submit a pull request for this?
Thanks for the work by the way

The issue is that opcodes can be addressed to multiple units at once that might not have the same min and max. I always use SetState when dealing with individual units since this allows multiple parameters to be set with one message. So the value (at least for me) in these specific set operations is that I can change one parameter for a group without caring about what units are in a group. So I'd prefer to have a implementation that works in these circumstances for SetTemperature.

I noticed that setting the state is a shortcut. But isn't the argument the
same for vertical, white and rgb? I have vertical but not white or rgb. For
consistency, SetTemperature would have to be implemented as well.
Op ma 13 feb. 2023 20:01 schreef Lukas Kempf @.***>:

The issue is that opcodes can be addressed to multiple units at once that
might not have the same min and max. I always use SetState when dealing
with individual units since this allows multiple parameters to be set with
one message. So the value (at least for me) in these specific set
operations is that I can change one parameter for a group without caring
about what units are in a group. So I'd prefer to have a implementation
that works in these circumstances for SetTemperature.
—
Reply to this email directly, view it on GitHub
https://github.com/lkempf/casambi-bt/pull/10#issuecomment-1428490780,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUL66RKXF3NIEMM6OLIPZLWXKAHNANCNFSM6AAAAAAUWG5K6U
.
You are receiving this because you authored the thread.Message ID:
@.***>


update cloud 123

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
shadedclient
33m 35s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
shadedclient
22m 54s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 53s

The patch does not generate ASF License warnings.

60m  5s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4591/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4591

Optional Tests
dupname asflicense codespell detsecrets

uname
Linux 68714ab19c9d 4.15.0-169-generic #177-Ubuntu SMP Thu Feb 3 10:50:38 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / bea529f7c8ed6852ba107f4047d15f55e2579eda

Max. process+thread count
722 (vs. ulimit of 5500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4591/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Create an Eval datatype

Similar to Cats - now, later and always implementations.
Extend supplier, offer similar value related methods to optional
Support pattern matching by implementing Matchable
Support asynchronous evaluation

PR : https://github.com/aol/cyclops/pull/179


Add content about content changes for SA form mappings

Closing this PR because Git branch has become stale.


refactor: Delete obsolete comment re: limsup

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2464   +/-   ##
=======================================
  Coverage   93.82%   93.82%
=======================================
  Files          84       84
  Lines        6110     6110
  Branches     1254     1254
=======================================
  Hits         5733     5733
  Misses        346      346
  Partials       31       31

Impacted Files
Coverage Δ

src/functions/op.js
98.91% <ø> (ø)

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 5098ac3...2602937. Read the comment docs.

Was the test screenshots label to give the Safari screenshotter a kick? It seemed to stall out, and this got it to restart? Ideally we could improve the reliability... 🙁

Yes, that was exactly the purpose for the test screenshots label. I got that tip from @ylemkimon in PR 2459 comment. My guess is that Safari screenshots are not automatic so that they do not run with every caniuse-lite update and run up the BrowserStack time. But that is just my speculation. @ylemkimon Can you confirm?

@edemaine The Safari screenshotter is not run on PRs from a fork by default, due to security implications. Instead, a label is used to trigger it.

That information should probably be written into the contributing page.

Ah, I see. I guess it's finally time to start making branches on KaTeX's KaTeX instead of our personal forks. (Unless we add a whitelist of members' forks.)


Adding plotting code for network output

I inveted the yaxis I think because I was trying to match output in sgfs. Sgfs use the upper left as origin.

Lol... gonna just make a new PR


Ensure federated query (#6311)

Signed-off-by: Mandy Chessell<EMAIL_ADDRESS>

Description

Change the find executors so they always return false - this causes them to traverse all repositories
Update integration connectors to supply a component description for the audit log
Change the admin services ServerStatus to ServerServicesStatus to avoid name clash with platform services ServerStatus
Update the methods in the SoftwareServerPlatform beans from setSoftwareServerXXX to setSoftwareServerPlatformXXX

Fixes # (issue)
How Has This Been Tested?
FVT - hoping that @alexandra-bucur will test with config that does not emit events from one of the repositories.
Any additional notes for reviewers?

@mandy-chessell The underlying issue has been fixed & tested in master now, so you should be able to merge with master & the checks should work ok. (see https://github.com/odpi/egeria/issues/6326 )

@mandy-chessell I will test it as soon as it gets in master. I cannot pull code from your fork.

I tested the search and it works fine, but the publishing of the glossary term through Asset Lineage is not working.  It relies on the GetRelationshipsForEntityExecutor which was not changed. Along with it I saw that there are another 11 executors without this new logic, but I am not aware of the impact of their behaviour.

I have updated getRelationshipsForEntity and getAllTypeDefs

It works fine now. Thank you!


Add light level for crops and new Farmland Mode

Added light level functionality for farmland/crops.

Also added a new separate farmland mode. I must note that about 95% of the farmland mode code is identical to carpet mode.

Ready for review!


Disappearing Wallet Address

I had an issue where I transferred from Cash app to my main Sparrow wallet. When I loaded the wallet and let the sync finish, the coins never showed up. I could see the coins on blockchain.io but never hit my wallet. The day after I went in to find the address and it wasn't listed. After several attempts to recover, all of a sudden, the missing address showed up and all of my coins came in. First time experiencing this on Arch Linux as my other laptops running Arch never had this issue.
Also, as a new feature, it would be nice to have watch-address option so I don't have more than one wallet app

The day after I went in to find the address and it wasn't listed.

Are you using a passphrase? Entering an incorrect passphrase is the only way a wallet might display different addresses.

Also, as a new feature, it would be nice to have watch-address option so I don't have more than one wallet app

You can setup a watch only wallet by choosing that option when creating a new wallet. Enter in the xpub and the wallet addresses will be created.


working draft for JOSS Paper

Overview
Working draft for JOSS Paper
Thanks!

pre-commit.ci autofix

Does this look good to go for PyOS?


1.3 doesn't seem to be available on deno.land

<EMAIL_ADDRESS>is returning a 404 at the moment
<EMAIL_ADDRESS>is the last one available.

deno.land/x downloads and stores your repository contents every time you create a git tag. We only do this once for every tag. This ensures that the contents we serve for a specific version can never change.
Our service needs to get informed whenever a new tag is created. For this purpose we use GitHub webhooks.

Maybe there is an issue with the webhook configuration ? Or is it something on their side ?

My best guess right now is that it takes a while for updating. If it doesn't work in a couple of hours I will ask on discord about it. Thank you for letting me know @esquevin !

It is the webhook @esquevin . I will fix it in a couple of hours.

thanks @timonson for the great library and this fix.

Unfortunately v1.3 is a lost cause. But Webhooks are integrated now and v1.4 works.


null issues in config

If I don't have a debug object in my config this throws Cannot read property 'timeBuildSteps' of undefined. Needs some optional chaining or config validation/defaults.
https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/blob/06441416ee7917ac239eb338c21c69606454af13/src/utils/run-steps.js#L6

Thanks @moonmeister! I think the default plugin options probably need to be deep merged since I think I'm probably just object merging. I'll get this fixed asap, thanks for the report!

Just opened a PR to fix this, thanks again @moonmeister !


Expose each tool's environment

Each tool instance should maintain a copy of its environment variables and supply that copy when running the wrapped tool. We should also expose those variables as a part of each tool's dict representation.

#34.


Update core.wcm.components dependency to 2.10.0

a new release of core components , 2.10.0, is available, archetype should be updated accordingly.

This issue has meanwhile superseded by newer PR's (#448, #450, #455) bringing core components version to the latest, 2.11.0.


suil-qt5: remove from aliases.nix

Motivation for this change
This package exists both in all-packages.nix and aliases.nix and is thus not installable. Remove alias. Ensure that suil-qt5 actually builds.
Fix #99286
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Cc @cillianderoiste @matthewbauer

See also https://github.com/NixOS/nixpkgs/issues/99286#issuecomment-705003146


Merge DEV ke UAT 1 Mar 2018

Coverage increased (+0.1%) to 77.426% when pulling b808ac53c67502a4d5abb591df0989e72f88caac on dev into 004df71bd1b562d19c5c635bfeb264b6407309a7 on uat.


[FLINK-5010] [akka] Introduce default configuration values for Akka's deathwatch

Set the akka deathwatch interval to 10s, the akka deathwatch pause to 60s and the tcp
connection timeout to 20s per default.

are the new default values effectively the same as before?

No the default values for the heartbeat pause was 100 s and for the tcp
connection timeout was 100 s as well.
On Mon, Nov 21, 2016 at 3:01 PM, zentol<EMAIL_ADDRESS>wrote:

are the new default values effectively the same as before?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/flink/pull/2831#issuecomment-261945827, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFfXuqUF8JbMw6ONBuZdfdS4mkQ6Oygvks5rAaRCgaJpZM4K2iMb
.

I think this is good to decouple the ask and heartbeat timeouts.
+1 to merge

Thanks for the review @StephanEwen. Will be merging this PR.


Fix issue #230

Hello,
this PR fixes issue #230
thx

@Robdel12 Fixing this would be great.

@wuarmin I'll have a look into this.

@cowboyd :thumbsup


运行时报错 ModuleNotFoundError: No module named '_raymarching_face'

GeneFacePlusPlus/modules/radnerfs/raymarching/raymarching.py", line 10, in <module>
import _raymarching_face as _backend
ModuleNotFoundError: No module named '_raymarching_face'

Hi, don't forget to install the cuda-extension by bash docs/prepare_env/install_ext.sh.
Also note that, to install the extensions, you need to locally install CUDA using .run file on the Nvidia official website (https://developer.nvidia.com/cuda-downloads?target_os=Linux). And the CUDA version should be the same as your python CUDAtoolkit's version.


#main min-width of 830px causes horizontal scrolling

In global.css line 418 the min-width of 830px seems to be arbitrary, unless I am missing something. Taking it out seems to work fine and prevents horizontal scrolling on small screens.

I think there should be some kind of min-width, because at a certain point the sidebar gets to be a significant fraction of screen-width. Right now the minimum is about 1024px, but I guess it could be smaller.
Maybe 640px would be a better minimum?

Ok, so if the sidebar is the reason, would it make sense to apply a max-width to it instead? It seems more natural and avoids problems on smaller screens.


Refactor, clean up, fixes, and features

Merged in @wdhays2 lazy loading of project features.
Added requested Resource object equality methods.
Fixed issues with saving Story objects

Hi Forest,
I’m still working on a project using PivotalTracker. At this point I am looking into adding a method for directly accessing epic comments and story comments, similar to what I did on labels. Just curious if you would be interested in adding this to your code, or if I should just fork your repo and add what I need to it.
Alternatively, if you believe I have overlooked code that already provides this functionality, could you point me in the right direction?
Thanks

On Jun 24, 2015, at 8:22 PM, Forest<EMAIL_ADDRESS>wrote:
Merged #48 https://github.com/dashofcode/tracker_api/pull/48.
—
Reply to this email directly or view it on GitHub https://github.com/dashofcode/tracker_api/pull/48#event-339617381.

You can do this now with the fields param and eager loading. I'm happy to
take pull requests for adding lazy loading accessors for this as well.
Story comments are support for eager and lazy cases now.
Here is how you can do this now for stories.
client.project.stories(fields: ':default,comments(:default,person)')

or -
client.project.stories(fields: ':default,comments')
or lazy -
story.comments

I need to add the fields for comments on Epic resource. I'll do that on
master now.
forest
On Tue, Jun 30, 2015 at 3:43 PM Wiley Hays<EMAIL_ADDRESS>wrote:

Hi Forest,
I’m still working on a project using PivotalTracker. At this point I am
looking into adding a method for directly accessing epic comments and story
comments, similar to what I did on labels. Just curious if you would be
interested in adding this to your code, or if I should just fork your repo
and add what I need to it.
Alternatively, if you believe I have overlooked code that already provides
this functionality, could you point me in the right direction?
Thanks

On Jun 24, 2015, at 8:22 PM, Forest<EMAIL_ADDRESS>wrote:
Merged #48 https://github.com/dashofcode/tracker_api/pull/48.
—
Reply to this email directly or view it on GitHub <
https://github.com/dashofcode/tracker_api/pull/48#event-339617381>.

—
Reply to this email directly or view it on GitHub
https://github.com/dashofcode/tracker_api/pull/48#issuecomment-117365104
.

Done.
https://github.com/dashofcode/tracker_api/commit/3471b51a3ac666c0632ecc3349e714d3ed1a386b
Feel free to add the lazy comments accessor on Epics if you need it and
send the pull request.
On Wed, Jul 1, 2015 at 10:12 AM Forest Carlisle<EMAIL_ADDRESS>wrote:

You can do this now with the fields param and eager loading. I'm happy to
take pull requests for adding lazy loading accessors for this as well.
Story comments are support for eager and lazy cases now.
Here is how you can do this now for stories.
client.project.stories(fields: ':default,comments(:default,person)')

or -
client.project.stories(fields: ':default,comments')
or lazy -
story.comments

I need to add the fields for comments on Epic resource. I'll do that on
master now.
forest
On Tue, Jun 30, 2015 at 3:43 PM Wiley Hays<EMAIL_ADDRESS>wrote:

Hi Forest,
I’m still working on a project using PivotalTracker. At this point I am
looking into adding a method for directly accessing epic comments and story
comments, similar to what I did on labels. Just curious if you would be
interested in adding this to your code, or if I should just fork your repo
and add what I need to it.
Alternatively, if you believe I have overlooked code that already
provides this functionality, could you point me in the right direction?
Thanks

On Jun 24, 2015, at 8:22 PM, Forest<EMAIL_ADDRESS>wrote:
Merged #48 https://github.com/dashofcode/tracker_api/pull/48.
—
Reply to this email directly or view it on GitHub <
https://github.com/dashofcode/tracker_api/pull/48#event-339617381>.

—
Reply to this email directly or view it on GitHub
https://github.com/dashofcode/tracker_api/pull/48#issuecomment-117365104
.


334830043: Added end-to-end test script

Code review: 334830043: Added end-to-end test script

Coverage remained the same at 80.202% when pulling b0eb1d984cb683fb3d6f8afdf2c6f3e270f93073 on joachimmetz:endtoend into 03d80961e65c87060e743b913a61a9ce6c9f6680 on log2timeline:master.


What private key format of netopeer is required?

When netopeer use the private key that TPM create, but report error "Failed to set hostkey "genkey" (/tmp/hTStDY)".

We are working on a major update of libnetconf2 where the format of the keys should be handled better in general but currently you need to use keys that have the header in PEM format as
-----BEGIN RSA PRIVATE KEY-----

with RSA being replaced by the actual key type (such as EC).

We are working on a major update of libnetconf2 where the format of the keys should be handled better in general but currently you need to use keys that have the header in PEM format as
-----BEGIN RSA PRIVATE KEY-----

with RSA being replaced by the actual key type (such as EC).

Hi michalvasko, thanks for your reply. I have some questions. When the client and the server establish interaction, they must send the private key? What is the use of the private key after the client gets it?

What keys are you talking about exactly, server host key, client authorized key or another? In any case, you can learn about their purpose in the RFCs of the SSH protocol.

You have not answered my question and I have no idea what "strong authentication" means. Also, I still do not understand what exactly are you asking, I think you should learn some basic information about SSH keys first.

is only used as strong authentication

I refer the link https://www.ssh.com/academy/ssh/protocol.

Oh, seems to have no exact meaning and is just a buzzword.

I intercepted a paragraph. “Strong authentication with SSH keys
There are several options that can be used for user authentication. The most common ones are passwords and public key authentication.
The public key authentication method is primarily used for automation and sometimes by system administrators for single sign-on. It has turned out to be much more widely used than we ever anticipated. The idea is to have a cryptographic key pair - public key and private key - and configure the public key on a server to authorize access and grant anyone who has a copy of the private key access to the server. The keys used for authentication are called SSH keys. Public key authentication is also used with smartcards, such as the CAC and PIV cards used by US government.
The main use of key-based authentication is to enable secure automation. Automated secure shell file transfers are used to seamlessly integrate applications and also for automated systems & configuration management.
We have found that large organizations have way more SSH keys than they imagine, and managing SSH keys has become very important. SSH keys grant access as user names and passwords do. They require a similar provisioning and termination processes.
In some cases we have found several million SSH keys authorizing access into production servers in customer environments, with 90% of the keys actually being unused and representing access that was provisioned but never terminated. Ensuring proper policies, processes, and audits also for SSH usage is critical for proper identity and access management. Traditional identity management projects have overlooked as much as 90% of all credentials by ignoring SSH keys. We provide services and tools for implementing SSH key management.”
You can have a look.

Yes, I have briefly went through the paragraph, it talks about SSH publickey authentication method. What exactly is your netopeer2-specific question?

Yeah, before I don't think private key should be sent. When I delete the private key parameters in merge_hostkey.sh, some questions occur.

That is what I meant when I said you should learn something about SSH keys in general. The private key is never sent anywhere and should be reasonably secured (using sysrepo access control, having it in the configuration is no less dangerous than when being in ~/.ssh directory). Only the public key is being sent over SSH as part of publickey authentication.
I have not said anything specific to neopteer2 that you would not be able to find online. Please, try to keep the questions relevant, these issues are meant to provide support for the project they are created in.


can't send UrlLink

const bot = WechatyBuilder.build({ name: "zwc-bot"})
bot
  .on('scan', onScan)
  .on('login', async user => {
    // console.log(wechaty.currentUser)
    const friend = await bot.Contact.find("leftover")
    console.log(friend)
    const urlLink = new bot.UrlLink({
      description: 'WeChat Bot SDK for Individual Account, Powered by TypeScript, Docker, and Love',
      thumbnailUrl: 'https://avatars0.githubusercontent.com/u/25162437?s=200&v=4',
      title: 'Welcome to Wechaty',
      url: 'https://github.com/chatie/wechaty',
    })
    friend?.say(urlLink)
    console.log(`User ${user.name()} has logged in`)
  })
  .on('message', message => console.log(`Message: ${message}`))

bot.start()

I want to send UrlLink ,but get it ,it seems has Compatibility , how can i fix it to send urlLink

Your have to choose another puppet.

You have to choose another puppet.

thanks


Add term 'parasitemia percentage'

Issue: https://github.com/VEuPathDB-ontology/VEuPathDB-ontology/issues/416

Would it be better, instead of using "percent" or "percentage", to use a more general word like "ratio"?

Label: parasitized erythrocyte count to total erythrocyte count ratio
Alternative label: percentage parasitemia
Definition: A parasitemia measurement in which the number of parasitized erythrocyte is divided by the number of all erythrocyte in a specified sample of blood, and the result presented as a ratio, fraction, quotient or percentage.
that is expressed as percentage of erythrocytes parasitized.


Proxy routes that aren't handled to the new frontend app

This change causes the Rails app to proxy requests that aren't handled by a route to https://github.com/hackclub/frontend. This'll allow us to seamlessly transition over to the new frontend app without having to send our users to multiple domains.

Not sure why CircleCI didn't run. Tests pass locally, merging.


Various object storage service benchmark improvements

Spawn many processes from worker-side script via Python's multiprocessing module instead of SSHing into each machine many times. This improves high VM x Thread runs significantly.
Created an interactive object timeline. Useful for debugging as well as seeing throughput during different times in the run.
Make GCS use regional buckets by default, like the other providers already do.

@gareth-ferneyhough @asaksena PTAL

Hey @gareth-ferneyhough sorry could you take another look? Had to make one more last minute fix.

LGTM again!


f.flashloan returns error

I have a problem every time I run await f.flashloan() in
ganache-cli forking from the main network
I get this error
Thrown:
Error: Returned error: VM Exception while processing transaction: revert    at PromiEvent (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\contract\lib\promievent.js:9:1)
at TruffleContract.flashloan (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\contract\lib\execute.js:169:1)
at evalmachine.:1:11
at evalmachine.:2:49
at sigintHandlersWrap (vm.js:269:15)
at Script.runInContext (vm.js:124:14)
at runScript (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\console.js:222:1)
at Console.interpret (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\console.js:237:1)
at ReplManager.interpret (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\repl.js:131:1)
at bound (domain.js:419:14)
at REPLServer.runBound [as eval] (domain.js:432:12)
at REPLServer.onLine (repl.js:715:10)
at REPLServer.emit (events.js:210:5)
at REPLServer.EventEmitter.emit (domain.js:475:20)
at REPLServer.Interface._onLine (readline.js:316:10)
at REPLServer.Interface._line (readline.js:693:8)
at REPLServer.Interface._ttyWrite (readline.js:1019:14)
at REPLServer.self._ttyWrite (repl.js:792:7)
at ReadStream.onkeypress (readline.js:191:10)
at ReadStream.emit (events.js:210:5)
at ReadStream.EventEmitter.emit (domain.js:475:20)
at emitKeys (internal/readline/utils.js:433:14)
at emitKeys.next ()
at ReadStream.onData (readline.js:1153:36)
at ReadStream.emit (events.js:210:5)
at ReadStream.EventEmitter.emit (domain.js:475:20)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:290:11) {
hijackedStack: 'Error: Returned error: VM Exception while processing transaction: revert\n' +
'    at Object.ErrorResponse (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\web3-core-helpers\src\errors.js:29:1)\n' +
'    at C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\web3-core-requestmanager\src\index.js:140:1\n' +
'    at C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\provider\wrapper.js:112:1\n' +
'    at XMLHttpRequest.request.onreadystatechange (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\web3-providers-http\src\index.js:96:1)\n' +
'    at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:1)\n' +
'    at XMLHttpRequest._setReadyState (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\xhr2-cookies\dist\xml-http-request.js:208:1)\n' +
'    at XMLHttpRequest._onHttpResponseEnd (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\xhr2-cookies\dist\xml-http-request.js:318:1)\n' +
'    at IncomingMessage. (C:\Users\Ljtro\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\xhr2-cookies\dist\xml-http-request.js:289:47)\n' +
'    at IncomingMessage.emit (events.js:215:7)\n' +
'    at IncomingMessage.EventEmitter.emit (domain.js:498:23)\n' +
'    at endReadableNT (_stream_readable.js:1184:12)\n' +
'    at processTicksAndRejections (internal/process/task_queues.js:80:21)'

Hm... i'm not sure what the issue is there, however have you tried starting again and pulling the latest updates from Git? I recently updated the repo and haven't had any problems with it so far.
Also make sure you read the entire README.MD as there are instructions on how to set up properly, as well as how to debug errors.

I did what you said and started over than My contract reverted again but the reason was
SafeERC20: low-level call failed
do you know how to solve this error

Yes that means something went wrong in your ERC20 call, either when transferring or checking balances. You will need to double check all your contract balances and ensure you have enough of what you are trying to send.

I'm still getting the same error even though I am filling up the smart contract with 20 ether worth of dai and 5 ether and I'm only requesting 1 ether worth of dai from the flash loan.


20: new ros node with subscriber and publisher

Deletes content of existing ino file, and replaces with a simple subscriber - publisher.
The publisher simply publishes "I'm alive!" to the /heartbeat topic.
The subscriber subscribes to an std_msgs::Empty message on the /listener topic, and toggles the LED state.

Forgot to approve :(


fix: Update applications.mdx

fix wording

Description

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.132.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


why it generates latent nothing

if i lower the weigt it's les like latent nothing

Can u give more information? like the training config_file.toml? or metadata.

i was using this version https://colab.research.google.com/drive/1s6Nz7DqHY1bluVF-nBRIvnFeHpuLrj0w

the version of the colab that i use dosen't have   config_file.toml files

ok i fixed it

used old version


Adjust Queue Family on replay

I think we could add an option for adjusting Queue Family on replay. For example, the queue on a captured file is family 1, and its flags have VIDEO_ENCODE. But the queue family 1 on replay doesn't support VIDEO_ENCODE, and queue family 2 supports it.  We could adjus the value of queue family from 1 to 2 on every function call during replay. VkDeviceQueueCreateInfo could create all queues for adjusting. If it happens that running out of the count of queue family index, print ERROR log.

Like virtual swapchain but for Queues?

See also #856

It's much simpler than virtual swapchain. It just adjust the value of queueFamilyIndex to the one that is compatible with the captured queue family index. It might also adjust queueIndex for GetDeviceQueue. It's not like virtual swapchain to create new image to replace original image, so I don't call it "virtual queue".
It's also different with #856 that use one queue for everything on replay. It still has the same count of queues, and these queues do the same things. The different is the queues are from different family to the captured queues.

queueFamilyIndex of VkCommandPoolCreateInfo, VkSwapchainCreateInfoKHR, VkVideoSessionCreateInfoKHR and more also have to be adjusted to new value.

How about an option --queue-remap, or do you think this is important enough that it should be the default?


remove references to gpl-v3-only and gpl-v3-or-later

cargo deny doesn't seem to recognize these anymore, and it only supports gpl-v3 for instance, without these qualifiers

Same story re: generate-examples.

This will auto-merge once the updated examples are pushed and someone reviews.


MissingImport Error

Hello ,
I made everything in https://slayer0x.github.io/flipper/ guide . But cant start evil portal .
I got this error

Any Solution ? What am I doing wrong ?

Same issue here, im on unlshd-073, using latest marauder v0.13.10 and trying to use the latest evil portal evil-portal-0.0.2, used to work on marauder v0.13.4.

Same error here.
Followed all the instrutions 3 times, change firmware to factory and re-install unleashed before tried my 3rd installation try of the evening, but always the same error as the screenshot above, again and again.

Hi, I had this problem, its from the external firmware, Sadly the firmware for some reason MERGES the 2 firmwares and this creates many crashes and import issues, so all you need to do is backup your sd card on your computer, then plug the sd card in ur flipper and go to settings to reformat the sd card, OF COURSE ONLY DO THIS if your sd card storage maximum is weird (like in your computer it says a max file size way different than what is written like 200mb for a 64GB sd card), afterwards you download the firmware as usual (better yet, download the NORMAL official firmware then put the custom firmware ontop of it)


Can Marigold be trained from scratch?

Is it really necessary to train Marigold in a fine-tuning manner?
Or have you reasoned about the possibility of training it from scratch?
Any insights, experiences, or opinions will be appreciated!
Thanks!

Hi, the main idea of this paper is to reuse the pretrained prior from SD. Training from scratch is not something we targeted for. I also tested it out though, in my training setting, it didn't converge to a reasonable result.


Grabbing Subsequent Fields Change Old and New Values

Problem Statement
I can get all the fields that were changed, however only the first new and old value of the first field that was changed appears, my code does not grab the next field's old and new value that were changed.  I have attached an image that illustrates this. Is this a limitation of django-simple-history module or my code below ?
Describe the solution you'd like
I would like to be able to grab all of the changes that happened in each field, and output to the admin area.
Describe alternatives you've considered
I have tried using for loops and if statements but I do not get the solution that I would like.
Additional context
`
history_list_display = ['changed_fields', 'changed_values']
def changed_values(self,obj):
    if obj.prev_record:
        delta = obj.diff_against(obj.prev_record)
        for change in delta.changes:
            return f'Changed Field: "{change.field}" | Old value: "{change.old}" | New value: "{change.new}"'

def changed_fields(self, obj):

    if obj.prev_record:
        delta = obj.diff_against(obj.prev_record)
        return f'The field(s) that were changed: "{delta.changed_fields}"'

        # for change in delta.changes:
        #     return f'The field that was changed: "{change.field}". The old value: "{change.old}". The new value "{change.new}"'
    return None

`

I wanted to say how useful django-simple-history module is, thank you all for working on it, and hopefully one day I can be at a level to contribute.

I think the problem is with my code. Once I find a solution I will paste it here in the comments.

Good thing, it was my code that was faulty. Here is the working version for anyone in the future who might encounter the same issue I did.
`
history_list_display = ['changed_fields', 'changed_values']
def changed_values(self,obj):
    messagelist = ""
    if obj.prev_record:
        delta = obj.diff_against(obj.prev_record)
        for change in delta.changes:
            messagelist += (f' | Field: {change.field} - Old Value: {change.old} - New Value: {change.new}')

    return messagelist`

This returns all the fields that were changed and their old and new values.

Great to head; close this issue out if your issue was resolved, otherwise let us know what's left.  Thanks.

Closing, now that the issue is resolved.


issue template: fastlane's --capture_output includes Fastfile and other config files, which have Slack webhook URLs and other private credentials in them

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When attaching fastlane output to an issue with --capture_output, I was surprised to find my full Fastfile in the output as well. I'm now changing a webhook URL and some S3 credentials as a result.
While I understand that it's really useful to have these in the issue, it's also an information disclosure problem: there are usernames for match in our Matchfile, webhooks in the Fastfile, and other bits of private information in these files.

Wooof, yeah that's a good call out. We should probably scrub web hook urls and credentials if they follow a really standard format.

@taquitos I want to see this issue kept open.

@cbowns Although this is a valid point (I also hate so scrub them from the output each time I post an issue...), do you have an idea how this could be realized?
A good first step would probably be to identify a list of sensitive bits.
Is the team id and login email address a sensitive information for example?

Yes, those always are.

Seems like a can of worms, as there is an unlimited numbers of things that could be considered sensitive... I'm all for removing output, but it's gonna be tricky to implement it the right way

Agreed.
How about changing/adding a mention of this in the issue template or in fastlane's debug-for-an-issue output? I'm fine with scrubbing things out, I was just surprised by what was in there.


fix: literal filters should accept quotes

According to OData documentation : "One of these rules is that single quotes within string literals are represented as two consecutive single quotes.".
http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part2-url-conventions.html

Thanks a lot and sorry for the delay!


Fix Eigen::Map to set the correct memory alignment

there are many places where we use Eigen::Map for wrapping SGVector and SGMatrix in the codebase. These Maps are currently not really constructed the best way, as both SGVector and SGMatrix memory chunk is 16 bytes aligned, but this is not specified to Eigen.
for example
Map<MatrixXd> eigen_cov(cov.matrix, cov.num_rows, cov.num_cols);

should be actually:
Map<MatrixXd, Eigen::Aligned16> eigen_cov(cov.matrix, cov.num_rows, cov.num_cols);

or better yet it'd be better to port all those Map definitions to use the
operator EigenMatrixXtMap()

(or vector) as in that case if we change the alignment, then it could be changed in one part of the code instead of keep changing it all over again.
see linalg codebase how one can use the EigenMatrixXtMap/EigenVectorXtMap

I approve :+1:

https://github.com/shogun-toolbox/shogun/commit/8fb6c23865f7edae90924e8efa6f3fba8add8b3a fixes the mapping definition for alignment

I would like to contribute to shogun. Is this issue still open or is there some work left?

if you had checked the above reference yourself, you would have seen that somebody is actively doing this atm


[d3d11] Mass Effect Legendary Edition - FPS massive drops.

Hi,
The game runs great with D3D11 or DXVK. The issue arise then you interact with the character and the conversation
starts (it could be seen in the provided screenshots below). On D3D11, during the conversation the game engine locks the fps to 60 and it brings it back to normal speed afterwards (vsync / unlocked). But with DXVK the FPS tanks to low 30-sh, or single digits and never returns to normal speed.
P.S. With wined3d (opengl) the game runs much slower (30-70 fps) without the issue described above.
Windows (D3D11)

Linux / Windows + DXVK (1.9 / master)

Software information
Mass Effect Legendary Edition
System information

GPU: nVidia GTX 960
Driver: Linux (455.50.14) / Windows (471.11.0)
Wine version: 6.3
DXVK version: 1.9 / master

Apitrace file(s)

Put a link here: https://drive.google.com/file/d/1EJl9PlDm_sPg_kQ_y2GvW6MmW9rooSNy/view?usp=sharing

Log files

d3d11.log: MassEffect1_d3d11.log
dxgi.log: MassEffect1_dxgi.log

I can't reproduce the problem. That dialog scene with Anderson at the beginning of ME1 still manages ~120fps on my 1070.

Sign, that's what I was afraid of. You GPU is ~2.5x faster then my 960, so it's steamrolling through issue, and my just trips on. Maybe it's Maxwell 2 issue, but I doubt it (press X to doubt).
I made a video with my phone (sorry OBS tanks fps too much), for better video quality you need to download video file.
Conversation with Presley:
https://drive.google.com/file/d/1Cx1EGaPrQY1kQhRGbXdpJ194xkPi-7fG/view?usp=sharing
Conversation with Anderson:
https://drive.google.com/file/d/1w-J203B2SiLAK4FJoNqehCf9-kw7O7iC/view?usp=sharing

You only have 2GB of VRAM so if there's something running in the background the game might be hitting the limit there and be forced to put something performance critical into slow system memory. DXVK does notoriously poorly in these conditions, especially so on Nvidia GPUs.
Try reducing texture quality and see if that helps.

You only have 2GB of VRAM so if there's something running in the background the game might be hitting the limit there and be forced to put something performance critical into slow system memory. DXVK does notoriously poorly in these conditions, especially so on Nvidia GPUs.
Try reducing texture quality and see if that helps.

I know all about DXVK memory management issue.

No, nothing was running in background at all. Everything is closed.
The game doesn't have texture quality option at all. Other setting doesn't help.
The game doesn't exceed 1.2-1.7 GiB VRAM on my end. But the FPS still tanks.

When you can see dude is playing with (GTX 650 Ti, 1GiB VRAM) and getting better experience then me. Kinda sad, but oh well. https://www.youtube.com/watch?v=pdPGlx9wSSI
So leave the ticket opened or close?

 ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   68C    P0    46W / 120W |   1998MiB /  2048MiB |    100%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A     12422      G   /usr/lib/Xorg                      33MiB |
|    0   N/A  N/A     12492      G   /usr/bin/kwin_wayland             217MiB |
|    0   N/A  N/A     12507      G   /usr/bin/Xwayland                   2MiB |
|    0   N/A  N/A     12550      G   /usr/bin/plasmashell              199MiB |
|    0   N/A  N/A     13009      G   ...e/Steam/ubuntu12_32/steam       35MiB |
|    0   N/A  N/A     13062      G   ...ef_log.txt --shared-files       70MiB |
|    0   N/A  N/A     16975    C+G   ...s (x86)\Origin\Origin.exe      334MiB |
|    0   N/A  N/A     17373    C+G   ...er\MassEffectLauncher.exe      415MiB |
|    0   N/A  N/A     17448    C+G                                     623MiB |
+-----------------------------------------------------------------------------+

My lord look at how much origin and the launcher gobbles up of vram. The last nameless one is the game i think.

If there are any problems here, it's probably the usual big memory footprint issue.

Gonna check on my AMD system which has 4GB vram the memory usage of the game in play vs dialogs, just for good measuere. Can also check on windows.
But yes the vram issue is known on linux i would think. Getting a light DE or a window manager that can easily be switched off might help. Dunno if less gpu acceleration in background apps could help.
Wonder how good good gamescope on the steam deck is at handling background memory while gaming. I guess it's seperate from the KDE desktop mode.

it's probably the usual big memory footprint issue.

DXVK doesn't really use more memory than Windows D3D11 drivers.

Windows has better memory management for GPUs which helps a lot. FWIW the minimum requirements also list 2GB GPUs, so I don't think it's a great experience on 1GB GPUs on Windows either.

DXVK doesn't really use more memory than Windows D3D11 drivers.

#1318 tells another story

so I don't think it's a great experience on 1GB GPUs on Windows either.

https://www.youtube.com/watch?v=i6hLllAq6K4


Need to split the acro switch into MC acro and FW stab

Currently the same switch is used for both modes. This is bad for VTOL if you fly in manual but switch fixed-wing stabilized on later. As soon as you transition back to multicopter you'll be in acro. Happened to me a few times already, it's challenging ;)

:dash: Sounds fun! We need to have an informed discussion about flight modes anyway.

This was confusing for me too so that's why we use the FW perm stab in the VTOL. If it is with one switch at least it should work in the same direction in both modes...

Release 1.5 will handle flight mode cleanup.

bugfix here: https://github.com/PX4/Firmware/pull/5288
Looks to me like the transition logic was screwed up in commander.

Fixed in #6567

@AndreasAntener could we now get rid of fw_permanent_stab or does it exist for a different reason?

Only works if you assign the manual switch now in the old style, because that makes stabilized the default (btw, which is also the default for us in MC to be consistent).


Document { cls: 'custom-css-class' } option for dv.el()

Per https://github.com/blacksmithgu/obsidian-dataview/issues/647#issuecomment-967767219, this option actually is available already (tested on the latest version as well), it just needs to be documented at https://blacksmithgu.github.io/obsidian-dataview/api/code-reference/#dvviewpath-input
Closing https://github.com/blacksmithgu/obsidian-dataview/issues/1121 in favor of this.

I've updated the documentation of dv.el; it will show up in the next stable release documentation.


@category doc over class props, causes constructor to be categorized as "Other"

What package is the bug related to?
typedoc-plugin-markdown
Describe the issue
This may not be a bug, per se, but the ergonomics of it feel a little off.
If the properties of a class have the @category tag, then the constructor is no longer given the heading "Constructors"; instead, it is under the heading "Other."
One possible workaround is to give the constructor the @category tag of @category Constructor, but it will cause the "Constructor" heading to alphabetically come after other categories (e.g. "Color"). So this isn't a fix.
See minimal example and run npm run docs, which also outputs the Typedoc json.
The animalWithoutCategories.ts outputs the constructor under the right heading, and animalWithCategories.ts outputs the constructor under the heading of "Other".
TypeDoc configuration
{
  "plugin": ["typedoc-plugin-markdown"],
  "out": "./docs",
  "entryPoints": ["src/index.ts"]
}

Expected behavior
I expect that the Constructor would retain it's own unique heading, and be at the top of the page under headings like "Implements", which is not affected by alphabetical ordering. I would expect this given the importance of a constructor in a class.

Thanks - will review and fix with next release.

Should be fixed in<EMAIL_ADDRESS>

It works, thanks!


Fix for issue 268 - yOffset is not restored correctly after pressing the "Back" button

The reason why the current implementation doesn't work is that there is a setTimeout in processICResponse which performs the actual content swap. This means that it is still the old page that is shown when window.scrollTo is called in handleHistoryNavigation. To fix this we wrap window.scrollTo in a setTimeout.

Oh, I just noticed that this is on top of master instead of development. We'll want to get it on development before merging.

Thanks again for your contributions! Your other pull request have all been merged. I know this one seems tiny, but I do want to wait until @chg20 has a chance to chime in before you put more work into it. Let's get aligned on the solution and then maybe start a new pull request (since it needs to be on development instead of master anyway).

Sure. No problem. I am glad to be able to contribute to such a great library.

Hi there @baumann74 I have merged this as a patch in development.  Thank you for the contribution!


Improved data merging with component template

Current behavior:
The component layout is traversed depth-first recursively to find ValueReference objects in each child element. If an element contains ValueReference objects, then the target field values are overridden for that object. Code reference
Expected behavior
Merging a data object and a layout occurs without the need to recursively traverse the layout model
How?

Collect refs when registering a component's layout and place it at the top level of the object (a single recursive traversal, rather than every time the model is created).
Save ValueReference and reference to parent. Use them to quickly access elements when merging.
Add the ability to pass a default value for ref
The template is currently not immutable. A collision may occur when a complete set of data was passed for the previous component, but not for the next one. In this case, we get an unexpected result in the widget display (data from the previous template update). Try to solve this problem without deep copying objects.

Affected packages:

[x] duit_kernel
[ ] flutter_duit
[ ] duit_go
[ ] duit_js

https://github.com/Duit-Foundation/duit_kernel/pull/14

https://github.com/Duit-Foundation/flutter_duit/pull/113

https://github.com/Duit-Foundation/duit_js/pull/47

https://github.com/Duit-Foundation/duit_go/pull/38


Extend the schema and type system to support caveats on relations

The schema language should give the schema developer the ability to mark certain relations as allowing caveats.

Done in https://github.com/authzed/spicedb/pull/896


Create a new pubsub message broker for improved go-legs functionality

New LegBroker type
The new LegBroker replaces both the LegMultiSubscriber and LegSubscriber.  It offers more scalability since there are no longer separate pubsub subscribers, and pairs of persistent goroutines, for each message source.  Instead, the new broker has only two persistent goroutines (for reading pubsub messages and for distributing events) and each handles messages in a goroutine that only lasts for the duration of handling the message.  The broker has improved logging and simplified event notification.  Decisions on whether to allow or reject messages for certain peers can now be decided by an external mechanism.
Old code not removed yet
Even though the broker is intended to replace the LegSubscriber and LegMultiSubscriber, those bodies of code and their associated tests have been left in the repo for the purpose of comparison.  This is for reviewers and testers to ensure that the broker is capable of supporting all the use cases supported by the code it replaces.
Do not merge this PR until the integration work is completed in storetheindex.

Codecov Report

Merging #45 (916247f) into main (0bd2239) will increase coverage by 4.18%.
The diff coverage is 80.06%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   61.81%   65.99%   +4.18%
==========================================
  Files          13       14       +1
  Lines        1071     1397     +326
==========================================
+ Hits          662      922     +260
- Misses        310      358      +48
- Partials       99      117      +18

Impacted Files
Coverage Δ

broker.go
80.06% <80.06%> (ø)

subscribe.go
81.19% <0.00%> (-1.71%)
:arrow_down:

message.go
88.00% <0.00%> (+6.00%)
: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 0bd2239...916247f. Read the comment docs.

Do not merge this PR until the integration work is completed in storetheindex.

Is it worth marking this as a draft PR?

It offers more scalability since...

Not that I doubt it since the change seems like it should make perf better, but did you run any tests, and what did the tests say?

Also make sure to update the readme to reflect the new flow

@MarcoPolo The next piece I need to add to this is to combine the http.Subscriber with the Broker so that the Broker can handle http syncs and the same event notification channel to send SyncFinished events when an http sync finishes.  Also, I do not want every http peer to have a separate persistent goroutine, but instead, the broker should dispatch the http sync request to the peer-specific handler to handle the sync.
I should have that done tomorrow, and that should conclude the legs development.  Then just need to replace the legs subscriber stuff in storetheindex with the broker.

Replaced by #57 to resolve complicated merge issues.


How to use getWith1ParamWithTimeout

Hey,
I  want to use a timeout for my http request like this:
HttpResponse with1Param = httpClient.getWith1ParamWithTimeout(
				"/services/transition-service/setTransition",
				"transitionString", JsonFactory.toJson(transition),2,TimeUnit.SECONDS);

System.out.println("GOT: "+with1Param.body());

My problem: when I'm disabling my service to test the timeout, the timeout doesn't work.
After 2 seconds my syso isn't called.
What is necassary to make my httpClient return false after 2 seconds?
Thanks in advance!

Looks like you are using it correctly.
Could be a bug.

Either I fixed this and forgot. Somewhat likely. Or it is not a bug, or I am not reproducing it well.
package io.advantageous.qbit.example.httpclient;

import io.advantageous.qbit.http.request.HttpTextResponse;
import io.advantageous.qbit.http.server.HttpServer;

import io.advantageous.qbit.http.client.HttpClient;

import java.util.concurrent.TimeUnit;

import static io.advantageous.qbit.http.server.HttpServerBuilder.httpServerBuilder;

import static io.advantageous.qbit.http.client.HttpClientBuilder.httpClientBuilder;

public class HttpClientExample {

    public static void main(final String... args) {

        final HttpServer httpServer = httpServerBuilder().build();
        httpServer.setHttpRequestConsumer(request -> {
            if (request.getParams().getFirst("myparam").equals("myvalue")) {
                request.getReceiver().respondOK("\"hello\"");
            }
        });

        httpServer.startServerAndWait(); //starts and wait until server is listening

        final HttpClient client = httpClientBuilder().buildAndStart();

        final HttpTextResponse with1ParamWithTimeout = client.getWith1ParamWithTimeout("/", "myparam", "myvalue", 1, TimeUnit.SECONDS);

        System.out.println(with1ParamWithTimeout.body());

        final HttpTextResponse with1ParamWithTimeout2 = client.getWith1ParamWithTimeout("/", "myparam", "sdf", 1, TimeUnit.SECONDS);

        System.out.println(with1ParamWithTimeout2.body());
    }

}

The above works
"hello"
Exception in thread "main" io.advantageous.qbit.http.client.HttpClientTimeoutException: Timeout start time Fri Dec 04 14:57:12 PST 2015 now Fri Dec 04 14:57:14 PST 2015
	at io.advantageous.qbit.http.client.HttpClient.sendRequestAndWait(HttpClient.java:417)
	at io.advantageous.qbit.http.client.HttpClient.getWith1ParamWithTimeout(HttpClient.java:468)
	at io.advantageous.qbit.example.httpclient.HttpClientExample.main(HttpClientExample.java:35)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

Process finished with exit code 130


fix(GridFormCheckbox): tight variant error spacing

Overview
Spacing was weird on 'tight' spacing Checkboxes in GridForm. This fixes that (per @songstephen)

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: gm-358
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

🚀 Styleguide deploy preview ready!https://613b6128082f9b02e6ab091b--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/eslint-config@5.4.0-alpha.024d4b.0@codecademy/gamut-icons@5.10.0-alpha.024d4b.0@codecademy/gamut-illustrations@0.18.0-alpha.024d4b.0@codecademy/gamut-kit@0.5.71-alpha.024d4b.0@codecademy/gamut-labs@19.26.0-alpha.024d4b.0@codecademy/gamut-patterns@0.6.0-alpha.024d4b.0@codecademy/gamut-styles@11.10.0-alpha.024d4b.0@codecademy/gamut-system@0.8.0-alpha.024d4b.0@codecademy/gamut-tests@2.6.0-alpha.024d4b.0@codecademy/gamut@37.3.0-alpha.024d4b.0@codecademy/konamimojisplosion@0.3.0-alpha.024d4b.0@codecademy/macros@2.2.0-alpha.024d4b.0@codecademy/markdown-overrides@0.6.0-alpha.024d4b.0@codecademy/monaco@0.4.0-alpha.024d4b.0@codecademy/styleguide@44.3.0-alpha.024d4b.0@codecademy/tracking@0.14.0-alpha.024d4b.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://613b64b9f94826ef63495461--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.5.72-alpha.77397e.0@codecademy/gamut-labs@19.26.1-alpha.77397e.0@codecademy/gamut@37.3.1-alpha.77397e.0@codecademy/monaco@0.4.1-alpha.77397e.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://613b68ae36dc13f1709b1617--gamut-preview.netlify.appDeploy Logs


[SPARK-22721] BytesToBytesMap peak memory usage not accurate after reset()

What changes were proposed in this pull request?
BytesToBytesMap doesn't update peak memory usage before shrinking back to initial capacity in reset(), so after a disk spill one never knows what was the size of hash table was before spilling.
How was this patch tested?
Checked manually.

cc @cloud-fan

Test build #84572 has started for PR 19915 at commit eeb0f31.

LGTM

Test build #84572 has finished for PR 19915 at commit eeb0f31.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84572/
Test PASSed.

Merged build finished. Test PASSed.

Merging to master. Thanks!


writing mistake

Sorry, these changes need to be made in the ESLint repo: https://github.com/eslint/eslint


Rename Card Titles

ITS-Pro time category: https://its-pro.ucsd.edu/browse/MA-97
This is complete when:

[x] The Staff Info card is renamed to "Staff COVID-19 Info"
[x] The Student Info card is renamed to "Student COVID-19 Info"

Verified on 7.2.6


(FLK-W505) Doc line too long

Description
Docstring line lengths are recommended to be no greater than 79 characters.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/mikeysan/retweet_anything/issue/FLK-W505/occurrences/

Hi. I have updated and made the PR. It has been accepted. The issue can be closed now : )


[ccd] Add emscripten support

Backport upstream patch: https://github.com/danfis/libccd/pull/70
Disable BUILD_TESTING, that has also the nice side effect of a faster build on all triplets.

What does your PR fix? This PR fixes compilation of the ccd port on custom triplets that use Emscripten.

Which triplets are supported/not supported? Have you updated the CI baseline? The CI baseline should not be affected.

Does your PR follow the maintainer guide? Yes.

Hi @traversaro
Thanks for your PR.
I noticed you also submitted a PR to upstream.
So it might be better to add this after the support is accepted by the upstream.

So it might be better to add this after the support is accepted by the upstream.

In this specific case, I am not sure if this is a good idea. The upstream maintainer of libccd is not active in  this days, and he is not merging even bug fix such as https://github.com/danfis/libccd/pull/56 . For this reason I am afraid that if  we wait for upstream, I am not sure if this PR will ever be merged.

@traversaro
Thanks for your instant reply.
We will need further review this support for ccd.


[hotfix][table] Fix a incorrect exception message.

Fix a incorrect exception message, stream -> batch

Thanks for the PR @kisimple
+1 to merge.
Best, Fabian

merging.


Calling close_write on io if necessary

I was hitting the same problem as @myers in #214. OpenSSL::SSLSocket does not have a close_write method, but the io that it holds might. This seems to fix the problem for me locally.

I don't that that will work.   The problem is that there is no "half closed" state supported by OpenSSL.  I tried something like this but attaching to a session would not work.

Merged in #251.  Thanks.


Adding KafkaChannel CRD from latest eventing-kafka

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Fixes #

Proposed Changes

installing CRD from nightly release

Release Note

Docs

/assign @aliok
/assign @devguyio

Next: automate this via bot (on it)

Next: automate this via bot (on it)

fyi, the is the place to update https://github.com/knative-sandbox/knobots/blob/678b78660823adbb257e2c60ed8c487602a999f6/.github/workflows/update-nightlies.yaml#L76-L84


Reworked the settings system to better support the plugin system

#331

[x] Docker ....
[x] Test Unit

#336


Fixes issue #41. ConnectivityManager is prone to timing issues. In th…

Fix fo #41

Hey @jscottnz - could you maybe merge the PR, then people (lolz, me :) could already use the fix via jitpack.io even without a new release :)

LGTM. @mduncan26 ?


Errorr Message: Negotiate Unknown, 503

Error Message:  Negotiate Unknown
Exception:  undefined
Error Data:  503
I get this error when trying to connect to WebSockets. Is this something on bittrex's end? If so is it a permanent thing?

Getting this too. They said they were attacked (https://twitter.com/ramikawach/status/906184766969356289), which prompted them to CloudFlare all their endpoints, including the signalr ones.

is there a workaround for this?

Spam the PUSH api i guess

@LRonHubs what do you mean with Spam the PUSH api??

I think he means using the Rest API for grabs.  I'd be careful of overuse,
as it may get your key banned though.
On Sep 8, 2017 2:17 PM, "algoscale1"<EMAIL_ADDRESS>wrote:

facing same issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/n0mad01/node.bittrex.api/issues/67#issuecomment-328177334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGJjzBEEg7dtX5HasLnB-CPOr5whi8G5ks5sgYSrgaJpZM4PRah8
.

@TimLaMason I was using the API more than one week and I never received any error, or banned ... meaby is it a temporal problem?? I created other key and the error is the same

Then endpoint is giving '503 - Service Temporarily Unavailable'. I presume they will reactivate it later, or else enable functionality for account auth headers. I have an alert set for if it reactivates normally. Keep us posted if anyone here's anything.

I mean using the rest api for frequent requests in place of the websocket,
if it is down.  Most api's will ban your key if you make requests more than
one every ten seconds or so (just an example).
I'm not sure exactly what bittrex's policy is.  I'm just saying for those
who are thinking of "Spaming the rest api" in place of the signalr hub, it
may not be a good idea.
On Sep 8, 2017 2:26 PM, "Miguel Angel Salinas Gancedo" <
<EMAIL_ADDRESS>wrote:

@TimLaMason https://github.com/timlamason I was using the API more than
one week andI never receive any error, or banned ... meaby is it a temporal
problem??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/n0mad01/node.bittrex.api/issues/67#issuecomment-328179526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGJjzJHAv3r1E8-kpBVCefLZNKfMkrLmks5sgYbNgaJpZM4PRah8
.

SignalR websocket hubs we're primarily designed for .net. if you code a c# hub client it outputs the error message, and you can also enable tracing to see the raw feed.

My client I have this code:
// listen to Bittrex WebSocket
    var websocketsclient = bittrex.websockets.listen( function( data ) {
        if (data.M === 'updateSummaryState') {
            data.A.forEach(function(data_for) {
                app.io.emit('bittrex-event', data_for.Deltas);
            });
        }
    });

    websocketsclient.serviceHandlers.connectFailed = function(error) {
        console.log("Websocket connectFailed: ", error);
    };

    websocketsclient.serviceHandlers.onerror = function(error) {
        console.log("Websocket error: ", error);
    };

    websocketsclient.serviceHandlers.connectionLost = function(error) {
        console.log("Connection Lost: ", error);
    };

But not receive any erro  detail only the:
Error Message:  Negotiate Unknown
Exception:  undefined
Error Data:  503
But where is the callback that receive this error??? how can I get this error in my code???

@junkomatic how do you code for receive the error: '503 - Service Temporarily Unavailable'
because i only reveive the error: Error Data:  503

503 is an http error that literally means "Service Temporarily Unavailable". There's not much more data than that.

SignalR websocket hubs we're primarily designed for .net. if you code a c#
hub client it outputs the error message, and you can also enable tracing to
see the raw feed.
On Sep 8, 2017 3:16 PM, "Miguel Angel Salinas Gancedo" <
<EMAIL_ADDRESS>wrote:

@junkomatic https://github.com/junkomatic how do you code for receive
the error: '503 - Service Temporarily Unavailable'
because i only reveive the error: Error Data: 503
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/n0mad01/node.bittrex.api/issues/67#issuecomment-328190944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWRK7NkCHsuCJKKL87P3i_JrD2mPHhYCks5sgZKdgaJpZM4PRah8
.

@masalinas You can go into the signalr-client node module and print the request out.
Exception: undefined
Error Data: 503```

Is just a catch all error.

What Bittrex is returning is the CloudFlare HTML page saying that they're verifying your connection. I believe the only thing we can do is wait.

i've created a pull request for the signalR lib to at least fix the pass of binding errors into the onerror serviceHandler.
https://github.com/mwwhited/signalr-client-nodejs/pull/20
the 503 issue i haven't looked more closely yet.

Hmm, why using this service https://www.websocket.org/echo.html WS bittrex is available?

As already mentioned, the websocket endpoint is currently protected by cloudflare's anti bot system. It is possible to bypass it, by executing a request to the negotiate endpoint (or any page on bittrex really) just as a regular browser would and letting cloudflare do its thing (how cloudflare's bot protection works is explained here: link) then grab the identity cookie and the clearance cookie and send those as the Cookie header together with the User-Agent header (which must be the same as in the request used to obtain the cookies) with the negotiate and websocket connect request. As an example, for python cloudflare-scrape does just that.

@AlxGDev how is that a solution? My bot has a lot of responsibility and this really worries me that I could just be taken offline for several hours...

Does anyone know if bittrex have commented on this?

Need a fix for this asap

There is also a .net fix:
https://github.com/elcattivo/CloudFlareUtilities
Similar to python's cfscrape. This may help.
On Sep 9, 2017 7:23 AM, "Swailem95"<EMAIL_ADDRESS>wrote:
Need a fix for this asap
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/n0mad01/node.bittrex.api/issues/67#issuecomment-328271117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGJjzLq13g2upPlxv4gFI7lKHczR13gGks5sgnUkgaJpZM4PRah8
.

@AlxGDev thanks for your suggestion! It also worked for me.
For anyone interested: the goal is to add your cookie and user-agent headers to the signalR websockets connection here: https://github.com/mwwhited/signalr-client-nodejs/blob/master/WhitedUS.SignalR/WhitedUS.signalR/signalR.js#L295
I copied the bittrex and signalr node modules intop my project and modified them a little to achieve this. But you could also edit the signalr-client file directly (not recommended, but the quickest way).

var connectws = function(callback) {
wsclient = new signalR.client(
opts.websockets_baseurl,
opts.websockets_hubs,
undefined, true
);
wsclient.headers['User-Agent'] = 'YOUR BROWSER UA';
wsclient.headers['cookie'] = 'cf_clearance=YOUR CF_CLEARENCE FROM BROWSER';
wsclient.start();
wsclient.serviceHandlers = {
bound: function() {
((opts.verbose) ? console.log('Websocket bound') : '');
},
connectFailed: function(error) {
((opts.verbose) ? console.log('Websocket connectFailed: ', error) : '');
},
disconnected: function() {
((opts.verbose) ? console.log('Websocket disconnected') : '');
},
onerror: function(error) {
((opts.verbose) ? console.log('Websocket onerror: ', error) : '');
},
bindingError: function(error) {
((opts.verbose) ? console.log('Websocket bindingError: ', error) : '');
},
connectionLost: function(error) {
((opts.verbose) ? console.log('Connection Lost: ', error) : '');
},
reconnecting: function(retry) {
((opts.verbose) ? console.log('Websocket Retrying: ', retry) : '');
// change to true to stop retrying
return false;
}
};
return wsclient;
};

@cyberwlf I did exactly that. But it's still not working for me...

@rickyhan double check everything. If Bittrex works in your browser and you copied user-agent and the cookie correctly it should work.

@rickyhan Hey, I just got it to work on my server. Make sure that the IP you used to get the cf_clearance is the same as the one making the subsequent requests.
I just got this to work on the server. I used this python library (https://libraries.io/github/Limero/cloudflare-scrape), to grab User-Agent and cf_clearance cookie, then did what @cyberwlf suggested (thanks!) and it worked.

@cyberwlf @ale316 Thanks, I'll try that on my IPv4 server. My home address uses IPv6

Did you make it work with python?
I got the correct cookie and the correct user agent header, but I got the following error from signalr-client:
error:  There was an error invoking Hub method 'corehub.SubscribeToExchangeDeltas'.
Thanks for your help

@0xecute If it throws that error, it is connected, so it seems to not be an issue with Cloudflare's protection. I guess make sure you're invoking the call correctly.

Can you paste your code?
I use:
with cfscrape.CloudflareScraper() as session:     session.get("https://bittrex.com")     connection = Connection("https://socket.bittrex.com/signalr", session)         chat = connection.register_hub('corehub')         connection.start()         chat.client.on('updateExchangeState', handler)         connection.error += print_error         #start connection, optionally can be connection.start()         chat.server.invoke('SubscribeToExchangeDeltas', pairs)         connection.wait(None)

Thanks, I found my mistake, nothing to do with cloudflare :)

@rickyhan Had the same issue, it was IPv6.  For anyone else, if you're running locally on a Mac you can enter into Terminal:
networksetup -setv6off Wi-Fi to Disable IPv6
and
networksetup -setv6automatic Wi-Fi to re-enable it later.
I disabled IPv6, refreshed Bittrex to get a new cf_clearance cookie and it works perfectly now.

You can use this NodeJS package to get the cf_clearance code:
https://github.com/codemanki/cloudscraper
create new js file: vi scraper.js
var cloudscraper = require('cloudscraper'); cloudscraper.get('https://bittrex.com/', function(error, response, body) {     if (error) {         console.log('Error occurred');     } else {         console.log(body, response);     } });
run it: node scraper.js
and it will throw your User Agent and cf_clearance code
then use cyberwlf's method

@armandohg  - Can you post the exact source code?  many thanks  - would be much appreciated

If you are using the Bittrex NodeJS package then you know how to install other packages, right?
Just create a new JS script with the code I pasted (var cloudscraper = require('clo....).
This script will throw a lot of info, including a User Agent and a cf_clearance code.
Use these two pieces and paste them in cyberwlf's code.
If you still need help, let me know.

In Chrome browser open Inspector -> Network, then refresh the page  https://bittrex.com/account/login and check request headers to login, now you can see your cf_clearance and user-agent.

Use this code to extract user agent and cf_clearance
cloudscraper.get('https://bittrex.com/', function(error, response, body) {
    if (err) {
        console.log(error);
    } else {
        var headers = response.socket._httpMessage._header;
        var regexp_user_agent = /User-Agent: (.*?)\r\n/;
        var regexp_cf_clearance = /(cf_clearance=.*?)\r\n/;

        var user_agent = headers.match(regexp_user_agent)[1];
        var cf_clearance = headers.match(regexp_cf_clearance)[1];

        console.log(user_agent, cf_clearance);
    }
});

@armandohg help me, i run node scraper.js throw Error occurred.
`

Thanks to @cyberwlf and @armandohg, combining your two fixes works great!

Not let's combine them! New connectws() code:
var connectws = function(callback) {
    wsclient = new signalR.client(
      opts.websockets_baseurl,
      opts.websockets_hubs,
      undefined, true
    );
    if (opts.headers) {
      wsclient.headers['User-Agent'] = opts.headers.user_agent;//'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36';
      wsclient.headers['cookie'] = opts.headers.cookie;//'cf_clearance=74d3856a92ab751ed5a199fdbb779770b777acb3-1504975086-10800';
    }
    wsclient.start();
    wsclient.serviceHandlers = {
      bound: function() {
        ((opts.verbose) ? console.log('Websocket bound') : '');
      },
      connectFailed: function(error) {
        ((opts.verbose) ? console.log('Websocket connectFailed: ', error) : '');
      },
      disconnected: function() {
        ((opts.verbose) ? console.log('Websocket disconnected') : '');
      },
      onerror: function(error) {
        ((opts.verbose) ? console.log('Websocket onerror: ', error) : '');
      },
      bindingError: function(error) {
        ((opts.verbose) ? console.log('Websocket bindingError: ', error) : '');
      },
      connectionLost: function(error) {
        ((opts.verbose) ? console.log('Connection Lost: ', error) : '');
      },
      reconnecting: function(retry) {
        ((opts.verbose) ? console.log('Websocket Retrying: ', retry) : '');
        // change to true to stop retrying
        return false;
      }
    };
    return wsclient;
  };

And your main code with cloudscraper:
const bittrex = require('node.bittrex.api');
const cloudscraper = require('cloudscraper');

cloudscraper.get('https://bittrex.com/', function (error, response, body) {
    if (error) {
        console.log('Cloudscraper error occurred');
    } else {
        bittrex.options({
            headers: {
                cookie: response.request.headers["cookie"],
                user_agent: response.request.headers["User-Agent"]
            }
        });
        console.log('CloudFlare nailed');
        start(); // Whatever
    }
});

Now let's combine them! Your connectws():
var connectws = function(callback) {
   wsclient = new signalR.client(
     opts.websockets_baseurl,
     opts.websockets_hubs,
     undefined, true
   );
   if (opts.headers) {
     wsclient.headers['User-Agent'] = opts.headers.user_agent;
     wsclient.headers['cookie'] = opts.headers.cookie;
   }
   wsclient.start();
   wsclient.serviceHandlers = {
     bound: function() {
       ((opts.verbose) ? console.log('Websocket bound') : '');
     },
     connectFailed: function(error) {
       ((opts.verbose) ? console.log('Websocket connectFailed: ', error) : '');
     },
     disconnected: function() {
       ((opts.verbose) ? console.log('Websocket disconnected') : '');
     },
     onerror: function(error) {
       ((opts.verbose) ? console.log('Websocket onerror: ', error) : '');
     },
     bindingError: function(error) {
       ((opts.verbose) ? console.log('Websocket bindingError: ', error) : '');
     },
     connectionLost: function(error) {
       ((opts.verbose) ? console.log('Connection Lost: ', error) : '');
     },
     reconnecting: function(retry) {
       ((opts.verbose) ? console.log('Websocket Retrying: ', retry) : '');
       // change to true to stop retrying
       return false;
     }
   };
   return wsclient;
 };

Your main code:
const bittrex = require('node.bittrex.api');
const cloudscraper = require('cloudscraper');

cloudscraper.get('https://bittrex.com/', function (error, response, body) {
    if (error) {
        console.log('Cloudscraper error occurred');
    } else {
        bittrex.options({
            headers: {
                cookie: response.request.headers["cookie"],
                user_agent: response.request.headers["User-Agent"]
            }
        });
        console.log('CloudFlare nailed');
        start(); // Your code here
    }
});

Can we expect an official update to the module soon though?

 Maybe someone's going to open a PR and fix it himself. That would be great.

Just need to update you code @cyberwlf, because response.request.headers["cookie"] replies with __cfduid AND cf_clearance.

@glaucoheitor It's a hot fix, not an official solution. BTW, what's the problem with __cfduid ? It seems working

I know it's a hotfix. I am trying to use this here too.
Here don't work with that code. but if I put the cf_clearence code directly to signalR it works

@glaucoheitor Works on my side. I don't see any reason why __cfduid could interrupt the process. You can update my solution btw :)

That what's weird, cause it works directly on the module file.
I was trying to update your solution, but I dont have that much knowledge. lol

@glaucoheitor double check that you copied the exact code.  Especially connectws() function. I use new "headers" option

Any body help,
i try the way @armandohg, it show error :
{ errorType: 0,   error:    { Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 3128 3128:80        at ClientRequest.onError (C:\Users\ThinkPad\Desktop\node-bittrex-api\node_modules\tunnel-agent\index.js:177:17)        at Object.onceWrapper (events.js:316:30)        at emitOne (events.js:115:13)        at ClientRequest.emit (events.js:210:7)        at Socket.socketErrorListener (_http_client.js:401:9)        at emitOne (events.js:115:13)        at Socket.emit (events.js:210:7)        at emitErrorNT (internal/streams/destroy.js:64:8)        at _combinedTickCallback (internal/process/next_tick.js:138:11)        at process._tickCallback (internal/process/next_tick.js:180:9) code: 'ECONNRESET' } }
how to fix problem? Thanks.

For those looking for an integrated fix for this issue I have committed it to https://github.com/dparlevliet/node.bittrex.api
Important note: this makes the websocket connection asynchronous so please see the updated documentation https://github.com/dparlevliet/node.bittrex.api#websockets
There is a unit test added which you can test with npm test tests/websocket.js to ensure it works for you.
If you have any further comments or suggestions please add them to here https://github.com/dparlevliet/node.bittrex.api/issues/1

Thank you @dparlevliet

Thank you @dparlevliet

Can anyone please tell me in .NET how to assign the headers from my HttpClient object (created with the cloudflare scrape utility ClearenceDelegate) into the signalR hubconnection object?

Nicely done cfscrape do the job. I don't know why we got this error the bittrex_socket is on and everything was working fine until yersterday. As well I was wondering if you know how to handle connection status to catch disconnection ? because I'm looping infinitly on connection.wait(0)

Nicely done cfscrape do the job. I don't know why we got this error the bittrex_socket is on and everything was working fine until yersterday. As well I was wondering if you know how to handle connection status to catch disconnection ? because I'm looping infinitly on connection.wait(0)
Thanks

I think its because Bittrex enabled Cloudflare today again :) so thats why I was working with cfscrape today

Is this still an issue?

I don't know if it's the same issue, but I'm still getting the same error:
Error Message:  Negotiate Unknown
Exception:  undefined
Error Data:  503
It attempts to force a reconnect a couple times, but it ends up connecting multiple times. How can I avoid getting this error? I checked and the cookie and user agent are both included in the header.
Also, it ends up throwing me really old Nounces after being connected for a couple days, so I'm forced to reconnect. How can I avoid this?


Affects only unit tests organization and test workflow.
Before submitting
Who can review?

It looks like actions are still failing despite things the workflow being reverted. Wondering if there are still issues with github actions despite: https://www.githubstatus.com/ the status claiming it's fine

Github was indeed having issues with actions. This revert is unnecessary.


Date object  has incorrect zone offset when not debugging

Description
I wish I could provide more information. But, the project is in debug mode for both scenarios below. I am using android emulator and all I am doing is starting and stopping debugging in the dev settings and I get 2 different results -- no code changes.
NOT debugging console output
Wed Feb 08 2017 19:15:01 GMT+0000 (GMT)
DEBUGGING console output
Wed Feb 08 2017 14:19:32 GMT-0500 (Eastern Standard Time)
this output is correct
Reproduction
console.log( "datetime", new Date() )

React Native version: .41
Platform: Android (Haven't tested with IOS)
Operating System: Windows

The reason you are seeing the discrepancy is because the Date implementation is different on the device (Apple's implementation) and when debugging in Chrome (Google's implementation). There's not much we can do about it without reimplementing Date.

so, you are saying I must find another approach to get the user's time zone offset? That seems like a basic functionality for the date object.

I'm saying use whatever technique you would use in iOS Safari, or write a native module if you prefer that option.

I see thank you.


[WebUI] blazor?

It is a limitation for .NET community that we do not have a workflow UI that everyone can use completely based on blazor instead of the more common javascript/typecript frameworks.
I will come back with more links how blazor could be used for Workflow UI

try this
https://bit.ly/4eugCty
I put the necessary dlls in the archive

https://github.com/elsa-workflows/elsa-studio/discussions/10#discussioncomment-9931553

Please share screenshot, the link to archive.

Thanks, I'm more familiar with typescript in frontend and I am still prototyping the UI, so in the current stage I prefer using typescript + react to construct the frontend UI.
If you plan to prototype some UI using blazor feel free to give a try. We provides the complete openapi scheme here for the backend api


Uncaught exception every other time I scroll a page (screen.getCursorScreenPoint)

I am getting very frequent modal alerts regarding the same uncaught exception:

I seem to be able to reproduce it on purpose by setting two fingers down close to each other, not quite simultaneously. It usually happens whenever I start scrolling, but not always. (UPDATE: actually it's seemingly like every other time I scroll, I get the error?)
Operation System: macOS 10.11.6
Beaker Version: "v0.7.7 is up-to-date"
Hardware: "Early 2015" MBP, builtin touchpad

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'getCursorScreenPoint' of null
at BrowserWindow.sendScrollTouchBegin (/Volumes/Beaker Browser 0.7.7/Beaker Browser.app/Contents/Resources/app/background-process.build.js:4007:34)
at emitOne (events.js:96:13)
at BrowserWindow.emit (events.js:191:7)

Thus the error seems to be emanating from https://github.com/beakerbrowser/beaker/blob/ce61aeb7b0a11d2ff104119139e348d6577b1adf/app/background-process/ui/windows.js#L237 — I see the one other use of screen in that file is guarded with a fallback and a note referencing #690.

Hmmm wtf is up with this...
Thanks for filing, will look into it

Yeah, the odd bit is the "every other" — is the module somehow getting loaded twice and only one gets the screen?On Oct 31, 2017 6:48 PM, Paul Frazee<EMAIL_ADDRESS>wrote:Hmmm wtf is up with this...
Thanks for filing, will look into it
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Committed a fix


[exiv2] Make add nls feature

Describe the pull request

optional support for nls

Thanks for your contribution!


Notification is NOT displayed on the Notification Bar when App is on the foreground - Android

Your effort and time to help are highly appreciated.
Scenario 1 (Problem):

application is on the screen
the notification icon does NOT appear at all on the "Notification Bar"
the event registerNotificationReceivedForeground is fired correctly
obviously, I cannot open the notification because there is nothing on the screen to click on.

Scenario 2 (OK):

application is on the screen
I click the Home button, so the application disappears from the screen
the notification icon does appear CORRECTLY on the "Notification Bar"
the event registerNotificationReceivedForeground is fired correctly (NOT registerNotificationReceivedBackground)
the event registerNotificationOpened is fired correctly

I tried adding some sections to AndroidManifest.xml as described in the following post. However, this did NOT seem to work. Your effort and time to help are highly appreciated.
https://stackoverflow.com/questions/61319384/react-native-android-detect-tap-on-a-notification
Version numbers for some of the libraries used:
"react-native": "0.63.2",
"react-native-notifications": "^3.3.0",

"@react-native-firebase/app": "^8.2.0",
"@react-native-firebase/auth": "^8.2.0",
"@react-native-firebase/firestore": "^7.4.3",
"@react-native-firebase/functions": "^7.2.2",

AndroidManifest.xml:
<manifest
	xmlns:android="http://schemas.android.com/apk/res/android"
  	package="com.casualjob">
	<uses-permission android:name="android.permission.INTERNET" />
	<uses-permission android:name="android.permission.READ_CONTACTS" />
	<uses-permission android:name="android.permission.READ_PROFILE" />

	<application
		android:name=".MainApplication"
		android:label="@string/app_name"
		android:icon="@mipmap/ic_launcher"
		android:roundIcon="@mipmap/ic_launcher_round"
		android:allowBackup="false"
		android:theme="@style/AppTheme">
		<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
		<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>

		<activity
		  	android:name=".MainActivity"
		  	android:label="@string/app_name"
		  	android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
		  	android:launchMode="singleTask"
		  	android:windowSoftInputMode="adjustResize">
		  	<intent-filter>
				<action android:name="android.intent.action.MAIN" />
				<category android:name="android.intent.category.LAUNCHER" />
		  	</intent-filter>

		  	<intent-filter>
				<action android:name="android.intent.action.VIEW" />
				<category android:name="android.intent.category.DEFAULT" />
				<category android:name="android.intent.category.BROWSABLE" />
				<data android:scheme="casualjob" />
		  	</intent-filter>
		</activity>
	</application>
</manifest>

Actually, I found the solution in another issue #525. Sorry, I could not understand the resolution, which was suggested in that issue, before creating this issue.


Address split/meld card issues

Fix #91
Fix #90
This fixes the split card issues with weird values in the "names" field. The issue with Meld card is also somewhat addressed here, given the following structure:
Card A
Combined Card
Card B

This format seems to hold consistent with all EMN meld cards that I looked at. You can view the compiled file at EMN.json.txt
Two other files I was testing with: AKH.json.txt and C18.json.txt

cc: @KingSupernova31

The old format in v3 on meld cards was
Card A
Card B
Combined Card
and I think that's the one that people would intuitively expect. However as long as it's consistent, it doesn't really matter.

@KingSupernova31 The system from scryfall returns it in the way i described above, so we will make a documentation notice about the change in format (Since v3->v4 isn't necessarily compatible)


View [layouts.main] not found.

I tried to take from the root view but an error appeared with 'View [layouts.main] not found.'

It is probably a cache issue. But create a public repository recreating the but so we can try to help.

It is probably a cache issue. But create a public repository recreating the but so we can try to help.

checkout my new repo name laravel-module

Layouts folders must be inside "views".
Do:
mv resources/layouts resources/views/layouts

After that you can use this in your login.blade.php for example like @extends('layouts.main')

oh i see. thank u sir, it works


APP-1287 / APP-1288 / APP-1299

APP-1287 - Polish front end of "comment on JIRA issue"
APP-1288 - Polish front end of "assign JIRA issue"
APP-1299 - [Dialogs] - Implements inline errors and success messages

Codecov Report

Merging #88 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev      #88   +/-   ##
=======================================
  Coverage   89.04%   89.04%
=======================================
  Files          41       41
  Lines        1123     1123
  Branches      131      131
=======================================
  Hits         1000     1000
  Misses         84       84
  Partials       39       39

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 d52b1fc...f7b1bad. Read the comment docs.


[tools revamp] Add some P0 features

allow specifying denom in the url for map and scatter variables
allow specifiying date in the url for map
add the get BQ SQL Query button for map
add zoom functionality for map

thanks for the review!


Cannot read files?

Traceback (most recent call last):
File "C:\Users*****\PycharmProjects\MCNP\pythonProject\MCNP_TallyPlotter-0.8.2\modules\read_mod.py", line 242, in read_tally
flux.append(float(line[1]))
^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'to'
Tried both exe and python, in both case it was not seeing the MCNP 6.3 output files in the working directory.  Above is the error seen in py.

Hi Chris,
can you send me your output file? If you don't want share input part you can delete that from the beginning of output file. I just need more details. From the error is obvious there is incorrectly determined beginning of tally values.
Dusan

Sorry for not getting back to you sooner,
I believe the problem lies with using e0 where it tabulates energy bins for
me in table 30
I.E.
1tally 5
+.             Photon Tally at 0.5 ft
tally type 5 particle flux at a point detector.
particle(s): photons
point detector specification
detector          x       y    z   r0
1.            1.52400E+01. ......
energy bins
1.00000E-03 to 1.0000E-6 MeV
1.00000E-06 to 1.08613E-6 MeV
And so on.
Chris Fitzgerald
On Sat, Sep 21, 2024, 1:29 PM Dusan Kral @.***> wrote:

Hi Chris,
can you send me your output file? If you don't want share input part you
can delete that from the beginning of output file. I just need more
details. From the error is obvious there is incorrectly determined
beginning of tally values.
Dusan
—
Reply to this email directly, view it on GitHub
https://github.com/dusankr/MCNP_TallyPlotter/issues/2#issuecomment-2365311164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASUNQLBIF6UZJFRQ6NYWLKDZXXJKFAVCNFSM6AAAAABOMFX3POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGMYTCMJWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add reference GBAOAB implementation

I've created a reference implementation of GBAOAB integration method, which took about 20 minutes in total. I've added tests to ensure correctness, and for now this should offer a stable API.
Once we're done with the grant and paper we can revisit the openmmtools repository integrators but as of yet, they're too unstable to be a dependency for this project. I can't afford to relearn the API every day and then update the protons code to support it again.
This change addresses the need by:

Adding a ReferenceGBAOABIntegrator to protons.integrators.
Adding tests for this integrator in protons/tests/test_integrators.py
Updating the tests and code in other locations to support this integrator.

The openmmtools integrator codebase seems to be undergoing several API changes every other day.  This is fine, and to be expected for a research project, but it makes it hard to sustain as a dependency. I can't afford to spend time changing my code every time a dependency makes a minor incremental change, whilst overhauling its entire API. With the way development has been going, every time the openmmtools code changes its API, protons needs to change its implementation.
It becomes harder and harder to do so because apparently, the ExternalPerturbationLangevinIntegrator now has an init function that takes only  *args, **kwargs with no documentation. I don't know how to use this, and since we need to focus on getting simulation data out, we can't at this point in time afford to spend much effort refactoring to enable features of integrators not necessary for our June 5th deadline.

Codecov Report

Merging #80 into master will increase coverage by 1.41%.
The diff coverage is 98.43%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage    62.4%   63.82%   +1.41%
==========================================
  Files          18       19       +1
  Lines        2615     2723     +108
==========================================
+ Hits         1632     1738     +106
- Misses        983      985       +2

Impacted Files
Coverage Δ

protons/tests/test_implicit.py
98.87% <ø> (-0.01%)
:arrow_down:

protons/tests/utilities.py
29.07% <100%> (-0.5%)
:arrow_down:

protons/calibration.py
88.83% <100%> (ø)
:arrow_up:

protons/tests/test_integrators.py
100% <100%> (ø)

protons/driver.py
86.8% <100%> (ø)
:arrow_up:

protons/integrators.py
98.26% <96.07%> (-1.74%)
:arrow_down:

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 da6fc13...4674b4e. Read the comment docs.


Honoring overwite: false by using Skip All command line. Issue #3

overwrite: false currently causes the console window to ask for user input. This is not helpful during a Chef run.
This will tell 7Zip to use the Skip All command line option to only extract the new / missing files.

I've never turned off overwrite, should probably add a test for that in the future. Thanks for the PR, :shipit:


is_truncated should respect laststatus config

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.statusline
Description
When set laststatus to 3, the statusline is global, not per window, so whether truncate should respect this config, when set to 3, prefer use vim.opt.columns than winwidth.

Yes, you're right. I'll look into the most efficient way of doing this.

I rewrite it in my local machine as belows:
local origin = MiniStatusline.is_truncated
---@diagnostic disable-next-line: duplicate-set-field
function MiniStatusline.is_truncated(trunc_width)
  if vim.o.laststatus == 3 then return vim.o.columns < (trunc_width or -1) end
  return origin(trunc_width)
end

Of course, updating is_truncated() is a most straightforward solution. But it implies that checking for laststatus = 3 is done for every section which is suboptimal. Not sure if squeezing this optimization would be worth it, but I'll look into it.
This is a more streamlined version:
MiniStatusline.is_truncated = function(trunc_width)
  -- Use -1 to default to 'not truncated'
  local cur_width = vim.o.laststatus == 3 and vim.o.columns or vim.api.nvim_win_get_width(0)
  return cur_width < (trunc_width or -1)
end

I'll look into it soon.

Should be fixed now in main.
In the end, it didn't seem worth the complications, so I used the one from previous comment.