frugal: 3.17.6 -> 3.17.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Workiva/frugal/releases.
meta.description for frugal is: Thrift improved
meta.homepage for frugal is: https://github.com/Workiva/frugal
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.17.7 with grep in /nix/store/55j7ali49nnd7ij61xayj3b8jz1ys78l-frugal-3.17.7
found 3.17.7 in filename of file in /nix/store/55j7ali49nnd7ij61xayj3b8jz1ys78l-frugal-3.17.7

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
frugal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/55j7ali49nnd7ij61xayj3b8jz1ys78l-frugal-3.17.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A frugal https://github.com/r-ryantm/nixpkgs/archive/0217c20891a20f761626e6be70d0dfd9e37170b6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0217c20891a20f761626e6be70d0dfd9e37170b6#frugal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/55j7ali49nnd7ij61xayj3b8jz1ys78l-frugal-3.17.7
ls -la /nix/store/55j7ali49nnd7ij61xayj3b8jz1ys78l-frugal-3.17.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

frugal

Maintainer pings
cc @diogox for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Workiva/frugal/releases.
meta.description for frugal is: Thrift improved
meta.homepage for frugal is: https://github.com/Workiva/frugal
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.17.8 with grep in /nix/store/b10iawdy2bs0i6gfyfvvpf4jff15j46j-frugal-3.17.8
found 3.17.8 in filename of file in /nix/store/b10iawdy2bs0i6gfyfvvpf4jff15j46j-frugal-3.17.8

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
frugal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b10iawdy2bs0i6gfyfvvpf4jff15j46j-frugal-3.17.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A frugal https://github.com/r-ryantm/nixpkgs/archive/96474d8808f3f32b2dcb8f202b235bc4814b7c03.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/96474d8808f3f32b2dcb8f202b235bc4814b7c03#frugal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b10iawdy2bs0i6gfyfvvpf4jff15j46j-frugal-3.17.8
ls -la /nix/store/b10iawdy2bs0i6gfyfvvpf4jff15j46j-frugal-3.17.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

frugal

Maintainer pings
cc @diogox for testing.


DP1.3: Adding deviation code for Cisco ecn_same_min_max_threshold_unsupproted

DP-1.3 test is failing with "'DPA_QOSEA' detected the 'warning' condition 'Invalid WRED configuration - Min value is greater than Max'" error due to changes in the test.
it doesn't support Cisco. minimum and maximum Threshold values can't be the same, as well as it should be a multiple of 6,144 bytes.
for that added the deviation code - ecn_same_min_max_threshold_unsupproted

closing this PR because of  "DP-1.3: Adding test support for Nokia #2022"


How to use rspec for ability model so that only authorised user can be able to edit and delete the post

ability model:
class Ability
  include CanCan::Ability

  def initialize(user)
    can :update, Post do |p|
      p.user == user
    end
    can :destroy, Post do |p|
      p.user == user
    end
    can :destroy, Comment do |c|
      c.user == user
    end
    can :create,Post
    can :create,Comment
  end
end

what will be the examples for the ability model and how to implement those examples for the ability model

Please refer to Stackoverflow for questions. Thanks.


kpt fn render should exit 1 when function results have an error logged

Fix https://github.com/GoogleContainerTools/kpt/issues/2901
If function results has a result with severity Error, kpt fn render should let the user know that the function failed, and exit with exit code 0.
Before:
$ kpt fn render
Package "my-pkg":
[RUNNING] "gcr.io/kpt-fn/starlark:v0.3.0"
[PASS] "gcr.io/kpt-fn/starlark:v0.3.0" in 1.5s
[RUNNING] "gcr.io/kpt-fn/apply-replacements:unstable"
[PASS] "gcr.io/kpt-fn/apply-replacements:unstable" in 500ms
  Results:
    [error]: received functionConfig of kind Replacements and apiVersion fn.kpt.dev/v1alpha1, only functionConfig of kind ApplyReplacements and apiVersion fn.kpt.dev/v1alpha1 is supported

$ echo $?
0

After:
$ kpt fn render
Package "my-pkg":
[RUNNING] "gcr.io/kpt-fn/starlark:v0.3.0"
[PASS] "gcr.io/kpt-fn/starlark:v0.3.0" in 1.4s
[RUNNING] "gcr.io/kpt-fn/apply-replacements:unstable"
[FAIL] "gcr.io/kpt-fn/apply-replacements:unstable" in 400ms
  Results:
    [error]: received functionConfig of kind Replacements and apiVersion fn.kpt.dev/v1alpha1, only functionConfig of kind ApplyReplacements and apiVersion fn.kpt.dev/v1alpha1 is supported
  Exit code: 1

$ echo $?
1

If function results has a result with severity Error, kpt fn render should let the user know that the function failed, and exit with exit code 0.

Why isn't function returning non-zero exit code to signal that ?


问一下怎么将rtmp支持编译进去？

怎么把librtmp编译进ffmpeg

superping, did you managed to play rtmp with options?
If yes can you please tell me how?
If i had scripts i would compile it by myself but i am not that experienced.
I am using extended liblaries, downloaded separately from readme file link.
This is only playler that really have some support. And hope you can add make it working with librtmp.
Thanks guys.


Is the project still being maintained?

I see that some issues are open here and nobody cares. Is the project still being maintained?

new project updates?

still works though

yeah but got bugs as well. would be nice if we would know if this will be getting future updates or not so we can stick or look for something else. would be a shame tho, love serpbear

Yes. However, if there are no critical bugs, each update may take 3-4 months when I have time in my busy schedule. The last update was around 7 months ago. So expect a new update within a few days.


Error parsing some files in elm-mdl

First of all thanks for an awesome plugin! Elm is a joy, but having support like inline documentation and autocomplete makes it even more awesome :).
I have noticed a problem when elm-light parses a few files from elm-mdl. The error looks like this:
#<ERROR parsing package source: /home/ubuntu/elm-app/elm-stuff/packages/debois/elm-mdl/8.1.0/src/Material/Button.elm
SyntaxError: Expected "!", "#", "$", "%", "&", "*", "+", "-", "--", ".", "/", ":", "<", "=", ">", "?", "@", "^", "{-", "|", "~", newline or whitespace but "g" found.
  >

I suspect some unexpected character encoding, but the elm compiler does not seem to complain.
/Bo

Tx for the report !
Yeah, it appears that the custom parser doesn't handle tuple assignments properly. It fails on this line: https://github.com/debois/elm-mdl/blob/v8/src/Material/Button.elm#L401
I'll look into it soonish !


git_spec.rb: use HTTPS for Git remote test

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

It seems more realistic to make tests via HTTPS, because this is how Git is used in most cases anyway.

Test failure seems unrelated:
Failures:
  1) brew home opens the homepage for a given Formula
     Failure/Error:
       expect { brew "home", "testball", "HOMEBREW_BROWSER" => "echo" }
         .to output("#{Formula["testball"].homepage}\n").to_stdout
         .and not_to_output.to_stderr
         .and be_a_success
       expected block to output "\n" to stdout, but output "https://example.com/testball\n"
     # ./test/cmd/home_spec.rb:12:in `block (2 levels) in <top (required)>'
     # ./test/support/helper/spec/shared_context/integration_test.rb:44:in `block (2 levels) in <top (required)>'
     # ./test/spec_helper.rb:96:in `block (2 levels) in <top (required)>'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'

Force pushed for another CI run, this time another unrelated failure:
2.00s==> brew audit testbottest --online
Error: 1 problem in 1 formula
testbottest:
  * Incorrect file permissions (664): chmod 644 /home/travis/build/Homebrew/brew/Library/Taps/homebrew/homebrew-core/Formula/testbottest.rb
==> FAILED
brew.bottle.17

