API Multiple Connections

Hi,
i have a question about the API with the following code:
from sophosfirewall_python.firewallapi import SophosFirewall, SophosFirewallZeroRecords, SophosFirewallAuthFailure, SophosFirewallAPIError
from flask import Flask
from flask import request

# Config Sophos API
sfos = SophosFirewall(
    username = "xxx",
    password = "xxxx",
    hostname = "xxxx",
    port = xxxx,
    verify = True
    )

def blockipminew(ips):
   # API Sophos
   print("--- Sophos API ---")
   try:
       response = sfos.login()
       print(f"Authentication Success MI New! {response}")
   except SophosFirewallAuthFailure as e:
       print(f"Authentication error MI New: {e}")
   try:
       response = sfos.get_ip_host(ip_address=ips)
   except SophosFirewallZeroRecords as e:
       print(f"IP {ips} Not Present on FW MI New")
       try:
           sfos.create_ip_host(name=f'BlockedIP-{ips}',ip_address=ips)
           print(f"IP:{ips} created on FW MI New")
       except SophosFirewallAPIError as sfae:
           print(f"{sfae}")
       try:
           print ("Update BlockedIPs Host Group on FW MI New")
           siplist = f'BlockedIP-{ips}'
           siplist = siplist.split()
           sfos.update_ip_hostgroup(name='BlockedIPs',host_list=siplist, action= 'add')
           print(f"IP {ips} created and updated on FW MI New")
       except SophosFirewallAPIError as sfae:
           sfos.remove(xml_tag="IPHost", name=f'BlockedIP-{ips}')

app = Flask(__name__)
@app.route('/', methods=['POST'])

def main():

    if request.method == 'POST':
        request_jdata = request.get_json()
        stream = request_jdata['event']['source_streams'][0]
        if stream == '659424f982907a72b3d57a02':
            sip = request_jdata['event']['fields']['Source_IP']
            blockipminew(sip)
            return "success", 200

if __name__ == '__main__':
  app.run(port=5001, host="<IP_ADDRESS>")

when i made a single POST request the API is able to create the ip host and update the host group.
But when a send 3/4 POST request at the same time the API is able to create the IP Host but is not able to update the host group.
This is occurred also with multiprocessing and threading.
Can you help me?
Thank you

The update method works by first doing a get on the existing hostgroup, extracting the current members of the hostgroup and adding the new one to it.  Then it submits the payload including all of the members.  It has to be done that way due to how the API currently works.  There's no "add to list" feature when updating a list in the API.  If you try to use set operation of "update" and only include a new host in the payload, any existing members get erased.  You have to first get the existing and add them to the payload along with any new additions.
Trying to update the same group at the same time might yield inconsistent results because of this.  If two processes start at the same time updating a hostgroup, the second process might not see the host added by the first process when it does the get, because the first process didn't complete yet.   Is that what you mean by it is not able to update the host group?  One or more of the additions is missing?
I'd suggest doing some type of task queue to ensure that the updates are performed in the sequence that they are submitted to the app.  For example:  https://medium.com/@Aman-tech/celery-with-flask-d1f1c555ceb7

Hi @mamullen13316 ,
thank you for your reply.
I just changed the code to celery days ago.
Now seesms to be working.
Thank you for your information.
I close the issue


Develop

Modified Readme to include package description and author list
Modified description file to reflect existing changes
Removed unmodified/archived functions from mpowertools
Renamed tremor and walk features code
Formatted utils.R and getTremorFeatures.R
Added tests, vignettes and data folders

@philerooski Once you finish this merge, merge develop to master.


Revert CUDA 12.0 CI workflows to branch-23.08.

This PR reverts changes to the branch of shared-action-workflows used for CUDA 12 testing. Now that https://github.com/rapidsai/shared-action-workflows/pull/101 is merged, we can revert this.

/merge

The C++ tests are failing on CUDA 12 with the error below. Here's the failure on CI
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ListenerTest.CloseCallback


DDT-152: Add EquipmentEventTypeCode to EventSubscription

Was this the only field that was missing?

Was this the only field that was missing?

Yes.


[bug] spurious diff on snowflake_table column

Suppress diffs like this–
~ resource "snowflake_table" "c7n_metadata" {
    ...
    ~ column {
          name = "RECORDED_AT"
        ~ type = "TIMESTAMP_LTZ(9)" -> "TIMESTAMP_LTZ"
      }
	...
    }

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.


Add Viet My College

@flishedu Regrettably, this request has signs of fraud. I have to close it without merging.
Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for the understanding!


fpassthru usage

Hello,
Is there a particular reason why fpassthru is not used when the response is sent to the client?

Stream are abstracted by the StreamInterface interface, which doesn't have a method to read the contents and stream and print it directly. Both StreamInterface::read() and StreamInterface::getContents() return a string.
Since there is no method to get the underlying stream, fpassthru can't be used.


Vector Configuration Connection Issue

Hi! Thanks for the tutorial. I got Vector to work real easy.
The only thing is, I can't seem to connect to Vector to change some of the settings. The Bot serial number shows up in the drop down but when I click connect, nothing happens. It is connecting and I can activate Vector and change the local time/temp/measure system but that's it
Have you encountered this before and is there a solution?
Thanks

Also having this issue, getting
error: rpc error: code = Unimplemented desc = unknown service Anki.Vector.external_interface.ExternalInterface

This is to do with wsl, kercre123 just released a windows version of wire pod with probably fixes it (but its broken)


Look at alternative user agent parsing libs

The library we currently use, has some issues with windows mobile devices and possibly others.

hello @friso any update on this enhancement ?
I was given a task to update the uadetector with the latest user agent database, so we bought the udger subscription and unfortunately due to the bad design of the uadetector library, we were blocked by the error code too large after defining all the latest user agents enum in UserAgentFamily.java
We plan to disable the parsing in Divolte and move the parsing to spark worker so we can choose our preferred library udger-java / DIUASparser.
But before moving to that direction, I would like to know your opinion on this.

hello @friso any update on this enhancement ?
I was given a task to update the uadetector with the latest user agent database, so we bought the udger subscription but the db upgrade process wasn't as simple as we expected (just dropping an xml file and recompiling) and required us to manually update enums in the code with entries from the DB, eventually reaching errors with the enum being too big in UserAgentFamily.java .
We are planning to disable the parsing in Divolte and move the parsing to spark worker so we can choose our preferred library udger-java / DIUASparser.
But before moving to that direction, I would like to know your opinion on this.


Fix MSSQL password complexity in docker-compose

Match the password complexity to the github workflow

That is super!


ListError [codeActionWidget] Invalid start index: 2

Error: ListError [codeActionWidget] Invalid start index: 2
at ne.splice in src/vs/base/browser/ui/list/listWidget.ts:1539:10
at n.t in src/vs/platform/actionWidget/browser/actionList.ts:335:16

Go to Errors Site

may be related to https://github.com/microsoft/vscode/issues/201812#issuecomment-1895376231
has the same stable release VS Code versions:
0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2,
af28b32d7e553898b2a91af498b1fb666fdebe0c,
1a5daa3a0231a0fbba4f14db7ec463cf99d7768e,
f1b07bd25dfad64b0167beb15359ae573aecd2cc


Cannot redirect after allow permission

Hi, I create IdentityServer and Client two projects when the web MVC project sign in by IdentityServer Project and allow the permission of this app. the identity server cannot redirect link to my web MVC client. there is one error 'Refused to load the font '' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.'.

StackOverflow is a more appropriate place for your question.
If you or your company need commercial support, please see here for more information.
Thanks!


feat: add strict option for defaultConverter

formatDistanceToNow: less than a minute ago
formatDistanceToNowStrict: 0 seconds ago

I added the docs and the example, noticed the example was using the wrong version so I also updated that. Hope this helps!

Hey @srabouin!
Your change was just released in v2.2.0. Thanks again for your contribution! :)

Awesome, thanks for fixing the little things :)


Kodi - Open ports to allow smb/samba browsing

browsing smb/samba shares requires having ports 1025 - 65535 open.
Source: https://github.com/dnschneid/crouton/wiki/How-to-mount-network-shares-on-Chromebook-(sshfs,-cifs,-nfs-etc)
this patch grabs the ip address from wlan0 and opens the ports when the source ip is within the local subnet.  if wlan0 has no ip, it does not modify iptables.
I'm not sure how many ChromeOS devices have an eth0, or any other interfaces that should be accounted for. or perhaps there is a better way to accomplish the same thing.
iptables gets reset on reboots, so it's probably not a big deal that the rule doesn't get cleared.  however, i would love to clear the port forward when kodi closes, or the chroot exits.
do you have any ideas for this @dnschneid ?

OK, i've updated the command, and switched to using a variable so i could easily keep the line length down.
The only issue i still have with this is clearing the rule after kodi closes.  I'm not sure the best way to do this, but it's not really that big of a deal...

ok, previously this would fail if no network exists, i changed the test, removed the -n.  This seems to work from my end.  please let me know if you see any other issues with the code @DennisLfromGA  @divx118
thanks a bunch for your help guys!

thanks @divx118 !

LGTM2 👍

@dnschneid  Thanks for the direction, but unfortunately that's mostly Chinese to me...
can you point me in the direction of something i can build off of?

Unfortunately, I don't think there's anything like it at the moment, and this feature has a weird set of requirements

root permission, regardless of which user is running kodi
needs to be triggered when the chroot unmounts
needs to only be triggered when launching kodi

I guess if we accept the caveat that you can only launch one kodi at a time, you can just get rid of the exec keyword in the startkodi script and add a trap on INT/HUP/0 to run the ip command.

i'll poke around and see what i can come up with.
i'd be happy for recommendations from the peanut gallery ;)
@dnschneid do you consider the removal of this iptables rule to be imperative to the merging of this patch?

z

I agree with @RUDIVANTORRE.  It should be pretty straightforward to make the change, so I think the merge can wait until you have it working.


