vscode project update

I opened the project in vistual studio code 1.42.1 (latest at time of writing) and it decided to re-format a json file. No other changes in project setup fortunately.

No other changes in project setup fortunately.

Spoke too soon, the project is throwing errors. I'm new to vscode but I'll take a look.

Apaprently it was a typo: "sun.h" instead of "Sun.h". Updated pull request.
Build succeeds now:
Checking size .pio/build/esp32dev/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [==        ]  19.5% (used 63780 bytes from 327680 bytes)
Flash: [========  ]  76.1% (used 1495270 bytes from 1966080 bytes)
esptool.py v2.6
================================================================ [SUCCESS] Took 28.24 seconds ================================================================

Terminal will be reused by tasks, press any key to close it.


Add emit to "Socket" class

I'm working on getting uws to work with multiogar and the issue right now is we have a bit of code that triggers the close event itself and as the Socket class does not have a full event emitter in it this throws an error because emit does not exist. Hopefully there is a simple fix.

I added emit in 0.7.6, test it out and see how it works.

Thank you!

If you get it working and deploy it somewhere I can reach I would like to test play it :smile:

thx my server so smooth now :+1:

Link?

You can play with: vanilla agar.io client here.

Rofl, the names. Yeah but it seems to work nicely. Is is smoother or is it just placebo?

Smoother than what?

Oh, it might be but I think the main difference is how many players can be on the same server without lag.

I think you will need to stress it some more yep. Also, if you run physics maybe that is the bottleneck.

The creator of multiogar said about 20% of the cpu usage was websocket and 70% was physics, but I could imagine how that would change as you get more connections.

uws is a lot more CPU efficient compared to ws, no doubt about it. I will try to get some proper benchmarks running the game and share them. Would make for a nice success story. Thanks for the swift commits!

@henopied You should disable permessage-deflate. It's currently enabled and not something you want in a game server. It will get a massive boost in perf if you pass perMessageDeflate: false as a server option.

I have tested uws my server on c9.io 75 players no lag with ws 50 players laggy abit
my server link:http://agar.io/?ip=siri-server-serverps.c9users.io


Regression in writing BooleanArray with nulls

First reported by @dnsco
When writing an Arrow batch to Lance, encountered panic on https://github.com/lancedb/lance/blob/main/rust/src/encodings/plain.rs#L93
Not verified but it appears to be calling unwrap on a potential None value if the BooleanArray is nullable.
This did not occurs in previous versions (this particular piece of code was modified with the unwrap recently so the timing checks out).

Our test passes in 0.4.21 but fails in 0.5.1


How to maximize terminal after it is moved to sidebar / activity bar

VSCode Version: 1.44
OS Version: mac os catalina

Steps to Reproduce:

Move terminal to activity bar by dragging and dropping to activity bar
Try to maximize the terminal by running command "view: Toggle Maximized Panel"

Expected: Terminal should maximize
Actual: Terminal size stays the same

Does this issue occur when all extensions are disabled?: Yes

If you have moved it to the Activity Bar then it is no longer in the Panel and so I would suspect the command
View: Toggle Maximized Panel
should do nothing to the Terminal - which I assume you now opened up in the Side Bar.  It doesn't look there is a Maximize the Side Bar command.
There is a "Toggle the Side Bar Visibility" command so you could physically drag the Activity Bar/Editor separator to one side to maximize it and then toggle will go back and forth but between a nearly full-sized Terminal and one not visible at all which may not be what you want.

@ArturoDent is correct. The command is about the panel, not the terminal. It is working as intended.

@sbatten @ArturoDent  When the terminal is moved to side bar we need a way to maximize it like it was possible when it was present in the panel.  I mentioned view: toggle maximized panel  to say we may need equivalent command to maximize terminal when it is present in sidebar.
Moving items from panel to sidebar strips of the maximizing capabilities but where as moving items from sidebar to panel adds the capability.


Merge prTesting_201906051101 branch to master branch

Docs Build status updates of commit 942270f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[ENH] - Set minimum nodes to 0 for AWS deployment

Feature description
We need to set the min_nodes for AWS to 0 for user and worker nodes. We do have 0 for GCP.
Otherwise this makes Nebari quite expensive (~$625/month) for someone trying it with default configuration:
amazon_web_services:
  kubernetes_version: '1.26'
  region: us-east-1

Cost:

general node: m5.2xlarge at $0.384/hr: 0.384*720 = $276.48
user and worker node: 2 x m5.xlarge at $0.192/hr: 20.192720 = $276.48
Node cost $552.96
K8s base cost ~ $72

Nebari base cost on AWS: $625 per month with default config
This was not supported in by AWS, but its been a while since it's supported.
Value and/or benefit
Reduction in base cost for Nebari on AWS with the default configuration.
Anything else?
No response

To replicate this, I created a Nebari cluster. The following nodes were created:
┌───────────────────────────────────────────────────────── Nodes(all)[1] ──────────────────────────────────────────────────────────┐
│ NAME↑                                           STATUS     ROLE        TAINTS     VERSION                       PODS AGE         │
│ ip-10-10-41-202.eu-west-1.compute.internal      Ready      <none>      0          v1.26.10-eks-e71965b             0 132m        │

└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Default settings create a single node. All the pods are deployed on the same node.
Do we still need this change? Am I looking in the right place?

Thanks @aktech for pointing out that k9 is not actually showing all the hosts. On AWS EC2 console we see 3 instances.

After setting the worker and user nodes to 0 and destroying and recreating, I can verify that there is only one general instance.

Terraform refuses to create tags for autoscaling groups, only available once the node groups are formed.

Please note: I had to move the user scheduler to the general node, as it kept the user node alive even if there was no user activity.
If needed I can raise a separate mini-pr to just do this.

To replicate the issue of local deployment, I am trying to run the same config on my laptop. It's an Intel-based Mac.
Config
Nebari config
I got the following config from the CI logs
$ cat nebari-config.yaml
provider: local
namespace: dev
nebari_version: 2024.1.1rc2.dev82+g99d4445c
project_name: thisisatest
domain: github-actions.nebari.dev
ci_cd:
  type: none
terraform_state:
  type: remote
security:
  keycloak:
    initial_root_password: foad9omyohtfc7hfanwbem8zhahaup3s
  authentication:
    type: password
theme:
  jupyterhub:
    hub_title: Nebari - thisisatest
    welcome: Welcome! Learn about Nebari's features and configurations in the
      documentation. If you have any questions or feedback, reach the team on
      Nebari's support
      forums.
    hub_subtitle: Your open source data science platform, hosted

Hosts file
$ cat /etc/hosts | grep <IP_ADDRESS>
<IP_ADDRESS> github-actions.nebari.dev

Error
[terraform]: Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
[terraform]:
[terraform]: Outputs:
[terraform]:
[terraform]: load_balancer_address = {
[terraform]:   "hostname" = ""
[terraform]:   "ip" = "<IP_ADDRESS>"
[terraform]: }
Attempt 1 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 2 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 3 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 4 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 5 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 6 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 7 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 8 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 9 failed to connect to tcp tcp://<IP_ADDRESS>:80
Attempt 10 failed to connect to tcp tcp://<IP_ADDRESS>:80
ERROR: After stage=04-kubernetes-ingress unable to connect to ingress host=<IP_ADDRESS> port=80

Issue
Nothing is running on port 80 on my laptop.
$ sudo lsof -i -P | grep LISTEN | grep :80
Password:
$

Next step
The document clearly says it doesn't work on Mac. So, I will try this on an EC2 machine instead.

Reopening this as a release blocker as we've discovered an issue.
From @kenafoster :

I confirmed it works with the out-of-the-box config so it's the way we are using profile->node selectors that doesn't work with default 0.

He is currently on PTO until next week so we'll wait until then to discuss.

@kcpevey, glad you are on the case!   Really hoping to see this land, as it would help me sell Nebari a lot easier!

@pt247 shared this with me.  I tested a similar configuration in AWS and it works - you can scale from 0->1 using the "dedicated" selector to target a node pool by name.
So, the way to target different JupyterLab profile to a specific NodeGroup is by using the following key:
        node_selector:
          "dedicated": "fly-weight"

"dedicated" is a key used in lables that Nebari uses for hinting which links ASG to NodeGroups.
And "fly-weight" is the name of the node group.
The full config looks like this:
amazon_web_services:
  region: eu-west-1
  kubernetes_version: '1.26'
  node_groups:
    general:
      instance: m5.2xlarge
      min_nodes: 2
      max_nodes: 5
    user:
      instance: m5.xlarge
      min_nodes: 0
      max_nodes: 50
      single_subnet: false
    worker:
      instance: m5.xlarge
      min_nodes: 0
      max_nodes: 50
      single_subnet: false
    fly-weight:
      instance: m5.xlarge
      min_nodes: 0
      max_nodes: 50
      single_subnet: false
    middle-weight:
      instance: m5.2xlarge
      min_nodes: 0
      max_nodes: 50
      single_subnet: false
    heavy-weight:
      instance: g4dn.xlarge
      min_nodes: 0
      max_nodes: 50
      single_subnet: false
profiles:
  jupyterlab:
    - display_name: Small Instance
      description: Stable environment with 1.5-2 cpu / 6-8 GB ram
      default: true
      kubespawner_override:
        cpu_limit: 2
        cpu_guarantee: 1.5
        mem_limit: 8G
        mem_guarantee: 6G
        node_selector:
          "dedicated": "fly-weight"
    - display_name: Medium Instance
      description: Stable environment with 1.5-2 cpu / 6-8 GB ram
      kubespawner_override:
        cpu_limit: 4
        cpu_guarantee: 2
        mem_limit: 12G
        mem_guarantee: 8G
        node_selector:
          "dedicated": "middle-weight"
    - display_name: G4 GPU Instance 1x
      description: 4 cpu / 16GB RAM / 1 Nvidia T4 GPU (16 GB GPU RAM)
      kubespawner_override:
        image: quay.io/nebari/nebari-jupyterlab-gpu:2024.1.1
        cpu_limit: 4
        cpu_guarantee: 3
        mem_limit: 16G
        mem_guarantee: 10G
        extra_pod_config:
          volumes:
            - name: "dshm"
              emptyDir:
                medium: "Memory"
                sizeLimit: "2Gi"
        extra_container_config:
          volumeMounts:
            - name: "dshm"
              mountPath: "/dev/shm"
        extra_resource_limits:
          nvidia.com/gpu: 1
        node_selector:
          "dedicated": "heavy-weight"

@kcpevey
I have created a ticket in nebari-docs document this:
https://github.com/nebari-dev/nebari-docs/issues/415
Since no changes are needed in this PR to support this, is it okay to:

Remove the block-release ⛔  label.
Close this PR.


Async in python2

Have you considered to use asyncore or trollius for python2?

Yes, I have considered that, but decided against it. Prefer to work for the future.


KeybaseUpdater keeps uninstalling Keybase on macOS

