HITBTC market buy order issue

So i'm using the bitfinex object and it's working just fine. Both market buy's and sell's but when i try it with hitbtc i get an error 'orderExceedsLimit'. I'm trying to purchase ethereum with bitcoin, so when i fill in the amount 0.012, in the error it shows 'quantity: 12'. I just wanted to know if the problem was from my side. or possibly a bug in hitbtc's object methods.
Hope to hear from you soon,
br g666nz

Hi!
For us to be able able to help:

Can you show some code?
What's your language?
Which versions ... ?
Can you show verbose output?
Blablabla + other boring questions ))

Using node.js
{ orderId: 'N/A',
latestOrderId: 'N/A',
clientOrderId: '1504120582',
orderStatus: 'rejected',
userId: 'user_432432',
symbol: 'ETHBTC',
side: 'buy',
quantity: 12,
type: 'market',
timeInForce: 'FOK',
lastQuantity: 0,
lastPrice: '',
leavesQuantity: 0,
cumQuantity: 0,
averagePrice: '0',
created:<PHONE_NUMBER>517,
execReportType: 'rejected',
orderRejectReason: 'orderExceedsLimit' } } 'N/A' undefined undefined

var amount = 0.012
hitbtc.createMarketBuyOrder(cuPa, amount).then (ob => {
console.log(ob, ob.info, ob.id, ob.info.price, ob.info.exchange);
self.json({status:ob});
});

var cupa = "ETH/BTC"

From the above screenshot you can see, that they demand quantity in lots. So the ccxt library converts your amount (order quantity) to lot units. For ETH/BTC HitBTC has lot size of 0.001. So, 0.0012 / 0.001 = 12. The library calculates the quantity correctly. Now, the problem is that HitBTC still rejects the order. Can you try a slightly greater amount to see if it may be a floating point issue on their side? I mean an amount of, say, 0.0013 or 0.0015?

Nope, forget about the quantity. It is large enough for it to be a precision issue.
Looking at your order, I can see it's FOK (Fill-Or-Kill), whereas HitBTC's default is GTC (Good-Til-Canceled). In your code I don't see you setting the execution type, so it may be a different piece of code. Can you try the default order execution type?

Ok, latest findings show that HitBTC returns "orderExceedsLimit" when you don't have sufficient funds. Can you check your balance?

Hi thanks for the quick response(s). Just checked have sufficient funds in hitbtc trading account.

what is the default order execution. Without the callback??

HitBTC's default is GTC (Good-Til-Canceled).

Can you try it this way?
hitbtc.createMarketBuyOrder(cuPa, amount, { 'timeInForce': 'IOC' }).then (ob => {
    console.log(ob, ob.info, ob.id, ob.info.price, ob.info.exchange);
    self.json({status:ob});
});

This will try to execute the order with IOC type (Immediate Or Cancel instead of FOK type).
Don't really see a reason for rejecting the order. Waiting for your report.

You can also try this:
hitbtc.createMarketBuyOrder(cuPa, amount, { 'timeInForce': 'GTC' }).then (ob => {
    console.log(ob, ob.info, ob.id, ob.info.price, ob.info.exchange);
    self.json({status:ob});
});

One of the above two snippets should work. Standing by to hear from you.

ioc failed. Trying GTC :(
order type 'buy'
our input = 0.012 ETH/BTC
{ info:
{ ExecutionReport:
{ orderId: 'N/A',
latestOrderId: 'N/A',
clientOrderId: '1504123179',
orderStatus: 'rejected',
userId: 'user_432432',
symbol: 'ETHBTC',
side: 'buy',
quantity: 12,
type: 'market',
timeInForce: 'IOC',
lastQuantity: 0,
lastPrice: '',
leavesQuantity: 0,
cumQuantity: 0,
averagePrice: '0',
created:<PHONE_NUMBER>154,
execReportType: 'rejected',
orderRejectReason: 'orderExceedsLimit' } },

Maybe you used a wrong keypair / keys for a different account? Because it really replies with orderExceedsLimit only when you don't have enough funds. Maybe you used a testing keypair?

Really sorry for wasting your time. It was the wrong key pairs. So embarrassed. Thank you though, you helped with the TIME of FORCE suggestion

Thx for reporting anyway! This can still be helpful to others as well.


environment.yml

where is environment.yml？Please？

Thanks for spotting it! Added to the repo now.


Result.ok() method

Simple shortcut to check if an object is an Err or Ok.
I was missing it since I am using koda with python 3.9 and there's no structural pattern matching so i had to call isinstance every time

@keithasaurus yep, I agree. However, using TypeGuard requires python >=3.10 . Any ideas for a workaround?

No, not a lot of great ideas there. The irony of type guards being only available in 3.10+ is that IMO structural pattern matching is usually going to be nicer that using an is_ok type guard anyway.
I don't personally think there's much value in is_ok without being a type guard, because usually when you're checking if something is Ok or Err, you want to do something with the contained value and you can't do that in a type-safe way without also checking the instance type.
On another note, the thing I do like about isinstance and match are that it's clear the Ok/Err type is being inspected/established, whereas I'm not sure if that would be as clear with is_ok. So I don't feel like the current API is a big problem.

@keithasaurus ok then.


Github: Parity Node: Could not find balance for token decrease

Story details: https://app.clubhouse.io/augur/story/15116

"If no logs were included in this batch, grab the first, middle, and last block number and fetch those details. If we don't receive any block details, but also don't receive an error, inform the user they likely have a partially-sync'd warp node

@epheph I'm getting an error when building:
Error:(1, 17) TS2305: Module '"augur-node/node_modules/augur.js/index"' has no exported member 'BlockRange'.

Ok we'll need to add that type import I think

This will never pass w/o an augur.js release.

Was merged in as part of #660


tls: fix duplicated ':TLS_error_end' suffix in socket failure reason

Commit Message: tls: fix duplicated ':TLS_error_end' suffix in socket failure reason
This fix also prevents duplicated debug logs, since they are always generated after the end suffix is appended to the failure reason.
Additional Description:
Follow-up to https://github.com/envoyproxy/envoy/pull/34741
Risk Level: low (no guarantees are made about the format of this message); searching the string :TLS_error_end:TLS_error_end in github returns no results other than the test code in the PR linked above
Testing: updated existing tests that checked this string
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @botengyao
Could you take a first pass on this? as you worked on this before.

/retest


[WIP] Refactor using forecastio library

This is a major work-in-progress. @edhurtig & others, thoughts/assistance are very welcome here

Use a library, instead of making raw HTTP calls to the Forecast.io API
Abstract out code to be more OO, less callback hell
Add tests

@jeffbyrnes much cleaner! much like!
Was a big fan of the alerting code that pinged when there was bad weather in the next x minutes.  Assuming that's in the works seeing as you kept the activeDays stuff, right?

@EdHurtig yep, that’s really the whole point of this package, in fact. If we just wanted on-demand weather alerts, we could just stick with hubot-darksky & be done with it.

At this point, this isn’t being actively maintained, so I don’t foresee this happening. Closing it out.

💯


New slugs should start off with a suggested slug

all lower case, no punctuation, dashes for spaces.
Remove stop words.

As in, when you hit the 'add slug' button, the prompt should start out with a default pre-filled


feat(Visibility): add direction for calculations

Cut from #2088.
What?
SUI has direction value in calculations, this PR adds it into the component. I don't added static value because I don't know when it really can be.

Codecov Report

Merging #2090 into master will decrease coverage by 3.26%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #2090      +/-   ##
=========================================
- Coverage   99.76%   96.5%   -3.27%
=========================================
  Files         149     149
  Lines        2601    2604       +3
=========================================
- Hits         2595    2513      -82
- Misses          6      91      +85

Impacted Files
Coverage Δ

src/behaviors/Visibility/Visibility.js
100% <100%> (ø)
:arrow_up:

src/modules/Transition/TransitionGroup.js
36.84% <0%> (-63.16%)
:arrow_down:

src/modules/Transition/Transition.js
46.57% <0%> (-53.43%)
:arrow_down:

src/modules/Sticky/Sticky.js
76.31% <0%> (-23.69%)
:arrow_down:

src/views/Card/Card.js
80% <0%> (-20%)
:arrow_down:

src/modules/Tab/Tab.js
89.47% <0%> (-10.53%)
: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 65ce852...0adab10. Read the comment docs.

Released in<EMAIL_ADDRESS>


[compute_ctl] Stop updating roles on each compute start

I noticed that compute_ctl updates roles on each start, search for rows like

web_access:[FILTERED] -> update

in the compute startup log.
It happens since we had an adhoc hack for md5 hashes comparison, which doesn't work with scram hashes stored in the pg_authid. It doesn't really hurt, as nothing changes, but we just run >= 2 extra queries on each start, so fix it.

Requirement for resolving all conversation sounds as a bit of an overkill to me. There is 'Request changes' for critical reviews, imo. So I hope that @hlinnaka doesn't have any objections that I've resolved this one and going to merge :)


Feature/prepare for vagrant

These small changes are all changes needed in the current KubeNow codebase for Local Vagrant version of KubeNow, if these are included in master we don't have to switch KubeNow subrepo version when doing a one-click deployment from phnmnl/cloud-deploy-kubenow repo

Great!

  On 2017-02-23 23:18, Marco Capuccini wrote:

  Merged #95.
  —
    You are receiving this because you authored the thread.
    Reply to this email directly, view
      it on GitHub, or mute
      the thread.

  {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kubenow/KubeNow","title":"kubenow/KubeNow","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kubenow/KubeNow"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Merged #95."}],"action":{"name":"View Pull Request","url":"https://github.com/kubenow/KubeNow/pull/95#event-975195090"}}}


