download error by pipx in linux

the error:
proxychains pipx install git+https://github.com/Pennyw0rth/NetExec
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
  error: subprocess-exited-with-error

  × Building wheel for netexec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]
      [proxychains] DLL init: proxychains-ng 4.17
      Traceback (most recent call last):
        File "/home/rightevil/.local/share/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/rightevil/.local/share/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/rightevil/.local/share/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 58, in build_wheel
          return WheelBuilder.make_in(
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
          wb.build(target_dir=directory)
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 124, in build
          self._copy_module(zip_file)
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 265, in _copy_module
          to_add = self.find_files_to_add()
                   ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/builder.py", line 223, in find_files_to_add
          if self.is_excluded(
             ^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/builder.py", line 153, in is_excluded
          if exclude_path.as_posix() in self.find_excluded_files(fmt=self.format):
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/builder.py", line 121, in find_excluded_files
          vcs_ignored_files = set(vcs.get_ignored_files()) if vcs else set()
                                  ^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/vcs/git.py", line 340, in get_ignored_files
          output = self.run(*args)
                   ^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-n9hjhvai/overlay/lib/python3.11/site-packages/poetry/core/vcs/git.py", line 373, in run
          subprocess.check_output(
        File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['git', '--git-dir', '[proxychains] DLL init: proxychains-ng 4.17\n/tmp/pip-req-build-i4scwu9d/.git', '--work-tree', '[proxychains] DLL init: proxychains-ng 4.17\n/tmp/pip-req-build-i4scwu9d', 'ls-files', '--others', '-i', '--exclude-standard']' returned non-zero exit status 128.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for netexec
ERROR: Could not build wheels for netexec, which is required to install pyproject.toml-based projects
Cannot determine package name from spec 'git+https://github.com/Pennyw0rth/NetExec'. Check package spec for errors.

Looks like some weird issues caused by proxychains.

Looks like some weird issues caused by proxychains, can you try to install without proxychains?
it's hard cause the internet.we couldn't connect github directly.if the reason of error was proxychains,pls closed the problem

pipx install git+https://github.com/Pennyw0rth/NetExec
  error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet https://github.com/Pennyw0rth/NetExec /tmp/pip-req-build-82xn28x8 did not run successfully.
  │ exit code: 128
  ╰─> [1 lines of output]
      致命错误：无法访问 'https://github.com/Pennyw0rth/NetExec/'：GnuTLS recv error (-110): TLS 链接非正常地终止了。
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/Pennyw0rth/NetExec /tmp/pip-req-build-82xn28x8 did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Cannot determine package name from spec 'git+https://github.com/Pennyw0rth/NetExec'. Check package spec for errors.

If you're a Chinese user, can you try this?
https://github.com/L-codes/LTProxy


cant detect spotify

tried to change song from packages menu and a notice flashed and said "spitify may not be running"
spotify was running

that was on linux? what distro are you using?

I also get this, I'm using Windows 10, installed but simply doesn't pick up that Spotify is running, get the "Spotify may not be running" pop up

I am using WIN 7 Entreprise and I got the same error.

Sorry, it yets does not support windows, I'm doing a release to adds
support to windows soon, if you can test it I will appreciate it :)
thank you very much, I will soon add it
Enzo Luis Stróngoli
NodeJS Developer
http://www.turismocity.com.ar
https://mailtrack.io/trace/link/c292de41bda25782b323d53601c5e3c4cac0af16?url=http%3A%2F%2Fwww.turismocity.com.ar%2F&signature=45a2da11e9d190b9
https://www.linkedin.com/in/enzostrongoli
https://mailtrack.io/trace/link/eef6f9b0f79c2d707602a45f8adc53c926a2ab52?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fenzostrongoli&signature=af6b82d6227089ce
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>2017-03-03 19:43 GMT-03:00 Jesus A. Ruiz<EMAIL_ADDRESS>
I am using WIN 7 Entreprise and I got the same error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/theHazzard/spotify-remote/issues/7#issuecomment-284090969,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEzpP-DQISOz_HT_zeAaDQYeHGKA5kdks5riJeCgaJpZM4MICH1
.

Hi, sorry to bump this. Is the Windows release still in the making?


fix task archiver for tier0 case

tested in vocms001. @hufnagel, Dirk, please review

Hm, tier0 has different team names for replay and production. Does this matter ?

It doesn't matter as long as it uses different database. If there is plan for using two different team (agents) running for tier0, we need to change things.

put team in the request document
create the view for team and status.

Replay tier0 instances should never publish information in the same databases as the production instance. We can have two production instances running in parallel though and these would write to the same central database.

with the same team name or different team name? Anyway, it it not completely necessary to have team name for this case It just reduces what request pulled down. I added this since there are few different teams in production agents.

Same team name I believe, although you might want to check with John or Eliana.

OK I will do that.


Fix latency

cc @jcorbin

Coverage increased (+6.2%) to 90.612% when pulling 66291e67bc6a585b68d97abd8453525061fff76f on fix_latency into 72f51f884992023e5900c33bb24f7df90605b652 on master.

LG™

Coverage increased (+5.0%) to 89.388% when pulling 52ea7d3f72ae2b0cf52a6f71838c6821fbf54985 on fix_latency into 72f51f884992023e5900c33bb24f7df90605b652 on master.


Add resource deployment samples for options

Just doing the static arrays for now, we can add the source provider sample later.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 41.645%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/ui/modelViewUtils.ts
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/resource-deployment/src/ui/modelViewUtils.ts
1
18.35%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.13%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
27172

Relevant Lines:
59209

💛  - Coveralls

Oh - and forgot to mention in description but also fixed bug where the default value for CategoryValue object arrays wasn't being set correctly.


[Nova] Update share package

This is an update of the nova:share package to use React, be a little more abstract, and fix some related dependencies. I've also added this package and it's being used on a single Post page so you can see it in action. It's pretty much the same behavior as before, I think. (Toggles open and closed, opens share in new window), but the styles are a little different to meet the use case in this repo.
There are a couple changes I would make if this goes through OK:

Pass in an array of networks to decide what you can share on. If you don't want LinkedIn you could omit it, if you want Reddit you can add it.
Add more social networks. HN, Reddit, Pinterest, Buffer, Tumblr, etc. See another repo I have here: http://paulmolluzzo.github.io/simple_share_popups/

LMK what you think.

Very nice :) Maybe the next step is adding some meta tags back in so that pages shared have the proper metadata?

I'm wondering if that should be a separate package or not. I think FB/Twitter meta tags should be here, but titles etc no. There should be a common mechanism for adding tags though I think, so something should be for "tag creation" and something in this package would be "use tag creation to create these tags". Does that sound right or am I over complicating it?

Oh yeah I didn't mean as part of the share package, I think it should be independent. As for the mechanism, how about a hook to add code to a page and/or route's loading trigger?

https://arianasiresearch.files.wordpress.com/2015/04/7453018.gif?w=660


Reload the data when fast select opens every time

Hi,
It seems fast select cache the data once it gets the data from server. So subsequent mouse clicks on the control gets me the old values.
How to force fastselect to load the data everytime user clicks on the control.? . The reason I am doing is becausem . my parameter to the server URL will be a combination of other  control values along with search text entered by user..
So whenever user opens/clicks the control it should reload the data every time using its get/ajax call.. I want to force this behavior..?
Is there a way..?

There's a property that you can pass to options.
loadOnce: true/false
This should help you.


Update understand-quorum.md

Fix small typo.

Thanks, Charbel! You'll see your changes live today (3/9).


rancher-monitoring  k8s 1.26 chart support

This issue is to implement the chart changes & perform the testing required to upgrade to k8s 1.26. Please perform below steps.

[x] Check whether the chart has any references to the below deprecated features of k8s 1.26. You can find information about deprecated APIs here on Kubernetes Deprecation guide.

flowcontrol.apiserver.k8s.io/v1beta1 API version of FlowSchema

flowcontrol.apiserver.k8s.io/v1beta1 API version of PriorityLevelConfiguration

autoscaling/v2beta2 API version of HorizontalPodAutoscaler

[x] Update kube-version annotation in Chart.yaml. catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.27.0-0'
Note:  If this is an upstream chart and if the upstream chart doesn't support k8s 1.26 then do not update the kube-version annotation

[x] Perform below tests

Fresh install/uninstall/upgrade/downgrade of the charts on K8s 1.26 provisioned on Rancher. Test the chart functionality

Provision rancher on k8s 1.25 or lesser

Install chart on this cluster

Upgrade this cluster in rancher to k8s 1.26

Make sure the existing chart and the app is functional after cluster upgrade

Please note that the k8s 1.26 upgrade is targeted for the 2023-Q2-v2.7x. Please complete this task by 05/19/2023.

Pass Verified in rancher v2.7.5-rc4

provisioned downstream k8s v1.25.9-rancher2-1 cluster
installed rancher-monitoring:102.0.1+up40.1.2
installed rancher-alerting-drivers:102.1.0
configured monitoring and alerting to monitor and send alerts
upgraded downstream cluster to k8s v1.26.4-rancher2-1
verified configured monitoring still sending alerts
monitoring passed p0 test cases
monitoring outbound links, grafana, prometheus targets function properly - ie, no dead links
chart annotations are correct


How can we bump the version of the package

I think it will be nice to mention how can we increase the version of the package. Normally i would do npm version patch , but since it is doing automatic commit and tag i'm not sure how it should be integrated in the release process. Otherwise we have to manually tag and change package.json right?

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

ID: e4bbb17f-15a7-25d6-239c-2087d2b644b7
Version Independent ID: f4949587-0bd0-6bfc-590f-0c4f6386dd7a
Content: Use npm to store JavaScript packages in Azure DevOps Services
Content Source: docs/artifacts/get-started-npm.md
Product: devops
Technology: devops-artifacts
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @sularome , you can pass --no-git-tag-version to avoid the automatic commit and tag. If you do want the commit and tag, a simple git push afterward may be sufficient. I guess it really depends on the workflow you want. Here is the npm version docs, and here is what one of our team members created/uses for simple scenarios: https://mitchdenny.com/git2semver/. Let me know if this helps

I believe that the version increase should happen on vsts, not manually, so i do want npm version patch to commit, but we have for example the following workflow:

Build and save artifacts
create a release
deploy to test envyronment
if QA confirms that it's ok to release (e.g bugs are fixed) publish on npm. The problem here is that from artifacts folder we do not have option to increase version and git push. If we increase version and git push during build phase on the other hand we might be increasing version without actually releasing because the bug wasn't fixed.
So i think it will be good to add some information about good practices on how to increase version when working with artifacts.

P.S: When it comes to the link that you sent about git2semver, we are using in the project which has also nice versioning tool Conventional commits


Added script for building both native as java libs.

This PR enables the building of both the ffmpeg natives, as the java project on the TravisCI servers. If this is expanded to release to maven repos, it will function as a full buildserver. This would fix #2.
@Tom-Ski Could you add the deploy to maven repos if/when you have time?

Hi, what exactly is missing for merge?
Is only deploying to maven repos missing?

Indeed the deploying still has to be done. However, I don't have any authentication info for maven central. Someone who does have the information needed should add it through encrypted variables in travis.

Even if deploying is still missing, I think the building itself is a good addition so I'm merging it

@Tom-Ski Can you enable travis for this repo?

Don, triggered first build for that branch

Thank you


✨[Feature Request]:  Create the "Normal Check-Ups" Page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
"Normal Check-Ups"  redirects to home page. So I would create a page that has the following features :
explain the importance of regular checkups
Types of normal checkups like annual physicals, well-woman exams, well-child visits).
What to expect during a checkup
how to prepare for their checkup, like gathering medical history information, questions for the doctor, and any medications they're taking.
A link for connect with the doctors section
A link for make an appointment section
Use Case
It would make the website more informative and help users plan their course of actions
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign this to me @Anishkagupta04 @varshith257