Update: see below
I have no idea what's going on. I'm on the latest version of macOS Sierra, using Keybase.app Version 1.0.18-20170208165022+dc66461 (1.0.18-20170208165022+dc66461).
I hadn't used the client for a while and noticed the keybase binary was no longer in my path. I just downloaded the latest desktop client and installed it, the binary came back, everything working fine.
The next day Keybase.app and the keybase binary are gone. I re-installed it and one day later I run into the same issue. I've reproduced this a number of times now, in one case it must have been uninstalled while running because it couldn't find any of the images used in the app.
I'm logged in as a non-admin user but admin credentials are provided during installation.
I couldn't find anything relevant about Keybase in /var/log/* and so far, Keybase is the only app that keeps disappearing. Is there anything that triggers a Keybase uninstall?

It just happened again while it has been open the whole time, here's a screenshot where the app fails to find its own images:

I didn't even reboot my machine nor put it to sleep since last installing it (although this doesn't cause the issue, as I previously tested).

I think I know what's happening now. Looking at ~/Library/Logs/keybase.updater.log:
2017/02/12 16:47:36 INFO [Applying update]
2017/02/12 16:47:36 INFO Unzipping "/var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase-1.0.18-20170209165653+17b641d.zip" to "/var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase-1.0.18-20170209165653+17b641d.zip.unzipped"
2017/02/12 16:47:41 INFO Moving existing destination "/Applications/Keybase.app" to "/var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase.app"
2017/02/12 16:47:41 INFO The error was a problem renaming (moving) the app, let's trying uninstalling the app via keybase uninstall which has more privileges
2017/02/12 16:47:41 DEBG Execute: /Applications/Keybase.app/Contents/SharedSupport/bin/keybase [uninstall --components=app]
2017/02/12 16:47:42 DEBG Executed /Applications/Keybase.app/Contents/SharedSupport/bin/keybase [uninstall --components=app]
2017/02/12 16:47:42 INFO We uninstalled the app, let's try to apply again
2017/02/12 16:47:42 INFO Unzipping "/var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase-1.0.18-20170209165653+17b641d.zip" to "/var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase-1.0.18-20170209165653+17b641d.zip.unzipped"
2017/02/12 16:47:46 INFO Moving /var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase-1.0.18-20170209165653+17b641d.zip.unzipped/Keybase.app to /Applications/Keybase.app
2017/02/12 16:47:46 DEBG Remove temporary directory: "/var/folders/zl/<foo>/T/KeybaseUpdater.<bar>"
2017/02/12 16:47:46 INFO Reporting: https://api.keybase.io/_/api/1.0/pkg/error.json map[version:[1.0.18-20170208165022+dc66461] upd_version:[0.2.8] error_type:[apply] description:[Update Error (apply): rename /var/folders/zl/<foo>/T/KeybaseUpdater.<bar>/Keybase-1.0.18-20170209165653+17b641d.zip.unzipped/Keybase.app /Applications/Keybase.app: permission denied] install_id:[29b872480dc0735897a2451ccd033a50b2dd2fde7fd1e41d] request_id:[6e6336ac18f3d577f0cbbf1f]]
2017/02/12 16:47:47 INFO Exiting for restart

Update Error (apply): rename /var/folders/zl/9vjdqjb93vqfcry21cyk34y00000gn/T/KeybaseUpdater.FUBNXCYMNPOEBK6SHKRVCEQ4COKZYWCHGLWGNZOTEOEKIIC5N6GQ/Keybase-1.0.18-20170209165653+17b641d.zip.unzipped/Keybase.app /Applications/Keybase.app: permission denied

The problem seems to be that administrator permissions are required to install applications (i.e. write to /Applications/) but a non-administrator account is used to apply the update. The same issue occurs when moving the outdated app but - as can be read in the log - is solved by running keybase uninstall --components=app.

Thanks for debugging, CC @gabriel

Yeah I can reproduce, this happens if you aren't running as the user that installed the app.
The issue is updater is able to remove the old app, but can't place the new app in /Applications afterwards. I'll have to pinpoint why (looks like maybe this behavior changed on Sierra), but we should be able to have a fix soon.
(In the meantime, if we do an update this week, you might see it happen again.)

Fix is here: https://github.com/keybase/client/pull/5873
Should be in and available in the next few weeks.

I've been hit by this a couple times. Would installing it in my home folder (~/Applications) avoid the issue in the meantime?

Yeah that should work

This should be fixed.


FLINK-3579 Improve String concatenation (Ram)

Updated PR against branch after the deletion of tableOnCalcite. It was suggested over in the old PR an d in JIRA to create a new PR as the old one was closed automatically.
@fhueske  and @tillrohrmann - Pls review.

@fhueske - Not sure how to check the failed test cases. Any chance of a review here? Thank you.

Hi @ramkrish86, I haven't touched the part of the code yet. Need some time to become familiar with the ExpressionParser.

@ramkrish86 it doesn't look like tests are failing. It's a checkstyle violation in RexNodeTranslator.

@vasia
Thanks for the info. Let me check that and update the PR.

Updated PR. RexNodeTranslator had > 100 character line. That is now corrected.

@tillrohrmann - Ping for reviews!!!

As far as I can tell the changes look good. I had some inline comments where I'm not sure whether the implementation is exhaustive.

Sorry for the wrong observation.
I can see that 'a + 42l.abs().cast(STRING)' works fine.
But 'a + 42.3.abs().cast(STRING)' does not work.
It fails here
 case DOUBLE =>         val decimal = BigDecimal(value.asInstanceOf[java.math.BigDecimal])         if (decimal.isValidDouble) {           generateNonNullLiteral(resultType, decimal.doubleValue().toString)         }         else {           throw new CodeGenException("Decimal can not be converted to double.")         }

I have done the changes only to support the String concat operation. The cast() and abs() grammar change looks more complex and I need to understand things better in parser to support it. Suggest we do it in a seperate JIRA?  Is that fine @tillrohrmann ?

Thanks for updating the PR @ramkrish86. Your proposed approach (creating a new PR for the parser changes) would be fine with me.

Thank you @tillrohrmann . Let me if the changes in the updated PR is fine with you.

@tillrohrmann  - Ping to review the PR.
https://issues.apache.org/jira/browse/FLINK-3086 is already available for the support of CAST and abs() with ints.

Changes look good to me :-) Good work @ramkrish86!

There is 1 failing check.
SavepointCoordinatorTest.testAbortOnCheckpointTimeout:517 expected:<0> but was:<1>
Seems unrelated to this change.
Thanks for all the reviews @tillrohrmann . Should be good to merge then. Thank you.

I'm merging this.


Intellisense does not support DOM API

I created a new index.js inside the 'javascripts' folder, and typed:
document.

From what I gather, there is no intellisense support here. It would be nice to have this since it seems to work in ASP.NET.

Check out our docs to see how to enable this feature.
Ideally this wouldn't be necessary, but unfortunately the IntelliSense engines ended up diverging for technical reasons, so we are currently exploring to make this easier and more discoverable (#142 and #143), as well as chatting with some teams internally to see how we can eventually combine our efforts so this switch won't be necessary.

Wow, amazing response time. Will do.
I'm super excited to see what you all are doing with Node.js. I'll definitely be sharing what NTVS is capable of with the community.

Np - happened to be online, and glad you like the tools! :smiley:


Handle Dashlane files.

Currently there no easy way to import Dashlane items even the CSV files are a mess in dashlane.
Would be extremely handy to have this automated.

As you've noticed, Dashlane has problems with its CSV export that makes autmation impossible.  I noted some of the issues here:
https://discussions.agilebits.com/discussion/comment/139608/#Comment_139608
One user list some steps to help cleanup the CSV:
https://discussions.agilebits.com/discussion/comment/317968/#Comment_317968


Fix merge_dot tests

please see discussion here: #2152

@fchollet please notice that we have some api changes. I my opinion is slightly cleaner, although K.batch_dot can't behave as np.tensordot anymore (which was only possible with theano_backend). This makes things more consistent IMHO.

Added a little backport to backend.py because I'm already modifying that file

LGTM, thanks!

I should mention that the batch_dot test in test_backend is failing, with both TF and Theano.

Also failing: tests/keras/test_sequential_model.py::test_merge_dot

wait what? it wasn't failing in my tests... did you merge it?

2 tests are failing with TF and 1 with Theano. Check it out here:
https://travis-ci.org/fchollet/keras/jobs/120481825
https://travis-ci.org/fchollet/keras/jobs/120481826
You can just forward-fix it. I didn't notice at the time I merged it.


Share subscriptions

hello, is it support Share subscriptions？

If you mean the MQTT 5.0 Shared Subscriptions feature, then no, not yet. MQTT 5.0 is on the TO-DO list.


Sort struct columns

addresses #109
Summary
I modified the existing sort_columns() function to accommodate optional nested sorting based on a new boolean flag sort_nested and an initial check for nested datatypes in the top-level columns. sort_nested defaults to False so (hopefully) no users of the previous sort_columns() will be affected.
I put together 10 tests to try and handle different types of nested cases. If anyone wants to add some more tests I would be happy to update the function logic to deal with any failures. This includes testing different data values and ensuring they enter and exit the function unchanged aside from their relative position.
Remaining issues to work through

Haven't incorporated handling of column metadata
Haven't handled MapTypes
The initial solution that I pulled from https://stackoverflow.com/questions/57821538/how-to-sort-columns-of-nested-structs-alphabetically-in-pyspark didn't transfer nullability information for structs and arrays. I added a workaround to this that requires traversing the old and new schemas, and then outputs a new dataframe using

final_df = output.sparkSession.createDataFrame(output.rdd, output.schema)

I don't think this is ideal and might have some performance impacts on larger datasets.
Happy to answer any questions! This was a fun one to figure out.

@SemyonSinchenko - can you please take a look when you have a sec?

Thanks for the feedback! I can work on the refactor this Sunday.

@SemyonSinchenko, I updated the function based on your comments. Let me know if it is easier to read and if you have any other questions

@jeffbrennan Nice work! Thanks a lot for such a contribution! May you please carefully resolve all the merge conflicts by merging main branch to your fork?
@MrPowers I suggest to merge it.

@SemyonSinchenko @MrPowers, I reviewed the merge conflicts and the changes look good to me. Could someone do a quick sanity check before I merge into main?


Marathon 1.5 support

Tested very briefly so far, mostly with terraform-provider-marathon.

hi @kamsz ... apologizes for the delay, i'm gonna try look at this one day ..

@gambol99 no prob, I'm using it heavily with terraform-provider-marathon and so far it works without issues.

Hey there @kamsz, do you possibly have any news?

@timoreimann Hi, not yet. I didn't have time to work on that this week. I'll try to look into this next week.

@timoreimann I've tried my best to keep backward compatibility. I'll try to fix tests tomorrow. Could you please look at the changes and let me know what you think?

