script.js not working

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting chardet (from -r requirements.txt (line 1))
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/c
hardet/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/c
hardet/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/c
hardet/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/c
hardet/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/c
hardet/
Could not fetch URL https://pypi.org/simple/chardet/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/chard
et/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement chardet (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for chardet (from -r requirements.txt (line 1))
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Cause
d by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

requirements.txt

Can you send me a link to a git repo that reproduces this issue?

@codejamninja, it is not about my system config or a code base, this ticket about configuration of you libs, your configuration does not check for openssl and do not include python version with sslenabled flag, so, your embedded Pyhon interpreter is not aware of https pip repositories. Any case, send my dxdiag, may be it is some fun thought.
DxDiag.txt

If you can send me an example setup with modules that require openssl, that will help me be able to debug it faster.

@codejamninja ok, this is my setup

@codejamninja here my sample project

https://github.com/hack2root/python-env

@codejamninja error while install pip reqirements

I tried this on my Linux and it worked without giving me an ssl error. What operating system are you running this on?

So, on Windows I am using Anaconda Python under the hood. Apparently, the problem is that Anaconda Python ships with its own SSL libraries and does not use the system SSL libraries when compiling the Python ssl module.
https://stackoverflow.com/questions/45908938/python-cant-connect-to-https-url-because-the-ssl-module-is-not-available
I'm not exactly sure what the best approach to load the ssl module into Anaconda Python is. Technically, I'm installing Anaconda Python and using it to create a virtualenv. This is due to Windows terrible support for python.
One possible suggestion would be to try using python2.
npm install --save python-env@python2

If you can figure out how to load the ssl module, let me know and I will add it into the code.

If you can figure out how to load the ssl module, let me know and I will add it into the code.

i fugured out that if i simply replace python-env binaries with standart python3 binaries, ssl libraries start to work, try it out under windows, this is a desired behavior, because standart python build with ssl support, and your anaconda version deployed as standalone ("portable") Python, isn't. yes, it just because i rely on ("portable") version, and not OS dependent, i have failed, supposy you have to report anaconda or, precisely mincona, to ship windows version with -ssl enabled option while pre-build python libraries, for windows users


Social links are not shown in Chrome

Here's a comparison of my blog in Chrome (top) and Safari (bottom):

The links are shown in FireFox as well. I'm using the latest version of pixyll from the gh-pages-branch but I've seen the same behavior on the revamp-css-branch.

Thanks for reporting this.
Are you running the same site locally as what's located here?: http://andersnissen.com/blog/ As I'm able to see the icons with the latest Chrome there.

You are absolutely right. Apparently it's my ublock (https://github.com/gorhill/uBlock) Chrome extension that's blocking the social icons. Too aggressively I'd say, but it's not pixyll's fault.
Thanks for this beautiful theme. Keep up the good work :+1:

Glad it's resolved! :)


Update to latest pipeline version and deps

pin client-go
make sure we test the RunGit without the gitconfig from dev environement.

Changes

Submitter Checklist

[ ] ♽  Run make test lint before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

/retest


Support of OpenServiceBroker feature "binding_rotatable" in the ServiceCatalog

in the OpenServiceBroker spec it is possible to rotate a binding as describe here:
https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#binding-rotation
This feature is mandatory if we want to rotate an secret without a new deployment and restart of existing pods.
As far as I understood the existing binding is updated with the new binding information. In this case k8s updates the mounted secret within existing pods without restart. This feature is requested in the past in the ticket: https://github.com/kubernetes-sigs/service-catalog/issues/1815
Is there any backlog or plans to support this OSB specification part as well?

Hi @freegroup,
The support for binding rotation hasn't been yet finalised, and may become a new feature as part of the upcoming OSBAPI release. We will implement it as part of the new OSBAPI version implementation if and when it does.

thanks for your feedback. Unfortunately I'm unable get a schedule for this feature....
I think I write my own operator to rotate the credentials in the meanwhile.

@freegroup Can we close this issue?

@freegroup Can we close this issue?


Forbidden and Captcha errors with using update_settings [ver 3.3.0]

I'm creating a new bot that updates the sidebar and wikipages of a subreddit.   The bot is a brand new account with no posts or karma.   It has config and wiki privileges to the subs I'm trying to update, but I was getting the same error when it originally had full permissions as well.  I can update the sidebar (both via wiki and settings) and update wiki pages with no issues via browser.
Depending on the authentication used (cookie or oauth) and settings of the sub (private/public) the behavior and errors thrown are different.
Environments tested:

Pycharm - Windows 8 x64 | python 3.4.2 | praw 3.3.0
Red Hat 4.4.6-4 x64 |  Python 3.3.2 | praw 3.3.0

I did manage to find a workaround, it's included at the bottom.

Error Table

Authentication
Sub Setting
Error Raised
Edit Successful

cookie
public
Invalid Captcha
yes

cookie
private
Invalid Captcha
yes

oauth
public
Invalid Captcha
yes

oauth
private
Forbidden
no

For clarity, yes the edit was successful, but it still threw an InvalidCaptcha error.

Test Code:
import praw
import logging

logging.basicConfig(level=logging.DEBUG)

r = praw.Reddit(USERAGENT, disable_warning=True)
# r.set_oauth_app_info(CLIENT_ID, CLIENT_SECRET, REDIRECT_URI)
# r.refresh_access_information(REFRESH_TOKEN)
r.login(USERNAME, PASSWORD, disable_warning=True)

r.update_settings(r.get_subreddit(PRIVATE_SUB), description="test cookie - private")

InvalidCaptcha error:
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): api.reddit.com
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/login/.json HTTP/1.1" 200 None
DEBUG:requests.packages.urllib3.connectionpool:"GET /subreddits/mine/moderator/.json?limit=1024 HTTP/1.1" 200 4654
DEBUG:requests.packages.urllib3.connectionpool:"GET /r/private_sub/about/edit/.json HTTP/1.1" 200 2746
DEBUG:requests.packages.urllib3.connectionpool:"GET /r/private_sub/about/.json HTTP/1.1" 200 3818
:0: UserWarning: Extra settings fields: dict_keys(['key_color', 'suggested_comment_sort'])
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/site_admin/.json HTTP/1.1" 200 None
Traceback (most recent call last):
  File "C:/Users/MyName/PycharmProjects/MyProject/demo.py", line 20, in <module>
    r.update_settings(r.get_subreddit("private_sub"), description="testing-please revert")
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\__init__.py", line 1707, in update_settings
    return self.set_settings(subreddit, **settings)
  File "<decorator-gen-61>", line 2, in set_settings
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\decorators.py", line 268, in wrap
    return function(*args, **kwargs)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\__init__.py", line 1633, in set_settings
    return self.request_json(self.config['site_admin'], data=data)
  File "<decorator-gen-8>", line 2, in request_json
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\decorators.py", line 139, in raise_api_exceptions
    raise error_list[0]
praw.errors.InvalidCaptcha: `care to try these again?` on field `captcha`

Forbidden Error
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): api.reddit.com
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/v1/access_token/ HTTP/1.1" 200 149
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): oauth.reddit.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /api/v1/me.json HTTP/1.1" 200 353
DEBUG:requests.packages.urllib3.connectionpool:"GET /r/private_sub/about/edit/.json HTTP/1.1" 200 2746
DEBUG:requests.packages.urllib3.connectionpool:"GET /r/private_sub/about/.json HTTP/1.1" 403 14
Traceback (most recent call last):
  File "C:/Users/MyName/PycharmProjects/MyProject/demo.py", line 19, in <module>
    r.update_settings(r.get_subreddit("private_sub"), description="test oauth - private")
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\__init__.py", line 1707, in update_settings
    return self.set_settings(subreddit, **settings)
  File "<decorator-gen-61>", line 2, in set_settings
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\decorators.py", line 268, in wrap
    return function(*args, **kwargs)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\__init__.py", line 1598, in set_settings
    data = {'sr': subreddit.fullname,
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\objects.py", line 188, in fullname
    return '%s_%s' % (by_object[self.__class__], self.id)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\objects.py", line 81, in __getattr__
    self._has_fetched = self._populate(None, True)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\objects.py", line 157, in _populate
    json_dict = self._get_json_dict() if fetch else {}
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\objects.py", line 150, in _get_json_dict
    self._info_url, params=params, as_objects=False)
  File "<decorator-gen-8>", line 2, in request_json
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\decorators.py", line 113, in raise_api_exceptions
    return_value = function(*args, **kwargs)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\__init__.py", line 612, in request_json
    retry_on_error=retry_on_error)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\__init__.py", line 445, in _request
    _raise_response_exceptions(response)
  File "C:\Users\MyName\.virtualenvs\MyProject\lib\site-packages\praw\internal.py", line 205, in _raise_response_exceptions
    raise Forbidden(_raw=response)
praw.errors.Forbidden: HTTP error

Workaround
I've been able to successfully edit the sidebar using edit_wiki_page function by pointing it to config/sidebar.

I'm seeing this behavior as well, though I've not verified every combination in the posted table. The config/sidebar edit_wiki_page workaround is working for me as well.

Thanks for the detailed report.

@Praisebetoscience I don't know about the last case, but the first three cases in the table are a reddit bug. See @reddit/reddit#1633

Closing as this is a Reddit bug and there is a workaround.


PublicWebServicesAPI_AND_servercommandScripts/swapCardNumbers.py

Hi,
when execute this script with local server IP and token,it promts "called listUserAccounts(). Return fault is Access denied. Your IP address is not allowed to access the Web Services API."
can you let me know how to fixed...
thanks
qin

please forget it,it is fine now.


Question: Is there a way to disable the sliding animation of the title?

Version
Tell us which versions you are using:

react-native-router-flux v3.37
react-native v0.40

Is there any way to disable the title animation? Ive got some views that animate from the bottom and the sliding title doesnt really fit with this.

