get and post method for logged in user

lint is :1 (that is empty folder)
coverage is :85

Please take the latest dev branch and the raise the merge


VC font not working if I add custom subviews

Essentially if I am creating a pageView and adding  custom button (Facebook or twitter login) as a subview the fonts don't work anymore. They all still work fine on the other screens.
Here is code for ref:
OnboardingContentViewController *secondPage = [OnboardingContentViewController contentWithTitle:@"Who are you?" body:@"Let's get your account info setup first." image:[UIImage imageNamed:@"red"] buttonText:nil action:^{
}];
secondPage.underTitlePadding = 70.0;

FBSDKLoginButton *facebookLoginButton = [[FBSDKLoginButton alloc] init];
facebookLoginButton.frame = CGRectMake(secondPage.view.center.x - 100, secondPage.view.center.y + 200, 200.0, 30.0);
[secondPage.view addSubview:facebookLoginButton];

TWTRLogInButton* twitterLoginButton = [TWTRLogInButton buttonWithLogInCompletion:^(TWTRSession* session, NSError* error) {
    if (session) {
        NSLog(@"signed in as %@", [session userName]);
    } else {
        NSLog(@"error: %@", [error localizedDescription]);
    }
}];
twitterLoginButton.frame = CGRectMake(facebookLoginButton.frame.origin.x, facebookLoginButton.frame.origin.y + 50, 200.0, 30.0);
[secondPage.view addSubview:twitterLoginButton];

What do you mean by the fonts don't work anymore? The font on your custom buttons, or on the existing labels?

Essentialy if I set th font for the whole on boarding VC process it works fine until I do the above code for that view. I worked around it by manually setting the fonts for that screen. It just seems to be defaulting back to your fonts if there are any extra subview.

Give it a try with v2.2.0 and let me know if the problem persists.


BUG Nomalise boolean ORM filter in to 1/0

I honestly don't know if this is a good idea. The parent issue is probably not worth fixing on it's own, but it does highlight that we don't currently have a good way to normalise filter values to specific DBField/DB-Drivers.
Parent issue

Fixes https://github.com/silverstripe/silverstripe-postgresql/issues/124

Silverstripe should have an ORM-wide set of type normalisation rules rather than backend-specific ones. So we need to normalise stuff the lowest common denominator, which means using an int to store Boolean values.


Add pencil buttons to ticket view for easier assignment and priority …

…setting

Right now the buttons just jump down to the bottom section, which isn't very modern (modern web design would make the field transform into an editable one) but I actually find it to be good, because then you're down right next to the submit button when preforming a quick change.

Fixes  https://github.com/django-helpdesk/django-helpdesk/issues/677 I guess.

Codecov Report

Merging #705 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #705   +/-   ##
========================================
  Coverage    69.39%   69.39%
========================================
  Files           42       42
  Lines         4061     4061
  Branches       497      497
========================================
  Hits          2818     2818
  Misses        1100     1100
  Partials       143      143

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 7699c48...c33d6d2. Read the comment docs.


How to generate only index.d.ts without bundle files?

How can I generator the index.d.ts file without a bundle file?
For example,
nanobundle build --generate-dts dist/index.d.ts

What is the use case? Is it instead of the dev command?

It is possible with the typescript module.
But I also want to do it with the nanobundle command
tsc -p ./tsconfig.json --watch --declaration --allowJs --emitDeclarationOnly

You can use --no-bundle flag in v1.2.0, but probably better to wait #49


Open access to functions in "Job Planning Line" table

table 1003 "Job Planning Line"

Please consider changing access modifier from local to (at least) protected for the following functions:
local procedure ValidateModification(FieldChanged: Boolean)
local procedure UpdateAllAmounts()

As a bonus, for these functions as well:
local procedure FindPriceAndDiscount(CalledByFieldNo: Integer)
local procedure UpdateAmountsAndDiscounts()

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10652.


[Question] - Best practice to run weed volume servers on production

Hi,
I want to setup new weed cluster for production but I have some question about it:

I have multiple server with at least 10 spinning disk on them , I want to make them volume servers but I'm looking for best practices, I read the wiki that I can run weed volume servers in two way:
First: add all disks to one weed service:
 weed volume -mserver=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -ip=xxx.xxx.xxx.xxx -dir=/data/seaweedfs/volume1,/data/seaweedfs/volume2,/data/seaweedfs/volume3 -max=0,0,0
Second: add multiple service for each disk in one new port:
weed volume -mserver=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -dir=/data/seaweedfs/volume1 -ip=xxx.xxx.xxx.xxx -max=0 -port=8081 weed volume -mserver=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -dir=/data/seaweedfs/volume2 -ip=xxx.xxx.xxx.xxx -max=0 -port=8082 weed volume -mserver=ip1:9333,ip2:9333,ip3:9333 -dataCenter=dc1 -rack=rack1 -dir=/data/seaweedfs/volume3 -ip=xxx.xxx.xxx.xxx -max=0 -port=8083
Now a question comes in mind: If I run weed through second way , and I define replication 001, can weed understand that all this services are in one server and it shouldn't put replicas on them?

with second way that I mentioned above , because weed is binding disks on different port (it is getting full I/O isolation) , would it work better?

No. Maybe use 010 instead.
This is related to hardware and can not tell here.

Thanks @chrislusf

2. This is related to hardware and can not tell here.

I think this is related to software not hardware, I asked this because we have this problem in openstack swift , would you please look at this link:

Can not tell. The bottleneck can be network, cpu, memory, number of requests, file size, and disk.

Can not tell. The bottleneck can be network, cpu, memory, number of requests, file size, and disk.

yeah but I'm considering all bottlenecks,
Can you tell me about just this issue? Is it worth to configure weed volume servers like second way?

If I want to configure weed volume servers like second way:
All services that runs with different ports in one server should be on the same rack tag e.g: " -rack=rack1" and I should run it with raplica 010 ? Am I true?


Update thinking-in-react.md

Just as a hint: https://github.com/reactjs/de.react.dev/issues/26
Please change the text to 'du'

Accepted your changes, did miss some of the things which should have been obvious. Thanks for reviewing!

Is there anything left from my side to do?

@ameetmadan thanks for the reminder, no everything looked good as far as i could say.


BrowserStack tunnel not launching automatically

I'm just getting started with using Karma & BrowserStack together, and I'm not able to get my tests to run with the default setup.  I did the standard npm install, and added the following config:
    browserStack: {
      username: '********',
      accessKey: '*********'
      // startTunnel: false
    },

    customLaunchers: {
      browserstack_safari_mac: {
        base: "BrowserStack",
        browser: "safari",
        browser_version: "8.0",
        os: "OS X",
        os_version: "Yosemite"
      }
    },

    browsers: [
      "browserstack_safari_mac"
    ]

The first time I ran, it said it couldn't find the BrowserStack binary, so it downloaded it.  Sure, fine.  But, so long as I leave the startTunnel line commented out, I get the following error:
INFO [karma]: Karma v0.12.31 server started at http://localhost:9876/
INFO [launcher]: Starting browser safari 8.0 (OS X Yosemite) on BrowserStack
ERROR [launcher.browserstack]: Can not start safari 8.0 (OS X Yosemite)
  Error: getaddrinfo ENOTFOUND

If I change the startTunnel setting and manually run the BrowserStackLocal app, everything seems to work fine.

is this an error with browserstacktunnel?  seems like a fix for this needs to go there?

The problem seems to be that there's a slight delay between then the tunnel process is finished launching and when the tunnel is actually set up and ready to do work.  One could make an argument for having it in either package, I suppose, but I thought it made sense to be here since it was this package which needed to hold off on further action.