I've fixed some tests. Not sure how to fix a group test, since methods from methods.yml would collide. Any ideas? @timoreimann @gambol99

@timoreimann I've fixed most of the comments you had. Still not sure what to do with this group test.


mup deploy Error: spawn ENOENT events.js:72

Hello,
I am Tried to deploy my meteor app with mup but get this error:
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
Please help me.
Thanks
I was use this recommendation :
https://github.com/arunoda/meteor-up/issues/405
And
https://github.com/arunoda/meteor-up/issues/556
But not solved.

I Have a same problem.

Same here

There's a problem with mup 0.11.1
Revert back to 0.11.0 and it should work:
sudo npm install<EMAIL_ADDRESS>-g

I was using mup 0.11.1 just fine, now I'm getting the same error as above.
Reverting to 0.11.0 just results in the same error.
Any clues? It doesn't give much to go on.

Yeah. I was wrong. For me it works 1 in 2 times approximately. There were
some other people posting about it. Someone said he updated node on the
server to 0.12 and that helped
On 2 Aug 2015 16:13, "sonicviz"<EMAIL_ADDRESS>wrote:

I was using mup 0.11.1 just fine, now I'm getting the same error as above.
Reverting to 0.11.0 just results in the same error.
Any clues? It doesn't give much to go on.
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/570#issuecomment-127023655.

I was wrong too;-) I was just about to delete this but you answered.
I'd renamed the directories and though the mup.json had the right name but apparently not.
The error is not really informative though.
Solution for me was:
tbbooher commented on Jun 29
ok -- for others looking at this -- make sure your
// Location of app (local directory)
"app": "/Users/foo/Sites/happy",
is correct
from https://github.com/arunoda/meteor-up/issues/405

Hello Mr @sonicviz ,
I've checked the location of the app. But it did not work for me.
Can you explain order of settings you did. Please.
Thank you verry much

The order of the settings doesn't matter. Go to the folder of your app in
the command line and write pwd and you'll get the path of the folder you
need. Use that for the app location
On 3 Aug 2015 11:59 am, "Pamungkas Jayuda"<EMAIL_ADDRESS>wrote:

Hello Mr @sonicviz https://github.com/sonicviz ,
I've checked the location of the app. But it did not work for me.
Can you explain order of settings you did. Please.
Thank you verry much
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/570#issuecomment-127169338.

I just put the full location
eg:

I just put the full path, ie:
// Location of app (local directory)
"app": "G:/Meteor Projects/MyMeteorProject/",

Still does not work, may God dont bless my code. wkwkwkw,... :+1:

Try mupx

I'm wondering if the drive letter G would be problematic.

no

So the trailing slash neither to then I guess.

Seems to work fine with or without

I had specified server path on app, changed to my local project path and issue resolved.

Exactly well done! So app is where to put it not where to find it? It finds in in the working directory. Correct?

My folder structure is like following.
meteor_deploy/mup.json
meteor_deploy/settings.json
meteor_app/.meteor
meteor_app/client
meteor_app/public
meteor_app/server

My mup.json is like following:
{
  // Server authentication info
  "servers": [
    {
      "host": "<IP_ADDRESS>",
      "username": "root",
      "password": "blabla"
    }
  ],

  // Install MongoDB in the server, does not destroy local MongoDB on future setup
  "setupMongo": true,

  // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
  "setupNode": true,

  // WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
  "nodeVersion": "0.10.36",

  // Install PhantomJS in the server
  "setupPhantom": true,

  // Show a progress bar during the upload of the bundle to the server.
  // Might cause an error in some rare cases if set to true, for instance in Shippable CI
  "enableUploadProgressBar": true,

  // Application name (No spaces)
  "appName": "blabla",

  // Location of app (local directory)
  //"app": "/home/astvision/autoland", // server path which caused the issue
  "app": "../meteor_app",

  // Configure environment
  "env": {
    "ROOT_URL": "http://blabla.mn",
    "PORT": 3000
  },

  // Meteor Up checks if the app comes online just after the deployment
  // before mup checks that, it will wait for no. of seconds configured below
  "deployCheckWaitTime": 15
}

I see thank you I hope it helps the other guy with the G folder issue.

I don't have a "G folder issue".
My mup is currently in a different folder for a reason.

Right sorry.
Maybe post your settings files and logs to see clearer what other ideas might lead to a solution for you.

I don't have a problem at all. It works just fine.-> https://github.com/arunoda/meteor-up/issues/570#issuecomment-127023983

Oh sorry it's jayuda that still had a problem I thought it was you.
I was away and had 400+ emails so my sincerist apologies.

I have this problem since 0.10.8, I've reverted back to 0.10.7 and it works, so my directories are named correctly.

Make sure meteor is installed and up-to-date on the system you are trying to deploy from; that was my problem.

Updated Meteor to 1.2, this issue is back again, I really want to track down this path issue!

Ok for now I can at least deploy with an ugly hack
https://github.com/arunoda/meteor-up/issues/609#issuecomment-143689075

Hi all - if you are using PEM authentication make sure you are able to SSH to your server.  I only allow SSH from a single IP on my EC2 instance and I had forgotten to change the IP back in the AWS console after returning home.  mup makes it look like there is an error with your javascript when there may not be - it looks like this happens when it can't access the server

Did you have Meteor install on the local machine? This fixed the error for me.

for me it was also false directory.
i said "./myapp" // the directory where .meteor lives
but he couldn't recognize it
then "/Users/mymacusername/Development/myapp"
was solving this issue for me


Check for scopes in dropdown.

Checks for the users scopes in the navbar and only shows ui that is available to them.

@FBRTMaka This will get tested and moved in with your next PR.

@DanielJMaher , we should keep this in it's own PR.  It'll be easier to keep track if we need to come back to it later.

@FBRTMaka I meant that we aren't rebaselining our code until your PR is in at which point we will review this and merge it in as it's own PR.

@DanielJMaher, I'll actually need this in before my PR since the hiding of the menu items is something I'll need.


add a namespace package for turbine_models

Also added some stability to the test by using a llama variant not dependent on a working auth token


library_import not working

class LoggingMakroRobot(object):
    ROBOT_LISTENER_API_VERSION = 2

    def __init__(self):
        self.ROBOT_LIBRARY_LISTENER = self
        self.logger = logging.getLogger('RobotFramework')

    def library_import(self, name, attributes):
        self.logger.error(name)

*** Settings ***
Library         tests/robot/tools/LoggingMakroRobot.py
Library         tests/robot/tools/TestImport.py
*** Test Cases ***
helloWorld
    [Tags]  helloWorld
    should be true  15 < 20 - 3

library_import is never called, is it expected? did I use it in a wrong way?
robotframewrok 3.0.4

Might be incorrect usage.  From my experience, a listener is enabled on the
robot command line argument.  But you can read the Listener Interface
documentation in the Robot Framework User Guide.
http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#listener-interface

"What we can or cannot do, what we consider possible or impossible, is
rarely a function of our true capability. It is more likely a function of
our beliefs about who we are." - Tony Robbins
On Mon, Aug 13, 2018 at 3:56 AM Elfling<EMAIL_ADDRESS>wrote:

class LoggingMakroRobot(object):
ROBOT_LISTENER_API_VERSION = 2
def __init__(self):
    self.ROBOT_LIBRARY_LISTENER = self
    self.logger = logging.getLogger('RobotFramework')

def library_import(self, name, attributes):
    self.logger.error(name)

*** Settings ***
Library         tests/robot/tools/LoggingMakroRobot.py
Library         tests/robot/tools/TestImport.py
*** Test Cases ***
helloWorld
[Tags]  helloWorld
should be true  15 < 20 - 3
library_import is never called, is it expected? did I use it in a wrong
way?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/robotframework/robotframework/issues/2929, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKaLZXLhO6n5KRfeodeRISy7d_kg7urmks5uQTFAgaJpZM4V6C0t
.

Maybe you're right I used documentation from github:
https://github.com/robotframework/robotframework/blob/master/doc/userguide/src/ExtendingRobotFramework/ListenerInterface.rst
checked also using "_" as prefix for methods (as it is mentioned that it should be possible) but still it is not working.

In addition to enabling listeners from the command line, also libraries can register listeners, so the overall usage is fine. Have you @Elfling tested do other listener methods like start_test work? If not, then there's something wrong in your setup. If they do, then it could be that import_library simply won't be called when using library listeners. I don't remember the details without looking at the code, but that's the impression I get from the documentation. Changing that could be rather big task.

start_test, start_suite, start_keyword etc. works fines

I looked at the code and clearly library_import is not supported. Supporting it might not be that complicated, but at least I won't have time to test that in the near future. Are you @Elfling, or someone else, interested if I explain where to start?

Please do.

First of all, I don't remember all the details myself without actually modifying the code and seeing how it works, Secondly, some of the related code is perhaps unnecessarily clever using dynamic features. I'd probably write it a bit differently now. Anyway, the steps to test this ought to be something like this:

Add library_import in the list of supported methods here:
https://github.com/robotframework/robotframework/blob/master/src/robot/output/listeners.py#L66

Change __init__ below the line referenced above to add _ prefix to the dynamically created library_import method. See the Listeners class above for an example.

Implement LibraryListeners.imported method to handle dispatching to the dynamically created _library_import method. See the Listeners class for an example again.

If the above works, add support also for resource_import and variables_import.

Add tests. We can discuss this later.

Create a pull request.

Anyone interested enough on this to implement it? If not, I'll close the issue. It can then be re-opened later if someone will actually implement it.


Job gh:dronmdf/telebot#53 assigned to @barbaragrape, please go ahead (policy).

@0crat out

@0crat out (here)

@DronMDF @barbaragrape resigned from gh:dronmdf/telebot#53, since the job is not in scope anymore.

@0crat out (here)

@DronMDF Job gh:dronmdf/telebot#53 is now out of scope.


How to set default files, to be included on widget initialization

How to set default files, to be included on widget initialization

Let's say i have an array of files, and the Widget has multiple props, how can include those files to be included by default?

I know there this example https://codepen.io/uploadcare/pen/NVjPyg, but group value string is hardcoded and i just have an array of regular files, not uploadcare files that include uuid.

Also if i try to set value prop with public group id modeled after this example https://codepen.io/uploadcare/pen/NVjPyg, i get Error "Can’t create file group".
const Example = () => (
  <Widget onChange={console.log} publicKey="demopublickey" multiple={true} value="cd334b26-c641-4393-bcce-b5041546430d~11" clearable />
);

Hey @aquaductape,
You need to upload your files using uploadcare.filesFrom, get their uuids after upload finished and pass them to the <Widget />.
Here is an example:
import { Widget } from "@uploadcare/react-widget";
import { useEffect, useState } from "react";
import uploadcare from "uploadcare-widget";

