add initialSpecificOrientation

@pvinis we would need feature parity with the Android side of the package. Any chance you can update this PR to account for Android as well?

i could look into it, but i have very little experience with android.
also, this package is not working very well, and its pretty reproducible, so i have to see what to do.

@pvinis we know the package is not working very well. We just got a couple new maintainers and so we're working to solve the outstanding issues. I'll review your PR when I get a chance, lots to do right now. In the meantime, could you elaborate on your issues with this package by opening an Issue? I'd love to debug your use-case.

Any updates here @pvinis?

so I have replaced this library with a homebrew one I did. my case was I had a screen locked in portrait. then I navigate to a screen locked in landscape. sometimes that didn't work. then when it worked, when I moved back to the first screen, it would stay in landscape. so I decided I can fix it myself. I could send you what I did. it's not much different than this repo but I haven't actually tried to think of what's different.

@pvinis that would be great. Would love to be able to improve on the package. I'm going to go ahead and close this then for now. Cheers.

alright. I'm back from holidays next weekend so I will write back.

This was very useful I needed this in iOS so used it. This should get merged. I created a question #345

I'm not using this lib anymore, but feel free to use this PR for what you need.


The doc and CLI help don't identify how to specify the particular resource to delete

pulumi state delete - Deletes a resource from a stack’s state
•	The documentation and the command-line help don't identify how to specify the particular resource to delete

I've figured it out and will submit a PR for corrected help text.


Weather Insights API is incorrect.