take a look at their renderTitle function and remove any animation they apply, then you can pass your custom renderTitle function

@stonepreston: @agarcia17 is correct. I recently looked into doing that very thing. I ended up going into the source code and just removing this code it myself, because using the renderTitle function would mean you'd have to recreate most of what's being done for you by the library. See: https://github.com/aksonov/react-native-router-flux/blob/master/src/NavBar.js#L407-L452

@AndrewHenderson  thanks! unfortunately removing those lines does not seem to have any effect. Ive never edited the node_modules source before. Is there something I need to do in order for the changes to be made? The file has been saved and the changes are there. I added a console.log inside the render title function and it doesnt appear to be getting called. Any ideas?

Realized I needed to re run react-native run-ios to rerun the packager and now its working great! thanks guys

@stonepreston Glad to hear it. Be careful when modifying the node_modules files.
A better solution might be to just copy NavBar.js to your project file directory and reference that file instead. This way your repo owns the file.
Otherwise, if another engineer installed this project on his machine your code changes wouldn't be there since they are not tracked in Git.


 and "edit" doesn't work (blank) in Ionic 2

Short description of the problem:
<ion-icon name="compose"></ion-icon>
<ion-icon name="edit"></ion-icon>

not showing anything
What behavior are you expecting?
Showing icons
Steps to reproduce:
<ion-icon name="compose"></ion-icon>
<ion-icon name="edit"></ion-icon>

Which Ionic Version? 1.x or 2.x
2.0.0-beta.3
Run ionic info from terminal/cmd prompt: (paste output below)
C:\Users\ceefour\git\lumen-trainer\mobile>ionic info
WARN: ionic.config.js has been deprecated, you can remove it.

Your system information:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.21
Ionic App Lib Version: 2.0.0-beta.11
OS:
Node Version: v5.9.0

Hello! Thanks for opening an issue with us! Currently some of the ionicons are missing from the latest Ionic 2 package, and some of them have simply been renamed. The compose icon has been renamed to create, and currently the edit icon is missing. Hope this helps! Also if you would like an easy way to look up all the icons currently in ionic 2 with the updated names you can check them out here: http://ionicframework.com/docs/v2/resources/ionicons/

The resource index is now at:
http://ionicframework.com/docs/v2/ionicons/
But using the latest Ionic 2 I get the facebook logo using name="logo-facebook" and not just "facebook" as the index suggest

It looks like the edit icon is still missing.

It would be useful to get the edit one in, specially we have the final version in.

What is the status on this?

Going to Ionic3, but no edit icon available yet

search for "create" insetad


EDN-Auto Boot Mode

Currently the GEN command that EDN sends to CSRNG defaults to requesting 0xFFF sets of genbits. This is a parameter so can be set at compile time. I'm proposing this be a register value so it can be set without having to recompile. It will allow for verification of auto_boot_mode in a reasonable amount of time and won't require a system reset to interrupt this command.

that sounds good to me.


Overlap of event boxes

It’s in 21st week, view people/kubatova.

This one is in week 20, view rooms/T9:105.


Regex proptype validation ?

Hi.
There is a way to validate regex in a prop ?

Like a prop that’s an actual regex value? Or a string that matches a regex?

Like a prop that’s an actual regex value? Or a string that matches a regex?

I need to pass a mask for mask input, and the mask is an array of regex

The simple but brittle approach is PropTypes.arrayOf(PropTypes.instanceOf(RegExp)).
A more robust approach would use https://npmjs.com/is-regex instead of instanceOf. I suppose we could make a generic predicate propType so you could PropTypes.arrayOf(predicate(isRegex)) or similar?


Fix search URL generation

The search querystring was not being added when running authed requests.
Add query parameters to the URI to force both code paths to be the same.

Thanks for figuring this out, and sorry you had to dig in to ApiClient. It should have just worked!


SIGINT handler doesn't wait for child proc to close, but instead kills it immediately

Bug description
What did you do? (Provide reproduction code in next section)
I have a SIGINT handler that does some disposing and when running with TSX in watch mode, and SIGINT is received, it never waits for the child process to actually close, it just kills it immediately.
What did you expect to happen?
To let SIGINT handler function to fully run and exit if event loop empty or if the handler function calls process.exit().
What happened instead?
It doesn't wait, it just kills the child process immediately, so dispose code never runs fully.
If I comment out line 130 in src/watch/index.ts some/more dispose code runs, but definitely isn't waiting for event loop to finish or process.exit() to be called
Do you have an error stack-trace or screenshots?
Nothing to report in terms of "errors" here.
Reproduction
You can see this with this example code:
import http from 'node:http';

const server = http.createServer();
server.listen(5605);

process.on('SIGINT', async () => {
    console.log('Got SIGINT');

   setTimeout(() => {
      console.log('finished');
   }, 3000);
});

And then run this file with tsx file.ts and trigger a SIGINT through typing Ctrl-C in the terminal.
If you ran this with just node - provided you change it to plain javascript, no typescript extension - it would wait to dispose properly
Environment
System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 AMD Ryzen 7 7700X 8-Core Processor
    Memory: 1018.85 MB / 31.15 GB
  Binaries:
    Node: 19.8.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.5 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    tsx: ^3.12.7 => 3.12.7

Can you work on a fix?

[ ] I’m interested in opening a pull request to address this issue.

My latest commit 7467d2f improves/fixes your use case.
I also needed to modify your example like so
import http from 'node:http';

const server = http.createServer();
server.listen(5605);

process.on('SIGINT', async () => {
    console.log('Got SIGINT');

   setTimeout(() => {
      console.log('finished');
      server.close();
      process.removeAllListeners()
   }, 3000);
});
process.on('SIGTERM', async () => {
    console.log('Got SIGTERM');

   setTimeout(() => {
      console.log('finished');
      server.close();
      process.removeAllListeners()
   }, 1000); // <— adjust this timeout to see how the new watcher behaves
});

console.log("Starting");

In that commit, the watcher will wait up to 5s before force-killing the process. Your process will have 5 seconds to do a graceful cleanup.
Additionally, pressing <enter/return> will not cause the process to be SIGTERM'd like before. This means you can watch processes that do I/O from the command line.
If the child process exists, you can press <enter/return> to rerun, or ctrl-c to quit the watcher.

Would love to see signals fixed!

This was fixed via https://github.com/privatenumber/tsx/pull/395
Also, as of https://github.com/privatenumber/tsx/pull/412, watch mode will allow 5s of cleanup before force killing on reload, and 1s when exiting (Ctrl+C).

@privatenumber Is it possible to change that 5 seconds? Through cli?

@EloB can you file a feature request?
I'm not sure if I understand your use case and I'd like to learn more.
This issue is resolved and closed so I'll be locking it to prevent messages from being missed.


DRAFT: [CI] Format json

Test
With unformatted file, 2401816 Check PR Format failed.
https://github.com/Samsung/ONE-vscode/actions/runs/2027428645
Generated format.patch:
diff --git a/src/Editor/json/tools_attr.json b/src/Editor/json/tools_attr.json
index a0907a5..37f4220 100644
--- a/src/Editor/json/tools_attr.json
+++ b/src/Editor/json/tools_attr.json
@@ -245,7 +245,7 @@
       {
         "attr_name": "fuse_add_with_fully_connected",
         "attr_desc": "fuse Add op to FullyConnected op"
-      }  ,
+      },
       {
         "attr_name": "fuse_batchnorm_with_conv",
         "attr_desc": "fuse BatchNorm op to Convolution op"


Implement alternative data management which is independent of the local database

Currently, file parameters can only be selected from the file system of the server (or uploaded to it).
Implement support for alternative data management that can also communicate with object storages.

A possibility is to implement a RESTful server (called DataManager), that handles file download/serving as well as file import/upload.

A similar approach can be taken as in #44.


Bug: Tailwind compatibility

What happened?
I want to use Tailwind CSS with this wonderful library. I read in your docs  that versions higher than 10 don't support Tailwind, but why??! Tailwind is also wonderful.

Wanda versions >10.6 are no longer compatible with Tailwind CSS.

Version
14
React and ReactDOM version
No response
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct

[X] I've searched across open and closed issues for similiar bug reports

Project assignment

[X] I've assigned Wanda Design System project from the sidebar on the right.

Tailwind CSS was not compliant anymore with our design and implementation choices therefore we stopped supporting it and we are not looking forward to support it in the future.


Move version script fix to shipyard repo.

This issue is to keep track of the task of moving  https://github.com/submariner-io/lighthouse/pull/124 to Shipyard  if that is better. If not this shall be closed.

In general I think we have a plan to use the image release scripts from shipyard also.

This was fixed by https://github.com/submariner-io/lighthouse/pull/127


Can't create two new Uppload without one being overwritten by the other one

Describe the bug
I created two Uppload initializer, one to upload image in a specific part of the website, another one to change the background image.
Then, whenever I click on the button to call the first Uppload or the button to call the second Uppload, it only calls the second one.
To Reproduce
Create 2 const X = new Uppload with the same endpoint
Create 2 X.on fileuploaded to get the fileURL and do something with it
Only the second fileuploaded will execute its code (there are two listeners on it)
Expected behavior
I expeceted one of them to change my background image and the other one to put an image in a specific part of the website.
Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox
Version 69.0.1 64 bits

Additional context
Here is a hastebin of the code (without the 'on error' parts) : https://hastebin.com/umafefanow.js
If I delete one of the new Uppload, only the other one will be called. The Uppload name doesn't change anything, in fact.
Thanks for reading!

Is there a way to specify data in the 'endpoint' configuration to POST normal img or background img in my php script?
endpoint: {             method: "POST",             url: './uploadv2.php',             data: 'bgimage',         },
Something like that, and in my PHP script, I would get it like:
if(isset($_POST['bgimage'])) do something else if(isset($_POST['normalimage'])) do something

This is fixed in Uppload v2. I'll close this issue as soon as v2 is released. Here's an excerpt from the docs:
You can have multiple instances of Uppload on a webpage.
import { Uppload, Local, Fetch, en } from "uppload";

const profilePicture = new Uppload({ lang: en });
profilePicture.use([new Local(), new Fetch("http://localhost:3000/upload")]);

const coverImage = new Uppload({ lang: en });
coverImage.use([new Local(), new Fetch("http://localhost:3000/upload")]);

They no longer rely upon any global objects or classes and all event listeners are scoped to their own instances.

Thanks for the news and the hard work, I've seen the new Github page about Uppload v2 and I'm hyped!
I've managed this case by doing a switch in the on("fileUploaded") listener, it's not that dirty and it's working so it's fine :)