const str2blob = (txt) => new Blob([txt]);
const PUBLIC_KEY = "demopublickey";
const uploadcareSettings = {
  publicKey: PUBLIC_KEY
};
const blobs = Array.from(new Array(5), (i) => str2blob(`blob-${i}`));
const ucFiles = uploadcare.filesFrom("object", blobs, uploadcareSettings);

export default function App() {
  const [value, setValue] = useState(null);
  useEffect(() => {
    Promise.all(ucFiles).then((results) => {
      const uuids = results.map((fileInfo) => fileInfo.uuid);
      setValue(uuids);
    });
  }, []);
  return <Widget multiple value={value} publicKey={PUBLIC_KEY} />;
}

See how it works on CodeSandbox: https://codesandbox.io/s/musing-lewin-jyfqzk?file=/src/App.js:0-735

You also could pass ucFiles directly to the value prop after https://github.com/uploadcare/react-widget/pull/329 merge


Fix issue #49 about templating variable query

Test value is not null before invoking length

Created #52 with the complete patch.


What if my dataset only contains 300 samples for training using this model?

Do you have any suggestions to tuning this model for better convergence?
How to set it into regression model?
Now my datasets contain heavy chain and light chain, what should I do since it has two sequences if I want to use your model.

I suggest you play around with the hyperparameters until you get a reasonable convergence on your specific dataset. A good place to start might be to tweak the architecture of the model depending on the length and complexity of your peptide sequences.
To use it as a regression model, remove the final sigmoid layer in network architecture (network.py). For training, you'd need to change several things: loss function, scheduler mode (min), and metrics being computed during epochs.
You can train 2 instances of PeptideBert, one for heavy chain and one for light chain, and then train another MLP that combines the output of these 2 models to give you a single prediction. Alternatively, you could simply concatenate both chains into 1 sequence, but I don't expect this method to be on par with the former method.

I would like to do just MLM for in-house sequences. What should I do?

You should load the model checkpoint from this repository and follow the steps outlined in HuggingFace's documentation for MLM.


Adjustement to the style, and add some effects to secondary page

Correct some style ""error", like the alignment,
Add some effects to the secondary page

please elaborate, not getting your contribution idea. For which project do you want to edit the style?


[Gssoc] Added confirmation for logout by sweet alert

Related Issue
Added confirmation for logout by sweet alert in landing.html
Closes: #109
Describe the changes you've made
will upload a video
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Mention any unusual behaviour of your code (Write NA if not)
Any unusual behaviour of your code
Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly whereever it was hard to understand.
[x] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.
[x] I am a GSSOC Participant.

Additional Info (optional)
Any additional information you want to give

@vigneshshettyin in Dashboard bootstrap modal is used for confirmation . should i change it to sweet alert or not
please confirm then i will make a video for my PR

I'll merge it would be great if you could attach a demo video. @arpit456jain

@vigneshshettyin in Dashboard bootstrap modal is used for confirmation . should i change it to sweet alert or not
please confirm then i will make a video for my PR

Change it to sweet alert @arpit456jain

@vigneshshettyin in Dashboard bootstrap modal is used for confirmation . should i change it to sweet alert or not
please confirm then i will make a video for my PR

Change it to sweet alert @arpit456jain

@vigneshshettyin kindly add labels of GSSoC'21 and level 3 please
And i will create a new issue for replacing the confirmation in dashboard to sweet alert in some time and will upload the video in 10 min

https://user-images.githubusercontent.com/55352601/114980435-15110d00-9eaa-11eb-8f48-e828ac549cc9.mp4


Java 7 port

The library is quite cool, but given the lack of hard dependencies on Java 8 APIs the port could be quite simple.
This would help adopt it in Android environments, where we're currently pushing hard for RxJava. This could be a great stepstone.

@FranciscoE-Hudl Failsafe is written for Java 6+ :) I should probably find a way to make that more prominent. There are a few methods that depend on Java 8 classes (CompletableFuture stuff), but Java 6 users simply wouldn't use those and all is well.
Let me know if you're having any problems on Java 6/7.

Got it, I found the releaseCompileVersion vs devCompileVersion on the pom


Add comment support

The dart syntax is missing comment support.
Sublime commands such as 'toggle_comment' do not work using this dart syntax.
Maybe just incorporate this file from the abandoned dart plugin...
https://github.com/theadamlt/SublimeDartHighlighter/blob/master/Preferences/Comments.tmPreferences

Done ! . I was wondering why i could not comment today and checked this . Thanks for the help!


docopt <IP_ADDRESS> fails to build with GHC 8.10.7 and 9.0.1

docopt <IP_ADDRESS> needs to be revised on hackage to base < 4.14 since it does not build with GHC 8.10 or 9.0.  (I suspect versions 0.7.0.<5 have the same problem.)
Revisions can be made at e.g. https://hackage.haskell.org/package/docopt/maintain
Error (GHC 9.0.1):
[ 6 of 10] Compiling System.Console.Docopt.Public ( System/Console/Docopt/Public.hs, dist/build/System/Console/Docopt/Public.o, dist/build/System/Console/Docopt/Public.dyn_o )

System/Console/Docopt/Public.hs:195:17: error:
    • Could not deduce (MonadFail m) arising from a use of ‘fail’
      from the context: Monad m
        bound by the type signature for:
                   getFirstArg :: forall (m :: * -> *).
                                  Monad m =>
                                  Arguments -> Option -> m String
        at System/Console/Docopt/Public.hs:193:1-57
      Possible fix:
        add (MonadFail m) to the context of
          the inferred type of failure :: m a
          or the type signature for:
               getFirstArg :: forall (m :: * -> *).
                              Monad m =>
                              Arguments -> Option -> m String

See also https://matrix.hackage.haskell.org/#/package/docopt for where the bounds to not reflect buildability (look for the red FAIL entries).

Thanks for your work in #44 on advancing docopt, @FullstackGJJ.
However, this issue isn't fixed; with GHC 8.10, cabal still selects version <IP_ADDRESS> of docopt and then fails to compile (see below).
This issue is fixed by making a hackage revision on the already released version <IP_ADDRESS>, see my original comment.
Build log:
$ cabal install docopt
Resolving dependencies...
Build profile: -w ghc-8.10.7 -O1
In order, the following will be built (use -v for more details):
 - docopt-<IP_ADDRESS> (lib) (requires build)
Configuring library for docopt-<IP_ADDRESS>..
Preprocessing library for docopt-<IP_ADDRESS>..
Building library for docopt-<IP_ADDRESS>..
[ 1 of 10] Compiling System.Console.Docopt.ApplicativeParsec ( System/Console/Docopt/ApplicativeParsec.hs, dist/build/System/Console/Docopt/ApplicativeParsec.o, dist/build/System/Console/Docopt/ApplicativeParsec.dyn_o )
[ 2 of 10] Compiling System.Console.Docopt.ParseUtils ( System/Console/Docopt/ParseUtils.hs, dist/build/System/Console/Docopt/ParseUtils.o, dist/build/System/Console/Docopt/ParseUtils.dyn_o )
[ 3 of 10] Compiling System.Console.Docopt.Types ( System/Console/Docopt/Types.hs, dist/build/System/Console/Docopt/Types.o, dist/build/System/Console/Docopt/Types.dyn_o )
[ 4 of 10] Compiling System.Console.Docopt.QQ.Instances ( System/Console/Docopt/QQ/Instances.hs, dist/build/System/Console/Docopt/QQ/Instances.o, dist/build/System/Console/Docopt/QQ/Instances.dyn_o )

System/Console/Docopt/QQ/Instances.hs:11:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘liftTyped’
    • In the instance declaration for ‘Lift (M.Map k v)’
   |
11 | instance (Lift k, Lift v) => Lift (M.Map k v) where
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 10] Compiling System.Console.Docopt.OptParse ( System/Console/Docopt/OptParse.hs, dist/build/System/Console/Docopt/OptParse.o, dist/build/System/Console/Docopt/OptParse.dyn_o )
[ 6 of 10] Compiling System.Console.Docopt.Public ( System/Console/Docopt/Public.hs, dist/build/System/Console/Docopt/Public.o, dist/build/System/Console/Docopt/Public.dyn_o )

System/Console/Docopt/Public.hs:195:17: error:
    • Could not deduce (MonadFail m) arising from a use of ‘fail’
      from the context: Monad m
        bound by the type signature for:
                   getFirstArg :: forall (m :: * -> *).
                                  Monad m =>
                                  Arguments -> Option -> m String
        at System/Console/Docopt/Public.hs:193:1-57
      Possible fix:
        add (MonadFail m) to the context of
          the inferred type of failure :: m a
          or the type signature for:
               getFirstArg :: forall (m :: * -> *).
                              Monad m =>
                              Arguments -> Option -> m String
    • In the expression: fail $ "no argument given: " ++ show opt
      In an equation for ‘failure’:
          failure = fail $ "no argument given: " ++ show opt
      In the expression:
        let failure = fail $ "no argument given: " ++ show opt
        in
          case opt `M.lookup` args of
            Nothing -> failure
            Just val
              -> case val of
                   MultiValue vs -> ...
                   Value v -> return v
                   _ -> failure
    |
195 |   let failure = fail $ "no argument given: " ++ show opt
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: cabal: Failed to build docopt-<IP_ADDRESS>.

I learned the hard way that version <IP_ADDRESS> and 0.7.0.<5 will not work for GHC 8.10. Fixing base issue will reveal template-haskell versioning issues (I was informed that template-haskell versions are tied to specific GHC) I'm currently working on a fix for it (might become a version <IP_ADDRESS>)

To repeat myself:

docopt <IP_ADDRESS> needs to be revised on hackage to base < 4.14 since it does not build with GHC 8.10 or 9.0. (I suspect versions 0.7.0.<5 have the same problem.)
Revisions can be made at e.g. hackage.haskell.org/package/docopt/maintain

This issue talks only about the base constraint of docopt-<IP_ADDRESS>.
@FullstackGJJ wrote:

I learned the hard way that version <IP_ADDRESS> and 0.7.0.<5 will not work for GHC 8.10.

Maybe you want to set up continuous integration to test PRs with several GHC versions:
https://github.com/haskell-CI/haskell-ci

@andreasabel Made the necessary revision for <IP_ADDRESS>, will be doing the same for the remaining 0.7.0.<5 later. I plan to set up continuous integration later as well.

Excellent, @FullstackGJJ !


Patched results for branch: semgrep

This is an automated pull request generated by patched.

File changed: sqli/dao/student.pyRefactored SQL query parameters from dictionary to list  The diff changes the way SQL query parameters are handled. Previously, a dictionary was used to store parameters, which were then inserted into the query string using Python's string formatting syntax. The diff changes this to use a list of parameters, which are inserted into the query string using SQL's parameter substitution syntax. This change affects both the LIMIT and OFFSET clauses of a SELECT query, and the VALUES clause of an INSERT query.

