Bot broke at line 2514

Middle tweet is out of place :

Line for reference:

I would like just to say a few words with regard to another aspect of the question. The Resolution is there, but, how are we going to implement it? What are the impediments that we already see before us which may prevent us from carrying this Resolution into effect? Now, one, of course, is the status of the Constituent Assembly in the absence of the Muslim League. Dr. Jayakar yesterday referred to some analogy of a dinner party. He said, "If guests are invited and some guests do not come, then how can you have the dinner party?" But he forgot to say what will be the fate of the guests who have already arrived?

Looks like bot rolled back to an earlier point in the same line, it continues from there. Possibly an error writing to last_line.txt ?

This seems to be related to #13 and something to do with our sentence parsing logic and quotes.
I'll work on https://github.com/rhnvrm/ConstAssemblyBot/issues/1#issuecomment-643801592 over the weekend and see if switching to a proper parser will fix these issues.

Closed via https://github.com/rhnvrm/ConstAssemblyBot/commit/e91ba7e822af0737e6d0a529d2f85b46aa5ee918


mavros: 0.32.1-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository mavros to 0.32.1-1:

upstream repository: ssh://git@jira:7999/jet/mavros.git
release repository: https://github.com/mavlink/mavros-release.git
distro file: melodic/distribution.yaml
bloom version: 0.8.0
previous version for package: 0.32.0-1

Appologies this was made in error


MappingContext being updated at the wrong places

Example: https://github.com/maidsafe/crust/blob/1d0392fc42ac95dce7c3c9af03e3744091aefb3c/src/service.rs#L446
It should be updated when these servers are discovered (e.g. at connection establishment time), not every time we try a new connection. This would mean are adding every mapper server multiple times and doing a very inefficient job.
I mentioned this problem previously, but I finally have the time to fix it: https://github.com/maidsafe/crust/pull/525

related PR: https://github.com/maidsafe/crust/pull/584


silk doesn't work with rest framework

Similar to #269 I am seeing that silk doesn't profile requests coming via DJango REST Framework APIs.
Other requests are profiled OK. My main interest is seeing the SQL queries and such and not so much the detailed cpu profiling.
settings.py
INSTALLED_APS=(
...
    'silk',
....)

MIDDLEWARE = [
    'silk.middleware.SilkyMiddleware',
...
]
```

No requests in `/silk`, except those from the Web UI (non rest framework).

Tried to explicitly profile some methods, no luck:

```
class ImportScanSerializer(TaggitSerializer, serializers.Serializer):
    scan_date = serializers.DateField(default=datetime.date.today)

    ....

    @silk_profile
    def save(self):
    ....

Name: Django
Version: 2.2.10
djangorestframework==3.11.0
django-silk==4.0.1
django-debug-toolbar==2.1

disabling / removing django-debug-toolbar doesn't help either.


Ah snap!

Ah snap! There was no error compiling the test kernel or running it, but the numbers don't check out. Please report your browser (+ version) and hardware configuration to us, so we can try to fix this. Deviation was<PHONE_NUMBER>96501.34.
Chromium Version 53.0.2785.143 Built on Ubuntu , running on LinuxMint 18 (64-bit)
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Intel® HD Graphics 530
Let me know if you need anything else!

Please read the issues before opening a new one. Moved to #1.


Code is not available?

The paper state that the code is available in this repo, but I can't seem to find it?

The code now is available at https://github.com/AlibabaResearch/HLATR


[Help] Virus detected?

I have had this installed for months with no problems and all of a sudden Bitdefender marked it as a virus and quarantined the file?

Probably because the app isn't signed and then anti viruses get mad about it. You can compile the app yourself, everything is open source.


Update Japanese translation

First of all, thank you for your continuous contributions and for making sure the Japanese translations remain up to date.


155 allow include test

I restored this branch to show that overwriting is possible. In response to this discussion:
https://github.com/green-coding-berlin/example-applications/pull/29
I forgot to answer right away. Sorry.
In this example the compose.yml file references the wordpress.conf file. But we want to supply a different config file for our measurements. This is possible by "overwriting" the volumes key.
This is just an example. Please delete branch and PR once you have seen it.

Thanks. I have not tested it but take your word for it.
I was under the impression that the contained list would be merged. I do agree though that overwriting is the more flexible option as it allows to add and and remove in one method with the only downside of duplicating infos in both files. By doing merge we would loose the ability to alter behaviour.


Best practice to retrieve a token, access backend and Graph API

Library

[x]<EMAIL_ADDRESS>
Frontend Framework

[x] React with TypeScript

Backend Framework

[x] Spring Boot with Java

Identity Provider

[x] Azure AD

Description
What are the best practices for SSO (single sign-on) in the frontend with OAuth 2.0 using authorization code flow with PKCE and accessing the Graph API in the backend?
Earlier I was using react-adal and the implicit flow to retrieve a token in the frontend and access the backend with that. The backend uses the azure-active-directory-spring-boot-starter Library.
After the request the backend accesses the Graph API to get needed Information. It was a Web Application in Azure AD.
Currently I access the id token and the access token in the frontend with the msal-react. So this means now I'm using the SPA (single-page application in Azure AD) with authorization code flow. In the frontend I retrieve both: the access token and the id token. To access the backend I need the id token. But I need the access token too, so that the backend could access the Graph API. I don't think this is a good idea to send both of them in Header or to send it at all. Both the frontend and the backend use the same Azure Application. The backend has a Secret. Important is that I do not need the frontend directly access the Graph API.
But is this a good approach to send both the id token for the backend authentication and the access token to access Graph API on the backend side?
Source

[x] Internal (Microsoft)
[ ] Customer request

@m2nhawk Thanks for opening this. Could you make sure to add the question template to your issue?
Could you explain a few things about the scenario you are describing?

Could you explain what you mean by SSO? Does this just mean the ability to get tokens without user interaction?
How are you sending the id token and access token to your backend from the front-end?
Are these apps configured in the same way? (i.e. client id, etc.)

I've updated the issue.

I'm interested in the same topic. I have a front end built in nextjs and backend in ,net core web api.
Front end is using Azure ad b2c with social login. Azure is sending the IdToken that includes idp_access_token claim in it. I'm not sure if I should be sending that to my API and how will my API know which user is accessing its resource.
I need to restrict the access so users can only read the data that belongs to them.

I am also interested in the same topic, I am looking at using react for the front end and have an express or koa backend for example, not sure if i should go all the authentication on the front end and send the bearer token to the backend to make the requests, or how to do the authentication on the backend with a react front end.

@m2nhawk @drinkingjasminegreentea @joshwilson00 take a look at this sample React SPA calling Express web API. You can plug-in a different web API, for instance .NET via Angular SPA calling .NET web API. You can further use app roles & security groups to control access to your back-end.

@derisen Many thanks for that example, it is very useful! One question I have is that say for example I have multiple different endpoints on the express server, all with their own scope, can I just create a new BearerStrategy for each since the options will need to be slightly different (scope will need to be different).

You can certainly create multiple strategies (for example, see). But in this case you don't necessarily need that. Instead, configure the options as shown below:
const options = {
    // ...
    scope: ["scope1", "scope2"]
};

From the passport-azure-ad documentation:

scope (Optional)
This value is an array of scopes you accept. If this value is provided, we will check if the token contains one of these accepted scopes. If this value is not provided, we won't check token scopes.

Keep in mind that the access token you obtain for your API will contain all the previously consented scopes for that API, in addition to the scope you currently requested.
Finally, you can also omit the scope parameter, and manually check if the  req.authInfo['scp'] matches the scope you expect.


Trimmed buffer comments & typo fixes

Started reading the code and come across little things like these

Thanks a lot for these !
Let me propose you that I leave this open for now, and until the other issue you raised is closed.
Seems to me that it will allow to gather as much as possible in a single shot.
Thanks again, don't hesitate to ping me if you need anything.

Hello @lucapette ,
So after evaluating all alternatives, I've decided to maintain the legacy C GNU readline behavior, which is to return the raw, untrimmed buffer. Lexing it for comment removal is in fact out of the library's scope.
Merged your changes in #58 ! Thanks a lot for the typos and the work !


No state history for any entities?

Hello,
I just noticed that none of my entities appear to have any state history.  The graph that shows up is empty and has a y-axis ranging from 0 to 1.0.  Is there a solution to this?

Nevermind, I just realized I was on the colohan branch from when HA broke this integration.  Reverted back to this and history works again.


Parent blade template not found for custom views path

When a custom path is used for views and a blade template references a parent template an error occurs and a message like View [admin] not found. is logged.
Situation:

Laravel 5.2
a service provider sets a custom path for views with loadViewsFrom() in the boot method.
the Blade template notifications.blade.php is stored in this custom path. This template references a parent template using @extends('admin')
the template admin.blade.php exists in the same configured path.

When rendering the notifications view an error is logged: View [admin] not found.
When replacing notifications with admin as the main template to render, the template is found and send to the browser. So it seems the location and name is correct.
I started debugging and it looks to me that in FileViewFinder->findInPaths() only the default path, resources\views, is searched for the parent path, not the custom path.

In my situation the templates are placed in a separate package. When the parent is referenced as mypackage::admin the parent is found.
This was not clear to me from the documentation and I don't know if it is the expected behavior. If it is this issue can be closed.

Yes this is the expected behaviour @kwebble, sorry you had to wait all that time to get an answer :)


Add video links, and script to automate most of the process.

Ugh. I realise now that with all the delays I never got to upload the video links.. Doing it now, at least for future reference...

@NightTsarina Whoopsie! And nobody noticed / told us... thanks for adding them now :)


Classification loss increasing on new data set?

Hi,
I am using  UEC 256  database which gives bounding boxes across food items. I split the dataset into 75:25 ratio for training and validation respectively, and currently using CSV loader to load the dataset with RESNET 50 for training. My batch size is 2 and I am running it on  Nvidia Tesla P100.
While training, the loss seems to drop as expected, but while using validation the classification loss seems to increase while the regression loss is almost around the same point, I think it is overfitting the data. Any idea how to solve this?  Do I have to change the normalizing and unnormalizing factors according to my dataset?
Thank you. Any help is appreciated.

Hi,
I am so sorry to bring this up so late. That database does not have image sets labelled as training and validation. So I had to create it manually. While creating it, I somehow missed shuffling the data. So the training dataset had classes 1:200 and validation had 201:255. I realized it when you asked me for a sample of my annotations. I have been training for almost 5 days now without realization. I will fix that asap and let you know, how it works.
Also, is normalization w.r.t the database necessary or can I keep the same normalization numbers as you provided?
Thank you very much! Will keep you posted.

@shreyaskamathkm
@yhenon
HI
Thank you for your analysis！！！
I've noticed that you've talked a lot about normalization. what exactly does that mean??
In dataloader.py
self.mean = np.array([[[0.485, 0.456, 0.406]]])
self.std = np.array([[[0.229, 0.224, 0.225]]])

In losses.py
targets = targets/torch.Tensor([[0.1, 0.1, 0.2, 0.2]]).cuda()
or something else??
many many thanks!!!


Add custom_request, remove duplication

I believe, it's not useful to support every HTTP verb defined everywhere with a custom method. But it should be possible to use those verbs, thus we should introduce a method to trigger requests with a custom verb. Unfortunately, there is already a public request method, so I had to choose a different name.
As requested, this is a rebased & updated version of #111. I wanted to asked to reopen that one, but my changes didn't show up after force pushing, so I opened a new PR.

@iGEL Thanks for the PR. Just to make sure I am getting it right. The primary focus of the PR is to have a nicer syntax for non "standard verbs" like thiscustom_request("link", "/uri"), right?
Just want to make sure that I understand the trade off correctly.

@scepticulous Actually, I don't remember the exact details of this PR that I opened almost 3 years ago. I just rebased it and adjusted so the work wouldn't be lost. :blush:
From what I remember and read from the changes here, it's not possible to send custom http verbs at all with rack-test. There are some very rarely used verbs in the standards out there and I think, rack-test should allow to use the in some way.
Also, I removed some duplication at the same time, which is also a (small) improvement.

@iGEL sorry, but I think we'll have to rebase it again. 😇 Can it be done?
@scepticulous - what do you think about the change per se?

@perlun @iGel I agree with the objection of the PR but I am not quiet sure about the method name for a public API . I would rather prefer a lot of verb liked names and something like request or http_request as public API.
My other concern is the test syntax. I would like to avoid public_send as the execution step. Can we improve these two points somehow ?

@scepticulous As mentioned in the description, request is already present. I'm not sure how useful it is (since it allows to make requests without a verb), but I would rather avoid breaking the API for this. Keeping the API stable and introducing the new behavior into request is a pretty awkward. To keep the "verb uri params env" form, which seems pretty natural to me, I would have to do something like this:
def request(verb_or_uri, uri_or_env = nil, params = {}, env_or_nothing = {}, &block)
  if uri_or_env.is_a(String)
    uri = uri_or_env
    env = env_for(uri, env_or_nothing.merge(:method => verb_or_uri.to_s.upcase, :params => params))
  else
    uri = verb_or_uri
    env = env_for(uri, uri_or_env)
  end

  uri = parse_uri(uri, env)
  process_request(uri, env, &block)
end

So, I could rename custom_request to http_request or make_request. No really good options left :disappointed: WDYT?
To your second comment: I don't really get it. I basically just moved the spec to a better place (the shared example is only used here) and improved it a bit. public_send is still meta programming, but at least you can't call private methods like send before. Can you specify more, what I should do here?

@iGEL thanks a lot for the i depth explanation.  And sorry I did not read the diff correctly with regards to the test. So refining my two complains:

I think you are right and we should be able to support custom requests. And I think custom_request is still a better name, than my suggestions and I would definitely not change request this way.
Sorry for the confusion. I think your change improves the tests with regards to location and the public_send. So that is fine with me.

@perlun @junaruga I suggest merging the PR after a final rebase, since it is an improvement in two ways. However it also showed that the touched code needs general improvement, however I would not block this PR because of that but would try to find time to take a look at it myself before we release 1.0.
Please ACK so that I know if you agree with me here.

@scepticulous
Sorry. I have no time to check the code right now.
I agree with you. :)

@scepticulous @junaruga @perlun Thanks for the review :smile:
I rebased the commit now, but I also added c32207e6, because rubocop was complaining about very long blocks in the specs, which I don't consider a bad thing. WDYT?
codeclimate is failing, because it uses an outdated version of rubocop. %i[] is now preferred over %i().

@iGEL thanks. I agree with you about the block length but not exactly with disabling it. In my opinion it is fine to have a higher value for tests but I would not disable it. Can you find the value that is appropriate / necessary at the moment, so something like 2-5 to the number necessary to make rubocop happy?.
When that is done, we can merge. We will address the codeclimate/robucop inconsistency on our own later.

@scepticulous I think it's fine to disable it for specs. Most test suites (like rspec etc) are based on block-based syntax, which tends to generate quite long blocks.
So I am fine with the way @iGEL disabled it, for specs only which is exactly what c32207e did. 👍 on that part from my end.

Thank you 😊


Disable MariaDB persistence to avoid leaking PVCs

Mariadb persistent storage is enabled by default, which creates a PVC in the namespace. When wordpress is deleted, the PVC is left behind after the test.
This commit updates the chart values to disable mariadb persistent storage.

/lgtm

LGTM, but I'll give @karlkfi a chance to finish his review

/hold
Exploring the option to disable persistence.

/unhold


'incorrect account sequence' when calling celestia-appd tx bank send many times in single block

Summary of Bug
I have a celestia network docker compose setup which starts a validator node and a few bridge nodes. The validator node should transfer some of it's coins to the bridges to let them operate. Unfortunately it only works if I wait for the next block after each coins transfer.
Version
v1.0.0-rc17, v1.0.0, v1.3.0
Steps to Reproduce
Assuming you have validator node with keys name 'validator-0'
fd236fbdb8d0:/$ for addr in celestia1kkaeqfx4qhdv7g9y9s4m30utwp328ezh5xzkt9 celestia1qtl602v5jqcen9yam052fywr6te7ulfqu4x7qt; do
    celestia-appd tx bank send validator-0 "$addr" 100000utia --fees 21000utia
done

outputs
auth_info:
  fee:
    amount:
    - amount: "21000"
      denom: utia
    gas_limit: "210000"
    granter: ""
    payer: ""
  signer_infos: []
  tip: null
body:
  extension_options: []
  memo: ""
  messages:
  - '@type': /cosmos.bank.v1beta1.MsgSend
    amount:
    - amount: "100000"
      denom: utia
    from_address: celestia1zy95eqlpfr2afytefsknuvgp9uussk5hhmj2h5
    to_address: celestia1kkaeqfx4qhdv7g9y9s4m30utwp328ezh5xzkt9
  non_critical_extension_options: []
  timeout_height: "0"
