GeoJSON fallback geometries vs. separate geometry properties

Should the specification make any recommendation as to what is expected to be found in a fallback property in GeoJSON compatibility mode (and when to instead use a separate property for a simpler representation of the geometry)?
Should the GeoJSON fallback geometry be expected to be the best possible representation of the same geometry found in where?
Considering 3D buildings and their footprints as an example, should the geometry be MultiPolygons with 3D coordinates which can accurately represent the surfaces for visualization (though it does not allow to associate the faces as solids), while the where stores proper JSON F&G polyhedrons, with the footprints stored in a separate property?
Our 3D visualization client understands 3D MultiPolygons representation and renders them as 3D objects. I would expect 3D clients supporting 3D GeoJSON coordinates to be able to render them this way as well -- how else would those be displayed? This may be an outlier in the realms of GeoJSON visualization tools, but if that is the case I think it is because the larger proportion of GeoJSON visualization tools are still only 2D.
Putting the 3D case aside, should fallback properties be a simpler version of the geometry such as a point instead of a polygon? To me that seems to limit the use of a "GeoJSON compatibility" profile, if you request data for maximum compatibility but GeoJSON clients are only capable of displaying points, while JSON F&G clients are able to display polygons.
It is a similar scenario for the 3D buildings case.

@jerstlouis - good question!  In the Dec 2021 SWG discussion it was proposed that the "geometry" fallback could be a 2D footprint in WGS84 for "the best possible representation" in a "where" property for GeoJSON backwards compatibility.   Use of a centroid rather than a polygon - or a "levels of detail" approach as per GityGML seem fine.  I think explicit use cases should be developed for these scenarios and used to drive some testing.
This relates to the issue of canonical schemas and the semantics of such properties so consider also #26

Meeting 2022-01-22: From a Core perspective we should not constrain the fallback geometry, this would be a task of a community of interest. For draft.1 we will include a statement with an example (with the footprint or representative point geometry as a decision of an information community). @cportele will create a PR.


Add character: Abyssith

Hero Description
He is the protector of de deep waters,an shield for the oceans,Abyssith is an water colossus,absorving a lot of damage and applying an tsunami of CC in team fights,his body look like an water living creature(posseidon from God of War 3),with Carracosta "shell" making and boneplating armor in his body(has to be an boneplating helmet like carracosta),his anatomy look like an clash royale golem
Concept Art
1)Carracosta

2)Posseidon

3)Clash Royale Golen

Inspiration
TODO: Add references that inspired the concept behind your hero (gifs, sketches, images, text)
*Describe your reference by citing name of the inspirational character, universe we it belongs (name of the game, anime, movies, etc) *
Moves
Idle
Water floating in his body,and little changing his own body fprm made by water floating and looking around
[STICK] Walk
walks with water floating on his on body,won´t change his anatomy
[LEFT] Water Prison
Abyssith cast and rise his hands to transform them in 2 water flows(applying damage and slow),thoose flows converge in a point,this poit after 1 second will spawn and water prison,stuning the enemies for 1.4 seconds
Skill reference in game:

Water Prison animation reference:

[MIDDLE] Toughth Shell
Abyssith received armor and an a big shield for an period of time(he can walk while cast that spell
cast reference:

[RIGHT] Wave/Water Flow
First cast:Abyssith cast an "tsunami" with long range effect,this "tsunami" will apply damage and an several slow
Skill in game reference:

Second cast:Abyssith cast again and make the "tsunami" return to him,stuning all enemies hit and dragging them with the water flow to an Abyssith melee range
Skill reference:

[Q] *Ultimate: Waterspout
Abyssith channels creating an water vortex around him,dealing DPS and making all enemies inside this vortes grounded(can't use any dash or blink,but can walk with an slow)
Skill in game reference:

[Space]:Blessing From The Depths
Abyssith cast and heal himself from an % of his max health
OPTIONAL
[E] TAUNT:Open to Suggestions
Taunt is a funny animation you character will do like laugh, dance aiming to make fun of the enemies
[SPACE]/Shift extra skill, usually dash
Tasks

[ ] Idle
[ ] Walk
[ ] [LEFT] add skill name
[ ] [MIDDLE] add skill name
[ ] [RIGHT] add skill name
[ ] [Q] add skill name

I would like to assume this issue

Approved for work!

May 5th
Started doing the base model, trying out some things, but will probably try to draw some concepts today so that I have a guide.
Hours worked: 1h22m

May 7th, 8th, 10th and 11th
After talking to Alexandre, changed the design a little bit a finally sat on one of 'em.
Hours worked(all 4 days): 3h35m
Current design be worked on:

Total: 4h57m

May 12th
Finished the base model for Abyssith.
Hours worked: 3h1m
Finished model:

Total: 7h58m

May 13th
Started working on the idle animation:
Hours: 2h25m
Idle:

Total: 10h22m

May 15t
Adding more movement to the arms in the animation and fixing some of the body movement.
Hours: 1h37m

Total: 11h59m

May 19th
Started with the walking animation.
Hours: 3h21m
Total: 15h20m

May 20th
Had less time to work but still on the walk animation.
Hours: 1h3m
Total: 16h21m

May 21th
Almost finishing the walk animation, fixing body movement and adding details to be more dynamic. Progress made so far:
Hours: 2h33m

Total: 18h54m

May 22th
Finished his walking animation.
Hours: 3h59

Total: 22h55m

May 23th
Started the Tough Shell animation.
Casting animation:

Shield designs:

Hours: 1h51m
Total: 24h46m

May 24th
Kept working on the Tough Shell animation
Hours: 1h
Total: 25h46m

May 27th
Finished the key frames on Tough Shell.
Hours worked: 2h8m

Total: 27h54m

June th
Finishing and polishing the Tough Shell animation, will be uploading it on this daily at the end of the day.
Hours: 1h22m
Total: 29h16m

June 10th
Finished the Tough Shell animation.
Hours: 30m

Total: 29h46m

June 15th
Started the Water Flow cast animation.
Hours: 46m
Total: 30h32m

June 16th
Almost finished the Water Flow cast animation.
Hours: 2h

Total: 32h32m

June 19th
Polishing the cast animation.
Hours: 1h10m
Total hours: 33h42m

June 22th
Finished the Water Flow first cast animation.
Hours: 2h2m

Total hours: 35h44m

June 23th
Started the Water Flow effect.

Hours: 2h42m
Total: 38h26m

June 24th
Adding details to the Water Flow cast animation.
Hours: 1h40m
Total: 40h6m

June 25th
Finished the Water Flow animation and started the Water Prison cast animation.

June 26th - June 29th
Finished all the Abyssith animations.
Hours:
-June 26th 6h12m:
-June 27th: 6h23m
-June 28th: 5h42m
-June 29th: 2h3m
Total: 64h53m


Original downloaded image

How can I get original download image from DFAnimatedImageView? When I'm trying to get from dfImageView.image it returns image scaled to it's frame in view.

The same question. Looking forward thread's answer.

Sorry, missed your question.
@interface DFAnimatedImageView : DFImageView

/*! Inner animated image view used for GIF playback.
 */
@property (nonnull, nonatomic, readonly) FLAnimatedImageView *animatedImageView;

Isn't that what you need? You get access to the original image data and all that.


Prepare for 1.3.0 Release

Hello @huckphin,
Please review the following commits I made in branch 'amyquispe-1.3.0-release'.
de02f50bc02ab07fe529d70fac98ad99f7ba040e (2016-04-25 15:44:59 -0400)
Prepare for 1.3.0 Release
R=@huckphin

Just one nit. LGTM after cmment is addressed.


[BUG] Error opening Excel file containing table after opening and saving with ExcelJS

🐛 Bug Report
Using ExcelJS to open and save a simple Excel file,
Lib version: X.Y.Z
Steps To Reproduce
Steps

Use ExcelJS to open the attached workbook
Use ExcelJS to save as a new workbook with no changes
Open the saved workbook in Excel
Observe that Excel complains

"Alert:  We found a problem with some content in 'Microsoft_Excel_Worksheet.resaved.xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes."

Input file
Microsoft_Excel_Worksheet.xlsx

this is a simple file with 5 rows and 4 columns
it was created by Microsoft PowerPoint,
Specifically it is the initial embedded worksheet created when you insert a new column chart within PowerPoint UI

Node.js code
var fs = require("fs");
var path = require('path')
let ExcelJS = require('exceljs')
var INFILE = './ppt/embeddings/Microsoft_Excel_Worksheet.xlsx'
var OUTFILE = '../updated/Microsoft_Excel_Worksheet.resaved.xlsx';

let test = {
     run: async function() {
        var filepath = path.join(__dirname, INFILE)
        let xlsxContent = await fs.promises.readFile(filepath)
        const workbook = new ExcelJS.Workbook();
        await workbook.xlsx.load(xlsxContent)
        const fileBuffer = await workbook.xlsx.writeBuffer();
        await fs.promises.writeFile(OUTFILE, fileBuffer)
        console.log(`open "${OUTFILE}"`)
    }
}
test.run().then(process.exit)

Error message

Recovery log
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>Repair Result to Microsoft_Excel_Worksheet.resaved0.xml</logFileName>
<summary>Errors were detected in file './Microsoft_Excel_Worksheet.resaved.xlsx'</summary>
<removedFeatures summary="Following is a list of removed features:">
       <removedFeature>Removed Feature: AutoFilter from /xl/tables/table1.xml part (Table)</removedFeature>
       <removedFeature>Removed Feature: Table from /xl/tables/table1.xml part (Table)</removedFeature>
</removedFeatures></recoveryLog>

The expected behaviour:
The file should open without error, and look like the original workbook
Possible solution (optional, but very helpful):
Update This may be a duplicate of https://github.com/exceljs/exceljs/issues/2277
It turns that using this repo  @nbelyh/exceljs mentioned in #2184 appears to work and also allow data values to update.  But if I change any of the column names in the table the error will appear again even in this fork.
But if I convert the table to a range in the original file, I can modify all cells in the range and it works ok.
So the branch @nbelyh/exceljs will preserve tables but doesn't yet allow updates to the column names (at least not just be simply using cell.value = "Series X" to change the value)
~Preserve tables and autofilters on open and save~
~Or allow an option to remove them, as in my specific case I don't need them.~

Same issue, is there any news on that bug ?

same issue

Figured this out, Its because of how the autofilter feature is read and written by ExcelJS. When excel reads the autofilter features, it is expecting something that looks like this <autoFilter ref="A1:B5" xr:uid="{Random_UUID}"/> but ExcelJS has an extra inner tag called filterColumn and it looks like this;
<autoFilter ref="A1:B5">
    <filterColumn colId="0" hiddenButton="1"/>
    <filterColumn colId="1" hiddenButton="1"/>
</autoFilter>

To solve this issue, the autoFilter XForm reading and writing needs to change to include the uid and the tag must be self closing.

@hyperliskdev  Thanks! If the tag is self-closing, how would Excel save the state of the autofilter indicating which columns are sorted, filtere, etc.?   Is the issue simply that there needs to be an xr:uid="..." attribute on the <autoFilter> tag?

I believe the auto filter applies to all columns. I haven't checked out how regular filters work though.

This is the table structure for a sorted table.

Here is a screenshot from the OpenXML Standards document, the way that filter columns appear here is different than the filterXForm and customFilterXForm

Actually, this looks fixed in a this version, let me build this version and see if it works.

https://github.com/exceljs/exceljs/blob/ac96f9a61e9799c7776bd940f05c4a51d7200209/lib/xlsx/xform/table/filter-column-xform.js#L35-L52
See I am confused, because to me, this is reading the filters and custom filters correctly. The standard document does say that the filterColumn has colId, hiddenButton and showButton but the code I am looking at seems to have all this correctly placed in the 4.4.0 version.

@pietersv I have a "working" branch in my fork of ExcelJS. It does not make the sheet readonly when opened and saved. There is more work to be done because a test I performed with the xmlStream.leafNode() function actually didnt work so Ill have to look more into the standard to see why saving the sheet with an autofilter fails. At this point, the AutoFilter function is completely disabled which does work for me right now but in the near future I would like to fix this part.

https://www.npmjs.com/package/@hyperliskdev/exceljs?activeTab=code
https://github.com/hyperliskdev/exceljs

@hyperliskdev  I could contribute toward sponsored development on this issue and reaching out to an expert dev to help.

@hyperliskdev  I could contribute toward sponsored development on this issue and reaching out to an expert dev to help.

Sounds good, I believe there is a big open PR for someone at MUI to fork the repo and do a big rebuild and perform some security updates. I'll see if I can get in contact with them to fix some of the standardization issues.

Still facing this issue, is there a workaround for this? Probably another library, coz xlsx(sheetjs) clearly ain't detailed as this one.


Remove datasources' dependency on GoFr

Few datasources like ftp, sftp, nats, eventhub imports GoFr. This dependency must be removed to ensure that datasources are not dependent on any particular versions of GoFr.

We should put each of them as a separate issue and insist on separate PRs.


fix: Ensure conditional creation of EFS and entire module are functioning as intended

Description

Ensure conditional creation of EFS and entire module are functioning as intended

I have updated the github-separate/ example to remove EFS support since this use case is covered by github-complete/, and also added a disabled module definition to ensure that disabling the module creation works as intended. These changes demonstrated the issue in #369 plus a few other issues which have been corrected

Motivation and Context

Resolves #369

Breaking Changes

No

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

Validated with both examples

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 4.0.2 :tada:


docs(README) Refer to postgres setup in Makefile

Remove instructions for installing PostgreSQL via Homebrew; also check that Docker is installed before executing make postgres.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

Current coverage is 87.79% (diff: 100%)

Merging #1110 into master will increase coverage by 0.05%

@@             master      #1110   diff @@
==========================================
  Files            42         42
  Lines          3639       3639
  Methods           0          0
  Messages          0          0
  Branches        623        623
==========================================
+ Hits           3193       3195     +2
+ Misses          295        292     -3
- Partials        151        152     +1

Powered by Codecov. Last update 5f87a24...ec32b7f

@seanknox Can you rebase your PR so that we can merge it?

@kmala done and thanks!


how to use SparseTensor with ctc loss where the label's length varies within one batch

how to use SparseTensor with ctc loss where the label's length varies within one batch.
IDK how to formulate a sparse tensor with different lengths and pass into the ctc loss. any example here?

Hi @ysyyork ! Please have a look at this link for answer. But We see that the issue template has not been filled, could you please do so as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code/colab gist to reproduce the issue faced].Thanks!

Hi @mohamedadaly
Sorry i didn't follow the format because all I want is just some explanation but not a bug.
But the tf version is 2.4.0. I already read all the API doc about ctc loss but just that I'm a bit confused about how to make it work with SparseTensor.
My question is that, for example, if I have a labels like below:
[
  [1, 0, 1, 0, 1]
  [1, 0, 1, 0, 1, 0, 0, 1, 0, 0]
  [1, 0, 1, 1, 1, 0]
]

How to indicate the different lengths with SparseTensor?
For dense labels, I can pad them all to the same length and then pass in the label_length vector to say the lengths are [5, 10, 6]. But if I pass in a SparseTensor, it didn't allow me to pass in the label_length (it has to be None). But to represent the above labels, I can only do
SparseTensor(
    values=[...],
    indices=[...],
    shape=[3, 10]
)

If I decode this sparse tensor into a dense one, it becomes the below:
[
  [1, 0, 1, 0, 1, 0, 0, 0, 0, 0]
  [1, 0, 1, 0, 1, 0, 0, 1, 0, 0]
  [1, 0, 1, 1, 1, 0, 0, 0, 0, 0]
]

Then the first and last labels are actually the same. The length info seems lost in this case.
So I just want to get  a clearer SparseTensor example about how to formulate this SparseTensor object so that the length info is not lost.

Ok ! We will update the document with an example , Feel free to look at the comment of earlier similar issue.  Providing a sample Gist as an example. Thanks!

@mohantym Thanks for this. this is helpful. Just to make sure. Does that mean instead of using 1 and 0 as the label, I should use tf.nn.log_softmax(1) and tf.nn.log_softmax(0)?

Hi @ysyyork , Please update once after trying that , You can also look in this issue .
For any further queries you may open this issue in tf discussion forum as there is a larger community there as This is not a bug or feature request,Thank you!

I have figured out myself. Thanks!
On Mon, Sep 6, 2021 at 11:37 AM mohantym @.***> wrote:

Hi @ysyyork https://github.com/ysyyork , Please update once after
trying that , You can also look in this issue
https://stackoverflow.com/questions/64321779/how-to-use-tf-ctc-loss-with-variable-length-features-and-labels
.
For any further queries you may open this issue in tf discussion forum
https://discuss.tensorflow.org/ as there is a larger community there as
This is not a bug or feature request,Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/51802#issuecomment-913313352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTCFZJ6OKC3O26W7OSB5M3UAQZO7ANCNFSM5DJK5H3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Ok! Could you please close this issue then ?

sure


Fix scoping of variables declared in for loops.

This fixes an issue encountered when compiling:
for (let i = 0; i < 10; i++) {
   const i = ...;
   ...
}

Buble incorrectly threw an error due to the 'i' in 'i++' being
incorrectly identified as a constant.
This commits makes it so for, for in and for of loops have their
own scope.
The way the variable declarations are handled to calculate shouldRewriteAsFunction is not ideal. It only got the bare minimum changes to pass the existing tests, so current limitations still apply.

Thank you!


pull request for e2e test at 11/29/2016 16:26:05

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


Benchmark ignores binding redirects

I've found an issue in the following scenario: I have a library build as CLR F# class library - it's targeting FSharp.Core lib version=<IP_ADDRESS>. However it has dependency on other lib which expects FSharp.Core version=<IP_ADDRESS>.
Hopefully this should be solved by specifying following app.config in benchmarking console app (which is using FSharp.Core <IP_ADDRESS> too):
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

However after running benchmarking application, I'm getting series of errors:

// *** Build ***
// Result = Success

// *** Execute ***
// Launch: 1
System.TypeInitializationException: The type initializer for '<StartupCode$FSharp-Data-GraphQL-Benchmarks>.$FSharp.Data.GraphQL.ExecutionBenchmark' threw an exception.
   ---> System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
   at FSharp.Data.GraphQL.Parser.parse(String query)
   at <StartupCode$FSharp-Data-GraphQL-Benchmarks>.$FSharp.Data.GraphQL.ExecutionBenchmark..cctor() in D:\projects\dev\contrib\FSharp.Data.GraphQL\tests\FSharp.Data.GraphQL.Benchmarks\ExecutionBenchmark.fs:line 64
   --- End of inner exception stack trace ---
   at FSharp.Data.GraphQL.ExecutionBenchmark.SimpleExecutionBenchmark.BenchmarkSimpleQueryParsed() in D:\projects\dev\contrib\FSharp.Data.GraphQL\tests\FSharp.Data.GraphQL.Benchmarks\ExecutionBenchmark.fs:line 101
   at BenchmarkDotNet.Autogenerated.Program.Main(String[] args) in d:\projects\dev\contrib\FSharp.Data.GraphQL\tests\FSharp.Data.GraphQL.Benchmarks\bin\Release\BenchmarkDotNet.Artifacts\bin\BDN.Auto\Program.notcs:line 30
No more Benchmark runs will be launched as NO measurements were obtained from the previous run!

// Run, Diagnostic
System.TypeInitializationException: The type initializer for '<StartupCode$FSharp-Data-GraphQL-Benchmarks>.$FSharp.Data.GraphQL.ExecutionBenchmark' threw an exception.
   ---> System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
   at FSharp.Data.GraphQL.Parser.parse(String query)
   at <StartupCode$FSharp-Data-GraphQL-Benchmarks>.$FSharp.Data.GraphQL.ExecutionBenchmark..cctor() in D:\projects\dev\contrib\FSharp.Data.GraphQL\tests\FSharp.Data.GraphQL.Benchmarks\ExecutionBenchmark.fs:line 64
   --- End of inner exception stack trace ---
   at FSharp.Data.GraphQL.ExecutionBenchmark.SimpleExecutionBenchmark.BenchmarkSimpleQueryParsed() in D:\projects\dev\contrib\FSharp.Data.GraphQL\tests\FSharp.Data.GraphQL.Benchmarks\ExecutionBenchmark.fs:line 101
   at BenchmarkDotNet.Autogenerated.Program.Main(String[] args) in d:\projects\dev\contrib\FSharp.Data.GraphQL\tests\FSharp.Data.GraphQL.Benchmarks\bin\Release\BenchmarkDotNet.Artifacts\bin\BDN.Auto\Program.notcs:line 30

It looks like BenchmarkDotNet is ignoring assembly binding redirects for conflicting library dependencies.

@Horusiath Hej! Thanks for the report. The bug has been fixed few days ago, will be part of 0.9.8 release (#108)

Incidentally I think this is the same as #67 - where I've included a hopefully simple repo which can be used to reproduce if that's useful.


chore: release 0.1.0-pre.0

I think we are ready for the first pre-release, also added some sanity tests for semver since I forgot to include them in the last PR.

We can actually add a CI workflow for automating the publishing process. And it would do so with the nearprotocol-ci crates.io account. Like near-jsonrpc-client, borsh-rs and nearcore crates.
Example Workflow - https://github.com/near/near-jsonrpc-client-rs/blob/5ea6c2c486b7030bfd84b72b95447b0abda550d0/.github/workflows/ci.yml#L50-L120

We can actually add a CI workflow for automating the publishing process. And it would do so with the nearprotocol-ci crates.io account as well as create a release on GitHub. Like near-jsonrpc-client, borsh-rs and nearcore crates.

That would be cool! I think I am going to release this manually now, but yeah I am all hands for automation.


Prevent overflows in DDFileLogger (again)

In #1028, I limited the rollingFrequency, but this does not really prevent any overflows (or only by luck). The actual overflow limit is always related to the log file's creation date.
So I've moved the overflow checks to where the values are actually used (in additions and multiplications).
Thanks @hhanesand for pointing out that there's still an issue.
This should now finally fix the overflow issues (#1032).

          2 Warnings

:warning:
Any changes to library code should be reflected in the CHANGELOG. Please consider adding a note there about your change.

:warning:
The library files were changed, but the tests remained unmodified. Consider updating or adding to the tests to match the library changes.

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #1033 into master will increase coverage by 0.47%.
The diff coverage is 87.5%.

@@            Coverage Diff             @@
##           master    #1033      +/-   ##
==========================================
+ Coverage    36.6%   37.07%   +0.47%
==========================================
  Files          27       27
  Lines        3926     3927       +1
==========================================
+ Hits         1437     1456      +19
+ Misses       2489     2471      -18

Impacted Files
Coverage Δ

Classes/DDFileLogger.m
53.35% <87.5%> (+0.05%)
:arrow_up:

Classes/DDOSLogger.m
51.42% <0%> (-2.86%)
:arrow_down:

Classes/DDASLLogger.m
50% <0%> (+36.53%)
: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 6663fad...2fab323. Read the comment docs.

Guys, I just released the 3.5.1 patch


Need to correct the code for about page.

Any php developer can fix the about file .

Assign me this issue.


Continue if UPnP fails, fix #2

This patch fixed issue https://github.com/hzyitc/mnh/issues/2
UPnP is enabled by default, however, UPnP implementation is not available on all routers/firewalls.
This patch allows program to continue without UPnP and prints warning message.

Fix with new solution


Create a Fal Config File for fewer magic strings

Removed the rest of the compiled files and consolidated Fal.Ai configuration into a json configuration file.
The API secret is now compiled into the project as a const property on the FalClientSettings Class.

You're absolutely correct on removing compiled files, however I do not like the design choice of loading the endpoints on runtime. This requires a 2nd file to run the plugin and while it seems small, I know will cause issues to users.
Since we're already ingesting the api key during build from a config file, it makes sense to do so with endpoints. Will look into combining that all into the prebuild step.

I completely understand. I was of both opinions on whether the api endpoints should be in source control or not. I've updated the PR to include a small Roslyn source code generator to generate a compiled class from the configuration json, removed the actual configuration file from source control, and updated the readme accordingly.


full height and width

I am using in ionic3 project. I want to show full screen. I tried height and width in percentage but not working.
How to make full screen ?

I've made a pull request that introduces the suppourt of css units as a string inside Width and Height
Not accepted yet, but if u want to use it is right here
#44

Get platform's width and height values in your .ts file and use them in your lottie tag as width and height.


How to install Alfred Workflow?

Hi - I hope this is the right place to ask this question.
How do I install this workflow? I can't see a file called "something.alfredworkflow" which is what I'd expect...

Yeah previously it was available on dropbox, but you can grab it from here: https://github.com/surrealroad/alfred-notes/releases


Tests failing for paperless-ng

Describe the bug
Trying to set up paperless-ng for the first time leads to tests, and ultimately the build, failing.
Steps To Reproduce
Steps to reproduce the behavior:

set services.paperless-ng.enable = true
run nixos-rebuild switch

Expected behavior
Paperless-ng is built and started
Log File
paperless-ng.log
Notify maintainers

@earvstedt
@Flakebi
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.61, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(johannes): `""`
 - channels(root): `"nixos-21.11pre312722.9df8a8489e3, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: paperless-ng
# a list of nixos modules affected by the problem
module: services.paperless-ng

Same Issue appears in Hydra

Weird, the build that failed on hydra works fine for me (/nix/store/ccyx3f12nmym1v4n17f5s5gffc8ldqpz-paperless-ng-1.5.0).
cc @erikarvstedt

Same here, paperless (x86_64-linux) succeeds locally with the current nixpkgs master (d431839ab4494499714f2b6f001413fe380607eb).

Paperless-ng works (in praxis) fine for me if I set doCheck = false;
Is it possible that the test fails due to differing hardware specs (limited RAM or /tmp size)?

Fixed in #158118.


[Doc] Add Prerequisites to deploy broker doc

Signed-off-by: amber-create<EMAIL_ADDRESS>Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
coverage check fail. please retry. :fearful:
Please let me know when error again.
org.eclipse.egit.github.core.client.RequestException: Server Error (502)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@mergify backport branch-3.1 branch-3.0 branch-2.5


Reproduction of GridVerse results

Hi!
Thanks for sharing your intriguing ideas on how to setup a transformer-based memory DRL algorithm. I'm interested in the way how the interface of the transformer works during inference and optimization. So I started out by simply trying to reproduce your GridVerse results as stated in your readme.
I'm currently running 3 repetitions of this experiment:
python run.py --env gv_memory.7x7.yaml --inembed 128 --disable-wandb --verbose

The success rate stays zero for the entire training so far.
[ December 15, 14:00:03 ] Training Steps: 699000, Success Rate: 0.00, Return: -25.00, Episode Length: 500.00, Hours: 3.77
[ December 15, 14:00:23 ] Training Steps: 700000, Success Rate: 0.00, Return: -25.00, Episode Length: 500.00, Hours: 3.78
[ December 15, 14:00:42 ] Training Steps: 701000, Success Rate: 0.00, Return: -25.00, Episode Length: 500.00, Hours: 3.78
[ December 15, 14:01:02 ] Training Steps: 702000, Success Rate: 0.00, Return: -25.00, Episode Length: 500.00, Hours: 3.79

I'm pretty sure I missed something. It would be great if you could help.
edit:
Training on 5x5 looks pretty volatile in comparison to the reported results.
[ December 15, 14:10:52 ] Training Steps: 891000, Success Rate: 0.30, Return: -2.24, Episode Length: 4.90, Hours: 3.92
[ December 15, 14:11:04 ] Training Steps: 892000, Success Rate: 0.70, Return: 1.78, Episode Length: 4.40, Hours: 3.92
[ December 15, 14:11:17 ] Training Steps: 893000, Success Rate: 0.40, Return: -1.20, Episode Length: 4.00, Hours: 3.92
[ December 15, 14:11:30 ] Training Steps: 894000, Success Rate: 0.70, Return: -0.42, Episode Length: 48.40, Hours: 3.93

Hi Marco,
Thanks for your interest in DTQN! I'm sorry you're having issues. Can you let me know what branch you're using to run these experiments? I recently merged some (experiment-)breaking changes to the main branch, and have been working this week on fixing that. The paper branch is the most stable -- I have kept that branch intentionally frozen to be consistent with my paper.
As for the volitility you see, the output from --verbose is the result of a single evaluation step (10 episodes). All the results figures in my paper are smoothed across 10 evaluation steps, which I think is more readable and preserves overall performance.

I knew I missed something. Thanks for the heads up. I'll re-run the experiments using the paper branch.

Sounds good!

So I assume that the environment "levels" are different for each evaluation run. It would be beneficial to have a fixed set of environment seeds for evaluation. This should be helpful to compare the agent's performance at different time steps as the agent is evaluated under the same conditions.
Concerning the removal of paddings during loss computation, you could add a loss mask (bool tensor) to the experience tuple that is added to the ReplayBuffer. This tensor can be naively used to index the actual data and hence drop the padding.
loss_mask = tensor(True, True, True, True, False, False)
padded = tensor(1, 2, 3, 4 ,0 , 0)
pads_removed = padded[loss_mask]
pads_removed -> tensor(1, 2, 3, 4)
Based on my experience with recurrent PPO, the loss computation affected by padding is an issue on more complex environments. When training CartPole (masked velocity) the loss padding issue is not really apparent, but once training is done on MiniGrid-Memory (visual observation 84x84x3) the agent gets in trouble.

Yes, the "levels" are randomised on each reset. We use the same seeds when comparing across algorithms, so each algorithm is evaluated on the same environments. I'm not quite sure I understand how beneficial fixing the seeds for environments would actually be. We want to test our agent's to generally solve the environment, not solve a fixed sequence of episodes. That sounds like it could promote overfitting. Maybe I am misunderstanding.
Thanks for the padding example, I will take at using this soon!  In your case, the first evaluation pass evaluates on different levels compared to later passes within one training run.


Crossed out battery symbol

I’m getting this symbol on my display. What does it mean? It’s a crossed out battery symbol. My setup is using pijuice and auto power off after completion.

It's supposed to mean that pijuice class isn't loading properly and applying battery indicator, however it's probably an error seeing as I have the same. Will look into it. You can disable icons in .config if you like.

Issue was with range assignment, using - instead of ,
Appears to be working now, will create new release with this fix and the previous in it.


pio_blink.py and pio_irq.py examples uses 1000Hz frequency which is too low for Pi Pico

The examples https://github.com/raspberrypi/pico-micropython-examples/blob/master/pio/pio_irq.py and https://github.com/raspberrypi/pico-micropython-examples/blob/master/pio/pio_blink.py set a frequency of 1000Hz using freq=1000.
If my understanding is correct then the maxium divisor is 65535 + 255/256 which at typical 125MHz gives 1907.349Hz as the lowest achievable frequency. That makes these examples misleading as that frequency cannot be achieved and is almost wrong by a factor of 2.
Is 2000Hz as used by https://github.com/raspberrypi/pico-micropython-examples/blob/master/pio/pio_1hz.py a better choice for low frequency for examples? That's precisely attainable at 125MHz and close at 133Mhz (1.47% over).

Just checking as I my have raised a duplicate issue...
I though the clock gets divided by 65535 first and then was further adjusted by the fractional part allowing ( still very approximate) lower clock counts.
2000 is still the lowest accurate frequency.
More reading for me to do.

@kevinjwalters Yes, I've just been looking into this and if you request a PIO frequency of 1000Hz I believe you'd actually get a frequency of 2102.1 Hz  (see my comment on https://github.com/micropython/micropython/issues/7025 for a demonstration of how the maths works). So changing them to actually run at 2000Hz will probably have very little noticeable impact on their output :slightly_smiling_face:

My point wasn't about exact accuracy it was about providing example code which uses a value below the lower limit which is misleading as developers will see that value and think it's achievable.

Yup, which PR #26 fixes...


Can you allow gauge to skip optional parameters

Can you build in the behavior such that gauge can use methods with a step attribute that have an optional parameter?
Something along the lines of this:

If a method with the step attribute has an optional parameter you have to include a step alias that can handle the optional parameter and one that does not require it.

I realize this is not a simple request.
Thanks,
Gauge version
1.0.0

Unfortunately this change is tricky and will affect other areas like refactoring etc.
It's unlikely that Gauge will implement this and prefer to keep this functionality simple.


transform error with a combination of function and var declaration

@wrapperup Hi! 👋
Due you have fixed other issues like this and are more familiarized with this part, do you mind to take a look to this one?
I have this template
{{ function echo(message) }}
    {{ message }}
{{ /function }}

{{ set foo = "It works!" }}

{{ echo(foo) }}

And it produces the following error:
error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'stack')
      this.scopes[this.globalScope].stack.push(val);
                                    ^
    at ScopeTracker.pushBinding (file:///Users/oscarotero/www/ventojs/vento/src/transformer.ts:67:37)
    at ScopeTracker.pushPatternBinding (file:///Users/oscarotero/www/ventojs/vento/src/transformer.ts:76:14)
    at ScopeTracker.pushPatternBindings (file:///Users/oscarotero/www/ventojs/vento/src/transformer.ts:109:12)
    at Object.enter (file:///Users/oscarotero/www/ventojs/vento/src/transformer.ts:174:19)
    at SyncWalker.visit (file:///Users/oscarotero/Library/Caches/deno/npm/registry.npmjs.org/estree-walker/3.0.3/src/sync.js:65:16)
    at SyncWalker.visit (file:///Users/oscarotero/Library/Caches/deno/npm/registry.npmjs.org/estree-walker/3.0.3/src/sync.js:100:19)
    at Module.walk (file:///Users/oscarotero/Library/Caches/deno/npm/registry.npmjs.org/estree-walker/3.0.3/src/index.js:20:18)
    at transformTemplateCode (file:///Users/oscarotero/www/ventojs/vento/src/transformer.ts:168:10)
    at file:///Users/oscarotero/www/ventojs/vento/test/transform.ts:5:1

The code that is trying to transform is this one:
__exports.content += "\n      ";
__pos = 7;
 function echo (message) {
let __output = "";
__output += "\n        ";
__pos = 44;
__output += (message) ?? "";
__output += "\n      ";
return __output;
}
__exports.content += "\n      ";
__pos = 86;

    it["foo"] = "It works!";
    var foo = "It works!";

__exports.content += "\n      ";
__pos = 120;
__exports.content += (echo(foo)) ?? "";
__exports.content += "\n      ";

Seems that the problem is the var foo = "It works!";. Removing this line, the code is transformed correctly.
I've added this test case reproducing the error: https://github.com/ventojs/vento/blob/main/test/with.test.ts#L30-L38

Thanks for finding it, I've diagnosed the issue and I'll have a PR up shortly.


fix checking version for psql in devup.py

Ubuntu  12.04 LTS
psql (PostgreSQL) 9.1.15
following the steps in devup.py I got next situation

I made checking version for psql more universal

Coverage remained the same at 90.56% when pulling 298bac088d84cbbf5717ba884c3a04c81de47914 on KovalKt:master into 0789d06a519cba1990cdf11734e7325b0c2cc538 on mozilla:master.

Welcome!!
By the way, you spelled it "PosrgreSQL" :)
Next time you start working on a patch I strongly recommend that you do so in a branch locally. That way, you can have multiple projects going on at the same time.

Thank you!
Oh, I was nervous a little :)
It's first time I work with foreign project. I know about branches and will use them next time


The "build-and-push-image" job from the release workflow fails often when running npm for ARM builds

The job fails exceptionally often for the ARM64 image build:
------
 > [linux/arm64 ui  9/11] RUN make node_modules:
 ERR! network Socket timeout
#52 805.0 npm ERR! network This is a problem related to network connectivity.
#52 805.0 npm ERR! network In most cases you are behind a proxy or have bad network settings.
#52 805.0 npm ERR! network
#52 805.0 npm ERR! network If you are behind a proxy, please make sure that the
#52 805.1 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
#52 809.2
#52 809.2 npm ERR! A complete log of this run can be found in:
#52 809.2 npm ERR!     /home/node/.npm/_logs/2023-01-04T16_22_54_895Z-debug-0.log
#52 810.3 make: *** [Makefile:165: node_modules] Error 1
------
gitops-server.dockerfile:11
--------------------
   9 |     COPY --chown=node:node tsconfig.json /home/app/
  10 |     COPY --chown=node:node .parcelrc /home/app/
  11 | >>> RUN make node_modules
  12 |     COPY --chown=node:node ui /home/app/ui
  13 |     RUN --mount=type=cache,target=/home/app/ui/.parcel-cache make ui
--------------------
ERROR: failed to solve: process "/bin/sh -c make node_modules" did not complete successfully: exit code: 2

Latest occurrence

It failed again:
 > [linux/arm64 ui 10/12] RUN make node_modules:
#54 817.5 npm ERR! network Socket timeout
#54 817.5 npm ERR! network This is a problem related to network connectivity.
#54 817.5 npm ERR! network In most cases you are behind a proxy or have bad network settings.
#54 817.5 npm ERR! network
#54 817.6 npm ERR! network If you are behind a proxy, please make sure that the
#54 817.6 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
#54 820.1
#54 820.1 npm ERR!


Revert "Changes "Regional Scale" to "Cabled Array" in the array table."

Reverts asascience-open/ooi-ui-services#321 It had failed Travis.  Need to rework  test and then re-merge.

We are going with Jim's Previous.. it should be good.


Use SDK version 0.14.1 (dcos-common:0.14.1)

Seems the build failure is specifically that this version can't be acquired/downloaded?

Looks like dcos-commons version 0.15.0 changed task utils that Kafka Upgrade code uses.
dcos-commons did some changes in kafka upgrade code. I am not aware whether those changes are tested and verified against an upgrade test from version 1.19 to 1.20 config/state upgrade. Therefore, I am hesitant to push dcos-commons:/frameworks/kafka/src/.../upgrade code to here!


One question about runFindUserNeighborsTask

This block will return the collection of item ids?
users := dataset.UserFeedback[userId]

https://github.com/zhenghaoz/gorse/blob/7698ce7fe4aaa574a05af5d7570cf1ad24e3b2f0/master/tasks.go#L425-L435

This step speeds up neighbor searching. Only users have at least one common label or item are considered for distance computation.

Find users with the same feedback, Is there something wrong here?  Please review this PR #261

Thank you


Button: Add variant that looks like a link

The problem
Occasionally, it's useful to render something that looks like a link but is a <button> in the DOM.
The solution
Add a variant="link" that makes a Button look like a Link (including hover, focus, and so on), ideally by reusing exactly all the Link styles.

Based on how the button is implemented to render as an anchor element when a href attribute is present, it makes more sense to update the link component to follow a similar pattern. It can check for the absence of the href attribute to render as a <button> and have access to all the link variants/states in terms of styles.


functional: add membership reconfiguration tests

Address https://github.com/coreos/etcd/issues/9150.

Found possible bugs from SIGQUIT_AND_REMOVE_LEADER* cases. Will investigate further separately.


Where is the fitting happening in the zernike fitting function?

Where exactly is the fitting taking place in the zernike fitting fuction? There should be a least square error solver or and SVD operation somewhere right?

Hi Siddhartha,
I used a simple orthogonal feature to calculate the coefficient. Just use
each component in Zernike polynomial to multiply the matrix.
Thanks!
Xing
Siddhartha Gairola<EMAIL_ADDRESS>于2020年12月30日周三 上午1:51写道：

Where exactly is the fitting taking place in the zernike fitting fuction?
There should be a least square error solver or and SVD operation somewhere
right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sterncat/opticspy/issues/42, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIRBNS2W3EGWBA3VSP7FTSXLZZNANCNFSM4VOEUTEQ
.

Hi Siddhartha,
I used a simple orthogonal feature to calculate the coefficient. Just use
each component in Zernike polynomial to multiply the matrix.
Thanks!
Xing
Siddhartha Gairola<EMAIL_ADDRESS>于2020年12月30日周三 上午1:51写道：

Where exactly is the fitting taking place in the zernike fitting fuction?
There should be a least square error solver or and SVD operation somewhere
right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sterncat/opticspy/issues/42, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIRBNS2W3EGWBA3VSP7FTSXLZZNANCNFSM4VOEUTEQ
.

BTW, you are right, the solution with SVD operation is better since Zernike
polynomials are not orthogonal for discrete points, but for high sampling
densities, they are almost orthogonal.
Alex Fan<EMAIL_ADDRESS>于2021年1月4日周一 下午12:49写道：

Hi Siddhartha,
I used a simple orthogonal feature to calculate the coefficient. Just use
each component in Zernike polynomial to multiply the matrix.
Thanks!
Xing
Siddhartha Gairola<EMAIL_ADDRESS>于2020年12月30日周三 上午1:51写道：

Where exactly is the fitting taking place in the zernike fitting fuction?
There should be a least square error solver or and SVD operation somewhere
right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sterncat/opticspy/issues/42, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIRBNS2W3EGWBA3VSP7FTSXLZZNANCNFSM4VOEUTEQ
.

BTW, you are right, the solution with SVD operation is better since Zernike
polynomials are not orthogonal for discrete points, but for high sampling
densities, they are almost orthogonal.
Alex Fan<EMAIL_ADDRESS>于2021年1月4日周一 下午12:49写道：

Hi Siddhartha,
I used a simple orthogonal feature to calculate the coefficient. Just use
each component in Zernike polynomial to multiply the matrix.
Thanks!
Xing
Siddhartha Gairola<EMAIL_ADDRESS>于2020年12月30日周三 上午1:51写道：

Where exactly is the fitting taking place in the zernike fitting fuction?
There should be a least square error solver or and SVD operation somewhere
right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sterncat/opticspy/issues/42, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIRBNS2W3EGWBA3VSP7FTSXLZZNANCNFSM4VOEUTEQ
.

Yes makes sense. Thanks for your response @Sterncat  :)

Yes makes sense. Thanks for your response @Sterncat  :)


Add TensorFrames - Quick Start.ipynb

Add notebook to match TensorFrames Readme.md: How to run in python
#9

Closing this PR as there is a better notebook that I will request shortly.


Synthetic data generation for Retriever Evaluation

Description
Synthetic data generation for Retriever Evaluation
Usage
python tutorials/synthetic-retrieval-evaluation-customization/main.py \
  --api_key=<API Key> \
  --input_file=tutorials/synthetic-retrieval-evaluation-customization/data/sample_data_rawdoc.jsonl \
  --pipeline-config=tutorials/synthetic-retrieval-evaluation-customization/config/config.yaml\
  --input_format=rawdoc \
  --output_dir=tutorials/synthetic-retrieval-evaluation-customization/outputs/sample_data_rawdoc

Checklist

[x] I am familiar with the Contributing Guide.
[x] New or Existing tests cover these changes.
[x] The documentation is up to date with these changes.

Also, to fix your unit tests failing, merge main back into your branch. It's nothing you did, we made some changes and pushed a fix.

Closing in favor of #392


Adding code styling to property value.

Adding  styling for property value "infinite" in the ## Instructions.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @almazkun on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Fix gates with negative amplitudes

For some unknown reason gates with negative amplitudes are not working properly with Qblox.
A workaround we can take is, when transpiling gates into pulses, add np.pi to the phase if the amplitude is negative.

I have tested this in HW 😄


Is possible use serverless-kubeless with java ?

Kubeless work with java.
I create a project with Serverless-kubeless with java
service: func

provider:
 name: kubeless
 runtime: java

plugins:
 - serverless-kubeless

functions:
 func:
   handler: com.example.FunctionApp

this error message:
Serverless: Packaging function: func...
Serverless: Excluding development dependencies...
Serverless: Redeploying func...
Serverless: Unable to find any running pod for func. Retrying...
Serverless: Unable to find any running pod for func. Retrying...
Serverless: Unable to find any running pod for func. Retrying...
Serverless: Unable to find any running pod for func. Retrying...
Serverless: Giving up, unable to retrieve the status of the func deployment.

Is possible use serverless-kubeless with java ?

It should be possible. I see a couple of issues with your serverless.yaml.
First you need to setup the version of java: runtime: java1.8.
Then you need to set the filename and the class name as the handler. For example for the file Foo.java with this content:
▶ cat Foo.java
package io.kubeless;

import io.kubeless.Event;
import io.kubeless.Context;

public class Foo {
    public String bar(io.kubeless.Event event, io.kubeless.Context context) {
        return "Hello world!";
    }
}

You will need to set the handler handler: Foo.bar.


Mouse movement issue in sharphook with multiple displays

I was testing Sharphook in my application and found an issue. I have 3 displays in this order where Display 1 is the primary display

At first with this display order mouse movement works fine, but when I remove the 3rd display,

I get mouse conflict. I noticed that the mouse movements x axis is like this:
Actual X axis: 50
3rd Display Width(removed display): 500
Executing X axis: 50 + 500 (removed 3rd display width)
But while the process was running, if I start another application, that new x axis is working fine. But the one already created before removing the 3rd display has the issue.

Hi! Thanks for posting this issue!
Could you please clarify a little what you mean? Is this a problem with a global hook reporting incorrect mouse coordinates, or is it a problem with simulating mouse movement using EventSimulator? Also, do you mean that this happens only while an application is already running when you remove the screen, correct?

Hi @TolikPylypchuk
This problem occurs when simulating mouse movement using EventSimulator. And this happens only while an application is already running when I remove the screen. If I run the application after I removed the screen, simulations works fine.
I tested with two applications at the same time. First I started Application-1 and removed a screen. Now the problem occurs. Then I started Application-2. But in Application-2, mouse movement works fine. At the same time in Application-1, mouse movement has issues.

OK, got it. I will look into it soon.

I've fixed the problem, and the fix will be available in the next release - hopefully, soon as I have one more bug to tackle.

I've just released version 5.3.5 which fixes this bug, so this issue can be closed.


getWorkInfosByTagLiveData called three times.

worker class
class BlurWorker(context:Context,workerParameters: WorkerParameters) : Worker(context,workerParameters){
    override fun doWork(): Result {

        if(inputData.getString("status")=="10") {
            Log.e("blurr worker=","doWork called")
            val data=Data.Builder().putString("status","success").build()
            return Result.success(data)
        }else
        {
            Log.e("failure=","failure")
            val data=Data.Builder().putString("status","failure").build()
            return Result.failure(data)

        }

    }
}

Main Activity
 val data = Data.Builder().putString("status", "10").build()

        val blurrRequest = OneTimeWorkRequest.Builder(BlurWorker::class.java)
            .setInputData(data)
            .addTag("blurr")
            .build()
 WorkManager.getInstance().enqueue(blurrRequest)

WorkManager.getInstance().getWorkInfosByTagLiveData("blurr").observe(this, Observer{
                if(it!=null&&it.isEmpty())
                {

                }else {

                    val workInfo = it.get(0)

                    val isFinished = workInfo.state.isFinished
                    Log.e("isFinished=", isFinished.toString())
                    val data = workInfo.outputData
                    Log.e("data=", data.getString("status").toString())
                }
        })

I believe work manager persist work request alongside the tag, so most times when you observe by TAG getWorkInfosByTagLiveData, since there can be multiple work request to a single TAG, workmanger emits the status of each workrequest by that TAG.

Thanks for reporting this.
I'm closing this because is not clear to me what this problem is about.
Please, let me know if you have more details about your question and I will reopen this issue.
Stackoverflow might be a better forum for this kind of questions.
If you think that this is a problem of the WorkManager library, please open a bug on WorkManager's public issue tracker


Add ability to add all igem/dcterm annotations

Should be able to easily add metadata for igem/dcterm annotations that are used commonly.

Also synbiohub annotations.

Duplicate with annotation editor.


problems with command-line options

I get unexpected results when using the command-line options mentioned in the man page.
~$ alias runic="/usr/local/git/julia/julia --project=. -m Runic"   # Julia 1.12
~$ runic test.jl
ERROR: at least one of options `-c, --check`, `-d, --diff`, `-i, --inplace`, or `-o, --output` must be specified

So far, so good. (Would it make sense to send output to stdout by default?)
~$ runic -o test.out test.jl
ERROR: at least one of options `-c, --check`, `-d, --diff`, `-i, --inplace`, or `-o, --output` must be specified

Why is this? I gave the option -o.
~$ runic -d test.jl
ERROR: no output file specified

Why is this? I gave the option -d.
~$ runic -o test.out -d test.jl
Formatting `test.jl` -> `-` .................................................. ✔
diff --git a/test.jl b/test.jl
[...]

The output goes to both test.out and stdout although stdout was not specified. Why is this?
~$ runic -o - -d test.jl

This sends output to both stdout and the file ./-. However, the man page says:

If the specified file is - output is written to stdout.

Thanks for trying out Runic. The command line parsing is a bit of a mess sorry.

Would it make sense to send output to stdout by default?

I think I had this at first but it is a bit annoying if you do runic and it seemingly just hangs but I suppose that is how many unix tools work. Perhaps it is possible to detect what type stdin have and bail after a while if there is no input.

runic -o test.out test.jl

This one should definitely work.

runic -d test.jl

This one should probably also work and simply print the diff to stderr? (Or stdout since formatted text isn't outputted?)

runic -o test.out -d test.jl

This one I think works as expected. The formatted text is outputted to test.out and auxiliary information like the diff to stderr. It doesn't make sense to output them both to the file I think?

runic -o - -d test.jl

Hmm, this should work and output formatted text to stdout and diff to stderr.

Would it make sense to send output to stdout by default?

I suppose that is how many unix tools work.

I agree.

runic -d test.jl

This one should probably also work and simply print the diff to stderr?

The error message given for runic test.jl suggests that with a single -d option it works. So it should work (or the error message should be changed). If the output went to stdout by default, then this would apply here, too.

runic -o test.out -d test.jl

This one I think works as expected. The formatted text is outputted to test.out and auxiliary information like the diff to stderr. It doesn't make sense to output them both to the file I think?

I see, it's stderr, not stdout. I didn't expect any output outside of the specified output file. Again, that would be how Unix tools work. If you use runic in a script, then you probably want it to do its job silently.
BTW, the long form of runic -o test.out is runic --output test.out. It seems to me that the (GNU?) convention for long options is to use a = sign, for example, grep -f test becomes grep --file=test. Also compare julia --project=..

Reworked the argument parsing a bit and also now stdin/stdout are defaults.


Review R1 docs and make changes for free5gc contents for R2

Review R1 docs and make changes for free5gc contents for R2.

We'll discuss on slack on Monday how to attack this item.
It may not be completed in time for the R2 Release decision but as long as the documentation is available for the release announcement.

@liamfallon Can we close this now?


[OCPCLOUD-1523] Ensure missing indexes are included when sorting MachineInfos within updates

Originally, I had asserted that MachineProviders would ensure that the core of the ControlPlaneMachineSet knows about a missing index. This spreads the logic out rather awkwardly. It would be preferable to handle the missing machines directly within the update logic instead.

/override ci/prow/e2e-aws-upgrade
/override ci/prow/e2e-aws-serial
This isn't in payload yet so these aren't actually testing anything


Measure C++ overhead of call creation

We need an isolated micro benchmark (or set of benchmarks) that measures how much overhead the C++ wrapping layer adds to call creation cost:

[ ] cpu overhead
[ ] allocation count overhead
[ ] locking overhead
[ ] memory footprint overhead

#10622 Client side cpu, allocation count and locking overhead.

closing this as other performance measurement effort is underway.


WIP: style guide updates

Various items noticed while reviewing; open for discussion.

Maybe also "on-chain" instead of "onchain' if there's consensus.

+1 for HTLC, since (as Jon noted elsewhere) different people expand that abbreviation differently
+1 for IBD, since the Bitcoin Core source code sometimes expands that to "Initial Block Download" and othertimes to "Initial Blockchain Download"
+0.5 (no strong opinion) on PTLC, since that seems less likely to end up inconsistent but there's no harm in adding it
+100 for the actual spelling typo fix
-0.1 for changing onchain to on-chain (no strong opinion, I just don't want to change it unless other people strongly desire it)

Here's a controversial take for you: in our own writing we should prefer Initial Sync over Initial Block Download. That's because the thing we care about is synchronizing our view of the block chain and UTXO set to the network consensus view. Initial Block Download implies that the only thing we care about is downloading the blocks.

Per a quick grep, we actually already use "initial sync" more than "IBD", so I don't think it's that controversial a take.  :-)  I prefer sync for the same reason you specify; I was probably led astray last week by the title of the PR including "IBD".
The real controversy is dropping the "initial" from "initial sync" since it's a mode we use each time the node is more than 100 blocks behind the probable chain tip.  :-)

The real controversy is dropping the "initial" from "initial sync" since it's a mode we use each time the node is more than 100 blocks behind the probable chain tip. :-)

Ah! But it's a latch in memory: https://github.com/bitcoin/bitcoin/blob/abdfd2d0e3ebec7dbead89317ee9192189a35809/src/validation.cpp#L1299-L1301 which means that whenever you start bitcoind it's initially in initial block download. We don't ever revert to being in IBD while running.

Thanks @jonatack !

whenever you start bitcoind it's initially in initial block download. We don't ever revert to being in IBD while running.

Interesting; I didn't know that.

I agree, initial sync is fine. IBD may have caught on because of the handy acronym that rolls off the tongue well. For "initial sync" there's also an abbreviated version: https://www.youtube.com/channel/UCjkyfFH-MWZhasolgds05EA


All Page254 objects report to same topic

All objects on page 254 report to /p254b topic
Jan 28 19:42:57 hasptest MQTT[PUB] - #033[91m[81008/136116 40]#033[92m[50860/50872  1]hasp/hasptest/state/p254b => {"event":"SHORT"}
Jan 28 19:42:59 hasptest MQTT[PUB] - #033[91m[81008/132944 39]#033[92m[50776/50844  1]hasp/hasptest/state/p254b => {"event":"DOWN"}
Jan 28 19:42:59 hasptest MQTT[PUB] - #033[91m[81008/134288 39]#033[92m[50776/50844  1]hasp/hasptest/state/p254b => {"event":"SHORT"}
Jan 28 19:43:00 hasptest MQTT[PUB] - #033[91m[81008/136116 40]#033[92m[50776/50844  1]hasp/hasptest/state/p254b => {"event":"DOWN"}
Jan 28 19:43:00 hasptest MQTT[PUB] - #033[91m[81008/136116 40]#033[92m[50776/50844  1]hasp/hasptest/state/p254b => {"event":"SHORT"}

This issue was resolved in 81bf4f7ea54950b2a26bb4a1057e2b7b1cbcf829 yesterday, can you do a pull and try again please?

This issue was resolved in 81bf4f7ea54950b2a26bb4a1057e2b7b1cbcf829 yesterday, can you do a pull and try again please?


Bug > ALE 1.0.2 > LeftAligned, possibly other functions can (over/under)flow and return null.

As you can see in the image, the text is over the 20 character mark and LeftAlignedText returns a value that simply doesn't fit.

So ale.go has text formatting code in it to minimize complexity for the moment. In it, their are text alignment functions:
https://github.com/seanmmitchell/ale/blob/86ea514f22cd67f128dbc44163d6edddafdaa54e/ale.go#L69-L92
Issue is that while we clearly are giving back errors if failure occurs, we do not account for it at a higher level which is more important:
https://github.com/seanmmitchell/ale/blob/86ea514f22cd67f128dbc44163d6edddafdaa54e/pconsole/pconsole.go#L13-L16

Whoops
Submitted an update to the dev branch that had a basic fix (best effort approach) to review for testing.
https://github.com/seanmmitchell/ale/commit/a77ba36a6bfdc069d7d11c1f9f66f5bf1ef65c31
It worked, I am seeing the expect output now even in the case of an over/under flow.

Need to clean up the code and build out tests. Also I am certain that the behavior gets strange in some of the formatting decisions.

Added string tests:
https://github.com/seanmmitchell/ale/commit/d2e67ca0633f0770e225675afecc03d8a90576ee


Restore explanation and details to C# version history page

Can we switch this  back to having explanations of what changed in each version?  The links to the current documentation is helpful, but not everyone can upgrade to the latest version as quickly as it comes out.  Being able to look up and see an explanation of what was added makes it easier to learn the new features without also picking up the features which are not supported in the version you are using.
For example, if you are using C# 8, you don't want to accidently pick up features in C#10.

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

ID: 3d252158-0367-77c8-1816-dbc385c5c40b
Version Independent ID: 575872e5-6273-f8f6-e3e2-2b911cd9d009
Content: The history of C# - C# Guide
Content Source: docs/csharp/whats-new/csharp-version-history.md
Product: dotnet-csharp
Technology: csharp-whats-new
GitHub Login: @erikdietrich
Microsoft Alias: wiwagn

Hi @Trisped
Can you help me understand what's missing? I made sure that the bullet lists for each version list the new features. What additional information was there that's missing now?

Hi @BillWagner
Sorry, looks like the link I wanted was https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 which has been redirected to https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-80 .
The now gone page can be seen at https://web.archive.org/web/20220918222100/https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 .
Can we get this page (and any older pages which have been taken down) restored?  I found the 8.0 page very helpful for understanding the new features found in C# 8.
Sorry again about the first link being incorrect.  I had not noticed that the page had been redirected, so I thought the information had been removed.

Thanks @Trisped
That helps. I don't want to keep pages for each historical version indefinitely. That clutters the experience for readers.
That said, I do want to make sure you can quickly find what features were added in which version. Can you suggest changes to this page (where we do list the entire history) that would help that?

@BillWagner
Hmm, I don't know that putting all the details of how each new feature works into the history page will make sense.  I guess it could be done by adding it to the bottom of the page, but that would make the page rather large.
Is it possible to put the historical version pages in a folder inside the Whats new in C# folder?  Maybe after the C# 9.0 page?

Thanks @Trisped
That moves toward having that one file with the historical information about every version.
Here's the way I'm thinking about it now:

Once a version is more than 3 years old, it's not really "new". Similarly, the older the version, the fewer developers are still using that version.
It's still important to help developers find what features are and aren't supported on the version they're using. More developers are 1 or 2 versions behind; fewer developers are 3 and 4 versions behind. Fewer still are more than 5 versions behind.
To help developers that are on older versions, it's sufficient to list the features with a brief description. Complete information on what a feature doesn't isn't useful if you can't use it.

Based on that logic, I'd like to add any additional needed information on the current history page. I think that will provide a better experience for everyone.
What details do you find missing?

@BillWagner
I agree that what the feature does is not useful if you can't use it, but the referenced pages list the features without calling out which version it was added in.  As a result, if I am using C# 6 and I want to use an interpolated verbatim string, I don't know that this was introduced in a later version from just the one line link in the history page or from the linked page:

An interpolated verbatim string starts with the $ character followed by the @ character. You can use the $ and @ tokens in any order: both<EMAIL_ADDRESS>and @$"..." are valid interpolated verbatim strings. For more information about verbatim strings, see the string and verbatim identifier articles.

Note: I think the first two sentences in the quote contradict.  Is $ always first, or can @ be first?
I agree, a brief description of what the feature is should be enough, and having the older C# limitations in the linked page would make it harder to read.  Most of the brief descriptions are not detailed enough to make it clear what the feature is that I cannot use (or can now use if I am upgrading versions).
I don't have a good solution to the issue.  We could make the new features on the history page collapsible, so you would only see it if you expanded the section for the feature you want to learn about, but it would not take up space on the page by default.  You could also move the old What's new pages to a blog, so they can be linked to.  I think as long as the search engines can find it, it should be ok.

Thanks again @Trisped
I'm going to leave this in the backlog for now. I'm not sure the best way to address this either.

The best answer for this is to link to the Roslyn history page. That gives a feature-by-feature detail for each version of C#.


/opt/PowerDNS-Admin/create_db.py doesnt existe

Hello !
I am trying to use this role, but get this error when I want to Create PowerDNS-Admin database.
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": true, "cmd": ["/opt/PowerDNS-Admin/env/bin/python", "/opt/PowerDNS-Admin/create_db.py"], "delta": "0:00:00.011177", "end": "2020-03-03 12:55:23.921330", "msg": "non-zero return code", "rc": 2, "start": "2020-03-03 12:55:23.910153", "stderr": "/opt/PowerDNS-Admin/env/bin/python: can't open file '/opt/PowerDNS-Admin/create_db.py': [Errno 2] No such file or directory", "stderr_lines": ["/opt/PowerDNS-Admin/env/bin/python: can't open file '/opt/PowerDNS-Admin/create_db.py': [Errno 2] No such file or directory"], "stdout": "", "stdout_lines": []}
And if I verify in /opt/PowerDNS-Admin/, I don't find the create_db.py
My remote host is an ubuntu 16.04.
Please, can someone help me to fix this troube ?

This doesn't work anymore. You need to modify the playbook and create the database with mysql_db before and then import via shell with flask as described here https://github.com/ngoduykhanh/PowerDNS-Admin/wiki/Running-PowerDNS-Admin-on-Ubuntu-or-Debian#running-powerdns-admin

Take a look here: https://github.com/opsta/ansible-pdns_admin/pull/2/files#diff-dea85a17d020e6086141c3594d558a6a
Though there sqlite was used instead of mysql


ComputerCraft missing inventory api methods

I have a feeling that this is due to how AE2 handles inventories with tile entities but this is a issue. I was wondering if there is any recourse on this. Seems like moving to the inbuilt inventory system might fix this but I would need to experiment.

It is still possible to work around this issue but it is just a inconsistency.


ProtocolSupport compatability

https://www.spigotmc.org/resources/protocolsupport.7201/ for down sampling colors for older version users, https://github.com/ProtocolSupport/ProtocolSupport/tree/master/src/protocolsupport/api https://github.com/ProtocolSupport/ProtocolSupport/blob/master/src/protocolsupport/api/ProtocolSupportAPI.java#L36

Downsampling is the job of ProtocolSupport, just like it is for ViaBackwards.
The only reason we specifically integrate with ViaVersion is because it allows newer clients to connect to older servers -- so we have to bypass the server's data structures entirely to send components unmodified.


Mips debug failure on test_runner_test

test_runner_test fails in debug mode on mips hardware, but not in release mode.  It fails on different subtests each time, timing out instead of getting the right result.  Rarely, it passes.  Marking as Skip in the status file.

The test_runner_test is now failing on debug x64 vm.  The passing subtest, which should just start up the dart executable with the test script and the command line argument "pass", which should then just exit, returning 0, is instead timing out flakily.
Example of a failure is below. Notice it only takes 25 seconds to fail, which may indicate that the subtest timeout is too fast.  I am trying an increase of the timeout from 10 to 20 seconds, which may fix the flaky subtest timeouts.
FAILED: none-vm debug_x64 standalone/io/test_runner_test
Expected: Pass
Actual: RuntimeError
CommandOutput[vm]:
stdout:
stdout = []
stderr = []
stderr:
Unhandled exception:
Test case pass failed, result == Timeout
#0      TestController.processCompletedTest (file:///mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/tests/standalone/io/test_runner_test.dart:54:9)
#1      EventListener.done (file:///mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/tests/standalone/io/test_runner_test.dart:139:20)
#2      ProcessQueue.eventFinishedTestCase (file:///mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/tools/testing/dart/test_runner.dart:3126:16)
#3      ProcessQueue.ProcessQueue.setupForRunning. (file:///mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/tools/testing/dart/test_runner.dart:3090:11)
#4      _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)
#5      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:331)
#6      _DelayedData.perform (dart:async/stream_impl.dart:590)
#7      _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706)
#8      _PendingEvents.schedule. (dart:async/stream_impl.dart:666)
#9      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#10     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#11     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:394)
#12     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#13     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)
Command[vm]: DART_CONFIGURATION=DebugX64 out/DebugX64/dart --ignore-unrecognized-flags --packages=/mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/.packages /mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/tests/standalone/io/test_runner_test.dart
Took 0:00:25.931757


SignalR: Clarify connection vs client

Let me explain my point of view on many aspects of SignalR.
I have lots of experience but very little with ASP.NET (so I could be wrong)
It's all about AspNetCore (new one) SignalR.
1 - SignalR lib use "connection" and "client" at different places but both seems to represent the same thing. Why having 2 differents terms for the same things? If it is not the case, what is the difference and make it clear in the documentation.
2 - SignalR use Hub to send notification. To access Hub from a worker thread, we should use IHubContext. But IHubContext needs to have a Context to access it (from the documentation). But nowhere, it is written how to get a Context from a worker thread, why?
3 - Related to question 2, Why there is no Hub builder object to easily and quickly constract a Hub without all that complexity. Or another easy way to get it?
4 - Calling a Hub does not enable the user to iterate over Client (or connection)? Why being so restrictive? How a programmer can set   client (connection) specific filter (notification type filter) if there is nothing in the framework that enable it to works with it? Wouldn't be a too much restrictive design?
Ref: https://github.com/dotnet/aspnetcore/issues/47749
Note: Could anybody explain why there is AspNet.core and AspNetCore ??? That's hard to follow and find difference in documentation, issues, stackoverflow and everywhere. Very confusing!

There are both product design suggestions here and opportunities for doc improvement.  Doc related opportunities will be addressed here.
Related docs for me to take a look at once this is in my sprint:
Some notes:
Review the following and consider making it more discoverable, and possibly move more of the terminology descriptions to the SignalR Overview and/or possibly reiterate in the getting started tutorial:
From: https://learn.microsoft.com/en-us/training/modules/aspnet-core-signalr/2-what-is-signalr
Connections
A connection to a hub is represented by a unique identifier that's known only to the server and client. A single connection exists per hub type. Each client has a unique connection to the server. That is, a single user can be represented on multiple clients, but each client connection has its own identifier.
Clients
The client is responsible for establishing a connection to the server's endpoint through a HubConnection object. The hub connection is represented within each target platform:
.NET client: Microsoft.AspNetCore.SignalR.Client.HubConnection
JavaScript client: @microsoft/signalr.HubConnection
Java client: com.microsoft.signalr.HubConnection
For more information, see ASP.NET Core SignalR supported platforms.
When a hub connection instance is started successfully, messages flow freely in both directions. Users are free to both communicate notifications to the server and receive notifications from the server. A client is any connected application, such as, but not limited to, a web browser, a mobile app, or a desktop app.


Fixed issue number #916

Here i fixed the issue number #916 .Please you can check this and if this is right then you can merge this request.
Thanks.

Thanks


Remove profile api/cache code/module from the pinning server

Being moved to separate repo/service

Here's what I understood and a proposition to resolve this:
We have:

the profile API: https://ipfs.3box.io/profile?address=0x70, aka cacheService.js that serves a profile kv-store through a REST API
the cache: aka cache.js that caches the orbitdb kv store in Redis
the pinning code

We want to split these in a way that make sense and can scale.
Proposition:
We take the profile API out of the service, refactor & reuse the code from the 3box-js lib.
This'll give us a new service that is focused on interacting with profiles through REST (only reading for now, could be more in the future).
AFAII, next we'll interact with the data through an s3 store and might share some backend library between pinning & rest services.

If this is OK, I'll move forward, clone the repo and start splitting the code.

@lsenta This story is only for removing the cache/profile API from the pinning-server. I don't think it makes sense to actually merge this to production before we are actually using the S3 store which will enable us to create serverless functions that provide the profiles api.
So basically I don't think the "3box-rest" module you are suggesting is needed.
Maybe @zachferland has some additional feedback.

Thanks for the clarification, I didn't had the longer-term vision of moving the profile API to s3 and serverless all at once.


Fix Conda CI Tests and environment

This fixes the Conda CI Test by forcing the environment setup to use python>=3.8, which apparently also solves the dependency problem with the old ruby version.

https://github.com/siliconcompiler/siliconcompiler/actions/runs/8390444866/job/22978676757


libstemmer: unstable-2017-03-02 -> 2.2.0

Description of changes
Bump & use new repo.
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)
[x] 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.

broke the cross-compile of libstemmer
sed 's/<EMAIL_ADDRESS>libstemmer/libstemmer_c.in >libstemmer/libstemmer.c
libstemmer/mkmodules.pl libstemmer/modules.h src_c libstemmer/modules.txt libstemmer/mkinc.mak
./snowball algorithms/arabic.sbl -o src_c/stem_UTF_8_arabic -eprefix arabic_UTF_8_ -r ../runtime -u
/nix/store/p7bpdnxqd3i5hwm92mrscf7mvxk66404-bash-5.1-p16/bin/bash: line 4: ./snowball: cannot execute binary file: Exec format error
make: *** [GNUmakefile:251: src_c/stem_UTF_8_arabic.h] Error 126

https://github.com/NixOS/nixpkgs/pull/189006


chore: upgrade eslint

rm -r node_modules
npm uninstall eslint
npm install --save-dev eslint

:tada: This issue has been resolved in version 0.3.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Allow olog callback access to documents other than start

Particularly, Yugang wants exposure_time, acquire_time, etc. from detector configuration.

We need some standardized way to keep an olog entry open/appendable during a run - you wouldn't want the detector configuration in a separate log entry than the runstart.

Why not generate the entry at the end with all the needed information including the exit status of the scan?

That's probably what @danielballan is aiming to do. My desire for the appendable solution is that runstart and runstop may be many hours inbetween depending on the beamline, and it'd be nice to see the initial information as soon as possible.

@klauer we are on the same page
Get Outlook for iOShttps://aka.ms/o0ukef
On Thu, Jun 2, 2016 at 2:49 PM -0700, "K Lauer" <notifications<EMAIL_ADDRESS>wrote:
That's probably what @danielballanhttps://github.com/danielballan is aiming to do. My desire for the appendable solution is that runstart and runstop may be many hours inbetween depending on the beamline, and it'd be nice to see the initial information as soon as possible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/NSLS-II/bluesky/issues/478#issuecomment-223433448, or mute the threadhttps://github.com/notifications/unsubscribe/ACLIrktbnD8iBS0sIZJzPNCDC84kM6Zcks5qH0_2gaJpZM4Is5QM.

Can anyone volunteer to work on this? I don't know how editing olog entries works.

@shroffk Can you give us a hand with this? What's missing is a simple example of how to edit (specifically, append to) an olog entry that was recently created.

cc @yugangzhang

Implemented the prototype for log entry update
https://github.com/Olog/pyOlog/tree/update-log
example usage
text = 'test update python log entry ' + datetime.now().isoformat(' ')
        updatedLogEntry = LogEntry(text=text,
                           owner='testOwner',
                           logbooks=[self.testLogbook])
        updatedLog = self.client.update(log.getId(), updatedLogEntry)

I turned that branch into a PR https://github.com/NSLS-II/pyOlog/pull/3 but it does not merge cleanly.

This is supported in pyOlog now, but the olog callbacks built into bluesky don't integrate it with out of the box (yet).

I like the idea.

Yes, it would be nice to make this happen. This work should probably be done in a new suitcase package (suitcase-olog) now.

We plan to address this in suitcase-olog with pyolog2.

See: https://github.com/bluesky/suitcase-core/issues/69


Issues in downloading some videos

Dear authors,
Great work!
While downloading the videos, I saw that some videos fail to download because they are age-restricted. Do you have a workaround for this?
pytube.exceptions.AgeRestrictedError: _a2GpAq8q8g is age restricted, and can't be accessed without logging in.

Thanks!

Thanks for your positive feedback!
Regarding the restricted videos issue, we're aware of it. Some of the videos we initially collected later acquired restrictions, making them inaccessible without logging in. We are actively working on updating the dataset by filtering out videos that are no longer usable due to age restrictions, deletions, or changes in privacy settings.

Hi, is there any update this ?
python download_video.py --MODE 'train'
results in a urllib.error.HTTPError: HTTP Error 400: Bad Request error which seem to be related to the age restriction problem.

@soroushseifi Thank you for the feedback, the codebase is just updated by setting up and importing the local pytube. It should work now.


Path to and filename of swagger.json should not be hardcoded.

I think the "Pyramidic" thing to do about swagger.json would be:

Accept the file path via the app's .ini files.
Assume that the path is given as a URL (but maybe idiot-check for a local file as well).
Accept %(here)s and other configurables in the URL as demonstrated in the Pyramid docs.

How is the path hardcoded? It can be set in the .ini as follows (though i agree it is only limited to local file path currently) :
pyramid_swagger.schema_directory = "schemas/live/here"

@prat0318 Good catch! I didn't see that in the extended configuration doc. Updating issue title.

Came up again (in a slightly different form) in #156. Should be possible to simplify how we're handling this in general once we don't have to support Swagger 1.2.


ImportModuleError when executing lambdas

When I add the es-build plugin to my serverless.yml file and deploy to AWS, I get the following issue when triggering a lambda called InternalConfig:
{
    "errorType": "Runtime.ImportModuleError",
    "errorMessage": "Error: Cannot find module 's_internalConfig'\nRequire stack:\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js",
    "stack": [
        "Runtime.ImportModuleError: Error: Cannot find module 's_internalConfig'",
        "Require stack:",
        "- /var/runtime/UserFunction.js",
        "- /var/runtime/index.js",
        "    at _loadUserApp (/var/runtime/UserFunction.js:100:13)",
        "    at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)",
        "    at Object.<anonymous> (/var/runtime/index.js:43:30)",
        "    at Module._compile (internal/modules/cjs/loader.js:1072:14)",
        "    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)",
        "    at Module.load (internal/modules/cjs/loader.js:937:32)",
        "    at Function.Module._load (internal/modules/cjs/loader.js:778:12)",
        "    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)",
        "    at internal/main/run_main_module.js:17:47"
    ]
}

I get the same issue for all my lambdas deployed through serverless when using serverless-esbuild
For context, the InternalConfig lambda is defined in the serverless.yml file as follows:
  internalConfig:
    handler: './src/handlers/internal-config.main'
    events:
      - http:
          method: get
          path: /internal/config/{serviceName}
      - http:
          method: post
          path: /internal/config/{serviceName}

What's weird is this error does not exist if I swap out the serverless-esbuild plugin for another zero-config typescript support plugin like serverless-plugin-typescript.
Any ideas as to why this might be happening?

Hey @sahasd could you post some sample code for us to reproduce this? It's tough to debug without seeing some code.
Is this error directly from AWS Lambda?

Hi i ran into the same problem. Esbuild does not bundle objects outside the handler (if for example, You want to initialise something and cache it between invocations)
import { logger } from "logger"; // some external package

const logger = Logger();

export const handler = async (event, context) => {

  logger.info("Event: ", event); // errror cannot find module logger in runtime
  return "Hello";
};

A workaround is to initialise your code in a handler, which is sometimes not a good option
cc @samchungy

Hi i ran into the same problem. Esbuild does not bundle objects outside the handler (if for example, You want to initialise something and cache it between invocations)
// handler.js
import { logger } from "logger"; // some external package

const logger = Logger();

export const handler = async (event, context) => {

  logger.info("Event: ", event); // errror cannot find module logger in runtime
  return "Hello";
};

A workaround is to initialise your code in a handler, which is sometimes not a good option cc @samchungy

I think that will depend largely on the implementation of the external package. There are a number of modules which do not work well with Esbuild. I personally have not run into many of these and they are normally resolved by declaring them as external.

You are right, declaring winston logger as an external package in my case worked correctly.
Thanks! 🙇

You are right, declaring winston logger as an external package in my case worked correctly. Thanks! 🙇

No worries, welcome to the world of esbuild

@sahasd is your issue still unresolved or can we close this?

Closing, please reopen if you still have an issue @sahasd


GC callback

Is there any way to hook into the marking phase of the GC? I'm trying to write some bindings for the Rust language and I don't think there is any way of doing this without knowing when mruby is done with some object in order to return the ownership of the struct pointer back to Rust.

Currently, no. Tell me what kind of hook in what timing, or you can send me pull-request.

I was thinking of something similar to Java's finalize().
I've been able to circumvent the problem by forcing every Rust struct to be sent by value to mruby and then returned by value as well. This works well for a functional style and when you have small structs which is okay for a first version.
I'll post a PR after I manage to get some work done on the project.

You can use the data types for that;
https://gist.github.com/Asmod4n/12eb2eaee906579e878d
take a look at https://github.com/mruby/mruby/blob/master/include/mruby/data.h

@Asmod4n Thanks a lot for the tip! This will definitely do.
@matz data.h definitely does the job. I don't really know if there's an actual need for a finalize() method considering the fact that this exists. If you need this in Ruby you can just call a method manually when you're done with the object, so I guess you can close the issue.

Thanks.

I have a question about using DATA classes as finalizers. I followed the strategy previously mentioned to set up a finalizer by creating a DATA object and assigning it to the object of interest. Given that I can not set instance variables on the 'built-in' objects, I have found that the only universal way is to define a singleton method on the object of interest that returns the DATA object. I am assuming that the GC will collect the object of interest then the DATA object then call my GC function.
I don't know much about how the GC works but I am assuming that there could be a time gap between when the object of interest gets collected and when the DATA object gets collected. Is this the case? I need my GC callback function to be called immediately when the object of interest gets collected so can ensure nothing will try to call it.

I am not sure what you want to do. The finalizers using DATA is a hack to ensure post process of objects from  C written libraries. If you "resurrect" dying objects, the resulting behavior is undefined (usually programs will crash). That means you are not supposed to use them from Ruby.

Actually I know how to solve this. I was confusing myself.
Essentially, I was looking to set a GC callback on an object of any type (data, Array, String, etc). But now I realize that I can build a wrapper object for them (of DATA type) and set the callback there.
Thanks for trying to help though.


Conspicuous tile boundaries

Hi there,
I've noticed that there are a few locations that are on tile boundaries which show clear lines on the indoor maps.
An example here: https://indoorequal.org/#map=17.67/-0.176206/-78.478942

and here:
https://indoorequal.org/#map=17.04/35.712996/139.776567&level=0

They are more or less obvious at different zoom levels, but are not particularly visually appealing.
Is this due to a limitation of the mapbox platform, or is there something I can do to remedy this?
Thanks

I saw this change in the openmaptiles-tools repo that may fix it: https://github.com/openmaptiles/openmaptiles-tools/pull/334

Hi there.
I believe I have fixed the issue by upgrading to openmaptiles-tools 5.3. Fixed in https://github.com/indoorequal/indoorequal/commit/9122de3404c82e863136d750258bbae56893b30c


Upgrade Tanzu Build Service to 1.0.1

The installation process has been updated and there's a new cli.  Update the experiments scripts and the scripts in the bom directory.

Thanks to @techgnosis for helping me with this upgrade.  Fulfilled with dd90e2d860c26b0f60b17c74e28149fa15868841.


Cannot retrieve text

Using this gem, when I use tweet_mode: "extended", it doesn't seem to correctly handle the tweet text. Without tweet_mode: "extended", the output is as expected:
TwitterClient.status(788590358515032066).full_text
=> "RT @nznavy: OPEN SHIP || Anzac frigate HMNZS Te Mana is in Wellington this weekend & will be open to the public on Saturday, 12… https://t.co/cZpsSACj3l"

JSON.parse(TwitterClient.status(788590358515032066).to_json)["text"]
=> "RT @nznavy: OPEN SHIP || Anzac frigate HMNZS Te Mana is in Wellington this weekend & will be open to the public on Saturday, 12:30-4:30pm #…"

However, with it enabled I get the following:
TwitterClient.status(788590358515032066, tweet_mode: "extended").full_text
=> nil

JSON.parse(TwitterClient.status(788590358515032066, tweet_mode: "extended").to_json)["text"]
=> nil

JSON.parse(TwitterClient.status(788590358515032066, tweet_mode: "extended").to_json)["full_text"]
=> "RT @nznavy: OPEN SHIP || Anzac frigate HMNZS Te Mana is in Wellington this weekend & will be open to the public on Saturday, 12:30-4:30pm #…"

It appears that tweet_mode: "extended" causes a full_text field to be provided instead of text, which breaks things.

:+1: @GeorgeDewar but you can get text without working with JSON with extended mode:
tweet.attrs[:full_text]

We're getting this issue too! Would be great to get #833 merged and released!

tweet.attrs[:full_text]
did not work for me. I am using
tweet.attrs[:extended_tweet][:full_text]
See #848


perf: Animatable small adjust

delegate caching.
try to partially avoid changing the Transitions property potential during subscribe/unsubscribe operations

What does the pull request do?

When using implicit delegate assignment, the compiler create new delegate for each assignment. This OR create once TransitionsCollectionChanged delegate and using it for each assignment.
In addition, try to partially avoid potential problems when changing the Transitions property during subscribe/unsubscribe operations. Partly, because this PR doesn't avoid the issue of enumerating the Transitions collection.
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0029528-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0029535-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0029537-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


RUMM-1622: Remove Bintray/JCenter repo references

What does this PR do?
This change is similar to DataDog/dd-sdk-android#704, removes Bintray/JCenter repo references and updates libs which were hosted there before.
Review checklist (to be filled by reviewers)

[x] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[x] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[x] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #49 (784162c) into main (f82d5a3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #49   +/-   ##
=========================================
  Coverage     87.93%   87.93%
  Complexity      120      120
=========================================
  Files            19       19
  Lines           348      348
  Branches         42       42
=========================================
  Hits            306      306
  Misses           25       25
  Partials         17       17

Impacted Files
Coverage Δ

.../datadog/gradle/plugin/DdExtensionConfiguration.kt
91.67% <ø> (ø)

...kotlin/com/datadog/gradle/plugin/RepositoryInfo.kt
100.00% <ø> (ø)