Using Semgrep as vulnerability provider
Found 2 Vulnerabilities at /Users/user/Documents/GitHub/dvpwa/docker-compose.yml
Found 2 Vulnerabilities at /Users/user/Documents/GitHub/dvpwa/sqli/dao/student.py
Found 2 Vulnerabilities at /Users/user/Documents/GitHub/dvpwa/sqli/dao/user.py
Begin generating patches.....
Vulnerabilities Found : 6
Vulnerabilities Triaged: 4
Fixes Generated : 4
Fixes Validated : 4
Fixes Compatible : 2
Fixes Applied : 2
Applying patches.....
Patched!
Creating new branch "patched-semgrep".
Creating pull request for branch "patched-semgrep" to merge into "semgrep".
Pull request generated at: "https://github.com/codelion/dvpwa/pull/4"


SPFx List View command set is not working when user navigates between lists

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
(DELETE THIS PARAGRAPH AFTER READING)

Category

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

For the above list, an empty checkbox is [ ] as in [SPACE]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
If you are planning to share a new feature request (enhancement / suggestion), please use SP Dev UserVoice at https://aka.ms/sp-dev-uservoice. (DELETE THIS PARAGRAPH AFTER READING)
(DELETE THIS PARAGRAPH AFTER READING)

Expected or Desired Behavior
When user navigates between lists to view the different list view command sets by clicking on left navigation, should see the appropriate command sets. If user clicks on List1 using left navigation should see CS1 Command set, clicks on list2 should see CS2
Observed Behavior
First time click user is being able to see respective command sets Ex: List1 click able to see CS1 command set and List2 click able to see CS2. But when user clicks on lists from the left navigation second time without refreshing the page, not able to see the proper command set.
Steps to Reproduce
Scenario1:

I have two lists say list1, list2 with different command sets cs1,cs2
When I click on list 1 from left navigation it is showing cs1 command set
Again when I click on list2 from left navigation it is showing cs2 command set
Now I click on list 1 from left navigation, here it is not showing cs1 but showing cs2 command set

Scenario2:

I have two lists say list1, list2 with different command sets cs1,cs2
When I click on list 2 from left navigation it is showing cs2 command set
Again when I click on list1 from left navigation it is showing cs1 command set
Now I click on list 2 from left navigation, here it is not showing cs2 but showing cs1 command set
Second time click it is not loading the proper command set but showing the previously loaded command set.

Submission Guidelines

All suggestions or bugs are welcome, please let us know what's on your mind.
If you are reporting an issue around any of the documents or articles, please ensure that you have clear > reference on the specific file or URL, which should be fixed.
If you have technical questions about the framework, we’ll be monitoring #spfx, #spfx-webparts, and > #spfx-tooling on (SharePoint StackExchange)[http://sharepoint.stackexchange.com/]. You can also > alternatively submit your question to (SharePoint Developer group)> [https://network.office.com/t5/SharePoint-Developer/bd-p/SharePointDev] at Office Network.
Remember to include sufficient details and context.
If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution.

(DELETE THIS PARAGRAPH AFTER READING)

Thanks for your contribution! Sharing is caring.

@vijaybhanu I am not able to reproduce this issue. Let me know if the issue still occurs.


verified user (status=1, non-ucf) can view their profile through Leaderboard page

We removed the home row button for a user's own profile if they're only verified, but they can still access their own profile if they click on their card in the leaderboard tab.
For consistency, I think we should add the home row profile button back, or not make their profile card clickable if they're only verified.
IMO the best way to do it is re-add the profile button & show a popup recommending that they upgrade to a UCF email or ask for approval in order to post.

Related to #81

I agree with your solution. We should show the profile, and then a little message saying "Verify your knights email to post!"


Demo link not working - https://douganderson444.github.io/rdx/

An internal api is returning 404 - https://douganderson444.github.io/rdx/rdx.js

Where did you get this link?
The correct one is:
https://douganderson444.github.io/rdx/
On Wed., Nov. 20, 2024, 00:57 Venu Prasath, @.***>
wrote:

An internal api is returning 404 -
https://douganderson444.github.io/rdx/rdx.js
—
Reply to this email directly, view it on GitHub
https://github.com/DougAnderson444/rdx/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTDW7OOJ7B6SBELAJ3UCST2BQJFHAVCNFSM6AAAAABSDVUS5KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3TINBQGAYTSMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for report all the same! Link WAS broken.
Fixed with https://github.com/DougAnderson444/rdx/commit/5ea98397c269f362053b77a0d61c49fab195285e


Can't interact with Nodes with iOS VoiceOver when they are partially outside of the Display div

Related to #852 - Nodes are not draggable on iOS Safari with VoiceOver if the center of the node in the global coordinate frame is out of bounds.  This was discovered in https://github.com/phetsims/gravity-force-lab/issues/210.
@zepumph and @jessegreenberg discussed this and decided that the best way forward is to explore modifying the AccessiblePeer sibling bounds to only contain the bounds that are visible and fully contained by the display div.  This way the "fake" pointer events that are provided by the screen reader will always be within display div bounds.
This is high priority because it is required before publication of gravity-force-lab-basics.