rustypaste: 0.10.0 -> 0.10.1

Diff: https://github.com/orhun/rustypaste/compare/v0.10.0...v0.10.1
Changelog: https://github.com/orhun/rustypaste/blob/v0.10.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236164 run on x86_64-linux 1

1 package built:

rustypaste


Crude support for Animations

My implementation is kinda jank (and potentially a maintainability nightmare), but it works!

I would like to note that initially CAnimation acted as a modifier for CSprite, but @austin0209 suggested to to completely decouple the two components.
I don't really have enough experience with using an ECS, so I do not know who is right, but I ultimately decided to just decouple the two components so we could just merge this thing!


Prevent mocking fake response across different chrome tabs

Since the redux store get persisted in background page, the requests that are to be intercepted are stored across multiple tabs. On clicking the Intercept button, the requests that were intercepted before in a different tab also get intercepted and instead of returning a real server response, it return a mock response.

Closing this as this got fixed in #49. Refer https://github.com/code-mancers/interceptor/pull/49/commits/5b14e93e243ffecf310b306fc0bededdf142ea5b


ptrs: fix ownerships, use smart pointers and vectors

Works great on Mac. Needs testing on Linux.

Works great on Linux. We don't properly clean up after GLFW but that will be another PR.


Change from raster to terra package

