Library is unusable in debug mode

After Update to latest version of svgren I permanently get an assertion in svgdom while loading simple images:
menue-new.zip
Assertion:

Release version runs fine and alle the images still look good ..... so I don't see a reason for an assertion.

Well, yes, this is due to https://github.com/igagis/svgdom/issues/13 I'm working on that.
I will remove the assertion.

That sounds good!

Assertions removed. Please update to svgdom version 0.2.71 or later.

I have updated to version 0.2.73 and everything is fine again! Thank you for your quick help!


Redesign register form

I am willing to make a few modifications in registration form and improving ui - trying different colour combination making better registration button

If you're talking about instant OPD form then you can 👍🏻, but make sure to not to make multi step form, give PR as soon as possible, no api call is changed.

sure


Can provide arguments for closed records

type Y = { y : Int }
type Y2 = Y {}
type Y3 = Y {} {}

No complaints from the compiler. Unless I'm missing something, this shouldn't be allowed. Edit: There is a check but it seems to be done lazily, when the type alias is used.

Seems to be fixed in 0.15:
Type Main.Y has too many arguments.

7| type alias Y2 = Y {}
Expecting 0, but got 1.

Confirmed, thanks.


Slow performance on VPS

Hi all,
I have a following preset

When the page with 100 images is rendered, ImageProcessor uses 100% of CPU and my website becomes unresponsive until all images are loaded.
What might be the problem ?

preset name="kocka-tag" value="cropentropycrop=30&width=250&height=180&bgcolor=fff&watermark=multicom.me&color=fff&fontsize=10&fontopacity=50&textshadow=true&fontfamily=arial&position=180,165"

What's this?

value="cropentropycrop

Also, what are the specifications of the VPS, what version are you using? that kind of stuff...

 That's a performance nightmare.

cropentropycrop removes the blank space around image - so I only get big picture.
I use GoDaddy VPS server with Intel Xeon e5-2640L processor and 3GB of RAM.
I used the imageresizing.net library before for the same thing and there were no problems, but it didnt have disk cache so I decided to give your library a try. It does the great job, but with this performance issue.
You are right about lazy loading - I might try that. What concerns me are web search robots. I might have a website slowdown the next time crawler passes by.

That's the wrong syntax for Entropy Crop. You're lucky it works and it will not in the next release since I've rewritten the parser.
http://imageprocessor.org/imageprocessor-web/imageprocessingmodule/entropycrop/
Your watermark syntax is incorrect also.
http://imageprocessor.org/imageprocessor-web/imageprocessingmodule/watermark/
I very much doubt that ImageResizing.Net was doing the same function as you are requesting from ImageProcessor. Entropy cropping is a very expensive process which require both edge detection and binary threshold filtering to correctly identify the blank areas of an image.
All this is done as much as possible in parallel to keep performance snappy.
https://github.com/JimBobSquarePants/ImageProcessor/blob/V2/src/ImageProcessor/Processors/EntropyCrop.cs#L62
I actually wrote the method for a very big commerce site and it is operating well for that environment.
What intrigues me most about your issue is that the way you are describing the scenario caching is not working. I cannot imagine a scenario where all 100 images are brand new and requested at the same time unless this was the first loading of the site page ever. Once an image has been processed subsequent requests should come from first the browser cache, or on hard reset the disk cache. If this is not happening then something is wrong with your setup. The default cache is also lasts for 1 year.
I wouldn't be worried about web crawlers. I would be more concerned about bandwidth. Imagine someone coming to your website on a mobile device. If every page is loading 100 images then their data costs will be through the roof!

One big image is 7KB, and small ones are 2-3KB each - thats less then 1MB for the whole page.
I used lazy loading and it is working just fine now. Thanks for suggestion.
Can you just tell me how can I cleanup image cache ? When I add new products to the site, I generate 10-20 thumbs from which I select 3-5 images. How can I delete the others ? I delete the original image but what about generated thumbnails ?

Glad you've made some progress.
The cache is self cleaning. If the original files are updated the cache will replace all generated images. After the default period of a year after first generation the cache will delete the cached thumbnails.
There's no explicit public method to delete a cached image as that would open the site up to DOS attacks but you can tell ImageProcessor.Web to store images for less time if they are likely to change often by installing the ImageProcessor.Web.Config package and editing the cache.config property maxDays
Otherwise the algorithm for hashing urls to generate cache keys is here. You could build something that searches for a specific thumbnail based on that hash.


BatchOperationRequestOptions vs ItemRequestOptions

BatchOperationRequestOptions is missing several options that ItemRequestOptions has. These restrictions should be documented, and verified they are not supported.

@j82w, yes they are not supported. The documentation will be covered in https://github.com/Azure/azure-cosmos-dotnet-v3/issues/685 - will resolve this.


SDK DataLoaders 1: barebones Rust support

TODO

Part of series of PR to expose configurable DataLoaders to our SDKs:

#5327
#5328
#5330

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Size changes
Name 	main 	5327/merge 	Change
re_sdk --no-default-features 	117 crates 	187 crates 	70 crates

Guess we're gonna have to extract the DataLoader trait somewhere else then :unamused:

Size changes
Name 	main 	5327/merge 	Change
re_sdk --no-default-features 	117 crates 	187 crates 	70 crates

Guess we're gonna have to extract the DataLoader trait somewhere else then 😒

Eeeehhh I tried but it really gets awkward... I'll unfortunately defer to a feature flag for now.


why not releasing it as a gem on rubygems.org

Found this is useful but it's a pity that it's not a released gem

I'd been thinking about releasing it as a gem, but I wanted to clean up some things, also I wanted to have some sort of mapping to which versions of Opal it will run against.  Originally, I've had to make some big changes w/version changes, but the latest works on 0.8 w/o any code changes, so maybe I can release it, though I'm working on better code completion in the multi line editor

I tried it with opal 0.8.0, I think it's good enough to release. You can bump version any time when you think it's ready for next release. What a pity that when searching gems related to opal, this one is not on the result list: https://rubygems.org/search?utf8=✓&query=opal

I just released 0.7.0 to match with 0.7.* opal, will be releasing one for 0.8.0 shortly.  Closing this issue


Parallel execution of Requirements

Invoke-Requirement should have a switch -Parallel that allows requirements to be executed in parallel according to the Name and DependsOn properties of each Requirement.
This opt-in feature would provide a major improvement over DSC’s synchronous execution.

I could definitely make use of this.  Would we do this with Start-Job?

This is probably better suited: https://github.com/PaulHigin/PSThreadJob


Wrong return type

I just made a fresh install of 1.62g, UMA 2.11.6, and this latest ARPG_UMA addon. It gives me a series of errors about the wrong return type.
Assets\UnityMultiplayerARPG_UMA-master\Scripts\MMO\UI\UIMmoCharacterListUMA.cs(14,59): error CS0407: 'UniTaskVoid UIMmoCharacterListUMA.OnRequestedCharacters(ResponseHandlerData, AckResponseCode, ResponseCharactersMessage)' has the wrong return type

Fixed in 1.16h package


[Text Editor] Adding Lexical as ux packages

Lexical is a new text editor created by facebook team . this is a demo  to show case and this is the library  .
I read a tweet about it and i feel like this is the text editor that symfony ux needs .  here is the tweet .

Seems like a very shaky reason to use a specific editor "I read a tweet so it must be good". Not only are there editors with proven track records and big teams but better documentation, and more complete feature set and plugin ecosystem.
If you want to use this editor there is nothing stopping you, but I don't see any argument why symfony needs to use this one.

this not my reason ... i sent the tweet just to show all the futures that text editor supports ...also it's used by facebook wich is a big company.  you can check the docmuntation if you want .  by the way symfony ux looking for a text editor and i'm trying to help with a great one ...took  your time and read doc if you find any free text editor  please share here .

It looks very nice. My only pushback might be that a UX component could be overkill. From a quick look at the docs, you set it up via:
import {createEditor} from 'lexical';

const config = {
  theme: {
    ...
  },
  onError: console.error
};
const editor = createEditor(config);

const contentEditableElement = document.getElementById('editor');
editor.setRootElement(contentEditableElement);

We could certainly create a Stimulus controller where initialize it via:
<div {{ stimulus_controller('symfony/ux-lexical', { theme: {...} }) }}>

But that doesn't offer that much. That being said, we do have other packages that are quite small. So, this might be something we could do - if someone wanted to open a PR.
Cheers!


[UI] User Preference selections not remembered

Description
User selections are not reflected accurately after the user navigates away and comes back to the Preferences screen.
Expected Behavior
Users should see their previous selections when returning to the Preferences screen.
Screenshots

Related
This issue is related to #599

While these changes are being made here, could we also shorten the page name from "userpreferences" to "preferences"?

I am looking into the following. @leecalcote Can you assign me to this or my comment will be sufficient to indicate other contributors that I am working on it?

