add name of environment to html header

currently the html header has Sinopia Linked Data Editor
add name of environment so that in your web browser title you can see the name of the environment at a glance

Will be somewhat of a challenge given the HTML structure currently setup in the code (i.e. the fact that the  element is currently outside the main  component).  Per conversation with @justinlittman this morning, deferring at least until LD4P/sinopia#268 is complete

Timebox at 30 minutes research and report back.


Spelling Corrector

Here will create a tkinter based GUI application which will allow user to correct the wrong spelling correctly.

@Hansajith98 can i work on this under hacktoberfest?


Opacity control and deselect button disappeared

@Rathunter
as you removed the OK button by default, the important controls have disappeared

done


Need a constructor type to omit optional attributes and support nil for defaults

I use dry-struct to build my domain entities and value objects.
Some entities has a lot of optional fields, that I don't want to specify.
I can use constructor_type :schema, but it allows to 'forget' required key.
I can use strit_with_defaults and .default(nil) to all my optional fields, but Types::Strict::String.optional.default(nil) is too much as for me.
Moreover, strict_with_defaultsdoesn't accept nil value for attributes with default value.
I use default attributes defined in Entity because: a) they are often business rules b) it gives encapsulation. Application still may send nil value for that attribute, the most obvious example is FactoryGirl who builds the object. And it's still desirable for Entity to set default value.
Currently, no constructor type fits this needs.
P.S. Does it make sense to consider .optional attribute as one which has .default(nil)?

Some entities has a lot of optional fields, that I don't want to specify.
I can use constructor_type :schema, but it allows to 'forget' required key.
I can use strit_with_defaults and .default(nil) to all my optional fields, but Types::Strict::String.optional.default(nil) is too much as for me.

irb(main):023:0> s = Class.new(Dry::Struct) { attribute :foo, Dry::Types['string'].optional }
=> #<Class:0x007f9abf989cf0>
irb(main):024:0> s.new
=> #<#<Class:0x007f9abf989cf0> foo=nil>
irb(main):025:0> s.new(foo: nil)
=> #<#<Class:0x007f9abf989cf0> foo=nil>
irb(main):026:0> s.new(foo: "bar")
=> #<#<Class:0x007f9abf989cf0> foo="bar">

Is this what you need?

I use default attributes defined in Entity because: a) they are often business rules b) it gives encapsulation.

What's the source of data for your entities?

Moreover, strict_with_defaults doesn't accept nil value for attributes with default value.

We do not use nil as an indicator that a default value should be set. "optional" means "nil or something else", so Types::Strict::String.optional is just a shortcut for Types::Strict::Nil | Types::Strict::String, which means if you pass a nil, then nil will be set as the value.

I use default attributes defined in Entity because: a) they are often business rules b) it gives encapsulation. Application still may send nil value for that attribute, the most obvious example is FactoryGirl who builds the object. And it's still desirable for Entity to set default value.

FactoryGirl, or any test-related use cases, this is not really relevant. Testing needs tools dedicated to testing. We have rom-factory which can build structs and we can add support for setting all attributes to nil by default.

P.S. Does it make sense to consider .optional attribute as one which has .default(nil)?

No, as I mentioned above, optional means that nil is allowed to be passed as a value.

@solnic I just ran into this same issue, where some models have 'optional' attributes that are not set immediately on creation.  It would be preferable to just have optional attributes be optional in the input hash entirely rather than only optional in the sense that they can be passed with nil values.

We'll address this, related issue is dry-rb/dry-types#194


[cw3-flex/fixed-multisig] Reject proposals early

After a similar issue in dao-contracts: https://github.com/DA0-DA0/dao-contracts/issues/169.
The task is then backporting / adapting that logic here, and adding the equivalent functionality to fixed-multisig as well.

My fix for DAO DAO is available here. I am happy to undertake this myself or if anyone else wants to pick this up and cannot understand my solution, feel free to reach out!

Please submit a PR, and we review it and merge it.

Closed by #668.


[Task]: I have a problem after updating (Firefly 2.0.1) - days, linux version