L33 changed to terra (https://github.com/rspatial/terra) since it replaces raster package
L139 changed to rast() from raster() using terra function

Thanks!


EPTMetadata produces too many reads for large catalogs

During DEMRasterSource initialization we end up in EPTMetadata.pointsIntLevel
https://github.com/geotrellis/geotrellis-pointcloud/blob/71953977dd75357dbab3ca6a89cf3bea1d20111a/pointcloud/src/main/scala/geotrellis/pointcloud/raster/ept/EPTMetadata.scala#L43-L54
This appears to want to read metadata for every tile which is not practical for large catlogs
Example:
scala> import geotrellis.pointcloud.raster.ept._
import geotrellis.pointcloud.raster.ept._

scala> EPTMetadata("s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/").extent

Once instrumented stalls out:
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 0-0-0-0
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-187-13-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-117-92-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-194-196-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-164-154-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-157-145-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-160-162-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-189-65-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-205-226-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-176-207-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-105-163-128
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-136-103-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-65-110-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-142-253-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-168-206-127
Reading: s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/ -- 8-130-177-127
...

the core issue is to have reasonable start-up for large catalogs from 3DEP program. I'm not sure if we need to sample the metadata or perhaps there are some aggregate metadata available in EPT structure.

We can simplify it: we don't need to parse all the files for now.
There are two possible options:

read and parse ept.json file ourselves
add a stats filter into the pipeline and read metadata via PDAL and parse its metadata.

Option 1: we already do this.
Option 2, not so much:
$ pdal info --stats --driver readers.ept s3://usgs-lidar-public/USGS_LPC_NY_Cl_Ess_LChamp_P2_2014_LAS_2016/
(pdal info readers.ept Warning)<PHONE_NUMBER>8 will be downloaded

The operation did not return in sufficient time.  (Nor do I think it does what we want.)
Note that we're hanging up trying to determine the depth of the hierarchy so that we can calculate the resolutions.  This requires reading into the ept-hierarchy files.  In the case of the specific test file, there are 37k+ tree nodes, 30k+ of which require reading an additional file.  There's no way to know by quick inspection how deep the tree goes, since one of these subordinate hierarchy files can go arbitrarily deep.  It's also not part of the ept.json.
Without a faster method of discovering the tree depth, we're either stuck with the complete read method (BAD; in this case requiring 30k+ reads to get the depth), or we'll have to guess about the depth of the tree.  We might also attempt to sample some of these files, but we may miss the true depth of the tree in this fashion.


Modify ResolutionStorer/ResolutionApplier to make use of label info from front end

The CFE integration work is suspended, so this will not be addressed.


Shopify OAuth provider - OWIN integration / implementation

This one was a bit different as in, the OAuth URLs where not fixed. The base URL sub-domain (shop-name) keeps changing based on the choice of user wants to authorize against the desired shop.
Updated the demo sample a little without disturbing other OAuth usage, to demonstrate the usage.
Hope it meets the expectation for the PR to be accepted and get released via NuGet !!

ping @jerriep :grimacing:

Jip, sorry. Was going to look at it on Friday, but then some other things came up. Will try and fit it in today...

@jsinh Can you please rather add the ShopName as a property to the ShopifyAuthenticationOptions class and pass it along as a parameter to UseShopifyAuthentication().
Since it is a required parameter, please ensure to do null checking and throw a ArgumentNullException if it was not passed in...
Requiring the user to add it to the ChallengeResult is not obvious, and also not the right place to add it IMHO. Once you have done that please remove all the code you added to change the ChallengeResult from the demo project.

@jerriep cannot set it in ShopifyAuthenticationOptions and pass it as parameter to UseShopifyAuthentication().
These things are set at the start of the application and / or only once to initiate this OAuth provider and put in the pipeline to be used.
The ShopName keep changing for each user who is trying to get authorized or create account using Shopify as option. In shopify they do not have a common domain OAuth URL(s). They have provided OAuth isolated API for each shop that users or shop owners can create so the ShopName keeps changing every time any new shop owner wants to Authorize and Authenticate against Shopify Shop they wish to do it against.
One clear real world usage and the one that I am interested in is: Shopify APP Store. Apps listed there use these OAuth to Authorized Shop Owner's and Shop and install their APP in the Shop based on it to access Shop's resources and provide services.
Hope it makes sense.
Also removed the nameof, sorry about that.
Jsinh

Oh wow, that is not good.....
Well look, either way you will need to please write a blog post which we can link to in order to tell people how to use this, as it is not obvious. Would you be able to do that please?
I am just going to sleep on this one for a day or so and think if there is not another way to do this. But I do understand your dilemma...

Regarding the blog post - it may actually be better if you could write a guide for http://www.oauthforaspnet.com/ as that is the central place where all the other guides are located...
Whichever way you feel most comfortable with

Fair enough, I understand this one is a bit weird and odd. It took me more than a sleep to get my head clear and found this to be the best approach IMO.
Regarding the blog post. I can do both on my blog and at oauthforaspnet. The only problem is I do not have my Jekyll working well yet so may take sometime to figure out what is so wrong with it. Once that is fixed I will do the oauthforaspnet.
Have a nice sleep, I will try to get that sorted before you wake up.

Yeah Jekyll can be tricky. I found Portable Jekyll the easiest to use:
https://github.com/madhur/PortableJekyll
Simply download the latest release and extract to a folder on your harddrive. Then whenever you want to use it, execute setpath.cmd to set the correct paths and after that you should be able to run the Jekyll commands.

PortableJekyll bookmarked :smile: thanks!
Submitted PR for post on How to use Shopify OAuth Provider.


[Update banner CSS for smaller screens]

Add @media to fit different screens.

Sure including the screenshot as the records will be better
The extreme case(200px)

The case for existing smallest screens(300px)

Laptop

@Alleria1809 looks good to me, feel free to merge it


Build error due to only a portion of git dependency being fetched

I am trying to build an app that depends on a custom git dependency that holds the datatypes to be used for communication by this app and others in the system. The datatypes dependency has bindings for several different languages and so has the following layout:
datatypes.git
   | - rust/
   |   | - Cargo.toml
   |   | - src/
   |   |   | - {modules for creating datatypes in rust}
   |   | - build.rs
   | - schemas/
   |   | - my_datatype.capnp
   | - {other language bindings}

In this repo, build.rs contains references to ../schemas/my_datatype.capnp to help build the language bindings for this datatype. The folders must be laid out like this so that each language binding has access the the same schema files.
In my app that I am writing, I add datatypes as a git dependency datatypes = { git = "ssh://git@github.com:22/.../datatypes.git" }. When I build in a shell with a standard cargo build, everything works fine but when I build it with the quick-start-simple template, I get an error that ../schemas/my_datatype.capnp doesn't exist in working directory /nix/store/{hash}-cargo-git/datatypes-0.1.0. Looking into this directory, I can see that it has only copied files from the rust subfolder of datatypes.git, not the whole repository like cargo build does.
Solution
The solution to this problem is when copying src files from git dependencies into the nix store, the entire git repository should be copied and the build should be run from the subdirectory containing Cargo.toml instead of only copying the files from this subdirectory.
I can provide more concrete code examples of anything needed on request

Hi @ipetkov, thanks for such a helpful reply.
My current setup does not work with cargo vendor exactly as you predicted. Also, putting a symlink in datatypes.git/rust/schemas -> ../schemas allows cargo vendor to deep copy all the schemas into its dependencies and fixes the issue as you suggested it would.
However, when trying this new setup with crane and nix build I get a similar error to before since the schemas symlink in the nix store is not deep copied but just points to ../schemas which obviously doesn't exist. It appears that there is a slight discrepancy with cargo vendor in that symlinks are not being copied in.
Please let me know if there is anything else I can try out to help.

Please let me know if there is anything else I can try out to help.

This info has been super useful, thanks! Should have a fix for this in #367 :smile:

Thanks for getting this all sorted so quickly, I'm glad I could help. Its a great project and as a new nix user, I really appreciate all the effort you've gone through with the documentation.


Can the Resampler internally buffer samples?

Is it possible to pass single samples to CDSPResampler24->process and accumulate output samples on the user-code end? Will that resample properly?

Yes, you can pass 1-sample input buffers to the algorithm. Except this is very inefficient.


[Feature-WIP](inverted index) add chinese analyzer for inverted index reader

Proposed changes
add chinese analyzer for inverted index reader
dependency pr: https://github.com/apache/doris/pull/14211 https://github.com/apache/doris/pull/15807 https://github.com/apache/doris/pull/15823
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.1 seconds
load time: 505 seconds
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230117070049_clickbench_pr_81887.html


New Hrlowe 3.2.0

Twine offers now a new Harlowe: 3.2.0. Currently, Tweego supports only the 3.1.0. Is there any plans to support Harlowe 3.2.0?

Unless something has changed to make it unable to be loaded, Tweego already supports Harlowe v3.2.0.  Thus, you can download it and add it to your story formats now.  If you need help with that, I'd suggest asking in the Twine Games Discord server's compilers channel (I suppose the harlowe channel might work too).
What I believe you mean to ask is will it be included in Tweego's distributions.  The answer to that is whenever a new Tweego release is made the most recent version of the included story formats are generally included.

Unless something has changed to make it unable to be loaded, Tweego already supports Harlowe v3.2.0.  Thus, you can download it and add it to your story formats now.  If you need help with that, I'd suggest asking in the Twine Games Discord server's compilers channel (I suppose the harlowe channel might work too).
What I believe you mean to ask is will it be included in Tweego's distributions.  The answer to that is whenever a new Tweego release is made the most recent version of the included story formats are generally included.

Thank you!
I'll try to find out how to include the v3.2.0 in my distribution (I am not fond of Discord...)

Thank you!
I'll try to find out how to include the v3.2.0 in my distribution (I am not fond of Discord...)

In fact it is pretty straight forward. The new Harlow format is described here: https://github.com/klembot/twinejs/tree/2.3-maintenance/story-formats/harlowe-3.2.0. So one just have to download the directory, and unzip it into the storyformat directory of the tweego distribution.
Then it works, and you can decompile without setting the -f parameter (Harlowe 3.2.0 is automagically recognized).

In fact it is pretty straight forward. The new Harlow format is described here: https://github.com/klembot/twinejs/tree/2.3-maintenance/story-formats/harlowe-3.2.0. So one just have to download the directory, and unzip it into the storyformat directory of the tweego distribution.
Then it works, and you can decompile without setting the -f parameter (Harlowe 3.2.0 is automagically recognized).


Can you add a climate device?

Can you add a climate equipment? It has refrigeration, heating, blowing, and other modes. Buttons can switch devices.

My device mode is different from the switch. I can't control the switch status of the device now.

Hi, can you explain in more detail what you mean with "device mode is different from the switch"?
I suppose that /cmnd/mode should be CONTROL_MODE?
Or ist that only the datapoint where you SET the wanted mode and /stat/mode is the ACTUAL mode?
Then you would have to set /stat/mode as CONTROL_MODE, then edit this datapoint via the wrench-icon and set /cmnd/mode as target-value-id.
Does this help?

Forgive me for not expressing myself clearly. I have set / STAT / mode correctly according to your prompt and edited this data point through the wrench icon, setting / cmnd / mode as the target value ID.

Now I have a problem. My device startup and stop theme is separate. I don't know where to set this theme. The following is marked as startup and stop theme.

If this data is not set correctly, my device will not be able to start and stop.

Hi, is "ir_gree" really the right root-path? Normally all objects start with
./...

yes is it

So, do i understand correctly:
You can set the mode via /cmnd/mode for example to cool, but that does not turn your device on. You have to seperately toggle the /cmnd/power datapoint?
Maybe the scene-adapter can help out:
You could define a scene, that is set to "true", everytime the /cmnd/mode-datapoint is changed to anything else than "off". The scene itsself contains the /cmnd/power-datapoint and turns this automatically to on/off, when the scene state changes to true/false.

tanks


configuration: Decouple static archaius

Motivation
Ribbon makes heavy use of Archaius in a static manner for configuration.  This pattern couple Ribbon with legacy archaius and its dependencies and makes it hard to run tests in parallel. By decoupling from both archaius and statics users can now provide alternative configuration mechanisms as well as improve testability.
Changes

Introduce a new DynamicPropertyRepository abstraction to decouple from Archaius specific APIs
For legacy support make the ArchaiusDynamicPropertyRepository discoverable via the service loader.
Allow a non-static DynamicPropertyRepository to be associated with a IClientConfig.  This is a bit of a hack but minimizes code changes.
Decouple all build.gradle dependencies from archaius, except for the ribbon-archaius subproject
Pick up @zone from DynamicPropertyRepository and NOT from archaius's DeploymentContext
Remove configuration for PollingServerListUpdater as it is not used and would always require static configuration

Closing this PR for now as I'd like to go in a slightly different direction with this implementation


Ionic Capacitor NSURLResponse error

im getting this error when i try to call a new QR code inside a page in IOS, when i run in web the QR code is shoed perfectly but when i run in IOS i receive this message
To Native ->  CapacitorHttp request 13135314
Could not cast value of type 'NSURLResponse' (0x1eff6c368) to 'NSHTTPURLResponse' (0x1eff6be68).

Im using Angular 17
Ionic 7
Capacitor 5
I think maybe is my mistake, but im stuck and i dont have any idea where to start
Can some one help me to solve this?
Thanks in advance

Same issue here, works fine in android & web but ios crashes with the same message
To Native ->  CapacitorHttp request 74988689 Could not cast value of type 'NSURLResponse' (0x119ef0e38) to 'NSHTTPURLResponse' (0x119ef0d20).

found the problem?


Support PythonUdfTransform

What is the purpose of the change
The PR support PythonUdfTransform for FlinkProcessor and LocalProcessor.
Brief change log

Support PythonUdfTransform

Dependencies (does it add or upgrade a dependency): no
The public API: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@lindong28 Could you review the PR?

@lindong28 Thanks for your suggestions! I updated the PR. Could you take another look?

Thanks for the update! LGTM.


Demo site stuck on "Loading Dev App..." message

Opening the demo link shows the message "Loading Dev App..." in the top-left corner of the web browser. The browser seems stuck on this message. This occurs in the latest versions of Firefox and Chrome desktop browsers.

Console reports three error messages attempting to load style.css and index.umd.js files:
Failed to load resource: the server responded with a status of 404 ()

This happens because gh-pages doesn't include dev/index.umd.js and dev/style.css file, which is created when in development mode only (I mean when you run npm run dev)

I am not running npm start, but only trying to visit the demo site linked from the Github repo.

I fixed it manually for now.  We need to update our automated build process
to run ghpages after a successful build.
On Wed, Nov 27, 2019 at 4:58 PM Alex Reynolds<EMAIL_ADDRESS>wrote:

I am not running npm start, but only trying to visit the demo site
https://express-labs.github.io/pure-react-carousel/ linked from the
Github repo.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/express-labs/pure-react-carousel/issues/218?email_source=notifications&email_token=AABHKLAWG3D7ZLTMJE5BP53QV3URJA5CNFSM4JR5UXXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFK3GWQ#issuecomment-559264602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABHKLFP5NVRSNW6MMDUPUDQV3URJANCNFSM4JR5UXXA
.


Unlocking Levels

Goal:

Guide users towards slowly escalating the conversation by starting off with the easy questions at least one the first game.
Create feeling of progress.
Create a goal that needs to be reached.

Decide that this isn't something that is needed for the v1.


chore: bdd-spring-1575647118 to 0.0.1

chore: Promote bdd-spring-1575647118 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


migrate benchmarks

migrated benchmarks project from colossal-ai repository to an independent repository

Hi, @kurisusnowdeng. Please approve this PR first before looking into this PR in the ColossalAI repo. Need to make sure the submodule is synced with the latest commit in this benchmark repo.


Fix typos

Some minor typos I stumbled over while reading through :)

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


Width of input can't be set within a vstack.

Setting width of a high level input component from within an vstack or other non radix container will not change width of input component. Changing the container to a flex allows input width to be 100% or set manually.
Specifics (please complete the following information):

Python Version: 3.11
Reflex Version: 0.4.4
OS: Ubuntu 23.10

Could you share a reproducible example ?

def example() -> rx.Component:
return rx.vstack(
rx.input(
placeholder='Test Example',
width='100%'
)
)
Above is an approximate of how I discovered it. If you wrap in flex instead, the width is set appropriately. The rendered code appears to not carry width as a CSS prop assigned to input using vstack, but does carry using flex container.

I looked into the issue using the following code
def index() -> rx.Component:
    return rx.vstack(
        rx.input(
            placeholder='Test Example',
            width='100%'
        )
    )

We get

While using the following code
def index() -> rx.Component:
    return rx.flex(
        rx.input(
            placeholder='Test Example',
            width='100%'
        )
    )

We get

I both cases the input tag does have the width property although The TextFieldRoot does not and it seems to be consistent in both flex and vstack.

Any workaround this limitation?

