fix: lora dropout applied to all models

Context
What is the purpose of this PR? Is it to

[ ] add a new feature
[x] fix a bug
[ ] update tests and/or documentation
[ ] other (please add here)

Related to issue #996
Changelog
I only pass the lora_dropout argument where needed
Test plan
Please make sure to do each of the following if applicable to your PR. (If you're not sure about any one of these just ask and we will happily help.)

[ ] run pre-commit hooks and linters (make sure you've first installed via pre-commit install)
[ ] add unit tests for any new functionality
[ ] update docstrings for any new or updated methods or classes
[ ] run unit tests via pytest tests
[ ] run recipe tests via pytest tests -m integration_test
[ ] manually run any new or modified recipes with sufficient proof of correctness

[ ] include relevant commands and any other artifacts in this summary (pastes of loss curves, eval results, etc.)

@ebsmothers yes you are right I forgot to update the mistral model! I've just added a new commit to take care of it!

Ah sorry just a couple more output layers.. here, here, and here. After that I think this should be good to go!

@ebsmothers good catch! updated!


The project not work

Hello,
I tried this project but it doesn't seem intent on working. My Apache web server is configured correctly because I tried the website_skeleton application (and many other project on my server test) and works.
How can I solve it?
This is a screen.

Try to execute:
composer req apache-pack

And try again, please. It's required for running this project on Apache

It's my fault. I apologize.
I read that the project is without additional configuration and I didn't think to read the documentation about how to use symfony with apache.
Now works. Thank you so much and sorry.

Try to execute:
composer req apache-pack

And try again, please. It's required for running this project on Apache

It's my fault. I apologize.
I read that the project is without additional configuration and I didn't think to read the documentation about how to use symfony with apache.
Now works. Thank you so much and sorry.

@adrix71 Sorry for the confusion! The project requires zero-setup or configuration if you follow the recommended installation/execution process shown in the README. But, if you change the database, or the web server, etc. you'll need to make the needed changes. Luckily the solution proposed by @bocharsky-bw was easy. Closing as fixed then. Thanks!


Spend time going through example records

https://docs.google.com/spreadsheets/d/1Mkghy-Y4EBcJw1_IQ4Y1_G694jdDaIe17BolIConcPo/edit?usp=sharing


Created speaker's section

shifted the form to the left
added speaker's section

Thanks for contributing to this @mayankkuamr001 ✨


Added Jasonette - ios.

JASONETTE-iOS
Project URL
https://github.com/Jasonette/JASONETTE-iOS
Description
Native App over HTTP. Create your own native iOS app with nothing but JSON.
It was useful library and I thought it needs to added to awesome swift. But I don't know where it comes, so I added under reactive programming.
Checklist

[x] Only one project/change is in this pull request
[ ] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 or later
[ ] Supports Swift 3
[ ] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

  :no_entry_sign:
  Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

2055
404
https://github.com/drekka/Alchemic-Swift

  Generated by :no_entry_sign: danger

I think Alchemic-Swift library is no more exist. Can I remove it?

no, thanks

Hey @arasu01, thanks for contributing again!
Don't worry about that because I'll fix by myself! 😉


Material checkbox group: theme variant VERTICAL doesn't work

the variant adds CSS to the wrong element; it's applied to the root, when it should be applied to vaadin-group-field-container.

Which Vaadin version are you using? With 14.0.3 and with the following source:
CheckboxGroup<String> group = new CheckboxGroup<String>();
group.setItems("one", "two", "three");
group.addThemeVariants(CheckboxGroupVariant.LUMO_VERTICAL);
add(group);

the result looks ok:

14.1.0.beta1

Works fine for me on 14.1.0.beta1 and 14.1.0.beta3 with the code above. Please provide some example code that produces the issue.

It turns out the issue is related to Material theme:
https://github.com/vaadin/vaadin-checkbox/blob/0b3b8e803f6e30c7992d76b0c05be740850e5172/theme/material/vaadin-checkbox-group-styles.html#L38-L41
This has been left without attention for 3 months because of incomplete information.
Of course it's us who should triage the new issues, but we appreciate proper bug reports.
So, I kindly ask you to provide as much information as possible the next time.


Facebook failed with error 500

Error message: No results for this query.
Query string: action=display&bridge=Facebook&u=shostak25&media_type=all&format=Html

Duplicate of the issue posted directly before this one (#577). Poster must not have searched or looked at posted issues.

Please check if the name is written correctly. https://www.facebook.com/shostak25 does not exist according to my internet

Duplicate of the issue posted directly before this one

Yes, and no. It has the same error number but the previous one was about captcha. This one isn't. These issues are opened by clicking the button that appears when you receive that error. Since we get a lot of Facebook related issues, I suppose it needs fixing...
Adding an issue template might also be a good idea.


Maybe we should create a gihub wiki or a pier-contrib repo?

I think it would be cool if we had some sort of platform where we can share scripts, workflow examples, extensions etc. I always appreciate learning about other people's workflows and it feels appropriate to have something like that considering the tool. It's also a good place to increase the documentation and link to related tools.

Here's a very simple fzf menu i made that perhaps would be interesting to add to something like that:

pfz() {
    pier list -q \
        | fzf -m --preview 'pier show {} | bat --color=always' \
        --bind 'ctrl-y:execute(pier show {} | xsel -b)+abort' \
        | xargs -n 1 -I {} pier run {}
}

I was considering creating an emacs plugin for pier as way to learn elisp, my idea is implementing a plugin with fuzzy selection, execution, repl / paste to buffer etc. Obviously that would go in a separate repository but things like that would be a good place to link from a wiki.

 :)

Yes! Just sent you an e-mail.


connection to server refused

josh@ubuntu:~$ snap install microk8s --classic --beta
snap "microk8s" is already installed, see 'snap help refresh'
josh@ubuntu:~$ microk8s.kubetl get all
microk8s.kubetl: command not found
josh@ubuntu:~$ microk8s.enable dns dashboard
Applying DNS manifest
The connection to the server <IP_ADDRESS>:8080 was refused - did you specify the right host or port?
The connection to the server <IP_ADDRESS>:8080 was refused - did you specify the right host or port?
josh@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic

Hi @jbottum,
Thank you for reporting this.

josh@ubuntu:~$ microk8s.kubetl get all
microk8s.kubetl: command not found

This is a typo. It should be microk8s.kubectl. If you got this typo anywhere from the web please point us to the right direction and we will correct it.

josh@ubuntu:~$ microk8s.enable dns dashboard
Applying DNS manifest
The connection to the server <IP_ADDRESS>:8080 was refused - did you specify the right host or port?
The connection to the server <IP_ADDRESS>:8080 was refused - did you specify the right host or port?

We need to see why the apiserver failed to start. Can you make sure port 8080 on your machine is available (no other service is listening on it)? Can you show me the output of sudo systemctl status snap.microk8s.daemon-apiserver.service and sudo journalctl -u snap.microk8s.daemon-apiserver.service
Thank you.

thanks.   do I need to run a command to make 8080 available ?   (sorry if its a basic question, i work in sales :)
here is some output
josh@ubuntu:~$ microk8s.kubectl get all
error: the server doesn't have a resource type "cronjobs"
josh@ubuntu:~$ sudo systemctl status snap.microk8s.daemon-apiserver.service
[sudo] password for josh:
● snap.microk8s.daemon-apiserver.service - Service for snap application microk8s.daemon-apiser
Loaded: loaded (/etc/systemd/system/snap.microk8s.daemon-apiserver.service; enabled; vendor
Active: failed (Result: exit-code) since Mon 2018-06-18 23:38:44 CDT; 1 weeks 6 days ago
Main PID: 18109 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavaila
josh@ubuntu:~$ sudo journalctl -u snap.microk8s.daemon-apiserver.service
-- Logs begin at Tue 2018-06-19 23:55:20 CDT, end at Mon 2018-07-02 10:30:13 CDT. --
-- No entries --
josh@ubuntu:~$

@jbottum What's the output of sudo netstat -tnlp | grep 8080?

nothing that i can see...I tried 3 times...
sudo netstat -tnlp | grep 8080
[sudo] password for josh:
josh@ubuntu:~$ sudo netstat -tnlp | grep 8080
josh@ubuntu:~$ sudo netstat -tnlp | grep 8080
josh@ubuntu:~$

ok, removing and reinstalling has fixed the installation issue, thank you

@jbottum why did you close this? Reinstalling did not fix it, using an older version did not fix this?

I don’t think that I did.  I think it auto closed.

On Oct 10, 2020, at 1:47 PM, Michael de Lang<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@jbottum https://github.com/jbottum why did you close this? Reinstalling did not fix it, using an older version did not fix this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ubuntu/microk8s/issues/61#issuecomment-706594544, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQQPEAS77Y3UFAX6EEGRITSKCT3PANCNFSM4FHWX5YA.

My apologies, I added this comment thinking it was my own issue. Please ignore what I said.


Close the user session in turms-gateway only if the exception is specified TurmsBusinessException

Note: we need to document the behavior so that developers know what's expected.


Add vLLM llama-8b support

Please be specific that this related to the serving catalog. Remember this repo is not just for the serving catalog.


Feature Request/Proposal: Clauses

Clause
A clause can be used to create extremely customizable types. Don't have a better way to explain it, so look at the example.
Example
clause LessThan5 (x) {
  return typeof x === "number" && x < 5;
}

const myNum: LessThan5 = 2;
const myNum2: LessThan5 = 7; // error at compile-time

So whatever value you try to assign to a clause, gets passed in as the clause argument. If the clause returns true for that value, it works, otherwise, it throws an error.
And if you wanted to shorten it even further, you could do the following instead:
clause LessThan5 (x: number) {
  return x < 5;
}

...and it would work the same.
Giving the clause argument a type means that the value it is assigned to must first be of that type, and then meet the clause's restrictions. In that first clause, x's type would be inferred as any.
Why?
Imagine you want a function that can get a certain number of users from a database. If you pass in a positive number, it gets that many users. If you pass in -1, you get all the users.
Now to implement this in typescript (without clauses) you would do:
function getUsers(amountToGet: number) {
  if (amountToGet > 0) return db.users.filter(amountToGet);
  else if (amountToGet === -1) return db.users;
}

This is fine, but we don't want the caller of the function to pass in just any number, only -1 or a positive number. So that's why we should use clauses.
Look at the following code:
clause GetAmount (x: number) {
  return x > 0 || x === -1;
}
function getUsers(amountToGet: GetAmount) {
  if (amountToGet > 0) return db.users.filter(amountToGet);

  else return db.users; // instead of `else if` we can use `else`. This is because: since x is not greater than 0, the only remaining possibility is that x is -1, since the type of x is the clause `GetAmount`
}

I think that Clauses would be a great addition to the language, and would be able to solve many problems. I hope this is implemented.

We're not going to do anything that involves evaluating user-written code during the compilation process.


Bug/stepoffset

Janky fix to stepoffset code. Only works about 90% of the time, but better than current state where it doesn't work at all.

@Tristan-W : I don't know what to do. T_T

Can someone else help get this 100%? THANK you!

@Thundros Did you try putting the changes from this branch into your game? After that, enable step offset for your character prefab (and I did a step height of 1). It should at least do something.

@Tristan-W Will get to testing this tomorrow! Sorry for the late reply! :) Just been busy lately! I would like to make this work 100%!

@Tristan-W Did you ever find a fix for this 100%? I must apologize for the late reply, I got busy as hell til' now.

This fix works really well! It is by no means a janky fix :)
@Olezen I highly suggest you merge this pull request, it makes the step functionality work. There are some Debug.Logs left in the code so it might require a little cleanup but other than that it's really good!

@rgarlik Really? It functions 100%?!

@rgarlik ???

Yes, I haven't noticed any bugs.


feat: provide a way to select "Date Between" in Duration.

card link: https://a.kerika.net/acc_7araR1FVpSBR4YqEpigNdw/board/brd_RZjQ1ghUp5i15mCablDRO/crd_1q19ccJwSufl9eHtgnfBD3?tab=description

:tada: This PR is included in version 4.0.0-date-range-select.1 :tada:
The release is available on:

npm package (@date-range-select dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


added optional parameter to provide a secret when unlocking a vehicle

Based on the feedback on #77 I added an optional parameter to RemoteServices.trigger_remote_door_unlock.
For easier testing I also added two new commands:
bimmerconnected unlock <user> <password> <region> <VIN> <secret>
bimmerconnected lock <user> <password> <region> <VIN>

The "secret" parameter is optional on the command line as well as on the RemoteServices.trigger_remote_door_unlock.

Traceback (most recent call last):   File "./cli.py", line 161, in <module>     main()   File "./cli.py", line 56, in main     args.func(args)   File "./cli.py", line 140, in unlock     status = vehicle.remote_services.trigger_remote_door_unlock(args.secret) TypeError: trigger_remote_door_unlock() takes 1 positional argument but 2 were given

Hay @bdwilson ,
Thx for testing :+1:
This is a weird exception you're getting there, I'm confused :confused: .

First of: I just tested it again and it works on my machine, including sending the secret to the server.
The call trigger_remote_door_unlock(args.secret) also looks good
But the TypeError is incorrect trigger_remote_door_unlock() actually does take 2 positional argument (self pointer and the secret).

So I do not really know what goes wrong there. Can you please clean up your setup and maybe create a new virtual environment? Maybe it's some mixture of old and new code?
Beyond that I do not really know what might cause this...

I used a completely clean setup.  I tested the lock command and it worked without issue.  Went from Pending, Delivered, to Executed.
It fails without a password, and it fails with a password.
$ ./cli.py unlock xxx@xxxx "Password" north_america WBY1Z4C51Fxxxxxx
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "POST /webapi/oauth/token HTTP/1.1" 200 None
DEBUG:bimmer_connected.account:got new token xxxx with expiration date 2018-10-12 21:51:22.702145
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None
Traceback (most recent call last):
  File "./cli.py", line 161, in <module>
    main()
  File "./cli.py", line 56, in main
    args.func(args)
  File "./cli.py", line 140, in unlock
    status = vehicle.remote_services.trigger_remote_door_unlock(args.secret)
TypeError: trigger_remote_door_unlock() takes 1 positional argument but 2 were given

$ ./cli.py unlock  xxx@xxxx "Password" north_america WBY1Z4C51Fxxxxxxabc123
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "POST /webapi/oauth/token HTTP/1.1" 200 None
DEBUG:bimmer_connected.account:got new token xxxxx with expiration date 2018-10-12 21:51:36.801968
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None
Traceback (most recent call last):
  File "./cli.py", line 161, in <module>
    main()
  File "./cli.py", line 56, in main
    args.func(args)
  File "./cli.py", line 140, in unlock
    status = vehicle.remote_services.trigger_remote_door_unlock(args.secret)
TypeError: trigger_remote_door_unlock() takes 1 positional argument but 2 were given

@bdwilson still weird, I also did a clean checkout of the branch and it still works 😕
Which python version are you using?

@m1n3rva Python 3.6.6 on Ubuntu 18.04.1 LTS.

@bdwilson is still something that needs attention?

It's still not working for me:
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "POST /gcdm/oauth/token HTTP/1.1" 200 None
DEBUG:bimmer_connected.account:got new token xxx with expiration date 2019-09-05 20:44:36.569989
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:Triggering remote door lock
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "POST /webapi/v1/user/vehicles/xxx/executeService HTTP/1.1" 500 None
ERROR:bimmer_connected.account:Unknown status code 500, expected 200
ERROR:bimmer_connected.account:{"error":{"code":500,"description":"(SmartPhoneUtil-A-302) External service failed. "}}
Traceback (most recent call last):
File "./cli.py", line 161, in
main()
File "./cli.py", line 56, in main
args.func(args)
File "./cli.py", line 140, in unlock
status = vehicle.remote_services.trigger_remote_door_unlock(args.secret)
File "/usr/local/lib/python3.6/dist-packages/bimmer_connected/remote_services.py", line 101, in trigger_remote_door_unlock
self._trigger_remote_service(_Services.REMOTE_DOOR_UNLOCK, unlock_secret=unlock_secret, post=True)
File "/usr/local/lib/python3.6/dist-packages/bimmer_connected/remote_services.py", line 143, in _trigger_remote_service
return self._account.send_request(url, post=post, data=data)
File "/usr/local/lib/python3.6/dist-packages/bimmer_connected/account.py", line 134, in send_request
raise IOError(msg)
OSError: Unknown status code 500, expected 200

That seems to be the same error as the HA library gets from the Connected Drive portal. Can you retry some times to see if it works?

Yep, it works now.

DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "POST /gcdm/oauth/token HTTP/1.1" 200 None
DEBUG:bimmer_connected.account:got new token GQkH8A7NenIK2Vg4FbfYX6xxxxxxxxxxxx with expiration date 2019-11-08 21:18:18.477775
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:Triggering remote door lock
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "POST /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/executeService HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:getting remote service status
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/serviceExecutionStatus?serviceType=DOOR_UNLOCK HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:current state if remote service is: PENDING
DEBUG:bimmer_connected.remote_services:getting remote service status
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/serviceExecutionStatus?serviceType=DOOR_UNLOCK HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:current state if remote service is: PENDING
DEBUG:bimmer_connected.remote_services:getting remote service status
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/serviceExecutionStatus?serviceType=DOOR_UNLOCK HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:current state if remote service is: PENDING
DEBUG:bimmer_connected.remote_services:getting remote service status
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/serviceExecutionStatus?serviceType=DOOR_UNLOCK HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:current state if remote service is: PENDING
DEBUG:bimmer_connected.remote_services:getting remote service status
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/serviceExecutionStatus?serviceType=DOOR_UNLOCK HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:current state if remote service is: DELIVERED
DEBUG:bimmer_connected.remote_services:getting remote service status
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/serviceExecutionStatus?serviceType=DOOR_UNLOCK HTTP/1.1" 200 None
DEBUG:bimmer_connected.remote_services:current state if remote service is: EXECUTED
DEBUG:bimmer_connected.state:requesting new data from connected drive
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.us:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.us:443 "GET /webapi/v1/user/vehicles/WBY1Z4C51FVxxxxxx/status?deviceTime=2019-11-08T20%3A18%3A57&dlat=0.0&dlon=0.0 HTTP/1.1" 200 None
DEBUG:bimmer_connected.state:received new data from connected drive
ExecutionState.EXECUTED

Hi @bdwilson sorry for the slow progress on this PR...
Is this still something that you want to have merged or can we close this?

Up to you; the last test I tried worked successfully.

Are you using this with Home Assistant or only directly with this library? Because it will need a PR for Home Assistant as well before it will work there.

I’m not. You can close.

Ok, thanks!


[Search] The displayed amount of results are different after clickin on the "See all results" option

Environment: Windows10 x64, Chrome 89.0.4389.128
Reproducible: always
Build found: 27.09.2021
Preconditions
User is logged in GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
Steps to reproduce

Click on the 'Search' icon at the header of the site.
Type the text in the 'Search' field (e.g. 'news')
Click on the ‘See all News’ button on the left side at the bottom of the screen.
Scroll down the search results.

Actual result
On the step 2 there is information about how many items have been found (see attachment "search result"), but after clicking on the button "see all results" there is only 6 items (see attachement "see all results").
Expected result
After the User clicks on the 'See All News' button on the Search page, the User should be redirected to the page with All found content items.
User story and test case links
[Search] Search results displaying and filtering #572
[Search] The 18 items are shown instead of 9 after infinite scrolling #2720
Attachments

Bug is fixed - verified


Code Review worker.js

Declare and export an object called "api" with the following properties:
  - icon: a robot emoji
  - name: 'gpt.do'
  - description: 'GPT-3 Templates and Completions'
  - url: 'https://gpt.do/api'
  - type: 'https://apis.do/ai'
  - endpoints: object with 'get' and 'post' keys, each with a URL
  - site: 'https://gpt.do'
  - login: 'https://gpt.do/login'
  - signup: 'https://gpt.do/signup'
  - subscribe: 'https://gpt.do/subscribe'
  - repo: 'https://github.com/drivly/gpt.do'

Export an object as the default export with properties:
  - fetch: an async function that takes request and environment objects as argument
    - Destructure variables user, data, pathname, pathSegments, query and more from request and environment using the CTX helper library
    - If pathname is '/favicon.ico', return a 404 status
    - If pathname is '/webhooks/github', return an object with success: true and the user object
    - If user is not authenticated, redirect to 'https://gpt.do/login'
    - Destructure variables messages, functions, n, max_tokens, and model from the data object or the query object
    - Declare a forEach array, an input object, and a file variable
    - If the pathSegments contain 'prompts' or 'formats', fetch templates and process them:
      - Get the corresponding template object
      - If template is not found, return an error JSON response with a 404 status
      - Set model, messages, and input variables based on the template properties if not already set
      - If the query contains a fileUrl, fetch its content as a text and set the input.file property
      - Replace placeholders with input data in the messages
      - Format forEach property if it exists inside the template
    - If there's a fileUrl in the query, fetch file content and store it in the input object
    - If messages don't exist, initialize them as an empty array
    - If a file exists, add a user message with the file content if it doesn't exist
    - If no messages exist, create a user message based on the first pathSegment
    - If no system message exists, add a default one
    - Prepare options object with various properties
    - Fetch chat completion from OpenAI API with options
    - If an error exists in completion, respond with an error message and optional debug info for admins
    - Process the completion response, store it in response and completions variables
    - Iterate over forEach if it's not empty, handle more completions and store them in completions and responses arrays
    - Return a JSON response with combined values of response, completion, completions, inputMessages and user

Declare a helper function "json" to create a formatted JSON Response with given object and optional status

Declare two more helper functions:
  - fillMessageTemplate: Replace message placeholders with input object values
  - formatMessages: Convert an object into an array of role-content message objects

Based on the plain English translation, there seem to be no logical errors, syntax, memory, or security issues. However, here are some potential refactors and enhancements that could be considered:

Refactoring parts of the code into separate functions may make the code cleaner and more maintainable (e.g., handling templates and completions).
Adding more error handling and input validation may make the code more robust.
Split long lines of code into multiple lines to enhance readability.
Consider adding comments to provide clearer explanations and context for users and other developers reading the code.

Refactor and enhancement suggestions:
- [ ] Refactor parts of the code dealing with template processing and completion fetching into separate functions.
- [ ] Add more error handling and input validation to ensure the code is more robust.
- [ ] Split long lines of code into multiple lines to enhance readability.
- [ ] Add comments to provide clearer explanations and context for users and other developers reading the code.
- [x] Add ```[tasklist]``` specification to diagnose format

@nathanclevenger This is the format that I'm thinking for automated code reviews. The only thing missing is a button to request it on a file and a repo.do method or other integration to create the issue and assign it to the requestor.


Docs: Readme 동영상

📬 Issue: FEATURE

https://github.com/Good-MoGong/SYM/assets/127810279/ff5f0417-cc68-43f4-b4e6-46f99003b28c
📃 Description

🧪 Todo

👀 ETC

test 완료 close


SAK-49426 - Config option to remove site labelling

I'd recommend renaming the configuration option to something like portal.siteList.labelsVisibility for clarity. I don't think we use the word trinity anymore :)


Merge branch 'release-1.0' into 'collab-gcp-identity'

/cc @wattli

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: quanjielin, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Updated AOA Changelog for 0.3.0-beta.2 release

This change updates the changelog for the release of 0.3.0-beta.2.

AutoMerge appears to be stuck; manually merging.


[VS Code] RPC connection closed.

Error:
RPC connection closed.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.1182

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.31.1

platformName
MacOS

platformVersion
18.2.0

Thanks for reporting this! We're already tracking this issue via #1353, so I'm going to close this as a duplicate.


Update to astro 4?

The repo seems to quite an ancient version of astro. Are there plans to upgrade?

Seem Viewport Transition broke the JS too.

CRUD API does not work with Astro v4


db schema which will automatically get executed

I hope this script will help to automated creation of tables in hsql

how can connect this project to Mysql and read the data from that.


HTTP Response 204 with no content is handled as faulted

What happened:
When a workflow, makes as HHTP Request and Recives 204 as response with no content. Workflow shows it as faulted.
Here are the logs :
[11:53:59] info: System.Net.Http.HttpClient.Default.ClientHandler[101]
      Received HTTP response headers after 49.8859ms - 200
[11:53:59] info: System.Net.Http.HttpClient.Default.LogicalHandler[101]
      End processing HTTP request after 49.9689ms - 200
[11:53:59] fail: Synapse.Runner.Services.Executors.OpenApiCallExecutor[0]
      An error occurred while executing the task '/do/0/initialize/do/1/iteraateOnPackage/for/0/do/0/iterateOnEnv/for/0/do/2/deploy/do/7/synchronizeContent': System.NotSupportedException: Failed to find a serializer for the specified media type 'text/html'
         at Synapse.Runner.Services.Executors.OpenApiCallExecutor.DoExecuteAsync(CancellationToken cancellationToken) in /src/src/runner/Synapse.Runner/Services/Executors/OpenApiCallExecutor.cs:line 262
         at Synapse.Runner.Services.TaskExecutor`1.ExecuteAsync(CancellationToken cancellationToken) in /src/src/runner/Synapse.Runner/Services/TaskExecutor.cs:line 197
[11:53:59] info: System.Net.Http.HttpClient.ISynapseApiClient.LogicalHandler[100]
      Start processing HTTP request PATCH http://synapse-api/api/v1/workflow-instances/default/form-package-deploy-138026c91604/status
[11:53:59] info: System.Net.Http.HttpClient.ISynapseApiClient.ClientHandler[100]
      Sending HTTP request PATCH http://synapse-api/api/v1/workflow-instances/default/form-package-deploy-138026c91604/status
[11:53:59] info: System.Net.Http.HttpClient.ISynapseApiClient.ClientHandler[101]

How to reproduce it:
Anything else we need to know?:
Environment:

That is not what is occuring in your case. Responses with 204 are properly handled, I just tested it to confirm.
Your problem is due to the response's content type, which cannot be handled when the HTTP call's output parameter has been set to content (which is the default).
As you can read in the supplied logs:  Failed to find a serializer for the specified media type 'text/html'
Your options are to set the output parameter to raw, so Synapse will read the text without attempting to deserialize it, or to set it to response, in which case you'll have access to the response object, as documented here.


Roll engine 8aefcd857508..8882bf3c73f5 (1 commits)

git@github.com:flutter/engine.git/compare/8aefcd857508...8882bf3c73f5
git log 8aefcd857508..8882bf3c73f5 --no-merges --oneline
2019-10-18<EMAIL_ADDRESS>Avoid dereferencing IO manager weak pointers on the UI thread (flutter/engine#13232)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


fix: 🐛 sortCollection does not sort strings properly

sortCollection fails to sort collections of strings due to the use of
"-" in the compareFunction.
✅ Closes: #94
Note

Make sure you have read the contribution guidelines

@randymorris has done it again! Thanks for this.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add additional notifiers

It would be nice if hoshinova supported additional notifiers apart from Discord.

Do you have any specific services you want/need?

Not something specific. I need to get notified when a video is done. A simple webhook would be nice

If you want to write your own webhook handler, you can point the discord webhook URL to your own webserver. It sends an HTTP POST with a JSON body. You can check the schema from Discord's documentation.
https://discord.com/developers/docs/resources/webhook#execute-webhook
Other than that you'd have to be a bit more specific with what you need.

Closing this issue, feel free to file a new issue if you want a specific notifier implemented.


Introduce model memory estimator

accelerate estimate-memory
What does this add?
This PR introduces a new CLI command: accelerate estimate-memory, which will utilize the meta device to calculate the total vRAM needed for big model inference, the entire model, and training for a particular model and a variety of precision formats. This also does so without needing to download model weights.
Who is it for?
Users of accelerate, and MLE's in general who want to know how big of a model they can fit on their system
Why is it needed?
Many individuals have asked for a way to figure out just what size of a model they can perform big model inference on, the size of a model to fit on their system in general, and for training. As a result, this PR finally fulfills this, using much of the memory-calculating logic already existing in accelerate
Currently this supports transformers and timm, in the future it will support diffusers
What parts of the API does this impact?
User-facing:
A new accelerate estimate-memory command
Internal structure:
A few utils were added for convenience to big_modeling and other in relation to this PR
Basic Usage Example(s):
All from the CLI:
Using transformers:
accelerate estimate-memory --model_name "togethercomputer/LLaMA-2-7B-32K" --dtypes float32 float16
Loading pretrained config for `togethercomputer/LLaMA-2-7B-32K` from `transformers`...
┌────────────────────────────────────────────────────┐
│ Memory Usage for `togethercomputer/LLaMA-2-7B-32K` │
├───────┬─────────────┬──────────┬───────────────────┤
│ dtype │Largest Layer│Total Size│Training using Adam│
├───────┼─────────────┼──────────┼───────────────────┤
│float32│   500.0 MB  │ 25.61 GB │     102.46 GB     │
│float16│   250.0 MB  │ 12.81 GB │      51.23 GB     │
└───────┴─────────────┴──────────┴───────────────────┘

Using timm:
accelerate estimate-memory --model_name "timm/resnet50.a1_in1k" --dtypes float32 float16
Loading pretrained config for `timm/resnet50.a1_in1k` from `timm`...
┌────────────────────────────────────────────────────┐
│      Memory Usage for `timm/resnet50.a1_in1k`      │
├───────┬─────────────┬──────────┬───────────────────┤
│ dtype │Largest Layer│Total Size│Training using Adam│
├───────┼─────────────┼──────────┼───────────────────┤
│float32│    9.0 MB   │ 97.7 MB  │     390.78 MB     │
│float16│    4.5 MB   │ 48.85 MB │     195.39 MB     │
└───────┴─────────────┴──────────┴───────────────────┘

When would I use it, and when wouldn't I?
A user would want to use this feature if they wanted to know if a model will fit on their card or be inferenceable with big model inference before downloading the weights

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@BenjaminBossan re;

One minor concern that I have is that the tests re-use a lot of the same code as the functions that they're testing. Thus certain types of bugs would not be caught (say, a bug in convert_bytes). I wonder if we can add a test for a given model where we know the values for the vRAM usage and can just hard code the expected values. WDYT?

I'll look at refactoring the code, as yes if we have to go that far to test with utils it smells of a design issue

Also looking at why the tests are failing on the CI, as they pass locally for me so this is quite strange (and in a brand new testing env)

Also looking at why the tests are failing on the CI, as they pass locally for me so this is quite strange (and in a brand new testing env)

I think they're now failing because they still use --model_name, but IIRC there was another error before that.


Malfunctioning title edition for local manga

Steps to reproduce

Move manga to local folder (with no metadata, only images/cbz)
Refresh (because cover is not showing) » .nomedia and .noxml are added
Add to library
Edit title
Refresh » ComicInfo.xml is added
Edit title » Title in ComicInfo.xml NOT updated
Refresh » previous title loaded from ComicInfo, info.json created with new title
Edit title » info.json updated with newest title, ComicInfo intact with oldest title
Refresh » oldest title from ComicInfo loaded
Manually remove ComicInfo and Refresh » newest title loaded from info.json, ComicInfo created with newest title, info.json removed
Edit title --> go to step7

Expected behavior
Title is set to the value from latest edit
Actual behavior
title loaded from one of files: ComicInfo or info.json that are not consequently updated
Crash logs
No response
Tachiyomi version
1.10.2
Android version
Android 11
Device
Redmi 9
Other details
P.S. Removing both meta files doesn't change title back to folder name but still loads last used title somehow.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extension's repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.2.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Should be fixed in the next build


Update how-to-authenticate-an-imap-pop-smtp-application-by-using-oaut…

…h.md
saw a lot of customer confusion and escalations as they are mixing up different IDs they need to use for grating IMAP application permission.  So added the example with concrete steps which will lead to the expected access.

Thanks @DanijelkMSFT! Sorry for the late review. You can @ me in comments next time and I'll get to it faster.


Accessibility

Need accessibility statement
https://github.com/UniversalViewer/universalviewer/wiki/Accessibility-Statement-for-the-Universal-Viewer
Keyboard navigation: tab into panel, left / right arrow keys  to view images, tab to leave panel. Could also use this:
https://www.w3.org/WAI/ARIA/apg/patterns/listbox/
We can also look at testing with lighthouse: https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk
Can add unit tests to ensure keyboard navigation remains accessible.
Could write a single accessibility statement for iiif-commons that all components will meet.

We should be careful about stating accessibility level as this would be integrated into another product which would have to evaluate the whole app rather than individual components.

Yes, we can't promise an accessibility standard for a few reasons:

CSS is provided from the outside
Some customisations may change how accessible the panel is
The IIIF is unknown, and without good labelling in the content - some of the accessibility requirements for describing image content will be impossible.

But we can make the interactions themselves accessible, using the W3C provided patterns.


Fix Pr1568: use integer arithmetic instead of floor

pr1568 didn't compile on my machine because the "floor" function was not declared ( missing cmath header?)
I prefer to use integer arithmetic anyway, and this PR is:

squashed commit with all content from #1568
one more commit to change the use of floor to use integer arithmetic instead.

I still have other followups that I'd like to see, filed as #1637 and #1638

FYI: There is also #1606 to ensure StorageBuffer with Block decoration is treated the same as Uniform with BufferBlock decoration.


BITMAKER-1913: Insert items into the database in batches

Description
Modify the Kafka consumers to insert items in batches.
Issue

_https://tasks.bitmaker.dev/issues/1913_.

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] My code follows the style guidelines of this project.
[x] I have made corresponding changes to the documentation.
[x] New and existing tests pass locally with my changes.
[x] If this change is a core feature, I have added thorough tests.
[x] If this change affects or depends on the behavior of other estela repositories, I have created pull requests with the relevant changes in the affected repositories. Please, refer to our official documentation.
[x] I understand that my pull request may be closed if it becomes obvious or I did not perform all of the steps above.

@mgonnav the new variables have fixed values, this will be changed in: https://tasks.bitmaker.dev/issues/1961


Update microsoft-graph-migration.md

Docs Build status updates of commit 02e5d88:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3fc05a1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 00e2e57:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 9506663:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


on-wrist camera

Hi, thanks much for sharing this low-cost project.
Have you ever tried putting a on-wrist camera on the follow arm?
Can you provide some help about what the maximum weight the motor can support for a on-wrist camera and if there is an stl file for the relevant connector?

Hi，
Have you copy this arm? Do you have the training algorithm to fold the clothes? Thank you!


Be consistent in our testing environments

We want to make sure that:

All releases are done in an environment that has been tested by
Doing nightly releases that run in an environment that has been tested by
Testing for CI

For pomyup that means building off of the shared docker x86 linux builder
and augmenting it with a version of openssl that we can use.
image which has release and latest versions that correspond to
shared docker x86 linux builder.

Excellent catch. Fixed @EpicEric, let me know if you see anything else.


Add Humanode Mainnet

There seems to be an issue with the scripts (or our chain?) - can you help, mds1?

I just pushed some fixes in https://github.com/mds1/evm-diff/pull/95, though I don't think they will help based on the RPC URL you're using. Can you try again? It looks like your RPC is similar to some of the other domainsToSkip URLs in that it doesn't allow us to simulate eth_call with no to address

Ok, elaborate on this please! This RPC runs on a reference implementation (i.e. the "official" one) of the Humanode Network node, so if there are any issues with the RPC implementation we should fix them.
We have an EVM compatibility layer on the chain, and if we are missing some functionality it would be know what exactly is missing.
I think I understand what you mean. How would you suggest we implement it though? The calls must have some value set at to, so I suppose it would be default-initialized with zero bytes. Further thinking brings me to a question: is it actually required per spec? Need to double-check, but if not - it should probably be fixed at the evm-diff side, i.e. to make the system in general be able to show at least something for a given chain, and this "allows eth_call without to" to be showcased like an optional feature.
That said - I know our implementation doesn't support tracing just yet. We are planning to add it in the future. Could this be the reason why evm-diff fails?

Fix it at 972a727 (#86)

Is preview broken? Doesn't work properly for me, but it looks like everything should work...

Setting the to address to the zero address is different than leaving the to address as null or unspecified. https://github.com/mds1/evm-diff/pull/86/commits/972a727b1e8558edb5d32190f24f188e902f987f results in the eth_call executing a regular transaction to the zero address, whereas a null to address results in a contract creation transaction. EVM Diff needs a contract creation, as this means the data bytes are executed directly as initcode, making it easy to check opcode support.
I am unsure what the official RPC spec specifies (if anything) for allowing an empty to address in eth_call.

That said - I know our implementation doesn't support tracing just yet. We are planning to add it in the future. Could this be the reason why evm-diff fails?

No trace methods are used, so this should be ok

Is preview broken? Doesn't work properly for me, but it looks like everything should work...

I believe it currently doesn't work for PRs that come from a fork repo

Setting the to address to the zero address is different than leaving the to address as null or unspecified. 972a727 results in the eth_call executing a regular transaction to the zero address, whereas a null to address results in a contract creation transaction. EVM Diff needs a contract creation, as this means the data bytes are executed directly as initcode, making it easy to check opcode support.

Ah, I see, makes sense! Looks like indeed can't simulate contract creation. It is a bit odd to do an eth_call to support this from the naming perspective, but why not. I think we can add it.


Create default scanner rules for CIS recommendations for Kubernetes Engine, and the GKE Hardening Guideline

For the ke_scanner_rules.yaml, we have some of the rules in place that meet the CIS recommendations, but not all (such as autoUpgrade).
In looking through the KE cluster data in inventory, and we can add additional scanner rules to meet the CIS recommendations, and leave them as examples in the ke_scanner_rules.yaml.
GKE Hardening Guideline
https://cloud.google.com/kubernetes-engine/docs/how-to/hardening-your-cluster

Below info may assist with identifying the fields to be inspected by each rule.
Data referenced from CIS Benchmarks for GCP document under Creative Commons Public License.
7 Kubernetes Engine |
-- | --
7.1 Ensure Stackdriver Logging is set to Enabled on Kubernetes Engine Clusters (Scored) | To check logging status for an existing cluster, run the following command, gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.loggingService'The output should return logging.googleapis.com if logging is Enabled.
7.2 Ensure Stackdriver Monitoring is set to Enabled on Kubernetes Engine Clusters (Scored) | To check monitoring status for an existing cluster, run the following command, gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.monitoringService' The output should return monitoring.googleapis.com if monitoring is Enabled.
7.3 Ensure Legacy Authorization is set to Disabled on Kubernetes Engine Clusters (Scored) | To check Legacy Authorization status for an existing cluster, run the following command: gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.legacyAbac'The output should return null set({}) if Legacy Authorization is Disabled. If Legacy Authorization is enabled above command will return true value set to Enabled.
7.4 Ensure Master authorized networks is set to Enabled on Kubernetes Engine Clusters (Not Scored) | To check Master authorized networks status for an existing cluster, run the following command, gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.masterAuthorizedNetworksConfig'The output should return "enabled": true in set if Master authorized networks is Enabled. If Master authorized networks disabled above command will return null set.
7.5 Ensure Kubernetes Clusters are configured with Labels (Not Scored) | To check for the existence of Labels for an existing cluster, run the following command, gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.resourceLabels'The output should return Key and value pairs in set if Labels are configured. If Labels are not configured above command will return null set.
7.6 Ensure Kubernetes web UI / Dashboard is disabled (Scored) | gcloud container clusters describe [CLUSTER_NAME] --zone [ZONE] --format json | jq '.addonsConfig.kubernetesDashboard'Ensure the output of the above command has JSON key attribute disabled set to true { "disabled": true }
7.7 Ensure Automatic node repair is enabled for Kubernetes Clusters (Scored) | gcloud container node-pools describe default-pool --cluster timos-cluster --zone us-central1-a --format json | jq '.management'Ensure the output of the above command has JSON key attribute autoRepair set to true { "autoRepair": true }
7.8 Ensure Automatic node upgrades is enabled on Kubernetes Engine Clusters nodes (Scored) | To check existence of Automatic node upgrades for an existing cluster's node pool, run the following command, $ gcloud container node-pools describe [NODE_POOL] --cluster [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.management'168 | P a g eEnsure the output of the above command has JSON key attribute autoUpgrade set to true { "autoUpgrade": true }If autoUpgrade is disabled above command output will not contain the autoUpgrade entry.
7.9 Ensure Container-Optimized OS (cos) is used for Kubernetes Engine Clusters Node image (Not Scored) | To check Node image type for an existing cluster nodes, run the following command: $ gcloud container node-pools describe [NODE_POOL] --cluster [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.config.imageType'The output of the above command returns COS, if Container-Optimized OS (cos) used for Node images.
7.10 Ensure Basic Authentication is disabled on Kubernetes Engine Clusters (Scored) | To check Basic authentication status for an existing cluster nodes, run the following command: gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.masterAuth.password and .masterAuth.username' The output of the above command should return false, if Basic authentication is disabled. If Basic authentication is enabled above command will return true.
7.11 Ensure Network policy is enabled on Kubernetes Engine Clusters (Scored) | To check Network policy is enabled for an existing cluster, run the following command, gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.networkPolicy'Ensure the output of the above command has JSON key attribute enabled set to true { "enabled": true }
7.12 Ensure Kubernetes Cluster is created with Client Certificate enabled (Scored) | To check Client certificate is enabled for an existing cluster, run the following command, gcloud container clusters describe change-acc-group-test-cluster --zone us-central1-a --format json | jq '.masterAuth.clientKey'Ensure the output of the above command should not return null or empty value.
7.13 Ensure Kubernetes Cluster is created with Alias IP ranges enabled (Scored) | To check Alias IP is enabled for an existing cluster, run the following command: gcloud container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.ipAllocationPolicy.useIpAliases'The output of the above command should return true, if VPC native (using alias IP) isenabled. If VPC native (using alias IP) is disabled above command will return null.
7.14 Ensure PodSecurityPolicy controller is enabled on the Kubernetes Engine Clusters (Scored) | To check Pod Security Policy is enabled for an existing cluster, run the following command, gcloud beta container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.podSecurityPolicyConfig'Ensure the output of the above command has JSON key attribute enabled set to true { "enabled": true }If Pod Security Policy is disabled above command output will return null set.
7.15 Ensure Kubernetes Cluster is created with Private cluster enabled (Scored) | To check Private cluster is enabled for an existing cluster, run the following command, gcloud beta container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.privateCluster'The output of the above command should return true, if the Private cluster is enabled. If the Private cluster is disabled above command will return null.
7.16 Ensure Private Google Access is set on Kubernetes Engine Cluster Subnets (Scored) | To get subnet name of the Cluster, run the following command: gcloud beta container clusters describe [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.subnetwork'The command will return you subnet name. Note down the subnet name and mention the same name at following command which will check Private Google access status, run the following command: gcloud compute networks subnets describe [SUBNET_NAME] --region [REGION] --format json | jq '.privateIpGoogleAccess'The output of the above command returns true, if Private Google access is set on Cluster subnetwork. If Private Google access is set to Off above command will return false.
7.17 Ensure default Service account is not used for Project access in Kubernetes Clusters (Scored) | To check which Service account is set for an existing cluster, run the following command: $ gcloud container node-pools describe [NODE_POOL] --cluster [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.config.serviceAccount'The output of the above command will return default if default Service account is used for Project access.
7.18 Ensure Kubernetes Clusters created with limited service account Access scopes for Project access (Scored) | To check Access scopes set for an existing cluster, run the following command: gcloud container node-pools describe [NODE_NAME] --cluster [CLUSTER_NAME] --zone [COMPUTE_ZONE] --format json | jq '.config.oauthScopes'The output of the above command will return array set access scopes. Make sure you have provided limited required scopes for each node clusters. If you are accessing private images in Google Container Registry, the minimally required scopes are only logging.write, monitoring, and devstorage.read_only.

https://github.com/GoogleCloudPlatform/forseti-security/pull/2659
@blueandgold  Please could you arrange for a peer review?

Looking forward to these landing.  One small note: 7.12 recommendation to use client certs has been reversed on the official documentation. It seems the latest guidance from the cluster creation page is to only access with IAM credentials because certs are hard to revoke and don't auto-rotate.
Best is to use apparently IAM access.
It seems the latest guidance from the cluster creation page is to only access with IAM credentials because certs are hard to revoke and don't auto-rotate.
This correction has been accepted by reviewers of the Draft CIS GCP 1.1 version.

The Kubernetes policies have been ported to the Policy Library, and the sample K8s policies have the CIS annotations. Example: https://github.com/forseti-security/policy-library/blob/master/samples/gke_dashboard_disable.yaml.


Update for docker/machine PR #1729

https://github.com/docker/machine/pull/1729
Broke:
package github.com/weaveworks/weave/...
	imports github.com/weaveworks/weave/common
	imports github.com/weaveworks/weave/common/docker
	imports github.com/weaveworks/weave/common/mflagext
	imports github.com/docker/docker/pkg/mflag
	imports github.com/docker/docker/pkg/homedir
	imports github.com/weaveworks/weave/ipam
	imports github.com/andybalholm/go-bit
	imports github.com/google/gopacket
	imports github.com/google/gopacket/layers
	imports github.com/google/gopacket/pcap
	imports github.com/gorilla/mux
	imports github.com/gorilla/context
	imports golang.org/x/crypto/nacl/box
	imports github.com/weaveworks/weave/nameserver
	imports github.com/weaveworks/weave/net
	imports github.com/vishvananda/netlink
	imports github.com/weaveworks/weave/prog/weaver
	imports github.com/weaveworks/weave/test/tls
	imports github.com/docker/machine/utils
	imports github.com/docker/machine/utils
	imports github.com/docker/machine/utils: cannot find package "github.com/docker/machine/utils" in any of:
	/usr/local/go/src/github.com/docker/machine/utils (from $GOROOT)
	/home/ubuntu/src/github.com/docker/machine/utils (from $GOPATH)
	/home/ubuntu/.go_workspace/src/github.com/docker/machine/utils

This should probably target 1.1 thinking about it.  1 sec.


update readme_zh

add discord badge and link;
add filecoin logo
Signed-off-by: xutweety<EMAIL_ADDRESS>

Codecov Report

Merging #288 (47b8ff5) into main (cf1ae87) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #288   +/-   ##
=======================================
  Coverage   54.86%   54.86%
=======================================
  Files          41       41
  Lines        3820     3820
=======================================
  Hits         2096     2096
  Misses       1724     1724

Flag
Coverage Δ

rust
54.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(inputs): totp support

Changes

totp support (resolves #17)

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated)
[x] Tests (passing on project: https://github.com/moonlitworks/without-romance/actions/runs/3193422828)

Thanks for this! Can you check if it works with #46 too?

Tested on a successful build (https://github.com/moonlitworks/without-romance/actions/runs/3210733592/jobs/5248407873) rebased on #46
Though, a few notes:

I find that totp doesn't work when used twice, so i had test login only happen when it is using mfa files
I removed the post-entrypoint from #46 as (a) the unescaped double quotes lead to docker: invalid reference format and (b) even with the double quotes escaped, it doesn't seem to locate $(pwd)/manifest.vdf correctly. Instead, I had to set output inside the main entrypoint

ref of changes: https://github.com/eyzi/steam-deploy/commits/timewarpinc
Let me know if there are any issues with these. Thanks!

Could you be a bit more specific about the ref of your changes? It's showing all your commits.

Could you be a bit more specific about the ref of your changes? It's showing all your commits.

Rebased this pr on #46 to test if this works with that, as per @davidmfinol's request
Moved test login inside the else block to only run it when it is using mfa files
Attempted to fix docker error by escaping double quotes in post-entrypoint
Removed post-entrypoint entirely and set action output from the main entrypoint


USDT farm token added into mainnet

fixes to admin pages
also fixed USDC price issue
Earlier the page was calculating USDC = 1 constant, now it fetched real time USDC and USDT from coingeko

Description
How has this been tested?
Types of changes

[ ] Technical Debt (non-breaking change which removes unused code/assets)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] The related ClickUp task has been linked to this PR
[ ] The person creating the pull request is listed in "Assignees"
[ ] Change requires updated documentation

Screenshots or Loom Video (optional):

Task linked: CU-2nggb1t UI Farm: Add USDT in the farm page


Snap the GUI scrollbar to window edge

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Currently on all platforms other than windows the gvim scrollbar snaps to the last visible column/row. There was an issue, #5602, that was labeled only for windows. The behavior was changed for windows in #6466 to let the scrollbar snap to window border instead. However that PR only implements the functions for win32 but not the other platforms.
Describe the solution you'd like
Is it planned to implement the same behavior on other platforms? I am on Linux so the gtk one is probably most related.
Describe alternatives you've considered
None
Additional context
None

so would you be able to provide a patch for that?

I don't know well about GTK and other GUIs. So, I only implemented for Windows, and I just prepared stub functions for other GUIs. PR is welcome.

@chrisbra sorry, I don't know about GTK UI developing (or any other ones).

Fixed by 8.2.2709.


[Windows] Fix a range error in std.socket.SocketSet.add()

fds() returns a slice of length count(), and since fds() is invoked before evaluating the index expression (incl. increasing the count), its length is the old count, so we cannot assign to the element at index = old count, that's 1 past the end.

:white_check_mark:

How did this ever work? Can we get a unit test that shows the original bad behavior?

With LDC, a std.socket unit-test fails in the debug build with enabled range checks, that's how I stumbled upon this. No idea why this hasn't been detected earlier, especially since it happens on every single SocketSet.add() call...

Hm... Phobos is tested with debug build With autotester. I'd like to try and figure out if there's a difference in ldc or maybe the auto tester isn't working right.

import core.stdc.stdio;

static int[] _array = [ 0, 1, 2, 3 ];
static int _count = 0;

int[] array() @property
{
    printf("array()\n");
    return _array[0 .. count];
}

ref int count() @property
{
    printf("count()\n");
    return _count;
}

void main()
{
    array[count++] = 666;
}

DMD 2.067.1 evaluates the index expression first, that's why it works. I find that disturbingly counterintuitive.

Ok. Good points for newsgroup discussion. In either case, your version is unambiguous so I will pull.

Auto-merge toggled on


Add boundProp function

Add boundProp function to return the specified property from an object, and bind it to that object.

i am sorry to say i am a bit cold on this PR.  Use of this is not something I think we should encourage. I am just one voice; but I would need to hear a compelling reason to include such a function.

@buzzdecafe I can certainly appreciate your reservations, given that this is a functional library. I guess my argument would be that this is a functional library for a language that supports objects and binding. To that point, ramda already provides a bind function to do the "objectionable" part of the added boundProp function, this just makes it easier to apply in some circumstances.
I don't think this function really encourages the use of this, per se, but it permits you to use ramda and functional techniques to more easily deal with existing uses of this.
The use case I encountered that prompted this PR was fairly general if you're using objects with methods. I had a collection of objects that all had a particular named method on them. I wanted to map the collection of objects to a collection of the results of calling that method on each object. In plain old JS, it would simply be:
const results = myObjects.map((obj) => obj.myMethod());

With out the added function, I would use ramda as follows:
const results = myObjects.map(R.converge(R.bind, [R.prop('myMethod'), R.identity]).map(R.call);

With the added boundProp function, this can be reduced to:
const results = myObjects.map(R.boundProp('myMethod')).map(R.call);

I agree, R.bind should be deprecated. :wink: Seriously though, if one needs the functionality, it is possible to just use an arrow function as that binds this in the appropriate way.

@svozza (meh). You can use an arrow function. You can use arrow functions to replace all of ramda's functions. The point is to make it more easier and more functional, right?
I don't feel strongly about this feature if there isn't general support for it. But I think if it's discarded specifically because it promotes the idea of object binding, then bind should deprecated as suggested above, for the same reason.

it's an open question where the "boundaries" of ramda are. It occupies an idiosyncratic space; not as strict as sanctuary, but more opinionated than underscore. R.bind is not something I find myself using, and it certainly is a concession to the realities of JS.
If we agree that bind is a bit ... gross, then arguing that since bind is included, therefore sugar for bind should also be included, is not persuasive to me.
Your examples are useful:
// 1
const results = myObjects.map((obj) => obj.myMethod());

// 2
const results = R.map(R.call, R.map(R.converge(R.bind, [R.prop('myMethod'), R.identity]), myObjects));

// 3
const results = R.map(R.call, R.map(R.boundProp('myMethod'), myObjects));

To my mind, example 1 is by far the best of the bunch for clarity. If your goal is to make a composable function, then you could use invoker as well, another of ramda's red-headed stepchildren:
// 4
// f :: [Obj] -> [???]
const f = R.map(R.invoker(arityOfMethod, 'myMethod'));

I thought R.bind, R.invoker ("ramda's red-headed stepchildren") are provided to enable using JS class methods in the same functional manner as "free-standing" JS functions? ES 6 class and HTML5 Api methods need to be bound to a suitable this when invoked. Why would Ramda deny them syntactic sugar? To encourage OO-style programming with those APIs?

It depends on what the goals of the library are. This area is really @CrossEye 's domain I think. If I may be so bold as to play his spokesman for a moment, I think he sees the lib as a gateway to a different way of thinking, and wants to smooth over the bits that don't fit well (e.g. this etc.)  I think that's where the red-headed stepchildren came from: @CrossEye attempting to bridge the gap from native JavaScript to a more "functional" idiom, or as you put it, "to enable using JS class methods in the same functional manner as 'free-standing' JS functions."
That's not a priority for me at all; but that's why I said I am just one voice.

Btw. I do not see so many differences between R.boundProp and R.invoker.

I noticed the same thing; I agree.

Yup, invoker is very similar. I did a scan for functions that already solved my problem and did not find this one =. The only thing I'll say about it is that with the proposed boundProp, you don't need to know the arity of the method, and specifically, you can invoke the resulting function with variable number of arguments.

I've been out of the loop for a while now.
@buzzdecafe has it right.  I originally imagined including pure versions of all the native methods, for things like Date, Regexp, Array, etc.  But early on we realized that his was unwieldy.  Invoker was a way to allow the users to do this for whatever objects they like.
But it is absolutely a concession to the way JS was and is being written rather than a principled addition to the library.  I can easily imagine a later version of Ramda removing these.  I never use bind myself, although I do use invoker.
invoker went through some serious changes in its early days (see #489 for some details).  We did consider variants where one didn't have to supply the arity, and ones with better handling of variadic functions.  The current version simply seemed to strike the best balance.  So I don't see much call for boundProp.

@buzzdecafe: In the era of Trump and Spicer, "spokesman" takes on some pretty awful connotations!  :smile:

@buzzdecafe: In the era of Trump and Spicer, "spokesman" takes on some pretty awful connotations! 😄

FWIW I think you come out slightly worse in that comparison

Based on this discussion, I'm comfortable closing this PR. If there is any different decision, feel free to re-open it =)


Error: [$injector:nomod] Module 'mouse.utils'

the 1.1.5 version has some dependencies your missing something

So you changed the module name and this is still minor release?
I updated my project using bower
"angular-click-outside": "~1.1.0",
and this should not broke my entire project :)

Error: [$rootScope:inprog] $apply already in progress - no I can't use jquery date picker with manual scope apply.
onSelect: function (date) {
                                scope.$apply(function () {
                                    ngModelCtrl.$setViewValue(date);
                                    scope.$parent.setCurrDate();
                                });
                            }

@FDiskas yep good point, will look into how I can rectify the semantic versioning on this.

Should be fixed now, check releases: https://github.com/IamAdamJowett/angular-click-outside/releases


Error: Failed to link program in carla 0.9.4

When I run Carla 0.9.4 on Linux 16.0.4
`    [2019.05.10-01.26.33:099][  0]LogRHI: Error: Failed to link program. Current total programs: 131 binary bytes: 402548159
log:
error: vertex shader output 'out_TEXCOORD0' specifies noperspective interpolation qualifier, but fragment shader input specifies no interpolation qualifier
Failed to find symbol file, expected location:
"/home/wya/CARLA_0.9.4/CarlaUE4/Binaries/Linux/CarlaUE4.sym"
Fatal error: [File:/var/lib/jenkins/UnrealEngine_4.21/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLShaders.cpp] [Line: 3718]
Failed to link program. Current total programs: 131, precompile: 0
Signal 11 caught.
        Malloc Size=65538 LargeMemoryPoolOffset=65554`

It seems like same issue: Shader compilation crash with AMD GPU.

It's similar to #1210 and also observable on 0.9.5 release
[2019.06.11-09.31.59:118][  0]LogRHI: Error: Failed to link program. Current total programs: 134 binary bytes: 409286582
  log:
error: vertex shader output `out_TEXCOORD0' specifies noperspective interpolation qualifier, but fragment shader input specifies no interpolation qualifier

Failed to find symbol file, expected location:
"/tmp/carla-20190400-095-original/CarlaUE4/Binaries/Linux/CarlaUE4.sym"
Fatal error: [File:/var/lib/jenkins/UnrealEngine_4.21/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLShaders.cpp] [Line: 3718]
Failed to link program. Current total programs: 134, precompile: 0
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=68112 LargeMemoryPoolOffset=199248
Malloc Size=128368 LargeMemoryPoolOffset=327632
Malloc Size=501903 LargeMemoryPoolOffset=829551
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

Ubuntu 16.04 and 18.04 on 3 laptops with intel GPU
observable also while using -opengl3 flag
glxinfo -B output from ubuntu 16.04 laptop:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)  (0x591b)
    Version: 18.0.5
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 18.0.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

