qtile: 0.10.7 -> 0.11.1

Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build qtile

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: qtile
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: qtile
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/lib  /nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin
patching script interpreter paths in /nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1
/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/iqshell: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/dqcmd: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1...
wrapping `/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/qtile-run'...
wrapping `/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/qcmd'...
wrapping `/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/qshell'...
wrapping `/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/.qtile-wrapped'...
wrapping `/nix/store/fih5pxxymqwhnjs9jhg939ha1z2mqckh-qtile-0.11.1/bin/qtile-top'...

Success on aarch64-linux (full log)
Attempted: qtile
Partial log (click to expand)
patching script interpreter paths in /nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1
/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/dqcmd: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/bash"
/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/iqshell: interpreter directive changed from "/bin/sh" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1...
wrapping `/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/.qtile-wrapped'...
wrapping `/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/qcmd'...
wrapping `/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/qtile-run'...
wrapping `/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/qshell'...
wrapping `/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1/bin/qtile-top'...
/nix/store/zcr3yl0xjasr8dqr2gzw5l72q9nfnlpq-qtile-0.11.1


Facebook

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.01.02 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
As for today, Facebook has bugs in yt-dlp.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--format-sort', 'br', 'https://www.facebook.com/loteriasyapuestas.es/videos/2163911480483853']
[debug] User config: []
[debug] System config: []
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.02 [d83b0ad] (win32_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2022-12-25-git-eeb280f351-full_build-www.gyan.dev (setts), ffprobe 2022-12-25-git-eeb280f351-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1754 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.02, Current version: 2023.01.02
yt-dlp is up to date (2023.01.02)
[facebook] Extracting URL: https://www.facebook.com/loteriasyapuestas.es/videos/2163911480483853
[facebook]<PHONE_NUMBER>483853: Downloading webpage
[facebook]<PHONE_NUMBER>483853: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>483853: Cannot parse data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 680, in extract
  File "yt_dlp\extractor\facebook.py", line 703, in _real_extract
  File "yt_dlp\extractor\facebook.py", line 650, in _extract_from_url

Does the video load in your browser when you're not logged in? (use a private/incognito tab)
If not, yt-dlp will not be able to download it without cookies
with browser I get this:

This Video Isn't Available Anymore
The link may be broken or the video may have been removed. You can explore more videos or try logging into facebook.com and then visiting the link again.

with yt-dlp I get this:
[facebook] Extracting URL: https://www.facebook.com/loteriasyapuestas.es/videos/2163911480483853
[facebook]<PHONE_NUMBER>483853: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>483853: This video is only available for registered users. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (facebook) to provide account credentials

if you still get an error when passing cookies (--cookies-from-browser chrome), then this is a duplicate of #4311, closing this as such


[RFC]: Ugly Pipeline Refactor

Description
This is an ugly refactor of the derivation pipeline builder using a simple, concrete online stack of the stages.

Struggled with iteration over previous stages due to conflicting nested associated trait types. So I've modified each stage's reset to first call the previous stage's reset and bubble up any errors there.
This follows the reference implementation but optimistically resets all stages instead of iterating over each and resetting in order. See: https://github.com/ethereum-optimism/optimism/blob/develop/op-node/rollup/derive/pipeline.go#L93-L96
If we need to implement iterative reset, we can have the ResettableStage trait's reset method return an enum that has an already reset variant that'd allow the recursive reset to dispatch on the results at each stage level.

Additionally, the current pipeline gives ownership of each stage to the successive stage. This means the top-level pipeline object or "stage stack" wrapper does not have a handle to the concrete L1Traversal stage. But the pipeline needs to call the advance_l1_block method when a StageError::Eof is encountered. The current naive solution just adds an atomic reference advance flag to the L1 traversal stage that the stack can set when an eof error is received when fetching the next attributes.

Merged pr handled the above questions 😄


Collect total ducks each player owns in addition to total quacks

This could be given it's own command, &ducks, or the two could be combined into one command.

This issue is closed as Round 9 has ended, and ducks are no longer relevant.


Duplication bug with Black hole unite/controller

Industrial Foregoing Version: 1.12.2-1.12.6-230
TeslaCoreLib Version: 1.12.2-1.0.15
Crashlog (If Any):  n/a
You would need a Thermal Expansions mod to perform this bug there in it. Obtain the item from Thermal Expansions called "Item Allocator" and place it down right click it. Then on the arrow in orange make it up to 64 stack.  Then go to your Item allocator and place your second item there and then you start either obtain an extra item(glitches sometimes) or you will automatically have infinite of that item you want to dupe with.


TT Toughram RGB support

Describe the feature you'd like
Is there any way Thermaltake's RAM RGB lighting could be controlled and/or synced with TTController?  I have four sticks of TOUGHRAM RGB.  Currently, I'm using G.Skill's Trident Z Lighting Control software since it allows me to set a color/effect that persists even when the software closes.  Thermaltake's own software defaults back to rainbow upon closing and introduces lag into my system.  The memory sticks also work with my motherboard's (Gigabyte) RGB Fusion software, but it is very limited.  Ideally, if it could be controlled via TTController and synced with another control profile if desired, that would be the best-case scenario.

Currently there is no way to do this in TTController. It requires access to smbus and C# is not designed for such low level stuff.
I might figure something out from thermaltake software but testing this will be very tricky since I dont have any RGB ram myself. This needs access to the motherboard itself so you can easily cause bluescreens or other bad stuff, and i would not want to break something on your pc.

OK, no problem.  Thanks for responding.

I'll leave this issue open for now as a feature request. I'll see what can be done.

OK, If you work on things and want me to test it, let me know.

Unfortunately I think this wont be added to TTController.
It will be very wonky to do in C#, if its even possible, and it does not fit the current code architecture so it would require a substantial rewrite/refactoring.
I think the best solution here would be to write a separate C++ application that reads the led colors of the fans from TTController via websocket and maps them to specific ram stick. But that would be the same as using any other software that can change ram rgb, other than syncing with thermaltake fan leds.
I'll keep this app in mind as I do plan to write a few simple apps that connect to the TTController websocket but I dont know when or if I'll manage to write one.


Does this work with Instagram?

I am trying to share an external image to Instagram. Will this work?

could include, checked the instagram documentation and if possible ( https://instagram.com/developer/mobile-sharing/android-intents/ and https://instagram.com/developer/mobile-sharing/iphone-hooks/ ). I should implement it in this library

So any progress about this?

Just submitted a pr for this.


Allow multiple public inputs in verify api

The current api for the Groth16 verifier implicitly expected only a single public input. This PR fixes this.

Approving, but we need to follow with upcoming PRs: a) test against NO public inputs (empty), @benr-ml wdyt? b) @benr-ml what about the reported memory leak from auditor?

Yes and yes, both should be done

Approving, but we need to follow with upcoming PRs: a) test against NO public inputs (empty), @benr-ml wdyt? b) @benr-ml what about the reported memory leak from auditor?

Yes and yes, both should be done

I've added a new issue.


Support Container Engine for default credentials

Container Engine runs on Compute Engine and I have tried to connect datastore from Container Engine
DatastoreOptions.defaultInstance().service()
It throws authentication exception. I think It should support with default credentials, it still runs on Google Cloud Sandbox

Hi @firstthumb, thanks for the report! Could you please post here the stacktrace?
Also is the Google Cloud Datastore API enabled for your project (the same project where you run your containers, as you are not providing a different one if you are using defaultInstance())? You should be able to check that here.

Also, when you created the cluster did you enable it to access the Datastore service?
To do that in https://console.cloud.google.com/kubernetes/add click the More link:

And then enable the Datastore service:

Yes, you are right. It works now. I did wrong setup for the cluster before.


Update to latest minor version of browserify

Fixes #2449
Ditch remapify (in favor of default relative requires), since the author don't seem to have time to keep it up-to-date with browserify (and we don't either). This allows us to also update to latest version of browserify that don't seem to have this issue, and also contain quite a lot of fixes.
Considering we are a few touching these files and the changes are only for the require calls I don't expect much problems upon updating to master in existing dev branches.
Will re-run clinker a few times to make sure there are no more failures before merging.

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)

@xavijam seems we have a winner, I'll merge tomorrow, ok?

ok! :dancer:

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

@CartoDB/frontend FYI, this should fix the broken builds on clinker, read PR desc for info

:dancer:


ErrorException: Undefined offset: 1 in  drewm/mailchimp-api/src/MailChimp.php:340

I think there's some problem how the HTTP1.1 responses are handled.
There's an assumption at line https://github.com/drewm/mailchimp-api/blob/master/src/MailChimp.php#L331 that only the first line in the response is the http status, but with HTTP1.1 it's not true:
[2019-03-25 11:19:16] production.DEBUG: HTTP/1.1 100 Continue
[2019-03-25 11:19:16] production.DEBUG:
[2019-03-25 11:19:16] production.DEBUG: HTTP/1.1 200 OK

It causes an error at https://github.com/drewm/mailchimp-api/blob/master/src/MailChimp.php#L340, as there's no : in the line.
Here's the full output of the MailChimp API:
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Server: openresty
Content-Type: application/json; charset=utf-8
Content-Length: 4240
X-Request-Id: ...
Link: <https://us14.api.mailchimp.com/schema/3.0/Campaigns/Content/Collection.json>; rel="describedBy"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Date: Sun, 24 Mar 2019 22:37:01 GMT
Connection: keep-alive
Set-Cookie: _AVESTA_ENVIRONMENT=prod; path=/
Set-Cookie: _mcid=...; expires=Mon, 23-Mar-2020 22:37:00 GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
Set-Cookie: PHPSESSID=...; path=/

Same problem here! Waiting for your PR to be merged, thanks!

Sorry @drewm can you please release a minor version with this fix?
Thanks for your work!

Sorry, yes, have done. Real life intervened between merging and tagging the release!


spritesheets with alternate layouts

so far the importer seems to work great IF you laid it out with animations the way this tool is expecting them.  i have some assets where someone made the layers be the anims, and i can't figure out how to import them and maintain my sanity.  if i use the "split  layers" they do come in, but then i have dozens of res files that need to be combined.  any ideas?  example