I am not able to test on an iPad at the moment but this patch is working well to constrain the bounds to display bounds
diff --git a/js/accessibility/AccessiblePeer.js b/js/accessibility/AccessiblePeer.js
index 09d70706..2f572d7d 100644
--- a/js/accessibility/AccessiblePeer.js
+++ b/js/accessibility/AccessiblePeer.js
@@ -888,25 +888,33 @@ define( require => {
         if ( scratchGlobalBounds.isFinite() ) {
           scratchGlobalBounds.transform( this.accessibleInstance.transformTracker.getMatrix() );

-          let clientDimensions = getClientDimensions( this._primarySibling );
-          let clientWidth = clientDimensions.width;
-          let clientHeight = clientDimensions.height;
-
-          if ( clientWidth > 0 && clientHeight > 0 ) {
-            scratchSiblingBounds.setMinMax( 0, 0, clientWidth, clientHeight );
-            scratchSiblingBounds.transform( getCSSMatrix( clientWidth, clientHeight, scratchGlobalBounds ) );
-            setClientBounds( this._primarySibling, scratchSiblingBounds );
-          }
+          const displayBounds = this.display.bounds;
+          if ( displayBounds.constrainBounds( scratchGlobalBounds ) ) {
+
+            // constrain the bounds to what is contained within the Display so that VoiceOver sends an event to what
+            // is visible
+            scratchGlobalBounds.constrainBounds( this.display.bounds );

-          if ( this.labelSibling ) {
-            clientDimensions = getClientDimensions( this._labelSibling );
-            clientWidth = clientDimensions.width;
-            clientHeight = clientDimensions.height;
+            let clientDimensions = getClientDimensions( this._primarySibling );
+            let clientWidth = clientDimensions.width;
+            let clientHeight = clientDimensions.height;

-            if ( clientHeight > 0 && clientWidth > 0 ) {
+            if ( clientWidth > 0 && clientHeight > 0 ) {
               scratchSiblingBounds.setMinMax( 0, 0, clientWidth, clientHeight );
               scratchSiblingBounds.transform( getCSSMatrix( clientWidth, clientHeight, scratchGlobalBounds ) );
-              setClientBounds( this._labelSibling, scratchSiblingBounds );
+              setClientBounds( this._primarySibling, scratchSiblingBounds );
+            }
+
+            if ( this.labelSibling ) {
+              clientDimensions = getClientDimensions( this._labelSibling );
+              clientWidth = clientDimensions.width;
+              clientHeight = clientDimensions.height;
+
+              if ( clientHeight > 0 && clientWidth > 0 ) {
+                scratchSiblingBounds.setMinMax( 0, 0, clientWidth, clientHeight );
+                scratchSiblingBounds.transform( getCSSMatrix( clientWidth, clientHeight, scratchGlobalBounds ) );
+                setClientBounds( this._labelSibling, scratchSiblingBounds );
+              }
             }
           }
         }

This is fixed with the above commit and I tested on my iPad Air 2. @zepumph can you please verify?

Yes I verified that this is working. It is working very well for GFL.
I still have potential weariness about this in the general case. Because of the "snap to center" bug from https://github.com/phetsims/gravity-force-lab/issues/191, we can see first hand that the center is being calculated from the "on screen" bounds. With this change there is now much more possibility of dragging bugginess where the item is off screen such that the "center" of the element (really just the center of the bounds) is not actually on the element, and as a result this will break dragging of that object. This is of course a very niche bug in which all these must be true:

gesture a11y (right now meaning on iOS with VO)
application role, since that is the only role that we care about these pointer events
a draggable object that can move off screen at least partially
an irregular shape that is not draggable in a portion of its on screen center when off screen.

I wanted to point out the limitation while also not recommending any further steps. Back to you. Anything else for this issue?

That is correct. This algorithm assumes that the entire area of the target Node/transform source node is pickable. I think that is acceptable for now. Thanks for verify/review. Closing this issue.


[App Request] Plant-It

App Information

Name: Plant-It
Short Description: Gardening Companion App
Official Website: https://plant-it.org
GitHub Repository: https://github.com/MDeLuise/plant-it
Docker Image: msdeluise/plant-it-server:latest

Why do you want this app?
Plant-It is a really cool app designed for managing your garden. It can help with water reminders, logging when and where things were planted, harvests, when it was last fertilised and other things.
Additional information?
It requires a server.env file in the directory, see https://github.com/MDeLuise/plant-it#quickstart for what needs to be in it. This was the only barrier stopping me from adding it manually because it force-reads this file instead of the env settings when adding it.
If you want more information, check their documentation https://docs.plant-it.org

Added to BigBearCasaOS: https://community.bigbeartechworld.com/t/added-plant-it-to-bigbearcasaos/1297?u=dragonfire1119


Bug: Calendar pop-up of date attribute edit window of file manager goes behind

This is the report from Japanese user
http://concrete5-japan.org/community/forums/beginner/post-12767/

Add a date attribute to the file
Try to edit the date attribute in the file manager
jQuery calendar shows up behind all dialogue, so it won't function and have to type the date in.

Thanks.

If I would know where, I could easily solve this issue. Actually I found two ways. One would be to increase the z-index of the #ui-datepicker-div to at least 2000 or to decrease the z-index of the .ui-dialog to 1001 and the z-index of the .ui-widget-overlay to 1000.
I just took an hour to search the whole repo for the origin of where these z-indexes are set, but without any luck. Since there is a lot of jquery-ui involved it might be there, but minified.
Anyway, if someone can point me to the correct file, I would be happy to solve this.

@seebaermichi CSS files are build (concatenated and/or minified) following the rules defined in the build/Gruntfile.js file (more details on the build process in the build/README.md file): you can inspect that file to see how the css files are generated.

@mlocati thanks for your reply. I already know how the CSS and JS files are build. In this case the z-index is added by Javascript and I couldn't figure out in which js-file. So I don't know where to change that. I don't want to add some important CSS rule, just to override what is added to the style-attribute by javascript.
Actually the only z-index I could change within the corresponding less-file is the one for the .ui-dialog.
So still, if someone can point me to the Javascript file where the z-indexes for #ui-datepicker-div and .ui-widget-overlay are calculated I would be very happy.

The z-index is calculated somewhere in the jquery-ui.js file (which we don't don't touch, it's the official jQuery UI one).
You can see the uncompressed version of the relevant part here.

@seebaermichi #4876 fixes this issue.

Okay, great


Fixed Demo Url

I've found that the demo url no longer exists, while the current one is https://baumths.github.io/flutter_tree_view.

Superseeded by #35


dd-agent: added pg8000 python module as dependency

Updated dd-agent.nix to include pg8000 python dependency.
Updated postgresql prestart to create '.first_startup' file

Please rename commit's name following our guide in CONTRIBUTING.md

dd-agent:
NixOS version: 15.07pre66213.9d5508d (Dingo)
Git version: 2.4.6
When I install dd-agent as a module and provide the configuration for postgres, "dd-agent info" command complains about "no pg8000 module found"
posgresql:
NixOS version: 15.07pre66213.9d5508d (Dingo)
Git version: 2.4.6
On a fresh deploy the module doesn't run the script mentioned in initialScript section of the module.

Any update on this pull request.
thanks

@rbvermaa

This PR seems to contain 2 changes, can you make separate changed for the dd-agent, and for the postdresql one. I don't mind merging the pg8000 dependency, but cannot judge the postgresql change completely.


Older API Level Support

There are references to android.os.Bundle.putBoolean and putString which do not exist until API Level 21.  There's also a reference to org.json.JSONArray which doesn't exist until API Level 19.
I was experiencing strange issues where things wouldn't fire on older API levels (14, 15) a couple of months back, this is probably the source of all the problems.

@vbresults I'm sorry but what you have posted is factually incorrect. The android.os.Bundle class has had the [putBoolean](https://developer.android.com/reference/android/os/BaseBundle.html#putBoolean(java.lang.String, boolean)) and [putString](https://developer.android.com/reference/android/os/BaseBundle.html#putString(java.lang.String, java.lang.String)) methods since API level 1 of Android. As well the entire org.json.JSONArray class was introduced in API level 1.
I'm not quite sure where you got that impression but both classes have been around since the first version of Android.

@macdonst putBoolean/String was a snag in that documentation, it does not correctly list that these methods were in the Bundle class and moved to BaseBundle.
You are also right on JSONArray, I got this plugin mixed up with the other one; sorry.


Reliability of ball_owned_player

Hi,
I am trying to do statistics on my agents on a multiagent 11 vs 11 scenario. My model was trained thanks to RLlib and I want to use the observations provided in dump replays to know things such as: "which agent made the most passes", "which agent scored the most"...
It works most of the time, but when an agent receives a ball and instantly makes a pass, the 'ball_owned_team' part of observations does not seem to be updated so I cannot use the information that the agent touched the ball, while I can see it on video replays.
Here is the replay on sample steps where 'ball_owned_player' is set to -1 while some agents touch the ball to make a pass:

And below, I printed the actions, the  'ball_owned_team' and 'ball_owned_player' on the corresponding steps:
Step: 1261
[top_left, release_sprint, idle, top_left, right, long_pass, release_dribble, right, bottom_right, sprint, bottom]
team 1 player 3

Step: 1262
[top, long_pass, top_left, release_direction, right, top, right, bottom, long_pass, bottom_right, idle]
team 1 player 3

Step: 1263
[release_sprint, shot, shot, dribble, left, top, shot, release_sprint, dribble, bottom, sliding]
team 1 player 3

Step: 1264
[sprint, long_pass, long_pass, sprint, sliding, dribble, sprint, sliding, right, top, dribble]
team -1 player -1

Step: 1265
[short_pass, long_pass, high_pass, right, release_dribble, release_dribble, sliding, left, top, top_left, high_pass]
team -1 player -1

Step: 1266
[dribble, release_direction, sprint, left, release_dribble, long_pass, top_left, bottom_left, release_dribble, high_pass, dribble]
team -1 player -1

Step: 1267
[dribble, long_pass, left, idle, short_pass, top, bottom, bottom, short_pass, right, dribble]
team -1 player -1

Step: 1268
[release_direction, top_left, left, top_right, short_pass, top_left, short_pass, shot, release_direction, high_pass, top_right]
team -1 player -1

Step: 1269
[top_right, left, top_left, left, right, bottom, idle, release_direction, release_dribble, high_pass, long_pass]
team -1 player -1

Step: 1270
[left, top, long_pass, left, left, release_sprint, shot, left, release_sprint, right, dribble]
team -1 player -1

Step: 1271
[short_pass, top_right, idle, top_right, shot, bottom_left, bottom, top_right, sliding, dribble, idle]
team -1 player -1

Step: 1272
[top_left, top_left, left, long_pass, bottom_right, release_dribble, dribble, dribble, high_pass, right, right]
team -1 player -1

Step: 1273
[right, left, high_pass, sliding, release_direction, high_pass, shot, long_pass, dribble, bottom, long_pass]
team -1 player -1

Step: 1274
[long_pass, bottom, top_left, bottom_left, dribble, right, top_left, shot, short_pass, bottom, release_dribble]
team -1 player -1

Step: 1275
[sprint, dribble, bottom, release_direction, top_left, bottom, long_pass, sprint, top, bottom, short_pass]
team -1 player -1

Step: 1276
[right, top, release_sprint, idle, release_dribble, sliding, sliding, sprint, long_pass, release_direction, top]
team -1 player -1

Step: 1277
[bottom_right, release_direction, top_left, release_dribble, bottom, top_right, bottom_right, bottom, short_pass, sprint, bottom]
team -1 player -1

Step: 1278
[right, right, idle, right, high_pass, long_pass, left, dribble, release_dribble, short_pass, sprint]
team -1 player -1

Step: 1279
[bottom, bottom, top_left, bottom, top_right, short_pass, high_pass, short_pass, release_sprint, right, bottom]

Is this behavior expected? Do you have any idea to allow me to know how many passes was made by each agent in the  whole game?
The whole dump file is provided in: dump_file.zip
Thanks! :)

is this ambiguity resolved if the value on this line https://github.com/google-research/football/blob/0c9dae10322aeb20368b59e5a189961207366898/gfootball/env/constants.py#L21 and physics_steps_per_game in https://github.com/google-research/football/blob/0c9dae10322aeb20368b59e5a189961207366898/gfootball/env/config.py#L90 are equal?

No, these two numbers are unrelated. The issue would be solved if you set physics_steps_per_frame to 1, but then to keep episodes of the same "game" length you need to increase episode length by 10x.


use id as primary key instead of username

We're adopting a zero-downtime approach (https://github.com/gratipay/gratipay.com/pull/3864#issuecomment-162135818) here. Here are the basic steps for migrating from a column foo to foo_id without having to turn on maintenance mode:

Step
branch.sql
Code changes to ...
Deploy which first?

1
add a new foo_id column
write to both foo and foo_id
branch.sql

2
backfill foo_id based on foo
read from foo_id
branch.sql

3
drop foo
no longer write to foo
code changes

After step ...
We are writing to ...
We are reading from ...

0
foo
foo

1
foo and foo_id
foo

2
foo and foo_id
foo_id

3
foo_id
foo_id

Todo

[ ] elsewhere

[ ] Writes
[ ] Reads
[ ] Dropped old column

[x] payment_instructions

[x] Writes—#4058
[x] Reads—#4061
[x] Dropped old column—#4062

[ ] payments

[ ] Writes
[ ] Reads
[ ] Dropped old column

[ ] exchanges

[ ] Writes
[ ] Reads
[ ] Dropped old column

[ ] absorptions

[ ] Writes
[ ] Reads
[ ] Dropped old column

[ ] takes

[ ] Writes
[ ] Reads
[ ] Dropped old column

[ ] tips (can we just drop this table entirely?)
[ ] teams.owner

[ ] Writes
[ ] Reads
[ ] Dropped old column

[x] emails

[x] Writes - https://github.com/gratipay/gratipay.com/pull/3893
[x] Reads - https://github.com/gratipay/gratipay.com/pull/3896
[x] Dropped old column - https://github.com/gratipay/gratipay.com/pull/3898

See #503 and #287.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

IRC

We currently have 7 tables referencing username (elsewhere, tips, transfers, exchanges, absorptions, takes, emails) and 5 tables referencing id (exchange_routes, community_members, statements, email_queue, balances_at).

I'd be surprised if there weren't an exploitable race condition hidden in there somewhere.

There are certainly race conditions, because our web app process(es) is (are) multi-threaded. A Participant object on one thread doesn't know about username changes in the database. Yes, the at the database level we shouldn't have any race conditions, but we do at the web app level.

Example: if one thread is changing a slug, and another thread is updating a payment instruction based on the slug, then the payment instruction will fail because it either won't find a Team with that slug, or (what's worse) it will silently fail by assigning the payment instruction to a Team that has managed to "steal" the old slug of the Team that is changing slugs.

Upgrading to TeamX ★.

@sammyshj Looking at https://github.com/gratipay/gratipay.com/issues/835#issuecomment-89250978, maybe emails would be a good table to start with? Want to put together a PR changing emails.participant to reference participants.id instead of .username?

Hello @whit537 ,
I want to work on this issue. Can you link me to some documentation that would help me get started on this?

@whit537 Yes, working on it right away!

@sammyshj Here's our high-level description:

We write SQL, specifically the PostgreSQL variant. We keep our database schema in schema.sql, and we write schema changes for each PR branch in a sql/branch.sql file, which then gets run against production and merged into sql/schema.sql during deployment.

So, your PR should at least have a sql/branch.sql file. When you run the test suite you may find parts of the application that break due to the schema change, so your PR should address those issues as well.
Is that enough to get you started? What other questions can we answer?

Thanks for pointing out these things. If I face any problems later on regarding this issue, I will let you know.

Awesome, thanks @sammyshj! :-)
!m @sammyshj ← that's our goofy way of saying, "You're doing a good job!" :)

@whit537 Currently emails.participant refers to participants, https://github.com/gratipay/gratipay.com/blob/master/sql/schema.sql#L320
Can you point out where it refers to participants.username?

It references the participants table, and without an explicit column specified, it references the primary key, which is username. We're not ready to change the primary key on participants yet.

So, this change is required so that it is possible to change username without doing to much updates to DB, right?

So, this change is required so that it is possible to change username without doing to much updates to DB, right?

Yes. That, along with the fact that it could result in an inconsistent data because of race conditions. See issuecomment-136060460

@aandis thanks. Now I understand more in DB design - why there is a hard requirement for an ID in many frameworks. =)

:+1:

I've added a list of tasks (copied from  https://github.com/gratipay/gratipay.com/issues/835#issuecomment-89250978) to the description of this ticket.

Naice! I didn't know you could do that. Github rocks. ;)

@kaguillera and I added some notes in the description about how to perform these changes with zero downtime.

We also reviewed "Safe Operations For High Volume PostgreSQL."

Closing in light of our decision to shut down Gratipay.
Thank you all for a great run, and I'm sorry it didn't work out! 😞  💃


Can I change working directory halfway - yes just implemented [done]

Raising a pre-emptive issue, for users with edge cases that requires changing current working directory halfway after launching TagUI for Python. Originally reported in #60.

Changing the working directory halfway after TagUI for Python is launched will cause it to hang.
Try changing the current working directory before you do t.init() and it should work. For example the following works. The root cause is TagUI for Python looks for an internal file at the current working directory (the location when it was launched). If the folder changes halfway, TagUI for Python will keep looking for the internal I/O file at the new current working directory.
But that file is not there, because the TagUI process is still writing to the original folder on launch. It is possible to modify code to handle the edge case of changing working directory halfway, but because that code section will impact all the main use cases, I'll not make this change for now, but raise this issue with a question and answer so that people changing directory halfway and hangs will know why.
import os
import tagui as t

# folder changed before invoking TagUI
os.chdir('test')

t.init()
t.url('https://github.com/tebelorg/TagUI-Python')
t.click('Clone or download')
t.click('Download ZIP')
t.wait()
t.close()

# zip file downloaded to the changed folder 'test'
# instead of the original Python script folder

reference - line to change in tagui.py
tagui_output_file = _py23_open('tagui_python.txt', 'r')

Don't think avoiding a challenge is good spirit, will figure out if there's a way to do this without risking existing users' scripts compatibility and behaviour.

Re-opening issue as feature. The package was not originally designed for the use case of changing current working directory halfway, after initialising and loading TagUI in the background.

Verification scripts used -
folder changed before invoking TagUI
import os
import tagui as t

# folder changed before invoking TagUI
os.chdir('test')

t.init()
t.url('https://github.com/tebelorg/TagUI-Python')
t.click('Clone or download')
t.click('Download ZIP')
t.wait()
t.close()

# zip file downloaded to the changed folder 'test'
# instead of the original Python script folder,
# and log file in 'test' deleted after closing

folder changed after invoking TagUI
import os
import tagui as t

t.init()
t.url('https://github.com/tebelorg/TagUI-Python')

# folder changed after invoking TagUI
os.chdir('test')

t.click('Clone or download')
t.click('Download ZIP')
t.wait()
t.close()

# zip file downloaded to original Python script folder
# as the folder change is made after init() and url(),
# and log file in original folder deleted after closing

And original sample.py script - https://github.com/tebelorg/TagUI-Python/blob/master/sample.py

Implemented in v1.13, and now available with pip install tagui --upgrade

Hi Ken,
Thank you so much for adding this feature. I upgraded and it is working for me now!
I can take a break now while TagUI is working hard to download my files, LOL.
TagUI made my life so much easier : )
Respect!
Best regards,
Yang Liu