Estimation of other variables: SOC, SOH

Hi, first of all very nice work and very interesting approach.
I have some questions about the simulate method.
If I understand well it currently only supports predicting voltage values.
But what about other variables of interest as the SOC for example?
More over, what if my dataset also has SOH and I want to predict that also?

You can now see the article at the following link: https://www.sciencedirect.com/science/article/pii/S2352152X24021674


make core.as_named_shape treat int like tuple[int]

fixes #21343

Maybe test any other distribution(s) too?

Too lazy!


Add Protection Deletion to DynamoDB tables

Describe the Feature
Add deletion_protection_enabled to the module. Terraform has this as an optional argument
Expected Behavior
When the flag set to true the dynamo table to be created or modified with Deletion Protection on
Use Case
We would like to be able to use the flag to avoid accidentally deleting DynamoDB tables. This flag is being enabled by terraform as an optional argument (defaults to false). See documentation deletion_protection_enabled

I am in need of this feature internally as well, if any of the maintainers (@milldr @alexjurkiewicz @aknysh @nitrocode) can confirm this is something that you want to see implemented I can work on it.

Yes please propose the change and it can be reviewed

I suppose this issue can be closed, the related PR has been merged long ago.


No "What's New" section for 0.17.0

Just upgrading from 0.16.0, I can't find any release notes. What's New was last updated for 0.16.0, I guess it was missed in this release?

Oh no I see they were updated in 99948c387702496274147a71f8bf0e600569f6b5 , I guess the docs build is failing

Same for 0.17.1

Same for 0.18

Merge with #511


IZPACK-1409: Remove attribute byLine from   in contains-

because after applying IZPACK-1408 it is not useful anymore. See IZPACK-1409 for further details.

Thanks for contributing.


Setting cell values sometimes doesn't work

Appears to occur with multiple selections??

Seems to be related to mouse button being held down while attempting to fill cells?

Only reproducible on some runs: probably a system ordering issue.

Wait until after #7 is resolved to attempt.


Create temporary cache file in cache directory

Fixes:
OSError: [Errno 18] Invalid cross-device link

if /tmp and the cache directory are on different filesystems.

Sigh. This is why we can't have nice things.


add tab completion

With typer can do so much easier (we need to replace click) also can add "color" too (related to #69) if "add colors means terminal color")
https://typer.tiangolo.com/

We can use typer plus it is similar to click and has rich addon for colors plus shell completion ability. (related to #69) if "add colors means terminal color"
https://typer.tiangolo.com/

I dont think I want to replace click TBH. There are a lot of fancy tools but I am trying to be a bit picky with the selections as maintenance has costs you know:) The coloring thing is not vital but completion is (but its not sth I want to do before the beta tho) doable with click as well. Consider these kinda open issues as spikes. And sorry for the non detailed issues and their explanations. I had noone but myself working on this project so far.

We can use typer plus it is similar to click and has rich addon for colors plus shell completion ability. (related to #69) if "add colors means terminal color"
https://typer.tiangolo.com/

I dont think I want to replace click TBH. There are a lot of fancy tools but I am trying to be a bit picky with the selections as maintenance has costs you know:) The coloring thing is not vital but completion is (but its not sth I want to do before the beta tho) doable with click as well. Consider these kinda open issues as spikes. And sorry for the non detailed issues and their explanations. I had noone but myself working on this project so far.

For maintenance "typer" is very well "okay" :) For you it is also fine plus you already have issue with "click" because I had to keep old version for sake of "tests" so we already need to replace "click" version to higher plus fix tests because your exist codes changed. "Not so hard to do it." Plus I was already playing with typer in here and used before so, maybe I can send PR for that  too :)

My point was more general regarding the maintenance, not for Typer. +n tool means 2^n complexity so I might want to skip that for now. We can visit the coloring later on. For yet another CLI tool, I did a lot of reseach in the past and to me click was the best back then. There are lots of stuff in the project to be updated to I would want to pass it right now I guess. click is more than enough right now:)


css-class does not work

When compiling, I get the issue: Line 50 (mj-text) — Attribute css-class is illegal
What's the correct way to add a class to an mj component?

Hey @aybmab,
css-class is mentioned in the documentation but is only available in v3.3.3-beta.1, sorry for that. To install and try it: npm install<EMAIL_ADDRESS>

Hi @ngarnier,
I just tried to use the css-class attribute on mj-column (as mentioned in docs) with<EMAIL_ADDRESS>and I still got the same error message : Line 91 (mj-column) — Attribute css-class is illegal
Any ideas or in-depth debugging tools ?

Hi @nicolas-goudry
Make sure you've installed the beta.  If so you can ignore the message, we forgot to release a beta version of mjml-validator package that whitelist this attribute.

@iRyusa I checked in package.json of mjml folder under node_modules, it was the right version.
Anyway, the HTML generated does contain the css class and everything I set, so it’s ok ! Sorry

I'm closing this issue, as css-class does work in the beta. Thanks for reporting the validation issue @nicolas-goudry.

Loving MJML and thanks for the heads up on this!
Could you try to update the docs? I was banging my head against a wall for some time trying to figure out why this css-class wouldn't work.

@kpettinga Same here. Glad I also found this issue... after several attempts to re-code it. Would like to see an update to docs or push to master.

Hi guys, v3.3.3 was just released, install with npm install mjml. It's not available in the try it live yet, but will be in the coming days/week. Sorry again for the trouble about the documentation.
cc @kpettinga @MissFerrety


Readded global audio singleton, added closeAudioContext parameter

Short description of changes:

audio context is now reused and not destroyed everytime. This allows more than 6 waves to exist.
audio context is destroyed in the destroy method if params.closeAudioContext is set to true

Breaking in the external API:

None, unless usage relied on the closing of the wavesurfer AudioContext, this needs to be done explicitly (see above)

Breaking changes in the internal API:
/
Todos/Notes:

For v2/next I would use window.WaveSurferAudioContext since the library object isn't necessarily a global variable.

Related Issues and other PRs:

https://github.com/katspaugh/wavesurfer.js/issues/1005
https://github.com/katspaugh/wavesurfer.js/pull/1015
https://github.com/katspaugh/wavesurfer.js/pull/998
https://github.com/katspaugh/wavesurfer.js/pull/962
https://github.com/katspaugh/wavesurfer.js/issues/374

Just noticed the context destruction doesn't work for params.audioContext + params.closeAudioContext.


Remote terminal session time out after 5 min inactivity

After 5 min inactivity to a remote host, I get "Connection to TARGET-IP closed - Press enter to continue...". There is no entry about session time out configured in the sshd_conf. I tried different options in "connection timout" in xpipe ("360";"0"), both with the same result (see above). If I connect from terminal directly, the session is not terminated after 5 min. Is it possible to prevent session termination in xpipe?

The connection timeout in xpipe is only for initial connection establishment. It doesn't pass any custom inactivity timeout to ssh, so it should use your default values. Is there maybe inactivity defined in your ssh client config?

Alright seems like I did not close this issue. Since everything seems to be resolved, I guess I can do that now.


Support for ADFS authority in msal4j

Hello MSAL4J team,
i am getting below error when i am trying to cleate "ConfidentialClientApplication" using client id and client secret for "ADFS" authority:
"Unsupported authority type. Please use AAD authority".
i need to use only ADFS as authentication server.
i know we have ADFSAuthority class in the msal4j JAR but "ClientApplicationBase" class doesnt provide have code for "ADFS" authority type. i am using msal4j - "0.5.0-preview" maven dependency.
kindly help and advice. Is there any updated library?
Thanks,
Mukul

Hi @mukulb82 MSAL4J currently does not support talking directly to AD FS. We have an ADFS support Wiki page with more details.
We plan to add support for ADFS 2019 in an upcoming release. Here is the GitHub issue tracking that work

@sangonzal Thanks for the response. As I am working on application using MSAL4J where I would need to talk to ADFS, what are approximate timelines when this implementation will be available?
Also, could you point me to alternate solution or library or other ways for implementing it ? I am able to receive response from ADFS by directly calling the ADFS server through REST client app.
How suitable would it be if I create a Apache HTTP's APIs REST client (using CloseableHttpClient class from "org.apache.httpcomponents" maven dependency ) and acquire token?
Thanks,
Mukul

@mukulb82 What version of ADFS are you using?

@sangonzal We are trying to connect to ADFS v4 in windows 2016.


HOI-A dataset

Where I can get the images and annotations of HOI-A dataset?
Thanks.

We will release the HOI-A in this repo in early April. It may be a little delay due to the covid-19.

I found some similarity between the HOI-A and HOI-W dataset, are they the same dataset?

Our HOI-A dataset is built upon our HOI-W dataset for ICCV HOI detection challenge with some refinements and extensions. There is a little difference, e.g., lots of wrong annotations in HOI-W are fixed in HOI-A, and some negative samples are added.  The performance of our PPDM on HOI-W and HOI-A has a little difference (about 1% point).

Thanks, closing it

I read your interesting paper, and I try to train/test your model. When can I get the HOI-A Dataset? If it takes a long time, I want to test using the HOI-W dataset. Can I upload it to Google drive other than Baidu Drive?

OneDrive is OK? I don't have enough space to upload and store the HOI-W dataset on Google Drive. I have finished my deadlines just now, and I will try to release the HOI-A dataset recently.

Onedrive is also good. Thanks.

https://sensetime-my.sharepoint.cn/:f:/g/personal/liaoyue_sensetime_com/EkUA1sc_sHNNmVNiVsyF8L0BCE4AXHa7sFEb8YTx11laBg?e=ArfMCD

When will the dataset be released?

I  find that the MAP value is the 0.2  in the HOI-W .

I  find that the MAP value is the 0.2  in the HOI-W .

Can you provide more details？ I can achieve 68.1 mAP based on DLA backbone using the repo.

When will the dataset be released?