How can i intergrate central swagger for all microservices from gateway

how can i setup central swagger UI for all microservices from gateway i already have swagger openapi configured in all microservices.
Thanks

We're cleaning out the issue tracker and closing issues that we've not seen much demand to fix. Feel free to comment with additional justifications if you feel that this one should not have been closed.


Solving the problem with failing tests across (some) timezones

Currently there is the grunt zones command, that would do some hacky (works only on mac with sudo privileges) stuff to run all tests in all timezones. It takes ages and it shows many failing tests (37 on my machine at the moment).
Fixing those is super tedious and normally involves a date being used in a test, that is near or at a DST. So the fix is sometimes changing to a different date and hoping there is no DST of another timezone there. Sometimes there is no easy fix (America/Havana failing because of DST exactly at the beginning of the month).
From time to time such issues pop up as issues in the tracker, but its hard to debug because I don't know which zone are they in (not the offset, but the rules that govern the offset), so I can not replicate it on my linux box (in node environment).
I think we need to either run this tests as part of our continuous build, so that we know all tests past in all timezones all the time (we can use TZ="America/Los_Angeles" grunt nodeunit to run tests without changing the actual OS timezone), or we can implement a way of marking certain timezone/test combinations as bad, and not caring/running the test at all. The second solution sounds bad, but I really don't want to care about some obscure DST happening 30 years ago when I'm writing a random moment test, that is not concerned about DST at all.

To check the rules, maybe you can use some external libs or check https://www.timeanddate.com/time/change ? For the limited examples I have checked, it works well. (Madrid, Vienna, Sao Paulo)


caffe model to lasagne example not working

i tried to run the example of model conversion using the exact same code from the notebook, only 0.406 accurcy is reported instead of 0.894. Wonder if something is broken (some intermediate results are not the same, e.g. conv1).

What versions of Lasagne, Theano, and Caffe are you using?
Do you see any errors in the notebook or the console when running?

I'm using Theano 0.7, Lasagne 0.1, Caffe (latest commit: f5fd18b6cd1371ec79b452d803756276a445abb1).
I don't think I have any error. The example prediction results from caffe actually match with the ones in the recipe, but the lasagne version is not.

can you try upgrading to the latest git versions of Lasagne and Theano and test again?
Unfortunately the version specifications of both projects are a bit of a mess, but I know that the notebook required something newer than the pip 0.1 version of Lasagne.

I updated theano, lasagne, caffe to the latest version:
theano.version : 0.7.0.dev-3b3b2a4e1d4e932ddd15928d82881524b6f5da01
lasagne.version : 0.2.dev1
Caffe latest commit is f5fd18b6cd1371ec79b452d803756276a445abb1
I still got the same result, accuracy only reached 0.406.

update: by using pycaffe directly, i can get 0.894 accuracy.

the only difference i found is i was not using cudnn:
#from lasagne.layers.dnn import Conv2DDNNLayer as ConvLayer # Not working for me
from lasagne.layers.conv import Conv2DLayer as ConvLayer

ok, that explains it.
Conv2DLayer and Conv2DDNNLayer are not interchangeable due to the parameter flip_filters.

could you point me to the flip_filters parameter? I'd like to make the model working without gpu. thanks

Sure, it's described here.
I think you'd just need to replace the line
layer.W.set_value(layers_caffe[name].blobs[0].data)

with
layer.W.set_value(layers_caffe[name].blobs[0].data[..., ::-1, ::-1])


Felinid damage modifier set need some adjustment, likely

Description

Blunt is too overly specific.

Closed by https://github.com/Nyanotrasen/Nyanotrasen/pull/280


Fakegato fails with multiple plugins using different versions of fakegato

Would need to use the version in the names of homebridge.globalFakegatoTimer and homebridge.globalFakeGatoStorage to solve this.

could you be more specific on the issue? In adding persistent storage we were careful not to break compatibility with older releases, but we may have missed something, for this reason at the end we decided to mark the latest update with a minor and not simply a patch release. Since fakegato is still pre-release it is supposed that always the latest version is used.

I had homebridge-hue with fakegato 4.0 and a clone of your weather station with fakegato 3.x in one homebridge instance.  It wouldn’t load or create history for homebridge-hue, I think because the global timer was created by fakegato 3.x, which loaded first.

I see. This may be due to the fact that for improving google drove stability we moved some part of the code.  I think that a way to fix it would be to create a different timer for v4, but this would mean that you will have two timers. Also, if we follow this idea we may end up having a timer for each fakegato version in the future, which is against the idea of a global timer, and indeed may create other problems with google drive persistance. I think that the best solution is to ask plugin developer to update dependencies to v4. If one do not want persistance it should be as simple as updating packege.json, with no fix needed in the plugin code. My weather plugin is already updated on github.

Same, plugins need to update fakegato's version as it's backward compatible (if no storage parameter, there is no storage created), the timer became disablable with 0.4 too...

Which plugin's haven't been updated?  I know that I have yet to update mine.


Window close button does not quit Nuvola entirely

When the quit action is activated, Nuvola quits entirely as expected:
Runner: [DEBUG Δ07s240596us DioriteGtk] Actions.vala:353: Action activated: main/app.quit(null)
Runner: [INFO Δ051762us CefGtk] Client.vala:106: get_life_span_handler

However, when the window close button is pressed, Nuvola window is closed but it keeps running with errors:
Runner: [INFO Δ09s239788us CefGtk] Client.vala:106: get_life_span_handler
Runner: [INFO Δ000066us CefGtk] Client.vala:106: get_life_span_handler
Runner: [DEBUG Δ005585us DioriteGlib] DuplexChannel.vala:551: Channel (2) has been closed.
Runner: [DEBUG Δ000072us DioriteGlib] DuplexChannel.vala:338: The channel has already been closed
[0711/110425.915835:WARNING:x11_util.cc(1362)] X error received: serial 352, error_code 181 (GLXBadWindow), request_code 155, minor_code 32 (X_GLXDestroyWindow)
[0711/110425.915880:WARNING:x11_util.cc(1362)] X error received: serial 356, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)

When another instance is started, it quits and ...
Runner: [DEBUG Δ035387us Nuvola] AboutDialog.vala:54: Nuvola Apps 4.11.41 (41-gf5c8a94)
Runner: [DEBUG Δ000027us Nuvola] AboutDialog.vala:56: Deezer script 3.0.9 (9-g30dcb32)
Runner: [DEBUG Δ000015us Nuvola] AboutDialog.vala:60: Diorite 4.11.6
Runner: [DEBUG Δ000036us Nuvola] AboutDialog.vala:62: Chromium 67.0.3396.79

... and the original instance quits as well without any outputs.
As a consequence, the Nuvola process is hanging around with MPRIS interface, notifications, etc., but when it is activated via these interfaces, both the original and new instance quits.
Test:

Activation via Unity laucher item.
Activation via AppIndicator.
Activation via MPRIS.

Released with Nuvola 4.11.60, more info: Nuvola Brings Redesigned Preferences Dialog, More Appearance Settings, and Bug Fixes


Action pr

Closing since needs to do a cherry-pick instead of merge or pull due Commits of 4.0 version


error running speed-test: "Cannot read property 'settings' of null"

I get the following when I run speed-test. It appears to be a problem with speedtest-net, no?
$ speed-test
events.js:141
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'settings' of null
    at gotServers (~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:465:22)
    at ~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:43:22
    at ~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:226:13
    at Parser.<anonymous> (~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/xml2js/lib/xml2js.js:483:18)
    at emitOne (events.js:77:13)
    at Parser.emit (events.js:169:7)
    at Parser.exports.Parser.Parser.parseString (~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/xml2js/lib/xml2js.js:493:16)
    at Parser.parseString (~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/xml2js/lib/xml2js.js:7:59)
    at exports.parseString (~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/xml2js/lib/xml2js.js:534:19)
    at ~/.nvm/versions/node/v5.0.0/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:224:9

If it helps any I was able to replicate this error also
$speed-test

events.js:72
        throw er; // Unhandled 'error' event
              ^
TypeError: Cannot read property 'settings' of null
    at gotServers (/usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:451:22)
    at /usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:43:22
    at /usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:226:13
    at Parser.<anonymous> (/usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:483:18)
    at Parser.EventEmitter.emit (events.js:95:17)
    at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:493:16)
    at Parser.parseString (/usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:7:59)
    at exports.parseString (/usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:534:19)
    at /usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:224:9
    at /usr/local/lib/node_modules/speed-test/node_modules/speedtest-net/index.js:43:22

