[HELP] Voxel colours or textures.

How can I apply a colour or texture to each type of voxel?

Please see examples/uv_mapping

I attempted to run it but I didn't know what it does because this error kept coming up:
bevy_asset::asset_server: encountered an error while loading an asset: Error reading image file uv_checker.png: failed to load an image: Format error decoding Png: invalid signature, this is an error in `bevy_render`.

It opened just a grey window.

I have gotten something like the uv mapping example working, but I'm still not sure how to set the uvs based on the individual voxels. What do you recommend?

There is a method for extracting UVs from a single quad.
https://docs.rs/block-mesh/0.1.0/block_mesh/struct.OrientedBlockFace.html#method.tex_coords

Ok, I'm trying to understand that, but I just can't.
Eg. I want a top of a voxel on (0, 0, 0) to have a texture 'grass.png'. How do I do that?


Predict a test image?

Dear stefanknegt,
I am very happy to see your pytorch implementation of Probabilistic Unet. I am using it for a large-scale research, and later will cite your work in.
May I ask, I have been successfully training the model. But in the validation step, I don't see any script about it. For simplicity, may I ask how can we predict a single image? (is it the output of reconstruct() ? )
Please help me. Thanks so much for your support.
Kind regards,
Kha.

Hello! I also have been using this model for a while now and wanted to thank @stefanknegt for PyTorch implementation.
I think that it must look like this:
for step, (patch, mask, _) in enumerate(test_loader):
patch = patch.to(device)
mask = mask.to(device)
mask = torch.unsqueeze(mask,1)
net.forward(patch, mask, training=False)
predicted_image=net.sample(testing = True)
and after this, you may want to have a binary representation(which is made simply using >0.5 when converted to numpy array)


Is possible to loop two steps in karate feature file

Hi Team,
I would like to loop two steps in karate feature file is that possible
Ex -
Given URL .....
When method get
Then status 200
And print ----
And print response
And match response == 'pass'
I would like to loop last two steps till my JSON array end
my json looks
{
"validate"[
"message"----
"results"
}
"message"----
"results"
{
.
.
.
]
}

please ask questions like this on stack overflow. also search the readme: https://github.com/intuit/karate#loops

Sure, Can I ask about functionality about karate, like I would like to continue scenario execution even if any step failed

@chandrashekar-dev stack overflow. and no you can't

Hi thomas,
Can you please provide your inputs,
stackoverflow question - https://stackoverflow.com/questions/58333759/karate-scenario-outline-create-a-dynamic-example-table-based-on-json-array-ind
Thanks in advance.


Blueprint Policy Apply and Documentation

Description
This branch has a stripped down version of the blueprint cli applications within the policy directory.   This is a very basic application for a user to manually use.  Instructions are included on how to create templates, and apply templates, as well as how to find structure files to replicate if a user chooses to manually create a blueprint template and parameters.
This has the most basic implementation, can be easily expanded out later to more advanced applications if needed.
Issue reference
The issue this PR will close: #[issue number] #130 #131
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[X] Code compiles or validates correctly
[X] BASH scripts have been validated using shellcheck
[X] All tests pass (manual and automated)
[X] The documentation is updated to cover any new or changed features
[X] Markdown files have been linted using the recommended linter. (See .vscode/extensions.json.)
[X] Relevant issues are linked to this PR

Closing pull request,  blueprints will live in their own branch for the time being.


remove OpenSSL from deployment - since Openssl has been removed from the codebase now

This came up during the PR for removing OpenSSL was being discussed. Also was an action item from our Retro to ensure we do not forget to remove this from deployments.
Related issue #494

I was under the impression #494 was already doing this 🤔 there are no other references (in the repo) to openssl after with exception to the Cargo.lock


Better interactivity in low-memory situations on Linux desktop

Hi! There is one problem when using ninja on the desktop: when compiling large projects in low memory conditions with active swapping, the desktop may completely freeze.
Fedora Workstation guys discuss ways to improve desktop interactivity in low-memory situations.
It seems that there is already an option to increase interactivity:
  -l N     do not start new jobs if the load average is greater than N

I suggest also using options based on the use of PSI in addition to the -l option. PSI is a new metrics that appeared in Linux 4.20.
About PSI:

https://lwn.net/Articles/759658/
https://lwn.net/Articles/759781/
https://lwn.net/Articles/783520/
https://facebookmicrosites.github.io/psi/
https://www.kernel.org/doc/html/latest/accounting/psi.html
https://unixism.net/2019/08/linux-pressure-stall-information-psi-by-example/

PSI metrics allow accurate estimation of io and memory pressure. My suggestion is to add new CLI options:
  --psi-mem N   do not start new jobs if PSI memory pressure some_avg10 is greater than N
  --psi-io N    do not start new jobs if PSI io pressure some_avg10 is greater than N

I would like to run a ninja with the options --psi-mem 20 and --psi-io 40 so that with low-memory conditions the minimum responsiveness of the desktop is maintained.
This should not be difficult to implement: the necessary numbers can be taken from the files /proc/pressure/memory and /proc/pressure/io.

I have noticed this RAM issue on multi-core embedded systems.  A popular example is the 1GB Raspberry Pi 4, it's easy to overwhelm the RAM.

One common example of this being an issue is building CMake using Ninja--the later parts of the build easily overwhelm a 16 GB RAM PC. I have worked around the issue of overwhelmed RAM on my own projects by setting up Ninja job pools in CMakeLists.txt, but this is a manual, iterative, perhaps last-resort approach. I am glad that job pools exist because the whole build would be slowed drastically otherwise.

I think I have a different situation.
I have 8GB of physical RAM. Around 1,5 GB are used by Ubuntu 20 x86_64 (the kernel, drivers and the userspace). The rest is available for my needs.
I do have around 3GB of swap mounted to an external SSD drive.
While not all swap is used - I am receiving "out of memory" error and immediate exit of Clang.
I am planning to track down memory allocator appetites.
It could be interesting to run some of Ninja's sub-tasks in different order, if those do not depend on each other. That could allow to identify specific source files, in C++, which require too much RAM to compile.

Yes I think the situation you're describing is more severe in that errors are occurring--I get similar errors as well sometimes. This is also an issue when using GNU make -j instead of Ninja. I suppose unity builds could exacerbate this as well.
A question might be is this memory management for compilers in the scope of Ninja, or in the scope of the meta-build system (such as MSVC or CMake) driving Ninja. That is how I workaround these issues manually for bigger projects, by defining Ninja job pools manually in CMake for targets I know consume a lot of build resources (RAM). Your idea is more advanced but it would depend on if Ninja maintainers determine it to be in scope of Ninja design.

I have problems with ninja in Linux VMs/Containers in CI systems, which are giving me rather unpredictable memory requirements, it SOMETIMES causes OOM issues but not always, I can sometimes rerun in the same condition and get it to build, and sometimes not.

FWIW, I've tried implementing PSI-based spawn heuristics, and while it's an improvement over load average in reaction speed, there's still the problem that as soon as the PSI value falls under the threshold, Ninja will spawn process up to the -j limit transiently, which will bring back the system into a memory-pressured state again.
For better scheduling decisions we probably need some in-depth modeling over the compiler memory usage, mainly predicting the memory usage spike during compiler startup, so that only a "safe" amount of process is spawned at once and more process will only be spawned as we confirm the existing process won't use too much memory.

Sounds like what a Kalman filter might be able to do--not sure if one has been applied to memory usage before

Hello. Is there any solution to prevent this problem so far?

@justanhduc

any solution to prevent this problem so far?

yes: https://github.com/hakavlad/nohang#solution


feat: update github pull requests package version to 0.5.2

Hey, I just made a Pull Request!
Just a version update of the GitHub Pull Requests plugin that is installed inside the sample app contains fixes regarding new theme system.

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

This should fix the blank page bug reported by @ebarriosjr  in Discord: https://discord.com/channels/687207715902193673/687235481154617364/767765251876716566


Stickers constructed at runtime

Can this be used for stickers that are created by the game itself at runtime?

Unfortunately, no
On Mon, 30 Oct 2017 at 23:26, yosun<EMAIL_ADDRESS>wrote:

Can this be used for stickers that are created by the game itself at
runtime?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/agens-no/iMessageStickerUnity/issues/20, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAitDQB5cODdkz5GNWGLgFxnFKHtZGmXks5sxk0TgaJpZM4QL8Xd
.


Please release a new beta version

Many fixes were added already.

21.3.0-beta.9 was released today.

Thank you! I didnt see it, npm was installing from cache.


[feature] integration with database hosting

issue
database file storing the player data is ephemeral in Heroku.
expected
hosting the database instead to ensure permanence.
potential solutions
will look into various hosting services

heroku postgres
amazon dynamodb
redis
mongodb

postgres


Cross platform paths

Expected paths are Linux specific, so instead use filepath to return the path for the current OS.
I didn't change this test, as the code would need to be the following, which I'm not sure if it is correct:
Expect(result).To(Equal(filepath.Join("/fake/manifest/path", "fake", "relative", "path", "file.tgz")))

Should this be using path.Join instead of filepath.Join, so that / is used on Windows builds as well?
I could make that change if that is fine.

Is the fake file system a unix like file system or should it behave like the file system that it is being used to test?

@Fydon you ask great questions.
@monkeyherder and I are trying to reason through the implications.
To your first question, we believe the test is correct in it's current form. If the code is going to be able to read the file, it will need to be path'd correctly for the given platform. It is also interesting to understand if the paths in the manifests with unix style separators are expected to work on windows platforms. This feels like a bit of a product question. cc @cppforlife
To your second question: We believe the fake file system should behave like the os filesystem would behave for a given platform. If the os filesystem needs updating, the fake filesystem should be updated to simulate that behavior. It seems the fake file system should base it's behavior based on the platform it's running on. (We intend to run the test suites on windows). It seems we don't have a solid answer here and we'll have to figure it out as we learn more.

@tylerschultz Thank you. Unix style paths do work on Windows, which makes this more complicated, as a test could pass for a given piece of code and yet not work when use in a specific case. For example the first change of this pull request just allowed some of the tests to pass, but the second change of the pull request enabled the use of doublestar's Glob function (when it is update #139) which uses the OS specific path separator.
I'll create a pull request about the proposed bosh-utils path changes.
Thank you. It would be great to have Windows tests running for bosh-cli.
This pull request makes a lot of the paths be OS specific, but there are still some tests that need to be updated to ensure that the code will work if given Windows paths, e.g. fs_config_test.go. There are also still some tests that are failing.