output of glxinfo -B for laptop with Ubuntu 18.04
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)  (0x591b)
    Version: 18.2.8
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 18.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

also confirmed on more recent builds (from carla jenkins server):

Try running the last version with Vulkan instead of OpenGL. Install Vulkan with
sudo apt-get install libvulkan1

then run Carla normally, it should default to Vulkan. Note though that Vulkan doesn't work without display.

@nsubiron how to run the carla with Vulkan? I installed libvulkan, but the problem still exist.

I've to install also mesa-vulkan-drivers vulkan-utils.
I've used laptop with ubuntu 16.04, integrated intel GPU and CARLA jenkins build based on 649699b commit, but it still failing.
[2019.06.21-07.56.19:278][  0]LogLoad: Game class is 'CarlaGameMode_C'
[2019.06.21-07.56.19:359][  0]LogWorld: Bringing World /Game/Carla/Maps/Town03.Town03 up for play (max tick rate 0) at 2019.06.21-09.56.19
[2019.06.21-07.56.19:360][  0]LogCarlaServer: Initialized CarlaServer: Ports(rpc=2000, streaming=2001)
[2019.06.21-07.56.19:374][  0]LogWorld: Bringing up level for play took: 0.093486
[2019.06.21-07.56.19:387][  0]LogCarlaServer: New episode 'Town03' started
[2019.06.21-07.56.19:387][  0]LogLoad: Took 2.911791 seconds to LoadMap(/Game/Carla/Maps/Town03)
[2019.06.21-07.56.19:586][  0]LogLoad: (Engine Initialization) Total time: 4.40 seconds
[2019.06.21-07.56.19:646][  0]LogRenderer: Reallocating scene render targets to support 1600x900 Format 10 NumSamples 1 (Frame:1).
[2019.06.21-07.56.19:687][  0]LogRenderer: Warning: Gaussian DOF algorithm is deprecated and will be removed from deferred shading renderer. Consider using the Circle DOF method in post process settings.
CommonUnixCrashHandler: Signal=11
[2019.06.21-07.56.27:492][  0]LogCore: Error: appError called: Assertion failed: bSuccess [File:/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 364]