The workaround is to set the width in units or to set the 100% width on the rx.input.root
rx.input.root(
    rx.input(),
    width="100%",
)

I hear this is one of things that is fixed in radix 3.0.0 which we'll be upgrading to soon.

We've upgraded our input component, so this should work now with needing rx.input.root.


created add-misc-node-property job

remade upsert to node collection based on new requirement.
https://www.pivotaltracker.com/story/show/121049511
@benbp @pscharla
@RackHD/corecommitters

@RackHD/corecommitters please review.

@zhangy42 : Why not define the task & corresponding task schema?

@brianparry see https://github.com/RackHD/on-core/pull/211#issuecomment-248426715

test this please

It took too long to discuss the necessity of this feature and I am closing this PR as I will anyway rebase the code before we merge the code.


Update jsdom dependency

Summary
The releases since jsdom v9.5.0 include a fix for:

a performance regression introduced in 9.5.0 for modifying the DOM. It was particularly noticable during initial parsing of a document with many elements; for example, one test showed parsing ten thousand elements taking 36.4 seconds, whereas after this fix it is back to a more reasonable 0.4 seconds.

It also includes implementations for the document.hasFocus() API, proper activeElement focus behavior for iframes, some file interface fixes, plus a few other odds and ends. The iframe focus behavior fixes would avoid hacks in tests like these ones, while the utility of the performance fix is obvious.
Test plan
Ran the existing tests with the updated version of jsdom installed and all passed.

All the tests in examples/ passed also:
> @ test-examples /Users/brandcast/Documents/Developing/jest
> node scripts/test_examples.js

Testing example: /Users/brandcast/Documents/Developing/jest/examples/async
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/async
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/async
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN async No description
npm WARN async No repository field.
npm WARN async No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/async
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/async