signatures: []
confirm transaction before signing and broadcasting [y/N]: y
code: 0
codespace: ""
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: '[]'
timestamp: ""
tx: null
txhash: 97E6F63C32C6FCF827805CC321DAAC26D887A929ADF74A39545569669F900589
auth_info:
  fee:
    amount:
    - amount: "21000"
      denom: utia
    gas_limit: "210000"
    granter: ""
    payer: ""
  signer_infos: []
  tip: null
body:
  extension_options: []
  memo: ""
  messages:
  - '@type': /cosmos.bank.v1beta1.MsgSend
    amount:
    - amount: "100000"
      denom: utia
    from_address: celestia1zy95eqlpfr2afytefsknuvgp9uussk5hhmj2h5
    to_address: celestia1qtl602v5jqcen9yam052fywr6te7ulfqu4x7qt
  non_critical_extension_options: []
  timeout_height: "0"
signatures: []
confirm transaction before signing and broadcasting [y/N]: y
code: 32
codespace: sdk
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: 'account sequence mismatch, expected 4, got 3: incorrect account sequence'
timestamp: ""
tx: null
txhash: 98CCF59092C200163118C969B1335A589D30C735A622A0ACE64599AD50B46E4C

Notice the result of second transfer:
'account sequence mismatch, expected 4, got 3: incorrect account sequence

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Unfortunately it only works if I wait for the next block after each coins transfer.

This is an astute observation! It is because all CometBFT/cosmos-sdk based chain currently use "deferred execution", so the txs don't actually get executed until after consensus has been reached, and therefore the state doesn't get updated until the next block.
If this makes sense and you agree that this isn't a bug, do you mind closing this issue? Thanks for opening it though, someone else in the future might find it helpful.

Hey

celestia-appd tx bank multi-send

this one works for my use case so I'm fine with it.

you agree that this isn't a bug, do you mind closing this issue?

I'm not sure if it is a bug or not, so I'll leave it up to you. I don't mind closing this tho, thanks

@zvolin you might also be interested in the celestia-appd tx feegrant module, it enables the user to keep funds in a single account, and then that account can pay for gas fees of an arbitrary number of other accounts


Add --version flag

Followup to:

#3

Good call. I apparently forgot how it all works and blatantly copy/pasted it from the generator 😆
I've changed it to set the version variable in the internal package. It feels like there might be better ways, but I recall when I did it with the generator nothing seemed ideal.


Library doesn't correctly match NX5 model to family

Thanks for maintaining this library.  I'm trying to integrate my DLA-NX5 with HomeAssistant and have run into an issue.  My projector returns "B2A3" for the model.value, which is confirmed in the Service Manual, p.8 (https://www.manualslib.com/manual/2124871/Jvc-D-Ila-Dla-N11bc.html?page=8&term=B2A3&selected=1#manual).
Since the existing library doesn't match the model code I get the following error when attempting to start HA:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 438, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 709, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 804, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 556, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 600, in _async_write_ha_state
    attr.update(self.extra_state_attributes or {})
  File "/config/custom_components/jvc_projectors/remote.py", line 116, in extra_state_attributes
    if "NZ" in self._model_family:
TypeError: argument of type 'NoneType' is not iterable

Adding  "B2A3": "NX5" to the models { } list recognizes it and allows it to correct properly.  It appears that B2A2 and B2A1 are valid model codes for the NX7 and NX9, respectively, as well.

thanks sorry I didnt see this. I added those codes and safeguard to not crash on unsupported models. I got the existing NX codes from jvc docs but I guess they have multiple. Released a new version with these changes


Got toroubles installing stompy using pip

Hello, I hope you are the right person to help me.
I am not sure, but I think that I have an issue when installing the library using pip.
I work under Windows 10 using Python 3.6.3, as well as
Cygwin  NT-10.0 xxxxxxxxx 2.9.0(0.318/5/3) 2017-09-12 10:18 x86_64 using Python 2.7.14
I look for and need a Python library which allows me to work at low level (frame). I just found stompy as being convenient for my purpose. I tried to install it but I am facing the same problem in both environment.
Installation of stompy v0.2.8 or v0.2.9 failed for the same reason:
File "C:\Users\JPJOUB~1\AppData\Local\Temp\pip-install-u3gwp4kw\stompy\stompy\stomp.py", line 49
except socket.timeout, exc:
^
SyntaxError: invalid syntax
Can you provide me with instructions on how to proceed?
Attached some traces I got using pip -vvv install stompy or pip -vvv install stompy==0.2.8
Windows10_python_v360_stompy_v0.2.9.txt
Cygwin_python_v2.7.14_stomp_v0.2.8.txt
Cygwin_python_v2.7.14_stomp_v0.2.9.txt
Windows10_python_v363_stompy_v0.2.8.txt

Hi @jpjoubert , the current python-stomp version do not support python 3 . You'd better update the python3 (actually from python 2.6) style try-except-as to handle exception like this :
try .... except SomeEception as e:     print(.....)


No support in bash file for automake-1.15

Automake 1.15 was released early this year. I believe this is now the default version on OSX (after installing XCode command line tools).
I created a fork with a change, but wasn't sure if you wanted to deal with merging a whole repo for such a small change. So I figured I'd open up an issue. Let me know if you want me to create a pull request.
The change is here:
Former: locate_binary automake-1.14 automake-1.13 automake-1.12 automake-1.11 automake-1.10 automake-1.9 automake-1.7
New: locate_binary automake-1.15 automake-1.14 automake-1.13 automake-1.12 automake-1.11 automake-1.10 automake-1.9 automake-1.7

fixed this a better way in the 'next' branch. should go out in a release soon. thanks for pointing it out though.


Have throttled worker always wait throttleDelay between work calls

Consider the following case, maxWorkChunkSize of 1 and a throttleDelay of 1000ms. The maxBufferedWork doesn't matter here.

Queue a unit at 0ms. It immediately executes as there is nothing in the throttler
Queue a unit at 500ms. It immediately executes again as there is nothing in the throttler.

This seems wrong as I don't want my work items to execute without a minimum 1000ms gap in between them. Instead even if the queue is empty, the throttled worker should ensure that the second queue task must wait 500ms before executing so it's been 1000ms since the last unit of work.
This does modify the text behavior slightly, so I am happy to make this an option on the worker options or something, but I was surprised when the worker did not work out of the box like this

I think this change would not be suitable for the case I created the ThrottledWorker for: if now a file watcher sends 1 event every 10ms, we would artificially wait 200ms before letting this event go. The intent was to start throttling when an unusual large number of events comes in at the same time:
https://github.com/microsoft/vscode/blob/b591f33513575b89cfe3f42d5b9de43efcf9ca78/src/vs/platform/files/node/watcher/parcel/parcelWatcher.ts#L176-L183

Would it be worth a throttled worker option or do you think I should just use a different utility?
Here's the PR where I try to consume this if interested. https://github.com/microsoft/vscode-copilot/pull/8758

I did not create a test for it in my first PR because it modified the default behavior so instead I modified your existing PR. I will create a test for this and get another ✔ since you did the cleanup. Thanks for the 💄 and review


Open in the background tab for GitHub Download ZIP

GitHub Download ZIP

Usually click on the download a link to open in the background, so that it will not affect the tab jumping.
// @grant GM_openInTab

.....
	GM_openInTab();
.....

👆 This can be opened in the background
open in the background tab, the current tab will remain motionless (will not jump to the left or right)

Hi @dnknn!
I'm not seeing this happen in Chrome. Which browser are you using?

@Mottie You need to use an extension/script to customize the position where the label opens and closes. If the two are different positions, then the problem I said will occur.
SimpleTabOrder
https://chrome.google.com/webstore/detail/cekafjbmkfofacenifehbglhmajimhjf
Tab Position Customizer - Modified
https://chrome.google.com/webstore/detail/kkhcdbdhbmegbbhgmdhhpfmjhlhjlghp
or CentBrowser

Mainly, the link downloads I have seen are all opened in the background tab, not in the foreground.

This issue is very small and will not affect big problems, so it can be closed at any time. I'm just talking about it

This issue is very small and will not affect big problems, so it can be closed at any time. I'm just talking about it ^_^


Incorrect Values in Views with Descending Indices

I've run across some strange behavior with stride arrays. When creating a view with indices that descend, it seems that nonsensical data is produced. Take the code snippet below.
init = zeros(10)
init .= 1:10
str = StrideArray(init)
println(view(str, 8:10))
println(view(str, 10:-1:8))
println(str[10:-1:8])

This outputs
[8.0, 9.0, 10.0]
[10.0, 9.704941046e-315, 1.47457394e-315]
[10.0, 9.0, 8.0]

It seems the first value in the view is correct, but the rest aren't. I have tried enabling bounds checking as suggested which made no difference. Normal array slicing appears to function correctly.