@tylerschultz I forgot to mention that on Windows if you use /file as a file location for a command then you get unknown flag /file. This is why I needed to make changes like this for factory_test.go.


GetOrCreate / GetOrCreateAsync on IMemoryCache creates cache entry even when factory throws

It seems wrong that a cache entry is added with the value null when the factory method throws:
            try
            {
                memoryCache.GetOrCreate("key", entry =>
                {
                    throw new Exception();
                    return 123;
                });
            } catch (Exception e)
            {
                // memoryCache now has an entry for "key" with the value null. This seems odd.
            }

The expected behaviour should be that the value is not added to the cache if the factory throws.

Agreed. There should not be a using statement on this line: https://github.com/aspnet/Caching/blob/c432e5827e4505c05ac7ad8ef1e3bc6bf784520b/src/Microsoft.Extensions.Caching.Abstractions/MemoryCacheExtensions.cs#L103

https://github.com/aspnet/Caching/commit/18f22598da1d650dc0b3291254ed61df036a378f

When will preview 1 be released?
We just got hit hard by this bug, we'll might have to use the nightly builds on production 😢 until it's being released.


Lost Bundler on upgrade to El Capitan - how to reinstall Bundler in a safe way for Boxen?

I just tried to get my Boxen up to date as per the upgrade instructions. I haven't upgraded since Jan 2015. However the process fails when I get to the bundle install... command below:
rm Puppetfile.lock Gemfile.lock
bundle install --no-deployment --without development --path .bundle
rbenv: bundle: command not found

