Tooltip Does Not Disappear When I Remove Item After Click

I created a button that has a tooltip, when I click the button it makes an ajax request and then the button disappears but the tooltip does not disappear too
Before Click button

After Click Button

I am using the remove () method of jquery
Is there any way I can make the tooltip disappear?
**
Using Materialize Version: 0.98.2
Chrome Version: 59

Duplicate of #1911, #3566

hello this worked for me
$('.tooltipped').mousedown(function(){
$('.material-tooltip').css("visibility", "hidden");
})

Materialize CSS always generate id for each tooltip, may be this is still in your DOM.
Find the element with tooltip-id and remove. I fix this issue with below code change onClick element, I use react-materialize 2.4.8

 this._remove = element} id="tooltipped" tooltip="Remove" onClick={ this._handleRemoveClick }>
                highlight_off

_handleRemoveClick(event){
let removeBtnId = this._remove._btnEl.dataset.tooltipId;
window.$(#${removeBtnId}).remove();
}


Revert "(maint) Make check in container whether puppetmaster is up mo…

…re robust"
This reverts commit 8759635ce598522a10360aae5be68110a96d96a3.
[facebones ignore]

Test PASSed

CLA signed by all contributors.

Test PASSed

We can't just revert the commit unfortunately.
See https://github.com/puppetlabs/puppetdb/pull/2714 instead.


Add complex.{abs, eq, neg}

The former required the addition of the NotImplemented constant to match cpython`s behavior.

Can we test these using idiomatic python rather than calling the magic methods directly:
Eg:
assert abs(complex(3, 4)) == 5
assert complex(3, 4) == complex(3, 4)

etc?

@cthulahoops I agree, this is cleaner testcode. It will invoke the magic method at some point in time.

Thanks to @cthulahoops's suggestion, I think I found a subtle bug in the way the binary magic methods currently are implemented. Filed as #419. I will work around it here, and fix this in another PR.

Looks ready to merge, but has conflicts to resolve.

I resolved the conflict.


Terraria cut a new release: <IP_ADDRESS>

https://terraria.org/system/dedicated_servers/archives/000/000/037/original/terraria-server-1403.zip
Updated clients are unable to connect to latest.

A new version of the container is out now. Thanks!


[MetadataReader] Rename pointed to pointer for consistency.

Pointed out by John McCall in a previous review (I just procrastinated
to do it, until today).

@swift-ci please smoke test and merge

Thanks!


Validation not triggered if directly submitting the form instead of focusing on the fields

Steps to Reproduce

Goto http://jspears.github.io/subschema/?#/Login
Click on  "Login" Button.

Expected : Username is required error
Actual :  Page gets reloaded
If I place the focus on Username field and then press login the error is displayed as expected.

Thanks for the bug report. Its fixed.


fix: ensuring upcase comparisons for dictionary tables

Test results:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update the playbook to support the new and updated requirements in V1R12

Feature Request or Enhancement
Update the playbook to support the new and updated requirements in V1R12

hi @aaronlippold
Thank you for raising this issue, We have had to change our release schedule and the way it works (below is a copy of the announcement).
In short though that version is written and released to the subscribers.
Why are we changing?
Due to the number of repositories now under maintenance we have to introduce a way to release whilst adhering to our client commitments. We’ve always had to prioritize subscribers requests when working on this project. Which means sometimes some of the excellent community work takes longer to be committed than we would like. In order for us to maintain a level of release quality, we will be changing the release structure.
What’s the plan?
We will aim to be releasing benchmark specific updates to the Community 90 days after they have been released to the Private (subscriber) community. This should enable us to keep to our aim to update within 2 weeks for release updates to existing benchmarks (new benchmarks often take a lot longer). Issue/Bug fixes will still go into the Public releases as they are now, it is only benchmark specific updates that are delayed.
How do I get this early release access?
You can become subscribers by following the links below this message, which allows you to sign up immediately or schedule a call to better go over what these options are.
Links
Lockdown Enterprise
Automation Counselor
Purchase Directly

Are you still accepting PRs?
I’d be interesting in chatting about these changes as it may affect my work
streams.
I have to chatted with the team in over a year so it would be good to sync
up again.

Aaron Lippold
@.***
260-255-4779
twitter/aim/yahoo,etc.
'aaronlippold'
On Mon, Jan 8, 2024 at 05:01 uk-bolly @.***> wrote:

hi @aaronlippold https://github.com/aaronlippold
Thank you for raising this issue, We have had to change our release
schedule and the way it works (below is a copy of the announcement).
In short though that version is written and released to the subscribers.
Why are we changing?
Due to the number of repositories now under maintenance we have to
introduce a way to release whilst adhering to our client commitments. We’ve
always had to prioritize subscribers requests when working on this project.
Which means sometimes some of the excellent community work takes longer to
be committed than we would like. In order for us to maintain a level of
release quality, we will be changing the release structure.
What’s the plan?
We will aim to be releasing benchmark specific updates to the Community 90
days after they have been released to the Private (subscriber) community.
This should enable us to keep to our aim to update within 2 weeks for
release updates to existing benchmarks (new benchmarks often take a lot
longer). Issue/Bug fixes will still go into the Public releases as they are
now, it is only benchmark specific updates that are delayed.
How do I get this early release access?
You can become subscribers by following the links below this message,
which allows you to sign up immediately or schedule a call to better go
over what these options are.
Links
Lockdown Enterprise https://www.lockdownenterprise.com/
Automation Counselor
https://www.mindpointgroup.com/cybersecurity-products/automation-counselor
Purchase Directly https://www.lockdownenterprise.com/pricing
—
Reply to this email directly, view it on GitHub
https://github.com/ansible-lockdown/RHEL8-STIG/issues/246#issuecomment-1880692577,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALK42FCRGCPYZZWWSKB5ELYNO7YXAVCNFSM6AAAAABBQQKTECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGY4TENJXG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

hi @aaronlippold
We are indeed still accepting PRs for the released versions here, we do have the private branch for subscribers where they are also able to raise PRs with priority fixes, prior to the community release.
Hope that explains things a little better?
Many thanks
uk-bolly

hi @aaronlippold
I believe this issue has been addressed and merged?
I will close this, but feel free to reopen if you are still experiencing this problem.
Maybe easier to pick up a chat on discord if you like?
https://www.lockdownenterprise.com/discord
many thanks
uk-bolly

Hi, I will check it out and put it through the Pipeline.
I’d be more than happy to chat over discord, as rhel9 is next in line. 👍

Aaron Lippold
@.***
260-255-4779
twitter/aim/yahoo,etc.
'aaronlippold'
On Tue, Apr 9, 2024 at 05:16 uk-bolly @.***> wrote:

hi @aaronlippold https://github.com/aaronlippold
I believe this issue has been addressed and merged?
I will close this, but feel free to reopen if you are still experiencing
this problem.
Maybe easier to pick up a chat on discord if you like?
https://www.lockdownenterprise.com/discord
many thanks
uk-bolly
—
Reply to this email directly, view it on GitHub
https://github.com/ansible-lockdown/RHEL8-STIG/issues/246#issuecomment-2044526210,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALK42EEWMBXYP6TM3T7S7LY4OWWPAVCNFSM6AAAAABBQQKTECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGUZDMMRRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


bug: meltano invoke commands get killed (OOM) after an upgrade

Meltano Version
2.19.1
Python Version
3.9
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
Linux/X86_64
Description
We currently run Meltano 2.6.0 from Docker image meltano/meltano:v2.6.0-python3.9 on AWS ECS and everything works fine. However when trying to upgrade the Meltano version to 2.19.*, commands start running for very long and eventually get Killed with a spike of memory consumption in the container metrics. The commands vary from meltano invoke dbt run to meltano invoke airflow users create.
Code
No response

@asmisha does this happen with an EL specific commands or just non-extractor/loader plugins?
Also, are you using the EDK-based plugins or the original forms? If you have orchestrator and transformer keys in your meltano.yml they'd be the latter.

@tayloramurphy
meltano schedule run csv-to-postgres --force --transform skip is also Killed
Also reproduced this in version 2.7.
And this only happens on my ECS instance, locally everything works fine.
I use the original forms.

Tried with debug log level - no luck
2023-06-14T13:56:52.282+02:00 meltano invoke airflow users list
2023-06-14T13:56:52.282+02:00 Environment 'dev' is active
2023-06-14T13:56:52.366+02:00 Creating engine '<meltano.core.project.Project object at 0x7f8c1dec7490>@postgresql://***'
2023-06-14T13:57:50.394+02:00 meltano invoke airflow users create
2023-06-14T13:57:51.523+02:00 Environment 'dev' is active
2023-06-14T13:57:51.612+02:00 Creating engine '<meltano.core.project.Project object at 0x7fce99ce3490>@postgresql://***'
2023-06-14T13:59:12.738+02:00 /init.d/admin-user.sh: line 10: 291 Killed meltano invoke airflow users create

Also it's very slow. The first command takes around a minute

I use the original forms.

@asmisha are you able to try with the EDK versions? You can still use the same schedule and commands, but reinstalling as utilities may help isolate this.

@tayloramurphy I was not able to try that because EDK version of Airflow is broken and doesn't run.
Also EDK versions of dbt and airflow are outdated, so i would not like to bring them to production.
Also, like i mentioned, even the schedule command doesn't work. So even if i removed dbt and airflow completely - how could that possibly affect the schedule command?

@tayloramurphy same with EDK dbt:
Killed meltano invoke dbt-postgres run $DBT_RUN_FLAGS

@asmisha Could it be that the new arm64 images are being used instead of the x86_64 image? We now provide images for both architectures - maybe an unexpected switch is the source of the problems you've encountered.

@WillDaSilva I don't think so, run into this problem on v2.7, which doesn't have a separate arm64 image.
I'm trying now to explicitly run meltano upgrade database to see what happens on v2.7

I have a strong feeling, that it's this migration that causes troubles.
2023-06-15T16:26:39.164+02:00 Environment 'dev' is active
2023-06-15T16:26:39.305+02:00 Applying migrations to system database...
2023-06-15T16:26:39.319+02:00 Context impl PostgresqlImpl.
2023-06-15T16:26:39.319+02:00 Will assume transactional DDL.
2023-06-15T16:26:39.341+02:00 Upgrading database to f4c225a9492f
2023-06-15T16:26:39.342+02:00 Context impl PostgresqlImpl.
2023-06-15T16:26:39.342+02:00 Will assume transactional DDL.
2023-06-15T16:26:39.351+02:00 Running upgrade 5b43800443d1 -> f4c225a9492f, Create dedicated job_state table
2023-06-15T16:27:43.239+02:00 /init.d/00-config.sh: line 2: 29 Killed meltano upgrade database

So I'm looking at this migration, and I'm thinking that it probably extracts all the jobs with all the columns...
https://github.com/meltano/meltano/blob/v2.7.1/src/meltano/migrations/versions/6828cc5b1a4f_create_dedicated_state_table.py
    for state_id in {job_run.job_name for job_run in session.query(Job).all()}:
        session.add(JobState.from_job_history(session, state_id))

Should it rather be something like this?
    for state_id in {job_name for job_run in session.query(Job.job_name).distinct().all()}:
        session.add(JobState.from_job_history(session, state_id))


feature request : updated date

Hi,
Working with a lot of text pieces that are stored in database and duplicated in files, I would like to follow the age of a text block.
Could you add a feature like a snippet with date that could be automaticaly updated when a keystroke or a save is triggered ?
this could be <:[27/07/2015 10:26]:> or anything...
Thank you.

Are you looking for something like https://github.com/FichteFoll/InsertDate#snippet-macros? You can bind that to a key stroke with the run_macro_file command.
Alternatively, you might want to check out a different plugin that automatically updates file headers, such as one of these: https://packagecontrol.io/search/header.


Run rpm from CLI

#89 - constructed Storage instance for Cli arguments and run Rpm from Cli using storage, naming policy and digest.

This pull request #90 is assigned to @vatavuk/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

@g4s8 there are confilcts

@Vatavuk thanks, makes sense

@vatavuk/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@sereshqua/z please review this job completed by @vatavuk/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@Vatavuk please make sure you will at least 3 issues during next CR, thanks!

@sereshqua ok

@0crat quality acceptable


[DONT REVIEW] Test 3x appveyor

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

Don't pay attention to this PR, I'm just testing


Make RealityCapture csv/ply exports work!

fix #3118
Changes in this PR:

fix cx,cy calculation which was done wrong previously
add --ply option to ns-process-data realitycapture to support splatfacto
safeguard brown4 tangential2 distortion model in full data manager, since opencv's undistort doesn't support it.

@jb-ye You mentioned "safeguard brown4 tangential2 distortion model in full data manager, since opencv's undistort doesn't support it.". However, from my testing, changing k4 would affect the behavior of cv2.undistort. And sensors like Azure Kinect does provide k4 in the API. Can you please give some explanation on this? Thank you!

Thanks for the explanation @jb-ye . Does this mean COLMAP or hloc tool box also estimate the distortion coefficients in a non-compatible format from what opencv expects (specifically for the k4)?
Edit: sorry, I just checked and realized hloc only estimates k1, k2, p1, p2.

@shengjie-lin I am not sure about COLMAP, it support several cameras models. The FULL_OPENCV might be something you are looking for.


AMBARI-23101. Rhel6: Deploy with NewMySQL for Hive fails

Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/HIVE/<IP_ADDRESS>.0/package/scripts/mysql_server.py", line 64, in
MysqlServer().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HIVE/<IP_ADDRESS>.0/package/scripts/mysql_server.py", line 34, in install
self.configure(env)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 120, in locking_configure
original_configure(obj, *args, **kw)
File "/var/lib/ambari-agent/cache/common-services/HIVE/<IP_ADDRESS>.0/package/scripts/mysql_server.py", line 44, in configure
mysql_configure()
File "/var/lib/ambari-agent/cache/common-services/HIVE/<IP_ADDRESS>.0/package/scripts/mysql_utils.py", line 34, in mysql_configure
mysql_users.mysql_adduser()
File "/var/lib/ambari-agent/cache/common-services/HIVE/<IP_ADDRESS>.0/package/scripts/mysql_users.py", line 44, in mysql_adduser
path='/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in init
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'bash -x /var/lib/ambari-agent/tmp/addMysqlUser.sh mysqld hive [PROTECTED] ctr-e138-1518143905142-49064-01-000005.hwx.site' returned 1. + mysqldservice=mysqld

mysqldbuser=hive
mysqldbpasswd=password
userhost=ctr-e138-1518143905142-49064-01-000005.hwx.site
/var/lib/ambari-agent/ambari-sudo.sh service mysqld restart
mysqld: unrecognized service
echo 'Adding user hive@% and removing users with empty name'
Adding user hive@% and removing users with empty name
/var/lib/ambari-agent/ambari-sudo.sh mysql -u root -e 'CREATE USER '''hive'''@'''%''' IDENTIFIED BY '''password''';'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
/var/lib/ambari-agent/ambari-sudo.sh mysql -u root -e 'GRANT ALL PRIVILEGES ON . TO '''hive'''@'''%''';'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
/var/lib/ambari-agent/ambari-sudo.sh mysql -u root -e 'DELETE FROM mysql.user WHERE user='''''';'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
/var/lib/ambari-agent/ambari-sudo.sh mysql -u root -e 'flush privileges;'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
/var/lib/ambari-agent/ambari-sudo.sh service mysqld stop
mysqld: unrecognized service

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/854/
Test FAILed.
Test FAILured.


FileSystemException: Cannot open file, path = 'build/app.dill.track.dill' (OS Error: No such file or directory, errno = 2)

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter build bundle --suppress-analytics --target /Users//Develop/Android/QQPlayerAndroid/QQPlayerFlutter/lib/main.dart --track-widget-creation --compilation-trace-file compilation.txt --target-platform android-arm64 --depfile /Users//Develop/Android/QQPlayerAndroid/QQPlayerFlutter/.android/Flutter/build/intermediates/flutter/debug/snapshot_blob.bin.d --asset-dir /Users/***/Develop/Android/QQPlayerAndroid/QQPlayerFlutter/.android/Flutter/build/intermediates/flutter/debug/flutter_assets --debug
exception
FileSystemException: FileSystemException: Cannot open file, path = 'build/app.dill.track.dill' (OS Error: No such file or directory, errno = 2)
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:364:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:483:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel beta, v1.1.8, on Mac OS X 10.14.1 18B75, locale en-CN)
    • Flutter version 1.1.8 at /Users/***/Develop/Android/flutter
    • Framework revision 985ccb6d14 (8 weeks ago), 2019-01-08 13:45:55 -0800
    • Engine revision 7112b72cc2
    • Dart version 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/***/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ✗ Android license status unknown.

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode10.1.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.31.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.24.0

[✓] Connected device (1 available)
    • BLA A09 • FWP0218516000642 • android-arm64 • Android 9 (API 28)

! Doctor found issues in 2 categories.

The problem happened many times.
It's solved by remove all build folders in project.

I think this is a duplicate of https://github.com/flutter/flutter/issues/16604 (which I believe we've fixed on master/dev)


fix: store provider multiaddrs during find providers

Changes the behaviour of libp2p.contentRouting.findProviders to store
the multiaddrs reported by the routers before yielding results to
the caller, so when they try to dial the provider, the multiaddrs are
already in the peer store's address book.
Also dedupes providers reported by routers but keeps all of the addresses
reported, even for duplicates.
Also, also fixes a performance bug where the previous implementation would
wait for any router to completely finish finding providers before sending
any results to the caller.  It'll now yield results as they come in which
makes it much, much faster.
Follows on from https://github.com/ipfs/js-ipfs-bitswap/pull/286#discussion_r560799814

0.30.2 is in the interwebs 🚢

0.30.2 is in the interwebs 🚢


SyntaxError: Invalid regular expression on line 392

https://github.com/jonschlinkert/data-store/blob/master/index.js#L392
This line:
const split = str => str.split(/(?<!\\)\./).map(strip);

Throws an error:
/redacted_path/node_modules/data-store/index.js:392
const split = str => str.split(/(?<!\\)\./).map(strip);
                         ^

SyntaxError: Invalid regular expression: /(?<!\\)\./: Invalid group
    at split (/redacted_path/node_modules/data-store/index.js:392:26)
    at get (/redacted_path/node_modules/data-store/index.js:433:7)
    at Store.has (/redacted_path/node_modules/data-store/index.js:148:19)
    at /redacted_path/redacted_file.js:10:15
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/redacted_path/redacted_file.js:9:11)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)

Changed it to:
const split = str => str.split(/(?!\\)\./).map(strip);

And it hasn't errored yet. I don't know if my fix will break anything though.

Changed it to:

A negative lookahead won't work. The node version is wrong in package.json, it should be 8.6 I think.

@jonschlinkert haven't run unit tests, but it worked to temporarily fix my project.

I eliminated the regex negative lookbehind that caused the error. Thanks for creating the issue


Comment implementation

Comments are a weird element to implement due to the difficulty of identifying them as they do not have any obvious ID, unlike posts or users. Probably the most reliable way of doing that is by having a parent post element, a user, and the date when it was published.
from pygramcore import Post, User, Comment
from datetime import datetime

post = Post("post_id")
user = User("username")
date = datetime.now()

Comment(post, user, date)

A comment feature branch has been started at feature/comments


Table UI IV: Implement Add Column and Remove Row buttons [#175773902]

[#175773902]
I was originally just going to implement Remove Row in this PR, but it turns out that supporting Add Column as well didn't add much to the degree of difficulty.
Note that for implementation reasons, the Add Column and Remove Row buttons are implemented as an additional column in the table. This makes rendering them straightforward using normal React mechanisms, guarantees proper alignment with the row, assures that they scroll properly when the table is scrolled vertically, etc. The downside to this approach, however, is that if the table is wider than the tile the buttons can be scrolled out of view horizontally. In the interest of moving on I propose we stick with this for now. If there is a desire to implement sticky buttons that can't be scrolled out of view, we should make another story since the implementation will be non-trivial.
On another note, when new columns are created they are given the first available name in the sequence "y", "y2", "y3", etc. I experimented with using subscripts as suggested by the spec but in the absence of rich-text editing we're limited to Unicode subscripts which by default render too small and are difficult to edit/enter for the user, so I decided to skip it.

For posterity, after meeting with @mklewandowski we were able to determine that the oddities he was seeing in the SVGs was due to the fact that he needed to quit and re-run npm start to pick up the latest webpack configuration changes, after which the SVGs rendered as expected.


Grid and grid__item in Entry information page

There are layout issues on the Details page. All children of .grid need a .grid__item and that all .grid__items need a parent .grid. This is not currently the case.

To check on Beta


Job portal website

#107

Thanks for your Valuable contribution.
Don't forget to star the repo.


Bug: limit of batch size too high with authentication

Change from 500 to 50.

Fixed in version 1.1.0


Numeric intervals for rect

Currently rect expects a D3 time interval for the interval option, but I think it’d be pretty easy to also accept a number for that option. It’d be useful like for a heatmap where you don’t want (or need) the bin transform, e.g.
https://observablehq.com/@credmond/the-gradient/2

If the interval is specified as a number n, x1 and x2 are taken as the two consecutive multiples of n that bracket x.

is it something else?

Oops, we already did that! I just forgot. 😬


Maybe jquery 3?

Hi. This template is amazing. It's really  gooooood.
What do you think about updating to jQuery 3 version and newest bootstrap?
It may be cool.
I can\want to help with it, because I like AdminLTE, but I cant use it on production, cause need jQuery 3 support.

@bilazik , Yes you have to wait until new version will not release. Or you can use latest Jquery version though assestManager configuration like this :
`'assetManager' => [
'bundles' => [
'yii\web\JqueryAsset' => [
'js'=>[YOUR-JS-PATH]
],
'yii\bootstrap\BootstrapPluginAsset' => [
'js'=>[YOUR-JS-PATH]
],
'yii\bootstrap\BootstrapAsset' => [
'css' => [YOUR-CSS-PATH],
],
],

],`


Stop and resume background music.

I want continue playing background music as camera initialised and after capturing photo or recording video, i come back to camera screen , the background music should be resume .
I have set automaticallyConfiguresApplicationAudioSession = NO in - (id)init method of SCRecorder.m file for playing background music when camera initialised but after capturing image or recording video ,i again came back to camera screen at that background music is not resuming.
I have set category in appDelegate.m file.
`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
dispatch_async( dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
    // Add code here to do background processing
    //
    //

    AVAudioSession *session1 = [AVAudioSession sharedInstance];
    [session1 setCategory:AVAudioSessionCategoryPlayAndRecord  withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker|AVAudioSessionCategoryOptionAllowBluetooth error:nil];
     [session1 setActive:YES error:nil];
    [[UIApplication sharedApplication] beginReceivingRemoteControlEvents];

    dispatch_async( dispatch_get_main_queue(), ^{
        // Add code here to update the UI/send notifications based on the
        // results of the background processing
    });
});

