Fix for linux not loading encrypt.so

Short Description:
Linux users weren't able to load encrypt.so. I added the absolute path and now it's working.
Also, "formatted" was mispelled in some places as "formmated".

Please submit to the dev branch. we need platform related code since the fix will not work on win, right?

the fix won't work on windows, since (I think) windows expects a .dll file. We should add a check before running to see if encrypt.so is present on *NIX and encrypt.dll on win.
Gonna work on that tomorrow.

Sure, thanks a lot, we can wait for :)

Seems like this is needed on Linux, however where would you obtain the encrypt.so file?

Digging around and found this.
#2645

Confirmed working on linux.
To build, download the archive from http://pgoapi.com/, extract, then:
cd src
make
cp libencrypt.so ../../PokemonGo-Bot/encrypt.so <- Relative path to your bot repo.

Then do some pip upgrade.

it works for me :)
(I'm running bot on Win10's LinuxSubsystem)

Also worked for me,
Thanks

Strange i still can`t run and got  error:
encrypt.so: cannot open shared object file: No such file or directory
but i copy encrypt.so to bot folder:
(PokemonGo-Bot) taken@taken:~/PokemonGo-Bot$ ls -al /home/taken/PokemonGo-Bot/ |grep encrypt.so
-rwxr-xr-x  1 taken taken 243896 sie  7 08:02 encrypt.so

Using the change to init.py:

   encrypt_path = os.path.abspath("./encrypt.so")

   self.api.activate_signature(encrypt_path)

Works great for me.
What are all the other changes in the file there for? I think they should be in different pull requests as they seem to have no relevance to this one.

Yep i just find this info...
Looks working good change to ./encrypt.so  :-)

Takenek  What did you have to do.... change the init.py file?  I couldn't find that file

@takenek in config set "health_record": false
This will prevent "RuntimeError: maximum recursion depth exceeded while calling a Python object" error.

@Aaronucci
Get the pogoapi archive, extract and do make
then copy libencrypt.so to pokemongo-bot folder as encrypt.so
chaneg init.py in pokemongo-bot as mentioned by @MikeDX

@imvikash00 Okay I made the change per the pull to init.py but still getting this: And I did pull the encrypt file and copy it to the root of the PokemonGo-Bot folder.   Which its' full path is just /PokemonGo-Bot
Would it be easier to use the suggestion nburn said and just pull the files with git, however not sure how to go about that other then git clone
Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 127, in main
report_summary(bot)
File "pokecli.py", line 136, in report_summary
metrics.capture_stats()
File "/PokemonGo-Bot/pokemongo_bot/metrics.py", line 76, in capture_stats
response_dict = request.call()
File "/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 220, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 126, in request
request_proto = self._build_main_request(subrequests, player_position)
File "/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 212, in _build_main_request
u6.unknown2.unknown1 = self._generate_signature(signature_proto)
File "/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 236, in _generate_signature
self._signature_lib.encrypt(signature_plain, len(signature_plain), iv, 32, None, ctypes.byref(output_size))
File "/usr/lib/python2.7/ctypes/init.py", line 375, in getattr
func = self.getitem(name)
File "/usr/lib/python2.7/ctypes/init.py", line 380, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /PokemonGo-Bot/encrypt.so: undefined symbol: encrypt

@Aaronucci
Here's wat is did
Using ubuntu
followed @louisgv steps except pip upgrade
Now encrpyt.so is in your PokemonGo-Bot folder
follow @MikeDX steps, modify __ init.py __ in ur PokemonGo-Bot/pokemongo_bot folder

Works for me
+1

This is hardcoded for Linux. Needs a better solution that works on Linux, Darwin and Windows at the same time.

Figured it out.  Need to compile the encrypt.so for linux

I made this branch really tired yesterday, and no dev should work without sleeping.
I'm working now on a new PR to handle the loading of encrypt better.
Please ignore this one.

If you're still having problems after putting the correct encrypt.so (or dll) into the directory, try this:
sudo pip uninstall -y certifi
sudo pip install certifi==2015.04.28
This will fix the error:
requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed


Modify  udp_server to postpone shutdown_fd() during shutdown.

Since udp_server only has one fd, it shouldn't be shutdown immediately in grpc_udp_server_destroy() when there are in-flight requests. Instead, server should wait till all requests finishes to shut down the fd. This cl add a closure with a callback of shutdowning fd to grpc_udp_listener. This callback is passed through orphan_cb() in grpc_udp_listener to notify transport layer that fd is about to be orphaned and trigger the callback to shutdown fd when transport layer thinks it's the time to do so.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

jenkins: this is ok to test

@danzh2010 Please squash commits. Thanks.

No significant performance differences

done. Thanks @yang-g

No significant performance differences

clang-format is not happy:

tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh
--- /var/local/git/grpc/src/core/lib/iomgr/udp_server.h	2017-04-05 16:24:47.586392809 +0000
+++ /tmp/tmp.wtwNoO0coE	2017-04-05 16:24:58.982389824 +0000
@@ -56,7 +56,7 @@
/* Called when the grpc_fd is about to be orphaned (and the FD closed). */
typedef void (*grpc_udp_server_orphan_cb)(grpc_exec_ctx *exec_ctx,
grpc_fd *emfd,

                                     grpc_closure* shutdown_fd_callback,

                                     grpc_closure *shutdown_fd_callback,
                                     void *user_data);

/* Create a server, initially not bound to any ports */
--- /var/local/git/grpc/test/core/iomgr/udp_server_test.c	2017-04-05 16:24:47.926392720 +0000
+++ /tmp/tmp.u4Qdj7Y1pF	2017-04-05 16:25:11.582386523 +0000
@@ -91,7 +91,7 @@
}
static void on_fd_orphaned(grpc_exec_ctx *exec_ctx, grpc_fd *emfd,

                      grpc_closure* closure, void *user_data) {

                      grpc_closure *closure, void *user_data) {

gpr_log(GPR_INFO, "gRPC FD about to be orphaned: %d",
grpc_fd_wrapped_fd(emfd));
g_number_of_orphan_calls++;

PTAL

LGTM
Let's wait for the tests. Thanks.

No significant performance differences

Test failure: #9562


Feature/postgresql minor cleanup

#203

Codecov Report

Merging #206 into develop will increase coverage by 0.05%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #206      +/-   ##
=============================================
+ Coverage      85.08%   85.14%   +0.05%
  Complexity       410      410
=============================================
  Files            106      106
  Lines           1321     1319       -2
  Branches          19       19
=============================================
- Hits            1124     1123       -1
+ Misses           189      188       -1
  Partials           8        8

Impacted Files
Coverage Δ
Complexity Δ

...fka/configuration/KafkaContainerConfiguration.java
89.47% <ø> (ø)
9 <0> (ø)
:arrow_down:

...com/playtika/test/kafka/KafkaTopicsConfigurer.java
76.47% <ø> (ø)
6 <0> (ø)
:arrow_down:

...configuration/ZookeeperContainerConfiguration.java
100% <ø> (ø)
6 <0> (ø)
:arrow_down:

...m/playtika/test/kafka/checks/KafkaStatusCheck.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...aytika/test/kafka/checks/ZookeeperStatusCheck.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...iguration/EmbeddedKafkaBootstrapConfiguration.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

.../EmbeddedKafkaTestOperationsAutoConfiguration.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

...ion/camel/EmbeddedKafkaCamelAutoConfiguration.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...playtika/test/postgresql/PostgreSQLProperties.java
83.33% <ø> (+8.33%)
3 <0> (ø)
:arrow_down:

...esql/EmbeddedPostgreSQLBootstrapConfiguration.java
100% <100%> (ø)
4 <1> (ø)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


Move row bug ( merged row function and move row function).

hi @paulhodel ,
I try to use jexcel v3 merge function and move row function, then find two bug as below.

has colspan merged row move to other row.(this action should affect merged row).
but this action does not show confirm message then and merged cell.
then, some cell will affect to cannot edit. (below example cell C1 and D1)
https://jsfiddle.net/tsepakkwan/0xucfrah/12/

2.Move row to the has merged cell row (this action should not affect merged row).
but this action will show confirm message then destroy merged cell.
https://jsfiddle.net/tsepakkwan/0xucfrah/11/

I think show this confirm message then destroy merged cell should be check below condition.

Destination row is merged row?
if 1 is true, check this action is it affect merged row.
for example, A1: col span 3, row span 2.
Move row 10 to row 1 is not affect merged row, so not need to show this confirm message.
A1: col span 3, row span 2.  will be change to A2: col span 3, row span 2.
However, in same case move row 10 to row 2 or row 3 will affect merged row,so need to show this confirm message.

Move row is merged row?
if 2 is true, check that col span is greater than or equal to 2 ,
both true then show confirm message.

I have a similar issue. If I delete a row(s) containing merged cells, the confirm box comes up and then all merges in the table are destroyed. I think it should only destroy merges in the row(s) being deleted. (Note that no merges are destroyed if the row being deleted contains no merged cells.)
I did locate the code that causes this behaviour, and it appears to be acting as coded. I'm just wondering why it was coded this way. It starts at line 3473 in the version I have:
if (mergeExists) {
if (! confirm(obj.options.text.thisActionWillDestroyAnyExistingMergedCellsAreYouSure)) {
return false;
} else {
obj.destroyMerged();
}
}

I will take a look at that soon. Any fix will be included in the next release.

That has been fixed on v4+ all distributions.


Add Windows instructions or make instructions OS agnostic where applicable

Based on user feedback on trying to get building docs working on Windows.
Closes #55

Here is the original message that lead to starting this pr: https://discord.com/channels/920776187884732556/922663696273125387/999085471336509580. Here I explained the steps i took. Pretty sure I did everything right that I could.
Don't thrash me too hard. I just am trying to understand and trying to get writing docs to work.
I see that the pr got closed and well it still doesn't work (i think).
sphinx-build didn't work.
Assuming if the activate.bat does work (i just double click it).
"sphinx-build -M html source build" didn't work. Error was "sphinx-build" isn't recognized.
I just reinstalled spinx with "pip install -U sphinx" from: https://www.sphinx-doc.org/en/master/usage/installation.html#install-pypi.
I think sphinx-build could not be working because of not having PATH. I don't know what a PATH is. Never has been explained in what i've seen of python; which isn't much beyond trying to use .rst for this doc.
Here is the error I got "WARNING: The scripts sphinx-apidoc.exe, sphinx-autogen.exe, sphinx-build.exe and sphinx-quickstart.exe are installed in "C:\Users*NAME*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts' which is not on PATH.". It seems like powershell cannot find the "sphinx-build.exe" so it cannot use a sphinx-build command.
Is that correct? How can I fix or "set up PATH"?
I do see that in docs/ there is a make.bat. This seems to show the syntax of "sphinx-build -M html source build" command. Also has more information to remember reinforce my problem about setting PATH to "sphinx-build.exe".

Ah, i understand the confusion. i don't think double-clicking the activate.bat would work - usually you run it from an already-existing terminal and it changes that terminal to be inside the venv.
that being said, im probably going to change how to install things to a tool which manages all that without much hassle.

"i don't think double-clicking the activate.bat would work - usually you run it from an already-existing terminal and it changes that terminal to be inside the venv." I'll try looking into how i can run a .bat within ps or terminal.
"that being said, im probably going to change how to install things to a tool which manages all that without much hassle." Any clue as to when you want to start work on that? No rush or stress. Just wondering.

@SenorGeese i just made PR #61 which adresses this. I feel like its important to make helping with Docs as smooth as possible and shouldn't have neglected that for so long.

Glad to see progress! Thank you for that.


Question about tensorboard loss calculation

Hey!
I'm interested in the difference between the loss function which is plotted to tensorboard via setting summary_spec for an agent compared to episode rewards.
I'm using OpenAIGym (Pong to be more specific), which avg. reward is starting from -21 and currently at -20. In the meantime tensorboard displays loss between -3 and -1 (increasing tendency). So far I couldn't figure out how loss is calculated, therefore can't really interpret the diagrams from tensorboard. Could you have an explanation? (Docstring documentation would've been helpful in the code here.)
Sorry if my question is very basic, I was looking at the code before asking here -- without success.

The loss and the reward are only vaguely related. The loss calculation is described in the respective paper and I would recommend reading RL: An introduction or a blogpost on how RL works.

Thanks for your reply! If you ment the respective paper which is linked within README.md of root, then I have to sadly remark that the link is broken (GitHub 404 error). Could you fix that link please?

Hey! Since my latest trials concerns loss calculation I'll post my issue here, and won't open another one.
I've tried to execute the built-in examples, without success of converge. I've checked out lateset git tag (0.3.2) beforehand. Executed following: python examples/openai_gym.py Pong-ram-v0 -a examples/configs/vpg.json -n examples/configs/mlp2_network.json -e 50000 -m 2000
I've been running this agent for 8 hours using GPU (even though which has unsignificant speed-up because of vanilla network structure), and at the end, average reward was constantly -21. I've included summary_spec for agent for better understanding of what's happening in the background, and loss curves seemed to be close to zero after 30 mins of training (~ 1.5M steps).
I can see that tf_discounted_cumulative_reward is implemented which I guess is used (according to my readings) for loss calculation. Even though I haven't found the loss which is plotted, I have no clue why doesn't the built-in example converge.

Hello,
you have to slightly adjust your expectations with regard to how easy it is to get something to converge in reinforcement learning. The vpg.json does not have a configuration suitable for Atari games. It is just an example configuration. You need to find an effective configuration yourself, and even then VPG is a very inefficient algorithm which may take days. I recommend reading a few more examples/tutorials to understand why this is so.


let the logo link to the Elm homepage

Otherwise, at the moment there seems to be no way to navigate from the packages catalog pages to the actual Elm homepage.

Navigation definitely needs to be improved, but it's going to take a bit more work. The new home page lists "All Packages" and "Core Libraries" prominently. We also want to be able to link back to said home page. Currently it's not obvious that "Packages" takes you to the listing but the tangram takes you home. So:

Tangram takes you to elm-lang.org, and maybe turns the elm colors on mouseover.
Home (or Main) takes you to package.elm-lang.org
All Packages and Core Libraries take you to the same pages as on the home page.

Yes, these proposals sound good. I have no idea how the "tangram turns the elm colors on mouseover" can be done, though.

Maybe it would be enough to let the logo have these colors to begin with. That might be enough of an indicator (due to the contrast to the colors of the rest of the page) that something interesting waits there.

I think things ended up looking odd with the properly colored logo, but I like the links you describe.
@laszlopandy also suggested the "Libraries" tab on the main site be renamed to "Reference" or something like that and link directly to package.elm-lang.org.
I'd also like to have some way to search that is biased by github stars or recent downloads. We tried to do a general drop-down thing in the top bar, but ran into too many issues. A good first draft might be a dedicated page, so we'd have Home, Packages, Core, Search or something like that?

I again stumbled upon the strangeness that there seems to be no link whatsoever going from the whole http://package.elm-lang.org/ site to http://elm-lang.org/
Shouldn't some such link be added, irrespective of above design discussions? It need not be so fancy. It just needs to be there.

Closing this PR, due the reasoning outlined here. (I checked the situation for Haskell and Hackage, and to my astonishment it is the same there like described by Evan for Rust.)


Preview 2.2.4

support bucket cname api
add bucket inventory xml api

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: wangtaowei:x: huiguangjunYou have signed the CLA already but the status is still pending? Let us recheck it.


Endpoint not be generated due reference schemas

I created a python based API from YouTrack.  However, endpoints with referenced schemas were not generated:
WARNING parsing POST /issues within default. Endpoint will not be generated.
Could not find reference in parsed models or enums
Reference(ref='#/components/schemas/Issue')

OpenAPI Spec File
openapi.txt
Desktop

OS:  Windows 11 22H2
Python Version:  3.11.5
openapi-python-client: 0.15.1

I tried generating with the provided spec and there are a ton of issues. This particular one seems to be that /components/schemas/IssueTag cannot be processed, which results in /components/schemas/Issue not being generated because it relies on the former. My best guess from scanning the type is that this is due to us not supporting discriminator yet, so it's trying to merge a bunch of properties which shouldn't be merged. Seems like this API won't be supported until #219


Fix Foundation sticky footer

This fixes #116.
The problem was Foundation adds height: 100% to the html and body tags. So I've added a rule in the main CSS files to override it. Setting height to auto overrides Foundation's rule without setting a static value - removing it.
I'm not sure why Foundation does this. Bootstrap doesn't, which is why it works even with the same footer CSS.
This might cause issues later if a user adds a Foundation component because  might need a height of 100%, I'm not sure. But it works and doesn't break anything. I've tested it with all 3 template engines with CSS and SASS.

Nice, thanks for the fix! 👍


Tabletop verb issue

The verb to "play game" shows up when it's in your hands but this doesn't actually work as it needs to be placed on the ground. Ideally this would be disabled when it's invalid.

I kinda wanted to redo this anyways, I would prefer if clicking a board game would open it. As an experienced player this might feel weird, but I've seen a lot of players pick it up accidentally.


sqlite3 1.6.2 depends on js ^0.6.4

First up, big thanks for creating this package, in particular for the work on Web support, as I am trying to extend a mobile app to a web version using sqlite.
However, in this process I ran into a version solving conflict when trying to add dependency for sqlite3 in pubspec.yaml, apparently due to sqlite3 depending on js 0.6.4. Several packages I'm using in the mobile app version depend on js 0.6.3, judging from the 'pub get failed' messages:
“Because no versions of sqlite3 match >1.6.2 <2.0.0 and sqlite3 1.6.2 depends on js ^0.6.4, sqlite3 ^1.6.2 requires js ^0.6.4. And because [package name] depends on flutter_web_plugins from sdk which depends on js 0.6.3, version solving failed."
Any idea how to solve this or work around this problem?

Unfortunately we really do need version 0.6.4 as a lower bound for sqlite3, we're using @staticInterop in the WebAssembly module loading code.
The good news is that Flutter already depends on 0.6.4 on its master channel, so this problem will likely solve itself in the next Flutter version. Until then, you can try adding this to your pubspec:
dependency_overrides:
  js: ^0.6.4


Add event detail page

Display event's data

searchable by id

Detailed specs: https://gist.github.com/ma-shulgin/087d1de6bd691094da1f797720f20a4c#event-page


Amend test description for googleplaybooks workload

Change the existing test description to include steps for opening the
'My Library' view and changing the pages styles within the test app.

Linked with issue #100


chore: avoid unnecessary zero-delays in input code

If delay is 0 we'll now skip the wait step.

setTimeout(fn, 0) is clamped to ~4 ms, so there is a difference between “waiting for 0 ms” and “not waiting at all”. This would be an observable and potentially breaking change.

setTimeout(fn, 0) is clamped to ~4 ms, so there is a difference between “waiting for 0 ms” and “not waiting at all”. This would be an observable and potentially breaking change.

This delay is inside a method on client side (inside puppeteer). It'd be wrong to rely on any effects of it in the browser as it's not far from the length of transport delays in the protocol. At the same time current implementations of type() and press() with no delay will have slightly different behavior.


Make electron port/version of the app for desktop usage, thanks

If you want, @benawad, I can assign this issue to myself and make a PR to include electron. Ty

you are welcome to work with @Stancobridge
idk where they are in the process

cc #172

@Stancobridge what's your discord? Want to work on this together?

I built the electron app locally, it seemed to work correctly.

If it is working correctly without any hitches, maybe make a PR? @nadirabbas

@DGKSK8LIFE It is already merged.

what #? @nadirabbas

The electron app is already in the codebase.

Ah ok. So there is an electron port already? Where can I download it? @nadirabbas

https://github.com/benawad/dogehouse/tree/staging/baklava

Ty @nadirabbas. When it is merged into prod I will close the issue

It is merged into prod

https://github.com/benawad/dogehouse/tree/prod/baklava

Could there be UI integration so I could download an exe of the electron app from dogehouse.tv? Guess that's a separate feature request

I don't think @benawad has tried building the electron app yet. If he doesn't want any changes, you can build the exe

Yeah, @benawad if you're ok with it, I can setup compilation of the electron app and make a PR for it.

Maybe a github action that auto-compiles and checks integrity of the electron app. Then Dogehouse can hyperlink to github releases of the executables? Ty

yeah I'll be setting this up after I finish some other stuff

Before I add electron to releases, I want a way for it to auto-update itself on new releases so we don't get a bunch of stale electron clients

can we like auto-refresh or something? cuz the newly built files have unique hash names anyway, so it will fetch new resources.

I want something like that, I haven't looked into electron so idk how easy that is to do

I will look into it.

If you're talking about the client, you could use 'electron-builder' and this?

The port is complete and the binaries are available in releases. You can download the latest version here.

Thanks @TheOtterlord

@TheOtterlord the github oauth (two factor auth) sign in isn't working for me on the latest electron version on windows 10 @TheOtterlord @benawad


Standardize headers with react navigation

Closes #226 by removing custom headers and replacing them with react navigation headers.
One quirky thing about this is that left aligned titles are not supported on iOS, so we might eventually decide to replace the headers on some screens like Photo Importer and Group Photos with a customized header.

Ok, a few changes here, as requested:

Removed header from Standard Camera
Taxon Detail doesn't have a header in the Figma designs, unless I'm missing something?
Fixed camera options modal so it's now showing all options
Fixed flickering in Obs Edit title when observations have not yet loaded

Taxon Detail doesn't have a header in the Figma designs, unless I'm missing something?

 That seems inconsistent with most other screens.

No header on Obs Detail, Taxon detail, and user profile is intentional.

To be clear, these views have headers, they just don't have titles in those headers. And FWIW, in you designs on Figma, you have titles in the header for Obs Detail and User Profile, so that seems inconsistent with Taxon Detail.

Ah right, here's what the updated UI version of obs detail, user profile, and taxon detail currently look like. You can see how I updated the header to still have buttons, but no longer be sticky to the top of the screen or have a title on any of these screens. No stress on these differences for now, it may just be helpful to know the direction these screens are going in.


Unapply migrations

Is there a way to unapply migrations or to name a specific migration to go back to?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b2e1bea0-9bff-3e9c-adfa-a1e373dfd0f1
Version Independent ID: 9196177d-8a82-d054-9128-317e091b551e
Content: RelationalDatabaseFacadeExtensions.MigrateAsync(DatabaseFacade, CancellationToken) Method (Microsoft.EntityFrameworkCore)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore/RelationalDatabaseFacadeExtensions.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

@nbon12 yes, a migration and be rolled back - this is detailed in the Applying Migrations doc page. Simply specify a target migration that is earlier than the database's current one.

@nbon12 yes, a migration and be rolled back - this is detailed in the Applying Migrations doc page. Simply specify a target migration that is earlier than the database's current one.

@roji Ah, I was mistakenly not specific!
I meant to ask: using the C# .MigrateAsync() function, I don't see a parameter to supply the migration name. I'm not using the CLI tool, I'm using the following C# code to perform the migration:
var dbOptionsBuilder = new DbContextOptionsBuilder<DbContext>();
dbOptionsBuilder.UseMySql(connectionString);
await using var dbContextEf = new InnkeeperDbContext(dbOptionsBuilder.Options);
Console.WriteLine($"[{dbContextEf.Database.GetDbConnection().Database}] Begin Migrating Tenant {tenantSchema.Name} transactional business database... (may take awhile)");
await dbContextEf.Database.MigrateAsync();

@roji Ah, I was mistakenly not specific!
I meant to ask: using the C# .MigrateAsync() function, I don't see a parameter to supply the migration name. I'm not using the CLI tool, I'm using the following C# code to perform the migration:
var dbOptionsBuilder = new DbContextOptionsBuilder<DbContext>();
dbOptionsBuilder.UseMySql(connectionString);
await using var dbContextEf = new InnkeeperDbContext(dbOptionsBuilder.Options);
Console.WriteLine($"[{dbContextEf.Database.GetDbConnection().Database}] Begin Migrating Tenant {tenantSchema.Name} transactional business database... (may take awhile)");
await dbContextEf.Database.MigrateAsync();

MigrateAsync has a targetMigration parameter where you can specify which migration to go to. If it's a previous migration, then it rolls back (calling the Down methods).

MigrateAsync has a targetMigration parameter where you can specify which migration to go to. If it's a previous migration, then it rolls back (calling the Down methods).

I don't see targetMigration as a parameter; however, I see a  databaseFacade parameter.

Is the targetMigration a member of databaseFacade?

I don't see targetMigration as a parameter; however, I see a  databaseFacade parameter.

Is the targetMigration a member of databaseFacade?

@nbon12 The database facade doesn't expose all the features of the migrator. Instead you can get the actual IMigrator service from your DbContext and use that. For example:
context.GetService<IMigrator>().Migrate("TargetMigration");

@nbon12 The database facade doesn't expose all the features of the migrator. Instead you can get the actual IMigrator service from your DbContext and use that. For example:
context.GetService<IMigrator>().Migrate("TargetMigration");


Correct fastcgi package for rhel

I found the correct package for the rhel platform family to be mod_fcgid.

Thanks for looking, however, that would be apache2::mod_fcgid. It is not the same, but similar. It should be pretty easy to just switch to that module instead.
See #415 for more on this.


Reason for Memory object shared between planner and code interpreter

Hi,
I was trying to understand the code base in a bit more detail.
Most of it makes sense however I am not a bit confused about the Memory object being shared between the planner and code interpreter.
In the reply methods of planner and code interpreter, the first thing that is done is to get the rounds specific to the respective role.
For example in planner:
https://github.com/microsoft/TaskWeaver/blob/f65610c4705064f96c9a5024cbe1a11b93dc4b18/taskweaver/planner/planner.py#L217
and in code interpreter:
https://github.com/microsoft/TaskWeaver/blob/f65610c4705064f96c9a5024cbe1a11b93dc4b18/taskweaver/code_interpreter/code_generator/code_generator.py#L300
I was just confused about why the components (planner, code generator etc) do not have their respective memory as systematically they extract their respective portions from shared memory. Most likely there is a use case I am not able to see.
Would appreciate any insight and guidance
Regards & thanks
Kapil

@ksachdeva Hi, I think this is not due to any special use cases. It is more from how we store the interactions between the roles.
We first have the sessions. In each session, there are multiple rounds. Each round starts from the user's post and ends at the response from the planner to the user. In between, there could be several posts between the planner and the code interpreter.  For those posts between planner and the code interpreter, both sides need to use them in their own prompts. For example, when the planner composes its prompt, it needs all posts that are from itself, or sent to itself. If we keep separate memories, one post has to be stored twice at both sides. That is the key reason why we have this share memory.

Thanks @liqul


fix: 完善重复引用逻辑

Codecov Report

Merging #18 (136e9b0) into master (c94dca2) will increase coverage by 0.21%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
+ Coverage   94.77%   94.98%   +0.21%
==========================================
  Files           3        3
  Lines         765      798      +33
  Branches      275      293      +18
==========================================
+ Hits          725      758      +33
  Misses         40       40

Impacted Files
Coverage Δ

src/get-jsonschema-from-data.ts
95.86% <93.87%> (+0.38%)
:arrow_up:

src/typescript-to-file-datas.ts
93.93% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Usage example

Usage idea that nicely pairs with pre-commit and helps out with - semantically replenished - just commit & just amend skipping the hooks for the current raid.
Also I found it pretty convenient to separate install and setup for onboarding.
# use with https://github.com/casey/just

# fixe auto-fixable lint issues in staged files
fix:
	pre-commit run go-returns  # fixes all Go lint issues
	pre-commit run prettier    # fixes all Markdown (& other) lint issues

# lint most common issues in - or due - to staged files
lint:
	pre-commit run go-vet-mod || true  # runs go vet
	pre-commit run go-lint    || true  # runs golint
	pre-commit run go-critic  || true  # runs gocritic

# lint all issues in - or due - to staged files
lint-all:
	pre-commit run golangci-lint-mod || true  # runs golangci-lint

# run tests in - or due - to staged files
test:
	pre-commit run go-test-mod || true  # runs go test

# commit skipping pre-commit hooks
commit m:
	git commit --no-verify -m "{{m}}"

# amend skipping pre-commit hooks
amend:
	git commit --amend --no-verify

# install/update code automation (prettier, pre-commit, goreturns, lintpack, gocritic, golangci-lint)
install:
	npm i -g prettier
	curl https://pre-commit.com/install-local.py | python3 -
	go get github.com/sqs/goreturns
	go get github.com/go-lintpack/lintpack/...
	go get github.com/go-critic/go-critic/...
	curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.27.0

# setup/update pre-commit hooks (optional)
setup:
	pre-commit install --install-hooks # uninstall: `pre-commit uninstall`

Nice!
I think this would make a great example justfile. Would you be up for submitting a PR that adds this justfile, maybe with some comments about what pre-commit does, to a new directory called examples in the root of the project? Maybe in examples/pre-commit/Justfile?
I think that would be a good way of adding example justfiles that show examples of more involved use cases.


fix: Add function for resolving credentials

Description
Adds function for resolving security values with new sdk flow in testing library. Resolves this.
Motivation and Context

Security values not resolved when using BoundProfileProvider.
Types of changes

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

Checklist:

[ ] I have updated the documentation accordingly. If you are changing code related to user secrets you need to really make sure that security documentation is correct.
[x] I have read the CONTRIBUTION_GUIDE document.
[x] I haven't repeated the code. (DRY)
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Nice catch, thanks 👍🏻


Finish the feature that user manage it's self profile

Now it's support below feature:

Change name.
Change the login email.
Change the password.
Change the avatar.

Example:

Awesome, that is much more detailed than I was going to do. Will get it merged in later today

Thanks.

Sorry for the delay, will hopefully get it merged in at the weekend. Few minor tweaks I want to make

OK，Tweak it what you want！This weekend i will keep updating some feature,
发自 刘兵 的 iPhone

On 2015年7月3日, at 下午9:39, Stephen Ball<EMAIL_ADDRESS>wrote:
Sorry for the delay, will hopefully get it merged in at the weekend. Few minor tweaks I want to make
—
Reply to this email directly or view it on GitHub.

Sorry for the massive delay on this, been a really busy 6 weeks.
I have made my own branch and am making a few tweaks and then will merge it in later today. Feel free to delete your branch.
Thanks

@REBELinBLUE  Thanks, Let's continue make it much more better.

👍@iflamed mostly just a few language changes, although I am also adding a button to reset to using gravatar if you have uploaded an avatar


Rewrite config loading to search for *.ok files

Config files now have a *.ok extension. In addition, the following config loading behavior occurs:

If there exists more than on *.ok file in the current working directory, OK aborts with this error message:
  Error: Multiple .ok files found: <list of ok files found>

If there are no *.ok files in the current directory, OK aborts with this error message:
  Error: No .ok configuration file found

If there is a single file with an .ok extension (can have any filename), use it as the configuration.

Configuration files still use JSON; the only difference is the filename convention.
I also modified the publishing script to generate a new config.ok file with the --new-config flag. I also deleted 61a_config.json, which is no longer embedded in OK. This means we shouldn't make a release until after hw1, quiz1, and lab2 are due (i.e. Thursday).
Resolves #27

Can we tell students how to manage multiple config files? Maybe something like:
"Error: Multiple .ok files found: . Please use "--config=<config_file>" to choose an assignment to turn in"

Done.

Adding on an ok-test CLI that allows staff to run tests without dumping.

LGTM. Feel free to merge whenever.


Add ExcelUtilsTest.java , the unit test for ExcelUtils

What is the purpose of the pull request
For #1465 .
Add ExcelUtilsTest.java , the unit test for ExcelUtils.
Brief change log

Add ExcelUtilsTest.java
Edit ExcelUtils.java
Add /alert/utils/ExcelUtilsTest.java to root pom.xml

Verify this pull request
This change added tests and can be verified as follows:

Added ExcelUtilsTest to verify the change.

Codecov Report

Merging #1500 into dev will increase coverage by 0.32%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##             dev   #1500      +/-   ##
========================================
+ Coverage   2.77%    3.1%   +0.32%
========================================
  Files        272     272
  Lines      13602   13598       -4
  Branches    2160    2160
========================================
+ Hits         378     422      +44
+ Misses     13205   13153      -52
- Partials      19      23       +4

Impacted Files
Coverage Δ

...pache/dolphinscheduler/alert/utils/ExcelUtils.java
78% <100%> (+78%)
:arrow_up:

...apache/dolphinscheduler/alert/utils/JSONUtils.java
50% <0%> (+50%)
:arrow_up:

Continue to review full report at Codecov.

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


Asset version tags are not populated

In admin pages source some assets have {{version}} tags, e.g.
<link rel="stylesheet" href="http://localhost/postleaf/source/assets/css/lib.css?v={{version}}">

Thanks, last minute changed caused this oversight. I've fixed that and another related issue where I was using {{version}} instead of<EMAIL_ADDRESS>👍

I'm still getting this issue in latest beta-6. Was POSTLEAF_VERSION left set to {{version}} intentionally?

Not intentional. Some of the helpers were still using the constant. Fixed now.


[FEAT] Feed and Groups pages

Hi !
Here I start to design and mock the feed and the groups page.
ProjectRepository and GroupRespository are modules containing the CRUD logic for both resources. Later you will be able to complete the code with ceramic and contract calls.
Maybe this is not the react way ? Maybe we need to create custom hooks to manage this part ? I did things classically, do not hesitate to guide me according to your preferences

Good stuff! This is a good way to do it, and @Jacky-Liu1 and I are just going to fill in the api/ portion


Ghost API: Access-Control-Allow-Origin Error with client_trusted_domains entry

Issue Summary
I am trying to access the Ghost blog api from an external site. I have setup two client trusted domains: localhost:8080 and my site address: https://uxdxconf.com. This site is hosted on github pages with a Cloudflare CDN providing the SSL.
The access works fine from my local environment (localhost:8080) but it gets an Access-Control-Allow-Origin error when trying to access it from the live site.
Steps to Reproduce

Set up two client_trusted_domains entries with unique uuid's pointing to the local and live urls.
Send request from the local version - works
Send request from the live version - fails

Technical details:

Ghost Version: 0.7.9
Node Version: v0.10.35 (Live), 5.10.1 (Local)
Browser/OS: Chrome / OSX
Database: MySQL

Hi @rorymaddeninitiate, I'm sorry to hear you're having trouble.
This is most certainly a configuration issue, rather than a bug in Ghost. It sounds like either your trusted domain entries are configured incorrectly or the way you're building the request is wrong.
A few things to check:

do your trusted domains have protocols?
do your trusted domains end with a slash? (They should not)
are you using the ghost api url helper, and if not, can you check that the URL it generates for you matches the one you're using?

I'm going to close this issue as I don't believe there is a bug here, if you need more help debugging your configuration, our slack channel is a more appropriate way to get support than GitHub issues.


http://igv.org/app - No error message when file fails to load due to CORS policy

I loaded a genome FastA and corresponding index file from a URL. Everything appeared fine (i.e. the chromosomes all showed up in the drop down list for this genome. However, the default track displayed "Error loading track data".
After poking around the issues in this repo, I was able to figure out to look at the browser inspector thingy to see what was going on in my web browser. This is where I saw the CORS policy failure:

Without an error message to alert the user and describe the problem makes it frustrating to use http://igv.org/app.
Aa an aside, I've briefly read about the CORS policy stuff and it's way beyond anything our lab can understand/implement. We have a NAS that we use to host our data files for public/remote access. The server configuration needed to implement CORS (if it's even an option), is well beyond any of our understanding.

Apologies for the lack or an error message.   I'll look into that.   The problem is this is a low level error that our application (igv.js) does not even see directly.    Still there might be a way for the app to detect it.
WRT CORS,  this is not a rule we made up obviously.   If you want to serve data for any javascript program not running on the same host as the data you have to enable CORS.    If you install igv-web as a local application,  on the same host as the data resides,  you won't have to deal with this.     Details are documented here:  https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements
I also note your data is served by http, not https,  for that to work be sure you access the application trying to read it by http.   Otherwise the browser will block your request.   So for example http://igv.org/app,  or http://yourserver/app,   not https:

Apologies for the lack or an error message.

No problem! Just wanted to pass along the info, in case you weren't aware of it.
Thanks for the heads up on the http vs https. I was using http://igv.org/app, so I fed it my data via http. We can/do use https, usually.

@kubu4 I thought you had another issue open about customizing the web app with your own genomes and tracks, but I can't find it.   I just went through the process myself with no issues, if that is still a problem open another git issue or point me to the existing one and we can discuss.  IIRC you also discovered that your genome takes a long time to load with no spinner or other feedback.    I was able to reproduce that and will work on a fix for the next igv.js release.   This occurs with large annotation files that are not indexed.

I thought you had another issue open about customizing the web app with your own genomes and tracks, but I can't find it.

That issue is here:
https://github.com/igvteam/igv-webapp/issues/103
I closed the issue because it does work - it just took a very long time and there was no indicator that anything was actually happening.

IIRC you also discovered that your genome takes a long time to load with no spinner or other feedback

Yep, that's here: https://github.com/igvteam/igv-webapp/issues/103#issuecomment-516932616

will work on a fix for the next igv.js release

Cool, thanks!

This should be resolved, if not re-open.


Dicom tag dict exposed in the lib

Hi there,
Maybe I am missing something, but I don't see how to import the dicom tag dict that is used in the examples currently. Am I missing something...?
Plus, I am wondering why the name of the tag is not in the dataset...?
Thank you !

How you import the dictionary depends on how you deploy your app. The examples just load it via script tag (<script src="../dataDictionary.js"></script>) so that's one option. You can also include it in your build pipeline via something like webpack or rollup (note you'll need to add an export to the dataDictionary.js if you do this but that'll let you use import syntax). Either way, you'll need to add it manually to your own source code since it's not in the built version of the library, only in the examples directory.
Your second question is one that goes back to the beginning of the design of this library so @chafey will be the authority, but having the tags as the keys instead of their names gives a consistent way to access them regardless of whether a dictionary is provided. If you'd rather the keys be names, you can write a simple nested loop given a dataset and a dictionary that remaps the keys to their names.

Thank you @yagni ! For the first question, it was precisely about having an export of the dataDictionary.js file, which is cleaner and more consistent than a copy-paste in my source code.
And for the second question, I was not wondering why the tag is not the key, but why the name is not in the object value associated to the key of the dataset. I can have it from the data dictionary, but I was wondering whether it is possible to retrieve the name of the attribute in a cleaner way.
Thank you !

@SophieDel I'm not aware of a cleaner way than looking them up in the dictionary as a post-process step. Also, there are no plans to export the data dictionary in order to keep the size of this library small.


Does not work with React/Webpack

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.
The react-scripts package provided by Create React App requires a dependency:
"webpack": "3.10.0"
Don't try to install it manually: your package manager does it automatically.
However, a different version of webpack was detected higher up in the tree:
/Users/grantpowell/node_modules/webpack (version: 4.12.0)
Manually installing incompatible versions is known to cause hard-to-debug issues.
To fix the dependency tree, try following the steps below in the exact order:

Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.

Delete node_modules in your project folder.

Remove "webpack" from dependencies and/or devDependencies in the package.json file in your project folder.

Run npm install or yarn, depending on the package manager you use.

In most cases, this should be enough to fix the problem.
If this has not helped, there are a few other things you can try:

If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
This may help because npm has known issues with package hoisting which may get resolved in future versions.

Check if /Users/grantpowell/node_modules/webpack is outside your project directory.
For example, you might have accidentally installed something in your home folder.

Try running npm ls webpack in your project folder.
This will tell you which other package (apart from the expected react-scripts) installed webpack.

If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.

Have you tried official react template https://github.com/framework7io/framework7-template-react ?

Closing due to inactivity and/or no responses from issue author


Create a subproject to bundle Asciidoctor Diagram

Create a subproject to bundle Asciidoctor Diagram as asciidoctorj-diagram.
It's just too painful to use a Ruby library in JRuby without bundling, so let's move forward with a parallel solution to Asciidoctor PDF and Asciidoctor EPUB3 for Asciidoctor Diagram.

That would be great :)
(I would also be great if it was possible to use graphviz with asciidoctor-diagram without having to have it pre-installed and available on the PATH - this currently prevents us from using it as our Maven builds need to be self-contained with no extra setup steps required)

I was actually thinking about bundling graphviz as part of the jar. Unfortunately, it's a native library, so that would mean either downloading it on demand for the current platform or bundling the binary for each major platform. It would be idea if there were something written in Java that could replace it. It seems like something is brewing in ZEST, but that could be a ways off yet: http://wiki.eclipse.org/Zest

:+1:
This will no doubt be a very popular module!


Modify regions config key to use proper YAML syntax in all places

The YAML syntax seems to occasionally result in errors when the plugin parses configuration that's "styled" like the example config. file. The core issue might actually be related to whitespace, and this change just makes the YAML examples more canonical to hopefully reduce such problems.

👍


Refactor: Don't return BigNumberish from methods.

BigNumberish is a weak type, good when we want to provide flexibility for input parameters, but it is not good to return such a type from the methods as we know the exact type for return.
Refactor methods that return BigNumberish with hard types.

Fixed on API methods (sequencer, provider, rpc) https://github.com/0xs34n/starknet.js/pull/537


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.14.236",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d8116743ef5432336289256b2f7c117299213eb9"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "d8116743ef5432336289256b2f7c117299213eb9",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.14.236 by commit d8116743ef5432336289256b2f7c117299213eb9, it was introduced in version  by commit . For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000731


Fix storage file datalake readme and samples issues

Fix issue https://github.com/Azure/azure-sdk-for-python/issues/11358

Add the correct link for "Azure Portal", "azure PowerShell", '"Azure CLI".
Modify the CLI command for creating the storage account.

@jongio for notification.

@xiafu-msft - What are your thoughts on this PR?


Benchmark server not collecting results for newly added queries

In #1197, several new queries are added, but it seems that their results are not displayed on the benchmark server (for example, https://kuzu-benchmark.mew.im/run.html#767). Need to investigate why the results are not picked up and displayed correctly.

This issue is now fixed, closing it.


Does AMPLS works with VNET integration, or only Private Link?

Just want to confirm if an App Service with VNET integration is able to send traffic. I can't in my bench tests, figure it won't work.
Can you confirm I required Private Endpoints to use AMPLS?

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

ID: 867ebb3d-7036-104c-a2e0-3c8fd7bfcf47
Version Independent ID: d11c262e-7128-37c3-83b7-52a49b7ebf12
Content: Use Azure Private Link to connect networks to Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/logs/private-link-security.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

I can confirm that it does indeed work with VNET integration.


"Middle of the quarter" button

Chaos players would like it if there was a button showing them the middle of each table quarter.

Added in 5a0394f720236b7dc95be8d6d67b051b53debddd, with many thanks to @FChippendale


Error: Cannot find module 'joi'

Running "mvn spring-boot:run -P dev -Dspring.profiles.active=dev" in sharedis-ui, I've got this:

Error: Cannot find module 'joi'

Do you have any idea why? What should I do to fix it?

It looks like you don't have joi module installed.
It works for me. Joi is dependency of webpack-validator.
Temporary solution is npm install joi but it's interesting
Can you provide more details:

Do you use master version?
Which operating system do you use?
Was your project directory clean or you had node_modules from previous version?
You can also provide more logs? Maybe there was errors before?

Fix when I installed it separately.
Answers:

I used master
OS x
It's the first time when I used it, so it was clean
Now I'm not with my laptop to provide logs

Unfortunately I test my code only on Linux and Windows and I don't have access to OSX machine.
I've added explicit joi dependency in package.json master branch.
It should resolve this issue.

Fixed. Thanks


Unable to reach prowlarr endpoints

Hi,
I created a gluten container and routed the traffic from prowlarr, qbittorrent and cross-seed through the gluetun container using network_mode in compose file.
The tornzab urls in the cross-seed config file is something like this
  torznab: [
      "http://localhost:9696/1/api?apikey=key",
      "http://localhost:9696/2/api?apikey=key"]

 qbittorrentUrl: "http://user:pass@localhost:8090",

But I get the following warnings in the docker logs
warn: Failed to reach http://localhost:9696/1/api
warn: Failed to reach http://localhost:9696/2/api

With the same settings, cross-seed was able to add new (cross-seed) torrents to qbittorrent. I am not sure why the warnings are in the logs. I checked prowlarr and things are working fine when I tested the indexers
Thanks

  torznab: [
      "http://prowlarr:9696/1/api?apikey=key",
      "http://prowlarr:9696/2/api?apikey=key"]

 qbittorrentUrl: "http://user:pass@qbittorrent:8090",

This is how that should look and you could curl from each of those just to make sure.
docker exec -it cross-seed curl -i http://prowlarr:9696/2/api?apikey=key

You can't use localhost in docker....since you set up a custom docker network, use the container name like @suineg suggested.

Thanks @suineg. I have updated my post to correctly reflect the context. Do I still have to use the container hostname in the url. Also wondering why it worked earlier with localhost in the url

Thanks @suineg. I have updated my post to correctly reflect the context. Do I still have to use the container hostname in the url. Also wondering why it worked earlier with localhost in the url

If you are using a VPN, then you definitely need to use the container names or traffic will be routed to the internet, and you'll never be able to reach prowlarr (assuming you don't have it exposed to the internet) - and if you do....then you'd need to use your internet/external IP, and not anything on your LAN/docker.

Thanks @zakkarry
If I have my compose file like below, I won't be able to use the container name because of the network_mode. The only reason I have used newtork_mode: "service:gluetun for cross-seed is because I don't want cross-seed to query trackers with local ip
  # gluetun
gluetun:
  image: "qmcgaw/gluetun:latest"
  container_name: gluetun
  hostname: gluetun
  cap_add:
    - NET_ADMIN
  devices:
    - "/dev/net/tun:/dev/net/tun"
  environment:
    - VPN_TYPE=wireguard
    - VPN_SERVICE_PROVIDER=vpn_provider
    - WIREGUARD_PRIVATE_KEY=key
    - WIREGUARD_PRESHARED_KEY=pass
    - WIREGUARD_ADDRESSES=address
  network_mode: namedbridge
  ports:
    - "8090:8090" # qbittorrent
    - "9696:9696" # prowlarr
    - "2468:2468" # cross-seed
  volumes:
    - "/path/docker/gluetun:/gluetun”

# cross-seed
cross-seed:
  image: crossseed/cross-seed
  container_name: cross-seed
  user: 1029:100 # optional but recommended
  network_mode: "service:gluetun"
  depends_on:
    - gluetun
    - qbittorrent
  volumes:
    - /path/docker/cross-seed/config:/config
    - /path/docker/qbittorrent/qBittorrent/BT_backup:/torrents:ro
    - /path/TD/torrents/completed:/cross-seeds # data folder
  command: daemon

  # prowlarr
  prowlarr:
    container_name: prowlarr
    environment:
      - PUID=1029
      - PGID=100
      - TZ=America/Los_Angeles
    image: "lscr.io/linuxserver/prowlarr:latest"
    network_mode: "service:gluetun"
    depends_on:
      - gluetun
    restart: unless-stopped
    volumes:
      - "/volume1/docker/prowlarr:/config”

qbittorrent:
    container_name: qbittorrent
    environment:
      - WEBUI_PORT=8090
    image: lscr.io/linuxserver/qbittorrent
    network_mode: "service:gluetun"
    depends_on:
      - gluetun
    restart: unless-stopped
    volumes:
      - "/path/docker/qbittorrent:/config"
      - "/path/td/torrents:/data/torrents”

There is no need to VPN cross-seed, all requests made by cross-seed are done via Prowlarr or directly to your torrent client if using injection.
This will only serve to complicate your setup and prevent communication to the API end points for searches, etc.
Since you VPN Prowlarr already, remove cross-seed's VPN and attempt to use the Docker network IP address and see if that works.

Thanks for the information @zakkarry I will follow the suggestions


Can't add datasource from Kong /metrics in Grafana

Hello,
I have a real problem with this plugin. When I active it, it works. I have datas on the url http://kong:8001/metrics.
My issue come just after, when I need to add the datasource in grafana. I can't add the datasource, I have always the same error.
I'm using server mode (anyway, browser mode doesn't work either when i use http://localhost:8001/metrics and I can access it though my browser). I tried to indicate in grafana http://kong:8001 or http://kong:8001/metrics but I can't add the datasource. My containers can ping each others without any issue and from my grafana container I can curl http://kong:8001/metrics without any problem.. is there something I'm doing wrong?

I'm not sure if it's a prometheus plugin issue or grafana issue, but I guess people here know how configure grafana for use datasource from this plugin?
Thank you for reading :)

Hi @Apohg,
The plugin exposes metrics collected by Kong in Prometheus Exposition Format. You will need to run an instance of Prometheus in your cluster and then configure it to scrape this endpoint.
Once you've that working, you should be able to configure Grafana to use your Prometheus instance as your data source and see the metrics collected by Kong in Grafana.
There is a ready made Grafana Dashboard which you can use to visualize metrics exported by this plugin.


Use latest 1.9.x series stack in 8.4

Matches the stack version in 8.6.

Thank you for catching this. I think it makes sense to include one last 8.4 release with this change, followed by the release of 8.8.1 which would then deprecate "support" for the 8.4 line. Will merge after some additional testing, but otherwise looks good.

It turns out this actually breaks a few things, i.e. symptoms like https://github.com/haskell/cabal/issues/5973
Since we have a usable 8.4.4 image published and we are about to deprecate support for it, I'm rejecting this to focus on 8.6/8.8 releases for now.

Sure.


Video takes up entire monitor running image classification demo

Running Vision Kit with a keyboard and monitor. When running   image classification demo video out takes up entire monitor. Terminal is unavailable to stop demo - had to unplug. How can I send video to a smaller window so I can use keyboard commands in a terminal? Or how to stop the demo when no terminal is available?

I have this problem as well, despite the instructions in the AIY video kit guide. Pressing ctrl-C does nothing. In my case, eventually, the ID text eventually stops updating as well.


[ACS JobRouter] GA samples

Update samples + tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-communication-jobrouter


Automated Package Upgrade

:tada: This PR is included in version 28.5.28 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[functions-framework-cpp] update to latest release (v0.6.0)

Updates functions-framework-cpp to the latest release (v0.6.0)

What does your PR fix?

N/A

Which triplets are supported/not supported? Have you updated the CI baseline?

No change.

Does your PR follow the maintainer guide?

Yes.

I think so.

I think the gdal and paraview breaks are unrelated to these changes. Should I be wrong, I am happy to make changes as needed.

I think the gdal and paraview breaks are unrelated to these changes. Should I be wrong, I am happy to make changes as needed.

The gdal and paraview breaks due CI basline error,just wait CI error fixed.

/azp run

Thanks for the version update!


Add a sub-command to generate a BLS address

Add a new rbuilder gen-bls sub-command to generate a BLS address. As already described in #306, a common pain point is that the user needs a valid BLS address for the coinbase which might not be handy to generate.

hey! can i pick this?

Sure


No events shown

Hi,
i am trying to integrate journalctl 1.1.0 into a project of mine.
Based on the readme i did the following
const Journalctl = require('journalctl');
const journalctl = new Journalctl(['all']);

console.error(journalctl)

journalctl.on('event', (event) => {
  console.error(event)
});

I am running watch journalctl -n 10 in a terminal to see what happens in journalctl, but none of those incoming events are shown in my javascript code using your node-journalctl.
Any idea what might cause my problem?

Hi!
Well, the docs may be a little bit misleading here. The symbols [ and ] around opts are an indicator, that opts can be omitted and is an optional parameter. Just change your code like this:
const Journalctl = require('journalctl');
const journalctl = new Journalctl();

journalctl.on('event', (event) => {
  console.error(event)
});

Does this work for you?

Does this work for you?

Yes it does. Thanks.


globals under overrides does not work for me

this is my configuration
"xo" : {
    "space" : 4,

    "overrides" : {
      "test" : "test/*.spec.js",
      "globals" : [ "it" , "describe" ]
    }

  }

and I am getting
test/test.spec.js
  8:1  error  "describe" is not defined  no-undef
  9:5  error  "it" is not defined        no-undef

The overrides feature is not released yet. The readme reflects current master. The release is blocked by https://github.com/sindresorhus/xo/issues/71.


Dynamic Gravity

@rubensousa is it possible to have a dynamic gravity?
My intention is make to make the first item with Gravity.LEFT, the last with Gravity.RIGHT and all the others with Gravity.CENTER.

You'll need to extend one of the SnapHelpers in this library and figure this out yourself. I don't have plans to support this, sorry.


Feature Request: Add ablity to export full npm config via webpanel

Is your feature request related to a problem? Please describe.
On switching machines it could be a problem when implementing a lot of entrys. It would be easier if there would be a export and import button for npm config.
Describe the solution you'd like
Add ablity to export and import npm config via webpanel.
Describe alternatives you've considered
Get backup via bash command
Additional context
Export button [export config], Import button [import config]

Second this. Would love to have this. Not only for changing machines but for updating and just having as backup.


Comment out worker thread annotations for now.

These do not play well with various combinations of lint, RxJava, and retrolambda and result in false-positives.

LGTM


How to display file uploading progress with multer?

I want an API route to handle some totally random upload from user with multer. The tutorial adds it as a middleware, and I've succeeded in adding it in api.js and sending a form to /api/upload. But what shall I do then to display progress of the upload?

@louy2: I'm trying to integrate multer into my project without any luck.
Do you mind posting an example on how you achieved it?

@LukasRobertsson I basically ignored the API directory structure offered by this project and added code into api/api.js directly. That file is executed as the API server. You can follow the tutorial of multer writing code in that file.


Updates detail showing in previous version

Is your feature request related to a problem? Please describe.
A No. but it was nice when details of the updates were shown in written form.
Describe the solution you'd like
A bring it back, please.

Do you mean this, this is currently present in the website, you just have to click the bell icon to expand it!

yes thanks you....just saw it...!!!


Insertion of Null into existing record

SQL Operations Studio Version: 0.30.6

Steps to Reproduce: N/A
How can you insert a NULL value into an existing record? In SSMS, it's CTRL+0. Is it to just type in the word NULL?

@manattweb if you type the string NULL into a field's edit box this should save the DB value NULL into the field.  This has the "corner-case" that you can't enter the string value NULL into a field using the Data Editor.
I like the idea of having a keyboard shortcut to insert this value to make it more explicit.

Thanks for the info. I noticed a keyboard editor in the tool. Can I define my own key command for doing this?

Closing out older issues.  I don't think there is way to automate the inserting of the text NULL unfortunately.  Thanks for filing this issue!


Allow users to annotate using one of the HPO Modifier terms.

Consider the best UI element to do this (menu vs. popup a dialog that will show the hierarchy something like in the HPO workbench but just for the modifer terms).

Or maybe just autocomplete


Update supported releases

EKS has changed their EOL (https://github.com/jetstack/cert-manager/pull/4253#issuecomment-889847190), so I updated them here.
I also chose to merge the OpenShift section with the Kubernetes versions, since the purpose of this section was to explain why we don't support versions below Kubernetes 1.16. The table shows that the oldest Kubernetes version supported across vendors is 1.16.
I still kept the "mapping" table between OpenShift and Kubernetes releases since I never know which are which.

@SgtCoDFish What do you think about this PR? 🔥

/lgtm


CN Translation of new options: --show-local-address and --no-color

Important
CN Translation of new options: --show-local-address and --no-color
Describe your changes

CN Translation of new options: --show-local-address and --no-color
Align the right edge of table

Close #265
Checklist before requesting a review
Type of change

Hey @edwinjhlee,
Could you also please add this line?
https://github.com/pouriyajamshidi/tcping/blob/b3d7590fd0817f5780167a5a9557c4abb4a8af69/README.md?plain=1#L106
Thanks in advance!


[FLINK-2279] [streaming] Add Connected Iteration

This PR introduces a new feature that allows the users to treat the iteration head in a streaming iteration as a ConnectedDataStream of the original and feedback input.
This allows the users to write elegant code without wrapper types and flags to distinguish normal input from feedback.

no more wrapper types :+1:
I approve

This looks reasonable. How does the user not specify which elements are feedback and which go to the downstream operator?

There is nothing tricky there:
In java every record in the stream passed to closewith() will be fed back. (And closeWith returns this stream).
In scala its even clearer as the stepfunction returns 2 streams in a tuple. The first one is the feedback the second is the output.
The methods are not the same but the functionality is equivalent.

Ah ok, I was just confused since in the new test for it the same stream is used as feedback and result. :sweat_smile:

merging


[CHORE] Bump and Release

The @backstage plugins need to be bumped and then released in all the OPA plugins.

#201, #200, #199, #198 Close this.


Add support for entities to OrchestrationServiceClientShim package

This PR adds support for durable entities to Microsoft.DurableTask.Client.OrchestrationServiceClientShim.

Hi @jviau will this feature be included in the main package somewhen ?


Fixed bug in Windows scripts dir resolution regex (closes #48)

Hello,
I fixed the bug that was breaking Windows react-scripts resolution. It was just an erroneous regex that was capturing the entire path when it needed to clip the "\bin\react-scripts.js."
Thanks for the useful package!
Matt
Closes #48

Thanks @mattmaduzia, thanks for investigating and fixing this issue! Can I ask you to update your commit message to something like "CRA: Resolve bug in Windows regex"?
We don't have squash-and-merge available. I've added "Closes #48" to the PR description.
We can then merge and release!

Done and done. Thanks again!

Amazing, thanks @mattmaduzia!


Remove hydra.iohk.io cache

When accepting this cache locally (which can easily happen accidentally), everything gets super slow as every request timeouts.

Superseded by #4695


Fix the link to the API documentation

Type of change

Documentation (updates to documentation or READMEs)

For changes visible to end-users

Relevant documentation has been updated

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Main.hs: tweak (<>) import for optparse-applicative-0.13

optparse-applicative-0.13 stopped exporting (<>) in favour
of Monoid instance and the build now fails as:
  Main.hs:305:8: error:
    • Variable not in scope: (<>) :: Mod f3 a5 -> Mod f2 a4 -> t1
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Options.Applicative),
        ‘<*>’ (imported from Options.Applicative),
        ‘*>’ (imported from Options.Applicative)

Signed-off-by: Sergei Trofimovich<EMAIL_ADDRESS>

Merged and uploaded as 0.3.8.  Thanks!


Minimize is 1st class param

closes #4
also cleans up extra whitespace and imports

Codecov Report

Merging #8 into master will decrease coverage by 0.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   92.85%   92.64%   -0.22%
==========================================
  Files           3        3
  Lines         238      231       -7
==========================================
- Hits          221      214       -7
  Misses         17       17

Impacted Files
Coverage Δ

tuningdeap/config_mapping.py
88% <ø> (ø)
:arrow_up:

tuningdeap/main.py
93.17% <100%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

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


Publish updated pypi package

Hi, wanted to ask if it is possible to update the pypi package to v0.0.7? That would include the updated dependencies.

A new version has been released (https://github.com/IBM/jsonsubschema/releases/tag/v0.0.7) and been pushed to pypi (https://pypi.org/project/jsonsubschema/0.0.7/)


"no such file or directory" downsample/index.js.map

When I edit the 'final frame' field, the browser pane whitescreens.
At the terminal I get this message:
WARNING in ./node_modules/downsample/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/mantis/opt/sd-parseq/node_modules/downsample/index.js.map' file: Error: ENOENT: no such file or directory, open '/home/mantis/opt/sd-parseq/node_modules/downsample/index.js.map'

If I look in that directory, I can see that indeed the file 'index.js.map' does not exist.
The file 'index.js' in the same directory does exist.
The last error message in the browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'prompt_weight_1')

Thanks for the report. Is this on the staging version of Parseq?

If it was staging, I have just pushed a new version which I think fixes the issue. Let me know how you go.

Hey @rewbs.
I was getting this behaviour in master.
But after updating from master today, I no longer get this behaviour.
Thank you.


Doesn't work with Rails Engines

There was a similar problem discussed https://github.com/Compass/compass-rails/issues/88 but this doesn't seem to solve my issue. The solution provided there is for sprite load path.
I have a Rails 3.2.15 app. There is no mention of compass-rails or sass-rails within this application Gemfile. Within vendor/engines I have a Rails engine that has the following in the gemspec.
s.add_dependency "compass-rails", "~> 2.0.alpha.0"
s.add_dependency "sass-rails", ">= 3"

The Rails engine is included in the Gemfile of the main application. Therefore the Gemfile.lock includes compass-rails and sass-rails as one would expect. However I believe there is an issue with load paths as @import compass/css3 fails with:
Sass::SyntaxError: File to import not found or unreadable: compass/css3
Load path: Sass::Rails::Importer(/Users/jeyb/code/app_name/app/assets/stylesheets/application.css.sass)

For others that stumble on this recently, the namespace is Compass::Core::SassExtensions::Functions::InlineImage in later versions of Compass (1.0+?)

I have the same or very similar problem. I have a Rails 'gem 'rails', github: "rails/rails", branch: "3-2-stable"' app, which loads an Engine which contains most of the functionality of our app. We've configured the Engine so that it is a bootable Rails app and it loads compass fine.
compass (= 0.12.6)
compass-rails (= 1.1.7)
sass (= 3.2.19)
sass-rails (= 3.2.6)
However, when we load this engine from another parent app using the same Gemfile as the Engine we get the error.  Sass::SyntaxError: File to import not found or unreadable: compass
I've tired as many solutions as I have seen on the multiple issues with similar side effects, requiring 'rails-engine' in engine.rb, Setting the project_path within the engine and in an initializer but nothing.
A few puts inside ImportNode#import show that load_paths do not include the compass directories...
  private

  def import
    paths = @options[:load_paths]
    puts @options[:filename]
    puts paths.to_yaml
    puts @options[:importer].to_yaml
    puts "----"

/Users/rl/repos/project/vendor/gems/project/app/assets/stylesheets/frontend_root.sass

!ruby/object:Sass::Importers::Filesystem
root: "/Users/rl/repos/pledge_music"
same_name_warnings: !ruby/object:Set
hash: {}
--- !ruby/object:Sass::Importers::Filesystem
root: "/Users/rl/repos/project"
same_name_warnings: !ruby/object:Set
hash: {}

/Users/rl/repos/project/vendor/gems/project/app/assets/stylesheets/root_tree.sass

!ruby/object:Sass::Importers::Filesystem
root: "/Users/rl/repos/project"
same_name_warnings: !ruby/object:Set
hash: {}
--- !ruby/object:Sass::Importers::Filesystem
root: "/Users/rl/repos/project"
same_name_warnings: !ruby/object:Set
hash: {}
Error compiling asset frontend.css:
Sass::SyntaxError: File to import not found or unreadable: compass.
Load path: /Users/rl/repos/project
(in /Users/rl/repos/project/vendor/gems/engine/app/assets/stylesheets/frontend_root.sass)

Not sure where to go from here. Any ideas?

I was trying to use compass-rails and i am running into issues with inline-images. Previously i was using compass and everything seems to work fine. But now inline-image function is not working. How to get it work with compass-rails. Any suggestions?


add coverage to unit tests

Configure pytest coverage.
--cov-report=xml --cov lib/execution_engine2/ --verbose
and if possible add notes about debugging not working with verbose mode.
NOTE: In pycharm you also need -s.

TODO:

Add authclient.py etc. to be ignored by the coverage report
Add documentation of the coverage report


[SC-251] all using SSM AWS-StartInteractiveCommand & AWS-StartSSHSession docs

Allow SC users to use the SSM start-session and AWS-StartSSHSession
command to start a session with a specific command. This, for example,
will let the user start a session with the bash shell instead of the default sh
shell.  The command would be..
aws ssm start-session --target <INSTANCE_ID> \
                      --document-name AWS-StartInteractiveCommand
                      --parameters command="bash -l"

more info here: https://aws.amazon.com/blogs/mt/limit-ssm-interactive-session-commands-by-users/
The AWS-StartSSHSession allows users to start an SSH session with
which will allow users to secure copy from local machine and their instance.
more info here: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html
documentation update here: https://sagebionetworks.jira.com/wiki/spaces/IT/pages/938836322/Service+Catalog+Provisioning#SSM-access-with-custom-commands

We also need arn:aws:ssm:*:*:document/AWS-StartSSHSession
See https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html

hmm, that thing seems to require a PEM file which will not work because we don't have ssh key pair access setup on SC instances. From the docs.. Create or verify that you have a Privacy Enhanced Mail certificate (a PEM file), or at minimum a public key, to use when establishing connections to managed instances. This must be a key that is already associated with the instance.


Course Idea: Introduction to Business Concept Modeling using Alloy

Course Idea: Introduction to Business Concept Modeling using Alloy

Please refer to https://legend.finos.org/docs/getting-started/getting-started-guide#introductory-videos for Legend demos


install man pages

Until the issue is resolved you can build man pages manually via a docker container using the supplied Dockerfile and then just copy generated files to /usr/share/man/:
# Step 1: checkout docker sources, but make sure you do this
# somewhere in /Users directory because boot2docker can only
# share this path with docker containers
git clone https://github.com/docker/docker.git

# Step 2: build docker image
cd docker/docs/man
docker build -t docker/md2man .

# Step 3: build man pages
docker run -v /Users/<path-to-git-dir>/docker/docs/man:/docs:rw \
-w /docs -i docker/md2man /docs/md2man-all.sh

# Step 4: copy generated man pages to /usr/share/man
cp -R man* /usr/share/man/

Enjoy!
P.S. Answered at stackoverflow.

+1

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


Improve server related commands and add BFV server

In the verification phase for servers, we are using grep to find the associated server which works for our "test" server only. Adding additional servers will break the verification.
The ideal way should be to avoid using grep with hardcoded strings and use filters instead (--name and --status) as done in [nova verify: Use filters instead of grep] commit.
The second commit adds a BFV resource for 2 reasons,

testing the above logic works when we add additional servers
BFV servers are very common in deployments and it's good to have them in our testing as well.

recheck non-ceph job failed, looks like standalone deployment failed
Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2
https://softwarefactory-project.io/zuul/t/rdoproject.org/build/d4dcaa82f03548249835c81afd187f1f

recheck non-ceph job failed, looks like standalone deployment failed
Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2
https://softwarefactory-project.io/zuul/t/rdoproject.org/build/d4dcaa82f03548249835c81afd187f1f

Verified that the openstack service delete command is not running for non-existent services
https://logserver.rdoproject.org/06/606/31b4b09967a840e9cb36c4abb9f9e58f37b56f78/github-check/adoption-standalone-to-crc-ceph/85473af/controller/data-plane-adoption-tests-repo/data-plane-adoption/tests/logs/test_with_ceph_out_2024-09-16T16:38:28EDT.log


⚠ Bofrost.ch has degraded performance

In 18bbf7f, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1722 ms

Resolved: Bofrost.ch performance has improved in 8dbf846.


[New game]: Block Ninja

🎮 Game Request
Game logic and basic description
The Block Nnija game comprises a floating box, in which the user slices the blocks with their fingers. also, it includes some bonus points.
Point down the features
Game points

Block Stacking Mechanics: Players stack blocks strategically to build tall towers, employing physics-based principles to maintain stability.

Multiple Game Modes: Offers various modes like endless, timed, and multiplayer, catering to different preferences and providing diverse challenges.

Power-Ups and Special Blocks: Introduces power-ups and special blocks for temporary advantages, adding excitement and variety to gameplay.

Dynamic Environments: Presents dynamic elements such as moving platforms and rotating obstacles to intensify challenges and keep gameplay engaging.

Achievements and Leaderboards: Tracks player progress with achievements and global leaderboards, fostering competition and encouraging players to aim for higher scores.

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@kunjgit  I would like to add this game .Could you assign this issue to me

Hey @SumitKumar-17 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Fix inspection issues in image_processing sources and tests

Add copyright and license to
simple_kernels.cpp and
lanczos_scaling.cpp files.
Closes https://github.com/boostorg/gil/issues/374
Parenthesize min and max
to avoid Windows's macros.
Closes https://github.com/boostorg/gil/issues/375
Tasklist

[x] Ensure all CI builds pass
[x] Review and approve

@mloskot , it seems like I forgot about tabs issue. Should I fix that too?

@simmplecoder AFAICT, the tabs have been fixed now.


Added Docs for Transparent Mode on Windows

Description
Had trouble running transparent mode for Windows when going through the tutorials as it was missing. Made a PR that fixes #5402. Let me know if the verbiage should be changed or if there are any missing steps.
Thank you.
Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

A side note: This tutorial most likely works for Windows 7 and 11 but I have not tested it. I can if you want me too and update the docs as well.

sc is an alias for Set-Content in Windows 11 using Powershell, the command needs to be sc.exe to work


feat: Update zksolc for system contracts

What ❔

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

Several of zksolc updates contain breaking changes. We need to make updates to zksync-era as well

Waiting for 1.5.5


Ug intro quick start

wait, one more question, so are we still using the UI.png in our user guide at quick start?


enhance(scripts-localnet): Make default runs featureless with flags to toggle on custom modules.

Completed in #1799


Week 4: FRQ and Iteration

Hacks
Self Grade: 2.7+
Iteration Mini-lab

Made monkeys into objects
also printed vertically and backwards

FRQ 01

included commentary

Extra:
Letter Counter with Backend

2.7+

Created a letter counter using backend
Full explanation of FRQ process and solution
Monkeys switched from imperative to object-orientated along with horizontal and backwards solutions


Deploy ui by default

Resolves #2387
What is being addressed
UI has been an optional component
How is this addressed

Switch the UI deployment to opt-out (instead of in)
Add a small test to the smoke e2e marker that check's that the main UI page has been returned

/test


38885: ExpProtocolAttachmentType breaks attachment query on SQL Server

Changing SQL to match ExpRunAttachmentType
https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=38885

core.Documents has no idea what class is the owner of each attachment... it only knows that each row is associated with a specific parent EntityId. AttachmentTypes provide a mechanism for discovering attachment parents... that WHERE clause says "what are all my EntityIds, potential candidates to be attachment parents." The Attachments page uses these WHERE clauses to group all the attachments by type and point out potential orphaned attachments.


 doesn't work with type="number" because it tries to bind the value to a String instead of a number

Originally opened as dart-lang/sdk#21461
This issue was originally filed by<EMAIL_ADDRESS>
I am using a PolymerJS <paper-input> with an AngularDart backing model.
Given the following
<paper-input type="number" bind-input-value="myIntVariable"></paper-input>
Expected result:
myIntVariable gets int values from the paper-input.
Actual result:
<paper-input> attempts to set myIntVariable to a String, which causes a stack trace.
type 'String' is not a subtype of type 'int' of 'value'.
STACKTRACE:
#0      FooComponent.myIntVariable= (package:<redacted>.dart:33:7)
#1      _LocalInstanceMirror._setFieldSlow (dart:mirrors-patch/mirrors_impl.dart:369)
#2      _LocalInstanceMirror.setField (dart:mirrors-patch/mirrors_impl.dart:381)
#3      DynamicClosureMap.lookupSetter.<anonymous closure> (package:angular/core/parser/dynamic_closure_map.dart:26:28)
#4      AccessMember&AccessFast._assign (package:angular/core/parser/eval_access.dart:56:63)
#5      AccessMemberFast.assign (package:angular/core/parser/eval_access.dart:25:34)
#6      _UnwrapExceptionDecorator.assign (package:angular/core/parser/parser.dart:121:32)
#7      ElementBinder.bind.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:angular/core_dom/element_binder.dart:330:34)
#8      List.forEach (dart:core-patch/growable_array.dart:228)
#9      ElementBinder.bind.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:angular/core_dom/element_binder.dart:329:39)
#10     _rootRun (dart:async/zone.dart:835)
#11     _ZoneDelegate.run (dart:async/zone.dart:459)
#12     _onRun.<anonymous closure> (package:angular/core/zone.dart:113:58)
#13     VmTurnZone._onRunBase (package:angular/core/zone.dart:99:16)
#14     _onRun (package:angular/core/zone.dart:113:17)
#15     _CustomZone.run (dart:async/zone.dart:740)
#16     ElementBinder.bind.<anonymous closure>.<anonymous closure> (package:angular/core_dom/element_binder.dart:328:18)
Exception: type 'String' is not a subtype of type 'int' of 'value'.
Please include the following information:

Dart SDK version: 1.6.0-dev.9.0
polymer package version: v0.2
Operating system: Goobuntu Trusty
Browser (if any): Chrome Version 38.0.2125.111 (64-bit)

<img src="https://avatars.githubusercontent.com/u/2049220?v=3" align="left" width="48" height="48"hspace="10"> Comment by sigmundch

This too seems like an issue that could be addressed in angular.dart. The problem is how the binding is assigned on the Dart side of things. The underlying value in paper-input is always a String, it just happens that in JS you get automatic coercion between string and int values if necessary, but in Dart we don't get that for free.
Not sure if angular.dart has a way to support this. In polymer.dart, for example, people can write a filter that does the conversion explicitly. For example, see this particular answer here: http://stackoverflow.com/a/23334490/1935130
I'm closing the bug here as well assuming there is nothing to do on our end, but please do let me know if I missed something and we need to take another look.

Added Done label.


Better Enrichment Errors

Will require new version of custom-api-client.
We move almost all error handling to one place, using
from .utils import errorhandling()

with errorhandling():
     # code we expect to raise MarkLogic errors

to catch the exceptions and handle them appropriately.
[maybe we should just raise non MarkLogic errors?]
This is so that we can identify errors where we can usefully and safelyreveal more information to the end user about what went wrong (mostly, validation)
We also print more diagnostic information to the logs, which will help diagnose current and future problems.

We did a big rewrite of the tests and it's much nicer now. Learnt a lot, details in Slack #help-python


Demo doesnt work with jquery-3.1.0

Hello.
I want use this library, but I have jquery-3.1.0 , and demo does not work.
Are there some solution ? Or some pull request pending to accept and fix this error ?
Thanks in advance !

I have same issue. overflow:hidden is not setting on the element, need to do it manually...

Readmore selector doesn't  work on jQuery 3.1.1:
<style> undefined + [data-readmore-toggle], undefined[data-readmore]{display: block; width: 100%;}undefined[data-readmore]{transition: height 100ms;overflow: hidden;}</style>

    $.fn.readmore = function(selector, options) {         var args = arguments,             selector = selector;
I added the selector as argument for the plugin. It's not the most stylish solutions but it works fine.

Version 3.0 of Readmore.js will drop jQuery entirely, in favor of vanilla JS.


Inconsistent definitions in README.md

Inconsistent definitions in README.md for NHS App appointments books & cancelled.

Users Booking Appointments
Number of App users booking GP appointments in the specified reporting period

Appointment Cancellation
Number of appointment cancelled from the NHS App in the specified reporting period

Think it should be "Number of App users cancelling GP appointments in the specified reporting period"

#6 Resolved

All updated


update the dataVersion

Category

[X ] Question
[ ] Typo
[ ] Bug
[X ] Additional article idea

Question
When should we increment the dataVersion for a webpart? Is there any documentation?
Should it be updated when you add/remove an configuration item?

Hi @mdissel, yes we do plan to provide some detailed documentation on this but here is a basic idea.
The dataVersion property is to help you manage you web parts serialized state as the code of your web part evolves due to changing functionality needs. It is yet another tool for a developer to help evolve the web part without breaking. It should be used only when needed. Here is a brief explanation. Please reply in case the usage is still not clear.
Data Version
Apart from code version, the web part framework also supports the ability to manage web part persisted data versions. As a developer evolves the web part code and functionality, it is imperative that they will see the need for newer properties in the web part data. A web part can override the dataVersion API from the BaseClientSideWebPart class. The default value of this property is 1.0. The developer can override this to any value in their web part code. The value of this property is persisted with the web part data. A sample is shown below. During the web part loading life cycle, the framework first deserializes the web part properties. And then calls the onAfterDeserialize API. This gives the web part developer an opportunity to update the deserialized properties to comply with the current version of the code.
// Web part persisted data format
interface IWebPartData {
...
dataVersion: string;
...
}


[Snyk] Security upgrade python from 3.10.4 to 3.13.0b2

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

Dockerfile

We recommend upgrading to python:3.13.0b2, as this image has only 205 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
  829

Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
  829

Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
  829

Out-of-bounds Write SNYK-DEBIAN11-LIBWEBP-5893094
  829

Out-of-bounds Write SNYK-DEBIAN11-LIBWEBP-5893094
  829

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Closing since this is a duplicate of https://github.com/IndicoDataSolutions/indico-client-python/pull/313


3 mobile usability issues from Google Search Console

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1577
Originally created by @dmor on 2020-01-16 16:49:52

We received an alert from Google Search Console about these issues, which can impact our search ranking because Google considers usability for SEO now
Links to the specific issue drilldowns:

Text too small to read
Clickable elements too close together
Content wider than screen

View 6 previous comments from the original issue on GitLab


crane fix

Content
This PR includes a fix to the nix package which was broken after running a nix flake update command.
Pre-submit checklist

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages

PR

[x] No clippy warnings in the CI
[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Issue(s)
Closes #1928

@locallycompact Many thanks for your PR !
Can you rebase it over main ? I would like to check that #1960 wasn't hiding other errors. Previously I tried a fix similar to yours and there was malloc errors that I could not explain.

@locallycompact can you also sign the commits, as we can not merge the branch otherwise?

Rebased this now and also dropped the now invalid override crane.inputs.nixpkgs.follows = "nixpkgs";


Python: Construct CredentialRPK from parts

Closes: https://github.com/openwsn-berkeley/lakers/issues/269
By using PyO3's enum AutoCredentialRpk, this is not a breaking change in the Python API.

Thanks, just went through it. Looks like it allow constructing from either just value or public key and kid? (or maybe value and public key and kid?)
I see that the API doesn't change, but maybe there could be a new test showing the new supported behavior?

Looks good, thanks.