The `bundle' command exists in these Ruby versions:
  2.1.0

Somehow I lost Bundler from /usr/bin!  I looked for a solution online that would be compatible with Boxen.
Some people suggest simply doing a gem install bundler from my home directory. However I saw some warnings about this approach.
What is the best way to reinstall Bundler (or any /usr/bin application) in a way that is compatible with Boxen?

+1
For lack of better idea, our team (all of us have run into this on the El Capitan update) have been taking the gem install bundler route. Haven't noticed any odd side effects, at least yet, with boxen. But, like you, we have some lingering concerns that this isn't the best way.
Looks like other folks are running into this...good to know we're not alone, I suppose!

Within our private fork, we have made a couple of adjustments which address this in El Capitan.

Updating system bundler

diff --git a/script/bootstrap b/script/bootstrap
index a0d4026..7282a29 100755
--- a/script/bootstrap
+++ b/script/bootstrap
@@ -54,10 +54,10 @@ set -e

 # FIX: only sudo if gem home isn't writable

-(/usr/bin/gem spec bundler -v '~> 1.5.3' >/dev/null 2>&1) || {
+(/usr/bin/gem spec bundler -v '~> 1.10.5' >/dev/null 2>&1) || {
     log "====> Installing bundler to system ruby"
     /usr/bin/sudo -p "Password for sudo to install bundler: " \
-        /usr/bin/gem install bundler -v '~> 1.5.3' --no-rdoc --no-ri
+        /usr/bin/gem install bundler -v '~> 1.10.5' --no-rdoc --no-ri
 }
 PATH="/Library/Ruby/bin:$PATH"

Adding system bundler to the $PATH

diff --git a/script/bootstrap b/script/bootstrap
index f233066..3b611e5 100755
--- a/script/bootstrap
+++ b/script/bootstrap
@@ -59,7 +59,7 @@ set -e
     /usr/bin/sudo -p "Password for sudo to install bundler: " \
         /usr/bin/gem install bundler -v '1.10.5' --no-rdoc --no-ri
 }
-PATH="/Library/Ruby/bin:$PATH"
+PATH="/Library/Ruby/bin:$(gem which bundler | sed -e 's!lib/bundler.rb!bin!'):$PATH"

 # Use checksums to quickly determine if we need to re-bundle

We are looking at pushing these upstream after getting some more testing around the changes but feel free to apply it and let me know how it works out for you.

@jacobbednarz's patch worked wonders for me.

@jacobbednarz , what's the easiest way to test your fix? Is it:

Create a branch
Edit script/bootstrap as above
Re-run Boxen to fix path to bundler
Rerun Boxen upgrade, in which the bundler command should now work.

Or do I need to nuke Boxen, then re-run it?

@jacobbednarz patch worked for me..!

My apologies @henscu - I was on vacation when your question came through and only just noticed this pop up again in my feed. The usual way I run the testing is just to checkout the remote branch from the Boxen directory and then run boxen. However, this one was slightly different so I nuked Boxen and started fresh (as that was where the problem existed).

Thanks @jacobbednarz . Can I close this issue now or should I wait until #804 is merged?

When #804 is merged, it should close this automagically. If you're happy with the state of #804, drop a comment over there so we don't need to jump back and forth between the two for references :)


Status bar is not hide neither for leftViewController nor for rootController.

A few weeks ago i used this combination in LGSideMenuController instance to set status bar hidden for left menu with animation, and return it for root controller:
self.leftViewWidth = 250.0;
self.leftViewPresentationStyle = LGSideMenuPresentationStyleSlideAbove;

self.rootViewStatusBarHidden = NO;
self.rootViewStatusBarUpdateAnimation = UIStatusBarAnimationFade;

self.leftViewStatusBarHidden = YES;
self.leftViewStatusBarUpdateAnimation = UIStatusBarAnimationFade;

But now it is not works. What happens?
Thank you for answer, Vladyslav.

I have just checked it with latest version 2.0.10 and it seems working fine.
Try to check, is everything working as expected in demo projects? If it is, then I think problem can be inside code that you added in the last few weeks.
And you can make one more experiment: create a new fresh project and test how it will work there.


🐛 [BUG] - Tick timings do not adhere to the specified tick frequency.

Description
When investigating the tick performance I noticed some issues in the way we calculated the tick time for our debug topics.
In addition I noticed that we actually tick the tree at a frequency of 500 Hz when only specifying 10 Hz.
Reproduction URL
https://github.com/fzi-forschungszentrum-informatik/ros2_ros_bt_py
Reproduction steps
1. Load any BT.
2. Record a rosbag with all topics.
3. Run the tree.
4. Visualize 1 / `/BehaviorTreeNode/debug/tick_frequency/data` topic in PlotJuggler

Screenshots
No response
Logs
No response
ROS 2 Version
Jazzy
OS
Ubuntu 24.04

These are the measurements for running the Problem 1 solution in the roscon24-deliberation-workshop repo two time.

The time tracking bug is fixed in https://github.com/fzi-forschungszentrum-informatik/ros2_ros_bt_py/pull/130 but the issues with the invalid tick frequency is still open

Ok after fixing another bug in the tick frequency calculation the deviation does not seem too significant.
Nonetheless we might want to investigate where these are coming from.


[v0.44.x] embedded-status is ignored.

Expected Behavior
When I set embedded-status to boh in 0.44.x, I am assuming I will see both "status" reported, aka in taskruns and in childReferences.
Actual Behavior
When I set embedded-status to boh in 0.44.x, only childReferences is populated.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
# […]
spec:
# […]
status:
  childReferences:
  - apiVersion: tekton.dev/v1beta1
    kind: TaskRun
    name: demo-pipeline-run-4-cluster-task-pipeline-4
    pipelineTaskName: cluster-task-pipeline-4
  completionTime: "2023-03-27T15:38:06Z"
  conditions:
  - lastTransitionTime: "2023-03-27T15:38:06Z"
    message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0'
    reason: Succeeded
    status: "True"
    type: Succeeded
  pipelineSpec:
    tasks:
    - name: cluster-task-pipeline-4
      taskRef:
        kind: ClusterTask
        name: cluster-task-pipeline-4
  startTime: "2023-03-27T15:37:44Z"

Steps to Reproduce the Problem

Edit the feature-flags configmap to set embedded-status to both
2. Run a PipelineRun
Watch the status

Additional Info
embedded-status is removed in 0.45.x but it is supposed to work as intended up to that point. As 0.44 is an LTS, we should probably fix it 👼🏼

Kubernetes version:

Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.7", GitCommit:"e6f35974b08862a23e7f4aad8e5d7f7f2de26c15", GitTreeState:"clean", BuildDate:"2022-10-26T15:06:14Z", GoVersion:"go1.18.7", Compiler:"gc", Platform:"linux/amd64"}

Tekton Pipeline version:

Pipeline version: v0.44.0

Nevermind, this is working as intented, I forgot that by default it would look for v1 and thus use the annotation.
kubectl get pipelinerun.v1beta1.tekton.dev demo-pipeline-run-1 -o yaml

Actually this is a bit trickier than this 🤔 😓


Errors when upgrading to 0.0.45

Hi
We tried upgrading to version 0.0.45 to use some of the new features :) However, running gulp after upgrading our dependency to 0.0.45 gives the following:

Plugins error
=============

Test task fails with:
[10:47:29] Starting 'test'...
07 04 2016 10:47:30.208:WARN [reporter]: Can not load "junit", it is not registered!
  Perhaps you are missing some plugin?
[10:47:30] 'test' errored after 375 ms
[10:47:30] Error: No provider for "framework:angular-filesort"! (Resolving: framework:angular-filesort)
    at error (C:\projects\bankshift\node_modules\gript\node_modules\karma\node_modules\di\lib\injector.js:22:12)
    at Object.parent.get (C:\projects\bankshift\node_modules\gript\node_modules\karma\node_modules\di\lib\injector.js:9:13)
    at get (C:\projects\bankshift\node_modules\gript\node_modules\karma\node_modules\di\lib\injector.js:54:19)
    at C:\projects\bankshift\node_modules\gript\node_modules\karma\lib\server.js:137:20
    at Array.forEach (native)
    at Server._start (C:\projects\bankshift\node_modules\gript\node_modules\karma\lib\server.js:136:21)
    at invoke (C:\projects\bankshift\node_modules\gript\node_modules\karma\node_modules\di\lib\injector.js:75:15)
    at Server.start (C:\projects\bankshift\node_modules\gript\node_modules\karma\lib\server.js:101:18)
    at Gulp.<anonymous> (C:\projects\bankshift\node_modules\gript\tasks\test.gulp.js:24:12)
    at module.exports (C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:34:7)
    at Gulp.Orchestrator._runTask (C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\index.js:273:3)
    at Gulp.Orchestrator._runStep (C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\index.js:214:10)
    at C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\index.js:279:18
    at finish (C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:21:8)
    at C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:52:4
    at f (C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\node_modules\end-of-stream\node_modules\once\once.js:17:25)
    at DestroyableTransform.onend (C:\projects\bankshift\node_modules\gulp\node_modules\orchestrator\node_modules\end-of-stream\index.js:31:18)
    at emitNone (events.js:72:20)
    at DestroyableTransform.emit (events.js:166:7)
    at endReadableNT (C:\projects\bankshift\node_modules\gript\node_modules\gulp-filenames\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:944:12)
    at afterTick (C:\projects\bankshift\node_modules\gript\node_modules\gulp-filenames\node_modules\through2\node_modules\readable-stream\node_modules\process-nextick-args\index.js:11:8)
    at doNTCallback0 (node.js:419:9)
[10:47:30] Error in plugin 'run-sequence'
Message:
    An error occured in task 'test'.
[10:47:30] 'inject' errored after 4.09 s
[10:47:30] Error in plugin 'run-sequence'

Can be fixed by adding the required plugins to tasks/karma.conf.js:
    plugins: [
        'karma-jasmine',
        'karma-angular-filesort',
        'karma-phantomjs-launcher',
        'karma-junit-reporter',
        'karma-coverage',
        'karma-ng-html2js-preprocessor'
    ]

Missing bind on Function prototype
=====================================

After fixing missing plugins the 'test' task fails with the following when using Angular 1.5 (also reported in issue #63):
07 04 2016 10:57:31.146:INFO [launcher]: Starting browser PhantomJS
07 04 2016 10:57:31.910:INFO [PhantomJS 1.9.8 (Windows 7 0.0.0)]: Connected on socket /#46NNJYZj4AZqINZBAAAA with id 56746344
PhantomJS 1.9.8 (Windows 7 0.0.0) ERROR
  Error: [$injector:modulerr] Failed to instantiate module ng due to:
  TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')
      at instantiate (C:/projects/bankshift/bower_components/angular/angular.js:4640)
      at provider (C:/projects/bankshift/bower_components/angular/angular.js:4454)
      at C:/projects/bankshift/bower_components/angular/angular.js:365
      at forEach (C:/projects/bankshift/bower_components/angular/angular.js:335)
      at C:/projects/bankshift/bower_components/angular/angular.js:4444
      at ngModule (C:/projects/bankshift/bower_components/angular/angular.js:2494)
      at invoke (C:/projects/bankshift/bower_components/angular/angular.js:4625)
      at runInvokeQueue (C:/projects/bankshift/bower_components/angular/angular.js:4518)
      at C:/projects/bankshift/bower_components/angular/angular.js:4527
      at forEach (C:/projects/bankshift/bower_components/angular/angular.js:321)
      at loadModules (C:/projects/bankshift/bower_components/angular/angular.js:4550)
      at createInjector (C:/projects/bankshift/bower_components/angular/angular.js:4430)
      at C:/projects/bankshift/app/app.js:73
      at C:/projects/bankshift/app/app.js:82
      at C:/projects/bankshift/app/app.js:152
  http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=ng&p1=TypeError%3A%20'undefined'%20is%20not%20an%20object%20(evaluating%20'Function.prototype.bind.apply')%0A%20%20%20%20at%20instantiate%20(http%3A%2F%2Flocalhost%3A9876%2FC:/projects/bankshift%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4640)%0A%20%20%20%20at%20provider%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4454)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A365%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A335)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4444%0A%20%20%20%20at%20ngModule%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A2494)%0A%20%20%20%20at%20invoke%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4625)%0A%20%20%20%20at%20runInvokeQueue%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4518)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4527%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A321)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4550)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fbower_components%2Fangular%2Fangular.js%3Fe19a0bed71d517ca1f3d8098edb3d27e0966badd%3A4430)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fapp%2Fapp.js%3Fe7cfa2cb2f038539aa9c139376e51d48fa0f2700%3A73%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fapp%2Fapp.js%3Fe7cfa2cb2f038539aa9c139376e51d48fa0f2700%3A82%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9876%2Fbase%2Fapp%2Fapp.js%3Fe7cfa2cb2f038539aa9c139376e51d48fa0f2700%3A152
  at C:/projects/bankshift/bower_components/angular/angular.js:4548

Can be fixed by either upgrading to newer version of PhantonJS, or by using a polyfill:
npm install --save-dev phantomjs-polyfill

Update 'get-sources' task to include the polyfill:
return gulp.src(
    [
        path.join(paths.src.app, '../node_modules/phantomjs-polyfill/bind-polyfill.js'),
        path.join(paths.src.app, '**/*.js'),
        path.join(paths.target.tmp.js, '**/*.js'),
        path.join(paths.target.tmp.partials, '**/*.js')
    ], {base: '.'})

Missing dependency to Sinon
=========================

When running tests that use Sinon we get an error about:
07 04 2016 11:52:17.020:WARN [watcher]: Pattern "C:/projects/bankshift/node_modules/gript/node_modules/sinon/pkg/sinon.js" does not match any file.
PhantomJS 1.9.8 (Windows 7 0.0.0) UserInfo module should get default values initially FAILED
        ReferenceError: Can't find variable: sinon
            at C:/projects/bankshift/app/components/user-info-service/user-info-service_test.js:23
            at invoke (C:/projects/bankshift/bower_components/angular/angular.js:4625)
            at workFn (C:/projects/bankshift/bower_components/angular-mocks/angular-mocks.js:2933)
            at C:/projects/bankshift/bower_components/angular-mocks/angular-mocks.js:2902
            at C:/projects/bankshift/app/components/user-info-service/user-info-service_test.js:24
        undefined

It turns out that gript does not have a sinon.js where it expects it to be in the 'test' task:
    new Server({
                configFile: __dirname + '/karma.conf.js',
                files: bowerDeps.js.concat('node_modules/gript/node_modules/sinon/pkg/sinon.js', filenames.get('js')),
                singleRun: true
            }, function () {
                done();
            }).start();

You need to somehow make sure that Sinon is always present where you assume it is. Our temporary fix is to change the path to our own dependency to Sinon at node_modules/sinon/pkg/sinon.js but of course that is not a proper solution.

Hi @jhpe

What exactly do you mean by this ? the current tasks/karma.conf.js contains all needed references:

plugins: [
            'karma-jasmine',
            'karma-angular-filesort',
            'karma-phantomjs-launcher',
            'karma-junit-reporter',
            'karma-coverage',
            'karma-ng-html2js-preprocessor'
        ],

duplicate #63

the sinon.js is always available in the /node_modules/gript/node_modules/sinon/pkg/sinon.js in the projects I know that use gript, like mitnykredit, xp2-client, ssm-client etc.

Hi,

I don't know the complete internals of Gript, but the karma.conf.js you link to is not the same that ends up in node_modules when you use Gript as a dependency. You can reproduce it with a minimal package.json

    {
      "name": "test",
      "version": "0.0.1",
      "description": "Tool",
      "devDependencies": {
        "gript": "0.0.45"
        },
      "repository": {
        "type": "git",
        "url": "https://test.git"
      },
      "license": "MIT",
      "readme": "readme"
    }

and do npm install

I added a solution hoping it would be fixed quicker and to help other people having the same issue :)

If the project that depends on Gript already has a dependency to a suitable version of Sinon, then Sinon will not be added to Gript's node_modulues as the dependency is already met. You can  check this by adding sinon the the minimal package.json from above:

  {
     "name": "test",
     "version": "0.0.1",
     "description": "Tool",
     "devDependencies": {
       "gript": "0.0.45"
       },
     "repository": {
       "type": "git",
       "url": "https://test.git"
     },
     "license": "MIT",
     "readme": "readme"
   }

and do npm install

ok it's a bug, fix release today.

ok I understand, but do you need the dependency to sinon.js in your package.json ?

note:
Please do not combine unrelated issues in one github ticket. It's tricky to reply :)

Cool, thanks.
We can probably remove our own dependency to make it work, but other people will hit this bug again later. I think you can use something like require.resolve() to get the path of the module insteed of hardcoding the path.
The issues were all related to v. 0.0.45, that's why I did it like this, but ok :)

I now realize that our issue with sinon is also reported with another solution in #42

No they are not :) but I will fix them of course anyway :)

Thanks
Jarek
Dnia 07.04.2016 o godz. 14:16 jhpe<EMAIL_ADDRESS>napisał(a):

Cool, thanks.
We can probably remove our own dependency to make it work, but other people will hit this bug again later. I think you can use something like require.resolve() to get the path of the module insteed of hardcoding the path.
The issues were all related to v. 0.0.45, that's why I did it like this, but ok :)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

hi @jhpe
Can you please try 0.0.46 ? Sinon is now being loaded as Karma plugin in karma.conf.js. The reference to absolute path to sinon.js in the test task is now removed.
Also, your nr 1 - "Plugins error" should be fine now.

phantom.js updated to 2.1 in 0.0.47

Hi,
We have upgraded to 0.0.47 and everything looks ok. Thanks.


Docs build update

Updated to build docs after other projects and cache the LLvm LIBs zip file

This should address #73 before merging to master


Initial state of input collapse buttons for interactive window not correct

Initially they are in collapsed state, but the text is visible. Toggling them on and off gets them back to the correct state.
I believe this was a side effect of the UI Native / Interactive split.
#7376

Leaving this in new issues so we see it in triage, but assigning to myself to start looking into. Seems important to fix as it can eat user code.

Note for validation. I checked gather myself, but it probably should be checked in validate as well, as it was part of the issue here.


Update JWST launch date & add JWST Refs

[ ] The text mentioned March 2021, while the launch date has slipped to October 2021.
[ ] Add reference for JWST mission.
[ ] Add reference for NIRSPEC instrument.

Cycle 1 stars 6 months after launch, so 30 April 2022.  It lasts one year, so ends 30 April 2023.

Recomputing 1000 posterior samples to forecast transit times through JD = 2460258.0 (11 November 2023) to cover the first 2 years after the start of the JWST mission.   Each forecast takes about 19 seconds, for a total of about 5.3 hours.


Gas is not pulled in priority order

I have two machines outputting the same gas set to extract mode, one of priority 1 and the other of priority 0. The channel is in priority mode.
What I expect: the machine with priority 1 is completely drained before machine prio 0 begins to be drained.
What I observe: When a large amount of fluid fits in the inserted machine, both extract machines are being drained equally, at the same time. When only one/a few mB fit into the inserted machine, the only extract machine being drained is the priority 0 machine.
This is with XNetGases 2.2.4, XNet 1.16-3.0.11, minecraft 1.16.5
By the way, your 2.2.4 version solved my previous issue, thanks for the quick response!

This issue seems to exist within XNet itself too, as I tested this with fluids and the same happened. I basically copied the logic for fluid from xnet, but I will try to look into how I would go about this.

I see. Perhaps I should make an issue on the XNet github too, then.

I have implemented this feature in dev, but I've just noticed that the same is happening with machines that have Insert mode. Going to do that and there will hopefully be a working release available soon.

It's up on CurseForge now, please do tell me if it is working as intended :D !

It seems to work excellently! Thank you once again for the quick and effective help!
My fission reactor is now properly fueled first by the reprocessed fuel, and only then by newly made fuel.


Create a tool to update cached models for information already present on previous ones

I can imagine after looking into #55 that a tool to reshape or re-structure previous models into the newer ones (fixing them due to a property being split or combined, or deleted in favor of a newer one) can be done with a tool that does not require to fetch data but only to scan through the files, apply the new patterns and re-write them with the new shape if not yet on them.
This can be useful when models are updated but it is not required to initialize the data from scratch, removing the overload on APIs that we might use. Of course, this is a nice-to-have and not a rquisite for v1.0.0.

First step done in the rewrite (#122) by extracting some common logic for parser/mappers independently of the data source.


Update to work with<EMAIL_ADDRESS>

ref: https://github.com/bsudekum/react-native-mapbox-gl/issues/51
The final piece of the puzzle here is regarding MGLMapboxMetricsEnabledSettingShownInApp. With<EMAIL_ADDRESS>MGLMapboxMetricsEnabledSettingShownInApp is required if you do not provide analytics configuration. For now, I think it's okay to roll with this off and later down the line, expose this api.
@1ec5 I'm having a hard time getting this project to edit the plist.info of it's parent project. Is it possible for a child xcode project to edit the plist of the parent project? So far I've had no luck getting the correct path to the plist. Ideally, this would be added to this PR and would not require the dev to set this during the install process.
Other changes in this pr:

updates mapbox-gl-native to 0.4.0
you should see improved label rendering, ref
changes how events are triggered and handled internally.
Fixes an issue where onRegionChange and onRegionWillChange threw an error if one was not present
Moves the example.md to to example.jsx to made it easier to read

Is it possible for a child xcode project to edit the plist of the parent project?

No, because libRCTMapboxGL.a is prebuilt and is a dependency of the app target. Mapbox GL comes with two primary installation workflows: manual installation inside Xcode and automatic installation via CocoaPods. The setup steps for this React project are based on the manual installation process, which is primarily intended for developers of existing projects who are comfortable mucking around with Xcode settings and don’t need the handholding that CocoaPods provides.
Our intent is that setting MGLMapboxMetricsEnabledSettingShownInApp be a deliberate action on the part of the developer that comes after implementing custom UI for toggling Mapbox Metrics. For most developers, adding a Settings bundle that contains the Mapbox Metrics switch would be less work. Requiring them to set this flag manually in the project editor shouldn’t be a special burden, either, because they’ll have to set their access token and enable Location Services right there anyways.

Since this React project expects npm to be used as the dependency manager, could you customize npm install to add the Settings bundle to any project already in the target directory?


Prompt is not always properly set after client is connected

If you do this:

Set instructions with updateSession. Include instruction "Your name is John"
Then connect the client
Then programmatically send a user message "What is your name?"

Then every now and then it will respond "My name is ChatGPT".
Seems like this issue is on openAI side.

Issue was on my end. Them models listed here, are not all available, causing this.
https://platform.openai.com/docs/guides/text-to-speech


code sign randomly failure

Issue Description

Using fastlane gym to export ipa, but sometimes got failure of code sign, its random error:

[11:49:48]: [35m[33m▸[0m [39;1mTouching[0m Sales.app.dSYM[0m
[11:50:03]: [35m[33m▸[0m [39;1mArchive[0m Succeeded[0m
[11:50:04]: [33mGenerated plist file with the following values:[0m
[11:50:04]: ▸ [35m-----------------------------------------[0m
[11:50:04]: ▸ [35m{[0m
[11:50:04]: ▸ [35m "method": "ad-hoc"[0m
[11:50:04]: ▸ [35m}[0m
[11:50:04]: ▸ [35m-----------------------------------------[0m
RVM detected, forcing to use system ruby
[32mNow using system ruby.[0m
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/vl/3crtvrpd6gdbms8rzql5r_380000gp/T/gym_config20170517-1200-corh3z.plist -archivePath '/Users/flow/Library/Developer/Xcode/Archives/2017-05-17/Release-59127ab3fbd08646c74150a0-38 2017-05-17 11.37.33.xcarchive' -exportPath /var/folders/vl/3crtvrpd6gdbms8rzql5r_380000gp/T/gym_output20170517-1200-1bfvwg2
2017-05-17 11:50:05.692 xcodebuild[4914:14652] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/vl/3crtvrpd6gdbms8rzql5r_380000gp/T/Sales_2017-05-17_11-50-05.690.xcdistributionlogs'.
1.2.840.1136<IP_ADDRESS>
2017-05-17 11:50:23.847 xcodebuild[4914:14652] [MT] IDEDistribution: Step failed: : Error Domain=IDEFoundationErrorDomain Code=1 "Codesign failed" UserInfo={NSLocalizedDescription=Codesign failed}
error: exportArchive: Codesign failed

Error Domain=IDEFoundationErrorDomain Code=1 "Codesign failed" UserInfo={NSLocalizedDescription=Codesign failed}

Environment
fastlane 2.30.2
[13:14:02]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.3

Ruby
2.3.1

Bundler?
false

Git
git version 2.12.2

Installation Source
~/.rvm/gems/ruby-2.3.1/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode8.app/Contents/Developer/

Xcode Version
8.3.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.30.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.14.6

io-console
0.4.5

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
2.0.7

xcpretty
0.2.7

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.28

json
1.8.3

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

faraday_middleware
<IP_ADDRESS>

Without a verbose output and your Fastfile, this is hard to troubleshoot.  Please provide more information such as your Fastfile or command run, verbose output/build log, etc.

@PetrosIchor I checked full log from fastlane, the first step to make archive is success, the detail of latest 100 lines log as below: (the log is using 'development' method, not the same as issue since I got the same issue no meeter export method)
Entitlements:

{
    "application-identifier" = "xxxxx";
    "aps-environment" = development;
    "com.apple.developer.team-identifier" = xxx;
    "get-task-allow" = 1;
}

    builtin-productPackagingUtility -entitlements -format xml -o /Users/flow/Library/Developer/Xcode/DerivedData/Yeyu-gvforhfejosiuzablqrnyjtroeju/Build/Intermediates/ArchiveIntermediates/Yeyu/IntermediateBuildFilesPath/Yeyu.build/Debug-iphoneos/Yeyu.build/Yeyu.app.xcent

CodeSign /Users/flow/Library/Developer/Xcode/DerivedData/Yeyu-gvforhfejosiuzablqrnyjtroeju/Build/Intermediates/ArchiveIntermediates/Yeyu/InstallationBuildProductsLocation/Applications/Yeyu.app
    cd /Users/flow/jobs/59231aad6c112a3e29bb0766/build/benqyang2006/yy-ios-test
    export CODESIGN_ALLOCATE=/Applications/Xcode8.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode8.app/Contents/Developer/usr/bin:/Users/flow/.nvm/versions/node/v7.6.0/bin:/Users/flow/.rvm/gems/ruby-2.3.1/bin:/Users/flow/.rvm/gems/ruby-2.3.1@global/bin:/Users/flow/.rvm/rubies/ruby-2.3.1/bin:/Users/flow/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "iPhone Developer: Ye Yu (xxx)"
Provisioning Profile: "yeyudev_hl"
                      (xxxxxxx)

    /usr/bin/codesign --force --sign 0ABDA86208D22FFA85AFA7142583353AEFCE1031 --entitlements /Users/flow/Library/Developer/Xcode/DerivedData/Yeyu-gvforhfejosiuzablqrnyjtroeju/Build/Intermediates/ArchiveIntermediates/Yeyu/IntermediateBuildFilesPath/Yeyu.build/Debug-iphoneos/Yeyu.build/Yeyu.app.xcent --timestamp=none /Users/flow/Library/Developer/Xcode/DerivedData/Yeyu-gvforhfejosiuzablqrnyjtroeju/Build/Intermediates/ArchiveIntermediates/Yeyu/InstallationBuildProductsLocation/Applications/Yeyu.app

Validate /Users/flow/Library/Developer/Xcode/DerivedData/Yeyu-gvforhfejosiuzablqrnyjtroeju/Build/Intermediates/ArchiveIntermediates/Yeyu/InstallationBuildProductsLocation/Applications/Yeyu.app
    cd /Users/flow/jobs/59231aad6c112a3e29bb0766/build/benqyang2006/yy-ios-test
    export PATH="/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode8.app/Contents/Developer/usr/bin:/Users/flow/.nvm/versions/node/v7.6.0/bin:/Users/flow/.rvm/gems/ruby-2.3.1/bin:/Users/flow/.rvm/gems/ruby-2.3.1@global/bin:/Users/flow/.rvm/rubies/ruby-2.3.1/bin:/Users/flow/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export PRODUCT_TYPE=com.apple.product-type.application
    builtin-validationUtility /Users/flow/Library/Developer/Xcode/DerivedData/Yeyu-gvforhfejosiuzablqrnyjtroeju/Build/Intermediates/ArchiveIntermediates/Yeyu/InstallationBuildProductsLocation/Applications/Yeyu.app

** ARCHIVE SUCCEEDED **

I thought the first 'archive' step should export '.xcarchive' file in xcode 8xx not .app, maybe that is the cause for error I guess


Echo Test

Hello, do you have any example of echo test (0800), sent via tcp ip?
I read the examples but didn't quite understand.
My echo test
De3
De7
De11
De12
De13
De32
De39
De42
De61
De70

You need to have spec and also understand what kind of software sent data (way4, tieto, something else..)

I just wanted to be able to send an authorization to my payment system, I have here the specification of the data I should put in the field, but I can't assemble the message and send it via tcp ip with moov-io.
I am using the ideazxy package today, but it is too old.

Dont understand you problem, fill the data via you spec and call message.Pack()

Do you have any simple examples?
With what I got on github I can't get it to work.

main problem that latest release and latest master have very big difference
@alovak can you tag new release after fixing binary decoding for way4 ?

I've updated the version in the master branch to v0.3.0.

nice

@Juniornewxt I would be glad to help you! Not sure I understand what you are trying to achieve. With this package you can only build a "packed" message. You need to describe spec, set values to the message and then "pack" it.
When you have a packed message you can write it into the file and then perform this (taken from https://github.com/juks/iso-8583-socket-queue):
cat ./packed-message.txt - | nc askarov.com 12345

sorry i'm new to "golang".
But I thought I'd take the message encapsulated with "moov-io" and send it via net/bufio with the code below that worked well for me in other things...
tcpClientNew(b)

}
func tcpClientNew(b []byte) {
tcpAddr, err := net.ResolveTCPAddr("tcp", "<IP_ADDRESS>:5001")
if err != nil {
println("ResolveTCPAddr failed:", err.Error())
os.Exit(1)
}
conn, err := net.DialTCP("tcp", nil, tcpAddr)
if err != nil {
println("Dial failed:", err.Error())
os.Exit(1)
}
timeoutDuration := 15 * time.Second
_, err = conn.Write(b)
if err != nil {
println("Write to server failed:", err.Error())
os.Exit(1)
}
conn.SetReadDeadline(time.Now().Add(timeoutDuration))
bufReader := bufio.NewReader(conn)
resp, _ := bufReader.ReadByte()
fmt.Print("Message: " + string(resp))
conn.Close()
}
But I can't get the "moov-io" code to work, so I asked if they had an example

@Juniornewxt you can look into our tests here: https://github.com/moov-io/iso8583/blob/master/message_test.go#L52
but in short it should look like this: https://gist.github.com/alovak/a1637a12c5e1c06ad89595effe284408

package main

import (
	"github.com/moov-io/iso8583"
	"github.com/moov-io/iso8583/encoding"
	"github.com/moov-io/iso8583/field"
	"github.com/moov-io/iso8583/prefix"
)

func NewSpec() *iso8583.MessageSpec {
	return &iso8583.MessageSpec{
		Fields: map[int]field.Field{
			0: field.NewString(&field.Spec{
				Length:      4,
				Description: "Message Type Indicator",
				Enc:         encoding.ASCII,
				Pref:        prefix.ASCII.Fixed,
			}),
			1: field.NewBitmap(&field.Spec{
				Description: "Bitmap",
				Enc:         encoding.Binary,
				Pref:        prefix.Binary.Fixed,
			}),
			2: field.NewString(&field.Spec{
				Length:      19,
				Description: "Primary Account Number",
				Enc:         encoding.BCD,
				Pref:        prefix.BCD.LL,
			}),
			//3: field.NewNumeric(&field.Spec{
			//	Length:      6,
			//	Description: "Processing Code",
			//	Enc:         encoding.BCD,
			//	Pref:        prefix.BCD.Fixed,
			//}),
			//4: field.NewNumeric(&field.Spec{
			//	Length:      12,
			//	Description: "Amount, Transaction",
			//	Enc:         encoding.BCD,
			//	Pref:        prefix.BCD.Fixed,
			//	//Pad:         padding.Left('0'),
			//}),
			//6: field.NewNumeric(&field.Spec{
			//	Length:      12,
			//	Description: "Amount, Cardholder Billing",
			//	Enc:         encoding.BCD,
			//	Pref:        prefix.BCD.Fixed,
			//	Pad:         padding.Left('0'),
			//}),
			//7: field.NewNumeric(&field.Spec{
			//	Length:      10,
			//	Description: "Transmission Date and Time",
			//	Enc:         encoding.BCD,
			//	Pref:        prefix.BCD.Fixed,
			//	Pad:         padding.Left('0'),
			//}),
			// and so on
			//
		},
	}
}

func main() {
	spec := NewSpec()

	message := iso8583.NewMessage(spec)

	message.MTI("0100")
	message.Field(2, "4242424242424242")
	message.Field(3, "123456")
	message.Field(4, "100")
	// set your values
	packed, err := message.Pack()
	if err != nil {
		panic(err)
	}

	// send packed via the network
}

Thank you very much :)
But it seems to me that I was doing it correctly, because your code gave the same error as mine
github.com/moov-io/iso8583
../../pkg/mod/github.com/moov-io/iso8583@v0.2.3/parser.go:81:19: too many arguments in call to NewMessage
have (string, interface {})
want (*MessageSpec)
../../pkg/mod/github.com/moov-io/iso8583@v0.2.3/parser.go:82:5: msg.MtiEncode undefined (type *Message has no field or method MtiEncode)
../../pkg/mod/github.com/moov-io/iso8583@v0.2.3/parser.go:83:17: msg.Load undefined (type *Message has no field or method Load)

Please, do following:
go get github.com/moov-io/iso8583

to get the latest version of the package.

Fantastic, needed to update, but I still have problem.
package main
import (
"github.com/moov-io/iso8583"
"github.com/moov-io/iso8583/encoding"
"github.com/moov-io/iso8583/field"
"github.com/moov-io/iso8583/prefix"
"github.com/moov-io/iso8583/padding"

)
func NewSpec() *iso8583.MessageSpec {
return &iso8583.MessageSpec{
Fields: map[int]field.Field{
0: field.NewString(&field.Spec{
Length:      4,
Description: "Message Type Indicator",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.Fixed,
}),
1: field.NewBitmap(&field.Spec{
Description: "Bitmap",
Enc:         encoding.Hex,
Pref:        prefix.Hex.Fixed,
}),
2: field.NewString(&field.Spec{
Length:      19,
Description: "Primary Account Number",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.LL,
}),
3: field.NewNumeric(&field.Spec{
Length:      6,
Description: "Processing Code",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.Fixed,
Pad:         padding.Left('0'),
}),
4: field.NewString(&field.Spec{
Length:      12,
Description: "Transaction Amount",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.Fixed,
Pad:         padding.Left('0'),
}),
},
}
}
func main() {
spec := NewSpec()
message := iso8583.NewMessage(spec)

message.MTI("0100")
message.Field(2, "4242424242424242")
message.Field(3, "123456")
message.Field(4, "100")
// set your values
 err := message.Pack()
if err != nil {
	panic(err)
}

// send packed via the network

}
go:61:7: assignment mismatch: 1 variable but message.Pack returns 2 values
Note, I removed the "packed" as it had not been declared, generating an error: go:74:2: packed declared but not used

check godoc, message.Pack() returns two variables []byte and error

I do not understand.

Thanks my friends, now I start to understand, there are the bytes
package main
import (
"fmt"
"github.com/moov-io/iso8583"
"github.com/moov-io/iso8583/encoding"
"github.com/moov-io/iso8583/field"
"github.com/moov-io/iso8583/prefix"
"github.com/moov-io/iso8583/padding"
)
func NewSpec() *iso8583.MessageSpec {
return &iso8583.MessageSpec{
Fields: map[int]field.Field{
0: field.NewString(&field.Spec{
Length:      4,
Description: "Message Type Indicator",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.Fixed,
}),
1: field.NewBitmap(&field.Spec{
Description: "Bitmap",
Enc:         encoding.Hex,
Pref:        prefix.Hex.Fixed,
}),
2: field.NewString(&field.Spec{
Length:      19,
Description: "Primary Account Number",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.LL,
}),
3: field.NewNumeric(&field.Spec{
Length:      6,
Description: "Processing Code",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.Fixed,
Pad:         padding.Left('0'),
}),
4: field.NewString(&field.Spec{
Length:      12,
Description: "Transaction Amount",
Enc:         encoding.ASCII,
Pref:        prefix.ASCII.Fixed,
Pad:         padding.Left('0'),
}),
},
}
}
func main() {
spec := NewSpec()
message := iso8583.NewMessage(spec)

message.MTI("0100")
message.Field(2, "4242424242424242")
message.Field(3, "123456")
message.Field(4, "100")
// set your values
 b, err := message.Pack()
if err != nil {
	panic(err)

}
fmt.Printf("% x\n", b)
// send packed via the network

}
30 31 30 30 37 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 36 34 32 34 32 34 32 34 32 34 32 34 32 34 32 34 32 31 32 33 34 35 36 30 30 30 30 30 30 30 30 30 31 30 30

@Juniornewxt was you able to make it work for you?

Yes, thank you.
You can close the issue


Add low flash warning to LCARS

Similar to the low battery warning added a low flash storage warning to the LCARS clock.

Thanks!


Using your multiselect package in custom field not working

I am using your multiselect dropdown in the menu item custom field and put saveAsJson but in the database JSON object is empty.

Hi! Sorry about the delay, I was on vacation. However, I fixed it and released it in version 3.0.2. Let me know how it goes, good luck!


Update jaxb-core, jaxb-impl to 4.0.4

About this PR
📦 Updates

com.sun.xml.bind:jaxb-core
com.sun.xml.bind:jaxb-impl

from 4.0.3 to 4.0.4
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.sun.xml.bind" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.sun.xml.bind" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #414.


Arduino IDE 2.2.1 showing 1.0 installed with no update button

Perhaps this is an IDE issue since I probably installed 1.0 through Github originally?


[Question] Namespace level in docs

Not so much a feature request as a question/nit on the docs - The namespace docs appear at the top-level menu in the Lula docs, wondering if this would make more sense as a subset of OSCAL, since that's the context in which namespace is defined?
Just wanted to raise it as a question/possible move, it feels a little out of place to me right now
Proposed Solution
Move namespace directory under OSCAL

I agree that it intuitively should live underneath the oscal directory.
The only drawback is that we'll need to consider our current props use (threshold, framework, target etc) that current resolve to https://docs.lula.dev/ns and either update as a breaking change or provide backwards compatibility under-the-hood.

The only drawback is that we'll need to consider our current props use (threshold, framework, target etc) that current resolve to https://docs.lula.dev/ns and either update as a breaking change or provide backwards compatibility under-the-hood.

Yeah that's a fair point. I think probably just an update with a note would suffice? Does a broken link break any kind of oscal linting?


failed to install on windows based homebridge

[#################.] - reify:semver: timing reifyNode:node_modules/homebridge-appletv-enh

<EMAIL_ADDRESS>postinstall
./check.sh

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code 1
npm ERR! path C:\Users\xyz\AppData\Roaming\npm\node_modules\homebridge-appletv-enhanced\node_modules@sebbo2002\node-pyatv
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./check.sh
npm ERR! A complete log of this run can be found in: C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache_logs\2023-11-02T19_01_13_730Z-debug-0.log

Hi @xcom1948 ,
I am very pleased to see that you are interested in my plugin. However, I do not support non-linux based installations like Windows as stated in the README.
The error is thrown by a postinstall script of a dependency that does not support Windows.
If you really want to run it on a Windows machine, you are probably best of using Windows Subsystem for Linux ...
The better option would be to use a ARM based SBC like a Raspberry. Should also be more cost efficient in the long run as it consumes less power than most windows boxes.


DetachableJoint plugin: Reattached model when world is resetted

🦟 Bug fix
Fixes https://github.com/gazebosim/gazebo_test_cases/issues/238
Summary
When a world with detachable joint is resetted the joint disappears, this should fix the issue
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

I tried out the PR but I'm still getting that the detachable joints are disappearing when I press reset and creates new entities. This is the output I get when I click reset:
[Dbg] [SimulationRunner.cc:319] Rewinding simulation back to initial time.
[Dbg] [Physics.cc:925] Resetting Physics
[Dbg] [Physics.cc:2019] Detaching joint [45]
[Dbg] [Physics.cc:2019] Detaching joint [46]
[Dbg] [Physics.cc:2019] Detaching joint [47]
[Msg] Create service on [/world/detachable_joint/create]
[Msg] Remove service on [/world/detachable_joint/remove]
[Msg] Pose service on [/world/detachable_joint/set_pose]
[Msg] Pose service on [/world/detachable_joint/set_pose_vector]
[Msg] Light configuration service on [/world/detachable_joint/light_config]
[Msg] Physics service on [/world/detachable_joint/set_physics]
[Msg] SphericalCoordinates service on [/world/detachable_joint/set_spherical_coordinates]
[Msg] Enable collision service on [/world/detachable_joint/enable_collision]
[Msg] Disable collision service on [/world/detachable_joint/disable_collision]
[Msg] Material service on [/world/detachable_joint/visual_config]
[Msg] Material service on [/world/detachable_joint/wheel_slip]
[Dbg] [SystemManager.cc:74] Loaded system [gz::sim::systems::UserCommands] for entity [1]
[Msg] DiffDrive subscribing to twist messages on [/model/vehicle_blue/cmd_vel]
[Dbg] [SystemManager.cc:74] Loaded system [gz::sim::systems::DiffDrive] for entity [8]
[Dbg] [DetachableJoint.cc:268] Attaching entity: 48
[Dbg] [DetachableJoint.cc:268] Attaching entity: 49
[Dbg] [DetachableJoint.cc:268] Attaching entity: 50
[Dbg] [Physics.cc:1864] Creating detachable joint [48]
Msg [NameManager::issueNewName] (Skeleton::Joint | vehicle_blue) The name [fixed] is a duplicate, so it has been renamed to [fixed(1)]
[Dbg] [Physics.cc:1864] Creating detachable joint [49]
Msg [NameManager::issueNewName] (Skeleton::Joint | vehicle_blue) The name [fixed] is a duplicate, so it has been renamed to [fixed(2)]
[Dbg] [Physics.cc:1864] Creating detachable joint [50]
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model

I'm not sure if this is the expected behavior.

yes, the Physics engine will remove the joint and the plugin will create a new one.
@scpeters or @azeey is this correct ?

I'm not able to reproduce the problem locally. Reset seems to work as expected on detachable_joint.sdf.
Screen recording 2023-09-19 15.43.16.webm

Removing beta from this since I can't reproduce this. I also haven't had a chance to review it.

@ahcorde can you try this one more time?


[KAFKA-10708]: Add "group-id" Tag to Kafka Consumer Metrics

Add the "group-id" to the metrics created during instantiation of the KafkaConsumer
https://issues.apache.org/jira/browse/KAFKA-10708
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I couldn't find any tests that are currently testing out the client-id tag for reference.  Would appreciate a point in the right direction.

I'm not sure @kirktrue.


fosrest exception wrapper handler

Im using the jwt auth bundle side by side with the fos rest bundle,
I created my own exception wrapper handler to format my errors the way I want.
But I cant figure out how to intercept {"code":401,"message":"Invalid JWT Token"} which is supposed to be a Symfony\Component\Security\Core\Exception\AuthenticationException

This seems to be not supported for now.
If this feature come to be planed, I think the logic way would be to listen on the  on_authentication_failure (like implemented for the on_authentication_successs event, see [EVENTS::AUTHENTICATION_SUCESS Customization])(https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/2-data-customization.md#eventsauthentication_success---add-public-data-to-the-jwt-response).
@slashfan What do you think about this ? Do you know more ?

Hi, I don't really have time right now but I'm it is indeed an important feature for an API.
What's your opinion @chalasr ? How would you implement that ?

@slashfan After a lot of tries, I just come to make it works using events.
I have a ready patch, but I would like to discuss with you before submit a PR.
First, I created an Events::AUTHENTICATION_FAILURE with a $message property that represents the message field of the Response body (i.e. Bad credentials by default).
Users can create a listener and subscribe this event such as done for the Events::AUTHENTICATION_SUCCESS, then call AuthenticationFailureEvent::setMessage('custom failure message'). The primary goal is to allow users to subscribe to this event in order to do custom stuffs in their application, customizing the response is a kind of bonus, and not very risky because changing the response itself is not possible (no AuthenticationFailureEvent::setResponse method).
Then, to answer this issue and make user able to subscribe on the "Invalid JWT Token" (which is not an authentication from credentials but from token), my first idea was to simply pass the authenticationFailureHandler to our JWTListener and call onAuthenticationFailure (so dispatch the same AUTHENTICATION_FAILURE than on invalid username/password credentials).
It worked well, but the problem is that users can't make a difference between the authentication failure from credentials and the one from invalid token, and so cannot return a different response depending on the use case.
So I created a second event called Events::JWT_INVALID.
Then, in JWTListener::handle(), when an AuthenticationException is catch, rather than return a response and stop the GetResponseEvent propagation, I made the catch dispatching the JWT_INVALID event, in order to allow users to subscribe on this specific event and also modify the response message, like done in the AUTHENTICATION_FAILURE.
Now it works well, users can subscribe on the two events and set a different custom message on the two.
My question is quite simple, what do you think about this? Do you see any downside?
Then, do you prefer that I submit two different PRs to propose each event respectively?
Separate in two would involves some additional work for me (rollback), because I created the two and adapted the tests+doc as long as it evolved, my bad.
I also added an example for each new event in the doc.
If the PR is merged, I think it could be good to add a working example for the two in the bundle sandbox.
You can see the changes by looking at my patch_jwtinvalid_event branch.
Please keep me informed.

@chalasr this is very good work you just did !
I am perfectly OK to use events, the bundle already has a few and it's a great way to customize application behavior. My only concern is about possible BC breaks. Athough it may be dirtier, it might be safer to inject the EventDispatcher in the JWTListener through a setter for now. What do you think ?
Other than that it's OK to do only one PR, besides you already updated the tests and the docs.

@slashfan Totally agreed for the setter, more secure, I'll do the changes before submit the PR.
One last question, I used a setMessage rather than a setResponse in the two events in order to be sure that the responses will stay failure responses by following the default implementation (JsonResponse, 401 status and generic code+message body).
What do you think about this ? Should we give more flexibility by adding a setResponse or a setData like done in the AuthenticationSuccessEvent ? This can be easily changed.

Indeed it would be way more flexible if the entire response could be modified. Adding headers, changing error code or data structure...
Adding a setResponse method on those events should suffice, as long as it enforces a Response object and doesn't accept a null argument. And maybe remove the setMessage methods so it is more clear for the user ?

Ok for replace the setMessage by a setResponse, I submit it when it's done.

@stickyhands did #157 resolved it ?


[Feature] Allow User To Toggle between light/dark mode

Implemented Dark/Light Mode toggle button.
Features:

can toggle between dark and light mode
persist selected mode

Additional Libraries

next-themes (for toggling  and persisting modes )
react-icons (for dark and light mode icons)

Screenshots

This looks nice! But I think the buttons should be inverted - when is dark it should be sun and when is light it should be moon
Also could you move the button next to github stars button? And make it a bit smaller.

Got it !

Issue #15 changes:

Show dark mode icon in light mode and vice-versa
positioned darkmode switch next to github icon
fixed switch not working on first click


Specify user config file via cli or environment variable

Retrieve the user config file from a custom location via:
$ cookiecutter --config /home/audreyr/my-custom-config.yaml cookiecutter-pypackage
or
$ export COOKIECUTTER_CONFIG=/home/audreyr/my-custom-config.yaml
--config takes precedence over COOKIECUTTER_CONFIG over ~/.cookiecutterrc.
Close #424, close #258 cc @jhermann @pfmoore

Current coverage is 99.18%

Merging #565 into master will not affect coverage as of b2fcfcf

@@            master    #565   diff @@
======================================
  Files           12      12
  Stmts          489     493     +4
  Branches         0       0
  Methods          0       0
======================================
+ Hit            485     489     +4
  Partial          0       0
  Missed           4       4

Review entire Coverage Diff as of b2fcfcf

Uncovered Suggestions

+0.41% via ...okiecutter/config.py#19...20
+0.41% via ...ookiecutter/utils.py#27...28

Powered by Codecov. Updated on successful CI builds.

Review pls :bow:

Rebased :triumph:

Oh no https://ci.appveyor.com/project/audreyr/cookiecutter/build/1.0.765/job/72echyrph19hui4r
:weary:

Can you trigger a rebuild, please? Errors seem to be git related. Thanks :bow:

Nvm, removed an obsolete TODO :joy_cat:

Take that, appveyor! :facepunch:

Take that, appveyor! :facepunch:

I laughed :smile_cat:

Ha ha ha. :last_quarter_moon_with_face:

Hrhr :trollface:

TODO

[ ] support forced default config
[ ] do not break backwards compatibility in cli and main
[ ] fix test failures

Added support for ignoring a user config altogether via --default-config or passing None to main.cookiecutter.
I feel this PR drastically improves the ability to write isolated tests. :rocket:


Generic Whitelist

Copying the code for whitelist-updatable but making it for Str's instead of Addr's.
Reason for doing this is so that we can use a whitelist for non-cosmo addresses such as Ethereum.
Reason for not using a configurable contract is that DRY principles do not apply the same in contract programming as in object-oriented programming
Better to have two different contracts that can be selected by the invoking contract at will

since this is not names related, might want to stick it in a different repo, launchpad seems to make more sense

Let's move this to the Launchpad repo as that's where it's most useful. This repo is specifically for Names.

Per the intractable problem of the cyclical dependencies, we are going to leave this package in this repo for now


Move default argument handling to the method entry

Move the handling of default arguments into the method entry. This has two benefits:

We can now correctly model the behavior of assignments to other args in the context of a default argument
We can remove the defaultArgs rewrite pass, and type-errors with default argument expressions will now point to the method they're defined in, instead of the <defaultArg>N function that gets generated

Review by commits

2f99e1326dccdd988f129a81cd6d3986ed5238f3 - This removes the DefaultArgs pass, as well as any names and uniques it depended on
4729be58dee7570129c6c7265261421cd82528c4 - Add the ArgPresent cfg instruction, and use it to decide whether or not to use a default when setting up the values of arguments in builder_entry.cc
eeef9475fa70a687cffd56c994ede2f416fb7225 - Some of our tests had errors due to bad defaults in them, this fixes those tests
78fedbd7f772b394c40807ef6f3d191d894e4b43 - exp files changed, most notably the default args functions are no longer present in the symbol table, and any tests that had cfg exp files and defaults now have additional argument initialization instructions
0154f1c43f9fd842e05ce81310dfd0cc3e46909e - Some LSP tests fail because they are expecting there to be only one definition site for the parameters to a function that has default arguments, but due to the way that defaults are handled in builder_entry.cc there are now two. I think that there needs to be a better fix for this before we merge in this PR, @jvilk-stripe will have a better idea of how to fix this

Motivation

More closely modeling ruby's default args handling.
Test plan

See included automated tests.

@jvilk-stripe and @jez, I've modified the lsp test runner to support default arg definitions having two locations:

80d05875f7c36faa3795732c011d5ad6da652120 - Add support for usage assertions to depend on multiple def assertions
8b1aa3056a2d70a1eba513163dd4436d5a0897f1 - Support the default-arg-value option for def assertions
6e9b9edbb5f1eb994538ad59f0633a442ad13d6f - Update the testing docs to cover the changes to def and usage assertions.

This PR makes #3387 a bit more frequent than before, as it adds some additional control flow to the method entry.


Mouse Button Remapping in Keyboard Manager

Description of the new feature / enhancement
ability to bind all mouse buttons like Side Mouse Buttons, MMB, SCR up,SCR down, LMB, RMB etc.
Scenario when this would be used?
this would allow a lot of nice keybind setups like holding side mouse buttons to alter the functionality of SCR up and SCR down.
this could allow switching between chrome tabs, windows and desktops with just a side mouse button and scroll wheel
Supporting information
Razer Synapse allows you to bind all mouse buttons to any keyboard function, macro or mouse buttons this is extremely useful. but also limiting in certain ways like having to to Razer Synapse open for it to work.

/dup #3364


Add PDFs and wireup through pages

Not all manuscripts have PDFs yet.
fixes https://github.com/elifesciences/enhanced-preprints-client/issues/100

@chris-huggins FYI

Thanks @scottaubrey


The title bar in Windows is light in color in the dark theme for some reason, instead of being dark

Describe the bug
The title bar in Windows is light in color in the dark theme for some reason, instead of being dark.
To reproduce
The title bar in Windows is light in color in the dark theme for some reason, instead of being dark.
Expected behavior
The title bar in Windows is light in color in the dark theme for some reason, instead of being dark.
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response

I am a newbie, can I try this?

@TechBoyy6 Sure

Hello 👋
So i followed this 👇 process for setup
flutter pub get
flutter pub run build_runner build -d
flutter run

but when i do flutter run i get this 👇 error

can someone help?

What flutter version do you use? Can you run flutter doctor please?

You can try to switch to the stable branch (3.10). Alternatively, you can use fvm to run the exact flutter version that is specified by the project.

I used fvm and also install 3.10.0 stable still same


Received a security issue:  Published Vulnerabilities CVE-2023-0842 suppress  xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the proto property to be edited.

https://nvd.nist.gov/vuln/detail/CVE-2023-0842#match-9072644

Closing as duplicate, fixed version has been released.


Add git-town

Starting out with some of the more popular commands.
Git Town makes software development teams who use Git even more productive and happy.

It adds Git commands that support GitHub Flow, Git Flow, the Nvie model, GitLab Flow, and other workflows more directly,
and it allows you to perform many common Git operations faster and easier.

Usage:
  git-town [command]

Available Commands:
  abort                       Aborts the last run git-town command
  alias                       Adds or removes default global aliases
  append                      Creates a new feature branch as a child of the current branch
  config                      Displays your Git Town configuration
  continue                    Restarts the last run git-town command after having resolved conflicts
  discard                     Discards the saved state of the previous git-town command
  hack                        Creates a new feature branch off the main development branch
  help                        Help about any command
  install-fish-autocompletion Installs the autocompletion definition for Fish shell
  kill                        Removes an obsolete feature branch
  main-branch                 Displays or sets your main development branch
  new-branch-push-flag        Displays or sets your new branch push flag
  new-pull-request            Creates a new pull request
  offline                     Displays or sets offline mode
  perennial-branches          Displays your perennial branches
  prepend                     Creates a new feature branch as the parent of the current branch
  prune-branches              Deletes local branches whose tracking branch no longer exists
  pull-branch-strategy        Displays or sets your pull branch strategy
  rename-branch               Renames a branch both locally and remotely
  repo                        Opens the repository homepage
  set-parent-branch           Prompts to set the parent branch for the current branch
  ship                        Deliver a completed feature branch
  skip                        Restarts the last run git-town command by skipping the current branch
  sync                        Updates the current branch with all relevant changes
  undo                        Undoes the last run git-town command
  version                     Displays the version

Flags:
      --debug   Developer tool to print git commands run under the hood
  -h, --help    help for git-town

Use "git-town [command] --help" for more information about a command.

@mcornella for your eyes when you have a chance. thanks for maintaining such a wonderful tool!


Alamofire should more gracefully handle system interference

At the moment, Alamofire doesn't deal well when system frameworks or the Obj-C runtime interfere with URLSession or URLSessionTask identity.
These include:

Use of URLProtocol, as seen in Wormholy, #3373
URLSession swizzling, as seen in Splunk MINT and Crittercism, #3238.
Others.

These sort of issues may explain reports of crashes within RequestTaskMap where the task identity is changed under the hood.

Hi, is this problem solved or it is actual bug?

It's an ongoing issue. Not really a bug, more of something Alamofire could detect and either workaround or warn about so users aren't surprised.


Tables without captions?

Is it possible to have a table without a caption? If yes, how?

In v2, you could give it neither an anchor (#xxx) nor a title.
I.e., just the unadorned table:
| Lars' Table | with | some | content |
|           1 |    2 |    3 |       4 |
|           5 |    6 |    7 |       8 |

It seems to me this was lost in v3.

@levkowetz -- is this still possible in some way?

No, this was removed by the design team; from what I understand the reasoning was that it should be possible to refer to any table (and figure) with fragment identifiers, #table-1, #table-2, etc; and in order to do so consistently all tables and figures would need a caption giving at least the table / figure number.
For figures this isn't a big issue, since they can be replaced by bare artwork, but the table layout code is run only for tables, so there isn't a clear workaround.

Too bad. https://tools.ietf.org/html/draft-eggert-irtf-rfc2014bis-05#appendix-A has a table in it that summarizes changes since the last version, and with v3 that now gets a useless caption added to it.

Tables are often “bare artwork”.
Grüße, Carsten

On 2020-11-04, at 14:37, Henrik Levkowetz<EMAIL_ADDRESS>wrote:
For figures this isn't a big issue, since they can be replaced by bare artwork, but the table layout code is run only for tables, so there isn't a clear workaround.

On 2020-11-04 15:32, cabo wrote:

Tables are often “bare artwork”.

But then you have to format them yourself, rather than use  with
sub-elements, no?
Henrik

On 2020-11-04, at 16:07, Henrik Levkowetz<EMAIL_ADDRESS>wrote:

On 2020-11-04 15:32, cabo wrote:

Tables are often “bare artwork”.

But then you have to format them yourself, rather than use  with
sub-elements, no?

No, I mean, I’m using the table element (however it is called today) to build my in-paragraph-sequence artwork.  That’s what we did in v2 and what Lars has been asking for.
Grüße, Carsten

On 2020-11-04 17:20, cabo wrote:

On 2020-11-04, at 16:07, Henrik Levkowetz<EMAIL_ADDRESS>wrote:

On 2020-11-04 15:32, cabo wrote:

Tables are often “bare artwork”.

But then you have to format them yourself, rather than use  with
sub-elements, no?

No, I mean, I’m using the table element (however it is called today) to build my in-paragraph-sequence artwork.  That’s what we did in v2 and what Lars has been asking for.

Ah.  Right.  And that's a use case that's been dropped in v2.  Ack.
Henrik

On 2020-11-04, at 18:15, Henrik Levkowetz<EMAIL_ADDRESS>wrote:

Ah. Right. And that's a use case that's been dropped in v2. Ack.

Given that  is only deprecated, not removed, maybe that use case is alive and well in v3, just not implemented.
Grüße, Carsten

Hi Carsten,
On 2020-11-05 11:56, cabo wrote:

On 2020-11-04, at 18:15, Henrik Levkowetz<EMAIL_ADDRESS>wrote:

Ah. Right. And that's a use case that's been dropped in v2. Ack.

Given that  is only deprecated, not removed, maybe that use case is alive and well in v3, just not implemented.

The v3 formatters only know how to process the non-deprecated elements, so if
you're going to use those, then  has to be converted to .
As I responded in another thread (I think) yesterday, not taking that path
would have made the deprecation a no-op, and a new round of deprecation
of the same elements would have been needed at some point.
Regards,
Henrik

So I need to use XML? Markdown can't do this?
Also, related: Can I do this for ~~~ figures?

v2 was able to have both tables and artwork without captions.
For v3, Henrik has clarified that this simply isn't implemented for tables; a drop-down to <texttable> doesn't seem to work (apparently, as kramdown-rfc current only generates <texttable>.
For artwork, leaving out captions continues to work for v3: No anchor, no title.
I consider the lack of support of leaving out captions for tables to be a bug, whether that was an intended bug or not.

But if I need an anchor, I get a title, too?
I'm trying to do a bis for RFC8312, which has a bunch of equations and tables that I want to leave as text. But I also need to refer to them from the text...

This:

| Lars' Table | with | some | content |
|           1 |    2 |    3 |       4 |
|           5 |    6 |    7 |       8 |

~~~ foo
Ohne alles
~~~

~~~ foo
Mit anchor
~~~
{: #foo}

~~~ foo
Mit title
~~~
{: title="bar"}

generates this:
                  +=============+======+======+=========+
                  | Lars' Table | with | some | content |
                  +=============+======+======+=========+
                  | 1           | 2    | 3    | 4       |
                  +-------------+------+------+---------+
                  | 5           | 6    | 7    | 8       |
                  +-------------+------+------+---------+

                                  Table 1

   Ohne alles

   Mit anchor

                                  Figure 1

   Mit title

                               Figure 2: bar

Well, if you need an anchor, I don't see how that can be referenced except by giving the table a number, which needs a caption.

So I guess I need to manually manage anchors and references to them. Argh.

As the authors of 8312 apparently did for the equations.
(We need to add equations to RFCXML.)

Yes, we did for 8312 - I was hoping things were better now.

So I gather 8312 is not an example for the lost functionality of tables as paragraphs.
It is also an example for a basic equation feature that we could use.

Correct, the table stuff was for another draft.

(Of course, I'd write a 10-liner to do this for me and generate markdown to my liking.
I could add a counter feature to kramdown-rfc...)

Do you have a pointer to that other draft?

This one wants a table with no caption (in the appendix): https://github.com/larseggert/irtf-rfc2014bis
This one wants captions with something other than "Figure": https://github.com/NTAP/rfc8312bis

The latter: Real captions or equation numbers (in line)?

An option for inline would be nice, but I'd settle for being able to change "Figure".

"Figure" seems to be pretty much hardcoded in xml2rfc.

Oh, and you would want separate counters for figures and equations...

I take it there's still no way to have tables without captions?

On 2022-10-04, at 15:30, jgscudder @.***> wrote:

I take it there's still no way to have tables without captions?

No, that is a known deficit of RFCXMLv3 that has impacted lots of authors.
RFC 7991:
2.54.
Contains a table with a caption with the table number
Please do raise the issue again at @.***; we might be in better luck now with the RFC editor model discussion completed.
Grüße, Carsten


eth_getCode maybe it returns an invalid bytecode

eth_getCode returns invalid code, it needs to be re-troubleshooted to detect whether this is the real output or something is missing
http post $ENDPOINT jsonrpc=2.0 id=1 method=eth_getCode params:='["0xA1c7776AEC3c84fAA5C76165B4d4aF2896457b24" ,
"latest"]'
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 166
Content-Type: application/json; charset=utf-8
Date: Fri, 27 Aug 2021 12:55:44 GMT
Keep-Alive: timeout=5
X-Request-ID: c9fhNMkbW6BLfkBr

{
    "id": "1",
    "jsonrpc": "2.0",
    "result": "0x6080604052600080fdfea2646970667358221220492d4cb56b6240a58b2aa60885316fa22e6c633f656c83de57e6373ab56f1fa064736f6c63430008040033"
}

The output from Remix:
# from remix -- input
0x6080604052348015600f57600080fd5b506104d260008190555061162e600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550603f80606c6000396000f3fe6080604052600080fdfea2646970667358221220492d4cb56b6240a58b2aa60885316fa22e6c633f656c83de57e6373ab56f1fa064736f6c63430008040033

This repository is no longer maintained.


Light alerts fail contrast minimum

.alert-light alerts currently use foreground #818182 and background #FEFEFE with contrast ratio 3.9:1. text should be darkened a smidge to reach 4.5:1
https://v5.getbootstrap.com/docs/5.0/components/alerts/

Can I work on this issue.
I can solve this contrast issue.

May I work on this issue.
I can correct the contrast issue.

As an answer to ^ and https://github.com/twbs/bootstrap/discussions/32061, you sure can propose a fix to this issue by opening a pull request, as long as you are following contributing guidelines.


CFE missing error for patterns

The test co19/LanguageFeatures/Patterns/scope_A01_t01 has the following expectation:
const c = 1;

test() {
  print(c);
//      ^
// [analyzer] unspecified
// [cfe] unspecified
  var [c] = [c];
//           ^
// [analyzer] unspecified
// [cfe] unspecified
  print(c);
}

The CFE currently prints no error on the first use of c in the method.  I believe this is intended to be an error (cc @munificent @eernstg to check me).  The analyzer currently makes this an error.
I don't think this is blocking for beta, marking it stable for now so that we track whether we want to consider this for a cherry pick (I'm initially inclined towards not).
cc @johnniwinther

I do see that CFE reports an error in:
const c = 1;

test() {
  print(c);
  var [c] = [1];
}

It reports the error on the c in [c] and not in the print(c), but the language never specifies where an error is shown, just that some error must be shown in certain circumstances.
Likewise, it does show an error in:
test() {
  var [c] = [c];
}

And:
const c = 1;

test() {
  var [c] = [c];
}

So I think CFE is correctly reporting an error in all of the cases I can think of related to this test. We may just want to update the test expectations to have the error where CFE reports it.

Sounds good to me, thanks.  I'll file a co19 issue.

Filed https://github.com/dart-lang/co19/issues/2009


would it be possible to have a wheel for Python-3.9 beta5 ?

Motivation
Having it also available for Python-3.9 this summer

For the moment, we target the stable Python versions. However, you can run the following command:
$ just build

If that compile, you can generate wheel for that version with:
$ just build-wheel python3.9beta5 <target-triple>

I tried directly with the CI in https://github.com/wasmerio/python-ext-wasm/pull/210.

Python 3.9.0 rc 1 has been released few days ago. I propose to drop the beta 5 and use the RC 1 for the moment.

I think we are not going to support beta or RC versions. We will stick on stable Python versions for the moment. If that's really a need, follow the Development Section to build your own wheels for your specific Python version.
If you disagree, feel free to raise your voice. I will be glad to hear your issues and to address them!


Markdown Syntax Highlightning

Hi,
I am not really firm with markdown parsing / rendering but is it somehow possible to add new languages to the markdown syntax Highlightning? Or maybe overwrite it? ( you mention something similar in screenshot 2 )
My documentations are mostly written down in markdown files and I'd love to see in the preview my syntax. Similar to the GitHub Syntax Highlightning. FYI - I am mostly developing in ABAP ( so I would need this.. )

https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/markdowntextblock

https://blogs.sap.com/2017/02/20/abap-syntax-highlighter-and-code-folding-in-notepad/

Thanks, I'll have a look over this and collect some ideas how to implement this quite easy.


[Devtools/radio-group] asset

Change Type (required)
Implementation of @devtools-ui/radio-group asset.
Implemented (not limited to) the following:
docs/storybook/.storybook/preview.ts
.bazelignore
pnpm-workspace.yaml
plugin/src/plugins/AssetsRegistryPlugin.tsx
plugin/src/plugins/TransformPlugin.ts
plugin/src/index.ts
DSL
React component
Transformer
README
DSL tests
Storybook stories
Docs
Extended scope:

Designed and implement some of the previous from the stand alone @devtools-ui/radio-item asset for the @devtools-ui/radio-group to utilize.
Linked nav items for MDX docs site from assets created prior gen:asset improvements.
Improved naming convention for docs site side navigation for generated assets.

[ ] patch
[x] minor
[ ] major

Is there any reason we're exposing radio item as a separate asset?

Is there any reason we're exposing radio item as a separate asset?

It was decided to follow the same asset convention for design and reusability.


Since 7.4.0, Group-Object cannot group strings containing curly braces

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Since 7.4.0, it appears that the Group-Object cmdlet tries to interpret its string input as .NET format strings.
If a string contains curly braces (U+007B and U+007D), the Group-Object cmdlet throws exceptions associated with the [string]::Format method or the -f operator.
Expected behavior
PS> '{' | Group-Object -NoElement;

Count Name
----- ----
    1 {

PS> '}' | Group-Object -NoElement;

Count Name
----- ----
    1 }

Actual behavior
PS> '{' | Group-Object -NoElement;
Group-Object: Input string was not in a correct format. Failure to parse near offset 1. Expected an ASCII digit.

PS> '}' | Group-Object -NoElement;
Group-Object: Input string was not in a correct format. Failure to parse near offset 1. Unexpected closing brace without a corresponding opening brace.

Error details
Exception             :
    Type       : System.FormatException
    TargetSite :
        Name          : ThrowFormatInvalidString
        DeclaringType : System.ThrowHelper, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
        MemberType    : Method
        Module        : System.Private.CoreLib.dll
    Message    : Input string was not in a correct format. Failure to parse near offset 1. Unexpected closing brace without a corresponding opening brace.
    Source     : System.Private.CoreLib
    HResult    : -2146233033
    StackTrace :
   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at Microsoft.PowerShell.Commands.GroupInfo.BuildName(List`1 propValues)
   at Microsoft.PowerShell.Commands.GroupInfo..ctor(OrderByPropertyEntry groupValue)
   at Microsoft.PowerShell.Commands.GroupObjectCommand.DoOrderedGrouping(OrderByPropertyEntry currentObjectEntry, Boolean noElement, List`1 groups, Dictionary`2 groupInfoDictionary, OrderByPropertyComparer orderByPropertyComparer)
   at Microsoft.PowerShell.Commands.GroupObjectCommand.EndProcessing()
   at System.Management.Automation.CommandProcessorBase.Complete()
CategoryInfo          : NotSpecified: (:) [Group-Object], FormatException
FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.GroupObjectCommand
InvocationInfo        :
    MyCommand        : Group-Object
    ScriptLineNumber : 1
    OffsetInLine     : 7
    HistoryId        : 9
    Line             : '}' | Group-Object -NoElement;
    Statement        : Group-Object -NoElement
    PositionMessage  : At line:1 char:7
                       + '}' | Group-Object -NoElement;
                       +       ~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : Group-Object
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Seems to have been introduced in #20608.
This accidentally reverts the use of StringBuilder.Append(CultureInfo, $"{interpolated}") (added in #18978) back to StringBuilder.AppendFormat(), but keeps the interpolated string instead of using "{0}", value.

We'll be able to test the fix in the first 7.4.1 preview, correct?

@sba923 Yes. And it is already in daily build (link is on main page).


M3-365 Linode Power Confirmation Dialog

I promise this will be the last PR with unnecessary formatting changes :)
Purpose
Adding a dialog confirmation to two destructive actions: powering down and rebooting a Linode

Page object methods for powerOff(linode) and reboot(linode) will have to be updated in e2e/pageobjects/list-linodes.js

@patthiel all ready for you

Tests updated, you are good to go @martinmckenna  🌮 👍