Failing to run user_creation collection

Discussed in https://github.com/egovernments/Digit-Core/discussions/45

Originally posted by TechServ2022 July 18, 2022

DIGIT Vesrion - 2.6
Attempting Full Installation.
Installation with AWS.
Documentation link - https://docs.digit.org/v/v2.6/setup/install-on-cloud/on-aws/7.-bootstrap-digit
Step Number 7, section 2.
Ubuntu version 18.04.
EC2 - m4x.large 7 instances

Issue:
While running the user_creation collection in postaman, when running the accessToken_genration API.
It brings the Error: getaddrinfo ENOTFOUND quickstart.local.digit

Then in the body section, I changed the value from quickstart.local.digit to my.stcldigit.com (my domain)
It brings a JsonError as stated JSONError: Unexpected token '<' at 1:1^

There seems to be some problem when copying cURL from git discussion board. I have pushed the same cURL on this link cURL. Please copy from here.(Modify the host in the cURL as per the setup)


broken help link in SETUP.md

The help pages got moved as a result the link (http://help.exercism.io/getting-started-with-ruby.html) in the SETUP.md (which is included in the generated README for every exercise) is broken. I guess the new link is: http://exercism.io/languages/ruby

Are you up for doing a pull request for this to fix this?


Add CLI Support for Setting Temperature in ollama run

I would like to request the ability to set the temperature parameter directly from the command line when running models using the ollama run command.

https://github.com/ollama/ollama/issues/5362

Thanks for the issue @Bakht-Ullah . You can use /set parameter in the CLI. For a list of parameters you can set you can type /set parameter.


Mac Version

Hey. I've compiled mac versions of your Rack modules if you wish to add them to your release page.
solmods-0.5.1-mac.zip

thank you, I will see about that later today :)


i cant connect to ps move sevrice

the code keeps saying the machine is activly decling me

Run the admin version maybe ?

i have the same problem. it worked fine some days ago but now it wont connect to ps move service even in admin mode. i launch it in admin mode and it apeares for a spit second and then disapears.


[Infra] Print state of invalid assertion to help identify cause of flake

Context

Nightlies reporting more Crashlytics flakes from over the weekend (#11012).
Could not reproduce but adding some logging to better understand the failures.

#no-changelog

Welp, the SPM test succeeded, but the CP lint failed. And, unfortunately, the CocoaPods output truncated the debug statement so we still don't know.

Merging as I'm sure the SPM will fail again one night.

First run tonight flaked: https://github.com/firebase/firebase-ios-sdk/actions/runs/4538570485/jobs/7997599843.
Both the catalyst and spm_catalyst runs had the same flake.  I'll do a retry.
FIRCLSContextManagerTests
  test_settingSessionIDOutOfOrder_protoHasLastSessionID, ((adapter.identity.app_quality_session_id) equal to (TestContextSessionID2)) failed: ("(null)") is not equal to ("TestContextSessionID2")
  /Users/runner/work/firebase-ios-sdk/firebase-ios-sdk/Crashlytics/UnitTests/FIRCLSContextManagerTests.m:116

  XCTAssertEqualObjects(adapter.identity.app_quality_session_id, TestContextSessionID2);
}


perf: rewrite skip function