I am sorry for the delay. I planned to released the HOI-A this week，but the covid-2019 outbreaks in Beijing which causes that I cannot return to the office in Beijing. Once I can return to the office，the HOI-A dataset will be in public in a week.

1.according to the corre_hico.npy ( modify  suit for hoiw  )  . office label in hoiw .
[1. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0.]
[1. 1. 1. 1. 1. 1. 1. 0. 0. 1. 1.]
[1. 1. 1. 1. 1. 1. 1. 0. 0. 1. 1.]
[1. 1. 1. 1. 1. 0. 0. 0. 0. 0. 0.]
[1. 1. 1. 1. 1. 0. 0. 0. 0. 0. 0.]
[1. 1. 0. 1. 0. 1. 1. 1. 0. 0. 1.]
[1. 1. 1. 1. 1. 1. 1. 0. 1. 1. 1.]
[1. 0. 0. 0. 0. 0. 0. 0. 1. 0. 0.]
[1. 1. 0. 1. 1. 0. 0. 0. 0. 1. 1.]
[1. 1. 0. 1. 0. 0. 0. 0. 0. 1. 1.]    (corre_hico.npy)
2. then I copy your hoia file and rename  to hoiw file .
example :(
(1) dataset /   dataset_factory.py  add the hoiw . All hoia files are modified into  hoiw files
(2) dataset / dataset   hoia.py     class HOIA(Dataset)   -  class HOIWDataset)  ,and so on
(3) opts.py add          self.parser.add_argument('--dataset', default='hoiw',
help='hico | vcoco | hoia| hoiw')
if opt.task == 'hoidet':
assert opt.dataset in ['hico', 'vcoco', 'hoia', 'hoiw']
opt.heads = {'hm': opt.num_classes,
'wh': 2 if not opt.cat_spec_wh else 2 * opt.num_classes,
'hm_rel': opt.num_classes_verb,
'sub_offset': 2,
'obj_offset': 2}
(4)  detectors / hoidet.py
elif 'hoiw' in opt.dataset:
self.corre_mat = np.load(os.path.join(self.opt.root_path, 'hoia/annotations/corre_hoiw.npy'))
    if 'hoiw' in self.opt.dataset:
        obj_cate_ids= list(range(1, 12))
        verb_cate_ids = list(range(1, 11))

)
3. train . (140epoch,DLA backbone. )
python main.py  hoidet --batch_size 50 --master_batch 7 --lr 4.5e-4 --gpus 0,1,2,3  --num_workers 16  --load_model ../models/dla34/model_best.pth( your provided  ) --image_dir trainval/trainval --dataset hoiw --exp_id hoidet_hico_dla
but now I train the  model  ( loading model ../models/ctdet_coco_dla_2x.pth )

test_hoi  python test_hoi.py hoidet --exp_id hoidet_hico_dla --load_model ../models/w-dla34/model_140.pth --gpus 0 --dataset hoiw --image_dir trainval/test --test_with_eva

5.results :mAP: 0.2061473138228045   max recall: 0.3803719110411382
the enviorment is fine . (python 3.6  , pytorch 0.4.1 )

I  find that the MAP value is the 0.2  in the HOI-W .

Can you provide more details？ I can achieve 68.1 mAP based on DLA backbone using the repo.

But I find the error : in the ../models/ctdet_coco_dla_2x.pth   .
Skip loading parameter hm.2.weight, required shapetorch.Size([11, 256, 1, 1]), loaded shapetorch.Size([80, 256, 1, 1]).
Skip loading parameter hm.2.bias, required shapetorch.Size([11]), loaded shapetorch.Size([80]).
No param hm_rel.0.weight.
No param hm_rel.0.bias.
No param hm_rel.2.weight.
No param hm_rel.2.bias.
No param sub_offset.0.weight.
No param sub_offset.0.bias.
No param sub_offset.2.weight.
No param sub_offset.2.bias.
No param obj_offset.0.weight.
No param obj_offset.0.bias.
No param obj_offset.2.weight.
No param obj_offset.2.bias.
Can you provide your pre-trained model in HOIW or HOIA dataset?

maybe the model ( your provided ) is train on coco .   (117V and 80 O )
HOIW ( 10 V and 11O)

I  find that the MAP value is the 0.2  in the HOI-W .

Can you provide more details？ I can achieve 68.1 mAP based on DLA backbone using the repo.

But I find the error : in the ../models/ctdet_coco_dla_2x.pth .
Skip loading parameter hm.2.weight, required shapetorch.Size([11, 256, 1, 1]), loaded shapetorch.Size([80, 256, 1, 1]).
Skip loading parameter hm.2.bias, required shapetorch.Size([11]), loaded shapetorch.Size([80]).
No param hm_rel.0.weight.
No param hm_rel.0.bias.
No param hm_rel.2.weight.
No param hm_rel.2.bias.
No param sub_offset.0.weight.
No param sub_offset.0.bias.
No param sub_offset.2.weight.
No param sub_offset.2.bias.
No param obj_offset.0.weight.
No param obj_offset.0.bias.
No param obj_offset.2.weight.
No param obj_offset.2.bias.
Can you provide your pre-trained model in HOIW or HOIA dataset?

DLA model for HOI-W: https://drive.google.com/file/d/1R3Um5rsyEXDiz2ojnbmKKjpQkAbXT4Ob/view?usp=sharing
corre_npy HOI-W: https://drive.google.com/file/d/1f9nU2uyxpfPTcyDgK5mPYvqI4T84biq5/view?usp=sharing

I  find that the MAP value is the 0.2  in the HOI-W .

Can you provide more details？ I can achieve 68.1 mAP based on DLA backbone using the repo.

But I find the error : in the ../models/ctdet_coco_dla_2x.pth .
Skip loading parameter hm.2.weight, required shapetorch.Size([11, 256, 1, 1]), loaded shapetorch.Size([80, 256, 1, 1]).
Skip loading parameter hm.2.bias, required shapetorch.Size([11]), loaded shapetorch.Size([80]).
No param hm_rel.0.weight.
No param hm_rel.0.bias.
No param hm_rel.2.weight.
No param hm_rel.2.bias.
No param sub_offset.0.weight.
No param sub_offset.0.bias.
No param sub_offset.2.weight.
No param sub_offset.2.bias.
No param obj_offset.0.weight.
No param obj_offset.0.bias.
No param obj_offset.2.weight.
No param obj_offset.2.bias.
Can you provide your pre-trained model in HOIW or HOIA dataset?

DLA model for HOI-W: https://drive.google.com/file/d/1R3Um5rsyEXDiz2ojnbmKKjpQkAbXT4Ob/view?usp=sharing
corre_npy HOI-W: https://drive.google.com/file/d/1f9nU2uyxpfPTcyDgK5mPYvqI4T84biq5/view?usp=sharing

thank you , but the corre_npy need to be  approve (   in your email )

I  find that the MAP value is the 0.2  in the HOI-W .

Can you provide more details？ I can achieve 68.1 mAP based on DLA backbone using the repo.

But I find the error : in the ../models/ctdet_coco_dla_2x.pth .
Skip loading parameter hm.2.weight, required shapetorch.Size([11, 256, 1, 1]), loaded shapetorch.Size([80, 256, 1, 1]).
Skip loading parameter hm.2.bias, required shapetorch.Size([11]), loaded shapetorch.Size([80]).
No param hm_rel.0.weight.
No param hm_rel.0.bias.
No param hm_rel.2.weight.
No param hm_rel.2.bias.
No param sub_offset.0.weight.
No param sub_offset.0.bias.
No param sub_offset.2.weight.
No param sub_offset.2.bias.
No param obj_offset.0.weight.
No param obj_offset.0.bias.
No param obj_offset.2.weight.
No param obj_offset.2.bias.
Can you provide your pre-trained model in HOIW or HOIA dataset?

DLA model for HOI-W: https://drive.google.com/file/d/1R3Um5rsyEXDiz2ojnbmKKjpQkAbXT4Ob/view?usp=sharing
corre_npy HOI-W: https://drive.google.com/file/d/1f9nU2uyxpfPTcyDgK5mPYvqI4T84biq5/view?usp=sharing

thank you , but the corre_npy need to be approve ( in your email )

I have processed it. The model is trained based on the old version repo, where the human and object branches are split. I am looking for the old version repo now.

thank you. solve it .

Onedrive is also good. Thanks.

https://sensetime-my.sharepoint.cn/:f:/g/personal/liaoyue_sensetime_com/EkUA1sc_sHNNmVNiVsyF8L0BCE4AXHa7sFEb8YTx11laBg?e=ArfMCD

Hi, this link shows 404 not found. Is it for the HOI-W dataset?
Thanks

Onedrive is also good. Thanks.

https://sensetime-my.sharepoint.cn/:f:/g/personal/liaoyue_sensetime_com/EkUA1sc_sHNNmVNiVsyF8L0BCE4AXHa7sFEb8YTx11laBg?e=ArfMCD

Hi, this link shows 404 not found. Is it for the HOI-W dataset?
Thanks

If you could visit the Baidu Driver, the HOI-W could be downloaded here. Otherwise, I will upload the HOI-W to the Google Drive today.

Hi,
Thanks for your response. It would be great if you could upload the dataset to Google Drive. The downloading speed from Baidu Driver is super slow for me.
Thank you very much!

Onedrive is also good. Thanks.

https://sensetime-my.sharepoint.cn/:f:/g/personal/liaoyue_sensetime_com/EkUA1sc_sHNNmVNiVsyF8L0BCE4AXHa7sFEb8YTx11laBg?e=ArfMCD

Hi, this link shows 404 not found. Is it for the HOI-W dataset?
Thanks

If you could visit the Baidu Driver, the HOI-W could be downloaded here. Otherwise, I will upload the HOI-W to the Google Drive today.

Hi,
Thanks for your response. It would be great if you could upload the dataset to Google Drive. The downloading speed from Baidu Driver is super slow for me.
Thank you very much!

Onedrive is also good. Thanks.