When will be the V2 release?

v2 is ready! You can already npm install uppload@latest and try the beta, and we're going to launch it as soon as I've added some more documentation and i18n languages, which should be days. My plan is by next weekend (Dec 14–15) for the official launch. 😄

I just saw that we could download it but I couldn't get it to work on my project so I stayed with the first version for the moment haha

I just saw that we could download it but I couldn't get it to work on my project so I stayed with the first version for the moment haha

@eltoredo, can you share what went wrong? I'd love to help you and make sure you're able to use v2. Here are some code examples to get you started: https://uppload.js.org/examples

In short, I installed the new version without changing my code. I use the <script src="./node_modules/..."> way to use the file that I need, so I took the index.js one because there wasn't the uppload.min.js one anymore.
Then, I got an error at the first line of the js file saying that imports must be declared at the top level of the document (which is the case). So I tried to use the import way, as in all of your new examples but I get the same error in my own files. I don't use any import in my tool.
Then, Uppload is not defined but I guess that it's because the basic implementation didn't work.
What do you think?

With Uppload v1, you could just CDN-load and get started, because we set a window.Uppload object. However, we don't do this in v2 because you get to build your own bundle based on the features you want to keep. This is why you cannot just use <script src= to load Uppload v2.
Here are your options:

You can use an asset bundler like Parcel, Webpack, or Rollup which can help you import Uppload, set up your custom build, and transpile to browser-loadable ES5. Here's a demo: https://codesandbox.io/s/clever-agnesi-ijdp2

If you want to use <script> directly, you can also do that using <script type="module">. I've made a JSFiddle demo for you here: https://jsfiddle.net/4yqc1dvm/3/. This uses jspm.io and requires no bundler. Note the browser support for script type.modules.

Thanks for the awesome examples, I'll try the second option first!
Do you know what prevents my tool to use the import way of loading scripts?


APY organization

Do you have room for an additional developer in the APY organization?

Not in the position to modify the organization, but feel free to write PRs so we can merge and release those 👍
Did discuss with @MaximePinot that these will get reviewed and released soon.


Looks like get / set operators for defining setter and getter methods is not working?

Firefox Gaia uses this task to compile documentation. It fails in places like this
Where they have this
  _lifecycleEnabled: false,

  get lifecycleEnabled() {
    return this._lifecycleEnabled;
  },
  set lifecycleEnabled(enable) {
    this._lifecycleEnabled = enable;
    this._updateEnabled();
  },

Which uses get (mdn) and set (mdn).
It gives
>> js: "/Users/soswow/Work/mozilla/gaia/apps/system/js/edge_swipe_detector.js", line 51: Property "lifecycleEnabled" already defined in this object literal.

It should be fixed now.


Prototype mixing RP-level and ResourceType level builds

Description
Resource providers are versioning resource types independently. In the future, some resource providers may have separate nuget packages for resource types.
For example, Compute might ship only a Compute client, but ResourceManager might ship a client for featues, a client for resources, and a client for subscriptions.
Prototype changes to the build infrastructure for building one client per resource provider alongside many clients per resource provider.   At the end, we should be able to build, package and publish individual resouurce type packages and resource packages using the 'Scope' setting for the build.
The resource management client, which currently defines Subscription, Feature, and ResourceLock clients would be a good target.
Cost 6

Complete, see https://github.com/Azure/azure-sdk-for-net/pull/2472


get-credentials-as-xml

how i can use list commands
or more better , how we can get shell ?
ode: List Available Commands Mode
Command: help
add-job-to-view,build,cancel-quiet-down,clear-queue,connect-node,console,copy-job,create-credentials-by-xml,create-credentials-domain-by-xml,create-job,create-node,create-view,declarative-linter,delete-builds,delete-credentials,delete-credentials-domain,delete-job,delete-node,delete-view,disable-job,disable-plugin,disconnect-node,enable-job,enable-plugin,get-credentials-as-xml,get-credentials-domain-as-xml,get-gradle,get-job,get-node,get-view,groovy,groovysh,help,import-credentials-as-xml,install-plugin,keep-build,list-changes,list-credentials,list-credentials-as-xml,list-credentials-context-resolvers,list-credentials-providers,list-jobs,list-plugins,mail,offline-node,online-node,quiet-down,reload-configuration,reload-job,remove-job-from-view,replay-pipeline,restart,restart-from-stage,safe-restart,safe-shutdown,session-id,set-build-description,set-build-display-name,set-external-build-result,set-next-build-number,shutdown,stop-builds,update-credentials-by-xml,update-credentials-domain-by-xml,update-job,update-node,update-view,version,wait-node-offline,wait-node-online,who-am-i

You can read this article to understand
https://www.leavesongs.com/PENETRATION/jenkins-cve-2024-23897.html
But This is difficult to achieve. The old version of Jenkins user password is encrypted rather than hash. Tools such as jenkins-decrypt can be used to decrypt passwords, and some plug-ins can also be used for further attacks.

My tool can only help verify whether the vulnerability exists.

I haven't looked too closely at how this vulnerability can be rced, but you can try to read the file /var/jenkins_home/users/users.xml. If you can decrypt the administrator's password, you can log in to the background to use it. The essence of this vulnerability is to read the file caused by parsing errors, so you can try to start from the file.

The command in the tool and the command of shell are two different things. The command in the tool refers to the command of jenkins-cli, so the rebound shell you understand is two different things.

D

这句话是啥意思

It is possible that your goal is not deployed by default. Try other files that you can read, such as /erc/paaswd. As I said at the beginning, this vulnerability can only read files. rce can only be used in a specific environment.

ERROR: Error occurred while performing this command, see previous stderr output.

Is your penetration legal and compliant?

Otherwise, I may not be able to answer you.
Our discussion is limited to how to use tools.

i try :
println(hudson.util.Secret.decrypt("{XXX=}"))
and
println(hudson.util.Secret.fromString("{XXX=}").getPlainText())
dont show

This vulnerability can't support you to do this. Maybe that's all I can use. From the file you gave me, I can't see anything that can be used in the future.

i make update

yes


Need update download link for yolov8 model files

Need update download link for yolov8 model files.
https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt
https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8s.pt
https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8m.pt
https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8l.pt
https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8x.pt

Sure, could you please pr for this?

Sure, could you please pr for this?
:ok_hand:

Sure, could you please pr for this?
:ok_hand:


genai-stack runs very slow when RAG is activated

genai-stack works well at reasonable speed without RAG.
But, when RAG is activated it runs very slow.
Any advice on how to solve this? Thx

What LLM are you using?
Is it faster if you switch to a smaller one, or OpenAI one?
It's expected for it to run slower because the LLM gets fed more tokens.

I am using
-llama2 7b
-Ubuntu 22.04 LTS
-Docker Desktop Windows (wsl2 enabled) v4.25.0
-very highend PC server power
-all the rest is per default configuration from github repo (no graphic card configuration)

Make sure you're running on GPU.

Make sure you're running on GPU.