@kushthedude thanks for considering jumping in here! @Nikhil-Ladha is this an inflight issue for you (one that you're currently working on)?

Well, I was. But I didn't have good progress till now. So if @kushthedude is willing to take up the issue. Thumbs up!

Great!
On Mon, 17 Feb, 2020, 12:16 Nikhil_Ladha<EMAIL_ADDRESS>wrote:

Well, I was. But I didn't have good progress till now. So if @kushthedude
https://github.com/kushthedude is willing to take up the issue. Thumbs
up!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/676?email_source=notifications&email_token=AKQMTLQ2M3D7HL6OR6O6CYLRDIXERA5CNFSM4KVB2TR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5H4GQ#issuecomment-586841626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQMTLVN6C4ZDXJ74KWWOYTRDIXERANCNFSM4KVB2TRQ
.

I looked at the implementation of User-Preferences Component. It is Frontend centric implemented, whatever be the value sent to the API the component is just sending the value to API regardless of considering what is the value previously stored. Hence after every reload, the preferences are reset to false as described in the component constructor hook.

I looked at the implementation of User-Preferences Component. It is Frontend centric implemented, whatever be the value sent to the API the component is just sending the value to API regardless of considering what is the value previously stored. Hence after every reload, the preferences are reset to false as described in the component constructor hook.

Yeah, that's why we need to store the value in backend and then use them again at reload.

Thats correct.
On Fri, 21 Feb, 2020, 08:18 Nikhil_Ladha<EMAIL_ADDRESS>wrote:

I looked at the implementation of User-Preferences Component. It is
Frontend centric implemented, whatever be the value sent to the API the
component is just sending the value to API regardless of considering what
is the value previously stored. Hence after every reload, the preferences
are reset to false as described in the component constructor hook.
Yeah, that's why we need to store the value in backend and then use them
again at reload.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/676?email_source=notifications&email_token=AKQMTLQW3M7PP4GSGILISTTRD46IFA5CNFSM4KVB2TR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMRKG2A#issuecomment-589472616,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQMTLSHTM3K3WRPVD2X3J3RD46IFANCNFSM4KVB2TRQ
.

@kushthedude as you look into this issue, will you have a look-see at PR #627 as well? The unfinished portion of that PR is related to the issue described here.

@kushthedude , are you working on this issue? Me, @shivaylamba  and @leecalcote  had a discussion on this issue about few days ago, and a fix was recommended during that discussion. If you're not working on it, I would like to take up this issue.


This project is not maintained anymore.  Use rbenv.

Nobody has touched this repository for years and the latest Capistrano breaks this gem.  Use rbenv instead or use an alternative to Capistrano entirely.

Or just use the version maintained by rvm itself: https://github.com/rvm/rvm1-capistrano3

What makes rvm1-capistrano3 authoritative?
For example:
https://rvm.io/deployment/capistrano
there is no mention of it here.

Addition to what @bretweinraub mentioned, also https://github.com/rvm/rvm1-capistrano3 is 7 years not updated.
Seems there is only 1 option = rbenv


Gateway tests for HTLC subscription assumptions

We've been assuming that lightning nodes will cancel HTLCs if the gateway fails respond promptly. IIRC Core Lightning will cancel after 90 seconds. But we just found out today that LND isn't cancelling HTLCs at all if the gateway fails to respond. We should add tests for these assumptions.

LNv2 does not use HTLC interception and will ship by default in v0.6. Closing


Sort URLs by clicking a button

I create a project which makes URLs sort by clicking a button.

The website looks awesome and does its job. But why have you put the code in the JavaScript Meme Maker directory?

I saw the directory name. It was a mistake, and I changed the directory name perfectly. I hope all things are good now.

The website looks awesome and does its job. But why have you put the code in the JavaScript Meme Maker directory?

I think all issues are fixed now.

Thanks for the PR. The website looks dope and does the job. It has been merged.
I will be glad if you can leave a star on this repository.


Virustotal: /etc/master.passwd is read. Why?

I've sent the bin file of version 1.6 to virustotal.
In the sandbox “VirusTotal Box of Apples” it was detected that /etc/master.passwd was opened.
https://www.virustotal.com/gui/file/87c3ac773cbc9b37215c5343b1cf0d879bb69d1d970a6b1284c3055355cd4b00/behavior

I also don't understand why network traffic is required for the purpose of this application. See behavior analysis above.
Any idea what causes this?
This is just a question of understanding, not a personal attack.

Thank you for the bug report.  You can check the codesigning and entitlements of the released ThumbMF3Version1.6 and its embedded quicktime plugin, and you can inspect the XML of their entitlements. You'll see that both executables have the sandbox entitlement and the hardened runtime entitlement. This prevents them from opening files outside their sandbox, and user selected files can only be  opened read-only.  The Info.plist of the plugin specifies that it won't open any files on its own, but will be handed  file URLs by the Quicklook system, and only files with extensions .3mf, .gcode, and .bgcode.
codesign -d --entitlements - --xml /Applications/ThumbHost3mf.app
and
codesign -d --entitlements - --xml /Applications/ThumbHost3mf.app/Contents/PlugIns/ThumbMF3.appex

<plist version="1.0"><dict>
  <key>com.apple.security.app-sandbox</key><true/>
  <key>com.apple.security.application-groups</key><array><string>2X3M9VFULE.com.turbozen.-mf</string>
  </array><key>com.apple.security.files.user-selected.read-only</key><true/>
</dict></plist>

The signing, the entitlements, and the Info.plist give you assurance that ThumbHost3mf.app is kept from accessing things it should not access.
That leaves the question of where does that report of opening /etc/master.passwd come from?
I could not reproduce it using a fresh download from the releases section of the github page.
I tried another of my apps, https://www.virustotal.com/gui/file/377bb94e134e1113321306cb983f1315574fd6253a76b59a6a2b647392d1e2e1/behavior

I clicked on the Full Reports link, and then the popup menu item VirusTotal Box of Apples and I got a page that had a screen shot and a more complete list of processes and file paths. Here is a pdf of what I saw, and you'll notice at the top of page 3 that /etc/master.passwd is opened by coreservicesd and my app never got to open any files of its own: instead the process XProtectRemediatorDubRobber was probing my app,
VirusTotal Box of Apples Sandbox report.pdf
I checked that ThumbHost3mf.app is safe, by verifying the codesigning and entitlements.
virustotal.com gives it a malware factor of 0 out of 66 - the safest.
virustotal.com reports some access to /etc/master.passwd and Crowdsourced IDS rule www.apple.com/osx/apps/all.html#messages but that is just part of the normal process of a mac running an app.


Plugin cannot handle graphql schema defined in parent directories

Describe the bug
With the following .graphqlconfig the plugin works as expected with the schema.graphql file being in the same directory in the config file.
{
	"name": "GraphQL",
	"schemaPath": "./schema.graphql"
}

However if I move the schema.graphql file into the parent directory of the .graphqlconfig the plugin stops working (no autocompletion/validation etc).
I have tried with both the following .graphqlconfig files:
{
	"name": "GraphQL",
	"schemaPath": "../schema.graphql"
}

or
{
	"name": "GraphQL",
	"schemaPath": "./../schema.graphql"
}

To Reproduce

Move the schema file into a parent directory of the config file.
Try to point to it in the config file using a valid relative path.

Expected behavior
Plugin should be able to resolve the schema file.
Version and Environment Details
Operation system: win10
IDE name and version: PyCharm 2022.2.2
Plugin version: 3.2.1

I have a similar Problem.
We have a Monorepository and use one shared graphql-definition package.
So our schemaPath is something like: "../../packages/schema/build/graphql/api.graphql".
But the plugin just silently doesn't include this.
Does someone have a workaround? even going through simlinked dependency installs doesn't seem to do the trick

Schemas defined in parent directories should work in the upcoming 2023.3 release, you can try an already published EAP to check if the issue is solved for you.

related to this https://github.com/JetBrains/js-graphql-intellij-plugin/issues/721


Automatic PR from RestAPI-PR2276

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/2276

Network will be regenerated manually


Blog Post: Navigating Donations to OpenSats

WIP
See also:

https://github.com/OpenSats/website/pull/134#issuecomment-1829633160

I'll close this for now; maybe we revisit it at some point in the future.


Remove dynamic atom statements + coverage

Close #180
Erlang VM is running out of atom in staging and production, leading the app to crash. Erlang VM can have by default only 1,048,576 atoms (http://erlang.org/doc/efficiency_guide/advanced.html). In neoscan app, atom are dynamically created to give a name to databases request. There is no valid reason to create an atom because the request function can take any argument, e.g. a String. (https://hexdocs.pm/ecto/Ecto.Multi.html#t:name/0). This name is only used to show which request failed or was successful. This PR is to remove the conversion of those strings to atom, to prevent the app from failing periodically. Insertion of block 0 and block 4130 in unit tests have been added to cover the code impacted by those changes.

Pull Request Test Coverage Report for Build 639

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+6.4%) to 57.524%

Files with Coverage Reduction
New Missed Lines
%

apps/neoprice/lib/neoprice/gas_btc.ex
4
20.0%

Totals

Change from base Build 636:
6.4%

Covered Lines:
1013

Relevant Lines:
1761

💛  - Coveralls


[Vue warn]: Avoid using non-primitive value as key, use string/number value instead.

Pagination.vue line 7: :key="element"
It's better to use element.page instead of element there.

Please merge this. Thanks


Allow saving custom configuration on RetroArch

I tried to save some config modifications on RetroArch but always that I leave RetroArch the default configuration is loaded.

The retroarch config file was overwritten each time a game was launched. It was for security purpose.
I changed the configuration system in the last commit, so if you change settings in retroarch menu, and if you set "Automatic Config Save" to ON in "General Settings", your modifications will now be saved.


fix: improve block and list indentations

What does this do?

Enables aligning blocks to the nearest listitem or headline
No longer modifies the bodies of blocks beyond ensuring the minimum indentation in a block is aligned with the block header/footer
Returns the "proper" indent level for a list item based on the header in indent mode instead of alignment purely to the list. This allows blocks to be properly aligned to new indent levels in listitems and better follows how the other category of indents works. This is done via recursive call to get the correct indent level up the tree of the listitems.

Additional Notes
I made this with the intention of rebasing #627 on it to resolve note 5 within #627. I found this to be the most obvious solution.
I extracted large sections of the indentexpr into a separate top level function in indent.lua so it can be used as part of the get_matches function. As such the diff is quite noisy. It may be easier to follow this PR via the commits than the mainline diff.
The logic for the blocks is almost entirely done in the get_matches function as I needed access to the treesitter nodes without the current indents being modified as part of the indentexpr. This ensures visual range indents work as expected. Doing the block indents as part of get_indent_for_match will cause issues in visual range as the indent can change for each line in the range.
I have written some tests for the new block functionality in the indent_spec.
@kristijanhusak If this gets merged I'll likely rebase #627 on top of this and use the work here as part of the finishing touches to #627.

So those are aligning to the header actually. I'm guessing you have indent mode enabled.
foo and baz got aligned to the headline TODO Test List.
In terms of "fixing" the block indents, it now ensures that the content inside the blocks aren't realigned and only indented to be in line with the block itself, no actual internal content is messed with beyond that.
In terms of "fixing" the list indents. It's more of a change than a fix I suppose.
Given some content like so and assuming indent mode is on:
* My Header
- My list
  - sublist

If I were to attempt to indent the sublist beforehand it would not actually change its indent level despite it technically being underindented. It was aligning to the parent. That's ok, but created issues for me in the promotion and demotion autoalignment in #627. Now if we attempt to indent only the sublist line, it gets set to the "correct" indentation level instead of binding only to the parent. It tries to stick under the parent while also knowing how deep it should be based on its nesting. So if I indented the sublist line with my changes it would look like so afterwards:
* My Header
- My list
    - sublist

This may seem wrong at first glance, but plays nicer with other sections of the code base as well as ensuring block indents align to the new list indents if a block is under the list item. Without that behavior it becomes much harder to know where to indent the individual blocks to if I don't invoke a visual range on the entire section.
Take for instance this video of before my changes:
https://github.com/nvim-orgmode/orgmode/assets/58627896/3f523fb6-24a2-453e-9ea5-1552c8152469
And after:
https://github.com/nvim-orgmode/orgmode/assets/58627896/903b8087-9803-4c28-8744-09cac3466df0
You'll notice that the primary issue in the before is that the content body doesn't get reindented. The reason why I went a bit further than that is so I could get the correct indentation as expected in #627 for the virtual indents especially on promotions and demotions.
The major thing this PR brings is alignment of misaligned block contents. If you have content in a block like so:
**** Headline
     #+begin_src json
{
   "key": "value"
}
     #+end_src

It will now align the underindented block contents to be aligned with the block after indent like so:
**** Headline
     #+begin_src json
     {
        "key": "value"
     }
     #+end_src

It also works with overindented internal block content:
**** Headline
     #+begin_src json
          {
              "key": "value"
          }
     #+end_src

Becomes:
**** Headline
     #+begin_src json
     {
         "key": "value"
     }
     #+end_src

Of significance is the approach to the indentexpr. I am now somewhat ignoring alignment to parent nodes, instead returning the indent of what the current line should be if the parent nodes were correctly indented.

Thanks for the detailed explanation. Videos are very helpful.
I think having a single indent function to handle both indent and non-indent configuration options is not the optimal solution.
What would be the complication if we create 2 separate functions that handle the indents separately? Even though I understand the reasoning behind the changes to the list item indentation, I do not really like the way it works. I would expect it to align to the parent list item, at least in an indent mode. Also regarding the blocks, I'm not sure if it's a good idea to dedent the content of the block to match the start of #+begin_src, since the content might be indented intentionally.

When it came to matching the start of #+begin_src I quite literally can't think of a single reason to want additional padding within the block itself. I don't know of any reason to do so, but if you believe it shouldn't be dedented then I'm fine with yanking that, not a big deal. Just kind of a QOL thing I thought would be nice.

I thought it might not be dedented properly if the code itself has strange indenting, but I see it respects the least indented line and aligns everything properly, so I'm ok with leaving that.
I was thinking about 2 separate functions because it will be probably easier to maintain later. I'm expecting that we will get more issue reports once the virtual indents kick in, so it might be difficult to distinguish the code that needs fixing, and might be harder to debug.
If you think that'll be too much, I'm ok with cleanup and reorganization as you suggested.

Do you want me to fully respect the parent node? For example, don't attempt to indent to the "correct" position if the parent were correctly indented, indent to the current indent parent only. If yes, then I'll have to figure out a different solution of some sort over in https://github.com/nvim-orgmode/orgmode/pull/627.

I'd prefer having it always respect the parent node, since that's how Emacs works. But if you think it will drastically help to leave it as it is, I'm ok with that. I don't want to cause overcomplication for something that might not be an issue 99% of the time. I think most of the users either reindent the whole thing or nothing, not just a single line item.

Do you want me to remove the dedent to match the blocks if the block content is overindented? Again, I can't think of a reason why you wouldn't want to be aligned to the block, but I'll do it if you prefer it this way.

No need, leave it as it is now. It works great.

I was thinking about 2 separate functions because it will be probably easier to maintain later. I'm expecting that we will get more issue reports once the virtual indents kick in, so it might be difficult to distinguish the code that needs fixing, and might be harder to debug.
If you think that'll be too much, I'm ok with cleanup and reorganization as you suggested.

I'll do some reorg then and ping you when it's ready for additional review. I have some things in mind now that you mentioned that. I think you'll find debugging what I have in mind to be relatively easy. I'm not 100% certain what I have in mind is viable, but I'm gonna give it a shot and find out.

I'd prefer having it always respect the parent node, since that's how Emacs works. But if you think it will drastically help to leave it as it is, I'm ok with that. I don't want to cause overcomplication for something that might not be an issue 99% of the time. I think most of the users either reindent the whole thing or nothing, not just a single line item.

It helps a lot with #627. It was the easiest way I could think of at that moment that would make the virtual indents play nice without a mountain of additional code.
If you can think of something that could be done, I'm down to implement it. It's just the solution I thought of.

I would like to die now. Of course! Of course it works on v0.9.0 and nightly, but not anything between.

The tests pass around half the time on those non nightly versions... this is gonna be weird!.

Alright, that's been resolved.
@kristijanhusak this should be ready for another review from you. I did a small smattering of reorganization to the indents. Should be a bit easier to parse through.

Awesome! I'll get #627 rebased on top of this when I get a moment. Most likely later in the week.


How to deal with the situation where the version number of flutter is cleared

As Title
I've found that some flutter apps delete information about the version number that has been changed, such as<PHONE_NUMBER>00

@ElfHunter268 Can you share the related binary if possible

https://github.com/Impact-I/reFlutter/issues/202 here

Impact-I/reFlutter#202 here

404 Page Not found error.


ocenaudio not starting under budgie (with a potential fix)

Describe the bug
Under budgie ocenaudio does not start. There is
QT_QPA_PLATFORMTEHEME=gtk2
QT_STLYE_OVERRIDE=gtk2

set. If you unset these it will start.
unset QT_QPA_PLATFORMTEHEME
unset QT_STLYE_OVERRIDE

But then it looks out of place to the rest of the desktop. I was able to fix this using a qt6 build of ocenaudio. The fedora package is linked against qt6. I made a package.nix that creates a version of ocanaudio that looks fine and works (see at the end). I do not submit this an pull request because:

I installed nixos the first time today, I have no experience with it.
I do not know if my version would work for most people
I have no experience with the nix-language

I renamed my package to ocenaudio-qt6, in case it makes sense to provide it as an alternative. I added the package as an overlay to my system, so I am happy with that.
Steps To Reproduce
Steps to reproduce the behavior:

Run budgie (on 24.05)
Start oceanaudio
It does not start

Expected behavior
It should start
Screenshots

Additional context
{ stdenv
, lib
, fetchurl
, autoPatchelfHook
, rpmextract
, qt6
, libjack2
, alsa-lib
, bzip2
, libpulseaudio
, xz
}:

stdenv.mkDerivation rec {
  pname = "ocenaudio-qt6";
  version = "3.13.8";

  src = fetchurl {
    url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_fedora35.rpm??version=v${version}";
    hash = "sha256-BWORR6nCwnr6/paH/VAuYgmWVYTCMr/5lpOdCqPoFC8=";
  };

  nativeBuildInputs = [
    alsa-lib
    autoPatchelfHook
    bzip2
    libjack2
    libpulseaudio
    qt6.qtbase
    qt6.wrapQtAppsHook
    xz
  ];
  autoPatchelfIgnoreMissingDeps = [ "libjackserver.so.0" ];

  buildInputs = [ rpmextract ];

  dontUnpack = true;
  dontBuild = true;
  dontStrip = true;

  installPhase = ''
    mkdir -p $out
    cd $out
    rpmextract $src
    cp -av $out/opt/ocenaudio/* $out
    rm -rf $out/opt
    mv $out/usr/share $out/share
    rm -rf $out/usr
    substituteInPlace $out/share/applications/ocenaudio.desktop \
      --replace-fail "/opt/ocenaudio/bin/ocenaudio" "ocenaudio"
    mkdir -p $out/share/licenses/ocenaudio
    mv $out/bin/ocenaudio_license.txt $out/share/licenses/ocenaudio/LICENSE

    # Create symlink bzip2 library
    ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/libbz2.so.1.0

    mv $out/bin/ocenaudio $out/bin/ocenaudio.main
    makeWrapper $out/bin/ocenaudio.main $out/bin/ocenaudio \
      --unset QT_STYLE_OVERRIDE \
      --unset QT_QPA_PLATFORMTHEME
  '';

  meta = with lib; {
    description = "Cross-platform, easy to use, fast and functional audio editor";
    homepage = "https://www.ocenaudio.com";
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
    license = licenses.unfree;
    platforms = [ "x86_64-linux" ];
    maintainers = with maintainers; [ onny ];
  };
}

Notify maintainers
@r-ryantm @onny

Add a :+1: reaction to issues you find important.

I tried to run this under budgie on unstable (24.11), and it just won't run. Terminates with SIGSEGV (Address boundary error).  Works fine on other desktops.


Ability to specify additional files to be added to the chart

Try to address #74

files attribute added to helm_package
it receives map from fileset to directory inside a chart where the whole fileset will be copied

Could be used as

filegroup(
    name = "configs",
    srcs = glob([
        "configs/**",
    ]),
)

helm_package(
    name = "package",
    files = {
        ":configs": "configs",
    },
    # rest of target parameters
)

In this case all file structure under configs directory will be copied to configs directory "inside" chart and would be available via .Files.Get ("configs/my-config.yaml")

Hello!
Thank you for the feedback.

Out of curiosity, why not add the files field that builds a runfiles-like directory?

It seems that the answer is simple - because of lack of experience with Bazel :)
Could you please provide more details about your idea how it could be improved?


Document cases for github datasets

In general we recommend adding the new dataset under a username or organization in the Hugging Face Hub at hf.co/datasets, but users can still add a dataset on github in some cases.
I added a paragraph in the documentation to explain in which cases it can make more sense to open a PR on github:

when you need the dataset to be reviewed
when you need long-term maintenance from the HF team
when there’s no clear org name / namespace that you can put the dataset under

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Yay!


Fix random Spark streaming test failure

The testTapSparkProcessor has the test that checks the contents at the output of spark
streaming word count processor. It turns out that the order in which these messages are
processed are not always in order. Hence, remvoed the content verification and added
the counter that verifies the total number of mesages after spark computation.

Hi @ilayaperumalg I am now getting...
java.lang.NullPointerException
at org.springframework.xd.shell.command.fixtures.MetricExistsMatcher.matches(MetricExistsMatcher.java:39)
at org.springframework.xd.test.fixtures.EventuallyMatcher.matches(EventuallyMatcher.java:59)
at org.hamcrest.DiagnosingMatcher.matches(DiagnosingMatcher.java:12)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:12)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.springframework.xd.spark.streaming.AbstractSparkStreamingTests.testTapSparkProcessor(AbstractSparkStreamingTests.java:168)

for both the Local and Rabbit tests.

Seems like a race condition here:
https://github.com/spring-projects/spring-xd/blob/master/spring-xd-shell/src/test/java/org/springframework/xd/shell/command/fixtures/MetricExistsMatcher.java#L39
Most likely the counter doesn't exist yet and the Table instance is null.

Rebased after https://github.com/spring-projects/spring-xd/commit/34dcdcac5af73e79160fe3beb29f481a4f70ad82
Now getting:
java.lang.AssertionError:
Expected: an existing metric, trying at most 20 times
     but: failed after 20*100=2000ms:
counter named 'random98413' did not exist

One possible reason is that the test sends data before the tap is fully initialized, and therefore the processing doesn't happen.

Ok so it turns out that the test requires Redis for analytics, and therefore the counters weren't created at all. Will move to in-memory analytics.

This specific test started requiring the analytics repo after the fix in this PR that checks for the counter. I think the original issue was related to message ordering. So, moving to verify counter, fixes on MetricsMatcher (the null check) and finally to the in-memory analytic repo helped :-)

@ilayaperumalg Right :)

Changed to in-memory, rebased, merged https://github.com/spring-projects/spring-xd/commit/44b9920fd4020a162ed8cdeda4d812dd63e0ffe9

Thanks; confirmed this worked on my old MacBook Air.
Thankfully, I'm back on my MacBook Pro now :smile:


Log query text for POST requests [Port to 2.X]

Port https://github.com/influxdata/influxdb/issues/20653 to 2.X

Confirmed 2.x currently logs request bodies for both /api/v2/query and /query requests. The logs are leveled as debug instead of info.
Closing this as I believe there are separate issues around making 2.x logging more consistent with 1.x logging in general.


[Question] Compiled CMD availabliity

Hi,
I'm have difficulty building a standalone osprey command line utility using CompileOspreyStandalone.
The most success I have had is buidling one that mostly works but can't save pdfs (I think because it lacks the GUI add-ons) or run spm segmentation.
Are there any available for ubuntu, either as a standalone zip or as a docker container?
Thanks
Luke

Hi Luke,
Thanks for reaching out. Could you try adding the GUILayoutDir and WidgetsDir to the list of additional files for the CmdCompiler as well? Should be those two lines:
fullfile(WidgetsDir),...
fullfile(GUILayoutDir),...

Or have you already done this?
Not sure about the SPM issue can you post the logfile output?
Have you tried the Ubuntu GUI version from the release page? Just to be sure that it is working. I can try and compile a working CMD version for Ubuntu in the meantime.
Cheers,
Helge

I think I can fix the pdf issue. I hadn't realized those weren't included in the build script. But I'm confident I can get that to work since it works in my GUI version.
I get the same SPM errror when using my compiled GUI version. below is the error

Timestamp March 27, 2024 15:33:50 Osprey 2.5.0  OspreyCoreg
Coregistering voxel from dataset   1 out of   1 total datasets...
... done.
Elapsed time 5.273914 seconds
Timestamp March 27, 2024 15:34:12 Osprey 2.5.0  OspreySeg
Segmenting structural image from dataset   1 out of   1 total datasets...
Item matlabbatch: No repeat named
spm
Incorrect number or types of inputs or outputs for function 'list'.
Error in cfg_repeat/list (line 112)
Error in cfg_util>local_getcjid2subs (line 1365)
Error in cfg_util>local_initjob (line 1555)
Error in cfg_util (line 815)
Error in spm_jobman (line 246)
Error in OspreySeg>createSegJob (line 740)
Error in OspreySeg (line 191)
Error in osp_onSeg (line 47)
Error while evaluating UIControl Callback.

Its worth noting that when I use the GUI version available from the release page segment seems to work.

It probably worth posting how I'm calling the build script.
clear all
addpath('spm12')
addpath(genpath('osprey'))

CompileOspreyStandalone('/mnt/isilon/meg_lab/bloyl/Programs/osprey/cli2_2', ...
    '/mnt/isilon/meg_lab/bloyl/Programs/osprey/spm12', ...
    0, 1, 1, 0, ...
    '/home/bloyl/MATLAB Add-Ons/Toolboxes/Widgets Toolbox - Compatibility Support(3)', ...
    '/home/bloyl/MATLAB Add-Ons/Toolboxes/GUI Layout Toolbox')

does that seem correct? Specifically the addpath s?
Thanks for your help on this.

Sorry for the delayed answer.
The function call looks correct to me.
Did you figure out the problem with SPM?


Add Raku files for parts 1 to 4

I've taken this project as an inspiration to finally make myself learn a new programming language. Seems like this one has not been adressed by anyone else.
The implementation is using base Raku. There seem to be modules that contain logic for matrices, vectors and all the fun maths. If I come around it, I'll try to use those in upcoming parts.
I think for the introduction to Raku this is a very nice start. Maybe the code can be used as an illustration to some concepts of this language to others.
This is an amazing and inspiring community project - keep up the good work, everybody! :)

Awesome! Keep it up!


[Lake][Config] PredictoorETL is handling st_ts and end_ts dates correctly.

Background / motivation
This originates from scoping down & stabilizing the DuckDB/Raw/ETL data pipeline.
https://github.com/oceanprotocol/pdr-backend/pull/1077
The problem exists because lake_ss.st_ts and lake_ss.end_ts are being continually used with time windows to solve for how OHLCV is typically used (with a lookback).
Example Time Window
st_ts: "1 month ago"
end_ts: "now"
If we want to solve for having a relative date in ppss.yaml (rather than use a fixed date for st_ts) then I propose we have different lake_ss strategies, such that we can separate the concern of the lake (to grow as big as possible) from the subsystems that are trying to consume/process/build off this data.
Challenge / Problem
The lake (and likely OHLCV) benefit from being "greedy" and always growing to obtain as much data as possible. So, it's silly for an example to have a Time Window of 1 month that would delete old data.
What would be best would be to separate these concerns into Lake<->System
Lake
|- Pond
|- Pond
[Lake]
Is always greedy, trying to grow as much as possible.

It should start from a fixed date (i.e. 01-01-2023)
It should end on the latest possible date (i.e. now)

[Pond]
Is a filter of Lake, trying to process whatever data from lake it's responsible for.

It could start from a relative date (i.e. 1 month ago)
It could end on a relative date (i.e. 1 day ago)

We generally do not want a lake with a moving tail.
Proposal A - Broad Lake - Narrow Pond - Improving ppss.yaml
Update lake_ss to be greedy.

No start relative dates
Fixed start dates
Relative end_dates are ok

Let model_ss use filtering

OHCLV/Model AI can have a relative start date
This data can be sampled from the larger lake

Example:
lake_ss:
 st_ts: 01-01-2023
 end_ts: "now"
pdr_etl_ss:
  st_ts: "01-01-2023"
  end_ts: "now"
ai_model_ss:
  st_ts: "last 1 month"
  end_ts: "now"

TODOs / DoD

Update yaml.css to support different lake/data strategies
lake_ss is responsible for owning/growing the lake
pdr_etl_ss and ai_model_ss then consume/use a subset of the lake

Tasks:

[ ] Update yaml to support pdr_etl vs. ai_model ss
[ ] Update lake to fill up based on top_level_ss rules

If an absolute value start date is given in the yaml file, and there's already ohlcv csv files with earlier dates, the lake doesn't delete them. Why would it?
You can think of start and end date values as saying "I want at least this data in the lake". It's instructions if any extra data to gather. It is explicitly NOT saying "I want only this data in the lake, therefore delete anything that isn't there".
This carries over to relative dates too.
Therefore you don't need to delete old data. That would be overkill and over-engineering. KISS.

(Therefore we should keep relative dates for start date too. It helps ux.)

It makes sense for me and this is also crossed my mind before to have different config values for different data types inside the lake. This is going to make the fetching process + storing more efficient and will also help with overall configurations so now If you want to experiment with sim or predictions you update a specific configuration inside the lake, if you want to play with analytics you change another parameter and you can keep track much easier than just modifying one start_ts.
Related to the more specific ETL + GQL issue I think we can make some minor changes where the now is read at the start of the fetching process and is kept as constant until the fetch has ended. After first data fetching went trough the GQL is going to look at last saved data timestamp for fetching new values so there shouldn't be issues.
I created an issue and a fix for the proposed solution here: #1095

I have implemented the immediate solution I'm looking for here.
https://github.com/oceanprotocol/pdr-backend/pull/1106
This addresses the issue in 1 place, across all lake commands.
As intended and expected by GQL + ETL to work correctly.


Bump json-smart from 2.4.7 to 2.4.11 in plugins/repository-hdfs/

Description
This mirrors similar changes made to the main and 2.x branches - #6944, #7812
Related Issues
N/A
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Tests with failures:
 - org.opensearch.cluster.ClusterHealthIT.testHealthOnMasterFailover

#1828


TwirpServer Constructor not capturing ServerOptions in v8.1.2

Hello,
I am fairly new to Twirp so this may be something I am doing wrong. We recently upgraded from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>We have a service called Builder which we are instantiating in the router.go of our application using:
builderHandler := rpc.NewBuilderServer(d.handlers.builder, tw.DefaultOptions(), twirp.WithServerPathPrefix(pathPrefix))

Here is the definition of tw.DefaultOptions():
func DefaultOptions() twirp.ServerOption {
	options := func(o *twirp.ServerOptions) {
		o.JSONSkipDefaults = true
		o.Hooks = defaultHooks()
	}
	return options
}

The NewBuilderServer Twirp function gets defined as follows in v8.1.2:
func NewBuilderServer(svc Builder, opts ...interface{}) TwirpServer {
	serverOpts := newServerOpts(opts)

	// Using ReadOpt allows backwards and forwads compatibility with new options in the future
	jsonSkipDefaults := false
	_ = serverOpts.ReadOpt("jsonSkipDefaults", &jsonSkipDefaults)
	jsonCamelCase := false
	_ = serverOpts.ReadOpt("jsonCamelCase", &jsonCamelCase)
	var pathPrefix string
	if ok := serverOpts.ReadOpt("pathPrefix", &pathPrefix); !ok {
		pathPrefix = "/twirp" // default prefix
	}

	return &builderServer{
		Builder:          svc,
		hooks:            serverOpts.Hooks,
		interceptor:      twirp.ChainInterceptors(serverOpts.Interceptors...),
		pathPrefix:       pathPrefix,
		jsonSkipDefaults: jsonSkipDefaults,
		jsonCamelCase:    jsonCamelCase,
	}
}

The issue here is that, as we can see in the definition of tw.DefaultOptions(), jsonSkipDefaults should be set to true. However, _ = serverOpts.ReadOpt("jsonSkipDefaults", &jsonSkipDefaults) does not change the value of jsonSkipDefaults and leaves it as false.
For context here is how the NewBuilderServer Twirp function gets defined in v8.0.0:
func NewBuilderServer(svc Builder, opts ...interface{}) TwirpServer {
	serverOpts := twirp.ServerOptions{}
	for _, opt := range opts {
		switch o := opt.(type) {
		case twirp.ServerOption:
			o(&serverOpts)
		case *twirp.ServerHooks: // backwards compatibility, allow to specify hooks as an argument
			twirp.WithServerHooks(o)(&serverOpts)
		case nil: // backwards compatibility, allow nil value for the argument
			continue
		default:
			panic(fmt.Sprintf("Invalid option type %T on NewBuilderServer", o))
		}
	}

	return &builderServer{
		Builder:          svc,
		pathPrefix:       serverOpts.PathPrefix(),
		interceptor:      twirp.ChainInterceptors(serverOpts.Interceptors...),
		hooks:            serverOpts.Hooks,
		jsonSkipDefaults: serverOpts.JSONSkipDefaults,
	}
}

This works as expected. These two pieces of code are semantically identical for our purposes. I was wondering if I could get some help in determining what could be causing an issue like this to occur. Any guidance will be greatly appreciated!

Thanks for the bug report. We will look into this.

Still keeping this open.

Given the explanation from @fpetelin, I am closing this issue.


Fix HTML endpoints

The HTML endpoints return unexpected data. We need to investigate this issue to determine whether it is a problem with the service, our requests, or the JSON parsing.
Note that we have modified the HTML-related tests for AlchemyVision to fail. Unfortunately, the service returns empty strings for the model properties, which are sufficient to map to the models. Using XCTFail() ensures that we flag these tests and remember to return to them.

from the alchemy internal chat - The entities call works without the “url” but the Microformat call throws the invalid url error. This is a bug thanks for catching it … we will add it to the backlog to fix.

FYI - This may not make it in before we release this milestone

I guess an update on this, generally:
For html and text calls the Swagger docs list the wrong information. They list the parameter as html_File and text_File, respectively, but in reality the parameters should be html and text. This is why we kept getting content-empty errors.
Glenn and I also figured out that there was an issue with how we were doing our encoding. Certain characters were not being encoded correctly leading to some odd issues, notably whenever an html file contained the string url=. If it was not encoded correctly, the service actually tried to pick it up as a query parameter. We've updated to use a custom allowed character set which seems to solve the problem for the most part.

Complete with #305.


Add isBaseMessage to mitigate sub_type issue

It turns out there are MANY message subtypes https://api.slack.com/events/message
Currently slapp.message doesn't filter by any of these types, it just consider text when matching most times. However, today we started receiving message_changed events for every updated interactive message and these messages include the text property.
So we need to more broadly consider how we match on subtypes of event types of message which would be a broader API change. This change "fixes" the current situation in a way that is in line with current expectations.

Coverage remained the same at 100.0% when pulling 77e0585a304a4e8b0ef5ed32a71a5e05001758ee on isBaseMessage into f6323186566a2cf19211a04e71066ac322a3e58f on master.


Suggestion: Ability to remove undesired 'citizens'

Title. The plugin is great, however many people such as myself do not necessarily like all of them - would be great to have an option to hide undesired 'citizens'.

Can you give examples of ones you dont like? Maybe they should be removed entirely.

I could but I doubt everyone agrees with my choices and I probably have not even seen all of them.

I'm a bit late to the party but I'll say that I would use this feature. There are quite a few great citizens, but others like Richard in the Grand Exchange are sometimes "in the way," have overhead text, or honestly just have animations that repeat too frequently. Some examples are exactly Richard, who isn't cooking with the same timing as players cook, or Jim in the Crafting Guild who scratches his head every two ticks. I would probably hide the random NPC pets, too.


NTR: treatment with coagulating factor

NTR: treatment with coagulating factor
(synonym: treatment with clotting factor)
List of coagulating factors:

name
synonym
synonym
synonym

factor I
fibrinogen

factor II
prothrombin

factor III
tissue factor
tissue thromboplastin

factor IV
ionized calcium
Ca++

factor V
proaccelerin
labile factor

factor VI

factor VII
stabilizing factor
proconvertin
stable factor

factor VIII
antihemophilic factor A
FVIII

factor IX
Christmas factor
plasma thromboplastin component

factor X
Stuart-Prower factor

factor XI
plasma thromboplastin antecedent

factor XII
Hageman factor

factor XIII
fibrin-stabilizing factor

references for the coagulation factors:
https://www.ncbi.nlm.nih.gov/books/NBK507850/
PMID:29939627
https://www.rnceus.com/coag/coagpro.html
Note:
Though not reported as a coagulating factor, von Willebrand factor (VWF) is also often used for the treatment of hemorrhagic disease.
Maybe this new term should be called "treatment with factors involved in coagulation" ? This way, we could include other factors such as VWF,
Also needed:
the combination treatment: VWF/FVIII
(from https://www.ncbi.nlm.nih.gov/books/NBK7014/ "Intravenous infusion of VWF/FVIII clotting factor concentrates")

added term under coagulant agent therapy already present. Will not have time to add all the separate factors, but hoping this suffices.

@sabrinatoro
adding for factors VIII and IX and vWF.
Replacement Rx for the other factors is not something commonly used in the clinic AFAIK. If there is a specific need, please open a new issue with PMID reference.


How to access assets?

Hi, I've scoured the project's config and Webpack docs. I've also seen the favicon.ico example in the App, but I still can't access an image for inline insertion.
My image is located at /src/assets/images/marker-cluster--magenta.png. Here's one of my more promising attempts:
const markerClustererImage = require('!file?name=[name].[ext]!../../../assets/images/marker-cluster--magenta.png'); // eslint-disable-line import/no-webpack-loader-syntax
console.log(markerClustererImage);
// /marker-cluster--magenta.png

Could you kindly explain how the loaders, assets, etc are handling images? Thank you!

Also I see that these assets are stored in /build/client/assets.json but how do you actually render an image?
Another attempt:
const clusterMarkerSrc = require('!file!../../../assets/images/marker-cluster--magenta.png'); // eslint-

On the client returns a 404 pointing to http://localhost:3000/d14e63cee3447971eda2da0879d044c7.png1.png
When I use my browser to go to http://localhost:3000/d14e63cee3447971eda2da0879d044c7.png it renders properly.

Ok, further progress. As it turns out require('!file!../../../assets/images/marker-cluster--magenta.png'); returns the image:data value of the image. Is it possible to return the proper image path instead? Thanks guys.

After further experimentation with webpack loaders I have I think this issue originates from another library. React Google Maps is prepending my correct filepath with another file extension (filename.png1.png). Closing until further notice.


lack files:train_mega.txt, palette.txt, db_info.yaml

when i run train_offline.py it will occur IOError: [Errno 2] No such file or directory: '/home/wxm/MaskTrack-master/training/DAVIS17_train-val/ImageSets/2017/train_mega.txt'
when i run train_online.py,it will occur  IOError: [Errno 2] No such file or directory: '/home/wxm/MaskTrack-master/training/DAVIS17/db_info.yaml'

when i run train_offline.py it will occur IOError: [Errno 2] No such file or directory: '/home/wxm/MaskTrack-master/training/DAVIS17_train-val/ImageSets/2017/train_mega.txt'
when i run train_online.py,it will occur IOError: [Errno 2] No such file or directory: '/home/wxm/MaskTrack-master/training/DAVIS17/db_info.yaml'

I have encountered the same problem. Have you solved it?

https://github.com/davisvideochallenge/davis-2017/tree/master/data  in this link,you can download db_info.yaml,then put it under  the folder  of MaskTrack-master/training/DAVIS17

when i run train_offline.py it will occur IOError: [Errno 2] No such file or directory: '/home/wxm/MaskTrack-master/training/DAVIS17_train-val/ImageSets/2017/train_mega.txt'
when i run train_online.py,it will occur IOError: [Errno 2] No such file or directory: '/home/wxm/MaskTrack-master/training/DAVIS17/db_info.yaml'

I have encountered the same problem. Have you solved it?
https://github.com/davisvideochallenge/davis-2017/tree/master/data in this link,you can download db_info.yaml,then put it under the folder of MaskTrack-master/training/DAVIS17

I have encountered the same problem. Have you solved it?
https://github.com/davisvideochallenge/davis-2017/tree/master/data in this link,you can download db_info.yaml,then put it under the folder of MaskTrack-master/training/DAVIS17

Oh! thank you so much!
but when I run the code after put the db_info.yaml and  palette.txt , new error occured:Exception: Incorrect frames number for sequence 'aerobatics': found 1, expected 71.
In fact, test sets really include Images and First-Frame Annotations.Have you successfully run the code?

I have encountered the same problem. Have you solved it?
https://github.com/davisvideochallenge/davis-2017/tree/master/data in this link,you can download db_info.yaml,then put it under the folder of MaskTrack-master/training/DAVIS17

Oh! thank you so much!
but when I run the code after put the db_info.yaml and palette.txt , new error occured:Exception: Incorrect frames number for sequence 'aerobatics': found 1, expected 71.
In fact, test sets really include Images and First-Frame Annotations.Have you successfully run the code?

Did you solve this problem? I have encountered the same.


Resumes

Resumes
General

[ ] Skill Sets Based on Quiz Spread Sheet
[ ] Link from title on collection-page as well as image
[ ] Video Resume
[x] Improve Printing

[x] Ensure Content is Small Enough for Print

[x] Branded Header?
[x] Joseph Cyriac LinkedIn
[x] Add TrueCoders to Education?
[x] Student Contact Public?
[x] References?
[x] Show Data Required
[x] Display Beautifully
[x] Print Properly

Instructor Reviews

[ ] Martin
[x] Cody
[x] Place below with Remarks

Opting for single cards rather than a single issue with checkmarks


replace nginx

instead use the jetty proxy servlet
http://www.eclipse.org/jetty/documentation/current/proxy-servlet.html
first, make sure it can handle websockets, and if not, we'll need to implement, maybe using
https://github.com/TakahikoKawasaki/nv-websocket-client

since getting websockets through the proxy is a problem, how about we avoid that completely as follows:

stop using websockets for the JVM languages.  just return the results in the REST call.
for the websocket for the page, it does not have to go through the proxy.
for the ipython websockets, instead of using the proxy terminate them in jetty and have that endpoint forward each message received.


Resizing gnome-window has artifacts

On resize (you have to resize to the level of the prompt) and after for example just ls, you will see that:

in git folders, there are superfluous X's printed on new lines
in any folder, the prompt is written halfway on previous lines
in any folder, lines from the ls command are deleted

This is on stock Ubuntu, nothing special. First item seems only the git plugin, the other ones are general.

Do you mean a "gnome-terminal window"?
Which version of Ubuntu are you running?


Fix #4

Fixed #4
Use NextStep enum replace Bool make users understand the meaning easily
ChangeisStopped property access control to private(set)
More Swifty APIs

Please, open different PR for each feature more. And open a related issue to discuss it.
Adding: no external libraries for simple weak references


Upgrade dataset upload ahead of automated uploads

Addresses #529.

Here's the details of the technical problem I mentioned.
The two dataset files (.imzML and .ibd) must be uploaded with the same object storage prefix ("prefix" is object storage's analogue to filesystem directories). To prevent people from overwriting other peoples' files, we require that these prefixes are random GUIDs, generated by our trusted server code.
The current implementation uses the following process to satisfy the above two requirements:

The upload page calls GET /dataset_upload/s3/uuid, which generates a random prefix (uuid), and an HMAC signature (uuidSignature) that can be used to verify that the prefix was generated by our server
FineUploader is initialized with a callback function for specifying the key property ("key" is analogous to "full path", i.e. this specifies the destination path in S3), which includes the uuid. Additionally, FineUploader is given a signature endpoint URL that includes the uuidSignature in the query string.
FineUploader generates request headers for calling S3 with the Start Multipart Upload, Upload Part and Complete Multipart Upload operations. It sends these request headers to POST /dataset_upload/s3/sign?uuid_signature=...
POST /dataset_upload/s3/sign validates that the request headers are valid, and that the uuidSignature is valid for the S3 destination. Then it sends back a signature for each request.
FineUploader appends the generated signatures to the requests and uploads directly to AWS S3.

The server-side code for the above is in fineUploaderS3Middleware.ts.
This hackery of sending the two parts via different avenues is necessary because FineUploader wants to generate its own S3 request headers, which is a bit insecure. IIRC Uppy lets the server generate the S3 request headers and decide the S3 destination, so there is probably a cleaner way to do this. It seems like there's a companionHeaders option that would be suitable for sending both fields, and then they could be validated and integrated into the destination key in the providerOptions.s3.getKey server-side options to Uppy Companion.

Also, currently there's a lot of code around validating FineUploader's S3 requests. A lot of it isn't needed for Uppy, because Uppy generates the S3 requests in trusted server-side code. The only validation that's important is this verification of the uuidSignature. Somehow Uppy needs to be made to refuse to sign S3 headers if the uuid doesn't match the uuidSignature.

@LachlanStuart thanks for the write-up.
This line in the Uppy documentation looks concerning:

req, the HTTP request, for regular S3 uploads using the @uppy/aws-s3 plugin. This parameter is not available for multipart uploads using the @uppy/aws-s3-multipart plugin

May need to find a way round this.

From one of the bug reports:

Trying to integrate uploading from Drive/Dropbox to S3

It sounds like that null-passing codepath is used when users upload from third party services like GDrive/Dropbox...

@LachlanStuart thanks again, I'll see how it goes


Fix duplicated folder reference in Godot Editor after changing filename case

Fixes #76021
EDIT: Also apparently fixes #22475
If the folder a Scene was in had the case of its name changed changed (either through deleting and recreating it in the editor, or changing in the OS), then in case-insensitive OS platforms (Windows, recent MacOS), saving that Scene would create duplicate folder references in the Godot editor.
This fixes that by checking whether the base folder of the Godot project is case sensitive or insensitive when seeing whether a new Editor folder will need to be created on Scene save.

Thanks!

Cherry-picked for 4.2.2.


Fixing docs example in input-group section

One of the examples in the Input Group -> Button Addons section was broken because of a missing quote.
Before:

After:

Good catch, thanks


Fix delete entry keybindings bug

This is a fix for https://github.com/JabRef/jabref/issues/1235 . I encountered another Bug on the way. When the language is set to german, single selected keybindings could not be reset to default. This is also fixed.

Dani pls merge!


invisible block when block selecting completed machine

when you select a machine block (not every one of them does this, though) the placed selected block will be invisible. Does not crash nor does it generate anything in the log the block is just labeled "machine" don't know if it's a bug its there. i'm sure the "Machine" block shouldn't be able to be gotten as such.

Which machine(s) do this? and can you post a step-by-step guide on replicating?

I'll remove all other mods to check if it's a compatibility bug

seems to have been a compatibility issue I'll see if i can isolate the mod causing it

Is this still occuring?

haven't been able to check life has happened.

I understand completely

Several patches have been made that may fix this issue.  closing for now


glDeleteSync crash on Windows OpenGL

OS: Windows 10 22h2
GPU:  RTX 3070
Backend: OpenGL

Nor enough info. No repro steps. Not following the issue template. Closing.


Inconsistent accuracy evaluated with the provided pre-trained model

I could only get around 0.3 for class accuracy with the ground truth motion sequences using the provided pre-trained model files. Here are the logs:
==================== Replication 15 ====================
Time: 2021-02-28 19:28:50.781489
========== Evaluating Accuracy ==========
Calculating Accuracies...
---> [mocap] Accuracy: 0.3027
Time: 2021-02-28 19:28:50.978719
Total number of frames 204079, videos 1088, action types 8
==================== Replication 16 ====================
Time: 2021-02-28 19:28:51.609661
========== Evaluating Accuracy ==========
Calculating Accuracies...
---> [mocap] Accuracy: 0.3053
Time: 2021-02-28 19:28:51.813113
Total number of frames 204079, videos 1088, action types 8

Hi, are you using the dataloader in this repo? And are the accuracy for other datasets also abnormal?

I think the issue might be how the accuracy is computed:
https://github.com/EricGuo5513/action-to-motion/blob/0f8d7c281af4c14dbf87756b37e7e1e3cf01ae4e/eval_scripts/final_evaluation.py#L21-L22
The number of samples in the groundtruth dataset might not match num_motions.
I've replace num_motions with len(motion_loader.dataset) to avoid this issue.
For cmu mocap my accuracy is still a few percent shy of the reported accuracy (~88%) though.
Any other ideas?

I think the issue might be how the accuracy is computed:
https://github.com/EricGuo5513/action-to-motion/blob/0f8d7c281af4c14dbf87756b37e7e1e3cf01ae4e/eval_scripts/final_evaluation.py#L21-L22
The number of samples in the groundtruth dataset might not match num_motions.
I've replace num_motions with len(motion_loader.dataset) to avoid this issue.
For cmu mocap my accuracy is still a few percent shy of the reported accuracy (~88%) though.
Any other ideas?

The accuracy value seems normal after changing num_motions. I reimplemented the motion_loader by changing the data path to the path of generated files. However, I could only get 86% for HumanAct12 which is reported 92.3%.

I think the issue might be how the accuracy is computed:
https://github.com/EricGuo5513/action-to-motion/blob/0f8d7c281af4c14dbf87756b37e7e1e3cf01ae4e/eval_scripts/final_evaluation.py#L21-L22
The number of samples in the groundtruth dataset might not match num_motions.
I've replace num_motions with len(motion_loader.dataset) to avoid this issue.
For cmu mocap my accuracy is still a few percent shy of the reported accuracy (~88%) though.
Any other ideas?

Actually, even though num_motions is greater than len(groundtruth dataset), the dataloader would sample with replacement from the dataset. It should be fine to keep to original num_motions value.

The motion_loaders are actually not included in the repository, so the details of the dataloader are unclear.

Hi, we use this line for motion_loader:
motion_loader = DataLoader(motion_dataset, batch_size=1, num_workers=1,
sampler=RandomSampler(motion_dataset, replacement=True, num_samples=num_motions))
Here, the motion_dataset is initialized the same as the it in the repo.

I think the issue might be how the accuracy is computed:
https://github.com/EricGuo5513/action-to-motion/blob/0f8d7c281af4c14dbf87756b37e7e1e3cf01ae4e/eval_scripts/final_evaluation.py#L21-L22
The number of samples in the groundtruth dataset might not match num_motions.
I've replace num_motions with len(motion_loader.dataset) to avoid this issue.
For cmu mocap my accuracy is still a few percent shy of the reported accuracy (~88%) though.
Any other ideas?

The accuracy value seems normal after changing num_motions. I reimplemented the motion_loader by changing the data path to the path of generated files. However, I could only get 86% for HumanAct12 which is reported 92.3%.

Hi, how do you manage the action categories during generation? If you are using the evaluation_motion_vae.py as in the tutorial, please use the following command instead:
python evaluate_motion_vae.py --name vanila_vae_tf --dataset_type humanact12  --motion_length 60 --coarse_grained --gpu_id 0 --do_random --num_samples 200 --name_ext R0
In our final evaluation, action category for each motion is randomly sampled instead of the deterministic one. You could change the value of --num_samples, the model would generate such number of motions in one batch.

I think the issue might be how the accuracy is computed:
https://github.com/EricGuo5513/action-to-motion/blob/0f8d7c281af4c14dbf87756b37e7e1e3cf01ae4e/eval_scripts/final_evaluation.py#L21-L22
The number of samples in the groundtruth dataset might not match num_motions.
I've replace num_motions with len(motion_loader.dataset) to avoid this issue.
For cmu mocap my accuracy is still a few percent shy of the reported accuracy (~88%) though.
Any other ideas?

Actually, even though num_motions is greater than len(groundtruth dataset), the dataloader would sample with replacement from the dataset. It should be fine to keep to original num_motions value.

The motion_loaders are actually not included in the repository, so the details of the dataloader are unclear.

Hi, we use this line for groundtruth motion_loader:
motion_loader = DataLoader(motion_dataset, batch_size=1, num_workers=1,
sampler=RandomSampler(motion_dataset, replacement=True, num_samples=num_motions))
Here, the motion_dataset is initialized as the same as it in the repo.

Hi, thank you for sharing your code for the paper! I had some trouble reproducing the quantitative results on NTU-RGBD dataset with lie. I found that if I set num_samples to num_motions, which is 13 for this dataset, the FID would be about 20, way higher than the result in the paper. I also tried setting replacement to False, and got FID around 0.76. Could you kindly provide a more detailed dataloader code for ground truth as well as the generated results? Thanks!

I think the issue might be how the accuracy is computed:
https://github.com/EricGuo5513/action-to-motion/blob/0f8d7c281af4c14dbf87756b37e7e1e3cf01ae4e/eval_scripts/final_evaluation.py#L21-L22
The number of samples in the groundtruth dataset might not match num_motions.
I've replace num_motions with len(motion_loader.dataset) to avoid this issue.
For cmu mocap my accuracy is still a few percent shy of the reported accuracy (~88%) though.
Any other ideas?

Actually, even though num_motions is greater than len(groundtruth dataset), the dataloader would sample with replacement from the dataset. It should be fine to keep to original num_motions value.

The motion_loaders are actually not included in the repository, so the details of the dataloader are unclear.

Hi, we use this line for groundtruth motion_loader:
motion_loader = DataLoader(motion_dataset, batch_size=1, num_workers=1,
sampler=RandomSampler(motion_dataset, replacement=True, num_samples=num_motions))
Here, the motion_dataset is initialized as the same as it in the repo.

Hi, thank you for sharing your code for the paper!
I had some trouble reproducing the quantitative results on NTU-RGBD dataset with lie. I found that if I set num_samples to num_motions, which is 13 for this dataset, the FID would be about 20, way higher than the result in the paper. I also tried setting replacement to False, and got FID around 0.76.
Could you kindly provide a more detailed dataloader code for ground truth as well as the generated results? Thanks!

`import torch
import models.motion_vae as vae_models
from trainer.vae_trainer import *
from torch.utils.data import Dataset
import utils.paramUtil as paramUtil
class MotionVAELieGeneratedDataset(Dataset):
def init(self, opt, num_motions, batch_size, device, ground_motion_loader, label=None):
if opt.dataset_type == 'ntu_rgbd_vibe':
raw_offsets = paramUtil.vibe_raw_offsets
kinematic_chain = paramUtil.vibe_kinematic_chain
elif opt.dataset_type == 'shihao' or opt.dataset_type == 'humanact12':
raw_offsets = paramUtil.shihao_raw_offsets
kinematic_chain = paramUtil.shihao_kinematic_chain
elif opt.dataset_type == 'mocap':
raw_offsets = paramUtil.mocap_raw_offsets
kinematic_chain = paramUtil.mocap_kinematic_chain
else:
raise NotImplementedError("Data type not Found")
model = torch.load(opt.model_file_path)
self.prior_net = vae_models.GaussianGRU(opt.input_size, opt.dim_z, opt.hidden_size,
opt.prior_hidden_layers, opt.num_samples, device)
    self.decoder = vae_models.DecoderGRULie(opt.input_size + opt.dim_z, opt.output_size, opt.hidden_size,
                                           opt.decoder_hidden_layers,
                                           opt.num_samples, device)

    self.prior_net.load_state_dict(model['prior_net'])
    self.decoder.load_state_dict(model['decoder'])
    self.prior_net.to(device)
    self.decoder.to(device)
    self.num_motions = num_motions
    self.trainer = TrainerLie(None, opt, device, raw_offsets, kinematic_chain)

    self.pool_size = num_motions
    self.resize_counter = 0
    self.opt = opt
    self.batch_size = batch_size
    self.ground_motion_loader = ground_motion_loader
    self.label = label
    self.initiatize(self.opt, self.pool_size, self.batch_size, self.ground_motion_loader)

def initiatize(self, opt, num_motions, batch_size, ground_motion_loader):
    self.resize_counter += 1
    #print_opt = vars(opt)
    #for k, v in sorted(print_opt.items()):
    #    print("%s: %s" % (k, v))
    if opt.do_random:
        motions_output = torch.zeros(num_motions, opt.motion_length, opt.input_size_raw).numpy()
        labels_output = torch.zeros(num_motions).numpy()
        real_iter = iter(ground_motion_loader)
        while num_motions:
            num_motions_batch = min(batch_size, num_motions)
            real_joints_list = []
            while len(real_joints_list) < num_motions_batch:
                real_joints_list.append(next(real_iter)[0])
            real_joints = torch.cat(real_joints_list, dim=0)
            opt.num_samples = num_motions_batch

            cate_one_hot = None
            if self.label is not None:
                categories = np.ones(opt.num_samples, dtype=np.int)
                categories.fill(self.label)
                cate_one_hot, _ = self.trainer.get_cate_one_hot(categories)
            motions_output_batch, labels_output_batch = \
                self.trainer.evaluate(self.prior_net, self.decoder, opt.num_samples, cate_one_hot=cate_one_hot,
                                      real_joints=real_joints)
            if self.label is not None:
                labels_output_batch = self.label
            motions_output[(num_motions-num_motions_batch):num_motions, :, :] = motions_output_batch
            labels_output[(num_motions-num_motions_batch):num_motions] = labels_output_batch

            num_motions -= num_motions_batch

    else:
        raise NotImplementedError('LOL, not today!')

    self.motions_output = motions_output
    self.labels_output = labels_output

def __len__(self):
    return self.num_motions

def __getitem__(self, item):
    if (item / self.pool_size) >= self.resize_counter:
        self.initiatize(self.opt, self.pool_size, self.batch_size, self.ground_motion_loader)
    item = item % self.pool_size
    return self.motions_output[item, :, :], self.labels_output[item]

`
`from torch.utils.data import DataLoader
from utils.get_opt import get_opt
from motion_loaders.dataset_motion_loader import get_dataset_motion_loader
from motion_loaders.motion_vae_motion_loader import MotionVAEGeneratedDataset
from motion_loaders.motion_gan_motion_loader import MotionGanGeneratedDataset
from motion_loaders.rnn_motion_loader import ConditionedRNNGeneratedDataset
from motion_loaders.deep_completion_motion_loader import DeepCompletionGeneratedDataset
from motion_loaders.motion_vae_lie_motion_loader import MotionVAELieGeneratedDataset
from motion_loaders.motion_vae_lie_veloc_motion_loader import MotionVAEVelocGeneratedDataset
def get_motion_loader(opt_path, num_motions, batch_size, device, ground_truth_motion_loader=None, label=None):
opt = get_opt(opt_path, num_motions, device)
if '/vae/' in opt_path:
    if 'veloc' in opt.name:
        print('Generating %s ...' % opt.name)
        dataset = MotionVAEVelocGeneratedDataset(opt, num_motions, batch_size, device, ground_truth_motion_loader, label)
    elif 'lie' in opt.name:
        print('Generating %s ...' % opt.name)
        dataset = MotionVAELieGeneratedDataset(opt, num_motions, batch_size, device, ground_truth_motion_loader, label)
    else:
        print('Generating Adversaried Motion VAE Motion...')
        # print(label)
        dataset = MotionVAEGeneratedDataset(opt, num_motions, batch_size, device, label)
elif '/motion_gan' in opt_path:
    print('Generating Motion GAN Motion...')
    dataset = MotionGanGeneratedDataset(opt, opt.motion_length, opt.input_size_raw, len(opt.label_dec),
                                        opt.dim_z, opt.hidden_size, opt.model_file_path,
                                        num_motions, device)
elif 'RNN' in opt_path:
    print('Generating Baseline - RNN Motion...')
    # print(opt.label_dec)
    dataset = ConditionedRNNGeneratedDataset(opt.motion_length, opt.input_size_raw, len(opt.label_dec),
                                             ground_truth_motion_loader, opt.model_file_path_override,
                                             num_motions, device)
elif 'deep_completion' in opt_path:
    print('Generating Deep Completion Motion...')
    dataset = DeepCompletionGeneratedDataset(opt.motion_length, opt.input_size_raw, len(opt.label_dec),
                                             opt.dim_noise_pose, opt.dim_noise_motion,
                                             opt.hidden_size_pose, opt.hidden_size_motion,
                                             opt.pose_file_path, opt.motion_file_path,
                                             num_motions, 32, device)
else:
    raise NotImplementedError('Unrecognized model type')

motion_loader = DataLoader(dataset, batch_size=128, num_workers=1)
return motion_loader`

`import utils.paramUtil as paramUtil
from dataProcessing import dataset
from torch.utils.data import DataLoader, RandomSampler
class Options:
def init(self, lie_enforce, use_lie, no_trajectory, motion_length, coarse_grained):
self.lie_enforce = lie_enforce
self.use_lie = use_lie
self.no_trajectory = no_trajectory
self.motion_length = motion_length
self.coarse_grained = coarse_grained
self.save_root = './model_file/'
self.clip_set = './dataset/pose_clip_full.csv'
cached_dataset = {}
def get_dataset_motion_dataset(opt, label=None):
if opt.opt_path in cached_dataset:
return cached_dataset[opt.opt_path]
if opt.dataset_type == "humanact12":
    dataset_path = "./dataset/humanact12"
    HumanAct12Options = Options(False, False, False, 60, True)
    data = dataset.MotionFolderDatasetHumanAct12(dataset_path, opt, lie_enforce=opt.lie_enforce)
    motion_dataset = dataset.MotionDataset(data, HumanAct12Options)
elif opt.dataset_type == 'ntu_rgbd_vibe':
    file_prefix = "./dataset"
    motion_desc_file = "ntu_vibe_list.txt"
    joints_num = 18
    labels = paramUtil.ntu_action_labels
    NtuVIBEOptions = Options(False, True, False, 60, True)

    data = dataset.MotionFolderDatasetNtuVIBE(file_prefix, motion_desc_file, labels, NtuVIBEOptions,
                                              joints_num=joints_num, offset=True,
                                              extract_joints=paramUtil.kinect_vibe_extract_joints)
    motion_dataset = dataset.MotionDataset(data, NtuVIBEOptions)
elif opt.dataset_type == "shihao":
    dataset_path = "./dataset/pose"
    pkl_path = './dataset/pose_shihao_merge'
    ShihaoOptions = Options(False, False, False, 60, True)
    raw_offsets = paramUtil.shihao_raw_offsets
    kinematic_chain = paramUtil.shihao_kinematic_chain
    data = dataset.MotionFolderDatasetShihaoV2(opt.clip_set, dataset_path, pkl_path, opt,
                                               lie_enforce=opt.lie_enforce, raw_offsets=raw_offsets,
                                               kinematic_chain=kinematic_chain)
    motion_dataset = dataset.MotionDataset(data, ShihaoOptions)
elif opt.dataset_type == "mocap":
    dataset_path = "./dataset/mocap/mocap_3djoints/"
    clip_path = './dataset/mocap/pose_clip.csv'
    mocap_options = Options(False, False, False, 100, True)
    data = dataset.MotionFolderDatasetMocap(clip_path, dataset_path, opt)
    # print(label)
    if label is None:
        motion_dataset = dataset.MotionDataset(data, mocap_options)
    else:
        motion_dataset = dataset.MotionDataset4One(data, mocap_options, label)
        # print(len(motion_dataset))
else:
    raise NotImplementedError('Unrecognized dataset')

cached_dataset[opt.opt_path] = motion_dataset
return motion_dataset

def get_dataset_motion_loader(opt, num_motions, device, label=None):
print('Generating Ground Truth Motion...')
motion_dataset = get_dataset_motion_dataset(opt, label)
# print(len(motion_dataset))
motion_loader = DataLoader(motion_dataset, batch_size=1, num_workers=1,
sampler=RandomSampler(motion_dataset, replacement=True, num_samples=num_motions))
return motion_loader`

Hi, the above is the codes of generated Dataset, Dataloader,  and ground truth dataloader. Please note "Num Samples/Motions" means the number of motions we want to sample/generate. It should be 3000 for all datasets, and replacement is set to True in our experiments. "13" for NTU-RGBD only means the "Number of Action Categories".


Overload test separation

@ItsNickBarry I checked out from the override-removal branch, so there are duplicate commits.

@NouDaimon See also this part of the task:

Non-overloaded functions should also include the full function signature in the test suite description.

For example, describe('#balanceOf', ...) should be describe('#balanceOf(address)', ...), and describe('#totalSupply', ...) should be describe('#totalSupply()', ...).

Issue with failing tests fixed.


Status of the project

Hi,
I got here while updating IPFS Kubo in Guix. There are to package gx-go and
gx which are depend on some dated Golang modules and require go-1.16 to
compile.
Is this project still intends to be developed or it's in deprecation mode?
Thanks,
Oleg

I'm not aware of any projects actively using gx. Kubo/Boxo entirely rely on go modules at this point.


SAPI-2496: Pull in upstream thrift logic

SAPI-2496

Pulling in some upstream changes to patch some CVE's.

CVE-2019-0210
CVE-2019-0205
CVE-2018-1320

Update Procedure
git clone git@github.com:Workiva/thrift.git
cd thrift
git remote add upstream git@github.com:apache/thrift.git
git pull upstream master
git checkout -b update
git push origin update -u

Security Insights
The items listed below may not capture all security relevant changes. Before providing a security review, be sure to review the entire PR for security impact.

(4) Vulnerable direct dependencies were detected
1 vulns in com.google.guava:guava < 24.1.1 via contrib/thrift-maven-plugin/pom.xml
3 vulns in rack < 2.1.4 via lib/rb/thrift.gemspec
3 vulns in rack < 2.1.4 via test/rb/Gemfile
3 vulns in ws < 1.1.5 via package.json

(12) Security relevant changes were detected
Watched keyword yum.repos.d/ in build/docker/old/centos-7.3/Dockerfile line(s) ['82'] added
Watched keyword add-apt-repository in build/docker/old/ubuntu-artful/Dockerfile line(s) ['54'] added
Watched keyword CTYPES  in lib/py/src/protocol/TCompactProtocol.py line(s) ['101'] added
Watched keyword (CTYPES[ in lib/py/src/protocol/TCompactProtocol.py line(s) ['204', '240'] added
Watched keyword  CTYPES[ in lib/py/src/protocol/TCompactProtocol.py line(s) ['225', '227'] added
Watched keyword CTYPES  in lib/py/src/protocol/TJSONProtocol.py line(s) ['70'] added
Watched keyword [CTYPES[ in lib/py/src/protocol/TJSONProtocol.py line(s) ['86'] added
Watched keyword (CTYPES[ in lib/py/src/protocol/TJSONProtocol.py line(s) ['514', '524-525', '535', '543'] added
Watched keyword Access-Control-Allow-Origin in lib/cpp/src/thrift/transport/THttpServer.cpp line(s) ['146'] added
Watched keyword Access-Control-Allow-Origin in lib/cpp/src/thrift/transport/THttpServer.cpp line(s) ['127'] removed
Watched keyword Access-Control-Allow-Origin in lib/lua/THttpTransport.lua line(s) ['146'] added
Watched keyword eval( in lib/js/src/thrift.js line(s) ['1096'] added

(3) Potential secrets were detected
Potential secret found in build/appveyor/cl_setenv.bat on line 118:CALL "!MSVCROOT!\Common7\Tools\VsDevCmd.bat" -arch=!MSVCPLAT! || EXIT /B
Potential secret found in build/appveyor/simulate-appveyor.bat on line 19:::   simulate-appveyor.bat [Debug|Release] [x86|x64] [CYGWIN|MINGW|MSVC201?]
Potential secret found in lib/rb/spec/json_protocol_spec.rb on line 252:.to eq("\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/w==\"

Action Items

Request infosec review via Slack: #support-infosec
Review dependencies for available updates
See this Splunk dashboard for more CVE details
Validate potential secrets and report non-dev secrets to InfoSec before removing
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

We have separate internal forks of each thrift library that we are using and will move these patches to those repos instead given the size of this code change.


Make it easy to set fixed number of rows

I have an idea for a new feature for jQuery Terminal
This just come out, the ASCII Star Wars demo show scrollbar because it has a wrong height.

It requires 14 lines to not show overflow.
It would be nice to have a way to set 14 rows that will adapt to the size of the terminal:
#term {
    --terminal-line: calc(var(--size, 1) * (16px / var(--pixel-density, 1)) + 1px / var(--pixel-density, 1));
    height: calc((var(--terminal-line) * 14) + 20px);
}

--terminal-line rule taken from line-height on output line.

Instead of fixed 14 we can use another CSS variable:
:root {
   --size: 1.2;
   --terminal-rows: 14;
}

.terminal {
    height: calc((var(--terminal-line) * var(--terminal-rows)) + 20px);
}

And we can also parametrize the padding.
:root {
    --terminal-padding: 10px;
}

.terminal {
    height: calc((var(--terminal-line) * var(--terminal-rows)) + (var(--terminal-padding) * 2));
}

--padding already exists.
Here is a demo:
https://codepen.io/jcubic/pen/PorzvVd?editors=0100

Unfortunately, it's not possible to add --cols custom property because of the scrollbar.
This doesn't work:
width: calc((var(--cols) * 1ch) + (var(--padding, 10) * 2px)) !important;

Example: https://codepen.io/jcubic/pen/ExBGKbV

Added experimental --cols, the scrollbar width is calculated in JavaScript.
But there is a bug in a away Chromium is calculating of characters per line:
Wrong calculation of ch units with scrollbar-gutter


Added LDAP attributes for DSE Cassandra & Opscenter.

Added LDAP attributes for DSE Cassandra & Opscenter.
Added a conditional block to the "options" on opcenter package as it doesn't work for non-debian platforms.

Forgot the README.  Give me a few moments.

cool, thanks, pulling this down locally

README updated.

all looks good, thanks :)


[Review] Documentation - Example usage

The authors should include examples of how to use the software (ideally to solve real-world analysis problems).

Good reproducible example with dataset from SRA.
Maybe an additional example with suboptimal result would be good.


editor issues

i'm add editor in advanced-form example code. code is not workiin in advanced-form. becose the editor issues

i'm add editor in advanced-form example code. code is not workiin in advanced-form. becose the editor issues


Navigation Example

Hi,
I've recently started to introduce the RxFeedback into my app. It's very simple, powerful and promotes very structured code. I am struggling a little bit with the navigation maybe because I am new to the concept. Is there a way to provide examples around this topic.
1- How to share a state across a couple of view controllers:
Although it's not that good but to keep things simple I inherited a navigation controller. The navigation controller has the system operator. I tried to create a feedback loop (react). It will query the state to see if a new navigation should be performed and the effect would be to create the next view controller and bind it to the main state. Unfortunately, I wasn't able to implement the last part.
2- How to create outer loops:
I am trying to do what you stated in the 20 mins pitch. I think that this similar to the first one.

3- For the navigation I tried to do things like button.rx.tap.withLatestFrom(state). So that I can pass a part of the state to another controller. Is this bad?
Thanks

Hi @eliekarouz ,
button.rx.tap.withLatestFrom(state) works, sure, but in that way if you are logging events you won't log that button tap.
Another way is for your state to contain part that says navigateToXXX. You observe that part of state (navigateToXXX) and if navigate is true, then you navigate where you want.


luci-app-statistics: Voltage graphs - AC and DC

#1227 luci-app-statistics: add support for apcups plugin
The Voltage graph combines Battery, Input Voltage and Output Voltage.
The Y-Axis scale masks changes in Input/Output voltages over time.
This patch splits the graphs into 2 graphs.
This makes it possible to see variations in AC Input/Output voltages.
Signed-off-by: bobmseagithub<EMAIL_ADDRESS>

Here is a proposal for splitting up the voltage graphs.
You can see that changes in all the data are visible in the new format.
While the old format obscures the changes.
Please let me know what you all think.
New:

Old:

You should squash the commits together and at the same time please sign off the commit with your real name.

squash commits - done.
sign off with real name - done.
Thanks!  Bob.


Fix category url not reindexed on save when only is_active has changed.

When you have "updated on save" set, categories does not trigger url indexer when saving if only "is_active" has changed.
How one can reproduce:

Create a new category with some visible products in it and make sure it's not active before saving.
Change the category to active and save again.

Now you will not have any url for that category indexed. Only when changing the url_key or which products are assigned to the category it will trigger url reindex.

Thank you for your submission. This has been merged in #30


Ported J-PAKE from Java

I ported the J-PAKE library from the java repository. I also included the tests.
I was unable to open the solution/project files in Visual Studio without having it automatically modify the lot (I think they are incompatible with newer versions of VS), so the files here have not been added to the project files. Hopefully someone can do this for me, or give me a green light to update the solution/project files to be compatible.

Thanks for the patch! Merged with a bit of renaming and other minor changes. I've also sorted out the VS project file (once 1.8 is out we'll be overhauling the build system). Would appreciate your review once the mirror updates (shouldn't take more than a day).

Hi @peterdettman, I've reviewed your changes and have no modifications. Thanks for the merge!

@avano I appreciate your following it up, thanks.


import 'twemoji';

css modules are fun...
except for when you don't use camelcase

don't ask how all the old commits are still there


Event hooks

Schema depends on this PR being merged
https://github.com/Kong/docs.konghq.com/pull/8255
Preview Links
https://deploy-preview-171--kongdeveloper.netlify.app/gateway/entities/event_hooks/
Create a webhook
Create a webhook that posts to Slack
How to create a log event hook
How to create a lambda event hook
Notes
This PR also adds an example upstream entity.
Checklist

[x] Every page is page one
[x] Tested how-to docs.
[x] All pages contain metadata
[x] Updated sources.yaml. For more info review track docs changes
[x] Any new docs link to existing docs.

did we upload the spec to Konnect after merging https://github.com/Kong/docs.konghq.com/pull/8255?


Device Groups not showing correctly

The "Groups" dropdown in the map "Search Devices" filter does not always show the users defined groups.
To reproduce, log in to Traccar as one user and check the groups shown. Log out and without reloading the page, log in as another user with a different set of groups. Check the groups shown.
If the second login has less groups assigned, the previous users extra groups are still showing. If the second login has more groups, then these are shown.
The Groups dropdown should always show the groups the current user has access to and no others.
Desktop (please complete the following information):

OS: Fedora 36
Firefox 103.0.2

I haven't explored it thoroughly yet, but it seems admin users may be affected differently - in particular, initial login does not show all groups the user has access to (see forum topic "device-group-not-showing").
I also don't have enough users with differing group assignments to test all possible scenarios.

I wasn't able to reproduce the issue.

Created two users A and B
Created two groups 1 and 2
Assigned both groups to user A
Assigned group 1 to user B
Login as user A and I see both groups
Logout (no page refresh)
Login as user B and I see only group 1

Everything seems to be correct.

I can reproduce the scenario with my server consistently across Linux, Windows and Android platforms. Will you try using my tc_groups table as shown in forum post? One user with access to groups 1,6,9,10,11,11 and another with groups 1,9,10,11,12?

Are you saying you can reproduce it with the same steps I did on a clean server?


Support for Decimal

Arrow supports Decimal types. When trying to serialize Decimals.Decimal I get
MethodError: no method matching write(::IOBuffer, ::Decimals.Decimal)

I'm not sure what I should do here. Is this something that Arrow.jl should support or should I register my own handler? I'm not sure how to specify that I want to use the Arrow-native decimal type.

I think the best solution would be for the Decimals.jl package to take a dependency on the lightweight ArrowTypes.jl package (which lives in this repo, but is registered separately), and where it can declare the appropriate ArrowKind/ArrowType overloads (as described in the docs here)


MiniDrawer closing gesture

Hi Mike, is it normal that MiniDrawer closing gesture can ne performed only with a tap? I mean when I open it swiping right I try to close it swiping left, but it isn't working. I close it by tapping the screen. Is this a correct behavior or not?
P.S. Sorry for my English

@EpsilonOrionis do you talk of the normal MiniDrawer or about the CrossfadeDrawerLayout with the MiniDrawer

No problem, let me know :D

fixed in v0.2.0 ;)

Thank you Mike, you're always available :)

i hope it works now as expected :)

It's working :)

hmmm as it's a DrawerLayout with the normal listeners it provides

Can you make me an example?

@EpsilonOrionis you need to know when the drawer is opened right? not for the event when the miniDrawer was changed to the normal drawer?

In Lollipop+ devices we can make the status bar transparent right? I love it. I want to make the status bar transparent during the miniDrawer open animation.

The default CrossfadeDrawerLayout sample of the MaterialDrawer has the MiniDrawer below the Statusbar yes.
Regarding your previous question. which open do you want to detect? and why?

First question: Changing
Second question: Because it's nice. The MaterialDrawer will be under the transparent status bar.

@EpsilonOrionis you mean chaning from MiniDrawer to the normal Drawer right?

Yep

you can provide a CrossfadeListener and check when it is completely slided into one direction:
https://github.com/mikepenz/CrossfadeDrawerLayout/blob/develop/library/src/main/java/com/mikepenz/crossfadedrawerlayout/view/CrossfadeDrawerLayout.java#L87

How can I use it? Sorry if I'm pedant, but your library is the only one that fits my needs.

@EpsilonOrionis as far as i know it is also the only library providing such kind of behavior :D
something like this:

        //hook to the crossfade event
        crossfadeDrawerLayout.withCrossfadeListener(new CrossfadeDrawerLayout.CrossfadeListener() {
            @Override
            public void onCrossfade(View containerView, float currentSlidePercentage, int slideOffset) {
                if (currentSlidePercentage == 0) {
                    Log.e("CrossfadeDrawerLayout", "MiniDrawer shown (closed)");
                } else if (currentSlidePercentage == 100) {
                    Log.e("CrossfadeDrawerLayout", "Normal Drawer shown (opened)");
                }
            }
        });

Yes you're right,  and everybody knows it :D. Ok aaaand will it work even thogh even if currentSlidePercentage is betwenn 0 a 100? Maybe I can use e.g: else if (currentSlidePercentage > 100). What do you think?

@EpsilonOrionis  haha if you check > 100 you will never have a match :D as it is exact 100 :P You should probably check for the exact values as this is called many times if the slide is done. so for each new slide percentage value.
not sure what you will do if it is opened but you can try it :P

What a mess! And you're laughing! I'm ruined hahahahahahahahahah :D

@EpsilonOrionis haha there are things worse than that :smile: to be fair. it was luck i saw it. It's 02:00am at my place and i have to get up in less than 5hours.
so i hope my hints helped you :P. I'm out for today.

Where are you from?

Austria :P (the one in europe :P. just in case you missread it as Australia :P)

I in Europe too, I know the Austria you're talking about :D

Haha :D Where are you from?

Italy, Puglia is the region's name

Ah :D So the same time zone :P. I am off now. Good night.

Night