`
please help me to handle audio session manually.

see my answer here: https://github.com/rFlex/SCRecorder/issues/331
Two key parts. One is timing. I was going to play and record on view did appear of my camera and going to ambient on view will disappear.
Second key part seems to be setting the audio session active=NO before making a category change and active=YES after the category change

@Tejas-narola I come to the same issue. When opening the SCRecoder view, will stop the background music automatically. But when close SCRecorder view, the background music can't be resumed. Have you fixed this problem? I tried reset the AVAudioSession after SCRecoder closed, but it's not work for me.
AVAudioSession *audioSession=[AVAudioSession sharedInstance]; if (audioSession) { [audioSession setActive:NO withOptions:AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation error:nil]; }
@aprato I tried your code too, before SCRecorder setup. it can't resume the background music too after SCRecorder disappear.


Fix logic for skipping browser on login

Summary
The logic was reversed
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 47.666% (-0.006%) from 47.672%
when pulling 3cd7c937dbfd7f30de337b2e06feeaad403efa4f on eleftherias:fix-browser-skip
into 216357d3b2c772e8555b9c89092eaaf9716c081e on stacklok:main.


Feature Request: Invert X- and Z-axis option for navigation in Editor 3d-view

Godot version:
3.1
OS/device including version:
MacOS 10.14.5 beta
In addition to the already solved post where an invert Y-axis option was requested (https://github.com/godotengine/godot/issues/16926) I would like to ask for the same feature for the X- and Z-axis.
Actually, I'm wondering why this option wasn't implemented for all axis at once.
As a touchpad the only user I feel uncomfortable navigating the 3D view in Godot, especially while orbiting the scene. As I'm using Fusion 360 for many hours a day, I would love to be able to emulate the same intuitive touchpad navigation in Godot.
Best wishes,
Martin

@MartinMajewski Should this impact only orbit navigation, or also panning as well? What about 2D?

It would be good to have this for trackpad users. I can invert the Y axis, but I need to invert sideways movement too. This is for both orbiting and panning.
Freelook already works as expected.

Panning in 2D already works as intended on macOS, and respects the systemwide "Scroll direction: Natural" found in System Preferences > Trackpad.

Orbiting and panning work as desired if I disable the “Scroll direction: natural” setting in my macbook’s trackpad settings. However, it would be great to be able to do this just in Godot without affecting system-wide scrolling.

Maybe not "as desired," but as "expected," I guess. To clarify for whoever can implement this change, changing this setting in macOS system preferences doesn't alter Godot's 3D behaviour, just makes the rest of macOS work like Godot currently does (with invert Y axis disabled).
So Godot's 2D view respects system scroll direction, whereas 3D view can only be partly made to match it (that too only for orbit) with the Invert Y axis option. Ideally, Godot could have a "Natural Trackpad Direction" option that functions exactly like Blender's does, that inverts Y and X axis for orbiting and panning in 3D view.

The invert Y axis currently also inverts mouse movement (such as when fly navigating while holding down right click). This is unexpected behaviour, and the invert X axis option does not do this. Ideally this option should not invert Y for the mouse.


[WIP] Generate unique index name across tables

SQLite does not support multiple unique indexes with same name across tables
... this fixes the issue with name generation
This is an early PR to get some feedbacks in case I am missing somthing. I'll come up with a test case for it by the end of the week.

Requires test cases that run against both a DB like mysql and sqlite, as well as unit tests.

🧹 I'm cleaning up my PRs list. Sorry for not being able to followup on this with test cases. I don't use it Doctrine anymore today, and forgot about this PR. I won't do any further work on this.


Drag from outside element render lagging

Hi, I use Vue-Grid-Layout in my project and found the drag from outsize element shadow box display lagging, and this behavior even worse in slow browser or slow PC. The won't happen when dragging element inside grid layout, only for outsize element.
I use this example : https://jbaysolutions.github.io/vue-grid-layout/guide/10-drag-from-outside.html

I've had this too .. problem seems to be this, if you're working from the example;
document.addEventListener("dragover", function (e) {
            mouseXY.x = e.clientX;
            mouseXY.y = e.clientY;
        }, false);

Not sure specifically why, but if I replace this with;
document.onmousemove = function (event) {
    this.onDragOver(event)
}.bind(this);

.. obviously I need to adapt things a little, but this provides a better solution .. replacing Vue's built-in drag handler with "vue-smooth-dnd" now yields a very smooth / performant solution.

Any updates on this one ? we're having the same problem and its freezing the browser after multiple drops


Python error during leapp upgrade.

When running leapp upgrade from cpanel-elevate, the user is encountering the following python failure:
* 2023-02-23 15:17:23 (1412) [INFO] ******************************************************************************************
* 2023-02-23 15:17:23 (1413) [INFO] *
* 2023-02-23 15:17:23 (1414) [INFO] * Starting stage 3 of 5
* 2023-02-23 15:17:23 (1415) [INFO] *
* 2023-02-23 15:17:23 (1416) [INFO] ******************************************************************************************
* 2023-02-23 15:17:23 (1169) [INFO] Stage 3: skipping prep_for_leapp (already run)
* 2023-02-23 15:17:23 (1713) [INFO] Running leapp upgrade
* 2023-02-23 15:17:23 (4078) [INFO] Running: /usr/bin/leapp upgrade
* 2023-02-23 15:17:23 (4079) [INFO]
* 2023-02-23 15:17:23 (4093) [INFO] Traceback (most recent call last):
* 2023-02-23 15:17:23 (4093) [INFO]   File "/usr/bin/leapp", line 5, in <module>
* 2023-02-23 15:17:23 (4093) [INFO]     from pkg_resources import load_entry_point
* 2023-02-23 15:17:23 (4093) [INFO]   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 72, in <module>
* 2023-02-23 15:17:23 (4093) [INFO]     import packaging.requirements
* 2023-02-23 15:17:23 (4093) [INFO]   File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 60, in <module>
* 2023-02-23 15:17:23 (4093) [INFO]     MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
* 2023-02-23 15:17:23 (4093) [INFO] TypeError: __call__() takes exactly 2 arguments (1 given)
* 2023-02-23 15:17:23 (4110) [INFO]
* 2023-02-23 15:17:23 (657) [INFO] Sending notification: Fail to update to AlmaLinux 8
* 2023-02-23 15:17:23 (662) [ERROR] The elevation process failed during stage 3.
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR] You can continue the process after fixing the errors by running:
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR]     /usr/local/cpanel/scripts/elevate-cpanel --continue
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR] You can check the error log by running:
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR]     /usr/local/cpanel/scripts/elevate-cpanel
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR] Last Error:
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR] The 'leapp upgrade' process failed.
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR] Please investigate, resolve then re-run the following command to continue the update:
* 2023-02-23 15:17:23 (662) [ERROR]
* 2023-02-23 15:17:23 (662) [ERROR]     /scripts/elevate-cpanel --continue
* 2023-02-23 15:17:23 (529) [FATAL] The 'leapp upgrade' process failed.

I notice:
TypeError: __call__() takes exactly 2 arguments (1 given)

This appears to be a bug in the leapp code that might need correction?

Seems pretty strange, as this is happening during import on line 5. I'd guess that in
packaging/requirements.py
where it is doing
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
It should be doing
MARKER_EXPR = originalTextFor(MARKER_EXPR(), "marker")
...but this is not inside leapp itself, but within something it's requiring from site-packages. Almost makes me think some version of a dependency is not what it is expecting.
I don't suppose this is all that surprising, as after all it's not like we're paranoid and using virtualenv without --system-libs in this project or anything like that to enforce specific versions of python modules. I'd just say this this is more than likely PEBCAK on the user's part, though it'd be hard to figure out without more investigation.
Considering the other fellow in the linked cpanel-elevate case found that a similar issue was due to openssl11-libs being installed, I'd say my thoughts about it being just something odd about the environment as even more likely.
Regardless, no real way of fixing this "class" of bug report without doing what I say is not being done currently -- being paranoid and operating in a virtualenv with specific versions of modules you need bundled with the project.


Add Crockford Base32

Just a small typo - I noticed your repo is named Crackford, not Crockford :)

Ah crap, thanks aha, will fix now


BarGroup overrides y with {...restProps}

Running through the demo here https://vx-demo.now.sh/bargroup, the y is processed and spread onto Bar however it isn't pulled off from  {...restProps} and it gets overridden.
Also const y = d => d.value; isn't used for that demo and or isn't necessary for it.

Fixed: https://github.com/hshoff/vx/pull/250


Tempest Touch spell is (still) listed as cursebound

I think this should not be cursebound (anymore) in Remaster!?

Thanks and have a happy new year.

Did you refresh your copy of the spell?

I am not sure what "refresh" in this context exactly, but I assume it means to remove the spell from the character sheet and then drag it back on anew?! This worked, so thanks for the hint! :-)
Or is there an automated way to refresh these things to reflect rules/module changes?

I am not sure what "refresh" means in this context exactly, but I assume it means to remove the spell from the character sheet and then drag it back on anew?! This worked, so thanks for the hint! :-)

You can also edit the spell, then click the refresh button in the title bar.

I am not sure what "refresh" means in this context exactly, but I assume it means to remove the spell from the character sheet and then drag it back on anew?! This worked, so thanks for the hint! :-)

You can also edit the spell, then click the refresh button in the title bar.

Ah, yes, great. I didn't know about that button. We are mainly playing at the table and I tend to just import my players' Pathbuilder data. So I didn't have to look at/use all intricacies of Foundry/PF2E module too often while using Foundry for my GM duties and presenting maps on mobile monitors (laying flat on the table). Thanks again, well appreciated!


Nopatch httpd CVE-1999-0236, CVE-1999-1412

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary
httpd CVE-1999-0236 is unpatched, and appears to require the user to provide the mitigations through configuration (see "Server Side Includes" docs
httpd CVE-1999-1412 applies only to MacOS X.
Change Log

Nopatch httpd CVE-1999-0236
Nopatch httpd CVE-1999-1412
Unify changelog format for httpd.spec

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-1999-0236
https://nvd.nist.gov/vuln/detail/CVE-1999-1412

Test Methodology

make 'input-srpms' to validate spec file format.

1999? Geez.


Panning around in with_winit example is laggy

I'm on an M1 macbook, running the with_winit example with --release. There is considerable lag when I begin a drag to pan the image with mouse drag and drop. The lag is very noticeable (500ms - 1s). If I continue dragging without lifting the left mouse, the lag disappears.

Are you perhaps using the 'Magnet' application, which has been known to introduce similar lag? The recommended solution if so is to stop using that application.

@DJMcNab thanks for the response. That issue seems slightly different (the lag in that issue arises when dragging the entire window via the title bar; but my lag arises when panning the contents inside the window.
I'm not using Magnet but, curiously, I can reproduce the titlebar lag. So perhaps the issue I'm experiencing, the titlebar lag, and the issue you mentioned are all caused by the same underlying problem that spans beyond Magnet. I'm going to do a little digging and will come back here with my findings. Then we can close and link this to the appropriate repo.

Interesting. Lag inside the window is reminiscent of https://xi.zulipchat.com/#narrow/stream/354396-xilem/topic/Xilem.20example.20laggy - however the conclusion there was also the use of Magnet IIRC.
Hopefully we can reach a good conclusion. If you want to further walk through what you try, to see if anyone else has any ideas, feel free to make a topic in:

Does this still reproduce for you?

Are you using Ryan Hanson's Multitouch utility?
While Multitouch is enabled I get the same exact behavior - massive lag that eventually resolves if I continue to drag. Disabling it eliminates the lag.

This isn't very actionable from our side. Our current suggestion is to stop using the utilities which break macOS, and either get the author of those utilities to debug and fix this in winit, or request a refund.


Error login on yarn start call

Observed behavior (please include a screenshot if possible)
I am running datatools-server latest version 4.1.0 like this.
java -jar target/dt-v3.2.0-1515-gb119c30.jar configurations/default/env.yml configurations/test/server.yml

I disabled authentication like this.
begerad@ltpt490:~/git/ibi-group/datatools-server$ cat configurations/default/env.yml
# This client ID refers to the UI client in Auth0.
AUTH0_CLIENT_ID: your-auth0-client-id
AUTH0_DOMAIN: your-auth0-domain
# Note: One of AUTH0_SECRET or AUTH0_PUBLIC_KEY should be used depending on the signing algorithm set on the client.
# It seems that newer Auth0 accounts (2017 and later) might default to RS256 (public key).
AUTH0_SECRET: your-auth0-secret # uses HS256 signing algorithm
# AUTH0_PUBLIC_KEY: /path/to/auth0.pem # uses RS256 signing algorithm
# This client/secret pair refer to a machine-to-machine Auth0 application used to access the Management API.
AUTH0_API_CLIENT: your-api-client-id
AUTH0_API_SECRET: your-api-secret-id
DISABLE_AUTH: true
OSM_VEX: http://localhost:1000
SPARKPOST_KEY: your-sparkpost-key
SPARKPOST_EMAIL<EMAIL_ADDRESS>GTFS_DATABASE_URL: jdbc:postgresql://localhost/sib00_vbn_gtfs
GTFS_DATABASE_USER: sib00_vbn_gtfs
GTFS_DATABASE_PASSWORD: #lostInUsa21
#MONGO_HOST: mongo-host:27017
MONGO_DB_NAME: ibi-app-storage

I am using the test settings provided by the repository.
I am calling datatools-ui latest release version 4.1.0 like this.
begerad@ltpt490:~/git/ibi-group/datatools-ui$ nvm use v10.12.0
Now using node v10.12.0 (npm v6.4.1)
begerad@ltpt490:~/git/ibi-group/datatools-ui$ node -v
v10.12.0
begerad@ltpt490:~/git/ibi-group/datatools-ui$ npm -v
6.4.1
begerad@ltpt490:~/git/ibi-group/datatools-ui$ npm i -g yarn

><EMAIL_ADDRESS>preinstall /home/begerad/.nvm/versions/node/v10.12.0/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)

/home/begerad/.nvm/versions/node/v10.12.0/bin/yarnpkg -> /home/begerad/.nvm/versions/node/v10.12.0/lib/node_modules/yarn/bin/yarn.js
/home/begerad/.nvm/versions/node/v10.12.0/bin/yarn -> /home/begerad/.nvm/versions/node/v10.12.0/lib/node_modules/yarn/bin/yarn.js
+<EMAIL_ADDRESS>added 1 package in 0.774s
begerad@ltpt490:~/git/ibi-group/datatools-ui$ yarn -v
1.22.17
begerad@ltpt490:~/git/ibi-group/datatools-ui$ yarn
yarn install v1.22.17
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.77s.
begerad@ltpt490:~/git/ibi-group/datatools-ui$ yarn start
yarn run v1.22.17
$ yarn
[1/4] Resolving packages...
success Already up-to-date.
$ mastarm build --env dev --serve --proxy http://localhost:4000/api
Browserslist: caniuse-lite is outdated.

Expected behavior
I would like to test a setup where I do not have to login using disabled authentication.
Steps to reproduce the problem
Please refer to the setup above.
Any special notes on configuration used
Please refer to the configuration above.
Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)
I am using datatools-server and datatools-ui latest release version 4.1.0.
I thank you  very much for providing and maintaining this repository and appreciate any help.
Cheers,
Stefan

Disabling the authentication is also not working with the instruction
yarn start --config configurations/default/env-da-vbn-gtfs.yml

loading the following configuration.
cat configurations/default/env-da-vbn-gtfs.yml
AUTH0_CLIENT_ID: your-auth0-client-id
AUTH0_DOMAIN: your-auth0-domain
DISABLE_AUTH: true
BUGSNAG_KEY: optional-bugsnag-key
MAPBOX_ACCESS_TOKEN: your-mapbox-access-token
MAPBOX_MAP_ID: mapbox/outdoors-v11
MAPBOX_ATTRIBUTION: © Mapbox © OpenStreetMap Improve this map
SLACK_CHANNEL: optional-slack-channel
SLACK_WEBHOOK: optional-slack-webhook
GRAPH_HOPPER_KEY: your-graph-hopper-key
# Optional override to use a custom service instead of the graphhopper.com hosted service.
# GRAPH_HOPPER_URL: http://localhost:8989/
GOOGLE_ANALYTICS_TRACKING_ID: optional-ga-key
# GRAPH_HOPPER_POINT_LIMIT: 10 # Defaults to 30

I appreciate any hint in the right direction.
Cheers,
Stefan

I believe DISABLE_AUTH isn't quite working at the moment. We can try to look more into this, but aren't always able to get to every issue in a timely manner.
We do however welcome PRs and I would be happy to review any PR that helps fix this functionality! If you go this route, you might want to start by looking here: https://github.com/ibi-group/datatools-ui/blob/4e7b8eac69fd14ae40b8a13ea86c3bf8b5e44691/lib/common/user/Auth0Manager.js

See https://github.com/ibi-group/datatools-ui/issues/480#issuecomment-549454520

Hi @miles-grant-ibigroup ,
Thank you so much for the hint and the links. I'll let you know, when I have a working solution without using authentication.
Cheers,
Stefan

Hi @miles-grant-ibigroup ,
From reading older issues #177 and #480 it sounds like DISABLE_ATH worked in a past release or version. Is that right? Can you come up with a release or  version where DISABLE_ATH was working?
Cheers,
Stefan

I don't think any builds in this repo support it. If you check the old conveyal repo you may have some luck!

@miles-grant-ibigroup is this issue fixed or not?

If auth0 is configured correctly, login will work when using the latest dev.
The DISABLE_AUTH flag does not currently work.
I hope this is helpful! Please let me know if you have any questions

Thank you so much @miles-grant-ibigroup for making that crystal clear. I leave it up to you to open a new issue about the DISABLE_AUTH switch.
Cheers!

If auth0 is configured correctly, login will work when using the latest dev.
The DISABLE_AUTH flag does not currently work.
I hope this is helpful! Please let me know if you have any questions

hi @miles-grant-ibigroup can you please guide me a bit on the process on where to make the account and where to feed the values of the account .
Any  help will be appreciated.
thankyou

@mir-abdullah Let me know how you get on with the instructions at https://data-tools-docs.ibi-transit.com/en/latest/dev/deployment/
If you have any trouble with them please let me know and we can try to debug together!

Is this issue fixed ?

We are working to make the DISABLE_AUTH config item function correctly


What license is the code under?

Hello Aria,
you have produced nice code.
What is the license of your code?
Public Domain, GPL, BSD, LGPL, MIT, ...?
I couldn't get any information on it.
Thanks

It's now under the MIT license. Thanks for reminding me to do that.
https://github.com/AriaFallah/csv-parser/commit/f5bbefa708ae563fc5013bdfec66697564efcf67


💡 [REQUEST] - Support Firefox, edge, etc

Reference Issues
No response
Summary
Currently we only support Chrome, it would be great to add support for all common browsers to increase the size of the potential user base & the general accessibility of the app.
Basic Example
n/a
Drawbacks

More work to maintain
Potential API differences may require design changes

Unresolved questions
No response

This should be relatively easily, edge already works and firefox just requires the chrome variable to be changed to browser


CKS32 / flashing: Unable to flash with latest revision of master

NOTICE: The issue may be closed without notice when not enough information is provided!
Thank you for giving feedback to the stlink project. Take some time to fill out
check boxes with a X in the following items so developers and other people can try to
to find out what is going on. And add/remove what is appropriate to your problem.
When submitting a feature request, try to reuse the list and add/remove what is appropriate.
Place a X between the brackets [X] to mark the list item.

[X] Programmer/board type: stlink/v2
[x] Programmer firmware version: Not sure
[X] Operating system: Mac OS X
[X] Stlink tools version and/or git commit hash: 6a9d390a729f381ecec45f212354bfe98e27790f
[X] Stlink commandline tool name: st-flash
[X] Target chip (and optional board): STM32L476JG (STSW-STLKT01V1)

A as-detailed description possible of the problem with debug output when available.
Output:
Release$ st-flash write ~/data/input/st-ces/lib/qxostlib-datalog-20190104112820-ed73f5.bin 0x8000000 st-flash 1.4.0-58-g6a9d390
2019-01-14T16:35:23 INFO common.c: Loading device parameters....
2019-01-14T16:35:23 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-01-14T16:35:23 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
2019-01-14T16:35:23 INFO common.c: Attempting to write 109160 (0x1aa68) bytes to stm32 address: 134217728 (0x8000000) Flash page at addr: 0x0801a800 erasedEraseFlash - Page:0x35 Size:0x800
2019-01-14T16:35:24 INFO common.c: Finished erasing 54 pages of 2048 (0x800) bytes
2019-01-14T16:35:24 INFO common.c: Starting Flash write for F2/F4/L4
2019-01-14T16:35:24 INFO flash_loader.c: Successfully loaded flash loader in sram size: 32768 2019-01-14T16:35:27 ERROR flash_loader.c: flash loader run error
2019-01-14T16:35:27 ERROR common.c: stlink_flash_loader_run(0x8000000) failed! == -1 stlink_fwrite_flash() == -1

Expected/description:
When we revert to ae717b945de revision the command goes back to working, for some reason it doesn't work on master
Thank you,
The stlink project maintainers

I have made some compatibility test for the st-flash 1.5.1-12-g30de1b3 (Linux) and some STM boars. Here is a result (32F103 and 32L433 is a bluepill-based boards)

Board
ST-LINK FW-VERION
SELF
STM32F103C8
STM32L433CC

NUCLEO-F303RE
V2J28M17
OK
OK
unknown chip id! 0x5fa0004

NUCLEO-L476RG
V2J32M22
flash loader run error
OK
Invalid flash type

STM32L100C-DISCO
V2J32S0
OK
OK
Invalid flash type

There is no problems when using STM32Cube Programmer software for any combination.

I have the same issue.  Upgraded to latest revision and can no longer flash.  It seems to freeze at flashing the first block.  It is OK on revision 3eab7b960ff180df5f3678def13dceb4cf7ced93 (1.4.0-49-g3eab7b9).  Using custom hardware on ST-Link V2.  Sorry I cannot provide any more useful debug information.
Output from latest revision (note, uses a script to erase then flash several binaries):
st-flash erase
st-flash 1.5.1-12-g30de1b3
2019-02-07T10:24:51 INFO common.c: Loading device parameters....
2019-02-07T10:24:51 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:24:51 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
Mass erasing
st-flash write build/target/bootloader/platform-12/bootloader.bin 0x08000000
st-flash 1.5.1-12-g30de1b3
2019-02-07T10:24:51 INFO common.c: Loading device parameters....
2019-02-07T10:24:51 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:24:51 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
2019-02-07T10:24:51 INFO common.c: Attempting to write 58348 (0xe3ec) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x0800e000 erasedEraseFlash - Page:0x1c Size:0x800
2019-02-07T10:24:51 INFO common.c: Finished erasing 29 pages of 2048 (0x800) bytes
2019-02-07T10:24:51 INFO common.c: Starting Flash write for F2/F4/L4
2019-02-07T10:24:51 INFO flash_loader.c: Successfully loaded flash loader in sram
size: 32768
2019-02-07T10:24:55 ERROR flash_loader.c: flash loader run error
2019-02-07T10:24:55 ERROR common.c: stlink_flash_loader_run(0x8000000) failed! == -1
stlink_fwrite_flash() == -1
Makefile:23: recipe for target 'install' failed
make: *** [install] Error 255
Output from working revision:
st-flash erase
st-flash 1.4.0-49-g3eab7b9
2019-02-07T10:25:47 INFO common.c: Loading device parameters....
2019-02-07T10:25:47 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:25:47 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
Mass erasing
st-flash write build/target/bootloader/platform-12/bootloader.bin 0x08000000
st-flash 1.4.0-49-g3eab7b9
2019-02-07T10:25:47 INFO common.c: Loading device parameters....
2019-02-07T10:25:47 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:25:47 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
2019-02-07T10:25:47 INFO common.c: Attempting to write 58348 (0xe3ec) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x0800e000 erasedEraseFlash - Page:0x1c Size:0x800
2019-02-07T10:25:47 INFO common.c: Finished erasing 29 pages of 2048 (0x800) bytes
2019-02-07T10:25:47 INFO common.c: Starting Flash write for F2/F4/L4
2019-02-07T10:25:47 INFO flash_loader.c: Successfully loaded flash loader in sram
size: 32768
size: 25580
2019-02-07T10:25:49 INFO common.c: Starting verification of write complete
2019-02-07T10:25:49 INFO common.c: Flash written and verified! jolly good!
st-flash write build/target/hardwaretest/platform-12/hardwaretest.bin 0x08020000
st-flash 1.4.0-49-g3eab7b9
2019-02-07T10:25:49 INFO common.c: Loading device parameters....
2019-02-07T10:25:49 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:25:49 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
2019-02-07T10:25:49 INFO common.c: Attempting to write 97564 (0x17d1c) bytes to stm32 address: 134348800 (0x8020000)
Flash page at addr: 0x08037800 erasedEraseFlash - Page:0x6f Size:0x800
2019-02-07T10:25:50 INFO common.c: Finished erasing 48 pages of 2048 (0x800) bytes
2019-02-07T10:25:50 INFO common.c: Starting Flash write for F2/F4/L4
2019-02-07T10:25:50 INFO flash_loader.c: Successfully loaded flash loader in sram
size: 32768
size: 32768
size: 32028
2019-02-07T10:25:53 INFO common.c: Starting verification of write complete
2019-02-07T10:25:53 INFO common.c: Flash written and verified! jolly good!
st-flash write build/target/application/default/platform-12/application_default.bin 0x08040000
st-flash 1.4.0-49-g3eab7b9
2019-02-07T10:25:54 INFO common.c: Loading device parameters....
2019-02-07T10:25:54 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:25:54 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
2019-02-07T10:25:54 INFO common.c: Attempting to write 201636 (0x313a4) bytes to stm32 address: 134479872 (0x8040000)
Flash page at addr: 0x08071000 erasedEraseFlash - Page:0xe2 Size:0x800
2019-02-07T10:25:56 INFO common.c: Finished erasing 99 pages of 2048 (0x800) bytes
2019-02-07T10:25:56 INFO common.c: Starting Flash write for F2/F4/L4
2019-02-07T10:25:56 INFO flash_loader.c: Successfully loaded flash loader in sram
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 5028
2019-02-07T10:26:00 INFO common.c: Starting verification of write complete
2019-02-07T10:26:02 INFO common.c: Flash written and verified! jolly good!
#st-flash write build/target/data/device_data/platform-12/data_device_data.bin 0x080?????
st-flash write build/target/data/pan1740_firmware/platform-12/bluetooth_firmware_midb.bin 0x08018000
st-flash 1.4.0-49-g3eab7b9
2019-02-07T10:26:02 INFO common.c: Loading device parameters....
2019-02-07T10:26:02 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:26:02 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes
2019-02-07T10:26:02 INFO common.c: Attempting to write 18144 (0x46e0) bytes to stm32 address: 134316032 (0x8018000)
Flash page at addr: 0x0801c000 erasedEraseFlash - Page:0x38 Size:0x800
2019-02-07T10:26:02 INFO common.c: Finished erasing 9 pages of 2048 (0x800) bytes
2019-02-07T10:26:02 INFO common.c: Starting Flash write for F2/F4/L4
2019-02-07T10:26:02 INFO flash_loader.c: Successfully loaded flash loader in sram
size: 18144
2019-02-07T10:26:03 INFO common.c: Starting verification of write complete
2019-02-07T10:26:03 INFO common.c: Flash written and verified! jolly good!
st-flash reset
st-flash 1.4.0-49-g3eab7b9
2019-02-07T10:26:03 INFO common.c: Loading device parameters....
2019-02-07T10:26:03 INFO common.c: Device connected is: L4 device, id 0x10076415
2019-02-07T10:26:03 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes

Dear all, I would like you to help out and skim through multiple revisions since latest release so we can pinpoint the exact PR which causes the problem.
https://github.com/texane/stlink/compare/v1.5.1...master
Git bisect could be used for finding the regression:
https://git-scm.com/docs/git-bisect
https://git-scm.com/docs/git-bisect-lk2009.html
Thanks all for the feedback, and sorry for the inconvenience latest master is broken. Never ever expect latest develop to work. Releases should 😃

It was commit 7651d211 which caused the problem. The issue is that the chip ID for the F401 is 0x2ba01477 which appears to be the same as the CS32_CORE_ID and this causes the incorrect flash loader to be loaded onto the F4.
While looking into this I noticed that the code which prints which flash type was detected:
https://github.com/texane/stlink/blob/b9c315d990abfde3008a917e767c63d2c1c1ddf2/src/common.c#L1944
uses different logic from the code which actually does the flashing:
https://github.com/texane/stlink/blob/b9c315d990abfde3008a917e767c63d2c1c1ddf2/src/flash_loader.c#L253
so it says it's flashing an F4 but it loads the flash loader for the VL

@dhylands thank you very much! i don't know what this CS32 thing is but it breaks flashing of STM32F2.

Sorry about the trouble. What should be done to support both the CS32 and the STM32F2 / F401 if they share the same chip id?

@VictorLamoine i don't have the slightest idea. please revert the change to fix the regression, then figure it out.

You can revert the commit locally on your machine: git revert 7651d2116fd74c7803ea00ab1da7cf3d00faf44c.
I'm not a maintainer so I can't revert on the repository.

i'd like to suggest that the manufacturer be made available as a command line option if possible.
i.e. the default would be stm32 and that to flash cs32 a manufacturer option would be necessary
the reasoning is that stm32 'clones' may detour from being 'fully compatible' with stm32 as things evolves

@ag88 totaly agree, the texane/stlink project aims to support ST Microelectronics products and to be compatible with clones without breaking existing things. The problem with clones on the same IDs with different flash handling etcetera involves a lot of hacking. Also the current implementation is also not very clean (compared to flexible OpenOCD tcl scripts). There are a lot of conditional checks all around the flash loader code for different scenarios which could be simplified (eg look at pystlink)

Hi all,
I have reverted the CS32 commit. Could you verify it works again?
Kind regards,
Jerry

@xor-gate works for me now on the latest master. Thank you everyone for the help!

@michaelsobczak-qeexo thanks for verify! Sorry for the long delays and inconvenience.

It's not very clear whether this CS32 chip is an illegal clone or a partnership between ST and the CSK Chinese manufacturing company.
Discussion here: http://stm32duino.com/viewtopic.php?f=3&t=4522, article here https://www.cnx-software.com/2019/02/10/cs32-mcu-stm32-clone-bluepill-board/

Thanks all, i'm closing this issue now because it has been fixed by reverting commit 7651d2116fd74c7803ea00ab1da7cf3d00faf44c

If we still want support for CS32 microcontrollers we must find a more reliable solution, feel free to file an issue if we want to.

Summary: Related to #756 #757 #761 #766 #769 #805.

Duplicate of #756.

Resolved by commit 126136665f2cb4c850f7e265753af8ca253c1f21.

Thanks!


Tiller deployment with deterministic pod name

Since the user using helm needs the privilege to port-forward with the tiller pod in the kube-system namespace, it would be nice from an RBAC specification to only allow a user that privilege on the tiller pod and no other in the kube-system namespace.
Because tiller is deployed using a deployment, the name is not deterministic and so I can not write a RoleBinding for the namespace which restricts the pods/portforward resource create verb. If tiller was deployed using a statefulset, this limitation would go away. For reference my typical deployment flow uses a namespace per service and the helm deploy user has full access to that namespace using the built in admin ClusterRole. This lets me set quotas on the namespace that the helm user can not modify. However I have to give the helm user fully portfoward creation ability in the kube-system namespace in addition to pod listing capabilities. With the statefulset, pod listing permission would not be needed either.

As far as I understand, helm init is just a quick start command, that lets you hack away. You can easily change tiller deployment to suit your needs manually (even changing to StatefulSet), or if you want to consistently create tiller as StatefulSet - it may be a job for helm plugin, which would init tiller as StatefulSet.

Offering this as perhaps a good default as well. Since this doesn't change how the normal workflow from the CLI works and offers better RBAC restrictions on the tiller pod, it seems an improvement on install.
It was also pointed out to me that I could install tiller in a specific namespace which help get around giving a user extra permissions outside of their namespace and offer a workaround for user permission delegation to tiller until #1918 comes through.

Yes, you can install tiller in your namespace by using helm init --tiller-namespace nsname.
@adamreese what do you think about changing default tiller deployment to StatefulSet?

Right now, Tiller winds up with a generated pod name because helm init creates a Deployment. In my environment, we want neither the Service, nor the Deployment, nor the ReplicaSet; we just want the pod, and the pod having a stable name would indeed make it possible to write a more narrow RBAC Role for the "pods/portforward" resource's name.
I suppose that having a Deployment makes upgrading Tiller easier, but the extra objects make it harder to lock down the permissions. Our primary concern is ensuring that only a small set of people can find or get helm (or any other gRPC client) to talk to Tiller.

this sounds more like a doc request, which should be closed out with #2962. Am I correct with that assumption?
I don't think we're going to change helm init from deploying anything other than a deployment and a service any time soon... Unless the infrastructure significantly changes in helm 3.

For now, my Helm chart that installs Tiller honors an option to elide the Deployment and just deploy a pod directly with a predictable name. As I said, it trades reliability for security. Should the node hosting Tiller's pod fail, there's no supervising object to schedule a replacement elsewhere.


[Bug]: wezterm-nightly delay more than 10 days

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
wezterm-nightly
Expected/Current Behaviour
The nightly version of wezterm is now nightly-20221220. Is it delayed a lot?
Steps to Reproduce
`scoop install wezterm-nightly`

Possible Solution
Update the version of the nightly build.
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
1240f0078 (HEAD -> master, origin/master, origin/HEAD) mpv-git: Update to version 20230101

'versions' bucket:
7815bf9fe (HEAD -> master, origin/master, origin/HEAD) ipfilter-nightly: Update to version<PHONE_NUMBER>

Scoop Config
last_update                       scoop_branch scoop_repo
-----------                       ------------ ----------
2023-01-01T09:51:46.7622951+08:00 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version
Name                           Value
----                           -----
PSVersion                      5.1.22621.963
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.963
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Additional Softwares
No response

@rashil2000 Do you have any idea that why scoop does not fetch the latest nightly build of wezterm? Thanks!

Since this is a nightly manifest, it always fetches the latest nightly available on GitHub releases. It doesn't tag versions. You can update it when you desire by running scoop update wezterm-nightly --force.


Can not use array index  in $data json v5

I like to validate  one array with another one but I like to use "0#" notation to get the current index of array. In this schema, "0#" returns index value and use it to index to other array.
Is it possible?
The following does not validate.
var schema =  {
    "properties": {
        "arr": {
            "items": [{},{},{}],
            "additionalItems": false
        },
        "sameArr": {
            "items": {
                "constant": {
                    "$data": "/arr/0#"
                },
            "additionalItems": false
        }}
    }};

var data = {
    "arr": [ 1, "abc", {"foo": "bar"} ],
    "sameArr": [ 1, "abc", {"foo": "bar"} ]
};

What version of Ajv are you using? Does the issue happen if you use the latest version?
the latest from git
Ajv options object (see https://github.com/epoberezkin/ajv#options):
var options = {"v5":true};

JSON Schema (please make it as small as possible to reproduce the issue):
as above
Data (please make it as small as posssible to reproduce the issue):
as above
Your code (please use options, schema and data as variables):

var ajv = new Ajv(options); // options can be passed, e.g. {allErrors: true}
var validate = ajv.compile(schema);
var valid = validate(data);
if (!valid) console.log(validate.errors);

Validation result, data AFTER validation, error messages:
[ { keyword: 'constant',
    dataPath: '.sameArr[0]',
    schemaPath: '#/properties/sameArr/items/constant',
    params: {},
    message: 'should be equal to constant' } ]

What results did you expect?
validate successfully
Are you going to resolve the issue?
No

JSON pointer /arr/0# means (in JavaScript) .arr['0#']
I understand that the intention is to get the index of the current element, but the only defined syntax is 0#.
There is no syntax to point to the element with the same index in the different array.
You can (possibly programmatically) create the schema using array syntax of items keyword when element 0 in one array would point to el 0 in another, 1 to 1, etc.:
{
    "properties": {
        "arr": {
            "items": [{},{},{}],
            "additionalItems": false
        },
        "sameArr": {
            "items": [
                { "constant": { "$data": "/arr/0" },
                { "constant": { "$data": "/arr/1" },
                { "constant": { "$data": "/arr/2" }
            ]
            "additionalItems": false
        }
    }
}

(btw, additionalItems keyword when items is a schema, as in your example, rather than array, is simply ignored).
Or you can:
{
    "properties": {
        "arr": {
            "items": [{},{},{}],
            "additionalItems": false
        },
        "sameArr": {
            "constant": { "$data": "/arr" }
        }
    }
}

As I wrote in another issue, the only alternative is the custom keyword:
{
    "properties": {
        "arr": {
            "items": [{},{},{}],
            "additionalItems": false
        },
        "sameArr": {
            "sameItemsAs": { "$data": "/arr" }
        }
    }
}

You'll have to write some code to implement the keyword sameItemsAs but it's easily doable.

Thanks for quick update,
Can you please give some hint on how I can implement sameItemsAs keyword?
Any related example or code or any algorithm?
Remember that each element of array can be object or another array.

Is it possible to use a value (key attribute) in sameArr  to index validated array "arr"?
Here I validate only "abc" field of sameArr against a/b in second entry of "arr" array. The index of second entry is given by "key" field
Can we use another value (key field) in another json pointer?
"sameArr": {
"constant": { "$data": "/arr/"+"./key/"+ "a/b"}
}
var data = {
"arr": [ "1":1, "a":{"b":"abc"}}, "bar":{"foo": "bar"} ],
"sameArr": [ "1":1, "abc":"abc", "bar",{"foo": "bar"} ,"key":1]
};

I was thinking about JSON-pointer expressions :) It's neither standardised nor supported at the moment. Using custom keywords (see docs) is the only available solution at the moment.

I have already started for custom keyword "refdata". Here I need 2  key values "targetKey" and "key". I assume that I should be able to fetch them v5 $data. But when validation function is called, $data is not being evaluated. How can I get those key values before my custom validation started?
I appreciate your help
schame ={
"refdata":{
"basepath":"/tarray",
"relpath":"a/c",
"targetkey":{"$data":"/inputRecord/id"},
"key":{"$data":"1/accountReferenceId"}
}
}

Top level $data can be evaluated (with an option). The way you have it, you will have to code for it. You may consider using multiple sibling keywords, although it may become more complex.

I am sorry I have not got what you said
Which option will I choose for $data to be evaluated before compile phase?

https://github.com/epoberezkin/ajv#addkeywordstring-keyword-object-definition

Closing this issue. There may be a place to do deep $data evaluation, but it seems like an unnecessary complication - several sibling keywords can be used instead that work together ( where some of them simply hold values and some do actual validation).


isssue is getting problem when i  tried to connect with my   server

Issues
trying to connect with my server its not responding..
Please describe the issue you are having here and answer the question below.

Did you download a release or pull from Master? Which release?
pulled from master.
What operating system are you running?
linux
Are you running locally or in the cloud?
using locally
Which browser are you using?

chrome
Feature Request

If you've got a feature request we want to hear it

Please desribe the feature you would like us to add.
If possible provide the use case for the feature and how you would use it.

2019/08/08 11:54:42 [error] 6#6: *35 connect() failed (113: Host is unreachable) while connecting to upstream, client: <IP_ADDRESS>, server: localhost, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:7500/", host: "<IP_ADDRESS>:8080"

This is what i am getting when i tried to run with my host

yeah, something hasn't started correctly. What is the output of docker-compose ps and docker-compose logs elasticsearch?

this
this is what it look like after running those commands

this is the output of docker-compose ps and docker-compose logs elasticsearch

result for docker-compose  ps

@mlcode-jeevan can you run:
docker-compose down
sudo chown -R 1000:1000 local-storage/elasticsearch
docker-compose up -d

to try again. Elasticsearch is complaining about permissions, which happens when you are user 1000.

it worked ...thank you so much for helping me


Python Virtual Environments

I've been playing around with different shells lately and Elvish is pretty interesting, but I'm also currently doing a lot of Python development, and I'd like to have virtual environment support.  Python's virtualenv sets environment variables, and is therefore shell specific.  I imagine it'd be possible to write an 'activate.elv' to match the supplied bash/csh/fish activate scripts, but before I try I wanted to see if anyone has tried this already?

I happen to have the same issue, and wrote a simple script several hours ago, but you might want to check epm first.
PREFIX = $E:HOME/.venv

fn deactivate {
    if (not-eq $E:_OLD_VIRTUAL_PATH "") {
        E:PATH = $E:_OLD_VIRTUAL_PATH
        del E:_OLD_VIRTUAL_PATH
    }

    if (not-eq $E:_OLD_VIRTUAL_PYTHONHOME "") {
        E:PYTHONHOME = $E:_OLD_VIRTUAL_PYTHONHOME
        del E:_OLD_VIRTUAL_PYTHONHOME
    }

    if (not-eq $E:VIRTUAL_ENV "") {
        del E:VIRTUAL_ENV
    }
}

fn activate [pe]{
    E:VIRTUAL_ENV = $PREFIX/$pe

    E:_OLD_VIRTUAL_PATH = $E:PATH
    E:PATH = $E:VIRTUAL_ENV/bin:$E:PATH

    if (not-eq $E:PYTHONHOME "") {
        E:_OLD_VIRTUAL_PYTHONHOME = $E:PYTHONHOME
        del E:PYTHONHOME
    }
}

edit:arg-completer[pyvenv:activate] = [@args]{
    e:ls $PREFIX
}

Not an Elvish-specific answer, but you might be interested in looking into Nix - one of its abilities is to give you separate environments with different packages or versions installed. You can find a lot of information just by searching for "nix python development", but here are a few that look useful:

https://ariya.io/2016/06/isolated-development-environment-using-nix
https://github.com/datakurre/setup.nix
https://gist.github.com/CMCDragonkai/dcc1b538352624ea690d695ee1ff1528

I use Nix but I'm not a python developer, so I have not personally tested the above.
Ob. Elvish: I have a nix module in my elvish-modules package, which you can use to set up your Nix environment in Elvish.

@zzamboni, thanks, that's interesting, but I think trying to use Nix is probably overkill for my purposes at this time.  I'm already relying on pip/virtualenv to deploy my projects and other users are likely not using Elvish or Nix, so I'd rather keep things as simple as possible.  Definitely something to keep in mind for future projects though!
The above functions work pretty well when copied into rc.elv, but it's kind of odd to see them there.  I've tried creating a package, but that led to things like "python:activate virtualenv" which is kind of odd to type out.  Is there anyway a package installed with epm can promote functions to the global namespace?

@iwoloschin not yet, although @xiaq has mentioned some ideas for getting this to work. What I do for now is load the module and then set up a wrapper function that simply calls the module, something like this (from my config:
use github.com/zzamboni/elvish-modules/dir
fn cd [@dir]{ dir:cd $@dir }
fn cdb [@dir]{ dir:cdb $@dir }

Probably not the prettiest, but it has the advantage of making it explicit where the functions are coming from.
You could also use my alias module for this (I should probably convert the above to aliases!). For example:
use github.com/zzamboni/elvish-modules/alias
alias:new activate python:activate

Note that alias:new creates a persistent alias, so you don't necessarily have to define them in your config file (you can do it interactively), the defined functions get stored under your ~/.elvish/aliases/.

That's not a bad idea, maybe I'll give that a shot, it's a little more work than setting up an individual package, but not unreasonable to do so.  If that works well I'll probably close this issue and do a PR to the awesome-elvish stuff to point out any new packages.  Thanks!

 It will be awesome if you contribute some new packages.
(BTW I am thinking of making aliases not get saved by default, see https://github.com/zzamboni/elvish-modules/issues/1).

@zzamboni, so I got things working with aliases, but a couple of questions.

I think the alias definitions must be in rc.elv, is that correct?  I can't define the aliases in my module itself, correct?
The alias breaks the edit:arg-completer variable, right now I have it set as python:activate, but if I declare it as an alias now it should just be activate.  For now I've just put the following line in and it seems to work:

edit:arg-completer[activate] = $edit:arg-completer[python:activate]

Is there a better way to handle this with aliases?

I am working on a POSIX shell which is quite close to parsing the activate script.

Ok, wound up bundling this all up into a package and I've also made a PR for awesome-elvish so that hopefully the next person to ask for this finds it before opening up an issue.  Closing this as complete.
https://github.com/iwoloschin/elvish-packages/blob/master/python.elv

@xiaq, just saw your comment now, that'd be awesome for this and many other things too!

@iwoloschin I had never tried defining aliases from within a module, but I just tested and it works - the alias is defined in the top namespace and not within the module namespace. I guess -source (which is used to define the alias functions) operates outside of the current module namespace.
I am not sure whether it's a good idea to allow a module to define top-level functions automatically, as it reduces the transparency of the module's behavior. Also, what if a user of your module already has some other command called activate and thus wants to wrap python:activate with a different name?
About the completion: I guess alias:new could check whether a completer already exists for the command being aliased, and copy it to the completer for the alias, but I'm not sure if it might have unintended consequences. I'll think about it. Do you think this would be useful behavior?

@zzamboni probably a bad idea to implicitly update the completer as an alias could change the command to make the original completion no longer valid (for instance, look at the git command, each of it's subcommands have unique completions).  I think the only time it makes sense is if you're just trying to promote a function to the global namespace, which arguably shouldn't be an alias anyways :).
I played around with -source as well, and that happily imports everything into the global namespace, but I'm unclear on how much I can, or should, rely on the -source command to do stuff like that, as it seems contrary to Elvish design principles.  If -source is allowable the better solution might be to just drop an activate.elv file into each virtual environment (do a PR to the virtual environment codebase itself) and be explicitly like every other shell.

I need to be able to activate a Python virtual environment.  I want to switch to Elvish as the shell for my monorepo-based project.  I have already abandoned Bash, Fish, and Xonsh for this.  But the lack of a source command or similar in Elvish seems to be a showstopper.  It appears that I cannot use Elvish, even though I like its syntax and philosophy best.  Am I missing something?  MUST Elvish be configured in rc.elv, or not at all?  I need to be able to configure the current shell using a script that resides in my project source repository.

There's more knowledgeable people that are better equipped to give you a useful answer, but you probably could just store your project-specific code in a module in each project (say project.elv) and import it:
$ echo 'fn foo { echo bar }' > project.elv
$ use ./project
$ project:foo
bar

The only thing to keep in mind: Modules are cached by their absolute path and re-importing won't change anything. It's probably useful to read the docs about modules to learn more: https://elv.sh/ref/language.html#modules

@href, thank you for your suggestion.
I very much need ALL my code to reside in my source repository, and I MUST NOT pollute the user's personal account configuration.  These are design constraints of my solution.  However, my Elvish code would be far too much to put in just one file.  While attempting to use Fish over the last few months, I already wrote literally dozens and dozens of source files spread across many directories.  My legacy implementation in Bash likewise has about a dozen files filled with function definitions.
The Fish approach is manageable at least in part because it has the fish_function_path upon which I can include the relevant directories containing my source.  I wish that Elvish had something similar.  I think that I can make use work, except for the restriction that modules have to either live in ~/.config/elvish/lib or they must be referenced with relative paths (very labor-intensive and fragile).
What made this particularly difficult is that the language reference (to which you linked above) tells us almost nothing about modules.  It mentions a "module spec", but never defines it.  I looked through numerous sample scripts, only to find that modules can be referenced within GitHub, or in the default location, or with a relative path, but the syntax and semantics are very muddy (to an outsider like me) among them.
May I please say that modules are an absolutely crucial part of any significant use of Elvish, and yet they have very light treatment in the documentation and lack real-world examples.

@krader1961 has rightly suggested that I open a new issue for my various questions.


seems to NOT work with vscode  1.24.1

The refactoring menu is populated but the "edits" do not happen :(
This extension looks very promising  of only it worked :(

I don’t want to hijack this issue, so please feel free to tell me to file a new one. But I just installed your extension using vscode 1.27.2 and am not seeing the refactoring menu populated. Upon inspection of the TypeScript output pane I saw the following error, but haven’t dug into wether or not that could be the reason for no refactoring showing up at all:
[Error  - 3:09:50 PM] 'navtree' request failed with error.
Error processing request. Cannot read property 'kind' of undefined
TypeError: Cannot read property 'kind' of undefined
    at getInteriorModule (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:97338:30)
    at addChildrenRecursively (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:97016:53)
    at rootNavigationBarNode (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:96869:17)
    at Object.getNavigationTree (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:96835:38)
    at Object.getNavigationTree (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:111690:37)
    at Object.proxy.(anonymous function).args [as getNavigationTree] (/Users/eloy/.vscode/extensions/cancerberosgx.vscode-typescript-refactors-0.0.14/node_modules/typescript-plugin-util/dist/src/easy-plugin-install.js:18:39)
    at Object.proxy.(anonymous function).args [as getNavigationTree] (/Users/eloy/.vscode/extensions/cancerberosgx.vscode-typescript-refactors-0.0.14/node_modules/typescript-plugin-util/dist/src/easy-plugin-install.js:18:39)
    at IOSession.Session.getNavigationTree (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:119231:44)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:118219:61)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:119531:88
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:119522:28)
    at IOSession.Session.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:119531:33)
    at IOSession.Session.onMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:119551:35)
    at Interface.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120805:27)
    at emitOne (events.js:116:13)
    at Interface.emit (events.js:211:7)
    at Interface._onLine (readline.js:282:10)
    at Interface._normalWrite (readline.js:424:12)
    at Socket.ondata (readline.js:141:10)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

Hi, I've just updated all the dependencies, including typescript and now it seems to be working fine at least in linux and windows, with vscode 1.28.2. I'm closing this but please notify me again if it doesn't work in other versions / platforms. Thank you very much. Note: this extension is not ready yet for production work, right now is a proof of concept but I'm working on delivery (at least some) of these refactors in a production ready extension. Thanks again.

It works for me now. Thanks!


Not Suport ie 8

Not Suport ie 8

any concrete goal to achieve? why?
Will close for now. Feel free to ask further questions regarding this topic here. We can re-open if required.


How do I use this in Unity with RenderTextures?

I see that you use the raw pointers from GraphicsBuffer, but getting a pointer from a render texture color buffer is an instant crash. Do you have a simple example?

Bruh, feel dumb. I didnt see the existing issue :|


The completion widget stopped being a child of the main app

From ccordoba12 on 2011-10-17T01:35:27Z
After revision 4b43639efb69 I can see the widget sitting in the taskbar, which surely would bring again the problems of issue #555 Pierre, could you give a look at it?
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=802

From pierre.raybaut on 2011-10-17T01:35:50Z
Yeah... That's disappointing. I'm reverting this changeset.
That's too bad: it was fixing issue #701 ...

From pierre.raybaut on 2011-10-17T02:25:52Z
This issue was closed by revision 8f12fba3c605 .
Status: Fixed


Conversions between Value, PathBuf and OsString

I did an initial take on this. I can see a number of ways to improve on this PR, but all of the things seem fairly involved.

Looks generally good to me, thanks :) You'll also want to run cargo fmt once though.

I can see a number of ways to improve on this PR, but all of the things seem fairly involved.

What other ways than the above do you see? Some of the duplication could be reduced by macros but that doesn't seem worth it for these few lines.

So one thing is that I'd love for this conversion to also transparently work when the Value contains a GString type. Another expressed as the inline comment – I think it'd be great to reduce the amount of allocations we end up with during the conversion to the C string Value. Finally, panics (instead of Results) when the string e.g. contains WTF-8 that can't easily become UTF-8 bother me a little, but changing that would be fairly hard AFAICT.

Ran cargo fmt and split up the changes into more self-contained commits.

Writing the commit message for impl SetValue/FromValue for OsStr{,ing} I began wondering if we really want to impl OsStr{,ing} variants right now. In particular I suspect that its going to block us from making these represented as GString by default in the future.

These correspond to UTF-8 encoded C string Value type currently, as an
arbitrary choice. A better option would be a GString, which can contain
arbitrary byte strings, thus potentially supporting UTF-16 encoded data
of Windows as well.

In GLib on Windows, all these strings (paths, environment variables, ...) are actually UTF-8 so that's correct. On UNIXy systems it should already pass those through in whatever encoding they're in, both here and in GLib.
What problems do you see?

What problems do you see?

@nagisa How should we proceed here? :)

I don't know, honestly.
From this PR it is very apparent to me that the string situation is a big mess and it is way over my head to resolve. I would love it if interior null bytes within a OsString did not explode in some way, but it is also pretty apparent to me that people would end up being surprised if a GString came out from that kind of conversion.
I'll leave a decision up to you all on how to proceed here. Feel free to build on my PR, implement something else entirely or whatever else – you all have been working on glib/gtk/etc for far longer than I have been and likely know better than me what's the best course of action is here.

I think the right thing to do here is to implement the Value traits for PathBuf and OsString here like you did.
The overall string situation is really hard to use and generally a problem in all C/FFI situations with Rust and I would consider that out of scope for this PR at least. I'm not sure how to solve that nicely either, other than panicking on interior \0 and similar runtime solutions.

The main issue here is that Rust has specific types whereas glib doesn't. Even though it's not great to have GString for everything, I think it's the best way for now. The next thing we can do (since we have conversions thanks to this PR) would be to enforce that each function/method is returning the appropriate Rust type (like PathBuf for pathes, etc).

The main issue here is that Rust has specific types whereas glib doesn't. Even though it's not great to have GString for everything, I think it's the best way for now. The next thing we can do (since we have conversions thanks to this PR) would be to enforce that each function/method is returning the appropriate Rust type (like PathBuf for pathes, etc).

You can't use a GString for a glib::Value that contains a path/filename though. That's why we would need the value trait impls that are part of this PR.

Needs to be re-opened on gtk-rs-core.


Expose challenge-related methods and types.

Resolves #378.

WDYT @xenolf ? I'll resolve merge conflicts if you're open to making these methods public.

Ping @xenolf

Hello!
Sorry for leaving you hanging that long. I'm not opposed to this, but this is a breaking change and the newly exposed methods would need documentation.


Minor fixes to documentations

Fix warnings being generated from sphinx [..mango/docs/index.rst:2: WARNING: Title underline too short.]
Update github repo

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/514/
Test PASSed.


usb: warn about too small REQUEST_BUFFER

Warn about too small REQUEST_BUFFER.
Clarify usb_handle_request function parameter.

It is not quite right, I have overlooked some passages. In general it is difficult to control what happens with usb_dev.data_buf and usb_dev.req_data.