Is there a way to minimize the configuration of genai-stack, so that it runs reasonable speed without GPU (doesn't need to be super fast). GPU is expensive. It will be good if I can get familiar with this stack first before purchasing GPU card. Thx much for advice.


x/tools/gopls: upgrade direct dependencies does not work

What version of Go, VS Code & VS Code Go extension are you using?

Run go version to get version of Go

go version go1.15.5 windows/amd64

Run gopls -v version to get version of Gopls if you are using the language server.

v0.5.4

Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders

1.51.1
e5a624b788d92b8d34d1392e4c4d9789406efe8f
x64

Check your installed extensions to get the version of the VS Code Go extension

0.19.0

Run go env to get the go development environment details
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=c:\dev\go\bin
set GOCACHE=C:\Users\webta\AppData\Local\go-build
set GOENV=C:\Users\webta\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\dev\go\pkg\mod
set GONOPROXY=gitlab.XXX
set GONOSUMDB=gitlab.XXX
set GOOS=windows
set GOPATH=C:\dev\go
set GOPRIVATE=gitlab.XXX
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\webta\AppData\Local\Temp\go-build547893570=/tmp/go-build -gno-record-gcc-switches

Describe the bug
So bug description is in the title for this issue.
Steps to reproduce the behavior:

Open your go.mod in the editor.
Wait a little time to appear update suggestions above dependencies references... Wait... Nothing happen.
Downgrade gopls go get<EMAIL_ADDRESS>and restart vscode
Repeat 1-2 and see the suggestions is appeared.

This was indeed a deliberate change (https://golang.org/cl/271297) that we missed in the release notes.

Thanks for this catch, just updated the release notes to include this. https://github.com/golang/go/issues/38339 tracks the way in which we will rework this behavior--we will likely expose a code action that offers an upgrade when you click on the require line.

Duplicate of #38339

@stamblerre Does it mean that gopls v0.5.4 drops any support for notification for per-dependency? And only Upgrade All option will be available. Painful, unhappy coding

As for me, per-dependecy update notification is very useful feature of vscode-go, and now it is absent.

I also miss this feature heavily, the "upgrade all dependencies" at the top of the file is not very helpful, because this wont work for most of the projects which depend on k8s.io/*.
So would be very nice if at least the old behavior could be enabled on will again.

@majst01 I found only this helper https://github.com/psampaz/go-mod-outdated to replace missed feature, but it's inconvenient.

I also miss this feature heavily, the "upgrade all dependencies" at the top of the file is not very helpful, because this wont work for most of the projects which depend on k8s.io/*.

@majst01: Do you mind explaining why that is?
#38339 tracks our work in replacing this feature--we will be adding an "Update transitive dependencies" code lens in the next release.

@stamblerre of course. If you have a project which relies on some kubernetes dependencies, updating all dependencies for various reasons. The most obvious is that k8s.io/client-go must follow the other k8s.io dependencies like k8s.io/apimachinery, but the most recent version of client-go is v11.x which is based on an older versioning scheme back then. In reality the actual version is v0.19.4. With this situation alone it is not possible anymore to update any dependencies from vscode, because client-go v11.x is not compatible with k8s.io/apimachinery v0.19.x. The update all dependencies action will not succeed, and you have to update every dependency by hand.
I am sure lot of developers have the same problem i describe here.
One example from of our projects is the cloud controller manager for metal-stack.io
https://github.com/metal-stack/metal-ccm
This is a small project, but has lots of k8s.io dependencies because this is the way cloud-controller interface has to be implemented.
If you have spare time, check out master and try.

@stamblerre thanks !

Here I thought this was a bug with the latest version of Gopls.  Myself and a number of my colleagues really liked the ability to click and update the various go.mod entries.  Add my name to the list of people who want this feature re-enabled.

gopls v0.6.0 with "Upgrade direct dependencies" doesn't work. Got git errors. But running the first problematic command from error popup directly in console works as expected go get .... Unusable feature.
I lightly misunderstanding what is the sense to present blind, unattended batch upgrade for all dependencies? Do you develop vscode-go in the same way? Upgrading all and then will check what is happened?

gopls v0.6.0 with "Upgrade direct dependencies" doesn't work. Got git errors.

I would be happy to help investigate what went wrong here if you would like to share the errors.
Please note, you can always update your dependencies on the command line by running go get {dependency}--that's all the individual upgrade code lenses were doing. While this editor feature was convenient, its absence should not prevent you from upgrading individual dependencies.
As I have noted previously, the granular updates posed performance concerns, and many users found them distracting (especially if they did not want to upgrade). We are revisiting this UX and will likely bring back the feature in a different form. Until then, best path forward would be to upgrade individual dependencies using the command-line.

If user do not want to upgrade, why to click an update link? Note, I just really do not understand why cool feature is removed and replaces by strange, blind functionality? Also, if I have to updrade all I will run go get -u ./... under module root and will all messages from go get and I could able to resolve any problem if it will happen. Instead the vscode-go and gopls teams make me install additional tools to know which updates are available and manually update them. I like vscode-go very much, but today I have a regression of my workflow.
As for "Upgrade direct dependencies" I only tried to test this function and I'm not planned to add issue report anyway due to "upgrade all" action is always unsafe for me. Will just avoid it.


After first service is created, don't show help page first

Every time I want to go to services I have to click-through the help page.  Please don't show this page after I have successfully created my first service.
If no environments or services - go to help page
If at least 1 service associated to a environment - go to that environment's page

v0.22.0-rc1
Help pages have been removed
Verified fixed


Juju Documentation Update

Greetings,
We noticed our docs are a bit behind the work we've done to update Juju since we've upstreamed the charm code. Please take a look  :tophat: tip.

I have signed the CLA.  These commits are okay to commit.

Our CLA database says that chuckbutler has signed the CLA, but mbruzek has not.

I'm fine merging this time since mbruzek said these were okay to merge.  Next time it will be easier if you can sort out the CLA for all parties.

@erickhan any issues with use of logos in the diagram?

wierd.  mbruzek shows up as having signed CLA on #9668.
Anyhow, everything looks good except I want a quick check on the use of logos.  After that it is good to go.

re: logos... hrm.
The author should check with the logo usage of the logos he/she uses. If the logo owners ask us to remove, we should remove. Any more complicated, we can get a lawyer, as IANAL.
As for Kubernetes' logo use, it's here.
Sooo, @chuckbutler ... if you've verified the logo use, lgtm. For Kubernetes' logo use, this diagram's use here lgtm.

@erickhan  I'll ship off an email to the CoreOS folks (cc @kelseyhightower) and to the Docker folks so we have on record an express written permission moving forward.
As far as I can tell we're within the ToS for using their TradeMarked material - but always good to have the proof. I'll CC / forward when I have received the responses.
Thanks for taking a look.

Closing stale PR


Mix all the user's generated skills instead of 30 per leaf node

Users have provided feedback that they expect all of their generated skills to get mixed in the final output dataset by default instead of truncating this to only 30. The choice of 30 was not a great default for every use case anyway, and mostly tailored towards very large taxonomies with large numbers of skills. Most of our users are using fewer numbers of skills, and expect a larger amount of generated skill data to make it into the results to increase the overall number of skill samples in the mixed output that matches their custom skills.
Fixes #420

I agree that users need the ability to control how many skills get mixed. However, do we want to introduce a new parameter for that here? Or instead tackle that once we expose data mixing directly via the CLI? I'm personally inclined to have everything mix in the default recipes at a sampling size of 1.0 as the starting point, and then show advanced users how to re-mix their mixed dataset using Recipes, which gives them fine-grained control over the sampling size of every individual leaf node in the mixed dataset.

We had some discussion outside GitHub about this, and perhaps it's not worth doing until we expose knobs to users to control the number of samples generated (which --sdg-scale-factor plays a role in, only sometimes) and the number of samples mixed (which has no exposed knob today).


add solution for 066 plus one

@kuangami please review

Could you please fix the tab issue?
Actually this line
result.insert(result.begin(), carry);
can be improved using
digits[0] = 1;
digits.push_back(0);
because the only case it will need one more digit is all nines.
Using push_back will save time.


Why dropping CocoaPods support?

As in the title. I'm using Zewo libs in a project on OS X. Currently, SPM is far from ready and CocoaPods (or Carthage) are still the best options to manage dependencies.
Is it because of Swift 2.2 requirement? If so, what does strictly require Swift 2.2 in URI?

We will try to fix this, but the problem is that SPM is not compatible with Xcode projects when you have lots of dependencies, specially if it is a C lib dependency.


Functionality for SIP/Protocols other than HTTP

I've downloaded and used this package and I've verified that it works for HTTP requests but I'm curious as to whether this also captures network requests from other protocols like SIP?

Hello, @alexbrazier. Based on your answer below, I assume Websocket (sw/ssw) requests also can't be viewed by the lib, right?

Hi @t1gor, as far as I can tell react native doesn't expose anything that would allow this library to intercept sockets either.


ERRO

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "D:\Anaconda\lib\site-packages\spyder\plugins_init_.py", line 511, in
toggled=lambda checked: self.toggle_view(checked),
File "D:\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 713, in toggle_view
self.create_new_client(give_focus=False)
File "D:\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1009, in create_new_client
self.connect_client_to_kernel(client)
File "D:\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1035, in connect_client_to_kernel
stderr_file)
File "D:\Anaconda\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1440, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr)
File "D:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 257, in start_kernel
**kw)
File "D:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 203, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "D:\Anaconda\lib\site-packages\jupyter_client\launcher.py", line 128, in launch_kernel
proc = Popen(cmd, **kwargs)
File "D:\Anaconda\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "D:\Anaconda\

Thanks for reporting. The error message is incomplete; please copy and paste the entire thing here so we can properly diagnose the error. Without that, we won't be able to fix it, and so we'll have to close this issue in a week (7 days) from now. Also, this was previously reported as #6028  but the poster failed to follow up or provide more information, so hopefully this one won't meet the same fate.
As a naive guess, you can try spyder --reset from the anaconda prompt to fix this, and if that doesn't help, try a clean uninstall and reinstall of Anaconda. There might be also be something particular to your machine, OS or environment that is causing this error, but we won't be able to tell without the full error message, along with information from you about anything special or non-standard with your setup.


Right click using Apple Pencil 2 double-tap feature

Describe the new feature:
Allow users to double tap the side of their Apple Pencil 2 to trigger a right-click.
This could be everywhere except gameplay.
Although, looking at Apple’s developer documentation i can’t seem to find a way to get just the pencil double tap event, only PencilKit in its entirety
Proposal designs of the feature:
Idk about design, maybe make it toggle-able in osu!’s settings in the Input section

https://developer.apple.com/documentation/uikit/pencil_interactions?language=objc


Makefile for starknet.go

Basic template is ready for Makefile
Closes #597

@rianhughes
Please have a look at Makefile

Hi @rianhughes
I tried to implement golangci-lint.yml file
I am facing few problems
make lint gives me this error
golangci-lint not installed. Run 'make install-golangci-lint' to install it.
make: *** [Makefile:26: lint] Error 1

Even though I have installed golangci-lint properly.
I found a way to solve it
ls $(go env GOPATH)/bin

Gives me list of go env paths which includes golangci-lint
So, on doing this.
export PATH=$PATH:$(go env GOPATH)/bin

make lint work and gives me desired results...
So I'm kind of lost here... as I cannot do this in makefile.

Hi @rianhughes I tried to implement golangci-lint.yml file I am facing few problems make lint gives me this error
golangci-lint not installed. Run 'make install-golangci-lint' to install it.
make: *** [Makefile:26: lint] Error 1

Even though I have installed golangci-lint properly. I found a way to solve it
ls $(go env GOPATH)/bin

Gives me list of go env paths which includes golangci-lint
So, on doing this.
export PATH=$PATH:$(go env GOPATH)/bin

make lint work and gives me desired results... So I'm kind of lost here... as I cannot do this in makefile.

Maybe including the following in the Makefile would help?
GOPATH := $(shell go env GOPATH)
GOBIN := $(GOPATH)/bin
install-golangci-lint:
@export PATH=$(GOBIN):$$PATH &&
go install<EMAIL_ADDRESS>

Hi @rianhughes
Its not working for me...
I have to manually run export PATH=$PATH:$(go env GOPATH)/bin in terminal to make it (make lint) work. Cause makefile is unable to add GOBIN to PATH
Can you please see whether its the same in your end or not??

Hi @rianhughes
Did you find time to review this PR??


Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:
  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }

Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:733:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:185:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:355:14)

I actually tried to fix this but keeps giving me issues and I didn't find any documentation on Upgrading Your Package yet


README with installation instructions

Copying @plaresmedima comment in another issue that is related to this current issue:
"Can we create an on-the-fly installation of necessary packages? It's not realistic that all packages need to be installed manually before the source code can be run. Especially as the list of packages can extend and specific pipelines require additional packages not needed to run WEASEL."

There's an installation process now. There have been new issues and bugs related to this, but at least a first version/step was developed. Will close now.


Fix CI

Hi @webmozart I propose to fix CI and then discuss on improvements like #19

@webmozart HHVM now only support Hack and not PHP, does it still make sense to support HHVM ?

I'd vouch for no.

@Th3Mouk would you be interested in a co-maintainer role for a fork?

@sanmai I don't think it's necessary because @webmozart is active but he probably need some help

Fair enough. I this merges within, say, a month, I'll try to add GitHub Actions-based CI. This is not a big deal at all, just saying.

This could be closed in favor of #24

This could be closed in favor of #24


Your style in ReadMe not works

Ref: https://github.com/angular/material2/tree/master/src/lib/sidenav#bound-properties
html, body, material-app, md-sidenav-container, .my-content {
margin: 0;
width: 100%;
height: 100%;
}
This rule not works. Please change height from 100% to 100vh

Using 100vh is not ideal due to iOS Safari's view calculations not including its browser chrome.
See https://nicolas-hoizey.com/2015/02/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers.html for some more information.


Add Shape.zigZagTo

I added zig-zag code for the filament for the fuse in Circuit Construction Kit, in https://github.com/phetsims/circuit-construction-kit-common/issues/479 and https://github.com/phetsims/circuit-construction-kit-common/issues/469.

I asked on Slack if the zig-zag code should be moved to common code, general agreement was that it should be moved.  We also identified several other places with zig-zagging code:

Faraday's Law Light bulb filament
Capacitor Lab Basics light bulb filament
ExpressionNode

Here's the full conversation for archival purposes:
Sam Reid [10:07 AM]
I added a zig zag shape command for CCK.  I’m wondering if it should remain in CCK or be moved to Shape.js.
https://github.com/phetsims/circuit-construction-kit-common/blob/1c809c55b6e27491b896efe77c53505a6a05379d/js/view/zigZag.js
Pasted image at 2019-04-22, 10:07 AM

Michael Kauzmann [10:17 AM]
My vote would be to move to Shape.js

Jesse Greenberg [10:18 AM]
Could be useful for other sims with circuits, faradays-law also has a zig zag

Sam Reid [10:22 AM]
Thanks, I see the FL zig-zag code now.  I’m also seeing something similar in ExpressionNode and capacitor lab basics bulb filament.

Jonathan Olson [10:22 AM]
I'm fine with it in Shape.js
it seems atypical for methods on a Shape to include the start point (since it already has that information)
what do you think of if it was moveTo( ... ).zigZagTo( ... ) where the zig-zag didn't include the start?

Sam Reid [10:23 AM]
That seems right to me

I moved this implementation from Circuit Construction Kit Common, and ported CCK to use it.  I opened new issues for code that looks like it should use this new implementation.  @jonathanolson can you please review?

@samreid Sims that require a symmetrical zig zag don't get drawn properly (see https://github.com/phetsims/capacitor-lab-basics/issues/258#issuecomment-486489352 and https://github.com/phetsims/faradays-law/issues/153#issuecomment-487789685).
I added a flag to determine which drawing pattern to use ( asymmetrical/symmetrical). It seems a bit hackish to have two drawing patterns in the same function, so your input on fixing this bug would be helpful.

The previous commit handles zig-zags for no-vertical orientation using the same API. Assigning to @jonathanolson  to review.

Unassigning since @jonathanolson is requested for review, but let me know if I should be reassigned.

Looks good to me!

Thanks @jonathanolson.  This issue seems good and ready to close, but note there is still outstanding work to be done in https://github.com/phetsims/faradays-law/issues/153#issuecomment-498742921


Guidance for editing settings is not localized

See 'Place your settings...'

This is because the file was already created with your english locale, the string itself is NLSed: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/browser/actions/openSettings.ts#L138


Use SauceLabs for e2e browser integrations tests

Key requirement here is to be able to test against all mainstream browsers.
Cypress seems to be a good tool for this job and they support OSS
Those test should run locally or in CI via npm run test:integration

https://docs.cypress.io/guides/getting-started/testing-your-app.html
https://www.cypress.io/oss-plan

This is a child task of: https://github.com/flackr/scroll-timeline/issues/3

Cypress does not support FireFox and does not support Safari -- using saucelabs instead.


How to import existing project other than configure new one

Say I configured a project outside of the source directory,  how can I import that one instead configure a new one?
I don't find any command to import. Because our project can't be built inside source tree, and have lots of cmake options to pass, it's not so easy to use the default configure profile.

I am not sure I understand your scenario. If you can give more details about where is everything.
Where are you opening VSCode from? "Open Folder" on your code base sources root? We usually mean by "sourceDirectory" as the location of CMakeLists.txt.
Also, how is the other outside project looking? Does that have source files too or only CMake scripts?
Do you happen to have this project on GitHub or can craft one easily?
Once VSCode opens a folder somewhere, it can always incorporate new independent projects with context menu "Add Folder to Workspace", if you R-Click on the file explorer area in VSCode.

The VSCode opened the source root that contains CMakeLists.txt, the build directory can be anywhere outside of the source tree, such as:
/workspace/project  --> VSCode opens this directory
/workspace/debug  --> the build directory contains a valid cmake build
/workspace/release --> for release build

I want to use the /workspace/debug and /workspace/release for /workspace/project, but it seems not possible.
Every time I make a build or configure, it just create another build directory in /workspace/project, and it fails to configure due to missing project specify options.
Use Add Folder to Workspace helps nothing

Can you set "cmake.buildDirectory": "${workspaceFolder}/../${buildType}"? It should create and use the build folder from outside the workspace folder (which is /workspace/project, the location that is originally opened by VSCode).

The cmake.buildDirectory works, but it's still nice to have an option to import the existing builds.
Now I have to set cmake.generator, cmake.configureSettings and cmake-kits.json to override the default settings. Such as ninja and compiler, specify CMAKE_CXX_COMPILER in cmake.configureSettings sections helps nothing.
Another problem is that I don't known how to configure different cmake.configureSettings for different buildType.
So if we can import those configures from existing builds directly, it can save us a lot of time. LoL

Our next 1.7 release will support the presets feature that is described here:
https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html.
Have a look at that CMake spec and let us know if you think it would cover all the scenarios that you need or if there is anything extra that wouldn't be supported even presets implementation.


Autocollapse chat cards blocks Confusion descriptions

Foundry v11.315 (self-hosted)
PF1e 10.7
Mods active: PF1-Improved-Conditions & Socketlib
When an actor is confused, I get a message in the chat when his turn comes around.  However: I have the setting on that autocollapses all chatcards.  The messages I get cannot be 'uncollapsed' in the chat and so I can't see what the exact effect is.  I get no errors in the console.  When I turn of the auto-collapse setting, everything works as expected.

Should be fixed with v1.2


Asking

Can django run on grumpy? Any tester here?

@zantdev Could you please change the title of this issue from "Asking" to "Can Django run on Grumpy?"  That change would make it easier for people to discover this issue.
Grumpy is intended to be a near drop-in replacement for CPython 2.7 so that would preclude the use of Django 2 which requires Python 3 but perhaps Django 1.11 could work.

Kamino cloned this issue to grumpyhome/grumpy


Slovak language

I wrote the Slovak translation

I'm sorry for the delay, thanks for your contribution! 👍


Error while building TGI from source

System Info
OS: Ubuntu Linux 20.04
Rust: 1.75
Hardware used: A100 GPU, Driver version: 560.35.03, CUDA Version: 12.6
Information

[ ] Docker
[X] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
I followed the steps in the guide to install TGI locally.
https://github.com/huggingface/text-generation-inference/?tab=readme-ov-file#local-install
While running the command BUILD_EXTENSIONS=True make install , I get an issue saying that "CMAKE_CUDA_ARCHITECTURES must be non-empty if set"
Expected behavior
TGI should install successfully from source.

Hi @samin-batra 👋
Thanks for reporting. I haven't encountered this one before. Not sure if it's something specific to TGI or in the system config. Have you tried tricks described in this stack overflow?

Hi @samin-batra 👋
Thanks for reporting. I haven't encountered this one before. Not sure if it's something specific to TGI or in the system config. Have you tried tricks described in this stack overflow?

I looked at this solution but it seems that this issue is coming when VLLM is being built. When I look at the internal stacktrace, the call stack points to the the CMakeLists file in torch.
However, I cannot manually add this in the CMakeLists file as first the script is pulling a specific commit tag from VLLM and installing from there. After that, a pip install is happening.
Here's the call stack trace:
CMake Error at /home/genadmin/anaconda3/envs/tgi-new/lib/python3.11/site-packages/cmake/data/share/cmake-3.30/Modules/Internal/CMakeCUDAArchitecturesValidate.cmake:7 (message): CMAKE_CUDA_ARCHITECTURES must be non-empty if set. Call Stack (most recent call first): /home/genadmin/anaconda3/envs/tgi-new/lib/python3.11/site-packages/cmake/data/share/cmake-3.30/Modules/CMakeDetermineCUDACompiler.cmake:112 (cmake_cuda_architectures_validate) /home/genadmin/anaconda3/envs/tgi-new/lib/python3.11/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:47 (enable_language) /home/genadmin/anaconda3/envs/tgi-new/lib/python3.11/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:86 (include) /home/genadmin/anaconda3/envs/tgi-new/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package) CMakeLists.txt:67 (find_package)

@samin-batra Just to inform you, building TGI requires Rust version 1.75 or higher. This may not be related to your current issue, but it could cause trouble in the future. Consider updating Rust.

Yes, I have tried this and the Rust version is higher than 1.75

Hi, any update on this?

Sorry the issue obviously occurs in vLLM from source build which is hard to debug for particular individual setups.
We're ditching vllm as a dependency anyway so it should be gone soon (it has too many hard requirements and faster kernels exist out there).
I see you are running within anaconda, the issue is most likely coming from there, but I'm not sure how to fix it for you.

Also we're relying more and more on nix in order to speedup our buildtimes and makes us have less headaches around builds.
# Install cuda (system-wide, no conda otherwise you're on your own).
# Install nix: https://nixos.org/download/
cachix use text-generation-inference #  (Our cache for all artefacts)
nix develop # And you're now ready to go.
# If anything fails, you might be needing https://garden.danieldk.eu/Nix-CUDA-on-non-NixOS-systems#solutions

Sorry the issue obviously occurs in vLLM from source build which is hard to debug for particular individual setups.
We're ditching vllm as a dependency anyway so it should be gone soon (it has too many hard requirements and faster kernels exist out there).
I see you are running within anaconda, the issue is most likely coming from there, but I'm not sure how to fix it for you.

Hi, thanks for the reply. May I check when the update would be released when VLLM is not a dependency?
Also, I managed to fix this issue by adding the line: set(CMAKE_CUDA_ARCHITECTURES,native) in the CMakeFile for VLLM.


Evelyn/chapter8

Modified toc and added the csv file that accompanies my notebooks

Jupyter Books won't let us construct a multi-page / multi-section chapter without an opening page – like Programming in Python (textbook/03/programming-in-python.md).
Therefore, you need to add a page to textbook/08/ (e.g. intro.md), then this could serve as the top level of chapter 8, and the three sections could be added below it. It can include some minimal content introducing the chapter or if you think that one of the notebooks serves as the intro page then that can be used as well

Thanks for adding the CSV file.
(Since it's pretty short, and to avoid errors if/when a reader downloads the notebook from the site, I'll likely include the CSV data in the notebook itself, like in Group and Pivot Table.)
As @rahimrasool said, with a multi-page / multi-section chapter, we need a clear introduction at the "top level." I do see that that's how you've structured the chapter in the TOC – you have 1.ipynb as the top-level introduction. So, to be sure, is that the intention? Or is this notebook really just the first of three pages/sections?


Support of .NET Core

Minor source adjustments and build scripts to work with .NET Core.
Minimal version of MongoDB.Driver is set to 2.3.0-beta1, and this also satisfies custom builds' suffixes (2.3.0-local-XXXX), allowing to replace official beta package with one built from source (for instance, I'm using a custom one because a required PR is not merged yet).
This should be changed to 2.3.0 after it is officially released.
Minimal version of Hangfire.Core is bumped to 1.6.0 (as it was the first version targeting .NET Core).

@gottscj not sure if I can make it happy. It does some weird things in the AppVeyor environment, which I cannot reproduce locally, so it will be just randomly changing some settings and seeing if it builds.
So it probably will make sense to either migrate to .xproj's once and for all, or to place dotnet project files into separate folders, so MSBuild won't even try to look for them. Your choice.

@pieceofsummer, thank you for your quick reply. Let me get back to you on that.

Is there any reason why this isn't merged yet ?

Hi.
Thank you for your patience.
We would really like AppVeyor to be happy. We tried to clone the pull request (#39) and could not build it on our local VS either?
We are a little busy at the moment, but we will put some effort into getting this PR working and merget. Thanks again @pieceofsummer for the work you have put in.

Hi @pieceofsummer
I have checked out this pull request locally and fixed it, so that it should be running both .net45 AND .netstandard1.5.
I have uploaded the result in a separate branch:
https://github.com/sergeyzwezdin/Hangfire.Mongo/tree/dotnetcore
I hope I have succeeded. Please take a look (perhaps pull and double check). Any comments are welcome.
I plan to do a pull request after the week-end and get into master asap after that.

Pull Request #49 has been merged into master


Transform3D - looking_at() resets scale

Godot version:
3.0.2
OS/device including version:
Manjaro Linux 4.15.13
Issue description:
When using looking_at on a transform of a scaled node, the transform will reset it's scale to (1, 1, 1)
Steps to reproduce:

Create a (visible) node
scale it up
use looking_at on it.

Minimal reproduction project:
tform_github_issue.zip
Press space to transform the cube

working on it

Fixed by #26897, but wasn't referenced there correctly.


Dev

Merge new features of the library with master.

Codecov Report

Merging #10 into master will decrease coverage by 3.90%.
The diff coverage is 85.27%.

@@             Coverage Diff              @@
##             master      #10      +/-   ##
============================================
- Coverage     94.07%   90.17%   -3.91%
- Complexity      152      182      +30
============================================
  Files             1        1
  Lines           388      468      +80
============================================
+ Hits            365      422      +57
- Misses           23       46      +23

Impacted Files
Coverage Δ
Complexity Δ

src/JsonX.php
90.17% <85.27%> (-3.91%)
182.00 <15.00> (+30.00)
:arrow_down:

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 34d7dd7...31c5dd3. Read the comment docs.

This one will close the issue #5


Add cupyx.scipy.sparse.linalg.lsmr

This PR add cupyx.sparse.linalg.lsmr.

Will fix the docs error with other changes.

pfnCI, test this please.

pfnCI, test this please.

Jenkins CI test (for commit b3ea4f41cf9bc4d4703f316ccb1867000c290b34, target branch master) failed with status FAILURE.

"Returns" part of the rendered doc looks partially broken in style. Is it possible to fix them?
https://cupy--5331.org.readthedocs.build/en/5331/reference/generated/cupyx.scipy.sparse.linalg.lsmr.html

I tried an approach that makes only matrix and vector computation on GPU and other scalar arithmetic on CPU. I checked it passes the test.
https://github.com/takagi/cupy/commit/fca2ab7b7eb639daa873eae7b931bfaff1f136a3
The following is the result of a performance comparison based on your script, modifying density=0.01. With m=10000 and density=0.01, nnz is around 1,000,000 and I think it has a fairly reasonable performance improvement.

m
scipy
cupy

500
53.843938446044916
287.2928771972656

1000
130.22197265625
601.302734375

5000
4808.26650390625
2992.645263671875

10000
20126.594335937505
3263.73974609375

script
import numpy as np
import cupy as cp
from cupyx.time import repeat
from scipy.sparse.linalg import lsmr as ls
import scipy.sparse
from cupyx.scipy.sparse import csr_matrix
from cupyx.scipy.sparse.linalg import lsmr

def get_time(perf):
    cpu_time = perf.cpu_times.mean()
    gpu_time = perf.gpu_times.mean()
    return max(cpu_time, gpu_time) * 1000

i = 0
times = []
print('m, scipy, cupy')
for m in (500, 1000, 5000, 10000):
    a = scipy.sparse.random(m, m, density=0.01).astype('f')
    b = np.random.rand(m).astype('f')
    x = ls(a, b)
    times.append(get_time(repeat(ls, (a,b), n_repeat=10, n_warmup=5)))
    a = csr_matrix(a)
    b = cp.array(b)
    y = lsmr(a, b)
    times.append(get_time(repeat(lsmr, (a,b), n_repeat=1, n_warmup=1)))
    print(m , times[i], times[i+1])
    i+=2

I also attach a screenshot of Nsight Systems report illustrating an iteration of lsmr. CUDA kernel invocations are now only for matrix and vector computations and are less in number compared to your original code. You can find the .qdrep file here and open it on your local Nsight Systems to explore it.

FYI, you can use cupy.prof.time_range to describe event ranges in a report.
https://github.com/takagi/cupy/blob/sparse_linalg_lsmr3_time_range/cupyx/scipy/sparse/linalg/_solve.py#L231
https://gist.github.com/unnonouno/877f314870d1e3a2f3f45d84de78d56c

I tried an approach that makes only matrix and vector computation on GPU and other scalar arithmetic on CPU. I checked it passes the test.

This approach gives huge performance improvement and it also reduced the overhead of using a raw kernel.

There was a huge performance improvement from this approach. :astonished:. I think this approach can be used with other solvers as well as they have similar issue of invoking individual kernel.

pfnCI, test this please.

I think this is almost done except for some points. Let's see if CI passes.

Jenkins CI test (for commit a04fe6183dd0ec6fcfdb66aa8b95f810efe42567, target branch master) failed with status FAILURE.

pfnCI, test this please.

Jenkins CI test (for commit 2972ef406c707b24a9b3efc0abb0af33fe80cb29, target branch master) failed with status FAILURE.

I tried running the tests multiple times on my system and I got no error. @takagi can you please review the test file again.

I reproduced the error on my local. Looking into it.

pfnCI, test this please.

Jenkins CI test (for commit 08587c4837698842241059856d0df0a7ccb06c2e, target branch master) succeeded!


added forget password feature

Description
I have added a "Forgot Password" feature where the user will receive an OTP via email. The email and OTP will be stored temporarily in the ResetPassword schema, which will expire after 5 minutes. The user will then call the "Verify-OTP" API endpoint. Upon successful verification, the user can call the "Update -Password" API endpoint, which updates the password in the User schema.

Resolves: [#207 ]
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

Have you adhered to the repository's defined coding convention rules? yes
[ .] Have you updated the 'documentation.md' file with the method/function documentation? yes
[. ] Have you sent a message along with the result or response? yes
[ .] Have you used the try-catch technique? yes
[.

] Has the method/class been added to the documentation (md file)? yes

Screenshots

Uploading a screenshot illustrating the approach you developed for validation is required.

Additional Notes/Comments

Any additional remarks or suggestions concerning this pull request are welcome.

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

@Subhash23jan Is this ot added in the frontend?

@Subhash23jan Is this ot added in the frontend?

No..this is only backend route


Fix Heroku agent install script job for debian and ubuntu

What does this PR do?
Fix Heroku install script job that was not launching tests

Motivation
Make heroku tests working

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Added Home Automation

Have you read the Contributing Guidelines ?
Yes
Description
This project deals with the working of home automation. In this project, we are using bulbs, DC motors as fans for home automation. These bulbs, fans works according to the data read from the photoresistor & temperature Sensor by the Arduino UNO.
Fixes #948

Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
No

@Kushal997-das  pls review it.


Animation not working

Hello,
I followed the example, in code lab, and checked the code here too, and it seems everything is right, but when the planet detected and we have the maze on it, the Andy will be appeared but it will fall down and not moving in the maze. I have no idea what could be the problem. and everything is as supposed to be. Do you have any idea for what this is happening?or where should I take a close look at?
here is the code for AugmentedImageRenderer:
 public void draw(
          float[] viewMatrix,
          float[] projectionMatrix,
          AugmentedImage augmentedImage,
          Anchor centerAnchor,
          float[] colorCorrectionRgba) {
    float[] tintColor =
            convertHexToColor(TINT_COLORS_HEX[augmentedImage.getIndex() % TINT_COLORS_HEX.length]);

    final float mazeEdgeSize = 492.65f; // Magic number of maze size
    final float maxImageEdgeSize = Math.max(augmentedImage.getExtentX(), augmentedImage.getExtentZ()); // Get largest detected image edge size

    Pose anchorPose = centerAnchor.getPose();

    float mazeScaleFactor = maxImageEdgeSize / mazeEdgeSize; // scale to set Maze to image size
    float[] modelMatrix = new float[16];

    // OpenGL Matrix operation is in the order: Scale, rotation and Translation
    // So the manual adjustment is after scale
    // The 251.3f and 129.0f is magic number from the maze obj file
    // You mustWe need to do this adjustment because the maze OBJobj file
    // is not centered around origin. Normally when you
    // work with your own model, you don't have this problem.
    Pose mazeModelLocalOffset = Pose.makeTranslation(
            -251.3f * mazeScaleFactor,
            0.0f,
            129.0f * mazeScaleFactor);
    anchorPose.compose(mazeModelLocalOffset).toMatrix(modelMatrix, 0);
    mazeRenderer.updateModelMatrix(modelMatrix, mazeScaleFactor, mazeScaleFactor/10.0f, mazeScaleFactor); // This line relies on a change in ObjectRenderer.updateModelMatrix later in this codelab.
    mazeRenderer.draw(viewMatrix, projectionMatrix, colorCorrectionRgba, tintColor);

    // Adjust the Andy's rendering position
    // The Andy's pose is at the maze's vertex's coordinate
    Pose andyPoseInImageSpace = Pose.makeTranslation(
            andyPose.tx() * mazeScaleFactor,
            andyPose.ty() * mazeScaleFactor,
            andyPose.tz() * mazeScaleFactor);

    anchorPose.compose(andyPoseInImageSpace).toMatrix(modelMatrix, 0);
    andyRenderer.updateModelMatrix(modelMatrix, 0.05f);
    andyRenderer.draw(viewMatrix, projectionMatrix, colorCorrectionRgba, tintColor);

  }

  public void updateAndyPose(Pose pose) {
    andyPose = pose;
  }
public void updateAndyPose(Pose pose) {
    andyPose = pose;
  }

and here for AugmentedImageActivity:
`private void drawAugmentedImages(
Frame frame, float[] projmtx, float[] viewmtx, float[] colorCorrectionRgba) {
Collection updatedAugmentedImages =
frame.getUpdatedTrackables(AugmentedImage.class);
// Iterate to update augmentedImageMap, remove elements we cannot draw.
for (AugmentedImage augmentedImage : updatedAugmentedImages) {
  switch (augmentedImage.getTrackingState()) {
    case PAUSED:
      // When an image is in PAUSED state, but the camera is not PAUSED, it has been detected,
      // but not yet tracked.
      String text = String.format("Detected Image %d", augmentedImage.getIndex());
      messageSnackbarHelper.showMessage(this, text);
      break;

    case TRACKING:
      // Switch to UI Thread to update View
      this.runOnUiThread(
              new Runnable() {
                @Override
                public void run() {
                  fitToScanView.setVisibility(View.GONE);
                }
              });

      // Create a new anchor for newly found images
      if (!augmentedImageMap.containsKey(augmentedImage.getIndex())) {
        Anchor centerPoseAnchor = augmentedImage.createAnchor(augmentedImage.getCenterPose());
        augmentedImageMap.put(
                augmentedImage.getIndex(), Pair.create(augmentedImage, centerPoseAnchor));

        physicsController = new PhysicsController(this);
      } else {
        Pose ballPose = physicsController.getBallPose();
        augmentedImageRenderer.updateAndyPose(ballPose);

        // Use real world gravity, (0, -10, 0), as gravity
        // Convert to Physics world coordinate(maze mesh has to be static)
        // Use it as a force to move the ball
        Pose worldGravityPose = Pose.makeTranslation(0, -10f, 0);
        Pose mazeGravityPose = augmentedImage.getCenterPose().inverse().compose(worldGravityPose);
        float[] mazeGravity = mazeGravityPose.getTranslation();
        physicsController.applyGravityToBall(mazeGravity);

        physicsController.updatePhysics();
      }
      break;

    case STOPPED:
      augmentedImageMap.remove(augmentedImage.getIndex());
      break;

    default:
      break;
  }
}`

Hi,
I guess, maybe your earth image is placed vertically, for example, on a monitor screen?
If so, then it's normal for the Android to fall down. Because I used the real world gravity to move the android. You need an earth image that's placed on a horizontal flag plane, for example on top of a book.
If you want to debug it, I think a good place will be printing out log messages in AugmentedImageActivity.drawAugmentedImages() function. For example, reduce the worldGravityPose to (0, -0.1f, 0), so that you can see it moving slowly.

First I guessed it may be the problem, but no, I have the image on a horizontal plane, but still it is falling down, it gets smaller and smaller, I tried the gravity that you mentioned, and now it is not falling and getting smaller, and can be moved as I move the camera. but it is not moving it self(because I supposed that the animation that is being added and used by PhysicsController makes the Andy move by it self)
and yes I saw my debugging point right here
augmentedImageRenderer.updateAndyPose(ballPose)
which ballPose has values.

and could you please help me with the project build too?
when I clone the whole project android studio cannot configure it as an android studio project and cannot be run.
it says it needs to be configured. it seems it's not an android project.

Hi,
The github code is not the complete project, it only contains files we changed on top of ARCore Android SDK.
You need to

Download ARCore 1.23 SDK from Github (https://github.com/google-ar/arcore-android-sdk/releases)
Clone repository in this codelab, and copy files into ARCore 1.23 SDK.
Open the augmented_image_java sample using Android Studio.

can be moved as I move the camera. but it is not moving it self
I don't understand that you mean. Maybe you can record the screen for a few seconds, and upload here so I can take a look.

can be moved as I move the camera.
Also, I am curious that you mean by this. A screen recording can help clarify. Note, you need to move the image to move the Andy on it.

Sure, if you take a close look at the video you will see Andy is falling down.
You can find it in this link :
https://drive.google.com/file/d/1N1KFRjfCGcx85reydnLG3rAD3X33ECYO/view?usp=sharing

Thanks for the video.
It shows the maze object didn't hold the Android object, so that it falls through.
At least it means

The jBullet physics engine is working
The gravity is working at the right direction. (I guess you were pointing towards the floor when shooting this video).
ARCore AugmentedImage API is working.

I don't know why that happens, because the Android object is supposed to be held (not falling) by a plane defined in PhysicsController.AddMazeRigidBody().
How to use a physics engine is quite complex and beyond the scope of this codelab.
One thing I would try is try to lift the ballRB that represent the Android a bit higher on the maze.
In PhysicsController.AddBallRigidBody(), update
ballTransform.origin.set(0, 0.5f, 0); // Slightly raise the ball at the beginning

to
ballTransform.origin.set(0, 1.0f, 0); // Change hight to 1.0

If that still doesn't solve your problem, maybe you can create a git repository, and upload your code there, so I can take a look to see what could be the reason.

Close the ticket due to no follow up action.

Hi, its happen to me too, android object is still falling.
Here my git repo: https://github.com/putusugik/ARCoreSample.git


Add support for Regular Expression Keys in Schemas

As a more refined version of the Wildcard ("*") Key, add support for a RegExp String as a Schema Key.
example:
{
  ...
  "elements": {
    // would match any key starting with a prefix of "X-"
     "/^(X|x)+\-+[a-zA-Z\-]$/": {
         "type": "String",
     },
   }
}

closed with #78


[FLINK-16497][connectors] Improve default flush strategy for JDBC/Elasticsearch/HBase sink for better out-of-box

What is the purpose of the change
As discussed in the JIRA issue (mainly in FLINK-16497), the current flush behavior is depending on a large buffer size, but no flush interval which lead to no outputs.
Brief change log
JDBC:
sink.buffer-flush.max-rows = 100  // previous: 5000
sink.buffer-flush.interval = 1s // previous: disabled

HBase:
sink.buffer-flush.max-size = 2mb // previous: 2mb
sink.buffer-flush.max-rows = 1000 // previous: disabled
sink.buffer-flush.interval = 1s // previous: disabled

Elasticsearch:
sink.bulk-flush.max-actions = 1000 // previous: 1000
sink.bulk-flush.max-size = 2mb // previous: 5mb
sink.bulk-flush.interval = 1s // previous: disabled

All the options can be disabled by setting to 0.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @dawidwys  for the Elasticsearch part.

Thanks for the review @danny0405 , I have addressed the comments.

Agree with you @danny0405 , I created FLINK-18245 to track this. We can allow -1 in the future if it is supported.

Build is passed in my repo: https://dev.azure.com/imjark/Flink/_build/results?buildId=162&view=results
Merging...


[share_plus] enable bold text before url

Hello,
when I call Share.share('check out my website https://example.com');,
I would expect "check out my website" would be title with bold text continuing with new line for url.
Example:
check out my website https://example.com

But it look like one line without bold text
check out my website https://example.com
Tested with Android 11 and share_plus: ^2.1.2

Once the text is shared, is it not the responsibility of the recipient app to handle bold individually? For eg in Whatsapp anything wrapped in * is bold, which won't be true in let us say a SMS app or Twitter. So any ideas if that can be handled?

Yep, this is not possible. The receiving application may not even support changes of font features. So this issue can probably be closed.


KafkaConsumerActor fails to re-subscribe once restarted due to an exception

Version Information
Akka.Streams.Kafka 1.2.1
Describe the bug
When an "Unexpected records polled" exception gets raised in the KafkaConsumerActor the Actor gets restarted but after the restart all subsequent Polls return null when  _consumer.Consume(timeout) is called.
Since the KafkaConsumerActor gets restarted due to default supervision with the exception being thrown and not recreated via BaseSingleSourceLogic it never calls ConfigureSubscription after it's recreated. Which means the consumer gets created but never subscribes properly.
To Reproduce
Steps to reproduce the behavior:

Throw and exception in KafkaConsumerActor which does not get handled.
The actor will restart and will fail to consume any further messages

Expected behavior
When an "Unexpected records polled" exception is thrown the actor should be stopped and a failure message should be sent which the logic in  BaseSingleSourceLogic.cs will then handle. Depending on the Decider the KafkaConsumerActor will then either be recreated or left as terminated. Letting the actor get recreated via BaseSingleSourceLogic will ensure that the consumer also resubscribes after creation.
Actual behavior
An exception is thrown and the default supervision just restarts the consumer actor without subscribing for events.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Windows, .NET 6

I am in the process of creating a PR for this.


[WebToolsE2E][Aspire] Running "azd init" to initialize eShop.Web solution fails with error: "unsupported resource type: azure.openai.account.v0".

REGRESSION INFO: Also repro on Aspire 8.0.0-preview.3.24105.21
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10 Preview 2 [ Includes Aspire 8.0.0-preview.4.24129.7 ]
Apply NuGet dotnet-tools Feeds
Install Docker Desktop for Windows
Install azd [1.7.0-beta.1-daily]

REPRO STEPS

Clone eShop repo from main branch
Checkout the aspire-preview.4 branch
Open eShop.Web.slnf ( Bug 1985774 will be encountered after opening)
Build solution
Deploy using azd

Open the solution folder in a Command Prompt
Runing 'azd init', select 'Use code in the current directory' > Confirm and continue initializing my app, type a new environment name, press enter

ACTUAL:
ERROR: unsupported resource type: azure.openai.account.v0

EXPECTED
Running 'azd init' successfully.

azd workaround for netAspire p4: https://github.com/Azure/azure-dev/pull/3547

Hitting this same problem, and not understanding the "workaround" posted above... Are there explicit instructions (or even better a branch here in the Git Repository that "works"?)

Using https://github.com/dotnet/eShop/pull/257 with the latest Aspire helped out on this [thanks to Eric Erhardt for the pointer]

Unable to reproduce on 17.10 Preview 3 [Includes Aspire 8.0.0-preview.5.24201.12] using eShop aspire-preview5 branch.

I am getting while azd init

@bhogiraju can you open a separate issue, please? I suspect that your issue is different than the one described in this bug. Thanks.


default page when parent is click

Hi is this possible?
From

To

I want to achieve is when i click the parent link. then the first(or any) child should be the default page to show.
Thanks for help.

I'm not entirely sure what you are looking for but it sounds like you might want something like this: https://codesandbox.io/s/solid-app-router-nested-routes-c72ps

thanks. it works.


Modify access levels to allow more flexible subclassing

Problem description
WSTagsFields API for the most part is open to modifications by exposing most of it's methods as public. However for better leveraging the core functionality of the library, and especially providing custom tokenization by overriding tokenizeTextFieldText(), the textField property needs to be made public. Consequently the BackSpaceDetectingTextField() needs to be accessible outside of the module.
Preferred solution
Make the above properties and class public.

The WSTagsField.textField has been exposed for public access in v5.3. Thanks for the issue.

Thank you for the effort man.


[Do Not Merge Until September 15th] Introducing new API for Advanced Threat Protection

API form -
{resourceUri}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}
Suppporting verbs -
GET, PUT and Delete.
URI example -
/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount/providers/Microsoft.Security/advancedThreatProtectionSettings/current
Design doc for ATP -
https://microsoft.sharepoint.com/teams/Data_Security/Documents/Dev Specs/Storage Threat Detection/Threat Detection for Azure Storage - Design Document.docx?d=w996c55b5a160468c9a9bd0434418a4d0
VSTS item -
#247253, #257790
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

please make the "MODE=model PR_ONLY=true" test in Travis pass

To @chlahav's point, there are some missing and inconsistent examples. You can find details caught by our linter here: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/396930169#L748

@tomerlmsft, this looks good from my perspective. Given that we've waited for more than a three business days without the ARM team responding, we can go ahead and merge it. However, doing so means you'll potentially have ARM feedback be reported on a production service. This can cause complications. However, it is up to you. Would you like to proceed and have me merge this PR?

Hi Mark,
We are still waiting with the merge until the arm manifest will be updated.

Added the [DoMergeLabel] to indicate, without opening the PR, that we are waiting for the ARM manifest to be updated.

I'm going to be on vacation for the next two days (until Monday, July 30th). If this PR needs attention in the mean time, please contact my boss, @salameer.

Can one of the admins verify this patch?

Any updates on this, @tomerlmsft?

Closing as stale.

After an offline request by @tomerlmsft, I'm going to reopen this.

Restarted CI because it looks like the failure on the most recent commit was unrelated to your change.

Just as a heads up, I'm going to be OOF all next week. However, since this PR is just waiting for the service to be available, I don't think there's any need to reassign while I'm gone. If you need a swagger reviewer to take a look at this, try getting a hold of @salameer or the swagger reviewer email alias.

@tomerlmsft, heads up on this conflict that has emerged.


Suspicious comparison

Check the code at resources.js. It seems that this comparison is wrong (there are two identical tests). We need to test it and fix it it causes any errors.

Closed with f3ecf49068adf853c5827f103349bbcaf2ba98a1 (this code does not exist more).


Upload plugin release to Jetbrains repository from maven

I wonder if there is a way to make maven build and upload the .zip file to jetbrains repository automatic.
Then we could have some release profile - goal etc and then travis CI could do it for us.
Currently we manually upload the .zip file at
https://plugins.jetbrains.com/idea/plugin/9371-apache-camel-idea-plugin?

I'm not sure how we can make travis-ci do it. This would require we can create specific job type we can trigger and I haven't seen that functionality.

Yeah I have not found anything either. However you can update a plugin from an url, so we could potentially release to maven central, and then point to that url in the jetbrains website where we can manually trigger the new version there.
However we would have to wait with using org.apache.camel as the group id as this code is not yet officially from ASF.
But then again we can do that later when the code is donated to ASF.

another option could be to tag it in the commit log with a keyword and then we do some magic on travis ci if this is the case and publish it.

Ah yeah if travis can do a github release, and attach that target/camel-idea-plugin-VERSION.zip as a binary to a release, like we have done manually at
https://github.com/davsclaus/camel-idea-plugin/releases
Then there is a nice release at github, and we can then also use that url when we upload to jetbrains

See https://docs.travis-ci.com/user/deployment/releases/

@davsclaus we need to talk about this. I have been looking into how we can do this and it's not that simple as I thought because of the maven process and travis release feature

Yeah lets just update it manually. Its just a .zip file you upload so its simple enough for us to be able to do this


Error in the guide data-table

Change Type
Correction
Proposed Changes
Hi,
If you add the parameter filter: { exclude: true } to the action column, the hiding the email column make the table to be empty.

Please ignore cursor being on the side this is an issue on my GIF recorder tool and desktop scaling resolution.

I do not fully understand why, but in the code snippet of the preview, the action column is not excluded from filtering (while it is in the guide below).

mea culpa, the guide does not state that you should add the filter exclusion to the action column. Closing the issue. But I'm still curious on why it causes all row to be hidden.


io1j74fq09zy3lz33um2hvrc3vv2eut37rac3afnq: added scroll for data and method in confirmation model

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind backend-change
/kind ui-change
/kind bug
/kind cleanup

/kind design

/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Ans: Add scroll in confirmation box data and method field.
Which issue(s) this PR fixes:

Fixes #
It the window is not big  enough. Data in confirmation model is not showing correctly.
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


SSH options

Changelog
New

Add additional example to README. [Chris Henry]

Implement option for gateway username. [Chris Henry]

Allow additional ssh options. [Chris Henry]

Current coverage is 82.29% (diff: 100%)

Merging #67 into master will increase coverage by 2.09%

@@             master        #67   diff @@
==========================================
  Files             6          6
  Lines           202        209     +7
  Methods           0          0
  Messages          0          0
  Branches         26         28     +2
==========================================
+ Hits            162        172    +10
+ Misses           35         32     -3
  Partials          5          5

Powered by Codecov. Last update c9c96d2...69ca384

@chrishenry Thank you for pr! I'll review it this weekend!

@chrishenry merged! Thanks!