Thanks for the issue. Views with ranges whenever step(r) != 1 were broken, but it should be fixed in 0.3.10.


training stops at 20/18700 of epoch 0/10 with no error in terminal

Hi jeasinema, thank you for this great work!
When I run train.py, it stops here and make no more progress with no error in terminal:
train: 20/18700 @ epoch:0/10 loss: 4.318506240844727 reg_loss: 2.653141498565674 cls_loss: 1.6653645038604736 default
the gpu-util turns down to 0% , with a high gpu memory usage of 8527/11172MB x 4 1080Ti
Any help is appreciated . Thanks in advance!!

It happens also to me in epoch 60 here:
if is_validate:                         ret = model.validate_step(                                 sess, valid_loader.load(), summary=True)                         summary_writer.add_summary(ret[-1], iter)

Same problem here. Any suggestion or comment will be appreciated. : )

I have answered almost the same question in issue #11


[Feature Request]-"thrifty swerve modules"

Feature Description
Add thrifty swerve modules to the SwerveModule factory methods.
Additional Context
product page.

enhancement made in #63


Permissions Required

What permissions are needed to set Office Download Settings?
The Tip of where to find them is useful, but I have fairly high level access to our tenant, and it seems Global Administrator is required. Please clarify

I have found Office Apps Admin in other documentation:
https://docs.microsoft.com/en-us/microsoft-365/admin/add-users/about-admin-roles?view=o365-worldwide

@jwhit-MSFT / @DHB-MSFT Can be closed


from ..dataset.custom_nuscenes import CustomNuScenes as NuScenes

Can the implementation of this Nusc dataset be released?

Sorry for the confusion, but CustomNuScenes comprises no substantial modification compared with NuScenes from nuscenes_devkit. We are using it because of some file system incompatibility.


OCPBUGS-33285: Add TelemeterClientFailures runbook

cc @simonpasquier @jan--f

/jira refresh

@simonpasquier @juzhao updated per review, please check again

I've also updated an old PR of mine that aims at improving the client metrics https://github.com/openshift/telemeter/pull/500

@simonpasquier can you take another look at this, incorporated the suggestions

@simonpasquier updated with suggestions

@simonpasquier can you review again?

@simonpasquier addressed the comments, PTAL

https://issues.redhat.com/browse/MON-4059 logged for new alerting rule for telemeter client failures


Encapsulate all character or array pooling within ISerializer classes

All the character and array pooling we put in for Marten v2.0 is inconsistently used throughout the codebase, with some significant places where it's missed.

That made a much bigger deal than I was expecting.

Done in a branch


[REEF-958] Suppress MesosRemoteManagerCodec log messages

This PR suppresses log messages from INFO to FINEST,
and fixes a typo in a log message.
JIRA:
REEF-958
Pull request:
This closes #

Looks good, failure is unrelated. I'll test and merge

Thank you, again! :)


Suggestions for testing modules that use ngmap?

It seems difficult to test modules that require ngmap as a dependency, particularly directives. Directives that include ngmap directives try to pull in google maps js api, which causes my tests to break. Do you have any suggestions/examples for how to test? Ideally I shouldn't have to run any ngmap code when testing my modules. I've tried to mock out the NgMap service, but so far I've been unsuccessful.

I guess you need to mock 3rd party module as described here
http://stackoverflow.com/questions/26244172/cant-get-tests-to-work-in-presence-of-third-party-module
and here
http://stackoverflow.com/questions/17554727/mocking-angular-module-dependencies-in-jasmine-unit-tests?rq=1

thanks for your reply. Do you have any suggestions on how I might mock out your module? I tried to replace the methods in the NgMap service with noop methods, which is definitely a rushjob, and didn't work. When I have a bit of breathing room I'd be happy to do a proper mock. Hopefully next week i will have a chance.

Closing this for out of scope.


[Bug] cannot reproduce top1 accuracy with resnet50 for cub dataset

Branch
1.x branch (1.0.0rc2 or other 1.x version)
Describe the bug
after clone mmcls, I try to reproduce cls with cub dataset, I have 4 2090ti, with default config "configs/resnet/resnet50_8xb8_cub.py", the best accuracy is 87.4%, which is still lower than your result(88.4%)
any suggestions for further improvement?
thanks
Environment
not that matter
Other information
No response

The accuracy given is what we get using an 8GPU machine, and you need to be careful about scaling lr when reproducing it. In your case, please try a smaller lr or use a larger batchsize .


Use Promethus for the Pod Ram in the cluster page

We need to use Promethus data for the Pod Ram in the cluster page. This tickets only needs to update the reserved RAM.
Please refer to #207. Most codes should be the same. In the issue, you need to find the correct Promethus query and replace the existing pie chart. The query could be sum(kube_pod_container_resource_requests_memory_bytes/1024/1024)
Current:

Expected:

After finished, merge into the promethus branch

I'll take this one!


Move/cleanup compiler debug logs

The compiler logs will start to stack up pretty quickly, so it may be wise to move them to the oxide/logs directory, and perhaps timestamp them with the date instead of one log per instance. We may want to eventually consider log rotation too, purging old logs over X days old.

Resolved with PR #344.


Google Driver: Enable AutoDelete of Disks for GCE

This is how currently my disk listing looks like (this are gitlab-runners, started/managed with docker-machine and using Preemptible VMs)

Note that most disks are there, but not attached to any VM.
The related VMs are gone.
This means disks are not reliably deleted. For example when using together with Preemptible VMs. It can happen that the Disk stays forever.
This Pull request enables the auto-delete feature for disks.
https://cloud.google.com/sdk/gcloud/reference/compute/instances/set-disk-auto-delete
The documentation states that this is a feature which is enabled by default usually.

@tmaier I changed my mind. I think you are right. I based my thinking on the old behavior of the driver. LGTM then!

Thank you!


regrab objects manually in clone