> @ test /Users/brandcast/Documents/Developing/jest/examples/async
> jest

 PASS  __tests__/user-test.js
  ✓ works with promises (11ms)
  ✓ works with async/await (2ms)
  ✓ tests error with promises
  ✓ tests error with async/await (1ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        8.051s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/enzyme
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/enzyme
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/enzyme
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN enzyme No description
npm WARN enzyme No repository field.
npm WARN enzyme No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/enzyme
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/enzyme

> @ test /Users/brandcast/Documents/Developing/jest/examples/enzyme
> jest

 PASS  __tests__/CheckboxWithLabel-test.js (7.251s)
  ✓ CheckboxWithLabel changes the text after click (36ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        11.309s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/getting_started
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/getting_started
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/getting_started
└──<EMAIL_ADDRESS>
npm WARN getting_started No description
npm WARN getting_started No repository field.
npm WARN getting_started No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/getting_started
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/getting_started

> @ test /Users/brandcast/Documents/Developing/jest/examples/getting_started
> jest

 PASS  __tests__/sum-test.js
  ✓ adds 1 + 2 to equal 3 (19ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        6.24s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/jquery
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/jquery
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/jquery
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN jquery No description
npm WARN jquery No repository field.
npm WARN jquery No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/jquery
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/jquery

> @ test /Users/brandcast/Documents/Developing/jest/examples/jquery
> jest

 PASS  __tests__/fetchCurrentUser-test.js
 PASS  __tests__/displayUser-test.js

Test Suites: 2 passed, 2 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        6.207s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/manual_mocks
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/manual_mocks
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/manual_mocks
└──<EMAIL_ADDRESS>
npm WARN manual_mocks No description
npm WARN manual_mocks No repository field.
npm WARN manual_mocks No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/manual_mocks
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/manual_mocks

> @ test /Users/brandcast/Documents/Developing/jest/examples/manual_mocks
> jest

 PASS  __tests__/FileSummarizer-test.js
  listFilesInDirectorySync
    ✓ includes all files in the directory in the summary (95ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        5.78s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/react
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/react
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/react
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN react No description
npm WARN react No repository field.
npm WARN react No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/react
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/react

> @ test /Users/brandcast/Documents/Developing/jest/examples/react
> jest

 PASS  __tests__/CheckboxWithLabel-test.js
  ✓ CheckboxWithLabel changes the text after click (50ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        8.465s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/react-native
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/react-native
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>cross-spawn no longer requires a build toolchain, use it instead!
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

><EMAIL_ADDRESS>postinstall /Users/brandcast/Documents/Developing/jest/examples/react-native/node_modules/spawn-sync
> node postinstall

<EMAIL_ADDRESS>/Users/brandcast/Documents/Developing/jest/examples/react-native
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
-> running: ln -s /Users/brandcast/Documents/Developing/jest/packages/jest-react-native ./node_modules/ cwd: /Users/brandcast/Documents/Developing/jest/examples/react-native
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/react-native
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/react-native

><EMAIL_ADDRESS>test /Users/brandcast/Documents/Developing/jest/examples/react-native
> jest

 PASS  __tests__/Intro-test.js (5.662s)
  ✓ renders correctly (1023ms)
  ✓ renders the ActivityIndicator component (30ms)
  ✓ renders the Image component (53ms)
  ✓ renders the TextInput component (466ms)
  ✓ renders the ListView component (610ms)

Test Suites: 1 passed, 1 total
Tests:       5 passed, 5 total
Snapshots:   5 passed, 5 total
Time:        10.42s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/snapshot
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/snapshot
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/snapshot
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN snapshot No description
npm WARN snapshot No repository field.
npm WARN snapshot No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/snapshot
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/snapshot

> @ test /Users/brandcast/Documents/Developing/jest/examples/snapshot
> jest

 PASS  __tests__/Link.react-test.js
  ✓ renders correctly (27ms)
  ✓ renders as an anchor when no page is set (7ms)
  ✓ properly escapes quotes (2ms)
  ✓ changes the class when hovered (9ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   6 passed, 6 total
Time:        5.4s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/timer
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/timer
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/timer
└──<EMAIL_ADDRESS>
npm WARN timer No description
npm WARN timer No repository field.
npm WARN timer No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/timer
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/timer

> @ test /Users/brandcast/Documents/Developing/jest/examples/timer
> jest

 PASS  __tests__/timerGame-test.js
  ● Console

    console.log timerGame.js:6
      Ready....go!
    console.log timerGame.js:6
      Ready....go!
    console.log timerGame.js:8
      Times up -- stop!
    console.log timerGame.js:8
      Times up -- stop!
    console.log timerGame.js:6
      Ready....go!
    console.log timerGame.js:8
      Times up -- stop!

 PASS  __tests__/infiniteTimerGame-test.js
  ● Console

    console.log infiniteTimerGame.js:6
      Ready....go!
    console.log infiniteTimerGame.js:9
      Times up! 10 seconds before the next game starts...

Test Suites: 2 passed, 2 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        5.954s
Ran all test suites.
Testing example: /Users/brandcast/Documents/Developing/jest/examples/typescript
-> running: npm update cwd: /Users/brandcast/Documents/Developing/jest/examples/typescript
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
/Users/brandcast/Documents/Developing/jest/examples/typescript
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN typescript No description
npm WARN typescript No repository field.
npm WARN typescript No license field.
-> running: ln -sf /Users/brandcast/Documents/Developing/jest/packages/jest-cli/bin/jest.js ./node_modules/.bin/jest cwd: /Users/brandcast/Documents/Developing/jest/examples/typescript
-> running: npm test cwd: /Users/brandcast/Documents/Developing/jest/examples/typescript

> @ test /Users/brandcast/Documents/Developing/jest/examples/typescript
> jest

 PASS  __tests__/CheckboxWithLabel-test.tsx
 PASS  __tests__/sum-test.js
 PASS  __tests__/sum-test.ts
 PASS  __tests__/sub-test.ts

Test Suites: 4 passed, 4 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        1.872s
Ran all test suites.

thank you! This might be fun to update at FB…


mcuboot: BOOT_MAX_ALIGN is redefined

Describe the bug
BOOT_MAX_ALIGN is redefined in include/zephyr/dfu/mcuboot.h (already defined in bootutil_public.h in the module).
To Reproduce
scripts/twister -v -N -M -p nucleo_h753zi -s samples/subsys/usb/dfu/sample.usb.dfu

Expected behavior
BOOT_MAX_ALIGN is only defined once.
Impact
Unable to build tests and samples using mcuboot.
Logs and console output
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/dfu
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter
-- Cache files will be written to: /__w/zephyr/zephyr/.cache
-- Zephyr version: 3.2.0-rc2 (/__w/zephyr/zephyr)
-- Found west (found suitable version "0.13.1", minimum required is "0.7.1")
-- Board: nucleo_h753zi
-- Found host-tools: zephyr 0.15.0 (/opt/toolchains/zephyr-sdk-0.15.0)
-- Found toolchain: zephyr 0.15.0 (/opt/toolchains/zephyr-sdk-0.15.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/arm/nucleo_h753zi/nucleo_h753zi.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/dts.cmake
/__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/zephyr.dts:490.7-519.5: Warning (simple_bus_reg): /soc/can: missing or empty reg/ranges property
Parsing /__w/zephyr/zephyr/samples/subsys/usb/dfu/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/arm/nucleo_h753zi/nucleo_h753zi_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/dfu/prj.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../subsys/usb/device/CMakeLists.txt:22 (message):
  CONFIG_USB_DEVICE_VID has default value 0x2FE3.

  This value is only for testing and MUST be configured for USB products.

 -I../../../../../../../modules/hal_nxp/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32h7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/Legacy -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -I/__w/zephyr/bootloader/mcuboot/boot/bootutil/zephyr/.. -I/__w/zephyr/bootloader/mcuboot/boot/bootutil/zephyr/../include -I/__w/zephyr/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/toolchains/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem /opt/toolchains/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros /__w/zephyr/zephyr/twister-out/nucleo_h753zi/samples/subsys/usb/dfu/sample.usb.dfu/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/toolchains/zephyr-sdk-0.15.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -Werror -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/dfu=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/subsys/dfu/boot/CMakeFiles/subsys__dfu__boot.dir/mcuboot.c.obj -MF zephyr/subsys/dfu/boot/CMakeFiles/subsys__dfu__boot.dir/mcuboot.c.obj.d -o zephyr/subsys/dfu/boot/CMakeFiles/subsys__dfu__boot.dir/mcuboot.c.obj -c /__w/zephyr/zephyr/subsys/dfu/boot/mcuboot.c
In file included from /__w/zephyr/zephyr/subsys/dfu/boot/mcuboot.c:20:
../../../../../../../include/zephyr/dfu/mcuboot.h:68: error: "BOOT_MAX_ALIGN" redefined [-Werror]
   68 | #define BOOT_MAX_ALIGN          8
      |
In file included from /__w/zephyr/zephyr/subsys/dfu/boot/mcuboot.c:19:
/__w/zephyr/bootloader/mcuboot/boot/bootutil/zephyr/../include/bootutil/bootutil_public.h:89: note: this is the location of the previous definition
   89 | #define BOOT_MAX_ALIGN          MCUBOOT_BOOT_MAX_ALIGN
      |
cc1: all warnings being treated as errors
[110/191] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[111/191] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[112/191] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[113/191] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[114/191] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[115/191] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_h7.c.obj
[116/191] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[117/191] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[118/191] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[119/191] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[120/191] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/cortex_m_systick.c.obj
[121/191] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[122/191] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[123/191] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_device.c.obj
[124/191] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
[125/191] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_stm32h7x.c.obj
[126/191] Building C object zephyr/drivers/usb/device/CMakeFiles/drivers__usb__device.dir/usb_dc_stm32.c.obj
ninja: build stopped: subcommand failed.

Environment (please complete the following information):

OS: Ubuntu 20.04
Toolchain: Zephyr SDK 0.15.0
Commit SHA: 2829de75d1ae88dc53bc6e85d8f8e59ac3cca8d3

cc @nvlsianpu @d3zd3z


Suspected lifetime issue in HIP asycn dealloc

I have a rather specific scenario where I can trigger an ASAN fault reliably here (between the two prints):
iree_status_t iree_hal_hip_allocator_free_async(
    iree_hal_allocator_t* base_allocator, hipStream_t stream,
    iree_hal_buffer_t* buffer) {
  iree_hal_hip_allocator_t* allocator =
      iree_hal_hip_allocator_cast(base_allocator);
  IREE_RETURN_IF_ERROR(
      iree_hal_hip_set_context(allocator->symbols, allocator->hip_context));

  printf("*** iree_hal_hip_allocator_free_async: %p\n", buffer);
  hipDeviceptr_t device_ptr = iree_hal_hip_buffer_device_pointer(buffer);
  printf("*** </iree_hal_hip_allocator_free_async>\n");
  if (!device_ptr) {
    return iree_ok_status();
  }

  IREE_RETURN_IF_ERROR(IREE_HIP_RESULT_TO_STATUS(
      allocator->symbols, hipFreeAsync(device_ptr, stream), "hipFreeAsync"));
  iree_hal_hip_buffer_set_allocation_empty(buffer);

  IREE_TRACE_FREE_NAMED(IREE_HAL_HIP_ALLOCATOR_ID, (void*)device_ptr);
  IREE_STATISTICS(iree_hal_allocator_statistics_record_free(
      &allocator->statistics, iree_hal_buffer_memory_type(buffer),
      iree_hal_buffer_allocation_size(buffer)));
  return iree_ok_status();
}

Additional app level logging shows this:
[2024-11-13 22:04:40.134] [info] +++ RUN DTOR: 0x60800009ab20
[2024-11-13 22:04:40.134] [info] SCHED: async dealloca(device=0x613000afad80, affinity=1, buffer=0x60800009ab20):[Wait:(0x60b000d4ef70@26), Signal:()]
[2024-11-13 22:04:40.134] [info] SCHED: </CreateAsyncBufferDestructor DTOR>
[2024-11-13 22:04:40.134] [info] IREE delete hal_buffer_t(0x60800009ab20)
*** iree_hal_hip_allocator_free_async: 0x60800009ab20

In this case, the lines up to the last are run on an application thread and the last is printed from the deferred work queue thread. I have verbose app level logging which shows that the delete of the buffer is happening as part of the ref count decremement when exiting the scope holding the iree_hal_device_queue_dealloca call:
TimelineResourceDestructor TimelineResource::CreateAsyncBufferDestructor(
    ScopedDevice &scoped_device, iree::hal_buffer_ptr buffer) {
  logging::info("+++ CREATE DTOR: {}", static_cast<void*>(buffer.get()));
  //iree::detail::hal_buffer_ptr_helper::retain(buffer.get());
  return [device = iree::hal_device_ptr::borrow_reference(
              scoped_device.raw_device()->hal_device()),
          affinity = scoped_device.affinity().queue_affinity(),
          buffer = std::move(buffer)](TimelineResource &res) {
    logging::info("+++ RUN DTOR: {}", static_cast<void*>(buffer.get()));
    SHORTFIN_TRACE_SCOPE_NAMED("TimelineResource::AsyncBufferDestructor");
    iree_hal_semaphore_list_t wait_semaphore_list = res.use_barrier();
    iree_hal_semaphore_list_t signal_semaphore_list =
        iree_hal_semaphore_list_empty();
    if (SHORTFIN_SCHED_LOG_ENABLED) {
      auto wait_sum = iree::DebugPrintSemaphoreList(wait_semaphore_list);
      auto signal_sum = iree::DebugPrintSemaphoreList(signal_semaphore_list);
      SHORTFIN_SCHED_LOG(
          "async dealloca(device={}, affinity={:x}, buffer={}):[Wait:{}, "
          "Signal:{}]",
          static_cast<void *>(device.get()), affinity,
          static_cast<void *>(buffer.get()), wait_sum, signal_sum);
    }
    SHORTFIN_THROW_IF_ERROR(iree_hal_device_queue_dealloca(
        device, affinity, wait_semaphore_list, signal_semaphore_list, buffer));
    SHORTFIN_SCHED_LOG("</CreateAsyncBufferDestructor DTOR>");
  };
}

Note that the allocation logging is at the application level, so it is only tracking that it thinks it has dropped its last reference.
It would appear that the buffer is not being retained as it is transported to the deferred work queue? There are 14 prior async deallocations which work fine. Or there is some other subtle race. FWIW, this specific case seems to be the only one where the deferred work item is processed truly concurrently. All of the prior ones only get processed after some long delay. So maybe an enqueue race.

If I manually add a retain before calling iree_hal_device_queue_dealloca (so that no buffer is ever truly freed), then it still fails in the same way, so I think this is more likely to be an enqueue race of some kind?

Disregard. I haven't found the root cause yet, but I isolated the code path and it is a unique case in the application code. Probably an issue there.


SQL Injection

Description
SQl injection attack is added to find if a site is vulnerable to SQL injection or not and all the other features.
Have you read the Contributing Guidelines on Pull Requests?

Yes

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x]  My code follows the style guidelines(Clean Code) of this project

[x] I have performed a self-review of my own code

[x] I have commented my code, particularly in hard-to-understand areas

[x] I've edited the README.md and link to my code.

[x] I have created a helpful and easy to understand README.md

[x] My documentation follows Template for README.md

[x] My changes generate no new warnings

[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

sorry for the delay of work.

Attached in the form of documentation
On Thu, Feb 11, 2021, 1:01 PM Avinash Kr. Ranjan<EMAIL_ADDRESS>wrote:

@avinashkranjan commented on this pull request.
Where is the Script?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dscciem/Pentesting-and-Hacking-Scripts/pull/44#pullrequestreview-588292943,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMY5YVVQLFN65JDSYEKANKLS6OBUNANCNFSM4XMLICOA
.

the screenshots of script is attached in SQL injection document

the screenshots of script is attached in SQL injection document

Add the Script Separately

Done added the script file separately and updated the readme file

Kindly review my pull request and update in dwoc leaderboard.

could you please update the leaderboard? @avinashkranjan

@all-contributors please add @nitya123-github for code and documentation


Where HoneyDG-Agent is stored malware sample?

Where HoneyDG-Agent is stored malware sample? Do we need honey-db instance?

For general HoneyDB inquiries use contact form linked from this page https://honeydb.io/about


Remove dead constraints

For example, remove constraints like this:
constraint true;
constraint !false;
constraint 1 == 1;
constraint x == x;

and so on...
We can start with some simple stuff and evolve the pass to support more complex structures in the future.

The function evaluate should be quite useful here.

I think the E2E tests should have another phase which includes these type of transforms separately.

parsed / parse_failure
typecheck_failuire
flattened
optimised

Where 'flattened' is anything which is desugared but still pretty much resembles the parsed tree.  The 'optimised' stage will have items removed or combined and is the final output.

Yes that makes sense. I had a chat with @lethalgem yesterday about the differences between "flattening" (we may need a better name for this now) and "optimization" and how one is required while the other is not. We should certainly split the two into separate phases where flattening happens first and produces valid code that asm gen can understand, while the optimizers runs after (and is optional in principle). Things like dead code elimination and const folding should go into the optimizer.


[SPARK-45296][INFRA][BUILD] Comment out unused JDK 11 related in dev/run-tests.py

What changes were proposed in this pull request?
This PR proposes to comment unused JDK 11 related in dev/run-tests.py.
Why are the changes needed?
For readability, and commenting out unused code. I added some explanation inlined.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
No.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.


[Web PubSub Express] Fix ESLint errors

We should

fix ESLint errors for each of them
remove the -f html -o recorder-lintReport.html || exit 0 part from their package.json

closing in favor of #17298


live_grep doesn't seem to working

Environment:

ArchLinux
NVIM v0.5.1
ripgrep 13.0.0
fzf 0.27.2
sk 0.9.4

live_grep doesn’t run on empty queries, did you try typing?
If you want it to run empty queries run require'fzf-lua'.live_grep({ exec_empty_query = true })

when i try typing, command failed

What shell are you using? any chance you’re using fish?
Can you also please try live_grep_resume instead?

Yes, i am using fish
live_grep_resume is working expectedly
live_grep({  exec_empty_query = true })

first it list up candidates

then when i typing

Ok, I’ll wrap the command with sh -c to work around the fish shell, for the time being you can use the resume version, they should be equivalent except that resume has the ability to save the typed query and then continues the search where you last stopped (can be disabled).

https://github.com/ibhagwan/fzf-lua/commit/67163f4c5fb8f19ecdca7e99f6eb99bb48e52a95 should solve it, try and let me know?

solved, thanks!


ERROR: Encountered errors while bringing up the project.

I ran
docker-compose -f docker-compose.deploy.yml up -d
and I got error in
Creating frontendgit_frontend_1   ... error:
ERROR: for frontend  Cannot start service frontend: driver failed programming external connectivity on endpoint frontendgit_frontend_1 (8b311ac1529ffb79ec8a735fe7eed33565c47120089d341378f602599c1e47f3): Error starting userland proxy: listen tcp <IP_ADDRESS>:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
I am running the script on the VPS (and I don't think I have other container is using the port 80, if I do a docker container ls, I got:
"""
CONTAINER ID        IMAGE                 COMMAND                  CREATED              STATUS              PORTS                    NAMES
8fb252ab24b5        frontendgit_product   "python app.py"          About a minute ago   Up About a minute   <IP_ADDRESS>:8081->5000/tcp   frontendgit_product_1
481dc6b0fb7d        frontendgit_order     "python app.py"          About a minute ago   Up About a minute   <IP_ADDRESS>:8083->5000/tcp   frontendgit_order_1
31da7153dfec        frontendgit_user      "python app.py"          About a minute ago   Up About a minute   <IP_ADDRESS>:8082->5000/tcp   frontendgit_user_1
e6e181f30443        mysql:5.7.22          "docker-entrypoint.s…"   About a minute ago   Up About a minute   3306/tcp                 frontendgit_product_db_1
909312909afc        mysql:5.7.22          "docker-entrypoint.s…"   About a minute ago   Up About a minute   3306/tcp                 frontendgit_user_db_1
4d79b434f60a        mysql:5.7.22          "docker-entrypoint.s…"   About a minute ago   Up About a minute   3306/tcp                 frontendgit_order_db_1
"""
Any idea?

Hi, I discussed this issue in a recent live coding stream (https://youtu.be/5EpsA2raV0k) so others with the same issue can be pointed in the right direction.
In short, the solution is to check that nothing else is assigned to port 80.  This isn't just limited to containers.  If you had a LAMP stack running in the VPS you would get the same issue.
I recommend using Docker machine instead of your own VPS as this is a clean Docker environment.
I have some tutorials on Docker Machine here: https://youtu.be/RA4vAJSMtEc
As I cannot replicate this issue I need to close it but I hope this helps


Project: Automated gh-pages publishing/pins to IPFS

This is a project the Community WG would like to tackle in 2019 as part of evangelizing IPFS with developers.
The idea is simple: a bot (probot), or possibly a new "GitHub Action", we run that anyone can easily add to their repository that publishes the content of gh-pages on any successful merge into that branch.
There is already a big world of automated tools for dynamically building sites from a master branch and publishing the dist to ghpages, it's even built in to Travis. We can piggyback on all of that work and add publishing/pinning in to the decentralized web.
It may sound like a big deal to be pinning things indefinitely for people but we can do what GitHub does for ghpages and just limit the size of the archives.

I think we should separate the IPNS actions from the IPFS publish actions.
A simple IPFS publish/pin action could produce a gateway URL. That would be enough for people doing a build and publish on every commit in every branch. You could then build a separate Action for updating IPNS only on merged into master.

That is definitely a good idea to keep the IPNS as a separate action.
I was thinking about how you could approach the storage problem and it boiled down to two approaches.
First one is very similar to the one I took with my project. Have a tool with API endpoint, that is invoked with every new build. Upon invocation, it would clone the repo, check its size and any other constraints you would like to have and then eventually add it to IPNS and return the hash. This has an advantage, that you could automatically garbage-collect the old versions of the sites (if you would want to), but on the other hand, it is not a really decentralized solution.
The second way I could think of is having IPFS in Dockerfile and have GitHub itself add the content to IPFS and then there would be some endpoint on your side only for the pinning of the added content. This approach has some more possible issues, like how long cloning of the data to your cluster will take? How to ensure that the pinning service is not misused? How to garbage collect old data, or will you pin everything "for ever"? And so on...


Fix a visibility error

The problem was that an internal enum was made visible through a protected
member which takes that type as an argument. Changing the visibility of
the member to internal instead.
Note: This only caused an issue for the docs generator.

it should not be internal protected?

@nekronos : then it would still be exposed publicly since it would then be internal or protected.

or did you mean to make the enum protected internal?

internal is correct here. It's kind of annoying how C# interprets internal protected.

internal protected mean that it has protected visibility, but only internally. internal alone is the same as internal public

https://stackoverflow.com/questions/12661494/protected-internal
They say it means internal or protected.
I've had this come up before with docs and the code. There is no way to create the desired "internal and protected" modifiers? :(

MSDN says

The type or member can be accessed by any code in the assembly in which it is declared, or from within a derived class in another assembly. Access from another assembly must take place within a class declaration that derives from the class in which the protected internal element is declared, and it must take place through an instance of the derived class type.

The first sentence seems to suggest the or-interpretation. However, the second, more fleshed-out sentence, seems to suggest the and-interpretation.
This is very confusing. Maybe we should just test this in C#?

Access from another assembly must take place within a class declaration that derives from the class in which the protected internal element is declared

To me this says the exact same thing. If you create a subclass, it is available as a protected member.

@kristianhasselknippe: Maybe I just read it wrong, then.
But how can such an interpretation even work? The internal type is unknown if the derived type is not in the same assembly, so it can't really do anything with it...


Maintain aspect ratio while dragging from corners

I know there's an aspect option already, but I don't want to prevent users from changing the aspect ratio if they wish, but I do want to make it easier for them to keep the default aspect ratio by dragging from a corner. This is the behavior that Photoshop and probably other editors use when dragging from the corners. Dragging from the sides should still change the aspect ratio like it does now.
Since this would be a breaking change, I suggest making it an option like maintainAspectRatioOnCornerDrag={true} or cornerAspect={true} or something.

any workable solution?


Questions about specific APPs in ScreenSpot benchmark.

Which mobile apps, desktop apps, and web pages were used in your ScreenSpot benchmark? Can you list it in detail?

Hi,
For web pages, we use several websites provided in WebArena, i.e., Development (GitLab), Shopping (OneStopShop and CMS), Forum (Reddit) and Tools (OpenStreetMap and Wikipedia). For mobile and desktop, we ask the annotators to collect screenshots, so there are no restrictions regarding apps; It looks like a lot of the screenshots are official apps, such as Apple's Setting app.

Thank You!


[Feature] Matrix Bridge

Feature: Create Matrix Bridge

Want to support this issue? Post a bounty on it! We accept bounties via BountySource.

@ghbjklhv there is already https://zulipchat.com/integrations/doc/matrix, which has the same functionality as some of the bridges documented on that page.

Am I understanding correctly that each user who wants to connect via matrix has to run this bridge? Or is the bride something the organization can set up so all matrix users can use it? If it's the latter, is this something that Zulip could offer as part of its Standard Plan?


Get the Ingress working on the Kubernetes cluster

┆Issue is synchronized with this Jira Task by Unito

Grafana Ingress is working, but reaper isn't.

Ingress is working on GKE, We are going with cloud native ingress controllers for AKS and EKS it's taking time for me to setting them up.

AWS ingress controller is completed, Documentation of the steps is in progress. Need to test Azure ingress controller don't have access yet to test the role assignments in Azure


Fix scrollbar margin revealing background

I'm pretty sure this was introduced after readding the flex styles from Primer.
Seen on https://master-api.flutter.dev/flutter/material/BottomNavigationBar-class.html
Previously:

After:

CC @johnpryan

thanks for fixing this 👍


Got ZE_RESULT_ERROR_INVALID_ARGUMENT error during running Qwen2.5-Coder-3B-Instruct on npu

I am trying to run Qwen2.5-Coder-3B-Instruct on npu
The running command is python qwen.py --repo-id-or-model-path "Qwen/Qwen2.5-Coder-3B-Instruct" --save-directory E:\llm\models\Qwen2.5-Coder-3B-Instruct-low-bit
But I got an error ZE_RESULT_ERROR_INVALID_ARGUMENT
The full log:
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 2/2 [00:07<00:00,  3.63s/it]
2024-12-14 04:31:56,001 - INFO - Converting model, it may takes up to several minutes ...
2024-12-14 04:32:12,330 - INFO - Finish to convert model
decode start compiling
decode end compiling
Model saved to E:\llm\models\Qwen2.5-Coder-3B-Instruct-low-bit\decoder_layer_0.xml
decode start compiling
decode end compiling
Model saved to E:\llm\models\Qwen2.5-Coder-3B-Instruct-low-bit\decoder_layer_1.xml
prefill start compiling
prefill end compiling
Model saved to E:\llm\models\Qwen2.5-Coder-3B-Instruct-low-bit\decoder_layer_prefill.xml
Traceback (most recent call last):
  File "E:\llm\ipex-llm\python\llm\example\NPU\HF-Transformers-AutoModels\LLM\qwen.py", line 61, in <module>
    model = AutoModelForCausalLM.from_pretrained(
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\unittest\mock.py", line 1379, in patched
    return func(*newargs, **newkeywargs)
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_model.py", line 238, in from_pretrained
    model = cls.optimize_npu_model(*args, **optimize_kwargs)
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_model.py", line 308, in optimize_npu_model
    optimize_llm_single_process(
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_models\convert.py", line 457, in optimize_llm_single_process
    convert_llm(model,
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_pipeline_model\convert_pipeline.py", line 213, in convert_llm
    convert_llm_for_deploy(model,
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_pipeline_model\convert_pipeline.py", line 481, in convert_llm_for_deploy
    convert_qwen_layer(model, 0, n_splits_linear, n_splits_down_proj,
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_pipeline_model\qwen.py", line 200, in convert_qwen_layer
    rest_blob_path = update_names_of_IR_and_export_blob(single_decoder,
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\ipex_llm\transformers\npu_pipeline_model\common.py", line 59, in update_names_of_IR_and_export_blob
    compiledModel = core.compile_model(model, device_name="NPU")
  File "C:\Users\31092\AppData\Local\Programs\Python\Python310\lib\site-packages\intel_npu_acceleration_library\backend\..\external\openvino\runtime\ie_api.py", line 543, in compile_model
    super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Exception from src/inference/src/cpp/core.cpp:107:
Exception from src/inference/src/dev/plugin.cpp:53:
Exception from src/plugins/intel_npu/src/plugin/src/plugin.cpp:697:
Exception from src/plugins/intel_npu/src/plugin/src/compiled_model.cpp:62:
Exception from src/plugins/intel_npu/src/compiler/src/zero_compiler_in_driver.cpp:853:
L0 pfnCreate2 result: ZE_RESULT_ERROR_INVALID_ARGUMENT, code 0x78000004

Hi, @rsj123
Could you please provide more details about the hardware (e.g., MTL or LNL, specific CPU model), NPU driver version, and dependencies?

Hi, @rsj123
Could you please provide more details about the hardware (e.g., MTL or LNL, specific CPU model), NPU driver version, and dependencies?

The same issue is occurred with 226V in my side, but when i use 258V to retry, the issue does not occur

The same issue is occurred with 226V in my side, but when i use 258V to retry, the issue does not occur

Hi, to avoid the issue on 226V, please try to set IPEX_LLM_NPU_DISABLE_COMPILE_OPT=1.

Hi, @rsj123
Could you please provide more details about the hardware (e.g., MTL or LNL, specific CPU model), NPU driver version, and dependencies?

Hi, I am using ultra7 155H on laptop

Hi, I am using ultra7 155H on laptop, npu driver version is <IP_ADDRESS>0

Please refer to our doc (https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/npu_quickstart.md) for details.
Need to update NPU driver to <IP_ADDRESS>04, and runtime configuration set IPEX_LLM_NPU_MTL=1 is required.

Hi, I am using ultra7 155H on laptop, npu driver version is <IP_ADDRESS>0

Please refer to our doc (https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/npu_quickstart.md) for details.
Need to update NPU driver to <IP_ADDRESS>04, and runtime configuration set IPEX_LLM_NPU_MTL=1 is required.

Thanks for your help, I think I found the reason:

First I upgraded the drivers (not sure if that was a contributing factor)
I'm running in a windows terminal so I need to set the environment variable using $env:IPEX_LLM_NPU_MTL=1


Merge train: candidates with parents

First explorations on implementing a merge train:

the "candidate" maybe is now a "candidates" list
the integration status includes the parent PR

I am not sure if this is the right way to go at the end, hence the junk/ prefix in the branch name.  I am thinking of perhaps eliminating the concept of a list of candidates altogether, and infer this fact from the collection of PRs.

Wrong repo.  :grimacing:   Closing and reopening...

When you click the link to open a new PR (https://github.com/channable/hoff/pull/new/<branch-name>), GitHub defaults to the master of the original repository if it is a fork.  I tried to look for a setting to configure this, but it seems it is not possible:
https://github.com/github-community/community/discussions/11729
:-(


Add cli rule

A rule that checks if the package is a cli package (if bin is provided in package.json) and performs the following checks.

Checks if the file exists
Checks if the file is executable
Checks if update-notifier is a dependency

Not sure about the update-notifier dependency though. Do we always want this?
// @sindresorhus

Not sure about the update-notifier dependency though. Do we always want this?

No, not always.

Alright, will drop that check then, thanks for the feedback!


Invalid authentication

Hi, I'm trying your HACS integration but I always received this messagge: "Invalid authentication"...

Devi andare nel file base.py e cambiare la porta con quella http, cioè come accedi. Dopo questo l'addon funzionerà.

Devi andare nel file base.py e cambiare la porta con quella http, cioè come accedi. Dopo questo l'addon funzionerà.

The port is currently hard coded, I’m always open for a PR with a dynamic port.

So, what have I to do?

If your system is not on port 4202, you can change it here: https://github.com/johnnybegood/ha-ksenia-lares/blob/d1d57cbf34bead4c31e3f0dd6fd3a1b77fb308e5/custom_components/ksenia_lares/base.py#L28

Scusa se ti disturbo ma per quanto riguarda il panel-alarm di home assistant con Ksenia come sta procedendo? Se vuoi ti posso dare una mano (ho anch'io una centrale ksenia).

If your system is not on port 4202, you can change it here:
https://github.com/johnnybegood/ha-ksenia-lares/blob/d1d57cbf34bead4c31e3f0dd6fd3a1b77fb308e5/custom_components/ksenia_lares/base.py#L28

It works!

Scusa se ti disturbo ma per quanto riguarda il panel-alarm di home assistant con Ksenia come sta procedendo? Se vuoi ti posso dare una mano (ho anch'io una centrale ksenia).

Se si riuscisse ad integrare maggiormente sarebbe bellissimo!

where do you configure username and password? I only have an access PIN

where do you configure username and password? I only have an access PIN

if you have a ksenia alarm (pre 4.0) the username and password are:
username: admin
password: lares
the installator can modify this, ask this to your installator.
Il giorno sab 2 apr 2022 alle 17:13 Paolo P @.***> ha
scritto:

where do you configure username and password? I only have an access PIN
—
Reply to this email directly, view it on GitHub
https://github.com/johnnybegood/ha-ksenia-lares/issues/1#issuecomment-1086659730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATB2VQDTSUDQAAD3UENT5WTVDBPY5ANCNFSM5MTLU2YA
.
You are receiving this because you commented.Message ID:
@.***>

After 2022.7 update it doesn't work anymore...

Hello I managed to get HA-Ksenia_lares into Home Assistant.  I logged in with my credentials and I can see Ksenia Lares 48IP in Settings/integrations, What I don't see are any sensors. Could you help me?

Good morning everyone! I managed to integrate the zone status but is it possible to know the arming status of the control unit?

Arming status is not yet supported, I am working on it but nothing concrete yet.

Hi, I've installed HACS part; added integration; changed http port. So far so good, but now getting errors in the log.
I'm no programmer, but if i understant some of the code correctly, xml pages are being parsed?
For example info/generalInfo.xml being parsed for information.
I have a Lares 48IP, but those xml pages do not seem to exist on the webgui. Is this something that needs to be turned on?

It uses the same XML as the build in web interface uses in the background. If you open the developer tools of your browser while using the web interface you will see this.
@One35SEven does the built-in web interface work?

This is the download for the basis configurator software used by installators.
It has only a trial version (30 days), after you must uninstall and reinstall the software

It uses the same XML as the build in web interface uses in the background. If you open the developer tools of your browser while using the web interface you will see this.
@One35SEven does the built-in web interface work?

Apparently I'm not very well versed in the developer tools. Under the network tab of Chrome I did find the xml files.
Webserver works and I can open the XMLs (when using the right path).
But still have errors; not sure where to look now...

Logger: homeassistant.components.binary_sensor
Source: custom_components/ksenia_lares/binary_sensor.py:58
Integration: Binaire sensor (documentation, issues)
First occurred: 12 april 2023 om 12:11:00 (5 occurrences)
Last logged: 16:29:07
Error while setting up ksenia_lares platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/ksenia_lares/binary_sensor.py", line 58, in async_setup_entry
for idx, zone in enumerate(coordinator.data)
TypeError: 'NoneType' object is not iterable

Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.ksenia_lares.binary_sensor
Source: custom_components/ksenia_lares/base.py:103
Integration: Ksenia Lares Alarm
First occurred: 12 april 2023 om 12:11:00 (5 occurrences)
Last logged: 16:29:07
Unexpected error fetching lares_zones data: 'NoneType' object has no attribute 'text'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 250, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 206, in _async_update_data
return await self.update_method()
File "/config/custom_components/ksenia_lares/binary_sensor.py", line 43, in async_update_data
return await client.zones()
File "/config/custom_components/ksenia_lares/base.py", line 99, in zones
return [
File "/config/custom_components/ksenia_lares/base.py", line 103, in
"alarm": zone.find("alarm").text,
AttributeError: 'NoneType' object has no attribute 'text'

@One35SEven can you share your zonesStatus48IP.xml?

Here: (.txt added, because github apperenty doesn't accept .xml).
zonesStatus48IP.xml.txt

So I see in your version
<zone>
        <status>NORMAL</status>
        <bypass>UN_BYPASS</bypass>
</zone>

but in my version
<zone>
        <status>NORMAL</status>
        <bypass>UN_BYPASS</bypass>
        <alarm>0</alarm>
        <memoryAlarm>0</memoryAlarm>
 </zone>

that alarm field is used to detect a alarm on a sensor. System crashes because it is missing, but we also can't detect a alarm without it.

That's weird.  Which version are you using of the Lares software? Mine is 1.6.
When a zone is tripped the status changes to ALARM in stead of NORMAL:
So that would be usable, but different than your XML...
<zone>         <status>ALARM</status>         <bypass>UN_BYPASS</bypass> </zone>
And when I look at the XML source file in the webserver zip-file, there are no mentions of an alarm or memoryAlarm information:
(C:\Program Files\ksenia security innovation\basis\basis\modules\lib\webserver\src)
<zonesStatus>     <zone>         <status>~readZoneStatus(45,0,0,7)~</status>         <bypass>~read(45,0,6,14)~</bypass>     </zone>

I see in the code that I check the status field for the alarm, I will change it to skip those 2 fields as they are not used. Will take this up in #4.

I pushed a new version, can you try @One35SEven ?

I pushed a new version, can you try @One35SEven ?

It works :) Thanks!!

Pls could you help me I askes for help on march 7 this year. My question was:  I managed to get HA-Ksenia_lares into Home Assistant. I logged in with my credentials and I can see Ksenia Lares 48IP in Settings/integrations, What I don't see are any sensors. Could you help me?

Can you try with the new version? If it still doesn’t work, can you share any logs and the content of zonesStatus48IP.xml

Closing due to idle


clean-repo: Revert optimization to .pyc removal.

Fixes #5887.  It seems there's some sort of issue in CPython where it
can get confused into thinking a .pyc file that's actually stale is
up to date -- perhaps when they date from the same second, say from
the middle of a rebase.
For now, rather than dig further to fix this properly and be sure of
having really done so, just go back to wiping out all .pyc files.
The impact is about 1s; that's noticeable when running a short test
file on a quad-core machine (about 8s), but not so much on a more
typical dev machine or on a larger set of tests.

Automated message from Dropbox CLA bot
@gnprice, it looks like you've already signed the Dropbox CLA. Thanks!

Test failure seems to be a flake from an unusually slow Travis worker on our one test that checks the timing on something.  Merging.


Codeblocks in markdown ignores empty lines

Describe the bug
When using codeblocks, the site completely ignores empty lines and acts like those where simple spaces/non existant (see images)
To Reproduce
Steps to reproduce the behavior:

Add a bot
Use codeblocks (```) in the long description
Have a empty line in the codeblock
Save bot and see the result

Expected behavior
The site should handle empty lines like GitHub (from where it gets the info) and not remove them, if they don't have 2 spaces, but are in a codeblock.
Screenshots
Long description, when adding a bot:

Actual result (GitHub):

Desktop (please complete the following information):

OS: Windows 10 Pro x64
Browser Google Chrome
Version 69.0.3497.92 (official build)

Additional context
The problem most likely happens when creating a PR.

You readded it wrong.
See this commit

Looks like this is an issue with GitHub itself and not Discord_Fork.
Please contact GitHub support.
recreated crime scene


"Create an AWS Account" chapter translated to PT

Hi,
my first PR to this repo - contributing to the translation efforts to PT (https://github.com/AnomalyInnovations/serverless-stack-com/issues/271)
Next PR I will translate more chapters, this was a very short one just to see If I'm on the correct workflow.
Let me know if workflow it correct! Thanks

@leogonzalez Thank you!
We just need to add this to the english version of the chapter. This links all the different language versions together.
lang: en
ref: create-an-aws-account

@jayair alright, now I got it! Let me know if you need anything else on this chapter

@leogonzalez everything looks fine. Thanks to using a new screenshot of the website in portuguese. This could help people to understand better 😄

@leogonzalez Thank you!


[Bug]: Raster position does not match engrave position

Summary Description
A path with black fill and blue stroke loaded into meerk40t automatically generates raster and engrave operations, however the raster position doesn't coincide with engrave.
As shown in the picture below, even though the positions match in the scene, they doesn't in the simulation and when start the job.
This is the scene where it's match

This is the simulation

Tested with Executable for windows (O.S. Windows 10) and from source with linux which i use most of the time because on windows long rasters lose steps.
This issue is not present in version 0.7.8  where on file loaded it generate only the raster operation but i can create also the engrave operation by drag the element and the position match as expected.
Additional Details
This is the file i used to show the issue but also happen with text

Crash logs
No response
MeerK40t Version
0.8.1002
MeerK40t Type
Source (zip/tar file from Github)
Your Operating System
Linux

Steps to help narrowing the issue down:
a) Create a second copy of the path and set fill to none and stroke to red for the copy:

(properly on top of each other)
b) Set the stroke color to none for the first (original) element:
The boundaries of the object change and the shifted phenomenon appears:

Narrowing it down some more the graphic is put down and to the right by some amount of the stroke-width, of the invisible stroke. So when there's no stroke the pen is set to wx.TransparentPen() the width of this transparent pen is actually a lot fatter than the width used here So apparently the filled graphic is offsetting by a fractional amount of the pen width. This could be that transparent pen has a real width of 0 or that it's fat like the other pens and consequently the raster is closer.
I'm running off to the store, but that's my expert analysis. I think that rather than TransparentPen we'd need our own transparent pen that either has no width or the exact same width, though that leaves us in the position that we the stroke width matters and so we set our fill for none there.
It does narrow this thing down and the main point is that we can't allow any desync between the raster cut lines and the filled lines, because this would be a critical bug. And it needs to be fixed prior to 0.8.2. So new pen and I gotta figure out if it's moving for the lacked pen. It seemed like it didn't care that much how fat the pen was but I need to run some more tests before correcting it.

element* reify fixes the problem, which likely means it's related to #1507.
There's growing evidence that the drawing routine may need to be drawn at 1:1 and not scaled with a matrix. There's some weird rounding issues here. When we have something scaled up by like 2800x like this design it basically ticks up to a new stroke width but only at like 4px and goes from basically nothing to way too thick. In theory, this design may actually work. It could just look wrong, which is a problem in and of itself.
Also, there's a problem at the right edge too when the design is coaxed into being overlapping with the red outline, it actually loses a portion of the top right leaf. Which is a problem too.

reopening until real fixed

Hi @tatarize, with latest version that you uploaded few days ago i think the issue was solved but after the first run, that works as expected, the app want start anymore on WINDOWS 10 O.S. either with executable or from source.
I found that there is something wrong in meerk40t.log generated inside Users\NomeUtente\AppData path that i paste below. Deleting this file the app works again.
This is the error reported from executable
report_from_executable.txt
This is the error reported from source
report_from_source.txt
This is the meerk40t.log inside AppData path
meerk40t.log
I hope that can help you to discover this little bug.

This should be fixed. It threw a big wrench in things for a bit but it's much better to scale the geometry when converting to path and then also scale the stroke-width there too. Which seems to fix this and some other problems.
If you delete the meerk40t.log file it might start recovering. But, I'll correct the info label there since it's failing the jobname for history. I think jpirnay tried to warn me of similar things, this bit of code has been a pain for a bit. Lemme fix it up really fast. That's certainly enough code to fix it.

Okay, fixed. Pushed a new beta.

Thanks @tatarize it works as expected now and we can close this issue.
There is another little issue in the new release, not related with this.
When i load svg file the operations tree not refresh and show the '+' button on the left of the operation so as there aren't operations assigned as shown in the picture below

then just a simple click on the operation and it refresh

This is just a GUI that dosn't refresh the operations tree but the operations are assigned correctly and also showed in simulation.

That seems to be a wxpython 4.2 issue - addressed in PR


v1.1.0

Added an option to HocForm to run sync validation on blur events
Updated changelog for v1.1.0

Pull Request Test Coverage Report for Build 29

11 of 12 (91.67%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.02%) to 90.789%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Field.js
0
1
0.0%

Totals

Change from base Build 19:
4.02%

Covered Lines:
41

Relevant Lines:
43

💛  - Coveralls