Hello @furroy. Unfortunatelly the plugin does not support this organization and I don't have plans to support it, because it brings many limitations to what features you can use.
It forces each animation to have the same number of frames, same frame duration, you are not able to use animation direction (like reverse, ping-pong) and I don't think you'd able to group all layers as a same spritesheet png.
You may have your reasons to organise your animations like this, but I'd suggest changing it to use proper tags and layers. In the long run, it will make your life easier and allow you to use Aseprite's full potential.
Is there any specific reason why you prefer to use it like this?

i don't prefer it, i bought some assets someone else made and this is how they came. i'll probably just move all the frames around in aseprite, just thought i'd ask in case there was some less manually intensive way of dealing with it.

I see. Yeah, it makes sense. Good luck.


AH64D_L_MPD -> BRT and VID combined

I am binding potentiometer for the LEFT MPD  BRT & VID seem to be combined into one input.
Rotate BRT makes VID rotate at the same time
Rotate VID does nothing
DcsBios::Potentiometer cpgMpdLBrt("CPG_MPD_L_BRT", A13);
DcsBios::Potentiometer cpgMpdLVideo("CPG_MPD_L_VIDEO", A14);

Wrong repo, will recreate in the proper location.


[BUG] Blockstrap does not run when you click on the Roblox Private Server link.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
2.8.1
What problem did you encounter?
Clicking on the Roblox Private Server link only shows the Edge tab and does not run the Blockstrap.
Bloxstrap Log
N/A

Does this still occur? Can you send the link?


Changing the output of regression_fit function

Changing the output of regression_fit function from betas_4d to betas_2d for later use and changing the docstring accordingly.

Also, adding ols code that applies the model to all subjects and all runs.


Annotate pure calls with babel plugin to slightly improve tree-shakea…

…bility

Q
A

Fixed Issues?
Fixes #84,

Documentation only PR

Patch: Bug Fix?

Minor: New Feature?
👍

Major: Breaking Change?

Tests Added + Pass?
Yes

Truth to be told only 2 packages at the moment benefit from it.
redux-subspace-loop - namespaced export is created by a call and it might get dropped if the package stays unused
react-redux-subspace - SubspaceProvider gets correctly annotated, but it cannot be removed because it uses static properties, so the output looks like this:
var SubspaceProvider = /*#__PURE__*/function (_React$PureComponent) {
 // ...
}(React__default.PureComponent);

SubspaceProvider.propTypes = {
    children: PropTypes.element.isRequired,
    mapState: /*#__PURE__*/PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
    namespace: PropTypes.string,
    subspaceDecorator: PropTypes.func
};

SubspaceProvider.contextTypes = {
    store: PropTypes.object.isRequired
};

SubspaceProvider.childContextTypes = {
    store: PropTypes.object
};

Unfortunately such static assignments prevent dead code removal, because algorithm thinks that SubspaceProvider is used.
There are 2 ways of "fixing" this problem:

custom babel plugin to pull those static assignments into the transpiled class IIFE, I might create it some day, but in general would like to fix it upstream - I have working PR for this in babel@7, but it's not merged in et
create this class from the IIFE, like this:

const SubspaceProvider = (() => {
  class SubspaceProvider extends React.PureComponent {
    // ...
  }
  return SubspaceProvider
})()
export default SubspaceProvider

this will let the plugin annotate outer IIFE (inner being a transpiled class) which would contain whole class definition and thus making it dead code droppable.
But ofc this is somewhat ugly and also gives rather rly small benefits - in real world scenarios for this library probably even none.

As long the core package (redux-subspace) gets some benefit, I'm happy.  That's the one with the most stuff that isn't going to be used by everyone.
I'll try and find some time tonight to take a closer look, but on the surface everything looks fine here.

well, redux-subspace does not benefit from this at the moment, because nothing in top level scope is created with a function call - so regular tree-shaking should be able to remove unused stuff anyway
this can ofc change in the future, so it might be good to leave the plugin just in case

redux-subspace does not benefit from this at the moment, because nothing in top level scope is created with a function call

hmmm, ok.  I think I understand a bit better what this plugin doing now.  When a variable is assigned from a function call just by importing a file, this tells the tree shaker that is was a pure call and can be removed.  Without it, the variable can be shaken away, but the call, and consequently function itself, are left behind as it may have had a side-effect worth keeping.  Am I close?

SubspaceProvider gets correctly annotated, but it cannot be removed because it uses static properties