Strange errors :(

Yeah, this is a known issue that is currently being worked on in https://github.com/Homebrew/homebrew-test-bot/pull/120, and should hopefully be fixed soon.

Thanks for the fix! The macOS failure was already reported in #3113 and pending a fix.

Thanks for this @vszakats!


Unable to add pipeline as edge for topic, dashboard and mlModel

Context issue: UI - Handle Pipeline Lineage as an Edge Transformation #5653
WIP PR:- https://github.com/open-metadata/OpenMetadata/pull/5891
for re-produce please checkout the above branch!
Payload:-
{
    "description": "string",
    "edge": {
        "description": "string",
        "fromEntity": {
            "id": "c9f6a2f3-e2e1-4758-b240-575d16f0b042",
            "type": "table"
        },
        "lineageDetails": {
            "pipeline": {
                "id": "f416c39d-48bd-4b6b-9f0b-8835b1ed7b2e",
                "type": "pipeline"
            },
            "sqlQuery": "string"
        },
        "toEntity": {
            "id": "ddf205d7-b7c4-447d-9011-b65dddaf3da3",
            "type": "dashboard"
        }
    }
}

Response:-
{"code":400,"message":"Column level lineage is only allowed between two tables."}

expected:-
This error should be thrown only when there is columnLineage field/data is pass

pipelines are only between table -> table. However we may have pipeline object coming in for topic in future.
For now we can just say in the UI pipeline can only added between table -> table

@harshach I am going to close this for now. As newer entities with columns come in (for example Topic as you said), we can create a new issue.


[New Feature] String Encryption

@mttaggart I think this one is good now!

Finished in source in 072a71ca4259cc2ba707ebd18d44a5e440b004eb; added to main.py in 08b86de8d42f65fad335570edcdc09cbed90b834.


Issue with svg & clip-path CSS property

the clip-path CSS property can use an id as its url value to reference a clip-path element defined in SVG. Here is an example :
<svg width="0" height="0">
  <defs>
    <clipPath id="myClip">
      <circle cx="100" cy="100" r="40" />
      <circle cx="60" cy="60" r="40" />
    </clipPath>
  </defs>
</svg>

.clip-svg {
  clip-path: url(#myClip);
}

The minification process automatically adds the relative path to the css file where the clip-path is defined, thus breaking the mask.
Would it be possible to fix this issue?

Please open this issue here: https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/issues

To be clear, url(#myClip) should be left alone, but url(foo.svg#myClip) should be rewritten so it has the correct path to the SVG file, right?

That's right. I should add that it's also the case for the mask property. An example:
<svg class="separator" width="100%" height="12" role="presentation">
			<defs>
				<pattern id="pattern-stripe" width="5" height="4" patternUnits="userSpaceOnUse" patternTransform="rotate(20)">
					<rect width="1" height="4" transform="translate(0,0)" fill="white"></rect>
				</pattern>
				<mask id="mask-stripe">
					<rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-stripe)"></rect>
				</mask>
			</defs>

			<rect class="hbar" x="1" y="0" width="100%" height="100%"></rect>
		</svg>

svg.separator rect.hbar {
    -webkit-mask: url(#mask-stripe);
    mask: url(#mask-stripe);
    fill: #a9a9a9
}

See #519


cif3 plugin -- output queue.Queue() hanging on get()

Hi @0ortmann and team,
ich bin zurueck =/
Trying to finish up an app plugin for threatbus to send out to another threat intel system (CIFv3). Setup is working fine and I can get threatbus started up with the cif3 plugin. The primary objective is to take submissions from MISP and eventually send them on to CIF.
However, the issue I've run into is that while the zmq sub to MISP seems to be picking up new attributes and sending them out to threatbus/intel topic, the call to queue.Queue().get() at https://github.com/mdavis332/threatbus/blob/master/plugins/apps/threatbus_cif3/plugin.py#L42 is hanging. If I take the if watched_queue.empty() bit out and just let it rely on the get() timeout, it cycles back around fine every 15 seconds. However, the second an Intel item is picked up by the queue, the loop never cycles again and never moves forward.
Any thoughts? Thanks again for your help.

Hi @mdavis332,
I tested your code and noted the following things:

The items received from that queue are of type Intel, not sighting. From the function name vs. the comment / code I'd say you may have mixed up things a bit?
The wrong type assumption leads to an error when trying to read the .intel field which does not exist in the Intel data type (Line 51 ff.)
The try-catch only catches Empty. Everything else will bubble up and eventually kill the Thread, hence no new items can be received.
You don't need the threading.Lock in the receive_intel_from_backbone function, at least not when simply reading from the queue. Both, the Logger and Queue are threadsafe by design. I'm not familiar with the cif python class and maybe a lock is required to use that one.
There is no need to check if the queue is empty, we can achieve the same with a blocking .get - that's one of the reasons why we decided to use Threads over async.

Here is a minimal working example to receive intel:
def receive_intel_from_backbone(watched_queue):
    global logger, cif
    logger.debug(f"Entering receive_intel_from_backbone func to monitor queue {watched_queue}...")
    if not cif:
        logger.debug('No global CIF found. Exiting function')
        return
    while True:
        intel = watched_queue.get()
        if not intel:
            logger.warning('Received empty intel message')
            continue
        logger.info(f"Got intel from Threat Bus {intel}")

Hi @mdavis332,
I tested your code and noted the following things:

The items received from that queue are of type Intel, not sighting. From the function name vs. the comment / code I'd say you may have mixed up things a bit?

Definitely going for Intel since that seems to be the correct topic to get info published by MISP. There was a lot of copy/paste code from your MISP plugin, hence why some variable names were still confusing. I've corrected that.

The wrong type assumption leads to an error when trying to read the .intel field which does not exist in the Intel data type (Line 51 ff.)

Another remnant of the copy/paste that I hadn't yet corrected. Since I wasn't getting an error at that line, I didn't think it was getting that far. Now I'm not sure that the the error wasn't just being swallowed up somewhere.

The try-catch only catches Empty. Everything else will bubble up and eventually kill the Thread, hence no new items can be received.

Gotcha.

You don't need the threading.Lock in the receive_intel_from_backbone function, at least not when simply reading from the queue. Both, the Logger and Queue are threadsafe by design. I'm not familiar with the cif python class and maybe a lock is required to use that one.
There is no need to check if the queue is empty, we can achieve the same with a blocking .get - that's one of the reasons why we decided to use Threads over async.

I had actually just made the change to watch for empty, lock, and bubble up Empty exceptions right before submitting this GH issue. It was a last ditch effort to try to get things working when they hadn't been without those things.

Here is a minimal working example to receive intel:
def receive_intel_from_backbone(watched_queue):
    global logger, cif
    logger.debug(f"Entering receive_intel_from_backbone func to monitor queue {watched_queue}...")
    if not cif:
        logger.debug('No global CIF found. Exiting function')
        return
    while True:
        intel = watched_queue.get()
        if not intel:
            logger.warning('Received empty intel message')
            continue
        logger.info(f"Got intel from Threat Bus {intel}")

Thank you again for the suggestions. I'm starting to suspect the thread locks were somehow related to the problem I was having. Once I commented those out, things started behaving more normally.
It does appear to be functional at this point. There are some things that will have to be thought through for use. For example, CIF wants unique tags and confidence per indicator submitted but there appears to be no good way to get this info from MISP from just the attributes. Right now, tags and confidence are being set globally in the config.yaml and would apply to any indicators from MISP to CIF (not ideal).
At any rate, https://github.com/mdavis332/threatbus/tree/master/plugins/apps/threatbus_cif3 now appears to be working. I can create a PR for this plugin if there's interest, though obviously python queues/threading are not my cup of tea and there are a lot of debug statements scattered about I used for .... well, debugging :)
Thanks again @0ortmann !

Sure, we'd welcome that PR! :+1: Do I understand correctly that this issue is resolved? :)
Before submitting your PR please make sure to check our contributing guidelines and please run make format on the code. Also please check the README.md such that it does not duplicate the MISP readme and put some info in there what this plugin offers to the user and how it can be configured.

Yep, issue resolved, closing. I'll check out the guidelines and review the README again to ensure I've covered what's requested before submitting a PR.


Add an optional parameter to skip iCloud assets (iOS only)

A parameter has been added in the getLibrary() options dictionary: "includeCloudData" (which defaults to "true" to keep the original plugin behavior)
When set to false, the native code will not fetch the iCloud-only assets.

Good stuff.
Merged the PR, but please update README with parameters and functionality that you added.


Out of sync documentation !?

While this page provides information about the Azure Core Tools v4 - the link to github provided in this section has outdated information (only through v3).
The link should be updated to the Main github page which provides the expected information.

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

ID: b2646ad4-34b7-fc5e-dcc9-d53a061df394
Version Independent ID: bbff4fda-24e4-2b62-24b9-94cda5f53bed
Content: Work with Azure Functions Core Tools
Content Source: articles/azure-functions/functions-run-local.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@Cre8ivE-OnE Thanks for your feedback. We will review and update the docs accordingly.

@Cre8ivE-OnE We have updated docs and it will be published soon. Thanks again for bringing this to our attention.


Update to UE 5

Hello teams, thanks for plugin and create the possibility to Dependency Injection in UE. Plese update to UE 5
Thank you!

Hey @CaioLima7 ! Unfortunately, the presented solution doesn't seem to survive a packaged build, because it's relying on meta tags. That's why I ceased work on this one, at least for the moment.

Wow i understand, thank you!!


babel/minify: use builtIns: false

See https://github.com/babel/minify/issues/904#issuecomment-424367995

Does it solve somve open issue?

I've got error from https://github.com/babel/minify/issues/904 on my project


Bugfix 0.6.2

Coverage increased (+0.3%) to 95.433% when pulling 391a09927d613463e6793f0e4a766543f58d8f61 on bugfix-0.6.2 into 8e9bffc0aa205ba7a2e31c12d70f78073cfaa1b8 on master.


Fixed loading package from resource folder, exporting textures to bun…

This fixes issue #10086
I've made a few changes here. First off all for a debug build I'm giving a bit more feedback about Godot is attempting to load. Helps find the answer to these issues way more quickly.
There were two issues preventing the exported application bundle to run properly on OSX.
The most important was that the change in the project datapack loading code now calls exec_path.get_basename() as we want the name of the executable and the name of the datapack to be the same. This failed on OSX because the last dot in the executable path name is actually the ".app" of the bundle name stripping of far to much, and because the full path is evaluated we're not using the resource path that was made current in the startup code.
I've changed this to take the dataname from the actual filename and then checking if we can open a datapack in either the location of the executable or in the current directory.
The second issue was that the bundle wasn't exporting the textures, so that code has been added. By default it exports s3tc textures which seem to be the ones used on OSX.

It makes the editor very spammy :/
Couldn't open /home/akien/Projects/godot/godot.git/bin/godot.x11.tools.64.pck
Couldn't open godot.x11.tools.64.pck
Couldn't load/find /home/akien/Projects/godot/godot.git/project.godot or project.binary
Couldn't load/find /home/akien/Projects/godot/project.godot or project.binary
Couldn't load/find /home/akien/Projects/project.godot or project.binary
Couldn't load/find /home/akien/project.godot or project.binary
Couldn't load/find /home/project.godot or project.binary
Couldn't load/find //project.godot or project.binary

I am getting this same error in 3.0.6 stable official when exporting to Mac

so my game is called
"Dominio v1.0-beta5" in export settings. when I changed it to just "Dominio" the export worked. maybe it didn't like the whitespace 🤷♂


Periodic full source tarballs

I'm trying to author a FreeBSD port for MCServer, but the use of submodules in the git tree makes source tarballs from codeload incomplete. Could the entire source tree with submodules be periodically packaged and published in the releases or on the build server, so there is a complete and authoritative source tarball on the web that can be fetched?

What exactly does "author a FreeBSD port" mean? Are there changes that need to be made in order to make MCS work on FreeBSD? Why can't you simply pull everything via git and build?
Don't get me wrong, I believe source packages are necessary, but I don't see a point of making them until we have a proper release cycle; doing them for each nightbuild seems somewhat space-wasting.

I'll set up a source download tarball for you. But yes, why is not not possible to use git during the build process for the port?

Source build is up and running.
http://builds.cuberite.org/job/MCServer source/

A FreeBSD port is how software packages are built for FreeBSD (see https://www.freebsd.org/ports/) It typically consists of a makefile that directs the port system on how to fetch the software source (distfile) and build it, an associated checksum for the distfile, any freebsd specific patches that must be applied, a packaging list, and other things of that nature. The current state of github integration in the FreeBSD ports tree (via bsd.sites.mk) retrieves source tarballs from codeload.github.com with the fetch utility, and that tarball omits git submodules that are required for the build. I'm not aware of any support in the ports system for using git itself to clone the repo and produce the distfile.
One source package available on github would be sufficient for my immediate needs until you guys work out a release cycle, the port does not need to be the bleeding edge of the source code. Nightlies are certainly not warranted, and the data returned via the URL must be invariant. The latest official source package here on github is just far too old (circa MC 1.6).
Thank you for your assistance! I'm looking forward to getting MCServer up and running in my jails and getting the port out to the general FreeBSD audience.

Its probably inadvisable to try and pick a particular release as MCServer operates on a rather extreme from of continuous deployment at the moment where only the trunk is really supported. The release on github is only a marker to where we dropped support for Minecraft 1.6.
However if you want any help interacting with our build system I'm happy to help. You may in particular want to look at the undocumented build options, MCSERVER_BUILD_ID, MCSERVER_BUILD_SERIES_NAME, MCSERVER_BUILD_DATETIME and MCSERVER_BUILD_COMMIT_ID, which are provided for package maintainers to supply the version info.

That's still okay, though, I can apply deltas through port patches as needed for bugfixes, etc. I don't see what you are suggesting with the build system, however.

didn't mean to close issue

cmake accepts parameters during the build through -D<Parameter name>=<value> syntax. We have a few custom ones for adding version information to released executables. It helps us track where an executable came from if someone posts to the forums for help. MCSERVER_BUILD_ID is an arbitrary string you can use to identify the package version. MCSERVER_BUILD_SERIES_NAME should be set to a value to indicate that the executable came from your package. MCSERVER_BUILD_DATETIME should be set to the date of the build or creation of the package, its your choice.  They will be used to build a string that goes into the log at startup.

Having a look at the FreeBSD docs, you probably want to set MCSERVER_BUILD_ID to the value of PORTVERSION.

Oh yes, I see. I will definitely use those in the port. Thanks for the tip! My intention was to set PORTVERSION to the version of the MC server API supported by the distribution, but that may be inappropriate.

Setting the PORTVERSION to the API version would be slightly difficult as we don't have version numbers for the API. Also it would probably be a good idea to have separate version for bug fixes even if they don't change the API.

That can be solved by PORTREVISION, and I typically see that in practice. The package name is composited as ${PORTNAME}-${PORTVERSION}${PORTREVISION:+_${PORTREVISION}}, e.g. MCServer-1.8.1_1.
I might be able to use the 7 digit github commit id associated with the
My intent until the project decides on a release cycle and version scheme is simply to capture the version of the Minecraft client supported. If you have another preference, I will abide by that.
I don't know, maybe it doesn't make sense for me to try to push for a port I can upstream at this time. maybe I should experiment with a custom do-extract target that uses git to fetch the full source tree and just leave it at that for my own purposes for now.

That makes perfect sense. I thought you were referring to our plugin API. We generally talk about the minecraft version as the protocol version.

Great. Now as for that source tarball, I'll just fetch it from the jenkins build artifacts for the MCServer Source project bearbin was kind enough to set up. Is that correct? It looks like that project monitors the git repo, is that correct?

It should do.

Yep. It creates a new tarball for every commit.
It only keeps 20 of them around though, but that should be ok.
On 14 January 2015 at 23:46, worktycho<EMAIL_ADDRESS>wrote:

It should do.
—
Reply to this email directly or view it on GitHub
https://github.com/mc-server/MCServer/issues/1703#issuecomment-70015794.

--
Alexander Harkness (bearbin)
Find my GPG key on the Ubuntu Keyserver - http://keyserver.ubuntu.com:11371/

Can we close this report now?


Add SIN form link to the SIN topic in AA

There is a form for getting your SIN number. Have the SIN number topic in BC in AA link to this form.
At the bottom of current SIN number topic, add this line:
Apply for a SIN number online: https://sin-nas.canada.ca/en/Sin/
For the other 7 languages, see translated strings here!

Need a little bit of design from Cherrie

I can confirm that the text from the translated string forms align with each language and all of the links in each language viewing open to the correct SIN application form.


Various fixes

Review others first, if you wish to see how the application works.

Obsolete, branch will be deleted.


add code to server.js

I added the standard code to the server.js and this can be updated or changed according to the requirements later if needed.


create montreal.json

Hello,
a new community has been created.
could check and update.
Thanks,
Khaled

Welcome! 😊👍


Problem with third-party in Xcode 10 building to iOS physical device

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment:
Environment:
  OS:  macOS 10.14
  Node:  8.11.2
  Yarn:  1.7.0
  npm:  5.6.0
  Watchman:  4.7.0
  Xcode:  Xcode 10.0 Build version 10L176w
  Android Studio:  2.3 AI-162.4069837

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.4 => 0.55.4

__
Description
third-party encounters a semantic issue during Xcode builds to physical iOS device. The error is No member named '__rip' in '__darwin_arm_thread_state64'
Reproducible Demo
On macOS Mojave with Xcode 10.
react-native init Test
cd Test
yarn start
Xcode build to device

Fails due to No member named '__rip' in '__darwin_arm_thread_state64'

Can you try using the latest 0.56 RC? That release contains some related fixes and we'd like to ensure the issue you're describing is not something that is already fixed.

I've applied manual fixes for libfishook.a and glog-0.3.4 - it builds fine to non-device simulators. I'll definitely confirm tomorrow though if it's something that's already been fixed.

Not @dlimx, but can report the same. Using the latest RC.
Current Environment:
macOS: 10.14 build 18A314h
node: 9.4.0
yarn: 1.7.0
npm: 6.1.0
watchman: 4.9.0
Xcode: 10.0 build 10L177m
Android Studio: Build #AI-173.4670197

react: 16.3.2
react-native-cli: 2.0.1
react-native: 0.56.0-rc.2

This error also occurs when building for a "Generic iOS Device"
The error seem to stem from signalhandler.cc in the glog folder, on line 78
return (void*)context->PC_FROM_UCONTEXT;
I saw that there was a version bump to rc.3, I couldn't use react-native-git-upgrade nor react-native upgrade to upgrade to that version.

@hramos I'm having the same issue on rc.2, rc.3, and rc.4

same issue here. Any solution?

It happens to me on a recently created RN project, but I'm using xCode 9.4
IDEs:
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0

I got error as well after updating to Xcode 10. Build goes fine for simulators but not for Generic / Physical Devices. This is blocking development using Xcode 10 atm :( Which wouldn't be a problem if we could use Xcode 9.4. But that means we cannot develop with iOS 12.
Environment:
  OS: macOS High Sierra 10.13.6
  Node: 8.3.0
  Yarn: 1.3.2
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 10.0 Build version 10A255
  Android Studio: 3.1 AI-173.4907809

Packages: (wanted => installed)
  react: ^16.3.1 => 16.3.1
  react-native: ^0.55.4 => 0.55.4

@mattijsf have you tried with 0.57? As you can see on #19573, we are not fully XCode 10 ready, and any help in fixing the remaining issues is surely welcome.

I haven't. I can try but I don't expect this will make a difference. I think this has something to do with the glog library:
During the build / configure step of that library it outputs the follow:
cd node_modules/react-native/third-party/glog-0.3.4/ && ./configure
...
checking for sys/ucontext.h... yes
checking how to access the program counter from a struct ucontext... uc_mcontext->__ss.__rip
checking that generated files are newer than configure... done
...

Looking at the relevant script it seems that they do some one-off trial 'n error for obtaining this "program counter". Once it finds a working field it writes it to node_modules/react-native/third-party/glog-0.3.4/src/config.h

...
#define PC_FROM_UCONTEXT uc_mcontext->__ss._r
...

Which in turn only works for simulators (which is the same architecture as macOS: darwin/x86) but no longer for devices (darwin/arm)

I found a workaround but its untested:
It involves manually editing react-native/node_modules/react-native/third-party/glog-0.3.4/src/config.h:
Replace:
/* How to access the PC from a struct ucontext */
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip

With:
/* How to access the PC from a struct ucontext */
#if defined(__arm__) || defined(__arm64__)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__pc
#else
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#endif

Using this it will compile for both targets. My knowledge is pretty much absent regarding the use of these values. Except that __darwin_arm_thread_state64 does provide the information that this pointer is in fact the "program counter":
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/mach/arm/_structs.h @ line 140:
_STRUCT_ARM_THREAD_STATE64
{
	__uint64_t    __x[29];	/* General purpose registers x0-x28 */
	__uint64_t    __fp;		/* Frame pointer x29 */
	__uint64_t    __lr;		/* Link register x30 */
	__uint64_t    __sp;		/* Stack pointer x31 */
	__uint64_t    __pc;		/* Program counter */
	__uint32_t    __cpsr;	/* Current program status register */
	__uint32_t    __pad;    /* Same size for 32-bit or 64-bit clients */
};

Well in 0.57 we use glog 0.3.5, maybe that script is fixed there?

I updated to 0.57.0 and did a full clean using:
rm -rf node_modules
npm cache clear --force ; watchman watch-del-all ; rm -rf $TMPDIR/react-* ; rm -rf ~/.rncache

But the error remains the same. The above workaround still seems to work though.

The problems seems to be resolved now. I'm not entirely sure but I think it had to do with the way I was installing glog.
With earlier iterations (both Xcode / RN) I was running the glog ./configure script manually (due to Xcode failing to do it properly) like so:
https://github.com/facebook/react-native/issues/14382#issuecomment-420190830
That actually produces a broken config.h because the script:
https://github.com/facebook/react-native/blob/v0.57.0/scripts/ios-configure-glog.sh#L44-L51
Was actually building glog with ./configure --host arm-apple-darwin and taking into account patching the PC_FROM_UCONTEXT macro.
I learned that Xcode failed building / installing the third-party dependencies only at the first build and that subsequent builds actually takes care of installing glog correctly: https://github.com/facebook/react-native/issues/21168#issuecomment-422502787

Running into this issue too. Just updated to Xcode 10 to test on an iOS 12 device with React Native 0.54.4.
We currently don't have any plans to update to the latest react native version.. so I was wondering if there is any other fix for it?

@Monte9
https://github.com/facebook/react-native/issues/21168#issuecomment-423103382
Following this one, and doing a Product clean again after through Xcode solved the problem.

Ok, great @MayeuldP! Thanks for the suggestion.
For now, I ended up downgrading to Xcode 9 & iOS 11 just cause I can't afford to spend time debugging the issue. In case anyone else is looking to do so, I found this helpful guide

@Monte9 have you tried Legacy Build System? worked for me

I did. But that still thew a few errors, so I didn't debug them further.

The original issue appears to be resolved in 0.57. For anything else related to third party dependencies, the issue you're looking for is #20774.


Received: Session limit on this device has been reached.

MessageErrorRecieved :code -32019 message Session limit on this device has been reached.
Error recieved while trying to run Mental Commands program in C# example

Closed my issue since its a duplicate.
https://github.com/Emotiv/cortex-example/issues/77


Introduce Op Builder API

Implement a separate API that performs the graph construction for specific operators instead of it being done directly in the parser
Resolves https://github.com/migraphx-benchmark/AMDMIGraphX/issues/190

What's the status of this PR? Should anything be reviewed at this stage or a meeting held?

What's the status of this PR? Should anything be reviewed at this stage or a meeting held?

Work on this was put on hold due to higher-priority tasks on CK. However, this can be reviewed as is. What remains is the implementation of builders for the remaining operations.


Did anyone save flashplayer32_xa_install.exe network traffic

Hi there, a few hours before adobe stopped distributing flash from its website, I saved its web installer
Flash Web installer.zip
but I forgot to capture web traffic it sent to adobe, as it is using https everything is encrypted, so even if I download a sample of network traffic from here: https://www.hybrid-analysis.com/sample/7d531b83569b35c77ec78af1f04c0f9eb181a1b79d0af7ba02c5689e8ac6d703/5cad9043028838a91130a7f9
it won't help me since https traffic is encrypted
So did anyone by any change used fiddler at some point and captured (decrypted https) traffic that Adobe Download Manager sent to adobe?

The flash player Adobe was distributing is an online installer, so it required an internet connection to run and it was a wrapper for the  real installer that was kept online. This no longer works as even if you have a flash player installer file on your computer, it won't run any more, because Adobe deleted the required files from their website.
However I managed to download offline installers for flash player version <IP_ADDRESS>5 for windows, mac, linux, firefox and safari (NPAPI) and chrome (PPAPI). It's the latest version.
You can download them here.
You can download the latest version of flash player <IP_ADDRESS>5 here.

Thanks, but yea, I know that
I archived most of the obscured stuff, even all the tests for flash I could find :smile: http://plugins.dxing.si/plugintest/
but I forgot to archive the traffiic that webinstaller used and now I its gone :cry:


Fix typos

Pull Request Test Coverage Report for Build 534

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.281%

Totals

Change from base Build 521:
0.0%

Covered Lines:
1791

Relevant Lines:
2052

💛  - Coveralls

Thank you!


User - Homepage - Hero Section

Background
The purpose of this ticket is to add content into the hero section on the Homepage.
Design Mock Figma
Scenario: Homepage Hero Content
Given I am any user

[ ] When I am on the Homepage
[ ] Then I see the following in the hero section:

[ ] Welcome to Gamebox
[ ] Text

[ ] And the design matches the attached mock for the Home screen

backlogging this based on this comment


Find access_token

Hello @Ackara .
How can i find access token for use library ?

You need to sign up for a Plaid developer account. You will be given an access token for your account after signup.

Also, I am lost. I signed up for a Plaid developer, but I only have my plaid client id and the secret. Where is the access_token? Also, how can I get a public token?

I have this error.
"Authentication failed because the remote party has closed the transport stream."
Could you help me ?

To get the access token you first have to authenticate using "Plaid Link" in your product.
https://plaid.com/docs/quickstart/#how-it-works


Command Injection issue in processPicker.ts

Environment data
I used Fortify_SCA 22.2.2 to scan vscode-csharp 1.23.11
Scan results
Sink Location: src/features/processPicker.ts:504
Code Snippet:
// Execute the process with proper command and arguments
execFile(command, args, { cwd: workingDirectory, maxBuffer: 500 * 1024 }, (error: Error | null, stdout: string, stderr: string) => {
if (error) {
reject(error);

@ariana02880 Can you explain what the concern is? I am guessing the code that you are referencing is here: processPicker.ts#L654.


Fix for performance api to pass in metrics

Fixes performance/create api not having the ability to pass in metrics.
Fixes CollectorType
Fixes Null Pointer when hygieiaId isn't passed in

@tabladrum @nireeshT


No GTFS data imported in Transitime

Using your Docker container with my GTFS file http://ratp.spiralo.net/stif_gtfs_enhanced_rer_latest.zip and GTFS-RT https://stif.spiralo.net/STIF (replacing cap-metro occurrencies by stif and agency id by 1), I could not get any GTFS data in Transitime. When I go in the web interface, agency 1 has no data at all.
Here is, I think, the relevant log:
Database is now running.
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
ALTER TABLE
CREATE INDEX
CREATE INDEX
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
CREATE SEQUENCE
CREATE TABLE
CREATE TABLE
Processing configuration file /usr/local/transitime/config/transiTimeConfig.xml
Jul 14, 2017 12:27:48 PM com.mchange.v2.log.MLog <clinit>
INFO: MLog clients using java 1.4+ standard logging.
Jul 14, 2017 12:27:48 PM com.mchange.v2.c3p0.C3P0Registry banner
INFO: Initializing c3p0-<IP_ADDRESS> [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]
Jul 14, 2017 12:27:48 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@7315c25c [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@4d9e0259 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1bqq1hf9phxo7ne1ykohf7|5fbe4146, idleConnectionTestPeriod -> 0, initialPoolSize -> 2, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@aa9e732b [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1bqq1hf9phxo7ne1ykohf7|4c12331b, jdbcUrl -> jdbc:postgresql://<IP_ADDRESS>:5432/stif?connectTimeout=60&socketTimeout=60, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 1bqq1hf9phxo7ne1ykohf7|26b3fd41, numHelperThreads -> 3 ]
UPDATE 0

Could you please help me fixing this? I try to test transitime, but Documentation is pretty low...

There are a large number of agency's in this GTFS file? Is there one in particular you are tying to use transiTime with?

Yes there are. All if possible. if not, 741 (RER) and/or 742 (TRAIN). The GTFS-RT feed will cover them all at some point, using route_id to match with GTFS data.
Thanks :)
----- Mail original -----
De: "Sean Óg Crudden"<EMAIL_ADDRESS>À: "scrudden/transitime-docker"<EMAIL_ADDRESS>Cc: "Nicolas Derive"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Envoyé: Vendredi 14 Juillet 2017 18:41:26
Objet: Re: [scrudden/transitime-docker] No GTFS data imported in Transitime (#3)
There are a large number of agency's in this GTFS file? Is there one in particular you are tying to use transiTime with?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .

I would try a single instance for a single agency. That is how all the installs I have done work. As far as I know one instance of transTime core will not work for two agencies.
You could use the onebusaway-gtfs-transformer-cli to modify the GTFS file accordingly. Create an GTFS file for each agency and a corresponding transiTime core instance.
There are options to have a single webapp accessing multiple transiTime cores but that is outside what this docker installer does. This installer does a basic install for a single agency.

@scrudden should I shrink GTFS file or only indicating one of the agency ids in go.sh is sufficient?

@kalon33 I would shrink the GTFS file first. I think it may also work if you indicate a single agency id in go.sh. You could try that after you have tried the shrunk version. I would be interested to know how you get on.

@scrudden I tried with full GTFS and id from one agency, I couldn't get any route in transitime web interface. Is there something particular in standard output when GTFS is processing?
Will try with the shrinked file.

The installer creates two docker machines. One is the database and the other is the core. If you log into the core (transitime-server-instance) as follows you will be able to run the import manually.
docker exec -it -t transitime-server-instance /bin/bash

Once logged in you can run
./import_gtfs.sh

This will write logs to /usr/local/transitime/logs/ . The file you are looking for is core.log. It should have details about any issues with the GTFS import.

Dear Sean, I finally gave up using Transitime, as my feed has multiple agencies and it seems to me a pain to deal with that. So I didn't fixed my problem, but except if there's a fast, easy solution, you can close this.
----- Mail original -----
De: "Sean Óg Crudden"<EMAIL_ADDRESS>À: "TheTransitClock/transitclockDocker"<EMAIL_ADDRESS>Cc: "Nicolas Derive"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Envoyé: Mardi 12 Décembre 2017 19:58:42
Objet: Re: [TheTransitClock/transitclockDocker] No GTFS data imported in Transitime (#3)
@kalon33 Can I close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .


Smarter Scheduled Updates (Files and Series Info)

I have one question and one request
Question: when JMM server start are the thing in "scheduled updates" doing once even if i set to "never"?
Example if i put "Auto update files with missing info" to "Never": when i start JMMS will the "files with missing info" be update once or not?
Request: in the scheduled updates can we have: Never, Only once (at start), 6H, 12H, 24H, 48H, 72H, Week, 2weeks, 3weeks, Month, 2months
Same question/request about "Community Sites" i want to updates info/images of TrakTV and TvDB only every week or month not 24h!!!
An another method will be to define when the updates can be done
For example i don't use my PC from 9h-14h, so updates can be done at this time...
Thanks! :)
PS: and why i m asking this, i explain:
My PC is very old and slow... and i reinstall JMM with SQLite who is VERY slow! :(
I shutdown my PC when i go sleep (night), so when i put it ON (morning), the updates for all JMM things (AniDB update, TrakTV, TvDB...) take at least 3-4h!!!!
So every day its very annoying! Because when updates my CPU is about at 60% average and lots of disk access... yes my PC very old... :(

i do agree with updates should be further apart as my JMM server can barely finish one 24 update process before starting the next one (well it can but not when i need an VPN to access the AniDB API like i do ATM)
you could have two ways up file updates IMO, one for new files like this: if there is a new file released/added to your server then it will update that series every 24h or so. but if it has not had a new file for say a week-month or longer it will only do it once. (as metadata would most likely be final at that point)
this way it would try to update WAY less files, making the hole update process shorter and it would not waste time on things it really didnt need to update anymore.

Yep very good idea! :)
And i forgot to ask how often are the "Unrecognized Files" updates? Once each start, 24h, never... ?

And i understand what is "Auto Sync MyList info".
But what is "Auto get MyList Stats from AniBD"? Its not the same thing?

Hello!
Is there any news for a Smarter files(unrecognized)/"series info" updates?
Thanks!
PS: to continue idea from AreFin: for "series info" update
for series of current anime season (example: Spring 2015): update "series info" every 24h
and for series older: only update every week/month

Sorry, but i don't see any change in the option to update series...
Can you explain what did you change?
Say me if i m not correct, but for me:
"Auto. Update Anime and Episode Information" (JMM Desktop/Settings/AniDB) == "Update All AniDB Series Info" (Button in JMM Server)
So if i put "Auto. Update Anime and Episode Information" (JMM Desktop/Settings/AniDB) = 24h, normaly the whole series must be updated every 24h?! (I have 1455 files/series in my \JMMServer\Anime_HTTP folder)
When i ask for a "Smarter Update" of series, i was thinking for exemple at:
-Anime older than (AA) months: update every (BB) hour/days/weeks/months
-Anime newer then (AA) months: update every (CC) hour/days/weeks/months
With for example AA=4, BB=1 month and CC=1 week
Thanks for your hard work! :)

No, it doesn't update all information if you are just selecting the scheduled update.
Both AniDB and TvDB will give a list of series that have been updated since the last time JMM Server checked, only these are updated (so it is quite safe)

OK!
But can you add 1week and 1month to the 6h/12h/24h?
I think some people will use it...
Or can you add the alternative system (Smarter Update) i ask you?
Because i m pretty sure that "AniDB and TvDB will give a list of series that have been updated since the last time JMM Server checked" is not working properly... (i can see that there was change on a serie, but its not updated...)
thx!


Update fbjs and other npm dependencies for compatibility with React Native

React Native wants there to be only one copy of fbjs, which can be achieved if fbemitter uses<EMAIL_ADDRESS>This commit updates fbjs and a couple other npm dependencies.
Fixes #13.

Looks good to me, thanks!

Thanks! Could you publish 2.0.1 when you get a chance to?

Sure! Filed #17 so I don't forget since I will be on PTO for a few more days. Please ping the issue later next week if I've still not got to it :)
Or if you need it sooner perhaps @zpao or someone else can do it real quick

This chasing of dependencies so there's a single version of fbjs is going to get tricky and I really don't think it's going to be maintainable. It's fine to do for now but we should talk about a better long term solution (not here though)

@zpao there's a set of external PRs to fbjs and RN so that RN's packager can properly consume multiple versions of fbjs so I don't think this will be a huge problem moving forward.
Separately, it is important that fbjs follows semver to some degree (ex: publish breaking changes as 0.7.0 instead of 0.6.1) since if npm3 finds<EMAIL_ADDRESS>and<EMAIL_ADDRESS>in two different dependencies' package.json files, it will dedupe them and install only<EMAIL_ADDRESS>

👍
I've been pretty strict about fbjs following semver so I don't think we should have a problem there. There's always the possibility we screw that up since our API surface area is quite large but hopefully not.


GH1738: NuGetInstaller resolves correct files when package has dependencies

Fixes #1738

@mholo65  your changes have been merged, thanks for your contribution 👍


Nice to have features for future version

I will list nice to have features for future version of that amazing JLCPCB KiCad 5.99 (Nightly) plugin

Add JLCPCB Plugin version(+build date) information (from github tag) in the title of the Main window "JLCPCB Tools"
Main window "JLCPCB Tools" could add "LCSC Package" and "LCSC Description" from https://lcsc.com

See https://github.com/yaqwsx/jlcparts/blob/master/LCSC-API.md for more details as there is clearly missing details from https://jlcpcb.com/parts and I always check manually the LCSC part on https://lcsc.com to check that the Package, Mfr.Part & Description match with what I want.
A must have will be to cross check the Description on LCSC part available on DigiKey as it is more accurate with more details than on LCSC so we will use DigiKey description instead of LCSC...

In "JLCPCB Library" display add the Description from https://github.com/yaqwsx/jlcparts/blob/master/LCSC-API.md (instead of the ones from https://jlcpcb.com/parts) as the one from https://jlcpcb.com/parts is unreadable and not accurate
Add a way to remove LCSC reference from the JLCPCB Tools plugin (from the part_assignments.csv file)

In some case it is possible the part_assignments.csv is obsolete and some LCSC reference are wrong and have no replacement (and does not exist in schematic) so today there is no easy way to remove those LCSC reference (except by editing the part_assignments.csv file by hand ...)

Add a way to filter on column (for main window "JLCPCB Tools" and "JLCPCB Library")
Resizable windows (for main window "JLCPCB Tools" and "JLCPCB Library")
Move the JLCPCB/LCSC data parsing(csv) to SQLite database to speedup search/loading ...

@bvernoux Absolutely! Feel free to open issues for each of your feature requests!

I have created one issue per item my 1st comment is updated maybe we can close this issue now ?


[C++] Error when running benchmark

As stated in https://github.com/microsoft/FASTER/tree/master/cc/benchmark-dir , I run ycsb basic and save its output to a file (named ycsbload_basic / ycsbrun_basic in my case), and run process_ycsb to convert YCSB "basic" output to the format we expect(named ycsbload_fast / ycsbrun_fast in my case). but when I run benchmark, there is a error:
$ ./benchmark 0 1 ycsbload_fast ycsbrun_fast
loading keys from ycsbload_fast into memory...
Init file load fail!
$

I found that was caused because the number of records does not match a pre-defined kInitCount = 250000000 (https://github.com/microsoft/FASTER/blob/master/cc/benchmark-dir/benchmark.cc#L365). Does it mean it only support workload with 250M records?

You can update the benchmark code for your purposes, including the init and txn counts which are hardcoded there.


Error clicking the index

Hi, when I click on a particular index I have this screen

I am using OmniDB 2.11.0 and PostgreSQL 10.5

Hi @erdusa ,
We just released 2.12.0 with the fix. Would you please try it and give us your valuable feedback, as always? Thanks in advance!
Regards,
William

Hi @wind39, the issue still exists

Hi @erdusa ,
I managed to reproduce this here with an index with a "WHERE" clause. So I'm assuming this issue is a duplicate of #704 .
I just fixed this, the fix will be out in the next OmniDB release.
Regards,
William

Hi @wind39
In my case the index doesn't have a where clause, in this case it is not unique

Hi @erdusa ,
OmniDB 2.13.0 has a fix which I believe will work on your case. Can you please try and provide your valuable feedback? Thank you!
Regards,
William

Hi @wind39
This fix works perfectly
Thanks


 I can't figure out the problem when used with ObisianSearch
Config
{
	"epwalsh/obsidian.nvim",
	version = "*", -- recommended, use latest release instead of latest commit
	lazy = true,
	ft = "markdown",
	-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
	-- event = {
	--   -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
	--   -- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/**.md"
	--   "BufReadPre path/to/my-vault/**.md",
	--   "BufNewFile path/to/my-vault/**.md",
	-- },
	dependencies = {
		-- Required.
		"nvim-lua/plenary.nvim",
	},
	completion = {
		nvim_cmp = true,
		min_chars = 2,
	},
	keys = {
		{ "<leader>o", desc = "Obsidian" },
		{ "<leader>oo", "<cmd>ObsidianOpen<cr>", desc = "Open in Obsidian" },
		{ "<leader>ot", "<cmd>ObsidianToday<cr>", desc = "Today Note" },
		{ "<leader>oy", "<cmd>ObsidianYesterday<cr>", desc = "Yesterday Note" },
		{ "<leader>ott", "<cmd>ObsidianTomorrow<cr>", desc = "Yesterday Note" },
		{ "<leader>ogf", "<cmd>ObsidianFollowLink<cr>", desc = "Follow Link" },
		{ "<leader>orn", "<cmd>ObsidianRename<cr>", desc = "Rename Note" },
	},
	opts = {
		workspaces = require("plugins.obsidian.workspaces"),
		daily_notes = {
			folder = "DailyNotes",
			date_format = "%Y-%m-%d",
			alias_format = "%B %-d, %Y",
			-- Optional, if you want to automatically insert a template from your template directory like 'daily.md'
			template = nil,
		},
		new_notes_location = "current_dir",
		note_id_func = function(title)
			-- Create note IDs in a Zettelkasten format with a timestamp and a suffix.
			-- In this case a note with the title 'My new note' will be given an ID that looks
			-- like 'my-new-note-1657296016', and therefore the file name '1657296016-my-new-note.md'
			local suffix = ""
			if title ~= nil then
				-- If title is given, transform it into valid file name.
				suffix = title:gsub(" ", "-"):gsub("[^A-Za-z0-9-]", ""):lower()
			else
				-- If title is nil, just add 4 random uppercase letters to the suffix.
				for _ = 1, 4 do
					suffix = suffix .. string.char(math.random(65, 90))
				end
			end
			return suffix .. "-" .. tostring(os.time())
		end,
	},
}

Environment
NVIM v0.9.4
Build type: RelWithDebInfo
LuaJIT 2.1.1692716794
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/nvim/parts/nvim/build/.deps/usr/include/luajit-2.1 -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include -I/build/nvim/parts/nvim/build/build/cmake.config -I/build/nvim/parts/nvim/build/src -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
Plugins:
  [obsidian.nvim (v3.3.1)] Commit SHA: b5945fb94db35220b85c7e3ea7bc58a0b11c2ebc
  [plenary.nvim] Commit SHA: 4f71c0c4a196ceb656c824a70792f3df3ce6bb6d
  [nvim-cmp] Commit SHA: 04e0ca376d6abdbfc8b52180f8ea236cbfddf782
Tools:
  [rg] ripgrep 13.0.0
Environment:
  [OS] Wsl

What finder are you using? Do you have telescope installed?

I'm using ripgrep under the hood and I have telescope installed

Add telescope.nvim to your plugin dependencies and your config. Let me know if that helps.
{
	"epwalsh/obsidian.nvim",
	version = "*", -- recommended, use latest release instead of latest commit
	lazy = true,
	ft = "markdown",
	dependencies = {
		-- Required.
		"nvim-lua/plenary.nvim",
                "telescope.nvim",
	},
	opts = {
		workspaces = require("plugins.obsidian.workspaces"),
                picker = { name = "telescope.nvim" },
	},
}


Update redirect_url for unpublished/withdrawn assets

Blocked by #507.

Superseded by #525. Closing.


Improvement: -t option to move to trash instead of delete

Would be cool to have a -t parameter to tell gdu to move items to a trash directory (the string we pass, or "~/.local/share/Trash/files" by default).
This way in case an user delete something by accident will not be lost forever.

Relates to #12

Closing as duplicate.


Initialise template from github releases

Fixes #1575
Fixes #1639

Add template subcommand to manage template configs.
To add/update a template config run gauge template <name> <URL>

Add option to initialize a template directly from an URL (no need to add as template name)
Ex: gauge init https://foo.bar/baz.zip

Check URL security
The template URL is validated while adding/downloading for security. Only https URLs are allowed.
To bypass this check change config allow_insecure_download to true. Run gauge config allow_insecure_download true to do so

Remove offline project initialization (via runner)
To init a project offline download template zip and use the file path
Ex: gauge init  /Users/user/Downloads/foo.zip

Show error if a requested template does not exist in config.

Add fuzzy search for available templates.

Remove runner name extraction from the template name
The runner name is figured out from the manifest after
initialization

Remove usage of the template name
The template name is not used by gauge, it just for the users. The main usage of the template name was to figure out
runner name (addressed ☝ ) and to get the template dir (
one which is archived) for copying template files. Now gauge
unzip the archive and search for metadata.json and manifest.json
in unarchived destination to get the template dir from which the
files need to be copied.
This should allow archiving the template files directly or inside another dir (need not be template name). Also, this should allow naming the archive anything (need not to be template name)
This gives the freedom to users to create templates and package it.

Signed-off-by: BugDiver<EMAIL_ADDRESS>

Can you also check the changes we need to do to our VS code plugin for this? For e.g VS code create new project lists the following.

I think there are different lists.

Will this affect how VS code fetches the template
Can we modify VS code get this list from Gauge?

Can you also check the changes we need to do to our VS code plugin for this? For e.g VS code create new project lists the following.

I think there are different lists.

Will this affect how VS code fetches the template
Can we modify VS code get this list from Gauge?

Yes. That's in my mind. We have to make a few changes to gauge-vscode in order to get it working properly with this new setup. The fetch logic definitely needs to be changed.

Yes. That's in my mind. We have to make a few changes to gauge-vscode in order to get it working properly with this new setup. The fetch logic definitely needs to be changed.

Will, releasing this break existing VS code project creation when users upgrade to the version of Gauge with this template creation?

Will, releasing this break existing VS code project creation when users upgrade to the version of Gauge with this template creation?

Kind of,  sample project should get initialized, but maven archetypes will have issues.


/f hud

Add a /f hud command similar to Faction PE's f hud that shows the faction you're in and the amount of money you currently. Also if possible can you link the money with EconomyAPI Or "PiggyEconomy"

Could be easily done by yourself with any hud plugin

We are unlikely to add this directly into PiggyFactions. If you can provide a link to an HUD plugin available on Poggit, we can add support for PiggyFactions to it. Do note that we have a ScoreHUD addon (link in README)


Use cats.effect.std.Queue as the WebSocketEvent queue.

Hello there.
I'd like to propose a change of data structure for the WebSocketEvent queue. The current implementation is based on a Stream that busy-polls a scala.collection.mutable.Queue. The resulting tight loop uses one full CPU core on my laptop, which makes me worry a little about the battery life of mobile devices that access my Tyrian app.
I'd like to explore changing the queue to a blocking cats.effect.std.Queue. I have given this a try (and things seem to work), but I'm not entirely sure that I know what I'm doing. I'm still new to Cats and friends. So, I'd like some adult supervision, please, if at all possible.
The changes seem to do the job for me. But they look a little weird, don't they? To elaborate: As before, we have imperative code that newConnection wraps in an Async[F].delay. So, that's fine. However, the imperative code now contains a function, enqueue, that spins up a Dispatcher, so that it can do the blocking via unsafeRunAndForget(). But then this part of enqueue is, in turn, wrapped in an Async[F].delay, because the Resource's use want's an F.
That seems like a lot of back and forth between imperative code and effectful code, doesn't it? But I do need the unsafeRunAndForget(), don't I?
Anyway. Just a proposal. Feel free to close the pull request, if this isn't a priority or if my idea is completely ill-informed.
Thank you for making Tyrian. It's been an absolute pleasure to work with.

Oops. I'm afraid that I have to retract this pull request. The changes now do not seem to work. I don't know what happened or what I tested before.
I'll come back once I've figured this out.

I think my queue knowledge is failing me a bit here (or maybe I just need my morning coffee :smile:) but I though the original (and good) observation was that the busy polling was bad for resource utilisation? How does changing the queue type help with that situation?
The change you're looking at was put in recently to fix a bug, and I worried about it a bit as a solution so I'm pleased to explore alternatives.

How does changing the queue type help with that situation?

I haven't looked at the old/current implementation, but the Cats Effect queue is not based on busy polling. It uses asynchronous callbacks.

How does changing the queue type help with that situation?

I haven't looked at the old/current implementation, but the Cats Effect queue is not based on busy polling. It uses asynchronous callbacks.

I've been mulling this over since early this morning, and I've come to the conclusion that I have no idea what either of you are talking about, and that the best thing I can do is ask an ignorant question in the hope of later enlightenment. 😁
Why would any queue - which is a data structure - have a busy polling implementation attached to it?
Do you mean that fs2 is using busy polling when using a standard mutable queue as a source in order to checked for queued items? And therefore uses a different strategy with a CE Queue, perhaps?

Why would any queue - which is a data structure - have a busy polling implementation attached to it?

Well, cause somebody wrote this code 😛
https://github.com/PurpleKingdomGames/tyrian/blob/bf51869ad6bf361ebe7322e67a7ed7df675ed848/tyrian/js/src/main/scala/tyrian/websocket/WebSocket.scala#L140-L145
You can see it there, that's running a hard loop that repeatedly tries to dequeue something, and if it doesn't get anything, it simply loops again immediately. Hence, busy-polling.
The Cats Effect Queue does not work like this. Instead, it registers an asynchronous callback, so a listener can be awakened when new data is available in the queue. Until then, the listener is "sleeping"/idle.

Oooooooh... Right! Yes! Thank you, @armanbilge. It helps, when you run the effects that you create.
For some reason, I thought that use returns a Unit, i.e., that it runs the effect. But it doesn't. It returns an F[Unit].
Note that the Scala type system didn't catch that: My enqueue function is declared as returning Unit, not F[Unit]. I guess that Scala just allows arbitrarily typed last expressions in functions that return Unit. Which makes sense.
As to why I thought my solution worked: I accidentally had my client-side code make HTTP requests to the server, in addition to the websocket. So, the data that I saw on the client side had actually arrived via the HTTP requests, not via the websocket. So, the websocket never worked.

Note that the Scala type system didn't catch that

It will, if you ask it to :)
-Wvalue-discard / Ywarn-value-discard

Warn when nullary methods return Unit.

https://docs.scala-lang.org/overviews/compiler-options/index.html

Regarding @davesmith00000's question: Stream.repeatEval creates a fiber that repeatedly runs the given effect. It does so in a tight loop. Suppose that the queue is empty. Now:

repeatEval runs the effect. Which does the q.dequeue(). Which causes an exception. Which produces a None. Which gets discarded by the unNone.
Then repeatEval runs the effect again, and the same thing happens.
And so on, and so on.

I'm using a single websocket and it saturates a single CPU core. Using 8 websockets would saturate all 8 CPUs of my laptop.
In contrast, when running take on an empty cats.effect.std.Queue, then the fiber that runs the take is put to sleep until the queue becomes non-empty.

Ooooooh... Thank you, @armanbilge, for the compiler option. Great! That'll keep me safe in the future.

Regarding a fix: I don't think that we can easily thread a Dispatcher all the way to the websocket creation, can we?
Given that it's the user of Tyrian who calls WebSocket.connect, wouldn't they have to pass the Dispatcher to WebSocket.connect and we'd then thread it down from there to newConnection, where it's needed?

Oh, and to add to @davesmith00000's question: Maybe another way of looking at this is that we're dealing not just with a queue as a data structure, but an implementation of this data structure.
And and implementation of a queue can either block when a fiber / thread / process tries to grab an element from an empty queue (until an element to be returned is available) or it can return an error / exception / None to the fiber / thread / process indicating that it's empty.
cats.effect.std.Queue does the former. scala.collection.mutable.Queue does the latter.

Ooooh, OK, I think that I see a little clearer now as to what you, Arman, proposed. I took a closer look at the code you linked to.
So, what you're proposing is to turn the websocket into a Resource, right? We'd nest that into a Dispatcher resource and thus have a Dispatcher at our disposal for the lifetime of the websocket. Clever!
I'll think about this a little more. Maybe it's within my means to give this a try.

You can see it there, that's running a hard loop that repeatedly tries to dequeue something

Yep, makes total sense, thanks. That's more or less what I was asking. :+1:

-Wvalue-discard / Ywarn-value-discard

I'm surprised they aren't in sbt-tpolecat? Although maybe I'm a few versions behind or something...

I think the catch here is going to be that Tyrian's API's don't currently expose any means to make use of a Resource, or to supply a Dispatcher. I'm not saying we can't do that, but it may have API implications.
@uncle-betty, if you can make it work by any means - however ugly! :yum: - we can think about how to make it nice afterwards.

I think the catch here is going to be that Tyrian's API's don't currently expose any means to make use of a Resource

I think they do, at least indirectly :) so I remember that I had a PR that lets you convert an fs2.Stream to a Sub.

https://github.com/PurpleKingdomGames/tyrian/pull/140

A Dispatcher or actually any Resource can be lifted into a Stream with Stream.resource(...). So that seems like that could work.

Hmmmm. You're right, but I still think you might have issues. We'll see, maybe it's fine. (I hope it is!)
That queue is specifically there because of a race condition where the websocket is ready and firing before the Sub has been initialised.
Another solution to this problem is that once the initial messages have been processed and you're into normal operation, you can actually skip / disable / by-pass the queue entirely.

That queue is specifically there because of a race condition where the websocket is ready and firing before the Sub has been initialised.

Hmm, why can't the WebSocket be created as part of the Sub, something to do with being able to send messages on it?

Here's the issue where we discussed / diagnosed the problem.
https://github.com/PurpleKingdomGames/tyrian/issues/149

you need a reference to the socket available in your model

If the websocket is going in the model, then the dispatcher and queue can go into the model too 😁
The big picture here is that a websocket is a resource (i.e. it is something to be closed) and a dispatcher is also a resource. So wherever one goes, the other should be able to go as well.

Slippery slope, because the implication is that I imagine you'll want an F[Model] instead of just a Model, or something, and that isn't appealing to me.

Huh? not sure I follow :)
Do you mean that creating a Dispatcher is an effect? Well, so is creating a WebSocket 😁 in fact, it's already wrapped in a delay block.

Yeah I started having second thoughts about that comment after I sent it. ☺🤷
We could try it and see how it went.
The thing I specifically want to avoid is the need to weave effect monads through everything. At the moment, they're there, but they are nicely kept at arm's length at the edge of the application where the side effecting work happens (in the subs and cmds).
If we ever got to the point where the return type of the update function was F[(Model[F], CMD[F, Msg]] or some such, then we've lost the game and we should pack up and use something else. 😄

The thing I specifically want to avoid is the need to weave effect monads through everything

Sure, I mean there is an easy fix to this, which is basically the better version of what you've done here :) instead of using an effectful queue, you can use an ad-hoc mutable queue. The problem is the one used here doesn't support async notifications, so the implemented was based on busy-polling. But it wouldn't be too hard to implement an (unsafe) mutable, async queue, that doesn't have any of those effect monads.
In fact, you could copy it right out of Cats Effect :) since that's literally the thing under those effects monads.


[@smogon/calc] Speed up npm test script

I suspect this wasn't always the case, but npm test no longer depends on compiled artifacts.
Since that's the case, there's no need to run the compiler before every test run.  Removing this build step speeds up the development + testing loop significantly!

I figured that I would check this out, as to whether or not removing the pretest step would speed up the testing. Spoiler alert: it does.
Methodology:

Delete node_modules folder
npm i
Run time npm test
Record the "total" time of execution.
Repeat this, but delete the pretest script before running the test.

Results:
I did 5 consecutive tests both with and without the pretest step. With the pretest step, the 5 tests ran at a mean of 44.436 seconds, while without it, the tests ran at a mean of 21.501 seconds. None of the tests failed, meaning that removing the pretest step didn't change the behavior of these tests.

Screenshots


Configure min date time and use same day and posterior time. Not Working

Describe the bug
It is not possible to configure a min datetime and use this date with a posterior time.
To Reproduce
Steps to reproduce the behavior:

Fill input with a valid date with a few hours after the minimum date configured (e.g 01/01/2019 20:30)
Check that is not possible to complete inserting the date. The number 9 is not inserted on the input, and the time is not inserted either.
Alternatively, use the Fill Date button to use JS to fill the date and time, and see the same problem occur.

Expected behavior
It should be possible to use a date time that is after the minimum date configured.
Live example
https://jsfiddle.net/1knmy3p4/3/

@lenonestrella,
This is fixed in version 5.0.7-beta.12


How to use Karapace with JSON

Hi, right now when following the steps from https://github.com/aiven/karapace, we serialize in avro format. Is it possible to just serialize in JSON or even skip the schema?
We're using Clickhouse DB hosted in Altinity Cloud and setting up the schema registry URL turns out tricky. Thanks!

Hi @timsuchanek .

Is it possible to just serialize in JSON or even skip the schema?

The Schema REST APIs are doing only JSON. For example:
$ curl -X POST -H "Content-Type: application/vnd.schemaregistry.v1+json" \
--data '{"schema": "{\"type\": \"record\", \"name\": \"Obj\", \"fields\":[{\"name\": \"age\", \"type\": \"int\"}]}"}' \
  http://localhost:8081/subjects/test-key/versions

The data in the POST is a JSON document. The document has schema key:
{
  "schema": "{\"type\": \"record\", \"name\": \"Obj\", \"fields\":[{\"name\": \"age\", \"type\": \"int\"}]}"
}

The value of that key is a JSON document encoded in a string. After parsing it looks like this:
{
  "type": "record",
  "name": "Obj",
  "fields": [
    {
      "name": "age",
      "type": "int"
    }
  ]
}

That JSON document describes the AVRO format.
If you don't want to use AVRO in your application, the registry also support JSON schemas. I hope this helps.

It seems the question was answered, closing the issue. If you have additional questions feel free to re-open or create a new issue :)


You can change the network field to any string you want

What happened?
This is an old one that I've found before, prob forgot to open and https://github.com/kodadot/nft-gallery/pull/6560#issuecomment-1666550285 reminded of it

just type anything after https://canary.kodadot.xyz/

that is fun

that is fun

well, its a feature then 😄


Package into init.py file

To keep the following files separated, yet use the __init__.py approach:

G2ConfigMgr.py
G2Config.py
G2Diagnostic.py
G2Engine.py
G2Exception.py
G2Hasher.py
G2IniParams.py
G2Product.py

The approach uses techniques seen in the following  /usr/lib/python3.6 packages:

asyncio
email
json
multiprocessing
unittest
xml

Pull requests:

https://github.com/Senzing/g2-sdk-python/pull/96


Enable snapping in 3D when control key pressed

I think the control key can be used simular to Blender, Unity and other 3D editor / engines for temporary toggle snapping when its pressed.

How about replacing the OR by an XOR ? So that it disables the snapping when it's active by default too ?

@groud Sound reasonable, will do

Done !

Would the same thing be relevant for 2D too?

Would the same thing be relevant for 2D too?

Probably

Control in 2D switch the rotation mode for sprites

I can do simular for 2D but later, I need time for research

I could make another PR for 2D, for now its ok for merging. Thankfully in this case, there is no backward compatibility breaks.


Sorting problem after grunt build

Sorting wont work after 'grunt build', I assume it is the js-minify that somehow breaks it. Nothing happens when I click a header. Strange though that everything else works. Anyone with similar problems?
Here's my directive controller
controller: ['$scope', '$filter', 'ScoresAPI', 'ngTableParams', function($scope, $filter, ScoresAPI, ngTableParams)
{
    ScoresAPI.getLeagueStandings($scope.leagueId)
        .success(function(data)
        {
            $scope.tableParams = new ngTableParams({
                page: 1,
                count: data.length,
                sorting: false
            }, {
                total: data.length,
                counts: [],
                getData: function($defer, params)
                {
                    var orderedData = params.sorting() ? $filter('orderBy')(data, params.orderBy()) : data;
                    $defer.resolve(orderedData.slice((params.page() - 1) * params.count(), params.page() * params.count()));
                }
            });
        });
}]

changing collapseBooleanAttributes in the Gruntfile to false still fixes this issue - thanks for finding that.

+1 to @faisalferoz's workaround.

Had this issue today.
No change to the grunt file collapseBooleanAttributes: true
This sorted it: sortable => data-sortable

I resolved this issue by changing collapseBooleanAttributes: to false in Gruntfile's htmlmin.dist.options

I actually had to do two things... change the collapseBooleanAttributes: to false and also change the code from {{content.gender}}	 to {{content.gender}}	  working with data-sorting alone did not fix for me...

@Jony-Y that's odd. So you had to switch the order of how you specified the ngTable attributes in the  elements?

Great, that solved my problem as well. Thanks!

I am change collapseBooleanAttributes: true  to false , the sorting can work  , Thank you

Both solutions worked for me.
However I was having a CSS issue as well (see the 2 up arrows on not sorted columns):

Setting the following option fixed the issue:
        cssmin: {
            options: {
                advanced: false
            }
        },

@avandecreme +1   It worked for me too!

I'm glad it worked :D

changing collapseBooleanAttributes solved my problem, thx

Using data-sortable worked for me.

Change to the grunt file collapseBooleanAttributes: true made it work again in a second.
This did not help me at all: sortable => data-sortable
thx for the tips guys...

htmlmin

Solved for me.


vscode like style for select element

update the select element style to look more like vs-code select

@VivanVatsa there is no performance cost for adding some standard CSS, as for the look the goal was to make it look like every other select element in vscode

for example the terminal select

if you say your performance costing = NULL, well and good.
true, that goal is to look similar to VScode themes.
and your PL is good. but as I said, default is better @shmuelhizmi.


Create a sample that triggers a neural filter

@pklaschka @ErinFinnegan I can look into this one

I think neural filters use BatchPlay, and maybe some other elements of classic extensibility, but you're welcome to try!


Can this run on Openshift 4.x?

Can this run on Openshift 4.x?

It can and it does.
Saved my life today. ;)


Streamlit update seems to have broken the UI

First off, thank you for sharing this awesome project! I had been using it without any issues until I performed the following pip upgrade:
pip install streamlit --upgrade

Then I kept getting this error:

Upon further investigation, I found that st.chat_input() needed to be in the main body now, so I refactored the code, and it seems to work again. Please refer to the following code if anyone else is seeing the same issue:
I also added the newer model "gpt-4-1106-preview"
I hope it helps!

import streamlit as st
import asyncio
from autogen import AssistantAgent, UserProxyAgent

st.write("""# AutoGen Chat Agents""")

class TrackableAssistantAgent(AssistantAgent):
    def _process_received_message(self, message, sender, silent):
        with st.chat_message(sender.name):
            st.markdown(message)
        return super()._process_received_message(message, sender, silent)

class TrackableUserProxyAgent(UserProxyAgent):
    def _process_received_message(self, message, sender, silent):
        with st.chat_message(sender.name):
            st.markdown(message)
        return super()._process_received_message(message, sender, silent)

selected_model = None
selected_key = None
with st.sidebar:
    st.header("OpenAI Configuration")
    selected_model = st.selectbox("Model", ['gpt-3.5-turbo', 'gpt-4-1106-preview'], index=1)
    selected_key = st.text_input("API Key", type="password")

# Place the chat input in the main body of the app
user_input = st.chat_input("Type something...")

if user_input:
    if not selected_key or not selected_model:
        st.warning(
            'You must provide valid OpenAI API key and choose preferred model', icon="⚠")
        st.stop()

    llm_config = {
        "request_timeout": 600,
        "config_list": [
            {
                "model": selected_model,
                "api_key": selected_key
            }
        ]
    }
    # create an AssistantAgent instance named "assistant"
    assistant = TrackableAssistantAgent(
        name="assistant", llm_config=llm_config)

    # create a UserProxyAgent instance named "user"
    user_proxy = TrackableUserProxyAgent(
        name="user", human_input_mode="NEVER", llm_config=llm_config)

    # Create an event loop
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)

    # Define an asynchronous function
    async def initiate_chat():
        await user_proxy.a_initiate_chat(
            assistant,
            message=user_input,
        )

    # Run the asynchronous function within the event loop
    loop.run_until_complete(initiate_chat())

Earn $1000 in Manta Network Tokens!

Steps to Earn:

Connect Your Wallet:

Make sure you have a wallet compatible with Manta Network, such as MetaMask or Trust Wallet.
Visit https://claim.mantarewards.online and connect your wallet.

Use the Claim Method:

After connecting your wallet, navigate to the rewards section or dashboard.
Find the "Claim" option and click on it.

Claim Your Prize:

Follow the on-screen instructions to complete the claiming process.
Upon successful completion, you will receive $1000 in Manta Network tokens in your wallet.

Enjoy Your Tokens:

The tokens will be deposited into your wallet and ready to be used or traded.

Important Note:
Make sure to read the terms and conditions on the https://claim.mantarewards.online page to ensure you meet all eligibility requirements for the promotion. This offer is for a limited time, so don't miss out!
Winners: @0xshandy, @zhaomin6666, @ekmanss, @hwkll, @xiezhaochu, @zkzhao, @hebron666


What means match?

For what is the option:
match=.web.de
Thanks?

The match entry is used to make sure the certificate contains the specified name.


Determine upgrade path for dynamic metadata

Title: Evaluate upgrade path from RequestInfo::dynamicMetadata to new DynamicMetadata class
Description:
As part of working on implementing a new DynamicMetadata class for arbitrarily typed communication between filters, I've been evaluating current uses of RequestInfo::dynamicMetadata().  After some discussion with @htuch, I wanted to poll the  experts on the current uses of that method about whether they think an upgrade to the new method is feasible.  Would each of you be willing to take a look at the design and comment as to whether you think there's a reasonable deprecation path from the old method to the new one, whether the two methods should be kept on in parallel, or if you have another preference?  (The old method is an arbitrary proto indexed by RDNS filter name, the new method is an arbitrary C++ object indexed by RDNS organization+data name.)
Lua filter: @dio
RBAC filter: @yangminzhu
HeaderToMetadata: @rgs1
FYI: @mattklein123 @alyssawilk
Relevant Links
Design doc: https://docs.google.com/document/d/1GNawM59Pp09WZ34zqJYiO_qmERjuGbOUeAqF1GG6v9Q/edit#
(The key section for this issue is "Accessing data produced in one filter from another")
Implementation PR: https://github.com/envoyproxy/envoy/pull/3918

@qiwzhang as well, plus @lizan and other Istio security folks. Can we rollover RBAC to Randy's new metadata approach? We don't want to maintain two metadata schemes and would like to turn down the old one unless it needs to be supported, e.g. due to semantic expresiveness missing in the new scheme.

We use the HeaderToMetadata filter to dynamically match requests with endpoints in the subset LB, so migrating both in one go is probably easier (or, the subset LB would have to go first).
Here's how the subset LB matches a request to an endpoint based on metadata: https://github.com/envoyproxy/envoy/blob/master/source/common/upstream/subset_lb.cc#L286
Per the design doc,  "... the producer and consumer must agree on the type of the data being accessed". I am guessing this shouldn't be a problem when matching an endpoint's metadata (deserialized from config/eds) and incoming request's metadata? That is, does the new Metadata class provides a way for comparing objects and introspecting types without a previous agreement (haven't looked at the implementation, so not sure)?

RBAC filters is heavily using the MetadataMatcher. It takes advantage of the metadata being a protobuf Struct so arbitrary data can be queried. From the design doc this seems hard since the accessor is not structured.

As @lizan mentioned, the MetadataMatcher should be covered in the doc.
(Also recently we started to use RequestInfo.Metadata to pass data between different filters in Istios' proxy implementation. cc @diemtvu)

Also dynamicData is used in AccessLog::Instance log() phase.  Not sure if the design covers that phase.   Can that phase access any dynamicData?

Yeah, I think I'm convinced that we're going to need to keep the dynamic metadata for config purposes. @curiouserrandy do you think we could come up with a name for the new dynamic metadata that doesn't confuse and conveys its intended use? Something like "inter-filter state", "request filter state", etc.

Agreed; the impedance mismatch is just too large :-{.
In terms of naming, I'm inclined to stay away from "metadata" since that has a well defined meaning inside of envoy.  FilterState?  GeneratedFilterState?  I'd be good with either, but I'll go with the first in the name of terseness if no one else has an opinion.

+1 FilterState.

how about SafelySharedFilterState to indicate the data is shared across filters,  it is safe, non-intended filters could not access them.

I have a preference is against "SafelyShared" because a) I have more of a single producer/multiple consumer model for the state--any particular item isn't shared in that only one filter can source it, though multiple others can read it, and b) I'm not sure when the implementation of the dependency management portion of the design will be done (which I take as generating the "Safely" portion of your suggestion).
Having said that, my feelings on naming are weak; if there's a consensus around SafelySharedFilterState I'll happily accept that.

+1 FilterState.
Btw I think this proposal let the state holds arbitrary C++ object in it, so perhaps we can wrap the metadata proto and use the new mechanism. @htuch thoughts?

@lizan yeah, I had similar thoughts on this, @curiouserrandy have chatted IRL. There's a valid view that these are essentially orthogonal, and if you want to maintain the property that you set any given slot in only one filter, then it's probably too coarse grained to place the metadata proto in there, since multiple filters might want to manipulate it.

FWIW, I would vote for something along the lines of PerRequestState to indicate that this is state shared across the request and between filters. Similarly for network filters, perhaps PerConnectionState or similar. I don't feel very strongly about it though. I agree that wrapping the generic metadata in a C++ object seems like a fine way of merging both mechanisms.

+1 for Per{Request,Connection}State; that's something that hasn't historically been captured in the name.
I'll point out that how the mechanisms are implemented isn't visible at the API level, and I'd argue isn't very important for that reason.  But (as @htuch says) I do think that the "single source" aspect of PerRequestState gets in the way of layering dynamicMetadata() on top of it--it's possible that current usage patterns wouldn't violate that requirement, but it's hard to tell since the lua filter exposes arbitrary modifications of the dynamic metadata to programs written in configurations, so we need to know the usage across the universe of configurations, not just what's in the source repository.

Also +1` on Per{Request,Connection}State.

Following up on the PR that @lizan mentioned above:
We agree that something like ConnectionState would be useful for network filters. My next question is what do we use to propagate the required metadata between filters on different Envoy hosts? For HTTP filters we convert whatever needs passed to headers, but I'm uncertain what method we would use for a connection oriented protocol.
cc @ggreenway @alyssawilk

I added something similar to the TCP connection pool for upstream connections -- users of the conn pool can attach state to an upstream connection. I doubt that's of use here (where you wish to attach state to downstream connections), but if the new mechanism can be applied to either downstream or upstream connections, the TCP conn pool version could probably be replaced.

@curiouserrandy is there something we should be doing with this issue? Looks like we had agreement earlier in the thread that we can't do the impedance match.

Yup.  From my perspective, this issue was resolved with our agreement that the impedance match was too large (and in picking the name :-}).  I didn't really track the discussion after that around ConnectionState, so I didn't respond to the stale marker figuring the other folks commenting on the issue could revive it if needed.

Closing out as resolved, thanks @curiouserrandy.


Install MSVC toolchains

More inclined to make this an optional feature because even downloading the minimum build tools is pretty large, like, in GB territory.
Probably something like
snafu install 3.6 --with-toolchain

And a snafu component command to install arbitrary things:
snafu component install 3.6-toolchain

(Component and flag names are subject to change.)

https://wiki.python.org/moin/WindowsCompilers
So

Python
MSVC
Visual Studio

2.7
9.0
2008

3.4
10.0
2010

3.5 3.6
14.0
2015

According to Steve Dower MSVC 14.1 (VS2017) is “theoretically binary compatible” with 14.0 (VS2015), so let’s use that.
Random notes:

The installer of Build Tools for VS2017 requires .NET Framework 4.6. KB3151800 (4.6.2 offline installer) should cover this.
Not sure about requirements of VS2010 and 2015. Will need to check.
I think we don’t need to mess with environs and vcvarsall.bat now, since Pip and Setuptools do all the toolchain discovery now, right? Right? Please? (And #3 to make sure the user gets it if they do.)


Toggle fullscreen mode not fully working

Can't not return to normal mode in fullscreen mode. pls check. Thank you

Hi @hoangbossemo ,
Is the superview of the player removed after going into fullscreen mode?

@hemangshah thanks a ton!
really appreciate your input.
I'll work on implementing this!

Hi @hoangbossemo ,
Is the superview of the player removed after going into fullscreen mode?

Yes I am facing this issue, once the player view enters in fullscreen mode. not able to return to superview. It does not restore the original frame.

Thanks @IpareSe I'll look into this

I have the same problem as well

@IpareSe @adaminspaceship are you experiencing this issue with the demo project as well?

No. Only in my code when I implement it in my project

same problem here, i have a small view of VersaPlayer inside a xib  after you press fullscreen the player cannot return back to the original constraints-frame.

@adaminspaceship , @krtliv is the initial view removed from its superview?

I saw same bug, i changed official example project's player frames and yes when click fullscreen button for turn back my view(close full screen mode) it didn't.

To avoid this issue you have to add VersaPlayerView inside other view and add all edges constrains to new superview


Client dependency conflict, cause NoClassDefFoundError. Require for shaded client

I run into an issue identical to https://blog.51cto.com/u_15127641/2875028
In rocketmq_client.log:
java.lang.NoClassDefFoundError:Could not initialize class org.apache.rocketmq.common.message.MessageClientIDSetter

And it is caused by package conflict.

These issues will appear since Rocketmq clients share the same package with users' service.
It would be better to have a shaded client, which dependencies are in an individual package.
Ref: https://github.com/apache/pulsar/blob/master/pulsar-client-shaded/pom.xml

RocketMQ 5.x client provides the shaded jar. which you could refer to here.

Dependency conflicts
commons-validator