Rewrite skip function using loops and fast skipping for fixed-length types
Motivation
Improving the performance of the skip function.
Solution
Using loops and fast skipping for fixed-length types.
cargo bench result(the old version is baseline):
 Thrift Binary Skip Bench/binary_unsafe skip list<i32>
                        time:   [32.492 ns 32.665 ns 32.859 ns]
                        change: [-93.907% -93.787% -93.682%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
  4 (4.00%) high mild
  3 (3.00%) high severe

Thrift Binary Skip Bench/binary_unsafe skip struct
                        time:   [342.44 ns 346.33 ns 350.27 ns]
                        change: [-6.1207% -4.4530% -2.6464%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  5 (5.00%) high mild
  5 (5.00%) high severe

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


Great work! Do you mind adding the sieve-cache hashtag?

Great work! Do you mind adding the sieve-cache hashtag? Sieve hashtag is also used for other purposes. Having a unique hashtag will help users find this library much easier. Thank you!

Thank you! And done!


Last used preset load / save not working properly

Presets are not loading properly #14 but even the last used preset that the app saves and loads automagically isn't working either :open_mouth:

fixed in 0e13af034bcf6918dc9838a6810f8cff14bcc435

Still doesn't work because apparently recycler view returns null for items not currently visible

fixed in 29cbf82


Fix Furo for jupyter-sphinx & sphinx-copybutton

Closes https://github.com/Qiskit/qiskit_sphinx_theme/issues/306.
This also removes box shadows and rounded edges, per the rationale in https://github.com/Qiskit/qiskit_sphinx_theme/pull/399.

Oops. I'm too tired. I forgot to open this on upstream.


Add loader in SearchFeed

Closes #30

@kailashchoudhary11 please reindent the code with 2 spaces not with tab. Because this is the code standard used all over the codebase.


Screen grab is not correct

The screen grab of where the purge button is located is not correct. It's on the Front Door Designer tab now.

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

ID: 91ae4d86-3843-4e48-c1ce-625ee1fb0971
Version Independent ID: 4e736e00-6d2d-70b4-5add-36a539853c1c
Content: Cache purging in Azure Front Door Standard/Premium (Preview)
Content Source: articles/frontdoor/standard-premium/how-to-cache-purge.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

@nicenoam , thank you for your feedback. We'll review this and get back to you shortly!

@nicenoam , the screen shot for Purge button is correct in this doc as this is documentation is for Azure Front Door Standard/Premium (Preview) and not Azure Front Door (classic/old).
I confirmed it in my lab by deploying an Azure Front Door Standard/Premium (Preview):

For more information on Azure Front Door (classic/old), please refer the below doc:
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-overview


Live website not working. Returns 500 on clicking start button

@marcosnils Im still getting 500. Is this wrong channel  to report the issue ?


Specification

use after_render callback.
convert :emoji: to img tag

if the project had images/emoji/* files, use this.
if the project had not images/emoji/* files, use https://assets.github.com/images/icons/ path.

provides middleman emoji command.

copy images to app.config.images_dir from gemoji library.

completed.


All links on the Migration Guidance page are broken: https://docs.microsoft.com/en-us/dotnet/framework/windows-workflow-foundation/migration-guidance

All links on this page are broken. They all point to https://docs.microsoft.com/en-us/previous-versions/appfabric/ff383417(v=azure.10)

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

ID: 77d3b2e5-1866-c0ca-a625-ebae749ab474
Version Independent ID: 33c6691e-07cd-e76a-f9b7-08642d3a5724
Content: Migration Guidance
Content Source: docs/framework/windows-workflow-foundation/migration-guidance.md
Product: dotnet-framework
Technology: dotnet-wf
GitHub Login: @gewarren
Microsoft Alias: dotnetcontent

@erwanh1112 Thanks for letting us know!


Moment date parsing is incorrect when using custom format "ddd MMM DD YYYY H:mm:ss GMTZ"

I'm using moment and moment-parseformat (strict mode) in Node.js environment
steps to reproduce:
var x = "Thu Feb 04 2016 16:14:40 GMT+0700";
var format = parseFormat(x);
console.log(moment(x,[format],true).format());

executing the following will produce the error: Invalid date
my environment :
console.log( (new Date()).toString())
Tue Mar 28 2017 16:32:48 GMT+0700 (SE Asia Standard Time)
console.log((new Date()).toLocaleString())
3/28/2017, 4:32:48 PM
console.log( (new Date()).getTimezoneOffset())
-420

Thanks,

I'm not sure how to follow those steps to reproduce. Can you replace parseFormat(x) with its return value?

This is the output of parseFormat(x) - ddd MMM DD YYYY H:mm:ss GMTZ
It is very easy to reproduce it,
create a new file with this content:
var moment = require('moment');
var parseFormat = require('moment-parseformat');

var x = "Thu Feb 04 2016 16:14:40 GMT+0700";
var format = parseFormat(x);
console.log(format);
console.log(moment(x,[format],true).format());

and run this in the terminal after changing directory to the same folder where the above content reside:

$ sudo npm install  moment moment-parseformat

I would expect that running this will work and not produce Invalid date

The parsing format is incorrect. "GMT" is a literal, not a series of tokens (G = ISO week year, M=month, T = ?), so it can't parse that. It's often helpful to use parsingFlags to see what went wrong:
moment(x, "ddd MMM DD YYYY H:mm:ss GMTZ", true).parsingFlags()

Anyway, changing the format to this works:
moment(x, "ddd MMM DD YYYY H:mm:ss [GMT]Z", true).isValid() // => true

It sounds like there might be a bug in the moment-parseformat plugin that causes it to return the wrong string? I'm pretty unfamiliar with how it works or what guarantees it makes, which is why I wanted to cut it out of the steps to reproduce. I recommend filing a ticket there.


Script to convert link text to HTML

When people enter links in our form, they show up as plaintext on index.html by default, not clickable links.
Google Sheets is able to recognize link text and often creates links in the cells if that's the only text there (but it seems not to if there is other text around it, which is the case about 50% of the time). However this also doesn't translate to live links on the site.
For now, I am going through searching the sheet for "http" or "www" or even just ".edu" ".com" ".org" "bit.ly" and then manually adding the <a tags myself and testing the links.
Is there a way to automate this process?

I'm looking into doing this with https://www.npmjs.com/package/linkifyjs

This seems to be working well, thanks everybody! :)


Namespace is hardcoded

Hi,
I have modified the cert-manager-route to match the namespace where my cert-manager was installed but the application failed to work and create the certs for routes.
When I checked the logs of the pod I saw that it kept searching for  namespace cert-manager, although it is running in a different namespace.
E1115 17:39:54.701737 1 leaderelection.go:334] error initially creating leader election record: namespaces "cert-manager" not found
I1115 17:39:54.701755 1 leaderelection.go:253] failed to acquire lease cert-manager/cert-manager-openshift-routes
I1115 17:39:56.786822 1 shared_informer.go:285] caches populated

I'm getting this same error.  Is there a workaround?


add --password option to profile create and profile update commands

This PR allows the password to be passed on profile creation and update commands, bypassing the interactive prompt.

@timabrmsn will the new --assume-yes work with the prompts that:

ask to save your password
ask to fall back to a flat file as the method of password storage?

will the new --assume-yes work with the prompts that:

ask to save your password
ask to fall back to a flat file as the method of password storage?

No, the @yes_option has not been added to profile create, as the --password flag does the bypassing of the password prompt (I just merged those changes in here).
That means the flat file fallback prompt has to be handled interactively. Do you think we need the -y option for that?

@timabrmsn having password handle that makes perfect sense. I don't think having yes_option play nice with the fallback prompt is super important, I was more just curious.


Add SSL in Cassandra Query task to support AWS Amazon Keyspaces

Feature description
Feature description
context: I am trying to get data from Cassandra (aws keyspace) using kestra.
For Astradb we have a secure connection way:
id: "query"
type: "io.kestra.plugin.astradb.Query"
session:
  secureBundle: /path/to/secureBundle.zip
  keyspace: astradb_keyspace
  clientId: astradb_clientId
  clientSecret: astradb_clientSecret
cql: SELECT * FROM CQL_TABLE
fetch: true

but for cassandra we don't have it, anything like secure-connection/ssl etc.:
id: "query"
type: "io.kestra.plugin.cassandra.Query"
session:
  endpoints:
    - hostname: localhost
  username: cassandra_user
  password: cassandra_passwd
cql: SELECT * FROM CQL_KEYSPACE.CQL_TABLE
fetch: true

it would really help if we could get something like SSL to enable secure mode connection.
right now we are not able to connect aws keyspace(Cassandra) using "io.kestra.plugin.cassandra.Query"
Thanks

@vKrypto let me know if I'm wrong, but #45 close this


Fix Uncaught TypeError: $(...).catalogAddToCart is not a function issue

This PR fixes issue described in #24

@gsomoza could you review this PR?

The code looks good and makes sense too. Were you able to confirm this against a clean M2 installation with this plugin? If so then we'll merge directly (otherwise we'll have to test that ourselves, which might take a bit).

@gsomoza sure, I just installed module and on category page got this issue (merge of js is disabled, developer mode enabled)

Ok but it sound like we'll have to quickly test on a clean Magento install just in case. I'm 99% sure it will work, but we need to do that just to be 100% sure.
Thanks a lot for the pull request!  We'll try to merge it ASAP.

@damian-pastorini could you please assign this to Juan or Vitaly? (or if you find the time you can do it yourlself if you want)


fix lightning module resolution

Description
This reverts the revert of #1521. It aims to fix the module resolution we're seeing when locating .proto files for lightning by locating them before webpack runs and storing them in an environment variable LIGHTNING_MODULE_PATH.
After spending most of the day trying to write my own version of nextjs's module resolution, I realized we were just using tsx weirdly by making modules of our own directories. Not doing that allows require.resolve to work in worker and avoid some of the weird tricks we used to deal with CJS deps in the worker.
I still need to test if this works in production, but it should because require.resolve - when not using webpack - returns an absolute path.

The commonjs/esm stuff in nodejs is an abomination! :) I have no idea why the community never managed to solve it.


Strange problem connecting to a local Bitcoin Core

Hello,
I installed Sparrow 1.6.3 on a fresh Windows 10 computer, after I installed Bitcoin Core and did a full sync with the ledger.
I configured Sparrow to connect to the Bitcoin Core, and it worked perfectly at first, I was able to do a few transactions.
But then a strange problem occurred :

When I launch Sparrow, it connects to Bitcoin Core without problem (the dot in the lower right corner is green, and the message "Connected to http://127.0.01:8332 at height XXXXXX" is displayed)

But when I open one of my wallets, suddenly I get the message "Connection failed: Server Error (Check if Bitcoin Core is running...)", and it is impossible to toggle the dot in the lower right corner to the "connected" status

BUT when I go to the server settings in the Preferences, and I click on "Test Connection", it works ! I get a green mark, and the message :

`Connected to bwt v0.2.4 on protocol version 1.4
Server Banner:
██████  ██     ██ ████████
██   ██ ██     ██    ██
██████  ██  █  ██    ██        █▀▀█   █▀█    █▀█
██   ██ ██ ███ ██    ██    █ █ █  █    ▄▀   █▄▄█▄
██████   ███ ███     ██    ▀▄▀ █▄▄█ █ █▄▄ █    █
／Ｓａｔｏｓｈｉ：２２．０．０／
🗄 ᴀʀᴄʜɪᴠᴀʟ 🗣 ᴍᴇᴍᴘᴏᴏʟ ʀᴇʟᴀʏ 🙉 ɴᴏʟɪsᴛᴇɴ
 NETWORK: 🌐  ᴍᴀɪɴɴᴇᴛ

CONNECTED: 💻  10 ᴘᴇᴇʀs
UPTIME: ⏱  3 ᴍɪɴs
BANDWIDTH: 📶  85.4 ᴍʙ 🔼  4.1 ɢʙ 🔽 (24ʜ ᴀᴠɢ)
CHAIN SIZE: 💾  454.5 ɢʙ
HASHRATE: ⛏  207.0 ᴇʜ/s (7ᴅ ᴀᴠɢ)

DIFFICULTY: 🏋  28.6 ᴛ (ʀᴇ-🎯  ɪɴ 3 ᴅᴀʏs ⏳)
REWARD ERA: 🎁  6.25 ʙᴛᴄ (½ ɪɴ 25 ᴍᴏɴᴛʜs ⏳)
LAST BLOCK: ⛓  731250 ／ 4 ᴍɪɴs ᴀɢᴏ ／ 4.0 ᴍᴡᴜ ／ 2.8ᴋ ᴛxs
Fᴇᴇ ʀᴀᴛᴇ 3-9 ／ ᴀᴠɢ 7 ／ ᴛᴏᴛᴀʟ 0.077 ʙᴛᴄ
MEMPOOL: 💭  272.3 ᴠᴋʙ ／ 629 ᴛxs ／ ᴍɪɴ Fᴇᴇ ʀᴀᴛᴇ 1
FEES EST: 🏷  20 ᴍɪɴs: 4 ／ 4 ʜᴏᴜʀs: 1 ／ 1 ᴅᴀʏ: 1
SUPPORT DEV: 🚀  bc1qmuagsjvq0lh3admnafk0qnlql0vvxv08au9l2d ／ https://btcpay.shesek.info
`
Do you have any idea how I could solve this problem ? :)

Are you opening a Taproot wallet? Unfortunately there are changes still required in upstream projects to support Taproot when connecting to Bitcoin Core.

Are you opening a Taproot wallet?

Yes I had to, because I was sending money from an old wallet that doesn't support native Segwit addresses.

Unfortunately there are changes still required in upstream projects to support Taproot when connecting to Bitcoin Core.

So does it mean I cannot spent the money I received on this Taproot address ?

If you use a private or public Electrum server, it will work fine. Taproot support with Bitcoin Core will hopefully land soon.

If you use a private or public Electrum server, it will work fine. Taproot support with Bitcoin Core will hopefully land soon.

Hello, just coming back for an update. Does Taproot support with Bitcoin Core now work ?

Hello, just coming back for an update. Does Taproot support with Bitcoin Core now work ?

Yes


Tentacle Cloner Doesn't Handle trailing slashes

When presented with a trailing slash for a URI, https://<IP_ADDRESS>:10933/, the tentacle cloner doesn't like that and can't match appropriately.

Closed in PR #41


unfinished vue syntax output in browser

So I am new to Vue and to vue-material ...and I am testing with vue-material however I noticed that there is  unfinished vue syntax output in browser so I used v-cloak to solve the problem but now I have another problem which is the styling of the  vue-material components takes a couple of seconds before rendering to view  so how can I solve that

You can't solve. You can only mask it. In fact this is not a problem. You can add a spinner to your page with a backdrop element. And when your application is fully loaded you can remove it.


Add built-in support for intervals with date, time types

Add built-in support for intervals with date, time types

implemented


Transfer speed over a 10Gig network caps out at 600mb/s

I can use explorer to copy a steam folder from my SSD to my NAS at around 600MB/s or 4.8gb/s but whenever I try use SLM to move them it caps out at 600MB/s. This is copying to a network share.

Sweet, Ill test it when I get home if its been released :)

This should be only applies if you are compressing the game and i haven't seen you mentioned that.
I can add an option to let you easily select compression method if needed for the next versions.

Right. I also just realized that my original message had a typo in it as the speed when using SLM is 600mb/s not MB/s

@RevoLand If you could add a Compression Level selector, that would be great!

@Vykyan
Implemented with commit 985c4bb . Thank you for the suggestion!
@Inrixia
Can you contact with me over Steam or Discord so we can test stuff like different buffer size or a different file movement method etc whenever you are free? Thanks.

@RevoLand Wow, thanks mate, so fast!

Idm the delay :) I'm currently away from home for two weeks though so I'll test it when I get back. Thanks for continuing to support this btw <3

Oh and I just realised I didn't get notified for your previous message to me so rip... I'd be happy to chat if that version doesn't work.


Support Configuring Arrow RecordBatch Writers via SQL Statement Options

Which issue does this PR close?
Closes #7322
Closes #7298
Rationale for this change
Currently, the only way to configure how files are written out as a result of INSERT or COPY statements is via session level configuration. Additionally, string parsing of some special arbitrary SQL statement options are handled in various places in DataFusion on an adhoc basis (such as the current per_thread_output setting in COPY ).
This PR aims to consolidate logic for parsing arbitrary SQL statement options and support reuse of code, including in downstream systems which may choose to support their own special arbitrary options.
What changes are included in this PR?

Move existing parquet setting string parsing logic to datafusion-common
Create abstractions to make working with tuples of arbitrary string options easier
Create a new DataFusionError type for unsupported options
Implement string parsing logic for CSV and JSON settings
Support writing compressed CSV and JSON files (this one is a DataFusion specific write option)
Rename per_thread_output option to single_file_output as I believe this is less ambiguous in DataFusion (DuckDB uses the per_thread_output option, but the reference to threads doesn't really make sense in DataFusion). This also makes more sense in a table context where a listing table can be backed by a single file or not.

An example of a new query supported by this PR:
COPY source_table TO
'./table'
(format parquet,
single_file_output false,
compression 'zstd(10)');

Notable work that is important for follow ons

Support these options in the DataFrame::write_* functions without requiring passing of strings (current thinking is to allow passing a fully formed writer builder object directly).
Improve test coverage of various combinations of write options.

Are these changes tested?
Yes, via existing tests and some new ones. However, there is now a very large number of possible option combinations. We may want to implement some dynamic test case generation framework to ensure no specific combination of options will fail.
Are there any user-facing changes?
Yes, writes now support most options that the various arrow writers support via SQL statements. The primary exception right now is column specific parquet options (i.e. setting an encoding for only 1 column). Additional work will be needed to support that.

Yes, via existing tests and some new ones. However, there is now a very large number of possible option combinations. We may want to implement some dynamic test case generation framework to ensure no specific combination of options will fail.

FWIW I don't think it is necessary to test all the combinations -- that is largely tested upstream in the arrow writer so testing in DataFusion that all the plumbing is hooked up correctly is likely the most important thing

I also took the liberty of merging this branch to main to resolve a conflict (I am so excited to see this feature almost ready!)

Thank you for the review @alamb! All of your suggestions make sense. I plan to get to updating this pr and adding some additional test cases within the next few days.
I also noticed your local test took 23s to execute. I am hoping to (finally) get to improving that performance soon!

I also noticed your local test took 23s to execute. I am hoping to (finally) get to improving that performance soon!

thank you for all your help!

Let me know if you need help finishing up this PR @devinjdangelo  -- I am on vacation this week so I can focus my energy and reviews on things I think are the most interesting -- and this is one of them!

Thanks @alamb! I just pushed up some updates addressing review comments and adding a few more tests. The main thing remaining is unit tests which set options via a StatementOptions struct and inspect the resulting FileTypeWriterOptions to ensure the settings actually were set as expected. The current sqllogictests are only ensuring that passing the option does not result in an error, not that the setting actually had an effect on the underlying RecordBatchWriter.
I expect to get back to work on unit tests later today (after 5pm EST).  Feel free to take a crack at it before I get to it (or just enjoy your vacation)!
Also noticed many clippy warnings locally unrelated to the changes in this PR. I believe that is related to the clippy updates upstream, so may just need to merge main again.

I pushed up some unit tests. The CSV option parsing unit test cannot validate options were set properly on csv::WriterBuilder since actually none of its properties are externally readable. We should update this unit test when https://github.com/apache/arrow-rs/issues/4735 is closed out.
Also, solving my local clippy errors was as simple as running rustup update.


Labels overlapping title

I see the labels here are overlapping the titles fixed on the left-hand side It's apparently not so with the demo

Hi @aderito7 can you provide us a codepen with the issue?
Did you import the stylesheet as well?

There is one stylesheet under dist
<link href="node_modules/d3-timeline-chart/dist/timeline-chart.css" rel="stylesheet">

and I have this included

So can you provide a jsfiddle or a codepen with the issue?

I just can't find a CDN for this project, however I can give you that I use this....
var schedules = [[{"employee":"Batman","client":"Lex Luthor","project":"Save Earth","schedule":{"from":"2016-03-10T07:18:05.960Z","to":"2016-08-20T07:18:05.960Z"}}],[{"employee":"Wonder Woman","client":"The Daily Dispatch","project":"Hero Academy","schedule":{"from":"2016-05-11T07:18:05.973Z","to":"2016-07-12T07:18:05.973Z"}}],[{"employee":"Wonder Woman","client":"Wayne Enterprise","project":"Deflect Meteor","schedule":{"from":"2016-04-08T07:18:05.976Z","to":"2016-06-26T07:18:05.976Z"}}],[{"employee":"Wonder Woman","client":"Mars Corp","project":"Make Mars Inhabitable","schedule":{"from":"2016-05-12T07:18:05.976Z","to":"2016-07-13T07:18:05.976Z"}}],[{"employee":"Wonder Woman","client":"Lex Luthor","project":"Save Earth","schedule":{"from":"2016-03-30T07:18:05.977Z","to":"2016-07-06T07:18:05.977Z"}}],[{"employee":"Cat Woman","client":"Mars Corp","project":"Make Mars Inhabitable","schedule":{"from":"2016-03-12T07:18:05.977Z","to":"2016-08-16T07:18:05.977Z"}}],[{"employee":"Cat Woman","client":"Lex Luthor","project":"Save Earth","schedule":{"from":"2016-03-05T07:18:05.977Z","to":"2016-08-02T07:18:05.977Z"}}],[{"employee":"Supergirl","client":"Mars Corp","project":"Make Mars Inhabitable","schedule":{"from":"2016-05-01T07:18:05.978Z","to":"2016-07-09T07:18:05.978Z"}}],[{"employee":"Supergirl","client":"Lex Luthor","project":"Save Earth","schedule":{"from":"2016-04-26T07:18:05.978Z","to":"2016-09-04T07:18:05.978Z"}}]];

let data = [],
            obj = {};

        schedules.forEach((schedule) => {
           var key = schedule[0].employee,
               times = schedule[0].schedule;
           if (!obj[key]) {
               obj[key] = {
                   label: key,
                   data: []
               };
           }
           obj[key].data.push({
               type: TimelineChart.TYPE.INTERVAL,
               from: new Date(times.from),
               to: new Date(times.to),
               label: schedule[0].project,
               fill: colorScale
           })
        });

        for (var key in obj) {
            data.push({
                label: obj[key].label,
                data: obj[key].data
            });
        }
        let timeline = new TimelineChart(parent[0], data, {

        });

So, I tried this here http://codepen.io/grillorafael/pen/Yqzzrz and the issue is not happening. What's happening is that you have multiple elements overlaping each other times and the labels gets mixed.
Check if I managed to replicate your code properly.

The issue is not present on that codepen, however I fail to see what is being done different.

Is there any other styles being imported? Is scripts running?
On Thursday 3 March 2016, aderito7<EMAIL_ADDRESS>wrote:

The issue is not present on that codepen, however I fail to see what is
being done different.
—
Reply to this email directly or view it on GitHub
https://github.com/commodityvectors/d3-timeline/issues/7#issuecomment-191625220
.

I've included this library into a rather large project. I have semantic ui and angular 2 running. I haven't written any stylesheets of my own. I now see that the code itself does in fact work. I will look deeper into it myself and hopefully figure it out

I see. One thing that might be the issue is that this is being clipped by
an svg clip path, which is relative to the current svg element unless you
are using a meta base then it would look at base#clippathreference.
Can you check if this might be the issue?
On Thursday 3 March 2016, aderito7<EMAIL_ADDRESS>wrote:

I've included this library into a rather large project. I have semantic ui
and angular 2 running. I haven't written any stylesheets of my own. I now
see that the code itself does in fact work. I will look deeper into it
myself and hopefully figure it out
—
Reply to this email directly or view it on GitHub
https://github.com/commodityvectors/d3-timeline/issues/7#issuecomment-191632535
.

Hi @aderito7. Any news on that?

I will close this. The library works fine, just an issue with my other items I haven't been able to identify which causing the issues. Thanks


Extension PlatformIO IDE doesn't work

code-server version: 1.33.1
OS Version: Docker, self hosted on Unraid
Extension: PlatformIO IDE

Description
I Can install the PlatformIO IDE but the extension doesn't load, am i missing something?
Steps to Reproduce

Open Extensions
Search for PlatformIO
Install
No PlatformIO Home, no Toolbar,... is visible nor can i compile anything (in settengs you find PlatformIO IDE)

any updates on this?

Hi,
I'm waiting for working PlatformIO on code-server as well...

I'm waiting for working PlatformIO on code-server too.

It should be fixed with the new extension stuff.

Doesn't work in my case, installed PlatformIO again and won't load.

So do I.
PlatformIO doesn’t work

Воскресенье, 16 февраля 2020, 21:56 +03:00 от ich777<EMAIL_ADDRESS>
Doesn't work in my case, installed PlatformIO again and won't load.
—
You are receiving this because you commented.
Reply to this email directly,  view it on GitHub , or  unsubscribe .

WBR,
Vladimir Shumilov

Let's leave until it's confirmed to be fixed.

Hi, guys.
Could you fix this please. We realy waiting for.

Taking a look now.

Found the fix. Working on it now!

Extension has been fixed! It might be cached for a bit, so if it isn't working in a few hours let us know.

🎊

Nice @kylecarbs!

PlatformIO doesn't properly use the hostname. It defaults to localhost:8010. One solution is port forwarding 8010 to your local machine.

@kylecarbs The container get's is own IP assigned inside a custom network mode and all the ports should be available but even when i connect with the IP and port 8010 i can't establish a connection or do i understand something wrong?

I am having issues getting PlatformIO to work on code-server too.
Here is my Dockerfile:
FROM codercom/code-server:3.0.1

USER root

RUN apt-get update && apt-get install -y python3 python3-distutils \
	&& rm -rf /var/lib/apt/lists/*

USER coder

ENTRYPOINT ["dumb-init", "fixuid", "-q", "/usr/local/bin/code-server", "--host", "<IP_ADDRESS>", ".", "--auth", "none"]

And my docker-compose.yml:
version: '3.3'
services:
    code-server-platformio:
        image: r0zzy5/code-server-platformio
        ports:
            - '8080:8080'
            - '8010:8010'
        volumes:
            - './src:/home/coder/project'

I then install PlatformIO from the Extensions menu and it appears to install correctly.  But when I have restarted code-server, I get the following instead of the PlatformIO Home window:

Any suggestions on how to fix?

@r0zzy5 seems like port 8010 might not be forwarding properly, or PlatformIO isn't properly starting.
Try viewing the logs for PlatformIO in the debug panel, and open up your console and show any errors that appear as well please!

@kylecarbs i think you missunderstand the problem, we run the docker service (on which code server runs) not on the local machine we run it on a remote machine which we connect to and there lies the problem localhost lets day from my machine <IP_ADDRESS> is not the same as from the server we run it on <IP_ADDRESS>.
Because PlatformIO tries to connect to <IP_ADDRESS> and on my local machin this means <IP_ADDRESS> but there isn't the platform io service running it's running on <IP_ADDRESS>

@kylecarbs this is the only kind of log or debug information I can find:
[2020-03-10 19:24:06.587] [exthost] [info] extension host started
[2020-03-10 19:24:06.631] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2020-03-10 19:24:06.632] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/debug-auto-launch/dist/extension
[2020-03-10 19:24:06.639] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":true,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"*"}
[2020-03-10 19:24:06.639] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/emmet/dist/extension
[2020-03-10 19:24:06.673] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.git","_lower":"vscode.git"},"activationEvent":"*"}
[2020-03-10 19:24:06.673] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/git/dist/main
[2020-03-10 19:24:06.749] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":true,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"*"}
[2020-03-10 19:24:06.750] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/merge-conflict/dist/extension
[2020-03-10 19:24:06.754] [exthost] [info] ExtensionService#_doActivateExtension vscode.search-result {"startup":true,"extensionId":{"value":"vscode.search-result","_lower":"vscode.search-result"},"activationEvent":"*"}
[2020-03-10 19:24:06.754] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/search-result/dist/extension.js
[2020-03-10 19:24:06.755] [exthost] [info] ExtensionService#_doActivateExtension vscode.vscode-account {"startup":true,"extensionId":{"value":"vscode.vscode-account","_lower":"vscode.vscode-account"},"activationEvent":"*"}
[2020-03-10 19:24:06.755] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/vscode-account/dist/extension.js
[2020-03-10 19:24:06.759] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.cpptools {"startup":true,"extensionId":{"value":"platformio.platformio-ide","_lower":"platformio.platformio-ide"},"activationEvent":"*"}
[2020-03-10 19:24:06.759] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/coder/.local/share/code-server/extensions/ms-vscode.cpptools-0.26.3/dist/main
[2020-03-10 19:24:06.867] [exthost] [info] eager extensions activated
[2020-03-10 19:24:07.055] [exthost] [info] ExtensionService#_doActivateExtension platformio.platformio-ide {"startup":true,"extensionId":{"value":"platformio.platformio-ide","_lower":"platformio.platformio-ide"},"activationEvent":"*"}
[2020-03-10 19:24:07.056] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/coder/.local/share/code-server/extensions/platformio.platformio-ide-1.10.0/dist/extension
[2020-03-10 19:28:57.956] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug-nightly {"startup":false,"extensionId":{"value":"ms-vscode.js-debug-nightly","_lower":"ms-vscode.js-debug-nightly"},"activationEvent":"onDebugInitialConfigurations"}
[2020-03-10 19:28:57.956] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/ms-vscode.js-debug-nightly/src/extension.js
[2020-03-10 19:28:58.304] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.node-debug2 {"startup":false,"extensionId":{"value":"ms-vscode.node-debug","_lower":"ms-vscode.node-debug"},"activationEvent":"onDebugInitialConfigurations"}
[2020-03-10 19:28:58.304] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/ms-vscode.node-debug2/out/src/extension
[2020-03-10 19:28:58.328] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.node-debug {"startup":false,"extensionId":{"value":"ms-vscode.node-debug","_lower":"ms-vscode.node-debug"},"activationEvent":"onDebugInitialConfigurations"}
[2020-03-10 19:28:58.329] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/ms-vscode.node-debug/dist/extension.js
[2020-03-10 19:29:05.563] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-server-ready {"startup":false,"extensionId":{"value":"vscode.debug-server-ready","_lower":"vscode.debug-server-ready"},"activationEvent":"onDebugResolve"}
[2020-03-10 19:29:05.563] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/local/lib/code-server/lib/vscode/extensions/debug-server-ready/dist/extension

When you got it working in your comment above, did you simply install the extension in a stock codercom/code-server image?

Ah I understand @ich777. You can forward ports to custom hosts. Eg. 8010:<IP_ADDRESS>:8010

Just got this to run on my system will leave this for anyone it may help...
In the PIO terminal on code-server use the command pio home --host x.x.x.x --port 8010 where x.x.x.x is the IP of the docker then bridge the docker port to the host like @r0zzy5 showed. You should then have access to the PIO webgui through http://y.y.y.y:8010 where y.y.y.y is the docker host IP

@justurn : do You mean the ip of the docker container or the server, where the docker is running?
And how do You bridge the port 8010 to the host?.
Thanks


[CosmosDB]  Connection String format

The picture showing the connection string shows the url in the format .documents.azure.com. This is a valid format for connecting to cosmos db, but not all the functionality of the api will be there in order to be able to leverage the functionalities of 3.6 for instance it is necessary to use <acct_name>.mongo.cosmos.azure.com format.
I believe it would be better to show in that picture  as is done for user name and password for instance than on providing a preconstructed format url in the picture.

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

ID: 05af42e7-9d86-b794-e133-efbd46665b9c
Version Independent ID: 0af5eead-7620-ea77-efad-c9ec595fae4f
Content: Connect a MongoDB application to Azure Cosmos DB
Content Source: articles/cosmos-db/connect-mongodb-account.md
Service: cosmos-db
Sub-service: cosmosdb-mongo
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@linkerzx Thank you for bringing this issue and the other doc suggestions, to our attention. It is greatly appreciated. I am going to have the content owner evaluate and update the document after reviewing the suggestion being made here.

Similar to https://github.com/MicrosoftDocs/azure-docs/issues/45567 @deborahc @SnehaGunda for awareness.

Thanks for reporting. I am updating this with a PR on our docs. Will close once this is merged.

PR is merged. This will be reflected in our Mongo docs tomorrow, 10am Pacific time.
Thanks for reporting!
#please-close


Cursor appears in the screenshots

Since 12th December the cursor appears in my screenshots:

I'm completely sure that it didn't happen before, because I've been taking a lot of screenshots for a presentation. It doesn't seem to be a problem related to swappy, because the cursor also appears when just using the grimshot script

Iirc grimshot has a --cursor flag if one wants to explicitly enable those. Seems very strange that they suddenly occurred.

emersion calls this a bug in wlroots.

I see, let's wait for emersion's response to your last comment

seems to have vanished in the new wlroots:

damn, when creating a screenshot for a whole output, the cursors is still there:

I had the same issue, I just commented out a line in .profile and now the cursor is hiding correctly from the screenshots. I'll have to wait and see if this causes any other issues especially with virtualization.
# Disable hardware cursors. This might fix issues with
# disappearing cursors
# export WLR_NO_HARDWARE_CURSORS=1

This line was added in commit 3d19cd2 on the desktop settings repository.

will comment this out in the upcoming settings release.


Release 1.2.3

Changes since last release:
Task - Admin - Add Applicant and Job Application pages (#3628) @yonikid15
Bugfix - Make applicant review page responsive (#3663) @yonikid15
Task - Reserve Application - User feedback update + clonify (#3564) @yonikid15
Bugfix - Static Response Screening header (#3557) @Khristophor
Feature - Basic bot trap (#3634) @Khristophor
Bugfix - Blank JPB review page for new manager accounts (#3559) @Khristophor
Task - refactor breadcrumbs (#3501) @yonikid15
Copy - Skills description placeholder (#3633) @yonikid15
Allow reviewers to view/send reference emails from application sorting screen (#3271) @tristan-orourke
Update Symfony framework deps to 1.17.0 (#3651) @Khristophor
Bugfix - Draft posters display on response page (#3601) @Khristophor
Update Symfony deps to 1.16.0 (#3620) @Khristophor
Adds extra question about accounts (#3572) @joshdrink
Remove 'accommodation' default question (#3544) @gggrant
Add missing translations for response screening (#3561) @Khristophor
Update symfony v4.4.7 -> v4.4.8 (#3546) @yonikid15
Gobyrne fr clone application (#3410) @gobyrne
HR / Manager - Fix page titles (#3499) @gggrant
Changes alert banner messaging (#3498) @joshdrink
Fix/clone whitespace (#3392) @joshdrink
Old Application, but Cloned (#3356) @joshdrink
Bugfix - Strategic Talent Response not available in JPB (#3484) @Khristophor

Folded this into #3821, because release 1.2.3 was kind of incomplete on its own.


tsconfig option does not take into account tsconfig's location

I have a directory setup like:
parent/project/out/example.html
parent/project/src/tsconfig.json
parent/project/typings/index.d.ts
The tsconfig file references the typings in the files list.  If I run typedoc in the project directory using the tsconfig option I get an error similar to this:
Error: ENOENT: no such file or directory, stat 'parent\typings\index.d.ts'
So it's using the the path relative to where typedoc is being run, not relative to where the tsconfig file is located.

I ran into this issue recently. I believe the issue is because the option readers don't take into account the source directory provided to the command line/Application.
https://github.com/TypeStrong/typedoc/blob/master/src/lib/utils/options/readers/tsconfig.ts#L34
onDiscover(event: DiscoverEvent) {
        if (TSConfigReader.OPTIONS_KEY in event.data) {
            this.load(event, Path.resolve(event.data[TSConfigReader.OPTIONS_KEY]));
        } else if (this.application.isCLI) {
            let file: string = ts.findConfigFile('.', ts.sys.fileExists);
            // If file is undefined, we found no file to load.
            if (file) {
                this.load(event, file);
            }
        }
    }

The work-around is to also explicitly define the location using the (non-public) tsconfig option.
const typescript = require('typescript');
const config = typescript.findConfigFile(source, existsSync);
options.tsconfig = config;

FWIW, the typedoc reader suffers the same problem as it assumes configuration files exist relative to the present working directory.
https://github.com/TypeStrong/typedoc/blob/master/src/lib/utils/options/readers/typedoc.ts#L32
These issues could be resolved in the short-term by taking into account the source provided by the json or out options. However, that isn't a solution for the programmatic usage of Application since json and out are not required options.


Error: Request Failed with status 400 - Bad Request - UPDATE: New version with alternate access method now available

As always, I really am grateful for your modules.
It is more of a question, as I am getting error 400, I've checked my password, pin, VIN and generated uuid...all seem ok to me.  I've uninstall the node, restarted home assistant, and reinstalled and still get the same issue.
Additionally what's odd, is that the error comes right away when the node is run, as opposed to a few seconds later after it's communicating with Onstar.  Perhaps Onstar has blocked the API again?
Thx for any help you can provide!
Node Red 18.1.1
Home Asssitant:
Core 2024.10.4
Supervisor 2024.10.3
Operating System 13.2

Ah got you.  I thought I was going crazy.  well... hopefully there is a way forward, if not, thx for the original node flows, it was great while it lasted.

For this part of the conversation,
@BigThunderSR
From the work done here: https://github.com/samrum/OnStarJS/issues/233 how much of what's in OnStarJS is needed that isn't being taken care of with what is in the rewrite joelvandal and methos did? Is the way they implement it with nodejs an issue or could this project be reconjigured to use this code instead? https://github.com/joelvandal/node-oauth2-gm

Thanks for the update @BigThunderSR!
After adding my TOTP secret code to my cars config I'm getting a missing require configuration parameter error.

Thanks for the update @BigThunderSR!
After adding my TOTP secret code to my cars config I'm getting a missing require configuration parameter error.

I just noticed that it works fine in my standalone NodeRED instance, but it is failing in my HA addon NodeRED instance. Are you running NodeRED in HA or is it independent of HA?

Yeah I'm running it in HA. I have it configured through HA to install the package so all I ever have to do is reestart it from there to get the update. For reference I did finally get around to wrapping my head around MQTT just now and got that version of it working for onstar. No issues there which is awesome!

Version 2.3.0 in HA Node-Red was working great for me all day after I added my TOPT secret. I updated tonight to 2.3.1 and now I am getting the "Error: Failed to get authorization code." I added a new TOPT secret but still the same error.

Version 2.3.0 in HA Node-Red was working great for me all day after I added my TOPT secret. I updated tonight to 2.3.1 and now I am getting the "Error: Failed to get authorization code." I added a new TOPT secret but still the same error.
If it's helpful, I am getting the error below in MQTT:
error: Main function error: {"error":{"message":"Failed to extract csrf token or transId during MFA"},

Thanks for letting me know. I'll try to see what the issue is this weekend since it's happening on my system as well.
I'm not having any issues with either the standalone or HA add-on versions of onstar2mqtt though.

Thank you!! I appreciate all the support.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


migrate back to postcodes.io

There is now an RCPCH hosted instance of postcodes.io - we should use that

closed by #47


ImportError using Pytorch 1.1.0

Import Error using Pytorch 1.1.0
I encountered this error during a dataset conversion to COCO json format
----> 6 from lib.utils.boxes import xyxy_to_xywh
.
.
.
/content/Detectron.pytorch/lib/nn/parallel/scatter_gather.py in <module>()
      6 from ._functions import Scatter, Gather
      7 from torch._six import string_classes, int_classes
----> 8 from torch.utils.data.dataloader import numpy_type_map
      9
     10

ImportError: cannot import name 'numpy_type_map'

It seems that numpy_type_map has been moved to torch/utils/data/_utils/collate.py in pytorch 1.1.0
Maybe numpy_type_map should be redefined entirely instead of being imported.

Issue posted in the wrong fork.

I encountered the same question. How did you solve it?

I was using this fork that support Pytorch 1.1+ / torchvision 0.3.0+ with Python 3:
https://github.com/adityaarun1/Detectron.pytorch
The reported issue is now solved for this fork.
You may also consider to use Detectron2 for Pytorch 1.3+/ Python3.6+ instead.


WeChat: Social Link(Wrong Link) in Footer

Describe the bug
In the Footer, Social Link Section for WeChat is Wrong
The current Link that added in href was:
https://blog.chain.link/chainlink-chinese-communities/?_ga=2.7080626.1865446767.1684655565-2049420124.1668651577
To Reproduce

Go to 'Footer'
Click on 'WeChat' in Social Section
See it wasn't opened the WeChat, instead it opening a Chain Link Blog

URLs

https://docs.chain.link/..
...

Expected behavior
It should Move to The ChainLink account or Page in WeChat
Additional context
No response

I am interested work on this issue, Kindly Give me the url of ChainLink's We chat Account. I'LL give a PR
Thanks in advance

Hello @KarthickSakthi
First of all, thank you very much for your contribution. The link opens a blog that contains 2 QR wechat codes

If you are looking to contribute to other issues. Happy to help you fix other issues

Thank you @aelmanaa


Port number is missing from HTTP_HOST

Hello,
devd is really a great idea, something I already searched for some time now.
But when I tried it out on my development system, I had the issue, that the original port number used is not reflected in the HTTP_HOST. I understand, that there where an issue with a different customer, that had problems when the port number is not stripped. But wouldn't it make sense to provide an option for that behavior because at least in my setting, I want to redirect to a different page of my own web-site and the Django framework does create the URL from the HTTP_HOST -- which will be wrong without port number.
Edit:
I would do the change myself and fork the project, but currently I am not working with go, so it would be a big overhead for me. Also I think, that such a switch would be beneficial also for other people using Django or similar frameworks.
Best Regards and thank you for that great tool!
/juergen

Hi,
just one thought on this: It seams to me, that nginx there is also the possibility to decide which port number is transferred. Since for some applications, you might want the original port number (like in my case) and in other cases you might want a different port number.
See:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header
Best Regards,
/juergen

Hi there. I've been playing with this today, and we can't just set the host header in this case - as you can see from issue #22, that would break SNI for upstream hosts. This means that we'll have to adopt the "correct" solution, by setting the X_FORWARDED_HOST header. You'll then have to turn on the USE_X_FORWARDED_HOST setting in your app, and everything will work. Would that address the issue for you?

Hi Aldo,
yes, that would definitively be a good solution! It seems also to be according to standard or at least according to common practice.
Best Regards,
/juergen

Hi Juergen. Please give that a go, and let me know if it fixes the issue for you.

Hi Aldo, the source code looks good to me. Could you provide a compiled version for Linux 64bit? Than I could try it on my machine. I have no go development system installed.

Sure: I've put a build of the latest master here: http://corte.si/devd-0.3-linux64.tgz

Thanks for the binary!
Yes, this fixes my problem, together with the USE_X_FORWARDED_HOST setting. I tried the new version together with that Django setting and it runs out of the box.
Also for non-Django projects that should be a good solution, because some times your server just needs to know, who was asked in the first place ....
Thank you very much!


feat(browsers): generate new image with version node16.17.0-chrome105…

…-ff104-edge

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


Indexes not being picked up by parser

Cannot go to definition for index defined on storage occurrence.
Example:
       01  ws-table.
           02  ws-entry occurs 5 times indexed by ws-i pic x.
       main.
           set ws-i to 1.
           display ws-entry (ws-i).

Ctrl+Hover over ws-i doesn't link.

Applied a crude parser change, so this will now work.
       working-storage section.

       01  ws-table.
           02  ws-entry occurs 5 times indexed by ws-i pic x.

       procedure division.

       main.
           set ws-i to 1.
           display ws-entry (ws-i).

(note: working-storage/procedure division markers have to be present for the outliner to pick it up)

Thanks for knocking this out so quickly. Unfortunately, it doesn't work with the way I format these lines. I should have provided a better example that matched my scenario:
       working-storage section.

       01  ws-table.
           02  ws-entry                occurs 5 times
                                       indexed by ws-i
                                                   pic x.
       procedure division.

       main.
           set ws-i to 1.
           display ws-entry (ws-i).

If I get a spare moment, I'll see if I can build on your work and submit a PR.

The parser works "line by line" and all the processing for a variable is in the same the place, so to handle it quickly the search for "indexed by" was tagged onto the same bit of logic
My fix will be to make them independent of each other.

My fix will work providing "indexed by" is on the same line as the variable.
Creating a proper parser is on my backlog :-)


Update version_check.bzl

Update the version

@pshroff04 please don't spam reviews, especially since you didn't look at the code at all and have no approval power. This is spam and can result in you getting banned from GitHub.
This entire PR is spam.

@pshroff04 please don't spam reviews, especially since you didn't look at the code at all and have no approval power. This is spam and can result in you getting banned from GitHub.
This entire PR is spam.


Advertise RFP

RFP .doc
tracking postings/outreach
To dos:

[x] put on arcticdata.io
[x] put on NCEAS site
[x] tweet from @arcticdatactr
[ ] Data highlight on Synthesis WG to coincide with RFP
[ ] reminder tweet from @arcticdatactr
[ ] blast to Arctic listservs

Timeline
Deadline: May 23, 2018
Decisions: announced in early July 2018
Work: to start by October 2018
General timeline:
To start blasting in April 2018, after call for applications for data science training and simultaneously with POLAR2018 advertisements

Posted call for proposals as Update on IARPC Collaborations Member space on 04/10

VR  re-organize spreadsheet to include frequency of commnications

hold.


use of wskadmin

Hi,
The deployment of openwhisk in our openshift 3.9 went well.
But now, we need to add users, namespaces, ...
I read with wskadmin is the tool for that.
How can I configure it, plz ?

property "DB_WHISK_AUTHS" not found in environment or property file
property "WHISK_LOGS_DIR" not found in environment or property file
property "DB_PASSWORD" not found in environment or property file
property "DB_PORT" not found in environment or property file
property "DB_PROTOCOL" not found in environment or property file
property "DB_WHISK_ACTIONS" not found in environment or property file
property "DB_HOST" not found in environment or property file
property "DB_WHISK_ACTIVATIONS" not found in environment or property file
property "DB_USERNAME" not found in environment or property file

it looks like wskmadin pod is missing in openshift deployment. (present in incubator-openwhisk-deploy-kube)

@h4wkmoon Members of the RH team provided this deployment code drop primarily for experimental use by the community to better understand how OpenShift uses OW as we make changes to the Control and Data planes moving forward.  @bbrowning @bwmcadams do you have any official comments in this regard?

I manage to make a wskadmin pod (from the kube ow repo) work in openshift.
It is very quick and dirty. But it proves that it can be done.
Fyi, as projectodd does not provide a wskadmin image, I used the one from the ow kube repo.
When my work is less dirty, i should be able to publish it.

Awesome! thanks @h4wkmoon.

Closing issue to prepare to archive project.  Deploying on OpenShift now supported by https://github.com/apache/openwhisk-deploy-kube.


[EVENT] SWOT Pangeo Grenoble

Summary
Small demo of Dask XArray for a local event in Grenoble on Sept. 27
Configuration changes to profile required (please see next comment)
Event Info

Community Representative: @auraoupa
Event begin: 27-Sept-2023

In your timezone:

Event end:  27-Sept-2023

In your timezone:

Active times:

In your timezone:

Number of attendees: 60
Hub Events Calendar

Hub info

Hub URL: https://meom-ige.2i2c.cloud
Hub decommisioned after event?:  no

Task List
Before the event

[ ] Dates confirmed with the community representative and added to Hub Events Calendar.
[ ] Quotas from the cloud provider are high-enough to handle expected usage.
[ ] One week before event Hub is running.
[ ] Confirm with Community Representative that their workflows function as expected.

👉Template message to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, the date of your event is getting close!

Could you please confirm that your hub environment is ready-to-go, and matches your hub's infrastructure setup, by ensuring the following things:
- [ ] Confirm that the "Event Info" above is correct
- [ ] On your hub: log-in and authentication works as-expected
- [ ] `nbgitpuller` links you intend to use resolve properly
- [ ] Your notebooks and content run as-expected

[ ] 1 day before event, either a separate nodegroup is provisioned for the event or the cluster is scaled up.

During and after event

[ ] Confirm event is finished.
[ ] Nodegroup created for the hub is decommissioned / cluster is scaled down.
[ ] Hub decommissioned (if needed).
[ ] Debrief with community representative.

👉Template debrief to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, your event appears to be over 🎉

We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!

- Did the infrastructure behave as expected?
- Anything that was confusing or could be improved?
- Any extra functionality you wish you would have had?
- Could you share a story about how you used the hub?

- Any other feedback that you'd like to share?

Re: https://2i2c.freshdesk.com/a/tickets/958
The original request was to spin up a new hub just for this one demo event on their cluster (very similar to the DRAKKAR demo hub, now decommissioned).
I have suggested that rather than setting up a new hub and tearing it down, it would make more sense to use their main hub with a new profile option with node-sharing.
I have requested that @auraoupa create a new GitHub team in their https://github.com/meom-group organization with access restricted to just this new profile.
This hub currently is set up to use CILogon -> GitHub. I assume needs to be changed to just GitHub to support GitHub teams since that's what we recently did with the ResearchDelight hub.
I waiting on confirmation if this community wants a node group warmed up for the duration of the event (27-Sept-2023) or have the machines start as normal.
I am also waiting on confirmation of exactly how much RAM per user is needed for this demo as that will determine the machine type required for node-sharing.  60 participants are expected.

GitHub Teams:

For the demo group only: https://github.com/orgs/demo-dask-grenoble2023/teams/demo
And here is a new GH team to use for management of regular hub users:  https://github.com/orgs/meom-group/teams/hub-users

Confirmed: Please warm up the node poll to accommodate ~60 participants.

Hi ! Could it be possible to allow the authentification of the demo GH Team (https://github.com/orgs/demo-dask-grenoble2023/teams/demo) as soon as possible ? My co-presenter needs to connect to the hub and I will progressively add the participants in the list. Thanks !

I've condensed the information to:

Pre-start sufficient nodes to ensure no user needs to wait for startup is wanted
The required CPU/memory per user seems to be in the range of 8-16 CPU or 32-64 GB
Users of https://github.com/orgs/demo-dask-grenoble2023/teams/demo (demo-dask-grenoble2023:demo) should have temporary access
Users of https://github.com/orgs/meom-group/teams/hub-users (meom-group:hub-users) should remain having access like before

Technically my suggestion becomes that we add an option to start a server on a n2-highmem-64 machine (/64 CPU, 512GB), where users can request a share of ~16, ~32, or ~64 GB of memory.
This means that we can fit 32, 16, or 8 users per node. I'll make sure that two such nodes are started ahead of time for the event and already running, which would make the wait time a few seconds only for 64 users - but could incurr a few minutes of wait to fit all 50-60 users if larger node share options are selected.
I'll work on applying this now and write again once I'm done!

Authentication
@auraoupa okay we are almost done, I need your help to complete this though. Are you an admin of the github organizations meom-group and demo-dask-grenoble2023?
We need to have an admin of these github organizations to press a "Grant" button when logging in next to meom-group and demo-dask-grenoble2023. It should be done in a screen looking like this (here jupyterhub has a "Grant" button next to it).

Here is a procedure to follow
This should be done for the staging hub and the production hub, but once its done this doesn't need to be done by any other user.
staging.meom-ige.2i2c.cloud

Logout at https://staging.meom-ige.2i2c.cloud/hub/logout
Login at https://staging.meom-ige.2i2c.cloud/hub/login, but don't continue directly - press the Grant button next to "meom-group" and "demo-dask-grenoble2023" respectively.

meom-ige.2i2c.cloud

Logout at https://meom-ige.2i2c.cloud/hub/logout
Login at https://meom-ige.2i2c.cloud/hub/login, but don't continue directly - press the Grant button next to "meom-group" and "demo-dask-grenoble2023" respectively.

Description of setup
When a github user only part of the demo-dask-grenoble2023 organization's team demo, they will only see this option:

When a github user part of meom-group organization's team hub-users, they will see that option and the ones that was around before.

Ok @consideRatio, I've granted access for both organization and both clouds, I hope it is ok ? As for Grenoble demo users, I think it would be best if they only had one option, the 32GB RAM, if it is still possible ? Thanks !

As for Grenoble demo users, I think it would be best if they only had one option, the 32GB RAM, if it is still possible ?

I'll make it so that all users have one option, is that okay? It takes a bit of trickery to make it so that you can see the same thing but have different resource allocations.

Ok perfect, thanks

@auraoupa excellent. The change to only see the 32GB option should take effect in 5 minutes I think.
I'm ending my workday in Sweden now, but I'll check back on this early morning tomorrow.

(track deployment status in https://github.com/2i2c-org/infrastructure/actions/runs/6302246380, maybe takes a bit more than 5 minutes)

Hi @consideRatio and @jmunroe ! Just to let you know that yesterday's went fine ! I think people were pleased to run the tuto smoothly. I told them to scale down the cluster they launched otherwise one could take all the procs and ram of the warmed up nodes. We can now revert to the usual users of the deployment (https://github.com/orgs/meom-group/teams/hub-users). Thanks again for the nice deployment

Since #3179 was merged, I am now going to close this one.
Feel free to reopen if you disagree.


Update submodules

Update _themes/jekyll-theme-legumeinfo and _data/datastore-metadata

I'd like to get this one merged soon, since the trait search depends on recent changes in the theme.


bump sqlite bundled version to 3.45

Please bump sqlite bundled version to 3.45 for jsonb() goodness!

Release 0.11.0 comes with 3.45.1!


[Test Proxy] Test command fails by exiting with code 1

Upon running rushx test:node, the following error appears instead of running the tests
[test-info] ===TEST_MODE="playback"===
[test-proxy] Image tag obtained from the powershell script => 1.0.0-dev.20230427.1

[test-proxy] Downloading test proxy binary from https://github.com/Azure/azure-sdk-tools/releases/download/Azure.Sdk.Tools.TestProxy_1.0.0-dev.20230427.1/test-proxy-standalone-linux-x64.tar.gz
[test-proxy] Extracting test proxy binary to /home/codespace/.cache/azsdk-dev-tool-nodejs/test-proxy/1.0.0-dev.20230427.1
/workspaces/azure-sdk-for-js/common/tools/dev-tool/src/util/testProxyUtils.ts:158
          reject(new Error(`${executable} exited with code ${exitCode}`));
                 ^
Error: /home/codespace/.cache/azsdk-dev-tool-nodejs/test-proxy/1.0.0-dev.20230427.1/Azure.Sdk.Tools.TestProxy exited with code 1
    at ChildProcess.<anonymous> (/workspaces/azure-sdk-for-js/common/tools/dev-tool/src/util/testProxyUtils.ts:158:18)
    at ChildProcess.emit (node:events:512:28)
    at ChildProcess.emit (node:domain:489:12)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
The script failed with exit code 1

https://github.com/Azure/azure-sdk-for-js/pull/25737 fixed this :)


Fix some obvious Typos in the README.md

Would be good, if a tutorial could be copied 1:1, so I fixed the typos my IDE showed me.

Hey,
This is a dead project, please check the active
https://github.com/camunda-community-hub/nestjs-zeebe
The documentation has changed.


External book

If it is possible, add opportunity to open epub, fb2, or other formats. All these formats contain metadata to display names, authors, and book covers.

Not sure about fb2 (as idk much about this format and the app cannot parse it), but i will try to add support for opening external epub files in future.. thanks for suggestion.

Currently if you reinstall the app or clear it's data, the books remain in the download folder but the app is not able to detect them. Adding a rescan button could solve this problem and also serve as a way to add external epubs to the library.

Any progress on opening / importing epub files from e.g. Google drive?

Any progress on opening / importing epub files from e.g. Google drive?

Currently not any plans for Google drive support, but I'll try if it's easy enough when adding support for importing local epub books, bit busy these days with some personal stuff.

How do you open external books? I can't figure it out :/

How do you open external books? I can't figure it out :/

https://github.com/Pool-Of-Tears/Myne/assets/58552395/7e5e0258-d6a2-4674-a26d-fb0aa82bded6
Like this

Ahh I see, doesn't seem to be working with pdfs though?

Ahh I see, doesn't seem to be working with pdfs though?

The app only supports epubs.


fix: update empty slices in kong entities

Summary
Bugfix: Could not update service, route or plugin with empty slices because it was removed through the omitempty JSON struct tag.
Note: This bug is only fixed for services, routes or plugins. WIth other entities this problem may still occour.
Manuel Gugel<EMAIL_ADDRESS>Mercedes-Benz Tech Innovation GmbH, imprint

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.LUIROTH seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.LUIROTH seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

As best I recall, go-kong fields are typically omitempty because it'd then have the opposite problem when PATCHing: if you provide Go with a patch struct that contains only the fields you want to change, the serialized JSON will include empty values and wipe out existing values when sent to Kong. We probably can't do this as such--even if we did want to require complete values for PATCHes, it'd be a major breaking change.
Are you able to use the Create() calls with an ID included? That issues a PUT and will knock out existing values by virtue of overwriting the full entity, though you'd need a bit more work client-side to pull down the existing object and update fields on the Go side.
Some way to override the normal JSON tags in a struct would be ideal, so that you selectively toggle omitempty off on some field for a particular request, but brief review of StackOverflow and such suggests this isn't readily possible, and would probably require a custom JSON marshaler.

Catching up on this, exposing fields with gonull.Nullable to external consumers is a bad idea IMO;  and it was for unmarshalling rather than marshalling. @czeslavo in our case is the way to go with the struct field like:
OmitPointer    *[]*string `json:"omitpointer,omitempty"

In the current state of things i'd +1 @rainest on:

PUTing to clear these is probably still the better option.

If we want to not touch the types and have dynamic tags feature somehow; we need to add a custom marshaller in our PATCH operations: https://github.com/Kong/go-kong/blob/8f4d15c25a6ac47add3712de86d18b273ab1b3ce/kong/route_service.go#L116
So that would mean NewRequest would have to support either body interface{} or body string: https://github.com/Kong/go-kong/blob/main/kong/request.go#L65
Well, we can make 2 methods, but the burden here would be to make a custom marshaller for optional slices. At the same time i tend to like this idea.

So that would mean NewRequest would have to support either body interface{} or body string: https://github.com/Kong/go-kong/blob/main/kong/request.go#L65

It does already, right? https://github.com/Kong/go-kong/blob/main/kong/request.go#L22-L37

I feel like this missing bit is omitunset where a zero value ( nil for pointer and zero value for non pointers) would marshal to an empty string. But that's probably what you were suggesting @zekth right?

Hi @rainest, @zekth and @pmalek,
thank you very much for your Feedback. I am the person who created the commit. Somehow my computer sent the wrong name.
Through testing we faced the same issues you addressed.
If we use the Create Method, we will always need to get all the existing data from kong first which will make it slower. And there is a small time window, in that we can overwrite another almost parallel request on another property (between get and create calls)
I also though of a custom Mashaller for the entities that can dynamically remove nil values but keep empty values. Would this work for you?
`
func (r *Route) MarshalJSON() ([]byte, error) {
// Create an alias to avoid infinite recursion
type Alias Route
aux := &struct {
*Alias
}{
Alias: (*Alias)(r),
}
// Marshal the struct to JSON bytes
jsonBytes, err := json.Marshal(aux)
if err != nil {
	return nil, err
}

// Unmarshal the JSON bytes into a map
var data map[string]any
err = json.Unmarshal(jsonBytes, &data)
if err != nil {
	return nil, err
}

// Remove null values recursively from the map
r.removeNullValues(data)

// Marshal the modified map back to JSON bytes
return json.Marshal(data)

}
func (r *Route) removeNullValues(data map[string]any) {
for key, value := range data {
if value == nil {
delete(data, key)
} else if nestedMap, ok := value.(map[string]any); ok {
r.removeNullValues(nestedMap)
}
}
}
`
With this it should be possible ignore nil values but keep the empty values.

@pmalek my bad i haven't dug deep into the implementation, assuming the underlying method wasn't doing any reflection.
@CyberGuestNo1 for this case that would mean we won't be able to set back a value to its default from kong POV. Let's take example key-auth: https://docs.konghq.com/hub/kong-inc/key-auth/configuration/
If you want to fallback on kong default you'd need to send []string{"apikey"} otherwise it would not send the null value, which is technically what we would want to send in a likely case, and sending an empty slice isn't a solution neither.
After twisting this from one way to another, if we really want to achieve true patch experience we need to implement a nullable carrier from types like suggested earlier but that would be a big breaking change and that would only apply for PATCH operations. This is the kind of situation where json patch shines: https://jsonpatch.com/

@zekth yes you are right. We should not change the behaviour of the config in plugins or nested objects.
For our implementation it would already work if we handle the first layer or properties. Like this:
func (r *Route) MarshalJSON() ([]byte, error) {
	// Create an alias to avoid infinite recursion
	type Alias Route
	aux := &struct {
		*Alias
	}{
		Alias: (*Alias)(r),
	}

	// Marshal the struct to JSON bytes
	jsonBytes, err := json.Marshal(aux)
	if err != nil {
		return nil, err
	}

	// Unmarshal the JSON bytes into a map
	var data map[string]any
	err = json.Unmarshal(jsonBytes, &data)
	if err != nil {
		return nil, err
	}

	// Remove null values in first layer from the map
	for key, value := range data {
		if value == nil {
			delete(data, key)
		}
	}

	// Marshal the modified map back to JSON bytes
	return json.Marshal(data)
}

I think jsonpatch would make this issue much more complicated. The concrete issue we are facing is that we can't set the "methods" property of a route to an empty list with the Update Method.

I encountered similar issue for a PATCH request, just that in this case nil value should not be omitted
https://github.com/Kong/go-kong/issues/481


Player List snapping broken when using the mod Breaktime

Breaktime (at https://github.com/ironmonk88/breaktime) is a new mod that adds break time management for groups taking a rest, showing who's AFK and who is ready to play. It adds a new line into the Player List, which causes SmallTime to snap badly with the PlayerList and become impossible to manage it's bottom UI.
I reported the issue to IronMonk as well. https://github.com/ironmonk88/breaktime/issues/16

Yeah I can't possibly accommodate every possible third-party tweak to the surrounding UI; pinning the SmallTime window to the top of Players is already quite complex.
That said, I am working on a feature that'll allow for setting your own custom offset above Players. Just still in the exploration phase.

A custom offset would be perfect. It's not hard to set and will fix a lot
of similar problems. Thanks for that.
On Mon, 6 Jun 2022, 22:38 John Weston, @.***> wrote:

Yeah I can't possibly accommodate every possible third-party tweak to the
surrounding UI; pinning the SmallTime window to the top of Players is
already quite complex.
That said, I am working on a feature that'll allow for setting your own
custom offset above Players. Just still in the exploration phase.
—
Reply to this email directly, view it on GitHub
https://github.com/unsoluble/smalltime/issues/137#issuecomment-1147832750,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7FAZHZ66FTMX7YW6UUDQ3VNZHUDANCNFSM5YAOJAJQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'll second my desire for this, as I just started using Breaktime this session.

Sorry for the delay on this — haven't had time to do module dev in quite a while. Hopefully gonna get around to looking at this again in a week or two.

Added a custom offset in 1.15.4


SPRIV-Tools missing cmake targets

Commit 66f1d9a747ed5f048ed23248b9163d7490da02c2 seems to have removed the cmake-target patch from spriv-tools, meaning it cannot be found through cmake's find_package functions.

This issue blocks me as well. Please add back the cmake-target patch

https://github.com/microsoft/vcpkg/blob/master/ports/spirv-tools/portfile.cmake
    PATCHES
        comment-distutils.patch

local port to

#    PATCHES
#        comment-distutils.patch

Thanks for posting this issue. This issue has been fixed. So I am closing this issue for now.


Can't acess  /apis/metrics.k8s.io/  from apiserver

Hi All,
I just upgrade the k8s to 1.8.1 from 1.7.5, and deployed metrics-server with the default deployment manifes in the repo. right now I can't get metrics from /apis/metrics.k8s.io/v1beta1/nodes or /apis/metrics.k8s.io/v1beta1/pods.
#curl --cacert ca.pem --cert apiserver.pem --key apiserver-key.pem  https://<IP_ADDRESS>:6443/apis/metrics.k8s.io/v1beta1/nodes
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {

  },
  "status": "Failure",
  "message": "nodes.metrics.k8s.io is forbidden: User \"xxx\" cannot list nodes.metrics.k8s.io at the cluster scope",
  "reason": "Forbidden",
  "details": {
    "group": "metrics.k8s.io",
    "kind": "nodes"
  },
  "code": 403

xxx: is the node FQDN
and I use the apiserver key/cert in the command parameter.
also apiserver append following parameters
      --requestheader-client-ca-file=/srv/kubernetes/ca.pem
      --requestheader-allowed-names=aggregator
      --requestheader-extra-headers-prefix=X-Remote-Extra-
      --requestheader-group-headers=X-Remote-Group
      --requestheader-username-headers=X-Remote-User
      --proxy-client-cert-file=/srv/kubernetes/kubelet-cert.pem
      --proxy-client-key-file=/srv/kubernetes/kubelet-key.pem

As I just upgrade from previous cluster, I don't create a second CA authority for metrics-server. how to leverage the current CA to make it work ?

do I need to create a second cert/key  or users signed by the currentl CA  to get access the metrics-server?  additional cluster role needed ?

Can we just use currently cert/key/ users to access these metrics? since current use can aceess the other apis exposed by apiserver

k8s info:
 kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1", GitCommit:"f38e43b221d08850172a9a4ea785a86a3ffa3b3a", GitTreeState:"clean", BuildDate:"2017-10-11T23:27:35Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1", GitCommit:"f38e43b221d08850172a9a4ea785a86a3ffa3b3a", GitTreeState:"clean", BuildDate:"2017-10-11T23:16:41Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

docker info:
#  docker info
Containers: 171
 Running: 83
 Paused: 0
 Stopped: 88
Images: 456
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: xfs
 Dirs: 1061
 Dirperm1 Supported: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: host null bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.8.0-58-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 32
Total Memory: 62.79 GiB
Name: cnpvgl56588417
ID: RBIH:KI5N:HFUQ:JBTQ:ENOS:QLZV:T3T2:TGXT:VM5H:SWVO:ARDN:W33P
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 383
 Goroutines: 360
 System Time: 2017-10-17T17:39:26.358987804+08:00
 EventsListeners: 0
Http Proxy: http://proxy.pvgl.sap.corp:8080
Https Proxy: http://proxy.pvgl.sap.corp:8080
No Proxy: registry.gcsc.sap.corp
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Ok, there's a few issues with your setup:

curl --cacert ca.pem --cert apiserver.pem --key apiserver-key.pem  https://<IP_ADDRESS>:6443/apis/metrics.k8s.io/v1beta1/nodes

Where are apiserver.pem and apiserver-key.pem coming from?  Are they client certificates for users who should be able to connect?

User "xxx" cannot list nodes.metrics.k8s.io at the cluster scope"

The user will be the user associated with the client certificates provided.  You'll need to make sure that the user has permission to access the metrics APIs.  If you've properly reconciled the default policy, only cluster-reader, cluster-admins, and the HPA controller service account will have permission to fetch metrics by default.

--requestheader-client-ca-file=/srv/kubernetes/ca.pem

This is incorrect.    Please take a look at https://github.com/kubernetes-incubator/apiserver-builder/blob/master/docs/concepts/auth.md for more information.

As I just upgrade from previous cluster, I don't create a second CA authority for metrics-server. how to leverage the current CA to make it work ?

Assuming you have the three different CAs already available (requestheader client CA, normal client CA, serving CA), you won't need any new CA certs.  You can use the serving CA to sign the serving certificates for metrics-server (see the above link)

do I need to create a second cert/key or users signed by the currentl CA to get access the metrics-server? additional cluster role needed ?

See above.

Can we just use currently cert/key/ users to access these metrics? since current use can aceess the other apis exposed by apiserver

Whatever user you're using needs to have permissions.  If it's cluster-admin or cluster-reader, you should be all set.  Otherwise, you'll need to grant it additional permissions.

thank, I finnally got resoved this issue.

@jenningsloy318 for the future references - could you please explain what you did?

My front-proxy-client certs on the new masters weren't valid.  I only copied pki/{ca,sa}.* since I was following the 1.10 version of the docs - needed front-proxy-ca.* as well which the 1.11 docs mention.  Sorry for the noise.
openssl verify -CAfile /etc/kubernetes/front-proxy-ca.crt /etc/kubernetes-worker/pki/front-proxy-client.crt
/etc/kubernetes-worker/pki/front-proxy-client.crt: CN = front-proxy-client
error 7 at 0 depth lookup:certificate signature failure


Add hide/spoof for selinux status

I have an app that doesn't open when my selinux status is permissive so can you add a hide for selinux state or spoof its status to make the app think my selinux status is enforcing without changing the actual selinux status of the phone(permissive).

Any app with decent Selinux detection won't be tricked by a spoofed status as its trivial to detect Selinux in several ways as it leaves huge security gaps apps can poke around to figure out it isn't working (enforcing)


Remove extra 'the' wrapped by newline

- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

continued in https://github.com/moby/moby/pull/41924. Let me close this one here

continued in https://github.com/moby/moby/pull/41924. Let me close this one here


Cannot type < in web version

It seems impossible to get a < into the web version. Instead, the cursor moves to the end of the line.

Should work now. Also adjusted kalk_web a bit for the new changes.


Cube Scramble

Simple app to display random scrambles for a 3x3 Rubik's cube.

Awesome - thanks!

@gfwilliams I was just in the process of trying to determine why Travis CI was failing when you merged it in. Feel free to roll back if necessary and I can resubmit the PR.

Thanks! I just checked this, but for some reason it appears to be a Travis issue. The build is fine here


Use Nvidia operator

This branch works on nodes without any Nvidia drives installed.  We are waiting on https://github.com/NVIDIA/gpu-operator/issues/126 to allow this to work on nodes already provisioned (essential for most MicroK8s users).
The API remains the same:
sudo snap install microk8s --classic
sudo microk8s enable gpu

This should fix issues we've been seeing with users on odd combinations of OS and driver version and has also allowed us to strip a bunch of build steps, which is nice.

When do you expect this to be merged? I'm waiting precisely for this fix!

When do you expect this to be merged? I'm waiting precisely for this fix!

When do you expect this to be merged? I'm waiting precisely for this fix!

Hey @plchampigny, it’ll be merged at soon as the operator is compatible with systems that have existing drivers.  Feel free to try out the branched snap downloading it from here https://github.com/ubuntu/microk8s/suites/1867608846/artifacts/36367479

When do you expect this to be merged? I'm waiting precisely for this fix!

Hey @plchampigny, it’ll be merged at soon as the operator is compatible with systems that have existing drivers.  Feel free to try out the branched snap downloading it from here https://github.com/ubuntu/microk8s/suites/1867608846/artifacts/36367479

Hello @joedborg, it is still not working for me:

I removed the nvidia driver from my host as it would be conflicting with the operator. I didnt have time to investigate further.

Hello @joedborg, it is still not working for me:

I removed the nvidia driver from my host as it would be conflicting with the operator. I didnt have time to investigate further.

@plchampigny Interesting.  When you have 5 minutes to spare, could you please share the logs from the feature discovery pod?  And, just to confirm, the node you're trying this on has no Nvidia driver or Kernel module installed?

@plchampigny Interesting.  When you have 5 minutes to spare, could you please share the logs from the feature discovery pod?  And, just to confirm, the node you're trying this on has no Nvidia driver or Kernel module installed?

I cannot see the container logs, but here's the error from describe:
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli.real: mount error: mount operation failed: /var/snap/microk8s/common/run/containerd/io.containerd.runtime.v2.task/k8s.io/gpu-feature-discovery/rootfs/proc/driver/nvidia/params/version/registry: no such file or directory: unknown

I cannot see the container logs, but here's the error from describe:
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli.real: mount error: mount operation failed: /var/snap/microk8s/common/run/containerd/io.containerd.runtime.v2.task/k8s.io/gpu-feature-discovery/rootfs/proc/driver/nvidia/params/version/registry: no such file or directory: unknown

And, just to confirm, the node you're trying this on has no Nvidia driver or Kernel module installed?

@joedborg Prior to install the snap, I had the driver 460 installed. After installing the gpu addon and seeing there was an error with the nvidia daemon, I did uninstall the nvidia driver (which solved the gpu daemon pod). The error you see on my 2 lasts post is the error I get after I removed the driver.

And, just to confirm, the node you're trying this on has no Nvidia driver or Kernel module installed?

@joedborg Prior to install the snap, I had the driver 460 installed. After installing the gpu addon and seeing there was an error with the nvidia daemon, I did uninstall the nvidia driver (which solved the gpu daemon pod). The error you see on my 2 lasts post is the error I get after I removed the driver.

@joedborg Well eventually it did work:

@joedborg Well eventually it did work:

@joedborg Well eventually it did work:
I restarted the pods a couple of times.

Glad it came up eventually.  I've only got AWS to test on (with the GPU nodes) at the moment.   I'd be interested to see if you find this with any other nodes (especially green field nodes).

@joedborg Well eventually it did work:
I restarted the pods a couple of times.

Glad it came up eventually.  I've only got AWS to test on (with the GPU nodes) at the moment.   I'd be interested to see if you find this with any other nodes (especially green field nodes).

Thank you for this work @joedborg

As a note, it appears that this breaks GPU support on non LTS releases.

[remote_image.go:87] "Get ImageStatus from image service failed" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/common/run/containerd.sock: connect: no such file or directory"" image="nvcr.io/nvidia/driver:460.32.03-ubuntu20.10"


setUsername() on userbots not working

throws an error about email field required

According to #697 , is fixed in fbcea236c53ab19bb74928933d0d144141403312 and available on indev.

changed from the email field required to 'Password does not match', having used login with token

Ok, as of https://github.com/hydrabolt/discord.js/commit/9308d2ead31edb12651fc1c2840945bcbf9fbdfe this is fixed, but you will still have to set the password when logging in with a token:
client.login('token');
client.password = 'account password';
// ready to change username

Unfortunately, there's no way around this for user accounts and a password still has to be provided (which does make tokens a bit redundant for user accounts).

Still not working for me. Getting this error:
message: 'Invalid Form Body\npassword: Password does not match.',  code: 50035


Add GraphQL subscription support

Environment

Python version: 3.8.5
Nautobot version: v1.0.2

Proposed Functionality
Add support for graphQL subscriptions. This feature would complement the currently supported graphQL queries, but would allow continuous updates to be sent to a given graphQL client without polling. One could connect to the subscription using any gql client.
Use Case
An example use case would be an external application relying on Nautobot as its SoT to be notified of changes to the inventory in an asynchronous manner, and without the need of constant polling using queries.
Database Changes
None that I know of.
External Dependencies
It looks like graphene-django does not supports subscriptions for the time being, but they have a page dedicated to it here.  I'm not familiar enough with Nautobot to list new dependancies, but it would require at least a websocket dependency layer.  here is a "plug n play" library that adds subscriptions support to Django.

This seems worth the effort to explore what's possible with subscriptions.  Thanks for the suggestion.


Proof of concept - Offline browsing

This Pull Request is a proof of concept for our planned "Offline Browsing" feature.
The approach is holistic, which will ultimately (hopefully) allow us to expand it to multiple areas of the application. Planned scope for the initial implementation:

Product listings
Product detail pages
Search & Search result pages

General key facts

Layer of abstraction is the shopware-6-client package
Store structured product data instead of full responses
Store product data using IndexedDB
Replicate filter logic locally based on IndexedDB key ranges

More Information here

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