[2019.06.21-07.56.27:502][  0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x00000000000017bf

[2019.06.21-07.56.27:502][  0]LogCore: Assertion failed: bSuccess [File:/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 364]

0x0000000004165311 CarlaUE4!GameThreadWaitForTask(TRefCountPtr<FGraphEvent> const&, ENamedThreads::Type, bool) [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:1091]
0x000000000416130a CarlaUE4!FlushRenderingCommands(bool) [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:1225]
0x0000000004471154 CarlaUE4!FSlateRHIRenderer::FlushCommands() const [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/SlateRHIRenderer/Private/SlateRHIRenderer.cpp:1273]
0x0000000002fe730c CarlaUE4!FLinuxApplication::ProcessDeferredMessage(SDL_Event) [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxApplication.cpp:699]
0x0000000002fe55df CarlaUE4!FLinuxPlatformApplicationMisc::PumpMessages(bool) [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxPlatformApplicationMisc.cpp:415]
0x00000000024a6649 CarlaUE4!FEngineLoop::Tick() [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:3882]
0x00000000024adf5a CarlaUE4!GuardedMain(char16_t const*) [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/Launch/Private/Launch.cpp:170]
0x0000000005bdd70f CarlaUE4!CommonUnixMain(int, char**, int (*)(char16_t const*)) [/var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:243]
0x00007f17343ca830 libc.so.6!__libc_start_main(+0xef)
0x000000000249d029 CarlaUE4!_start()

[2019.06.21-07.56.27:516][  0]LogExit: Executing StaticShutdownAfterError
[2019.06.21-07.56.27:528][  0]LogCore: Warning: Unable to statfs('/home/pawel/sandbox/carla/releases/CARLA_649699b/CarlaUE4/Saved/Crashes/crashinfo-CarlaUE4-pid-6079-0BD2871D08D6F62EBA5E1942BB5DC87C/CarlaUE4.log'): errno=2 (No such file or directory)
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.

vulkan info
full_carla.log

Newest Carla 0.9.6 release with -opengl flag works ok on laptop with Intel GPU

Same. Why are the PythonAPI examples different for 0.9.5 though?
using 0.9.6 with
client = carla.Client('localhost', 2000)
gives an error "module has no attribute Client"
in 0.9.6, the examples use the make_carla_client syntax.
Why are there these inconsistencies or am I missing something here?

I have tried sudo apt-get install libvulkan1
and
sudo apt-get install mesa-vulkan-drivers vulkan-utils
and it still doesn't work. Still gives the same error. I have an Intel GPU running Carla release 0.9.4 on Linux Ubuntu 16.04 LTS laptop.


[WFCORE-765] ServerDomainProcessShutdownHandler shouldn't fail if shu…

…tdown is already underway

Linux Build 1990 is now running using a merge of 293f75583e0732e3ad54662546e889f4a6971f8a

Core - Full Integration Build 1131 is now running using a merge of 293f75583e0732e3ad54662546e889f4a6971f8a

Windows Build 1539 is now running using a merge of 293f75583e0732e3ad54662546e889f4a6971f8a

Windows Build 1539 outcome was SUCCESS using a merge of 293f75583e0732e3ad54662546e889f4a6971f8a
Summary: Tests passed: 3209, ignored: 71 Build time: 0:22:42

Linux Build 1990 outcome was SUCCESS using a merge of 293f75583e0732e3ad54662546e889f4a6971f8a
Summary: Tests passed: 3209, ignored: 71 Build time: 0:26:29

Core - Full Integration Build 1131 outcome was FAILURE using a merge of 293f75583e0732e3ad54662546e889f4a6971f8a
Summary: Tests failed: 2 (2 new), passed: 2875, ignored: 377, muted: 1 Build time: 0:53:54
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>

org.jboss.as.test.clustering.cluster.web.authentication.FormAuthenticationWebFailoverTestCase(SYNC-tcp).test: <no details avaliable>


"Qwen/Qwen1.5-72B-Chat" does not support parameter n and returns multiple results at the same time, even if I set the parameter temperature

Describe the bug
"Qwen/Qwen1.5-72B-Chat" does not support parameter n and returns multiple results at the same time, even if I set the parameter temperature
To Reproduce
Steps to reproduce the behavior:
'''
import os
from together import Together
client = Together(api_key=os.environ.get("TOGETHER_API_KEY"))
response = client.chat.completions.create(
model="Qwen/Qwen1.5-72B-Chat",
messages=[{"role": "user", "content": "tell me about new york"}],
temperature=0.9,
n=3
)
print(response)
print(response.choices[0].message.content)
'''
Expected behavior
Return multiple results at the same time

this doesn't seem like an issue with the Python SDK, but rather with the API. Please open a ticket with support: https://www.together.ai/contact


Animation = false, affects x labels

First screenshot is with default settings and no animation: false. Not sure why there are no values in the x-axis, but that's what I wanted right now, so happy there.
I tried turning off animation for a printable version that I'm converting to pdf. added animation: false to the config for that particular chart and now x-axis labels are showing (way too cramped, but that's another issue).
There are a few things going on here, but the reason I'm posting is that I wouldn't have thought the animation param should have any effect on the label display.
Using Chart 1.0.2.
The only odd thing is that this is an extension to Chart.
Chart.types.Line.extend({
  name : "AltLine",
  initialize : function(data) {
    Chart.types.Line.prototype.initialize.apply(this, arguments);
    this.scale.draw = function() {
      this.endPoint = this.height - 5;
      Chart.Scale.prototype.draw.apply(this, arguments);
    };
  }
});