Changing `SubspaceProvider to
class SubspaceProvider extends React.PureComponent {
  static get propTypes() {
    return {
      children: PropTypes.element.isRequired,
      mapState: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
      namespace: PropTypes.string,
      subspaceDecorator: PropTypes.func
    }
  }

  static get contextTypes() {
    return {
      store: PropTypes.object.isRequired
    }
  }

  static get childContextTypes() {
    return {
      store: PropTypes.object
    }
  }

  getChildContext() {
    const makeSubspaceDecorator = props => props.subspaceDecorator || subspace(props.mapState, props.namespace)

    return {
      store: makeSubspaceDecorator(this.props)(this.context.store)
    }
  }

  render() {
    return Children.only(this.props.children)
  }
}

outputs
var SubspaceProvider = /*#__PURE__*/function (_React$PureComponent) {
  inherits(SubspaceProvider, _React$PureComponent);

  function SubspaceProvider() {
    classCallCheck(this, SubspaceProvider);
    return possibleConstructorReturn(this, _React$PureComponent.apply(this, arguments));
  }

  SubspaceProvider.prototype.getChildContext = function getChildContext() {
    var makeSubspaceDecorator = function makeSubspaceDecorator(props) {
      return props.subspaceDecorator || subspace(props.mapState, props.namespace);
    };

    return {
      store: makeSubspaceDecorator(this.props)(this.context.store)
    };
  };

  SubspaceProvider.prototype.render = function render() {
    return Children.only(this.props.children);
  };

  createClass(SubspaceProvider, null, [{
    key: 'propTypes',
    get: function get$$1() {
      return {
        children: PropTypes.element.isRequired,
        mapState: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
        namespace: PropTypes.string,
        subspaceDecorator: PropTypes.func
      };
    }
  }, {
    key: 'contextTypes',
    get: function get$$1() {
      return {
        store: PropTypes.object.isRequired
      };
    }
  }, {
    key: 'childContextTypes',
    get: function get$$1() {
      return {
        store: PropTypes.object
      };
    }
  }]);
  return SubspaceProvider;
}(React.PureComponent);

which I think means it can be shaken away, but I'm not sure if that's necessarily a recommended (or valid?) way to define a React component.

this can ofc change in the future, so it might be good to leave the plugin just in case

I like the idea of helping future me (and others) out and leaving it in for all packages, even if they don;t get any immediate benefit from it right now.

hmmm, ok. I think I understand a bit better what this plugin doing now. When a variable is assigned from a function call just by importing a file, this tells the tree shaker that is was a pure call and can be removed. Without it, the variable can be shaken away, but the call, and consequently the function itself, are left behind as it may have had a side-effect worth keeping. Am I close?

You couldn't be closer :)

which I think means it can be shaken away, but I'm not sure if that's necessarily a recommended (or valid?) way to define a React component?

Neat trick! didn't think of that, although I'm not sure if using getters for those is a good thing.

I like the idea of helping future me (and others) out and leaving it in for all packages, even if they don't get any immediate benefit from it right now.

👍

I'm not sure if using getters for those is a good thing.

No, me neither.  I don't think I'll worry with it.
The reality is, whether you use subspaced or SubspaceProvider from that package, you will need that code, so it's unlikely it would ever have been removed if the package was used.
I'm happy with this and will merge it now.  Thanks again :)


Revert "Reorder includes. (#5749)"

Cpplint 1.5.1 reverts the changes made in 1.5.0 which necessitated re-ordering headers in #5749.
Related: https://github.com/microsoft/LightGBM/issues/3132, https://github.com/dmlc/dmlc-core/pull/624

If cpplint gives too much headaches in the future, we should consider pinning its version.

Software has bugs, I'm fine with that fact.  We can go more closely with upstream when it happens again. :-)


Not showing in Lovelace

I installed this as a module:
  - type: module
    url: /hacsfiles/PlantPictureCard/PlantPictureCard.js

The option of this custom card shows up when selecting a new card, but it does not show in the interface and keeps the whole dashboard from loading...
This is the setup for the card:
type: 'custom:plant-picture-card'
entity: plant.monstera
title: Monstera
image: local/monstera.jpg

I think you'd need a '/' before the 'local' on the image line.
Are your images in /config/www/ ?
e.g.
entity: plant.aloe_zebrina
image: /local/AloeZebra.jpg
title: Zebra Aloe Danyz
type: 'custom:plant-picture-card'

entity: plant.sedum_morganianum
image: /local/Sedum.jpg
title: Burro's Tail
type: 'custom:plant-picture-card'

www $ ls -altr
-rw-r--r--    1 root     root         74264 Jun  7 20:33 AloeZebra.jpg
-rw-r--r--    1 root     root         84313 Jun  7 20:34 Sedum.jpg
-rw-r--r--    1 root     root         65178 Jun  7 20:34 SpiralCacti.jpg
drwxr-xr-x   11 root     root          4096 Jun 21 21:26 community
drwxrwxrwx    3 root     root          4096 Jun 21 21:53 .
drwxr-xr-x   15 root     root          4096 Jun 21 21:53 ..
www $ pwd
/config/www

Do you see any messages in the web developer tools in your browser? Any thing in the console section?

So sorry, that was a typo. I have indeed included the '/'.
Images do show up with an ordinary pictures card...
Is my inclusion of the module correct?

If you've installed via HACS, it should have added the resource automatically. So you should see it under Configuration > Lovelace Dashboards > Resources

So you shouldn't need to add the module any other way.

My Dashboards are configured through YAML, cannot add modules with the UI, so I added it to lovelace_setup.yaml
I guess that's part of the problem...

I've never set anything up that way, sorry, so I'm not sure how it should all hang together when set up like that.

I will try and set it up on a test install without yaml dashboards. Just to know what's going on...
Thanks for your help!

I did find this in the log BTW:
Logger: frontend.js.latest.202006033
Source: components/system_log/__init__.py:209
First occurred: 23:25:49 (3 occurrences)
Last logged: 23:31:33

https://hass.url.com:8123/hacsfiles/PlantPictureCard/PlantPictureCard.js:81:47 TypeError: undefined is not an object (evaluating 'hass.states[String(_sensor)].attributes')
:0:0 Script error.

ok, that's interesting. If you go to developer tools > states and filter one your plant, what do you have? I'm especially interested in the friendly name:

problem: brightness low, conductivity high
sensors:
moisture: sensor.plant_john_name_moisture
temperature: sensor.plant_john_temperature
brightness: sensor.plant_john_illuminance
conductivity: sensor.plant_john_soil_conductivity

unit_of_measurement_dict:
temperature: °C
moisture: '%'
brightness: lx
conductivity: µS/cm

moisture: 58
temperature: 25.3
brightness: 303
conductivity: 3218
max_brightness: 303
friendly_name: v5a_office_john_monstera

This plant does not have a 'battery' sensor...

Right, I've found two ways to get it to blow up. One is get the entity plant.name wrong in lovelace config, and the other is probably what you are seeing - not having a sensor it is looking for - the battery sensor in your case - I will try and put in some protection for that.

Indeed, I added a 'dummy sensor' containing battery info and now it works...


The ContextMenu class is not serializable

Hi, thank you for this awesome extension. Just a minor thing: the ContextMenu class is not serializable: the Logger logger is not serializable and the serialization fails:
Caused by: java.io.NotSerializableException: java.util.logging.Logger
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
Perhaps the logger field should be static.

Also, the AbstractMenu class is not Serializable - perhaps the Menu interface should be made Serializable?


added handler for Pundit errors on ApplicationController

Just building off of the pattern @johnpinto1 established for us for handling errors.
This ensures that any Pundit authorization errors result in an Unauthorized error message and brings the user back to their Dashboard or the homepage if they're not logged in

The test failures look like a consequence of the exception handling change so just eed changed to be new results. I think.

fixed up the tests


1.17.2 - colored names broke nick with hex)

In the 1.17.2 Version colored nickames broke

1.17.2? Did you got future MC release maybe? Also, those hex colors are not supported in there, Jobs uses CMI's hex colors, https://www.zrips.net/cmi/hex-colors

This id 1.17.1 versionnall is fine! I using cmi long time now. And im confirmal with the hex cmi uses. All is fine with Version 1.17.1 the Problem comes with the new dev Version 1.17.2 rhat rhe hexnane is shown in thus incorect way.
We use the dev Version 1.17.2 from Discord. This ine solves a Problem where our players are getting random jobs for nonreason ( and loosing their iod job).
No matter what went erst ng in the 1.17.1  we allready reseted the whole database to make sure that its.ni database problem.  We are using sqlite.

Good try? What do I mean by that? Maybe some kind of anger, abuse, or maybe something other than the issue? As if I were his slave again. For some reason, I have to write a novel at least once every 1 month because the “crazy” kid seems to see it as dismissive or slavish. I feel like I have to leave this whole Minecraft here because of this. I'm getting bored. The other thing is, why does everyone praise that developer version 1.17.2 and think this is right? Maybe you uploaded that version? I don't see a post that includes this version. At least I only see 4.17.2.
Anyway, let's get back to this issue. So, ignoring your spelling problems, is your problem that the color codes in the chat aren’t working properly that would contain the hex color? Well, this Adventure recently came out on Paper, which somewhat breaks down some resources, especially when used as well. I followed this too and the chat alone did not work properly. But I have already reverted this change to the old one so that we can also support chat format changes. This commit shows that I reverted to the old player chat event method and the developer version includes this commit. Based on the test, this worked with a basic prefix setting. By this I mean that it did not include a hex color format, but a default that was created during configuration generation. Maybe you changed something in one of the Jobs configurations afterwards? Especially in generalConfig? Because this file contains settings for the chat prefix to change the chat format to a specified one. Of course, if it is not overwritten in a dependency resource such as EssXChat or CMI. If you may have done so, check and make sure it is correct.

we changed nothing from 1.171 to 1,17,2 we just replaced the jar file nothing else

Is this still reproducible with the updated release in #dev-releases channel on discord?

i dont know if there was a new 1.17.2 in the dev channel but i redownloaded it and tested agggain. the result is the same :(

for coloring the name i used CMIS nick command
 /cmi nick {#cc2500>}Cloude{#e68773<>}_Lecaw{#e6c8b8<} Cloude_Lecaw  i dont know if i used these hexes colorcodes or others but thats the commands i used for the nick. the colorcodes i took from cmis colorpicker :)

ed9fe4d26ec4e518204e10ccebbebb40c0a60263

Just wanne tell the nicks in Jobs are still broken


The latest SDK of Flutter 1.22.5 is only 128MB. Was the upload wrong?

The latest SDK of Flutter 1.22.5 is only 128MB. Was the upload wrong?

they have seperated flutter sdk from dart sdk, use 1.22.4-stable

Hi @...
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Update TV example zap file and generated code

Problem
TV example app clusters at endpoint 0 do not have commands enabled
Change overview

Created generated files by running zap_regen_all.py
Enabled the commands at endpoint 0 for TV clusters and saved the zap file

Testing
How was this tested? (at least one bullet point required)

Used the ./gn_build.sh to verify the building is successful
Run tv example app locally on Mac OS
./out/debug/chip-tv-app
Sent pairing command from chip tool to tv example app and got successfull response
./out/debug/standalone/chip-tool pairing onnetwork  0 20202021 3840 ::1 11097
Sent get tv channel list command from chip-tool to tv example app and got tv channel list
./out/debug/standalone/chip-tool tvchannel read tv-channel-list 0

./out/debug/standalone/chip-tool tvchannel read tv-channel-list 0

@lazarkov This doesn't actually use any of the commands this PR is modiying, right?   It's an attribute read.


Dash svm

Issue for app: #39
App pull request

[ ] This is a new app
[x] I am improving an existing app (redesigns/code "makeovers")

About

Playground deployment URL (new version): https://dash-playground.plotly.host/dash-svm/
Current gallery app URL: https://dash-gallery.plotly.host/dash-svm/

Workflow

[x] I have created a branch in the appropriate monorepo, and the
elements necessary for successful deployment are in place.
[x] If the app is a redesigned and/or restyled version of an
existing gallery app, I've summarized the changes requested in the
appropriate Streambed issue and confirm that they have been applied.
[x] If the app is on the Dash Gallery portal, I have added a link to
the GitHub repository for the source code in the portal description.
[x] If the app is a reimplementation of a Python gallery app for the
DashR gallery, the app in this PR mimics, as closely as possible,
the style and functionality of the existing app.

The pre-review review
I have addressed all of the following questions:

[x] Does everything in my code serve some purpose? (I have removed
any dead and/or irrelevant code.)
[x] Does everything in my code have a clear purpose? (My code is
readable and, where it isn't, it has been commented appropriately.)]
[x] Am I reinventing the wheel? (I have used appropriate packages to
lessen the volume of code that needs to be maintained.)

@YunkeXiao All the CSS appears to be gone on the playground deployment -- can you please make sure that your assets path is correct?

The logo on the app looks way too big - please make it a bit smaller! Also if possible, wrap the graphs in a dcc.Loading component - sometimes it's hard to tell if the app is broken or if it's just "thinking".

@YunkeXiao I'm getting an application error when I try to visit the playground app. Please fix it, then I can review :)


genericUpdater fails if nix-command isn't enabled

Describe the bug
Trying to update my package furnace fails because genericUpdater assumes that nix edit just works.
bt1cn@NixTop:~/devel/nixpkgs
↪ nix-shell maintainers/scripts/update.nix --argstr package furnace

Going to be running update for following packages:
 - furnace-0.5.8

Press Enter key to continue...

Running update for:
 - furnace-0.5.8: UPDATING ...
 - furnace-0.5.8: ERROR

--- SHOWING ERROR LOG FOR furnace-0.5.8 ----------------------

[...]

+ '[' -n 0.6pre1 ']'
+ '[' 0.5.8 '!=' 0.6pre1 ']'
++ EDITOR=echo
++ /nix/store/1psw6gi16i6188ww3clbnxaqr3mp9hqy-nix-2.9.1/bin/nix edit -f. furnace
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
+ pfile=

--- SHOWING ERROR LOG FOR furnace-0.5.8 ----------------------

Steps To Reproduce
Steps to reproduce the behavior:

Don't have nix-command enabled? :shrug:
nix-shell maintainers/scripts/update.nix --argstr package furnace or another package that uses genericUpdater / gitUpdater

Expected behavior
I should be able to run the updateScript without having to worry about experimental features & whether or not they're enabled.
Screenshots
n/a
Additional context
https://github.com/NixOS/nixpkgs/blob/78f79c21e92eccda2edd66fe106f5b7e6881f9b9/pkgs/common-updater/generic-updater.nix#L95
I don't mess with experimental stuff (nix-command or flakes) and Nix versions aside from the default one. Would adding --extra-experimental-features nix-command be enough here without breaking stuff for everyone else?
Notify maintainers
@romildo
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.40-xanmod1, NixOS, 22.05 (Quokka), 22.05.342.a634c8f6c1f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(bt1cn): `"unstable"`
 - channels(root): `"nixos-22.05.342.a634c8f6c1f"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

When the script was written, nix edit worked without any further options. --extra-experimental-features nix-command was introduced later.


Create new command to get individual prayer counts

Context
Add new command for individual user to see the number of /prays made.
Approach
Added new command
Pre-merge checklist

[x] I have followed the contributing checklist

Dependencies and References
NIL
Rollback Plan
Rollback to previous working version.
Risks
:warning: PLEASE DO NOT WRITE None :warning:

[x] Low

Low: Create new command.
This section is for the code owners. Let the code owners know what this PR is touching on.

Good


Update librustzcash to its next release

Motivation
We are currently pointing to a specific commit of libruszcash. We should point to the next release after it's published.
Specifications
N/A
Designs
N/A
Solution
Update librustzcash to its next release. Remove the hardcoded dependencies in the workspace Cargo.toml that are copied from the librustzcash workspace Cargo.toml.
Alternatives
Keep pointing to the commit, but that should be avoided
Related Work
N/A

Duplicate of #2982.


Serious bug in touches behavior

Say I have a model like this:
class Child(Model):
    __touches__ = ['parent']

    @belongs_to
    def parent(self):
        return Parent

If the Parent relation is optional, and a Child without an associated Parent is updated, all the Parent items' timestamps are updated. This is a serious problem in my view and should be resolved. If there is no Parent associated with the Child, none of the Parent items should have their timestamps updated.

Thanks for reporting this.
I will look into it and get back to you.

It should be fixed on the 0.9 branch. It will land in the next 0.9.6 release.


[Mesos] Is it possible to point Rancher load balancer to Marathon task by a task name?

Unfortunately current documentation doesn't has enough information about integration layer between usual mesos frameworks and rancher infrastructure, thereby is not clear how to use LB to dynamically make Marathon/Mesos tasks be available from external networks (service discovery inside Mesos env. can be achieved by some additional components like marathon-lb and mesos-dns, but I think anyway documentation should to recommended some general approaches ).
For additional information please read this:
https://forums.rancher.com/t/is-it-possible-to-manage-mesos-marathon-tasks-by-rancher-load-balancer-and-few-additional-mesos-related-questions/3085
Rancher Version:
v1.1.0-dev3
Docker Version:
1.11.1
OS and where are the hosts located? (cloud, bare metal, etc):
ubuntu 14.04, local VMs at Ovirt
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher + 4 nodes
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Mesos

Short answer: it is possible, but not without writing code.
Rancher LB could be used to route/balance Mesos workload traffic. We would need to register Zookeeper watches for relevant tasks and generate LB configuration whenever a change is encountered. This would allow us to load balance not only Marathon services, but any Mesos frameworks we see fit.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Adds vocabulary for en_de paracrawl translation

In tokenizers.py, I added a text_generator method that'll transform a tfds dataset into a generator, for the specified language (english or german).  Maybe this was already there, but I missed it.  Then there's a build_vocab_tr() function, which builds the vocabulary.
In vocab, I added two vocab files for both german and english: one from selecting the most common 30k words from the first 1M sentences, and the other fro the first 10M sentences.  I checked a bit and the files are pretty similar.
One thing to note is that punctuation marks are still there.  Hopefully this doesn't pose a problem but we may need to strip the words of punctuation, if it does.  Generating 30K words from 10M sentences takes ~15 mins on my workstation so regenerating isn't much of a problem.

Changes made, and all tests pass now.

Changes made, and all tests pass now.


Set Up SAP Business Application Studio for CAP Java

Tutorials: https://developers.sap.com/tutorials/cp-cap-java-app-studio.html

There's typo.

Thank you for your feedback. Actually, there are two correct spellings: artefact (BE) and artifact (AE).
@iwonahahn What do you say?

Thanks @LukyBruce for catching this. I'll change it to AE for consistency, as this is used in the majority of tutorials.


Decoding into a color desynced video

Each color is desynced and displayed at a different time causing a scrolling picture with frame edges falling over into the next frame
OS: Windows 10 - WSL 2
CPU: Ryzen 7 3700x
GPU Nvidia RTX 3060
Ram: 32gb
Original:

Decoded:

I'm pretty sure the problem lies with your encoding. Did you try encoding a .y4m file with VTM or VVenC? Neither understands the .y4m syntax and would treat the header as video bits, thus the content shift. The decoder just reproduces what is contained in the bitstream.
Please make sure you encode a raw yuv without a Y4M header.

Sorry for the late reply, I don't believe I encoded to a y4m, I encoded to a .h266 file using vvenc and decoded to a .yuv file using vvdec

Could you post the whole chain of calls you used to encode and decode a video?
Best regards,
Adam


Elle Fashion FEED can't extract images

Here is the feed.
http://www.elle.com/rss/fashion.xml
Looks like image is inside CDATA
		<item>
			<title>Bella Hadid Is the New Face of Nike</title>
			<link>http://www.elle.com/fashion/news/a40783/bella-hadid-nike/</link>
			<guid>http://www.elle.com/fashion/news/a40783/bella-hadid-nike/</guid>
			<category>Fashion</category>
			<pubDate>Mon, 14 Nov 2016 20:09:00 +0000</pubDate>
			<description>
				<![CDATA[

It's her first time modeling for a fitness brand.
]]>
			</description>
		</item>

Unfortunately, image is not in standard tag. Can not parse it.

Alternatives
https://www.pinterest.com/fashionmagazine/feed.rss/
http://www.vogue.com/fashion/feed/


Introduce CT_ARRAY_INDEX_CURLY_BRACE_OPEN and CT_ARRAY_INDEX_CURLY_BRACE_CLOSE

Also, fixes #1909

:+1:

I extended detection by cases discovered during #1958

:ship:

I would like to do that only after #1958 would be ready to merge as well ;)

:+1:   :ship:  :)


Update windows-container-powershell.md

New-AzAksNodePool also requires a VmSetType.
added "-VmSetType VirtualMachineScaleSets"

@whaakman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@whaakman, Thanks for the feedback. Merging.
#sign-off

@whaakman, Thanks for the feedback. Merging.
#sign-off

@Nickomang: I'm sorry - only the author of this article, @mlearned, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@Nickomang: I'm sorry - only the author of this article, @mlearned, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Return all messages that are dated within the from-to range

Requirements

GET(from: optional, to: optional, format: optional; xml or plaint-text) request to return all messages that are dated within the from-to range
Use referrer header. If not display error message and block request
Use content-disposition header to specify proper filename so that the user sees the data as a downloaded file
Make sure the client does not cache the data (see: expires)
The data is written to the servlet response
Use Java stream API

Full Description

Closed in https://github.com/mjimenez98/chat-web-app/pull/17

Solved


Adds date to blog posts under the title

Beyond being a good general guideline, on blog posts that deal with fast-changing technologies (like ours), it's especially important to include the date of the post near the title of the post. This was brought up on Slack and I wanted to tackle this now.
Here's what this looks like on classic posts:

And here's what it looks like on the modern, "epic" layout:

(I went with the same grey here that we use for datestamps on comments.)
I'm open to design feedback on this 👍
Fixes #544.

Fantastic idea!
But I'd go so far as to say that the gray doesn't have sufficient color contrast to pass accessibility checks.
In fact I found this tool for checking against Web Content Accessibility Guidelines…

@anandaroop good thinking – I've since committed a change that moves the grey to black.


Ficsit Farming mod for Satisfactory

Have you checked whether this mod or set of mods has already been requested?
Check here
If you find the mod you're looking for, add a "thumbs-up" reaction or a comment to the issue.
Yes
What mod set are you requesting?
E.G. "Bobs and Angels", "Pyanodons", "Seablock", etc.
I am requesting support for mods in the Satisfactory calculator, specifically, the Ficsit Farming mod
**Is this mod set compatible with the latest version of Factorio?"
Yes or no. If no, please list the last version that it is compatible with.
Ficsit Farming is compatible with the latest versions of both the experimental and the early access branches of Satisfactory
What mods are included in this mod set?
E.G. list all the distinct mods that should be included from the mod portal.
Ficsit Farming

Is there a wiki or something where I can see all the items and recipes that are added as part of this mod? I don't own Satisfactory, the current data set was crafted from the wiki, so without a website documenting the data it would be very difficult to construct this.

Closing this issue - if there is a resource I can use to build this data set, I'm open to reconsidering, but I do not own Satisfactory and do not intend to build mod data sets for Satisfactory purely based on in-game screenshots / info.


No exchange rate causes NPE

"thread_name": "AWT-EventQueue-0",
"logger_name": "org.multibit.hd.core.error_reporting.ExceptionHandler",
"message": "Uncaught exception. Proceeding to show Error Reporting dialog...",
"stack_trace": "java.lang.NullPointerException: 'exchangeRate' must be present
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) ~[multibit-hd.jar:na]
at org.multibit.hd.core.utils.Coins.toLocalAmount(Coins.java:37) ~[multibit-hd.jar:na]
at org.multibit.hd.ui.views.components.enter_amount.EnterAmountView$4.run(EnterAmountView.java:371) ~[multibit-hd.jar:na]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[na:1.7.0_80]

Trivial fix so worth putting into 0.1.3.

I've put in checks for all usages of Coins.toLocalAmount to check for a null exchange rate.
Awaiting code review and closing.

Verified working.
Closing.


Promises can be resolved just once

The 'standard' way to use ng-cordova is broken with this change but if promises are used we only scan for 1 device and will be notified only once on characteristic changes

This was already resolved in #750. Thanks for helping; theirs just got merged first.  Not your fault; we're just catching up with all the PRs and chose that one because it's a little more extensive.


@conda-forge-admin, please add user @matthiasdiener

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @matthiasdiener in conda-forge/hub-feedstock#44.


Warn if library is missing (and return dataframe if possible).

I'm really not a fan of these optional imports, and don't see the benefit of including all this special handling for whether a standard library is installed or not. Libraries should have dependencies (or not), and they should be explicit and pinned.
I've been taking these out in my branch (see, e.g., here).

@ian-contiamo is this PR necessary anymore given that we're explicitly requiring pandas?

@bmwilly I definitely agree that pandas should be a requirement for testing, which is the change you have made.


[melodic] pass ROS_BUILD_SHARED_LIBS to use visibility control properly.