Thanks Yang Liu for raising this! Otherwise I would not have known about this.
I was initially thinking not to support this, because it may cause issues with the primary use case of not switching directories halfway. But I think I have to step up to the challenge - I assume this use case would also be common for the work of data scientists and machine learning engineers.
So I wrote quite a number of lines of code to do this, while minimising risk of primary use case.
I'm happy to hear your feedback, and hope other users have positive experiences like you!
Kind Regards,
Ken Soh


Shortcut for Video Conference Mute bubbles up actual keypress

ℹ Computer information

PowerToys version: 0.28.0
PowerToy Utility: Video Conference Mute
Running PowerToys as Admin: No
Windows build number: [run "winver"]: Windows 10 20H2

📝 Provide detailed reproduction steps (if any)

Press shortcut for Video Conference Mute

✔ Expected result
Mutes system mic
❌ Actual result
Mutes system mic but also types the character A. So if you're on a text editor like this issue box or on slack or a chat input or VSCode/Notepad etc, you have to go and delete the extra A that was typed in.
📷 Screenshots

i have lattest release but not option in my powertoys

hopefully this doesn't happen in 34, if so, we should get it fixed before we move to stable in 35

This has been resolved in the 0.35 release. https://github.com/microsoft/PowerToys/releases/latest


[Bug]: ANTLR Lexer Fails to Recognize Identifiers Correctly in JDQL Queries

Specification Version
1.0.0-RC1
Bug report
When attempting to parse JDQL queries using an ANTLR-generated lexer, token recognition errors occur for each character in certain identifiers, such as "entity". The lexer does not recognize "entity" as a single valid identifier but reports errors for each individual character.
Steps to Reproduce

Generate Lexer and Parser:

Use ANTLR to generate code from the JDQL grammar available at JDQL Grammar File.

Write a Test to Parse the Query:

Implement a test in Java to parse the query "FROM entity" using the generated lexer. The expected behavior is for the lexer to tokenize the input into recognizable tokens for FROM and entity.

Run the Test:

Execute the test using the following JUnit 5 setup:import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.tree.*;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

public class JDQLLexerTest {
    @ParameterizedTest(name = "Should parse the query {0}")
    @ValueSource(strings = {"FROM entity"})
    void shouldReturnParserQuery(String query) {
        CharStream stream = CharStreams.fromString(query);
        JDQLLexer lexer = new JDQLLexer(stream);
        CommonTokenStream tokens = new CommonTokenStream(lexer);
        tokens.fill();
        for (Token token : tokens.getTokens()) {
            System.out.println(token.getText() + " : " + token.getType());
        }
    }
}

The output logs display token recognition errors at each character:line 1:4 token recognition error at: ' '
line 1:5 token recognition error at: 'e'
line 1:6 token recognition error at: 'n'
line 1:7 token recognition error at: 't'
line 1:8 token recognition error at: 'i'
line 1:9 token recognition error at: 't'
line 1:10 token recognition error at: 'y'

Suspected Issue
It appears there may be a misconfiguration in the lexer rules or an issue with how the lexer handles whitespace and identifiers. Here's a potential missing configuration that might resolve the issue:
IDENTIFIER : [a-zA-Z_][a-zA-Z0-9_]* ;
WS : [ \t\r\n]+ -> skip ;

Including the above rules in the JDQL.g4 file should instruct the lexer to correctly recognize identifiers and skip whitespace, which may resolve the parsing errors.
Request for Assistance
I'm unsure if additional configurations are missing or if there are other steps required to correctly set up the JDQL lexer. Any guidance or suggestions on how to properly configure the lexer or adjust the grammar file would be greatly appreciated.
Additional information
No response

@otaviojava The grammar in the spec is a parser grammar: it does not include any rules for lexical analysis, which are usually specified in a separate grammar. The lexical structure of JDQL is defined in section 5.2 of the specification, and it's straightforward to turn that specification into a grammar for an ANTLR lever. The parser grammar would then reuse the token types from the lexer.
[Also note that the grammar as provided contains an ambiguity noted in a comment, so probably requires some
"massaging" since that ambiguity must be resolved semantically.]

Thanks.


Multi network use the same vlan id, it's ok?

I want to create multi network and use the same vlan id with different subnet ip address , but it's fail.
netctl net create vlan205 --subnet=<IP_ADDRESS>/24 --encap=vlan --pkt-tag=115 --gateway=<IP_ADDRESS>
ERROR[000] requested vlan not available

So, I try to comment out the code:
// Allocate a resource.
func (r *AutoVLANCfgResource) Allocate(reqVal interface{}) (interface{}, error) {
	oper := &AutoVLANOperResource{}
	oper.StateDriver = r.StateDriver
	err := oper.Read(r.ID)
	if err != nil {
		return nil, err
	}

	var vlan uint
	if (reqVal != nil) && (reqVal.(uint) != 0) {
		vlan = reqVal.(uint)
		//if !oper.FreeVLANs.Test(vlan) {
		//	return nil, errors.New("requested vlan not available")
		//}

And try again. It's work. Those containers based on the two subnet are connected normal.
But I don't know it's anything other problem? THX.

@qkboy
Most of netplugin's control and data plane assumes each network has a unique VLAN/VXLAN ids.
So, i wouldn't recommend this change.
Do you mind explaining the use case why do you need multiple subnets on same VLAN?
May be we can come up with a solution.

Because we have three docker clusters that base on three IDC.  Each cluster will have its subnet ips but use the same vlan id. In this case, vlan id only be unique in each IDC network, not over l3 layer.
Just like openstack neutron project. The network with unique vlan id, but it can have many subnet ip address. I think it has its reason.

@shaleman, from design point of new, a network can be consist of one or multiple subnets. The isolation is on the network level by vlan/vxlan, not on subnet level. Subnets in same network can communicate with each other.
Current implementation would bring several limitations:

One vlan id is bonded to one subnet, new subnet can not join existing vlan.
vlan id is 4096 in max. So we can only create 4096 subnets at most. An vlanid has to be occupied even the subnet only had 2 hosts(e.g <IP_ADDRESS>/30).Low resource usage efficiency.


Arabic Text Rendering Issue in VS Code's Terminal

Does this issue occur when all extensions are disabled?: Yes
VS Code Version: All versions
OS Version: Windows 10

Steps to Reproduce:

Open VS Code.
Create a new file and write a simple "Hello World" program in any programming language (e.g., Python, C++, Java) but with the text in Arabic.
Run the program in the integrated terminal by pressing Ctrl+Alt+N.

Expected Behavior:
The Arabic text "Hello World" should be displayed in the terminal, with proper right-to-left text direction and formatting.
Actual Behavior:
The Arabic text is displayed as disjointed characters, with the text direction going from left to right. This makes it extremely difficult to read and debug for Arabic speakers.
Suggested Fix:
Add proper support for right-to-left languages like Arabic in the integrated terminal. This would greatly improve the experience for a significant portion of developers and make VS Code more accessible to a global audience.
Impact:
Arabic is spoken by over 550 million people in over 66 countries worldwide. By not providing proper support for Arabic text in the terminal, debugging and testing become extremely challenging for Arabic developers. This limits the potential of a large community of developers and restricts the reach of VS Code in the MENA region and beyond.
Thank you for your attention to this matter. I look forward to seeing proper Arabic support in future releases of VS Code.

/duplicate #28571


[Usage]: Is there an option to reduce GPU memory usage？

How would you like to use vllm
Using google/gemma-2-27b-it model start by vllm with GPU L40x2, but used about 45G per GPU by default. When input a long token, it will OOM. Is there a way to reduce GPU memory usage when start? Maybe can lose some performance?
cmd:
export VLLM_ATTENTION_BACKEND=FLASHINFER
CUDA_VISIBLE_DEVICES=2,3 python3 -m vllm.entrypoints.openai.api_server --port=8081 --host=<IP_ADDRESS> --model /mnt/vol-5ojabq86/models/gemma-2-27b-it --dtype bfloat16 --trust-remote-code  --tensor-parallel-size 2 --max-model-len 4096

You can set --gpu-memory-utilization which dictates how much of the GPU memory to use (default is 0.9, or 90%)

@DarkLight1337  Thanks for the reply. I tried this option to set --gpu-memory-utilization=0.7, but another error occurs and need to increase this value. So seems the value need to be in a range. I need to find the balance.  :)
From the error logs, seems "cache blocks" also use VRAM, is there any option related with this?  Thanks.
[rank0]: ValueError: No available memory for the cache blocks. Try increasing `gpu_memory_utilization` when initializing the engine.
/usr/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown

I think this refers to the KV cache. You can check the CLI arguments and see how to adjust them.

@DarkLight1337  Thank you.


Update init.py

It appears that the appdata library might not follow the standard application data path conventions of macOS. By default on the MacOS, the directory created is in the ~ root directory (~/mathtranslate). For a bit of OCD, it is better to create it under ~/.cache/mathtranslate. :)