This is how I want it to look, and how it looks without animation: false

This is how it looks with animation: false

Thanks Nick for a fantastically useful bit of code!

Not sure how the animation status affects the scale. Can you please copy this into a fiddle so we can debug?

Hello, today I am closing all issues that are only affecting version 1 of Chart.js as WONTFIX.
If this issue does affect version 2 as well, I apologize for the error. Please create a test case against Chart.js 2 using on of the below websites and we will be happy to reopen the issue and update its classification:

http://jsbin.com/
http://jsfiddle.net/
http://codepen.io/pen/
Premade template: http://codepen.io/pen?template=JXVYzq


[ENG-5340] Dep-group: catchall

Purpose
These changes update dependencies for better performance and add new features for enhanced geolocation and image processing.
Changes

Removed python-magic
Replaced maxminddb-geolite2 with geoip2
Switched from Pystache to Mako for better template rendering performance
Added a new parameter in the nameparser module for specifying string encoding, enhancing data handling flexibility
Updated the transitions module to its latest version for access to new features and improvements
Added new dependencies: Pillow for image processing and geoip2 for enhanced geolocation capabilities

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket
https://openscience.atlassian.net/browse/ENG-5340

All good. Merged!


Add documentation about the variables the developer can use in a custom task

Also, make the variables follow the ansistrano_* convention without breaking the BC