https://sensetime-my.sharepoint.cn/:f:/g/personal/liaoyue_sensetime_com/EkUA1sc_sHNNmVNiVsyF8L0BCE4AXHa7sFEb8YTx11laBg?e=ArfMCD

Hi, this link shows 404 not found. Is it for the HOI-W dataset?
Thanks

If you could visit the Baidu Driver, the HOI-W could be downloaded here. Otherwise, I will upload the HOI-W to the Google Drive today.

Hi,
Thanks for your response. It would be great if you could upload the dataset to Google Drive. The downloading speed from Baidu Driver is super slow for me.
Thank you very much!

https://drive.google.com/drive/folders/15xrIt-biSmE9hEJ2W6lWlUmdDmhatjKt?usp=sharing


Fetching Firestore Documents results in parsing error

I tried this lib for a couple of collections which all worked fine.
On a given collection however I get this error:
ERROR - 2024-03-30 15:11:12.058685
POST /apps/execute_automation
Error thrown by handler.
type 'String' is not a subtype of type 'num' in type cast
package:firebaseapis/firestore/v1.dart 5451:39  new Value.fromJson
package:firebaseapis/firestore/v1.dart 4604:27  new MapValue.fromJson.
dart:collection                                 MapBase.map
package:firebaseapis/firestore/v1.dart 4601:74  new MapValue.fromJson
package:firebaseapis/firestore/v1.dart 5461:26  new Value.fromJson
package:firebaseapis/firestore/v1.dart 2449:41  new ArrayValue.fromJson.
dart:_internal                                  ListIterable.toList
package:firebaseapis/firestore/v1.dart 2451:20  new ArrayValue.fromJson
package:firebaseapis/firestore/v1.dart 5441:28  new Value.fromJson
package:firebaseapis/firestore/v1.dart 2958:27  new Document.fromJson.
dart:collection                                 MapBase.map
package:firebaseapis/firestore/v1.dart 2955:74  new Document.fromJson
package:firebaseapis/firestore/v1.dart 5057:26  new RunQueryResponseElement.fromJson
package:firebaseapis/firestore/v1.dart 1888:49  ProjectsDatabasesDocumentsResource.runQuery.
dart:_internal                                  ListIterable.toList
package:firebaseapis/firestore/v1.dart 1890:10  ProjectsDatabasesDocumentsResource.runQuery
Which is this line:

I could not pinpoint the exact document that got it to fail but this is the general data structure:

To futher highlight the issue, we are still getting these random errors when testing with the library:

I stil could not pinpoint the exact data that reproduces this issue though


libreoffice-qt-<IP_ADDRESS> does not export GSettings correctly

Describe the bug
When building a new home-manager configuration, the user-environment derivation errors, probably because because GSETTINGS_SCHEMAS_PATH doesn't seem to be correctly exported, or something like that? Note the sharegsettings-schemas instead of share/gsettings-schemas, which does exist. libreoffice does work after this, though.
building '/nix/store/1jp50wd9482jnpppkcl8ijarv4iwbw8b-libreoffice-<IP_ADDRESS>.drv'...
building '/nix/store/sb2h9slpp82rklfw2jz9qhjyvalm17xb-home-manager-path.drv'...
created 14218 symlinks in user environment
building '/nix/store/4kq4ykzj0q37n3ssw2c8195pl890si66-activation-script.drv'...
building '/nix/store/rf6794dq6ck9yn81h1sz6kfxkbwngdp4-home-manager-generation.drv'...
/nix/store/xv54i7blis8gyg6g5165dgwjsr1bddml-home-manager-generation
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating installPackages
replacing old 'home-manager-path'
installing 'home-manager-path'
building '/nix/store/54csm22i7hg0prlgpc9y0zmmkzlw2bp5-user-environment.drv'...
error: getting status of '/nix/store/wpqbf95pn25nghxpbprpb10s4xhbc0dl-libreoffice-<IP_ADDRESS>/sharegsettings-schemas': No such file or directory
error: builder for '/nix/store/54csm22i7hg0prlgpc9y0zmmkzlw2bp5-user-environment.drv' failed with exit code 1;
       last 1 log lines:
       > error: getting status of '/nix/store/wpqbf95pn25nghxpbprpb10s4xhbc0dl-libreoffice-<IP_ADDRESS>/sharegsettings-schemas': No such file or directory

Steps To Reproduce
Add libreoffice-qt to hm's home.packages on KDE Plasma and nixos-unstable.
Additional context
#142014
#149812
Notify maintainers
@7c6f434c @jtojnar
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.98, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.6.0`
 - channels(root): `"nixos, nixos-hardware"`
 - channels(inty): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

My libreoffice is an overlay, but this doesn't seem like this should matter:
self: super: {
  libreoffice-args = super.libreoffice-args // {
    python3 = super.python39.withPackages(ps: with ps; [ pygments ]);
  };
}

Possibly https://github.com/NixOS/nix/pull/6018?

Looks like it, thanks! I'll close this for now.


Trying to add a disposable to a DisposableStore

Error: Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!
    at c.add (workbench.desktop.main.js:formatted:3971)
    at P._handleEditorChanged (workbench.desktop.main.js:formatted:256185)
    at workbench.desktop.main.js:formatted:256146
    at workbench.desktop.main.js:formatted:9240
    at u.fire (workbench.desktop.main.js:formatted:9515)
    at L.doHandleActiveEditorChangeEvent (workbench.desktop.main.js:formatted:281228)
    at L.handleActiveEditorChange (workbench.desktop.main.js:formatted:281223)
    at workbench.desktop.main.js:formatted:281233
    at u.fire (workbench.desktop.main.js:formatted:9515)
    at workbench.desktop.main.js:formatted:289805
    at async Ti.openEditor (workbench.desktop.main.js:formatted:289767)
    at async F.editorOpenHandler (workbench.desktop.main.js:formatted:307262)
    at async F.openEditor (workbench.desktop.main.js:formatted:281825)
    at /Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/async file:/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2524

To verify:

open outline
hide outline
open a few editors
make sure the dev tools console shows no leak warnings

To verify:

open outline
hide outline
open a few editors
make sure the dev tools console shows no leak warnings


[#19] Adding Custom TextView styles

What happened 🤔
Adding custom font TextView support. Including a few styles besides of the basic default TextView style:

Bold
Clickable

Insight 👀

There are other ways that we can achieve the same thing, but these are the ways we usually use:

Adding default style to AppTheme at <item name="android:textViewStyle">style_here</item>
Using them by their explicit style from the UI component: style="@style/Our_Style"

TO USE THIS:

First: adding your font files to the /app/src/main/res/font dir then adjust the clarification in font-family to point to the newly added files.
Adjust Widget.Template.TextView for your usage and start using them on the TextView you want to apply the style on.

PoW (a.k.a Proof Of Work)💪

Default                    |                                  Clickable                        |                            Bold

Fix #19


OmniAuth::AuthHash inherits from Hashie::Mash but doesn't implement options on to_hash

Hashie::Mash#to_hash takes options argument but AuthHash inherits from this class and overrides to_hash without arguments.
This is causing me an error
wrong number of arguments (1 for 0)

omniauth (1.2.1) lib/omniauth/auth_hash.rb:47:in `to_hash'
hashie (2.1.0) lib/hashie/hash.rb:22:in `block in to_hash'
hashie (2.1.0) lib/hashie/hash.rb:13:in `each'
hashie (2.1.0) lib/hashie/hash.rb:13:in `to_hash'
hashie (2.1.0) lib/hashie/hash.rb:30:in `to_json'
/Users/michaelbaldry/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/json/common.rb:2

This commit to hashie seems to have caused it:
https://github.com/intridea/hashie/commit/a798eba1458ff8b48760e190e92d94ad8e87de34

Closing per Hashie updates.


Using FFprobe to output loudness data

Hello,
This is more of a question.  Is there a way to use libebur128 in ffprobe to output the loudness information that loundorm outputs within ffmpeg?
Here is what I am doing now:
ffmpeg -i in.aif -filter_complex "[0a]loudnorm=I=-5:TP=0:LRA=1:print_format=json[lna]; [lna]alimiter=limit=.8: level=disable[a_1]" -map "[a_1]"  -b:a 48k -ar 16000 out.mp3

Outputting this:
{
	"input_i" : "-10.26",
	"input_tp" : "-1.05",
	"input_lra" : "2.56",
	"input_thresh" : "-20.34",
	"output_i" : "-7.77",
	"output_tp" : "+0.00",
	"output_lra" : "2.09",
	"output_thresh" : "-17.84",
	"normalization_type" : "dynamic",
	"target_offset" : "2.77"
}

What I would like to do is add that data to this command's output:
/usr/local/bin/ffprobe -i test.mp3 -v quiet -print_format json -show_format -show_streams

Thanks!
-D

This is a question for<EMAIL_ADDRESS>


Issues when installing ubuntu on usb for chromebook