Many ROS packages adopt this visibility control header to make the packages Windows-compatible. And the visibility control is conditionally guarded by ROS_BUILD_SHARED_LIBS which is defined by catkin in CMake file.
However, for sip module, it is running its own Makefile generated by sip, and this important definition (ROS_BUILD_SHARED_LIBS) is not automatically inherited. In such case, when it is building the sip module and ROS visibility control headers are in use there, it doesn't use the expected visibility control code path.

@dirk-thomas This is ready for review and merge. Thanks!

@dirk-thomas Friendly ping.

@dirk-thomas Following up. Any feedback would be appreciated.

Thanks for the patch.


New Template with knockout has missing dependency - rimraf

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

Expected or Desired Behavior
When running yo @Microsoft/sharepoint, then gulp serve - solution compiles and runs.
Observed Behavior
When running gulp serve on a new project, I get 'cannot find module rimraf'. Manually running 'npm install rimraf' fixes things.
Steps to Reproduce
Yo a new template using knockout, then run gulp serve

Hey David - I'm trying this on a couple of machines, and I'm not getting the rimraf error.  Is this a build exception (gulp spits it out) or a runtime exception (it's in the browser)?

Are you on a Mac? I've seen this occasionally on my Mac. If you are on a Mac, it might be a Mac-specific issue, which would help us track down the root cause.

Are you unblocked? I'm going to close this issue. Feel free to reopen it if you're still stuck.


how do i use the core opengl core profile on macOS haxe?

i want to know how to use the opengl core profile on macos haxe

Community forums: https://community.openfl.org
Discord server: https://discord.gg/tDgq8EE

To use the OpenGL Core Profile on macOS with Haxe, you'll need to follow a series of steps that involve setting up your development environment, configuring your project to use the Core Profile, and writing your OpenGL code. Here's a step-by-step guide based on the information provided:

Set Up Your Development Environment: Ensure you have Haxe installed on your macOS system. You can download Haxe from the official website. Additionally, you'll need to install the HaxeFlixel or OpenFL framework, which are popular for game development with Haxe. These frameworks provide a way to write Haxe code that compiles to native code, including OpenGL calls.

Configure Your Project: When setting up your project, you'll need to specify that you want to use the OpenGL Core Profile. This is typically done through the project's configuration files or settings. For example, in a HaxeFlixel or OpenFL project, you might need to set a flag or specify a configuration option that tells the framework to use the Core Profile.

Write OpenGL Code: Once your project is configured to use the Core Profile, you can start writing your OpenGL code. This involves creating shaders, setting up buffers, and drawing objects using the OpenGL API. Since Haxe is a high-level language, you'll be writing Haxe code that gets compiled to native code, which then calls the OpenGL API.

Use Libraries for OpenGL Functions: To make it easier to work with OpenGL in Haxe, you can use libraries that provide bindings to the OpenGL API. For example, the hxgl library provides Haxe bindings for OpenGL, which can simplify the process of writing OpenGL code in Haxe. You can find such libraries on Haxe's package repository or on GitHub.

Compile and Run Your Project: After writing your OpenGL code, you'll need to compile your Haxe project. This process involves compiling the Haxe code to native code, which can then be executed on macOS. The HaxeFlixel or OpenFL framework will handle the compilation process, including linking to the OpenGL library.

Debugging and Optimization: Once your project is running, you may need to debug your OpenGL code or optimize it for better performance. This can involve using tools like the OpenGL Profiler to analyze your OpenGL calls and identify areas for improvement.

Remember, the specific steps and code examples will depend on the libraries and frameworks you're using with Haxe. The HaxeFlixel and OpenFL communities are good resources for finding examples and getting help with specific issues.
Since the provided sources do not directly address using the OpenGL Core Profile with Haxe on macOS, the steps above are a general guide based on common practices in Haxe development and OpenGL usage. For more detailed instructions, consult the documentation of the specific libraries and frameworks you're using.
Citations:
[1] https://github.com/openfl/openfl/issues/2688
[2] https://castle-engine.io/wp/2023/02/22/using-opengl-core-profile-by-default-on-macos/
[3] https://stackoverflow.com/questions/45015303/how-do-i-utilize-a-different-opengl-profile
[4] https://wiki.qt.io/How_to_use_OpenGL_Core_Profile_with_Qt
[5] https://github.com/nensanders/opengl-tutorial
[6] https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_pg_concepts/opengl_pg_concepts.html
[7] https://github.com/neurolabusc/OpenGLCoreTutorials
[8] https://docs.unity3d.com/Manual/OpenGLCoreDetails.html
[9] https://dev.to/giovannicodes/opengl-setup-in-macos-48cl
[10] https://www.khronos.org/opengl/wiki/Getting_Started
[11] https://forum.castle-engine.io/t/using-opengl-core-profile-by-default-on-macos/747
[12] https://www.khronos.org/opengl/wiki/OpenGL_Context
[13] https://community.khronos.org/t/why-should-i-prefer-core-profile-over-compatibility/109648
[14] https://communities.vmware.com/t5/VMware-Fusion-Discussions/how-to-enable-opengl4-1-for-macbookpro-16-2019/td-p/2909111
[15] https://github.com/FreeGLUTProject/freeglut/issues/63

is the above explanation correct?

sorry let me test this and see if it works

uhh actually can you please make me a sample i don't really know much about haxe code hahaha

This is basic approach try to run the above command in your terminal or command prompt after installing haxe.
If you're new to Haxe, OpenFL, or OpenGL, consider starting with OpenFL samples and tutorials to get a feel for how the framework works. Once comfortable, gradually introduce OpenGL calls to your rendering logic.


HOTFIX: remove reference to unused Assignment error code

The original draft of KIP-429 made extensive use of an error code to communicate rebalance updates to all members, however this was removed after some discussion. We should take it out of the log messages as well to avoid confusion
Should be cherry-picked to 2.4

@guozhangwang

Cherry-picked to 2.4.


Extract plots to separate component

This will probably conflict slightly with #1587, just let me know.

There's a confict to resolve

Resolved


[FLINK-4734] [gelly] Remove use of Tuple setField for fixed position

I think that makes a lot of sense!


LoadTest's Status is not being updated in Kubernetes 1.9

Expected result: Status field should be updated against any k8s version.
It works on Kubernetes 1.11 atm.

Fixed with this commit. Now Status of both LoadTest and CurlTest is updated in Kubernetes 1.9.


[SPARK-29550][SQL] - enhance session catalog locking

What changes were proposed in this pull request?
In my streaming applicationspark.streaming.concurrentJobs is set to 50 which is used as size for underlying thread pool. I perform several sql operations on dataframes and automatically create/alter tables/view in runtime. I order to do that i invoke create ... if not exists operations on driver on each batch invocation. Once i noticed that  most of batch time is spent on driver but not on executors. I did a thread dump and figured out that most of the threads are blocked on SessionCatalog operation waiting for a lock.
Existing implementation of SessionCatalog uses a single lock which is used almost by all the methods to guard currentDb and tempViews variables. I propose to enhance locking behaviour of SessionCatalog by :
Employing ReadWriteLock which allows to execute read operations concurrently.
Replace synchronized with the corresponding read or write lock.
Also it's possible to go even further and strip locks for currentDb and tempViews but i'm not sure whether it's possible from the implementation point of view. Probably someone will help me with this.
How was this patch tested?
Only via existing test suits.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@andrewor14 could you please take a look ?


New version: glzr-io.glazewm version 3.6.0

Pull request has been created with komac v2.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@vikingnope, thanks for the update!
GlazeWM has an auto-releaser, I think we should invest in fixing it so we won't need to keep manually updating the manifests. The manual manifest updates are somehow causing winget update to not work.

@vikingnope, thanks for the update! GlazeWM has an auto-releaser, I think we should invest in fixing it so we won't need to keep manually updating the manifests. The manual manifest updates are somehow causing winget update to not work.

Ye I had worked on the auto releaser, don't know why it's not working because it should be working normally


Demo & Edit on Github links not working on component page

On http://www.polymer-project.org/docs/elements/paper-elements.html#paper-dialog-transition links to

https://github.com/Polymer/docs/edit/master/docs/elements/paper-elements.md
http://www.polymer-project.org/components/paper-dialog-transition/demo.html

lead to 404s.

The problem has come again in the brand-new pages of the website www.polymer-project.org (e.g. https://www.polymer-project.org/1.0/start/first-element/intro )
Every "EDIT ON GITHUB" link under the main page title points to an inexistent page "https://github.com/Polymer/docs2/edit/master/app/1.0..."


Metadata info is missing

Metadata info in metadata.yml still has the template values, we should update them.
Bump the tag to 0.1.0.

The metadata in hub doesn't seem to be updated:
https://github.com/kubewarden/policy-hub/blob/main/web/policies/kubewarden:verify-image-signatures.json


compare a file with a directory

with the usage of the lintstage I would like it is possible to add support for compare a file with a directory, the same functionality with skipLocal but compare with a file with a directory. to find it the file have a duplicate code with the source code.
npx jscpd -g  -p **/*.ts  -r consoleFull --skipLocal  src/ src/myfile.changed.ts

good point, thank you for the issue

duplicate of #588


Fix JBallerina unit tests in windows

Purpose
$subject
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #17321   +/-   ##
=======================================
  Coverage   14.82%   14.82%
=======================================
  Files          46       46
  Lines        1214     1214
  Branches      193      193
=======================================
  Hits          180      180
  Misses       1020     1020
  Partials       14       14

Continue to review full report at Codecov.

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


Training code

Thank you very much for your project code. Do you have plans to open source the code for the RLVC training phase.

We currently won't release the training code, but the training process is similar to the training code of OpenDVC (https://github.com/RenYang-home/OpenDVC), just plus the last phase to train the total loss of the whole network on sequential frames.

hi， i have a problem while training RPM with ConvLSTMCell.
I can ignore it by disable layer optimizer, but i am confused whether it works?

layout failed: Invalid argument: MutableGraphView::SortTopologically error: detected edge(s) creating cycle(s) {'MV_analysis/recurrent/rnn/while/rnn/conv_lstm_cell/concat-1-TransposeNHWCToNCHW-LayoutOptimizer' -> 'MV_analysis/recurrent/rnn/while/rnn/conv_lstm_cell/concat', 'analysis/recurrent/rnn/while/rnn/conv_lstm_cell/concat-1-TransposeNHWCToNCHW-LayoutOptimizer' -> 'analysis/recurrent/rnn/while/rnn/conv_lstm_cell/concat', 'synthesis/recurrent/rnn/while/rnn/conv_lstm_cell/concat-1-TransposeNHWCToNCHW-LayoutOptimizer' -> 'synthesis/recurrent/rnn/while/rnn/conv_lstm_cell/concat', 'RNNRES/rnn/while/rnn/conv_lstm_cell/concat-1-TransposeNHWCToNCHW-LayoutOptimizer' -> 'RNNRES/rnn/while/rnn/conv_lstm_cell/concat', 'MV_synthesis/recurrent/rnn/while/rnn/conv_lstm_cell/concat-1-TransposeNHWCToNCHW-LayoutOptimizer' -> 'MV_synthesis/recurrent/rnn/while/rnn/conv_lstm_cell/concat', 'RNNMV/rnn/while/rnn/conv_lstm_cell/concat-1-TransposeNHWCToNCHW-LayoutOptimizer' -> 'RNNMV/rnn/while/rnn/conv_lstm_cell/concat'}.

Do you have this problem when training RAE?

yes, i found it related this issue https://github.com/tensorflow/tensorflow/issues/36901

Thanks for sharing the issue. Have you sloved the problem now?

I basically hide this error by
tf.config.optimizer.set_experimental_options({'layout_optimizer': False}).
It seems wont degrade reconstruction performance.

Okay, I never met this before. Good to know more about it.


Add keyboard shortcut to increase/decrease CSS/SCSS/LESS number values

My apologies if a similar feature request already exists. I searched and could not find one.
The idea here would be to replicate the behavior found in modern browser's dev-tools. When inspecting the styling rules for a web page, if you select a numeric value for a rule, pressing the up/down arrow keys will usually increase/decrease the value by one.

It would be great if this ability could be bound to a pair of keyboard shortcuts (one for increasing and one for decreasing) when a numeric value in a CSS, SCSS, or Less file was in focus.
After a quick browse of the keyboard shortcuts pdf, I wouldn't mind seeing the current CTRL + Up/Down shortcut (scroll by line) replaced with this feature in the specified file types. This could also be made optional via a user setting, or maybe we could find a better key combo that is currently unused.

https://marketplace.visualstudio.com/items?itemName=nmsmith89.incrementor

@ramya-rao-a I think emmet can do this too?

@dev-nicolaos You can add your own keybindings for the below commands from Emmet


google cal import not accepting start/end time values fixed

had an issue while importing ics file in google calendar so applied current format version which seemed to fix the problem (except when minutes/seconds are 0 - one solution is to put an other than 0 value in end time)

fix applied in different commit


Icemoon Asset Checklist

Description

Checklist for tracking all the various assets we need to get icemoon mapping and generation stuff off the ground.
Tiles

[ ] Permafrost: Basically the subfloor tile for icemoon.  The sprites additionally have a bunch of smoothed icons for some sort of path thing, but i think just having the base tile is fine.

[ ] Dark Ice: Just a sprite-swap of our existing ice textures. This one from /vg/ has smoothing support so those should be ported with this. There's also another ice sprite that is quite a bit lighter and has no smoothing. That one might also be worth porting.

[ ] Dug Snow (Rename): "Dug Snow" exists in game but the name is kinda awful and I prefer the name "grave snow" that other servers use.

Walls/Structures

[ ] Snow Structure Overlays: Basic entity overlays that would be good for flavor in the future. These would ideally be hooked up to some kind of weather system or component logic (add snow overlay after being in snowy weather for X time) but if whoever adds them can't implement that, then i'll get to it myself.

[ ] Rock Variants: Some more colorful variants of the traditional white snow rock.  They both would likely need a resprite to work a bit better in the environment.

Mobs
Includes extended assets for some things mentioned in #30784.

[ ] Hivebots: Having some different variants of melee v ranged for hivebots could be good. Additionally, some kind of centralized fabricator that you have to shut off could also be really cool. I don't forsee these guys having any loot, but any structures associated with them should definitely have some stuff to sell.

[ ] Polar Bear: Doesn't need to be anything other than a decently tanky melee mob. The pelt should be wearable and sellable for a fat chunk of change, though.

[ ] Wolves: Same as the bears. These will get their own AI but all that's really needed asset-wise is the basic functionality and sellable pelts.

[ ] Deer: These should definitely have some custom evasive AI for running from players, but its still a lot of the same.  These are basically just the goldgrubs of the icemoon and should be equally as lucrative.

[ ] Wooly Goat: A less flighty version of the deer. Should still have some drops (fur, horns) but when you attack it, it should try and fight back.

Clothing
TBD: Eventually we'll probably want some outfits for populating ruins and corpses but the style is yet to be determined.
Plants
TBD: Beyond the basic trees and ground decals we have, we will probably also want some kind of botany plants that you can scavenge and grow. what these look like and their properties haven't been decided on yet.

upcoming planet thing being worked on. It's part of the larger salvage rework.

Should still have some drops (fur, horns)

can we make horns like in minecraft? :trollface:

can we make horns like in minecraft?

yeah that'd be cool af. get a didgeridoo soundfont or something and slap it on there.

I think the weather room logic needs to be added. As far as I know, weather effects just appear on land tiles, ignoring other tiles.


new LinearCollection block type

This change enables the execution of multiple linear transformations using only one block as opposed to using multiple Linear blocks in a more complex setup.
I measured a speed-up of at least 10 for my scenario as the linear transformations are handled within one ndarray.

Codecov Report

Merging #1631 (d2c0c2f) into master (bb5073f) will decrease coverage by 1.20%.
The diff coverage is 62.92%.

@@             Coverage Diff              @@
##             master    #1631      +/-   ##
============================================
- Coverage     72.08%   70.88%   -1.21%
- Complexity     5126     5441     +315
============================================
  Files           473      508      +35
  Lines         21970    23840    +1870
  Branches       2351     2595     +244
============================================
+ Hits          15838    16899    +1061
- Misses         4925     5644     +719
- Partials       1207     1297      +90

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <ø> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../modality/cv/translator/YoloTranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...i/djl/modality/cv/translator/YoloV5Translator.java
5.69% <0.00%> (ø)

...odality/cv/translator/YoloV5TranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...pi/src/main/java/ai/djl/ndarray/BytesSupplier.java
54.54% <0.00%> (-12.13%)
:arrow_down:

api/src/main/java/ai/djl/ndarray/NDArray.java
78.40% <ø> (+1.13%)
:arrow_up:

...ain/java/ai/djl/ndarray/index/dim/NDIndexPick.java
100.00% <ø> (ø)

... and 243 more

Continue to review full report at Codecov.

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

@patins1 Thanks for your contribution, can you try to rerun the test?

@patins1 Thanks for your contribution, can you try to rerun the test?

Updated my fork branch with latest master, and the test run green now :)


created the review and comments page

added the necessary content to the review and ratings page

https://www.figma.com/file/LEKdq0JqyuzzOGxv0tZWjh/WalletFriendly?node-id=1779%3A4283


Bio: create an example of table with PDBs

We already have "an example of table with PDBs" (pbd_list.csv, it even has an NGLViewer in the property panel), clearly we are trying to do something more?

We are trying to cellrender them and start mol* to precisely obserbe the structure


[FIX] fix race condition in test_environment_settings (#4447)

Pull request opened by the merge tool on behalf of #4447

Merged into branches iso5 in 6e06c3947d34a1370833c0e01b429bc5239bbc29


Ensure XML files are opened with UTF-8 encoding

PR Summary:
This PR ensures XML files are opened in UTF-8 mode while being processed. The background here is ... messy and hard to reproduce. What I'm fairly sure of is that my testing infrastructure writes some temporary files (including Foyer XML files) and something might be loaded under an assumption of ASCII encoding. This causes a crash similar to forcing that behavior:
>>> open('oplsaa.xml', encoding='ascii').read()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/mattthompson/micromamba/envs/new-models/lib/python3.11/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 56770: ordinal not in range(128)

This is because of the fancy (unicode) $\alpha$ here:
In [1]: alpha = '\u03b1'

In [2]: alpha
Out[2]: 'α'

In [3]: alpha.encode("utf-8")
Out[3]: b'\xce\xb1'

In [4]: alpha.encode("ascii")
---------------------------------------------------------------------------
UnicodeEncodeError                        Traceback (most recent call last)
Cell In[4], line 1
----> 1 alpha.encode("ascii")

UnicodeEncodeError: 'ascii' codec can't encode character '\u03b1' in position 0: ordinal not in range(128)

AFAICT, Python 3 defaults to open()ing files in UTF-8 mode, so this change shouldn't impact anything but esoteric cases like I've run into. (Handwaving more, it's a fixture that crashes only at collection time and only when using pytest-xdist.) This would be tricky for me to write a unit test for, but I can take a stab at it if desired.
PR Checklist

[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[x] Code is (approximately) PEP8 compliant
[ ] Issue(s) raised/addressed?

I'm trying to rerun the tests, but they keep getting skipped..
If I run the tests locally I'm getting an error:
============================================= ERRORS =============================================
__________________________ ERROR collecting foyer/tests/test_trappe.py ___________________________
tests/test_trappe.py:13: in <module>
    TRAPPE_UA = Forcefield(name="trappe-ua")
forcefield.py:522: in __init__
    preprocessed_files = preprocess_forcefield_files(all_files_to_load)
forcefield.py:80: in preprocess_forcefield_files
    xml_contents = f.read()
E   ValueError: I/O operation on closed file.
======================================== warnings summary ========================================
../../../../miniconda3/envs/foyer-dev/lib/python3.12/site-packages/mdtraj/formats/__init__.py:13
  /home/chris/miniconda3/envs/foyer-dev/lib/python3.12/site-packages/mdtraj/formats/__init__.py:13: DeprecationWarning: 'xdrlib' is deprecated and slated for removal in Python 3.13
    from mdtraj.formats.trr import TRRTrajectoryFile

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- generated Nunit xml file: /home/chris/cme/repos/foyer/foyer/test-output.xml -----------
==================================== short test summary info =====================================
ERROR tests/test_trappe.py - ValueError: I/O operation on closed file.

It looks like calling f.close() under the try/finally statements is causing an issue since a few lines later we call f.read() again.
  67     for xml_file in forcefield_files:
  68         if not hasattr(xml_file, "read"):
  69             try:
  70                 f = open(xml_file, encoding="utf-8")
  71             finally:
  72                 f.close()
  73
  74             _, suffix = os.path.split(xml_file)
  75         else:
  76             f = xml_file
  77             suffix = ""
  78
  79         # read and preprocess
  80         xml_contents = f.read()
  81         f.close()

Strange to see .NET stuff float in!
------------------------ generated Nunit xml file: /Users/mattthompson/software/foyer/test-output.xml -------------------------

Thanks @CalCraven and @chrisjonesBSU!


Fix metadata and corresponding tests

One of the recent metadata update merges reverted the semantic version fix we did with https://github.com/jdx/rtx-java-metadata/pull/2.
So this PR contains

all replacements for non-conform versions in the entire docs/metadata folder (~1k changed files)
fixes of the metadata tests (checks all the files in docs/metadata/vendor and some additional os/arch files)
adapt the update workflow to run the metadata tests after the update to verify we don't loose semantic versioning again

⚠ For future reference "Update Metadata" should not be merged from joschi/java-metadata but rather roele/mise-java-metadata.
Note: Will merge as soon as one/two Update workflows ran successfully in roele/mise-java-metadata

food for thought: if we wanted to make this repo easier to work with and diffs to work, I'm wondering if we could do that by removing some of this data. Here's some thoughts after looking at it:

file_type: this could be inferred from filename
filename: technically this could be inferred from the url
image_type: I'm curious what there is other than jdk, is it anything we need for mise?
jvm_impl: not really sure what this is
md5/sha1: I'm wondering if we're using these at all
os/release_type: I feel like these could be inferred from the metadata path
sha256_file: is there any point to have separate checksum files when the checksum info is already in the json file?

I also suspect we can probably remove some of the json file types we're not using, like if we don't need json for specific vendors maybe.
None of these actions on their own would make a big difference (except maybe getting rid of the checksum files), but together I think we could chip away at the massive amount of data in each diff and make some progress. That said, it would make merging way more complicated—to that I would say we should have a script to merge for us (or just stop referencing joschi).
Anyhow, this is all a fair bit of work, but thought it was worth at least a conversation about what we might do with this problem.

@jdx I totally agree. Usually a diff (e.g. 1434d42) is not that big but still contains lots of redundancy, 50% of the files are checksum files which are already part of the metadata. Also the repository is a bit hard to work with as performance is impacted by the amount of commits/files. Each operation seems to have some delay. Tried a git gc today which took 40m 🤯 which did not help much.
In the short term i would recommend to switch to a completely new repository which is a tailored variant of what we have today. This will cause some work but i might be able to tackle this in the next couple weeks.

create a new repository (getting rid of all the baggage/history)
adapt the scripts

remove checksum files (redundant)
remove unused platforms (aix, solaris) and architectures (ppc, riscv, s390x, sparcv9)
remove unnecessary aggregation files (all.json 50MB with 1Mio. lines, ga.json etc.)

improve metadata schema (remove checksum references, maybe remove properties we can infer?)

In the long term i thought about doing a complete rewrite, moving away from Bash to a more maintainable and testable approach, maybe using Rust or even Java. Which allows us for example to use libraries supporting CSS selectors rather than unreadable RegEx to crawl the vendor sites etc. This will be a lot more work but maybe i might be able to tackle this Q1 2025.

create a new repository (getting rid of all the baggage/history)
to be clear: you mean to squash all the history, correct?

I mean, since the only consumer of this is mise, technically we can get rid of everything not already in here:
https://github.com/jdx/mise/blob/8d2aed1714e15ce980ce0a1b796b8eaa0b6aed12/src/plugins/core/java.rs#L439-L460


Type mismatch silent ignored

TestNG Version
7.4.0
Assert.assertNotEquals(0L, 0);
or a mehot returning long (primitive):
Assert.assertNotEquals(longMethod(), 0);
Expected behavior
AssertionError
Actual behavior
No error, silent assertion mismatch.
Values are compared as Objects, so Long != Integer.
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven
[x] Gradle
[ ] Ant
[ ] Eclipse
[ ] IntelliJ
[ ] NetBeans

Test case sample
https://github.com/cdalexndr/testng-issue-2561
Oddly, If I add the above test into the testng main repo project test, the test works.
It may also be compiler dependent.

I'm not sure we can consider it as an issue.
Could you check the behavior of other assertion libraries like JUnit, AssertJ, fest-assert, ...?


Add support for C++11

In syntastic I can do something like that
let g:syntastic_cpp_compiler_options = ' -std=c++11'

Is there any possiblity to achieve the same idea with Neomake?

I spent a few hours figuring this out for myself. How I did it was this:
I have, in my init.vim
let g:neomake_cpp_enable_markers=['clang']
let g:neomake_cpp_clang_args = ["-std=c++14", "-Wextra", "-Wall", "-fsanitize=undefined","-g"]

That's all I need to have C++14 with clang and neovim with neomake. I also have au! BufWritePost * Neomake in my init.vim so that it automatically runs whenever I write the file. Fairly sweet setup so far.

@dolohow - @thang1thang2's answer is the right way to do things. Let me know if that doesn't resolve your issue.

Works like charm :)

Note for anyone who finds this solution: my clang++ on osx didn't like the -fsanitize=undefined option, worked fine when I took that flag out.

Thanks @thang1thang2! That did it. For others looking at this - notice how it's enabled_makers and not enable_markers. At first I didn't notice and was wondering what was wrong. Correct:
let g:neomake_cpp_enabled_makers=['clang']
let g:neomake_cpp_clang_args = ["-std=c++14"]


Foursquare import is not throttleling

I just started my camlistore server and now that I import my foursquare data I find that i get hit by a lot of 304 messages. So I regularly pause the import and restart in a while hoping that I again have access to the API. but ideally the importer should handle this.
{"meta":{"code":403,"errorType":"rate_limit_exceeded","errorDetail":"Quota exceeded","requestId":"01234567890abcdef"},"response":{}}

Just noticed that I'm never going to get all Foursquare content. Each time the importer starts with check 0 so when it gets to downloading the images my 500 API calls for that time are used.

I'm curious, why is it that you're hitting that problem, whereas other foursquare users such as @bradfitz , @katepek , (and maybe @willnorris ?), don't?
Are there different foursquare account tiers, and some of them only get a limited number of API calls, while others get unlimited or something? Or is it just that you have more data than they do?
(I'm not dismissing your problem, it indeed seems that we should handle something better in the importer in any case).

As I understand it, the foursquare importer:

Requests all checkins, in batches (of 100 by default). Those responses include wanted related data (venue, people) except venue photos

For each checkin:

If the checkin venue doesn't have enough photos (default 5), requests venue photos.
Requests each needed photo unauthenticated.

According to https://developer.foursquare.com/overview/ratelimits, userless requests to venue/* come from a much larger pool (5,000/hr/API key). Since the bulk of API requests in the initial import come from this pool, I think we can avoid hitting limits (or at least make the importer see 10x more progress on each run) by changing those requests to omit the token.

@mpl I'm not sure why I'm the special one.
Only thing is that I observe this at the moment. But if you have ideas about checking more stuff from my end I'm more than willing.

I just pushed up a CL which makes the venue/photos requests userless.
https://camlistore-review.googlesource.com/#/c/6576/
@srcr, since your account seems to be hitting quota limits, it would be awesome if you could test the patch and see if it lets the importer run through on the first try. To test:

Get the code
go run make.go to make sure your build env is good
Checkout the patch above (click "Download", top right, then click to copy the "Checkout" command).
go run make.go && devcam server -wipe (assumes you're not already running a local camlistored on port 3129)
You probably need to create new foursquare API credentials for the localhost URL, unless your existing creds are on localhost
Try to import.

I have tested it and it is working great for me. I downloaded all my check ins wihtout issue.
2016/05/12 16:33:53 foursquare: importing 100 checkins (offset 7300) 2016/05/12 16:34:58 foursquare: importing 42 checkins (offset 7400)

@srcr thanks for the feedback.


I think hop can win this gitcoin bounty

Hello guys. I discovered this amazing project when I was searching for existing solutions before I start working on this gitcoin bounty (https://gitcoin.co/issue/gitcoinco/skunkworks/253/100027342).
I think that it is better to contibute to hop and make it better instead of reinventing the wheel. Also, by participating in the bounty, I believe hop will get a better visibility, that it deserves, in the ethereum community.

Closing as stale issue


Invalid redirect path while working with gateway

Describe the bug
My service is using swag-generated docs with swagger-ui with httpSwagger.Handler on chi router.
docsHandler := httpSwagger.Handler( 		httpSwagger.URL(cfg.Docs.Path + "/v2/docs/doc.json"), 	)
Service is running after a gateway, that has its own prefix, lets call it  /gateway/.
So, i try to access the docs with address like that: http://some-host.com/gateway/v2/docs/index.html
For this to work (correct .json receiving and swagger-ui correct work) i have to set swagger Host to http://some-host.com and BasePath to /gateway/v2 on runtime and this is OK.
Not ok tho, that if i try to access docs by http://some-host.com/gateway/v2/docs/ (without index.html suffix), httpSwagger handler redirects me to http://some-host/v2/docs/index.html completely ignoring gateway component. And there is no way to me to provide this gateway prefix to handler, it works only with request URI like this: /v2/docs/
Is there a way to let swaggerHttp handler accept this prefix (if it exists), or maybe receive correct path with prefix from swaggerInfo.BasePath?
Your swag version
swag version v1.6.7
Your go version
go version go1.14.4 linux/amd64
Desktop (please complete the following information):

OS: linux
Browser: chrome
Version: latest

Please post this issue in http-swagger because is not related to swag it self.


what's ".\config.properties" ?,why i should use this?

It was happen when i use function named "getUsersWithName()"

I'll look into this. It might be a relic of the old oauth system that needs to be removed.


s390x Eddsa HW support regression

Either commit eea1e780a1 (build break) or 3965480c82 broke s390x HW support for Ed25519 and Ed448.
I would do the fix myself, however, i dont know what the recommended hooks for HW support are wrt the new architecture.
Right now, ED25519/448_sign/verify SW implementations are called directly by the ed25519/448_digest_sign/verify from providers/implementations/signature/eddsa.c. So all the pkey_method stuff seems not to be in place anymore. Also the ECX_KEY object doesnt have any hooks.
Compare e.g. to ECDSA_sign/verify: The EC_KEY object has a suitable "method" pointer.

The methods are gone for the other bits... i.e.
ecx_kmgmt.c has the keygen changes for s390,
and ecx_exch.c has the key agree parts..
(Not sure why the signature part was omitted..)
Why can't it be done in a similiar way inside eddsa.c?
e.g..
#ifdef S390X_EC_ASM
if (OPENSSL_s390xcap_P.pcc[...)
return s390x_digestsign(gctx);
#endif

Thanks @slontis for looking into this one.


Increasing range of terms parsable into MathExpr

The following is a list of issues which need to be fixed/improved on in the parser for MathExpr

[ ] Issues relating to the verb of the clause being present in the TeX expression, i.e. a divides b being written as a|b etc.
These result in the entire tree being wrongly parsed.
[ ] Handling inferences like sentences starting with 'hence', 'thus', 'therefore', etc. This leads to only the part including the specific word to be unparsed, the rest of the tree parses correctly.
[ ] Parsing 'There exists' and 'For all' statements. Both of these results in a part that is unparsed.
[ ] Parsing statements which include lines such as 'consider the', i.e. sentences which construct some element. Here the main part is parsed, and the 'consider' part does not parse, similar to sub-issue 1.
[ ] Handling sentences which reference the prover, such as those starting with "We can see that". Here most of the tree is unparsed, however this might be due to the fact that the sentence is not a logical assertion.
[x] A specific instance of verbs being inside the TeX expression usually in 'if' statements, but also sometimes in other places.
[x] Exceptions raised by using the words ‘each’, ‘those’, ‘these’ or ‘both’. This is simply fixed by adding the cases in the corresponding unapply function or by reformatting input sentences. These raise a MatchException at provingground.translation.MathExpr$Determiner$.apply
[ ] Certain issues with adverbs, e.g.  is strictly smaller than  not parsing, but  is smaller than  parsing. This results in one part not parsing which leads to the entire tree not parsing. Upon further investigation, this seems to be a problem only with the word 'strictly' and 'also' not being parsed in the same manner as other adverbs.
[x] Add capability to handle conjunct and disjunct adjectives. Currently results in the adjective not being correctly parsed, the rest of the expression parses well.
[ ] Add support for the specific types of sentences mentioned, i.e. simple declarative sentences, assumptions, assertions, variable type specifications and alternate notation specification. Alternatively this may be achieved through the implementation of blocks.

Does your first point mean we extend the MathExpr language (to allow contexts?)
At present tex expressions are always assigned the part of speech "proper noun". For a|b etc we need a different part of speech (I do not know if a single word type is possible here).
As you may have noticed, many cases are handled by pre-processing, ideally by merging tokens and assigning a correct part-of-speech tag.
As you go along, please give examples and precise errors for the cases; e.g. unparsed, wrongly parsed, or part wrongly parsed so the whole is unparsed.

That is one possibility. I was thinking it would be simpler to just drop the specific words. I think this will be needed in the subsequent step, the conversion from MathExpr to HoTT.
I do not think so either. There are certain simple cases for which a fix is possible, I shall experiment with those. If it does not have any issues I may temporarily add those.
Actually I did not notice much preprocessing. The preprocessing in the TeXParsed class is commented out, and besides that I did not find any preprocessing.
I shall do that. I shall edit the original issue with those.

The language should be extended if and only if the meaning of the sentence cannot be expressed. Otherwise one changes the parsing.
The POS tags are modified in a few cases. I think "such that" is replaced with where. There isn't much preprocessing because there isn't much of anything specific.

In that case I shall work on extending the language for that issue. However for the adverb issue will require an extension to the language.

The substitution was commented out, I shall re-enable it and see the results.

If it was commented out it probably is unnecessary due to a change somewhere, either my code or the Stanford parser.

Added new sub issue regarding conjuncted adjectives.

The sub-issue regarding verbs inside TeX expressions has been solved by replacing the specific TeX expression, for example, $a > b$ with "$a > b$ is true". The correct TeX expression is selected by iterating over all possible swaps and checking which one parses.

Nice. So every LaTeX expression is a noun.
We need rules for adding "is true", but these should be simple to some
extent, and amenable to machine learning
On Mon, 15 Feb 2021 at 10:50, sundararajan-s<EMAIL_ADDRESS>wrote:

The sub-issue regarding verbs inside TeX expressions has been solved by
replacing the specific TeX expression, for example, $a > b$ with "$a > b$
is true". The correct TeX expression is selected by iterating over all
possible swaps and checking which one parses.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/siddhartha-gadgil/ProvingGround/issues/289#issuecomment-778947196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3K3JGURSBEXVX62FW65RDS7CVIXANCNFSM4QMUXKGA
.

For now, I'm doing an exhaustive search, but I do think in the future we could speed it up with some NLP methods.


Bug Report

Describe the bug | Bug描述
A clear and concise description of what the bug is.
菜单栏重新加载当前关卡会崩溃
Steps to reproduce | 如何复现
Steps to reproduce the behavior:

开启编辑器后menu-reload current level

Screenshots/Logs | 截图/日志
If applicable, add screenshots and/or a video to help explain your problem.

Desktop | 桌面环境

OS: Windows
Version: Win10
CPU Intel I7-11700k
GPU NVidia RTX 2060
Memory 32GB
Compiler MSVC2022

you can remove line 34
 rhi->destroyBuffer(m_particle_storage_buffer); in Piccolo\engine\source\runtime\function\render\passes\particle_pass.cpp to solve this, this bufer is not initilized.


Update Broadcast File doesnt work and imposible run software in kali linux

This code was written by me two years ago, and I assume that the webpage structure might have changed.


Update docs, links and content

Coverage remained the same at 49.025% when pulling c334c25134978cb8bb2484b625b6a42c531e9014 on improve-docs into 68c37cdd698ce10eb17bbe4d60508f1725b4191b on master.


ACNA-735: aio app use enhancements

Uses the new generator-aio-console release with ims-org-id, ims-project-id, ims-workspace-id options enhancement
How Has This Been Tested?
npm test
aio app use (user interactive)
aio app use <config_file>
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

tests still pending, hold off

@shazron code lgtm, waiting for tests :)

@purplecabbage can you review?

LGTM !

@meryllblanchet added my review, one more can't hurt 😉


Hi want to convert this to Quasar.js

HI Chetan
This is Prashant here I liked your work I am planning to re build Quasar.js your work, I will forked it, but I think its better ask the developer permission before doing this. I am going to keep it open source. Good work keep it up.

You can convert. Cheers!!


Jpeg file not being inserted in page

Hi there,
I am using pdfkit to create a photo album, one page per photo.
About 70% of the pages are blank, and the photos won't show. This is reproduceable, and alway the same photos are missing. Find photo with issue in attachement.
Here is a sample code of what I am doing (nothing very complex here) :
import PDFDocument = require('pdfkit');

const photosLocation = 'scripts/photos';
const pdfLocation = 'scripts/photos.pdf';

function toPostscriptPoint(mm: number) {
    return mm * 2.8346456693;
}

const document = new PDFDocument({
    autoFirstPage: false,
    size: [toPostscriptPoint(156), toPostscriptPoint(106)],
});

document.pipe(fs.createWriteStream(pdfLocation));

document.addPage();
document.image(
    `${photosLocation}/6421794359420223666.jpeg`,
    toPostscriptPoint(3),
    toPostscriptPoint(3),
    { width: toPostscriptPoint(150), fit: [toPostscriptPoint(150), toPostscriptPoint(100)] });
document.end();

Note that the code is written in Typescript.
The issue happens with both images in portait and landscape format.
Any ideas what can be the issue? Are certain formats of JPEG not supported?
Regards,
Julien

Note that I am sure the file is being found, because all of the images are located in the same folder and some of them do show up. The output of pdfkit shows nothing. No errors.

Remove what I said. I think I understand the issue. It looks like pdfkit does not support rotation with images. I was rotating the document before applying my image; but this will not render any image. I will create a new issue.


excess-3 code converter

Enter calculator name -
excess-3 code converter
Describe calculator functionality -
the excess-3 code is a non-weighted code used to express code used to express decimal numbers.
Under which category you wish to place it -

[x ] Computer Science
[ ] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[ ] Let project owner decide
[ ] Suggest a new category - (Answer here)

kindly assign this issue to me

Hey @munfaridzahera,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\computer_science\excess3CodeConverter
Issue completion deadline - 13th Oct 8:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

This issue was closed under PR #257


Add initial geckodriver /  marionette support

Add iniitial support for using geckodriver with Firefox browser.
(Selenium 2.53 does not work with Firefox 47.)
Add a GeckoCapabilitiesBuilder for geckodriver.
Add client config option for enabling Geckodriverand
specifying Geckodriver path for local runs.
Add marionette support in Grid server.
Also added a test security manager to prevent System.exit()
from some node servelet tests.

:+1:  @sebady please go ahead and merge this to develop, if you are comfortable with it.

I really need to look at this a bit more against the latest marionette support in selenium.