Do it also in the rollback role

Done!


Correct issue with multiple instances of output writers being created

as pointed out in #432.

This pull request is now managed with CodeReviewHub. Refresh.


MVP Events & Communities

Pull Request details:
MVP support for creating events and communities so Codu can replace meetup.com
Any Breaking changes:
Everything should continue to work, but the user profile page now has more sections
Associated Screenshots:
https://gist.github.com/remojansen/68ff63f9024f9f952683731c12537bc9
✅ Hacktoberfest

This is MVP, here are some things that should be done in the future:

SEO Metadata
Event comments
Add lat & long to events + filter by geolocation
Event flags hybrid, in-person, online
Add event to calendar
Share events on social media
Add event co-organisers
+1 attendees
Event checking in

This is a mighty amount of work! It'll take a couple of days to review/test it all. Thanks for all the awesome work.

Here are the actions and business rules it might help you while testing it:

Create a community --> Button on the communities home page (needs a session)
Edit a community -->  Button on community home page  (needs a session + being one of the community organisers)
Create an event -->   Button on community home page  (needs a session + being one of the community organisers)
Edit an event -->  Button on event home page  (needs a session + being one of the community organisers)
Join community --> Button on community home page (needs a session + NOT being one of the community organisers)
Leave community -->  Button on community home page (needs a session + NOT being one of the community organisers)
RSVP --> Button on event home page  (needs a session + NOT being one of the community organisers)

