[FEATURE] Ray HPO Tune Integration

We've managed to run an axample ray cluster and HPO on kubenetes. Here are the steps:

Connect local kubectl to the eks cluster
Pip install ray locally: pip install ray
Clone ray repo: git clone https://github.com/ray-project/ray.git
Launch up a ray cluster by: ray up ray/python/ray/autoscaler/kubernetes/example-full.yaml
Check the cluster got launched by: kubectl -n ray get pods
To create a sample job: kubectl create -f ray/doc/kubernetes/job-example.yaml

You can modify the script got downloaded in the yaml file to run different script

To check result: kubectl -n ray logs <launched job pod>
To tear down the cluster: ray down ray/python/ray/autoscaler/kubernetes/example-full.yaml

nice, you can turn this into a plugin,  make sure https://github.com/ray-project/ray/blob/master/python/ray/autoscaler/kubernetes/example-full.yaml is changed to use the  and not introduce a new namespace "ray" .  This will allow ray to launch containers within the team namespace.

I've created a sample notebook and the sample yaml file:
https://github.com/yinweisu/RayOrbit
You'll have to launch up the ray cluster in the terminal instead of in the notebooks because it is an interactive command, and I'm not sure how do you interact using a notebook shell :(.

@yinweisu Would commands like the following work?
ray up -y ...

@sxjscience Yes. You are correct. I've updated the notebook. Thanks for the help!

we are adding support for helm charts (https://helm.sh/docs/topics/charts/) as plugins.  As soon as we have it ready , we can add this as a new plugin using the new framework. About a week time.


how to run? flutter version is low

This project cannot run. What version are you using?

you can see pubspec.yaml, this file contains the version requirements of fluuter.
sdk: ">=2.1.0 <3.0.0"


Add Russian language

Will update a readme later this night.
Also, will likely add Ukrainian later. Not sure if Japanese fits here well.

Thanks!


Remove default path

I don't know if this is the right fix, but I wanted to submit a PR rather than just file an issue. Currently if no path is specified, using a default of '.' will cause the generated package to replace the entire local api-client-staging repo (when staging is the publish location). This could potentially cause loss of work, and can happen when running generation for any API with paths set - currently including DLP and IAM.
This also updates the configs with the latest changes.

Codecov Report

Merging #187 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #187   +/-   ##
=======================================
  Coverage   70.23%   70.23%
=======================================
  Files          47       47
  Lines        1895     1895
  Branches      217      217
=======================================
  Hits         1331     1331
  Misses        542      542
  Partials       22       22

Impacted Files
Coverage Δ

artman/tasks/publish/local.py
100% <100%> (ø)
: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 7952e68...a200498. Read the comment docs.


Produce and properly distribute both a CommonJS and ESM build

This solves #17. Apparently, the JavaScript ecosystem is still not able to overcome the CommonJS and ESM divide. To maximize compatibility with developer tooling, we have to build both a CommonJS and ESM bundle and then conditionally export based on how our code is being imported.
I want to scream.

:tada: This PR is included in version 1.2.2-rc.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix minor typo in README.md

Hehe - already seen #191 covers it, but only noticed when I got dumped onto the pull requests page by submitting mine!


Generate 'breaking changes' section in changelog

While we are pre-1.0 version I don't think we need 'Breaking changes' section in release changelog. But when we upgrade the major version from 1.0 to 2.0 in future, such a script to generate a list of breaking changes from commits may be helpful.
Note: Regarding our Commit Guidelines, when the commit (PR) introduces breaking changes, it should highlight them in commit message's footer using BREAKING CHANGES:  section.

checking if this is a dupe of 1674

Yes, it's duplicate of #1674


Direct MessagePort API to synthesizer AudioWorklet?

I'm working on making a non-linear MIDI sequencer in an AudioWorklet and would like to test it out with js-synthesizer.  Is it possible to directly send MIDI events to a JSSynth.AudioWorkletNodeSynthesizer instance via its MessagePort?

Currently, to send something to AudioWorklet, you can use callFunction method in AudioWorkletNodeSynthesizer.
// in AudioWorklet
AudioWorkletGlobalScope.someFunction = (synth, param) => {
   // some implementation (synth is Synthesizer)
};

// in main thread
workletSynthesizer.callFunction('someFunction', param);

You can then process MIDI events in AudioWorklet, including calling midi**** method for synth instance.
# Currently (unfortunately) using MessagePort is not available, as well as transferring the port.

This is very helpful, thank you.  I think I'm understanding that two AudioWorklet processors will both have access to the same AudioWorkletGlobalScope, and that the JSSynth.AudioWorkletNodeSynthesizer worklet node includes a callFunction method to access arbitrary functions defined on the AudioWorkletGlobalScope?
Or maybe I'm getting this wrong?  What I'd like to be able to do is trigger midi events from inside my custom sequencer AudioWorklet processor code so that I can avoid passing data through the main thread.
By the way, the WAM project appears to have a MessagePort API for sending MIDI messages to worklets, although I can't manage to find clear, explicit documentation of it... the only documentation I can find is this academic paper from 2015.  But here are some clues that this maybe is the case:

https://github.com/webaudiomodules/api/blob/master/wamsdk/wam-processor.js#L93-L104
https://github.com/webaudiomodules/webdx7/blob/master/dist/wamsdk/wam-controller.js#L11-L25

WAM seems awesome, I just wish the documentation and website were much more organized and usable.

I think I'm understanding that two AudioWorklet processors will both have access to the same AudioWorkletGlobalScope, and that the JSSynth.AudioWorkletNodeSynthesizer worklet node includes a callFunction method to access arbitrary functions defined on the AudioWorkletGlobalScope?

That's true. AudioWorkletGlobalScope is shared between all scripts loaded into the (same) worklet, and calling callFunction from main thread will invoke shared AudioWorkletGlobalScope.xxxx (xxxx is the function) in the worklet.

Closing this issue. Feel free to reopen if some problems still persist.


During test withdrawal, not all keys properly validated

The Glacier Protocol's deposit protocol recommends a test deposit and withdrawal using all N keys (instead of the minimum required M), to ensure that all N keys have been correctly transcribed. Unfortunately it does not actually verify that they are all good -- they get passed in to bitcoin-cli signrawtransaction which will happily accept keys that don't belong to this address.
Note: it will reject any keys that are not in proper WIF format, which will catch most transcription errors since the checksum will not match.
But if a user enters a valid WIF key from a different address, for example, it will happily accept it as long as at least M of the keys correspond.
Expected behavior
During the test withdrawal, if the user enters a valid WIF key that doesn't belong to this address, the withdrawal should fail with an appropriate error message.
Actual behavior
As long as M of the N keys belong to this address, glacierscript.py reports success.
Impact
The user could have a false sense of confidence in the transcribed keys, and later when attempting to withdraw with only M keys, will discover that the key doesn't work. This could lead to loss of funds.
Fix
I will submit a PR soon that will test each key independently to ensure it matches the cold storage address entered, and give a nice error message if not.

Why was this closed? There was never a PR for this, and it is still not fixed.
I was planning to do a PR only after the Segwit changes were merged, so as to avoid merge conflicts.

Please reopen this issue @diogomonica; it was closed improperly.


[CLI][UI] As a User, If I send more than 2^(63)-1 numbers display an info message

Context
Hedera has a limitation in the maximum number of tokens that the user can mint, send, etc. For that reason, we should avoid different bad behaviour.
https://docs.hedera.com/guides/docs/hedera-api/token-service/tokencreate
Description
When the user would like to set as initial supply or cash in token, if the number that we send is bigger than 2^(63)-1 we should display a info message to the user saying:
"The number for "field" is bigger than the allowed. Decrease your number and try again please. You could check the limits here: https://docs.hedera.com/guides/docs/hedera-api/token-service/tokencreate"
Aceptance criteria

When I would like to create a token with 18 decimals and I would like to set as initial supply 10000000, an info message is displayed.
When I've created a token with 18 decimals and I would like to cash in 10000000, an info message is displayed.
When I would like to create a token with 6 decimals and I try to set as initial supply 10000000, I can create the token.
When I've created a token with 6 decimals and I would like to cash in 10000000, I successfully cash in those tokens.

CLI:

WEB:

UI
Cash In

CLI
Cash In


Add "sentence-segmentation/**" to Gradle package

This adds the sentence-segmentation folder to the Gradle package definition. Without this, sentence segmentation does not work inside the Docker container (as the Ruby source is not found).

Coverage increased (+0.01%) to 38.268% when pulling 6d3d9272e9f6362197f517e9dc80818415fed73a on OrionNebula:OrionNebula--gradle_sentence_segmentation into 51ec5438d06c7d69a9873cb0cfa00f2e5abe83dd on kermitt2:master.

Thanks a lot @OrionNebula !


eigen cannot have the rosdep key resolved

Hi all,
I am installing cartographer on ROS Indigo and Ubuntu 14.04, following the instruction here.
However it said eigen cannot have the rosdep key resolved when I executed rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y. The log is listed below.
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
cartographer: No definition of [eigen] for OS version []
cartographer_ros: No definition of [tf2_eigen] for OS [debian]
ceres-solver: No definition of [eigen] for OS version []

Actually, I have the eigen lib installed in /usr/include/eigen2 and /usr/include/eigen3.
I found an issue here. I followed his method, but the problem remained.
Can anyone tell me how to resolve the problem? Many thanks.

well, I find a solution, although I do not know why.
rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y --os=ubuntu:trusty

sudo apt-get install -y google-mock libboost-all-dev  libeigen3-dev libgflags-dev libgoogle-glog-dev liblua5.2-dev libprotobuf-dev  libsuitesparse-dev libwebp-dev ninja-build protobuf-compiler python-sphinx  ros-indigo-tf2-eigen


How to interface PIR (HIGH when movement is detected)

Thank you for your new library, the old one was already good but this is even better.
You can answer in italian if you want, I understand it but can't write it very well.
I have some of these PIR in the photos and the output goes HIGH for up to 5min (user regulated) after movement is detected.
Do I just need to change the following lines or is there a better way?
// PIR Motion Sensor setup
  pinMode(PIR_PIN, INPUT);

and
// PIR motion detected
    // could be on interrupt, but PIR sensor usually keep signal HIGH for enough time
    if(digitalRead(PIR_PIN) == HIGH) {
      currentPict = 0;
      waitPhotoTime = 0;
      char message[50];
      time_t now = time(nullptr);
      tInfo = *localtime(&now);
      strftime(message, 50, "%d/%m/%Y %H:%M:%S - Motion detected!", &tInfo);
      Serial.println(message);
      myBot.sendTo(userid, message);
    }

Hi @FBMinis.
Thaks, but I think it's better in English for other users that might search for something like you.
Regarding your question, 5 minutes is a very long time and with that code the bot will send a lot of pictures, not needed probably. Maybe a rising edge flag can help you.
   static bool risingEdge = false;    // Static (or global) bool var to catch the rising edge of signal

   // could be on interrupt, but PIR sensor usually keep signal HIGH for enough time
   if(digitalRead(PIR_PIN) == HIGH  && !risingEdge) {
      risingEdge = true;
      currentPict = 0;
      waitPhotoTime = 0;
      char message[50];
      time_t now = time(nullptr);
      tInfo = *localtime(&now);
      strftime(message, 50, "%d/%m/%Y %H:%M:%S - Motion detected!", &tInfo);
      Serial.println(message);
      myBot.sendTo(userid, message);
   }

   // After a while signal come back to LOW level, so we can clear the bool flag
   if(digitalRead(PIR_PIN) == LOW && risingEdge) {
     risingEdge = false;
   }

Maybe GPI013 must be HIGH during boot because of SDCard.

Yes, this can be the reason.


Reusing of the removed view

Great Library first of all. I have customized it for some data points.
I was trying to reuse the view where the TODO has been written..
@aaronbond Have you tried resolving this TODO..
The view get stuck again if used the removedView as convertview..

with a relatively slow 'scroll speed' ie... you are only every dealing with a half dozen views max at a time (if you're using more maybe we should talk about that) view recycling wasn't really high on the agenda for performance.
it's something to add to swipedeck2 (https://github.com/aaronbond/SwipeDeck2) but i've found performance to be satisfactory even on very old devices.


Bump api rules yaml and busola images

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/hold


PyplotGlobalUseWarning whenever a plot is displayed

Whenever a plot is displayed, the following warning appears in the RUINSapp:

Possible fixes are included in the warning message.

This was solved for the weather explorer with version v0.6.0.


Attempt to fix failing test in Python 2.7

@kislyuk I haven't tested this locally. CI isn't run on PRs, no? I'm on a Mac and Homebrew doesn't support 2.x anymore. Do you mind testing it out?

@kislyuk Done. It passes on Linux. As far as I can tell, the reason it's failing on Mac is unrelated to this PR. It's more about 2.7 being deprecated and changes to pip.

The OSX tests are failing because this fix wasn't included in the port to GitHub actions. You are correct that it's unrelated to this PR.

Sorry I don't know how that happened, I'll re-add the fix to GHA
On Tue, Dec 15, 2020 at 4:23 PM Evan<EMAIL_ADDRESS>wrote:

The OSX tests are failing because this fix
https://github.com/kislyuk/argcomplete/commit/4c5958bd442fe5a3deca8d7f6f1085c00464c1c5
wasn't included in the port to GitHub actions. You are correct that it's
unrelated to this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kislyuk/argcomplete/pull/336#issuecomment-745673092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGSOPNU6T6LDJJ2TMBM6ZLSU74WJANCNFSM4UIIFMPQ
.

Alright, let me know when to do a new rebase.

Good to go?

@ulken your fix works, thanks for the contribution.
@evanunderscore I have re-added the fix but those other OS X tests are still failing. I am going to disable the tests in question on OS X until we can find a solution that works with the latest pip.

For whatever reason, pip on the runner is still getting the latest version even though the install step downgrades it. I was only using that particular feature of pip to work around an issue specific to Homebrew, but that workaround no longer works with the latest pip. In order to fix the test it would probably have to be rewritten to use virtual environments. I'm not likely to have time to look at it soon so disabling the tests is fine.


DRY-up ToastContainer

Fix broken eslintrc file
Refactor ToastContainer to DRY-up calls to Animated.timing by:

Removing multiple calls to setTimeout by extracting the conditional to a variable
Passing references to this.closeToast in the timeout rather than redefining the function's body in the timeout callback

Save a timeout when fading the toast out by using the Animated.timing completion callback rather than using setTimeout with a 500ms delay.

@alexrussell Can you run this snippet of use case, with respect to this PR
<Button
  onPress={() =>
    Toast.show({
      text: "Wrong password!",
      buttonText: "Okay",
      duration: 5000
    })}
>
  <Text>Toast</Text>
</Button>


Update Tuya_TS011F.md

_TZ3000_ko6v90pg

@blakadder  hi there, can u please update the website with this one?


Following this page resulted in missing 200% scale images from packaged app installation.

I needed to "force include" all language resources in my package. Following the description in Option 2 I deleted the Language qualifier name and added <AppxDefaultResourceQualifiers>Language=en;es;fr</AppxDefaultResourceQualifiers> as instructed. However this resulted in having no images for 200% scale when the app is installed from package. In a related document I found that <AppxDefaultResourceQualifiers> can also have default value for Scale and many other things (and 200% scale was the default before these changes in my project). Once I explicitly added Scale=200 to <AppxDefaultResourceQualifiers> the issue seemed to be resolved. Based on this to mee it seems that by adding <AppxDefaultResourceQualifiers> to the configuration I lost the built-in defaults.
So I was wondering that either I didn't use the content of this page as it was intended or this information is missing? And that brings up the question what are the other defaults and should those be specified too?

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

ID: 836865ec-ea89-1baf-141b-c415940b6e5c
Version Independent ID: 6c610dcb-0f1c-c58e-b42c-4aa06687c9d6
Content: Build resources into your app package - UWP applications
Content Source: uwp/app-resources/build-resources-into-app-package.md
Product: uwp
Technology: data-and-files
GitHub Login: @alvinashcraft
Microsoft Alias: aashcraft

Thanks for submitting this issue @istvan-pal-shapr3d. Did you have the same problem if you followed the steps in Option 1 without specifying a value for Scale?

Hi @alvinashcraft!
It was some time ago, I may not remember correctly, but I think I was working with Option 2 from the start as it seemed to be a better fit for our build environment. So I can't tell if Option 1 had the same effect or not. We only realized the issue a bit late in the process as local builds or non 200% scale builds didn't produce any visible issue so when I tried to fix it I didn't go back to try Option 1.


Unable to unlock Console after file reloading in debug mode

Content
Unable to unlock Console after file reloading in debug mode
Reproduce
from flask import request,Flask
app=Flask(__name__)
@app.route('/err')
def err():
    return 1/0
app.run(debug=True)

Save the code to a file, run it
Open http://<IP_ADDRESS>:5000/err for the error page
Make some minor changes(e.g., spaces, comments) to the file and save, trigger a hot reload
Don't refresh the page opened before, click Open an interactive python shell in this frame at the right of return 1/0.
Enter any PIN, got an Error: Could not verify PIN.  Network error?

Expect
the PIN verification should behave properly.
Traceback
D:\>python flt.py
 * Serving Flask app 'flt'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://<IP_ADDRESS>:5000
Press CTRL+C to quit
 * Restarting with watchdog (windowsapi)
 * Debugger is active!
 * Debugger PIN: 974-140-517
<IP_ADDRESS> - - [31/Dec/2022 13:10:25] "GET /err HTTP/1.1" 500 -
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2548, in __call__
    return self.wsgi_app(environ, start_response)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.handle_exception(e)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "D:\flt.py", line 5, in err
    return 1/0
ZeroDivisionError: division by zero
<IP_ADDRESS> - - [31/Dec/2022 13:10:26] "GET /err?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
<IP_ADDRESS> - - [31/Dec/2022 13:10:26] "GET /err?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
<IP_ADDRESS> - - [31/Dec/2022 13:10:26] "GET /err?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
<IP_ADDRESS> - - [31/Dec/2022 13:10:26] "GET /err?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
 * Detected change in 'D:\\flt.py', reloading
 * Detected change in 'D:\\flt.py', reloading
 * Restarting with watchdog (windowsapi)
 * Debugger is active!
 * Debugger PIN: 974-140-517
<IP_ADDRESS> - - [31/Dec/2022 13:10:42] "GET /err?__debugger__=yes&cmd=printpin&s=4EbBYjOKMpzMFl2eiZSL HTTP/1.1" 500 -
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2548, in __call__
    return self.wsgi_app(environ, start_response)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.handle_exception(e)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "D:\flt.py", line 5, in err
    return 1/0
ZeroDivisionError: division by zero
<IP_ADDRESS> - - [31/Dec/2022 13:10:44] "GET /err?__debugger__=yes&cmd=pinauth&pin=http%3A%2F%2F<IP_ADDRESS>%3A5000%2Ferr&s=4EbBYjOKMpzMFl2eiZSL HTTP/1.1" 500 -
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2548, in __call__
    return self.wsgi_app(environ, start_response)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.handle_exception(e)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "D:\flt.py", line 5, in err
    return 1/0
ZeroDivisionError: division by zero

Environment:

Python version: 3.10.6
Flask version: 2.2.2

When the application reloads, it is a new environment, it doesn't have references to old frames anymore.


Added support for SSL database connections

Passing the DB_SSL environment variable can trigger the use of SSL client connections to MySQL. This is especially useful for remote/managed databases where SSL certificates are required.
Pulled from https://discourse.roots.io/t/roots-with-digital-ocean-managed-databases/16582.

Did a brief confirmation and it looks good.
Ref:

https://www.php.net/manual/en/mysqli.real-connect.php
https://github.com/WordPress/WordPress/blob/53eab18979df34811ff2d2f1d3902ddd48f3996f/wp-includes/class-wpdb.php#LL1743C5-L1743C5

@clintonb would you mind rebasing this please? CI workflow wasn't enabled for PRs until now

@swalkinshaw rebased


add travisci testing against multiple versions of eigen

add 'scientific notation' fp input
fix a small bug accessing non-existant variables
change travisci tests to run against multiple versions of Eigen

Cool. I have been thinking of adding support for scientific notation for a while. Guess I just had to wait long enough for you to do it for me ;) Thanks.


Add SomeButton

SomeButton was added in

https://github.com/ServerDriven/ScreenData-kotlin
https://github.com/ServerDriven/ScreenData-swift

We need to update ScreenData

closed by #6


Mast: Watch acakid.com

Mast requests the watch of the watch_keyword acakid\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

acakid\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


AMBARI-26008: Add openEuler operating system support

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

LGTM +1

@JiaLiangC  thanks for reporting and working on this. Looks there are conflicts with PR.  Can you please rebase the PR.?
Dn't we need to merge py3 PR's first.? and CI is failing.

@brahmareddybattula
Yes, I will rebase all my PRs on the latest trunk branch.

@JiaLiangC
We can do some work the PR on openEuler, if you need.

@JiaLiangC
Why did you delete the library files? like as: _posixsubprocess.so  etc.

@MacChen01
@brahmareddybattula
This PR is somewhat disruptive as it changes a lot of content. Essentially, the limitation of Ambari's support for multiple operating systems is just to ensure the use of the correct package management tool during installation.
Therefore, after upgrading to Python 3, supporting different operating systems becomes easy. It only requires modifying the OS check logic to categorize operating systems based on the package manager. For instance, operating systems like Red Hat 7, 8, 9, and openEuler would return 'redhat', thus uniformly using YUM as the package manager. On the other hand, those using APT would be classified as 'ubuntu'.
Our production environment has already adopted this new approach, making support for new operating systems extremely convenient, requiring changes to just one file, oscheck.py. Adding support for new operating systems in the future will become very easy.
Therefore, I am still considering whether to close this PR and discuss on the mailing list whether we need to change so much code to add a new operating system or if there is a simpler way to extend support for other operating systems.

@brahmareddybattula @MacChen01 @arshadmohammad
If adding a new operating system means modifying 30 files, then the process of adding support for new operating systems becomes overly complicated and difficult to test. The design of Ambari itself is not the issue; what changes is merely the name of the operating system, while the package manager remains constant.
Secondly, related .c files should be removed. Many are just gilding the lily and not essential. With their removal, Ambari would only depend on Java and Python, allowing it to run on all operating systems without the need for compilation on each one.

@MacChen01 @brahmareddybattula
This PR is somewhat disruptive as it changes a lot of content. Essentially, the limitation of Ambari's support for multiple operating systems is just to ensure the use of the correct package management tool during installation. Therefore, after upgrading to Python 3, supporting different operating systems becomes easy. It only requires modifying the OS check logic to categorize operating systems based on the package manager. For instance, operating systems like Red Hat 7, 8, 9, and openEuler would return 'redhat', thus uniformly using YUM as the package manager. On the other hand, those using APT would be classified as 'ubuntu'. Our production environment has already adopted this new approach, making support for new operating systems extremely convenient, requiring changes to just one file, oscheck.py. Adding support for new operating systems in the future will become very easy. Therefore, I am still considering whether to close this PR and discuss on the mailing list whether we need to change so much code to add a new operating system or if there is a simpler way to extend support for other operating systems.
As shown in the following image: support for many operating systems has been added by merely changing this code.

@JiaLiangC
This is a good idea, but this approach is not very standardized. Do you think we may need to consider restructuring the structure of ambari? Welcome to open the discussion.

@MacChen01 @brahmareddybattula
This PR is somewhat disruptive as it changes a lot of content. Essentially, the limitation of Ambari's support for multiple operating systems is just to ensure the use of the correct package management tool during installation. Therefore, after upgrading to Python 3, supporting different operating systems becomes easy. It only requires modifying the OS check logic to categorize operating systems based on the package manager. For instance, operating systems like Red Hat 7, 8, 9, and openEuler would return 'redhat', thus uniformly using YUM as the package manager. On the other hand, those using APT would be classified as 'ubuntu'. Our production environment has already adopted this new approach, making support for new operating systems extremely convenient, requiring changes to just one file, oscheck.py. Adding support for new operating systems in the future will become very easy. Therefore, I am still considering whether to close this PR and discuss on the mailing list whether we need to change so much code to add a new operating system or if there is a simpler way to extend support for other operating systems.
As shown in the following image: support for many operating systems has been added by merely changing this code.

+1 for this idea.
Many operating systems now use YUM as the package manager. If these OS can be grouped into one category, it will be much simpler to add similar operating systems in the future.


Add parameter names as labels to Function call block

Feature request submitted by an educator.
When introducing students to Functions, it would be helpful to include the parameter name as a label on the Call function block to help their understanding.

And then having something like this:

Yes it would be nice

@Jaqster It would be nice if default values could also be specified for these parameters, just like in TypeScript.


affected/package: http

What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Screenshot

What did you do?
Uploading multi-part form: when uploading directory, directory name does not appear in uploaded file name, for example: templates/index.html will receive uploaded file as index.html
What did you expect to see?
Receiving directory name with file name: templates/index.html
What did you see instead?
index.html
this issue has started on version 1.17, Go version 1.16.5 were working fine

After running below code, select directory to upload, in version 1.16 you will send directory name with files, but in 1.17 only file names will be get:
folderbug.zip

I was relying on this feature to upload templates, and static folders for Go Web applications in my GoCat project
https://github.com/motaz/gocat
Now I should to remove uploading directory section :(

Yes I found it in Content-Disposition header, thanks
Full path from client PC is not required, only selected directory, for that reason I didn't understand where is the security issue here


Some QOL fixes

Thanks for the changes, however please split up the changes in different PRS, as its easier to review.
Also please don't randomly update binary version everywhere, instead try to execute a request to every endpoint manually and update the info / params accordingly, because many params probably have changed.
It's fine to edit www to boomlings.com everywhere, but as said make a separate PR with only that change

Ok, will do this later then.
Thank


FIX: prevents test failure when using set on destroyed

Repro:

/tests?hidepassed=1&qunit_skip_core=1&seed=232445140220376764190994500674877650826

Example error:
Error: Assertion Failed: calling set on destroyed object: <(unknown):ember14289>.disableSubmit = false

@martin-brennan FYI


The "jason" example is quite misleading

This example shows routing decisions made on the basis of what user is logged in. Most users accessing the bookinfo app see reviews from reviews:v1, while authenticated user "jason" sees reviews from reviews:v2.
I know what is really being demonstrated here is the ability to route traffic based on headers. Cookies, like the user cookie, after all, are sent from client to server in an HTTP request header.
However, most readers probably walk away from this example with a different takeaway-- "Istio lets me route different users to different endpoints." This is obviously a valuable idea. Imagine that during a blue/green deployment, for instance, you might want your product owner to get into the new version first to do some UAT before you start using weights to shift traffic from everyone else over.
The problem is that this notion of "Istio lets me route different users to different endpoints" doesn't hold up in the real world.
The bookinfo app is a toy. The current user's username is stored in plain text in a cookie that can be edited, allowing an attacker to assume the identity of another user. Apps in the real world do not work this way. Any cookie that plays a role in user identity / session is either going to be encrypted or might even be an opaque token that is correlated to identity or session on the server side. Obviously, this is to prevent identity / session hijacking.
My point is only that the "jason" example sets readers up with a false notion that Istio can be used in this desirable way in the real world, when really, it cannot. Is there, perhaps, a less misleading demonstration of routing requests based on a header that could replace this example?

YEs, we are very well aware of that. The thing is, asking users to install chrome extensions that will allow them to add more headers to a request is super clunky. The plaintext cookie was a convenient exit out of this issue. That said, we should certainly clarify in our docs that this will not hold up in the real world for cookie based routing as cookies are often encrypted/opaque to istio.
If you are interested, I welcome you to submit a Pr to istio.github.io in the bookinfo task related to content based routing.

The thing is, asking users to install chrome extensions that will allow them to add more headers to a request is super clunky.

Totally understandable. My impulse is to say it's less clunky using curl. Of course the problem then becomes that raw HTML is a terrible way to view a web page.
Would it make any kind of sense for the examples to be reworked to not involve a UI?

People staring at you demoing Istio usually prefer to see something visual then Curl and terminal.
Visual also make it easy to capture the change rather than "Can you please enlarge the font? I can't see your command/output"? ;-)

@ymesika @rshriram I totally agree that a demo hits harder when the audience doesn't have to carefully scrutinize the outcome, so the impact from something visual is greater. I'm convinced.

If you are interested, I welcome you to submit a Pr to istio.github.io in the bookinfo task related to content based routing.

I'm very willing to PR that, but still worry "in real life... encrypted cookies... yada, yada, yada" will be overlooked in the "fine print--" meaning many readers still walk away with a false impression that routing based on user identity is something you can do.
I keep coming back to this:

The thing is, asking users to install chrome extensions that will allow them to add more headers to a request is super clunky.

I keep wondering if there's some header other than Cookie whose value "naturally" varies based on something a user can do (easily). The thing I keep coming back to is User-Agent...
Obviously, I think some more thought needs to go into this, but what would your initial reactions be if I proposed that the example could route traffic from a given browser-- Firefox, perhaps-- to reviews:v2 while all other browsers continue to be routed to reviews:v1?
The plot thickens...
While researching options for improving this demo, I guess I really went down the rabbit hole. I started to wonder how the cookie that the user's browser sends with the HTTP request to the product page is visible as a header in the HTTP request that the product page makes to the rating service...
When I started tugging on that thread, I found that the product page forwards that cookie in its request to the rating service. (Even if we hypothetically based routing on the User-Agent header instead of the Cookie header, we'd still have to forward that header.)
If using a plain text user cookie was the first thing this demo does that a real application would never do, forwarding that cookie to a downstream service is a second. I don't intend this in any malicious way, but I frankly feel deceived by this demo. For the sake of packing a bigger punch, it compromises on security in ways that would be entirely unacceptable in the real world. Assuming that users won't want to compromise on security, they could never actually use Istio as it is demonstrated here. This feels tantamount to false advertising.
Make no mistake, I think Istio is awesome. With as many great features as it has, I believe that with some thought and effort (which I am happy to contribute to) a more honest demonstration of its capabilities is possible and can be just as impactful.

Here are two small changes that could possibly fix this whole thing:

Ignoring for a moment that it's plain text, the audience should reasonably expect that the user cookie is a secret between the end user's browser and the product info app. What if instead of forwarding that entire cookie downstream to the reviews service, the product info page were to set a custom header on the outbound request that identifies the end user? This seems like a more realistic scenario that one would encounter in the real world.

After no. 1 is fixed, the cookie (which would now be relevant only to the request from browser to product info app) no longer needs to be plain text. It could be encrypted just as it would be in any real web application.

This was closed by #7109


apt-get build-dep does not work

This bug-tracker is monitored by developers and other technical types.  We like detail!  So please use this form and tell us, concisely but precisely, what's up.  Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice.  If you're reporting a BSOD, don't post here!  Instead, e-mail<EMAIL_ADDRESS>and if possible attach the minidump from "C:\Windows\minidump".

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.14393]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)
apt-get build-dep  - it says no source repositories in apt sources-list

What's wrong / what should be happening instead:
dev packages with libraries needed to build the package should be installed (this is for developers, right?)

Strace of the failing command, if applicable:  (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)

See our contributing instructions for assistance.

So, technically this is actually expected Ubuntu behavior.  Some distributions of Ubuntu, including the one that Microsoft is using, ship with source repositories disabled by default so that apt update runs (~2x) faster, and uses less disk space.  Many developers just need the -dev packages, or would choose to get the source directly from upstream rather than through apt.
If you want to use source packages (or any other repositories), you can enable them per the Ubuntu docs:
https://help.ubuntu.com/community/Repositories/CommandLine
That said, these defaults are used by Ubuntu in production server environments.  I believe Ubuntu Desktop has more repositories enabled by default (universe, I think?) as well as source packages.  I personally think that it would make a lot of sense for WSL's defaults to mirror Ubuntu Desktop's configuration in this respect.
(Note that I don't work on the WSL team myself.  Hopefully someone who does can comment?)

@aseering - The image that we use comes directly from Canonical and as you've mentioned before it's their server cloud image.  I think there's a fine balance between providing a barebones image that's a smaller download / disk footprint versus an image with a lot of things many users may not need.  I think the current image is a good balance.

Hey @benhillis -- thanks; as always, your replies are much appreciated.  I do feel obliged to push back on one corner of this response, though:  I claim that WSL is not, primarily, aiming to be a headless server environment.  Therefore, Canonical's headless server image is probably not strictly optimal :-)  Does WSL really need to spend disk space and download cycles on things like Plymouth graphical boot?  Console fonts (stored in a Linux path that the Windows console doesn't currently use)?  LVM virtual-partition / RAID management?  (As I recall, the latter wasn't bundled with Ubuntu Desktop until relatively recently; just Server.)  And, per above, I can think of things that server admins would not want and developers would want.
Packaging is a big problem and a bigger time-sink; I'm not saying I think you should spend time on it now.  But I would like the plant the seed that y'all do have a different use case so there is room for tuning.

@aseering - your points are valid.  I'll remind you that Microsoft does not own the usermode Linux bits.  We are using the image that Canonical decided to give us.  @dustinkirkland may have more justification on what is included in the tar.gz file they provided us.

@benhillis -- be careful, the beauty and the cost of open source is, you don't get to say "I don't own that" :-)

Maybe Canonical can provide a link to Launchpad to repository with the image builder?

@iHateInventNames - Thanks for your post. Appreciate the feedback. I agree with the general sentiment here that the image should be curated towards its audience and perhaps the current image is not the ideal one (as also pointed out by @aseering). But, you shouldn't be blocked on anything behind this image. I would also like to reflect on @benhillis post above that we partner with Canonical to deliver the experience here and they are responsible for the user image. So, if you have any access to @dustinkirkland, please drop him a note. We also talk to them and when appropriate, we can mention this as well. It's a bit early for that right now :) (as @aseering also notes).

Thank you @sunilmut

The WSL image is the exact same Ubuntu server/cloud image (package manifest) as Ubuntu in: AWS, Azure, Google, and elsewhere.  The goal is consistency across the entire Ubuntu experience.
As noted above, the source package lists are disabled in order to speed up apt-get updates, and reduce on disk footprint for the vast majority of users.  Devs who want the Ubuntu sources can simply uncomment those lines in /etc/apt/sources.list

@dustinkirkland - <3

Van the man!
:-Dustin
@dustinkirkland
On Fri, Apr 28, 2017 at 1:11 PM, Ben Hillis<EMAIL_ADDRESS>wrote:

@dustinkirkland https://github.com/dustinkirkland - <3
https://www.youtube.com/watch?v=J789GId1kaY
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/1957#issuecomment-298095351,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzMhnW4sx827lwwJVh7jF3Vg28DKhVXks5r0kfrgaJpZM4NCptQ
.

@dustinkirkland - That's reasonable. Thank you for your note.


Add support for Bech32 format on entities keys

Add support for the Bech32 format for entities keys (prefix "npub", "note", etc).
This will add compatibility with the rest of the clients, which are almost all implementing this. When copying the public key from other clients, almost always you get a "npub" one.
This is only meant to be a frontend/UI feature, internale hexadecimal is the way to go, as stated in the NIP.
NIP 19: https://github.com/nostr-protocol/nips/blob/master/19.md

I'm working on this right now 🙂 my next PR will include this compatibility

Included in https://github.com/KoalaSat/nostros/releases/tag/v<IP_ADDRESS>-alpha


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Updated validations.py script to fix the behavior of validate_user function


Issue template: talk idea / CFP

@vanessaabankwah suggested we add an issue template so folks can easily submit talk ideas regarding Flux/Flagger:

With Name, company, address, proposed date/time, abstract, socials (including GitHub)

Kind of like we do for events: https://github.com/fluxcd/community/issues/new?assignees=&labels=event&template=event.yaml

🏆


README.md : "output" folder instead of "predictions

In my testSessionTiny/ folder, I have no folder output as suggested by the README.md docs. Instead, my output is found inside a folder labeled predictions.

Ops, quite an eye for details you have there. Thanks a lot, readme fixed on master.


in top menu: add a link titled wallet

normally coin pages have on top a link called: wallet
and there you find the downloads for: desktop, smart phones, ...
why important ?

newcomers just want to try first, without reading
other sites also have such a prominent button

I've added a small cloud-download icon to the nav bar as a direct link to the client downloads.
Not live at the moment, but it'll be in the next commit.
Thanks for the suggestion.


SVGs not loading correctly as background images in Vite

Describe the bug
I'm encountering an issue where SVG files used as background images in my React components are not being handled correctly by Vite. When building the project, the SVGs are not inlined as data URIs and neither included in the final build (because of their small sizes), resulting in broken image references.
It works perfectly fine in  tag though, as smaller SVGs are inlined as data URIs.
Steps to reproduce

Create a new React project:
npx create-react-app my-vite-app

Install Vite:
cd my-vite-app
npm install -D vite

Create an SVG file: Create an src/assets/my-icon.svg file with your SVG content.

Use the SVG as a background image in a React component:
import React from 'react';
import styled from 'styled-components';
import mySvg from './assets/my-icon.svg';

const MyComponent = () => {return(
'
test '
)};
export default MyComponent;

Build the project:
vite build

System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
    Memory: 523.13 MB / 7.84 GB
  Binaries:
    Node: 21.6.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.3.0 - ~\node_modules\.bin\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @vitejs/plugin-react: ^4.3.3 => 4.3.3
    vite: ^5.4.9 => 5.4.10

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of #18034

Duplicate of #18034

It is not a duplicate of this #18034 issue, because the background-image property neither receives data uri of SVGs, nor it is included in the final build (even though we can see that there is a svg path shown in background-image: URL(/assets/img.svg) property like this)
The issue is not that, based on svg sizes we get inline svg as data uri or it gets included in the final build. The problem is that we do not get the inline data uri svg, nor is it included in the final build. Using assetsInlineLimit is a patch, because I do want Vite to optimize SVG files according to their size, however when it comes to background-image CSS property, it is not doing that! Works perfectly fine with  tag though.
I request to reopen this issue please, It seems like an important bug that needs to be fixed.

Duplicate of #18034

It is not a duplicate of this #18034 issue, because the background-image property neither receives data uri of SVGs, nor it is included in the final build (even though we can see that there is a svg path shown in background-image: URL(/assets/img.svg) property like this)
The issue is not that, based on svg sizes we get inline svg as data uri or it gets included in the final build. The problem is that we do not get the inline data uri svg, nor is it included in the final build. Using assetsInlineLimit is a patch, because I do want Vite to optimize SVG according to their size, however when it comes to background-image CSS property it is not doing that. Works perfectly fine with  tag though.
I request to reopen this issue please, It seems like an important bug that needs to be fixed.

however when it comes to background-image CSS property, it is not doing that!

I don't think that would happen. Would you create a GitHub repository that reproduces that? (The reproduction step is not clear to me.)
At least, the code you wrote is not correct (JSX code should not be quoted). Also if you expect mySvg to be a data-uri, it should be ``backgroundImage: url("${mySvg}")``` (double quote mySvg`).