I have been following this youtube video (https://www.youtube.com/watch?v=wJ4WcfHFjKg) to install ubuntu on a usb drive for my chromebook. I have also been using this document (https://docs.google.com/document/d/1MJZYllAj_o-erv4WF2CKdjtHjT6Wee4t4mj6SlDRG8c/edit)  made by the youtube video creator that has updated a few things to type in the terminal. I manage to get to step 20 in the document without any errors. However when i try to type in step 21 that will install crouton to my flash drive ( sudo sh  ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive 2), i get the following message. Welcome to crosh, the Chrome OS developer shell.
If you got here by mistake, don't panic!  Just close this tab and carry on.
Type 'help' for a list of commands.
crosh> shell
chronos@localhost / $ sudo sh  ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive 2
Downloading latest crouton installer...
######################################################################## 100.0%
crouton [options] -t targets
crouton [options] -f backup_tarball
crouton [options] -d -f bootstrap_tarball
Constructs a chroot for running a more standard userspace alongside Chromium OS.
If run with -f, where the tarball is a backup previously made using edit-chroot,
the chroot is restored and relevant scripts installed.
If run with -d, a bootstrap tarball is created to speed up chroot creation in
the future. You can use bootstrap tarballs generated this way by passing them
to -f the next time you create a chroot with the same architecture and release.
crouton must be run as root unless -d is specified AND fakeroot is
installed AND /tmp is mounted exec and dev.
It is highly recommended to run this from a crosh shell (Ctrl+Alt+T), not VT2.
Options:
-a ARCH     The architecture to prepare a new chroot or bootstrap for.
Default: autodetected for the current chroot or system.
-b          Restore crouton scripts in PREFIX/bin, as required by the
chroots currently installed in PREFIX/chroots.
-d          Downloads the bootstrap tarball but does not prepare the chroot.
-e          Encrypt the chroot with ecryptfs using a passphrase.
If specified twice, prompt to change the encryption passphrase.
-f TARBALL  The bootstrap or backup tarball to use, or to download to (-d).
When using an existing tarball, -a and -r are ignored.
-k KEYFILE  File or directory to store the (encrypted) encryption keys in.
If unspecified, the keys will be stored in the chroot if doing a
first encryption, or auto-detected on existing chroots.
-m MIRROR   Mirror to use for bootstrapping and package installation.
Default depends on the release chosen.
Can only be specified during chroot creation and forced updates
(-u -u). After installation, the mirror can be modified using
the distribution's recommended way.
-M MIRROR2  A secondary mirror, often used for security updates.
Can only be specified alongside -m.
-n NAME     Name of the chroot. Default is the release name.
Cannot contain any slash (/).
-p PREFIX   The root directory in which to install the bin and chroot
subdirectories and data.
Default: /usr/local, with /usr/local/chroots linked to
/mnt/stateful_partition/crouton/chroots.
-P PROXY    Set an HTTP proxy for the chroot; effectively sets http_proxy.
Specify an empty string to remove a proxy when updating.
-r RELEASE  Name of the distribution release. Default: precise,
or auto-detected if upgrading a chroot and -n is specified.
Specify 'help' or 'list' to print out recognized releases.
-t TARGETS  Comma-separated list of environment targets to install.
Specify 'help' or 'list' to print out potential targets.
-T TARGETFILE  Path to a custom target definition file that gets applied to
the chroot as if it were a target in the crouton bundle.
-u          If the chroot exists, runs the preparation step again.
You can use this to install new targets or update old ones.
Passing this parameter twice will force an update even if the
specified release does not match the one already installed.
-V          Prints the version of the installer to stdout.
Be aware that dev mode is inherently insecure, even if you have a strong
password in your chroot! Anyone can simply switch VTs and gain root access
unless you've permanently assigned a Chromium OS root password. Encrypted
chroots require you to set a Chromium OS root password, but are still only as
secure as the passphrases you assign to them.
chronos@localhost / $
I dont know if it helps, but i am using a Lenovo X131e Intel chromebook.

It is highly recommended to run this from a crosh shell (Ctrl+Alt+T), not VT2.

It looks like you're attempting to run it from VT2 and not from a terminal session - which is not recommended per the above message.

The display that crouton is showing you is one that can be caused when something on the command is not quite correct. linux is very particular about spaces and upper/lowercase letters, it looks like you possibly may have not 'escaped' the last space in your command - before the number 2:
sudo sh ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive 2
Try using another 'backslash' character '' before the the number 2 and see if that helps.
Also, you can type in part of the path and then press the 'tab' key and the shell will complete the remainder by itself, adding any 'backslach' characters needed in the command.

ok thanks ill try it right now

I typed sudo sh ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive \2 and i am still getting this message.
chronos@localhost / $ sudo sh ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive \2
crouton [options] -t targets
crouton [options] -f backup_tarball
crouton [options] -d -f bootstrap_tarball
Constructs a chroot for running a more standard userspace alongside Chromium OS.
If run with -f, where the tarball is a backup previously made using edit-chroot,
the chroot is restored and relevant scripts installed.
If run with -d, a bootstrap tarball is created to speed up chroot creation in
the future. You can use bootstrap tarballs generated this way by passing them
to -f the next time you create a chroot with the same architecture and release.
crouton must be run as root unless -d is specified AND fakeroot is
installed AND /tmp is mounted exec and dev.
It is highly recommended to run this from a crosh shell (Ctrl+Alt+T), not VT2.
Options:
-a ARCH     The architecture to prepare a new chroot or bootstrap for.
Default: autodetected for the current chroot or system.
-b          Restore crouton scripts in PREFIX/bin, as required by the
chroots currently installed in PREFIX/chroots.
-d          Downloads the bootstrap tarball but does not prepare the chroot.
-e          Encrypt the chroot with ecryptfs using a passphrase.
If specified twice, prompt to change the encryption passphrase.
-f TARBALL  The bootstrap or backup tarball to use, or to download to (-d).
When using an existing tarball, -a and -r are ignored.
-k KEYFILE  File or directory to store the (encrypted) encryption keys in.
If unspecified, the keys will be stored in the chroot if doing a
first encryption, or auto-detected on existing chroots.
-m MIRROR   Mirror to use for bootstrapping and package installation.
Default depends on the release chosen.
Can only be specified during chroot creation and forced updates
(-u -u). After installation, the mirror can be modified using
the distribution's recommended way.
-M MIRROR2  A secondary mirror, often used for security updates.
Can only be specified alongside -m.
-n NAME     Name of the chroot. Default is the release name.
Cannot contain any slash (/).
-p PREFIX   The root directory in which to install the bin and chroot
subdirectories and data.
Default: /usr/local, with /usr/local/chroots linked to
/mnt/stateful_partition/crouton/chroots.
-P PROXY    Set an HTTP proxy for the chroot; effectively sets http_proxy.
Specify an empty string to remove a proxy when updating.
-r RELEASE  Name of the distribution release. Default: precise,
or auto-detected if upgrading a chroot and -n is specified.
Specify 'help' or 'list' to print out recognized releases.
-t TARGETS  Comma-separated list of environment targets to install.
Specify 'help' or 'list' to print out potential targets.
-T TARGETFILE  Path to a custom target definition file that gets applied to
the chroot as if it were a target in the crouton bundle.
-u          If the chroot exists, runs the preparation step again.
You can use this to install new targets or update old ones.
Passing this parameter twice will force an update even if the
specified release does not match the one already installed.
-V          Prints the version of the installer to stdout.
Be aware that dev mode is inherently insecure, even if you have a strong
password in your chroot! Anyone can simply switch VTs and gain root access
unless you've permanently assigned a Chromium OS root password. Encrypted
chroots require you to set a Chromium OS root password, but are still only as
secure as the passphrases you assign to them.
chronos@localhost / $

Okay, try just typing:
sudo sh ~/Downloads/crouton -r trusty -t xfce -p /media/removable
and then press the 'tab' key one or twice to see if it completes it.

I typed it and i pressed the tab key twice. It did not show usb drive 2 it only showed this
chronos@localhost / $ sudo sh ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive
/media/removable/USB Drive/chroots/trusty is not an ext filesystem.
chronos@localhost / $
but on my filesystem it shows usb drive 1 and usb drive 2

Do you have more than one usb stick plugged in?
Also, did you perform steps 9 thru 13 to format it ext4?

I only have 1 usb plugged in. I did perform the steps. Should i redo the steps?

Now that I remember I saw in the video that it first showed that there were two usb but later after a different step it showed that he had 1 usb. I'll try re doing the steps

You may have to re-run those steps again if it's not recognizing it as an ext file system.
If you run sudo fdisk -l it should tell you what the partitions are. Also, if you do re-run the stpes, mkae sure they all complete without error.

This is what i got when i typed it.
chronos@localhost / $ sudo fdisk -l
Disk /dev/loop0: 3.1 GiB,<PHONE_NUMBER> bytes, 6586944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 14.9 GiB,<PHONE_NUMBER>4 bytes, 31277232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 45A73F95-F50F-014C-B28E-FA7ED0817A70
Device        Start      End  Sectors  Size Type
/dev/sda1<PHONE_NUMBER>5679 22573056 10.8G Microsoft basic data
/dev/sda2     20480    53247    32768   16M ChromeOS kernel
/dev/sda3  27049984 31244287  4194304    2G ChromeOS root fs
/dev/sda4     53248    86015    32768   16M ChromeOS kernel
/dev/sda5  22855680 27049983  4194304    2G ChromeOS root fs
/dev/sda6     16448    16448        1  512B ChromeOS kernel
/dev/sda7     16449    16449        1  512B ChromeOS root fs
/dev/sda8     86016   118783    32768   16M Microsoft basic data
/dev/sda9     16450    16450        1  512B ChromeOS reserved
/dev/sda10    16451    16451        1  512B ChromeOS reserved
/dev/sda11       64    16447    16384    8M unknown
/dev/sda12   249856   282623    32768   16M EFI System
Partition table entries are not in disk order.
Disk /dev/mapper/encstateful: 3.1 GiB,<PHONE_NUMBER> bytes, 6586944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdc: 28.9 GiB,<PHONE_NUMBER>2 bytes, 60566016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf12f7589
Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1  *     8064 60566015 60557952 28.9G  c W95 FAT32 (LBA)
/dev/sdc2        2048     8063     6016    3M 83 Linux
Partition table entries are not in disk order.

I did the next to steps and got this.
chronos@localhost / $ sudo umount /dev/sdb1
umount: /dev/sdb1: mountpoint not found
chronos@localhost / $ sudo mke2fs -t ext4 /dev/sdb1
mke2fs 1.42.12 (29-Aug-2014)
The file /dev/sdb1 does not exist and no size was specified.
chronos@localhost / $ sudo mount /dev/sdb1 /media/removable/SD\ Card
mount: mount point /media/removable/SD Card does not exist
chronos@localhost / $

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 8064 60566015 60557952 28.9G c W95 FAT32 (LBA)
/dev/sdc2 2048 8063 6016 3M 83 Linux

It looks like your USB stick is detected as /dev/sdc not /dev/sdb and the biggest partiton, /dev/sdc1is FAT32 not ext2/3/4. The second partition,/dev/sdc2` is only 3M.

so what should i do?

so what should i do?

You need to repeat steps 9 thru 14 substituting /dev/sdb with /dev/sdc - but please make sure you have only one USB stick plugged in and it's the one you want to use for your 'crouton' chroot(s)/

ok thanks. I will try this.

The command lsblk is handy also and will tell you a little bit  about what devices are in use.

thanks

i did step 9. On step 10 i press d than it asks if i want to choose 1 or 2 partitions and it has in parenthesis that default is two. Should i choose 1 or two?

Welcome to crosh, the Chrome OS developer shell.
If you got here by mistake, don't panic!  Just close this tab and carry on.
Type 'help' for a list of commands.
crosh> shell
chronos@localhost / $ sudo fdisk /dev/sdc
Welcome to fdisk (util-linux 2.25.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): d
Partition number (1,2, default 2): d

I did this next
Welcome to fdisk (util-linux 2.25.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): d
Partition number (1,2, default 2): d
Value out of range.
Partition number (1,2, default 2): 1
Partition 1 has been deleted.
Command (m for help): d
Selected partition 2
Partition 2 has been deleted.
Command (m for help): d
No partition is defined yet!
Could not delete partition<PHONE_NUMBER>80401
Command (m for help): n
Partition type
p   primary (0 primary, 0 extended, 4 free)
e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-60566015, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-60566015, default 60566015):
Created a new partition 1 of type 'Linux' and of size 28.9 GiB.

The instructions say:
> d
(This command will delete the partition currently existing on the SD card.  If there are multiple partitions on the card, you will need to enter d more than once, deleting each successive partition with each entry until there are none remaining on the SD card.)

Got it. Thanks.

That looks good!

After pressing p i have to press 1.
I did it. And got.
Command (m for help): n
Partition type
p   primary (0 primary, 0 extended, 4 free)
e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-60566015, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-60566015, default 60566015):
Created a new partition 1 of type 'Linux' and of size 28.9 GiB.
Command (m for help): 1
1: unknown command
Command (m for help):
Command (m for help): v
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

should i just reboot?

sorry. I missed to go directly to step 21

should i just reboot?

Did you finish all the steps successfully, especially: sudo mke2fs -t ext4 /dev/sdb1 ?
( using /dev/sdc if need be )
If so, then you can reboot and run your 'crouton' install ocmmand again.

I tired it again and got
chronos@localhost / $ /dev/sdc sudo umount /dev/sdc
bash: /dev/sdc: Permission denied

I don't know why you're trying to 'unmount' it. If all the steps (9-17) were completed successfully then you're good to go, you should be able to continue on with step 20 and/or 21.

oh ok.

I tried the step again and got the same thing as i did at the start.
chronos@localhost / $ sudo sh -e ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive/
Downloading latest crouton installer...
######################################################################## 100.0%
/media/removable/USB Drive/chroots/trusty is not an ext filesystem.
chronos@localhost / $
chronos@localhost / $ sudo sh -e ~/Downloads/crouton -r trusty -t xfce -p /media/removable/USB\ Drive 2/
crouton [options] -t targets
crouton [options] -f backup_tarball
crouton [options] -d -f bootstrap_tarball
Constructs a chroot for running a more standard userspace alongside Chromium OS.
If run with -f, where the tarball is a backup previously made using edit-chroot,
the chroot is restored and relevant scripts installed.
If run with -d, a bootstrap tarball is created to speed up chroot creation in
the future. You can use bootstrap tarballs generated this way by passing them
to -f the next time you create a chroot with the same architecture and release.
crouton must be run as root unless -d is specified AND fakeroot is
installed AND /tmp is mounted exec and dev.
It is highly recommended to run this from a crosh shell (Ctrl+Alt+T), not VT2.
Options:
-a ARCH     The architecture to prepare a new chroot or bootstrap for.
Default: autodetected for the current chroot or system.
-b          Restore crouton scripts in PREFIX/bin, as required by the
chroots currently installed in PREFIX/chroots.
-d          Downloads the bootstrap tarball but does not prepare the chroot.
-e          Encrypt the chroot with ecryptfs using a passphrase.
If specified twice, prompt to change the encryption passphrase.
-f TARBALL  The bootstrap or backup tarball to use, or to download to (-d).
When using an existing tarball, -a and -r are ignored.
-k KEYFILE  File or directory to store the (encrypted) encryption keys in.
If unspecified, the keys will be stored in the chroot if doing a
first encryption, or auto-detected on existing chroots.
-m MIRROR   Mirror to use for bootstrapping and package installation.
Default depends on the release chosen.
Can only be specified during chroot creation and forced updates
(-u -u). After installation, the mirror can be modified using
the distribution's recommended way.
-M MIRROR2  A secondary mirror, often used for security updates.
Can only be specified alongside -m.
-n NAME     Name of the chroot. Default is the release name.
Cannot contain any slash (/).
-p PREFIX   The root directory in which to install the bin and chroot
subdirectories and data.
Default: /usr/local, with /usr/local/chroots linked to
/mnt/stateful_partition/crouton/chroots.
-P PROXY    Set an HTTP proxy for the chroot; effectively sets http_proxy.
Specify an empty string to remove a proxy when updating.
-r RELEASE  Name of the distribution release. Default: precise,
or auto-detected if upgrading a chroot and -n is specified.
Specify 'help' or 'list' to print out recognized releases.
-t TARGETS  Comma-separated list of environment targets to install.
Specify 'help' or 'list' to print out potential targets.
-T TARGETFILE  Path to a custom target definition file that gets applied to
the chroot as if it were a target in the crouton bundle.
-u          If the chroot exists, runs the preparation step again.
You can use this to install new targets or update old ones.
Passing this parameter twice will force an update even if the
specified release does not match the one already installed.
-V          Prints the version of the installer to stdout.
Be aware that dev mode is inherently insecure, even if you have a strong
password in your chroot! Anyone can simply switch VTs and gain root access
unless you've permanently assigned a Chromium OS root password. Encrypted
chroots require you to set a Chromium OS root password, but are still only as
secure as the passphrases you assign to them.
chronos@localhost / $

Something didn't work or complete successfully then.
Try running sudo fdisk -l again and let us know what it displays.

ok

chronos@localhost / $ sudo fdisk -l
Disk /dev/loop0: 3.1 GiB,<PHONE_NUMBER> bytes, 6586944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 14.9 GiB,<PHONE_NUMBER>4 bytes, 31277232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 45A73F95-F50F-014C-B28E-FA7ED0817A70
Device        Start      End  Sectors  Size Type
/dev/sda1<PHONE_NUMBER>5679 22573056 10.8G Microsoft basic data
/dev/sda2     20480    53247    32768   16M ChromeOS kernel
/dev/sda3  27049984 31244287  4194304    2G ChromeOS root fs
/dev/sda4     53248    86015    32768   16M ChromeOS kernel
/dev/sda5  22855680 27049983  4194304    2G ChromeOS root fs
/dev/sda6     16448    16448        1  512B ChromeOS kernel
/dev/sda7     16449    16449        1  512B ChromeOS root fs
/dev/sda8     86016   118783    32768   16M Microsoft basic data
/dev/sda9     16450    16450        1  512B ChromeOS reserved
/dev/sda10    16451    16451        1  512B ChromeOS reserved
/dev/sda11       64    16447    16384    8M unknown
/dev/sda12   249856   282623    32768   16M EFI System
Partition table entries are not in disk order.
Disk /dev/mapper/encstateful: 3.1 GiB,<PHONE_NUMBER> bytes, 6586944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdc: 28.9 GiB,<PHONE_NUMBER>2 bytes, 60566016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf12f7589
Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1        2048 60566015 60563968 28.9G 83 Linux
chronos@localhost / $

Okay, drive /dev/sdc1 looks like a Linux partiton.
Did you successfully perform steps 12 & 13 on it or did you not get it 'unmounted' earlier?

I think that i performed them. Should i just do them again?

It couldn't hurt, just make sure it's 'ejected' in the 'File' manager and that it's unmounted first before you try - and that you use /dev/sdc1 instead of /dev/sdb1.

Got it. Thanks

I pressed the eject button on file manager. I did step 12 and got this output.
chronos@localhost / $ sudo umount /dev/sdc1
umount: /dev/sdc1: not mounted
chronos@localhost / $

Is the output good or bad?

If you ejected it in the file manager that 'unmounted' it so you can do steps 12 & 13 now.

ok thanks. ill do step 13 now.

Yeah, sorry, just step 13.

I did step 13 and got this.
chronos@localhost / $ sudo mke2fs -t ext4 /dev/sdc1
mke2fs 1.42.12 (29-Aug-2014)
/dev/sdc1 contains a ext4 file system
last mounted on Sun Aug 30 10:40:06 2015
Proceed anyway? (y,n)
Do i choose yes?

It wouldn't hurt to say 'y' or yes...

ok

Once that's done, unplug it and then plug it in again and see what 'name' it's given.

I pressed y and got this
chronos@localhost / $ sudo mke2fs -t ext4 /dev/sdc1
mke2fs 1.42.12 (29-Aug-2014)
/dev/sdc1 contains a ext4 file system
last mounted on Sun Aug 30 10:40:06 2015
Proceed anyway? (y,n) y
Creating filesystem with 7569408 4k blocks and 1896048 inodes
Filesystem UUID: f7fb2a9c-f3f1-4aa5-9d8b-efdc24629b16
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

ok thanks

ill unplug right now

I plugged it in and a pop up stated that it couldent recognize my usb. I opened file manager and my usb is called USB Drive 1. It is blank. There is an option to "format device".

oh it also says that the device cannot be opened because the filesystem was not recognized. It says this in filesystem.

should i do step 14 and mount it

Don't format it, see what it displays when you enter: ls -l /media/removable/USB\ Drive\ 1

i go this
chronos@localhost / $ ls -l /media/removable/USB\ Drive\ 1
total 0

It seems to be mounted, enter: mount|grep sdc

I did and got this
chronos@localhost / $ mount|grep sdc
chronos@localhost / $

It may not be mounted, try rebooting and then run the mount command again: mount|grep sdc

ok. it may take a while to reboot. Do i eject my usb prior to rebooting?

Just leave it in...

ok thanks

I got the sam output.
Welcome to crosh, the Chrome OS developer shell.
If you got here by mistake, don't panic!  Just close this tab and carry on.
Type 'help' for a list of commands.
crosh> shell
chronos@localhost / $ mount|grep sdc
chronos@localhost / $

This is really not the place to troubleshoot this problem in real-time. Do you have access to the #crouton IRC channel on freenode.net? That'd be a better place to continue this, we might be able to recruit more help there too.

i dont have access

do i make an account?

Yup.

Once you have an account, enter: /join #crouton

I went to the site and i don't see a place to make an account.

i made an account in their webchat

https://github.com/dnschneid/crouton/issues/2052#issuecomment-136176648

the link takes me to this same blog

Yes, it does. In your webchat on freenode.net enter the #crouton channel.

ok. I made a username and typed #crouton channel under channels. It took me to a chat room

there doesnt appear to be anyone chatting there

I'm there as 'DennisL' - and attempting to chat with you.


KESimulation needs some operators on TimeSeries to manipulate the data for plotting

The DSL needs some wrap-in functions to manipulating the simulation output (TimeSeries) before plotting.
For example: sum, log, sqrt, etc.
An example which can be executed with the old version:
Visualization MosquitoViz diagram
	for: MosquitoSim;
	data: $(I sqrt);
	xLabel: 'Time (days)';
	yLabel: 'sqrt(I by species)'.

the data will be collected from the output of simulation for all I by species, the sqrt will be applied on each timeseries before plotting all I by species (so if we have 3 species, we will have 3 curves).
I think we need some basic operators provided for the simulation results so that the DSL can use them.

I see that the two affected classes of the DSL-Internal tag are simulation and visualization.
More precisely,

In the simulation class, theexportTimeSeriesOutputsAt: anIdentifier method allows us to export timeseries resulting from the simulation.
In the visualization method, the data: anArray method lists a number of functions defined in a collection.

I may give the impression of creating a repetition.
Is the idea to implement the functions sqrt, log, etc so that we can manipulate them with the timeseries produced during the simulations.


npz form datasets

Hi! Is there any chance that you could release the processed npz files?
I used your public checkpoint and the released code to run test, and it turns out that there is still some mismatch between my results and the results from paper

Hello, could you please tell me how to download the videos? Maybe I can run some tests for you after that. Thank you.

i didn't. i used the code in the project to convert the mp4 into npz

Have u trained with the npz now? I trained with npz but with ~5% drop.

I think such minor decay on MAE and OBO doesn't matter. Different CUDA, pytorch or even hardware may cause the mismatch


Autoscale in batches

This PR allows for the system to react more aggressively when there are backlogs on the applications. It will start more than one AppServer each duty cycle.

OCD run https://ocd.appscale.com:8080/job/Daily Build/2619/ this was before merging master.


Add commands confirmation message

for interrupting commands, ask first

Please not the patch command ... its used in some development flows and always a yes/no confirmation would slow that down.

Please not the patch command ... its used in some development flows and always a yes/no confirmation would slow that down.

found only the 99updateMenu.sh file who would use the command. Should we change the first parameter from "" to "all" if called from there? Than in _commands.sh we could just check for "" and then print the confirmation message.

Than in _commands.sh we could just check for "" and then print the confirmation message.

Yeah that can be a good compromise. If there this no parameter it wants a confirmation. If there is a second paramter (all, code, ...) it will assume the user knows already and there will be no Y/N to not interrupt workflows.


Frontend: Landing page container pagination and sorting

Description
Landing page as requested for this PR should only deal with pagination.
This PR was created to develop the Landing Page container and pagination.
Fixes #33
How to test?
npm run dev
Check if pagination is working as it should.
Checklist

[x] I have performed a self-review of my own code
[x] I have followed the name conventions for CSS Classnames and filenames, Components names and filenames, Style filenames, if you are in doubt check the the project README.MD and here https://github.com/HackYourFuture-CPH/curriculum/blob/master/review/review-checklist.md
[x] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[x] I have made corresponding changes to the documentation, if you code was simple enough mark the box anyway
[x] This PR is ready to be merged and not breaking any other functionality

Might I suggest changing the title of the PR and the merge message to something like:
Update LandingPage pagination


Feature request: Add support for corporate proxies (e.g. in the git PipelineResource)

Hi,
I'm testing Tekton pipelines in OpenShift4 (OKD4) behind our corporate proxy.
Today I stumbled over Tekton not respecting HTTPS_PROXY environment variables while cloning git repositories in the git PipelineResources.
I'm not able to clone anything.
It would be great If we could define the common proxy env variables in a suited location (maybe as a secret or as environment variables in the Pipeline CR).
Typically the variables are:

HTTPS_PROXY
HTTP_PROXY
https_proxy
http_proxy
NO_PROXY
no_proxy

Go code should be aware of proxy env variables.
This feature request would make Tekton more suitable for enterprise environments where proxies arent unusual.
Thanks and greetings,
Josef

/kind feature

As @ImJasonH mentioned in slack, we should probably have the ability to set arbitrary variables, since there's also many more environment variables someone may want to set (in particular, I find that GIT_CURL_VERBOSE is a very useful tool for finding out why you might be getting permission denied when cloning).

Related #1476 #1328 #1294 #1606

@ImJasonH I notice you added this to the 0.10 milestone but we're trying to make sure we're really sparing about what we add to the milsetone so I'm gonna remove it for now but lemme know if you strongly disagree!

@bobcatfish
Without support for corporate proxies, Tekton will be unusable in lots of corporate environments.

Strong +1 on this too...

+1 . Same problem.


Add Runtime templating

Add runtime templating
Fix #158
This pull request is a third attempt to introduce runtime templating.
Some refactoring was needed to avoid templating unwanted information such as changelog containing mustache syntax.
On top of https://github.com/updatecli/updatecli/pull/242
I modified the pipeline template function to only fetch information from the configuration
I introduce the context template function to retrieve context information such as stage Result
I introduce the source template to quicky retrieve a source result
conditions:
  stabledockerImage:
    name: 'Is docker image jenkins/jenkins:{{ source "stable" }} published?'
    kind: dockerImage
    sourceID: stable
    spec:
      image: jenkins/jenkins
      tag: '{{ source "stable" }}-jdk11'
  weeklydockerImage:
    name: 'Is docker image tag{{ context "Sources.weekly.Output" }} published?'
    kind: dockerImage
    sourceID: weekly
    spec:
      image: jenkins/jenkins
      tag: '{{ context "Sources.weekly.Output" }}-jdk11'

Test
To test this pull request, you can run the following commands:
  make test-short
  export GITHUB_TOKEN=xxx
  go build -o bin/updatecli
  ./bin/updatecli diff --config examples/updateCli.generic/runtimeTemplating.tpl --values  examples/values.yaml

Additionnal Information
Tradeoff

Potential improvement
Additional refactoring is needed for the engine package
Additional tests are needed for the engine package

After back and forth thinking, I am removing the go template function pipeline.

pipeline is a bit too dangerous as it creates a strong binding between the data structure context used inside updatecli and upatecli configuration.
pipeline is now redundant with the basic templating feature as we don't anymore modify the configuration at runtime.

For now, I'll just document the source function template  as it solves the initial need which was being able to reuse source output in other configuration


Feature Request: if propertyPath does not already exist, do not create it

Hey!
I wanted to ask for a simple feature that can help us a lot - "Update only" instead of "Update and create if property does not exist".
Right now, if propertyPath does not actually exist, this action will create the propery (and it's entire path!) with the new value. I want to be able to fail this action if the propery does not exist.

Hey, I will have a look on it.

Thank you! this is awesome


chore(pingcap/tidb): update a new ut canary job pod yaml

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Cortex is now in incubation.

Update projects to show Cortex in incubation.
Thanks!
Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 348ef01b2fb3230a0fff951c27d85091b05b508f
https://deploy-preview-1825--landscape.netlify.app

LGTM


Unable to provide multiple zookeeper host via spring.config.import property

We have a case where we need to provide multiple ip addresses to spring cloud zookeeper (one for each node in the cluster)
We tried to use spring.config.import=zookeeper:ip1:2181,ip2:2181,ip3:2181 Spring Boot fails to start with an error stating
that ip3:2181 can't be loaded.
It is easily verified by creating the minimal spring boot application when spring cloud config zookeeper and add the following property
spring.config.import=zookeeper:localhost:2181,localhost:2181
Do we need to use another syntax to provide the list of ip addresses to Spring Cloud Config ZooKeeper?

Might found a solution, we probably did not read or understood the documentation..
It looks to work if we set spring.cloud.zookeeper.connect-string=ip1:2181,ip2:2181,ip3:2181
and then use spring.config.import=zookeeper: (without ip addresses)


Ideas for IdP V5 Installer

upgrade to v5 occur on the v4 instance as recommended by Shibboleth. To do this we could add a new option to the v4 installer to kickstart the v5 upgrade.
having some config that we recommend the end user not update, allowing us to update ourselves in the future as required, e.g the attribute filter for eduGAIN.
Will also enable the metadata driven configuration option, minor change to the relying-party.xml file.
This will also be an opportunity to cleanup some of the scripts in the attribute resolver, add the new persistent identifiers and change the value for eduPersonAssurance. Some of these may make it into the v4 version.
Need to work out what to do with the eduPersonTargetedID attribute, as it has been deprecated for a long while and it generated a DEPRECATED warning.

WARN [DEPRECATED:128] - xsi:type 'SAML2NameID', (file [/opt/shibboleth/shibboleth-idp/shibboleth-idp-4.3.1/conf/attribute-resolver.xml]): This will be removed in the next major version of this software; replacement is (none)

Remove support of older versions of OSs

Support for older OSs has been removed.


Fix lookup class from params for non standart model names

I have found bug, when my model is called Users, so when i go to /admin/users, I have exception.

ok, thx


Render shadow map from sun

Some inspiration:
http://learnopengl.com/#!Advanced-Lighting/Shadows/Shadow-Mapping

Merged to master with #104


mts.v1.InputChannel websocket error code: 1013

use nodejs sdk error
{"privResultId":"5B2ADF0F28414C68A3F3395D5E00A2FB","privReason":1,"privErrorDetails":"Status(StatusCode="ResourceExhausted", Detail="the duration of the data sent in `mts.v1.InputChannel websocket error code: 1013","privProperties":{"privKeys":["CancellationErrorCode"],"privValues":["ConnectionFailure"]}}

Hi, is your use case the same as in https://learn.microsoft.com/answers/questions/1055465/text-to-speech-service-return-error-code-1013 ? If not then please add more information about what you are trying to do, not just the error message.

Closed as presumed the same as an older case that's been answered, please open a new issue if more support is needed.


⚠ ClamAV has degraded performance

In d358a38, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 98 ms

Resolved: ClamAV performance has improved in 1cec65f.


Does not build with github.com/btcsuite/btcd/btcutil/psbt v1.1.8

Hi. I need to use go-elements with the recent LND build. It uses psbt v1.1.8. Your last release requires psbt v1.1.4.
I get errors like this:
./../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:112:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:126:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:158:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:164:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:177:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:186:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:220:17: undefined: psbt.ErrInvalidKeydata
../../../../pkg/mod/github.com/vulpemventures/go-elements@v0.4.0/pset/pset_input.go:230:17: undefined: psbt.ErrInvalidKeydata

The reason psbt.ErrInvalidKeydata becomes undefined is because in the new psbt.go it is called ErrInvalidKeyData (capital D).
Will it take long to fix, or should I fork and PM to master?

Also, master branch does not pass functional tests.
My understanding you don't need to do either (forking or waiting for us)
Simply in your project go get the right PSBT go package and/or use your own go.mod to "replace" all the instances of btcd to use your own version, not the one that go-elements imports


New version: Microsoft.PowerBI version 2.100.684.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

hmm


Update target-lexicon to 0.12.0

Checklist

[x] I have read the Contributor Guide
[x] I have read and agree to the Code of Conduct
[x] I have added a description of my changes and why I'd like them included in the section below

Description of Changes
Update target-lexicon to 0.12.0 to help with fedora packaging
Related Issues
List related issues here

Thanks!


add webview for desktops

https://github.com/MixinNetwork/flutter-plugins/blob/main/packages/desktop_webview_window/example/lib/main.dart


Kanban boards

For this issue

I have only one partner for this week so I deleted all cards C related to this project. My partner is a collaborator on this repository.
https://github.com/Otegaa/JS-Capstone-project/projects/2
My name is Ekiugbo Blessing and my partner's name is Mucha Julius Naibei
The project link is https://github.com/Otegaa/JS-Capstone-project.git.

Status: Approved :heavy_check_mark:
Hi @team, 👋 👋
Your project is complete! Great job for following the project requirement🥇. There is nothing else to say other than... it's time to merge it 🍾🚢 :shipit: . Congratulations!  🎉💯🌟

To Highlight 👍

Kanban  properly Set up ✔
Task Equally assigned to member :heavy_check_mark:

Optional changes
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers..Happy coding!..and keep soaring higher! 💻 🍷 🚀
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @brainconnect93 in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have 2 more limited reviews per this project. If you think that the code review was not fair, you can request a second opinion using this form.


Feature Request: Search scope

it would be great that adding a switch for "find & replace layer names" feature like
□ whole document
□ current page
□ selected layer

That's a good idea! I will add to the backlog.


how to add a custom navigation bar with a leftbutton and multiple right buttons

Version
Tell us which versions you are using:

react-native-router-flux v4.0.0-beta.14 (v3 is not supported)
react-native v0.46.4

You may pass navBar property and render whatever you want for whole nav bar. Or you could pass left /right to render left/right Buttons

can we pass 2 images in navBar property for 2 right buttons

this is my code :
how can I add 2 right buttons to this or how can I use a custom navBar instead
`import React from 'react';
import { Scene, Router } from 'react-native-router-flux';
import mainScreen from './components/mainScreen';
import challengeScreen from './components/challengeScreen';
const RouterComponent = () => {
return (

<Scene
key="screen2" component={challengeScreen} navTransparent={1}
leftButtonImage={require('./components/Images/bg_inner.png')} headerTintColor="white"
/>

);
};
export default RouterComponent;
`

There is no such option. You may submit PR to support it, like passing right as array for buttons. But it is better just to put two button inside right

how can we use navBar property to add multiple buttons

hey I sorted out that issue,
In my Router.js file, I created a navBar property and gave it my NavBar.js file to it like navBar={NavBar} and inside my NavBar.js file I  have customized the buttons that I needed on both left and right sides
hope this might help someone
and thanks @aksonov

Hi, I am Ito,

Refer this: https://stackoverflow.com/questions/42479184/customizing-default-navigation-bar-of-react-native-router-flux/45372828#45372828

@adarshTS I tried something similar but the navigation bar would not render.  Did you do something special in the Router.js to get the custom navbar to render?

@wkwyatt I did this :  <Scene      key="screen2" component={challengeScreen} navTransparent={1}      navBar={NavBar}        /> in the Router.js file where NavBar is the custom navbar that I created and don't forget to import import NavBar from './components/NavBar';

Thanks 👍🏽 I got it working!
On Mar 2, 2018 11:33 PM, "Adarsh Sreeram"<EMAIL_ADDRESS>wrote:

@wkwyatt https://github.com/wkwyatt I did this :  in the
Router.js file where NavBar is the custom navbar that I created and don't
forget to import import NavBar from './components/NavBar';
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aksonov/react-native-router-flux/issues/2125#issuecomment-370117194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMvu5J1ffyV37hFA1hB1mEW9isbUp0Tlks5tah0HgaJpZM4OlIsE
.

V4, I just put my two buttons in a View and applied flexDirection row style on them and that worked for me.
let navButtons = <View style={{flexDirection: "row"}}>         <Button icon transparent onPress={this.search}>           <Icon name="search"></Icon>         </Button>         <Button icon transparent onPress={this.showCart}>           <Icon name="cart"></Icon>         </Button>       </View>


Update runner to accept white spaces in path.

This is to fix issues when using checkouts with paths including whitespaces.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] I followed the breaking change policy and added Data Driven Fixes where supported.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@godofredoc I think we agreed we would punt on this?

