worked on test cases and the workflow

Fixes #27
Unit Tests for Core Functionality of the Python Library
Overview
This PR introduces a comprehensive suite of unit tests for the core functionalities of the Python library, ensuring robustness, reliability, and high test coverage. The tests focus on verifying both standard operations and edge cases to guarantee that the library behaves as expected in a variety of scenarios.
Changes
Core Functionality Testing

TBE File Reading: Added tests to ensure proper reading of TBE files.
Header Stripping and Isolation: Verified that headers are correctly stripped and isolated from the data.
Directory Reading: Created tests to validate the reading of directories containing TBE files.

These tests ensure that the core functions of the library handle valid inputs and provide expected outputs.
Edge Case Testing
The following edge cases are now tested to ensure the library handles them gracefully:

Missing Metadata Fields: Ensures the library responds correctly to missing metadata.
Incomplete TBL Sections: Tests behavior when TBL sections are incomplete or corrupted.
Malformed ATT Attributes: Verifies that the library identifies and handles malformed attributes.
Invalid Datatypes / Unexpected Formats: Tests the system’s robustness against incorrect data formats and invalid datatypes.

These edge case scenarios help validate the reliability of the library under varying conditions.
Test Suite & Reporting

A total of at least 7 unit tests have been created to ensure comprehensive coverage of the core functions and edge cases.
Clear and detailed reporting is provided for each test, ensuring any issues are quickly identified.

Automated Testing Setup

An automated testing setup has been implemented to streamline the testing process, ensuring that tests can be executed efficiently in continuous integration (CI) pipelines.

Running the Tests
To run the tests, execute the following command in your terminal:
PYTHONPATH=$(pwd) pytest -v python/src/tests/test_tbe_file_operations.py

The provided unit tests are a good start, but they can be improved by adding tests for missing functionalities like outputting TBE and CSV files. Additionally, increasing test coverage and using a testing framework like pytest for better reporting will enhance the overall quality of the test suite. Thank you for your effort!


configure module federation shell and microfrontend, load remoteentry.js but show empty page

i configure module federation, and use angular 13
webpack.config.js in host/shell :

app-routing.module.ts in host/shell:

webpack.config.js in microfrontend:

app-routing.module.ts in microfrontend:

but when open url http://localhost:5001/wi show empty page:

and remoteentry.js is loaded :

first i start ng microfrontend with ng s, after that start shell
i open microfrontend url with port 3000 and show my message
but why it show empty page on shell app?

I am having the same issue. Could you please explain what fixed it for you?


Add maintainer nomination template

This is a PR template to propose adding new maintainers
Fixes #912
Signed-off-by: nisha<EMAIL_ADDRESS>

+1

I'd lean towards making the Justification section contain a comment describing possible ways to nominees could have activity, rather than fixed headings. It gives flexibility to participate in different ways. Some may attend meetings, respond on the mailing list, in slack, and I think all sorts of contributions should be valuable. The key part for me is whether they'll help respond to PRs since that's the primary responsibility for being a maintainer that I see.
I think we also want to look at what other templates would be useful, but that can be separate from this PR.

May 26 meeting: remove headings under justification and instead add comment on possible work a nominator can highlight

@opencontainers/image-spec-maintainers PTAL

Can we get a merge on this?


Fix help blurring whole page

Currently, when pressing the ? key or the little ? button next to the search bar that was recently added to rustdoc, the whole page is blurred. This makes the help unreadable.
This is caused by doc.rs's "sandboxing"/"containerization" of rustdoc which messes up rustdoc's style. This was previously discussed in #52 and fixed in a8a3ece but a recent refactoring of the stylesheet in #943 messed up the fix.
From a cursory glance, it looks like all other changes in that PR were correct but the rule for body.blur was changed to body { .blur { ... } } in SASS which gets translated to body .blur (with a space in between, which has a different meaning).
This PR fixes this problem by changing the rule to body { &.blur { ... } } which SASS now again correctly translates to body.blur { ... }, therefore restoring the correct behavior of the previous fix, causing only the background to be blurred again.

Nice, yes this looks like the right fix.
r? @GuillaumeGomez - I like this fix better than https://github.com/rust-lang/rust/pull/77651, I had a feeling this was something on the docs.rs side.

I'm fine with it too. :)


Develop

Hello @EdinsonRequena! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file 06_python_avanzado/extras/callable_vs_tipyng.Callable/builtin_callable_example.py:

Line 5:80: E501 line too long (84 > 79 characters)
Line 8:80: E501 line too long (97 > 79 characters)

In the file 06_python_avanzado/extras/callable_vs_tipyng.Callable/main.py:

Line 2:80: E501 line too long (135 > 79 characters)
Line 5:80: E501 line too long (89 > 79 characters)
Line 6:80: E501 line too long (175 > 79 characters)
Line 7:80: E501 line too long (191 > 79 characters)
Line 8:80: E501 line too long (213 > 79 characters)
Line 12:80: E501 line too long (102 > 79 characters)
Line 13:80: E501 line too long (110 > 79 characters)
Line 14:80: E501 line too long (94 > 79 characters)
Line 15:80: E501 line too long (144 > 79 characters)
Line 19:80: E501 line too long (134 > 79 characters)
Line 20:80: E501 line too long (160 > 79 characters)
Line 21:80: E501 line too long (214 > 79 characters)
Line 23:80: E501 line too long (145 > 79 characters)
Line 24:80: E501 line too long (127 > 79 characters)

In the file 06_python_avanzado/extras/callable_vs_tipyng.Callable/typing.Callable_example.py:

Line 5:80: E501 line too long (132 > 79 characters)
Line 9:80: E501 line too long (135 > 79 characters)


buildDunePackage: use dune_2 by default

Description of changes
Borrows some changes from #162745 and the purpose of #163766.
cc @ulrikstrid @sternenseemann
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

According to a quick grep pkgs/development/ocaml-modules/reason-native/console.nix also relies on the default value, did you check whether it still works with dune 2?

I did rebuild all changed path. This includes reason-native for OCaml versions from 4.04 to 4.07 (included).

Hm, a small note in the 22.05 changelog would be good as well, I suppose?


weak imports: skip CLT check if Xcode is installed

Xcode 8 plus CLT 7 should return true for weak imports support.
Thanks to @JCount for spotting this bug.

Current coverage is 83.57% (diff: 100%)

Merging #1001 into master will increase coverage by 8.06%

@@             master      #1001   diff @@
==========================================
  Files           360        340     -20
  Lines         15469      13977   -1492
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          11680      11681      +1
+ Misses         3789       2296   -1493
  Partials          0          0

Powered by Codecov. Last update c419f92...28d78c7

Does depend on the active developer directory?

i.e. xcode-select --print-path

No ... developer directory is the default
iMac-TMP:local joe$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer

Without this PR, or an equivalent change, you get false from the existing code if both Xcode and CLT are installed since 7 < 8 for the CLT.

@ilovezfs Sorry, I mean: what if it's not the default and it's pointing to the CLT?

current code without PR:
false clt only
false clt + xcode, xcode-select pointing at xcode
false clt + xocde, xcode-select pointing at clt
with PR:
false clt only
true clt + xcode, xcode-select pointing at xcode
true clt + xcode, xcode-select pointing at clt

also I imagine this code is probably preferable
    if MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0"
        return true
    end

    if MacOS::CLT.version && MacOS::CLT.version >= "8.0"
      return true
    end
    false

Interestingly, with or without this PR, having your xcode-select pointing at /Library/Developer/CommandLineTools with both Xcode and CLT installed dies in a ball of flames:
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
clang is unable to create an executable file.
If clang is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
<EMAIL_ADDRESS>mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: ./configure --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
1. raise
2. ignore
3. backtrace
4. irb
5. shell

@MikeMcQuaid in any case, since there seems to be some hesitation here I may just go with the ridiculous fix for now
    inreplace ["libavdevice/v4l2.c", "libavutil/time.c"], "HAVE_CLOCK_GETTIME",
                                                          "POKEMON"

Recent Pokemon games have clock gettime too.

Ah, then we can do
diff --git a/Formula/ffmpeg.rb b/Formula/ffmpeg.rb
index 1b60d4b..4c03701 100644
--- a/Formula/ffmpeg.rb
+++ b/Formula/ffmpeg.rb
@@ -91,6 +91,12 @@ class Ffmpeg < Formula
   end

   def install
+    # Fixes "dyld: lazy symbol binding failed: Symbol not found: _clock_gettime"
+    if MacOS.version == "10.11" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0"
+      inreplace %w[libavdevice/v4l2.c libavutil/time.c], "HAVE_CLOCK_GETTIME",
+                                                         "UNDEFINED_GIBBERISH"
+    end
+
     args = %W[
       --prefix=#{prefix}
       --enable-shared

:green_apple: but since this will make no_weak_imports actually work without breaking 10.11, and therefore encourage its use ...

Checking the CLT and/or Xcode version is probably not the best solution when checking for linker flag support. The problem is that this feature depends on a sufficiently recent ld64 (the project behind the static linker ld); for -no_weak_imports it's version 274 or newer to be precise.
However, the static linker is rarely invoked directly and most often via some frontend like clang, gcc, etc. The problem here is that it's not always obvious which frontend will pick which version of ld (and from where). E.g. who can immediately answer what a Homebrew-provided GCC will use? (Spoiler: I cannot.) The first safe thing I can think of is to do trial compilations (autoconf style), but that's hardly a satisfying solution.

Interestingly, with or without this PR, having your xcode-select pointing at /Library/Developer/CommandLineTools with both Xcode and CLT installed dies in a ball of flames:

That's a problem we might want to address and that is explained by the above paragraph. Though this should be a transient issue that only arises now because we've ended up in a situation where CLT and Xcode versions don't match (thanks Apple!), something we don't usually have.

Things we've learned today which may or may not change at a later date:

no one should be using ENV.no_weak_imports at this point
anyone with Xcode 8 and CLT 7.3.1 should sudo xcode-select -r if they set it to the CLT.


New command line interface running in wrong environment

I'm trying to start the command line executable in production mode. It seems it doesn't take the RAILS_ENV variable into account.
$ bundle exec que ./config/environment.rb RAILS_ENV=production
bundler: failed to load command: que (/var/www/site/shared/bundle/ruby/2.3.0/bin/que)
ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["production"]

Figured it out. The RAILS_ENV variable needed to precede the command.


Render straddle in esv-intersection

Support for straddle is implemented in wellx-wellog.
We'll start off with a new layer in esv-intersection for image-based components.
Here is a image of a straddle in well-log, the visuals of the plug should be the same in esv-intersection.

Implemented through PAndASymbol

Testing:
Should appear in the same way as in the well schematic, and moving the straddle in the well schematic should move it in intersection.

Looks good. Please proceed.


Ship ES5 compatible version to NPM

Solving #17

Add a basic babel config to compile things for node 4 (babel-preset-env will transpile down to support whatever node version we specify)
Update index.js to import source from ./build instead of ./src
Add .npmignore to ensure we're not publishing the source or tests to npm

We might need the babel-polyfill if we use certain object/array methods that are not supported in ES5 environments (see https://kangax.github.io/compat-table/es6/ for reference)

You're on a roll, Henry!

Figured i'd take advantage of some free time at the end of the work day 💃

@timbuckley to make things more manageable when transpiling w/ Babel. I moved the index.js file out of the top level into src/ to keep all of the things that will get converted in one place.
I then updated the package.json to refer to build/entry.js instead of index.js to ensure that it's grabbing the ES5 compatible version.
Let me know if you're cool with that change in organization. I decided to keep src/index as is, but we could rename that file if desired.


Allow users to switch between Avro and Protobuf when creating new topics

The user should switch between both types as required. Right now, Quick assumes all schemas are in Avro.

Superseded by #21


fix: "host-metrics" should collect system (os) cpu metrics to comply …

Which problem is this PR solving?
This is a fix for the problem described at #420
Short description of the changes
This fix replaces process.cpuUsage() with os.cpus(). Since the latter returns cpu details in milliseconds per core, this change also required an update to report metrics on a cpu basis (which is also within the spec) and to convert from milliseconds instead of microseconds. Additionally interrupt and nice metrics are added. Tests have been updated accordingly.

@svrnm Thanks for your contribution !


iOS 18 support

Reported not to work on iOS 18
https://njump.me/nevent1qqsvdhnq4j6udn8xs02vhyh5knxjcm6ckg8z3n27axtrh4a25wga83spz4mhxue69uhks6tnwshxummnw3ezumrpdejqzynhwden5te0wp6hyurvv4cxzeewv4eszyrhwden5te0dehhxarj9emkjmn9qyw8wumn8ghj7mn0wd68ytndw46xjmnewaskcmr9wshxxmmd4recl6

I can confirm that it does not work on ios18

It looks like this also impacts macOS 15 Sequoia

I personally have not used nostr in a long time and do not plan on updating this app again. If someone with a solid track record would like to maintain the app themselves, I would happily transfer maintainership over to them, and control over the app in the App Store (if that is possible, I have no investigated).

Thanks. Give me a day or two to evaluate it. If it all checks out I will release it.

The update has been pushed to TestFlight.

Will it be published in the App Store?

Thanks @fishcakeday and @ursuscamp its working again!

The macOS app store still shows the old version.


Add issuer and expiration validation for API keys

Summary
Enable validation for the iss and exp fields in the API key token. These fields are now required to be in the token when using API key authentication.
The generatekey command will produce a token with the iss field set to https://github.com/dotnet/dotnet-monitor/generatekey+MonitorApiKey (this is an existing behavior) and the exp field set to expire 7 days from when the token was generated (this is a new behavior). The expiration can be overridden with the --expiration option.
In the case where a customer is generating their own JWT keys to be used with .NET Monitor, they can override the expected issuer in configuration by setting Authentication__MonitorApiKey__Issuer to the value of the issuer that is expected. Setting this is optional; its default value is https://github.com/dotnet/dotnet-monitor/generatekey+MonitorApiKey.
This is a breaking change because both the iss and exp fields are now required and validated. This will not cause disruption to most usage of the API key authentication as it is expected that customers will use the generatekey command to create the appropriate settings and the key will have a lifetime of 7 days. Those customers who are creating their own API key must now set both iss and exp in the key and configure Authentication__MonitorApiKey__Issuer within .NET Monitor for the tool to accept the API key.

Release Notes Entry

/backport to release/8.0

/backport to release/7.x


Feedback hanwen

Hi @jonasld23,
Thanks for your wonderful contribution, it has been a great time to review your website!
I think your empirical estimation part is perfect, restrictions are well implemented, and results are well explained. I have only made two commits on your qmd. file.

I corrected a tiny typo in one of the equations, please check it here: 61a229541890e2c7b4f57069bce6b918ae225be6
I formatted tables a bit, so they can be referred to with numbers as in 9bffe47ece4a64d8fc73c10f67fe9a84354ff8d6. But I have not figured out how to do subscripts in table captions yet, so I used Matrix B[0] instead of Matrix $B_0$, feel free to change those captions if you know how!

Overall, this is impressive work, well done !!!

Hi @hanwenzhang0317 (aka big brain),
Thank you very much for your kind words. I'm glad you enjoyed browsing through my website.
Your suggested changes are very helpful and constructive. I have therefore merged both commits to my master branch.
Many thanks again and good luck for the final submission and your other exams! Do not despair!
Stay in touch.
Jonas


Updated Flashing Event

Updated Flashing Event
Fixed lua And Added Color Cyan And Purple!
here dowload : https://www.mediafire.com/file/eobk5lg3a2horj3/Flashing_Event.rar/file

Originally posted by @denisyss in https://github.com/ShadowMario/FNF-PsychEngine/discussions/2468#discussioncomment-1854933

Put this in discussions.


Documentation missing: Accessing (Azure blob storage) files from task

I connected an Azure blob storage via the SDK. I can sync the data via the SDK as well:
    response = project.connect_azure_import_storage(
        **load_config(AZURE_STORAGE_CONFIG)["import"], **load_config(AZURE_STORAGE_CREDENTIALS_FILE)
    )
    client.sync_storage(*itemgetter("type", "id")(response))

Works fine. When I implement a derived class for label_studio_ml.model.LabelStudioMLBase the path to the image under task["data"]["image"] to run pre-labelig on has a prefix of "azure-blob://<path/on/storage>". I spent 4 days now trying to figure out how I can access the file under "path/on/storage". Of course, I could download it AGAIN via the azure blob-storage SDK. But obviously it has already been downloaded, because the image is displayed in the label studio browser UI after syncing the storage.
class Labeler(LabelStudioMLBase):
    ...

    def predict(self, tasks, **kwargs):
        predictions = []
        for task in tasks:
            logger.trace("task:\n" + json.dumps(task, indent=2))
            path = task["data"][self.value]  # will be "azure-blob://<path/on/storage>"
            ...

So, how do I get the locally stored image under path? Documentation does not mention this at all! Or it is really well hidden!
I also looked through examples like these:
https://github.com/heartexlabs/label-studio-ml-backend/blob/master/label_studio_ml/examples/pytorch_transfer_learning/pytorch_transfer_learning.py
https://github.com/heartexlabs/label-studio-ml-backend/blob/master/label_studio_ml/examples/tesseract/tesseract.py
Did not help answer this either.

https://labelstud.io/guide/export.html#Accessing-task-data-outside-of-Label-Studio-instance
Does this docs section help?

Did you find any solution ? Suffering from the same problem

@wadhah101 No, I ended up with the manual re-download.

@mbspng @wadhah101

But obviously it has already been downloaded, because the image is displayed in the label studio browser UI after syncing the storage.

It's not true. LS doesn't touch user data by security reasons. LS requests your storage to create pre-sign https urls only, they are loaded by your browser and the LS backend stores nothing on the disk.
So, there is only one way - to download resources using Azure SDK in your ML backend.

@makseq  How does that make sense? I can see the images in the browser. And THEN I am re-downloading them. So they HAVE to be on my machine somewhere already.

@mbspng Check image links in your browser - they are from azure servers directly.


Make arguments for PatchManager and Production match names

The arguments for PatchManager are title and patch and for Production they are package and patch. I think they should be package and patch for both.
The code below will edit all your recipes to conform if you have some old ones.
for i in *.ptch.* ; do
  sed -a -e 's/title/package/' $i > tmp.recipe ; mv tmp.recipe $i
done

Done in commit https://github.com/Honestpuck/PatchBotProcessors/commit/42d1af1fe4aec229a77ca6a5825b1d366f11d868


Fix typo in index.md

arg, blah, I didn't get a notification when you sent this in.

I'll look at it tonight or tomorrow. I'm heading home atm.


Bug: There seems to be a problem with Smart Collection Filter by Genre when a Genre does not exist.

When setting up a smart collection for, lets say cooking:  you set genres "cooking, food".  If the library contains the genres, then the smart collection works fine. However, if a genre does not exist, it defaults to the first genre it finds in the list... in my case, in TV library it found cooking shows fine.. in my Movie library, where neither cooking nor food genres exists, the smart collection becomes "where genre is Children AND genre is Children" (children is the first item in the list of genres that I see).  I have validation on for collections but did not see an error when this happened, just saw a cooking collection with > 5K movies in it...

This is an limitation with my configurations (which you seem to be using).
I'm sure the template has validation set to false, but you can turn it on for the ones that you have issues with to get around this issue.
Alternatively, I would suggest you comment out the collection where you do not have any of the desired genres.
I'm going to close this as it isn't really a PMM issue.


"directory" resource does not set "owner" that is not in /etc/passwd

When attempting to create a directory with an LDAP user as the owner, the ownership stays as "root"
During my tests I could only set ownership if the username is in /etc/passwd file:
directory '/home/user1' do
owner 'user1'
group 'ldap-users'
mode '0755'
action :create
end
If I run "sudo chown user1 /home/user1" after chef-client, the ownership is changed without any issues.
Version: Chef: 11.12.0.rc.1
Environment: Ubuntu 12.04

@gkugel Is the chef-client run where this is failing also the first time ldap is being configured?  If so, you might be hitting a problem with the fact that deep down in the stack (glibc), there is caching that occurs at the per-process level which means that configuration changes around nss aren't picked up by that process.

Yeah that most likely will not be solvable short of patching ruby itself and/or running nscd with user and group caching turned on.  I doubt there's a fixable chef-client bug here.

Yep, looks like caching issue.  Restarting nscd seems to have helped.  Thank you!


Panic when deploying application

Bug information
Steps to reproduce (required)

Create a new k3s cluster with k3d cluster create
Initialize Radius 0.27 with rad init
Create a new file named app.bicep with the following contents:

import radius as radius

resource app 'Applications.Core/applications@2023-10-01-preview' = {
  name: 'myapp'
}

Deploy the app with rad deploy ./app.bicep
Get error message (below)

Observed behavior (required)
rad deploy .\app.bicep
Building .\app.bicep...
Deploying template '.\app.bicep' into environment 'default' from workspace 'default'...

Deployment In Progress...

..                   myapp           Applications.Core/applications
Error: {
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please see the details for the specific operation that failed.",
  "target": "/planes/radius/local/resourceGroups/default/providers/Microsoft.Resources/deployments/rad-deploy-d680eed6-5e9d-4892-9beb-7e8c3d231bb9",
  "details": [
    {
      "code": "Internal",
      "message": "unexpected error: runtime error: invalid memory address or nil pointer dereference",
      "target": "/planes/radius/local/resourceGroups/default/providers/Applications.Core/applications/myapp"
    }
  ]
}

TraceId:  0b5c759598282c25d75c4b9a65e12c0b

Desired behavior (required)
I expect that my application can deploy correctly
Workaround (optional)

None
System information
rad Version (required)

Operating system (required)

Windows 11, x64
AB#10593

bicep-logs.txt
rp-logs.txt
ucp-logs.txt

I'm guessing that this repros when properties is omitted.

I'm guessing that this repros when properties is omitted.

Yep that fixed it. We should make properties.environment a required field


✨ Draft API for requesting return of singleton reported state

Summary
This PR proposes an API by which (1) users explicitly request return of reported state when the number of executing copies is 1 (i.e., #772) and (2) the implementation reports the number of executing copies.
This PR is for review of the proposed API.  It would be confusing to merge the API extension without the accompanying implementation.
Related issue(s)
Fixes #

/cc @dumb0002
/cc @cwiklik
/cc @clubanderson

The force-push to 6ab57c2c8 is a rebase onto main.

/lgtm
/approve


How to use  getLocationX() and  getLocationY() in CombatLogEntry?

I am trying to get a hero's location when some combatlog event happens. I found two functions in the CombatLogEntry named getLocationX() and  getLocationY(). I guess that it returns the location of the events (however it is not so clear because an CombatLogEntry should have a Target and an Attacker, which are in different location). So I tested them  with the code below:
        case DOTA_COMBATLOG_DEATH:
            log.info("{} {} is killed by {} at {} ,{}",
                time,
                getTargetNameCompiled(cle),
                getAttackerNameCompiled(cle),
                cle.getLocationX(),
                cle.getLocationY()

            );
            break;

It is just a slight change on the clarity-examples\combatlog code.
The result is that  those functions return 0.0 all the time. Can somone please show me how to use those two functions correctly?
By the way I cannot find the source code of those functions, Can someone tell me where it is?
Thank you!

Might well be that the dota client does not encode the position of the death event in the combat log.
If so, you can get at player positions by using entities.

See for example https://github.com/skadistats/clarity/issues/211

Unfortunately, the data is not there.


fix #50. Wrapping command arguments in single quotation mark to avoid imprope CMD instruction parsing

You have to use %q otherwise this can happen:
petrosagg@rachmaninoff ~ % cat test.sh
#!/bin/bash

args=( "$@" )
echo -e "#!/bin/bash\n exec "$(printf "'%s' " "${args[@]}")
petrosagg@rachmaninoff ~ % ./test.sh test\'
#!/bin/bash
 exec 'test''

Not directly related to @nghiant2710 current changes, I'm also posting the following info for reference because it took me a while to figure out why this:
CMD=$(which $1)
shift
exec "$CMD" "$@"

works in the no-systemd (else) case. The reason is that a Dockerfile CMD instruction in shell form following an ENTRYPOINT instruction (like in our case) passes 3 separate arguments to the command set in ENTRYPOINT:

'/bin/sh'
'-c'
'what follows the CMD instruction'

@petrosagg, I've updated this PR. Please have a look,


Route::getData('hasMiddlewares') ignore disabled middlewares

For example:
        $route = Route::get('/')
            ->middleware(DummyMiddleware1::class)
            ->disableMiddleware(DummyMiddleware1::class);

        $this->assertTrue($route->getData('hasMiddlewares'));

Seems, in this case $route->getData('hasMiddlewares') should returns false.

Preferrably so, yes.

See https://github.com/yiisoft/router/pull/157


Trip meter value not showing

Hi guys,
I installed 1.6.0 and my trip meter (huidige kilometerstand) is showing unknown (onbekend). Huidige trip meter is also showing unknown.

maybe check the log, maybe the value is too high due fault on polestar data

@mountainbikert can you take a look in it?

After a couple of hours it was showing the value again in the correct format.


logic of CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL doesn't match its document (IDFGH-12318)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
The document says
if (size < threshold) //use internal RAM
else //use external RAM

but the code use <= instead, so which one is wrong and what's the expected behavior?
https://github.com/espressif/esp-idf/blob/60a2bf6a68867fd468a250966230a067f8d97ea2/docs/en/api-guides/external-ram.rst?plain=1#L103-L104
https://github.com/espressif/esp-idf/blob/60a2bf6a68867fd468a250966230a067f8d97ea2/components/heap/heap_caps.c#L235-L239

@yyjdelete We've created a fix for this which will be available on master soon, thanks for noticing!


anti-spam parameters

Can you expand more on this topic? Can you give some kind of example or explain what you want to say with "a method that signs the URL with anti-spam parameters".
Thanks

Requests made by the TikTok app are signed with 3 anti-spam parameters: as, cp and mas.  The signing process is non-trivial and uses a shared C++ library.
The easiest approach would be to look at how the Android app uses the Java Native Interface to bridge between Java and the shared library, and think about how you might implement something on a smaller scale.
I'm closing this issue as it is too similar to #9.

Thanks I just found how the app creates those parameters.

@NoNameSorryButHeyCallMeSherlock  Can you please provide me with the process? Your help will highly be appreciated.

@sskhokhar I don't want to link the repository directly but look into my profile and looks for the anti-spam repository.

@LCSP can you add here the anti-spam repository ?  thanks

@cook1e-monster https://github.com/LCSP/tiktokapi-security


[Question] update and release schedule?

This project has been unmaintained for a long time, especially since one of the crucial dependencies Monocle has been outdated, and its API changes rapidly in the new versions.
If needed, I'm willing to do the necessary work to keep the dependency up to date.

Hi @GreyPlane I'd be happy to have you help out.  Please feel free to review and and submit the PRs tagging us.

@GreyPlane If you can get this https://github.com/circe/circe-optics/pull/305 over the line that would be great as that gets the builds and releases to work with ease rather than being unique per repo.

Thanks, I will looking for it.

@zmccoy #329
it looks like all CI check passed.

@GreyPlane Got that merged, thanks a ton for that, sorry it took us a bit to get to.

@GreyPlane We'll get that merged, thanks a ton for that, sorry it took us a bit to get to.  Happy to merge any more things, please feel free to comment or approve PRs for the deps as well.  That would be fantastic.


Modifying the relation field causes a race condition

Due to a bug in publish-composite (https://github.com/englue/meteor-publish-composite/issues/29#issuecomment-69937916) I've been considering using this package as an alternative. However it appears to have a similar problem.
@Goluis Could you please take a look at the issue linked above?

I'm using this package to run publications with up to 5 collections together without any problem (using Kadira).
but really can not say that this is not happening, I'll run some tests as soon as possible.

Thank you for your answer. I was calling this.cursor twice in the same function which you mark as a limitation in the README. So it's maybe a false alarm, and not the same problem I experienced with publish-composite.
I'll test again and share any result.

the limitation is when you try to post a cursor with the same name collection 2 times not when you use
this.cursor several times, I guess my readme is not very clear with that

Ok so it was a mistake with my testing methodology, it seems to work, at least it doesn't have the same issue as publish-composite. Sorry for the false alarm.
But I have another issue, I sometimes experience data loss (depublication). I'll investigate this issue tomorrow but if you just want to have a quick look you can go to http://libreboard.com, create a board and add ~30 cards in the first column. Then use the column menu to “move all cards in this list” into the second column. Repeat the operation a few times and you should experience data depublication. Reloading the page solves the issue. Did you already experience something similar?

you're right, the information is lost, at this time I am reviewing the package and if not find the solution I will review libreboard also on github

I have found the error, I will implement the solution

Oh great, thank you!

Did you get a chance to work on this? Feel free to share what the problem is if I can help implement a solution.

when a card is updated two messages are received in the observer: removed and added. removed goes first and then added adds again the document.
but when all 30 cards are updated at the same time these messages are confused and added arrive first and then are deleted
in publish-composite messages are also confused but keep coming Added first.
right now I have a version of cottz-publish that I did to fix this problem but not 100% guaranteed because I still have not finished


[Snyk] Upgrade camunda-external-task-client-js from 2.3.1 to 3.0.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade camunda-external-task-client-js from 2.3.1 to 3.0.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 9 months ago, on 2023-06-28.

Release notes

Package name: camunda-external-task-client-js

3.0.1 - 2023-06-28What's Changed
Features

Update got package (#3135)
Rethrow errors when calling TaskService api (#3222)

Full Changelog: https://github.com/camunda/camunda-external-task-client-js/compare/v3.0.1..v3.0.0-alpha1

3.0.0 - 2023-04-03What's Changed
Features

Bump json5 from 2.2.1 to 2.2.3 (#3091)

Full Changelog: https://github.com/camunda/camunda-external-task-client-js/compare/v3.0.0-alpha1..v3.0.0

3.0.0-alpha1 - 2022-11-30What's Changed
Features

Add extension property support (#264)
Update dependencies to latest version & update project to ECMAScript modules (#265)
Update path-parse dependency (#268)

New Contributors

@ alainosorio made their first contribution in #264

Full Changelog: v2.3.1...v3.0.0-alpha1

2.3.1 - 2022-11-22What's Changed
Features

Bump multiple dependencies in JS external task client (#2801)

Full Changelog: v2.3.0...v2.3.1

    from camunda-external-task-client-js GitHub release notes

Commit messages

Package name: camunda-external-task-client-js

58496bc chore(release): prepare release of version 3.0.1
26df798 chore(client): update got
cf7c540 fix(task-service): rethrow error when calling api (#281)
67d14e3 chore(release): set next development version
251dd23 chore(release): prepare release of version 3.0.0
d4936ee chore(deps): bump json5 from 2.2.1 to 2.2.3 in /test
ad5f00e chore(deps): bump json5 from 2.2.1 to 2.2.3
2fe6cfd Update NOTICE file
2aa2e6a chore(release): set next development version
8108de4 chore(release): prepare release of version 3.0.0-alpha1
7e3a3ca chore(readme): add esm info
3339864 feat(client): update path-parse dependency
161a0db feat(client): update to latest version & esm
170192f feat(client): add extension property support
f212be5 chore(npmignore): add `.github`

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

There is an error related to this update:
PS C:\Users\jacqu\source\repos\Keycloak-Camunda\camunda-worker> npm start

<EMAIL_ADDRESS>start
nest start

C:\Users\jacqu\source\repos\Keycloak-Camunda\camunda-worker\dist\camunda_worker\start_camunda_worker.js:5
const camunda_external_task_client_js_1 = require("camunda-external-task-client-js");
^
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\jacqu\source\repos\Keycloak-Camunda\camunda-worker\node_modules\camunda-external-task-client-js\index.js from C:\Users\jacqu\source\repos\Keycloak-Camunda\camunda-worker\dist\camunda_worker\start_camunda_worker.js not supported.
Instead change the require of index.js in C:\Users\jacqu\source\repos\Keycloak-Camunda\camunda-worker\dist\camunda_worker\start_camunda_worker.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\jacqu\source\repos\Keycloak-Camunda\camunda-worker\dist\camunda_worker\start_camunda_worker.js:5:43)


Rename DCOS_ACS_TOKEN to DCOS_CLUSTER_SETUP_ACS_TOKEN

DCOS_ACS_TOKEN is already used and planned to be used for passing
information to plugins. If a plugin does a cluster setup it would then
cause issues as the flow would try to use the current cluster's ACS
token (due to the default child process env var inheritance).
It makes sense to reduce the scope of this env var to the cluster setup
command. It remains an undocumented env var for internal usage at
Mesosphere.
https://jira.mesosphere.com/browse/DCOS_OSS-4176

@mesosphere-ci run integration tests


Improve SemTK/SPARQLgraph handling of 'List' so it is at least consistent

Once again thanks for helping me this. I did find something – In my ontology I am using List and I know we do not handle it in SemTK.

The thing that is interesting is that while top left view below does not show “children”; the construct view puts in a placeholder “_:b0”. In the screen capture below, I had started out with just one “Function” and then I double clicked on one of the ExpNode. But maybe because of the “List” issue, the other properties of ExpNode do not show up.
I am not asking you to handle List rather that for ExpNode you might choose to ignore “List” property in construct query but show the other properties?

Thanks
Abha

Looks like there is a similar problem with "Metadata"

There are limits to what SemTK can do here without major architectural changes.   Lists are implemented as an instance with type that is a blank node subclass of List.

This creates a parameterized class List.   SemTK would have to change _:b0 into a new Class: ListRestrictionsA where RestrictionsA embodies the list length restrictions.
Further the excessive use of blank nodes makes the double click on construct feature very difficult because blank nodes are not consistent across queries, so you can't expand a blank node returned by a previous click.
SemTK has attempted to not handle SADL3 lists gracefully by:

loading all lists into the ontology as untyped List.   List properties will show up in the ontology.  (You must load SadlListModel.owl to see anything half meaningful)
queries won't include a FILTER constraint on type List.   The instances' types are in the triplestore are not actually List, but the blank node.  This allows some returns until it gets wrapped around blank nodes.
queries are still awkward and ingestion probably impossible.
lists returned by construct queries will show up to an extent, but attempting to expand your way through them with double clicking will terminate at the blank node.


Add Favorites

Add Favorites
Add favorites icon
Implement add and remove
Use jotai as state manager

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#40  👈
#39
#38
#37
#36
#35
#34
#33
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kanziw and the rest of your teammates on  Graphite

Merge activity

May 4, 11:58 AM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.


Add initial product schema yaml file

Signed-off-by: Ryan Banks<EMAIL_ADDRESS>

We've decided to take the product schema in a different direction that makes this PR obsolete


Information page cms 179 test rebase

What is the context of this PR?
Describe what you have changed and why, link to other PRs or Issues as appropriate.
How to review
Describe the steps required to test the changes (include screenshots if appropriate).
Follow-up Actions
List any follow-up actions (if applicable), like needed documentation updates or additional testing.

Testing rebase to sign unverified commits!


Error message when installing via pip

Hey, something is going on when installing awscli-local via pip:
docker run -ti --entrypoint bash python

root@dbb55d128863:/# pip install awscli-local
Collecting awscli-local
  Downloading awscli-local-0.12.tar.gz (5.0 kB)
Collecting localstack-client
  Downloading localstack-client-1.10.tar.gz (4.3 kB)
Collecting boto3
  Downloading boto3-1.16.40-py2.py3-none-any.whl (130 kB)
     |████████████████████████████████| 130 kB 1.8 MB/s
Collecting botocore<1.20.0,>=1.19.40
  Downloading botocore-1.19.40-py2.py3-none-any.whl (7.1 MB)
     |████████████████████████████████| 7.1 MB 15.5 MB/s
Collecting jmespath<1.0.0,>=0.7.1
  Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 11.9 MB/s
Collecting s3transfer<0.4.0,>=0.3.0
  Downloading s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
     |████████████████████████████████| 69 kB 8.5 MB/s
Collecting six>=1.5
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting urllib3<1.27,>=1.25.4
  Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
     |████████████████████████████████| 136 kB 27.7 MB/s
Building wheels for collected packages: awscli-local, localstack-client
  Building wheel for awscli-local (setup.py) ... done
  Created wheel for awscli-local: filename=awscli_local-0.12-py3-none-any.whl size=4529 sha256=5f0fb63be73b03ae5b4ca544438f7bc294c1d1ccc958eaefe6839a395728a665
  Stored in directory: /root/.cache/pip/wheels/ce/35/2f/26fb372ab125cb51548b95876ac844fda1c311455770e9b73c
  Building wheel for localstack-client (setup.py) ... done
  Created wheel for localstack-client: filename=localstack_client-1.10-py3-none-any.whl size=3809 sha256=8f76b99d892cc75c5cf02a97b61e3000011a4ded27392b71a88bc2b457c4998e
  Stored in directory: /root/.cache/pip/wheels/5e/ed/92/4f85adb3f58631a730c35d08bdad0fe7a6d0c48b8456e522f8
Successfully built awscli-local localstack-client
ERROR: Error while checking for conflicts. Please file an issue on pip's issue tracker: https://github.com/pypa/pip/issues/new
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map
    return self.__dep_map
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
    raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 517, in _determine_conflicts
    return check_install_conflicts(to_install)
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/operations/check.py", line 107, in check_install_conflicts
    would_be_installed = _simulate_installation_of(to_install, package_set)
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/operations/check.py", line 135, in _simulate_installation_of
    package_set[name] = PackageDetails(dist.version, dist.requires())
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2736, in requires
    dm = self._dep_map
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3040, in _compute_dependencies
    common = frozenset(reqs_for_extra(None))
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3037, in reqs_for_extra
    if not req.marker or req.marker.evaluate({'extra': extra}):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py", line 328, in evaluate
    return _evaluate_markers(self._markers, current_environment)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py", line 250, in _evaluate_markers
    groups[-1].append(_eval_op(lhs_value, op, rhs_value))
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py", line 201, in _eval_op
    return spec.contains(lhs)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py", line 206, in contains
    normalized_item = self._coerce_version(item)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py", line 170, in _coerce_version
    version = parse(version)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/version.py", line 57, in parse
    return Version(version)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/version.py", line 296, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object
Installing collected packages: six, urllib3, python-dateutil, jmespath, botocore, s3transfer, boto3, localstack-client, awscli-local
Successfully installed awscli-local-0.12 boto3-1.16.40 botocore-1.19.40 jmespath-0.10.0 localstack-client-1.10 python-dateutil-2.8.1 s3transfer-0.3.3 six-1.15.0 urllib3-1.26.2

I'm seeing the exact same error. I'm running Python 3.9.1 on Ubuntu 20.04.1.

If you force the previous version the installation works fine
root@2f9ebb264380:/# pip install 'awscli-local==0.9'

Collecting awscli-local==0.9
  Downloading awscli-local-0.9.tar.gz (4.7 kB)
Collecting awscli
  Downloading awscli-1.18.200-py2.py3-none-any.whl (3.5 MB)
     |████████████████████████████████| 3.5 MB 1.5 MB/s
Collecting botocore==1.19.40
  Downloading botocore-1.19.40-py2.py3-none-any.whl (7.1 MB)
     |████████████████████████████████| 7.1 MB 1.3 MB/s
Collecting colorama<0.4.4,>=0.2.5
  Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting docutils<0.16,>=0.10
  Downloading docutils-0.15.2-py3-none-any.whl (547 kB)
     |████████████████████████████████| 547 kB 2.4 MB/s
Collecting jmespath<1.0.0,>=0.7.1
  Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 2.2 MB/s
Collecting PyYAML<5.4,>=3.10
  Downloading PyYAML-5.3.1.tar.gz (269 kB)
     |████████████████████████████████| 269 kB 1.8 MB/s
Collecting rsa<=4.5.0,>=3.1.2
  Downloading rsa-4.5-py2.py3-none-any.whl (36 kB)
Collecting pyasn1>=0.1.3
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     |████████████████████████████████| 77 kB 1.1 MB/s
Collecting s3transfer<0.4.0,>=0.3.0
  Downloading s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
     |████████████████████████████████| 69 kB 1.5 MB/s
Collecting six>=1.5
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting urllib3<1.27,>=1.25.4
  Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
     |████████████████████████████████| 136 kB 1.8 MB/s
Collecting localstack-client
  Downloading localstack-client-1.10.tar.gz (4.3 kB)
Collecting boto3
  Downloading boto3-1.16.40-py2.py3-none-any.whl (130 kB)
     |████████████████████████████████| 130 kB 2.1 MB/s
Building wheels for collected packages: awscli-local, PyYAML, localstack-client
  Building wheel for awscli-local (setup.py) ... done
  Created wheel for awscli-local: filename=awscli_local-0.9-py3-none-any.whl size=4285 sha256=6c44b91dac5031a03329b6e4baa9401bdb4c1fd2c83ff75428f4fcdfed8baf8b
  Stored in directory: /root/.cache/pip/wheels/2e/a2/18/ce42fd22a4aaf47732f00a85f22b292d59f782fe7c3aa33da6
  Building wheel for PyYAML (setup.py) ... done
  Created wheel for PyYAML: filename=PyYAML-5.3.1-cp39-cp39-linux_x86_64.whl size=542382 sha256=ccd6e73a38ee652136c34b404157de2422cd3732291a9c92311ed77ba0da5758
  Stored in directory: /root/.cache/pip/wheels/69/60/81/5cd74b8ee068fbe9e04ca0d53148f28f5c6e2c5b177d5dd622
  Building wheel for localstack-client (setup.py) ... done
  Created wheel for localstack-client: filename=localstack_client-1.10-py3-none-any.whl size=3809 sha256=686a2a1367d59626c0ed2c36191be1266e7df51e0d8a45800868372bc3733146
  Stored in directory: /root/.cache/pip/wheels/5e/ed/92/4f85adb3f58631a730c35d08bdad0fe7a6d0c48b8456e522f8
Successfully built awscli-local PyYAML localstack-client
Installing collected packages: six, urllib3, python-dateutil, jmespath, botocore, s3transfer, pyasn1, rsa, PyYAML, docutils, colorama, boto3, localstack-client, awscli, awscli-local
Successfully installed PyYAML-5.3.1 awscli-1.18.200 awscli-local-0.9 boto3-1.16.40 botocore-1.19.40 colorama-0.4.3 docutils-0.15.2 jmespath-0.10.0 localstack-client-1.10 pyasn1-0.4.8 python-dateutil-2.8.1 rsa-4.5 s3transfer-0.3.3 six-1.15.0 urllib3-1.26.2

looks like pip install awscli-local[v1] also works:
root@15cd78cb0c30:/# pip install awscli-local[v1]
Collecting awscli-local[v1]
  Downloading awscli-local-0.12.tar.gz (5.0 kB)
Collecting awscli
  Downloading awscli-1.18.200-py2.py3-none-any.whl (3.5 MB)
     |████████████████████████████████| 3.5 MB 123 kB/s
Collecting botocore==1.19.40
  Downloading botocore-1.19.40-py2.py3-none-any.whl (7.1 MB)
     |████████████████████████████████| 7.1 MB 131 kB/s
Collecting colorama<0.4.4,>=0.2.5
  Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting docutils<0.16,>=0.10
  Downloading docutils-0.15.2-py3-none-any.whl (547 kB)
     |████████████████████████████████| 547 kB 209 kB/s
Collecting jmespath<1.0.0,>=0.7.1
  Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 202 kB/s
Collecting PyYAML<5.4,>=3.10
  Downloading PyYAML-5.3.1.tar.gz (269 kB)
     |████████████████████████████████| 269 kB 122 kB/s
Collecting rsa<=4.5.0,>=3.1.2
  Downloading rsa-4.5-py2.py3-none-any.whl (36 kB)
Collecting pyasn1>=0.1.3
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     |████████████████████████████████| 77 kB 258 kB/s
Collecting s3transfer<0.4.0,>=0.3.0
  Downloading s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
     |████████████████████████████████| 69 kB 368 kB/s
Collecting six>=1.5
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting urllib3<1.27,>=1.25.4
  Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
     |████████████████████████████████| 136 kB 191 kB/s
Collecting localstack-client
  Downloading localstack-client-1.10.tar.gz (4.3 kB)
Collecting boto3
  Downloading boto3-1.16.40-py2.py3-none-any.whl (130 kB)
     |████████████████████████████████| 130 kB 264 kB/s
Building wheels for collected packages: awscli-local, PyYAML, localstack-client
  Building wheel for awscli-local (setup.py) ... done
  Created wheel for awscli-local: filename=awscli_local-0.12-py3-none-any.whl size=4529 sha256=a614a578d2434c87b1c85c1b55a802c46331fab193d2c5375931d708eeafd062
  Stored in directory: /root/.cache/pip/wheels/ce/35/2f/26fb372ab125cb51548b95876ac844fda1c311455770e9b73c
  Building wheel for PyYAML (setup.py) ... done
  Created wheel for PyYAML: filename=PyYAML-5.3.1-cp39-cp39-linux_x86_64.whl size=542360 sha256=2c6f65c4e79b2c5bf4a9192b09d6fd78bdb877b052dfe50cf600b6496e7c5a5d
  Stored in directory: /root/.cache/pip/wheels/69/60/81/5cd74b8ee068fbe9e04ca0d53148f28f5c6e2c5b177d5dd622
  Building wheel for localstack-client (setup.py) ... done
  Created wheel for localstack-client: filename=localstack_client-1.10-py3-none-any.whl size=3809 sha256=24e7f86d6c28fb95ee582e98d4a50e8c4697a45cdfeadd02bf24bd9441e0ccf4
  Stored in directory: /root/.cache/pip/wheels/5e/ed/92/4f85adb3f58631a730c35d08bdad0fe7a6d0c48b8456e522f8
Successfully built awscli-local PyYAML localstack-client
ERROR: Error while checking for conflicts. Please file an issue on pip's issue tracker: https://github.com/pypa/pip/issues/new
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map
    return self.__dep_map
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
    raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 517, in _determine_conflicts
    return check_install_conflicts(to_install)
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/operations/check.py", line 107, in check_install_conflicts
    would_be_installed = _simulate_installation_of(to_install, package_set)
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/operations/check.py", line 135, in _simulate_installation_of
    package_set[name] = PackageDetails(dist.version, dist.requires())
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2736, in requires
    dm = self._dep_map
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3040, in _compute_dependencies
    common = frozenset(reqs_for_extra(None))
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3037, in reqs_for_extra
    if not req.marker or req.marker.evaluate({'extra': extra}):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py", line 328, in evaluate
    return _evaluate_markers(self._markers, current_environment)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py", line 250, in _evaluate_markers
    groups[-1].append(_eval_op(lhs_value, op, rhs_value))
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py", line 201, in _eval_op
    return spec.contains(lhs)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py", line 206, in contains
    normalized_item = self._coerce_version(item)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py", line 170, in _coerce_version
    version = parse(version)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/version.py", line 57, in parse
    return Version(version)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/packaging/version.py", line 296, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object
Installing collected packages: six, urllib3, python-dateutil, jmespath, botocore, s3transfer, pyasn1, boto3, rsa, PyYAML, localstack-client, docutils, colorama, awscli-local, awscli
Successfully installed PyYAML-5.3.1 awscli-1.18.200 awscli-local-0.12 boto3-1.16.40 botocore-1.19.40 colorama-0.4.3 docutils-0.15.2 jmespath-0.10.0 localstack-client-1.10 pyasn1-0.4.8 python-dateutil-2.8.1 rsa-4.5 s3transfer-0.3.3 six-1.15.0 urllib3-1.26.2

It prints the same error message though.

I can confirm that this issue was introduced with 0.12
Facing the exact same thing and it's not present if rolling back to 0.11

Thanks for reporting @lucianoqueiroz @microngust . Looks like this was related to an incompatibility with some newer pip versions - the issue should be fixed in the meantime, new version 0.13 has been released. Please report here if the problem persists. Thanks


[WIP] G2EGM Update

This PR builds on @pkofod's efforts of implementing the G2EGM method in https://github.com/econ-ark/HARK/pull/200.
It fixes two bugs. One related to segment "acon" which @pkofod flagged as exhibiting strange behaviors. The other, related to "dcon", the segment where the agent does not make contributions to his pension fund.
These fixes leave the implementation on a better place, but there still seem to be issues, which are shown in https://github.com/econ-ark/HARK/pull/200. Given this issues, the method is being merged into its own branch.
Please ensure your pull request adheres to the following guidelines:

[X] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[ ] Updated documentation of features that add new functionality.
[ ] Update CHANGELOG.md with major/minor changes.

The last commit adds a 'pre-remark' notebook. It contains tools that are useful for generating plots like the ones from the original paper and compare them. I added them here, not in REMARK, because they might be useful for debugging the method.

I was unfortunately never able to carry this across the finish line. I'm sorry that you have had to decipher this sparsely commented code on your own, but great job finding those bugs! As you mention above I did indeed spend some time wondering why the solutions were "off", but I never caught those bugs myself. As you note it's still not perfect so there are probably a few more issues.
If you have any questions do @ me. I will do my best to decipher my own code and help explain what I can!

The code was great in general! (it's a very difficult problem!) and I found it to be well documented.
@llorracc has pushed this down in my list of priorities so I won't actively be working on it for now. Happy to collaborate or chat at any point.

Let me know if it gets pushed back up.

@alanlujan91 would you like to take a look at this?


Add HttpProxyAuthenticationProvider.authenticate(HttpRequest request)

This should be binary compatible.
* Add HttpProxyAuthenticationProvider.authenticate(HttpRequest request)
* Add HttpProxyAuthenticationProvider.matches(HttpRequest request)
* Update test/AuthHttpProxyServer.java to include test

Motivation:  I created a healthcheck intercept (https://gist.github.com/er1c/84a530af018f6c620421a9a20371d96e) and I want to have a different set (or none at all) of credentials that only apply to a specific uri (e.g. /status/health)
HttpProxyAuthenticationProvider.authenticate(HttpRequest) allows having different credentials based upon request properties (e.g. uri)
HttpProxyAuthenticationProvider.matches(HttpRequest) allows disabling authentication for specific request properties (e.g. uri)
This should also allow  implementing a HttpProxyAuthenticationProvider that allows filtering based upon other properties in the HttpRequest (e.g. HeaderNames.AUTHORIZATION)

@monkeyWie I'll love you forever if you have a chance to review and possibly release this tomorrow 🙏🏻

This look good！

@monkeyWie thank you for the release!  I can confirm my healthcheck is now working nicely with 1.6.0, while still having proxy authorization for normal requests!


Just curious

@sjoerdev
Just for curiosity, are the Voxel really stored in a 3D array?
I mean, a bitmap graphic is a 2D grid of pixels.
Is a model in your App a 3D grid of voxels?
Before answering, consider the difference between how does it appear on screen and how is it represented in memory.
Thanks for any help. Have a nice day.

Hey there!
Thanks for showing interest in my humble little engine ;)
This is how the voxels are represented in memory:
CPU side: 3d array of float's (the float represents the hue)
GPU side: 3d texture that holds a float in the R channel.
Disk side: The data is flattened into a single dimentional array and then serialized to either json or binary
I hope this answers your question. If not, you can find me on discord by this username: Sjoerd#5017

Yes, it's what I was looking for.
I'll add you ASAP on Discord

I'm idj


Can't generate a random mac address

When I follow the instructions from the beginning, when I get to the step of creating a mac address, I get this error. Does anyone know the solution? Please help me, thanks in advance TT
$ make -C tools gen_eth_addr
make: Entering directory C:/Users/trunk/intelFPGA_lite/de0nano-wd/u-boot/tools'
cc     gen_eth_addr.c   -o gen_eth_addr
process_begin: CreateProcess(C:\Users\trunk\intelFPGA_lite\embedded\host_tools\cygwin\bin\cc, cc gen_eth_addr.c -o gen_eth_addr, ...) failed.
make (e=5): Access is denied.
make: *** [gen_eth_addr] Error 5
make: Leaving directory C:/Users/trunk/intelFPGA_lite/de0nano-wd/u-boot/tools'

Sorry for the slow reply.
make (e=5): Access is denied.
Sounds like the files can't be created. Did you run out of space on the hard disk?


RHMAP-11411 - WFM template - Wrong repo in package.json

https://issues.jboss.org/browse/RHMAP-11411

please check and do the merge : https://issues.jboss.org/browse/RHMAP-11411


scanImports() function reads all files at once, can cause EMFILE in larger projects

Original Discussion: https://github.com/pikapkg/snowpack/discussions/1244
/cc @N8-B

The scanner appears to be causing trouble in the scanImports() function, where we call fs.promises.readFile() on all scanned files at once. You appear to be the first to hit this limit in a breaking fashion! (others at your size are probably just seeing degraded performance).

We use p-queue in the site builder for this exact reason, we should bring that same library into scanImports() to make sure that we are never loading more than X files at once in parallel. Node.js is great at I/O, so I think this number can be pretty high.
This is a great issue for anyone to tackle since it doesn't rely on any deeper understanding of Snowpack! Also should be covered by existing tests (a test directory with 10k files would be great to have, but probably out of scope for now).

Thanks for opening up this issue. I'll look into it today and run tests on our code base and deploy environment.

Fixed by #1256

I am still having this issue:
EMFILE: too many open files, open ...
"snowpack": "^2.18.4"
My config:
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
  mount: {
    public: { url: '/', static: true },
    src: { url: '/dist' },
  },
  plugins: [
    '@snowpack/plugin-webpack',
    '@snowpack/plugin-react-refresh',
    '@snowpack/plugin-dotenv',
    '@snowpack/plugin-typescript',
  ],
  install: [
    /* ... */
  ],
  installOptions: {
    namedExports: ['react-google-login'],
  },
  devOptions: {
    /* ... */
  },
  buildOptions: {
    /* ... */
  },
  proxy: {
    /* ... */
  },
  alias: {
    '@src': './src',
  },
};

I am still having this issue:
EMFILE: too many open files, open ...
"snowpack": "^2.18.4"
My config:
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
  mount: {
    public: { url: '/', static: true },
    src: { url: '/dist' },
  },
  plugins: [
    '@snowpack/plugin-webpack',
    '@snowpack/plugin-react-refresh',
    '@snowpack/plugin-dotenv',
    '@snowpack/plugin-typescript',
  ],
  install: [
    /* ... */
  ],
  installOptions: {
    namedExports: ['react-google-login'],
  },
  devOptions: {
    /* ... */
  },
  buildOptions: {
    /* ... */
  },
  proxy: {
    /* ... */
  },
  alias: {
    '@src': './src',
  },
};

If someone hits this, I fixed it like this:

install graceful-fs

npm i -D graceful-fs

create build.js in your projects folder:

require('graceful-fs').gracefulify(require('fs'));

const snowpack = require('snowpack');

(async () => {
  try {
    await snowpack.cli(['', '', 'build']);
    process.exit(0);
  } catch (err) {
    console.error(err);
    process.exit(1);
  }
})();

replace your build script with:

  "scripts": {
    "build": "node ./build.js"
  }

If someone hits this, I fixed it like this:

install graceful-fs

npm i -D graceful-fs

create build.js in your projects folder:

require('graceful-fs').gracefulify(require('fs'));

const snowpack = require('snowpack');

(async () => {
  try {
    await snowpack.cli(['', '', 'build']);
    process.exit(0);
  } catch (err) {
    console.error(err);
    process.exit(1);
  }
})();

replace your build script with:

  "scripts": {
    "build": "node ./build.js"
  }


Logging response if a statusCode assertion exists

Team,
I have logging of the response body working fine if the REST assured call succeeds. However if I add an assertion that the status code equals 200 / OK it throws an exception in the test and doesn't log.
.statusCode(HttpStatus.SC_OK)
What's the best way to ensure responses are still logged if assertions fail such as this?
Many thanks

See docs


Correct legends for some degree day maps on Maps page

Thawing index color ramp doesn't match the style defined in Rasdaman -- align those + check others.

We actually don't have degree day climate maps at the moment, so I'll close this but XREF #421


View output

Would be great to have an example or instructions of how to preview the final output. e.g. example of render etc.

we've talked through these pieces on discord, so I'm going to close this issue.


sql pause running stored procedures, query, jobs

is it possible to add the ability to pause executable queries and running stored procedure and running jobs?

if possible, then add the ability to the 2014 version)

@Fanis-Bazilisk -- Fanis, thank you for your feedback.  Are you following a particular docs.microsoft.com article?  Meanwhile, please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

You're welcome to add this as a feature request here:

SQL Server feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


custom content added

Custom CopilotKit Content solved.
What does this PR do?
Share and create awareness about copilotkit
Related PRs and Issues

(Direct link to related PR or issue, if relevant)

Checklist

[x] I have read read the Contribution Guide
[x] If the PR changes or adds functionality, I have updated the relevant documentation

@anshuman-rai-27, please look at your file. It's a ,md instead of a .md

Nice job @anshuman-rai-27!


allow fee options on bitgo sendtoaddress

With fees being a big issue currently, options such as feeRate or target number of confirmations would be extremely valuable.
I believe this is just an extra field in the API request so probably wouldn't warrant a pull request :)

Maybi


Build successfully uploaded to Steam, but fails to be published to a branch, failing the action overall

Bug description
Build successfully uploaded to Steam, but fails to be published to a branch, failing the action overall. I was able to log into Steam, with the same account that was used in the workflow and set the build live (that was uploaded from this failing workflow) manually.
The logs sadly did not reveal much useful information:
2021-12-22T14:07:33.2501059Z [2021-12-22 14:07:28]: Starting AppID 1857400 build (flags 0x0).
2021-12-22T14:07:33.2503743Z [2021-12-22 14:07:28]: Building depot 1857401...
2021-12-22T14:07:33.2504840Z
2021-12-22T14:07:33.2505767Z
2021-12-22T14:07:33.2507322Z Building file mapping...
2021-12-22T14:07:54.2863297Z Scanning content........Warning: failed to init SDL thread priority manager: SDL not found
2021-12-22T14:07:56.9344344Z .
2021-12-22T14:07:56.9346465Z Uploading content
2021-12-22T14:07:56.9348984Z [2021-12-22 14:07:56]: ERROR! Failed to commit build for AppID 1857400 : Failure

How to reproduce

I'm using a Steam build account with only two permissions set: Edit App Metadata and Publish App Changes To Steam
I have an almost-blank Unity project. I guess using a fresh new project would work after you set a startup scene
GitHub Actions workflow used:

name: CI CD

on:
  push:
    branches:
      - main

jobs:
  testBuildUpload:
    name: Test, build then upload
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository (no LFS)
        uses: actions/checkout@v2

      - name: Create LFS file list
        run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id

      - name: Restore LFS cache
        uses: actions/cache@v2
        id: lfs-cache
        with:
          path: .git/lfs
          key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}
          restore-keys: |
            ${{ runner.os }}-lfs-

      - name: LFS pull
        run: |
          git lfs pull
          git add .
          git reset --hard

      - name: Restore Unity cache
        uses: actions/cache@v2
        with:
          path: Library
          key: ${{ runner.os }}-Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
          restore-keys: |
            ${{ runner.os }}-Library-

      - name: Run tests
        uses: game-ci/unity-test-runner@v2
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

      - name: Build project
        uses: game-ci/unity-builder@v2
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
        with:
          targetPlatform: StandaloneWindows64
          versioning: None

      - uses<EMAIL_ADDRESS>        with:
          username: ${{ secrets.STEAM_BUILD_ACCOUNT_USERNAME }}
          password: ${{ secrets.STEAM_BUILD_ACCOUNT_PASSWORD }}
          configVdf: ${{ secrets.STEAM_BUILD_ACCOUNT_CONFIG_VDF }}
          ssfnFileName: ${{ secrets.STEAM_BUILD_ACCOUNT_SSFN_FILE_NAME }}
          ssfnFileContents: ${{ secrets.STEAM_BUILD_ACCOUNT_SSFN_FILE_CONTENTS }}
          appId: 1857400
          buildDescription: github_actions-${{ github.sha }}
          rootPath: build
          depot1Path: StandaloneWindows64
          releaseBranch: default

Expected behavior

Build successfully uploaded to Steam depot (✔)
Build set live to default branch (❌)

Additional details

I have confirmed that the permissions for the build account are sufficient by logging into Steamworks with the account and setting the build live manually
Workflow logs: logs_27.zip

Have you tried using a releaseBranch other than default? I suspect that Steam may have some safeguard in place for the default releaseBranch.

Hey that was it! Nice 😀 Made a new branch, changed releaseBranch accordingly and it worked!
I guess that means I'm the first person that ever tried auto deploying to the default branch? 😅

I would like to add a comment (even when the issue is closed already): This is something that Steam chose not to support: https://partner.steamgames.com/doc/sdk/uploading#5

SetLive - Beta branch name to automatically set live after successful build, none if empty. Note that the 'default' branch can not be set live automatically. That must be done through the App Admin panel.


Lens app doesn't show anything - upstream https://app.k8slens.dev is down

Describe the bug
When starting Lens, it shows "Loading screen", but then gets to the blank page with nothing.
I have inspected requests it sends with Fiddler and identified that it fails to display a login page, because the upstream dependency appers to be down - https://app.k8slens.dev/auth/realms/lensCloud/protocol/openid-connect/3p-cookies/step1.html
To Reproduce
Steps to reproduce the behavior:

Open Lens

Expected behavior
I expect a login page to be shown, or an error displayed when upstream cannot be contacted
Screenshots

Environment (please complete the following information):

Lens Version: 5
OS: Windows
Installation method (e.g. snap or AppImage in Linux): .exe

There was performance issues with our sever about 1 hr ago, please try it now, should be smoother.

Same here, using google login ends up on black browser screen

Same here, blank (grey btw) screen just after "Loading Lens ID login..."

Same from me

same here

Same

install this one for Mac to bypass the forced account if you need to work:
Intel:
https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1.dmg
or
ARM64
https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1-arm64.dmg

webstormDownloadUrl: "https://download.jetbrains.com/webstorm/WebStorm-2022.1.tar.gz"

same here

install this one for Mac to bypass the forced account if you need to work:
Intel: https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1.dmg
or
ARM64 https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1-arm64.dmg

And for windows?

https://downloads.k8slens.dev/ide/Lens Setup 5.4.6-latest.20220428.1.exe

install this one for Mac to bypass the forced account if you need to work:
Intel: https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1.dmg
or
ARM64 https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1-arm64.dmg

And for windows?

https://downloads.k8slens.dev/ide/Lens Setup 5.4.6-latest.20220428.1.exe

install this one for Mac to bypass the forced account if you need to work:
Intel: https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1.dmg
or
ARM64 https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1-arm64.dmg

This does not solve it.

it don't no .. but it certainly helps you get your work done.

install this one for Mac to bypass the forced account if you need to work:
Intel: https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1.dmg
or
ARM64 https://api.k8slens.dev/binaries/Lens-5.4.6-latest.20220428.1-arm64.dmg

And for windows?

https://downloads.k8slens.dev/ide/Lens Setup 5.4.6-latest.20220428.1.exe

Doesn't solve the problem.

Same here in windows and with new update

also not working under linux 5.5.2

Looks like this outage is causing this

Same here in macOS 12.4; Darwin 21.5.0 arm64.

Workaround: toggle Developer Tools, and remove the <div role="presentation"> element:

as a work around you can use openlens . see #5444


Manipulator + GIS Widget

https://github.com/DeMarcoLab/fibsem/pull/88
MANIPULATOR WIDGET

[x] XYZ controls
[x] insert/retract button
[x] insert position combobox
[x] add park and eucentric positions (THERMO)
[ ] Manipulator Status (inserted/not inserted)
[ ] Safety / Validation check
[x] Add relative move

GIS WIDGET

[x] Insert position combobox

[x] insert/retract button

[x] Gas selection

[ ] Time duration selection

[ ] Application file (THERMO)

[ ] Beam type

[ ] HFW

[ ] Blank Beam (checkbox)

[ ] Run button

[ ] Patterns

[ ] Create documentation showing difference in behaviour for manufacturers (GIS)

Changes to Manipulator Widget

movement in microns instead of mm
removed absolute movement
added corrected move for thermo including beam type
removed tilt movement as it is not supported

Changes to GIS Widget

Removed from UI for now, still WIP


4.x: Use Hson.Struct instead of Hson.Object to prevent confusion with java.lang.Object

Resolves #9075
The module is for Helidon internal metadata handling only, so no docs changes.

Thanks @romain-grecourt for the idea for naming!


WebSocket timeouts

Rancher Versions:
Server: 1.6.0
healthcheck: 0.3.0
ipsec: 0.1.0
network-services: 0.2.0
Docker Version:
The server running on the 17.05.0-ce version and the hosts are running 17.05.0-ce version or 17.03.0-ce
OS and where are the hosts located? (cloud, bare metal, etc):
Bare Matel Ubuntu 16.04 hosts with the 4.4.0-77 kernel.
An nginx proxy run infront of the rancher server.
After the server has been updated to the 1.6.0 version from the 1.5.1 version. We have lots of log message like this
2017/05/10 15:52:55 [error] 6931#6931: *4055131 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: <IP_ADDRESS>, server: rancher.server.no, request: "GET /v1/subscribe?eventNames=ping&eventNames=config.update HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/v1/subscribe?eventNames=ping&eventNames=config.update", host: "rancher.server.no" 2017/05/10 15:52:55 [error] 6931#6931: *4055137 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: <IP_ADDRESS>, server: rancher.server.no, request: "GET /v1/subscribe?eventNames=ping&eventNames=config.update HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/v1/subscribe?eventNames=ping&eventNames=config.update", host: "rancher.server.no" 2017/05/10 15:52:55 [error] 6923#6923: *4055140 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: <IP_ADDRESS>, server: rancher.server.no, request: "GET /v1/subscribe?eventNames=ping&eventNames=config.update HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/v1/subscribe?eventNames=ping&eventNames=config.update", host: "rancher.server.no" 2017/05/10 15:52:58 [error] 6913#6913: *4055320 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: <IP_ADDRESS>, server: rancher.server.no, request: "GET /v2-beta/projects/1a10/subscribe?eventNames=resource.change&limit=-1&sockId=53 HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/v2-beta/projects/1a10/subscribe?eventNames=resource.change&limit=-1&sockId=53", host: "rancher.server.no" 2017/05/10 15:53:01 [error] 6932#6932: *4055280 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: <IP_ADDRESS>, server: rancher.server.no, request: "GET /v2-beta/projects/1a11/subscribe?eventNames=resource.change&limit=-1&sockId=40 HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/v2-beta/projects/1a11/subscribe?eventNames=resource.change&limit=-1&sockId=40", host: "rancher.server.no" 2017/05/10 15:53:02 [error] 6932#6932: *4055286 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: <IP_ADDRESS>, server: rancher.server.no, request: "GET /v2-beta/projects/1a32/subscribe?eventNames=resource.change&limit=-1&sockId=46 HTTP/1.1", upstream: "http://<IP_ADDRESS>:5000/v2-beta/projects/1a32/subscribe?eventNames=resource.change&limit=-1&sockId=46", host: "rancher.server.no"
In the rancher-server log:
2017-05-10 13:52:49,509 ERROR [:] [] [] [] [TaskScheduler-2] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Scheduling reconnect for [1]  2017-05-10 13:52:49,514 ERROR [:] [] [] [] [TaskScheduler-2] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [4] count [6]  2017-05-10 13:52:49,514 ERROR [:] [] [] [] [TaskScheduler-2] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Scheduling reconnect for [4]  2017-05-10 13:52:49,517 ERROR [:] [] [] [] [TaskScheduler-2] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [692] count [6]  2017-05-10 13:52:49,517 ERROR [:] [] [] [] [TaskScheduler-2] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Scheduling reconnect for [692]  time="2017-05-10T13:52:50Z" level=info msg="Shutting down backend 2c9dbbef-5b47-4426-ab0c-1eb5ce23d506. Connection closed because: read tcp <IP_ADDRESS>:8080-><IP_ADDRESS>:50902: read: connection reset by peer."  time="2017-05-10T13:52:50Z" level=info msg="Removed backend. Key: 2c9dbbef-5b47-4426-ab0c-1eb5ce23d506. Session ID 3a9b1251-2cfe-4d56-b2ef-b69cadeacc0d ."  time="2017-05-10T13:52:50Z" level=info msg="Shutting down backend e57a4631-6da6-49ca-99c9-d0dc6add95ec. Connection closed because: read tcp <IP_ADDRESS>:8080-><IP_ADDRESS>:50654: read: connection reset by peer."  time="2017-05-10T13:52:50Z" level=info msg="Removed backend. Key: e57a4631-6da6-49ca-99c9-d0dc6add95ec. Session ID 70a3089c-0038-4754-a520-2f6b5642111a ."  time="2017-05-10T13:52:52Z" level=info msg="Shutting down backend 9d1b7c9f-a395-4331-5427-c56e67efe850. Connection closed because: read tcp <IP_ADDRESS>:8080-><IP_ADDRESS>:50438: read: connection reset by peer."  time="2017-05-10T13:52:52Z" level=info msg="Removed backend. Key: 9d1b7c9f-a395-4331-5427-c56e67efe850. Session ID 11ca220a-a396-4f9b-8517-7228feb7be94 ."  time="2017-05-10T13:52:53Z" level=info msg="Shutting down backend 3719e2a5-01dc-44c0-9a6a-9b9b096764b1. Connection closed because: read tcp <IP_ADDRESS>:8080-><IP_ADDRESS>:50500: read: connection reset by peer."  time="2017-05-10T13:52:53Z" level=info msg="Removed backend. Key: 3719e2a5-01dc-44c0-9a6a-9b9b096764b1. Session ID cd49cb2f-881f-43e7-ba76-a85b2dc196dc ."  time="2017-05-10T13:52:54Z" level=info msg="Shutting down backend 9a1b8526-fd8c-4909-50de-fed491ac14cb. Connection closed because: websocket: close 1006 unexpected EOF."
Because these websocket connection loss:

The hosts in the environment have became Disconnected and we have to restart the rancher-agent on the host.
During a stack update we sometimes got "Time out getting ip" issue and then we have to restart the network-services/metadata service. After the restart the stack get updated properly.

Any help would be appreciated

One typical cause of this is that either the proxy (in your case nginx) is not configured properly to handle websocket connections. Could you share your nginx config (sanitized to remove sensitivie data)

Yes, that was my initial thought too but we are using the same configuration for months.
We are running the rancher-server on the same host under the 5000 port.
This is the configuration what we are using.
 upstream rancher {
    server <IP_ADDRESS>:5000;
}

server {
    listen 443 ssl spydy;
    server_name rancher.server.no;

    # set HSTS-Header because we only allow https traffic
    add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";

    location / {
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Port $server_port;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://rancher;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        # This allows the ability for the execute shell window to remain open for up to 15 minutes. Without this parameter, the default is 1 minute and will automatically close.
        proxy_read_timeout 900s;
    }
}

server {
    listen 80;
    server_name rancher.server.no;
    return 301 https://$server_name$request_uri;
}

Maybe, this part could be interesting too.
user www-data;
worker_processes auto;
pid /run/nginx.pid;

events {
	worker_connections 768;
	# multi_accept on;
}

Hi,
I think I solved the issue.
I made some tcpdump and looked for the rst package. I wanted to figure out is the client, the nginx or the server send that first and initiate the websocket close. It turned out none of them. The rst package was sent from the docker gateway ip first to the rancher server.
So, my solution was to create a separate bridged network for the rancher server. It run without any websocket issue for 1 day.


Consider using mm instead of meter Reinforcement input

@andosca
What do you think in changing the input from m to mm for the reinforcement object?
It is more natural to input the reinf diameter in mm.
i.e. 10 mm instead of 0.01 m.

i'm worried it might be confusing - at least for C# users. then you have to keep track of units for your different methods. in grasshopper should be OK if explicitly stated in component. however this is one of those things that will break users workflows (it will break them without them even knowing it).

okay.
I do see the issue.
Let's leave it as it is :)


Update ddv4-ddsv4-series.md

Changed "S" in "IOPs." And added ")" to end of sentence.

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


Feature/issue 320 prob funs

Submisison Checklist

[x] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
This pull request deprecates the _log functions by calling the new _lpdf / _lpmf / _lcdf / _lccdf function.
How to Verify:
Look at code and run code.
Side Effects:
None.
Documentation:
Doxygen doc deprecating the _log function.
Reviewer Suggestions:
Anyone.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Just waiting for a review now. This pull request makes the _log() function dispatch to the appropriate _lpdf, _lpmf, _lcdf, _lccdf function.

I'll leave it up to you whether you want to fix the

include-what-you-use problem (return template metaprogram not included),

the overspecification of types (not wrong, just redundant), and

missing doc for deprecated functions.

@syclik  Please let me know if this is ready for review.

@bob-carpenter, hold off for a bit. I want to update the prob functions so that they have the right includes; it'll just take a bit of time. Have to touch ~50 files, but it was something I wasn't careful about to start and I want it fixed before it gets in.

I just updated. @bob-carpenter or @seantalts or anyone else, want to look through this for a sanity check?

I'll take a look through tomorrow, but feel free to not wait on me. I'll look either way to start getting familiar with the goings-on and eventually hope to take some pull request load off you guys.

Thanks. No rush.
I did the work, Bob approved it a while ago, but I updated a few things
recently. I just wanted another set of eyes on it before it got in.
On Sun, Feb 12, 2017 at 11:05 PM, seantalts<EMAIL_ADDRESS>wrote:

I'll take a look through tomorrow, but feel free to not wait on me. I'll
look either way to start getting familiar with the goings-on and eventually
hope to take some pull request load off you guys.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/pull/472#issuecomment-279290129, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F2SxICj5h3PhC7Z4R60sl-NwXPmvks5rb9aigaJpZM4LV-Qa
.

PS when this is merged in, we should have some kind of party - it's not every day you get to delete 10,000 lines of code!

=). In general, I'm with you and we should celebrate when we kill a lot of
code! In this instance, I had to duplicate code for the _log to _lpdf /
_lpmf change.
It would have been in a single pull request, but this started when GitHub
didn't do diffs so well.
On Sun, Feb 12, 2017 at 11:18 PM, seantalts<EMAIL_ADDRESS>wrote:

PS when this is merged in, we should have some kind of party - it's not
every day you get to delete 10,000 lines of code!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/pull/472#issuecomment-279291274, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_FzH28YPqIH5tLq76B1LLkGq25Z4Yks5rb9mKgaJpZM4LV-Qa
.

Changes seem good to me, though tbh I mostly looked for general replacement patterns and didn't read all 10000 lines of diff.

That's good. Feel free to merge when you're ready.
On Tue, Feb 14, 2017 at 1:39 PM, seantalts<EMAIL_ADDRESS>wrote:

Changes seem good to me, though tbh I mostly looked for general
replacement patterns and didn't read all 10000 lines of diff.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/pull/472#issuecomment-279795492, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F9YuGjm1rmkdDk1gKzLTpSV-DJiZks5rcfTNgaJpZM4LV-Qa
.


Please don't use the gcc internal function names for neon intrinsics

Those internal functions change after upgrading gcc (e.g. from 4.9 -> 5.2), and breaks compilation.
At the same time there's a stable, standard & well documented way to use those functions:
https://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/ARM-NEON-Intrinsics.html
Why not use these?

Because they are type safe, and annoying to deal with...

I actually converted float4_neon.h to use this interface. MAME compiles fine with it, and seems to work correctly.

Can you send PR then?


Added functionality: sort datasets by multiple keys

Added functionality implementation: sort datasets by multiple keys/columns as discussed in https://github.com/huggingface/datasets/issues/5425.

Thanks! I've left some comments.
We should also add some tests, mainly to make sure reverse behaves as expected. Let me know if you need help with that.

Thanks for the offer! I couldn't find any guidelines on how huggingface goes about testing, so it would indeed be great to get a few pointers on that. I assume I should expand on the test_sort function in test_arrow_dataset.py but since I am not very familiar with the datasets package, it isn't immediately for which cases I should test (i.e., expand on).

@MichlF
Resolving a comment means that the comment has been addressed with the code change, so since this is not the case here, can you please "unresolve" the comments and address them adequately?

I assume I should expand on the test_sort function in test_arrow_dataset.py

Yes, that's correct. I think one test to check sorting on multiple keys and another one to check if an error is raised when len(reverse)!=len(column_names) should be enough.

Yes, that's correct. I think one test to check sorting on multiple keys and another one to check if an error is raised when len(reverse)!=len(column_names) should be enough.

I have added the tests in https://github.com/huggingface/datasets/pull/5502/commits/0efa259732e822e94d67b96a70031a3daccedfc1 by keeping them in the same format of the tests of the old sort function. Let me know if they can be improved.


AJT Japanese new menu

Minor thing, AJT Japanese changed the way you edit the Add-on, you can't just copy-paste the config, you can still if you click on "View FIles" and open the "config.json". I think it would be useful to mention

To resolve this issue, I released my own version of AJT Japanese which is preconfigured to work with JPMN.
Make sure to remove or disable the original version of AJT, since the two will probably conflict with each other.
You can find the new version here: https://ankiweb.net/shared/info/200813220


Normalize

I can't find how to normalise how to normalize the vertex attributes (the normalized option of glVertexAttribPointer). Is it missing ?

Yeah, that's missing :-/


Add button to speakerdeck slides

We need to use the iframe from speakerdeck to include the slides on Proposal content.

@luanfonceca can i do this task?

@luanfonceca i would like to work on this if you can give more details

Sorry it was already done via #326


Unify locations of default configuration.

Change the settings.py so that path configration occurs on top.
Separate the configuration of locations where we store data from
the static and media location used atm as a crutch.
Add a env var that allows us to point to a different config file than
the default one.
In combination with making all paths in the DB relative ones, this
affords us the opportunity to move our test data to a different repo.
Is technically not blocked by https://github.com/dirac-institute/trailblazer/pull/31 but should be manually tested with https://github.com/dirac-institute/trailblazer/pull/31 and (not yet existent) schema changes to make gallery code smoother before it's made into a full PR.

This seems to work ok with https://github.com/dirac-institute/trailblazer-testdata repository but should definitely wait for https://github.com/dirac-institute/trailblazer/pull/31 to merge to simplify conflict resolution.
Should add tests for the new methods, but they are very os module dependent so it can wait for a more general "URI" class based on posixpath and urllib.


A more flexible solution for configuring authentication

Inspired by both #969, #970 (@firelizzard18) and #1026 (@RangerCD), would this be a good way forward?
Still in doubt if (for backwards compatibility) we should leave the old NewClient function in tact and replace only the others with a single new client function. Yet personally I prefer to refactor them all into one new function. Makes it pretty clean I think and uses a little bit of both suggested solutions.

Inspired by both #969, #970 (@firelizzard18) and #1026 (@RangerCD), would this be a good way forward?
Still in doubt if (for backwards compatibility) we should leave the old NewClient function in tact and replace only the others with a single new client function. Yet personally I prefer to refactor them all into one new function. Makes it pretty clean I think and uses a little bit of both suggested solutions.

@svanharmelen This is definitely a step forward, but I would still prefer something that allows me to take control of the authentication process.

@svanharmelen This is definitely a step forward, but I would still prefer something that allows me to take control of the authentication process.

@svanharmelen This looks good enough to me :+1: .

@svanharmelen This looks good enough to me :+1: .

I think that by now we support all the tokens you tried to support using this PR. I understand it's a bit less flexible and might have a tiny bit of duplicate code, but for now I'm not really willing to make any big changes around this point so I will not be merging this PR...


newLine() does not exist in console app

Description
protected function alert(string $string): void
in HelpersTrait.php calls the following:
$this->newLine();
Which calls $this->output->newLine($count);
Which returns:
[Error]
Call to undefined method Symfony\Component\Console\Output\ConsoleOutput::newLine()
in vendor/spiral/framework/src/Console/src/Traits/HelpersTrait.php:197
How To Reproduce
In the console application, set to production/prod and call $this->alert(),
Additional Info

Q
A

Framework Version
3.11

PHP version
8.3.1

Operating system
Linux

I should have been more specific; It's only when calling confirmToProceed()
But then I'm not sure why alert works but not in confirmToProceed()
if (!$confirmation->confirmToProceed()) {
            return self::FAILURE;
        }

Hi @lifewcody, thank you for the bug report! Yes, I was able to reproduce the problem. We will fix it soon.


Need new WebSocket abstraction

Right now we only have WebSocketMessage which has a getSender to send back a message async.
We will want to know when a session/connection starts, ends, etc.
onTextMessage
onBinaryMessage
onClose
onError
isOpen
isClosed
sendText
sendBinary
The usual suspects.
also takes a Consumer for onTextMessage etc. so you can use Java 8 Lambda.

This is to make working with Vertx, Jetty, Ratpack, Netty direct uniform.


Chyam/unstructured to sturctured data

Added unstructured to sturctured data sample
updated podcast synopsis generation README.md

Looks good.


Clear Files after upload

I assume it is just me not seeing something but how would I clear the files after they have been uploaded. I am assuming something to do with the context.

...
const uploaderContext = useRef();
...
const uploadFiles = () => {
    ...
    uploaderContext.current.removeFile(null, null);
}
<FileUpload
    ...
    onContextReady={(context) => { uploaderContext.current = context; }}
/>

what file would that remove? normally any temp files would be only stored on the server side, no?

what file would that remove? normally any temp files would be only stored on the server side, no?

The removeFile function's signature is the following:
const removeFile = (event: MouseEvent<HTMLButtonElement, MouseEvent>, index?: number): void | object

If it doesn't receive an index, it clears the component's state responsible for keeping track of currently selected files. It just clears a client side local state.