Here is my git repo you can download the source code.
https://github.com/kishan59/svg_problem.git
You can check how in the production it behaves as well, so you can get a better idea. I am attaching the screenshot of the deployed website.

*run below commands to install npm packages and generate build
-- npm install
-- npm run build
p.s. I know JSX should not be quoted, however, for some reason when I don't use quotes in this comment section for div tag, the whole tag disappears, so that's why added quotes, my bad.

That is because you are not using the path from import. Vite does not know anything about React so cannot transform style attributes.
You need to use the value from import.
import image from '../assets/card-1.svg'
import image2 from '../assets/card-2.svg'

const MyComponent = () => {
  return (

        <div className='block relative p-0.5 bg-no-repeat bg-[length:100%_100%] md:max-w-[24rem] h-32'
            style={{backgroundImage: `url("${image}")`}}
        >
            check 1

        <div className='mt-4 block relative p-0.5 bg-no-repeat bg-[length:100%_100%] md:max-w-[24rem] h-32'
            style={{backgroundImage: `url("${image2}")`}}
        >
            check 2

  )
}

Got it, i admit this was completely my fault, I was not using double quotes inside background-image: url(""). This was causing it to not render small svg as data uri. Completely my fault, can you delete this bug report if possible? It seems that this was more of an syntax error rather than any issue with vite.