Yeah - for some reason the old speedtest.net URL to obtain servers from is returning 200 OK and an empty response.
http://www.speedtest.net/speedtest-servers-static.php
oddly - if you add a parameter, like:
http://www.speedtest.net/speedtest-servers-static.php?x=y
it returns a valid server set. weird - i wonder if the 200-blank response is getting cached somewhere.
If anyone needs a work around for now, you can initialize your speed test object this way:
    test = speedTest({
        maxTime: 15000 //,
        serversUrl: 'http://www.speedtest.net/speedtest-servers-static.php?r=' + Math.random()
    });

Hopefully this self-recovers in a day or two.

Thanks for looking into it! That works for now.

seems like speedtest.net servers are correctly returning the config info now. we can close this issue.

Thanks for the debugging. If it occurs again I'll add a random parameter.


Having a directory within config doesn't work on Arch

Having a directory for betterlockscreen within the .config directory makes betterlockscreen unable to find the betterlockscreenrc.
How Has This Been Tested?
Tried using -u with the rc file in either location. This updates the documentation to reflect the location that works.

I guess you have installed the latest release and referring to docs in the next-branch which is not released yet.


user command

./cockroach user help

Ben on Gitter:

It’s basically a placeholder for now. It’s how you’ll set a password, but we don’t let you log in with a password yet.


Fix Logic Error for Predicting Erupt Curves With New Data

The Current functionality for get_erupt_curves will check to see if any of input data is missing. However this if statement was logically incorrect. The update fixes that issue.

Looks good to me.


Terminal ligatures can have the wrong background color when typed out

Follow up on https://github.com/microsoft/vscode/issues/34103
Repro:

Enable terminal ligatures
Set a font with ligatures
Type =>, ==>, etc., 🐛 it looks like the cursor gets stuck at the end of the ligature

Upstream: https://github.com/xtermjs/xterm.js/issues/5205


Display Org Users

Should we only show the roles that are relevant to the current org?

@KlapTrap I think we should display all the data CF API returns. This is consistent with what the CLI and PCF Dev UI display.


Add Hive/Presto support in ProtoParquet

Reporter: Constantin Muraru / @costimuraru
Assignee: Constantin Muraru / @costimuraru
PRs and other links:

GitHub Pull Request #411
Pull Request #parquet-mr

Note: This issue was originally created as PARQUET-968. Please see the migration documentation for further details.

Julien Le Dem / @julienledem:
merged in https://github.com/apache/parquet-mr/commit/f84938441be49c665595c936ac631c3e5f171bf9

Scott Clasen:
Hi-
Is there a snapshot repo anywhere where this has been published? would love to try it out.
Any release schedule for when this gets in a non snapshot yet?

Thank you!
SC


HTTP ERROR 431 reauthentication error

Checks

[X] I have searched the existing issues.
[X] This issue is NOT specific to the CLI. (If so, please open an issue on the CLI repo)

deployKF Version
0.1.2
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.17", GitCommit:"22a9682c8fe855c321be75c5faacde343f909b04", GitTreeState:"clean", BuildDate:"2023-08-25T02:13:39Z", GoVersion:"go1.19.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.9+vmware.1", GitCommit:"d1d7c19c9b6265a8dcd1b2ab2620ec0fc7cee784", GitTreeState:"clean", BuildDate:"2022-12-14T06:23:39Z", GoVersion:"go1.18.9", Compiler:"gc", Platform:"linux/amd64"}

Description
I regularly get an HTTP ERROR 431 if I re-authenticate after my Keycloak session has expired.
When re-authenticating I have cookies taking up to 12 KB. But Istio default max request headers allowed is 60 KiB.
So I don't quite understand where exactly the error is happening.
Headers from web browser (I shortened the cookies for readability):
Request URL:
https://kubeflow.example.com/
Request Method:
GET
Status Code:
431 Request Header Fields Too Large
Referrer Policy:
no-referrer

Response Headers:
Date: Mon, 05 Feb 2024 07:10:08 GMT
Server: istio-envoy
X-Envoy-Upstream-Service-Time: 4

Request Headers:
:authority: kubeflow.example.com
:method: GET
:path: /
:scheme: https
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,ru;q=0.8
Cache-Control: max-age=0
Cookie:_deploykf_token_csrf_VKAn1hSV=1o5...tdcU=; _deploykf_token_csrf_nVpidspH=0z-WK...Wbg0=; _deploykf_token_csrf_IR4Ry80n=MeeeDcxLqM...sADFoQ_4=; _deploykf_token_csrf_N1tzT4g2=rJ_IkJ...j2fY=; _deploykf_token_csrf_KjON0Iki=i_Sio-1i8oINTp...EXo=; _deploykf_token_csrf_RY4KCmlu=qKg_U...gDE=; _deploykf_token_csrf_5LkCft-w=inY...OzoG8=; _deploykf_token_csrf_KbluAgpv=aCH2aK...kWfFQ=; _deploykf_token_csrf_T4LJnrLo=bKjg7Q...HOFEtk=; _deploykf_token_csrf_d9r7AanU=fR...J-q0oV7dA=; _deploykf_token_csrf_nL3oqHrj=8lN4p...syokh-v90=; _deploykf_token_csrf_Fa--VPTS=Nao...BXJyhYNY=; _deploykf_token_csrf_34b8tK4Z=LdJo3bbcq1YcL...7LKMEsJuZJLo=; _deploykf_token_csrf_boGY58YM=CCL..DZV0=; _deploykf_token_csrf_hkfYh2Yo=F6z..HgXRQcw=; _deploykf_token_csrf_dzYrnVj3=h_f..sFxqpuZ_QQ=; _deploykf_token_csrf_PhZSUxe9=HP..d4W0=; _deploykf_token_csrf_fXiBlrj0=JJ-1..Dg=; _deploykf_token_csrf_TFZ84rFM=DW..E_qC_s=; _deploykf_token_csrf_0oyI..VrV0=; _deploykf_token_csrf_SxK4cyfs=2U..YcMo=; _deploykf_token_csrf_2M0Bji9d=b-i6..d2c0=; _deploykf_token_csrf_NkpC573h=cc...6vc=; _deploykf_token_csrf_28jWR_Dp=mu...KU=; _deploykf_token_csrf_SOzhamEs=9P...r4=; _deploykf_token_csrf_yZdrbvE_=J0...Rs=; _deploykf_token=0k...kbr4=
Sec-Ch-Ua: "Chromium";v="121", "Not A(Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Linux"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-site
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Relevant Logs
No response
deployKF Values (Optional)
## --------------------------------------
  ##             deploykf-auth
  ## --------------------------------------
  deploykf_auth:
    namespace: deploykf-auth

    ## dex configs
    ##
    dex:

      ## dex connectors
      ##
      connectors:
        - type: oidc
          id: keycloak
          name: keycloak
          config:
            issuer: "https://keycloak.example.com/realms/kubeflow"
            clientID: kubeflow
            clientSecret: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
            redirectURI: "https://kubeflow.example.com/dex/callback"
            scopes:
            - openid
            - profile
            - email
            insecureSkipEmailVerified: true
            insecureEnableGroups: true
            userIDKey: email
            userNameKey: email

      ## dex OpenID Connect clients
      ##
      clients:

        ## OpenID client for oauth2-proxy (deployKF Dashboard)
        oauth2Proxy:
          clientId: "oauth2-proxy"
          clientSecret:
            existingSecret: "generated--dex-oauth2-proxy-client"
            existingSecretKey: "client_secret"
            generateSecret: true

    ## oauth2-proxy configs
    ##
    oauth2Proxy:

      ## oauth2-proxy cookie configs
      ##
      cookie:
        secret:
          existingSecret: "generated--oauth2-proxy-cookie-secret"
          existingSecretKey: "cookie_secret"
          generateSecret: true