If the capacity is reached, the RSVP is displayed in the waiting list automatically

Cancel RSVP --> Button on event home page  (needs a session + NOT being one of the community organisers)

I left the following out:

Draft events: In meetup.com is common to announce a meetup and say something like talks TBD, so I left this out for simlicity.
Delete event: I left this out because I don't have admin knowledge I though that it would be better if you implement this feature.
Delete community: I left this out  for the same reasons as the previous ones and because deleting an event could be bad for the codu platform. In meetup for example events are not deleted and someone else can become the new organiser.

Just a thought, what if we break this big PR into smaller feature request pr.
That might make it easier to go through
@NiallJoeMaher @remojansen

Just a thought, what if we break this big PR into smaller feature request pr.
That might make it easier to go through
@NiallJoeMaher @remojansen

Thanks for the suggestion! On this occasion I'm happy enough because I've chatted with Reno separately about this feature and he's no amateur with this stuff. 🦾


Kipe module

Create a module to add kipe

this one is for you, @DamnClin :)

Yep, working on it :D most of the current PR are prerequisite for that :D

Increasing the bounty as it's a lot of work


[Bug]: the info [question mark] option is not present on the Home page in airgapped images.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
In the Home page, the Question Mark - info icon - is not present in airgapped image.
Steps To Reproduce
Airgapped