I came across this (very old) thread because I had a similar issue (I believe this issue can be closed). The tunnel when using startTunnel wasn't working, but when I started the tunnel manually and provided a localIdentifier it worked.
The gotcha (I'm on Mac) is that if you are using startTunnel: true, either you need to close your local BrowserStackLocal instance, or you must also set localIdentifier in your config (it can be anything).
The symptoms I hit was similar except browserstack would connect, a session would start, the local browserstack connection would start, but browserstack wouldn't find the page.


SCSS being compiled into dist/common/assets/stylesheets

I am putting my .scss files into app/common/assets/stylesheets, instead of compiling the scss into dist/app/common/assets/stylesheets the stylesheets are being compiled to dist/common/assets/stylesheets. Am I not following the correct directory convention for this or is this an issue?

I just made a <link> in layout.html for /common/assets/stylesheets/application.css and am just importing all my scss files into application.scss. Will this cause any problems down the line?

You should be fine – the contents of dist/ are just a regular HTML app folder structure, so it doesn't really matter where everything is as long as the references are correct. It's bug though that it's not being compiled to the same directory as the default <link> tag references. Code responsible is here https://github.com/AppGyver/grunt-steroids/blob/master/tasks/steroids-compile-sass.coffee – pull requests are welcome!

Thank you for verifying that this is ok to do! I will definitely look into a fix for this and making a pr if/when I come upon a solution!


Azure Service Bus access Via Spark Structured Streaming

[ Azure Service Bus Via Spark Structured Streaming]
HiTeam,

I am trying to integrate Azure Service Bus queues Via Spark Structured Streaming API
import org.apache.spark.eventhubs.{ ConnectionStringBuilder, EventHubsConf, EventPosition }
I am using azure-eventhubs-spark_2.11-2.3.17,azure-servicebus-3.4.0,azure-eventhubs-3.2.0
val connectionString = ConnectionStringBuilder("Endpoint=sb://xyz-servicebus.servicebus.windows.net/;SharedAccessKeyName=tap-listener-temp;SharedAccessKey=xyz0=;EntityPath=xyz-temp").setNamespaceName("xyz-temp").build
val eventHubsConf = EventHubsConf(connectionString)
.setStartingPosition(EventPosition.fromEndOfStream)
var streamingInputDF =
spark.readStream
.format("eventhubs")
.options(eventHubsConf.toMap)
.load()
import org.apache.spark.sql.streaming.Trigger.ProcessingTime
val query =
streamingInputDF
.writeStream
.format("console")
//.trigger(ProcessingTime("25 seconds"))
.start()

Could someone clarify me ,whether Azure Service Bus queues cab be accessed using this API or not? Please Suggest the relevant doc

@premsagarreddy Thanks for reaching out to us. GitHub forum is primarily to support the queries/issues related to Microsoft documents/articles. Could you please provide any links that you are referring to?
Or else, if this is basically a technical ask, I would recommend you to post these queries on Microsoft Q&A or Stack Overflow. Doing this on the forums allows us to help out other people who may have the same questions as you.

@AnuragSharma-MSFT Please find the links which I was referring to https://github.com/Azure/azure-event-hubs-spark/tree/90d70928d9c738923afe5d08557e0a61c9c7188d

@premsagarreddy Thanks for reverting back. As mentioned this is a technical solution we are looking for.
This issue is well suited on the forums above. Please post it there and appropriate resources would be able to help.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Repository not participating in Hacktoberfest

Problem
You marked issues with Hacktoberfest label, but there was an event update introducing new rules, so every new PR doesn't count until you follow those instructions.
Solution
If you want take a look on new rules and adjust repository settings.

Hey @burzynnn, some recent spam PRs during Hacktoberfest 2020 resulted in change of rules in Hacktoberfest. Thanks for letting me know. Actually, this is my first time in hacktoberfest. I'll make changes in repository as per latest rules of hacktoberfest, if I do something wrong please let me know.

I made the changes

[x] Added hacktoberfest topic to project repo
[x] Labelled the merged PRs as hacktoberfest-accepted

Is their anything that I'm missing?

Everything is fine. I think you can close the issue.

Thanks @burzynnn


useRowSelect does not integrate with controlled usePagination

Using v7
Thank you for this awesome library and on working tirelessly to solve problems in v7.
Describe the bug
The following issue was reported by @powah on v7 ideas and feedback. I am opening a new issue for it.
"Looks like it's not possible to use useRowSelect together with server-side (manual) pagination because data, in that case, is only the current page and you get same row indexes (paths) for all pages so if you go to the next page - same row indices are incorrectly preselected."

Yes, as I mentioned there, we could do a few things about this:

Add a custom row index override like row.__index so anything using the index could be manually mapped to a server row's index.
Add or document a state reducer that resets expansions when pagination occurs, then let the user map the selected row state back to their server manually

I am actually leaning towards the latter. It's more flexible, and fits the edge case a bit better.

This is what worked for me: (Id vs ID + memoization)
getRowId: React.useCallback(row => {
    return row.id
}, []),

In which version it should works?
https://codesandbox.io/s/romantic-dawn-ii7zqq?file=/src/App.js
added
getRowId: React.useCallback(row => row.id, []),

but it anyway  reset "Select all" status  after page switch


Move Frequency Tracking fails for token-actors, while working for linked-token actors.

Move Frequency Tracking fails for token-actors, while working for linked-token actors.

Fixed in patch https://github.com/caffyn/PTUMoveMaster/commit/986e8cf1e926e9bffbefb57e9d4848fcc54316b0 .


Make sure lfs will only support relative path

Fix https://github.com/go-gitea/gitea/pull/23371#discussion_r1133831194

How about revert #23371 and propose new complete fixes?

closed as #23493


refactor toUpper for length

What does this pull request do?
refactor the toUpper method to be more concise
How do I test this?
Test by running
    npm test

Additional Comments / Context

Coverage remained the same at 100.0% when pulling 76855b12474f8c5e0dc7802a59b8abd00eef4179 on feature/to-upper into 71fa49f690bb8f6b8148a19814bf21fd6a330b6a on develop.


Derive Debug on Symbol

Coverage remained the same at 0.0% when pulling 0d385a151afe38c02fc12380552a13c1511a903f on jrmuizel:debug into e24a37e74ef83c62f9f30624c126d50bc16050c1 on gimli-rs:master.


[LIBCLOUD-996] Support GCP service_account authentication from JSON obj/str

Support GCP service_account authentication from JSON obj/str
Description
Currently GCP service_account authentication credentials can be provided using the JSON/PEM file acquired from GCP console or gcloud utility. It would be convenient if the JSON content could be directly provided as an object or serialized JSON string to eliminate the need of having the file locally on the calling host.
In this PR:

add logic to support JSON dict and str handling
rearrange PEM/JSON related GCE_PARAMS_* constant names in test_google.py for better clarity
add tests for JSON content as a dict and as a str

Status

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[x] Documentation
[x] Tests
[ ] ICLA (required for bigger changes)

Codecov Report

Merging #1214 into trunk will decrease coverage by 0.01%.
The diff coverage is 35.89%.

@@            Coverage Diff            @@
##            trunk   #1214      +/-   ##
=========================================
- Coverage   86.21%   86.2%   -0.02%
=========================================
  Files         348     348
  Lines       67381   67400      +19
  Branches     5963    5965       +2
=========================================
+ Hits        58095   58103       +8
- Misses       6853    6865      +12
+ Partials     2433    2432       -1

Impacted Files
Coverage Δ

libcloud/common/google.py
60.35% <0%> (-1.66%)
:arrow_down:

libcloud/test/common/test_google.py
92.59% <73.68%> (-1.83%)
:arrow_down:

libcloud/test/compute/test_upcloud.py
91.39% <0%> (+1.32%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for the contribution.
This looks like a reasonable enough change to me. @bverschueren can you please update documentation for the GCE drivers to also document this authentication option?

And ideally we would also have some more robust test which also verify that the actual used / parsed key value is correct.

@Kami: rebased and updated the docs with this authentication option.
Also added a more thorough verification of the PEM key and a test with a non-valid key. For the tests to succeed, this requires however that the test key is a valid one, so I borrowed the test key from the cryptography lib (https://github.com/pyca/cryptography/blob/3ce8883fd62043419b225790cd524b7619b4bb72/vectors/cryptography_vectors/asymmetric/PKCS8/unenc-rsa-pkcs8.pem).

@bverschueren I'm sorry for a (very long) delay.
I'm cleaning up old issues and PRs and I noticed that this one never made it in.
I synced it with the latest trunk, re-formatted code with black, made a small change, added some additional test cases for edge case scenarios and merged it into trunk.
Thanks again for your contribution.


Problem: workflow stops if one sample doesn't meet fast_pe requirements

If the quality of one sample does not meet the required phred score, the fast_pe is empty and the workflow stops. This should be fixed, so that the workflow is still working, even if one sample can't be taken into account.

The problem does not lie in the fatsp_pe rule, but in the clip_primer rule in read_clipping.smk. The output fastq.gz files are empty and the rule assembly_spades is missing its inputs. This error only appeared once for specific samples, that all lacked the required number of reads.

@AKBrueggemann Is this still open or can we close this? :)

AK: This is still open in principle, but I'm not sure if it's something that can be fixed at all. So far, this has only happened once with samples that had bad quality across the board.

I`ll close this for now. If it happens again, please reopen this.


don’t crash when wrapper is empty

native_mate is deprecated so merging into muon to simplify changes
fix #265

++


Wanted: pre-Tag / monospace text style

Some of my document/reporting process using this nice gem. I missed the possibility to add text in monospace or <pre>  style in order to add some code samples into the document. It would be nice to get this feature or any hint where i can start modifying the config file.
Thank you.

I'm not sure exactly what would need to be done but essentially you'd want to register a new inline type HTML tag that defines the desired font family via WordML properties since I don't have a CSS style convert defined for font families.
I think this is the XML that needs generated.
<w:rPr>
    <w:rFonts w:ascii="Courier New" w:cs="Times New Roman" />
</w:rPr>

In terms of configuration I think this is the definition you'd want to use (subbing in your desired font familes):
Sablon.configure do |config|
  config.register_html_tag(:pre, :inline,
    properties: { rFonts: {ascii: "Courier New", cs: "Times New Roman"} })
end

Some additional references:
https://github.com/senny/sablon/blob/master/test/configuration_test.rb
https://github.com/senny/sablon/blob/master/lib/sablon/configuration/configuration.rb#L85

Nice. Works flawless! Thanks for your fast reply. Awesome project!


Too many changepoint detected computed waves displayed

Subject of the issue
There are multiple wave zones overlapping each other displayed in the case data bar chart.
Workstream
Workstream 1/cookiecutter labelling tool
Your environment

docker

Steps to reproduce
Open up cookiecutter, you will see multiple red-green wave/calm zones for one country, at country level
Expected behaviour
Changepoint detection should not result in overlapping zones of wave/calm
Actual behaviour
The query to retrieve computes zones does not consider the data source selected, and will, at country level, retrieve zones from both Johns Hopkins global, and ECDC datasets. Adding the currently selected data source to the WHERE clause in the could should revert back to desired behaviour, only displaying computed waves pertinent to the selected dataset, with no overlaps.

Add AND data_source='...' clause to computed wave SELECTstatement

issue fixed


Clean up issues #142

@SongYeongEng Can you also remove type ConfigBuilder here https://github.com/taubyte/tau/blob/main/config/protocols.go#L63

Hi @samyfodil, i also removed config builder thanks for letting me help.


test: use headless chrome

https://developers.google.com/web/updates/2017/04/headless-chrome
says headless chrome is awesome. Lets try it...
(on top of #522)

👏 👏 👏 @ebidel

lgtm

LGTM


Add codespell support (config, workflow to detect/not fix) and make it fix few typos

More about codespell: https://github.com/codespell-project/codespell .
I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.
CI workflow has 'permissions' set only to 'read' so also should be safe.

Thanks, this should be fine. I'll take a look when I get a chance

Looks like there's some linting errors (line length). Seems to be in docstrings, so I don't think ruff will fix automatically, they'll need to be reshaped with a line wrap tool.

Looks like there's some linting errors (line length). Seems to be in docstrings, so I don't think ruff will fix automatically, they'll need to be reshaped with a line wrap tool.

not poetry or ruff user, so your contribution to this PR would be most appreciated ;)
❯ poetry run ruff format snakebids
Skipping virtualenv creation, as specified in config file.
warning: `ruff format` is a work-in-progress, subject to change at any time, and intended only for experimentation.
ruff failed
  Cause: TOML parse error at line 215, column 12
    |
215 | [tool.ruff.lint]
    |            ^^^^
unknown field `lint`, expected one of `allowed-confusables`, `builtins`, `cache-dir`, `dummy-variable-rgx`, `exclude`, `extend`, `extend-exclude`, `extend-include`, `extend-ignore`, `extend-select`, `extend-fixable`, `extend-unfixable`, `external`, `fix`, `fix-only`, `fixable`, `output-format`, `force-exclude`, `ignore`, `ignore-init-module-imports`, `include`, `line-length`, `tab-size`, `logger-objects`, `required-version`, `respect-gitignore`, `select`, `show-source`, `show-fixes`, `src`, `namespace-packages`, `target-version`, `preview`, `task-tags`, `typing-modules`, `unfixable`, `flake8-annotations`, `flake8-bandit`, `flake8-bugbear`, `flake8-builtins`, `flake8-comprehensions`, `flake8-copyright`, `flake8-errmsg`, `flake8-quotes`, `flake8-self`, `flake8-tidy-imports`, `flake8-type-checking`, `flake8-gettext`, `flake8-implicit-str-concat`, `flake8-import-conventions`, `flake8-pytest-style`, `flake8-unused-arguments`, `isort`, `mccabe`, `pep8-naming`, `pycodestyle`, `pydocstyle`, `pyflakes`, `pylint`, `pyupgrade`, `format`, `per-file-ignores`, `extend-per-file-ignores`

or give me a hand here how to tame the poetry etc.

not poetry or ruff user, so your contribution to this PR would be most appreciated ;)

Of course! Didn't want to touch your branch without your permission, but I'm happy to finish it off from here!

FWIW for above -- I have ancient ruff system wide... installed recent one in venv, but ruff check snakebids scripts --fix just checks and does not fix, expected? (I see you pushed, thanks! just want to learn howto for future)

just checks and does not fix, expected? (I see you pushed, thanks! just want to learn howto for future)

Yeah, ruff won't touch docstrings or comments, so I just use a random line re-wrapping extension in my IDE.

Also the checks will probably fail because of some issue that came up in the nightly. Still have to look into this. But I know this PR doesn't change any code, so I'll just merge either way


Move units to attributes and add volume units

Removed speed, distance units and timezone from user/server model
Get speed, distance, volume units and timezone from user/server attributes for reports and notifications
Map other units to notifications in case somebody want use them.
Adjusted templates

According to Wikipedia there are two wide spread types of gallons for fuel and they have the same common used abbreviation - "gal".  I'm not sure if we have to invent different abbreviation. I used "gal" for both. But they coded as impGal and usGal, liters as ltr . Here is changes in Excel templates:
${summary.spentFuel}

changed to
${volumeUnit.equals("impGal") ? "".format("%.1f gal", summary.spentFuel / 4.546) : volumeUnit.equals("usGal") ? "".format("%.1f gal", summary.spentFuel / 3.785) : "".format("%.1f l", summary.spentFuel)}

${trip.spentFuel}

changed to
${volumeUnit.equals("impGal") ? "".format("%.1f gal", trip.spentFuel / 4.546) : volumeUnit.equals("usGal") ? "".format("%.1f gal", trip.spentFuel / 3.785) : "".format("%.1f l", trip.spentFuel)}

${stop.spentFuel}

changed to
${volumeUnit.equals("impGal") ? "".format("%.1f gal", stop.spentFuel / 4.546) : volumeUnit.equals("usGal") ? "".format("%.1f gal", stop.spentFuel / 3.785) : "".format("%.1f l", stop.spentFuel)}

Merged, thanks.


Try to consolidate many installation pages in one page

This is an experiment: I tried to consolidate many pages into a single one.
The result is not as good as expected because there are too many nested subchapters (#####).
On the right hand side, the menu items depth is limited to items nested at third level (###).

Given the outcome, I thing that we should not go ahead with this approach.

Hello, i find the overall result of single page setup a bit chaotic.
I will

Close this PR: the overall result of setup in a single page is really chaotic.
Create a task with the index of the topics we want to realize (a minimum of initial planning) and discuss it with the team.
Recycle the commits with installation details (after we get the index of the topics approved).


refactor: tech material as project images

Current dependencies on/for this PR:

main

PR #74   👈

This comment was auto-generated by Graphite.


Sample: Developers can create ARRAY of STRUCT

Sample code: https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/a129e6228fb4a6cb660832168b8f02ac0675673f/spanner/api/Spanner/Program.cs#L2656
Context: https://cloud.google.com/spanner/docs/structs
In the C++ world, I think this translates to a std::vector of std::tuple

This is the spanner_create_array_of_struct_with_data sample.


add true value to dummy outcome

This allows us to have a well defined effect of the treatment on the outcome.

We find f(W) for a fixed value of t
For all the other values of t. We obtain the value of dummy outcome as:
y_dummy = h(t) + f(W)

If we originally started out with
      W
    /    \
   t --->y

y_dummy = f(W)
      W
    /    \
   t --|->y

This ensures that we try to capture as much of W--->Y as possible
On adding h(t)
      W
    /    \
   t --->y
     h(t)

This PR is still work in Progress...

@amit-sharma can you review the code.

thanks for reformatting the documentation. Looks great now!


Guzzle JSON request with ascii encrypted(sensitive) data

Hi
I am getting a 401 for a request that contains a JSON blob with one field containing  an encrypted-payload of type ascii data. My suspicion is that i am not handling the this string(encrypted-payload) correctly. From the time i read it in in BDD behat pystring format to the time i send it to the server.
If i shorten the above payload encrypted-payload  to 2 characters. (to confirm my suspicion that there are some characters in the string that i am not dealing with correctly)
i get a 400 (bad device serial) error.  Which means i am getting through authentication and request is being processed but actual apppliation specific request is bad  -  bad device serial.
In essence i am getting further.
Below is code on how i convert my ascii (encrypted-payload) to array format and call the guzzle post request.
        $requestBodyArrayFormat = json_decode($request->_uri[0]);
        $obj->_response = $request->_client->request('POST', $request->_url, [
            'headers' => ['Content-Type' => 'application/json; charset=UTF-8',
                'Authorization' => $hmacHeader
            ],
            'debug' => true, // turn on debug
            'json' => $requestBodyArrayFormat,
            'handler' => $tapMiddleware($clientHandler)
        ]);

Any help much appreciated.

Is there a way to ssl connections in php storm to see the raw frame what is being sent.
Something like this command in Java.
System.setProperty("javax.net.debug","ssl:plaintext");

How ever when i use php curl_exec, it works.
        $data_string = rawJsonData;;

        $ch = curl_init('https://url/api/v1/service1/pat/');
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
        curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, array(
                'Content-Type: application/json',
                'Authorization: ' . $hmacHeader)
        );

Which version of Guzzle do you use? This is the repository for version 3 which is deprecated. In case you don't using the latest version, upgrade and check if the error is still valid and if so, open an issue at https://github.com/guzzle/guzzle/issues

Moving to latest guzzle version channel.
https://github.com/guzzle/guzzle/issues/1849


Central-config plugin

Plugin very similar to powercycle but the schedules are saved in config with resource filters.
Utilizes a priority system to determine which schedule should run (including any that may be set on the resource itself). Highest number is highest priority.
Any resource value can be selected with a jmespath filter (see https://jmespath.org/).
To test these filters,  set  saveResources: resources.json in the Revolver config and run jmespathTester.js over it with a filter.
TODO

Exhaustive tests of conditions with various filters
Utility to check if a resource would match a filter to validate configuration. People changing the config could potentially not have read credentials and will be unable to verify a filter locally.
Filter references. Define scoped filters that can be referenced in a proper matcher config so common filters can be re-used without re-writing
Multi-file configuration with references. Will want to specify filters and schedules separately in multiple files with more files separate that specify how they should join up. Probably should be done in a separate PR

Example config:
     powercycleCentral:
      active: true
      configs:
        - parser: strict
          availabilityTag: Schedule
          availabilityTagPriority: 10
          matchers:
            - name: no large instances
              filter:
                resource:
                  path: "InstanceType"
                  regexp: "\\.\\d{0,2}x?large"
              schedule: "0x7"
              priority: 20
            - name: within australia
              filter:
                resource:
                  path: "Placement.AvailabilityZone | contains(@, 'ap-southeast')"
                  value: true
              schedule: 24x5
              priority: 10
            - name: default tagged schedule
              filter:
                and:
                  - tag:
                      name: "CostCentre"
                      value: "1234"
                  - type: ec2
              schedule: 24x7
              priority: 1

Please don't use %s in log messages - unless you have a better fix for https://github.com/Innablr/revolver/issues/97
They don't work with the JSON output format.


Units of measurement

Hi,
I haven't found any units for measurement ? Have I overlooked it or units aren't written anywhere ?
Cheers

That's correct, there are no units in the library. The raw data is divided by the scaling/calibration value that you set with the function setCalFactor(float) in setup.  I use gram myself.

Thanks, you could put that in readme, because someone may not now this.
Cheers


ElementClickInterceptedException: element click intercepted: Element is not clickable at point (733, 806)

Hello,
I feel like there's an issue with the switch_model function in copilot.py (talkingheads 0.5.0).
When I use this function and the display of 'Choose a conversation style' options is not visible on the web page, the error mentioned in the title of this issue occurs. Below is the traceback:

chathead.switch_model("Precise")

INFO:Copilot: cib-serp is located.
INFO:Copilot: cib-conversation-main is located.
INFO:Copilot: cib-welcome-container is located.
INFO:Copilot: cib-tone-selector is located.
INFO:Copilot: button is located.
Traceback (most recent call last):
Cell In[16], line 1
chathead.switch_model("Precise")
File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\talkingheads\model_library\copilot.py:370 in switch_model
button.click()
File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\webelement.py:94 in click
self._execute(Command.CLICK_ELEMENT)
File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\webelement.py:395 in _execute
return self._parent.execute(command, params)
File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\webdriver.py:347 in execute
self.error_handler.check_response(response)
File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\errorhandler.py:229 in check_response
raise exception_class(message, screen, stacktrace)
ElementClickInterceptedException: element click intercepted: Element is not clickable at point (733, 806)
(Session info: chrome=124.0.6367.119)

When the display of 'Choose a conversation style' options is visible on the web page, the function runs correctly.

chathead.switch_model("Precise")

INFO:Copilot: cib-serp is located.
INFO:Copilot: cib-conversation-main is located.
INFO:Copilot: cib-welcome-container is located.
INFO:Copilot: cib-tone-selector is located.
INFO:Copilot: button is located.
INFO:Copilot:Switched to Precise
Out[17]: True

Looking forward to your feedback...

The reworked version of Copilot should work.


🐛 Bug Report: Project Settings or Feedback Not Visible

👟 Reproduction steps
Project Settings & the Feedback options are visible on either Desktop or Mobile sized window.
If the window size is anywhere in the middle, like resized, on maybe on a tablet like device, the Settings & the Feedback option is not shown.

See -

👍 Expected behavior
Show the missing options.
👎 Actual Behavior
Options are missing.
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
Affects Cloud & all the versions ahead.

Safari : Version 17.4.1 (196<IP_ADDRESS>.14)
Chrome : Version 123.0.6312.105 (Official Build) (arm64)

👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Can reproduce this

@ItzNotABug, thanks for raising this issue! 🙏🏼 Looks like we're using is-only-mobile when we should be using is-not-desktop here:
https://github.com/appwrite/console/blob/da41df2481e7a1219ce91d645d13a507f1a010c3/src/lib/layout/navigation.svelte#L200
and here
https://github.com/appwrite/console/blob/da41df2481e7a1219ce91d645d13a507f1a010c3/src/lib/layout/navigation.svelte#L227

If @ItzNotABug doesn't mind, I'll like to do it 🙂
Been looking to start contributing to this repo

@FatumaA, assigned! Thanks for your interest!


Notify of Pokemon Not Making a Sound?

Hey MChristopher, bravo on this new Version 0.1.0 I have been stress testing it out and it's working absolutely beautifully! The location changes, hide pokemon filters, and Google API location lookup are all working flawlessly. I will test out the 30-minute timeout update from PTC and see if it continues to live update without issues.
I did have 1 simple question regarding the "notify of pokemon". I added a few common pokemon to that notify list to test out how the notification would respond but I didn't hear any sound or see any visual queues. What is supposed to happen when notifications are on? Thanks!

Same question here. Wasn't sure what notification I was supposed to be getting? A sound or popup? Not seeing anything at the moment. Otherwise, awesome update!

Same question, just commenting for visibility, great Update though!


mongo -> mysql import, ER_TOO_LONG_KEY

If the _id is treated as a string, the CREATE TABLE command will use a VARCHAR(255) which is too large for a MYSQL string index if using collation of utf8mb4_general_ci
Fix for this was to change the type defines to VARCHAR(50) instead of VARCHAR(255)
Future releases should allow variable VARCHAR size in the JSON
Stack trace
9 Mar 21:07:05 - Connect to MySQL... 9 Mar 21:07:05 - { Error: ER_TOO_LONG_KEY: Specified key was too long; max key length is 767 bytes     at Query.Sequence._packetToError (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)     at Query.ErrorPacket (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/sequences/Query.js:77:18)     at Protocol._parsePacket (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Protocol.js:280:23)     at Parser.write (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Parser.js:75:12)     at Protocol.write (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Protocol.js:39:16)     at Socket.<anonymous> (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/Connection.js:103:28)     at emitOne (events.js:96:13)     at Socket.emit (events.js:189:7)     at readableAddChunk (_stream_readable.js:176:18)     at Socket.Readable.push (_stream_readable.js:134:10)     --------------------     at Protocol._enqueue (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Protocol.js:141:48)     at Connection.query (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/Connection.js:208:25)     at Promise (/usr/local/lib/node_modules/momy/lib/mysql.js:177:10)     at MySQL.query (/usr/local/lib/node_modules/momy/lib/mysql.js:175:12)     at query.then.then (/usr/local/lib/node_modules/momy/lib/mysql.js:116:24)     at process._tickCallback (internal/process/next_tick.js:103:7)   code: 'ER_TOO_LONG_KEY',   errno: 1071,   sqlState: '42000',   index: 1 }

@Bob565656 thanks for reporting!
It seems that we just need varchar(24)? ObjectID is 12 byte length.
https://docs.mongodb.com/manual/reference/method/ObjectId/#ObjectId

If the _id is treated as a string, the CREATE TABLE command will use a VARCHAR(255) which is too large for a MYSQL string index if using collation of utf8mb4_general_ci
Fix for this was to change the type defines to VARCHAR(50) instead of VARCHAR(255)
Future releases should allow variable VARCHAR size in the JSON
Stack trace
9 Mar 21:07:05 - Connect to MySQL... 9 Mar 21:07:05 - { Error: ER_TOO_LONG_KEY: Specified key was too long; max key length is 767 bytes at Query.Sequence._packetToError (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14) at Query.ErrorPacket (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/sequences/Query.js:77:18) at Protocol._parsePacket (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Protocol.js:280:23) at Parser.write (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Parser.js:75:12) at Protocol.write (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Protocol.js:39:16) at Socket.<anonymous> (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/Connection.js:103:28) at emitOne (events.js:96:13) at Socket.emit (events.js:189:7) at readableAddChunk (_stream_readable.js:176:18) at Socket.Readable.push (_stream_readable.js:134:10) -------------------- at Protocol._enqueue (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/protocol/Protocol.js:141:48) at Connection.query (/usr/local/lib/node_modules/momy/node_modules/mysql/lib/Connection.js:208:25) at Promise (/usr/local/lib/node_modules/momy/lib/mysql.js:177:10) at MySQL.query (/usr/local/lib/node_modules/momy/lib/mysql.js:175:12) at query.then.then (/usr/local/lib/node_modules/momy/lib/mysql.js:116:24) at process._tickCallback (internal/process/next_tick.js:103:7) code: 'ER_TOO_LONG_KEY', errno: 1071, sqlState: '42000', index: 1 }

In my case, i had change the collation of MySQL database to utf8_swedish_ci, and it work.
After read some articles, some collation have different maximum for storing key.


[Frontend] Convert constexpr to value for store and load ops

Fixing problem 2 in https://github.com/openai/triton/issues/1017

@ptillet Ready for review


any idea if there is going to be offical hxVLC support for video support (or any video support)

What feature do you want to see added to the engine?
any idea if there is going to be official hxVLC support for video support (or any video support in general), did a proof of concept earlier with a experiment (which i put onto the fork i was experimenting on) for splash videos, but was wondering if there was plans for proper implementation for video support (not talking about soft coding, i mean proper implementations for hardcore rather then quick slapping like i did for my prof of concept)
this is just more of a request then a full on necessity, but i feel like some projects can benefit from it like the remaster project I'm working on for (as a example) intro cut scenes before a week starts (example being Week7 and Weekend1's video cut scenes)

actually we are planning on adding hxvlc for the next update, but in order to use it you will have to manually uncomment a custom define in project.xml so only mods that actually need hxvlc support use it instead of adding 150mb of dlls for mods that won't use any videos

that would make a lot of sense, was curious if official support was coming , that is excellent to hear then ^^
gonna keep an eye here then!


Only temporary video files are created

I created with TestFx (testing JavaFX applications) a junit. I successfully created a recorded test with @Video annotation before the @Test.  Everything is ok on the local machine. But when I am trying to run this junit from a Jenkins Job, on a virtual machine, (a Jenkins Slave Machine) I get the error message: "com.automation.remarks.video.exception.RecordingException: Condition with lambda expression in awinta.intellitax.MyCustomFFMpegRecorder that uses java.io.File was not fulfilled within 5 seconds. " There are created only some temporal files, but they can not be played.
temporary_recording_2018_17_04_15_19_56.mp4
I changed the interval from 5 seconds to 180 seconds...but still the error appears. Any idea?

Probably your VM is slow so that it cannot write all the bytes. Try to add more CPU it can help

Hello, could you please provide an example of such situation?
2018-04-19 9:17 GMT+03:00 tricone<EMAIL_ADDRESS>
Actually I tested, and if the junit is crashing( Null pointer for example,
or some elements are not found) the process FFMpegRecorder remains opened
in TaskManager. It's there any way to avoid this, so that FFMpegRecorder
should be closed always.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SergeyPirogov/video-recorder-java/issues/51#issuecomment-382622939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEaKCOdqu5cxxnbN2lvMxNIEXSRhQvwnks5tqCvegaJpZM4TYVoI
.

I have a class with @Video and @Test which is loading some properties files from a directory. This @Test Class is calling another class where test scenarios are executed(click, etc) for each properties file. If there is an error(null pointer exception) in the scenario class(the one which is called by the @Video and @Test Class), recording remains in temporary file.

Provide please example in code like
class Demo {
@test
@video
public void test(){ //body here }
}
2018-04-19 10:50 GMT+03:00 tricone<EMAIL_ADDRESS>
I have a class with @video https://github.com/video and @test
https://github.com/test which is loading some properties files from a
directory. This @test https://github.com/test Class is calling another
class where test scenarios are executed(click, etc) for each properties
file. If there is an error(null pointer exception) in the scenario
class(the one which is called by the @video https://github.com/video
and @test https://github.com/test Class), recording remains in
temporary file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SergeyPirogov/video-recorder-java/issues/51#issuecomment-382643671,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEaKCAWcqmvYVY2dRVyCg7xzory2F_N7ks5tqEHNgaJpZM4TYVoI
.

Any idea? It happens also on local machine, not every time. I can not find the cause. Sometimes is working and sometimes is not.


Enable feature detection for arm64

@fwessels Looks nice. Gofmt fails. I will add arm64 to CI in master.

If you merge master it will test arm64 as well.

Cool. Merged!


Pod not serving latest version

When installing this as a pod, it only return version 1.0 rather than the latest version of 1.1. Has the podspec been sent to the main cocoapods repo?

Hey,
you were right.
it should work now.


[Enhancement]: Navigation from debugger error to particular field having error

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
https://user-images.githubusercontent.com/23132741/187438796-8533212d-49b6-47b5-8eb7-193c99c8c903.mov
Currently, not all debugger errors navigate to the exact point where the error occurred. In the above video, there is an example of a table widget's custom column field error where it was not easy to find the error from the debugger UI.
Suggestion to also add navigation icon in the debugger to help the user understand what action could happen on click.
Why should this be worked on?
Improving navigation for debugger errors will help the user find and resolve errors faster.

Pending tasks as part of the issue

[x] Property pane navigation for widget errors (except JSONForm widget)
[ ] JSONForm widget error navigation
[ ] Query pane errors
[ ] JSObject errors
[ ] Api pane errors

verified on release


"df" shows used space is not accurate

What happened:
We use Ceph 16.2.x RADOS as backend storage and use PostgreSQL 17 as metadata storage. After many operation of rsync/juicefs sync, "df" is showing much larger space usage(263GB) than its real use in both RADOS pool(29GB) and "du -sh " on juicefs.  Seems "df" used space is reported from jfs_counter.usedSpace. I've tried all the command available in juicefs, eg gc/fsck/compact but none of them help to fix it.  Seems there is not providing a function to recalculate jfs_counter.usedSpace  from underlying metadata , if there is any available function to do so , please let me know. Thanks
[root@vbakjob05 jfs]# df -h
Filesystem              Size  Used Avail Use% Mounted on
JuiceFS:myjfs           2.0P  263G  2.0P   1% /jfs
[root@ceph1 ~]# ceph df|grep jfs
--- POOLS ---
POOL                          ID  PGS   STORED  OBJECTS     USED  %USED  MAX AVAIL
jfs                           59   32   29 GiB   57.34k   85 GiB   0.02    119 TiB
[root@vbakjob05 jfs]# du -sh
29G	.
postgresql metadata
jfs=# select * from jfs_counter;
name         |    value
---------------------+--------------
nextTrash           |            7
nextSession         |           32
nextInode           |       507906
lastCleanupFiles    |<PHONE_NUMBER>
nextCleanupSlices   |<PHONE_NUMBER>
lastCleanupSessions |<PHONE_NUMBER>
nextChunk           |       475137
lastCleanupTrash    |<PHONE_NUMBER>
usedSpace           |<PHONE_NUMBER>84
totalInodes         |       251264
(10 rows)
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version: juicefs version 1.2.1+2024-08-30.cd871d19ba57 (compiled with juicefs.ceph)
Cloud provider or hardware configuration running JuiceFS: --self hosted
OS (e.g cat /etc/os-release):Rocky Linux release 8.8 (Green Obsidian)
Kernel (e.g. uname -a):  4.18.0-477.27.1.el8_8.x86_64 #1 SMP Wed Sep 20 15:55:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Object storage (cloud provider and region, or self maintained): self hosted ceph 16.2.7 RADOS
Metadata engine info (version, cloud provider managed or self maintained): postgresql 17
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage): on-prem DC internal traffic
Others:

We should provide a way to fix it.

@frostwind  Sorry, the repair took a bit longer, but now you can fix usedspace by https://github.com/juicedata/juicefs/pull/5331
Just run juicefs fsck --recursive --sync-dir-stat --repair --path /


Bluetooth: BAP: Shell: Improve recv statistics

Add more information when we print the recv every 100th packet, and remove all per-recv printing.
This also resets all information on stream start. This does, however, no properly support multiple streams.

We should keep track of all the places that needs to be changed for multi stream support ;)

We should keep track of all the places that needs to be changed for multi stream support ;)

Yeah, it's getting increasingly difficult :)


add logging for MSBuild project system

adds log forwards of warnings and errors for the MSBuild project system and emit project diagnostics messages to editors

Looks good to me.


RFP - zotero-x64

Checklist

[x] The package I am requesting does not already exist on https://community.chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://zotero.org
Direct download URL for the software / installer : https://www.zotero.org/download/client/dl?channel=release&platform=win-x64
Software summary / short description:  Zotero [zoh-TAIR-oh] is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Package Expectations
This is the newly released 64bit version of Zotero, currently Chocolatey only has the 32bit version. If possible, some way of picking between this one or the 32bit version depending on the user's device would be ideal.

This is the newly released 64bit version of Zotero, currently Chocolatey only has the 32bit version. If possible, some way of picking between this one or the 32bit version depending on the user's device would be ideal.

As you indicated, this package already exists. Chocolatey supports different architectures in the same package so a new package is not needed.
Please contact the current package maintainer.

Use the Package Source link (from the package page) to search for an issue that is asking for this. If it doesn't exist, create one.


hsa-rocr depends on missing hsakmt-roct package

Hi,
The hsa-rocr DEB package that ships in the 5.2.3 apt repository lists hsakmt-roct as one of its dependencies; however, the latter package doesn't exist in the 5.2.3 repo. (The last repo that contains it is 4.3.1)
This seems a little broken to me. Is the dependency list of hsa-rocr wrong, maybe?
Thanks,
Jonathan

@frepaul will be able to comment on this issue.

@JoniSt . We are take care of this in our next release.
Thanks for reporting.

Wanted to clarify one more detail here. Since we were transitioning hsakmt-roct to hsakmt-roct-dev, currently hsakmt-roct-dev provides both and hence installation of hsa-rocr should not have any issues.

Oh, I just checked again and you're right, that is indeed the case! I'm not sure why exactly APT insists on installing the missing hsakmt-roct package on my system... When I install hsakmt-roct-dev manually before the rest of the packages, it works just fine.
Thank you very much!
I'll leave it up to you if you want to close this issue immediately or after the next release.

Closing as fixed


Fix for piroor/treestyletab#982 and piroor/multipletab#101 Bookmark Properties and New Folder

Fix for piroor/treestyletab#982 and piroor/multipletab#101 as last commit did not fix the issue. Pull requests need to be applied to both repos for fix to work reliable. Fixes issue where New Folder and Bookmark Properties dialogs appearing empty only both Tree Style Tabs and Multiple Tab Handler (and other extensions withbookmarkMultipleTabs_bookmarkPropertiesOverlay.xul) are enabled at the same time.

Thanks!


Research: pipelines via PipelineAI, Pachyderm, StreamSets

Research PipelineAI, Pachyderm, StreamSets to determine whether either might be a good fit for our ML pipeline needs. Some key needs would include:

Shipping data to S3 (ideally would like to continue being able to use AWS Glue+Athena here)
Scheduling model build jobs
Support for HPO and automated model selection
Hosting training/prediction workloads (any language and ML framework)

@djsutho @tkamenov-expedia Once you start this card, can you prioritize helping us understand what the data sync piece looks like? We need this to get model training in place.

Closing, as we decided to treat ML pipeline as external to AA's scope. AA proper is just the runtime from aa-metrics to the anomalies topic. Internally we do have an attached pipeline but it's not part of AA itself.


Can you get banned from this?

Like, I know you can get banned for cheating/hacking but is this detectable?

Yes, BattlEye will probably catch the extra assembly load (NLog.EFT.Trainer).


Dynamically populating Semantic Ui Dropdown. Value doesn't get selected as default.

I fetch Instruments array from Mongo in Meteor to dynamically populate this dropdown. Is this some bug of 'set selected' or am I doing something wrong?
let dropdownMenuHtml = '',
selectValueHtml = '',
index = 0;
_.each(fundingInstuments, function(instruments) {
if (instruments.default === true) {
selectValueHtml += '' + instruments.type + ' ' + instruments.currency + '';
} else {
selectValueHtml += '' + instruments.type + ' ' + instruments.currency + '';
}
index += 1;
});
self.$('select[name="fundingInstrumentId"]').html(selectValueHtml);
self.$('select[name="fundingInstrumentId"]').dropdown('set selected', 1);

Please post a simple reproducible test case, there's an example of how to best do this in our contributing guide in the repo. You can feel free to re-open this as a new issue


fixes issue #5107

Fixes issue #5107

Looks great!

Coverage increased (+0.02%) to 88.483% when pulling 8a08aebcc5cc13e78257ae9b9e088580bdd9abfe on czpython:fixes/issue-5107 into 9c92ccb1aa713ddd6a7e4d0eaa43f5f82d7332a6 on divio:develop.


Fix broken banner url

Fixing a broken link in your cloud formation template.
Signed-off-by: Nate Stewart<EMAIL_ADDRESS>

@nstewart Thx for the patch, would it be possible for you to --signoff on your commit please?

done. updated comment per https://github.com/heptio/aws-quickstart/blob/master/CONTRIBUTING.md

closing this PR in favor of this one, which has the proper sign off.


reading 3D tif

3D tif images are not opened correctly (opened image contains first slice twice and then the rest, the last slice is missing, the size is correct.

Thanks for the bug report, and sorry it took a while to fix.


Impossible to create symfony recipe for a plugin created with this skeleton due to payum

Hi!
Let's keep it simple: https://travis-ci.org/symfony/recipes-contrib/jobs/654942372
This link is the CI testing the recipe for a plugin.
The plugin is really simple and requires sylius/sylius=~1.3.
The plugin works well.
But when we want to create a recipe it gives an issue about payum. It should not.
I'm trying to change the way I require sylius in the plugin but I think we may have an issue here.
Is there any chance a core team developer could take a look at it?
Thank you!

Hello Jacques!
The problem with flex recipes for plugins is deeper 🕳 There are no recipes for Sylius extracted bundled (like SyliusResourceBundle) and therefore for Sylius itself as well. As you can see, on the Travis, the test consists of installing a bundle (a Sylius plugin, in this case), on symfony/skeleton application. I don't know if it's related to this, but even if not, there would be some more problems after solving it. Plugins required sylius properly configured, which cannot be done automatically without a recipe for sylius/sylius 😢
We were lucky with our plugins 😄 as recipes for them were created where there was no such a check yet (only symfony flex bot, see this PR). But when we wanted to improve something, a similar thing happened.
For sure we would like to provide some recipes for all our bundles and Sylius itself 🖖 I'll let you know when it's done :)

Let's see how it goes: https://github.com/Payum/PayumBundle/pull/511


Page loads are way longer than it should be

Vanmoof 12s vs 3s on configurator page.
Waardijk ~3s vs 1.5s on category page.

https://github.com/ho-nl/docker-development-box/commit/838b98a183da2f2c1fa85e12aa17e9aceadfaab4 Reduced the configurator page load to 7 seconds.

Again improves performance: https://github.com/ho-nl/docker-development-box/commit/d260ef56ec45468d4f492590b02f866dffd042ca by a second

Latest release: From: 5.34s 4.81s 4.37s 4.72s to 3.68s 4.26s 3.98s 3.69s 3,73s 4,01s
https://github.com/ho-nl/docker-development-box/issues/10#issuecomment-639384629

MySQL performance is tracked in #23


More apis

Adding more APIs and updating the WSDL via rake task.

+1  I could definitely use the APIs added here.


Update and rename lib/domains/ca to lib/domains/ca/saskatchewanpolytechn...

...ic
Adding Saskatchewan Polytechnic

Adding Saskatchewan Polytechnic


Add an appbar shadow to Pesto's recipe page.

Fixes https://github.com/flutter/flutter/issues/5711

This shadow will scroll off the screen when you scroll the page up. There wasn't an easy way to keep the shadow under the AppBar, unfortunately. I suppose I could make a variation of FlexibleSpaceBar that doesn't scroll, if we think it's important.

This will ensure that the toolbar is mostly readable. In the future we should probably provide a way to add a  background gradient to the toolbar.
LGTM


Use Folder's TabSet for something useful.

....

@chillu if you like this we should merge it. if you don't like it we should delete it. ;-)

This is now contained in a topic branch: https://github.com/silverstripe-big-o/sapphire/commits/story/SSF-24
Sorry it took so long, its a tricky decision (performance vs. customization, see card comments).


Documentation error

The "Buy SSL cert" documentation states the following, but the FAQ linked at the end of the article states the opposite
Warning
App Service Certificates can only be used by other App Services within the same subscription.
From the FAQ:
"We’ve gotten a lot of feedback from customers asking for this ability, so we now allow you to export your certificate as a PFX file so that you can use it across multiple subscriptions and Azure services. See this blog post for more information."

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

ID: fa7e21c2-d024-dda5-a468-b140422b9fae
Version Independent ID: 5475c8e6-1186-8ed1-2ad6-6eaa2cac871f
Content: Buy and Configure an SSL Certificate for your Azure App Service
Content Source: articles/app-service/web-sites-purchase-ssl-web-site.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: apurvajo;cephalin

@bajorgensen Thanks for the feedback! We are currently investigating and will update you shortly.

Issue Summary
The first link contains the warning statement where as the FAQ link states otherwise.
https://docs.microsoft.com/en-us/azure/app-service/web-sites-purchase-ssl-web-site

https://blogs.msdn.microsoft.com/appserviceteam/2017/07/24/faq-app-service-certificates/

Tracking internally at https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1212376.


Add generic except to avoid issues when files do not exist

Hi, thanks for opening this and the referenced issue. I'd like to take a closer look because from  a quick glance I think the 'except OSError' already in the try block was intended to catch files which don't exist. I wonder if this may be a Python version issue.
Can you provide a little more info on your system: hlsclt version, python version etc? And steps to reproduce the error detailed in  #9 ?
Thanks.

Sure thing:

hlsclt version: 1.0.0.a5
Python version: Python 2.7.15rc1

As for reproducing it, simply launching it when hlsclt build cosim hasn't been run, breaks for me.

I have recreated the issue. It seems to be specific to python 2, where an 'IOError' is being raised instead of an 'OSError' for files not present which is different from the python 3 behaviour.
I believe a better fix is to look specifically for the OSError or IOError exceptions instead of adding a generic catch all which could mask other errors in the future.
I'm going to modify this PR to reflect this and will push some changes with my preferred fix. @vmayoral could you review these, and make sure they fix your previous issue?

Tested. Works perfectly fine. Thanks!

Merged into develop.


Small coding effect refactoring and fixes

added AlternateStartCodon effect for changes like c.1ATG>TTG
factored out translate function in coding_effect
changed logic of translation to treat alternate start codons as Methionines

Modulo comments LGTM


Graminizing the Ubuntu 20.04 image fails with /bin/bash: Permission denied

Description of the problem
Creating a graminized image of Ubuntu 20.04 with bash fails with /bin/bash: Permission denied.
Steps to reproduce

Create a test.sh with echo command
Create a Dockerfile with Entrypoint/CMD as /bin/bash test.sh and base os as 20.04
Build the docker base image
Graminize the application

test.sh
#!/bin/sh

echo "Hello Bash Shell Script"

Dockerfile:
From ubuntu:20.04

RUN apt-get update

COPY test.sh .

CMD ["/bin/bash", "test.sh"]

Expected results
When graminized application is running, it should return "Hello Bash Shell Script"
Actual results
docker run  --device=/dev/sgx/enclave -it gsc-bash-test
Gramine is starting. Parsing TOML manifest file, this may take some time...
/usr/local/bin/entry_script_bash.sh: line 4: /bin/bash: Permission denied

Additional information
In all ubuntu:20.04 based docker images, /bin is symlink to /usr/bin. Because of this GSC doesn't add any /bin file to trusted files.  Any bash script executed at run time having shebang #!/bin/bash is not able to access /bin/bash as it's not part of trusted files list. We get error:  /bin/bash: bad interpreter: Permission denied".

I think the root cause lies in GSC code. In particular, GSC has this limitation: https://github.com/gramineproject/gsc/blob/dbc17b6a118d0fb13411d3acd1f1dfc032b77b83/finalize_manifest.py#L58-L60
This means that GSC adds as trusted files only regular files and doesn't add symlinks.
I think we could relax this if not os.path.isfile(filename) check to also allow for symlinks, and then your problem with ubuntu:20.04 will be solved. So I think this change in line 58 should be enough:
if not (os.path.isfile(filename) or os.path.islink(filename)):

(Well, probably more complicated than this one-liner... Needs some testing, but this is the general idea.)

Just to keep it for history, turned out not to be so easy. Because we have followlinks=False also: https://github.com/gramineproject/gsc/blob/dbc17b6a118d0fb13411d3acd1f1dfc032b77b83/finalize_manifest.py#L55
This precludes GSC to add e.g. /bin/bash because /bin/ is a symlink directory (to /usr/bin/), so our GSC for loop doesn't enter the /bin/ directory and thus doesn't find /bin/bash.
Simply changing to followlinks=True also doesn't work generally (and we hit this in real Docker images), because os.walk(followlinks=True) can lead to infinite recursion, see notes in https://docs.python.org/3/library/os.html#os.walk.
So the solution has to be more complicated, like this: https://stackoverflow.com/questions/36977259/avoiding-infinite-recursion-with-os-walk


System.ArgumentException when calling RequestClientCredentialsTokenAsync twice on the same HttpClient instance

After switching from the obsoleted TokenClient class to the new extension methods the second call to RequestClientCredentialsTokenAsync on the same HttpClient instance fails with an exception:  System.ArgumentException: "An item with the same key has already been added. Key: scope".
I was able to reproduce the behaviour by adding the code below to the https://github.com/IdentityServer/IdentityServer4.Samples project:
public static async Task Main()
{
	Console.Title = "Console Client Credentials Flow";

	await PossibleBugRepro();
}

static async Task PossibleBugRepro()
{
	using (var tokenClient = new TokenClient(address: $"{Constants.Authority}/connect/token", clientId: "client", clientSecret: "secret"))
	{
		var t1 = await tokenClient.RequestClientCredentialsAsync("api1");
		Console.WriteLine(t1.AccessToken);
		var t2 = await tokenClient.RequestClientCredentialsAsync("api1");
		Console.WriteLine(t2.AccessToken);
	}

	using (var client = new HttpClient { BaseAddress = new Uri(Constants.Authority)})
	{
		var tokenRequest = new ClientCredentialsTokenRequest {
			Address = "/connect/token",
			ClientId = "client",
			ClientSecret = "secret",
			Scope = "api1"
		};

		var t1 = await client.RequestClientCredentialsTokenAsync(tokenRequest);
		Console.WriteLine(t1.AccessToken);
		// the second call fails with the following exception: 'An item with the same key has already been added. Key: scope'
		var t2 = await client.RequestClientCredentialsTokenAsync(tokenRequest);
		Console.WriteLine(t2.AccessToken);
	}
}

The side-by-side comparison shows that the obsoleted TokenClient class can handle two successive calls to obtain an access token without any issues whereas the new extension method produces an exception on the second call.
Side note: some of the projects I'm working on haven't yet been migrated to ASP.NET Core 2.1 so we can't make use of the newly introduced HttpClientFactory yet. But we still try to avoid socket exhaustion by reusing http clients where possible.
See: https://www.stevejgordon.co.uk/introduction-to-httpclientfactory-aspnetcore
and: https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests

Hi,
thanks for reporting. I never tested it like this because I don't use it like this myself.
I will fix it - for now, don't re-use the TokenRequest instances to fix it.

Hi
Your suggestion (not re-using TokenRequest instances) just saved my day :-)
Thank you for taking the time to look into this issue so quickly!

all checked in. will do a patch release soon.


Fresh install on alpine returns 500

OS/Web Information

Web Browser: firefox 89.0.1 (64-bit)
Local OS: Alpine Linux v3.14
Remote OS: Alpine Linux v3.14 (same as local)
Remote Architecture: x64
code-server --version: 3.11.0 4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd

Steps to reproduce

Fresh install code-server the npm way:

apk add npm alpine-sdk bash libstdc++ libc6-compat
npm config set python python3
npm install -g --unsafe-perm code-server

Open localhost:8080 in a browser, on the same system
Provide the password automatically generated in ~/.config/code-server/config.yaml

Expected
The browser is able to connect to and display vscode.
Actual
The error 500 VS Code failed to load. exited unexpectedly with code 0 is displayed on screen.
Logs
# code-server --log trace
[2021-08-01T00:37:46.835Z] trace child:16034 got message {"message":{"type":"handshake","args":{"_":[],"bind-addr":"<IP_ADDRESS>:8080","auth":"password","password":"2f5b20cead0a8f27ac2b84ad","config":"/root/.config/code-server/config.yaml","log":"trace","user-data-dir":"/root/.local/share/code-server","extensions-dir":"/root/.local/share/code-server/extensions","verbose":true,"host":"<IP_ADDRESS>","port":8080,"proxy-domain":[],"usingEnvPassword":false,"usingEnvHashedPassword":false}}}
[2021-08-01T00:37:46.838Z] info  code-server 3.11.0 4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd
[2021-08-01T00:37:46.838Z] info  Using user-data-dir ~/.local/share/code-server
[2021-08-01T00:37:46.839Z] trace Using extensions-dir ~/.local/share/code-server/extensions
[2021-08-01T00:37:46.852Z] info  Using config file ~/.config/code-server/config.yaml
[2021-08-01T00:37:46.852Z] info  HTTP server listening on http://<IP_ADDRESS>:8080
[2021-08-01T00:37:46.852Z] info    - Authentication is enabled
[2021-08-01T00:37:46.852Z] info      - Using password from ~/.config/code-server/config.yaml
[2021-08-01T00:37:46.852Z] info    - Not serving HTTPS
[2021-08-01T00:37:50.666Z] trace heartbeat
[2021-08-01T00:37:50.685Z] debug forking vs code...
[2021-08-01T00:37:51.025Z] error VS Code exited unexpectedly with code 0
[2021-08-01T00:37:51.876Z] debug forking vs code...
[2021-08-01T00:37:52.216Z] error VS Code exited unexpectedly with code 0

Screenshot
Notes
I don't know if this is related, but the only user on my system is root (~ is /root).
What's weird is, if I install code-server in a custom docker image using exactly the above script, I can actually start the server and connect to it without any issue (I encountered some issues when trying to use the c++ extension in a docker container, so I wanted to try a bare metal install).

Ahaha yup I'm not sure if npm install -g swallows the logs like yarn global add does but if it doesn't then posting the install logs could
help us figure out the issue.
If it does swallow the logs then moving to the install directory then
going to lib/vscode and running npm rebuild and posting those logs
might work.

Hi @code-asher and @jsjoeio, thanks for the fast response!
  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm timing reifyNode:node_modules/code-server/node_modules/uuid Completed in 1846ms
npm timing reifyNode:node_modules/code-server/node_modules/agent-base Completed in 1858ms
npm timing reifyNode:node_modules/code-server/node_modules/ws Completed in 1852ms
npm timing reifyNode:node_modules/code-server/node_modules/esprima Completed in 1868ms
npm timing reifyNode:node_modules/code-server/node_modules/express Completed in 1854ms
npm timing metavuln:cache:get:security-advisory:@google-cloud/logging:diEgHsRhk3J7oZTTulEDpRlB5bLEyHHXkP/JIAz33Wd6jxUuefsU52qyI/Sn+t1WGd/M6NC5mUOIxjFd8ig0GQ== Completed in 26ms
npm timing metavuln:load:security-advisory:@google-cloud/logging:WDwD0eFTCQeRivtTnwHuner6SOTHiiS+Q/xQQjE2aiy/SprBq8LntPCkV57E74oCj5dIcovVxngoFrxqrhKp/g== Completed in 1ms
npm timing metavuln:calculate:security-advisory:@google-cloud/logging:WDwD0eFTCQeRivtTnwHuner6SOTHiiS+Q/xQQjE2aiy/SprBq8LntPCkV57E74oCj5dIcovVxngoFrxqrhKp/g== Completed in 27ms
npm timing metavuln:cache:get:security-advisory:google-auth-library:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 26ms
npm timing metavuln:load:security-advisory:google-auth-library:WDwD0eFTCQeRivtTnwHuner6SOTHiiS+Q/xQQjE2aiy/SprBq8LntPCkV57E74oCj5dIcovVxngoFrxqrhKp/g== Completed in 0ms
npm timing metavuln:calculate:security-advisory:google-auth-library:WDwD0eFTCQeRivtTnwHuner6SOTHiiS+Q/xQQjE2aiy/SprBq8LntPCkV57E74oCj5dIcovVxngoFrxqrhKp/g== Completed in 26ms
npm timing reifyNode:node_modules/code-server/node_modules/gaxios Completed in 1869ms
npm timing reifyNode:node_modules/code-server/node_modules/smart-buffer Completed in 1880ms
npm timing reifyNode:node_modules/code-server/node_modules/grpc-gcp Completed in 1873ms
npm timing reifyNode:node_modules/code-server/node_modules/continuation-local-storage Completed in 1870ms
npm timing reifyNode:node_modules/code-server/node_modules/@google-cloud/common Completed in 1870ms
npm timing reifyNode:node_modules/code-server/node_modules/qs Completed in 1869ms
npm timing reifyNode:node_modules/code-server/node_modules/bignumber.js Completed in 1888ms
npm timing reifyNode:node_modules/code-server/node_modules/get-uri Completed in 1893ms
npm timing metavuln:cache:get:security-advisory:@google-cloud/logging:a6Jc+rHCJpanNTthxJ3xEe5Y0tcIbgFFg6LJzFWQd0nFIWTLCEpn/vDhSwWGr8BcdovRiwkTVO/tA/w8yDiHlQ== Completed in 23ms
npm timing metavuln:load:security-advisory:@google-cloud/logging:DmDyNqbubMAeWuwSWyyQe39l9337FK5WHZVjeHgime9ophPKLR6eol0HsnWulYUpocg1GOSinw3S/vDSl/a2og== Completed in 1ms
npm timing metavuln:calculate:security-advisory:@google-cloud/logging:DmDyNqbubMAeWuwSWyyQe39l9337FK5WHZVjeHgime9ophPKLR6eol0HsnWulYUpocg1GOSinw3S/vDSl/a2og== Completed in 24ms
npm timing metavuln:packument:@coder/logger Completed in 0ms
npm timing reifyNode:node_modules/code-server/node_modules/http-proxy Completed in 1884ms
npm timing reifyNode:node_modules/code-server/node_modules/readable-stream Completed in 1896ms
npm timing reifyNode:node_modules/code-server/node_modules/yargs Completed in 1910ms
npm timing reifyNode:node_modules/code-server/node_modules/are-we-there-yet/node_modules/readable-stream Completed in 1906ms
npm timing reifyNode:node_modules/code-server/node_modules/@google-cloud/common/node_modules/readable-stream Completed in 1897ms
npm timing reifyNode:node_modules/code-server/node_modules/pumpify/node_modules/readable-stream Completed in 1896ms
npm timing reifyNode:node_modules/code-server/node_modules/google-gax/node_modules/readable-stream Completed in 1897ms
npm timing reifyNode:node_modules/code-server/node_modules/tar Completed in 1902ms
npm timing reifyNode:node_modules/code-server/node_modules/node-addon-api Completed in 1903ms
npm timing metavuln:cache:get:security-advisory:@coder/logger:Du2ucqT7/ROXJPCqX74RAypDaQZrUMVaBn2cDsC+cCr97ek2yZpi7oYiMUzoxFvGPJpnBuCGgwfq3PROnTBdPQ== Completed in 16ms
npm timing metavuln:load:security-advisory:@coder/logger:diEgHsRhk3J7oZTTulEDpRlB5bLEyHHXkP/JIAz33Wd6jxUuefsU52qyI/Sn+t1WGd/M6NC5mUOIxjFd8ig0GQ== Completed in 0ms
npm timing metavuln:calculate:security-advisory:@coder/logger:diEgHsRhk3J7oZTTulEDpRlB5bLEyHHXkP/JIAz33Wd6jxUuefsU52qyI/Sn+t1WGd/M6NC5mUOIxjFd8ig0GQ== Completed in 17ms
npm timing metavuln:packument:@google-cloud/common Completed in 0ms
npm timing reifyNode:node_modules/code-server/node_modules/iconv-lite Completed in 1908ms
npm timing reifyNode:node_modules/code-server/node_modules/pac-resolver Completed in 1919ms
npm timing reifyNode:node_modules/code-server/node_modules/argon2 Completed in 1904ms
npm timing reifyNode:node_modules/code-server/node_modules/bytebuffer/node_modules/long Completed in 1927ms
npm timing metavuln:cache:get:security-advisory:@google-cloud/logging:q1eow6rMS+DRV+xhdoU3yWfxvPPIGogMzBy8CtYA3cMTWJqN9oz2zSdwchf+YfLHW49VDj8ez1LN8TKNXxbSKg== Completed in 13ms
npm timing metavuln:load:security-advisory:@google-cloud/logging:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 1ms
npm timing metavuln:calculate:security-advisory:@google-cloud/logging:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 14ms
npm timing metavuln:cache:get:security-advisory:google-gax:o866yo3FN+FvU123t6P//I/IA7RcvfHnvRAyRGbe064nIxq5CTPb/JV238lq20v7M3ioN+qUU/ZhvQeUWAV6wQ== Completed in 14ms
npm timing metavuln:load:security-advisory:google-gax:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 2ms
npm timing metavuln:calculate:security-advisory:google-gax:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 16ms
npm timing metavuln:cache:get:security-advisory:@google-cloud/common:bWGFf1i9nP0+vU1y4UWoLa6l7DzO0BEvS3PETbPz7xAoNny4vez7LpI4OsZVqi8Hv7yEO0Y0iq0AaVqhZFtmiA== Completed in 16ms
npm timing metavuln:load:security-advisory:@google-cloud/common:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 1ms
npm timing metavuln:calculate:security-advisory:@google-cloud/common:8IjEhWDh7pCBVn1aCRIh3L85SeTi99hsC4JT+l+9tAXu8buFjqZP0USGSWKVGLAeHtGeN3mY+RMEfniKqjZ2iA== Completed in 17ms
npm timing metavuln:packument:code-server Completed in 0ms
npm timing reifyNode:node_modules/code-server/node_modules/@mapbox/node-pre-gyp Completed in 1926ms
npm timing reifyNode:node_modules/code-server/node_modules/es6-promise Completed in 1942ms
npm timing metavuln:cache:get:security-advisory:code-server:QhlC3DoYBg2iydkjaNIL2kZNEf1iOqDyzuhaSzk3ywnogcrN8WjbYHkFv45nXSmow2EEcrYySoPRuWD1WBrvpg== Completed in 11ms
npm timing metavuln:load:security-advisory:code-server:Du2ucqT7/ROXJPCqX74RAypDaQZrUMVaBn2cDsC+cCr97ek2yZpi7oYiMUzoxFvGPJpnBuCGgwfq3PROnTBdPQ== Completed in 0ms
npm timing metavuln:calculate:security-advisory:code-server:Du2ucqT7/ROXJPCqX74RAypDaQZrUMVaBn2cDsC+cCr97ek2yZpi7oYiMUzoxFvGPJpnBuCGgwfq3PROnTBdPQ== Completed in 11ms
npm timing metavuln:packument:@google-cloud/common-grpc Completed in 0ms
npm timing reifyNode:node_modules/code-server/node_modules/async-listener Completed in 1935ms
npm timing reifyNode:node_modules/code-server/node_modules/@grpc/grpc-js Completed in 1940ms
npm timing reifyNode:node_modules/code-server/node_modules/tar-fs Completed in 1935ms
npm timing reifyNode:node_modules/code-server/node_modules/semver Completed in 1935ms
npm timing metavuln:cache:get:security-advisory:@google-cloud/common-grpc:Zok+A5qqo4XlSlDzGvibti7J4ge/esV9thjV9tlQiAjRt3E5ujFP5rn9j8xr9U3YrLIJQhHxUymaqM1OfmPSsQ== Completed in 8ms
npm timing metavuln:load:security-advisory:@google-cloud/common-grpc:bWGFf1i9nP0+vU1y4UWoLa6l7DzO0BEvS3PETbPz7xAoNny4vez7LpI4OsZVqi8Hv7yEO0Y0iq0AaVqhZFtmiA== Completed in 0ms
npm timing metavuln:calculate:security-advisory:@google-cloud/common-grpc:bWGFf1i9nP0+vU1y4UWoLa6l7DzO0BEvS3PETbPz7xAoNny4vez7LpI4OsZVqi8Hv7yEO0Y0iq0AaVqhZFtmiA== Completed in 8ms
npm timing reifyNode:node_modules/code-server/node_modules/source-map Completed in 1961ms
npm timing reifyNode:node_modules/code-server/node_modules/js-yaml Completed in 1944ms
npm timing metavuln:cache:get:security-advisory:@google-cloud/logging:eltiFFPO4H+Ud3eAv/SzKD5eBVS3YcBbgVX6SXurxFkmBBHa6u3jYMtPc6RDvh9nxmyJw7jVvV5PBq3a9o/G2w== Completed in 8ms
npm timing metavuln:load:security-advisory:@google-cloud/logging:Zok+A5qqo4XlSlDzGvibti7J4ge/esV9thjV9tlQiAjRt3E5ujFP5rn9j8xr9U3YrLIJQhHxUymaqM1OfmPSsQ== Completed in 0ms
npm timing metavuln:calculate:security-advisory:@google-cloud/logging:Zok+A5qqo4XlSlDzGvibti7J4ge/esV9thjV9tlQiAjRt3E5ujFP5rn9j8xr9U3YrLIJQhHxUymaqM1OfmPSsQ== Completed in 8ms
npm timing auditReport:init Completed in 1234ms
npm timing reify:audit Completed in 1978ms
npm timing reifyNode:node_modules/code-server/node_modules/socks Completed in 1973ms
npm timing reifyNode:node_modules/code-server/node_modules/nan Completed in 1965ms
npm timing reifyNode:node_modules/code-server/node_modules/fs-extra Completed in 1972ms
npm timing reifyNode:node_modules/code-server/node_modules/google-gax Completed in 1960ms
npm timing reifyNode:node_modules/code-server/node_modules/ast-types Completed in 1986ms
npm timing reifyNode:node_modules/code-server/node_modules/google-auth-library Completed in 1971ms
npm timing reifyNode:node_modules/code-server/node_modules/walkdir Completed in 1981ms
npm timing reifyNode:node_modules/code-server/node_modules/@types/node Completed in 2013ms
npm timing reifyNode:node_modules/code-server/node_modules/node-forge Completed in 2022ms
npm timing reifyNode:node_modules/code-server/node_modules/bytebuffer Completed in 2038ms
npm timing reifyNode:node_modules/code-server/node_modules/pem Completed in 2021ms
npm timing reifyNode:node_modules/code-server/node_modules/@opencensus/core Completed in 2046ms
npm timing reifyNode:node_modules/code-server/node_modules/@google-cloud/logging Completed in 2060ms
npm timing reifyNode:node_modules/code-server/node_modules/yarn Completed in 2062ms
npm timing reifyNode:node_modules/code-server/node_modules/grpc/node_modules/protobufjs Completed in 2113ms
npm timing reifyNode:node_modules/code-server/node_modules/protobufjs Completed in 2207ms
npm timing reifyNode:node_modules/code-server/node_modules/google-proto-files Completed in 2389ms
npm WARN deprecated<EMAIL_ADDRESS>This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.
npm timing reifyNode:node_modules/code-server/node_modules/grpc Completed in 2553ms
npm timing reifyNode:node_modules/code-server Completed in 2642ms
npm timing reify:unpack Completed in 2643ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 9ms
npm info run<EMAIL_ADDRESS>preinstall node_modules/code-server/node_modules/yarn :; (node ./preinstall.js > /dev/null 2>&1 || true)
npm info run<EMAIL_ADDRESS>preinstall { code: 0, signal: null }
npm timing build:run:preinstall:node_modules/code-server/node_modules/yarn Completed in 319ms
npm timing build:run:preinstall Completed in 320ms
npm timing build:link:node_modules/code-server Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/@mapbox/node-pre-gyp Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/@grpc/grpc-js/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/code-server/node_modules/@opencensus/core/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/code-server/node_modules/async-listener/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/code-server/node_modules/google-auth-library/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/code-server/node_modules/google-gax/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/code-server/node_modules/make-dir/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/code-server/node_modules/send/node_modules/mime Completed in 8ms
npm timing build:link:node_modules/code-server/node_modules/detect-libc Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/escodegen Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/esprima Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/js-yaml Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/google-p12-pem Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/mime Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/mkdirp Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/opencollective-postinstall Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/nopt Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/protobufjs Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/uuid Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/rimraf Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/semver Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/which Completed in 9ms
npm timing build:link:node_modules/code-server/node_modules/window-size Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/yarn Completed in 10ms
npm timing build:link:node_modules/code-server/node_modules/grpc/node_modules/protobufjs Completed in 193ms
npm timing build:link Completed in 198ms
npm info run<EMAIL_ADDRESS>install node_modules/code-server/node_modules/argon2 node-pre-gyp install --fallback-to-build
npm info run<EMAIL_ADDRESS>install node_modules/code-server/node_modules/grpc node-pre-gyp install --fallback-to-build --library=static_library
npm info run<EMAIL_ADDRESS>install { code: 0, signal: null }
npm timing build:run:install:node_modules/code-server/node_modules/argon2 Completed in 665ms
npm info run<EMAIL_ADDRESS>install { code: 0, signal: null }
npm timing build:run:install:node_modules/code-server/node_modules/grpc Completed in 2672ms
npm timing build:run:install Completed in 2692ms
npm info run<EMAIL_ADDRESS>postinstall node_modules/code-server ./postinstall.sh
npm info run<EMAIL_ADDRESS>postinstall node_modules/code-server/node_modules/argon2 opencollective-postinstall || true
npm info run<EMAIL_ADDRESS>postinstall node_modules/code-server/node_modules/protobufjs node scripts/postinstall
npm info run<EMAIL_ADDRESS>postinstall { code: 0, signal: null }
npm timing build:run:postinstall:node_modules/code-server/node_modules/argon2 Completed in 85ms
npm info run<EMAIL_ADDRESS>postinstall { code: 0, signal: null }
npm timing build:run:postinstall:node_modules/code-server/node_modules/protobufjs Completed in 69ms
npm info run<EMAIL_ADDRESS>postinstall { code: 0, signal: null }
npm timing build:run:postinstall:node_modules/code-server Completed in 13542ms
npm timing build:run:postinstall Completed in 13542ms
npm timing build:deps Completed in 16762ms
npm timing build Completed in 16763ms
npm timing reify:build Completed in 16764ms
npm timing reify:trash Completed in 1ms
npm timing reify Completed in 28259ms
npm timing command:install Completed in 28294ms
npm verb exit 0
npm timing npm Completed in 28501ms
npm info ok

stdout
(click to show)
added 357 packages, and audited 358 packages in 28s

9 packages are looking for funding
  run `npm fund` for details

10 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

Thanks for the logs! Nothing looks out of place there 🤔

If it does swallow the logs then moving to the install directory then
going to lib/vscode and running npm rebuild and posting those logs
might work.

Did you give this a try?

I just tried this:
cd /usr/local/lib/node_modules/code-server/lib/vscode
npm --loglevel verbose rebuild

You'll find the output logs (stderr + stdout) included in the footer of this comment. Nothing seems out of place here neither.
Are there any known fixes for related issues currently (i.e. related to the 500 VS Code failed to load. exited unexpectedly with code 0 error)?
output
(click to show)
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', '--loglevel', 'verbose', 'rebuild' ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm timing npm:load:whichnode Completed in 1ms
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 2ms
npm timing config:load:builtin Completed in 3ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/usr/local/lib/node_modules/code-server/lib/vscode/.npmrc Completed in 1ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/root/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 9ms
npm timing npm:load:configload Completed in 9ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 2ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 1ms
npm timing npm:load Completed in 19ms
npm timing config:load:flatten Completed in 3ms
npm timing arborist:ctor Completed in 1ms
npm timing build:queue Completed in 1ms
npm timing build:deps Completed in 1ms
npm timing build Completed in 2ms
rebuilt dependencies successfully
npm timing command:rebuild Completed in 34ms
npm verb exit 0
npm timing npm Completed in 263ms
npm info ok

Great! Now when you run code-server does it work as expected?

Are there any known fixes for related issues currently (i.e. related to the 500 VS Code failed to load. exited unexpectedly with code 0 error)?

Not that I'm aware. Usually that means vscode didn't build properly 🤔 cc @code-asher

Great! Now when you run code-server does it work as expected?

No, it still doesn't. I get exactly the same error as in the original post. I wonder what's going on. Pulling the image codercom/code-server:latest simply works out of the box, so my system configuration be different from what the software expects.

Argh, sorry that didn't work.
Hmm, well at least that works.
The other thing I can try to do is create a workspace on our enterprise platform using Alpine Linux v3.14 in the base image and then install code-server with the install script to see if that reproduces.

Yes thank you for those logs!
The npm rebuild output seems strange to me. It doesn't seem to have
actually rebuilt anything?  It says the postinstall
completed in 13 seconds which seems way too fast (for reference my
Alpine Docker container took 173 seconds).
As a random sampling here's what my spdlog build directory looks like:
/ # tree /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/spdlog/build
/usr/local/lib/node_modules/code-server/lib/vscode/node_modules/spdlog/build
├── Makefile
├── Release
│   ├── obj.target
│   │   ├── spdlog
│   │   │   └── src
│   │   │       ├── logger.o
│   │   │       └── main.o
│   │   └── spdlog.node
│   └── spdlog.node
├── binding.Makefile
├── config.gypi
└── spdlog.target.mk

4 directories, 8 files

Thanks for the feedback! Actually, I ran the scipt twice, the logs were from the second run (so the dependencies were probably already downloaded). I can fresh install over again and send the logs of the first run tomorrow.
I've encountered other issues recently related to my nvidia graphics drivers, maybe is this related. For instance, I cannot load opengl 3d scenes with either firefox or chromium, because alpine lacks native support for this kind of application, and I can't install the drivers because they seem to require glibc, where musl is instead installed by default.

Hmm interesting. Were you able to confirm that you have the same
spdlog file structure I do?
I think going into lib/vscode and running yarn from there might be
the next step.

Hello, I am on a void linux system with musl libc. I ran into the same issue. And rebuilding vscode did not help. I have the same file structure:
$ tree node_modules/spdlog/build
node_modules/spdlog/build
├── Makefile
├── Release
│   ├── obj.target
│   │   ├── spdlog
│   │   │   └── src
│   │   │       ├── logger.o
│   │   │       └── main.o
│   │   └── spdlog.node
│   └── spdlog.node
├── binding.Makefile
├── config.gypi
└── spdlog.target.mk

I looked at how vscode gets forked, and I did notice something worthy of noting here, the fork.js actually uses bootstrap-amd.js. And indeed I am on a machine with an AMD cpu.

I tried on Alpine and it worked. I followed
https://github.com/cdr/code-server/blob/main/docs/npm.md#alpine but I
had to additionally install python3 and I used yarn to set the config
option instead of npm.
docker run --rm -it -p 8080:8080 alpine sh
ldd --version # Confirm musl
apk add alpine-sdk bash libstdc++ libc6-compat yarn python3
yarn config set python python3
yarn global add code-server
code-server --host <IP_ADDRESS> --auth none

From there I went to localhost:8080 in my browser and made sure the
terminal worked (which it did).

Unfortunately that did not work for me.

Still the same 500 error.

Is it possible to package your working version and upload it? Would it help at determining whether it is some sort of build-time error or run-time error?

Okay so I tried again and it all worked. The key for me was to do everything on the root user, have both npm config and yarn config set, and I also took a peek at the libc6-compat package from alpine, the package sets a few symlinks and I have also done that.
I can now run the server with my non-root user, the terminal also works. Thank you for the information!

Hooray! I'm going to close this out sine we haven't heard from @lebel-louisjacob and we've confirmed it works.


rootOutput

Image don't zooming, when options rootOutput: false and image container is not static (relative for example).

Will check it today, thanks. Then will let you know.


Landing Page Containers & Navbar

@toreylittlefield Torey - the last 3 containers on landing page
@EugeneGohh Eugene - navbar and the 2 containers (landing page)
As per our conversion today
Status of the landing page:

[x] Navbar
[x] First container
[x] Second container
[x] Third container (need minor fix but completed)
[x] Fourth container
[x] Footer

@toreylittlefield Torey - the last 3 containers on landing page
@EugeneGohh Eugene - navbar and the 2 containers (landing page)
As per our conversion today

Hey, just to give you an update. I am making the footer.

@toreylittlefield Torey - the last 3 containers on landing page
@EugeneGohh Eugene - navbar and the 2 containers (landing page)
As per our conversion today

Hey, just to give you an update. I am making the footer, I will make a new branch for it.

I am closing this issue now.


Confetti duration

To make the confetti explosion duration work, we need to let the calling component handle the timeout and, consequently, remove the useEffect inside the component.
Currently, even when setting a number in the duration option, it doesn't alter the confetti explosion duration.
I can create a Pull Request to modify this behavior and allow the parent component to handle the timeout if you wish!

Hey Romain , I would love that. As you know, my intention is to help other people but my knowledge not always help haha 😄


I just want to ask what is the theory or method behind the HOG based model,is it combined with some machine learning method?

face_recognition version:
Python version:
Operating System:

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Yes, you can find the paper here: https://arxiv.org/abs/1502.00046


Added compiler options for Caltech central cluster, modified deprecated function

Added compiler options for Caltech central cluster, tested and working for Python 3.7 (virtual environment).

@ilopezgp  - Looks great! Could you add somewhere (Readme, wiki or a comment) what modules one has to load on central to make it work?


Purescript 0.9 update

Apparently this also requires a new release of purescript-css (I haven't bumped its version in bower.json)

@berdario There's a new release of purescript-css out!

Awesome, now travis builds successfully as well

Thanks! Is there a need to bump up purescript-psa or other bower / npm dependencies?

Not sure
Not that I'm aware of... But I'm extremely new to Purescript
Sent from mobile. Please excuse my brevity.

purescript-psa is fine at this version :+1:


CreateTearsheet: Stacking enhancements

The Create Tearsheet component should support the stacking laid out in Tearsheet.

@sydrosa  Hmm, I'd expect stacking to work for CreateTearsheets automatically. Did you find something that didn't work?

This is now fixed.


Update create market form with new fields and liquidity step

The logic is located in /src/modules/create-market
Part of this issue will be to implement the new generateOrderBook function jack added as an action: https://github.com/AugurProject/augur.js/blob/master/src/index.js#L854
Part will be to update the create-market-form selector

TODO:

[ ] Update create-market-form selectors
[ ] Implement generateOrderBook

PR #652 resolved this issue.


Implementation with Flutter

How is using flutter?
https://flutter.io/

This is a good idea! I don't know if anyone plans to develop it, please add me.

Flutter can be an interesting and easy way to maintain the two apps easily.

React native give same functionality

React native give same functionality

React Native is messier, slower and harder to maintain. Flutter works on every platform including Web.

I would be willing to help porting it to Dart.


[MB-16384] Authz check for Moving Expense creation endpoint

Jira ticket
Summary
This PR ensures that POST requests to /ppm-shipments/{ppmShipmentID}/moving-expenses, the internal endpoint to create moving expenses on a PPM shipment, returns a 404 error if the shipment's service member does not match that of the logged-in user.
Note that this closely matches the update to the pro-gear weight ticket endpoint on this PR; to match as closely as possible, I updated the moving expenses endpoint to return a 201 (successfully created) rather than a 200, as it did before, which seems a more appropriate status. The check is also done at the service object level, rather than in the handler.
How to test

Find an approved PPM Shipment, or create one:

Sign into the customer app and create a move with a PPM shipment
Sign into the office app as a service counselor in the same gbloc
Find and approve the shipment created in step 1

Note the ID of the PPM shipment.
Authenticate in Postman as a customer other than the one above. Note that the X-CSRF-TOKEN header should be set to the value of the masked_gorilla_csrf cookie.
Send a POST request to /ppm-shipments/{ppmShipmentId}/moving-expenses, with the ID noted above as the ppmShipmentId.
The response should error with a 404; the response would be a 200, with the expense created on the PPM, without this change (on main).
Server tests should pass.

Messages

:book:
:link: MB-16384

  Generated by :no_entry_sign: dangerJS against 50a28c6db84c783f3a5e80d82f824e623bb0e7e4