generate secrets manually

Made the following changes:

allow secrets to be generated manually
allow only internal cluster access (disable external LoadBalancer)

 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.

@feikesteenbergen any chance we can merge this? Wouldn't want to have the superuser plaintext passwords in the helm chart, so managing the secrets outside the chart and just referencing them would be very handy.


#222: Use ASnake to format the resource id

Resolves https://github.com/RockefellerArchiveCenter/request_broker/issues/222.
I felt a little torn as to whether this really deserved a helper method, but I didn't see any direct interaction with the ASnake client in routines.py other than the initial object fetch.

Is this a python linter asserting that the import functions should be in alphabetical order?
diff --git a/process_request/helpers.py b/process_request/helpers.py
index b639480..15cd9bb 100644
--- a/process_request/helpers.py
+++ b/process_request/helpers.py
@@ -3,7 +3,8 @@ import re

 import inflect
 import shortuuid
-from asnake.utils import get_date_display, get_note_text, text_in_note, format_resource_id
+from asnake.utils import (format_resource_id, get_date_display, get_note_text,
+                          text_in_note)
 from django.conf import settings
 from ordered_set import OrderedSet

@@ -447,4 +448,3 @@ def get_formatted_resource_id(resource, client):
     Concatenates the resource id parts using the separator from the config
     """
     return format_resource_id(resource, client, settings.RESOURCE_ID_SEPARATOR)
-
diff --git a/process_request/routines.py b/process_request/routines.py
index 4fbd77b..e9911e2 100644
--- a/process_request/routines.py
+++ b/process_request/routines.py
@@ -5,10 +5,11 @@ from asnake.aspace import ASpace
 from django.conf import settings
 from django.core.mail import send_mail

-from .helpers import (get_container_indicators, get_dates, get_parent_title,
+from .helpers import (get_container_indicators, get_dates,
+                      get_formatted_resource_id, get_parent_title,
                       get_preferred_format, get_resource_creators,
                       get_restricted_in_container, get_rights_info, get_size,
-                      get_url, list_chunks, get_formatted_resource_id)
+                      get_url, list_chunks)

And that process_request/helpers.py should not have a trailing CRLF?

Yeah I feel torn on whether a helper is fully necessary as well, but I'm fine with it as-is.
Linting - I too have an incredibly hard time reading those diffs. What I would suggest: install pre-commit locally and then do pre-commit install at the root of the repository. This will install git hooks which run the linters each time you do git-commit and will also autofix most of the issues. If you don't want to have those git hooks installed you can (I think) just run pre-commit run --all-files (i.e. the same command that's in the Travis config) and it should fix things for you as well.


Params of Pipeline is not found in Records.Data

Expected Behavior
"spec": {
    "params": [
        {
            "name": "gitrevision",
            "value": "9de276f1bb9078c967358ec7aa6fb1a8e8a56b29"
        },
        {
            "name": "gitrepositoryurl",
            "value": "git@github.com:tektoncd/results.git"
        },
        {
            "name": "homepage",
            "value": "https://github.com/tektoncd/results.git"
        }
    ],
    "pipelineRef": {
        "name": "pipeline-XXX"
    },
    "serviceAccountName": "robot",
    "timeout": "1h0m0s",
    "workspaces": [
        {
            "name": "sonar-vault",
            "secret": {
                "secretName": "sonar-auth"
            }
        }
    ]
}

Actual Behavior
None
Steps to Reproduce the Problem

Additional Info

Kubernetes version:
Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"clean", BuildDate:"2021-03-18T01:10:43Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.12", GitCommit:"7cd5e9086de8ae25d6a1514d0c87bac67ca4a481", GitTreeState:"clean", BuildDate:"2020-11-12T09:11:15Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

- Tekton Pipeline version:

**Output of `tkn version` or `kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'`**

 Tekton version : v0.21.0

Thanks for the report!
This looks like we're dropping some fields when storing the object. We should look into generating the spec from the upstream source.

Update on this - I've been looking into upstream proto generation for the pipeline types so that we can use that as the source of truth. I've been able to mostly get this mostly working, but the URL field in knative/pkg statuses is causing issues.
I'm trying to avoid forking these libraries if possible, so I opened https://github.com/knative/pkg/issues/2099 for more discussion.

Following up on old issues - I believe this was fixed with https://github.com/tektoncd/results/pull/121 and should be available in v0.3.x


Write a Julia program to implement linear search

Description
Write a Julia program to implement linear search
Linear search is a very simple search algorithm. In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found then that particular item is returned, otherwise the search continues till the end of the data collection.
Linear search is the simplest search algorithm. For this reason, it is often called sequential search.
Pseudocode
procedure linear_search (list, value)

   for each item in the list
      if match item == value
         return the item's location
      end if
   end for

end procedure

Example
list = [1,2,3,4,5]
value = 4

Output : 3

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/implement-linear-search/implement-linear-search.jl
Commit the changes
Create a pull request

hey ,I want to contribute ,can u assign me this issue

!assign


duplicated uorb topics / reflecting mavlink msgs

When I run the optical flow app (https://github.com/zehortigoza/aero-optical-flow/tree/without-bmi) on the aero and publish the messages at 15Hz, I see them in PX4 (uorb top in mavlink_shell) at ~26Hz.
TOPIC NAME                    INST #SUB #MSG #LOST #QSIZE
optical_flow                     0    4   25    52 1

With listener optical_flow 10, I can see that some messages are duplicated (see timestamps in output)
@zehortigoza FYI

Humn... Do you have any reason to believe it's a problem in mavlink-router?  I'd guess it's much more likely to be something in the aero-optical-flow repository.

Could be, yes. I just verified that https://github.com/zehortigoza/aero-optical-flow/blob/without-bmi/src/main.cpp#L238 runs at ~15Hz. But @zehortigoza has better insight on that.

@lucasdemarchi We're pretty certain that this is a mavlink-router issue. Two more indications:

when running a mavlink shell and pressing enter it behaves like pressing enter twice
run mavlink status in a mavlink shell and you will see that rx is identical to tx even though we are not sending anything.

GCS heartbeat:	550067 us ago
	mavlink chan: #1
	type:		GENERIC LINK OR RADIO
	flow control:	ON
	rates:
	tx: 7.088 kB/s
	txerr: 0.000 kB/s
	rx: 7.088 kB/s
	rate mult: 1.000
	accepting commands: YES
	MAVLink version: 2
	transport protocol: serial (/dev/ttyS1 @460800)

Seems like mavlink-router is reflecting the messages.

I'm trying to reproduce this. I'm writing below how I'm testing, let me know if I am missing any step you are doing.
Connect to Aero over wifi. Make sure mavlink-router is running:
ps -ef  | grep mavlink-router

csd is running as well by default but AFAIR it's not sending any mavlink packet on the released versions (and it didn't change anything here). Anyway, you can stop it:
systemctl stop csd

On my host computer I start mavlink_shell:
./Tools/mavlink_shell <IP_ADDRESS>:14550

This is a replay of my shell:
https://asciinema.org/a/5hRVmlzNxWAfr5Cdg9og8Py81
It's reasonable to have a minimal rx since mavlink_shell itself is sending a heartbeat and I'm also typing on the shell.  The result here seems very different from what you are getting.  Did I miss any step you are doing?

 I think the issue was that I ran the mavlink-router with something like mavlink-routerd -e <IP_ADDRESS>:14550 -e <IP_ADDRESS>:14550 (10.20.21.xx is the local network which my computer and the Aero uses) and I already had a main.conf that also streamed over usb (which was plugged in). My bad...
Is there maybe a way to protect against that?

I can confirm / am absolutely seeing this. My fix was to add another parameter to route_msg that is just an Endpoint src pointer. Pass this in from the Endpoint when calling route_msg and in the body of route_msg skip endpoint matching the src pointer.

@NaterGator is this the same?   @ChristophTobler's issue was explained above as having 2 endpoints connected to the same place.

The behavior I am seeing is even with a single UART and the default TCP endpoint mavlink-router reflects everything that comes in the UART back out it.

Looking at the code https://github.com/01org/mavlink-router/blob/master/src/mavlink-router/endpoint.cpp#L311 the messages are being reflected if a message without target is sent and the endpoint have more than one system id + component id.
The fix https://github.com/01org/mavlink-router/pull/113 would fix that but would also break any communication between systems in the same endpoint(not sure if this is real usage scenario) and maybe a better fix would be just remove '&& _sys_comp_ids.size() == 1' https://github.com/01org/mavlink-router/blob/master/src/mavlink-router/endpoint.cpp#L324

I can't imagine any scenario where any of the current endpoints would break with #113. I'm not as strongly convicted about the fix in accept_msg, but if someone has a case where an offboard system is generating proxy messages for another component fixing there would break that functionality.

@NaterGator I think it's likely there's another bug triggering this one.  Do you really have more than one component in one endpoint ... this is something valid, but from what I've seen it's usually a bug in modules sending messages  (and AFAIR @zehortigoza fixed a few in PX4).

@lucasdemarchi, no I do not...
My setup is a px4 autopilot with an SI1000 radio for telemetry. The px4 autopilot is hosted on a TX1 and uses the companion USART for communication. On the TX1 I have a computer vision application running and accepting/generating mavlink messages (component ID 100). On the PX4 stack I have forwarding turned on in the mavlink instances because I want GCS commands coming from the ground to reach the application running on the Tegra and vice-versa.
All of this works great, and I suspect what you are referring to the SI1000 telemetry updates propagating through the mavlink forwarding and appearing as multiple components on the same endpoint. Regardless, that should absolutely still be a supported use-case.
We have the following endpoint types, right?

UDP
TCP
UART
Log

Can you explain to me how it would ever make sense to perform loopback communication on these endpoints? I just can't envisage a use case where that behavior makes sense. In the UDP/TCP case it is an echo server, UART it is equivalent to wiring RX and TX together...

@lucasdemarchi, no I do not...

From the rest of the answer... this should actually be "Yes, I do"?  In your case you are telling the flight stack to route messages from GCS (that has its own sysid + compid) through this endpoint. This endpoint is the same endpoint used to talk with fight stack and also GCS.

Can you explain to me how it would ever make sense to perform loopback communication on these endpoints?

I don't think there's a case in which the loopback is valid or couldn't be replaced by something else.  We actually check this by comparing the src sysid/compid of that endpoint. What use cases do you see that fixing the check for src sysid/compid would not be sufficient?

Fixed


Trashy output with rope-GPTQ-Extended context

I used below command line:
python generate.py --base_model=TheBloke/Llama-2-7b-Chat-GPTQ --load_gptq="gptq_model-4bit-128g" --use_safetensors=True --prompt_type=llama2 --hf_embedding_model=hkunlp/instructor-large --save_dir='save' --load_exllama=True --revision=gptq-4bit-32g-actorder_True --rope_scaling="{'alpha_value':4}" --score_model=None --do_sample=True --top_k_docs=20 --do_sample=True --temperature=0.7 --top_p=0.95 --repetition_penalty=1.1 --share=False --max_new_tokens=8192 --max_seq_len=8192 --max_time=1200
It works fine no issues what so ever, however, when I prompt (copy from a file and paste in prompt text input) a text that is 4714 Tokens it keeps generating trashy output, screenshot below:

I noticed also a warning alert appeared in the console, screenshot below:

text file for reference.
4714 Tokens.txt
Prompt: Make bullet points summary for below text:

Yes, the RoPE stuff without fine-tuning is not very good.  Really a fine-tuned model is required unless one is simply trying to do naive retrieval.
The LM-Infinite approach seems much more promising in terms of not requiring fine-tuning.  There is no full implementation yet in open-source.


Attempt to fix TableWrap usage on workers pricing page

To fix broken DO pricing table.
This is mostly a shot in the dark, but the previous fix attempt (#2704) still doesn't appear to have helped in prod, so it shouldn't hurt to make the whitespace around these couple TableWraps more similar to the others on the same page.

 Yes, this will fix it. The spacing means engine-docs doesn't see the line as empty.
Will close my PR - https://github.com/cloudflare/cloudflare-docs/pull/2708

Looks like this worked: https://developers.cloudflare.com/workers/platform/pricing#durable-objects


Actors Rendered Over Static Overlay

Describe the bug:
Actors are not obscured by an overlay if it is not moving. When showing an overlay, the actors are rendered above it, when the overlay is set to move to a new position, the actors switch to being rendered under it.
To Reproduce:

Add a new scene with a simple, mostly white background
Add an actor

ON SCENE INIT:

Add event Wait - 2 seconds
Add event Show Overlay - Black, covering whole screen
Add event Wait - 2 seconds
Add event Overlay: Move To - set it to some value where the overlay moves a fair distance

Expected behavior:
Overlay should obscure actors when not moving
Screenshots:

Platform:

OS: macOS 11.0.1
App version: 3.0.1

I noticed this also applies to menus

This is because of how the GB hardware works. There's little GBS can do about it, besides hiding all of the sprites while overlay is shown.

https://github.com/chrismaltby/gbvm/commit/ca2b65217379dd4b07636937f1402e3783195e64

This is because of how the GB hardware works. There's little GBS can do about it, besides hiding all of the sprites while overlay is shown.

V2 hides the sprites that overlap with text boxes, the overlay, and menus. That behavior should be brought forward

This is because of how the GB hardware works. There's little GBS can do about it, besides hiding all of the sprites while overlay is shown.

It hid overlapping sprites in 2.0 so that feature should be brought back


[fuzz-test] Arithmetic overflow occurs while using API Layout::split()

Description

I executed fuzzing to test tui-0.19.0 APIs. This reproduced on ratatui as well. More than one overflow occurs for different input values while running Layout::split(). I'll just list up 3 cases with fuzz inputs for reproduce.
To Reproduce

let rect  = Rect::new(fuzz_arg0, fuzz_arg1, fuzz_arg2, fuzz_arg3);
let vchunks  = Layout::default().direction(Direction::Vertical).margin(fuzz_arg4).constraints([Constraint::Min(fuzz_arg5), Constraint::Length(fuzz_arg6)].as_ref()).split(rect);

case 1
fuzz input :  (65535, 18503, 64000, 61439, 64, 255, 18443)
Thread '<unnamed>' panicked at 'attempt to add with overflow', tui-0.19.0/src/layout.rs:422

    pub fn inner(self, margin: &Margin) -> Rect {
        if self.width < 2 * margin.horizontal || self.height < 2 * margin.vertical {
            Rect::default()
        } else {
            Rect {
                x: self.x + margin.horizontal, // overflow!
                y: self.y + margin.vertical,
                width: self.width - 2 * margin.horizontal,
                height: self.height - 2 * margin.vertical,
            }
        }
    }

case 2
fuzz input : (65535, 65535, 65535, 65535, 65535, 65535, 65535)
Thread '<unnamed>' panicked at 'attempt to multiply with overflow', tui-0.19.0/src/layout.rs:418

    pub fn inner(self, margin: &Margin) -> Rect {
        if self.width < 2 * margin.horizontal || self.height < 2 * margin.vertical {  // overflow!
            Rect::default()
        } else {
            Rect {
                x: self.x + margin.horizontal,
                y: self.y + margin.vertical,
                width: self.width - 2 * margin.horizontal,
                height: self.height - 2 * margin.vertical,
            }
        }
    }

case 3
fuzz input : (18504, 65535, 18504, 18504, 1, 18504, 18504)
Thread '<unnamed>' panicked at 'attempt to add with overflow', /home/sslab/rust-fuzz/cache_dir/tui-0.19.0/src/layout.rs:423

    pub fn inner(self, margin: &Margin) -> Rect {
        if self.width < 2 * margin.horizontal || self.height < 2 * margin.vertical {
            Rect::default()
        } else {
            Rect {
                x: self.x + margin.horizontal,
                y: self.y + margin.vertical,  // overflow!
                width: self.width - 2 * margin.horizontal,
                height: self.height - 2 * margin.vertical,
            }
        }
    }

Expected behavior

Adding assert statement or modifying to use checked operation would resolve this issue.

Please update the info to just the ratatui info (not the tui-rs repo). Tui-rs will likely never receive more updates AFAICT.
You mentioned this affects layout::split, but the code examples are for Rect::inner.
Can you please test these against the main branch rather than the released code, and add a permalink instead of pasting code directly

You might find it quicker to submit a PR to fix some of these fuzz issues rather than type up a full issue.
That arithmetic for inner() should be saturating.

TODO:

[ ] Clarify the failure (include a full backtrace rather than just the last error)
[ ] Replace math in Rect::inner() with saturating math ops

The overflow path starts from Layout::split and it affects on Rect::inner. But yes, it's better to just focus on Rect::inner as it's declared as public API as well.
Sorry for hard-looking sample codes, it's used on fuzzers. I'll simplify the issue and open the pr.

Sorry for hard-looking sample codes, it's used on fuzzers. I'll simplify the issue and open the pr.

I'm not concerned about it. It would be nice to show the code from Ratatui rather than Tui, and if possible with a github permalink (these help show the problem in the context). I wonder how hard it would be to make the fuzzer your're using do that by default (or is the issue text here manually created)? The url format is pretty easy to construct given the filename, lines and git hash. E.g.:
https://github.com/ratatui-org/ratatui/blob/5498a889ae8bd4ccb51b04d3a848dd2f58935906/src/layout.rs#L522-L532

https://github.com/ratatui-org/ratatui/blob/c5ea656385843c880b3bef45dccbe8ea57431d10/src/layout.rs#L228-L242
This also has been fixed on #523 . We're using libfuzzer, and fuzz driver code is already given on issue description. Please note that fuzzer launches API starting with Layout::split(), not Rect::inner().

Thanks again for this :)


Update AppVeyor Configuration by Removing SONAR_TOKEN

User description

Resolves #ISSUE_NUMBER

Before the change?

After the change?

Pull request checklist

[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been reviewed and added/updated if needed (for bug fixes/features)

Does this introduce a breaking change?

[ ] Yes
[ ] No

Description

Enhanced the AppVeyor configuration by removing the SONAR_TOKEN environment variable.
Maintained the security of other tokens in the configuration.

Changes walkthrough 📝
Relevant filesConfiguration changes

appveyor.ymlUpdate AppVeyor Configuration by Removing SONAR_TOKEN

appveyor.yml
Removed the SONAR_TOKEN environment variable.  Kept CODACY_PROJECT_TOKEN and CODECLIMATE_TOKEN secure tokens.

+0/-2

Summary by CodeRabbit

Chores

Updated CI/CD pipeline configuration for improved build process.
Removed unnecessary environment variable for security.
Streamlined commands for coverage reporting and artifact management.

@gstraccini appveyor build pull request

:white_check_mark: Build VTEX-SDK-dotnet 2.3.1050 completed (commit https://github.com/guibranco/VTEX-SDK-dotnet/commit/b7356aa10a by @guibranco)


"A template was not provided." error on fresh install

Hello world, I was working on my create app and i noticed it just stopped displaying the progress so I decided to re-run and I kept on having the same issues and felt maybe I should create a new app template which I went on with it and after some minute of thinking it's created I went back to it to start it stop but got a message that reads
A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported. and after trying to wrap my head around it I couldn't solve it and felt a need to go to you and hoping for a reply as soon as possible
THANKS

What are you using to run create-react-app?
Take a look at the quick-start section: https://create-react-app.dev/docs/getting-started#quick-start

If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app to ensure that npx always uses the latest version.

Try unistalling create-react-app if you have installed it globally using npm install -g create-react-app
and then use npx create-react-app my-app. It should work.

I uninstalled create-react-app globally, upgraded npm and npx, but it's still throwing the 'A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.' warning.

I have this problem as well! Everything was perfectly fine yesterday and then today it suddenly started saying the same warning that everyone else is getting whenever I try to create a react app. I have tried uninstalling and everything but nothing has worked so far.

I have also uninstalled, reinstalled globally, and tried everything else on this recent thread, and my create-react app is still not working.

Pleeeeease! HELP! The Create-React-App is NOT working since the latest update released to 3.3.0 which happened hours ago. Please review this UPDATE.
I tried everything including upgrading Node, Uninstalling Global installations... etc.
It is just installing node-modules... (taking 4 minutes to go everytime) and package json.
I tried even with --template options...
I tried to downgrade to the very last working version, but still not working. It seems that it always tries to install the latest bugged version.
Please... Help.

Just to be clear, you're all getting this error while creating new apps after typing npx create-react-app my_new_app?

Yes @heyimalex

What does the output of npx create-react-app --info say?

Yep @heyimalex

  System:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz
  Binaries:
    Node: 12.2.0 - ~/.nvm/versions/node/v12.2.0/bin/node
    Yarn: Not Found
    npm: 6.11.3 - ~/.nvm/versions/node/v12.2.0/bin/npm
  Browsers:
    Chrome: 78.0.3904.108
    Firefox: 70.0.1
    Safari: 13.0.3
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: 3.3.0

 System:
  OS: macOS 10.15.1
  CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
 Binaries:
  Node: 12.12.0 - /usr/local/bin/node
  Yarn: Not Found
  npm: 6.11.3 - /usr/local/bin/npm
 Browsers:
  Chrome: 78.0.3904.108
  Firefox: Not Found
  Safari: 13.0.3
 npmPackages:
  react: Not Found
  react-dom: Not Found
  react-scripts: Not Found
 npmGlobalPackages:
  create-react-app: 3.3.0

I have a feeling it might work with yarn but... I feel like I shouldn't have to
lol

After the A template was not provided. error there should be a line that says <...> has failed., could you print that here?

the whole message:
A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.

Ok, I kinda misunderstood how the code flowed. This is gonna be rough but could you try this for me:

Find your global install of create-react-app. Probably in something like /usr/local/lib/node_modules. You may be able to at least get close to by calling which create-react-app.
Find createReactApp.js and add a line at the beginning of the executeNodeScript function at the bottom of the file that looks like this console.log('init input data: ', JSON.stringify(data));
Run it again and tell me what that outputs.

init input data:  ["/Users/[myusername]/coding/testytest","testytest",null,"/Users/[myusername]/coding",null]

I'm discovering I really should have read the code before I dug into this :') I'm sorry. Could you just post the entire output of the install?
Since I can't reproduce this and you're already in createReactApp.js, it'd probably be faster if you tried getting to the bottom of this! Everything happens in that file. The gist is that the error happens because templateName on line 517 is null/undefined. You can just walk back up through the program and figure out why.

haha yep, let me see what I can figure out. here's the entire output:
Creating a new React app in /Users/madelinerombes/coding/testytest.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

><EMAIL_ADDRESS>install /Users/madelinerombes/coding/testytest/node_modules/chokidar/node_modules/fsevents
> node install

[fsevents] Success: "/Users/madelinerombes/coding/testytest/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" is installed via remote

><EMAIL_ADDRESS>install /Users/madelinerombes/coding/testytest/node_modules/jest-haste-map/node_modules/fsevents
> node install

[fsevents] Success: "/Users/madelinerombes/coding/testytest/node_modules/jest-haste-map/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" is installed via remote

><EMAIL_ADDRESS>postinstall /Users/madelinerombes/coding/testytest/node_modules/babel-runtime/node_modules/core-js
> node postinstall || echo "ignore"

><EMAIL_ADDRESS>postinstall /Users/madelinerombes/coding/testytest/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

><EMAIL_ADDRESS>postinstall /Users/madelinerombes/coding/testytest/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 1666 packages from 764 contributors and audited 904892 packages in 63.475s
found 0 vulnerabilities

init input data:  ["/Users/madelinerombes/coding/testytest","testytest",null,"/Users/madelinerombes/coding",null]

A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.

verbose and template are null

the template being used is hiddenProgram.internalTestingTemplate, which is this:
const hiddenProgram = new commander.Command()
  .option(
    '--internal-testing-template <path-to-template>',
    '(internal usage only, DO NOT RELY ON THIS) ' +
      'use a non-standard application template'
  )
  .parse(process.argv);

Hmm, that went away in this commit so definitely before 3.3.0 was released. Very weird since --info said version 3.3.0. What does the package.json above your createReactApp.js say in the version field?

it's 3.0.1., weird! you'd think uninstalling and reinstalling would've done it. I'll play around...

I mean the original error said that the -g doesn't work anymore, right? so do I delete the node module manually?

Yep. So here's what I did.

remove create-react-app from node_modules from user root
npm install -g create-react-app
npx create-react-app myapp works

thanks @heyimalex 😅

For sure! Sorry I took such a roundabout path to figuring out what went wrong.
For anyone else running into this, try running:
npx --ignore-existing create-react-app

If installation succeeds, then you either have an older global version of create-react-app installed or you have an older version of create-react-app installed in a node_modules folder somewhere up your directory tree. Removing that should fix the issue!

@maddyrombes Thanks!!

Thanks!! Ive just erased my users root node_module and it worked!!! Glory to Jesus!

another solution:
 npm uninstall -g create-react-app
when I uninstall it,I can't find the folder in /usr/local/lib/node_modules;
but It is still failed.(npx --ignore-existing create-react-app can work.)
then I found the folder in /usr/local/bin ,I delete the create-react-app folder,
and it can work.

I stumbled upon this issue as well.


The configuration needs a way to specify the file that you want to push to AWS logs

File: config/containers/logging/awslogs.md

Could you explain a bit more what information you're missing?


Fix AppInsights configuration + tool_calls + Docker image date TAG

Fix AppInsights env vars
Use a date based TAG instead of latest to force image updates during azd up
Fixed error when researcher doesn't return tool_calls

LGTM! Thank you!


This Powerful Engine is not Working for me

I activate all the functions, especially the one that leaves the Spec clean.
However, it is not working. It hasn't changed at all.
I add "-tempcontent", but the spec remains the same, everything still the same
I use the W10 Lite 64bit system

Have you checked if the vpk file is created?

Steam\steamapps\common\dota 2 beta\game\dota_tempcontent\pak01_dir.vpk

And if it is make sure that you don't have the same vpk file in the mods folder

Steam\steamapps\common\dota 2 beta\game\mods\pak01_dir.vpk

Since if the mods folder vpk file has it's own items_game.txt it will use that one instead.

Have you checked if the vpk file is created?

Steam\steamapps\common\dota 2 beta\game\dota_tempcontent\pak01_dir.vpk

And if it is make sure that you don't have the same vpk file in the mods folder, Since if the mods folder vpk file has it's own items_game.txt it will use that one instead.

Steam\steamapps\common\dota 2 beta\game\mods\pak01_dir.vpk

Also the UI design is weird, make sure to click the options you want to use and that they are highlighted white before you click OK.

Thanks for the Answer, i`ll show some prints about my problem.
I use this command to initialize the dota: +map_enable_background_maps 0 -novid -console -high -32bit +cl_showfps 1 -tempcontent
its DX9
i choice everything >
"No-Bling"
{
"sel"		"Couriers,Wards,Heroes,Wearables,Abilities,GlanceValue,Taunts,SoundBoard,Loadout,Potato"
}
"
Spec still with the aura :LLLL


create write_ts_all_loc

This reordering of the longitudes and latitudes should not be necessary. This is actually a bug in pygeogrids that you discovered. See https://github.com/TUW-GEO/pygeogrids/pull/38 . I'll add the write_ts_all function after the new version of pygeogrids is released.


can you please update it my friend became emo because this mod doesnt work

my friend found out how to make it work but it doesnt work for me (put it in the plugins folder)

Pics or fake
Closed, duplicate of #11


Adding new data if we need it due to spike in activity

We should have the PR going out today, but the decision could change from the people in charge of making those decisions- in case get through Ithaca season one, we'd like to unpause another season 1 region
can we turn on when needed subjects associated with the following HiRISE image ids
PSP_004002_0845
PSP_003246_0950
PSP_003734_0950
PSP_003786_0950
PSP_003787_0950
PSP_003866_0950
PSP_003932_0950
PSP_004024_0950
PSP_004736_0950
PSP_005119_0950
PSP_004028_0850
PSP_003474_0850
PSP_004041_0850
If we can get Ithaca done first that would be better, but whatever is best for the development team  I can reply to the ticket when we're getting closer to completion or if you think we should just make this live so it's ready, then that's fine too.

If this is meant to be Giza season1, then also these 4: (see this file for our main regions image IDs: https://github.com/CitizenScienceInAstronomyWorkshop/P4_sandbox/blob/master/planet4/region_data.py
           'PSP_002600_0955',
           'PSP_004380_0950',
           'PSP_003958_0950',
           'PSP_004028_0850',

@michaelaye the last one of those is in my list. The other three aren't listed in the excel spreadsheet Anya originally sent around for Season 1 so those aren't uploaded. I don't know why those were omitted from the list. So the list I have above is complete for what we have stored on AWS for season 1. Probably worth finding out why those images weren't on the list

I have extracted my list from the Excel spreadsheet that Candy sent around months ago.

Except that one is apparently different than the one Anya sent. I'm looking at the one from Anya that was sent to Arfon and the list for data upload of Season 1. I can forward it to you

Anyway we've sorted in email - we're happy with the original list I have in the ticket to make active. We're waiting for word the PR is actually going out

@chrissnyder we'd like to push this set live (change from paused to active) sometime next week if that would be possible. We're trying to make a push this week on the blog, etc to try and make room for new data.  Early next week would be good since then we can incorporate it with the last newsletter for the sticker stuff, but whatever timeline works best for the development team is fine by us.

Done.


fix account balance breaking change

https://github.com/paritytech/substrate/pull/12951

This seems to not be an issue on any of the chains thus far, but just in case...


Issue Yarn Compilation + Server start

Hello,
I tried to run the project on Macos BigSur 11.6 with those versions of plugins :
Node v14.18.3
Yarn v1.22.17
I have imported the GIT project in VSCode and then executed those commands
yarn
I ve got this log
Sebastiens-MacBook-Pro-2:react-ui sebastient$ yarn
yarn install v1.22.17
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "@emotion/styled ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning "@emotion/styled > @emotion/babel-plugin ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning "react-scripts > @typescript-eslint/eslint-plugin ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>>= 3.2.0-dev  >= 3.3.0-dev  >= 3.4.0-dev  >= 3.5.0-dev  >= 3.6.0-dev  >= 3.6.0-beta  >= 3.7.0-dev  >= 3.7.0-beta".
warning "@material-ui/codemod ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning "@material-ui/codemod ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>^0.8.0  ^0.9.0  ^0.10.0  ^0.11.0".
warning "@material-ui/codemod > jscodeshift-add-imports ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>^0.8.0  ^0.9.0  ^0.10.0  ^0.11.0".
[--------------------------------------------------------------------------------------------------------------------------------------------------] 0/2143
error An unexpected error occurred: "ENOSYS: function not implemented, symlink '../../../parser/bin/babel-parser.js' -> '/Users/sebastient/pCloud Drive/My<EMAIL_ADDRESS>info If you think this is a bug, please open a bug report with the information provided in "/Users/sebastient/pCloud Drive/My Documents/02_Pro/10_Trading/Flask_React/flask-react-berry-dashboard/react-ui/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
After I tried to launch the server
yarn start
I ve got that error log
Failed to compile.
Failed to load plugin 'prettier' declared in '.eslintrc': Cannot find module 'eslint-plugin-prettier'
Require stack:

/Users/sebastient/.config/yarn/global/node_modules/react-scripts/config/placeholder.js

I hope you will find a solution and will be able to help me
Thank you

This seems to be working fine for us. Have you changed yarn.lock file or any package?

Hello @777Bridges,
The problem might be related to the filesystem type of OS.
Basically, when Yarn tries to create a symlink for used packages, the OS bumps the ENOSYS .. error.
This error is visible when the disk is formatted using exFAT and FAT32.
Our advice is to format your working partition to ext4 or something modern that supports symlinks.

I checked my filesystem, it is APFS like the new generation of Mac.

This seems to be working fine for us. Have you changed yarn.lock file or any package?

Hello,
thank you for your feedback.
But it doesn't really help me. I see that your yarn project is building really quickly.
On my side it is so long, it is downloading like 80000 files and takes at least 1 hour to build...
Is that normal ?

Good day,
I found the issue.
For all my project, I run it on a cloud server mount on my computer to be able to access to them everywhere.
But for that project, it seems that it doesn't work.
Anyway, I tried to install everything locally and it works perfectkly.
Thank you for your help


CornerRadiusFilterConverter API doc

Quick question.  Does the value animate as it changes, or does it just switch?
So when a Flyout is shown below, does the bottom corner radii switch to 0, or does it transition between 2 and 0?

Quick question. Does the value animate as it changes, or does it just switch?
So when a Flyout is shown below, does the bottom corner radii switch to 0, or does it transition between 2 and 0?

No animations for now but I guess we can discuss with @chigy.  I personally think it actually looks better without animations since the secondary menu slides down when you open it (Same for AutoSuggestBox and ComboBox). The top part of secondary menu is almost immediately visible after clicking the button, if we animate the corner radii you'll see a gap at first and then it slowly closes (which i feel draws too much unnecessary attention?).

Quick question. Does the value animate as it changes, or does it just switch?
So when a Flyout is shown below, does the bottom corner radii switch to 0, or does it transition between 2 and 0?

No animations for now but I guess we can discuss with @chigy. I personally think it actually looks better without animations since the secondary menu slides down when you open it (Same for AutoSuggestBox and ComboBox). The top part of secondary menu is almost immediately visible after clicking the button, if we animate the corner radii you'll see a gap at first and then it slowly closes (which i feel draws too much unnecessary attention?).

@kaiguo , @mdtauk ,
Kai is right. We want to be thoughtful and purposeful about adding motion. In this case, we decided not to add motion because we didn't see the value. That said, if that proves to be wrong, we can always add it later. For v1, we are not.

Quick question. Does the value animate as it changes, or does it just switch?
So when a Flyout is shown below, does the bottom corner radii switch to 0, or does it transition between 2 and 0?

No animations for now but I guess we can discuss with @chigy. I personally think it actually looks better without animations since the secondary menu slides down when you open it (Same for AutoSuggestBox and ComboBox). The top part of secondary menu is almost immediately visible after clicking the button, if we animate the corner radii you'll see a gap at first and then it slowly closes (which i feel draws too much unnecessary attention?).

@kaiguo , @mdtauk ,
Kai is right. We want to be thoughtful and purposeful about adding motion. In this case, we decided not to add motion because we didn't see the value. That said, if that proves to be wrong, we can always add it later. For v1, we are not.

@kaiguo @chigy  Thank you.  I only asked because there is a show transition for the drop down/flyout, and so the corner radius change would happen a tiny little bit before the flyout has finished appearing.

Quick question. Does the value animate as it changes, or does it just switch?
So when a Flyout is shown below, does the bottom corner radii switch to 0, or does it transition between 2 and 0?

No animations for now but I guess we can discuss with @chigy. I personally think it actually looks better without animations since the secondary menu slides down when you open it (Same for AutoSuggestBox and ComboBox). The top part of secondary menu is almost immediately visible after clicking the button, if we animate the corner radii you'll see a gap at first and then it slowly closes (which i feel draws too much unnecessary attention?).

@kaiguo , @mdtauk ,
Kai is right. We want to be thoughtful and purposeful about adding motion. In this case, we decided not to add motion because we didn't see the value. That said, if that proves to be wrong, we can always add it later. For v1, we are not.

@kaiguo @chigy Thank you. I only asked because there is a show transition for the drop down/flyout, and so the corner radius change would happen a tiny little bit before the flyout has finished appearing.

@kaiguo , let's make sure we take a look at the motion together once this is working on your machine.


Plugin crashes while creating a virtual machine

Hello i have a similar error to the related issue open recently.
My proxmox version is pve-manager/7.1-12/b3c09de3  and i'm using the 2.9.10 version of the provider.
I review my configuration and followed the requirement for authentication purpose (create a specific terraform role and user) and generate a new token.
Here the stacktrace:

I don't think so look  :

ok, post your provider + resource configuration then, with particular attention with the user and how it's configured on proxmox side.

Here my providers.tf file outside of my modules :
My providers.tf in my module :

The configuration of the service account in proxmox is the same as the documentation provide.
The service account is terraform-prov and his permissions are the following :

Ressource configuration :
I have a module name "vms" with this file :
main.tf :

locals.tf:

(and the providers.tf file)
Under the modules vms i have the resource configuration :
main.tf :

variables.tf:


add free ebook java spring boot written in Bahasa Indonesia

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)? yes, full of knowledge
How do we know it's really free? from title and link download
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

use "raw" link. (I've asked the author to move the binary file to releases)

use "raw" link. (I've asked the author to move the binary file to releases)

@eshellman Done sir, please review my last commit thank you :)


MLZ states the deployment fails when there is an error but does not exit out of an MLZ deployment or appear to show other modules continuing to deploy.

Description
Steps to Reproduce
Steps to reproduce the behavior:

Execute an MLZ deployment
Currently, the GuestAttestation VM extension is failing for a Linux Remate Access VM.

Expected behavior
Have the MLZ deployment Overview continue to display other successful module deployments for MLZ to the end user.
Actual behavior
The MLZ Overview simply states that "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed. Click here for details.'
Screenshots

Additional context
Operating System:
Cloud (public, Azure Government, etc.):

This screen shot shows other modules being deployed.  I will update with a new screen shot where it does not show any further modules.


feat: adds stringify custom filter

Description

add stringify custom filter

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.45.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error 'schema.safeParse is not a function' throws

Hi there, I found a problem with the schema check:
Background:
app.get(
    '/xsolla/transactions',
    {
      schema: {
        response: {
          200: z.array(Transaction),
        },
      },
    },
    async ({ user }) => {
      const transactions = await app.transactionsCollection.find({ userId: user.id }).toArray()
      return transactions
    }
  )

if the schema object only has the successful response type in it (no params, no querystring), the code will throw schema.safeParse is not a function.
because the value of schema in the serializerCompiler func is:
{
  schema: {
    type: 'object',
    properties: ZodArray {
      spa: [Function: bound safeParseAsync] AsyncFunction,
      superRefine: [Function: bound _refinement],
      _def: [Object],
      parse: [Function: bound parse],
      safeParse: [Function: bound safeParse],
      parseAsync: [Function: bound parseAsync] AsyncFunction,
      safeParseAsync: [Function: bound safeParseAsync] AsyncFunction,
      refine: [Function: bound refine],
      refinement: [Function: bound refinement],
      optional: [Function: bound optional],
      nullable: [Function: bound nullable],
      nullish: [Function: bound nullish],
      array: [Function: bound array],
      promise: [Function: bound promise],
      or: [Function: bound or],
      and: [Function: bound and],
      transform: [Function: bound transform],
      default: [Function: bound default],
      describe: [Function: bound describe],
      isNullable: [Function: bound isNullable],
      isOptional: [Function: bound isOptional]
    }
  },
  url: '/v1/iap/xsolla/transactions',
  method: 'GET',
  httpStatus: '200'
}

absolutely it will throw error schema.safeParse is not a function because it should be schema.properties.safeParse
BUT, the tricky thing is if I add params: z.any() into the schema before the response,
app.get(
    '/xsolla/transactions',
    {
      schema: {
        params: z.any(),
        response: {
          200: z.array(Transaction),
        },
      },
    },
    async ({ user }) => {
      const transactions = await app.transactionsCollection.find({ userId: user.id }).toArray()
      return transactions
    }
  )

the schema turns to:
{
  schema: ZodArray {
    spa: [Function: bound safeParseAsync] AsyncFunction,
    superRefine: [Function: bound _refinement],
    _def: {
      type: [ZodObject],
      minLength: null,
      maxLength: null,
      typeName: 'ZodArray'
    },
    parse: [Function: bound parse],
    safeParse: [Function: bound safeParse],
    parseAsync: [Function: bound parseAsync] AsyncFunction,
    safeParseAsync: [Function: bound safeParseAsync] AsyncFunction,
    refine: [Function: bound refine],
    refinement: [Function: bound refinement],
    optional: [Function: bound optional],
    nullable: [Function: bound nullable],
    nullish: [Function: bound nullish],
    array: [Function: bound array],
    promise: [Function: bound promise],
    or: [Function: bound or],
    and: [Function: bound and],
    transform: [Function: bound transform],
    default: [Function: bound default],
    describe: [Function: bound describe],
    isNullable: [Function: bound isNullable],
    isOptional: [Function: bound isOptional]
  },
  url: '/v1/iap/xsolla/transactions',
  method: 'GET',
  httpStatus: '200'
}

which makes the schema.safeParse reachable.

it seems like this error was fixed 5 months ago.


does oauth2_proxy support tcp proxy ?

Thank you.

No, it does not as you can't do an oauth flow for a tcp connection.


Init model from JSON error with message: "Invalid radix-10 number"

I have json string of an GRPC model. And try to fulfil GRPC model from json like:
try {
    final String info = await _methodChannel.invokeMethod(GRPCMethod.getDeviceInformation); // Getting json from native grpc model
      var response = GetDeviceInformationResponse.fromJson(info);
      return response;
    } catch (e) {
// Getting error: "Invalid radix-10 number"
      return GetDeviceInformationResponse.create();
    }

Please help how to fix it?

Just copied source code of how it works:
void _mergeFromJsonMap(_FieldSet fs, Map<String, dynamic> json, ExtensionRegistry registry) {
  var keys = json.keys;
  var meta = fs._meta;
  for (var key in keys) {
    var fi = meta.byTagAsString[key];
    if (fi == null) {
      if (registry == null) continue; // Unknown tag; skip
      fi = registry.getExtension(fs._messageName, int.parse(key));// THE BUG IS HERE  **int.parse(key)**
      if (fi == null) continue; // Unknown tag; skip
    }
    if (fi.isMapField) {
      _appendJsonMap(fs, json[key], fi, registry);
    } else if (fi.isRepeated) {
      _appendJsonList(fs, json[key], fi, registry);
    } else {
      _setJsonField(fs, json[key], fi, registry);
    }
  }
}

As you can see the reason of the bug is in this line:
fi = registry.getExtension(fs._messageName, int.parse(key));
Because it tries to parse key into int, but the reason is that key is not int. key is String. It cause a bug "Invalid radix-10 number"
So please help. Maybe I'm doing something wrong? Or it's a bug?

As explained on the other issue: you are most likely trying to parse Proto3 JSON as if it was a JSPB.

In my case I had to:
final jsonMap = jsonDecode(data);
final push = Push.create()..mergeFromProto3Json(jsonMap);
return push;

In my case I had to:
final jsonMap = jsonDecode(data);
final push = Push.create()..mergeFromProto3Json(jsonMap);
return push;

Oh man thanks you saved my day. Just have the same issue right now.
I thins ot would be nice if they add new constructor Message.fromJsonProfo3 f.e.


Llm phi

A jupyter notebook to demo finetuning with the Phi3 LLM model. https://huggingface.co/docs/transformers/main/en/model_doc/phi3
We use the math_10k dataset https://github.com/AGI-Edgerunners/LLM-Adapters/tree/main
We download the dataset from github and check its hash and preprocess the dataset.
We load the phi model and prepare it for PEFT training.
Then we create a workflow that extracts the peft parameters and excludes sending the full model to the collaborators, the collaborators reconstruct the model from the original model and only modify the peft parameters. And after training and evaluation return the peft parameters again to be used with fed average.

@porteratzo can you take care of failed pipelines and ask for review agian?


Performance Issue

It seems like adding copilot source will make blink.nvim pop out significant slower than before. Can we do something like async startup and add copilot entry into pop menu when copilot source is enabled? So blink.nvim's pop menu can appear as soon as possible.

agree.
didn't see any change even if set async = true

Hello,
@MrZLeo, async = true is exactly the behaviour you have described.
It was added on https://github.com/Saghen/blink.cmp/commit/533608f56b912aba98250a3c1501ee687d7cf5eb which has not been released yet, sorry for the confusion 😅.

Hello, @MrZLeo, async = true is exactly the behaviour you have described. It was added on Saghen/blink.cmp@533608f which has not been released yet, sorry for the confusion 😅.

Oh I understand, I will try beta version blink. Think you!!! : )


Particle Editor

We will capture here all new features we could consider to add to the Inspector for 4.2 and future release

[x]  Particle creator

Kept only Particle Editor in this issue and split the other to individual issues as we are getting cloer to release


NBS file back-end can panic when it runs out of process-limited file handles

The likely fix is to this is some form of compaction #2881, but the actual requirement here is probably the simplest version of compaction which (very nearly) simply takes N tables and concatenates them together.

Number of tables now has an upper bound of 128. Closing in favor of any more specific bugs.


Documentation: Does this work on MacOS version ...?

Does this work on MacOS 10 (latest non-Big Sur)?
For corporate reasons, I cannot at this time upgrade to Big Sur, and would enjoy the glypies as my screen saver when at work.

Maybe a documentation issue. The readme says "El Capitan or newer", which is still correct, but that's hidden in the tech section.


feat: Source Migration

This PR features many legacy migrations includes:

TypeScript -  Allows the source to be maintained easier #158
ORM - More efficient database middleman library #159
.env files - More secure way of storing secrets #160
Telemetry Notices/Switches - #148

Also includes bug fix and small new features.

uhh any reason this was rejected?

 Also don't merge it yet, I need to update the docs as well. It's just opened so that you can run a few test yourself to make sure everything is working in-case I missed something during my own test.

Also can you send me an invite to the doc as well https://github.com/Sayrix/Ticket-Bot-Docusaurus

Yep

Perfect, just review the docs PR and we'll start merging.
After that, I'll finish couple feature requests and then we can make v3.0.0 release tag.


Confused about deploying

I've just started with Sage and am confused about what to deploy to a standard wordpress hosted environment (or to Openshift). There seem to be files in the root directory of the theme, in templates and in assets. I suspect I have missed something obvious in this otherwise very sophisticated system?

@simonh1000 - as is this isn't an issue with the repository, please post over at our Discourse Forum, and I'll be able to answer your question over there.
Close this up team.


default-http-backend getting oom killed which sometimes in turn causes PLEG issues

Rancher versions:
rancher/server or rancher/rancher: v2.0.7
Infrastructure Stack versions:
kubernetes: v1.10.1
Docker version: (docker version,docker info preferred)
# docker info
Containers: 105
Running: 101
Paused: 0
Stopped: 4
Images: 26
Server Version: 18.03.1-ce
Storage Driver: devicemapper
Pool Name: VolGroup00-docker
Pool Blocksize: 524.3kB
Base Device Size: 10.74GB
Backing Filesystem: xfs
Udev Sync Supported: true
Data Space Used: 20GB
Data Space Total: 137.4GB
Data Space Available: 117.4GB
Metadata Space Used: 10.54MB
Metadata Space Total: 4.295GB
Metadata Space Available: 4.284GB
Thin Pool Minimum Free Space: 13.74GB
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.140-RHEL7 (2017-05-03)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
  Profile: default
Kernel Version: 3.10.0-693.11.6.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.4 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 72
Total Memory: 503.5GiB
Name: some-host.domain.com
ID: some-id
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
myrepo.domain.com:8443
<IP_ADDRESS>/8
Registry Mirrors:
https://myrepo.domain.com:8443/
Live Restore Enabled: true

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
rhel 7.4 - 3.10.0-693.11.6.el7.x86_64 #1   SMP Thu Dec 28 14:23:39 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
bare metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA
Steps to Reproduce:

deploy vanilla ha cluster
have a few clusters plus monitoring enabled
oom default backend seems to happen

Results:

this ends up causing docker to behave oddly
from the http backend process we see it repeatedly spawn and not reap the reserved memory
eventual PLEG error where docker isnt responding fast enough

going to attempt as a workaround/stop-gap increase the memory limit and request to 200mi from 20.

There is an issue on CentOS/RHEL boxes where using the cgroupfs driver can lead to kmem_usage leaking as a container keeps getting OOM-killed. Switching to systemd as your cgroup driver does not eliminate the default-http-backend pod from getting OOM-killed, but can eliminate docker from hanging due an inability to create child processes in the pod (thrashing)

Is there any update on this issue ?

Hi @aemneina. Do you mind helping out a bit? We're seeing the same results ("docker to behave oddly", "PLEG error where docker isnt responding fast enough"), but different circumstances, and I'd like to clarify some things.

oom default backend seems to happen

Is it only the ingress default backend that's affected? Or it can happen to any workload?

from the http backend process we see it repeatedly spawn and not reap the reserved memory

Repeat how often? And what reserved memory? Do you mean memory free/available from free -m is constantly decreasing?
Thanks in advance!

Hey @Nowaker It seems any container that uses memory limits and/or reservations can be hit with this issue. I think nginx is generally configured to be restricted to a small amount of memory so common in triggering the issue. Can you share your OS/docker info? Feel free to share those directly if you don't want to broadcast them, @ahmad in rancher-users slack. My general experience is CentOS/RHEL boxes are affected, when using a 3.x kernel and docker < 18.09 (configure with cgroupfs as the cgroup driver).  Here are a couple fixes I'm keeping an eye on for potential fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1693559
https://github.com/kubernetes/kubernetes/issues/61937
https://github.com/opencontainers/runc/issues/1725

Thanks for your response @aemneina!
On a second thought, I think OOM kills we started seeing two weeks ago are not related. I found a metric that shows constant PLEG issues for the last 3 months, and OOM kills are only appearing in the last two weeks. Back to the search for the cause of this problem... 😿
BTW - we run quite close to the bleeding edge (not Arch Linux close, though, hehe). Most nodes:

Ubuntu 18.04.2 LTS
Docker version 18.09.2, build 6247962
Linux 4.15.0-48-generic

And one node, bumped today to see if it helps in any way (no data yet):

Ubuntu 18.04.2 LTS
Docker version 18.09.6, build 481bc77  (bump by 0.0.4)
4.15.0-50-generic  (bump by 0.0.0-2)

Thanks a lot for your response, and an offer for help, @aemneina!

@aemneina Ha, I'm back to thinking it might be OOM related. It turned out this particular metric had a retention of 15 days. A coworker confirmed we've seen OOM on these particular workloads for months.
Based on the info provided - Docker and kernel versions - do you think it's still possible OOM inside containers can cause problems?

@aemneina I've doubled our memory limits on this particular workload that causes us OOMs, and there's no oom-killer activity in the last 20 hours. I'll yet to see if the issues I was seeing will stop or not. Usually, it takes ~3 days to see a PLEG issue to reoccur.

@Nowaker do you mind grabbing the output of busctl tree on a node that is having PLEG issues?
If the systemd1 socket gives a Connection timeout, you can try a systemctl daemon-reexec to see if the issue goes away.
Additionally, there is an issue with docker < 18.09 on RHEL/CentOS 7 boxes, where the 7 series kernel (3.10.x) has kmem tracking which is pretty buggy. A repeatedly oom-killed guaranteed pod is subject to leaking kmem_usage and eventually having oom-killer kill the runc process that is spawned to create the container, which if done in the right storm of events can cause a docker deadlock.

Additionally, there is an issue with docker < 18.09 on RHEL/CentOS 7 boxes, where the 7 series kernel (3.10.x) has kmem tracking which is pretty buggy. A repeatedly oom-killed guaranteed pod is subject to leaking kmem_usage and eventually having oom-killer kill the runc process that is spawned to create the container, which if done in the right storm of events can cause a docker deadlock.

We are exactly experiencing this. Could you please point me a link to the issue/bug report? Thanks.


Saving session in DB and querying another one?

I am trying to login and when I get the session value, I want to store it in DB.
Once that is done, let's day I want to login via another account and store the session in DB.
Now I want to use the first session login and proceed with further steps...
Is this possible, as I am new to golang, I dont know much about it?

U can use something like https://github.com/dimaskiddo/go-whatsapp-rest that allows you to have multiple accounts. Then change "WASessionLoad" function to something like:
func WASessionLoad(jid string) (whatsapp.Session, error) {
	session := whatsapp.Session{}

	rows, err := svc.OracleDB.Query("select session_id  from xxx where jid = :1", jid)
	if err != nil {
			return session, err
	}
	defer rows.Close()

	var sessionID string

	for rows.Next() {
		rows.Scan(&sessionID)
	}

	if err = json.Unmarshal([]byte(sessionID), &session); err != nil {
		return session, err
	}

	return session, nil
}


Fix formatting of md documents

*.md files in doc/man directory have some issues:

some options are not correctly marked by **
kube-proxy.md is missing space between # and NAME heading

LGTM  @ingvagabund  Does this allow them to be converted to man pages again?  Should we unrevert #10419

ok to test

Before *.md files can be converted to man pages, they have to be modified by running:
add header
sed -i "s/# NAME/% KUBERNETES(1) kubernetes User Manuals\n# NAME/" *.md
modify list of options
sed -i -r 's/(^*[ ])(**--[^]**)(:)(.)/\2\n\t\4\n/' *.md
modify footer
sed -i -r "s/^[![Analytics].*//" *.md
Then they can be converted via go-md2man again.


Update kafka recommendations

This is the update that I'm suggesting after discussion with the IBM and RH
messaging teams.

Reviewed with Ref Arch team and no concerns expressed so landing.


Explorer views not merge during initial load

only a single view in the explorer viewlet. This gives the pretty merged title
connect to a remote
while first connection happens the views aren't merged

https://user-images.githubusercontent.com/1794099/165897072-2dd8216b-c970-477b-a691-30a70036900b.mov

I think this is https://github.com/microsoft/vscode/issues/147280.

/duplicate
Yes


Unsupported Media Type for POST requests

After the latest update (1.3.8), I noticed that my script, which restarts the app, fails with HTTP Error 415: Unsupported Media Type".
I specified all the headers from the API documentation for POST method (btw, why do we need them for "restart" endpoint?) but without any luck:
curl -X POST -H "Accept-Encoding: gzip, deflate, compress" -H "Content-Length: 0" -H "Accept: application/json" "http://example.org/marathon/v2/apps/datalore/hazelcast/restart?force=true"

{"message":"Unsupported Media Type"}

Once I added "Content-type: application/json" (which is actually the only mandatory header), my problem was solved.
Do I miss something or that is a bug in the docs?

It doesn't look like we parse a request entity here, so I'd argue that the
docs are right and the impl is wrong
On Fri, Mar 3, 2017 at 10:57 AM, Mikhail Krestyaninov <
<EMAIL_ADDRESS>wrote:

After the latest update (1.3.8), I noticed that my script, which restarts
the app, fails with HTTP Error 415: Unsupported Media Type".
I specified all the headers from the API documentation
https://github.com/mesosphere/marathon/blob/master/docs/docs/rest-api.md#user-content-post-v2appsappidrestart
for POST method (btw, why do we need them for "restart" endpoint?) but
without any luck:
curl -X POST -H "Accept-Encoding: gzip, deflate, compress" -H "Content-Length: 0" -H "Accept: application/json" "http://example.org/marathon/v2/apps/datalore/hazelcast/restart?force=true"
{"message":"Unsupported Media Type"}
Once I added "Content-type: application/json" (which is actually the only
mandatory header), my problem was solved.
Do I miss something or that is a bug in the docs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon/issues/5301, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPVLOckaW4xPoh1nADv0iwk5_w51btoks5riDh7gaJpZM4MSbO0
.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4645. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Doxygen documentation update

Doxygen minor updates to documentation
Description
Added missing libraries to doxygen guide. Added missing step of creating a tag folder.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run check


Create index.markdown

Creating new index page for Nepal

Hi, thanks for this. The title (which should be translated) and layout: page (which should not) need to be between ---'s at the top of the file (so-called "front matter"). See https://raw.githubusercontent.com/okfn/opendefinition/gh-pages/od/2.1/en/index.markdown for an example:
---
layout: page
title: Open Definition 2.1
---

Version 2.1

The Open Definition makes precise the meaning of "open" with respect to knowledge, promoting a robust commons in which anyone may participate, and interoperability is maximized.

[rest of file skipped]

Could you update this pull request with the above change?

Hi, Just made an correction. Is it okay now.

You still need triple dashes ("---") before and after the layout and title. See the example above.

Hope now it will work, I had changed it according to an example.

Thanks!
For the links to English Wikipedia, if equivalent articles ever get added to Nepali Wikipedia, feel free and encouraged to make a new pull request substituting in the Nepali ones.

Thank you Mike and sure I will be updating it.


Randomize unicode characters when registering email

My nick have wide set of characters which is similar to letters, but anyway it unicode and my mail generated as<EMAIL_ADDRESS>which look pretty bad and I think you need use some random function with a-z, 0-9 character set when you create mail address.
Also look at this collection: https://pastebin.com/2M8ZZhi0 this is similar to latin letters, but all is unicode.

RFC 6531 allows UTF-8 characters in emails above U+007F, which could come into handy.

https://tools.ietf.org/html/rfc6531

A new regex has been written to convert Discord usernames to a RFC-6531 compatible email.
/[^\w\d!#$&'*+\-/=?^_{|}~\u007F-\uFFFF]+/g`


Minor Theme Issues

v15.6 of Obsidian introduced some many graphical issues the theme, which can be resolved quickly.

resolved + revamped the Light Theme with less gray.


Demonstrate how Seth would do this

Go lint will fail until abc updater is public. Merging to my branch, thanks for the good changes!


A bit more feedback on what should happen

I was confused by the output I got from WinDbg and WinDbg preview in the "Connection" step here: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-network-debugging-connection-automatically#-restarting-the-target-pc
I was thinking that before this step, there should be some sort of indication of "correct" output from the debugger, like:
At this point, WinDbg output should look something like this, indicating that you've successfully initiated the connection:
'''
Microsoft (R) Windows Debugger Version 10.0.18914.1001 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Using NET for debugging
Opened WinSock 2.0
Using IPv4 only.
Waiting to reconnect...
'''

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

ID: 5e51b628-bb73-f32f-5a81-fefce12a4b49
Version Independent ID: e07e2607-fd13-5517-510c-77bf717125c8
Content: Setting Up KDNET Network Kernel Debugging Automatically - Windows drivers
Content Source: windows-driver-docs-pr/debugger/setting-up-a-network-debugging-connection-automatically.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@ericleigh007  - Thanks for this and the related issue. I added the output showing that the debugger is ready to connect and a few links to the getting started with debugger topics at the bottom of the topic.


cmd/go: support fossil in 'go get'

Fossil (http://fossil-scm.org) is very nice version control system which, imho, is designed very much in the spirit of Go langauge itself being very powerful, but still much more simple to use in comparison with e.g. Git. Moreover, it does things a little bit different - e.g. keeping the whole repo in single (sqlite3 database) file and not in flat database like e.g. '.git' and is very simple to handle repositories and it includes wiki, tickets system etc...we can sayn 'github in a box'. :-)
However, some things are done differently and Fossil therefore requires two steps to clone and checkout the repo:

fossil clone someURL repo.fossil
fossil open repo.fossil

However,  I consider that it would be very nice feature for Golang's ecosystem to have official support for working with Fossil DVCS which is very attractive to users preferring to have simple & powerful tool deliberately leaving out some features in order to keep things simple.
Sincerely,
Gour

go get is for downloading code over the network.
Are there common fossil hosting services like GitHub is for Git?

Are there common fossil hosting services like GitHub is for Git?

There is e.g. Chisel, but the point with Fossil is that it's kind of github-in-a-box so one can use any cheap shared hosting and host Fossil repos as long as one can access URL via HTTP(S)/SSH.

Too late for Go 1.5. If you'd like to send fossil support for Go 1.6 (so that  tags mentioning fossil work, without any hard-coded special cases for hosting), that is perfectly fine with me.

I'm just in process of fully migrating to Git - Fossil is nice, but most of the development is simply happening within Git world so one has to be pragmatic to survive. ;)

There are quite a few devs using fossil.  It has a number of strong an unique features... So here is my +1.
Just as a point of interest... since fossil is a single encapsulated executable that uses SQLite as it's storage engine It's ideally deployed in a docker container.

Let me say that now I'm still interested for Fossil support in Go...

I'd you would like to take a crack at it, the code for this lives in the
golang.org/x/tool/vcs (from memory) package.
Each vcs supported is represented as an instance of a common data structure
representing common operations.
Good luck.
Dave
On Sun, 11 Oct 2015 18:47 Gour<EMAIL_ADDRESS>wrote:

Let me say that now I'm still interested for Fossil support in Go...
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/10010#issuecomment-147167111.

Update: it's in https://godoc.org/golang.org/x/tools/go/vcs,
and there is an slightly edited copy of vcs.go in cmd/go/vcs.go.
If you want to add fossil support to the go command, please
be sure to propose changes to both packages (and send the
CLs soon, before the Nov 1st code freeze date.)

Update: it's in https://godoc.org/golang.org/x/tools/go/vcs, and there is an slightly edited copy of vcs.go in cmd/go/vcs.go.

I was looking at docs and wonder if Go's vcs framework is flexible-enough to support Fossil, iow. Git, Mercurial and Subversion do function similarly in a sense that one clones/checkouts repo in a certain dir and that's it.
Otoh, with Fossil the situation a bit different and it requires 2 steps:
fossil clone URL repo.fossil
fossil open repo,fossil (in some dir)

iow., the repo itself is fully contained in a single repo.fossil file which is actually Sqlite3 database, while checkout and/or working directoriy are in a another dir which is 'connected' with the repo file itself.
Any thought?

How about combine the clone and open operations into
CreateCmd?

+1 for this!!

I've started working on this, but there are two issues that are holding me up:

The diff between x/tools/go/vcs and cmd/go/vcs prohibit fossil from being added to the x/ version.  At some point a chdir internal flag was added, and fossil required a similar internal flag.  I had to add a mkdir internal flag.

The other is related to #10322, because fossil uses a single file.  All the IsDir() checks had to be handled as a special case for fossil, or removed.  If those checks are removed for all VCS, this change will be slightly easier.

I've settled on using/learning Go and Fossil is my preferred DVCS, so wonder what is the status of this feature?

@gour I've got rudimentary support working, but I still need to handle some inconsistencies with tags and branches.  I haven't worked on it for a while, but I'll try to finish it up and submit a CL.

@ksshannon

I haven't worked on it for a while, but I'll try to finish it up and submit a CL.

Thanks a lot for your work on it!! Both Go and Fossil are great piece of software, so it would be terrific to make them play together. ;)


Adding blog post for October 11th

I think I got this right!

Awesome! It is now live: https://astrodata.nyc/posts/2019-10-11-m2m/


ci: upgrade to node 14 in travis

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make it possible to use an existing client side model Id to create new model

In firebase client libraries, it is possible to use for instance a user id as the id on multiple objects containing that user's information.
In this particular case, I find myself wanting to extend firebase auth object with additional attributes and it would be nice to pick the user id from the session object and create a profile document whose id is the same as the current session's user id.
Is there a way to do it currently when creating a new model via get(this, 'store').createRecord('profile',{}) where you can pass the current session user id as the profile model id?

That is super.  Now, how about in the batch writes?  In the previous api before you did the updates, you could pass the newly created model id on all references in the batch before updating the batch.  How would you do this now?
Many thanks for your prompt reply.  And absolutely fantastic library.

@alexmasita It's similar to the JS SDK Batch API.
In your example above, doc('user_a') will indicate that user_a will be your ID so passing in the id: <id here as well?> is unnecessary as it would be equivalent to
"user_a": {
  "id": "<your unnecessarily passed-in ID>",
  "body": "New Post Body",
  "title": "New Post Title",
  "author": user,
}

Not passing anything in the doc() will auto generate an ID as explained in the last here.

Fantastic.  Will explore.


plugin: 12 words seed wasn't showed when user logged in in account B after logout from account A

Also, this account BTC was created with that account and now the BTC account has disappeared 👻 we don’t see it at all. It has on it 250 USD perhaps little less.
Either it was reset and renounced from your side OR perhaps it was HIDEN by accident but now we can NOT see how to un hidden the account. Can you verify ? Also that same account NEVER gave the option to see the 12 security words
Noxon, [03.11.20 23:17]
Where you get the address for deposit?
The application. It was created when opening the user account
Noxon, [03.11.20 23:27]
Did you login to this account from the browser you used in another account?
Yes it was from the same browser. Just the BTC account created there is not longer there. It disappeared 👻

Test with first account
https://drive.google.com/file/d/1AgnvN2vG53146DEbNHKtYlSN7Q8TT5K7/view?usp=sharing
Test with second account
https://drive.google.com/file/d/1J4H-tc0gYvJyp3NhRpv20fma_W7ASA70/view?usp=sharing


[azure-core] Fixes 'no retries' config in retry policy

Can one of the admins verify this patch?

Can we add a basic test to exercise basic instance creation with no_retries Relying on kwargs popping makes its easier for a silent failure like this to pop up in one place when there is a change in another.


Update maintainers

Description
Just a periodic update to refresh the list with the people who currently work on it.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1860 (d2c1d0b) into main (5088482) will increase coverage by 5.20%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1860      +/-   ##
==========================================
+ Coverage   79.00%   84.21%   +5.20%
==========================================
  Files          19       22       +3
  Lines        1324      418     -906
==========================================
- Hits         1046      352     -694
+ Misses        278       66     -212

Flag
Coverage Δ

unittests
84.21% <ø> (+5.20%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...iwidgets/raiwidgets/model_performance_dashboard.py

...dgets/raiwidgets/error_analysis_dashboard_input.py

raiwidgets/raiwidgets/fairness_dashboard.py

raiwidgets/raiwidgets/explanation_constants.py

raiwidgets/raiwidgets/cohort.py

raiwidgets/raiwidgets/__version__.py

raiwidgets/raiwidgets/constants.py

raiwidgets/raiwidgets/interfaces.py

raiwidgets/raiwidgets/error_analysis_dashboard.py

raiwidgets/raiwidgets/explanation_dashboard.py

... and 31 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Tags and Categories links

I am trying to have the tags and categories with ".html" links when I generate pages with the Icarus theme using Hugo (because I am using Cloudfront on Amazon S3, and it does not resolve for folders and sub-folders - was able to fix headers with uglyurls and [permalinks] post in config.toml).
For example I now have this:
http:/mysite.com/categories/canada
http://mysite.com/tags/parks
But I would like to have this:
http:/mysite.com/categories/canada.html
http://mysite.com/tags/parks.html
I think I need to configure the "layout/partials/widget/"   files, but I am not sure how. Any ideas?
Cheers,
Bruno

Hello @monkeysandwine,
have a look at the uglyURLs option for the config file:

If you would like to have what we call “ugly URLs”, e.g. http://example.com/extras/urls.html, you are in luck.  Simply add uglyurls = true to your site-wide config.toml, or use the --uglyURLs=true flag on the command line.

I did add uglyurls = true to my site-wide config.toml file and it did solve the issue for the categories and tags links on the headers, but the tags and categories links generated on the side bar, within the categories and tags pages, and generated for each page near the date stamps do not generate as ".html" but as the following:
http://mysite.com/tags/parks
http:/mysite.com/categories/canada

It looks like you might be able to make a simple edit (or a few, I'm unsure) to your template(s) as described in this comment - https://github.com/spf13/hugo/issues/1989#issuecomment-212367257

More than 1 reference to be updated it seems.
(the / after {{ . | urlize }} needs to be changed to .html)
`/osgav-blog/themes/casper$ grep -R }/ *
Binary file images/screen.png matches
Binary file images/screenshot.png matches
Binary file images/tn.png matches
layouts/page/cover.html:          #{{ . }}
layouts/page/single.html:          #{{ . }}
layouts/partials/li.html:                #{{ $tag }},
layouts/_default/single.html:          #{{ . }}

In f23e973f7f1891e8c95dbce616944b6dce6e71dc I improved the way how I link pages and assets. This is no done by template function of Hugo that should take things like uglyurls into account. Please test the latest version of this theme.

Oh, @ghost means deleted github account it appears - I don't use this theme so I can't chime in with a confirmation but high5 ✋ for addressing the issue. Casting my unfamiliar eye over your changes (I could only describe my understanding of this level of Hugo blogging as "approaching novice") all that stood out was layouts/partial/footer.html but I believe I've just learnt what removing a blank line at the end of a file looks like to github... Perhaps the issue has also been addressed in my hugo theme too, I know I'm at least one version behind the latest...
Regards!
osgav

Unfortunately the account of the issue creator was deleted and I tried to fix this issue in the commit linked above. Since nobody is chiming in to this discussion with the same problems I'll close it for now.


SEO redirects for "daemon" broken

It looks like the SEO redirects (aliases) don't work on the new site. I haven't checked others, but for example;

https://docs.docker.com/engine/reference/commandline/daemon/#daemon-configuration-file
https://docs.docker.com/engine/reference/commandline/daemon/

Do not redirect to
https://docs.docker.com/engine/reference/commandline/dockerd/
(although the source looks to contain an alias: https://github.com/docker/docker.github.io/blame/master/engine/reference/commandline/dockerd.md#L3

Fixed in 778f02e5992d8eefdb9b8813c371e5d580b427db


fix hardcoded label when calling lssif.GetPrincipalMoments

fix #266

@haarburger Good catch! Only this PR is superseded by #264, which phases out the use of SimpleITK, because of other errors (the eigenvalue decomposition implemented in ITK gives unexpected behaviour when the volume is rotated around 2 axes). For more information, see #264.

Update, I've just merged it with the master, so the latest build should work for labels != 1

Sounds good, I'm closing this.


Question about masking

Hi, I am very new to the triton code. I am curious about how is the causal mask implemented. Is it implicitly assumed in the triton code because you use the cumulative sum form? In particular, I wonder how this line and the line below implement the causal masking?

for interchunk ops, since there is no overlap between two consecutive chunks, so there is no causal mask.
for intrachunk ops, i have one in https://github.com/berlino/gated_linear_attention/blob/main/kernels/intra_chunk_contribution/fn_only_gk.py#L205C1-L206C1

Thanks a lot for the extremely prompt reply :)


Help: What is the proper way of controlling zIndex

I am trying to migrate my code from 0.0.22 to v0.1 of dash-leaflet but I am having a trouble of enforcing zIndex between two GeoJSON layers. In the past, I wrapped the layers in Pane and set zIndex on Pane.style property. After playing around for a bit, I noticed that zIndex is ignored and the GeoJSON layers are stacked based loading time. I created a simple example to demonstrate. By simply changing the sleep in each of the function, I change the order of the layers.
In the example, I would expect the states_slow layer should end up bellow states. But because of the states_slow is slower to load, it ends on top and thus the focus.
I admit, I have no clue what I am doing here so forgive me if I am missing something obvious. :)
Is it a bug or am I doing something wrong?
Thanks for your help.
import dash
import dash_html_components as html
import dash_leaflet as dl
from dash.dependencies import Output, Input

app = dash.Dash()
app.layout = html.Div([
    dl.Map(center=[39, -98], zoom=4, children=[
        dl.TileLayer(),
        dl.Pane(id="states_slow", style={"zIndex": 400}),
        dl.Pane(id="states", style={"zIndex": 500}),
    ], style={'width': '100%', 'height': '98vh', 'margin': "auto", "display": "block"}, id="map"),
])

@app.callback(Output("states_slow", "children"), [Input("map", "children")])
def plot_states_slow(map):
    import time
    time.sleep(1)
    return dl.GeoJSON(url="assets/us-states.pbf", format="geobuf", hoverStyle=dict(weight=10, color='black', dashArray=''))

@app.callback(Output("states", "children"), [Input("map", "children")])
def plot_states(map):
    import time
    time.sleep(0)
    return dl.GeoJSON(url="assets/us-states.pbf", format="geobuf", id="states", hoverStyle=dict(weight=5, color='#666', dashArray=''))

if __name__ == '__main__':
    app.run_server(debug=True)

You are doing it correctly. It's a bug (or a missing feature?) in the GeoJSON component that it doesn't support custom panes, it's always rendered to the same pane. I have just implemented a fix and pushed it as version (0.1.2rc1),
https://pypi.org/project/dash-leaflet/0.1.2rc1/
It you agree that it now works as intended, i'll include it in the next release :)

I tested it and the change did the trick. thank you for your help.

This seems to have stopped working on versions 1.0.0 and later. Could someone confirm that?

Yes, I can confirm that! I've just migrated to version 1.0.0 and the ordering of my layers inside a map that worked before stopped working now.


Replace use of System.currentTimeMillis()

currentTimeMillis() is impacted by system clock changes (e.g. daylight savings changes). This can cause wait time calculations relying on the API to behave incorrectly.
These loops can be changed to use System.nanoTime()    (with changes to accommodate nanoseconds instead of milliseconds values).

Interesting.  Ok, we'll add to the list.  I'll defer on assignment until the dust settles on all the concurrent work that is going on.

@jupierce i assume you used nanotime in the new plugin implementation?

@bparees The new plugin shouldn't have this exposure. There are few timing loops in general because I expected users to use the base Jenkins "timeout" DSL or the timeout freestyle step wrapper. The plugin's step implementations just need to be interruptible (and should already be) in order to inherit the base timeout features.

This will be in v1.0.42 of the plugin.


feat(setup): repository monorepo setup

Changelog
Summary
Initial setup of monorepo
Added

lerna
placeholder: semantic-release-wildcards
files and setup for a Node.js repo
GitHub actions files (don't need to set up travis yet)

Code review

[ ] The code must be reviewed by at least one Maintainer

@elizabethsjudd labels updated to reflect CONTRIBUTING doc
https://github.com/IBM/test-automation/labels
ready for re-review please


Grouping does not show grouping by program consumption, only the console-consumer

I use a Java program to consume in kafka's message, my custom a group to consume these messages, can display the custom on kafkamanager group, in a production environment, we are all custom grouping to spend this console - consume useless for us, just a manual test.Please help me.thank youIf the new version has this feature, please help me.

我也遇到了这个问题，请问您解决了吗？

I have the same problem

https://github.com/Morningstar/kafka-offset-monitor
The new version solves this problem****


Make the endpoints headless for local brokers

Describe what this PR does and why we need it:
When using labels on the endpoint, we're associating the endpoint to an object that may not always be around, the locally running broker. This seems to cause the endpoint lose it's ip address. Instead, make the endpoint have no association to an app so it will always be around.
Changes proposed in this pull request

Keep the endpoint ip address around all the time

Which issue this PR fixes (This will close that issue when PR gets merged)
fixes https://github.com/openshift/ansible-service-broker/issues/660

This is working great for me, so I can confirm it fixes #660 and I am now much happier 😃
@rthallisey what's up with CI, is that a valid failure? I've only just confirmed this allows me to work locally uninterupted.

Ah, I see it was the vet problem from another PR. Merging.


Indexing content / faceted search

Hey,
Hope you are all well !
I wanted to extend the following golang project, https://github.com/hoop33/limo, using also bleve, with blast. Actually, I forked and updated limo in order to automatically fetch and add the repo topics in order to pre-fill limo's tags index.
But I would like to create a web-ui and create some facets to explore my starred repository.  So after a couple of searches, I found your project wrapping the bleve package.
Can you provide an example or more explanation about how to index content ?

Content to index: https://github.com/hoop33/limo/blob/master/model/star.go
Current indexer: https://github.com/hoop33/limo/blob/master/model/index.go

Questions:

How to integrate blast into another go app ?
How to configure blast for managing those facets ?
How to auto-increment the next doc id to index automatically ?
Is it possible to load some white/stop/watch words to match (eg. https://github.com/porter-io/tagg-python/blob/master/tagg/default_defs.json) while indexing a new content ?

Thanks in advance.
Cheers,
Richard

Hi @roscopecoltran ,

How to integrate blast into another go app ?

Please use gRPC client or HTTP REST API.

How to configure blast for managing those facets ?

If you mean managing index mapping, please see Bleve document.
http://blevesearch.com/docs/Index-Mapping/

How to auto-increment the next doc id to index automatically ?

Unfortunately, Bleve doesn't support it.

Is it possible to load some white/stop/watch words to match (eg. https://github.com/porter-io/tagg-python/blob/master/tagg/default_defs.json) while indexing a new content ?

You need to convert JSON formatted document for Blast. Please see examples.
https://github.com/mosuka/blast/tree/master/example


Keeping URLs in documentation up to date.

Some URLs (at least the OGR model link in https://fiona.readthedocs.io/en/latest/manual.html#data-model) do not exist anymore.
What about testing the reachability of the URLs using our CI infrastructure?

Solved with https://github.com/Toblerity/Fiona/pull/890


Protected RenderDiscordSettings from missing data

I think that the only way to trigger missing data is to edit the save file for the settings manually. But it couldn't hurt to add this check.
Thank you for your contribution.

It was interesting -- after the most recent major campaign / openplanet update, the Discord tab blanked out for me and I did some digging. I was literally playing the game during the update rollout so. Who knows lol, but no (deliberate) manual file manipulation on my part

(My Eclipse Mixed Cup 7 team "Untitled EMC Team" is using this plugin btw lol)

I think that the only way to trigger missing data is to edit the save file for the settings manually. But it couldn't hurt to add this check.
Thank you for your contribution.

It was interesting -- after the most recent major campaign / openplanet update, the Discord tab blanked out for me and I did some digging. I was literally playing the game during the update rollout so. Who knows lol, but no (deliberate) manual file manipulation on my part

That is interesting. I'll have a closer look to see what could possibly cause this

(My Eclipse Mixed Cup 7 team "Untitled EMC Team" is using this plugin btw lol)

That is nice to hear. Me and Lokulicious made this plugin for ourselves, but made it so that other people could also use it. It is very interesting to see the amount of downloads go way higher than we expected.


Thinking this will fix the # getting added to ga page views

doing some remote testing so wanted to merge. sorry for the inpatients.


Support rocksdb's SingleDelete.

https://github.com/facebook/rocksdb/wiki/Single-Delete
Differs from Delete, when SingleDelete entry meets an older entry during compaction, both will be removed. SingleDelete has a limit: the key must exist and be put only once.
Seems suitable for TiKV -- almost all keys are put only once because of the key encoding of MVCC layer.

Good idea.


[docs]: fix floating-ui problem with docs rollup config

Temporary fix for the process is undefined problem in the docs for Popper + Tooltip, which resulted in a missing configuration in the Rollup config of svelte-docs, to use floating-ui.
Before submitting the PR, please make sure you do the following

[X] Read the Contributing guide
[X] Prefix your PR title with [@svelteui/core], [@svelteui/actions], [@svelteui/motion], [@svelteui/core], [core], or [docs].
[X] This message body should clearly illustrate what problems it solves.

Tests

[X] Run the tests with npm test and lint the project with npm run lint or just run npm run repo:prepush and check to see if it's passing.

Ci failing not related to the changes in this PR (fixed in the other PR - commented a line on Button.svelte about the empty interface)


Condor history prometheus

Re counters and missing jobs - the only solution I have for something like that is using ES as an intermediate source and then using gauges from there.  Using the existing code or  condor_adstash and clearing the ES index after 7 days this may be possible.

@dsschult I've refactored the metrics for goodput/badput hours per CPU/GPU jobs to be separate metrics with a label for resource kind (cpu, gpu)

From what I've tested, I think using the since argument for the schedd history should be sufficient; keep the most recently finished job id from the last history query, and then supply that for argument so that way it's bounded for jobs from the last 10 minutes that have completed after that last job id.
The main draw back basically means that metrics are binned by the collection interval (default 5 minutes), but think that should be okay resolution given this is for long term accounting?

From what I've tested, I think using the since argument for the schedd history should be sufficient; keep the most recently finished job id from the last history query, and then supply that for argument so that way it's bounded for jobs from the last 10 minutes that have completed after that last job id.
The main draw back basically means that metrics are binned by the collection interval (default 5 minutes), but think that should be okay resolution given this is for long term accounting?

Yeah, 5 minute binning is fine for condor history.

Based on what I'm seeing with these triplet lines, would a histogram be more appropriate for things like tracking memory? You could then consolidate the job count into a single metric with different labels for good/bad jobs and cpu/gpu jobs, or possibly not need a counter at all (since there is a count inside the histogram).

So, you are thinking something like this?:
# TYPE condor_job_memory_usage
condor_job_memory_used_sum
condor_job_memory_used_bucket{le="100000"}
condor_job_memory_used_bucket{le="200000"}
condor_job_memory_used_bucket{le="300000"}
...
condor_job_memory_used_bucket{le="+Inf"}
condor_job_memory_used_count

I suppose that could be added, but if reducing the amount of metrics is the goal, I think adding a label for goodput|badput would be fine. I had worried at first it might introduce too high a cardinality but, it's probably fine

Based on what I'm seeing with these triplet lines, would a histogram be more appropriate for things like tracking memory? You could then consolidate the job count into a single metric with different labels for good/bad jobs and cpu/gpu jobs, or possibly not need a counter at all (since there is a count inside the histogram).

So, you are thinking something like this?:
# TYPE condor_job_memory_usage
condor_job_memory_used_sum
condor_job_memory_used_bucket{le="100000"}
condor_job_memory_used_bucket{le="200000"}
condor_job_memory_used_bucket{le="300000"}
...
condor_job_memory_used_bucket{le="+Inf"}
condor_job_memory_used_count

I suppose that could be added, but if reducing the amount of metrics is the goal, I think adding a label for goodput|badput would be fine. I had worried at first it might introduce too high a cardinality but, it's probably fine

Yes.  Then the key is to define the buckets that might be useful.  Probably 1, 2, 3, 4, 6, 8, 12, 20, 30, 50, 100, Inf in GB?  If that's too much cardinality we could go to 1, 2, 4, 8, 20, Inf.

Yes. Then the key is to define the buckets that might be useful. Probably 1, 2, 3, 4, 6, 8, 12, 20, 30, 50, 100, Inf in GB? If that's too much cardinality we could go to 1, 2, 4, 8, 20, Inf.

I've backed that down to 1, 2, 3, 4, 6, 8, 12, 20,  inf

I think I am going to merge this pull request if there are no other glaring issues, things seem to be looking good