(I messed up the branch for the other pull request, #358, seemed cleanest just to delete that and start over)
When cloning, some properties of grabbed objects isn't being set properly (see discussion in #51 ). This just adds some code to manually regrab objects while setting that information properly.
Note that the main ada demo doesn't work without this change, as the fork is continuously in collision with the fingers.

We're starting to share ada code with collaborators - can we get this fixed before that, so we don't need to manage a different branch to make the ada demo work?

@mkoval @cliddick I think this is probably fine, right? Do we already have
unit tests for grabbing?
On Dec 9, 2016 17:16, "Shervin Javdani"<EMAIL_ADDRESS>wrote:
We're starting to share ada code with collaborators - can we get this fixed
before that, so we don't need to manage a different branch to make the ada
demo work?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/personalrobotics/prpy/pull/364#issuecomment-266138240,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACrOKz1xevtTpeRgF7KQ1SSgUxY6fRQfks5rGdM6gaJpZM4LJaUB
.

We don't have unit tests for grabbing. @sjavdani Would you mind creating a grabbing test that tests this issue?

@gilwoolee sure. Can you point me to a similar set of tests so I have a place to start?
Also, how can I go about doing this in prpy, without using herbpy and adapy?

Ok, I added unit tests for grasping and cloning, and making sure attributes don't change.
However, I wasn't actually able to create the problem I saw with ada on the wam...so, I'm not sure what this confirms, other than my change didn't break what wasn't problematic with the wam

@sjavdani Thanks for the changes and the tests. Your changes seem to be fine, but if you see the same problem again, we should create a test case.


In Task - Collection objects by area and date range - cannot sort or click on objects in returned list

Describe the bug
When I search a set of found objects in the "Task - Collection objects by area and date range" e.g. Odonata with identifiers between "0-100", then I cannot sort by the column headers or double click on the objects returned to go to that collection object.
To Reproduce
Steps to reproduce the behavior:

When I go to "Task - Collection objects by area and date range".

Then I search by any parameters to return any number of collection objects.

And I try to sort by one of the headers "e.g. Catalog Number, Locality, etc ...".
or
3a. And I double click on one of the returned collection objects.

Then nothing happens
Image of results after clicking on "Catalog Number" and on "Coleoptera 99"

Expected behavior
The entire list should be sorted numerically or alphabetically by the appropriately selected column.
or
I should be "shown" that Collection Object.
Environment (please identify where you experience this bug:

Sandbox - Sandworm:

Chrome 76.0.3809.132

Probably the problem is the line below @mjy?
https://github.com/SpeciesFileGroup/taxonworks/blob/4a45db436257f0da6993f3ae7b65d35bc5edf455/lib/queries/collection_object/filter.rb#L223
And the record causing the query to fail https://sandworm.taxonworks.org/collection_objects/471112  (Identifiers - Insect Collection 40646.1).
An ActiveRecord::StatementInvalid occurred in filter#set_id_range:

  PG::InvalidTextRepresentation: ERROR:  invalid input syntax for integer: "40646.1"
: SELECT COUNT(DISTINCT "collection_objects"."id") FROM "collection_objects" LEFT OUTER JOIN "identifiers" ON "identifiers"."identifier_object_id" = "collection_objects"."id" AND "identifiers"."identifier_object_type" = $1 LEFT OUTER JOIN "repositories" ON "repositories"."id" = "collection_objects"."repository_id" LEFT OUTER JOIN "taxon_determinations" ON "taxon_determinations"."biological_collection_object_id" = "collection_objects"."id" LEFT OUTER JOIN "otus" ON "otus"."id" = "taxon_determinations"."otu_id" LEFT OUTER JOIN "taxon_names" ON "taxon_names"."id" = "otus"."taxon_name_id" WHERE (identifiers.type = 'Identifier::Local::CatalogNumber') AND (CAST(identifiers.identifier AS integer) between 0 and 100) AND "collection_objects"."project_id" = $2
  app/controllers/tasks/collection_objects/filter_controller.rb:65:in `set_id_range'

A quick fix would probably be cast to floating point, but preferably should be something that both deals with lexicographic sorting and be smart enough to detect numbers within text at the same time (don't know if Postgres has something built-in for this).

Comment - this should be rated as blocker. It is EXTREMELY time consuming to have to research everything.

New filter completely replaces this page.  We just need final testing,
hopefully up very soon.
On Fri, Oct 18, 2019, 1:18 PM Tommy McElrath<EMAIL_ADDRESS>wrote:

Comment - this should be rated as blocker. It is EXTREMELY time consuming
to have to research everything.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/issues/1044?email_source=notifications&email_token=AAAFQSESRPC44IZ5GPA5T2DQPH4WTA5CNFSM4IUM2SL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVM4GA#issuecomment-543870488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFQSGM2R4E37GOZI4YT3LQPH4WTANCNFSM4IUM2SLQ
.

Related issue @mjy - containerized collection object identifiers do not appear alongside non-containerized ones in the results list. I also can't search for containerized identifiers and find them in the auto-complete list. Related? Fixed?

E.g. searching for "38390" in Browse Collection Object does not return "Insect Collection 38390" - which is a vial of Plecoptera with 31 individuals, 30 female, 1 male. I can find it if I search by its OTU - in Collection Object FIlter - so I know it is there, but that identifier doesn't display - you have to click through to see it.

Added the above issues as: #1143

Resolved in new filter.


Support for Fragment-able Modifications

A feature that I have not seen commonplace in any MS software is the support for modifications that might fragment due to the presence of peptide bonds.
For example,

This compound would have different masses depending on whether you view it on MS1 or MS2 spectra, given some probability that the peptide bonds will fragment just as they would on de facto peptides.
This isn't a critically important feature to have, but I have run into cases where this would have been useful. I would appreciate any feedback on where to support this / how to best implement this. i.e., should the list of post-fragment masses be passed for modifications that might exhibit this behavior, or should there be a more user-friendly method such as inputting modification SMILE codes and programmatically detecting fragment masses of modifications?

I like the idea, and have been working on some adjacent stuff. It would be very nice to have SMILES-based modifications, since that could enable better LFQ (given that modifications can dramatically change isotopic distribution). This will not be straightforward though, and will require some significant changes throughout the codebase.
For labile mods/diagnostic ions, it would be good to perform a closer examination of what FragPipe is doing. I know one option is performing a combination of variable mods/offset search (e.g. if probe has two parts, say 400 Da and 200 Da, you could set up each as a variable mod, and the reciprocal part as the precursor mass offset).
At the moment, Sage represents modifications as a simple 32-bit float, so the representation will need to be changed to account for potential fragmentation if we want to go the route of explicitly supporting this. I think handling the full fragmentation logic for arbitrary molecules will be pretty complicated, but we could start with a smaller scope of allowing the user to define pre-identified fragments and running diagnostic ion searches.
To unscramble some of my thoughts, maybe something along the following lines?

Support known labile modifications with fragment remainders

Offset search should be relatively straightforward: isotopic errors are already offsets.
Making this an explicit option will require more work as described above

Diagnostic ion search
Allow definition of mods by mass (assume averagine composition?), chemical composition, or SMILES string?

Will also need logic for handling isotopic patterns for arbitrary atoms
Should probably redefine all AAs in terms of their chemical composition.

And just a note for myself: given that the above will heavily modify the modification code (which is currently one of the slowest parts of Sage, especially for semi-enzymatic searches), it might be worth rewriting the modification code from scratch. Comet has been developing a fragment indexing approach along with a combinatorial bitmask modification approach (similar to what MSFragger describes in their paper), we should consider adopting this, especially since the memory cost of representing arbitrary molecules for modifications will be costly.
If you want a quick-and-dirty approach for specific modifications, you could also fragment the molecule (manually, or via RDKit) and run a set of Sage open-searches with a list of variable modifications corresponding to the fragment masses. This should approximate the labile/offset search.

I agree that a FragPipe-like modification approach would have the best outcome and likely lay the groundwork for future PTM implementations.

Support known labile modifications with fragment remainders
The biggest issue I foresee is how to take in the input. A list of floats should theoretically work, but Sage feels so modern compared to anything else out there; I would personally like to see more human-readable inputs like SMILES or the like. Basically, something that conveys chemical composition and structure  (this already exists for glyco-modifications and their nomenclature). It would be great to hear from others about how they would like to implement "smart" modifications.

Allow definition of mods by mass (assume average composition?), chemical composition, or SMILES string?
I think whichever solution or combination of solutions addresses 1) detecting labile bonds within a modification (e.g., mods that contain peptide bonds or fragment-able bonds) and 2) allowing users to define the position that forms the bond between the peptide and the mod. This second problem is not as straightforward with SMILES but I am not sure what would be other than listing out the mass offset values.

Should probably redefine all AAs in terms of their chemical composition.
I think this should be fairly straightforward, other than the implementation across the rest of Sage that is.


Unnable to resolve module events of request.js using react-native

Hi,
Where you find information, that current module support react-native?

Are there any plans for react-native SDK?

I'm also very interested in React Native support.

I'm in fucking agreement

I'm wrapping the Android SDK and the iOS SDK for react-native:
https://github.com/innFactory/react-native-api-ai
Android works already now I'm working on iOS.

anyone could share more about react-native? in my folder only app.js, as its combine together with iOS & Android.. but in the git its 2 folder that iOS and Android.. what should we do?


Do not require Git

Move the app Git from required apps to optional apps. Because Git is not directly required by Bench anymore and bootstrapping without Git is much faster (smaller initial download, fewer custom scripts).

Resolved in 6e89f9d6953ef8a90b49aec3fd141056cc86baac


Fix breaking change in pyelliptic 1.5.8

Fixes breaking change in pyelliptic 1.5.8 that causes app install to fail.
ubuntu@ip-172-31-20-133:~/pyethapp$ pyethapp
Traceback (most recent call last):
  File "/usr/local/bin/pyethapp", line 11, in <module>
    load_entry_point('pyethapp', 'console_scripts', 'pyethapp')()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 560, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2648, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2302, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2308, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/ubuntu/pyethapp/pyethapp/app.py", line 15, in <module>
    from devp2p.app import BaseApp
  File "/usr/local/lib/python2.7/dist-packages/devp2p/app.py", line 8, in <module>
    from devp2p import crypto
  File "/usr/local/lib/python2.7/dist-packages/devp2p/crypto.py", line 7, in <module>
    import pyelliptic
  File "/usr/local/lib/python2.7/dist-packages/pyelliptic/__init__.py", line 43, in <module>
    from .openssl import OpenSSL
  File "/usr/local/lib/python2.7/dist-packages/pyelliptic/openssl.py", line 310, in <module>
    OpenSSL = _OpenSSL(libname)
  File "/usr/local/lib/python2.7/dist-packages/pyelliptic/openssl.py", line 144, in __init__
    self.EVP_CIPHER_CTX_reset = self._lib.EVP_CIPHER_CTX_reset
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: undefined symbol: EVP_CIPHER_CTX_reset

After adding the line to the requirements and a clean install, everything works fine now.
Thanks !

pip uninstall pyelliptic
pip install pyelliptic==1.5.7

This worked for me.  Thanks @scottdonaldau.  Not sure why wrong version was installed in the first place if your requirements fix was merged?

@dylancaponi I'm with you on this one. Indeed with this pull request merged we should not see the wrong version in this environment. But pointing out this explicit install of pyelliptic has saved me good time! thanks.


Add channel to cluster_info

Docs are autogenerated or I should do changes somewhere?

I miss some changes into the documentation, not just the validator scripts (https://github.com/RedHatInsights/insights-data-schemas/blob/master/docs/internal-pipeline/parquet_output.md)

LGTM (pls. look at @joselsegura 's comment)

Commit with docs update is already here. Did I miss something or did I just push it at the same time you posted your comment?:)

LGTM (pls. look at @joselsegura 's comment)

Commit with docs update is already here. Did I miss something or did I just push it at the same time you posted your comment?:)

yes, it was mid-air conflict. It looks good - TYVM!


nav-tabs: Inactive tab gets highlighted when tab change initiated by URL change in Angularjs (1.6) application

Info
Operating system and version: Windows 10
Browsers: Chrome 61.0.3163.100 64-bit, Firefox 56.0 32-bit, Microsoft Edge 40.15063.0.0
Reduced testcase: https://codepen.io/jannis-baratheon/pen/JrpPXq
Reproduction rate: 100%
Please find attached a recording of the issue.
Reproduction

Go to the TC in debug mode: https://s.codepen.io/jannis-baratheon/debug/JrpPXq/xnkabdVDZYOM#!/root/child1
Click on the 'Child 2' tab. The URL will change to https://s.codepen.io/jannis-baratheon/debug/JrpPXq/xnkabdVDZYOM#!/root/child2
Edit the URL in the URL field manually back to https://s.codepen.io/jannis-baratheon/debug/JrpPXq/xnkabdVDZYOM#!/root/child1

Expected result:
The tab changes to 'Child 1' and the tabset looks exactly as it did initially. ('Child 1' tab active, 'Child 2' tab inactive)
Actual result:
The tab changes to 'Child 1' but 'Child 2' tab has a highlight on it (the same way when the cursor is above it). Clicking anywhere in the page (apart from the tabset area) brings it back to normal.

Bootstrap 3 is essentially in maintenance mode as we focus on working towards a stable v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.
Side note : IMO that's not related to Bootstrap but Angular


Error Handling Demo / Doc

Can we get a little better example of error handling implemented in the demos?

:+1:
With more detailed description, e.g., what happens with the file state after an error? For instance, flowFile.isComplete() returns true after a fileError event.


CLI Command to Remove Azure Subscription

We are automating Subscription Creation & Removing process using CLI Scripts.
az account create is being using for creating subscription. However i was not able fine CLI command for Remove / De-Activate Subscription
Can you please let me know, the CLI Command to remove subscription.

There is not currently a command to delete subscriptions from the CLI. Feel free to file a feature request.


AR-1050 - Create a custom BV version of Ambari 2.5

Merge custom BV features into Ambari 2.5 for a release.

Sorry, I meant to make this in a forked repo!


Fix Travis

TBD (I still don't know the use case)

TBD (I still don't know the use case)

Errors and log messages from the mappings appear in the docker-compose logs (as they are logged by the graph-node process).
Hmm, any idea why docker-compose is erroring?

@nlordell it's not the actual test itself erroring, only the final docker-compose logs. I was able to get it to pass by simply not printing logs on shutdown. My suggestion now is to unset the -e flag so that we still pass if only the shutdown is failing.

Maybe it needs to docker-compose stop before logging? This is very strange as this didn't error before.

I tried you suggestions but am not getting around this error. Created https://github.com/gnosis/dex-subgraph/issues/128 to track a longer term fix.


Signature help in offset location and unscrollable.

(Following on from discord discussion).
When comparing signature help to type info on hover, currently signature help/ parameter info is offset away from the cursor location.
Additionally if the parameter info is long, then the popup isn't scrollable.  (Compared with hover info which is scrollable).
Pics below to clarify.
Paramater info / Signature help:

Type info on hover:

Hi @yunti, thanks again for making this issue! What extension are you getting the parameter hints from? I can't seem to replicate this with the JS/TS extension, so maybe I can get closer if I use the extension you're working with.
Thanks!

@zbaylin it's a reason (bucklescript) project, so just the default reason plugin in oni. Sorry the screenshot wasn't wide enough to make that more obvious.


:four_leaf_clover: Proposal: Make GitLab+Harbor+Jenkins Production Ready

What Would You Like to Add? Why Is This Needed?

Make GitLab+Harbor+Jenkins production ready.
Design
Harbor

Deploy with helm, expose via Ingress (with Nginx);
Support http first;

Lead by @daniel-hutao
GitLab
Support to integrate with Jenkins, Config via api.
Lead by @IronCore864
Jenkins
Deploy with helm, expose via Ingress (with Nginx).
Lead by @steinliber
Anything else

Related Issues

#995
#997
#1002

#1084


Add routine for installing Figure_To_Pdf.py script

Encouraged by @manics , I am adding the routine to for installing the Figure export script to the nightshade playbook (first commit) and the demo server playbook (second commit). The two added paragraphs are working fine already on the "outreach" server playbook, see https://github.com/pwalczysko/ansible-examples-omero/commit/5ece2affaed25c0432a4fd77ddd8e0aa37b040ba.
To test, see that after you ran the playbooks, the figure pdf creation is enabled and works as expected.
cc @joshmoore @kennethgillen @manics

Note with https://github.com/openmicroscopy/prod-playbooks/pull/26 and the training server moving to the prod-playbooks repository, we might consider refactoring this logic e.g. in a subplaybook included by all playbooks (training, omedundee-omero, omedemo).


Preview/2.0.0

:white_check_mark: Build TheIdServer 2.0.2-preview.1+8.build.946 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/af2b725d59 by @aguacongas)


fix: profile name validations

Type of Change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Motivation and Context
bugfix
How did you test it?
working as expected now
Where to test it?

[x] INTEG
[x] SANDBOX
[ ] PROD

Checklist

[x] I ran npm run re:build
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible

Please check if we are allowing for this case " Riddhi ".

Please check if we are allowing for this case " Riddhi "

@Riddhiagrawal001  made the changes to not allow spaces at the beginning


Certificate expired for go.bug.st

When running go get go.bug.st/serial
root@47206a184542:/go# go get go.bug.st/serial
package go.bug.st/serial: unrecognized import path "go.bug.st/serial" (https fetch: Get https://go.bug.st/serial?go-get=1: x509: certificate has expired or is not yet valid)

Accessing via Chrome https://go.bug.st reports the following:
NET::ERR_CERT_DATE_INVALID
Subject: go.bug.st

Issuer: Let's Encrypt Authority X3

Expires on: Jan 10, 2020

Current date: Jan 11, 2020

fixed sorry for the hassle.


starting the app this message come out

Analyzer Feedback from IntelliJ
Version information

IDEA AI-192.7<IP_ADDRESS>41897
2.7.0
AI-192.7<IP_ADDRESS>41897, JRE 1.8.0_212-release-1586-b4-5784211x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15.3, screens 1440x900  Retina

Exception
Dart analysis server, SDK version 2.7.0, server version 1.27.4, error: type 'ParsedDartFile' is not a subtype of type 'ParsedMoorFile' in type cast
#0      _MoorBaseRequest.parsedMoor (package:moor_generator/src/backends/plugin/services/requests.dart:23:31)
#1      MoorNavigationContributor.computeNavigation (package:moor_generator/src/backends/plugin/services/navigation.dart:20:19)
#2      NavigationGenerator.generateNavigationNotification (package:analyzer_plugin_fork/utilities/navigation/navigation.dart:91:21)
#3      NavigationMixin.sendNavigationNotification (package:analyzer_plugin_fork/plugin/navigation_mixin.dart:97:21)
<asynchronous suspension>
#4      ServerPlugin._sendNotificationForFile (package:analyzer_plugin_fork/plugin/plugin.dart:747:9)
#5      ServerPlugin.sendNotificationsForSubscriptions.<anonymous closure> (package:analyzer_plugin_fork/plugin/plugin.dart:581:9)
#6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#7      ServerPlugin.sendNotificationsForSubscriptions (package:analyzer_plugin_fork/plugin/plugin.dart:579:19)
#8      ServerPlugin.handleAnalysisSetSubscriptions (package:analyzer_plugin_fork/plugin/plugin.dart:355:5)
<asynchronous suspension>
#9      ServerPlugin._getResponse (package:analyzer_plugin_fork/plugin/plugin.dart:660:24)
<asynchronous suspension>
#10     ServerPlugin._onRequest (package:analyzer_plugin_fork/plugin/plugin.dart:720:24)
<asynchronous suspension>
#11     PluginIsolateChannel.listen.onData (package:analyzer_plugin_fork/src/channel/isolate_channel.dart:127:18)
#12     _RootZone.runUnaryGuarded (dart:async/zone.dart:1316:10)
#13     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:338:11)
#14     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:265:7)
#15     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:766:19)
#16     _StreamController._add (dart:async/stream_controller.dart:642:7)
#17     _StreamController.add (dart:async/stream_controller.dart:588:5)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

For additional log information, please append the contents of
file:///private/var/folders/ny/xp6sbyk17_v_bjftblhb5hvw0000gp/T/report.txt.

It looks like you're using a package:moor_generator analyzer plugin. Can you re-file this issue with that package?

Yes, I can do can you help me with this?

Are you developing the package or using it? If using it, I'd file an issue against it's repo.


Integrate virtru react components

changes: rev
Proposed Changes
Please use the Jira Key or NOREF followd by the changes

JIRAKEY-1234

Some change
Another change

Checklist

[ ] I have added or updated unit tests
[ ] I have added or updated integration tests (if appropriate)
[ ] I have added or updated documentation / readme (if appropriate)
[ ] I have verified that my changes have not introduced new lint errors
[ ] I have updated the change log

Testing Instructions

@jrschumacher conflicts with package.json & friends


Generate thumbnails for filetypes that can be previewed

Summary of the new feature/enhancement
Smaller screens don't have the space to keep the preview pane open.  So we rely on thumbnails to preview image files.  Many Linux file browsers even generate thumbnails for text files.

Proposed technical implementation details (optional)

It would really help if you can tell use (some of) the actual filetypes you would like to see. As you already said: Images, (most of) video files, most PDF files already have a thumbnail.

How about SVG and text files?  Some might like Office files (including OpenOffice) and formatted text-based files like Markdown.  At least bigger sizes would be needed.  Text files can't be previewed at tiny sizes reliably.
I do think a file type icon should be superimposed on one corner.

SVGs make sense and we have a tracking issue. Txt would be just gibberish.
#1341 is the tracking item for SVG.  As is, this is a big vague


Use Getwd(), support direct customization of the 'cwd' path

Not seeing a CWD envvar as of Ubuntu Linux 16.04. Probably meant PWD? May as well use the standard Getwd() for this.
It'd also be useful to support explicitly providing that 'cwd' value via the API. Adds a new ParseStringInDir() function to support this. It came up for me when I was trying to pass the string contents of a file, where I wanted to have both old and new versions of the content to show in a diff. Example:

oldData, _ := ioutil.ReadFile(path)
template, _ := mustache.ParseStringInPath(string(oldData), dir)
newData := template.Render(map)
// ... show diff of oldData vs newData ...

Finally, reenables a commented-out test which seems to be passing just fine...

Polite ping.
If you'd like to see an example of usage for these changes, see dcos-commons/sdk/bootstrap/main.go


Feature Request: Customised Mode for Bot

Problem
No response
Solution
Add a further "Customised Mode" as configurable from the app.
Alternatives
No response
Additional context
No response

I don't believe this is in the api


43 is running

Solving #43
I implemeted thread.is-running that returns TRUE if the thread was started and still works.
We also need it to solve puzzle #45

@Graur please review

@yegor256 please have a look

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 9min)


Compatibility of defence JpegCompression with classifier's preprocessing (standardisation)

Is your feature request related to a problem? Please describe.

In classifer.predict we are applying the classifier's preprocessing before applying the defences.
Most of the common classifier preprocessing values for standardisation result in pixel values outside of [0, 1].
The defence JpegCompression expects inputs x to be in the range [0, 1] and clips inputs x to this range [0, 1].
This can very likely result in unexpected behaviour of the classifier without any warnings.

Describe the solution you'd like
Are there any reasons against reversing the order to first applying the defences and then applying the preprocessing (standardisation) in classifier.predict()?
For example are there other defences that need to run after preprocessing (standardisation)?
Describe alternatives you've considered

As alternative we could use the classifier's clip_values in JpegCompression to adapt the clipping for the compression step instead of just assuming [0, 1] for x.
We could reverse the standardisation in JpegCompression and reapply it after the compression step, but this would result in extra computing efforts.
At least we should print a warning if JpegCompression clips values in the input x that are outside of the expected range.

Additional context
The behaviour of JpegCompression is documented in its docstring.

@ririnicolae @mathsinn What do you think?

A few of the defenses were implemented for the [0, 1] range for simplicity or because that's how the authors were doing it. Ideally, these should be generalized to any range. We've already done this for some of them.
Also, I think there is a strong reason to not do normalization after the defenses, as it would remove the effect of some of the defenses. Moreover, it would not really solve the problem for JpegCompression, as the normalization range is general and can be different from [0, 1].
I can look into ways to generalize the range for JpegCompression if that works for you? Will have a chat with @minhitbk as well, as he implemented it to begin with. I also agree that in the case where generalization is not possible, there should be a warning when the data ranges between the defense and the classifier do not match.

@ririnicolae Thank you, this is very helpful.
We are doing some performance testing experiments on the defence strengths that have revealed this issue, because of that we have comprehensive testing cases in place and have already implemented some fixes for this issue that we can share soon. Therefore I think I'm close to a working solution. But it would be great if we could ask you for a review later this or early next week?
We also need to consider that the defences are provided in a sequence. So even if a defence could run before standardisation, it could be positioned in the list of defences after a defence that requires standardised inputs.

@beat-buesser Sure, feel free to assign PR reviews to me whenever you need.
Yes, because the defenses can be in any order in the list, I'm thinking the best is to have all of them be able to run on any input ranges (to the extent where it's feasible), that would cover the most general case. Looking forward to the PR. :)

The reason we need clip_values=(0, 1) for JpegCompression is that we need to convert x to the range (0, 255) for doing compression. I think its not hard to generalize clip_values to any range given that we open one more parameter input to the init function for passing clip_values.


ci work

Pull Request Test Coverage Report for Build 183fa5fb615e5378ef98cf7028bd795f46b06117-PR-25

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.607%

Totals

Change from base Build 6c178740de44fbeedfe97b3317ffe573ab3181e7:
0.0%

Covered Lines:
173

Relevant Lines:
182

💛  - Coveralls

Pull Request Test Coverage Report for Build 183fa5fb615e5378ef98cf7028bd795f46b06117-PR-25
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.607%

Totals

Change from base Build 6c178740de44fbeedfe97b3317ffe573ab3181e7:
0.0%

Covered Lines:
173

Relevant Lines:
182

💛  - Coveralls


Prepare Tables patch release for September 2022.

API change check
API changes are not detected in this pull request.


Attribute startsAt should be non-mandatory

Problem description

Currently the attribute startsAt in Event Notification Template is mandatory. When the subscription is used in asynchronous mode and not started yet (status ACTIVATION_REQUESTED, or SUBSCRIPTION_UNPROCESSABLE as suggested in #243) the starting time is not known.
Also the name of the attribute implies a future date-time which is not the case since this timestamp is set to creation time of subscription and is always in the past (compare to QoD API specification: https://github.com/camaraproject/QualityOnDemand/blob/d6a3f239622e7a840ac049dfa8b2c74a3aea87b0/code/API_definitions/quality-on-demand.yaml#L533 ).
According to this fact maybe the description of this attribute can be changed to the past form.
Expected behavior

startsAt should be optional
Renaming from startsAt to startedAt
Description of this attribute should contain only past form verb:
instead of
Date when the event subscription will begin/began
I suggest
Date and time when the event subscription has started

* startsAt should be optional

It is optional in API Design Guidelines, so it should be corrected in template file .

* Renaming from startsAt to startedAt
* Description of this attribute should contain only past form verb:
  instead of
  _Date when the event subscription will begin/began_
  I suggest
  _Date and time when the event subscription has started_

The Subscription component is currently used in the response only (I think initially it was also placed in the subscription request), the question is whether we should change parameter name within this release, that would impose implementing this change in other subscription APIs (in short time before metarelease ).

Understood the rationale and it makes sense to have it optional.
Regarding the name, I suggest to keep it and not change in anycase as in the description the context will be provided.
We also use "expiresAt" for a future Date.


Allow text undo after command executed

Allow text undo in command box after command executed to retrieve last command.
use ctrl-z after entering command to retrieve the last command.

Codecov Report

Merging #111 (d1777a6) into master (d7d6e7a) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #111   +/-   ##
=========================================
  Coverage     67.32%   67.32%
  Complexity      526      526
=========================================
  Files            86       86
  Lines          1830     1830
  Branches        227      227
=========================================
  Hits           1232     1232
  Misses          508      508
  Partials         90       90

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/CommandBox.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


[VQC-CHALLENGE] [Quantum Annihilating] [2022-11-02]

Team members
Nouhaila Innan
Jehanne Reinkaos
Hasan Mustafa
Prashik Somkuwar
Submission summary

Thanks for your submission! Your model achieved 80% accuracy on our judging data set with a quantum cost of 285, and currently ranks 12th on the leaderboard.
TIP: The version of gen_binary.py in your forked repo uses the old Rx feature map, but your implementation assumes the updated Rz feature map. I noticed the mismatch, so I ran your model against the updated data set, which is why I got an improved accuracy. Before you make any further changes to your model, make sure that the feature map in your solution and the one used in the imported data set agree!


YML Parsing error

Issue Description
I get this error:
root@kali:~# /opt/king-phisher/KingPhisherServer -L INFO -f /opt/king-phisher/server_config.yml
[-] an error occurred while parsing the server configuration file
[-] while parsing a block mapping
[-]   in "/opt/king-phisher/server_config.yml", line 4, column 1
[-] expected , but found ''
[-]   in "/opt/king-phisher/server_config.yml", line 61, column 3
Reproduction Steps
/opt/king-phisher/KingPhisherServer -L INFO -f /opt/king-phisher/server_config.yml
Environment Details
Host OS: Linux kali 4.4.0-kali1-686 #1 SMP Debian 4.4.2-3kali1 (2016-02-23) i686 GNU/Linux
King Phisher Version: x.y.z
Error Details / Stack Trace
As above
config file:
#
# King-Phisher Server Configuration
#
logging:
  console:
    # Whether or not to enable console-based logging and use the configuration options within this section
    enabled: true
    # See https://docs.python.org/3/library/logging.html#logrecord-attributes for available attributes
    format: '%(levelname)s %(message)s'
    # Available levels: FATAL, ERROR, WARNING, INFO, DEBUG
    level: warning

  file:
    # Whether or not to enable file-based logging and use the configuration options within this section
    enabled: true
    # See https://docs.python.org/3/library/logging.html#logrecord-attributes for available attributes
    format: '%(asctime)s %(name)-50s %(levelname)-8s %(message)s'
    # Available levels: FATAL, ERROR, WARNING, INFO, DEBUG
    level: warning
    # Location to store the log file
    path: /var/log/king-phisher.log

server:
  # Bind address information, multiple ports can be
  addresses:
    - host: <IP_ADDRESS>
      port: 80
      ssl: false

  # Server RPC authentication related settings
  #authentication:
    # How long to cache authentication information in the server process
    #cache_timeout: 10m
    # Require authenticating users to be a member of the specified group
    #group: king-phisher
    # The service to use for PAM authentication
    #pam_service: sshd
    # How long an authenticated RPC session should be valid for after no requests have been received.
    #session_timeout: 30m

  # A cookie to retrieve the client's IP from, useful when a proxy is in place
  #client_ip_cookie: X-Real-IP

  # The name of the cookie used to track users
  cookie_name: KPID

  # Specify an additional search path for server data files
  data_path: /opt/king-phisher

  # The SQLite3 database file to use, the folder needs write permissions
  # WARNING: SQLite3 is not fully supported as of version 0.1.6, see
  # https://github.com/securestate/king-phisher/wiki/Database#sqlite for more
  # details
  #database: sqlite:////var/king-phisher/king-phisher.db

  # The PostgreSQL database to use
database: postgresql://king_phisher:Password@localhost/king_phisher
#database: postgresql://king_phisher:o3RZbLDXQB1Gdqq9DPw9HZEBYlBuX9E4siOL4reR@localhost/king_phisher

  # Fork the server process into the background
  fork: true

  geoip:
    # The location of the GeoLite2 City database
    database: /var/king-phisher/geoip.mmdb

  # Set a file to write the PID to
  pid_file: /var/run/king-phisher.pid

  # Add additional search paths for plugin directories
  #plugin_directories:
  #  - /some/plugin/path
  # List the plugins that need to be enabled
  #plugins:
  #  # The plugin to enable's name
  #  some_plugin:
  #    # An option specific to this particular plugin
  #    value_for_some_plugin: true

  # Require an ID associated with a campaign to load pages
  require_id: true

  rest_api:
    enabled: false
    # Networks which are authorized to use the REST API
    networks:
      - <IP_ADDRESS>/8
      - <IP_ADDRESS>/8
      - <IP_ADDRESS>/12
      - <IP_ADDRESS>/16
    # When null the token will be randomized at run time
    token: null

  # Configure the server header value
  #server_header: Apache/2.4.9 (Unix)

  # Set the opened timestamp on the first visit if it's null
  set_message_opened_on_visit: true

  # Drop privileges to the specified user
  setuid_username: nobody

  # Default SSL certificate settings
  #ssl_cert: /path/to/ssl.crt
  #ssl_key: /path/to/ssl.key
  # Hostname specific SSL certificates can be added below
  #ssl_hosts:
  #  - host: www.king-phisher.com
  #    ssl_cert: /path/to/www.king-phisher.com/ssl.crt
  #    ssl_key: /path/to/www.king-phisher.com/ssl.key

  # Configure the image file name used to track opened emails
  tracking_image: email_logo_banner.gif

  # Use subfolders in the web_root which correspond to vhost names
  vhost_directories: false
  web_root: /var/www

any help is appreciated!

Couple of things. Please don't post your configuration file in an issue unless we request it. The reason why is it includes your database connection string which has a password in it. If we request you share your configuration with us, we'll tell you the exact sections we need.
You appear to have an issue with lines 57 and 58. They need to have exactly 2 spaces before them inorder for them to be associated with the proper section. Please address that accordingly.

Thanks a lot , it worked :)
Saurabh
On Sat, Mar 4, 2017 at 7:07 PM, Spencer McIntyre<EMAIL_ADDRESS>wrote:

Couple of things. Please don't post your configuration file in an issue
unless we request it. The reason why is it includes your database
connection string which has a password in it. If we request you share your
configuration with us, we'll tell you the exact sections we need.
You appear to have an issue with lines 57 and 58. They need to have exactly
2 spaces before them inorder for them to be associated with the proper
section. Please address that accordingly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/securestate/king-phisher/issues/193#issuecomment-284169383,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY-cdcrMNrKvvpDZu9F2qUg8R-TsyP-gks5riahOgaJpZM4MTKPC
.


is there a way to insert variable values inside the mjml file like the name of the person?

Is there a way to insert variable values inside the mjml file like the name of the person?
When I run the mjml  var_1 = "Mark Gold"  filename.mjml -o file.html
It should replace the  var_1 inside the mjml file with "Mark Gold".

This has been replied multiple time you can find some answers here #1630
You can plug anything to MJML with a bit of works there's few project listed in this issue but this won't be provided by MJML as it's a markup language.


Add Hash for Tick

Objective

There are some situations (networking) where storing Tick as a key in a hashmap is useful

Please run cargo fmt


Deploy nodes in parallel

Hey 👋,
I’m playing around with skuba and noticed that it would be useful for me to deploy nodes in parallel to safe some time. When speaking about worker nodes then it should be possible to use a classic work stealing approach for example. What do you think?

I guess this is only intended for worker nodes?
What prevents us from doing so in the current model?
I think you can run skuba join in parallel...

I guess this is only intended for worker nodes?

I think so, or adding masters / workers if the initial master already got deployed.

What prevents us from doing so in the current model?

Nothing I guess. :man_shrugging:

I think you can run skuba join in parallel with a little bit of scripting, which means we probably shouldn't implement this in skuba.

Yes, I can do
for ((i = 0; i < NODES; i++)); do
    skuba node join … &
done
wait

Feel free to close if you think it's out of scope.

yes I am using about the same scripting. I would think it's out of scope indeed, but I will let others decide.


Uses deprecated inspect.getargspec

  /app/cubetl/core/context.py:177: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
    spec = getargspec(value)

I'm using python 3.7.4.

Apparently we should use inspect.signature since Python 3.3. Let's go that way, as supporting older Python versions is not a requirement.

Fixed in #ecf0cb7 .


feat: add all possible alterTable params

Feature Request
Describe the Feature Request

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)

Requested by @eGavr


Removed pch target since it didnt make a difference. Also added license field to vcpkg.json

Codecov Report

Merging #10 (6155b15) into main (bd5324a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   97.85%   97.85%
=======================================
  Files          10       10
  Lines         373      373
=======================================
  Hits          365      365
  Misses          8        8

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more