@godofredoc I'm going to close this as I believe we agreed to give up on this. If I'm mistaken, feel free to re-open.


Cannot properly declare module for docx files

Environment

Operating System: Linux
Node Version:     v18.17.1
Nuxt Version:     3.7.0
CLI Version:      3.7.2
Nitro Version:    2.6.2
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      ssr, devtools, imports, modules, css, svgo, i18n, headlessui, components, extends, runtimeConfig, linkChecker, googleFonts, build, vite, nitro, app, auth
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Reproduction link - https://stackblitz.com/edit/github-7ztwvf?file=app.vue
Describe the bug
Hello!
I'm having a hard time trying to declare module for docx imports.
I'm importing my file like this (in script setup)
import PrivacyPolicyUrl from '~/assets/docs/polityka.docx'

The TypeScript error on that line is Cannot find module '~/assets/docs/polityka.docx' or its corresponding type declarations.
So I try to provide module declaration in index.d.ts in multiple ways:
1.
declare module '*.docx' {
  const docxUrl: string
  export = docxUrl
}

declare module '*.docx' {
  const docxUrl: string
  export default docxUrl
}

declare module '~/assets/docs/polityka.docx' {
  const docxUrl: string
  export = docxUrl
}

declare module '~/assets/docs/polityka.docx' {
  const docxUrl: string
  export default docxUrl
}