Nightly

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud v1.11

Closing the issue after the discussion on the thread https://theappsmith.slack.com/archives/CTHN8GX5Y/p1707204036099499  to remove the [question mark] option from the home page for airgap instance.


Updated README.md file.  Added config.yml files for the two AWS Lambda f...

...unctions so kappa is happy.  Added a README in the lambda/dynamodb/code directory about installing the async nodejs package.

Thanks Mitch!


add CommanderNoArgs interface

Allows more convenient validation against unwanted extra args.
Before:
    func (c *myStruct) Execute(args []string) error {
        if len(args) > 0 {
            return errors.New("got unwanted extra args")
        }
    }

After:
    func (c *myStruct) Execute() error {
        // extra args are checked automatically before calling Execute()
    }

I've pushed something that satisfies the requirements as listed in the comments here. You can now specify the required tag on the rest arguments field and set it to the minimum number of rest arguments. I.e. setting
Rest []string `required:"2"`

will apply the constraint that there need to be at least 2 positional rest arguments and return an appropriate error if the constraint is not met.

Sorry for prematurely closing this, I actually only fixed the case for the other open PR, which is to set a minimum required number of rest arguments.

I'm going to close this because I think adding support for this is going to be less convenient and less idiomatic then just checking the args yourself in the command and reporting an informative error.