Task description
unable to launch the application, an error appears:
Linux ubuntu Version: ubuntu 22.04.3 LTS  64 bits
Firefly: Found version 2.0.1 (url: firefly-iota-desktop-2.0.1.AppImage)
Bug:  Error
[714457:1009/064638.850819:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[714457:1009/064641.181171:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
Error occurred in handler for 'update-theme': TypeError: Error processing argument at index 0, conversion failure from undefined
at /tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:444038
at node:electron/js2c/browser_init:2:97909
at EventEmitter. (node:electron/js2c/browser_init:2:81422)
at EventEmitter.emit (node:events:513:28)
at EventEmitter.emit (node:domain:489:12)
at n.emit (/tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:38610)
Error occurred in handler for 'update-theme': TypeError: Error processing argument at index 0, conversion failure from undefined
at /tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:444038
at node:electron/js2c/browser_init:2:97909
at EventEmitter. (node:electron/js2c/browser_init:2:81422)
at EventEmitter.emit (node:events:513:28)
at EventEmitter.emit (node:domain:489:12)
at n.emit (/tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:38610)
Error occurred in handler for 'update-theme': TypeError: Error processing argument at index 0, conversion failure from undefined
at /tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:444038
at node:electron/js2c/browser_init:2:97909
at EventEmitter. (node:electron/js2c/browser_init:2:81422)
at EventEmitter.emit (node:events:513:28)
at EventEmitter.emit (node:domain:489:12)
at n.emit (/tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:38610)
Error occurred in handler for 'update-theme': TypeError: Error processing argument at index 0, conversion failure from undefined
at /tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:444038
at node:electron/js2c/browser_init:2:97909
at EventEmitter. (node:electron/js2c/browser_init:2:81422)
at EventEmitter.emit (node:events:513:28)
at EventEmitter.emit (node:domain:489:12)
at n.emit (/tmp/.mount_fireflbQfscU/resources/app.asar/public/build/main.js:2:38610)
[714457:1009/064644.645921:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Requirements
tell me what to do or fix the bug, thank you for your feedback
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

the latest version firefly  2.0.2 solves the problem


Fix TSM UnmarshalBinary panic

Required for all non-trivial PRs

[x] Rebased/mergable
[ ] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

If writing points ended up creating a key (measurement + tag sets) that was larger than 65535 bytes, it could overflow the length bytes in the the TSM index causing a panic when opening the file:
panic: runtime error: slice bounds out of range

goroutine 71 [running]:
github.com/influxdb/influxdb/tsdb/engine/tsm1.(*indirectIndex).UnmarshalBinary(0xc222850f00, 0x7f715
abea3c9, 0x7efa2a, 0x7efa32, 0x0, 0x0)
        /tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/reader.go:639 +0x45f

I was able to reproduce this panic in a test by writing a key of 100k bytes.
This PR checks for that condition in the TSM writer so that an error is returned if a large key is written.  It also adds validation to models.Point to prevent creating a point that would exceed the max key length.
May fix #6121 #6022 #6054 #5202

LGTM.


MLton compiletimes have increased 10x

It used to take only about a minute or two to compile with MLton, but now it takes more than 10 minutes. I wonder what happened!
I tried consolidating dependencies to avoid duplicating builds of (e.g.) CMLib, but this didn't seem to help at all.

Looks like a native amd64 codegen performance bug in MLton.  Typically, I expect that pre codegen time is about the same as amd64 code gen time, but on your dimension-terms branch, I see:
      pre codegen finished in 102.07 + 16.22 (14% GC)
      amd64 code gen finished in 622.28 + 20.92 (3% GC)

You could try compiling with -codegen c to avoid using the native codegen.

@MatthewFluet Thank you very much for the suggestion! With -codegen c, I get:
      pre codegen finished in 171.55 + 131.69 (43% GC)
      C code gen starting
      C code gen finished in 8.79 + 0.72 (8% GC)
   Compile SML finished in 180.39 + 132.41 (42% GC)

Now, it seems the bottleneck is compiling with gcc 😆
I can probably stop the builds from getting killed on Travis by making them print out MLton's output as they go rather than just dumping it to a log (Travis kills a build after around 10 minutes of no output). I guess another sanity check which I could use instead of a full MLton build is just mlton -stop tc, and just only test with SML/NJ.

Another workaround is to use travis_wait.


Added as_i64 to IValue.

Currently it is not possible to distinguish the internal representation of a number. Using to_i64 will give you the value even if its f64. The new API will return i64 if the internal representation allows it and otherwise None.
If there is another API that I can use instead, please let me know and I will close this PR.

This API is intentionally omitted, as JSON does not have different "types" of number, there is only number.
(See the section on INumber https://github.com/Diggsey/ijson#inumber)
However, there is an API INumber::has_decimal_point() that you can use to determine if the value was serialized with a decimal point or not, since this is a common way to differentiate floating point numbers in JSON.

Thanks, exactly what I was needed.


Update Composer dependencies (2022-02-09-00-05)

Visual regression test passed!
View the visual regression test report


Tech debt: BasePartialBatchProcessor response() and process_partial_response() should have the same response typing

Why is this needed?
This method https://github.com/aws-powertools/powertools-lambda-python/blob/develop/aws_lambda_powertools/utilities/batch/base.py#L256 and https://github.com/aws-powertools/powertools-lambda-python/blob/024c3f2ed8858643a2d303e5c3928aa58e168c7c/aws_lambda_powertools/utilities/batch/decorators.py#L128C16-L128C16
Should have the same response typing https://github.com/aws-powertools/powertools-lambda-python/blob/024c3f2ed8858643a2d303e5c3928aa58e168c7c/aws_lambda_powertools/utilities/batch/types.py#L32
So that users can easily guess that using one method or another produces the same output.
Which area does this relate to?
Static typing
Suggestion
I can submit a PR with the changes.
Acknowledgment

[X] This request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Hello @adriantomas! I totally agree that response() should have the same response type as process_partial_response(). When we refactored the Batch Process utility with the new process_partial_response() function, we created this type to make it easier for clients to access the properties of this response and we forget to annotate response() function, sorry for that :disappointed:.
Please, send a PR to fix this and we can merge :)
Thanks a lot


Where can I find the ROUGE-L metric mentioned in the paper?

Sorry, I may not look into your codes carefully, but could you please show me where you put the ROUGE-L implementation? Thanks.

I think you've found where it is, but let me leave a comment just in case.
The authors declared rouge scorer object here,
and filtered out instructions that have higher score than the threshold here.


Generate LUT for terrain_shadow

GOAL
https://github.com/swisstopo/topo-satromo/blob/be3f38851ebdd7f54267f8f9c469bbf99309865c/step0_processors/step0_processor_s2_sr.py#L320

have  assets for each DOY /or / solar azimut and solar zenit for the time covered by S2.  ( bin mask: 1 shadow, 0 is no shadow)
add switch to code above to use  assets instead fo caluclating terrain_shadow
use https://github.com/ChristianSteger/HORAYZON  approach / library

out of scope

other plattforms like L MODIS S3 etc, will be done later on
DSM : since not yet swisswide available

Deliverables

[ ]  for each DAY OF YEAR one COGTIFF in EPSG 32632, for each time resoltion one  band with 0 for no shadow and 1 for shadow, ending up in a total of 365 files

STEPS

[x] Define start end hours  of S2 orbits : assuming that INGESTTIME according to https://code.earthengine.google.com/197d0cb28197c8cef1646976468818aa 10:10 UTC and 10:48 UTC for all 19k+ tiles
[ ] Define temporal  daily resolution : 10 min, 15min, 30 min:  by running for one day in spring different resolutions to detect if at different altitudes / exposition the  shadow moves more than 10m in the timesspan given
[ ] upload  to collection  TERRAINSHADOW_SWISS , asset: asset name is  TERRAINSHADOW_DOY<doy[3]> , set band name to time in "08:03:31 UTC" or "080331Z"
[ ]  adapt JS Code to use  by default the assets: define DOY ,  define the BAND to use, etc
[ ]  adapt PY Code to use  by default the assets: define DOY ,  define the BAND to use, etc

@Tschoun please confirm Define start end hours of S2 orbits : assuming that INGESTTIME according to https://code.earthengine.google.com/197d0cb28197c8cef1646976468818aa 10:10 UTC and 10:48 UTC for all 19k+ tiles

Working example gridded_curved_DEM_SRTM_SCHWEIZ.py.zip
for SRTM data based on https://github.com/ChristianSteger/HORAYZON/blob/4ed462c3dc00869ab1d665c16c468af2ab1a3f57/examples/shadow/gridded_curved_DEM_SRTM.py  : The resolution 100m,
to take into account:

use swissalti or swissurface as input: for this ,the "load dem " function needs to be adapted lon, lat, elevation = hray.load_dem.srtm(file_dem, domain_outer, engine="gdal") to use swissalti or swissurface as input. Inspiration can be found here https://github.com/ChristianSteger/HORAYZON/blob/4ed462c3dc00869ab1d665c16c468af2ab1a3f57/horayzon/load_dem.py which does contains hints
make a mask with 0 and 1 ( currently : 0: illuminated, 1: self-shaded, 2: terrain-shaded, 3: not consider)
set band names to minute of the day , so it can be filtered for it. (currently mmhh, easier for inspection)

Evaluated the use of r.sunmask.datetime  of GRASS via QGIS: the approach is simpler than HORAYZON but seems to work. Example with 10x10 resampled for a specific day 2024-04-05 in  10:16 UTC
https://data.geo.admin.ch/browser/index.html#/collections/ch.swisstopo.swisseo_s2-sr_v100/items/2024-04-05t101559?.asset=asset-ch.swisstopo.swisseo_s2-sr_v100_mosaic_2024-04-05t101559_bands-10m.tif

result SHADOW  in RED 10:10, BLUE 10:15 , YELLOW 10:20

if we zoom in , we see that within 5min in April we have 10m changes in shadow:

Key findings

[x]  r.sunmask.datetime  fits the purpose in combination with swissurface3d
[x] 5min steps do make sense
[ ] computational time for whole of switzerland
[x] python script to generate all DOYS qgis_grass_DOY_SHADOW.py.zip is ready generating this file 001_shadow_SWISSSURFACE.tif
001_shadow_SWISSSURFACE.tif.zip

next steps

merge swisssurface and swissalti to fill misisng data of swisssurface in "Meiringen"
resample merged result to  S2 GRI 10x10m (might use the hightest cell of swissalti in the GRI cell)

Test_Swisssurface  with max Values in 10meters in 32632
test_small.zip

File https://github.com/swisstopo/topo-satromo/issues/83#issuecomment-2168122131 successfully tested.

[X]  python script (single date and multiprocessing) and result for the https://data.geo.admin.ch/ch.swisstopo.swisseo_s2-sr_v100/2024-04-05t101559/ch.swisstopo.swisseo_s2-sr_v100_mosaic_2024-04-05t101559_bands-10m.tif dataset in
test_py_tiff.zip

[ ]  Generierung der Assets pro DOY  https://code.earthengine.google.com/ccfa64fe9827c93e2986e693983332e2 ( INTEGRATION

[ ] JS GEE PRODUCTION: S2_sr_singleDay_v01 https://code.earthengine.google.com/b1f9e9569efb8a1b47045ea9e262cee7 ( to do Switch terrain_shadow_collection  to production

ist done: https://github.com/swisstopo/topo-satromo/commit/c840c880e91b6157f384a68bc674c2264fa223f3  ready for PROD


Documentation and Function Implementation for GetPoint()'s Parameters Don't Match

The documentation on page 8 states that GetPoint() takes in a float as a parameter, as shown in the below pictures.

However, the actual code implementation of GetPoint() takes only an integer as input, as shown below.

Anyone Found THE SOLUTION ?


chore: audit Hot Chocolate

https://chillicream.com/docs/hotchocolate

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Include auto-compile option

Eventually, I would like to see a coffeescript-like autocompiler that watches for python files in one directory to be changed, and automatically compiles them to Javascript in another directory.
http://coffeescript.org/#usage

I can certainly see the utility for that. What I do currently, is serve dynamically-compiled pyjaco code through a WSGI I wrote. It would be nice to have other solutions as well. I'm working on other things at the moment, but Patches Welcome :-)

I am just starting to understand the code, but I'll probably be able to submit a patch. Is the WSGI available on github or anywhere, for reference?

Not as such, because it's part of another project. However, it's quite simple. This is the gist of it:
(init: self.v = pyjaco.Compiler([])
def code(self, method, title = None):
    self.pyjaco_code.append(self.v.compile_method(method, title, True))

def data(self, key, value):
    self.pyjaco_data.append(self.v.compile_data(key, value))

Then pyjaco_data and pyjaco_code contains lists that can be "\n".join()'ed, for example.
If you need more references for how the compiler interface works, you can look at pyjs.py and htmltest.py. I hope this helps?

A code monitor that works for me is in the patches at https://github.com/chrivers/pyjaco/pull/6

A code monitor that works for me is in the patches at https://github.com/chrivers/pyjaco/pull/6

Since pull request #6 is also issue #6, this is now a duplicate of Issue 6.


Fixed Array#|

This
[1, 1, 2, 3, 3] | [4, 5, 5, 6] # => [1, 1, 2, 3, 3, 4, 5, 5, 6]

should return [1, 2, 3, 4, 5, 6].

Thanks! I didn't know the duplicated elements were removed from both arrays. I'll fix Array#& after this.

By the way, there's no need to fork the repository each time you want to make a pull request.

Yes, just create branches.  I never used it before discovering Crystal.
@jhass Thanks, I'll definitely take a good look at that :)


pybigtools should allow setting autosql

However, the autoSql still claims it's a bed3. Does autoSql have a way to declare at least something like "bed3+"?
Beyond that, it would be nice to able to store a custom autoSql definition, which we can use in bioframe.
Since in bioframe we can already infer common bed schemas from a dataframe and map numpy/pandas dtypes to autoSql types, we should be able to generate valid autoSql schemas from an input dataframe. Being able to store those upon writing a bigBed would keep that information in-band (and we could use it to automatically parse fields on read).
Originally posted by @nvictus in https://github.com/jackh726/bigtools/issues/54#issuecomment-2454495341

Add an "autosql" option to BigBedWrite::write on master.
Realized that it might be nice to just overall provide more options when writing bbi files in python (the Rust API, and even CLI, offers a lot of options not currently exposed via the python API)


Add Geo Targeting To Links

The look and feel of this project is amazing. I would like to suggest a few things starting with the ability to add geo targeting to links.
If the shortlink was for an amazon product and you wanted to include the UK link, the US, AU, DE, FR etc when you visited the shortlink, it would determine your country geo location and then use the correct url for the country.
This ability would also be great for websites that have multiple languages (eg go to the FRENCH Language version if geo located in France).
Or even to redirect to the site that will load the fastest (eg. website.com/au or website.com/uk)
Not everyone would want this feature on every link either, but the ability to be able to have a "SmartLink" would be awesome!

Great idea... I think we could have power-user features like creating dynamic links in the advanced-features options in v2 of Pckd
Like creating links with Jinja-Like templating syntax depending upon the data from the client, like geolocation, device theme, etc.
Will be definitely looking into it...


Proposal: Rename the benchmark command to evaluate

Don't call it a benchmarking tool.
There are three reasons that benchmark is a bad name for the default command:

It does more than just benchmark. It also discovers and builds.
We're trying to get away from "its a benchmarking tool" to "its a tool for evaluating the landscape of models, software, and hardware". Evaluating.
We're going to introduce a dedicated benchmarking command with #19

I propose to rename turnkey benchmark to turnkey evaluate, and turnkeyml.benchmark_files() to turnkey.evaluate_files().

may be related to #20

We wont be doing this. However, "evaluation" can be used in docs as a superset of "build and benchmark". Closing.


Are there any restrictions on test data?

I use DeepSADTS to train. My training data is 8,000. When I tested, I wanted to use single row data to make predictions but an error occurred.
I found that at least 100 rows of data are required for testing. Is there any limit on the number of pieces of test data?
Please help me answer it, thank you
The following is the error message
Traceback (most recent call last):
File "/home/chris/PycharmProjects/pythonProject/numops/DeepOD/LSTM.py", line 55, in
scores = clf.decision_function(df_test)
File "/home/chris/PycharmProjects/pythonProject/numops/DeepOD/deepod/core/base_model.py", line 326, in decision_function
z, scores = self._inference()
File "/home/chris/PycharmProjects/pythonProject/numops/DeepOD/deepod/core/base_model.py", line 478, in _inference
z = torch.cat(z_lst).data.cpu().numpy()
RuntimeError: torch.cat(): expected a non-empty list of Tensors

You are using anomaly detection for time series data. These anomaly detectors use a sliding window to split the whole data into sub-sequences for training and inference. Each individual data sample in time series anomaly detection should be a series of data points. You can use seq_len to set this length.
Thanks for raising this issue.

Thank you for your explanation~


Incorrect name in "Missed call" dialog.

When I miss a call, it says "Missed call from <my name>." This has happened at least twice.
(It should be "Missed call by <caller's name>.")
Using YakYak 1.4.0 on Windows 10 x64.

thanx

The correction for this should be at src/views/notification.coffee


UI for security stuff

Add ui for changing 'security' stuff in build.yaml
defaults:
  SECURITY:
    APP_KEY_ALGORITHM: ed25519
    APP_KEY_NAME: threefold
    PIN_LOCKED: true
    SECURE: true

Remove 'SECURE' from build.yaml in old files , but I think there's already a migration which does that

Issue migrated to our-city-app/plugin-mobicage-control-center#3


Text files not downloading properly

The script appears to have an issue with download text files, such as .pdf, .txt, and .docx. While images download with their exact filename (ie <file_id>.filename.png), text files appear to download as the page id and no extension.

Text uses the format
https://d.facdn.net/art/USER/stories/ID/ID.FILE.EXT
Whereas images and music use
https://d.facdn.net/art/USER/ID/ID.FILE.EXT
This caused cut to grab the ID bit instead of the ID.FILE.EXT bit.

I'm going to close this because it seems to be fixed.


Trim Logic layer interface

Description
This is for Byron proxy support. It makes it easier to implement by removing some unnecessary burdens.
micro-recursion-schemes replaced by recursion-schemes because the former can't build on 8.6.* (unmaintained, template-haskell bound is too low).
Applications which will not generate any SSC data need not come up with a StakeholderId, so ourStakeholderId is removed from Logic.
SecurityParams was dubiously checked in block header announcement to generate a failure, but this feature is AFAIK never used, so SecurityParams is removed from Logic.
Removed getTipHeader, which was not necessary.
Linked issue

Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

How to merge
Send the message bors r+ to merge this PR. For more information, see
docs/how-to/bors.md.

bors r+

bors r+


[NEW ALGORITHM] Suffix Automaton Algorithm

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM]
Suffix Automaton Algorithm
About:
Propose a new algorithm to be added to the repository,
Build a suffix automaton for a given string to efficiently solve pattern matching and substring problems.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

I've raised PR please merge it.


lvm above raid does not recognized

I have block device structure:
sda
├─sda1
│ └─md127
│   └─vg_encl_rd1-lv_encl_rd1
└─sda2
  └─vg_encl_rd0-lv_encl_rd0
sdb
├─sdb1
│ └─md127
│   └─vg_encl_rd1-lv_encl_rd1
└─sdb2
  └─vg_encl_rd0-lv_encl_rd0

booster.yaml:
universal: false
modules: sg,scsi_mod,usb_storage,uas,xhci_hcd,xhci_pci,raid0,raid1,raid10,dm_thin_pool,dm_cache_smq,amd_rng,efivarfs,xfs
modules_force_load: sg,scsi_mod,usb_storage,uas,xhci_hcd,xhci_pci,raid0,raid1,raid10,dm_thin_pool,dm_cache_smq,amd_rng,efivarfs,xfs
compression: zstd
strip: false
enable_lvm: true
enable_mdraid: true

booster creates md device and vg_encl_rd0-lv_encl_rd0, but not vg_encl_rd1-lv_encl_rd1.
From debug log it looks like lvm scan happens before creating md device. When md device created udev action appears but no further steps by booster happens.

I have block device structure

Could you please also print the version for a booted system using lsblk
It is unclear why the boot process is stuck. Could you please add booster.log=debug,console boot parameter, capture the output and print it here?

$ lsblk -V
lsblk from util-linux 2.39.4

Booster log I can not capture any more. Due to certain circumstances, I no longer have a raid environment.

lsblk -v show nothing because the machine don't use virtio driver:
 -v, --virtio         output info about virtio devices

Are you saying that you don't have the original problem anymore and this issue can be closed now?

The problem potentialy exists in booster, but I already move from mdraid and can not provide logs. So the issue may be closed.


Add missing env variable forwarding in Makefile

What this PR does / why we need it: This adds missing GUESTFSTOOLS_VERSION env variable that should be forwarded through the Makefile into the rpm-deps.sh script.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): None
Special notes for your reviewer: None
Release note:

NONE

/lgtm
/approve


Detailed memory usage report

Major memory consumers should track memory usage and that should be printed in the informant periodically and reported to telemetry. This includes

[ ] RocksDB cache size
[ ] state-db pruning and finalisation overlays
[ ] libp2p buffers?
[ ] Block queue
[ ] Consensus and gossip message store
[ ] Transaction queue

This is also a candidate for #814

use heapsize's heap_size_of_children?

use heapsize's heap_size_of_children?

Probably. Except for RocksDB that has its own API for reporting memory usage.


Please consider adding a license

Thanks for the great essay and sharing this code. Please consider adding a license to allow others to build on this work.

I added the MIT license! Glad you found this valuable : )


Belle-whisper-large-v3-zh 不支持 ValueError: Invalid model size 'Belle-whisper-large-v3-zh', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3

ValueError: Invalid model size 'Belle-whisper-large-v3-zh', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3

model_size_or_path: Size of the model to use (tiny, tiny.en, base, base.en,
small, small.en, distil-small.en, medium, medium.en, distil-medium.en, large-v1,
large-v2, large-v3, large, distil-large-v2 or distil-large-v3), a path to a
converted model directory, or a CTranslate2-converted Whisper model ID from the HF Hub.
When a size or a model ID is configured, the converted model is downloaded
from the Hugging Face Hub.

You can replace 'Belle-whisper-large-v3-zh with the path to your model

@trungkienbkhn I tried it but still got an error.
File "main.py", line 19, in <module>
    model = WhisperModel("/home/xxx/work/faster-whisper/models--BELLE-2--Belle-whisper-large-v3-zh/snapshots/5b48db40b2d67858c5ddc3c596a3c9388ea23fe4", device="cuda", compute_type="float16", local_files_only=True)
  File "/home/xxx/miniconda3/envs/faster-whisper/lib/python3.10/site-packages/faster_whisper/transcribe.py", line 146, in __init__
    self.model = ctranslate2.models.Whisper(
RuntimeError: Unable to open file 'model.bin' in model '/home/xxx/work/faster-whisper/models--BELLE-2--Belle-whisper-large-v3-zh/snapshots/5b48db40b2d67858c5ddc3c596a3c9388ea23fe4'

+1

ct2-transformers-converter --model BELLE-2/Belle-whisper-large-v3-zh --output_dir models/faster-whisper-large-v3 --copy_files tokenizer.json preprocessor_config.json


Documentation needed

Edit the readme, contribution or any other file if u think some improvements can be done.
You can add any missing files too if u find
Don't submit useless PR or issue, else you would be marked as spam/Invalid

I think I can edit the readme and can contribute in some other fields. So assign me this task.

Go ahead @devanshtivari

#15


Switch from using globalshift to using individual phases for each eigenspace

Currently it is not possible for e.g. XPowGate to represent the operation |-><-| - |+><+|. The reason is because the phase angle on the + state is defined to be a multiple of the phase angle on the - state (|-> angle in half turns = phase exponent, |+> phase angle in half turns = phase exponent * global shift).
This notion of a global shift is unique to EigenGate, and not going to be familiar to users.
Because it's both unfamiliar and inflexible, we should change it. I recommend that we change to separately storing the phase to apply to each eigenstate. This is how PauliString works, and I'm feeling much better about that class after writing it than I was/am about XPowGate.
This change would involve fixing many gates, but mostly all of them are implemented in terms of EigenGate.

I can take a stab at this. My proposal is as follows:
Remove _global_shift entirely
Add abstract methods _default_eigen_shifts and _eigen_spaces
Make _eigen_shifts an instance variable and optional keyword argument in the constructor
Refactor _eigen_components to build output from eigen_spaces and self._eigen_shifts
Add helper method with_eigen_shifts to produce an otherwise identical gate with the provided shifts
Add validation method to ensure that user provided shifts passed into with_eigen_shifts or the constructor are consistent with default_eigen_shifts.
Adjust _value_equality_values to compare eigenvalues and _eigen_spaces since these are really the two key factors in defining what an eigen_gate does and will account for different combinations of eigen_shifts and exponents landing on the same set of eigenvalues. This seems like it could also resolve equality issues brought up in #1179 .
How does this sound?

I think this would be reasonable. Slightly clunky for gates that have three eigenvalues, but I don't see how to avoid that.

Hey, @c-poole! Are you working on this? I'd like to fix #1179 before its birthday and it seems like your suggested approach addresses both issues. I can implement it, unless of course you're already on it.

I have this partially implemented. I can finish it up reasonably soon. I'll make this my next focus.

We determined in the meeting today that we'll be introducing a new (name TBD) class to replace EigenGate and move all of the Cirq native gates to use the new class with it's greater flexibility instead and figure out how we want to phase out EigenGate in favor of new class (name TBD).

@tanujkhattar @MichaelBroughton this seems like a big pre 1.0 item if we ever want to do it.

From cirq sync:
It's worth creating a new gate type but moving all existing gates before cirq 1.0 will be a lot of work and we don't have the bandwidth right now to get this done.


Allow specify custom argument for dnd instead of event

This is useful in case event is a class instance (dnd plugin needs a plain object), so it can be converted to json before drag; or in case you want to modify the object for some reason.

Any reasons to close this? This can be very helpful if events are not simple POJO but some class instance objects with non-serializable methods.

we moved off of react-dnd. If there is an equivalent hook in the new dnd hook i'd be happy to merge something in


Let's set up the /debates/ page.

TODO:

Figure out what DebateList should display.
Make DebateList work.


[release-1.21] Dispatch to rancher/system-agent-installer-k3s when tagged

Backport of https://github.com/k3s-io/k3s/pull/3589
Proposed Changes
Add additional steps to dispatch to send a dispatch event to the rancher/system-agent-installer-k3s repository to create a tag when a new release is made
Types of Changes
CI change
Verification
Cut a release, and observe that a corresponding rancher/system-agent-installer-k3s tag is created
Linked Issues
https://github.com/k3s-io/k3s/issues/3582
User-Facing Change

NONE

Further Comments

Will rebase once https://github.com/k3s-io/k3s/pull/3592 is merged which will allow CI to pass


Backend pool 4

The Backend pool 4 on the diagram is not connected anywhere and floating box. It should be wired.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 166e6517-9190-c9fc-5ad5-757ad64bb3fc
Version Independent ID: 0e67beb9-827a-cafb-b0aa-6d38d32475f4
Content: Azure Application Gateway configuration overview
Content Source: articles/application-gateway/configuration-overview.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: absha

@vhorne , Can you please fix the flow diagram for Backend pool 4?

#reassign:surajmb
@surajmb, can you fix your diagram?

If there are no certs, rules, or probes to the backend pool, it won't appear to have a connection in this diagram.
I'll investigate further, but this might be fine as-is.  This is an old issue and I'm closing those that are over a year old, in order to prioritize and cross reference each. We have several very old issues open currently. #please-close


Log.error should stringy the error object

we are using the log.error method to log the error. some time error object has some circular reference, which causing issue on the application level. please advice

Loglevel is intentionally not going to do this: the goal is to be a simple wrapper around console.log to let you control logging levels dynamically from your code, and to make it behave consistently across different platforms (so if something consistently fails everywhere when using console.log, then it should also fail when using loglevel).
You should do whatever you'd normally do when logging with console.log directly.
If you're seeing circular reference issues, that probably means you're using JSON.stringify, which can cause this. That's an issue in your code, see https://stackoverflow.com/questions/11616630/how-can-i-print-a-circular-structure-in-a-json-like-format for more details on how to deal with this. Alternatively, in most environments you can just pass data directly without stringifying it, and console.log on your platform will probably do the sensible thing for you.
As a further option, you could create a plugin to handle this, by automatically stringifying content for you. I generally wouldn't encourage that, but if you'd like to be able to change global behaviour when logging then that's the way to do it: https://github.com/pimterry/loglevel#writing-plugins

Loglevel is intentionally not going to do this: the goal is to be a simple wrapper around console.log to let you control logging levels dynamically from your code, and to make it behave consistently across different platforms (so if something consistently fails everywhere when using console.log, then it should also fail when using loglevel).
You should do whatever you'd normally do when logging with console.log directly.
If you're seeing circular reference issues, that probably means you're using JSON.stringify, which can cause this. That's an issue in your code, see https://stackoverflow.com/questions/11616630/how-can-i-print-a-circular-structure-in-a-json-like-format for more details on how to deal with this. Alternatively, in most environments you can just pass data directly without stringifying it, and console.log on your platform will probably do the sensible thing for you.
As a further option, you could create a plugin to handle this, by automatically stringifying content for you. I generally wouldn't encourage that, but if you'd like to be able to change global behaviour when logging then that's the way to do it: https://github.com/pimterry/loglevel#writing-plugins


python310Packages.whodap: 0.1.5 -> 0.1.6

Description of changes
https://github.com/pogzyb/whodap/releases/tag/v0.1.6

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

4 packages built:

python310Packages.asyncwhois
python310Packages.whodap
python39Packages.asyncwhois
python39Packages.whodap


Script update

added yarn start

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


Fix for issue #2860

Changing all occurences of DateTime.Now to DateTime.UtcNow as per issue #2860

Hi @AlexBHarley, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@AlexBHarley, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Thanks @AlexBHarley! Could you please reopen this PR against the dev branch?

Opened #2874 and closed this

Thanks @AlexBHarley


Configure Pod Service Account for Kubernetes Backend

In the application configuration for Kubernetes backend users it would be great to be able to assign a service account to the application pods. Something like this:
specs:
      - id: my_example_app
        display-name: My Example App
        description: Super cool example
        container-image:<PHONE_NUMBER>.dkr.ecr.us-beast-1.amazonaws.com/my-repo/image:3
        service-account: svc-forecast-dashboard

This would allow AWS EKS users to use Kubernetes service account to IAM role bindings to enable connectivity to Hive, Aurora, or any other platform dependencies.

HI @fifthpostulate
In a next release, ShinyProxy supports a feature called Kubernetes Pod Patches. This feature allows you to specify a patch in JSON Patch format (http://jsonpatch.com/) which is applied to the definition of the pod before it is created by Kubernetes.
Using this patch you can easily change the serviceAccount, or even change the namespace of a specific pod.
Here is an example:

  - id: 01_hello
    displayName: Hello Application
    description: Application which demonstrates the basics of a Shiny app
    containerCmd: ["R", "-e", "shinyproxy::run_01_hello()"]
    containerImage: openanalytics/shinyproxy-demo
    kubernetes-pod-patches: |
     - op: add
       path: /spec/serviceAccountName
       value: my-serviceaccount
     - op: replace
       path: /metadata/namespace
       value: my-namespace

Thanks @LEDfan, that is even better. Is there an eta on the next release?


(WIP) API client connector wizard additional work

PR Storybook available here

PR Storybook available here

PR Storybook available here

PR Storybook available here

PR Storybook available here


Manual editing of data and forcing sync

So I am using local development and the litefs-example as a base to build out my schema and test some stuff.
One of the things I did was use docker compose to mount the volumes locally, so I view them in my IDE so I can use the SQL tools with the file directly, since it's not exposed like a traditional server.
One of my observations, is that I can not manually add data for testing purposes without causing a checksum issue with LTX as manual changes are not identified by the LTX file and checksum does not match.
I discovered by deleting the LTX file of the primary, and then triggering a insert (generate button on the example repo), a new LTX file is generated for both the primary and replica which basically resets the replica to match the primary.
This feels like a command that should be possible, where I can restart the docker images and pass in a argument to run a lifefs command to wipe the LTX file, and reset the replica to match the primary db without inserting data.
I know i can export and import. And I played with the idea of doing a export, and then reimporting and having a shared mount to transition the file back and forth. But this was problematic with version 0.5.0. Version 0.5.4 seems to handle these issues better, and will automatically recover on the above.
litefs -force
or
litefs -reset
or something like git to specify the source
litefs -rebase primary
Just a thought, but loving this. I know this is a odd use case, but I am trying to avoid having to write a script or insert data from a app, or in the SQL shell within the image to try things.
If there is a alternate way for me to solve this problem, that is cleaner, let me know.

Hmm, I'm not sure I understand the use case completely. Can you run rm -rf $REPLICA_DATA_DIR/dbs to clear out the replica's files? It should resync with the primary automatically then.
If you're trying to insert data from outside the Docker image, we are planning to add an HTTP Query API (https://github.com/superfly/litefs/issues/326) that would let you curl a SQL command in (so long as you expose the LiteFS port, 20202).


Fix the flaky pool test

I can't quite work out the mechanism at play here - but it is http transport magic so im not sure i ever will

im going to rerun the workflow a few times - to 'confirm' the values are not very flaky

im going to rerun the workflow a few times - to 'confirm' the values are not very flaky

You could temporarily set parallelism: 50 in the test job?

im going to rerun the workflow a few times - to 'confirm' the values are not very flaky

You could temporarily set parallelism: 50 in the test job?

heh - good plan


fix: bumps to AzureRM 4, deps updates

📲 What

Bumps AzureRM to 4
Include lockfile
Bumps other deps
Moves var and output to correct files

🤔 Why
New stacks-terraform app needs v4, and security updates
🛠 How
👀 Evidence
🕵 How to test
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

/azp run

/azp run

/azp run

This isn't an us problem... https://github.com/jeremylong/DependencyCheck/issues/7067


Integrate make TRE STOP / START to the UI

Integrate make tre-stop / tre-start to the UI

Have you considered that if the system is down/stopped there would e a problem issuing the api call to bring it up?
Even if we'd have kept the API up, wed have an issue since other components (like f/w) are down and traffic is routed through them

good point.


naming-convention rule fails when querying __typename

Describe the bug

The __typename meta-field is provided by the GraphQL specification as a way to introspect the current type at any point in a query. This is useful, for example, when using object spreads, e.g.:
mutation DoSomething {
  doSomething(input: ...) {
    userErrors {
      ... on Error {
        message
        path
        __typename
      }
    }
    ...
}

In the above example, __typename allows the client to know the specific type of errors that occurred.
There is currently no way to allow this without setting leadingUnderscore to allow, which would also allow any other underscore-preceded field name.
To Reproduce
Steps to reproduce the behavior:

git clone git@github.com:rintaun/graphql-eslint-naming-convention.git
npm install
npm run lint

Expected behavior

Linting passes, perhaps by one of the following mechanisms:

just ignoring __typename
having a configuration option to add exceptions for particular field names, i.e. __typename
ignoring anything beginning with __, as that prefix is reserved by GraphQL introspection

I think that option 3 would likely be simplest to implement and use.
Environment:

OS: Ubuntu 18.04.2
@graphql-eslint/...: 2.2.0
NodeJS: 14.4.0 / 16.10.0

Additional context

N/A

Hi @rintaun 👍, thanks for the report! Nice catch
You are right, @dotansimha I think we need to ignore SelectionSet fields, and only check for trailing/leading underscore if there is an alias renaming. I added a fix. We can fix this on the next major release with new options API

Fixed in<EMAIL_ADDRESS>


Hiding a column

Would it be possible to implement something to hide columns?
I was thinking about maybe the classes s0 m0 l0?
That way I could hide certain columns on mobile:
<!-- Will not be shown on mobile -->
<div class="s0 m6">
Only for medium and large devices!
</div>

Thank you for this awesome element!

Yes! Great idea! Sorry for the late reply -- I have been very busy lately.
I will work on this soon!

Done! Just update and use the magic!

Love this!


small fixes documentation

for electrumX the example usage of the balance function contained a wrong console.log(utxo), instead of console.log(balance)
the price examples contain console.err(err) which should be console.error(err)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How do I use this?

I installed languagetool and english support, but I have no idea how to run the check?
I tried searching for "check" and "language", "english", "grammar" commands and so on but no luck for me.
I even tried changing programming language to english lol.
No info in the readme, no docs...
That should be like second thing in the readme

i agree.. total lack of readme on minimal use of this tool
disinstalling it

As with most similar Visual Studio Code extensions, behavior is automatic.  You open up a file type that is supported by the extension (documented in the README) and squiggles should appear under grammar issues.

ahh thank you @adamvoss it seems it doesn't work for me, then!

Fix the readme then. First of all:
plaintext or cleartext is unencrypted information
plain text is the data (e.g. file contents) that represent only characters of readable material
And second of all
Add: "Works only in .txt and .md files"
And that isn't optimal that you have to cut text from a file and paste it in to md file and then paste it back. The whole point of installing this kind of extension is to use it in place...

i agree.. total lack of readme on minimal use of this tool
disinstalling it

Do you have Java 8 on your computer?

ahh thank you @adamvoss it seems it doesn't work for me, then!

Do you have Java 8 installed on your computer?

ahh thank you @adamvoss it seems it doesn't work for me, then!

I had the same problem, but then I read the readme file and saw that Java 8+ was required and that it was not installed on my computer. That solves my problem.


Fixed fonts issue

Now I target all paragraphs and headers and "Poppins" was replaced by IBM Plex Sans through whole website

Sorry for next pull fequest i just didn't know how to add this file without it. Sorry

I would like also delete poppins font  link from index  header but i don't won't to create new pr as you asked

So sorry again for next pr i will find a way to don't do it in the future


[Fix #206] Fix a false positive for Rails/RakeEnvironment when using Capistrano

It excludes the directory where Capistrano tasks are located.
Because these tasks don't need to invoke the :environment task, and the directory structure is the official way.
ref: https://github.com/capistrano/capistrano/tree/v3.12.0#capify-your-project
Fixes #206

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

CI has failed. Can you run rake generate_cops_documentation and apply it?

Oops. I updated doc and force-pushed.

Thanks!


Consider removing degree image from Skeleton class

It does not appear to be used anywhere after the graph is constructed.

It is often useful to do look at the degree image, so its creation should be its own function.


Add Instituto RadioTelevision Española

https://www.rtve.es/instituto/
https://es.wikipedia.org/wiki/Instituto_RTVE
https://es.linkedin.com/school/institutortve/
In this degree we have a subject of web audiovisual production, where we teach the creation of web for shows and streaming. The degree has a total duration of 2 years that is offered annually. Students and teachers have an email address domain<EMAIL_ADDRESS>You can see the information in the following link.
https://www.rtve.es/rtve/20170714/produccion-audiovisuales-espectaculos/1238041.shtml

@ervija84 Pull request merged. Thank you!


Describe what happens when a user exits a audience

Issue in ./help/components/audiences/publish.md
Can a section be added to this documentation that describes what happens when a user is no longer a member of a segment in CJA?
Does a segment exit event get sent to AEP from CJA or how does the user get removed from the segment in AEP?

@nhecht - I am discussing this with Trevor - ditto on your other question.

@nhecht - yes, an exit event is sent to AEP from CJA. I've updated the docs. Published soon.


Statistics footer

Fixes #741 .
Changes proposed in this PR:

show market statistics for multiple selected chainIds inside the footer

nice, functionality-wise this seems perfect on first look. I'll tinker around locally a bit to figure out how to deal with this mega tooltip visually

alright, would say this looks good enough until we move the stats to other screens in future anyway:

Did not touch core functionality but refactored everything to prevent repaints and layout reflows once values are fetched, which should be a general principle we follow. A loading spinner especially for bigger layout sections really is just an easy dev solution so we should try to not add more if we can handle it without expensive repaints, which in end always provides better user experience too.
As in this case most of the sentence will not be replaced I render the whole thing by default with 0 as fallback for all values, then only those numbers change once values are fetched, which on most viewports will prevent layout reflows.


Convert CSV to Parquet

Optimize data storage formats
If you’ve made it this far into the post, you probably have a pretty svelte app! Your input widgets are optimized to provide meaningful choices, these choices are coded as constants in your app, you’re not downloading large amounts of data over the internet unnecessarily and what data you are reading are only the rows and columns you need. But what if that’s not *fast enough?
If you’re reading large amounts of data via CSV or JSON, consider using a binary-serialized format such as Apache Parquet or Apache Arrow IPC. While CSV and JSON are convenient formats for data transport, ultimately they are optimized for humans, not computers! By using an optimized data storage format, your production app won’t spend time parsing text into data types such as integers, floats and strings, which, incredibly, can consume quite a bit of time. Additionally, binary formats often have metadata and logical partitioning such that Python can read the metadata to find exactly where the data are located, skipping entire data partitions from loading.

stick with csv as backwards compatibility issue when using Parquet


test.sh

while running the script it shows me up this error.
django.db.utils.OperationalError: FATAL:  the database system is starting up
FATAL:  the database system is starting up

The repo is now deployed with Docker- you shouldn't have to run this
script.
On Oct 7, 2016 2:11 PM, "patiladitya1011"<EMAIL_ADDRESS>wrote:
while running the script it shows me up this error.
django.db.utils.OperationalError: FATAL: the database system is starting up
FATAL: the database system is starting up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/auvsi-suas/interop/issues/185, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACOBmGwtjlOTcXGhjK8IiHnrhqv2Jvywks5qxoszgaJpZM4KRTwF
.

Thank you very much for the help.
On 07-Oct-2016 11:45 pm, "Phillip Tischler"<EMAIL_ADDRESS>wrote:

The repo is now deployed with Docker- you shouldn't have to run this
script.
On Oct 7, 2016 2:11 PM, "patiladitya1011"<EMAIL_ADDRESS>wrote:
while running the script it shows me up this error.
django.db.utils.OperationalError: FATAL: the database system is starting
up
FATAL: the database system is starting up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/auvsi-suas/interop/issues/185, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ACOBmGwtjlOTcXGhjK8IiHnrhqv2Jvywks5qxoszgaJpZM4KRTwF
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


SNRAY-115: Concept suggestion API and related changes

Codecov Report

Merging #884 (87a2857) into 8.x (be7a7a8) will increase coverage by 0.01%.
The diff coverage is 80.39%.

@@             Coverage Diff              @@
##                8.x     #884      +/-   ##
============================================
+ Coverage     62.64%   62.65%   +0.01%
- Complexity    11533    11538       +5
============================================
  Files          1712     1712
  Lines         55111    55131      +20
  Branches       5276     5277       +1
============================================
+ Hits          34524    34545      +21
  Misses        18400    18400
+ Partials       2187     2186       -1

Impacted Files
Coverage Δ

...nal/snowowl/core/request/ConceptSearchRequest.java
67.44% <0.00%> (-3.29%)
:arrow_down:

...d/datastore/index/entry/SnomedConceptDocument.java
71.83% <0.00%> (ø)

...d/datastore/request/SnomedRefSetSearchRequest.java
78.57% <0.00%> (ø)

...owowl/core/uri/DefaultResourceURIPathResolver.java
82.05% <81.81%> (-2.57%)
:arrow_down:

...ore/context/TerminologyResourceContentRequest.java
100.00% <100.00%> (ø)

...ernational/snowowl/core/request/BranchRequest.java
100.00% <100.00%> (ø)

...snowowl/core/request/ConceptSuggestionRequest.java
40.32% <100.00%> (+2.22%)
:arrow_up:

...onal/snowowl/core/uri/ResourceURIPathResolver.java
58.82% <100.00%> (+46.32%)
:arrow_up:

.../snomed/core/ecl/SnomedEclRefinementEvaluator.java
86.17% <0.00%> (+0.26%)
:arrow_up:

...ernational/snowowl/internal/eventbus/EventBus.java
68.31% <0.00%> (+0.49%)
:arrow_up:

Continue to review full report at Codecov.

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


cspec register parameter questions

so in my Fujitsu FR processor .. r4,r5,r6,r7 are the parameters registers (mostly) and 32bit, but if a longlong (int64) is passed then r4,r5 or depending on order of parameters r5,r6 or r6,r7 get bound together.
and the same can be done on the return which uses R4 but for longlongs also uses r4,r5
    <prototype name="__stdcall" extrapop="0" stackshift="0">
        <input>
            <pentry minsize="1" maxsize="4" extension="inttype">
                <register name="r4"/>
            </pentry>
			<pentry minsize="5" maxsize="8" extension="inttype">
				<addr space="join" piece1="r4" piece2="r5"/>
			</pentry>
            <pentry minsize="1" maxsize="4" extension="inttype">
                <register name="r5"/>
            </pentry>
			<pentry minsize="5" maxsize="8" extension="inttype">
				<addr space="join" piece1="r5" piece2="r6"/>
			</pentry>
            <pentry minsize="1" maxsize="4" extension="inttype">
                <register name="r6"/>
            </pentry>
			<pentry minsize="8" maxsize="8" extension="inttype">
				<addr space="join" piece1="r6" piece2="r7"/>
			</pentry>
            <pentry minsize="1" maxsize="4" extension="inttype">
                <register name="r7"/>
            </pentry>
            <pentry minsize="1" maxsize="500" align="4">
                <addr offset="0" space="stack"/>
            </pentry>
        </input>
        <output killedbycall="true">
            <pentry minsize="1" maxsize="4" extension="inttype">
                <register name="r4"/>
            </pentry>
			<pentry minsize="5" maxsize="8">
				<addr space="join" piece1="r4" piece2="r5"/>
			</pentry>
        </output>

So I found the
			<pentry minsize="5" maxsize="8">
				<addr space="join" piece1="r4" piece2="r5"/>
			</pentry>

thing and it "works" for the assignment, but input does work as I would hope, aka int, longlong, int should be r4, r5r6, r7 but the above get assigned to r4, r4r5, r5.. so is there some magic I am missing.. I read the docs https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Features/Decompiler/src/main/doc/cspec.xml but reading xml is hard..
so my first question is is there away to get auto magic parameter assignment, that bundles the registers automagically.
next question is in some code the does a int32_to_int64 convertion, the return is noted in r4,r5 which get then get moved into r5,r6 and then passed to another function, at which point the decompiler notes.
FUN_0021a0ee(param_1,CONCAT44(extraout_r4,extraout_r5)

but those are not assigned to on the prior call
int32_to_int64(param_2);

thus this assembly:
       0021a282 9f 8c 00        ldi:32     0x234b32,r12
             23 4b 32
                                                  r12 = COPY 0x234b32:4
    0021a288 9f 1c           call:D     @r12=>int32_to_int64                             longlong int32_to_int64(long par
                                                  $U1600:4 = COPY r12
                                                  r4 = COPY r5
                                                  rp = INT_ADD 0x21a288:4, 4:4
                                                  pc = COPY $U1600
                                                  CALLIND $U1600
    0021a28a 8b 54           _mov       r5,r4
                                                  r4 = COPY r5
    0021a28c 8b 56           mov        r5,r6
                                                  r6 = COPY r5
    0021a28e 8b 45           mov        r4,r5
                                                  r5 = COPY r4
    0021a290 8b 94           mov        r9,r4
                                                  r4 = COPY r9
    0021a292 8b e7           mov        r14,r7
                                                  r7 = COPY r14
    0021a294 a5 87           add2       -0x8,r7
                                                  $U440:4 = COPY 0xfffffff8:4
                                                  CF = INT_CARRY r7, $U440
                                                  VF = INT_SCARRY r7, $U440
                                                  r7 = INT_ADD r7, $U440
                                                  NF = INT_SLESS r7, 0:4
                                                  ZF = INT_EQUAL r7, 0:4
    0021a296 13 08           st         r8,@(r15,0x0 )
                                                  $U430:4 = COPY 0:4
                                                  $U12c0:4 = INT_ADD r15, $U430
                                                  STORE ram($U12c0), r8
    0021a298 c0 00           ldi:8      0x0,r0
                                                  r0 = INT_ZEXT 0:1
    0021a29a df 29           call:D     FUN_0021a0ee
                                                  $U430:4 = COPY 4:4
                                                  $U12c0:4 = INT_ADD r15, $U430
                                                  STORE ram($U12c0), r0
                                                  rp = INT_ADD 0x21a29a:4, 4:4
                                                  pc = COPY *[ram]0x21a0ee:4
                                                  CALL *[ram]0x21a0ee:4
    0021a29c 13 10           _st        r0,@(r15,0x4 )
                                                  $U430:4 = COPY 4:4
                                                  $U12c0:4 = INT_ADD r15, $U430
                                                  STORE ram($U12c0), r0

generates into:
int32_to_int64(param_2);
iVar1 = FUN_0021a0ee(param_1,CONCAT44(extraout_r4,extraout_r5),&iStack24,param_3,0);

If I understand correctly I think the first half of this may be similar to the issue in #1895 where some registers should be skipped depending on parameter order but are not.

@astrelsky similar. I would say, "am not am not sure" I am doing it correctly.. but the registier allocator does correctly allocate from the pool, it just doesn't respect the reuse of the registers.
But give I wrote the cspec file I am not sure, I have done it correctly:
so my first question is:
Q1: given I grabbed the bound logic from the output section is this the correct way to allow for bound variables.
Q2: related, this can be done with manual allocation, is the register order r4:r5 LE or BE
Q3: why does the bound variable as the output not get "set" in the decompiler output.
Q4: why does the input to the next function refer to the output variables but not understand where they came from (aka Q3)
maybe these should really be split into different question tickets..

look at #472 if you haven't come across that yet.
if you edit the function int32_to_int64 do you see the r4 input and the r4/r5 pair for the output? (is the only point of this function sign extension? so it should be touching the r5 reg (0 or 0xffffffff) and returning r4 I'd guess)
for Q2, you might just hand craft some asm (or see if you can find) any immediate values that the decompiler could use as a const.  find a function that takes a longlong (or just change the prototype of something temporarily) and try calling it with 2 ldi:32 into r4 and r5 with like 0x12345678 and 0xdeadbeef and see how it looks.  PowerPC return values might be a good reference as it has both LE and BE

Hat tip, to #472, I had found that, but I'm not "in-tune" to the java dev tool space. Thus was bashing my way through the xml file (that I found linked from your comment on 472)
the function is like:
mov r4, r5 (input r4 to lower word of output r5)
asr2 31, r4 (make r4 all 0 or 0xffffffff)
ret (in truth the return is first and the asr2 is in the delay slot)


suggestion as object

I need separate suggestion to id and label.
Id to send to backend, Label to show in list.

Has anyone figured a way to do this? I haven't looked at the API in much detail but this package seems a perfect fit with something I'm working on.

How are you guys solving this? Having to map the chosen tags back to objects with ids seems like what everyone would need?

Just wanted to make sure if this is STILL an issue,
Suggestions.js:58 Uncaught TypeError: input.replace is not a function
using an array of objects to pass to the suggestions property does not seem to work, but as suggested here #184 it has to be an array of strings. How come to readme.md suggests the prior?


Update for pandoc 2.10.1

Pandoc 2.10.1 now supports \newtheorem. This means the divit.lua filter should no longer be required, and nothing extra will be needed to add to the tex header.
It looks like the content of an environment defined by \newtheorem gets put into a div with a class name equal to the environment name. This means that if someone uses an example environment, it'll get picked up by the css, but eg currently won't.
Vanilla pandoc doesn't have full support for resetting numbers based on other counters (i.e. for numbering within sections etc.). There's also currently a conflict with the css, as my css adds the name of the environment to the start of the div, but pandoc adds the name as would be printed by latex as the first item of content.

Since my numbering script automatically adds the correct numbering (and can be with respect to sections etc.), it may be best just to remove the environment name from the content of the div and leave everything else as-is.


Support --outdirname for all MLPerf inference models and datasets

We need to support --outdirname for all the MLPerf inference models and datasets including calibration and preprocessed datasets.

[x] R-GAT
[x] Llama2-70b
[x] Mixtral-8x7b
[x] Bert
[x] Retinanet
[x] 3d-unet
[x] Resnet50
[x] Stable Diffusion
[x] GPT-J
[x] DLRMv2

Thank you @sahilavaran for fixing the issue.


add jitter to progress delay

see periodic busty patterns when orchard calls describeStep api.  Adding jitter will help spread api requests evenly over the time.

@crm-dhu Instead of changing the behavior altogether, it'd be better to support configuring a policy through https://github.com/salesforce/stubborn instead.


Add overloaded saveAll method to store collection of entities

Allow to store not just streams
Avoid synchronization

What's the reason for not using the synchronized access for the Collection overload? I am afraid the same PgBulkInsert instance is used by multiple threads, and the concurrent access to the BinaryWriter may cause problems.

I think it should not be a problem as in saveAll method there is created new instance of PgBinaryWriter for each call. Even if PgBulkInsert could be used by multipe threads but we assume that each thread is using own connection. I think that synchronized was used only for parallel streams?

 It opens its own writer, so it shouldn't be a problem. I will merge your code and release it later today. 🤝


Attempt to use prompt-toolkit as an optional option to do syntax highlighting in the console

Add the possibility of doing syntax highlighting in the friendly console from a terminal.
Without requiring prompt-toolkit as an option, make it possible to use it if it is available, in order to have syntax highlighting in the terminal.
If this can be done, it will be time to wrap up the 0.3.yyy series and jump to 0.4

There seems to be a conflict with the rich console and the ptk prompt style which yielded inconsistent colours. Putting this idea aside for now.

This will apparently be available with textual (https://github.com/willmcgugan/textual).


[DDW-755] Refactor wallet nav to use new Dropdown

This PR refactors the existing dropdown in the wallet navigation ("more") to the new react-polymorph Dropdown component.
Note: Originally the idea was also to refactor the click-to-open delegation "popup" on the delegation center (click on the cog in storybook) but when i looked into refactoring it i figured that it's already quite customized and would take big effort to refactor to the general purpose RP dropdown component (so there wouldn't be many gains compared to the current way it's based on select component).
Screenshots

Before

After

Testing Checklist

Slack QA thread
[ ] Test the "more" dropdown in the wallet navigation

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@DominikGuzei On the default and smaller resolutions, the second item is split in two rows. Also, the alignment is different from the screenshots. Can this be improved?

@a-rukin can you please make sure the font size and the colors are fine? 🙏

for me it shows strange:

sticked to the right
strange width (should be just text width + 24px (12 left and right)
and has strange fixed position (screenshot below)

@a-rukin @gnpf that's really weird, in local Daedalus for me everything looks correct but i can see the issues you mentoined in the storybook build 🤔 something is off here, need to investigate!

@nikolaglumac no, as mentioned in the PR description the staking delegation dropdown was not refactored since it is customized to a degree where refactoring to the new dropdown component would not bring many benefits apart from a lot of extra work.

Great work @DominikGuzei 💯

Goot catch @DmitriiGaico!
@DominikGuzei it actually looks like the content in Japanese is cut off 😱

Hope it is a quick fix @DominikGuzei 🙏

@DominikGuzei this commit https://github.com/input-output-hk/daedalus/pull/1593/commits/84933f1fa6c47f500fd5dd4bc1b62cb7aeef9d14 fixes a bug which was introduced in the scope of DDW-33 task: https://github.com/input-output-hk/daedalus/blame/develop/source/renderer/app/stores/WalletsStore.js#L399
I've checked the bug @DmitriiGaico reported and it looks like it is a React-Polymorph issue with open state handling due to hover and click events...

@DmitriiGaico please re-test - the issues with the "more" button should now be fixed 👍

@DominikGuzei Great, i'll fire it up once build is ready! Thanks!

@DominikGuzei yes - @DmitriiGaico found it. He will post a report.

@DominikGuzei Hi Dom!
Please see my findings.
When you select "Settings" or "UTXO" the selected Option Should be Bold. If you remain at selected screen and hover over More again The selected option should be Bold but without the background.
I'm attaching records for a reference.
This is how it works Currently in RC2 - All Green.

And here How it works in PR build - Issue.

@nikolaglumac Nikola, please comment if we keep the RC2 logic fully or DropDown should be closed once you select the Settings or UTXO.

@DominikGuzei Hello Dominik! Do you have any updates for this PR?
Thank you in advance!

@nikolaglumac @DmitriiGaico @gnpf i fixed the remaining issue (selected dropdown option is bold now & dropdown hover covers select options within content area (e.g settings)) and this PR is ready for final review (it is also a pre-requesite to the numeric input number format feature, so it's important to get this merged soon :)


accountcode or accountCode that is the the question

Hi, thaks a lot for your work
I've found thath BridgeEnterEvent sonmetimes Uses "accountCode" and other times "accountcode"
asteriusk-java 2.0.2
asterisk from ubuntu 18.04
client jitsi
Tomcat + Atmosphere + mysql + asteriusk-java 2.0.2 Contact center Real Time with push event application

Both are ok since all names are lowercased:
String name = line.substring(0, delimiterIndex).toLowerCase(Locale.ENGLISH).trim();


Default $id for BaseDataProvider

What steps will reproduce the problem?
Add multiple dataproviders to a page, forget to set an id.
What is the expected result?
Pagination works.
What do you get instead?
Pagination works globally, all dataproviders get paged.
Additional info
    /**
     * @var string an ID that uniquely identifies the data provider among all data providers.
     * You should set this property if the same page contains two or more different data providers.
     * Otherwise, the [[pagination]] and [[sort]] may not work properly.
     */

Proposed solution
Why not add a default increasing id to dataproviders in the same way as we do for widgets? There is no downside to having an ID, as far as I can tell. If needed we could even have the first id be the empty string so there is no BC issue.

Do you mean multiple grids?

@samdark Yes I mean multiple grids, and thus multiple data providers; the code snippet is a source comment from  the baseDataProvider class.
I'd propose to implement a simple static counter that sets an id for all but the first active data provider, in the same manner it is done for widgets; this will:

Not change anything if you have 1 provider
Not change anything if you have 1 or more providers but they have ids.
Add ids if you have multiple providers but have not set ids.

Yes. That could be a good idea.

Could that break anything?

If we choose the first $id to be "" the I think we're fine; of course of people depend on the broken behavior then all bets are off...
Also this will not work if the order of grids is not consistent; consider a page with 5 grids that are randomly ordered then autoincrement will work unreliably but not setting ids (and thus having shared ids) will work by paging all gridviews at the same time...

People may rely on GET parameter names.

Yes that is why I suggest the first id to be "", so their parameter names won't change.

Can you confirm this is something you'd merge?

Yes. That's clearly a bug. I can't imagine a case when this is desired behavior so I'm all for fixing it.


Project installs a scripts package

This project installs a scripts package. That generic namespace is not suitably isolated from other packages. I recommend the project should install a githubsecrets package instead.
Let me know if I can help.

Hi @jaraco , thanks for pointing it out! I've just created a PR that should solve this. Once all tests are complete I'll merge it, and then you can take a look at the master branch

Seems like the new version has issues, working on it

@jaraco - it seems like it works when I run it from Docker, but I think something is corrupted in my local machine.
Can you please confirm that version 1.0.6 works on your machine, after using pip -U ?

It's not working for me yet.
~ $ pip-run githubsecrets -- -c "import githubsecrets" && echo done
Collecting githubsecrets
  Downloading githubsecrets-1.0.6-py3-none-any.whl (5.3 kB)
Collecting requests>=2.23.0
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting Click>=7.1.1
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting PyNaCl>=1.3.0
  Using cached PyNaCl-1.4.0-cp35-abi3-macosx_10_10_x86_64.whl (380 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting keyring>=21.2.0
  Using cached keyring-21.4.0-py3-none-any.whl (31 kB)
Collecting cryptography>=2.9
  Using cached cryptography-3.1.1-cp35-abi3-macosx_10_10_x86_64.whl (1.8 MB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting cffi>=1.4.1
  Using cached cffi-1.14.3-2-cp39-cp39-macosx_10_9_x86_64.whl (176 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: pycparser, urllib3, six, idna, chardet, cffi, certifi, requests, PyNaCl, keyring, cryptography, Click, githubsecrets
Successfully installed Click-7.1.2 PyNaCl-1.4.0 certifi-2020.6.20 cffi-1.14.3 chardet-3.0.4 cryptography-3.1.1 githubsecrets-1.0.6 idna-2.10 keyring-21.4.0 pycparser-2.20 requests-2.24.0 six-1.15.0 urllib3-1.25.10
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'githubsecrets'

Same at master:
~ $ pip-run --use-pep517 git+https://github.com/unfor19/githubsecrets -- -c "import githubsecrets" && echo done
Collecting git+https://github.com/unfor19/githubsecrets
  Cloning https://github.com/unfor19/githubsecrets to /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-req-build-1z6akgyt
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Collecting PyNaCl>=1.3.0
  Using cached PyNaCl-1.4.0-cp35-abi3-macosx_10_10_x86_64.whl (380 kB)
Collecting requests>=2.23.0
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting Click>=7.1.1
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting keyring>=21.2.0
  Using cached keyring-21.4.0-py3-none-any.whl (31 kB)
Collecting cryptography>=2.9
  Using cached cryptography-3.1.1-cp35-abi3-macosx_10_10_x86_64.whl (1.8 MB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting cffi>=1.4.1
  Using cached cffi-1.14.3-2-cp39-cp39-macosx_10_9_x86_64.whl (176 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: githubsecrets
  Building wheel for githubsecrets (PEP 517) ... done
  Created wheel for githubsecrets: filename=githubsecrets-0.0.1-py3-none-any.whl size=5255 sha256=e61ce77cd39fa94e39bc72a7f9ee33189403cf286b1d544cffa7f8404a4028fa
  Stored in directory: /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-ephem-wheel-cache-zwh3gk2s/wheels/dc/54/7f/ecd03d0cb374eb7c4a054fc092e87e500734b70e38bf59f55b
Successfully built githubsecrets
Installing collected packages: pycparser, urllib3, six, idna, chardet, cffi, certifi, requests, PyNaCl, keyring, cryptography, Click, githubsecrets
Successfully installed Click-7.1.2 PyNaCl-1.4.0 certifi-2020.6.20 cffi-1.14.3 chardet-3.0.4 cryptography-3.1.1 githubsecrets-0.0.1 idna-2.10 keyring-21.4.0 pycparser-2.20 requests-2.24.0 six-1.15.0 urllib3-1.25.10
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'githubsecrets'

Interesting how installation at master has v0.0.1.

I think the issue is that githubsecrets/__init__.py is missing.

You might be asking yourself, "but why does it work in Docker?" It's probably because you're using an editable install or otherwise have the githubsecrets folder on the python path, and on Python 3, that creates a namespace package, but when packaging, Setuptools won't find that package in find_packages without some additional handling. But unless you really want githubsecrets to be a namespace package where other distributions can add modules and other sub-packages, then you probably just want to bring the __init__.py back.

@jaraco - Superb, I've added __init__.py to the githubsecrets package, seems like all imports are working properly, releasing version v1.0.7 in a few mins

@jaraco - Updated version v1.0.7 - everything seems to be working.
The package name is githubsecrets and I also added __main__.py to it, so you can run it with
python -m githubsecrets

Confirmed. Works great. Thanks!


Integrate LDG into SG and Backbones

Both SG and Backbones are LDGs with some extra specialisation. Ideally they should inherit from LDG, but if not they should integrate a default LDG in them.
This may require a format change in disk dumps.
Suggested additional work:

LDGs to have a copy_to_SequenceGraph or similar function that copies creates a SequenceGraph with (optionally) all nodes but those connected in the LDG deleted. It should also optionally purge this nodes, condensing the sequence graph into new node IDs.
WorkSpace to have a collection of LDGs so different work stages can be saved (this requires some flexibility and thinking, but could be a great addition).

Improvement to LDG:

rather than a links[node][connection]=Link array, which duplicates all info on a link, use a links[node][connection]=LinkdID array to access an array of links. Optionally keep a bit for end of the node, or separated this in fw and reverse links.
allow the storage of extra arrays of properties, specific to LDG instances or maybe even subclasses.

Closed on API_v1


Issue to create validation record on Route53

Hello,
I testing this module on my environment and a had an issue to create a validation record on my Route53 zone. I received this error message:
Error: InvalidInput: 1 validation error detected: Value
'{"XXXXXXXX":{"comment":"Managed by Terraform","delegation_set_id":"XXXXXXXXXXXX","force_destroy":false, "id":"XXXXXXXXXX","name":"XXXXXXXX",
"name_servers":["ns-XXXXXXXX","ns-XXXXXXX","ns-XXXXXXXX","ns-XXXXXXXX"],"tags":{"Name":"XXXXXXX"},"vpc":[],"zone_id":"XXXXXXXXXXX"}}'
at 'resourceId' failed to satisfy constraint: Member must have length less than or equal to 32
	status code: 400, request id: 944ad220-a145-4ce2-a69d-6de3655df0cf

I checked the dns validation entry created on ACM cert and it have more than 32 chars (33 to be exactly, ex: _11920dce777fe6243ea4e432353443a8).
If I force the record creation manually by AWS Console, it is created, but using terraform I got the error message above.
Do you know how to move forward and keep using this module?
Thank you

I found an open issue for aws provider about this error:
https://github.com/terraform-providers/terraform-provider-aws/issues/12238

Hi,
I found the problem: I'm using a Route 53 module that outputs a map, not only the zone_id. I used the lookup function to get only the zone_id data on ACM module configuration and the validation worked perfectly.
See you!

@fernandowiek can you share more details on how you achieved or implemented this?


The readme doc confuses people to install

Maybe it could be better a link to:
https://electrum.fair-coin.org/
or better adapt to faircoin.

Sure, would you like to create a PR? Thanks…

https://github.com/FairCoinTeam/electrum-fair/pull/4

merged, thanks.


how to save latent setting into png info

i cant see the info like "Latent Couple: divisions=1:1,1:2,1:2 positions=0:0,0:0,0:1 weights=0.2,0.8,0.8 end at step=20" in pnginfo page

If you are using ashen-sensored's fork, I believe uncommenting line 577(the line with p.extra_generation_params["Latent Couple"]) in scripts/two_shot.py solves it.
        # TODO: handle different cases for generation info: 'mask' and 'rect'
        # if self.end_at_step != 0:
        #     p.extra_generation_params["Latent Couple"] = f"divisions={raw_divisions} positions={raw_positions} weights={raw_weights} end at step={raw_end_at_step}"

If you are using ashen-sensored's fork, I believe uncommenting line 577(the line with p.extra_generation_params["Latent Couple"]) in scripts/two_shot.py solves it.
        # TODO: handle different cases for generation info: 'mask' and 'rect'
        # if self.end_at_step != 0:
        #     p.extra_generation_params["Latent Couple"] = f"divisions={raw_divisions} positions={raw_positions} weights={raw_weights} end at step={raw_end_at_step}"

It works. But you need to remove the comments of both lines. The file is two_shot.py in scripts folder of the extension.


Tracking Issue: Compatibility with libstapsdt

Opening this issue to remind us to check if bpftrace plays nicely with sthima/libstapsdt and to remind us to take dynamic USDT probes into consideration when introducing USDT arguments (#33) and struct support for user-space tracepoints (#31).

I have used it with the python sample repeatedly and it seems to play nice.
I'm working on implementing a ruby wrapper to libstapsdt as well, so I'll file an issue if anything is wonky.

Yes, with #280 and #413 I think the usability of libstapsdt probes improved a lot. I played with Node.js a bit and was able to write some neat programs :)
I'm going to close for now, but if anyone is having issues with libstapsdt and bpftrace please let us know!


change-scheduler-scope

Change the use of the SampleScheduler to account for the overhead
introduced by ProfileThread interface (tprof), not just the
overhead from the Profile interface.

The SampleScheduler is a rate limiter used in the ProfileTable for updates to progress() (not enter or exit).  Progress is implemented in a different way now for the tprof table than when this bug was opened.  The new implementation is lockless and very fast.  We do not need to rate limit the tprof_post calls with the new implementation.


FederatedCluster should use strongly-typed reference to 'Cluster'

Fixes #759
See issue for details.

LGTM

/lgtm


syncedmem.hpp:39] Check failed: error == cudaSuccess (77 vs. 0)  an illegal memory access was encountered

I exact features faster r-cnn flickr8k error: syncedmem.hpp:39] Check failed: error == cudaSuccess (77 vs. 0)  an illegal memory access was encountered

config file:

can you help me fix error!

Hi,
Thanks for your interests.
My feature extraction process follows closely https://github.com/airsplay/lxmert#faster-r-cnn-feature-extraction, are you also following it and performing feature extraction in docker?

Hi,
I run it on google colab
Can you help me with these files?
I change
SCALES: [250,]
MAX_SIZE: 400
in
faster_rcnn_end2end_resnet.yml
https://mail.google.com/mail/u/1?ui=2&ik=30363bb851&attid=0.1&permmsgid=msg-a:r4812487713485872307&view=att&disp=safe&realattid=f_l2f0v5ye1
but
not working ಥ‿ಥ !!
or you can sent flickr8k.tsv to me for reference to learn NLP
i'm student learning NLP with transformer
thanks
Have a nice day at work
Vào Th 2, 25 thg 4, 2022 vào lúc 23:44 jasonppy @.***>
đã viết:

Hi,
Thanks for your interests.
My feature extraction process follows closely
https://github.com/airsplay/lxmert#faster-r-cnn-feature-extraction, are
you also following it and performing feature extraction in docker?
—
Reply to this email directly, view it on GitHub
https://github.com/jasonppy/FaST-VGS-Family/issues/1#issuecomment-1108803270,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARYBP6VFFJWKOOQ52UQJXETVG3DWXANCNFSM5UIWMLUQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry I could not provide help as I don't have any experience working google colab fast-rcnn feature extraction, I would recommend posting an issue under the whichever codebase you are using.

Thansk
Vào 4:26, Th 3, 26 thg 4, 2022 jasonppy @.***> đã viết:

Closed #1 https://github.com/jasonppy/FaST-VGS-Family/issues/1.
—
Reply to this email directly, view it on GitHub
https://github.com/jasonppy/FaST-VGS-Family/issues/1#event-6493721036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARYBP6X7FZZEOBMRT3YU4ETVG4EXLANCNFSM5UIWMLUQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update Save scene from view

We can currently save a scene directly from the view, but in this scene the vtk meshes have all the metadata we added recently.
Resulting eventually in a bad conversion of these meshes to CARTO.
In the pipeline we can export scenes in the right way at the very last step.
Let's homogenise with this latter way.

What do you mean: we need to remove the saving directly from the view? What kind of metadata are added?

No, make the view use the "without-metaData" way.
The metaData are the one needed for the pipelines; there are many: SliceThickness, Orientation, ...
Export a vtk and open it in a text editor, you'll see many MUSIC metaData.

This issue is solved by https://github.com/Inria-Asclepios/music/pull/471 isn't it @LoicCadour ?

No, this issue is about scene saving.
It's not a priority since, with the new Viewer, the scene saving will not be needed in the VT pipeline anymore.
But I think we should keep this issue open to remember that scene saving is still not homogenised.

What i meant was that we differentiate the Carto and Scene buttons. Scene does not have to be valid for Carto. That's why i was saying that this issue is not relevant anymore with the PR :)

Of course scenes still have to be valid for Carto.
The PR you quoted can be used for treating patient in Bordeaux, but in other centres, they still receive scenes; then they export in Carto with MUSIC Viewer.


Lecture03

Добычин Сергей

Coverage decreased (-19.5%) to 40.659% when pulling 86bb16b1dab6d7b6ddcc93288ecd420d3f0c4c14 on SergDob:lecture03 into 354e59d14c8207f1a4977555c3526c00fb22514d on rybalkinsd:lecture03.


Save in NodeJS uses toBuffer() instead of making a Stream

When using createPNGStream/createJPEGStream, the image failed to write beyond the first chunk of data. I'm not sure if this is a bug with node-canvas, cairo, or CamanJS itself.  Will need to investigate more.

I think there's an ImageMagick module for node now, might be worth comparing the performance, ease of use,etc

Whoops, I'm on my mobile and hit the close button accident, sorry about that!

Say no to bloat. Could it be developed as a drop in replacement with a matching API?


Can't select an id with raw_id_fields

Hello,
I just installed yawd-admin and it's very nice (thanks for the work!).
I've a problem with the fancy box and the raw_id_fields.
When I click on the magnifiying glass next to a raw_id_field, this open the fancybox but I can't select directly the object that I want to populate the raw_id_field with the object id.
Thanks for looking at this "problem"

I close this issue due to the inactivity and seems the problem seems to be resolved.


fix(serviceMonitor) fix target port for cmetrics

The target port for cmetrics should only be applied if the ingress controller is enabled.
What this PR does / why we need it:
Which issue this PR fixes
No issue created.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] PR is based off the current tip of the main branch.
[X] Changes are documented under the "Unreleased" header in CHANGELOG.md
[X] New or modified sections of values.yaml are documented in the README.md
[X] Commits follow the Kong commit message guidelines

 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.


fix: prevent manual addition of duplicate member IDs in on-chain groups

Previously, on-chain groups did not properly filter duplicate member IDs, allowing the same ID to be added multiple times without restriction. Now, when a user attempts to add an existing member ID to an on-chain group, an alert message  with the exact id/id's is displayed to notify the user and prevent the duplicate addition.
This resolves #302

Description
Alerting the user when a member id that is already present is added manually .
-Alert message with the exact duplicate id/id's is shown
Additionally there was another bug that i came across while solving,the user can enter hexa values
-it is saved in decimal format on the chain
-now another same hexa code can be added ,leads to duplicacy
-Thus hexa checking is additionally added,it filters and converts to decimal and compares with the stored member id's

Related Issue

Does this introduce a breaking change?

[ ] No

Other information

@vplasencia Hey i've made the pr ! check it out !

Thank you very much @tanyas-codes
I will check them out today.

I was concerned with its compatibility with older browsers ! although,
Yes! That will make the code simpler and concise ! ->I will make another commit with the changes required.


regarding text cleaner

I saw there are some python files (e.g., acronyms.py, abbreviations.py, datestime.py) in the text folder. But they don't seem to be used in the text cleaner. Is it true?

Yes, they're not used and were removed from the repo! Thank you


Working with Envoy Firmware v8?

Hi there, thanks for creating this. I am trying to get it working without success.
My Envoy firmware is D8.2.114
Does this work with version 8?
Thanks so much.
Tim

Hi @timmyJB
Sorry haven't tested it as I am currently on D7.6.175 . Still working fine on that.
Thanks

Hi @timmyJB
Sorry haven't tested it as I am currently on D7.6.175 . Still working fine on that.
Thanks

Ok!
I had trouble getting it running using TaskScheduler on Windows but got it working using Cygwin. This is with Envoy firmware D8. Looks to be working well.
Thanks so much for creating.
Awesome

Thanks @timmyJB good to know its working with D8 :) Closing it off and will update the readme file to say the same