Non of the above works, I still get the same typescript error.
I can't just put my docx in public folder because my assets are served by django and nuxt needs to copy all assets to /static/_nuxt/ directory to make it happen. I'm using following nuxt.config entries for that:
  vite: {
    assetsInclude: [/\.docx/],
  },
 app: {
    buildAssetsDir: '/static/_nuxt/',
  },

Any help is highly appreciated
Additional context
No response
Logs
No response

For a shim, you should not be operating in a TS context so you should just remove the export {}:
  declare module '*.docx' {
    const docxUrl: string;
    export default docxUrl;
  }

- export {};

Thank you for your answer. I've realized that this issue was caused by other problems in my index.d.ts (I had top level imports and ts didn't like that at all). So I fixed it but I've stumbled on another issue.
The export in index.d.ts came from this documentation section https://nuxt.com/docs/guide/going-further/runtime-config#manually-typing-runtime-config. It says It is always important to ensure you import/export something when augmenting a type so is the documentation wrong?
Please run typecheck at updated reproduction link - https://stackblitz.com/edit/github-7ztwvf?file=index.d.ts
When there is no export {} typescript emits errors about nuxt.config and public runtime config. When I add it back, the issue with docx returns.
Thanks for help and very quick response :heart:

There are two kinds of declaration files you can write. You can augment which requires the export {}. Or you can totally overwrite (which is what you need with the docx declaration). They can't happen in the same file. So you may need to create a separate shims.d.ts file for the docx declaration.

Thanks a lot. The d.ts files always were a little bit of mistery for me. Now it's all clear.
Sorry for wasting your time for such basic issues, I tried to reach out to community (discord) with this but couldn't get any anwser.
Have a great day!

Glad to help 😊