@sinist3rr it looks like you have a LOT of _deploykf_token_csrf_xxxxxx cookies, which is not normal.
I wonder if it's because the dashboard is making lots of requests (in the background) when your session has expired, and you are building up a CSRF token for each one.
Can you confirm (using your browser's "network" panel in its "dev tools") if before you see the 431 status you are being redirected many times or if some other strange thing is happening that might be causing a lot of parallel requests (which are each getting Set-Cookie response headers for CSRF cookies).

For reference, I think that this is primarily caused by the fact that XHR/Ajax requests (like the ones the Notebooks page will make in the background) are sometimes redirected to authentication by oauth2-proxy, and thus get a new CSRF cookie for each background request.
I have raised this issue with oauth2-proxy https://github.com/oauth2-proxy/oauth2-proxy/issues/2481 and I am encouraging them to put a temporary fix in raised by another oauth2-proxy user here https://github.com/oauth2-proxy/oauth2-proxy/issues/2383.
However, it's possible that we can actually implement their proposed workaround in deployKF itself, by adding a Lua-code EnvoyFilter to the oauth2-proxy route that will remove the oldest CSRF cookies, if there are more than X in a request.
The Lua filter could be attach to envoy_on_request() and when too many CSRF cookies are in a request, it can do a direct response with a 307 redirect to the same URL path, but telling the browser to remove some of the cookies using a set-cookie header.

Also, I found a situation that can easily cause the ever-increasing number of CSRF cookies in deployKF.
It's when your token is expired, and you have a Kubeflow Notebook open. This is because Jupyter will constantly try to get the Notebook state, but will redirected to auth, and get a new CSRF cookie each time.

@sinist3rr it looks like you have a LOT of _deploykf_token_csrf_xxxxxx cookies, which is not normal.
I wonder if it's because the dashboard is making lots of requests (in the background) when your session has expired, and you are building up a CSRF token for each one.
Can you confirm (using your browser's "network" panel in its "dev tools") if before you see the 431 status you are being redirected many times or if some other strange thing is happening that might be causing a lot of parallel requests (which are each getting Set-Cookie response headers for CSRF cookies).

Hi. I'm confirming a lot of 302 redirects (sessions, kernels, contents, terminals) that access oauth2-proxy and create these cookies. Especially in the notebook tab.
Also, you really described the most typical flow of my work, when notebook is opened in a separate tab, then after a few hours the token lifetime runs out, I re-authenticate, and get a 431 error and observe a huge number of _deploykf_token_csrf cookies.

@sinist3rr Because of https://github.com/deployKF/deployKF/issues/96, this issue should largely be resolved in the upcoming 0.1.4 release of deployKF.
We also have a new sign-in page which you might want to try (see https://github.com/deployKF/deployKF/pull/100), as that will permanently fix this issue in the long term, but it will not be enabled by default in 0.1.4.

@sinist3rr first, you should not see token expiry very often, because refresh tokens are automatically used in the background, and are valid for 90 days as long as they are used at least every 7 days.
Can you confirm that refresh tokens work when you add offline_access to your scopes? For more information, see the docs connecting deployKF and Keycloak docs. Also, please tell me if there are any errors on that page.

I added offline_access to my scopes.
And it looks like the bug is no longer reproducing. Now it is indeed no longer required to re-login. I think the token refresh works now.
Thanks a lot for this tip!


Intructions in wrong part of Table of contents

This page is for SP 2013 but it shows up under the SP 2016 heading, is there another page for 2016, or does this apply to both version?

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

ID: 757daa4f-85eb-2b0e-094a-f01b9ed3d874
Version Independent ID: acfb92cf-1d51-d6a7-bebc-9c145f5b7710
Content: Install a software update for SharePoint Server 2013
Content Source: SharePoint/SharePointServer/upgrade-and-update/install-a-software-update.md
Service: unspecified
GitHub Login: @Techwriter40
Microsoft Alias: kirks

Yeah I see what's happening. The article path in GitHub is identical. @Techwriter40 how do we go about fixing issues with this where there is a significant distinction for the same process? IMO we should have a completely separate page for SharePoint 2016.

I just looked into this and it looks like this was resolved. If it is not please re-open as necessary. As Kirk mentioned this was likely an issue with the migration from TechNet to the new open source GitHub system. Thank you for taking the time to report it. Very much appreciated!


Support all hold modes provided by the ecobee thermostat

The current ecobee component supports hold for away and home. This is much more limited than the thermostat affords. Extend as follows:

Allow all defined climates to function as holds, both all factor provided climates ("away", "home", "sleep"), as well as user defined climates
Support vacation hold; it is not required to set vacation holds due the complexity of integrating this into the HA UI, but we should be able to cancel vacations as well as know whether the thermostat is in vacation hold
Support a permanent hold for a simple emulation of vacation mode.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:


Create config to enable cache controller

Also, i just noticed that cacheControllerEnabled has no config flags, so how will users of openfga as a binary and not library use this?
Originally posted by @miparnisari in https://github.com/openfga/openfga/pull/2124#discussion_r1874032648

One more thing - https://github.com/openfga/openfga/blob/9e40246c4169c649ef73207c2d5c06a36e090183/pkg/server/server.go#L440-L445
this is also never used


No mention of Private DNS resiliency/recovery

My scenario is as follows:

Primary region in UK South using private endpoints with private DNS for name resolution
Secondary region in UK West using private endpoints with private DNS for name resolution
Primary region resources should be able to resolve all private endpoints
Secondary region resources should be able to resolve all private endpoints

As its not possible to connect multiple private DNS zones with the same suffix to the same network (for obvious reasons) this means that a single zone is needed across both primary and secondary regions. By default I would look to host these zones in the primary region.
What is not clear is: if the primary region has a complete infrastructure failure:

Will Secondary resources still be able to resolve endpoints?
Can updates and configuration still be made to the private zone?

The fact that the properties in Azure say 'global' seems to imply that both of these scenarios would work however it doesn't appear to be documented anywhere that I could see.
On a related note there doesn't appear to be an explicit SLA for private DNS zones, its again kind of implied that these are covered by the generic SLA for Azure DNS however considering this is a legal document it would be nice for this to be explicitly called out either in the SLA or in the private zones technical documentation
Thanks
Leo

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

ID: ceef3a9f-e419-c2c5-ec96-48fa35032f3e
Version Independent ID: 66d01899-44c7-e923-6b16-737857e01c4f
Content: What is an Azure DNS private zone
Content Source: articles/dns/private-dns-privatednszone.md
Service: dns
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@ld0614 Thanks for your feedback. We shall review this and get back to you soon

@ld0614
From your verbatim,
"By default I would look to host these zones in the primary region."
Here,

I am afraid I do not follow.
Private DNS Zones are not regional resource. This means, you cannot host this in the primary region(or any region)
So, there is no question of the Private DNS resource failure in case of any other region failure
So, irrespective of the region, any VM in any Vnet will be able to resolve DNS queries
And you will be able to change the configuration.

Wrt SLA, your observation is correct, Private DNS Zones are backed by Azure DNS SLA.
I shall suggest internally and check if we can add individual SLA to the private DNS Zone.
Let me know if you have further queries on this.

Hi @KapilAnanth-MSFT
As per the screenshot, there is a region associated with the metadata for the DNS zone. What is not clear is if this metadata is not available, would the zone continue to operate, can updates be made and would administrators be able to view and update it?

My thought process here (and it may very well be wrong) is that the Azure portal especially operates off the metadata for resources so if this metadata was unavailable it would not be able to display the zone information in the portal, this would then have a knock on impact to be able to update the zone as required?
Thanks for clarifying the SLA, in my view it doesn't necessarily need a dedicated SLA page, maybe just a small statement to explicitly state public and private DNS zones or even a info box on the technical documentation to state that it is covered by the DNS Zones SLA?

@ld0614 I shall assign this to the author for the further review.
@greg-lindsay I checked this, and I believe we can have a single private DNS zone (global resource) linked to multiple virtual networks in different regions. And if a region goes down the private DNS zones will continue to work for VNets in other regions irrespective of the Resource Group.
Can you please verify this and update the docs as required.

@KapilAnanth-MSFT I will check on this. Apologies for the delay. I'm working through a large backlog of GitHub issues, most in the AppGW space.

This is being tracked as internal content issue: 96251
#please-close


dependency packages of _test.go

Vendor is awesome. However I noticed that vendor detects and puts all the dependency packages into internal folder including dependencies of _test.go files.
For example, when I use gorp + lib/pq, it will also puts following packages and their dependencies.
github.com/go-sql-driver/mysql
github.com/mattn/go-sqlite3
github.com/ziutek/mymysql/godrv

These packages are used just in gorp_test.go and should be excluded.
Also I think it's better to clarify that how to due with _test.go dependencies in vendor-spec.

I can confirm this is an issue. I need to think if there should be a switch to also look at test files. Thanks for tagging this.

I don't think this is an issue. Yeah those packages are only used in *_test.go. So what? That means you wouldn't end-up with broken tests if the packages have changed.
And if you really don't want to include some specific import path there is always vendor remove available.
Right? Or am I missing something?

Looks like you expect the same behaviour as godep has. But that's an issue of godep rather than a feature: https://github.com/tools/godep/issues/185

I think the default behavior that I would want is to copy over the test files, but don't copy over or rewrite the test file dependencies. This also implies creating a indicator of such package in list (test only).
I would still want an option, probably at the project level, to include such dependencies.

any progress on this issue?

Hi @kardianos,
To be clear, the current behavior is that vendor copies over the test file dependencies, but does not rewrite the import paths for the dependencies (the import paths for the regular dependencies are  rewritten in the test files though).  So the packages are vendored but not referenced.
For us, it's important that we have reproducible builds, so we want the test dependencies vendored.  Right now as a hack around the lack of linking we are pulling the packages back out of the vendor folder and into the main gopath before running tests.  But we would gladly submit a pull request to rewrite import paths.
Cheers,
Ted

@ilackarms This issue (and any other changes) are pending adding operational test. I've stubbed the test I want to see but I haven't filled it in yet.

@tedsuo That's odd. I'd like to say the vendor tool right now treats all go files equal. It totally ignores build tags and file suffixes. Now if you don't have the dependency in your gopath and the test dependency is marked with a "m" then you need to get those before it will rewrite them.
I'm 99% sure this is the case, but this is one of the reasons my next step is to add an operational test(s). Could you confirm? "vendor list"


Create PythonSnakeGame.py

snake game by using python
Fix to  Issue #
===============================

===============================
Checklist

[x] I read the contributing guidelines
[x] I structured my project as stated in the contributing guidelines
[x] My project uses dependencies
[x] I starred the repo
[x] I had fun contributing!

python project for hacktoberfest

@riya02002
Howdy?, you haven't responded to the review.

@riya02002


publishTelemetry doesn't send data when separate status topic enabled in registry

Hi
I've got strange behavior - when added separate state topic to registry, my device stopped publishing telemetry.
I check return code and it show that publishing is OK, but haven't see any message in device-events (default telemetry) topic.
Also in according to serial log of device it sends telemetry but I've not see any records about it in log (debug level enabled) at gcloud console...
I tried to swap order of state and telemetry publishing in code but no success.
I'll try to remove state topick and check sending telemetry again. But I think that looks like a bug in case if I didn't something wrong in my code.
Any help, please!
This is code of publishing:
/*

Send device state
/
Serial.print("State: ");
String state = getDeviceState();
Serial.println(state);
Serial.print("Publishing state... ");
if (publishState(state)) {
Serial.println("done");
} else {
Serial.print("error: ");
mqtt->logError();
}
/
Send device telemetry
*/
Serial.print("Telemetry: ");
String report = getDefaultReport();
Serial.println(report);
Serial.print("Publishing telemetry... ");
if (publishTelemetry(report)) {
Serial.println("done");
} else {
Serial.print("error: ");
mqtt->logError();
}

and this is log from serial console:
09:54:39.343 -> State: {"device_id":"shit_meter-898da8","chip_model":"ESP32-D0WDQ6","chip_revision":1,"chip_cores":2,"firmware_version":"0.0.1","ssid":"wl-500gpv2","bssid":"14:CC:20:62:C9:8F"}
09:54:39.343 -> Publishing state... done
09:54:39.343 -> Telemetry: {"battery":3294,"temperature":2241,"distance":221}
09:54:39.641 -> Publishing telemetry... done

Update
Small mistake in previous post. When I changed publishing order when telemetry messages were sent first it were delivered but there was some lag in cloud console to show them.
Also I did small set of tests.
After remove separate state topic from registry telemetry messages began to be delivered.
Then I reverted back state topic into registry and also swaped publishing order to send state first and telemetry second - and telemetry wasn't delivered again.
At end I swapped order of publishing telemetry end state messages back - telemetry messages began to delivered.
So, in case when defined two topics (events and states) in registry it works only when publishing of telemetry goes first.
It is very strange for me...

The topic for a your device must be the device-specific topic projects/PROJECT_ID/locations/REGION/registries/REGISTRY_ID/devices/DEVICE_ID but I'm guessing you're doing this correctly if you are using the Arduino library and are using the global functions as I'm seeing in your example.  That said, if the topic is incorrect, the MQTT device bridge will disconnect the client which creates inconsistent behavior in the client. If you have enabled Cloud Logging for your device registry, additional information may be available in the console.
Messages published to the events telemetry topic can have some latency before being available to the PubSub queue, particularly when the first messages get published (I'm not sure I've seen more than 60 seconds in practice, which is rare, and I've used the MQTT bridge quite a bit). The QoS can affect the latency so it's worth trying both 0 and 1 and seeing which works better for your application. If you
State messages persist (you can read the last 10 states for a device) and are easier for testing because you can see them on the Google Cloud console.
Full details on the MQTT bridge are documented here and may be helpful for debugging.

Hi
I suspect that it is not related to delay in cloud.
My opinion is that this behaviour is more related to some asyncronous execution in mqtt (possible) library or somesing wrong with processing of state of sending data.
For example I'll show next case
(Small remark: sometime, very rare I've got case when both messages were not delivered)
Log on device shows that both publications - events&state, where done with succes. There is it:
15:17:21.422 -> WiFi connected
15:17:21.422 -> Synchronizing time... done
15:17:21.422 -> Initializing Google Cloud IoT...done
15:17:21.422 -> Connecting...
15:17:21.422 -> Refreshing JWT
15:17:24.675 -> connected
15:17:24.675 ->
15:17:24.675 -> Library connected!
15:17:24.741 -> incoming: /devices/shit_meter-898da8/config:
15:17:24.741 -> {"duty_cycle_interval_sec":1800}
15:17:24.741 -> No more task for GCloud, can go asleep
15:17:24.808 -> Telemetry: {"battery":3282,"temperature":2367,"distance":220}
15:17:25.140 -> Publishing telemetry... done
15:17:25.140 -> State: {"device_id":"shit_meter-898da8","chip_model":"ESP32-D0WDQ6","chip_revision":1,"chip_cores":2,"firmware_version":"0.0.3","ssid":"wl-500gpv2","bssid":"14:CC:20:62:C9:8F"}
15:17:25.140 -> Publishing state... done
15:17:25.140 -> State changed from: 3 to 4
15:17:25.638 -> Close connection to cloud... done
15:17:25.804 -> System going to sleep for 1800 seconds
But log in cloud shows that only one of publications was received - events. And moreover, device was disconnected because timeout error after more than 1 minute of waiting, so it was enough time to delivery second message.
Cloud log at attached screen picture.

In my code I control return code of both publishing functions. And write error message to serial console if something goes wrong.
For reliable finish of all tasks when all are done I also wait half of second with nonblocking counter at loop().
There is code:
bool publishTelemetry(String data){
uint8_t retry = 0;
bool result = false;
while (retry++ < p_gcloud_publishing_retries.value()) {
if ((result = mqtt->publishTelemetry(data))) {
break;
}
Serial.print("error: ");
mqtt->logError();
if (retry < p_gcloud_publishing_retries.value()) {
delay(GCLOUD_PUBLISHING_RETRY_DELAY_MSEC);
Serial.print("Retrying... ");
}
}
return result;
}
bool publishState(String data) {
uint8_t retry = 0;
bool result = false;
while (retry++ < p_gcloud_publishing_retries.value()) {
if ((result = mqtt->publishState(data))) {
break;
}
Serial.print("error: ");
mqtt->logError();
if (retry < p_gcloud_publishing_retries.value()) {
delay(GCLOUD_PUBLISHING_RETRY_DELAY_MSEC);
Serial.print("Retrying... ");
}
}
return result;
}
// Cut begin: publishing messages
Serial.print("Telemetry: ");
String report = getDefaultReport();
Serial.println(report);
Serial.print("Publishing telemetry... ");
if (publishTelemetry(report)) {
Serial.println("done");
} else {
Serial.println("Fatal error when publishing, system will restarted...");
Serial.print("Close connection to cloud... ");
if (mqttClient->connected()) {
mqttClient->disconnect();
delay(100);
}
Serial.println("done");
Serial.println("Rebooting");
ESP.restart();
}
Serial.print("State: ");
String state = getDeviceState();
Serial.println(state);
Serial.print("Publishing state... ");
if (publishState(state)) {
Serial.println("done");
} else {
Serial.println("Fatal error when publishing, system will restarted...");
Serial.print("Close connection to cloud... ");
if (mqttClient->connected()) {
mqttClient->disconnect();
delay(100);
}
Serial.println("done");
Serial.println("Rebooting");
ESP.restart();
}
// Cut end: publishing messages
// Cut begin: finish job
if (systemCanGoAsleep && gcloudCanGoAsleep && !systemConfigChangesPending) {
if (sleepDeadline == 0) {
sleepDeadline = millis() + SLEEP_DELAY_MSEC;
} else {
if (sleepDeadline <= millis()) {
goToSleep(p_duty_cycle_interval_sec.value());
}
}
}
// Cut end: finish job

As only I've wrote previous post I cought another issue...
Two times with three retries publishing was ended with error.
But receiving message on configuration topic was successed all times, so there eliminates possible networking issues.
It is noteworthy that device log shows that publication was successful at last iteration, but cloud log shows that messages were not received.
Log of device (slightly truncated):
16:17:10.023 -> ets Jun  8 2016 00:22:57
... skip ...
16:17:12.744 -> Initializing Google Cloud IoT...done
16:17:12.744 -> Connecting...
16:17:12.744 -> Refreshing JWT
16:17:15.997 -> connected
16:17:15.997 ->
16:17:15.997 -> Library connected!
16:17:16.063 -> incoming: /devices/shit_meter-898da8/config:
16:17:16.063 -> {"duty_cycle_interval_sec":1800}
16:17:16.063 -> No more task for GCloud, can go asleep
16:17:16.395 -> Telemetry: {"battery":3277,"temperature":2455,"distance":220}
16:17:16.694 -> Publishing telemetry... error: -9
16:17:16.694 -> LWMQTT_MISSING_OR_WRONG_PACKET
16:17:17.192 -> Retrying... error: -9
16:17:17.192 -> LWMQTT_MISSING_OR_WRONG_PACKET
16:17:17.723 -> Retrying... error: -9
16:17:17.723 -> LWMQTT_MISSING_OR_WRONG_PACKET
16:17:17.723 -> Fatal error when publishing, system will restarted...
16:17:17.723 -> Close connection to cloud... done
16:17:17.723 -> Rebooting
16:17:17.756 -> ets Jun  8 2016 00:22:57
... skip ...
16:17:20.545 -> Initializing Google Cloud IoT...done
16:17:20.545 -> Connecting...
16:17:20.545 -> Refreshing JWT
16:17:23.764 -> connected
16:17:23.764 ->
16:17:23.764 -> Library connected!
16:17:23.831 -> incoming: /devices/shit_meter-898da8/config:
16:17:23.831 -> {"duty_cycle_interval_sec":1800}
16:17:23.831 -> No more task for GCloud, can go asleep
16:17:24.196 -> Telemetry: {"battery":3270,"temperature":2453,"distance":220}
16:17:24.495 -> Publishing telemetry... error: -9
16:17:24.495 -> LWMQTT_MISSING_OR_WRONG_PACKET
16:17:24.993 -> Retrying... error: -9
16:17:24.993 -> LWMQTT_MISSING_OR_WRONG_PACKET
16:17:25.491 -> Retrying... error: -9
16:17:25.491 -> LWMQTT_MISSING_OR_WRONG_PACKET
16:17:25.491 -> Fatal error when publishing, system will restarted...
16:17:25.491 -> Close connection to cloud... done
16:17:25.491 -> Rebooting
16:17:25.557 -> ets Jun  8 2016 00:22:57
... skip ...
16:17:28.379 -> Initializing Google Cloud IoT...done
16:17:28.379 -> Connecting...
16:17:28.379 -> Refreshing JWT
16:17:31.599 -> connected
16:17:31.599 ->
16:17:31.599 -> Library connected!
16:17:31.665 -> incoming: /devices/shit_meter-898da8/config:
16:17:31.665 -> {"duty_cycle_interval_sec":1800}
16:17:31.665 -> No more task for GCloud, can go asleep
16:17:31.764 -> Telemetry: {"battery":3273,"temperature":2453,"distance":220}
16:17:32.063 -> Publishing telemetry... done
16:17:32.063 -> State: {"device_id":"shit_meter-898da8","chip_model":"ESP32-D0WDQ6","chip_revision":1,"chip_cores":2,"firmware_version":"0.0.3","ssid":"wl-500gpv2","bssid":"14:CC:20:62:C9:8F"}
16:17:32.063 -> Publishing state... done
16:17:32.063 -> State changed from: 3 to 4
16:17:32.561 -> Close connection to cloud... done
16:17:32.727 -> System going to sleep for 1800 seconds
Log of cloud:

Hi
As solution I added some additional time before put device asleep for (as I suppose) internal process can finish its job. After that described errors no more occurred.
So I close issue.


msg erased

hi,
i have notice that the message of output cleanup every other properties that are added to the message input. the message output mantain only the _msg_id

hello. The output is the result of the command. You're right no other properties are saved.
Do you have much more info of what do you want do?

This has been solved. Regards


”Porumbești” is listed in the drop-down menu

Description:
"Porumbești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Porumbești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Porumbești, SATU MARE".


FINERACT-805  Spring BOM version numbers rebase

Description
Describe the changes made and why they were made. Ignore if these details are present on the associated Jira ticket https://issues.apache.org/jira/browse/FINERACT-805
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Commit message starts with the issue number from https://issues.apache.org/jira/projects/FINERACT/. Ex: FINERACT-646 Pockets API.

[ ] Coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions have been followed.

[ ] API documentation at https://github.com/apache/fineract/blob/develop/api-docs/apiLive.htm has been updated with details of any API changes.

[ ] Integration tests have been created/updated for verifying the changes made.

[ ] All Integrations tests are passing with the new commits.

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the list.)

Our guidelines for code reviews is at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide

@vorburger could you review this.
"junit-dep" was moved to "junit", see the notice in the header of https://mvnrepository.com/artifact/junit/junit-dept . So I removed it.
json-path breaks builds when version update. I think some methods from old version have been drop.

Oh wait this is still building, right now.. obviously needs to be green, first.

@vorburger when I run gradle clean build, the build is successful .I will have to recheck the changes

@percyashu FYI you don't have to keep opening new PRs, just (force) push to your same branch, and your PR will update automatically... that's much easier, and less confusing, than closing un-merged PRs, and opening #666 #668.


recent unicode-math upgrade breaks PDF builds if dot character is active when entering math mode

Description
This provokes a failed PDF build using XeTeX/LuaTeX
(edit: also when using \setmathfont{texgyrepagella-math.otf} or even no setmathfont at all, as long as unicode-math  is loaded)
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmathfont[Extension = .otf,BoldFont = *bold]{xits-math}

\begin{document}

{\small
\catcode`. \active
\def.{\ERROR}
\(\pm\)
}
\end{document}

I observe this with TeXLive unicode-math rev46300 2018-01-13 (hmm I god this date from tlmgr info unicode-math as cat-date:    2018-01-13 15:04:43 +0100 and doing this with rev45845 gives 2017-11-18 12:52:03 +0100 ; the date (2018-01-15 23:06) below is presumably the date when I updated my TL2017 and unicode-math with it...)
After
$ tlmgr restore unicode-math
Available backups for unicode-math: 45845 (2018-01-15 23:06)

$ tlmgr restore unicode-math 45845
Do you really want to restore unicode-math to revision 45845 (y/N): y
Restoring unicode-math, 45845 from /usr/local/texlive/2017/tlpkg/backups/unicode-math.r45845.tar.xz

above test file compiles fine with both Unicode engines.
I thought the problem was with luatex because a trace show me a directlua and I figured perhaps it should be \string. therein, but then I checked that also xetex build fails, and I did not investigate more.
edit sorry I got fooled due to many tasks to do by emacs/auctex not having reparsed my file variable, or did some other mistake and erroneously reported a xetex issue. This is only a luatex one, and then my guess is that \string. in the directlua calls will fix it. (not tested) Make it \string<space>. in case catcode is letter... ah no, then the space may be active, ok so \detokenize{.} hopefully dot will not have catcode of closing brace...
... or perhaps we need to understand if really it is directlua and why it would use the current catcode of dot...
Check/indicate

[ ] Relevant for XeTeX
[x] Relevant for LuaTeX

Ah, this has to be fixed in fontspec, sorry. There's a tex.sprint buried in there which didn't have a catcode regime specified, and it was outputting a length with a dot in it. When I get around to the next release of fontspec, it will be fixed; in the mean time, you can fix locally by applying the changes here:
https://github.com/wspr/fontspec/commit/53720583b6cc282da8c0c2010bd7a8b4e482fd49
(At some point I looked into removing that function but wanted to keep things simple. I'll leave this issue open until that happens, at which point I'll add a test file.

I confirm that the https://github.com/wspr/fontspec/commit/53720583b6cc282da8c0c2010bd7a8b4e482fd49 patch fixes the failed test lualatex build, when I apply it to TeXLive2017 fontspec 2.6g TL revision number 45732


Allow custom Supplier for presto-hive

Hey guys,
for our setup with presto we cannot supply S3 security mappings via file due to security reasons. Unfortunately, at the moment there is no plugin option for writing a custom supplier for those s3 mappings. I would like to introduce that and write a PR for that. My approach would be:

add an interface S3SecurityMappingsSupplier which should basically only extend Supplier
extract the current Supplier into its own class (e.g. FileBasedS3S3SecurityMappingsSupplier)
add a configuration option hive.s3.security-mapping.provider which defaults to FileBasedS3S3SecurityMappingsSupplier, but can be overwritten

What do you guys think about that approach?

What would be other options besides FileBasedS3S3SecurityMappingsSupplier?
This sounds fine to me.

In our use case we need to get our role mappings from a custom service because of architectural security reasons. I could imagine that other people might also want to store their role mappings in secrets / secret-storages such as kubernetes secrets or vault.
Great, please have a look at PR #6210.


Force job

Codecov Report
Base: 90.16% // Head: 82.47% // Decreases project coverage by -7.69% :warning:

Coverage data is based on head (4e315ad) compared to base (ef930e8).
Patch coverage: 89.83% of modified lines in pull request are covered.

:exclamation: Current head 4e315ad differs from pull request most recent head a1de302. Consider uploading reports for the commit a1de302 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #642      +/-   ##
==========================================
- Coverage   90.16%   82.47%   -7.70%
==========================================
  Files          55        4      -51
  Lines        2400      348    -2052
==========================================
- Hits         2164      287    -1877
+ Misses        236       61     -175

Flag
Coverage Δ

jobs_mongodb_migration
?

libs_libcache
?

libs_libcommon
?

libs_libqueue
82.47% <89.83%> (-0.72%)
:arrow_down:

services_admin
?

services_api
?

workers_first_rows
?

workers_splits
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

libs/libqueue/src/libqueue/worker.py
41.57% <0.00%> (-2.48%)
:arrow_down:

libs/libqueue/src/libqueue/queue.py
93.07% <100.00%> (+0.39%)
:arrow_up:

libs/libqueue/tests/test_queue.py
100.00% <100.00%> (ø)

workers/first_rows/src/first_rows/asset.py

...s/mongodb_migration/src/mongodb_migration/check.py

workers/splits/src/splits/utils.py

libs/libcache/src/libcache/simple_cache.py

services/api/src/api/routes/webhook.py

...db_migration/migrations/_20221110230400_example.py

services/admin/src/admin/utils.py

... and 44 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Allow comments, etc. in update.cfg

This addresses a TODO in update.sh to allow a more freeform update.cfg. With this change, update.cfg will:

Tolerate and ignore blank/whitespace-only lines
Tolerate # style comments, both inline (as long as preceded by whitespace) and whole-line.
Validate directories more prettily, failing with a useful message if one doesn't exist.
Explicitly disallow multiple entries per line, with a useful message.

(Previously these last two things would still error, just more confusingly.)
While in there, I also added an EXIT trap to remove the temporary directory, since otherwise failures mid-script would leave it hanging around, gradually polluting /tmp.

In case you're interested, we took this (boilerplate) idea and ran with it for OpenShift Dedicated operators: https://github.com/openshift/boilerplate/

@2uasimojo ohh this is wonderful, 👍🏽 . thank you for the feedback. Please let us know if there are other ways to collaborate

Thank you for letting us know. That's what makes OSS great! and thank you
for contributing back
On Wed, Apr 21, 2021 at 2:08 PM Eric Fried @.***> wrote:

In case you're interested, we took this (boilerplate) idea and ran with it
for OpenShift Dedicated operators:
https://github.com/openshift/boilerplate/
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/flyteorg/boilerplate/pull/17#issuecomment-824358372,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAGUF6EZTJQVENP5PEXQNTTJ45DXANCNFSM43LEFZPA
.

--
Thanks,
Haytham Abuelfutuh.


ParameterState: Make it public available

Description
Make it public for other people to use in their projects.
How Has This Been Tested?

Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

FYI @mckaragoz


Problem with upload() on Windows

Hello.
I have found a problem running upload() on windows and uploading a directory (to a linux server).
Lets say I am trying to upload a directory named module, which contains a subdirectory called ApiTester. And lets say I have a file named Module.php in the ApiTester directory.
I am uploading it with upload('module', 'module'). When I execute the recipe on linux it runs ok but when I execute it on windows something strange happens.
It creates the module directory but instead of creating an ApiTester subdirectory and a Module.php file in it it creates a file named ApiTester\Module.php (with a slash in its name!?) in the module directory.
I think this happens with the PhpSecLib backend because I do not have the ssh extension installed on this machine.
Edit: I just want to add that this happened on a Windows 8.1 system.

Officially Deployer does not support Windows (But it may work).
I know where is problem, in upload function. Need to add one str_replace to it.

Fixed! Now on master branch, soon will be in Deployer 3.0.1.

Awesome! Thanks. :beer:

Either still broken or is broken again in 3.0.10.

@elfet reverted by commit https://github.com/deployphp/deployer/commit/c9f3c5d

I really think
$remote = str_replace('\\', '/', $remote);

should be
$remote = str_replace(DIRECTORY_SEPARATOR, '/', $remote);

Especially considering the comments on 4f16be0

Agree! Can you do PR?

@elfet, yup.


Alfred 4

It would be great if the workflow was compatible with Alfred 4. I exported it from Alfred 3 and imported in Alfred 4. Queries do not return results.

Hello, @jan-matthis
I upgraded this workflow to support Alfred 4 in #10

Thanks a lot for the upgrade!
Unfortunately, I'm not managing to get TLDR to show up in Alfred 4: I pulled the repository to reflect today's merge of the PR, ran npm install and restarted Alfred. However, TLDR does not show up in the workflow view. alfy-init seems to have been executed (see below).
Any hints of what I might try?
npm install

><EMAIL_ADDRESS>postinstall /Users/jm/GitHub/others/tldr-alfred
> alfy-init

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.

audited 3344 packages in 3.581s
found 2 vulnerabilities (1 low, 1 moderate)
  run `npm audit fix` to fix them, or `npm audit` for details

I'm not sure -- I also ran the installation instructions locally and it is working for me...
Can you run alfa-init again manually from inside the directory?

@alexlafroscia: Running ./node_modules/.bin/alfy-init manually again did the trick, thanks a lot!


Login

Is it possible to provide a secure access to UI, via login for eg ?

I think you have two options: you could either use a reverse proxy (e.g. nginx) and configure basic http authentication (see this guide) or if you need a graphical login screen you can do something like @dalareo did  https://github.com/francescou/docker-compose-ui/issues/25#issuecomment-213564231

I'm closing the issue for now, please feel free to reopen it if necessary


refactor: use JSON5 to stringify theme object

Resolves #155.

This PR replaces JSON.stringify with JSON5.stringify so that property names in .cjs, .js, and .ts theme files only have quotations when necessary.
theme.js with JSON.stringify:

theme.js with JSON5.stringify:

LGTM, thanks @zachsnoek! TIL about JSON5


x/tools/gopls: release version v0.8.5

This issue tracks progress toward releasing<EMAIL_ADDRESS>- v0.8.5 is a patch release to address https://github.com/golang/go/issues/53080 whose fix is a low risk, trivial change.

[ ] cherry-pick cls to gopls-release-branch.0.8

[ ] https://go-review.googlesource.com/c/tools/+/409674

[ ] update hard-coded version
[x] ~update go.mod/go.sum (remove x/tools replace, update x/tools version)~ Unnecessary
[ ] tag gopls/v0.8.5-pre.1
[ ] update Github milestone
[ ] write release notes
[ ] smoke test features
[ ] tag gopls/v0.8.5

cc @golang/tools-team

https://go-review.googlesource.com/c/tools/+/409674 is blocked due to the golang.org/x/tools/go/gcexportdata test failure - the x/tools in the v0.8 release branch needs update to work with tip. The test failure is unrelated to the change, but blocks complete test runs. So, we don't want to release in this state regardless how trivial the change is.
It's likely we will abandon this plan and proceed to prepare for v0.9.0 (and tag of x/tools too)


Fix a build failure resulting from a race condition between two PRs.

Each passed successfully but one unintentionally restored an import that the other had removed.
These were https://github.com/apple/swift-package-manager/pull/3029 and https://github.com/apple/swift-package-manager/pull/3019

@swift-ci please smoke test

While we're waiting for builds to finish so I can merge this:  what's the best remedy for this kind of "PRs passing in the night"?  In this case both PRs' builds passed, but there was a conflict when landing.  I suppose I could have kicked off one more build right before merging, the problem is that it takes so long and there's very rarely a problem, so it's a low return on investment.

I'm going to go ahead and merge to unblock #3037


adc: nordic: move to new DT API and kconfig style

Use the new devicetree API. Remove per-board enabling of ADC_0 by
setting ADC_0 to default y when the 'adc' node label points at an
enabled node of the expected compatible (depending on SoC).

@anangl nice catch and good idea. Both comments addressed.
I also updated the help text for the SAADC option to remove the 'nRF52', since the driver is more widely available than that.

kicking CI, which timed out

Note to mergers: I think we need to override shippable here.
From @nashif on Slack:
retrying does not help, you basically have to many changes that trigger more builds that do not fit the 2 hour timeout per build slave..
since 4 out o5 already pass, I would say someone just needs to override this

@anangl I hope you were OK with these changes. Please let me know if any follow up work is necessary. I didn't mean them to be merged until after you had another chance to review.

@mbolivar-nordic Sure, no worries. You've addressed my comments accurately.


Details about using CredSSP in Windows

@aledsage can you review.

@neykov any comments from you about the need for http and https when we're using Invoke-Command -Authentication CredSSP?

useful.  @neykov if you have any comments on http(s) (re aled's comment above) it can be a new PR

@aledsage Invoke-Command will default to http transport (the authentication protocol doesn't matter). The script can override it, but then needs to know what settings to use (what's available on the machine).
So the solution is to either enable http for loopback or somehow figure out what's available and use that.
@bostko  can you confirm
Also the self signed certificate might be a problem for Invoke-Command - should be fine for localhost where it's already trusted, but for other cases need to use Enter-PSSession beforehand with ignore option.

@neykov indeed. The script does what you wrote.
It enables winrm and adds machine's ip and localhost to trusted remote hosts.


Add inverse_of option to associations?

Thoughts on adding an inverse_of option to associations? The sole purpose would be to annotate the inverse relationship. This is useful for libraries that are working with these associations.

BTW, I can PR this if its :+1:

Do you have one example of usage?

@Tica2 yes, in ecto_fixtures I might build a fixture as:
posts model: Post, repo: Repo do
  valid do
    tag fixtures(:tag).tags.foo
  end
end

ecto_fixtures will build a payload and setup all of the foreign keys. For HasThrough relationships it will setup the the through model data as well. The issue I'm having is when the inverse model's fixture references back the original model:
tags model: Tag, repo: Repo do
  foo do
    post fixtures(:post).posts.valid
  end
end

With the posts fixture I know I can just delete the tag key, but from the perspective of that fixture I don't have any clarity as to what the inverse relationship field is. I need to delete the post key from the tags fixture to ensure there is no infinite loop.

Thanks for opening the issue!
My concern with adding the inverse_of is that folks may believe they inverse and the associated are the same and, changing one, will cause the other to change.
That said, the example above is not clear. I don't know what the DSL means, so I don't understand what it is supposed to do.

@josevalim is there a way with the current API to determine what the inverse relationship is via the through model? Perhaps I am just missing the already existing solution

@bcardarella no, there isn't.

Also, I don't think the fixtures solution should rely on it. Otherwise folks would add inverse_of for their fixtures during tests and it will affect how the code works in production.

@bcardarella are you ok with closing this? :)

yes, I found a work around. Closing!


fix(page-layout):move nav styles to component

This moves the styles that were in the page layout for horizontal nav back to the nav component. Also moves the spacing for the toolbar to the header tools layout and not the toolbar layout.

Deploy preview for pf-next ready!
Built with commit 2ba8476fdcb1902fde4d70b6f4a315aa808bce57
https://deploy-preview-884--pf-next.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Adding-Algorithms

Added a Longest Common Subsequence Under DP and a Stack Data Structure

Thank you for contributing to @AllAlgorithms, your pr got merged! ✨ Make sure that you ⭐ the project 🤓, and continue helping us!


Introspection: normalize special characters and diacritics (accented characters)

I am migrating an existing database to Prisma V2 and I encountered a problem with enums.
Problem
MySQL enum is as follow: ENUM('Kč', '€', 'c€')
This gets renamed to:
enum zakazky_zMena {
  K_ @map("Kč")
  // € @map("€")
  c_ @map("c€")
}

This apply to example bellow too:
enum svoobdobi_svoStav {
  bal__ek @map("balíček")
  pron_jem @map("pronájem")
  rezervace
  ciz_ @map("cizí")
  voln_ @map("volná")
}

Solution
Possibly easy solution
Accented symbols could be transpired to their non-accented versions. (á => a, é => e, ě => e, etc...)
Common symbols like $ could be translated into dollar.
Better solution
Have some file that would serve as a hash map for these symbols.
{
  "á": "a",
  "ě": "e",
  "é": "e",
  "€": "eur",
  "$": "dollar",
  "&": "_and_"
}

Alternatives
Renaming it after every database iteration. Sounds painful right?
Additional context
Prisma V2 beta.4

I think this could be added to #2829 too.

No, this is in the right place @Akxe, and has nothing to do with Re-Introspection but a new feature Introspection Configuration. When we get to that, we will take this into consideration.

Renaming it after every database iteration. Sounds painful right?

This should be no longer the case now with re-introspection. My understanding is that the existing mappings would be honored. Given this, the request is still legitimate, but the pain of not having the solution has somehow decreased.

I created a migration to handle with this issue
-- DropForeignKey
DROP EXTENSION IF EXISTS unaccent;

-- AddForeignKey
CREATE EXTENSION unaccent;

Unfortunately, this only works with query raw!


issue-268

I added a function in the write_worker.rs to centralize the logic of choosing worker:
pub fn find_worker(table_id: usize, worker_num: usize) -> usize {
table_id % worker_num
}

You can edit the PR title here:

centralize the logic of choosing worker

OK


Calculate Game Protocol Version Hash

https://github.com/PocketRelay/Server/blob/b616a71fa916d6e237119178d16823ed0b30a3a7/src/session/models/game_manager.rs#L643
In my own blaze emulator i am using this to calculate the game protocol version hash, here you can see it in C#. It appears to be FNV1 hash but in a bit different way. When i tested this against EA generated hashes, they were matching.
I am not familiar with Rust at all, so it is better i let it up to you to implement it :D
        public static ulong GetGameProtocolVersionHash(string protocolVersion)
        {
            protocolVersion ??= string.Empty;
            //FNV1 HASH - the same hashing logic is used in ea blaze for game protocol versions
            byte[] buf = Encoding.UTF8.GetBytes(protocolVersion);
            ulong hash =<PHONE_NUMBER>UL;
            foreach (byte c in buf)
                hash = (hash * 16777619) ^ c;
            return hash;
        }

Thanks, implemented in https://github.com/PocketRelay/Server/commit/398410d7237c8da073a7b8ffa67fe6cf82c4f505


chore: remove mention of nonexistent /lib package

y'alls better not merge this till october

@Lioness100 you do know they don't count if the PR wasn't created before october

I don't believe you, send me proof :))

That was a joke I believed you all along 💗💓💖💝💞


gh-markdown-preview: 1.6.0 -> 1.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/yusukebe/gh-markdown-preview/releases.
meta.description for gh-markdown-preview is: gh extension to preview Markdown looking like on GitHub
meta.homepage for gh-markdown-preview is: https://github.com/yusukebe/gh-markdown-preview
meta.changelog for gh-markdown-preview is: https://github.com/yusukebe/gh-markdown-preview/releases/tag/v1.7.0
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.7.0 with grep in /nix/store/5f1k6j2vlc09xavgiarldza12s9rn2vj-gh-markdown-preview-1.7.0
found 1.7.0 in filename of file in /nix/store/5f1k6j2vlc09xavgiarldza12s9rn2vj-gh-markdown-preview-1.7.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

gh-markdown-preview

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5f1k6j2vlc09xavgiarldza12s9rn2vj-gh-markdown-preview-1.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gh-markdown-preview https://github.com/r-ryantm/nixpkgs/archive/7019239c0b374419e204e3bcab7e3885e3468e15.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7019239c0b374419e204e3bcab7e3885e3468e15#gh-markdown-preview

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5f1k6j2vlc09xavgiarldza12s9rn2vj-gh-markdown-preview-1.7.0
ls -la /nix/store/5f1k6j2vlc09xavgiarldza12s9rn2vj-gh-markdown-preview-1.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gh-markdown-preview

Maintainer pings
cc @amesgen for testing.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge

@NixOS/nixpkgs-merge-bot merge


Revert single-line wrap issue

This PR also makes it possible to have custom format functions per repl, so more specific situations can be solved w/ their own language definition where a general solution works for most scenarios.
This PR should:
Fix #127
Fix #110

As of b610f6afb7fddb8b695a12cf68923cef6eb58e1e, this PR should be complete for fixing both related PRs. I'll fix the tests now.

Thank you bunch. Will attempt to see if this behaves well!

Almost, when I attempt on Scala after I hit
 does not enter into scala terminal:
So, if I have 3 lines
val ls = List(0, 1, 2, 3, 5, 8)
ls.init // ls.head ls.tail ls.last
ls.head

becomes below as one single line as  is not sent to the terminal.
Welcome to Scala 2.12.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_201).
Type in expressions for evaluation. Or try :help.

scala> val ls = List(0, 1, 2, 3, 5, 8)ls.init // ls.head ls.tail ls.lastls.head

btw: This is not an issue with Python
Here's how I have it defined in the init.vim
augroup ironmapping
    autocmd!
    "autocmd FileType python map <silent> <leader>, <Esc>`> \| IronFocus<CR>G<C-x>o
    autocmd FileType python map <silent> <leader>, <Esc> <C-x>oG<C-x>o
    autocmd Filetype python vmap <buffer> <localleader>\ $<Plug>(iron-send-motion)
    autocmd Filetype python nmap <localleader>\ :call luaeval('require("iron").core.send(_A[1],_A[2])', [&ft, getline('.')])<CR>
    autocmd Filetype python imap <localleader>\ <Esc>:call luaeval('require("iron").core.send(_A[1],_A[2])', [&ft, getline('.')])<CR>

    autocmd FileType scala map <silent> <leader>, <Esc> <C-x>oG<C-x>o
    autocmd Filetype scala vmap <buffer> <localleader>\ $<Plug>(iron-send-motion)
    autocmd Filetype scala nmap <localleader>\ :call luaeval('require("iron").core.send(_A[1],_A[2])', [&ft, getline('.')])<CR>
    autocmd Filetype scala imap <localleader>\ <Esc>:call luaeval('require("iron").core.send(_A[1],_A[2])', [&ft, getline('.')])<CR>
augroup END


[DC-2229] Create a Wrapper to get psql client.

@mark-velez out of curiosity, would it be possible to use pg8000 in lieu of psycopg2?  pg8000 is a pure-python pgsql driver implementation, and generally works pretty well in my admittedly limited experience with it.

@dcarbone thanks for the suggestion! @ksdkalluri I say we try pg8000 and see if it meets our current needs.

I did finally get this going.  I was missing the part about starting cloud sql proxy in another window.  What are your thoughts on incorporating the instances as secrets and using subprocess to open the proxy client from the script.  We can add the utility functions to the notebooks.  I think the biggest "gotcha"s would be remembering to have you application default credentials available, cloud sql proxy installed, and remembering to stop the process.  Look over the patch and let me know what looks like something we can use, or throw out, or improve.
2229_patch.txt


Tracing: Add AttributeValueDouble.

Also update Trace exporters and ZPages, and fix a few typos.
Fixes https://github.com/census-instrumentation/opencensus-java/issues/1441.

Thanks!


Hello World in Malbolge Programming Language

Would like to create a Hello World program in Malbolge.

Ok, assigning this issue to you!

Assigned to you under Hacktoberfest @Immanuel-Anthony

Happy contribution!


timeout

After around 60 seconds of no client input, the connection gets terminated (1006).
How to adjust this period? I think I saw it somewhere in the files, just cannot find it now...
Ideally, I would totally skip the auto-timeout.
Thank you.

I got rid of it by adjusting proxy_read_timeout and proxy_send_timeout on my nginx proxies!
BUT then I switched my OS from RHEL 6 to Ubuntu Xenial and the issue is back. Now it's not 60s, but like 20-40min. My bet on client OS killing the idle connection after some time...
Is there any heartbeat mechanism built into the eyeOS client? I can see stuff like
'heartbeatToken': 'heartbeat',
'heartbeatTimeout': 4000,//miliseconds

in run.js.
Anyone? Input highly appreciated.


[DOC] adding java 11 to download docs [skip ci]

This PR adds Java 11 to list of supported java versions in the download docs.
signed-off-by: Suraj Aralihalli<EMAIL_ADDRESS>

build


Very bad UX when sent email being rejected by SMTP

Steps to reproduce

Compose a mail to 10 recipients, but forget a comma at the end of it or add some syntax error in to the TO field.
Send the email.

What happens?

A notification shows up, with the error message's first 100 characters (out of maybe 1000), and you have no way of reading the rest of it as the notification doesn't allow you to do that. (afaik) "SMTP ERROR INVALID..." (I don't remember by head what was the message.)
You may know about the outgoing folder, go there and open it, then you see no way of sending that again with corrected headers, thats frustrating.
Then by accident you find the "Send again" in the outgoing list's long tap context menu and you are happy
And it repeats your signature every time you try it again, and you only notice that after you sent your mail to 10 person with 5 signatures under it:)

Propsed solution

Send again into the outbox mail view context menu too
A huge red notification in the outbox mail view with the error that blocked that mail's sending
Format checking in the composer view on the fields, so that it would not be possible to send an email with incorrect recipients or anything in the first place

Environment
K-9 Mail version: 5.0.10
Android version: 6.0.1
Account type (IMAP, POP3, WebDAV/Exchange): imap
Thank you for K-9 mail, you are doing a great job out there!

There is a screenshot of that notification which shows only a small section of the error only:
https://github.com/k9mail/k-9/issues/1058#issuecomment-187277503

Format checking in the composer view on the fields, so that it would not be possible to send an email with incorrect recipients or anything in the first place

We already do this (as far as possible - individual mail providers can still make up their own rules) in the beta

Send again into the outbox mail view context menu too
A huge red notification in the outbox mail view with the error that blocked that mail's sending

The full error message is currently in the K9mail-errors folder. Reworking how errors work has been discussed as part of the design overhaul.


Minor corrections to "Adding a New Op" docs

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.


Update bt-build-scan ownership based on AC assignments

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.

Your PR is queued. See the queue page for details.

I've triggered a build for you.


Node v0.12.0 support and Nonces

I am running Node v 0.12.0 and figured I would mention the following:

I had to apply the following commit to get node-soap to work:

https://github.com/andrewbranch/node-soap/commit/41b11bdcd969aac66f6ab4dd7477a4662ae129c6

Nonces in my wsdl are required with a PlainText password. This isn't capable currently so I had to manually add the password field in your WSSSecurity code.

@mrsteele node-soap has released a new version (v0.8.0) which is now compatible with `node v0.12.0) - thanks go out to @andrewbranch.
Regarding your "Nonces with PlainText password" problem solution: we're open for PRs at any time :smiley:


gerrit-323704-2

Current coverage is 62.76% (diff: 100%)

Merging #430 into master will decrease coverage by 11.18%

@@             master       #430   diff @@
==========================================
  Files           179        267      +88
  Lines         39503      50265   +10762
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          29211      31548    +2337
- Misses        10292      18717    +8425
  Partials          0          0

Powered by Codecov. Last update 897bbb3...e1bbf85


Allow updating vmodule levels after vmodule level has been cached

We maintain a linked list of all sites so we could invalidate those that should change upon SetVLOGLevel call.
Once site level starts pointing to module override it will be removed from the linked list to avoid unnecessary traversals.
Fixes #649

The test fails because TestVlogHelper returns 0 instead of 1. Looks like VLOG_IS_ON does not work as expected anymore.

@sergiud  it should pass now. PTAL

Thanks!


Unable to deploy 'Office-Add-in-NodeJS-SSO' in production server

Note: This repo is only for questions related to its samples. If you have questions about how to use office.js or the Office developer platform, please post your question on https://stackoverflow.com. Tag your question with office-js or outlook-web-addins

Question
How to deploy 'Office-Add-in-NodeJS-SSO' in production?
Ask your question here.
I'm able to test this sample in development mode. When tried to deploy in production I am not sure how this can be done.
I'm trying to deploy in my Local IIS (IIS (Windows 10, IIS 10) but unable to make it work. The error says 404.0 not found

I followed several articles to deploy node.js application -

Tried to copy the whole 'Complete' folder and deployed as a web site in IIS (Windows 10, IIS 10).
https://medium.com/@adarsh-d/deploy-node-js-application-on-iis-9703d5dfcaca

Please provide a guidance on how the sample can be deployed in Local IIS.

Hi @mokarom,
Thank you for reporting this issue. @davidchesnut, could you please take a look?

Hi @mokarom,
Have you tried the article: Deploy a single sign-on (SSO) Office Add-in to Microsoft Azure App Service? You don't have to use Azure as in the article, but I would take a look at the following items.

You need to have your web server configured to run server-side code (not static web site.)
Even if using IIS you need to start the node server "node ./bin/www" as shown in the package.json.
You need to be sure you updated any references to localhost:3000 to use the IIS domain:port number (unless it is same).

Hope this helps,
David

Have you tried the article: Deploy a single sign-on (SSO) Office Add-in to Microsoft Azure App Service? You don't have to use Azure as in the article, but I would take a look at the following items.

Yes I tried this article and deployed in Azure app service and also in local IIS following the steps provided in the article.

When I run it in Excel (both desktop and web) I am able to login successfully.
After login, the following error is shown when Microsoft Graph API is called to retrieve user's profile data

Please note that the the error screencast is taken from local deployment.
According to this SO post 'yeoman office generator' cannot be used as the starter project for a production add-in that uses SSO' and suggested to try Office Add-ins Samples - auth.
As specified before, 'Office Add-ins Samples - auth' sample runs fine in development mode. But I'm unable to deploy it in local IIS.

After trying this article (Deploy a single sign-on (SSO) Office Add-in to Microsoft Azure App Service again it worked.
It is unclear why it worked this time. One thing I noticed that though I updated the .env file with 'NODE_ENV=production', but as I checked the file in Azure deployment the variable remained as NODE_ENV=development which doesn't make any sense. After manually updating the environment variable It worked without the error it was showing previously.
Thanks for your help.

Hi @mokarom, glad to hear this is working for you now! I'll go ahead and close this issue. Let us know if you need anything else!
Thanks!