@jessevdk any chance this could get another consideration? I am writing a series of commands that all start up with the if len(args) > 0

I've added support for a range in the required tag. To specify a constraint of 0 rest arguments, use required:"0-0".


[New game]: Rocket Game

🎮 Game Request

The game is a simple avoidance and bonus-clicking challenge.
Move the cursor to control the player's position.
Avoid collisions with enemy ships to survive.
Click on bonuses to increase your score.
Enjoy the game and beat your high score!

Point down the features
The game is based on timing not on points you can play it to the maximum of 50 and there is different points for different collisions.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @abhi87374 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign


Memory leak in render.ts

Description & Analysis
I've been hunting down memory leaks in my (Electron) application and I'm fair certain that I've identify one originating in lit-html.
The problem is the parts WeakMap in lit-html's render.ts file. If the container node is removed from the DOM by the application, then the parts WeakMap will keep a reference to it and keep it alive including any parent, sibling, and child nodes attached to container. The WeakMap has a weak reference to container via the key, but it also holds an indirect  strong reference to container via the value in the map itself.
The "loop" looks like this:

The parts WeakMap has a mapping with key=container to value=NodePart instance.
This NodePart has startNode and/or endNode fields which reference a node.
This node is a child of container, and therefore its Node.parentNode (and similar DOM properties) references container.

Thus keeping container and (the key in the WeakMap) alive. Remember, only the keys in a WeakMap are weakly held references.
I'm using lit-html to render the contents of custom elements. The whole custom element itself is created/destroyed via the DOM (and not lit-html). When this happens the small DOM subtree inside the element is kept alive by lit-html.
As a work-around I'm now using is to manually delete the entry in parts, i.e. parts.set(container, undefined);, and to also manually break all of the parent/child links inside a DOM subtree when I don't want it anymore.
This problem with WeakMap may occur elsewhere in lit-html. (I found the exact same problem in my app!)
A solution may be to add some kind of dispose(container) function, or to remove startNode and endNode in NodeParts and to search for those nodes directly but not to keep a direct reference.
With all that said, I do enjoy using lit-html!
Related issues
This issue is similar to issue: #342
Version
lit-html version 1.2.1

Thanks for the writeup here. We did some investigation into this issue, and didn't come to the same conclusion: once the references to the container key of the WeakMap are retained only via the value (and there are no other paths to container except by starting at the value), we confirmed that the WeakMap can and does GC the NodePart.
This is consistent with the spec text here (where the bolded text can be read as confirming that a reference to the key only via the value held in the WeakMap is not sufficient to keep the key deemed "accessible"):

WeakMap and WeakSets are intended to provide mechanisms for dynamically associating state with an object in a manner that does not “leak” memory resources if, in the absence of the WeakMap or WeakSet, the object otherwise became inaccessible and subject to resource reclamation by the implementation's garbage collection mechanisms.

Here's a minimal repro that I believe should exercise the leak if your suspicion about circular references between the key and value of a WeakMap were true: https://jsbin.com/jaqowor/edit?html,output
Running this repro, we see periodic GC's reclaiming the nodes that were created in the part:

Due to the nature of WeakMaps, it is impossible to observe the contents of a WeakMap to confirm whether it's GC'ed (and although I don't have first-hand knowledge, I don't trust that devtools's ability to print the contents of a WeakMap doesn't alter its GC behavior), so heap measurement/snapshotting is the safest to confirm what's going on, and I this this demonstrates the circular reference does not seem to trip up the GC-ability of the WeakMap values.
If you can alter the repro above to demonstrate a leak, we'd be happy to look into this more.

Thank you for digging into this so thoroughly.
I've going through my application recently and fixed a lot of possible leaks which are not related to lit-html. I just did some tests with my lit-html work around removed to see what happens, and it does agree with your WeakMap analysis above. So, that's a job well done on your side :champagne: and I've learned some more subtleties about WeakMaps. :-)
Thanks again for your effort on this.