Thanks for this finding. Indeed I think ~/mathtranslate probably does not make sense. However ~/.cache.mathtranslate seems to be the cache data, while in fact app_dir also contains some other data, e.g. the tencent translation API ID and secrets. How about ~/.mathtranslate? This is also the default choice on Linux.


Add support for 'alwaysOutOfDate' PBX Shell Script property

This PR adds support for the alwaysOutOfDate property in PBX Shell Scripts.
Setting alwaysOutOfDate to true disables dependency analysis for the given build phase, clearing warnings such as:
Script has ambiguous dependencies causing it to run on every build

Since by default the property is not added to the PBX project file by Xcode, I have decided to write it down in the PBX file only if explicitly specified in the pbxShellScriptBuildPhaseObj options, hence the null check.

I think this is a good addition, and one that Cordova itself could probably use. I've enabled the CI tests which obviously requires some chore work since it's still configured to use NodeJS 10 (It's been years since this package had updates!)
I've added a 3.1.0 milestone so that this PR isn't forgotten for when we prepare the next release, though a 4.0.0 already exists so this feature might be added with the next major release instead of a minor release.
Code wise, I think is :+1: just the CI needs to be updated to use modern NodeJS versions and then this PR will need a rebase.

Wonderful! Thank you @breautek 😃

Hey @marco-saia-datadog
If you could rebase this PR it should fix the CI for you.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.98%. Comparing base (c491d3a) to head (fe105da).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #143   +/-   ##
=======================================
  Coverage   89.97%   89.98%
=======================================
  Files           6        6
  Lines        2374     2376    +2
=======================================
+ Hits         2136     2138    +2
  Misses        238      238

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[RESOLVED] Unavailable by ICMP ping

Problem started at 12:47:29 on 2023.08.15
Problem name: Unavailable by ICMP ping
Host: HP_iLO
Severity: High
Operational data: Down (0)
Original problem ID: 36191
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23266&eventid=36191

Problem has been resolved in 7m 0s at 12:54:29 on 2023.08.15
Problem name: Unavailable by ICMP ping
Host: HP_iLO
Severity: High
Original problem ID: 36191


[POC} Add vue announce for page loading a11y

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-
Changed

Screenshots

After https://github.com/dpc-sdp/ripple/pull/673 is merged, this POC branch should no longer be required.

POC no longer needed


[firebase_auth]:  Inconsistent uninstall behavior between Android and iOS for anonymous users

Is there an existing issue for this?

[x] I have searched the existing issues.

Which plugins are affected?
Auth
Which platforms are affected?
Android, iOS
Description
Hi,
I'm using the firebase_auth library to authenticate anonymously with Firebase using the following code:
However, when I uninstall the application and run this code after reinstalling:
var auth = await FirebaseAuth.instance.signInAnonymously();
_appId = auth.user!.uid;

On Android: I receive a new user ID.
On iOS: I receive the previous user ID from the previous installation.
So behavior between Android and iOS isn't consistent.
Reproducing the issue
On Android:

Install the app on Android and sign-in anonymously
uninstall the app
Re-install the app on Android and sign-in anonymously

On iOS:

Install the app on Android and sign-in anonymously
uninstall the app
Re-install the app on Android and sign-in anonymously

Firebase Core version
3.4.0
Flutter Version
3.24.0
Relevant Log Output
No response
Flutter dependencies

Expand Flutter dependencies snippet

firebase_auth: ^5.2.0

Additional context and comments
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.1)
[✓] VS Code (version 1.92.2)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for Harriet’s iPhone. Ensure the device is unlocked and attached with a
cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!

Hello, any news ?

I was able to reproduce this issue. This will be further investigated.

Hi @Doublon , after further investigation, we've identified that this behavior originates from the firebase-ios-sdk. Please consider reporting the issue on their repository for further assistance and clarification.

Issue created here: https://github.com/firebase/firebase-ios-sdk/issues/13885


Sharding a single model across multiple nodes

Feature request
Is it possible to shard a single model across multiple nodes with this? For example, 8 x 8-A100 Node.
Motivation
If we're planning to use larger models like 175B in the future, this feature would be great to have. I'm not sure if it's already supported.
Your contribution
Not sure

Hi @jshin49 .
Currently we can support bloom 175B (https://huggingface.co/bigscience/bloom) on 1 8xA100 (80GB) node (or 16xA100(40GB)).
It might not be the optimal deployment but it works.
We currently have no plan to do multinode, because the latency hit of doing actual network seems prohibitive.
H100 might also be a good hardware solution to this problem.
Nothing is ever off the table, but we usually try to keep solving actual issues than developing something not currently in demand.
I will go ahead and close this for now, as it's definitely not in our short term roadmap, but we'll definitely revisit once there's such a need. I'm pretty sure by then it will be multimodal,mixture of experts and therefore the landscape of the solution will have changed.


Consider building samples with SNIPPET preprocessor directive defined

To verify that whatever gets embedded into READMEs and XML docs builds.

@pakrym isn't there a build that will validate this already?

Nope.

Then we should do this 🙂.

Not building with SNIPPET lead to a syntax error in snippets, fixed by PR #20432. @chidozieononiwu @weshaggard any problems with adding a step to just build with SNIPPET defined? Perhaps as part of the Analyze stage since it is doc-related?

Do we need another step? Couldn't it just happen as part of the test build?

OK we can do the build where it makes sense. Ideally it would be enabled in another build but if there isn't one, we can enable then we can add a new one.

I'm working on a solution and the changes to the eng directory are fairly small, but the fallout is massive. In Key Vault I made a bunch of changes - minimal as possible to make the code easier to maintain - to just make it compile with the assumption that nothing in scope with only SNIPPET would be built. I imagine many other devs did the same thing. This might be something we instead need to work toward, or maybe it's just worth it to be more conscious of the problem in extracted snippets during review.
/cc @AlexGhiondea


nimble-split-button Component

😯 Problem to Solve
A button with a menu button immediately next to it is a common pattern which Nimble doesn't currently support

This came up in the SLE Feeds app. We can propose simple workarounds for now (e.g. a button and a menu button separated by some padding)
It has a similar name to #298 but I believe they are different.
💁 Proposed Solution

FAST component:
Other reference components:

📋 Tasks

[ ] nimble-{name} interaction design issue
[ ] nimble-{name} interaction design spec
[ ] nimble-{name} visual design issue #1199
[ ] nimble-{name} visual design spec
[ ] nimble-{name} spec
[ ] nimble-{name} custom element
[ ] nimble-{name} unit tests
[ ] nimble-{name} Storybook tests
[ ] nimble-{name} Storybook docs
[ ] nimble-{name} Angular wrapper
[ ] nimble-{name} Blazor wrapper
[ ] Add to Angular example app
[ ] Add to Blazor example app
[ ] Update Component Status table in README and incubating status

@jattasNI I think our squad might need split button for one of our upcoming workflows. I saw that Feeds workflow has a need for this component as well. Are you planning to prioritize this component? If yes, by when will this component be available?
P.S. I recently took up PO responsibilities for LIMS. So, I am a bit new to this process. How do POs provide inputs to Design System squad on requirements?

@sudharsan-ni thanks for commenting! That's one good way to express inputs on priorities and requirements. For bigger components or more in depth discussions you can also come to the UI working group meeting or meet with me and/or @fredvisser directly.
We haven't nailed down our 2024 Cycle 1 plan yet but it's not likely this will fit. Your options would include:

using the workaround described in the issue description (separate button and menu button)
getting your team to contribute the component. If you want to go that direction we should meet with the devs and manager to talk about the steps involved.


Remove backport action

This was replaced with sorenlouv/backport-github-action in https://github.com/elastic/kibana/pull/126542

:green_heart: Build Succeeded

Buildkite Build
Commit: 654e5fec5d95bc44ad254992e5c151bb23aadcfa


Add conditional dotfile filter prior to clarification queries

No, best to leave as-is to limit complexity.


test: add test to bash script to check params are set

This PR tweaks the Bash script test to trigger the bug raised in #3187
QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Summary by CodeRabbit

Tests

Introduced a new conditional test to enhance validation within the existing script.

Oh. It didn’t run the test…

@johanneskoester the issue was relating to the changing of the internal name of params to _params_store. All fixed now.


Installation problem

Hello Dear, I am Kosal, and I have this problem while use: npx create-vite-app vite-app
PS C:\Users\Kosal\tutorials> npx create-vite-app vite-app                                                               npx: installed 2 in 1.142s
Scaffolding project in C:\Users\Kosal\tutorials\vite-app...
[Error: ENOENT: no such file or directory, scandir 'C:\Users\Kosal\AppData\Roaming\npm-cache_npx\9956\node_modules\create-vite-app\template-vue'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'C:\Users\Kosal\AppData\Roaming\npm-cache\_npx\9956\node_modules\create-vite-app\template-vue'
}

I just try and face the same problem. TT

@angkosal @pornpol - in the meantime you can do npx<EMAIL_ADDRESS>APP_NAME

I also encountered the same problem, how solve it ?

Should be fixed in<EMAIL_ADDRESS>

Make sure to run npx create-vite-app@latest ... to avoid npx using the cached version.

Hi @yyx990803 , I tried using create-vite-app@latest but still get an error
`PS D:_STUDY\Vue_2020\014_vite> npx create-vite-app@latest vite-test
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Seedin\AppData\Roaming\npm-cache_npx\18068" as it does not contain a package.json file.
npm ERR!      C:\Users\Reza Seedin\AppData\Roaming\npm-cache_logs\2020-06-07T06_54_04_090Z-debug.log
Install for [ 'create-vite-app@latest' ] failed with code 1
PS D:_STUDY\Vue_2020\014_vite> `
Does my username having a space causing this?
Thanks

I have a problem with vite not installing vue with yarn add

@LazarPetrovic1 comments in old issues will probably get ignored. If you have found a concrete bug, please build a minimal reproduction and create an issue against the latest version of Vite. If you are not sure, you can start a GitHub Discussion or join the chat at Vite Land to ask questions.