Improve search

Fix #30
Remove search by vegan alternatives and description

Codecov Report

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

@@         Coverage Diff          @@
##           master   #45   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           7     7
  Lines         210   210
  Branches       43    43
====================================
  Misses        210   210

Impacted Files
Coverage Δ

src/search_engine.rs
0% <ø> (ø)
: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 d5b6187...e278d3c. Read the comment docs.


Dictionary changed size during iteration

I ran this little test-script:
  import asyncio
  from asynctinydb import TinyDB, Query
  import sys
  import time

  async def create_db(db_path, num_elements):
      db = TinyDB(db_path)
      await db.truncate()  # Clear the database for a fresh start

      start_time = time.time()
      tasks = [db.insert({'type': 'item', 'id': i, 'name': f'Item {i}'}) for i in range(num_elements)]
      await asyncio.gather(*tasks)
      end_time = time.time()

      print(f"Database creation with {num_elements} elements took {end_time - start_time} seconds.")
      return db

  async def search_db(db, search_criteria):
      Item = Query()
      start_time = time.time()
      results = await db.search(Item.type == 'item' and Item.id == search_criteria)
      end_time = time.time()

      print(f"Search for item with ID {search_criteria} took {end_time - start_time} seconds, found {len(results)} items.")
      return results

  async def main(num_elements, search_id):
      db_path = 'async_test_db.json'
      db = await create_db(db_path, num_elements)
      search_results = await search_db(db, search_id)

  if __name__ == "__main__":
      if len(sys.argv) < 3:
          print("Usage: python script.py <number_of_elements> <search_id>")
          sys.exit(1)

      num_elements = int(sys.argv[1])
      search_id = int(sys.argv[2])

      asyncio.run(main(num_elements, search_id))