It fails with a message: Weather Insights service call failed with error HTTP response.
Investigating, the code uses:
/api/weather/v2/forecast/daily/10day
when the API documentation (https://twcservice.mybluemix.net/rest-api/#) says:
/api/weather/v1/geocode/33.40/-83.42/forecast/daily/10day.json
being first number "latitude" and second one "longitude".
In general, seems that weatherinsights in bluemix uses V1 API while here seems it is using a V2 ¿?¿?

Insights for Weather has been rebranded to Weather Company Data for IBM Bluemix and the APIs have been expanded.
Unfortunately, the v2 APIs have been deprecated. There is a new set of v1 APIs available here.

I have fixed the existing node to work with the new API paths.
In the future, we will hope to produce new nodes that encompass all the new API features as you suggest.


Which programme language is the best?

This is not a discussion that really fits the purpose of our Github issues (site related discussions and bug reports).
Feel free to post in our Main chat room though.

JavaScript :shipit:


tune model serving framework: add field details for model configs

Signed-off-by: Yaliang Wu<EMAIL_ADDRESS>Description
tune model serving framework: add field details for model configs
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ylwu-amzn: Looks great! Thanks for your help on this. I'm going to go ahead and merge it in.


Increased file size limits for custom telegram-bot-api server

https://github.com/nlef/moonraker-telegram-bot/discussions/324

@thankjura Hi!
Please direct the PR to the development branch.


no captive portal on Samsung devices

While testing my current project with different devices I noticed that there is no page splash on a samsung device.
Some digging turned out, that they behave a bit special. As solution it is suggested to answer with an empty 204 packet (??). I usually don't have to deal with DNS-stuff ^^'
Anyhow - I'm trying to implement some code to catch that problem. But any help would be highly appreciated.
I'll update this Issue as I make any progress.
readings:
https://github.com/tripflex/wifi-captive-portal/issues/7
https://community.arubanetworks.com/t5/Wireless-Access/Samsung-Captive-Portal-Detection/m-p/405934#M78972
https://lemariva.com/blog/2017/11/white-hacking-wemos-captive-portal-using-micropython
https://github.com/tripflex/captive-portal/blob/master/src/mgos_captive_portal.c
starting line 367
https://socifi-doc.atlassian.net/wiki/spaces/SC/pages/94371841/DNS+Fix+to+keep+Android+Splash+Page+and+the+Captive+Portal+Notification+active

I am testing with a Samsung Galaxy Tab A and an iPhone XS and have no issue with the Galaxy Tab.
If all it takes is registering a few end points then sure I can try doing this. Thanks for the tip from the triplex repo

This is what happens on my samsung device when I connect to the esp:

When I tap on "sign in to the network" I am lead to the captive portal as expected:

@cgfoed any update? I'll close this issue otherwise

my tests so far:
Honor with Android 9 - worked
iPhone XR - worked
iPhone SE - worked
Galaxy S7 with Android 8 - no captive portal
Galaxy S10 with  Android 9 - no captive portal
iPhone XS - worked
ZTE #generic_model with Android 8 - worked
hopefully I can test with an Samsung A40 soon.
Wasn't able to tackle that issue in software so far.
I created a QR-code which links to <IP_ADDRESS> to slap on as a sticker as workaround - which I guess is useful anyway.

no splash screen on Samsung A40.
It connect's and says there is no internet connection - thats it.

 Not sure what to do to test it.  I can change the code to add a 200 OK to http://connectivitycheck.gstatic.com/generate_204; which from the forum links you provided seems to trigger the captive portal.

i'll try any code changes, that you can provide.
I also was briefly thinking about sending you a used device, but sg is quite far away ^^'

I don't know why and I don't know how.
But after much trying and further reading I could solve my problem.
The answer for me was this:
https://github.com/esp8266/Arduino/pull/5529/commits/d5265aa5ac4995b65bce3e29025307cfd7ae0d0f#diff-9978b19703e34e9504dcdda781907935
A simple change to
/** @brief Defines the access point's default IP address. Default: "<IP_ADDRESS> */ #define DEFAULT_AP_IP						"<IP_ADDRESS>"
solved all my issues with all Galaxy Devices I've tested so far.

(Maybe this is worth pointing out in the manual somewhere....)

F**k! The behavior on iPhone and other Andrioid devices is now horrible.
So changing the default AP IP is not the solution for my problem here. But maybe I'll figure something out now.

In my samsung edge s7 no page "splash" too.
I install de lib today(01/09/2020).

This issue should be open.

It work with Android 10 (Huawei)  , but android 9 not (LG K20).. any ide, why? :(
No captive portal.. if I use http://<IP_ADDRESS> (default ip address) only wait, wait, wait...
But have any data traffic:
I (34550) dns_server: Replying to DNS request for www.google.com from <IP_ADDRESS>
I (37410) dns_server: Replying to DNS request for alt7-mtalk.google.com from <IP_ADDRESS>
I (37420) dns_server: Replying to DNS request for connectivitycheck.gstatic.com from <IP_ADDRESS>
:(

i use IP like <IP_ADDRESS> and its functional for mi in Samsung devices. I tested in Note8 Android 8.1
i use this configuration and work for me. https://github.com/Qu35t64/CaptivePortal

i use IP like <IP_ADDRESS> and its functional for mi in Samsung devices. I tested in Note8 Android 8.1
i use this configuration and work for me. https://github.com/Qu35t64/CaptivePortal

But does it still work for iOS and other Android devices?

i use IP like <IP_ADDRESS> and its functional for mi in Samsung devices. I tested in Note8 Android 8.1
i use this configuration and work for me. https://github.com/Qu35t64/CaptivePortal

But does it still work for iOS and other Android devices?

yes, its work

Hello Guys...
I have made a captive portal using apache2 server....
I am not able to see the spash screen on samsung devices..only.
I have tried everything that you all have discussed....
But no use.....
Can anyone please guide me what should i do...to get it working on samsung devices...
PLEASE.....

i use IP like <IP_ADDRESS> and its functional for mi in Samsung devices. I tested in Note8 Android 8.1
i use this configuration and work for me. https://github.com/Qu35t64/CaptivePortal

But does it still work for iOS and other Android devices?

yes, its work

It is not working.....
Can you please suggest anything else......


Shared configuration (tasks/settings)

I have a suite of projects that I'd like to have a shared configuration (e.g. all the repos at my company).
Currently we have duplicate .vscode/settings.json files, and several common .vscode/tasks.json tasks. Some projects have additional tasks defined beyond the common ones.

I'm unsure what the right approach to take here is. I'd love some input

Can extensions apply user settings, or define tasks/problem matchers? The docs don't seem to indicate that.
Can a project declare a VS Code extension as a dependency? (seems unlikely, but hey :P)
We're toying with the idea of a common package with a postinstall script that symlinks the configuration in (and just over-defining tasks) - but it's pretty ugly.

We have gaps when it comes to managing many projects and sharing among them and the answer to your question is currently not supported, sorry, but we have it on the backlog to improve this.
Are your tasks/problem matchers mostly for supporting build tasks for a particular language?
Having support for workspace - extension dependencies is on our radar.
When it comes to sharing across projects you can consider something similar as we do for extensions. A yeoman generator generates the initial setup and shared tooling code comes from a node module in our case the vscode node module.

Are your tasks/problem matchers mostly for supporting build tasks for a particular language?

Yeah - currently we've got ESLint, TAP problem matchers - the thing is that we're running them via a custom gulp task that wraps each task and only runs a subset of checks at a time.  It necessitates somewhat heavy watching.beginsPattern/watching.endsPattern and other settings.
(using off the shelf problem matchers doesn't save much)

Having support for workspace - extension dependencies is on our radar

Awesome!

What isTAP?
CC @dbaeumer
Currently you cannot contribute problem matchers through an extension, so if the problem matchers are generally useful we could add them to set. Could you consider a PR?

TAP is a test runner. ava is what I'm using now. 👍 , over mocha

[Addressed in new terminal runner]
This will largely be addressed with the new runner. There extension can contribute tasks which makes creating a tasks.json file for standard tasks unnecessary. For example the C# extension can contribute a standard task to compile C# files.
Since 1.10 extensions can also contribute probem patterns and problem matchers.
Since a longer time workspaces can prereq extensions using extension recommendations.

Has this been addressed already? My concern is defining "global" tasks in extensions, but in a broader sense is:

Can extensions apply user settings, or define tasks/problem matchers?

With the May release an extension can defined problem matchers and tasks (problem matchers is already available sine Feb.)

I am not sure if this is the correct issue to post my comment but it seems pretty close.
I am looking for something like what Sublime Text does. In Sublime Text, you can define a "build system" which may be associated with a file extension. The build system is a user-defined shell command. You can then build a file with your build system without having to have a project or workspace set up. However when I try to do the same thing in vscode using "build tasks", I get an error saying "Tasks are only available on a workspace folder". I don't want to have to create/open a workspace folder if I want to build a simple script.
Could you possibly imitate the functionality of Sublime Text?

@kodos84 Please follow https://github.com/Microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions to submit a new feature request.

@kodos84 Did you file the feature request as suggested by @mikelward ? I'm also interested in this functionality, so I'd be grateful if you let me know. Thanks.

@kodos84 thank you

Is there any progress on this?

16 updates from #9664.

Got fed up copying the same files to each workspace, so I've created the following extension:
https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.global-config
Hopefully others might find it useful in the short term...

Yeah, I often create Docker containers for my web projects or for scripting languages like Ruby and so often times I use the same docker commands to run the project-specific Dockerfile and Docker-compose.yml files and so to have a global task that just builds and runs the Docker-compose.yml file or Dockerfile in the project directory would be extremely useful. rather than have to copy virtually identical tasks.json files into each projects .vscode/ folder.

My use case

It would be really useful if it was possible to run tasks from other project folders from within a workspace, i.e. dependency management.
For example, if I have Application and Library as two project folders within a workspace, I would like to be able to tell the Application build task that it "dependsOn" : [ "_Library_":"MyLibBuildTask" ] where _Library_ is the project folder name in the workspace. Something along those lines anyway.
If I have missed something and this is already possible, please let me know how!
Thanks

Global tasks in a task.json file are still on the agenda (to get parity with launch.json). However it is a matter of priorities when they will come.

Has this wish not come true so far?
The easiest way I can think of is to create a command, put it in the environment, perform the copy, and hope to be useful to people.

cwx.cmd
@echo off
cp -i -r D:\\wx\\.vscode %cd%
echo %cd%

I used cmder.

I am having quite a lot of bash/python/scala files which is just a single independant file.
Sublime Text's Build System works perfectly for this purpose, with just a simple Cmd/Ctrl + B to run any file. Making tasks in VScode for every of those files is just annoying.

Definitely, it is necessary as oxygen

My use case is Rust development. I keep copying tasks.json in every crates I'm working on just to have cargo check and cargo test available.

Technically It can be made with VSCode Active Buttons extension (https://github.com/SeunLanLege/vscode-action-buttons.git) since settings.json is a global file. But you will get extra GUI buttons which maybe not cool for some developers.

This is my solution at https://stackoverflow.com/questions/53972802/is-it-possible-to-set-a-task-json-for-all-c-files-in-vscode/58579196#58579196.

I really can't wait for it. Global tasks will be  very useful. I miss this

Maybe it would be a good idea?
https://github.com/microsoft/vscode/issues/38162
If not, maybe something similar?
I think that's a good direction. You can be inspired by this.

A tasks.json next to your user settings.json is now supported! No commands to create this for you yet, but I'll add something. It only supports tasks version 2.0.0 and type shell and process tasks.

A tasks.json next to your user settings.json is now supported! No commands to create this for you yet, but I'll add something. It only supports tasks version 2.0.0 and type shell and process tasks.
@alexr00 is this in:
Version: 1.41.0 (system setup)
Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959
Date: 2019-12-11T18:37:42.077Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.17763

This will be available in the next VS Code Insiders build: https://code.visualstudio.com/insiders/


Conformance Report Generation

The results of an conformance test need to be documented. A formatted document shall be created.
see also #185

A report function has been developed that allows a detailed PDF report to be generated on the result of the conformance test. More information about the test report:
https://github.com/IVCTool/IVCT_Operation/blob/develop/docs/src/IVCT-GettingStarted-Graphical-User-Interface.adoc#create-test-report

is implemented


Comparison with other packages is out of date

https://pypi.python.org/pypi/ConfArgParse is now 1.1.20 vs 1.0.15
https://pypi.python.org/pypi/appsettings is now 0.7 vs 0.5
https://pypi.python.org/pypi/yconf is now 0.3.3 vs 0.3.2

Fixed

The links have changed but the comparison is still out of date, and refers to the old versions.

That section is meant to describe the comparison I did when deciding to implement configargparse as a new project.

If you want to do an up-to-date comparison somewhere, I can link to it from the readme.


Support CleanupTime in Linux server

Hi,
Do you plan backup retention in linux os ?
Regards,
Fab

I believe xp_delete_file has now been added to SQL Server for Linux.
To check if anything else would stop this, I've just tried removing the checks that prevented this from running within DatabaseBackup, run it with @CleanupTime = 168 & it seems to have worked correctly.
I am not sure when exactly xp_delete_file was added though, but I suppose the checks should be changed to instead check whether you are on Linux and on a version before it got added (if we can find when that was).

Thank you @JoshKeegan.
I have added support for cleanup on Linux.
https://ola.hallengren.com/versions.html


Add optional EffectComposer to hecs-plugin-three

Allows a user to add postprocess: true to hecs-plugin-three options, and a composer object will be created that does a simple RenderPass instead of relying on a direct renderer.render:
const world = new World({
  plugins: [
    CorePlugin,
    PhysXPlugin,
    [ ThreePlugin, { postprocess: true } ],
    // ...
  ]
})

// Now you can add postprocessing effects to the `hecs-plugin-three` rendering pipeline
import { OutlinePass } from "three/examples/jsm/postprocessing/OutlinePass";
const { composer, scene, camera } = world.presentation
const outlinePass = new OutlinePass(
      new Vector2(window.innerWidth, window.innerHeight),
      scene,
      camera
    );
outlinePass.visibleEdgeColor.set(0xffffff);
composer.addPass(outlinePass);

This PR depends on #26

Looking for guidance on this--I no longer need it (I decided to drop postprocessing because of its impact on performance), but I think it's still nice to have this flexibility in the future.


Issue: Set doc_content_chars_max with WikipediaLoader

Issue you'd like to raise.
In order to read all the text of wikipedia page, we would need to allow overriding the hard limit of 4000 characters set in WikipediaAPIWrapper
Suggestion:
Just add a new argument to WikipediaLoader named doc_content_chars_max (the very same name that uses WikipediaAPIWrapper under the hood and use it when instancing the client.

This issue was solved in PR https://github.com/langchain-ai/langchain/pull/6645


He connected and the msg didn't get sent, He banned me without rcon login nor having admin level, I've flushed the database few mins before it.

http://prntscr.com/7vcycs

There's no way to get admin level from nowhere in this gamemode (unless it's an edited version ofc). Are you sure he wasn't logged into rcon in anyway (it should announce it on the chat though)? Check your server log for something like this RCON (In-Game): Player #0 (HIS_NAME) has logged in.. Also open admin_command_log.txt and search for his name to see if he used any of the gamemode admin commands.

http://prntscr.com/7vcycs

Someone is just fooling you...this is not possible.

Check OnRconLoginAttempt in bulletproof.pwn

@KHKKhalid I've tested it on my server and it worked, after restarting it it didn't (ayy,lmao)
I've went on another server and tested it and it didn't work.
Still doesn't explain how the player was able to ban us without admin level and how he connected without connect message.

Upload your database, server logs and admin_command_log.txt @ApplePieLife

@KHKKhalid
I've flushed everything after first time he was reported.

I can't help then as well as I couldn't really reproduce anything of what you reported.

@KHKKhalid I wouldn't have reported it if it just happened to them.
that chatlog is mine, I banned the guy and he reconnected and started to ban us.
I thought that ban might be bugged or something but players reported they want unban.
===================
I've tested it on localhost, Started the server tried a false rcon login and it did kick me after 2nd fail try with no level given.
Connected again and restarted the server.
After restert, I tried to rcon login with wrong password, the funny part. It didn't say anything about success rcon login but it did show "Rcon logged in ThatBoyCBUG" on /admins.
So, the the problem got something to do with restart (atleast with me)

What's wrong? Players stay logged into rcon after GMX, that's normal...

@KHKKhalid Why do I keep forgeting this things while testing???
Alright, Walking by that, Compared to the admin_command_log I've sent you @ evolve.
The admin_command_log saved the commands used after restart by me, and it does the same on the log I've sent you, except that player, all his commands simply didn't show up.
returning to first logs, The player still connected without sending a connect message and as you said,

What's wrong? Players stay logged into rcon after GMX, that's normal...

So he had to rcon login again (which he didn't have) and the message of success login weren't sent aswell.
I highly doubt that this is all a combination of a restart bug and lucky player.

Everything seems ridiculous here. You were just trolled by other server admins and players. Prove me wrong with a real evidence (i.e full server logs or a video reproducing the same bug), could you?

Issue will remain open in case of finding anything.


Synthesis failed for google-auth-library-nodejs

Hello! Autosynth couldn't regenerate google-auth-library-nodejs. :broken_heart:
Here's the output from running synth.py:
fg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
renovate.json
samples/README.md
2020-05-20 05:26:17,164 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

><EMAIL_ADDRESS>prepare /home/kbuilder/.cache/synthtool/google-auth-library-nodejs
> npm run compile

npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

><EMAIL_ADDRESS>precompile /home/kbuilder/.cache/synthtool/google-auth-library-nodejs
> gts clean

version: 12
Removing build ...

><EMAIL_ADDRESS>compile /home/kbuilder/.cache/synthtool/google-auth-library-nodejs
> tsc -p .

test/test.googleauth.ts:1036:7 - error TS7027: Unreachable code detected.

1036       scope.done();
           ~~~~~~~~~~~~~

test/test.googleauth.ts:1061:7 - error TS7027: Unreachable code detected.

1061       scope.done();
           ~~~~~~~~~~~~~

test/test.googleauth.ts:1080:7 - error TS7027: Unreachable code detected.

1080       await auth._checkIsGCE();
           ~~~~~~~~~~~~~~~~~~~~~~~~~

test/test.googleauth.ts:1081:7 - error TS7027: Unreachable code detected.

1081       assert.strictEqual(false, auth.isGCE);
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

test/test.googleauth.ts:1082:7 - error TS7027: Unreachable code detected.

1082       scope.done();
           ~~~~~~~~~~~~~

test/test.jwt.ts:397:7 - error TS7027: Unreachable code detected.

397       done();
          ~~~~~~~

test/test.jwt.ts:443:7 - error TS7027: Unreachable code detected.

443       done();
          ~~~~~~~

test/test.jwt.ts:464:7 - error TS7027: Unreachable code detected.

464       done();
          ~~~~~~~

test/test.oauth2.ts:1071:7 - error TS7027: Unreachable code detected.

1071       scopes[1].done();
           ~~~~~~~~~~~~~~~~~

test/test.oauth2.ts:1087:9 - error TS7027: Unreachable code detected.

1087         scopes[1].done();
             ~~~~~~~~~~~~~~~~~

test/test.oauth2.ts:1088:9 - error TS7027: Unreachable code detected.

1088         done();
             ~~~~~~~

test/test.oauth2.ts:1104:9 - error TS7027: Unreachable code detected.

1104         scopes[1].done();
             ~~~~~~~~~~~~~~~~~

test/test.oauth2.ts:1105:9 - error TS7027: Unreachable code detected.

1105         done();
             ~~~~~~~

Found 13 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>compile: `tsc -p .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/google-auth-library-nodejs/synth.py", line 12, in <module>
    node.install()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'install']' returned non-zero exit status 1.
2020-05-20 05:26:30,068 autosynth [ERROR] > Synthesis failed
2020-05-20 05:26:30,068 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 81a9133 build: do not fail builds on codecov errors (#528) (#957)
2020-05-20 05:26:30,075 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-20 05:26:30,080 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Support custom users in Mesos

The YAML already specifies what user to start each NM as, but the TaskFactory sets the CommandInfo user as "root", and the Scheduler sets the FrameworkInfo user as "" (current user). These should be configurable too, and should not force root.

I have begun working on this.

Initial patch from everpeace at https://github.com/mesos/myriad/pull/52

Resolved by #83


Disabled effects names still appear on items when enchanting

With effects disabled both all effects or individuals set false you still get the disabled names appearing on items.
Can this be fixed?
Setting the percentage to 0 and re-testing FYI.

Hey @SmallSansSerif, thanks for reporting this. Did you retry with setting percentage to 0? I think that is likely the issue.
The enabling/disabling is for the effects to execute, and the chances are for the loot generator. I will make it more clear in the next update to the config/plugin.

Yup, that worked. Thanks for your response. Very cool plugin.

Thank you! I'd really appreciate a review on the Spigot page! :)


time calculation is off 2 min or less

method timeCalculationMethod override takes TimeAdjustment which is package private  with angel MWL

2 min or less, it also depends on which data you compare, Most of the cases I found it releated to ,latitude, longitude, timezone, height for the same city, please try to change and show us some cases


(Android) keyboardDidShow not called when TextInput in Modal

I am trying to listen for keyboard events when clicking on TextInput which is rendered inside Modal window. On iOS this works great, but on Android works only if app is running in simulator. The device I am testing on is Samsung Galaxy S3.
Example which is not working: https://rnplay.org/apps/pHEDsg

React Native version: 0.37
Platform: Android Device

How exactly do I reproduce this problem from your example code? I clicked around but I could not find anything where the behavior seemed wrong.

When I run this code on Samsung Galaxy S3 then alert('keyboard shown from modal'); is not called when clicking on TextInput which is located inside Modal window. On simulator as you can see it works.

update...ReactRootView#onGlobalLayout is not called when running on samsung galaxy s3, therefore there is no chance to trigger event. @lacker any ideas?

Is this only happening on a Samsung Galaxy S3 or can you also repro it on other Android devices?

currently only for s3.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/android-keyboarddidshow-not-called-when-textinput-in-modal


Function does not work as described

Test the following code:
procedure ReadStuffFromRDL()
    var
        InStr: InStream;
        RdlXmlDoc: XmlDocument;
        NsManager: XmlNamespaceManager;
    begin
        report.RdlcLayout(Report::"Order Confirmation", InStr); // I'm using the RDL definition of a report for a realistic scenario
        XmlDocument.ReadFrom(InStr, RdlXmlDoc);
        NsManager.NameTable(RdlXmlDoc.NameTable()); // in this line, i'd expect the NameTable to be transferred from the XMLDoc to the NSManager.
        Doc.SelectNodes('//rd:Selected', NsManager, NodeList);
    end;

This will crash in a manner that the WebClient only shows you the "An Error has occured" Page and you have to use the Event Log to find out that you have this error:
Type: System.Xml.XPath.XPathException
Message: Namespace prefix 'rd' is not defined.

I got these results from this image: microsoft/bcsandbox:ch-ltsc2019 (13.0.27183) runtime 2.3
edit: if you add
NsManager.AddNamespace('rd', 'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner');
after "setting" the NameTable, you get the expected Node returned.

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

ID: 35ef7630-349e-9df7-3692-1e8b46e2570d
Version Independent ID: a2985f22-7746-414a-4c96-17034e0df989
Content: NameTable Method - Business Central
Content Source: dev-itpro/developer/methods-auto/xmldocument/xmldocument-nametable-method.md
Service: dynamics365-business-central
GitHub Login: @solsen
Microsoft Alias: solsen

Hello, please file this issue with your support/partner instead. Thanks.

I represent a partner (I work for one of your gold partners in Switzerland).
I'm reporting a bug. It's either not properly documented or not properly working. I spent 12+ hours researching this for you with try-and-error methods.
When i finally gave up, I build a simple piece of code to replicate my results on your side so you can fix it.
If you like, I will report this bug to any other of your portals but you have to tell me where because I only know of the preview GitHub and this is not preview.


Upgrades

upgraded to twig-bridge 1.2 (and locale 2.0)
added navigation service
fixed templates

Behat tests are still failing, we need to upgrade templates to handle flashbag messaging in proper way

yes, that's right.
On 5 April 2015 at 14:47, Michal Wachowski<EMAIL_ADDRESS>wrote:

Behat tests are still failing, we need to upgrade templates to handle
flashbag messaging in proper way
—
Reply to this email directly or view it on GitHub
https://github.com/vox-project/vox/pull/18#issuecomment-89765161.


Login problem

Hi Prince,
First of all, thanks a lot for the code for transferring attachments from one Jira instance to another.
I am trying to transfer attachments from Server to Datacenter but facing some problem regarding Server Login (Error: Server credentials might be wrong) but I have tried multiple times with correct login details, same error I am getting. May be Jira login module is not working correctly for me.
I am able to login into Server using the below basic login, Could you please release another version of your code which includes the below login, so that it will be useful for all those persons who are facing similar problem.
Thank you so much.
[
from jira import JIRA
jiraOptions = {'server': "http://localhost:8080/"}
jira = JIRA(options=jiraOptions, basic_auth=("user1", "admin"))
for singleIssue in jira.search_issues(jql_str='project = "Test Software Project" and issuetype = Story'):
print('{}: {}:{}'.format(singleIssue.key, singleIssue.fields.summary,
singleIssue.fields.reporter.displayName))
]

Hey @anilkumar23a
I would suggest you add letsencrypt SSL to your localhost instance to get it to work "as is" because the problem here might be that the SSL is not being verified that's why the login fails. I have never tested it on a non HTTPS connection, so I think the problem might be that.
Can you modify the code on the attachment_transfer.py , so it can output the right errors. Change line 118  with the below code then run the request again.
 echo("Please check your server credentials"
        " as it might be wrong with code: {}, and reason {}".format(check.status_code, check.reason))

This way, you can get a better understanding to the error. Let me know what output is returned. I still believe it has to do with the SSL but the error reason would give a much better answer.

Hi Prince,
got the following error..
///
('Please check your server credentials as it might be wrong with code: 404, '
'and reason ')
Process finished with exit code 0
///
Both Source and Target are having SSL and Data Centers they are.
Credentials are also correct.
Please help me get this resolved.
Thanks.

Hey @anilkumar23a what is your direct URL to your Jira installation?
e.g
https://myurl.servers.com/jira

OR
https://myurl.servers.com

OR is it something else. You can find out by placing that URL on a browser and see if it loads to Jira's login page for your server installation.
As the response code is stating 404, it could be that the URL you're attempting to connecting isn't the right one, based on that error context. Can you check that out?

Hi,
Now I tried by jira to the URL.... ( https://myurl.servers.com/jira )
got the following error.
///
Traceback (most recent call last):
File "D:\S2C-main\attachment_transfer.py", line 114, in
begin()
File "D:\S2C-main\attachment_transfer.py", line 56, in begin
PROJECT.get_attachments_on_projects(attachment_folder=folders,
File "C:\Users\anil\AppData\Local\Programs\Python\Python310\lib\site-packages\jiraone\reporting.py", line 372, in get_attachments_on_projects
result_data = json.loads(get_issue.content)
File "C:\Users\anil\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\anil\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\anil\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 3 column 1 (char 4)
Process finished with exit code 1
///

Hey @anilkumar23a
I URL I mentioned was just an example. You should substitute that with your own instance URL and try the instruction I mentioned earlier.

hi,
Finally it got executed, got the following error, can we remove SSL check, so that it would become executable on any kind of instance.
Thanks.

D:\S2C-main>python attachment_transfer.py
Attachment extraction processing
Attachment extraction completed
File extraction completed. Your file is located at D:\S2C-main\Attachments\attachment_data.csv
Attachment from http://XXXXXXXXXX:8080 downloaded

Copying attachments...
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 1040, in validate_conn
conn.connect()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connection.py", line 414, in connect
self.sock = ssl_wrap_socket(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 512, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1070, in _create
self.do_handshake()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1341, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)

That's good. To do that anywhere you see the HTTP method add the argument verify=False to the method e.g.
Line 69 on the script
Line 84 on the script
Line 93 on the script
look = LOGIN.get(endpoint.myself(), verify=False)

fetch = LOGIN.get(attachment, verify=False).content

run = LOGIN.post(endpoint.issue_attachments(keys, query="attachments"), files=payload, verify=False)

Change to above.


Export formatted data from V2 Admin or with linking script

As a developer, I want a way to export data from the tajriba.json file yet.
A script that just formats the data in an easier-to-understand way would be sufficient (and possibly preferred, so that we can include it in testing and in an automatic data extraction pipeline).

NodeID tracks each player in tajriba.json

When we push new code to main, we will probably overwrite the tajriba.json on digitalocean. We might make a check action to see that a hash of the current tajriba.json matches a hash in our raw data dumps list, and if not to get the most recent version and save it in https://github.com/Watts-Lab/deliberation-data-private/raw

id in participant line is the same as createdById in Survey line


[Move] Implemented one-type witness checking

This PR is the second (and last) step towards implementing so called one-time-witness in the form of so called characteristic type. It's a counterpart to https://github.com/MystenLabs/sui/pull/3563 that implemented characteristic type instantiation and validation.
Per review feedback, the assertion is now incorporated into the Sui framework which cause two examples to be removed to the "experimental" section to be refactored at a later time.

Two issues came up when talking with @tnowacki about this PR and it would be nice to get some feedback on them before proceeding (@sblackshear, @damirka, @emmazzz). Please let's NOT discuss HERE if one-time witness type should have store capability and instead let's punt it to another PR if need be.

I initially assumed that we don't want to enforce ALL instances of our Coin to be created with one-time witness (instead of "regular" witness), and both the implementation and the example I wrote reflects that. However, it is totally legit to assume that this is indeed the only sane way to create coins (e.g., why anyone would ever want to create a supply for the same coin twice). There are two ways we can proceed here:

enforce this and modify balance::create_supply to assert that the witness it received is indeed a one-type witness (this will also allow the newly introduced object::is_one_time_witness native function to consume the one-type witness value); the consequence of this is that code such as that in regulated_coin will not work as it both passes witness to balance::create_supply and instantiates it elsewhere in the module which does not satisfy the one-time witness criteria (perhaps it can be rewritten to do so but I am not volunteering to do it...)
do not enforce it and leave the code as is which will allow regulated_coin to work as-is

Some of the naming used here is potentially questionable but I'd rather do the renaming once so it would be good if we agreed on what it should be.

I used the term "characteristic type" as an implementation method of a "one-time witness type" but @tnowacki made a totally reasonable observation that we could simply use one term throughout, and the "one-time witness" is a more common one.
If we keep characteristic type terminology, it seems that my abbreviation into "char_type" caused too much confusion and I will change this either way but would like to know what the final naming scheme should be.

enforce this and modify balance::create_supply to assert that the witness it received is indeed a one-type witness (this will also allow the newly introduced object::is_one_time_witness native function to consume the one-type witness value)

I like this approach--it's hard to imagine a more useful place to leverage this feature than in coin creation + I think figuring out how to refactor RegulatedCoin later is reasonable.

made a totally reasonable observation that we could simply use one term throughout, and the "one-time witness" is a mor

I think minimizing the number of new terms by using "one-time-witness" is a good idea. I understand the distinction you are describing between concept and implementation, but am ok with the conflation here because I think it removes more confusion/complexity than it addds.

Looks good overall! A few questions:

Why does this break pool.move (which is moved to experimental?) That is an important example that we would like to keep working

It is not immediately obvious to me how to rewrite it so that the witness used to instantiate the balance is created in the initializer (which is a prerequisite for having on-time witness) and I assumed it will be much easier for the author (@damirka?), that knows the exact intent behind this example, to figure this out.

Sorry for the delay.
Looking into the issue with RegulatedCoin and Pool. Omg. I know what is wrong and this is really bad.

Okay. I didn't even need to run this code to see where the problem is.
Pool
Pool creates LSP<T, S> token and LSP<T, S> is not a characteristic type. Problem is clear as day - we can't create new coins (LPs, Buckets, any defi really) if we set the limitation in sui::balance.
Regulated Coin
Regulated coin uses Witness for two different purposes:

Creates Balance<T> for RegulatedCoin<T>
Uses T as witness type in method implementations

T can't be characteristic by default -> it has to be used multiple times.
Possible Solution

Use check for type being characteristic only in Coin<T>
Leave the check to developers and don't enforce it anywhere in the system

We need to look more into the issue, cutting off witness-based implementations would be a disaster and so is creating coins / balances for pools / defi apps on the fly. Centralized check is a problem.


11 add consent form

This PR adds a first task that is the consent form. The user must fill in their name and then the submit button enables them to actually go on to the annotation task.
A few things to notice

Note that the user can still skip the consent form because the , prerequisite=True, required=True in the task don't do anything.
Also filling in the name and then deleting in also enables skipping the consent.
I couldn't find the original consent forms from conflab, so I created one with the help of chatgpt

I'll squash merge to keep the history clean and then I'll add the issue number.

@Era-Dorta-TU-Delft you said "Note that the user can still skip the consent form because the , prerequisite=True, required=True in the task don't do anything." . Does that mean that the blocking still doesn't work ? or this is something you fixed ?

I've address all the points


cmd/go: support sending credentials to an insecure GOPROXY

What version of Go are you using (go version)?

→ go version
go version go1.13.4 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
→ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/eliom/Library/Caches/go-build"
GOENV="/Users/eliom/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/eliom/workspace/jfrog-cli-go/gopath"
GOPRIVATE=""
GOPROXY="https://gocenter.io"
GOROOT="/Users/eliom/workspace/go-1.13.4"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/eliom/workspace/go-1.13.4/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/eliom/workspace/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/td/hj3dbxrx6mqf61t14259l2q8_9k8fn/T/go-build358474542=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Set GOPROXY to point to an insecure proxy using basic authentication
Try to fetch a module using go mod download

What did you expect to see?
I expect the module to be download successfully. I understand that, for security reasons, additional steps should be performed to allow the client to communicate with the insecure proxy, but it seems those additional steps are only available for the go get command through the -insecure flag.
We need to fully support insecure proxies for all the go mod commands. We cannot assume that all proxies are production ready specially when working on proxy development. Making all development environments secure is not feasible and we still need to be able to send authenticated requests against it to validate proxy features like user permissions.
What did you see instead?
The command fails since the client refuses to send the credentials to the insecure proxy.

{
	"Path": "github.com/kr/pretty",
	"Version": "v0.1.0",
	"Error"<EMAIL_ADDRESS>refusing to pass credentials to insecure URL: http://admin:%5Bredacted%5D<EMAIL_ADDRESS>}

It's very unlikely we'll make a change here.
Have you seen https://blog.filippo.io/mkcert-valid-https-certificates-for-localhost/ ? That is likely the easier path forward for you.

/cc @FiloSottile @bcmills

We do support insecure proxies as GOPROXY targets. You can use a plain http:// URL for a GOPROXY and it should work fine.
We intentionally do not support sending credentials to insecure proxies. Accidentally dropping the s in the https:// URL should not result in credentials being sent over the network unencrypted.

Your use-case here is for testing a GOPROXY implementation. Tests should ideally be as realistic as possible, and there are important details in the way the go command handles secure URLs beyond just attaching credentials. (For example, we also disallow redirects from https to http URLs so that misconfigured servers won't silently downgrade what the user intended to be a secure connection.)
Ideally, you should test your GOPROXY implementation as an actual HTTPS server, possibly using the mkcert tool that Brad linked above.
That said, if you intentionally want to test the server with unrealistic requests — for example, in order to write tests that users can run without generating or installing certificates — it should be fairly trivial to inject a second proxy between the go command and your GOPROXY implementation. That proxy could accept requests (without credentials) over a plain HTTP connection, and forward those requests along with the testing credentials to the server under development.

(CC @jayconrod)

Please try the second-proxy approach and let us know if that works out.

@bcmills I would not expect it to work by default to prevent the dropped s issue you mentioned, but instead via some additional configuration where we explicitly instruct the client to trust the proxy (like we do with Docker using the insecure-registries property on the daemon.json file).
The use case I have in mind for this requirement is development environment exclusively. I understand there are better solution for test/stage/production environments.
I'll give the workarounds you pointed out a try and let you know about the results.

@bcmills I tried the mkcert approach and it works great. @bradfitz Thank you for sharing the link. I'll make it part of our development environment bootstrap automation and it will solve the problem for us.

Great! Closing the issue, since you have an acceptable workaround and we don't have any other use-cases for this at the moment.

@elioengcomp I face the same issue with you, i need to use a internal proxy like http://user:password@xxx.com:8080 to download the package via go mod.
But I'm not sure how to use mkcert to let things work. Could you please give me a clearly guide?
Thank you!

Hi Mayer,
Basically, you can use mkcert to generate private and public keys to any
domain and install them in a local CA in your machine.
I've just followed this tutorial to get it working:
https://medium.com/@shriramsharma/mkcert-you-changed-my-life-b157466880bf
Best,
Elio
On Wed, Nov 18, 2020 at 8:22 PM Mayer Ma<EMAIL_ADDRESS>wrote:

@elioengcomp https://github.com/elioengcomp I face the same issue with
you, i need to use a internal proxy like http://user:password@xxx.com:8080
to download the package via go mod.
But I'm not sure how to use mkcert to let things work. Could you please
give me a clearly guide?
Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/35975#issuecomment-730120054, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQYW3J55DIUE4YQTI57WS3SQSMQPANCNFSM4JVQWYDQ
.


Placement resizer timing not met with OpenLane tag 2022.09.13 and above

Description
MPW design which met timing till OpenLane tag 2022.09.08. But failed to meet timing OpenLane tag 2022.09.13 and above.
Expected behavior
Fix timing issue.
Environment

Kernel: Linux v3.10.0-1160.49.1.el7.x86_64
Distribution: centos 7
Python: v3.6.8 (OK)
Container Engine: docker v20.10.16 (OK)
OpenLane Git Version: 60f0172cfb39445062dd519749605b50c66e24ef
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

60f0172 2022-09-08T11:55:49+05:30 OpenLane stable tag update 2022.09.05 (#80) - vijayan -  (HEAD -> main, origin/main, origin/HEAD)
2232885 2022-08-31T08:39:40-03:00 Update OpenLane stable tag -> 2022.08.25 (#78) - vijayan -  ()
437eb8e 2022-08-22T17:11:06-03:00 OpenLane tag update to 2022.08.21 (#76) - vijayan -  ()
---
Git Remotes

origin	https://github.com/The-OpenROAD-Project/OpenLane-MPW-CI.git (fetch)
origin	https://github.com/The-OpenROAD-Project/OpenLane-MPW-CI.git (push)

Reproduction Material

MPW CI passed: https://jenkins.openroad.tools/blue/organizations/jenkins/OpenLane-MPW-CI-Public%2Fproduction-large-1/detail/main/31/pipeline/456
Test case 1: Timing met or less TNS
issue_reproducible_pass.zip
MPW CI Failed: https://jenkins.openroad.tools/blue/organizations/jenkins/OpenLane-MPW-CI-Public%2Fproduction-large-1/detail/PR-83/1/pipeline/467
Test case 2: Timing not met
issue_reproducible_fail.zip
Logs

===========================================================================
 report_tns
============================================================================
tns -13.13
tns_report_end
wns_report

===========================================================================
 report_wns
============================================================================
wns -3.83
wns_report_end
worst_slack

===========================================================================
 report_worst_slack -max (Setup)
============================================================================
worst slack -3.83

===========================================================================
 report_worst_slack -min (Hold)
============================================================================
worst slack -0.48
worst_slack_end
clock_skew

The difference iI found is DONT_USE_CELLS list.

@jjcherry56
whether resizer can fix this timing violation or needs update in DONT_USE_CELLS?

Why are we preventing the resizer from using delay cells? Sounds like an Openlane bug to me.

https://github.com/The-OpenROAD-Project/OpenLane/commit/37faafee20ec76a349fb817d7a75ed26d94be904 this commit changes the optimization library list. @antonblanchard

37faafe this commit changes the optimization library list. @antonblanchard

@donn was this change meant to prevent the resizer from using delay buffers?

@antonblanchard where in that commit is the change to the delay buffers?  I'm not seeing it

@maliberty I'm going off the screen shot that @vijayank88 pasted into the bug, where DONT_USE_CELLS now includes sky_fd_sc_hd__dly*
DONT_USE_CELLS is defined as The list of cells to not use during resizer optimizations.

@vijayank88 is which commit do you see the change in DONT_USE_CELLS?

37faafe this commit changes the optimization library list. @antonblanchard

@maliberty

@vijayank88 what line in that commit are you referring to when you say the DONT_USE list changed?

scripts/config/extract_opt_variables.py  and scripts/tcl_commands/all.tcl are updated.
i'm not tested in depth. Just compared two versions resizer logs and found changes wrt. DONT_USE_CELLS
I think @donn can give quick overview on the changes.

@vijayank88 I just tried with 2022.09.16 and I don't see those cells in my dont use list for spm:
set ::env(DONT_USE_CELLS) {sky130_fd_sc_hd__a2111oi_0 sky130_fd_sc_hd__a21boi_0 sky130_fd_sc_hd__and2_0 sky130_fd_sc_hd__buf_16 sky130_fd_sc_hd__clkdlybuf4s15_1 sky130_fd_sc_hd__clkdlybuf4s18_1 sky130_fd_sc_hd__fa_4 sky130_fd_sc_hd__lpflow_bleeder_1 sky130_fd_sc_hd__lpflow_clkbufkapwr_1 sky130_fd_sc_hd__lpflow_clkbufkapwr_16 sky130_fd_sc_hd__lpflow_clkbufkapwr_2 sky130_fd_sc_hd__lpflow_clkbufkapwr_4 sky130_fd_sc_hd__lpflow_clkbufkapwr_8 sky130_fd_sc_hd__lpflow_clkinvkapwr_1 sky130_fd_sc_hd__lpflow_clkinvkapwr_16 sky130_fd_sc_hd__lpflow_clkinvkapwr_2 sky130_fd_sc_hd__lpflow_clkinvkapwr_4 sky130_fd_sc_hd__lpflow_clkinvkapwr_8 sky130_fd_sc_hd__lpflow_decapkapwr_12 sky130_fd_sc_hd__lpflow_decapkapwr_3 sky130_fd_sc_hd__lpflow_decapkapwr_4 sky130_fd_sc_hd__lpflow_decapkapwr_6 sky130_fd_sc_hd__lpflow_decapkapwr_8 sky130_fd_sc_hd__lpflow_inputiso0n_1 sky130_fd_sc_hd__lpflow_inputiso0p_1 sky130_fd_sc_hd__lpflow_inputiso1n_1 sky130_fd_sc_hd__lpflow_inputiso1p_1 sky130_fd_sc_hd__lpflow_inputisolatch_1 sky130_fd_sc_hd__lpflow_isobufsrc_1 sky130_fd_sc_hd__lpflow_isobufsrc_16 sky130_fd_sc_hd__lpflow_isobufsrc_2 sky130_fd_sc_hd__lpflow_isobufsrc_4 sky130_fd_sc_hd__lpflow_isobufsrc_8 sky130_fd_sc_hd__lpflow_isobufsrckapwr_16 sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1 sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2 sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4 sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_4 sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1 sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2 sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4 sky130_fd_sc_hd__mux4_4 sky130_fd_sc_hd__o21ai_0 sky130_fd_sc_hd__o311ai_0 sky130_fd_sc_hd__or2_0 sky130_fd_sc_hd__probe_p_8 sky130_fd_sc_hd__probec_p_8 sky130_fd_sc_hd__xor3_1 sky130_fd_sc_hd__xor3_2 sky130_fd_sc_hd__xor3_4 sky130_fd_sc_hd__xnor3_1 sky130_fd_sc_hd__xnor3_2 sky130_fd_sc_hd__xnor3_4  }

@maliberty
Have you compared my attachment issue_reproducible?

Sorry this one seems to have gotten lost.  Is there still an issue?  I don't see any CI failures.

This MPW design got updated and version2 submitted. No more part of MPW CI regression.


Integration: Zafira report is empty after running Web or Api-Demo-Tests

Tested on: develop branch RC build
ui: 1.16.0.RC1
server: 1.16.0.RC2
Test scenario:
1.Install or update zebrunner ce
2.Set up integration with Reporting
3. Run RegisterOrganization
4.Run  RegisterRepository
4.Run Web-demo-test or Api-demo-Tests
Actual result: Zafira report is empty after running Web-Demo-Test
Expected result : Carina Report , Zafira Report, Full TestNG HTML Report  Should be presented in Web or Api-Demo-Tests
Please see screenshot:

URL: http://<IP_ADDRESS>/api/reporting/api/tests/runs/c2508928-1a53-46f7-a2a7-cd419ecbbf57/export
Content-Type: application/json
Authorization: *****
Sending request to url: http://<IP_ADDRESS>/api/reporting/api/tests/runs/c2508928-1a53-46f7-a2a7-cd419ecbbf57/export
Response Code: HTTP/1.1 500
Success code from [200‥500]

2 issues detected:

new variable name should be provided for s3.env
S3_ENDPOINT=http://minio:9000
->
ZEBRUNNER_AWSS3_ENDPOINT=http://minio:9000

htmlpublisher plugin should be upgraded till 1.25 version

1st part fixed.
2nd fix is dscribed here: https://github.com/zebrunner/jenkins-master/issues/321

Fixed.


Update documentation (dynamic -> keyPath)

Codecov Report

Merging #452 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           master    #452   +/-   ##
======================================
  Coverage    60.4%   60.4%
======================================
  Files          52      52
  Lines        4624    4624
======================================
  Hits         2793    2793
  Misses       1831    1831

Impacted Files
Coverage Δ

Sources/Bond/Shared/NSObject+KVO.swift
88.75% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks! :)

I noticed that 2 methods are not covered by tests (the ones which fail with fatalError) . Maybe this could be done with the help of CwlPreconditionTesting ?


Feature request: Support including the plugin with a theme

What I mean is that I want to bundle this plugin with a theme I'm creating. Including the plugin in functions.php works fine, except the css and js files don't load in the Full Site Editor. I've been tinkering trying to get it to work  but have not been able to come up with a solution.

Any particular reason you want to bundle it with a theme vs using it as an mu-plugin alongside something like Bedrock?
In any case, I'm not sure the best approach for something like this given that we use plugin_dir_url() to handle the asset pathing. I've never tried to bundle a plugin inside of a theme before.


Prevent status text from overflowing, and keep it just one line high.…

… Fixes #199. r=vporof

Coverage remained the same at 42.868% when pulling 94dc6ce11b92fff5264dde01806edca03ead1485 on jsantell:clamp-status-text into 38ebe1d266fda0588a48f110dc2bed372997a024 on mozilla:master.

r+


add a fetch function to the WorldArgs

This is a bit more verbose, and I am open to alternatives.
The WorldArgs from before was a bit implicit in when the next system was triggered to go. It was triggered off of access to entities. This caused issue for me when the first thing I tried was a call that did not use this api.

Nice, thank you!


[Exporter Tool] Updated exporter tool for docker compose and k8s manifests.

Description
Updated exporter tool for docker compose and k8s manifests.
Issues
n/a.
Type of change
List the type of change like below. Please delete options that are not relevant.

[x] Feature Updated (non-breaking change which adds new functionality)

Dependencies
n/a.
Tests
UT.

ready for merge.


docs(translation): 🌐 add Turkish translation for fine_tuning_vit_custom_dataset.ipynb

What does this PR do?
docs(translation): 🌐 add Turkish translation for fine_tuning_vit_custom_dataset.ipynb
cc @merveenoyan

Side note: Before year over may I get HF badge too pretty please 🤗  (I never got accepted) (https://huggingface.co/huggingcooks)


Add Comments

Thanks for your PR, I think having more comments in a package that is about commenting code is a good thing, but could you please:

Add some more information and explain your changes
Explain why you moved the languages to parsers
Keep the indention style
Make the comments compatible to JSDoc
Remove trailing white space


Python MkDocs use old StreamPipes logo

Body
Description
MkDocs still use the old StreamPipes logo (See [1]).
This should be replaced with the new logo.
Mentoring
As this ticket is marked as good first issue: @bossenti or @tenthe are happy to provide help for getting started, just tag one of them if you want to start working on this issue and need some help.
This issue might be a good issue for people who want to get started contributing to StreamPipes.
[1] https://github.com/apache/streampipes/blob/dev/streampipes-client-python/mkdocs.yml
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

hey, i am new to open source and i want to start my journey in open source project.
I would like to work on this issue,can you guide me to this issue.

Hi @Pranjul2002 and welcome!
The following steps would be needed:

The correct white logo can be found at https://github.com/apache/streampipes/blob/dev/ui/deployment/dev/img/logo-navigation.png
Fork the website project from https://github.com/apache/streampipes-website
In the website repo, replace the old logo with the new logo under https://github.com/apache/streampipes-website/tree/dev/website/img (sp-logo-white-right)
Create your first PR in StreamPipes ;-)

Please ask if you have any further questions!

so basically i have to replace logo under https://github.com/apache/streampipes-website/tree/dev/website/img with new one.

Hey @bossenti, I think I can fix this issue. Can I start working on it now?

@parthsali sure, that would be great 👍

I changed the logo, but It is not visible as the background is also white. What should I do @bossenti?

Then you replaced probably the wrong one ;)
This one needs to be updated/replaced: https://github.com/apache/streampipes-website/blob/dev/website/img/sp-logo-white-right.png

The correct logo is white, right? and the background color of the navbar is also white. That's why it is not visible.

Yes, I understood the issue.
But you probably replaced the file sp-logo-color.png right?
This should stay as it is, because this is the right and current logo of StreamPipes in colors.
The only one that needs to updated is the white version of the logo (sp-logo-white-right.png).
The one at https://github.com/apache/streampipes-website/tree/dev/website/img  still uses the old icon.
The white version of the logo is used in the docs of our Python client as described above.

My apologies, I just messed up  : (

hey @bossenti, The PR has been sent and the old logo has been replaced with the new one. Please check if is it correct.


build: allow control over the Windows arches to build

This allows the user to specify the architectures that they would want
to build for Windows.  If it is not specified, then all known variants
(ARM and x86 32-bit and 64-bit) will be built.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test and merge


CP-12240: Question about Prim spanning tree algorithm

From unknown CodePlex user on Monday, 29 December 2008 06:39:11
Hello,
I tried to call PrimMinimumSpanningTreeAlgorithm for simple input and I got wrong results. So this is my input:
AdjacencyGraph<TVertex,TEdge> adjency_graph with edges (1,2), (3,2),(3,4),(1,4) and all weights are equal to 1.
I use the following code to call PrimMinimumSpanningTreeAlgorithm:

IDictionary<TEdge, double> weights = new Dictionary<TEdge, double>();
IEnumerable edges = adjency_graph.Edges;
foreach (TEdge edge in edges)
{
weights.Add(edge, 1);
}
UndirectedGraph<TVertex, TEdge> undirectedgraph =
new UndirectedGraph<TVertex, TEdge>();
foreach (TVertex v in adjency_graph.Vertices)
undirectedgraph.AddVertex(v);
foreach (TEdge e1 in adjency_graph.Edges)
if (!undirectedgraph.ContainsEdge(e1.Source, e1.Target))
undirectedgraph.AddEdge(e1);

Then I call PrimMinimumSpanningTreeAlgorithm in debugging mode

Prim_alg =
new PrimMinimumSpanningTreeAlgorithm<TVertex, TEdge>(undirectedgraph, weights);
        Prim_alg.Compute(root);  //root is 1

I see in InternalCompute method that only (1,2) and (1,4) edges give TreeEdge event and it is not sufficient because vertex 3 does   not belong such tree.
I suppose that problem is because you process only edge.Target but not processedge.Source. I tried to improve
code of InternalCompute  as the following (in the cycle):
TVertex second_end;
foreach (var edge in this.VisitedGraph.AdjacentEdges(u))
{
if (cancelManager.IsCancelling)
return;
double edgeWeight = this.EdgeWeights[edge];
//My
if(edge.Target.Equals(u))
{
second_end = edge.Source;
}
else
second_end=edge.Target;
if (
queue.Contains(second_end) &&
edgeWeight < this.minimumWeights[second_end]
)
{
this.minimumWeights[second_end] = edgeWeight;
this.queue.Update(second_end);
this.OnTreeEdge(edge);
}
}

Am I right or I have missed something?
Thank you
Evgeny

Form unknown CodePlex user on Monday, 29 December 2008 11:20:58
Resolved with changeset 29426.

Form unknown CodePlex user on Monday, 29 December 2008 11:21:49
I've totally rewritten Prim. I'm also comparing the results to Kruskal's algorithm to cross verify.


Retained gizmos

What problem does this solve or what need does it fill?
Currently gizmos are global and are rebuilt every frame. This is fine for debugging small scenes. On big scenes, however gizmos can incur a very high performance penalty, making the app unresponsive. A notable example is collider visualization in bevy_rapier and bevy_xpbd. Colliders shapes are static, yet their gizmos are rebuilt every frame and don't use any frustum culling. This is especially bad for static geometry expressed in TriMesh colliders, which can have thousands of faces.
bevy_gizmos can't possibly handle rendering millions of dynamic lines (of which only a fraction are actually visible). Frustum culling in bevy_gizmos won't help, since it would have to run per-line, and not per-entity.
Adding retained gizmos would help with entity-related debug information, like AABBs, colliders, axis, direction vectors, etc, all of which would be needed in a future editor.
What solution would you like?
A retained API for building gizmo meshes:

trait AppendLines or something similar would provide default implementation for all methods from today's Gizmos .
Gizmos would implement AppendLines, so its API won't suffer breaking changes
Gizmo asset for storing retained gizmos, either would implement AppendLines directly, or through some sort of a GizmoBuilder
GpuGizmo would store the GPU vertex buffer for a corresponding Gizmo
All entities with GizmoBundle { gizmo, transform, visibility } would be displayed just like regular gizmos

What alternative(s) have you considered?

Optimizing Gizmos. It isn't clear how, though.
Using a wireframe Mesh for gizmos. This actually sounds good, but an ergonomic API for constructing such meshes should exist (mirroring all the present Gizmos methods)

Previous work

bevy_polyline

Extra considerations

AABB debug rendering should probably be implemented in terms of this retained API, so that frustum culling works.
Preferably there should be batching when drawing the same gizmo asset multiple times

related: #9187

yeah, something resembling wireframes but using gizmos instead of line rendering would be really nice. Since the gizmo line implementation is more performant than wireframes.


PolyMesh vs PolyMeshDetail

I have attached two screenshots. The output of duDebugDrawPolyMesh and duDebugDrawPolyMeshDetail.
Are these expected results?
The detail mesh appears to be accurate:

Versus the non-detail mesh which looks awful:

Hi!  It's hard to say just looking at your screenshots what's going on.  I suspect it may be related to the voxelization size parameters and agent movement settings parameters.


fix:disable code option (#119)

disable code argument with off-only option
added GitHub ci workflow

superseded by PR#116


Fix bootloader break by unwind implementation

Needed to removed a the following startup functions from the unwind call
in order to get the bootloader to work. If the unwind functions are
called before everything has been initialized, the system would crash.

void ResetIsr(void)
void InitDataSection());
void InitBssSection());
void InitFpu());
void __libc_init_array());
void LowLevelInit());

Coverage remained the same at 83.623% when pulling 9dd1954662077b5884291ab7ac142515b8ab750a on fix-unwind-bootloader into<PHONE_NUMBER>ee9ca767510e2141abafc2e45f16d0 on master.


Task gallery: Tap on thumbnail to jump to the developers own server

Problem
I have a web server on localhost where I can inspect what is going on in my ARC solver.
Tapping on a thumbnail and jumping directly to my web server, that will save lots of copy pasting of urls.
Solution
A settings page where you can specify the destination urls to jump to, and the formatting of the url.
http://localhost:1234/inspect?dataset=ARC&task=73251a56

There is now a textfield on the settings page for the callback url.


Better error for missing gems

Example:
/var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find SyslogLogger-2.0 in any of the sources (Bundler::GemNotFound)
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/spec_set.rb:85:in `map!'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/spec_set.rb:85:in `materialize'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/definition.rb:140:in `specs'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/definition.rb:185:in `specs_for'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/definition.rb:174:in `requested_specs'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/environment.rb:18:in `requested_specs'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:13:in `setup'
	from /var/lib/gems/2.2.0/gems/bundler-1.10.5/lib/bundler.rb:127:in `setup'
	from test.rb:2:in `<main>'

This happened on a call to Bundler.setup on a project where I hadn't run bundle install yet.
Improve this to indicate that the user might need to run bundle install instead of dumping a backtrace.

@andremedeiros I believe we purposefully don't use friendly errors in setup?

Maybe we should just raise it, seen as it's not a CLI utilisation. Not 100% sure.

Yeah, I think it's correct the way it is.

My bad.


Support extras in logging handler

When a user passes extras into a log statement, those extras
don't show up in the rich logging handler.
log.info("Message", extra={"foo": "bar"})

Now, there's a conditional option include_extra which
will tell the RichHandler to include the extras on the
next lines of the message as a Pretty object
Type of changes

[ ] Bug fix
[x] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[x] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Please describe your changes here. If this fixes a bug, please link to the issue, if possible.

This is not something that the extra dict is typically used for, AFAIK. But I can see why you would want to pass in something to pretty print.
I'm not keen on the filtering out reserved words. What I would accept is a single key that accepts a Rich renderable. There's less change of a key overlapping with something in the futures. Perhaps something like this:
log.debug("Result", extra={"rich.print": results_table})

when building an application that writes to logstash, there's a couple of libraries out there that support logging to JSON and use the extra arg to store additional keys outside the scope of message that can be indexed in logstash.
this is one of the more popular ones: https://github.com/madzak/python-json-logger
when doing local development, reading JSON is really challenging, so it would be ideal to use rich's logging handler, but it's missing the valuable extra args.  I'm filtering out the reserved words because they're not actually a part of extra, but the LogRecord object doesn't differentiate between standard attributes and the extra one.  Presumably, if someone wanted to include some of the reserved attributes, they'd use the a log fmt that was more descriptive than just %(message)s.
If all of the above isn't convincing though, would you be open to a include / exclude list of LogRecord attributes to include?

Setting the entire extra to your JSON is a bad idea precisely because of this mushing of namespaces together. There's no way to know wether your keys were part of the JSON or intended as part of the log message.
Logging is way to dynamic to simply keep a include / exclude list. You may not have any control about what other handlers are in use when your code is in production.
The only way to be confident your JSON keys don't trample on something else would be to pick one key and put your data in that. It's slightly more verbose, but hardly that bad.
log.debug("Result", extras={"print", my_json})


Access resources as objects instead of strings

Is there a way to access resource strings using object properties / keys instead of passing strings?
I've tried to get access to the resource bundle, but the variable is private, so I cannot even iterate to obtain list of keys.
This would make the code more readable, better syntax, and color coding in my text editor would be able to differentiate from regular strings in the code.
How I use today:
    var resourcePath = 'Document.Create';

    locale.getString(resourcePath + '.New');

How I would like to use:
    var resDocCreate = locale.keys('Document.Create');

    locale.getString(resDocCreate.New);

Yes I think this is possible, however, you will still need to wrap the getString in a ready promise block, will that be fine?

Perhaps that wouldn't be needed. I intend to declare the variable in my controller initialization, and use locale.getString only on error messages and other stuff, which should give enough time to load all resources.
Me and a team member, @thiagoalves, were looking at promises and thread locking as a solution to another issue.
The idea is to either prevent page being shown while resources are not ready, or locking the thread once we call getString but the resource is not yet available.
This way I wouldn't need to worry about ready promise, also making the code cleaner.
Does that make sense?

@renatoch if you want to prevent the page from loading, you can utilize locale.ready() which returns a promise. It's fully compatible with ui-router and ng-router resolves out-of-the-box.
The only caveat is that you will have to manually maintain the list of all possible resource files that must be loaded for any route.
For example:
resolve: {
  langs: function (locale) {
    return locale.ready([
      'hello',
      'world'
    ]);
  }
}

will block route changes until both hello.lang.json and world.lang.json have been loaded successfully.

Thanks for the info!
Em 01/06/2015 14:28, "Rahul Doshi"<EMAIL_ADDRESS>escreveu:

@renatoch https://github.com/renatoch if you want to prevent the page
from loading, you can utilize locale.ready() which returns a promise.
It's fully compatible with ui-router and ng-router resolves out-of-the-box.
The only caveat is that you will have to manually maintain the list of all
possible resource files that must be loaded for any route.
For example:
resolve: {
langs: function (locale) {
return locale.ready([
'hello',
'world'
]);
}
}
will block route changes until both hello.lang.json and world.lang.json
have been loaded successfully.
—
Reply to this email directly or view it on GitHub
https://github.com/doshprompt/angular-localization/issues/49#issuecomment-107646207
.

I've implemented a getBundle() method to allow me to use angular-localization to load a complete bundle into another package which has its own i18n system. This might also cover the request here?
To use, you need to call -:
ready("bundle").then(function(o) {
  localised_bundle = o;
})

You can now listen on localeEvents.resourceUpdates which will include the bundle


Support stable Rust

This PR upgrades the code to stable Rust, futures to 0.3. It also contains the port from surf to reqwest and from futures-executor to tokio. This provides for much better performance and less dependency on C code.

Thanks a lot for this great PR!


Implement -D and -DD for debug step by step verification

First level confirm every step. Print step, affected projects and „press enter to confirm“ also i for inspect. s for skip, c for cancel.
Second level to confirm every cmd execution.

Done
Use -C and -CCMD and -CC to cleanup


deployment to heroku?

Has anyone ever deployed to heroku using react-app-rewired? I've tried countless things to get this working with heroku. I'm using .env file with NODE_PATH to resolve absolute paths in my files. I already setup the environment variable on heroku using config:set.  I've even tried switching to relative paths, I always get the remote: Module not found: Error: Can't resolve  response.
I can deploy using vanilla create-react-app fine, with NODE_PATH. But I'm not completely sure that NODE_PATH is the issue. I tried importing relative modules too and still get the issue.
Also, I'm using the heroku create-react-app buildpack. I'm just running out of options. Naming is correct case, etc. Any ideas would be helpful.
Thanks
UPDATE
I have gotten it to work, but I had to remove certain files that for some reason can not be found. I have changed the case, changed the name, checked the import / export, checked the text encoding. I have no earthly idea now why 1 file is not found when building on heroku.  Can it be the node version? I have 7.7.3 locally but the build pack  is using 6.11.3.
remote: -----> Build succeeded!
remote: =====> Downloading Buildpack: https://github.com/mars/create-react-app-inner-buildpack.git
remote: =====> Detected Framework: React.js (create-react-app)
remote:        Writing `static.json` to support create-react-app
remote:        Enabling runtime environment variables
remote:
remote: ><EMAIL_ADDRESS>build /tmp/build_9b38b40c7f122dd59658b53adef2fe32
remote: > react-app-rewired build
remote:
remote: Creating an optimized production build...
remote: Failed to compile.
remote:
remote: Module not found: Error: Can't resolve 'views/pages/Profile' in '/tmp/build_9b38b40c7f122dd59658b53adef2fe32/src'
remote:
remote:
remote:
remote: npm ERR! Linux 3.13.0-128-generic
remote: npm ERR! argv "/tmp/build_9b38b40c7f122dd59658b53adef2fe32/.heroku/node/bin/node" "/tmp/build_9b38b40c7f122dd59658b53adef2fe32/.heroku/node/bin/npm" "run" "build"
remote: npm ERR! node v6.11.3
remote: npm ERR! npm  v3.10.10
remote: npm ERR! code ELIFECYCLE
remote: npm ERR<EMAIL_ADDRESS>build: `react-app-rewired build`
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the<EMAIL_ADDRESS>build script 'react-app-rewired build'.
remote: npm ERR! Make sure you have the latest version of node.js and npm installed.
remote: npm ERR! If you do, this is most likely a problem with the marketplace-front package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR!     react-app-rewired build
remote: npm ERR! You can get information on how to open an issue for this project with:
remote: npm ERR!     npm bugs marketplace-front
remote: npm ERR! Or if that isn't available, you can get their info via:
remote: npm ERR!     npm owner ls marketplace-front
remote: npm ERR! There is likely additional logging output above.
remote:
remote: npm ERR! Please include the following file with any support request:
remote: npm ERR!     /tmp/build_9b38b40c7f122dd59658b53adef2fe32/npm-debug.log
remote:  !     Push rejected, failed to compile React.js (create-react-app) multi app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !	Push rejected to marketplace-front.
remote:

UGH!!! FWIW it was a case change in a path. Git does not update update based on case changes. So FYI start there. My local path casing was correct, but the git repo casing was not. So when deploying it was seeing the casing as lower case and therefore incorrect.


Idea how to reproduce Yii 2.0 container behavior

Explaining short and rough but I hope you'll catch the idea.
\yii\di\Container class could be extended with $isSingleton property (better name is welcome).
When isSingleton=true then container will work as is in this implementation and return same instance for same ID.
When isSingleton=false then container will work as factory and create new instance every time for same ID.
Then it is possible to create singleton container having non-singleton container as its parent.
So former definitions config goes to non-singleton container and singletons config goes to singleton container. Then this singleton container can be used in Yii::createObject function to reproduce Yii 2.0 behavior: it will return singleton when found and create new object according to non-singleton definition otherwise.

Nope. Won't be enough as for factory it's crucial to be able to initialize objects on calling get().

Sorry. I didn't get() you ;)
Could you please explain a bit.

There are parameters for the instance to be created passed in runtime: https://github.com/yiisoft/yii2/blob/master/framework/BaseYii.php#L349
But there's no way to pass params in container: https://github.com/yiisoft/di/blob/master/src/Container.php#L100
That's because https://github.com/yiisoft/di/issues/22#issuecomment-369869387

There are several options to pass params:

second parameter for get(), PSR doesn't prohibit it.
separate function to create object with params build() or create()
passing options in first parameter:
3a. as array:

$obj = $container->get([
    '__class' => \my\service::class,
    '__constructor()' => [],
    'prop1'  => 'v1',
]);

3b. as object (please see https://github.com/container-interop/container-interop/issues/6#issuecomment-33132151)
$obj = $container->get(new ContainerRequest([
    '__class' => \my\service::class,
    '__constructor()' => [],
    'prop1'  => 'v1',
]));

or
$obj = $container->get(new ContainerRequest(\my\service::class, [
    '__constructor()' => [],
    'prop1'  => 'v1',
]));

What I want to say that ideas and implementation in this repository is already good enough for DI container.
But this code could be reused to get more.
The code could be refactored as generic object factory and Container on top of it.

PSR doesn't prohibit it, but it also states that container should not be used as service locator (that's what you do when you call get() explicitly).

Ok. My idea is to let the Container be as clean and pure as you prefer.
But let object creating code be reused in the way we got used to in yii 2.0

But let object creating code be reused in the way we got used to in yii 2.0

Means allowing direct usage of container as service locator?

Means allowing direct usage of container as service locator?

Yes. And even as factory. Why not?
Compare:
class Foo {
    public function __construct(BarFactory $factory)
    {
        $bar = $factory->create(['some' => 'config']);
    }
}

class Foo {
    /// GenericFactory is something sharing code with Container

    public function __construct(GenericFactory $factory)
    {
        $bar = $factory->create([
            '__class' => Bar::class,
            'some' => 'config',
        ]);
    }
}

https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-11-container.md#13-recommended-usage

Aha. This variant makes sense. How would you implement it?

Everything concerning generic object creation from config could be moved to class named like GenericFactory. Actually it's going to be very same to current Container with only difference - flag sameEveryTime (better names are welcome) telling if we want new object or the same every time.
Class hierarchy like this:

GenericFactory

Container (sameEveryTime = true)
Factory (sameEveryTime = false)

Factory config can be put into the Container config like this:
$container = new \yii\di\Container([
    EngineInterface::class => EngineMarkOne::class,
    \yii\di\Container::class => function ($container) {
	return $container;
    },
    \yii\di\Factory::class => [
	/// I would add Reference::to() - looks nice :)
	'parent' => \yii\di\Reference::to(\yii\di\Container::class),
	'definitions' => [
	    \my\widget::class => [
		'some' => 'config',
	    ],
	],
    ],
]);

In this configuration GenericFactory will work almost the same as yii 2.0 container but will look for non-singletons definitions first and then singletons.

With this inheritance tree how would you prevent Container having $options available in get() method?

GenericFactory should have create or build method with params and get without params.

Also please consider 3b option mentioned earlier.

I can make PR on weekend. We'll see how it goes.

OK

I do not think we should have a factory that extends our container or depends on it.
Instead we should implement a factory that:

Uses DependencyResolverInterface for dependency resolution.
Uses any PSR11 container to get those dependencies if possible.
Falls back to creating the dependencies itself if the container doesn't have all definitions.

This is a recursive process where we try to get a (nested) dependency from the container first, but if that fails we try to instantiate it.
This factory is not PSR11 compliant so we should not implement that interface. This also allows us to change the signature however we want and use it in core.
If developers than want to use another PSR-11 implementation we just use that and our factory still works.
Only downside is that yii/core will have a hard requirement on yii/di, but since this library is small I don't see that as an issue.

OK. How about having the factory as part of the core then?

I'm working on it in DI for now, we'll see where we put it:blush:


"Use admin priviledges" not working: setup.use_admin=true but GUI says it's disabled

Describe the bug
I'm trying out the trial of OrbStack for our organisation. I'm in need of OrbStack to setup the docker.sock symlink in /var/run but I'm having problems getting it to do so.
To Reproduce

I'm running OrbStack under a Standard account. Due to security policies, we have separate Administrator accounts we elevate to when necessary (e.g. with the standard macOS elevation prompt)
The settings UI shows the 'use admin features' box as unticked and there's no way for me to enable it.
The filesystem shows that /var/run/docker.sock is still a symlink for Docker Desktop's location (/Users/liam.jones/.docker/run/docker.sock). Docker desktop is exited, the target of the symlink doesn't exist.
orb config show says use_admin is enabled even though the UI says otherwise
I've tried restarting the OrbStack GUI and using orb stop/start, no change. I've read in other tickets that the orb start should (or used to?) result in an admin elevation prompt but I'm not seeing one

Expected behavior
setup.use_admin works under a Standard account by prompting for privilege elevation.
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.7.5
Commit: 82ec89be256fec62e3236f71eea94263bfcffe17 (v1.7.5)
System info:
macOS: 14.7 (23H124)
CPU: amd64, 16 cores
CPU model: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Model: MacBookPro16,1
Memory: 32 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-10-25T10-01-42.219743Z.zip

Screenshots and additional context (optional)

We currently only allow the usage of the admin features when OrbStack itself is running under an admin account.

@kdrag0n I noticed the new version now had an Admin elevation prompt for Standard users, thank you for the quick update! ❤


NWS ids mixed up for HiMesonet stations

The NWS.id (00#HI) corresponding to the MADIS ids for the HI mesonet stations seem to be mixed up. The station names and NWS.id columns don't match with what's on Tom's website.
Summit 153 is also missing an NWS.id, should be 003HI

This is finally fixed I think.


No 'direct input' gamepad support

I guess the app assumes the gamepad is xbox controller or something similar, but d-input is a very common on android and it would be nice if we could use those controllers as well...

Can you give me more info? What is direct input?


relay logic ifndef

this will allow firmware like KINCONY to use build flags in invert relay logic and have everything function normally and in the same manor as existing firmware with minimal changes required to accomplish it's task.

Just need to update the docs for this IO Handler library, to indicate you can set these relay constants.

ah, good point


Device request shenzhen typ ZTH01 TEMP/HUM

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device.

Device Information

Device Name: Provide the name of the device
Device Model: Provide the model number or identifier
Device Description: Describe in short the functionality of the device
Link to device image: Provide the URL to an image/photo of the device

Device Interview
{
    ["Paste the device interview information here"]
}

Additional Comments:

Note: Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help

How to interview a device

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

Hi @Jano1960, this is supported by the test version of the app.
https://homey.app/en-gb/app/com.tuya.zigbee/Tuya-Zigbee/test/

Thank you very much.
It works
Greetings
Jan Oskam
Verzonden vanaf Outlook voor Androidhttps://aka.ms/AAb9ysg

From: Johan Bendz @.>
Sent: Tuesday, September 10, 2024 9:35:43 PM
To: JohanBendz/com.tuya.zigbee @.>
Cc: Jano1960 @.>; Mention @.>
Subject: Re: [JohanBendz/com.tuya.zigbee] Device request shenzhen typ ZTH01 TEMP/HUM (Issue #937)
Hi @Jano1960https://github.com/Jano1960, this is supported by the test version of the app.
https://homey.app/en-gb/app/com.tuya.zigbee/Tuya-Zigbee/test/
—
Reply to this email directly, view it on GitHubhttps://github.com/JohanBendz/com.tuya.zigbee/issues/937#issuecomment-2341866427, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLEVOPTEHMCAEWXWEQ7KUELZV5CY7AVCNFSM6AAAAABN4R2ZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRHA3DMNBSG4.
You are receiving this because you were mentioned.Message ID: @.***>


Add link to pure JS implementation repo to readme

Hey, I really like the project!
I couldn't find a vanilla JS version, only the TypeScript one, so I ported the TypeScript implementation to vanilla JS and added a helper function here and there.
The repo: https://github.com/Dens49/blurhash-js
If my repo holds up to your standards, you might want to consider adding a link to it to your Readme. I'm sure there are more people looking for a vanilla JS version.

Make a PR with the link.


Provide direct link to https://sorbet.org/docs/self-type from error

I just hit this issue myself, and had to dig around for the quick fix. I think it would be helpful to include a possible solution solution here.

Thanks!


Unhandled Exception: Invalid argument(s): Failed to lookup symbol (127)

I've upgraded my flutter project to null-safety and after I wanted to run it, I ran into following issue:
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol (127)
#0      DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:31:29)
#1      bitsdojoWindowAPI
package:bitsdojo_window_windows/src/native_api.dart:66
#2      bitsdojoWindowAPI (package:bitsdojo_window_windows/src/native_api.dart)
package:bitsdojo_window_windows/src/native_api.dart:1
#3      _publicAPI
package:bitsdojo_window_windows/src/native_api.dart:69
#4      _publicAPI (package:bitsdojo_window_windows/src/native_api.dart)
package:bitsdojo_window_windows/src/native_api.dart:1
#5      _setWindowCanBeShown
package:bitsdojo_window_windows/src/native_api.dart:29
#6      _setWindowCanBeShown (package:bitsdojo_window_windows/src/native_api.dart)
package:bitsdojo_window_windows/src/native_api.dart:1
#7      setWindowCanBeShown
package:bitsdojo_window_windows/src/native_api.dart:30
#8      BitsdojoWindowWindows.doWhenWindowReady.<anonymous closure>
package:bitsdojo_window_windows/src/bitsdojo_window_windows_real.dart:19
#9      _rootRunUnary (dart:async/zone.dart:1362:47)

which is causing the window to not appear. I can only fix it, completly removing bitsdojo_window from my project.

Do you have a minimal repository that I can try to debug this?


[incubator/jaeger] No way to alter default remote sampler configuration

Is this a request for help?: Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST
Version of Helm and Kubernetes:
Helm 2.8.2
Kubernetes v1.10.3
Which chart:
incubator/jaeger
What happened:
The agent-sampling port on the jaeger-agent service returns the following default configuration:
{"strategyType":0,"probabilisticSampling":{"samplingRate":0.001}}

I can't find a way to change this when installing Jaeger through Helm.
What you expected to happen:
Jaeger allows the sampler configuration to be controlled centrally using the option
--sampling.strategies-file
https://www.jaegertracing.io/docs/sampling/
I would expect the file to be included as a config map or similar when using the incubator/jaeger chart so that we can edit the contents of this file.
How to reproduce it (as minimally and precisely as possible):
helm install incubator/jaeger -n jaeger

Anything else we need to know:

I can take a look at adding this... seems simple enough.

PR https://github.com/helm/charts/pull/6926
@nickrobertssky if you can give me a hand testing this, I would appreciate it!