When running I get plenty of:
$ python3 benchmark.py 10000 3
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
Traceback (most recent call last):
  File "/tmp/benchmark.py", line 40, in <module>
    asyncio.run(main(num_elements, search_id))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/tmp/benchmark.py", line 29, in main
    db = await create_db(db_path, num_elements)
  File "/tmp/benchmark.py", line 12, in create_db
    await asyncio.gather(*tasks)
  File "<...>/.local/lib/python3.10/site-packages/asynctinydb/table.py", line 363, in insert
    await self._update_table(updater)
  File "<...>/.local/lib/python3.10/site-packages/asynctinydb/table.py", line 899, in _update_table
    await self._storage.write(tables)
  File "<...>/.local/lib/python3.10/site-packages/asynctinydb/storages.py", line 221, in write
    data = await self._sink.run(stringify_keys, data)
  File "<...>/.local/lib/python3.10/site-packages/vermils/asynctools/asinkrunner.py", line 179, in _run
    ret = func()
  File "<...>/.local/lib/python3.10/site-packages/vermils/gadgets/misc.py", line 55, in stringify_keys
    memo[id(data)].update((str(k), stringify_keys(v, memo))
  File "<...>/.local/lib/python3.10/site-packages/vermils/gadgets/misc.py", line 55, in <genexpr>
    memo[id(data)].update((str(k), stringify_keys(v, memo))
  File "<...>/.local/lib/python3.10/site-packages/vermils/gadgets/misc.py", line 55, in stringify_keys
    memo[id(data)].update((str(k), stringify_keys(v, memo))
  File "<...>/.local/lib/python3.10/site-packages/vermils/gadgets/misc.py", line 55, in <genexpr>
    memo[id(data)].update((str(k), stringify_keys(v, memo))
RuntimeError: dictionary changed size during iteration

It does happen reproducible with 10000 entries to insert. With 1000 it happens sometimes and sometimes not.

Thank you for your report!
I will fix it in the next release along with the other issue.
BTW, if you are doing a lot of writing, I suggest adding a CachingMiddleware. It took me 200+ seconds to finish this script with n = 10000.


Candles dropping nothing?

Seed URL
578608952933 and<PHONE_NUMBER>891
Randomizer version:
1.7.27
Operating system and version:
Windows 10 Education 1809
Browser and version:
Opera GX core: 64.0.3417.150
Emulator and version:
ePSXe v2.0.5
Bug description
Candles after the Richter fight don't drop anything. I've gotten both of these files to past the first boss, and the randomization is working for the most part, but candles and fires don't drop hearts, sub items, money, etc. They drop nothing at all.
How to reproduce:
Attempt to get hearts or sub items etc from candles once you begin playing as Alucard. I'm not sure if this is an intended feature, but I saw in the changelogs a fix for candles not being randomized, so I assumed it is not.

You need Cube of Zoe in order for candles to drop things.

Holy cow I never knew this even after beating sotn vanilla. Thank you for the response.
Closing


feat: added support for Typescript

[x] Add flag for Typescript in CLI options
[x] Initialise Vite with vue-ts and react-ts templates if TS selected.
[x] For Vue - main.js will be main.ts in link_controller_files. (If TS selected)
[x] For React - App.jsx will be App.tsx in create_react_files. (If TS selected)
[x] vite.config.js will be vite.config.ts
[x] Update documentation

Closes #10

@NagariaHussain - can you check whether it works well for Vue TS? I have tested for React.

@NagariaHussain - can you check whether it works well for Vue TS? I have tested for React.

Sure, will get back to you after testing it out. Thanks by the way 🚀🚀

Works as expected @nikkothari22 !


Improved wiki/wiki.py

I found that there were some isseus with the wiki.py file. I found that once you got your result of the first query you could enter any query you wanted but the output would not change. Also sometimes it would not show any output at all.
I fixed isseu one by putting everything in a main class and then declaring answer in the init instead of in the summary.
The second issue I could not fix, but I used tkinters messagebox.showerror to indicate to the user when something is wrong.
Then I also binded the enter key to running the summary function so instead of heaving to click the search button you can also press enter. When you search the text on the search button changes to searching to indicate the program is searching.

Last 2 commits are not for this pull request


ionic build --release browser generates broken zip archive

How to reproduce:

ionic start myApp maps
cd myApp
ionic platform add browser
ionic build --release browser
zip -T platforms/browser/build/package.zip

Error:
error:  invalid compressed data to inflate ./lib/ionic/fonts/ionicons.ttf
test of platforms/browser/build/package.zip FAILED

We want to build CI system for our ionic app, but we can`t because exit code of unzip process is not zero.

I'm seeing something similar, mostly affecting a selection of images. It's consistently affecting the same images, which I've attached, though I'm not sure if it's the images, or their position in the zip which has problems.
james@tower:~/Jobs/Kafoodle/Code/App$ zip -T platforms/browser/build/package.zip
  error:  invalid compressed data to inflate ./css/fonts/ionicons.eot
  error:  invalid compressed data to inflate ./img/default-dish-icon.png
  error:  invalid compressed data to inflate ./img/default-outlet-icon.png
  error:  invalid compressed data to inflate ./img/fhrs-images/FHIS/fhis_improvement_required.jpg
  error:  invalid compressed data to inflate ./img/fhrs-images/FHRS/fhrs_0_en-gb.jpg
  error:  invalid compressed data to inflate ./img/fhrs-images/FHRS/fhrs_4_en-gb.jpg
  error:  invalid compressed data to inflate ./img/fhrs-images/FHRS/fhrs_5_en-gb.jpg
  error:  invalid compressed data to inflate ./img/map/sprites.png
test of platforms/browser/build/package.zip FAILED

zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)

I've attached both img/fhrs-images/FHRS/fhrs_0_en-gb.jpg and img/fhrs-images/FHRS/fhrs_1_en-gb.jpg - 0 fails, 1 has no problems (as well as many others) - in case they help.

Greetings @caiiiycuk!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.

Errors are still there with ionic 1.2.1, when I test a zip file on Ubuntu I still have the same errors on a build browser release.

+1

same with 1.2.4 on windows7, extracting the zip with winrar 5.31:
\platforms\browser\build\package.zip: Checksum error in audio\shaker.wav. The file is corrupt
\platforms\browser\build\package.zip: Checksum error in img\ic_reload.png. The file is corrupt
\platforms\browser\build\package.zip: Checksum error in lib\ionic\release\fonts\ionicons.eot. The file is corrupt
\platforms\browser\build\package.zip: Checksum error in lib\ionic\release\fonts\ionicons.woff. The file is corrupt
\platforms\browser\build\package.zip: The archive is corrupt

for me the same with  1.7.16

This is definitely still a problem. I just ran into it myself.

I think someone should open new issue instead of this. I don`t want to open issue, because i don't use ionic anymore.

ionic --version
2.0.0
cordova --version
6.3.1
same here:
zip -T platforms/browser/build/package.zip  ;  echo $?
  error:  invalid compressed data to inflate ./build/fonts/noto-sans-bold.ttf
  error:  invalid compressed data to inflate ./build/fonts/noto-sans-regular.ttf
  error:  invalid compressed data to inflate ./build/fonts/roboto-light.ttf
  error:  invalid compressed data to inflate ./build/fonts/roboto-medium.ttf
  error:  invalid compressed data to inflate ./build/fonts/roboto-regular.ttf
  error:  invalid compressed data to inflate ./img/appicon.png
  error:  invalid compressed data to inflate ./img/themes/1/001.jpg
  error:  invalid compressed data to inflate ./img/themes/1/002.png
test of platforms/browser/build/package.zip FAILED

zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
8

+1

The same with the most recent ionic cli 2.1.13

Still closed and won't be fixed?

I also have this problem

I'm having the same issue

Please reopen, this is still a problem.

+1

FYI this is not an ionic bug, rather than Cordova-browser bug. In order to have not broken zip archive you can install the patched version from this PR https://github.com/apache/cordova-browser/pull/25
IDK why the original maintainers haven't fixed it yet.

In case it wasn't clear yet, a work around is to just use the files located in platforms/browser/www/. They seem to be just fine.

Still package.zip still has the same issue in ionic 3.0.1. It cannot be unzip. Using Ubuntu 16.04. Working around by manually zipping platforms/browser/www/.


RF builder: Rules for numbering levels and indicators

Stories

As someone building a Results Framework (RF), I don't need to worry about numbering my levels; the system takes care of it for me.
As someone entering indicators and linking them to the RF, I don't need to worry about numbering the indicators; the system takes care of it for me.

Acceptance criteria

RF level
RF numbers
Indicator numbers

Top level
None ✶
a, b, c

Second level
1, 2, 3
1a, 1b, 1c

Third level
1.1, 2.1, 3.1
1.1a, 1.1b, 1.1c

Fourth level
1.1.1, 2.1.1, 3.1.1
1.1.1a, 1.1.1b, 1.1.1c

Fifth level
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
<IP_ADDRESS>a, <IP_ADDRESS>b, <IP_ADDRESS>c

Sixth level
<IP_ADDRESS>.1, <IP_ADDRESS>.1, <IP_ADDRESS>.1
<IP_ADDRESS>.1a, <IP_ADDRESS>.1b, <IP_ADDRESS>.1c

✶ Critical exception: The top level should have no number, and its linked indicators should only have letters, no number.
Why: As directed by our PaQ advisers, no program should ever have more than one Goal or top level equivalent, regardless of template. We are not even going to include the show "Add another [top level]" button to prevent this from happening -- covered in #1251. If we numbered the top RF level "1", then every single RF level would start with a 1 -- unhelpful, and not what teams do today.
Housekeeping

[ ]  Unit test/s written wherever applicable
[ ]  i18n tags included wherever applicable
[ ]  Functionality is accessible to people using screen readers

PASSED. I tested with a template that has five RF tiers -- the maximum number of tiers we have in any template at the moment.


Do not list removed Markdown files

When I created https://github.com/octokit/rest.js/pull/1085, mardownify listed lib/endpoint/README.md which was removed compared to master. I since changed the base to next so it no longer is edited in the PR

In theory it should be possible to add  && file.status !== 'removed' to https://github.com/hiimbex/markdownify/blob/37ff22a9c89747bce8fee11751814aa7238e8343/index.js#L4
However, when trying this, file only contains the filename property, unlike in the API documentation. 🤔


Mage training arena highlights wrong items in alchemy room

Describe the bug
Leather boots are not highlighted in the alchemy room of MTA
To Reproduce
Steps to reproduce the behavior:

Go to Alchemy room in the mage training arena
play the game until leather boots should be highlighted

Expected behavior
Highlight leather boots
Screenshots

Environment:

OS: Windows 10
RuneLite version: 1.7.13
Launcher version: 2.1.7
hardware acceleration disabled

for clarity: It happens every time leather boots should be highlighted and fixes itself when the prices change and something else gives the most coins


Global Projects Filter: Disable Apply Changes when No changes are present

:nut_and_bolt: Description: What code changed, and why?
Currently when using the global projects filter, if a user makes selections, and then reverses those selections, they are still allowed to apply changes, even though no changes are present.
This branch disables the apply changes button when there are not "new" changes present.
:chains: Related Resources
Fixes: https://github.com/chef/automate/issues/3413
:+1: Definition of Done
Users see a disabled apply changes button until they have made true changes to the filter selections.
:athletic_shoe: How to Build and Test the Change
build components/automate-ui-devproxy && start_all_services
make serve
In the UI, create a handful of projects at https://a2-dev.test/settings/projects
in the top right of any page, click on the global projects dropdown
check some of the projects, see the apply changes button activate
uncheck those projects, see the apply changes button deactivate
check some of the projects, see the apply changes button activate
click clear selection button, see the apply changes button deactivate
Check some of the projects again and click to apply
After the selection has been applied
check some of the projects, see the apply changes button activate
uncheck those projects, see the apply changes button deactivate
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[x] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

Sorry for being so verbose... sort of got carried away. 😁

@msorens - out of the three typescript issues in this file, I was able to resolve one of them.  The other two need the same fix, but I can't seem to decipher how to resolve.  In order to not hold this up, I've decided to loop all the typescript updates needed for files i've touched into a single chore for myself here: https://github.com/chef/automate/issues/3472 where I will follow up with next week.


Primary and fallback Icon Pack.

Checklist:

[X] I'm sure this issue is not a duplicate?

Description:
Would be really nice if it's possible to add an primary URL, and then a fallback URL. Why? Simply, if I want to create an icon pack, I have to feature all of the existing icons. So it's useful if I can set a primary Icon Pack URL and then a secondary, if one icon isn't found in the primary, it's searching in the secondary.

@jens1o I don't know if we're going to need this as once we integrate with the official API it will have no sense. In fact, every pack of icons will be an extension itself.

You're right. Since the new api, this suggestion as now sense, I'm closing.


Thats your device. Try to get the graphicks down and clear your ram


switch over to Google Analytics 4 before July 1, 2023

Universal Analytics will no longer process new data in standard properties beginning July 1, 2023.

close in https://github.com/CyrusYip/cyrusyip-blog/commit/457904e0e02c3c4fa01e28a40e8d12a541aa2c8b


record webcast for WKC admin module

@scottdangelo I'm closing these recording issues, we are tracking in other repo.


Keysight sd1 version 3.1

Updated for KeysightSD1 version 3.1. Especially, added synchronization to some functions.
Improved background thread.
Improved API documentation.

Hi @sldesnoo-Delft
Thank you for the PR. If the PR is ready for the review, please make sure that the CI passes. The problem right now is that mypy failing because of typing issues. Let us know if we can help fixing those.

@jenshnielsen
The PR looks fine for me
Could you have a quick look, when appropriate?


Enforce either it { should ... } OR it { is_expected.to }

Should it default to is_expected? should seems like a legacy of the older syntax.

Heh yeah I was just having this conversation. My understanding is that is_expected is supposed to be better than should but I don't understand why besides 1) the authors say its better and 2) it is simply an alias for expect(subject) while should has more indirection. Do you know any other reasons?

@andyw8 Heh yeah I was just having this conversation. My understanding is that is_expected is supposed to be better than should but I don't understand why besides 1) the authors say its better and 2) it is simply an alias for expect(subject) while should has more indirection. Do you know any other reasons?

(Regardless of my preference I would definitely make is_expectedd the default since that is what the RSpec team recommends)

I would say it's just more congruent with the newer syntax, no strong technical reason.


Ghidra Ignores Sign-Extension of Memory Operand Displacement Values

Describe the bug
Displacement values (as I understand them) when calculated as part of an effective memory address should be sign-extended to the size specified in the instruction encoding. While Ghidra correctly identifies the size of the displacement value, it does not sign-extend it. This produces inaccurate/misleading disassembly and incorrect instruction semantics in PCode.
Consider the following opcodes:
64 48 8b 0c 25 c8 ff ff ff
IDA Disassembly:
mov     rcx, fs:0FFFFFFFFFFFFFFC8h
Binary Ninja Disassembly:
mov     rcx, qword [fs:0xffffffffffffffc8]
Zydis Disassembly:
mov rcx, qword ptr fs:[0xFFFFFFFFFFFFFFC8]
Ghidra Disassembly:
MOV          RCX,qword ptr FS:[0xffffffc8]
Additionally, the PCode semantics for this instruction results in the following:
$U4f00:8 = INT_ADD FS_OFFSET, 0xffffffc8:8
$Uc000:8 = LOAD ram($U4f00:8)
RCX = COPY $Uc000:8

In this situation, the value 0xffffffc8 is of size 8 (64-bits), so the result of the add operation (which is also 64-bits in size) will not result in the correct result. Consider the semantics produced by two other popular analysis tools:
BinaryAnalysisPlatform (BAP) Semantics:
RCX := mem[FS_BASE - 0x38, el]:u64

Binary Ninja Semantics:
rcx = [fsbase - 0x38].q

To Reproduce
Steps to reproduce the behavior:

Write the opcodes 64 48 8b 0c 25 c8 ff ff ff into a binary file
Load the file in Ghidra and disassemble as x86-64
View Disassembly and PCode

Expected behavior
The results of the disassembly to sign-extend the displacement in a manner consistent with other tools.
Environment (please complete the following information):

OS: Ubuntu 20.04
Java Version: 11.0.7
Ghidra Version: 10.1.4
Ghidra Origin: Official GitHub release

https://github.com/NationalSecurityAgency/ghidra/blob/28e3c2b8db43a3296a7b6f292afb2910f7cc7eea/Ghidra/Processors/x86/data/languages/ia.sinc#L736
is the issue, its using imm32_64 but maybe should be using simm32_64 instead

Generally, displacements and immediates in 64-bit mode are not extended to 64 bits. They are still limited to 32
bits and sign-extended during effective-address calculations. In 64-bit mode, however, support is provided for 64-
bit displacement and immediate forms of the MOV instruction.

That was my thought as well considering the use of simm elsewhere

This probably the result of directly using a token field in the print piece (i.e., operand).  This constant should be handled via subconstructor which exports the sign-extended constant to the correct size.

@mumbel I would probably agree with your observation although I have not verified.

Yeah, I didn't look much further than that, like if there is some insn that does expect that imm32_64.  I didn't know how to interpret that quote from the manual


Kubernetes Ingress PathPrefix service name with dash duplicate

Bug report
What did you do?
Declare a kubernetes Ingress resource with 2 rules with different names but almost the sames :
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: traefik
    traefik.ingress.kubernetes.io/router.middlewares: strip@file # middleware stripPrefixRegex with regex ["/"]
  name: whoami
  namespace: traefik
spec:
  rules:
  - host: domain.com
    http:
      paths:
      - backend:
          serviceName: whoami
          servicePort: web
        path: /whoami/test
  - host: domain.com
    http:
      paths:
      - backend:
          serviceName: whoami
          servicePort: web
        path: /whoami-test
  tls:
    - secretName: traefik-default-cert

What did you expect to see?
I Can access both path /whoami-test and /whoami/test
What did you see instead?
Only /whoami-test is working
If I change the order of the rules in the ingress configuration the last one is working (/whoami/test) but not the first one.
I think it's an issue with the generated name of the traefik router :
Both ingress rules have the same router name : websecure-whoami-traefik-traefik-domain-com-whoami-test
Output of traefik version:
image: traefik:2.2.7

What is your environment & configuration (arguments, toml, provider, platform, ...)?
[providers]
  [providers.kubernetesIngress]
  [providers.kubernetesIngress.ingressEndpoint]
      publishedService = "traefik/traefik-ingress-service"
  [providers.file]
    directory = "/config"
    watch = true

Coming from #7510, it's affected too I expose router name labels so it's affected and change it after release this could generate a very important breaking change and leave empty tons of charts as routerName/serviceName changed.

We are experiencing the same problem in our setup where we grouped a wildcard path and it's subdomain together. In seperate ingresses, this works, but when thrown together, only a single router is made, and one of the two, depending on statement order, is inaccessible:
`spec:
ingressClassName:
rules:

host: '*.domain.com'
http:
paths:

backend:
serviceName:
servicePort:
path: /
pathType: ImplementationSpecific

host: domain.com
http:
paths:

backend:
serviceName:
servicePort:
path: /
pathType: ImplementationSpecific
tls:

hosts:

'*.domain.com'
domain
secretName: -cert`

It's an option consider things like * of / as exceptions in https://github.com/traefik/traefik/blob/master/pkg/provider/configuration.go#L350?
I did a PoC in local and I've the results I want but with 2 problems:

I don't cover all use cases
Breaks tons of tests and generate a very very important breaking change

Hello @seuf and thanks for reporting this bug. I have been able to reproduce consistently the issue.
As spotted, the issue comes from the router key:
https://github.com/traefik/traefik/blob/64a65cadf3420734a578b0b02717d349be99fd53/pkg/provider/kubernetes/ingress/kubernetes.go#L276

We trying to migrate from traefik 1.7.24 to 2.3 We are facing similar issue. In 1.7.24 things work well. but in 2.3 traefik ignore host with wild card. It will be great if we get fix in traefik 2.4 as it is breaking change.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: traefik
  name: k8s-service
  namespace: my-path
spec:
  rules:
  - host: '*.somthing.svc.foo.bar'
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api
  - host: '*.somthing.api.foo.bar'
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api
  - host: somthing.svc.foo.bar
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api
  - host: somthing.api.foo.bar
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api

How this comment is of topic at least have some courtesy to explain how. I required i can create new issue. Very nice way to welcome in community. Thanks.

We trying to migrate from traefik 1.7.24 to 2.3 We are facing similar issue. In 1.7.24 things work well. but in 2.3 traefik ignore host with wild card. It will be great if we get fix in traefik 2.4 as it is breaking change.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: traefik
  name: k8s-service
  namespace: my-path
spec:
  rules:
  - host: '*.somthing.svc.foo.bar'
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api
  - host: '*.somthing.api.foo.bar'
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api
  - host: somthing.svc.foo.bar
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api
  - host: somthing.api.foo.bar
    http:
      paths:
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /my-path
      - backend:
          serviceName: k8s-service-app
          servicePort: 8000
        path: /api

any process ?


Size issues

Hello!
So on the website, I think dynamic page size was off because the TwisterOS logo is cut off and the page isn't stretched to fit.

Thank you for pointing this out. Seeing as I'm new to web development I have come across a couple of guides that may help me out in fixing this issue. Give me time to read, learn, digest and apply to the site. In the mean time view the site in a maximized window while I sort dynamic issues out. :)

(On mobile at least...)


Backport the python3 embedSdf script variant

This backports the embedSdf.py script from #884 and adds some improvements to make it usable in support of the sdformat bazel build.
This does not make sdf13 use the embedSdf script by default, instead still preferring the ruby version.

@osrf-jenkins retest this please


I have written the co gisticChromPlot with vertical layout function I want to commit it into maftools

Dear Author @PoisonAlien,
Issue
I want to plot a vensus-plot like coOncoplot, to see only Amp or Del G-scores at a time from two GISTIC objects, showing in a gistic Chromesome plot in a vertical layout.
So I wrote a new function named gisticChromPlot2v and a helper yload_gistic. 2 like 2 in lollipopPlot2 which means this is a comparison of two GISTIC object and v means vertical which is discriminative from the original gisticChromPlot which takes a horizonal layout.
Depends
magrittr
Imports
dplyr
Command
After adding these functions we can do coGisticChromPlot with the following codes:
# --- load data ---
all.lesions <- system.file("extdata", "all_lesions.conf_99.txt", package = "maftools")
amp.genes <- system.file("extdata", "amp_genes.conf_99.txt", package = "maftools")
del.genes <- system.file("extdata", "del_genes.conf_99.txt", package = "maftools")
scores.gis <- system.file("extdata", "scores.gistic", package = "maftools")

laml.gistic = readGistic(gisticAllLesionsFile = all.lesions, gisticAmpGenesFile = amp.genes, gisticDelGenesFile = del.genes, gisticScoresFile = scores.gis, isTCGA = TRUE)

# or you can use new helper function to quickly read gistic results into new object:
gistic_res_folder = system.file("extdata",package = "maftools")
laml.gistic2 = yload_gistic(gistic_res_folder)
# NOTE:
# to quickly show the plots, I have to use the data inside the maftools, so the left and right part of the plot is mirrored, but
# in practise you will send different GISTIC and MAF objects to `gistic1`,`gistc2`, `maf1`,`maf2`, the function also works well.

laml.maf = system.file('extdata', 'tcga_laml.maf.gz', package = 'maftools')
laml.clin = system.file('extdata', 'tcga_laml_annot.tsv', package = 'maftools')
laml = read.maf(maf = laml.maf, clinicalData = laml.clin)
laml2 = laml

# --- plot ---
r = gisticChromPlot2v(gistic1 = laml.gistic, gistic2 = laml.gistic2, type='Del',
                       symmetric = TRUE, g1Name = 'TCGA1',
                       g2Name = 'TCGA2', maf1 = laml, maf2 = laml2, mutGenes = 30)
# will result in

r = gisticChromPlot2v(gistic1 = laml.gistic, gistic2 = laml.gistic2,  type='Amp',
                       symmetric = FALSE, g1Name = 'TCGA1',
                       g2Name = 'TCGA2', maf1 = laml, maf2 = laml2, mutGenes = NULL)
# will result in

using my own data to show symmetric parameter's function:
if symmetric=FALSE,type='Del' results in

then with symmetric = TRUE,type='Del':

I've made the code a pull request:
https://github.com/PoisonAlien/maftools/pull/954

The progress is recorded on the pull request pages.


Question: session IDs and API key security

Describe the problem
I want to know 2 things:

Does this package manage session IDs(for low cost) automatically?
This package makes an XHR request, which can be seen by anyone. API KEY will be passed into the request. Is there a way to protect/restrict it?

This library is basically unusable as it is since anyone can decompile the app or sniff the requests to obtain API Key and can cost you $$$$$ by using your key, it might be already too late when you realize. You cannot even rotate keys that easily if you just hardcode the keys in your app because it will stop working for old users...


Add TextRadio Input Control

Add a radio button list input that allows text selection.
It should be implemented in a manner similar to the TextSelect control, but render a list of radio inputs instead of a single select input.  Use existing interfaces and components where possible.
It should render one  input for each SelectOption.
It will need to give each input the same 'name' property, so that clicking one deselects any others.  Use the 'id' property for this shared name, and give each input an 'id_x' as its id, where x is the index of the select option, so that each input has a unique id, and can be referenced by its label
eg:

Labels should be rendered beside each radio input in a manner similar to the checkbox input.

Closed via 2a014794886d92747df97abb71c7faa5fe06235c


Autocompletion sometimes breake

Sometimes the autocompletion breaks in a notebook and it can only be restored to a working condition by closing and reopening the notebook. I do not have a consistent way of reproducing it. The output in the terminal give the following each time I tab.
KERNEL EXCEPTION
KeyError: text not found

 in getindex at dict.jl:718
 in complete_request at C:\Users\dho\.julia\v0.4\IJulia\src\handlers.jl:7
 in eventloop at C:\Users\dho\.julia\v0.4\IJulia\src\IJulia.jl:123
 in anonymous at task.jl:447

I think this should be fixed in the latest IJulia master version (Pkg.checkout("IJulia"); Pkg.build("IJulia")) with IPython 3 or later.

Thank you, I see the latest tag is from the spring, could you tag a new version?

Yes, I've been holding back on dropping IPython 2 support, but I'm planning to tag something shortly, after running a few tests.

Tagged as IJulia 1.0.


improvement Add bvar to monitor the count of replaying wal fail on group commit

Proposed changes
Add bvar to monitor the count of replaying wal fail on group commit
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Add default RESTful actions to BaseModel

There are common Restful actions that we use across the projects — create, update, destroy, load, loadAll. They can be added to BaseModel to reduce boilerplate code

@ikido Have ideas about actions names? How about variants:

BaseModel.create()
BaseModel.fetch(id?) (for list without id and single model if id set)
model.sync()
model.update()
model.delete()

#30 Added following Restful actions:

BaseModel.create()
BaseModel.load()
model.update()
model.delete()


Cache Corruption

Seems that there exists an edge case where if the cache exists but is corrupted in some way (failure to write due to disk full or incorrect permissions), logins will fail to work.
Possible solutions are perhaps to verify the integrity of the data.
If the username and password are given then confirm that these values match the cached values?
See this stack overflow for how to append a checksum to the end of a pickle file to verify integrity: https://stackoverflow.com/questions/1653897/if-pickling-was-interrupted-will-unpickling-necessarily-always-fail-python

This seems like it would be easy to implement but one issue I'm seeing is the fact the cache template also contains a UUID in addition to the ID and PASSWORD. So if I'm understanding this right, you would have to confirm the hash of ID, PASSWORD and UUID match, but since UUID is uniquely generated, I don't think that would work?
Perhaps another solution:
https://stackoverflow.com/questions/33938173/verifying-file-integrity-with-python

Good point, however I do wonder if instead of appending a checksum to the pickle file if we just verify the username/password match what is in the cache and if not delete and regenerate the cache file. This might solve the issue too, since I think the issue was just the cache file being unreadable or only partially written.

Noticed this post in the stack overflow link you posted:

Contra the other answers offered, I believe that we can make a strong argument about the recoverability of a pickle. That answer is: "Yes, an incomplete pickle always leads to an exception."
Why are we able to do this? Because the "pickle" format is in fact a small stack-based language. In a stack-based language you write code that pushes item after item on a stack, then invoke an operator that does something with the data you've accumulated. And it just so happens that a pickle has to end with the command ".", which says: "take the item now at the bottom of the stack and return it as the value of this pickle." If your pickle is chopped off early, it will not end with this command, and you will get an EOF error.

If that's true, then it seems like we should just be able to call pickle.load within a try: statement then catch the exceptions UnpicklingErrorand EOFError.


Fixed column?

I'm currently using ng-table to create an order system for a subscription based software. I want customers to be able to move and reorder the table without changing the month. Basically a fixed column of months while the rest of the tables are moveable. Is there any way currently to do this? If not do you have plans to add it?

+1

+1

+1


shade is required for this module !?

Hi I'm getting this Error !!

[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it
can also be a list of hosts, a directory or a list of paths . This feature will
 be removed in version 2.8. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
 [WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'

PLAY [Launch k8s master] *******************************************************

TASK [Gathering Facts] *********************************************************
Monday 05 March 2018  16:55:56 +0100 (0:00:00.045)       0:00:00.045 **********
ok: [localhost]

TASK [Set variables] ***********************************************************
Monday 05 March 2018  16:55:57 +0100 (0:00:00.533)       0:00:00.578 **********
ok: [localhost]

TASK [openstack-security-groups : Create master security group] ****************
Monday 05 March 2018  16:55:57 +0100 (0:00:00.029)       0:00:00.608 **********
fatal: [localhost]: FAILED! => {"changed": false, "msg": "shade is required for this module"}
        to retry, use: --limit @/home/ubuntu/k8s-on-openstack/site.retry

PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=1

Monday 05 March 2018  16:55:57 +0100 (0:00:00.238)       0:00:00.847 **********
===============================================================================
Gathering Facts --------------------------------------------------------- 0.53s
openstack-security-groups : Create master security group ---------------- 0.24s
Set variables ----------------------------------------------------------- 0.03s

Hello @imedaouidene ,
yes you will have to install the ubuntu package python-shade.
http://docs.ansible.com/ansible/latest/os_security_group_module.html
requirements:

python >= 2.7
shade

I guess it would be better if the playbook installed this package. Could you propose a PR for this ?
Thank you


Could you please make the endpoint /prometheus configurable?

Hi @diegopereiraeng! This bundle is now configurable, so that you can customise prometheus endpoint. You will need to upgrade to version 3.0.0 and adjust app configuration class. Please find more details in the readme here
If you need any further assistance please let me know.


fix: prevent jumping of blog page layout

Prevent blog page from jumping to the top of the page when filters are cleared.

Related issue(s)

Fixes: #815

The new button looks big compared to the select elements. I tried using md:py-[0.4rem] but the value is not getting computed by tailwind.

@Olaleye-Blessing

The new button looks big compared to the select elements. I tried using md:py-[0.4rem] but the value is not getting computed by tailwind.

That class won't work, because we still use v1 Tailwind.

@Olaleye-Blessing Thanks for contribution! I fixed it for you :)


Add docker mode as docker does not support SemVer in tags

https://github.com/distribution/distribution/issues/1201

Docker will not allow for the + in the tag so it should be substituted for something else such as __.
Another file .sem_var.opts should be defined that allows for recording the options a Semmy version were created with.


missing kinectMocap4Blender.py

if i install the addon and want to enable it it just says it cant find "kinectMocap4Blender.py" in the scripts/addons folder...
where can i find this file?

It's in the downloadable release zip.

oof, sorry, i've downloaded the files via the "clone" button...
found it, thanks.
and thank you for your awesome work!


Remove jQuery from the "quick submit" handler

Switched to plain JavaScript
Tested the quick submit functionality and it works as before

Demo using JavaScript without jQuery

Hope you tested it 😆


RubyLearning DNS has changed

No longer using the www prefix for the home page on RubyLearning.com
fixes #230

:+1: