WIP - Discuss

Goal separate extension code from debug adapter ccode

Why - they are run in complete different process environments
They are bundled separately too
General clean up of debugger code.

However they do share code.
I.e. there's code in the client folder that's used by the debugAdapter and vice versa.
For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[ ] Title summarizes what is changing
[ ] Has a news entry file (remember to thank yourself!)
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)

I can totally get behind this change, but would like to see a src/common folder that is for the truly-shared-code between the debugAdapter and client code. This distinction would make it much more clear as to where things are being used, and that care must be taken when adding/modifying code in the common folder.

I can totally get behind this change, but would like to see a src/common folder that is for the truly-shared-code between the debugAdapter and client code.

Agreed, but I don't want to invest in that, as this debug adapter code will and should eventually be removed, once ptvsd is built as a TRUE debug adapter.
Closing as I don't see much benefit, this debug adapter will be rarely updated (apart from clean up)


Comments regarding Libre OOP Investigation

Trying to understand how things work has always fascinated me and I found your "Libre OOP Investigation" very interesting.
You said:

To sum up: We have
a linear glucose response by the LibreOOP algorithm with respect to raw glucose variations, when raw temperature is kept constant, and
a linear glucose response by the LibreOOP algorithm with respect to raw temperature variations, when raw glucose is kept constant.

In this case we can use a bi-linear function (as is, for example, used in linear finite element formulations):
z = a1 + a2 x + a3 y + a4 xy
These 4 constants can (relatively easily) be found if we have 4 known values of z for given x and y.
This might give us a smaller target to aim for in trying to find some clues in the header / footer.
From your investigation, it is clear that each sensor will have different values for these a1 to a4.
Perhaps we can find promising candidates in the header or footer.
Just for the record, the "traditional" "slope" and "offset" can be calculated for each raw temperature as follows:
offset[T] = a1 + a3(T)
slope[T] = a2 + a4(T)
Regards
jtx

Hi Jtx,
you exactly got the point. Further down in the wiki I elaborate also on this, except that I do not use a1 to a4 but rather these terms:
       glucose = slope(raw_temperature) * raw_glucose + offset(raw_temperature)
where slope(raw_temperature) and offset(raw_temperature) are derived from the two equations
       slope(raw_temperature) = slopeslope * raw_temperature + offsetslope
       offset(raw_temperature) = slopeoffset * raw_temperature + offsetoffset.
The four parameters slopeslope, offsetslope, slopeoffset and offsetoffset are sensor specific and thus have to be derived for each sensor at the beginning of its lifetime. I use the SwiftLibreOOPWeb web interface for deriving these parameters.
All this is implemented in the swift4 branch of LibreMonitor and works pretty well.
Regards
Uwe

To experiment some more, I created a simple Android app that allows me to enter (or read from a file) the header and footer. It then can calculate 4 points (T 5816 and 7124, G 1000 and 3000 as your example), using the OOPAlorithm apk. From these it calculates a0 to a4. Now to try and recognise a pattern...
Unfortunately my available data is only from 2 sensors, so not really enough. Now, I'm wondering if there perhaps is a list of known headers and footers somewhere that could be used to create a bigger data pool to use for pattern recognition.

There is no common list of headers and footers to my knowledge. But I have plenty from my own sensors, that I can provide you with. If you give me your mail address or a private message on gitter, I can sent you some data.

I'm not sure how spam-sensitive leaving an email address is, so the best is to send it to<EMAIL_ADDRESS>(Remove all the numbers to get the real address)
Thanks in advance.

Got the email and thus deleted it from your post.

Thanks!

https://libreoopweb.azurewebsites.net/Home/CalibrateSensor will give you the same parameters as output. Example implementation of those parameters into a function to calculate glucose:
https://github.com/dabear/pyderivedalgo/blob/master/pyderivedalgo.py
I see you have created your own app implementing a bi-linear function. Please note that you need static input for that to work. Readouts from the libre sensor will contain historic values and trend values. Abbott uses some form of extrapolation on top of this to yield a "currentbg". My calibratesensor endpoint removes extrapolation from their algorithm.
I have both swift and c# implementation of this available.

Thanks for the information, I appreciate it and will have a closer look.
Before I got the LibreOopAlgorithm running on Android, I actually tried to use your CalibrateSensor page, but was unsuccessful, since I could not figure out what was required for "Accesstoken"...
Anyway, now that I have the LibreOopAlorithm running, I can easily "calibrate" a set of header / and footer by calculating 4 points (A, B, C, D) for 2 RawG and 2 RawT. Then I calculate the bi-linear coefficients a1 to a4 as follows:
`
private static double G1 = 1000;
private static double G2 = 3000;
private static double T1 = 5816;
private static double T2 = 7124;

private static double dT = (T2-T1);
private static double dG = (G2-G1);
private static double a4 = (A+C-B-D)/(dG*dT);
private static double a3 = ((D-A)/dT-G1*a4);
private static double a2 = ((B-A)/dG-T1*a4);
private static double a1 = A-G1*a2-T1*a3-G1*T1*a4;

`
With the bi-linear function, I can then calculate the historic and trend values from the raw values.
They correspond quite well with what the LibreOopAlgorithm gives for the same input.
The fun challenge is to see if one could find some correlation between header/footer data and these "calibrated constants" for each sensor.

Hi Guys.
I would like to play with OOP header/footer dependency. Can someone guide me how to get running my own OOP with a possiblity to send there data over TCP/HTTP? Is physical device still the only solution?
In addition I would like to ask something which is still unclear for me even after studing gitter related threads:

Is Libre 2 over NFC encrypted or not and can be explained like L1 data.
Does anyone tried to massively forward artifial data to OOP and have some outputs of it?
Is not yet clear which bytes of header/footer are the ones that changes the output?

Thanks

HI soad89,
regarding running oop own your own: please ask in the gitter channel on oop or ask @dabear for access to his web interface. You could also try this, but I am not sure if this is the right link and how it is to be used.
To your other questions:

-> Libre2 over NFC is encrypted.
-> Not to my knowledge.
-> Yes, at least not to my knowledge. I have fiddled around a bit myself varying header and footer bytes and observing if they change the glucose results. And it seemed to me that many of those bytes do have an influence on glucose results. But I could not determine any rule or algorithm behind this.

Hi UPetersen,
What is a then current status of Libre2 handling? Has anyone broken the encryption so one can use Libre1 formula? Or is oop only way how to get glucose? I supose that you can pass encrypted data to oop for L2, right?
Thank you very much for your answers.

I also played with the headers and footers. Unfortunately no "A-ha" moments...
Then I got oopalgorithm running on my phone, which moved playing with the raw data down on my to-do list.
As for L2 decryption, the LibreTools (by ivalkou) repository (for IOS) looks very interesting. I'm running android, so I have not looked into it in detail.


fix typos in documentation

This is to fix several typos, mostly in documentation files.
The pull request does not change any functionality or code coverage, because it does not change code in the first place.

Coverage remained the same at 100.0% when pulling 26f6d4192a312317d3d4486f829dbb865b05cb09 on striezel-stash:fix-typos into e9f88c2fad4b910b90262019df72181c14a0370f on nlohmann:develop.

Thanks a lot!


npm run test fails on macOS with Safari 10

Safari 10 mostly works with this package (after you've enabled Remote Automation), taking advantage of the built-in webdriver that ships with macOS. There's a small modification that needs to be made to the tests to work around the fact that the webdriver doesn't expose browser info (at least not in the same way that other browsers do). The following needs to be skipped for Safari 10:
function testBrowserInfo(specificBrowser) {
  const versionString = specificBrowser.getRawVersionString();
  (versionString === null).should.equal(false);

  const versionNumber = specificBrowser.getVersionNumber();
  versionNumber.should.not.equal(-1);
}

I'll put together a quick PR to blacklist that check for Safari, but if you have a better idea, @gauntface, I'm open to that as well.

Before merging in #46 I'd love to hear what Matt thinks on S10

My version of safari 10 didn't install the web driver binary so couldn't test (and the extension no longer works for me).
I'd much rather fix the version number than remove from the test.
Note: these tests shouldn't run on travis or during a release. They are purely run on manual tests.

This and #49 will be top of my list for things to fix in Q4.


earlyoom: use upstream systemd service and add proper test

Description of changes

earlyoom ships a system service since 1.8 with additional sandboxing and protection rulees. This installs and uses it.
A functionality test on earlyoom is added.

It seems that we have withManpage option even though manual is installed to a separate output man. If user only get out in their closure when documentation is disabled, why would we need a separate withManpage flag? Could we remove and always enable it?
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It seems that we have withManpage option even though manual is installed to a separate output man. If user only get out in their closure when documentation is disabled, why would we need a separate withManpage flag? Could we remove and always enable it?

Building the requires extra programs, namely pandoc and its dependencies (including GHC).
Because of it, manpage building and installation are optional.
Further, it is desirable to split outputs. A more restricted host environment can be stripped of some otherwise undesirable files to save space.


Ooops - readd objc in tags for these projects

See https://github.com/dkhamsing/open-source-ios-apps/commit/ce754047bf922a9cfcd26c413f7df4e8c8e2a11d for complete list - around 200 projects
Continues #526

I'm fixing this today

Done in #549

Wow amazing - thank you Victor 🙏
Sent with GitHawk

@dkhamsing not a problem 😀


Update swerve drive base to be L3 SDS

update constants to have the right ratio
Update all the swerve drive paths to have the correct gearing

Update drivetrain calibration wheel kV to be correct too

Note - the gear ratio hasn't been updated yet. Do this on a branch if you like, but don't merge or deploy to the robot till mechanical has done the swap.


vite & npm missing from container

How do I run "npm run build" or vite build from the containter?
They appear to be missing.

Hello
Systemsdk is backend oriented organization and that's why we don't have npm inside docker-nginx-php-laravel. If you need npm then you can extend your cloned version and add npm or you can pay your attention to the repo systemsdk/node.  If you want to use https://github.com/systemsdk/node, you just need to follow recommendations here.
Please inform us if you have another questions

Thanks for your quick response.
I got it sorted now.
On Wed, Oct 26, 2022 at 3:56 AM Dmitriy Kravtsov @.***>
wrote:

Closed #38
https://github.com/systemsdk/docker-nginx-php-laravel/issues/38 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/systemsdk/docker-nginx-php-laravel/issues/38#event-7670226249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOX6RY2WP7S7RDFMU5C7JLWFDPZPANCNFSM6AAAAAAROPVCMI
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>

--
Regards,
Conrad Lawes


Check-in original SVG files

It'd be nice to be able to just grab the raw SVG for individual icons and use that instead of needing to load all the fonts.

Or SVG sprites :)


Misc fixes

Only wrap the default CSP directives in single quotes, as these contain CSP keywords (self, none, etc.)
Fix flaky test due to upstream bug in CDK

LGTM

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Directory specification for using fprime-util build in Testing the Topology section

In the Testing the Topology section of LED Blinker: Initial Component Integration, you are instructed to run fprime-util build before running fprime-gds --ip-client. However, following from the Add Led Component To The Deployment section it is most likely that the user is in the /LedBlinker/Top directory. Because of this, running fprime-util build work, but running fprime-gds --ip-client will create an application that does not have the led component commands. It would be helpful if the Testing the Topology section specified that you are not to build in the /Top directory.

Good advice!

@kevin-f-ortega could you fix this one too?  Should be quick!


Getting stack from GDScript returns nothing when editor isn't present

Godot version
3.5 stable
System information
Windows 10
Issue description
The built-in method get_stack() returns an empty array and print_stack() prints nothing when projects are exported. Even tough the project was run from the terminal in debug mode with verbose flag.
Steps to reproduce

Open a project
Open a script
Enter following code snippet: print(get_stack())
Run from editor and observe a printout like "[Frame 0 - res://Node.tscn::1:12 in function '_ready']"
Export the project
Run from a console and observe output "[]"

Minimal reproduction project
N/A

Documentation says<EMAIL_ADDRESS>
Only works with debugger turned on.

This means you need to have the running instance connect to a debugging server, not just be a debug build.


Update examples on homepage to use hooks

I have updated the examples on the home page to use functional components and hooks rather than class components.

There's now a larger effort to rewrite the docs with hooks in mind: https://github.com/reactjs/reactjs.org/issues/3308
Until then you can use https://reactwithhooks.netlify.app/ which is a version of the React docs documenting only hooks.


generateConfigIfNecessary called on existing world load on client

Currently generateConfigIfNecessary is called when a world is loaded on the client, even when it is not a newly-created world. This means that when existing vanilla worlds are loaded with CC enabled, a CC config is generated and the world is overwritten with a CC world instead.
This is not an issue on the dedicated server, as generateConfigIfNecessary is called only when a new world is created, as expected.

Should be fixed with 93363d4.


Why my consumer is not working?

Questions?
I tested it in two ways, one was using the command line and the other was writing the nodejs.
As you can see the result in my terminal at the bottom image.
The left window is consumer and it could receive the middle window's messages which is producer, but the right window was not worked.

Check the Troubleshooting / FAQ ?
Search the issues ?

Bug Report
Environment

Node version: v9.11.2
Kafka-node version: v3.0.1
Kafka version:v<IP_ADDRESS>

For specific cases also provide

Number of Brokers:5
Number partitions for topic:0

Include Sample Code to reproduce behavior
This's my nodejs's code:
// include code here
var kafka = require('kafka-node')
var Consumer = kafka.Consumer,
  client = new kafka.KafkaClient({
    kafkaHost: 'x1.aaa.com:9092,x2.aaa.com:9092,x3.aaa.com:9092,x34.aaa.com:9092,x5.aaa.com:9092'
  }),
  consumer = new Consumer(client, [{
    topic: 'xxx',
    partition: 0
  }], {
    autoCommit: true,
    groupId: 'xxxx'
  })

consumer.on('message', function(message) {
  console.log(message.value)
})

Include output with Debug turned on
Thanks for your contribution!

+1


Docs build v3

The Docs Build v3 migration script has been run against your repository, and a new docs-build-v3 branch has been created. The migration tool was run and found no issues.
Merging this PR completes the migration process. This enables the new DocFX engine.
Here is the list of currently supported features for Docs Build v3.

Improved Build performance
Faster iterations to improve Docs.com build pipeline
Lowered operating costs
Improved support for SRE and Engineering to perform troubleshooting
Latest version of DocFX

Docs Build status updates of commit 38e65cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

.openpublishing.redirection.json
:white_check_mark:Succeeded

message-analyzer-guide/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests

Checklist

[ ] I'm reporting a broken site support issue
[X] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar bug reports including closed ones
[X] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'(mp4)[height<720][protocol=https]', u'--get-url', u'https://www.youtube.com/watch?v=kMrQjkZXkjA']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-693.2.2.el7.x86_64-x86_64-with-centos-7.4.1708-Core
[debug] exe versions: none
[debug] Proxy map: {}
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2229, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description

Extracting video Url of YouTube video has started to result an error as "Unable to download webpage: HTTP Error 429: Too Many Requests ..."

Issue was closed, but I could not see any explanation. Is there something i missed or i do something wrong? Please help me why i am resulting this "Unable to download webpage: HTTP Error 429: Too Many Requests" error.

there are countless issues with this exact problem, it's because youtube is throttling users downloading from their site. It's not ytdl's fault


Use InputUtils Instead of Config

Use https://thunderstore.io/c/lethal-company/p/Rune580/LethalCompany_InputUtils/. It is better from players' perspective than to mess around with configs. I understand if this is too much work though!

Also is this incompatible with https://thunderstore.io/c/lethal-company/p/coderCleric/Poltergeist/

I'll look into moving it to InputUtils but no promises

Using InputUtils seems to cause a noticeable performance drop, and tends to spam errors (i dont know what they refer to, nor how to fix them)
I would look into LethalConfig. It's not a perfect solution, but it's relatively close to what you're looking for.
Personally I think that LethalConfig (or editing the config directly) is a good enough solution, but @FrostyCirno if for whatever reason that isn't an option then I can take another look at it.

I would prefer if LethalConfig was not a dependency. Its fine if it stays as a config, at least you tried :)

I'll close this for now but I might revisit it in the future
Also, thank you for submitting bug reports! I don't have time to run around looking for bugs, so having someone find them for me is greatly appreciated :)


Makefile: Do not fail build on missing lessc

This is achieved by adding public/css/gogs.css to special .IGNORE target, which
makes inability to generate/update gogs.css non-fatal and not stopping whole
build process. User is still notified about missing lessc command though, since
inability to update CSS may lead to potential problems:
lessc public/less/gogs.less public/css/gogs.css
make: lessc: No such file or directory
make: [public/css/gogs.css] Error 1 (ignored)

More info at:
https://www.gnu.org/software/make/manual/html_node/Special-Targets.html

Thanks!


Certification links now open in a new tab

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #39127

@raisedadead I'm sorry if this PR isn't correctly done, I originally assigned it to my initial PR and not the issue

Nice work @DavidJSykes.
I had a quick glance and this is what we want, someone will do a review and get back to you if needed.
Thanks.


ebiten: unexpected black edges with ebiten.SetScreenClearedEveryFrame(false)

package main

import "github.com/hajimehoshi/ebiten/v2"
import "image/color"
import "math/rand"

const Size = 128
func main() {
        ebiten.SetScreenClearedEveryFrame(false)
        ebiten.SetWindowSize(Size, Size)
        _ = ebiten.RunGame(&Game{})
}

type Game struct {}
func (self *Game) Layout(int, int) (int, int) { return Size, Size }
func (self *Game) Update() error { return nil }

func (self *Game) Draw(screen *ebiten.Image) {
        if rand.Intn(60) == 0 {
                r := uint8(rand.Intn(256))
                g := uint8(rand.Intn(256))
                b := uint8(rand.Intn(256))
                clr := color.RGBA{ r, g, b, 255 }
                screen.Fill(clr)
        }
}

https://gyazo.com/b5b535d885e48d5c880c373b5df7ffe1

Hello, I also have same issue on Linux Mint Cinnamon 20.0 without ebiten.SetScreenClearedEveryFrame(false).

Have you confirmed the latest version of Ebiten?

Yeah, its Ebiten 2.2.4

I cannot see the black edges from the screenshot... 🤔

I read the code and found this could happen in theory, though I cannot reproduce this yet.


Prevent manual rotation being passed to output stream when not enabled

When PhotoView's enableRotation is disabled it is not possible to manually rotate the photo view, however the rotation values are still passed to outputStateStream as though the rotation had been applied.
This pull request ensures that a manual rotation value is not included in the stream's values when enableRotation is not enabled.
Relates to issue #261 .

Sorry, I've just noticed that this PR includes the commit from the separate PR #259 .  This is a mistake – I'll look to update this PR later.

I'm closing this pull request as the changes are now part of pull request #259


Add Recovery V2 API

$subject
Related issue: https://github.com/wso2/product-is/issues/16536

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6321109919

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6321109919
Status: success


Allows for filter values to be delineated by comma

Resolves Issue #183

:+1: I'm on holiday this week, first thing Monday I'll test, merge and publish :)

Great contribution, thanks! :smile:


Fix for rare case where version goes down

Fix for cases where the version of the file goes down and the higher version is deleted which results in a DirectoryNotFoundException.

Yeah, downgrades already are a weird edge case, this is doubly weird. Doesn't hurt to have a safety net here though.


Updating VTK version

Why is it needed?

It fixes this:

https://github.com/f3d-app/f3d/issues/994


[RFC] Typescript type checking options

Stardust uses Typescript, but all it's type checking options are disabled, which kills a lot of Typescript's power.
Enabling (some of) the checks would make the code better and it'd easier to enable them in the early stage of the project.
I went through the list of compiler options which could be worth considering and also checked tsconfig in other projects which use Typescript.

option
project A
project B
ionic/react
vscode/src
rxjs
description

noImplicitReturns

true
true
true
true
Report error   when not all code paths in function return a value.

noImplicitAny (1)

true
true

true
Raise error on   expressions and declarations with an implied any type.

noImplicitThis (1)

true
true
Raise error   on this expressions   with an implied any type.

noUnusedParameters

true
true

Report errors   on unused parameters.

noUnusedLocals

true
true
true

Report errors   on unused locals.

alwaysStrict (1)
true

true

Parse in strict mode and emit "use   strict" for each source file

strictNullChecks (1)

In strict null   checking mode, the null and undefined values are not in   the domain of every type and are only assignable to themselves and any (the one exception being   that undefined is   also assignable to void).

strictFunctionTypes (1)

true
Disable   bivariant parameter checking for function types.

strictPropertyInitialization   (1)

Ensure   non-undefined class properties are initialized in the constructor. This   option requires --strictNullChecks be enabled in order to take effect.

(1) part of --strict
Default value for all options is false.
Can we think of what would make sense to be enabled?

There was a TS compilation problem caused by --strict flag which has enabled all these checks for our project - as a result, we've had to (temporarily) disable it.
Agree that proposed strategy to incrementally introduce this functionality back (by means of these discrete flags) is a good option for us, so that we will be able to carefully weight benefits and potential TS compilation problems (increased compilation time, overall stability of compilation process) with each option being introduced 👍

@kuzhelov - AFAIK the problem in #158 was caused by strictNullChecks, so, hopefully the others should be safe for build performance.
stringNullChecks is disabled in other projects as well, we are not going to enable it in stardust for now.
Plan: noImplicitReturns is now enabled by #185, I am going to enable others (noImplicitAny, noUnusedParameters, may be noUnusedLocals and noImplicitThis) - we agreed to enable one more each week and monitor it's impact on the build.

not valid anymore


JS errors from PhantomJS do not cause a failure

Expected behavior
A Javascript Error should stop the test run and return a non-0 exit code.
Actual behavior
Karma ignores the JS error, running whatever tests it can.
Enviroment Details

Karma version (output of karma --version): 1.2.0
Relevant part of your karma.config.js file

module.exports = function (config) {
  config.set({
    port: 9876,
    colors: true,

    // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
    logLevel: config.LOG_INFO,

    browsers: ['Chrome', 'PhantomJS'],

    autoWatch: true,
    singleRun: false,

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '.',

    frameworks: ['qunit'],

    files: [
      require.resolve('babel-polyfill/dist/polyfill'),
      require.resolve('jquery'),
      require.resolve('./media/js/tests/karma-debug-handler.js'),
      require.resolve('./media/js/tests/index.js'),
    ],

    plugins: [
      'karma-qunit',
      'karma-junit-reporter',
      'karma-webpack',
      'karma-sourcemap-loader',
      'karma-chrome-launcher',
      'karma-phantomjs-launcher'
    ],

    preprocessors: {
      'media/js/tests/index.js': ['webpack'],
    },

    webpack: webpackConfig,

    reporters: ['progress'],

    client: {
      captureConsole: true,
      qunit: {
        filter: config.testModule
      },
    },

  });
};

Steps to reproduce the behaviour
I'm not sure here.
It looks like a small fraction of the tests executed despite the error.

Karma will run all the tests it can, as each spec run is instantiated fresh.
Having a minimal reproduction would help greatly for debugging this - otherwise it would be very difficult, if not outright impossible, for anyone to help. FWIW, I do not have any issues with Webpack, karma, and PhantomJS with regards to not exiting with a proper exit code on test failure.

No feedback in a year; closing.


Move print_help() function to separate file

Move the print_help() function into inc/help.sh to free space in the inc/commands.sh file

Done in commit 0397eab60301c725c627703f269a243ae928c879


add 5.1.0 image to rebuild list and ensure its always the latest

when our rebuild pipeline ran today, it rebuilt and pushed 5.0.0 (and not 5.1.0) as expected.  unfortunately, it also tagged the new 5.0.0 image as "latest" which was not expected

It looks rebuild workflow still tags the rebuilt images as latest for some reason:


Add Iter methods: last head intersperse

Pull Request Test Coverage Report for Build 2715
Details

12 of 13 (92.31%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 86.865%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

builtin/iter.mbt
12
13
92.31%

Totals

Change from base Build 2713:
0.02%

Covered Lines:
3743

Relevant Lines:
4309

💛  - Coveralls


SolidQueue::Processes::ProcessExitError

I setup my solid_queue.yml to run a recurring task every 30s that checks for records to sync
default: &default
  dispatchers:
    - polling_interval: 1
      batch_size: 500
      recurring_tasks:
        sync_records:
          class: SyncRecordsJob
          schedule: "*/30 * * * * *"
  workers:
    - queues: "*"
      threads: 3
      processes: <%= ENV.fetch("JOB_CONCURRENCY", 1) %>
      polling_interval: 0.1

development:
  <<: *default

test:
  <<: *default

production:
  <<: *default

The SyncRecordsJob does a SyncBatchJob.perform_later(record_ids) and it's expected to take some time to run as they have to process quite a number of records (aprox 30s - 1min).
This has been deployed to Render on a $25/mo instance with 1 CPU and 2GB RAM. Initially, on deploy, some of the jobs execute successfully after some time, SyncRecordsJob accumulates in the In Progress list and seems to never process. They don't seem to accumulate anymore either.
~Locally, these jobs run well and don't seem to have any issues.~ Locally, it seems that the recurring job is getting enqueued but never executing. Here's what I see from Mission Control in production for the jobs that failed:

Questions

Are there ways to debug this?
Is it a matter of not having enough resources?

Looks like the workers processing these jobs are crashing or being killed somehow. Can you access logs in that instance to see what it might be?

Locally, it seems that the recurring job is getting enqueued but never executing.

Do you have local logs for what your Solid Queue worker is doing?

Looks like the workers processing these jobs are crashing or being killed somehow. Can you access logs in that instance to see what it might be?

@rosa i'm trying that now. Looking at the docs to see how I could mute the solid_queue logs as they're drowning out my local logs 😆

config.solid_queue.silence_polling option is set to true by default, so you shouldn't see the polling queries (which are usually the most noisy). Then you can also set a separate logger for Solid queue via config.solid_queue.logger, by default is Rails.logger. You can use a higher level there, such as:
config.solid_queue.logger = ActiveSupport::Logger.new(STDOUT, level: :info)

Or if you want to mute the Solid Queue logs completely, you can set:
config.solid_queue.logger = ActiveSupport::Logger.new(nil)

@rosa thanks for those! I managed to get use the logs to figure out what was happening.
What happened was that the job was trying to find records to sync, but there weren't any (due to a faulty where clause)
However, it's still odd that the job would throw a SolidQueue::Processes::ProcessExitError instead of being marked as completed.

However, it's still odd that the job would throw a SolidQueue::Processes::ProcessExitError instead of being marked as completed.

Yes, that's what would happen. SolidQueue::Processes::ProcessExitError is not thrown by the job. That's done by Solid Queue when the worker that's processing that job terminates ungraciously. In that case above, it terminated with an error exit code (1). Something external to Solid Queue is most likely killing that worker, but you might not see that locally because it might happen only in your Render instance. That's where you need to investigate to find out why the worker is crashing like that.

@rosa When we're deploying new version of our app, we kill off the queue by running sudo systemctl restart solid_queue which effectively runs a /bin/kill -TSTP $MAINPID command that is triggering a SolidQueue::Processes::ProcessExitError for any jobs that are currently executing/running.
Is there a more graceful way to restart the queue that we should be doing? We have all the processes (supervisor, scheduler, workers, etc) running on the one machine.
Appreciate your thoughts on graceful shutdown of executing jobs. Especially as we have some long running ones.

Hey @dglancy! Could you send a TERM or INT signal to the process as described here? That, combined with SolidQueue.shutdown_timeout, will try a graceful termination first, so workers won't pick any more jobs, and will try to finish what they're doing. If they can't finish, the jobs will be released back and shouldn't fail with a ProcessExitError.

Hi @rosa
I've also been experiencing this issue since I recently updated the solid_queue version. I don't have any logs either, so I'm currently investigating from various angles. If I come across any useful information, I'll definitely share it with you :)

We got a similar error when ActiveRecord could not obtain a connection from the pool, we share a Postgres DB between the app and SQ, with 3 workers using each 20 threads and a DB pool size of 20 as well.

/usr/local/bundle/ruby/3.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:128:in `block in wait_poll': could not obtain a connection from the pool within 5.000 seconds (waited 5.010 seconds); all pooled connections were in use (ActiveRecord::ConnectionTimeoutError)

We're still investigating the issue, although we have a hunch that SQ might need a few more connections for supporting processes/threads. AFAIK the pool should be per-process, but I also need to double check on that.

Anyway my understanding is that if the worker has no access to the database it will hardly be able to store the exception details and the supervisor will just see the process being terminated. @rosa (👋❕) what do you think about suggesting to check the worker logs in the error message?
Process pid=8646 exited unexpectedly. Exited with status 1. Check the worker logs for further details.


Custom User Defined Syntax Errors

Example
$.RULE("formalParameterList", () => {
    let foundRestArg = false
    $.MANY_SEP({
        SEP: tokens.Comma,
        DEF: () => {
            $.MANY2(() => {
                $.SUBRULE($.variableModifier)
            })
            $.SUBRULE($.typeType)
            $.OPTION(() => {
                $.CONSUME(tokens.DotDotDot)
                foundRestArg = true
            })
            $.SUBRULE($.variableDeclaratorId)
	    if (foundRestArg && $.LA(1).tokenType === tokens.Comma) {
                // This will fail at runtime now!
                throw this.SAVE_ERROR(new Error("oops, can't have additional params after rest param"))
            }
        }
    })
})

Requires a slight modification to the SAVE_ERROR code to avoid throwing a new error if the error is not a pre-known "RecognizerError"

If it is a syntax error it needs to throw and the Parser will auto recover if errorRecovery is enabled,
That is what happens for example in MisMatchTokenError

https://github.com/SAP/chevrotain/blob/master/packages/chevrotain/src/parse/parser/traits/recognizer_engine.ts#L936-L938

If it is a linting error which does not affect parsing flow it could be saved in a separate data structure, preferably during a post parsing step (e.g CST Visitor).
Although there could be some kind of mish-mash that seems partially syntax and partially semantics related. in that case you could still use SAVE_ERROR without throwing the result.

https://github.com/SAP/chevrotain/blob/master/packages/chevrotain/src/parse/parser/traits/error_handler.ts#L35-L51

The (minor) problem that this issue needs to resolve is that the SAVE_ERROR API:

Is not public
Does not work when provided with a new Custom Error type that it does not recognize.


Converting to Roman Numerals

Enter calculator name -
Converting to Roman Numerals
Describe calculator functionality -
Roman Numerals is a special kind of numerical notation that was earlier used by the Romans. The Roman numeral is an additive and subtractive system in which letters are used to denote certain base numbers and arbitrary numbers in the number system.
Under which category you wish to place it -

[ ] Computer Science
[x] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[ ] Let project owner decide
[ ] Suggest a new category - (Answer here)

Kindly assign me to this issue.

Hey @DanishGBU,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\mathematical\romanNumeralConverter
Issue completion deadline - 13th Oct 8:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


EstimateSketchSimilarityUDF

Hey Datasketches-Hive maintainers,
here is the PR for the UDF I mentioned on<EMAIL_ADDRESS>It adds EstimateSketchSimilarityUDF that exposes org.apache.datasketches.theta.JaccardSimilarity via Hive.
Intended usage would be either to compare distinct values of two columns:
SELECT estimateSketchSimilarity(i.sketchA, i.sketchB) AS similarity
FROM (
  SELECT
    dataToSketch(colA) AS sketchA,
    dataToSketch(colB) AS sketchB
  FROM table
) i

or columns from two tables:
SELECT
  estimateSketchSimilarity(o.sketches[0], o.sketches[1]) AS similarity
FROM (
  SELECT COLLECT_LIST(sketch) AS sketches
  FROM (
    SELECT dataToSketch(colA) AS sketch FROM tableA
    UNION ALL
    SELECT dataToSketch(colB) AS sketch FROM tableB
  ) i
) o

Original tables do not have to be available, as long as persisted sketches are still available.
I'd really appreciate inclusion of such functionality in datasketches-hive as it enables use cases that are currently only possible with datasketches-java and therefore require custom Java code.
Best regards,
Sebastian

Looks good to me.


Recommend using the global namespace instead of "context processors"

The documentation advertises support for "context processors" as an advantage over Django's native Jinja2 backend.
I believe that's an anti-feature.  Jinja2's global namespace is a superior replacement.
Most built-in context processors don't depend on the request in practice and many return a constant. There's no reason to make a function call and pass the request object in that case.
I understand that the goal of django-jinja is to make jinja2 look like the Django Template Language. That requires recreating some mistakes that Django made and Jinja fixed. Nonetheless I would suggest pointing to the better solution in the documentation, in that case, the global namespace.

Thanks for the suggestion, I'll add this to the documentation!
I'll keep it open until fixes.
Thanks again.

This is already added in the documentation.


[Bug] Use Helm install Skywalking , but got error :  table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
Use Helm install Skywalking , but got error :  table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.
What you expected to happen
got error :  table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.
and oap  server is   unavailable
How to reproduce
my env :

k8s v1.28.11
rancher v2.9.1
helm v3.15.2

helm values :
elasticsearch:
  config:
    password: hide
    user: admin
  ingress:
    enabled: true
    hosts:
      - es.hide
  persistence:
    enabled: true
  volumeClaimTemplate:
    accessModes:
      - ReadWriteOnce
    resources:
      requests:
        storage: 10Gi
oap:
  dynamicConfig:
    enabled: true
  image:
    repository: apache/skywalking-oap-server
    tag: 10.0.1
  storageType: elasticsearch
ui:
  image:
    repository: apache/skywalking-ui
    tag: 10.0.1
  ingress:
    enabled: true
    hosts:
      - sky-ui.hide

Anything else
I searched for recent issues and discussions and found that it keeps mentioning init job. I observed that there was no init job generated and running during the installation process of helm (I cannot know if it failed to create or was created and then deleted)

https://github.com/apache/skywalking/issues/11123
https://github.com/apache/skywalking/issues/10540
https://github.com/apache/skywalking/issues/10470
https://github.com/apache/skywalking/issues/9486
https://github.com/apache/skywalking/pull/8958
https://github.com/apache/skywalking/discussions/9093

There is no mention of how to troubleshoot or solve the problem
Are you willing to submit a pull request to fix on your own?

[X] Yes I am willing to submit a pull request on my own!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

And I have tried again multiple times, but still the result is the same. I don't know how to solve or troubleshoot it


Add Organisms script

This script births 6 organisms on start-up.

Each organism has a 'boredom' attribute expressed as a percentage between 0 and 100
Each organism has a 'speed' attribute expressed as a number between 1 and 10
When moving, each organism has a 'destination' expressed as a set of coordinates

Upon each tick of the script's clock:

Each organism's boredom will increase by 1 if they aren't moving, or decrease by 2 if they are
Each organism will calculate, using boredom and a random integer, whether it should begin walking
If an organism is to begin walking, it will pick a new destination on the screen
If an organism is already walking, it will move towards its destination at its own speed
If an organism reaches its destination (or would exceed it in the next tick) it stops walking
If two organisms come within fight_radius of each other, they will "fight" - a white rectangle around the OLED indicates that a fight is taking place
When two organisms fight, there is a 50% chance that either will win
The winner's speed increases by 1, and the loser's decreases by 1

The resulting 6 CV outputs are essentially LFOs with a slight stepping nature as the clock runs in discrete ticks. They are truly generative, as their attributes (speed for example) have a real effect on their future (a faster organism is more likely to fight often and therefore affect its own speed)
K1 can be used to adjust the speed of the overall simulation

Outdated, may be reopened in future


Expose sqlite's sqlite3_create_collation()

This PR adds diesel::sqlite::SqliteConnection::register_collation(), which wraps sqlite3_create_collation_v2() (ref https://sqlite.org/c3ref/create_collation.html).
The registered collations can be used via the COLLATE-constraint on table columns, as is demonstrated in the tests.

sqlite3_create_collation() can also remove collation function by passing NULL as callback. Shall I add a SqliteConnection::unregister_collation() for this?

sqlite3_create_collation() can also remove collation function by passing NULL as callback. Shall I add a SqliteConnection::unregister_collation() for this?

The question is how often would such a function be used?

The question is how often would such a function be used?

It guess it would only be of potential use when dropping tables or some such. It certainly won't find use from me (at least at the moment).
Can I gather from the inquisition that I shell leave it absent then?

I hit a snag while making run_aggregator_step_function() unwind-safe: SqliteAggregateFunction::step() takes a &mut self. The general idea is that when step() panics, little to no care may be taken that self restores temporary invalid state (see https://doc.rust-lang.org/std/panic/trait.UnwindSafe.html#what-is-unwindsafe).
We can communicate that we expect the SqliteAggregateFunction to be UnwindSafe, but apparently &mut T is never considered UnwindSafe, even if T: UnwindSafe, (I'm guesing) since the object continues to exist after the panic.
We can wrap it in a AssertUnwindSafe, which means that we assure the type system about SqliteAggregateFunction's continue existence after panics on the user's behalf, or we can std::process::abort() as well if it panics.
We could add our own marker trait which the user has to implement. Implementing this trait would be a promise that it's fine to wrap in AssertUnwindSafe for the purpose of calling step().

I think AssertUnwindSafe + a comment mentioning that the implementation is responsible for cleaning up stuff after a panic should be fine there.

That should address all requested changes.
On top it also does some light refactoring of the aggregator function handling.
I don't know if reducing the scope of unsafe is desired since it adds a bit of "noise" to open a few more, but smaller, unsafe scopes than before. That's its own commit though and I can easily remove it if not desired.

The failed CI job looks to me like a transient failure; it seems MySQL didn't start up correctly there.

This looks almost good, noted some minor improvements otherwise I'm fine with this now.

@TaKO8Ki This is another candidate for rebasing + fixing the remaining comments if your are interested

@weiznich
I'm going to tackle this!

Likely relevant: https://github.com/rusqlite/rusqlite/pull/839/

Closed by #2564


feat(elements|ino-select): add slot for icon

✨ Features:

added ino-icon-leading slot to ino-select component

🎟 Closes #233

The Icon seems kinda huge. We should use the same styles applied in the ino-input component. Maybe we can extract similar styles in a mixin? We could create a mixin.scss in /base and use those mixin in both components.

I initially made the icon smaller, but it looked a bit odd next to the rather big drop-down selector, especially with a floating label.


Cloudformation output to App.js

Hi, i'm quite new to react ect. but i want to integrate the cloudformation outputs to a "Yarn build" so i don't need to edit the app.js for the variable's. how would this be possible?  (we want to deploy the dashboard in a pipeline.)

I really like that idea, i'll take a look at adding it in yarn. I think I looked at this in the past and I wasn't able to get the cognito output needed from cloudformation but ill double check

@FonsBiemans Hey Mate, finished it off. You should now be able to run 'yarn run cognito' and it should create backup file App.js and grab values from cloudformation.
Note: you need to re-run cloudformation main template to create exports, you also need to enter your own cloudformation stackname in src/update-cognito.py
change STACK_NAME value

closing issue, let me know if you still need help or re-open


html pages with src external image

Operation System: OSX
Beaker Version: Latest
I created an html page and added an image via external site like this
src="http://www.007.com/wp-content/uploads/2014/01/4.jpg" style="width: 500px; height: 254px; border-width: 1px; border-style: solid;">
When I addd the html file into my Beaker Library and then go to the dat link the page shows up but not the image
Test against chrome and with chrome the image and the page show up
Thanks

Yeah, sites served over dat:// are not allowed to access the network without requesting permission. See https://beakerbrowser.com/docs/apis/permissions.html#network-access

Is there a way to include images in html files and serve them over dat://
Thanks

Sure, you can either encode the image into a DATA url, or add the image to the dat archive as its own file and load it from there


ContextMenu items are not clickable

Description
Clicking on context menu items closes the menu without triggering the item action.
Steps to reproduce

Use the ContextMenu component as shown in docs
Right click to open the context menu
Click on any menu item
The menu closes without the item action occurring

Expected behavior
Clicking a menu item should trigger its associated action.
Actual behavior
Clicking any menu item closes the context menu without triggering the action.
Additional information
The Overlay component from bits-ui/dist/internal/overlay.svelte overlaps the context menu. This prevents the menu items from receiving click events.

Thanks for raising this issue! I will resolve it asap!

Fixed by #97 - Upgrade to 0.5.3

Thanks for fixing this so quickly, I love the project!
I think it would be useful to export a ContextMenuOverlay component so that users can configure its style as they wish, just like you already do with DialogOverlay, for instance.
What do you think?


Unable to download from the escapist

sircmpwn@homura /t/tmp.fxiOFZgxNM> youtube-dl --verbose http://www.escapistmagazine.com/videos/view/zero-punctuation/10044-Evolve-Review
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.escapistmagazine.com/videos/view/zero-punctuation/10044-Evolve-Review']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.2 - Linux-3.18.6-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.5.4, ffprobe 2.5.4, rtmpdump 2.4
[debug] Proxy map: {}
[Escapist] 10044: Downloading webpage
ERROR: Unable to extract config URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 643, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 275, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/escapist.py", line 45, in _real_extract
    r'<param\s+name="flashvars"\s+value="config=([^"&]+)', webpage, 'config URL'))
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 557, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 547, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract config URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thank you for the report. You are using an outdated version of youtube-dl. See our FAQ if you need help updating to 2<IP_ADDRESS> or newer, where this should be fixed.

Sorry, I thought I was good to go.

I just tried to get an escapist video with version 2<IP_ADDRESS> and it downloaded an ad only, not the "real" video.  --verbose output follows:
$ youtube-dl --verbose http://www.escapistmagazine.com/videos/view/zero-punctuation/10044-Evolve-Review
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.escapistmagazine.com/videos/view/zero-punctuation/10044-Evolve-Review']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.2 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.0
[debug] exe versions: avconv 11.2-6, avprobe 11.2-6, rtmpdump 2.4
[debug] Proxy map: {}
[Escapist] 10044: Downloading webpage
[Escapist] 10044: Downloading normal configuration
[Escapist] 10044: Downloading hq configuration
[debug] Invoking downloader on 'http://video.escapistmagazine.com/mp4/escapist/sales-marketing/5387-4a7b988602b3d53a02653768b43bb191.mp4'
[download] Destination: Evolve - One vs Multiplayer-10044.mp4
[download] 100% of 2.38MiB in 00:02

The video it downloaded was 45 seconds long and only contained the ad.  Did escapist recently change their website maybe?

Filed #5069 because I don't see how to reopen a closed issue.


[FEATURE] Add support for specifying a client certificate for rancher/agent

Add support for specifying a client certificate to support two-way SSL authentication.
Currently, the rancher/agent only allows the specification of a custom root certificate for one-way SSL.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Work around content range tile problems

https://github.com/iTwin/itwinjs-backlog/issues/761

The UseContentBoundingVolumes workaround functions well for this particular dataset.
However, in the case of the ClampByContentBoundingVolumesZ workaround:

I am not completely sold on the way I implemented it in the tile tree system – I need to first pass through the children, gather the Zs, then load the children tile props a second time.
It gets rid of the gaps, but some tiles near the camera will “blink out” of existence when zooming in on them.

I theorize the blinking out of tiles near the camera may be because I actually need to pass through the entire JSON (tileset) ahead of time and gather min/max Zs there for every single tile globally, not just when loading children, which appears to be what is happening typically – the entire dataset is not parsed in the beginning – it is parsed here and there as needed to load children. Does this seem right to you, @pmconne ? Not sure yet where / how to parse through everything up front once to gather these Zs.

Not sure yet where / how to parse through everything up front once to gather these Zs.

I updated your issue with details of the problem and how you are attempting to address it, but yes, the fact that subtrees can be referenced as external JSON files to be fetched asynchronously makes computing min+max Z problematic.


KeyError 's3distributiontype'

Hello,
I was trying to run the LightGBM example from a SageMaker notebook instance, only swapping the algorithm for XGBoost. The code is otherwise the same as the example, local data location included. I keep getting an error with stacktrace below:
algo-1-ut57f_1  | INFO:sagemaker-containers:No GPUs detected (normal if no gpus installed)
algo-1-ut57f_1  | INFO:sagemaker_xgboost_container.training:Running XGBoost Sagemaker in algorithm mode
algo-1-ut57f_1  | ERROR:sagemaker-containers:Reporting training FAILURE
algo-1-ut57f_1  | ERROR:sagemaker-containers:framework error:
algo-1-ut57f_1  | Traceback (most recent call last):
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_containers/_trainer.py", line 84, in train
algo-1-ut57f_1  |     entrypoint()
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_xgboost_container/training.py", line 94, in main
algo-1-ut57f_1  |     train(framework.training_env())
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_xgboost_container/training.py", line 90, in train
algo-1-ut57f_1  |     run_algorithm_mode()
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_xgboost_container/training.py", line 68, in run_algorithm_mode
algo-1-ut57f_1  |     checkpoint_config=checkpoint_config
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_xgboost_container/algorithm_mode/train.py", line 115, in sagemaker_train
algo-1-ut57f_1  |     validated_data_config = channels.validate(data_config)
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_algorithm_toolkit/channel_validation.py", line 106, in validate
algo-1-ut57f_1  |     channel_obj.validate(value)
algo-1-ut57f_1  |   File "/miniconda3/lib/python3.7/site-packages/sagemaker_algorithm_toolkit/channel_validation.py", line 52, in validate
algo-1-ut57f_1  |     if (value[CONTENT_TYPE], value[TRAINING_INPUT_MODE], value[S3_DIST_TYPE]) not in self.supported:
algo-1-ut57f_1  | KeyError: 'S3DistributionType'
algo-1-ut57f_1  |
algo-1-ut57f_1  | 'S3DistributionType'
tmpokc09nq0_algo-1-ut57f_1 exited with code 1

This seems to be caused by a bad input type for the data. Two questions:

are the samples here with SageMaker SDK 1 or 2 (I'm using 2.16)
have you encountered this issue before and would you know how to approach it?

I've looked around and found a few other reports of this error but no fix.
Thanks!

Hello @tlienart
All the examples here are with SageMaker SDK V2.
I didn't quite understand what you were trying to do, but If you are trying to train the SageMaker Built-In XGBoost algorithm locally, then it will not work. This is the error you will get.
All SageMaker built in algorithms can be trained only with SageMaker managed instances.

thanks Eitan


"Open Terminal Here" does nothing

I'm on OSX 10.7.4 with ST2.2207
Niether the keyboard shortcuts or the menu option open a terminal.
The command is logged: command: open_terminal {"paths": ["/Users/someperson/somefolder"]}, but nothing happens.  Is there anything I can try?

This issue seems to be 3 years old. I am going to optimistically close it. If the issue is still occurring, please re-open it.


[Dialog] TextField inside draggable dialog does not work in Chrome

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
I should be able to type something into TextField when my Dialog is draggable.
Current Behavior 😯
I have draggable Dialog and insde is TextField .. I cannot type anything inside TextField in chrome but in firefox it is working.
Steps to Reproduce 🕹
Here is the example: Codesandbox example
Your Environment 🌎

Tech
Version

Material-UI
v3.9.0

React
v16.8.5

Browser
Firefox v66.0.3 and Chrome v74.0.3729.108

@devdanco Thank you for reporting this problem. I found a similar issue in https://github.com/mzabriskie/react-draggable/issues/314.
What do you think of this diff?
diff --git a/docs/src/pages/demos/dialogs/DraggableDialog.tsx b/docs/src/pages/demos/dialogs/DraggableDialog.tsx
index 17d35b2ca..ec83ff71e 100644
--- a/docs/src/pages/demos/dialogs/DraggableDialog.tsx
+++ b/docs/src/pages/demos/dialogs/DraggableDialog.tsx
@@ -10,56 +10,54 @@ import Draggable from 'react-draggable';

 function PaperComponent(props: PaperProps) {
   return (
-    <Draggable>
+    <Draggable cancel={'[class*="MuiDialogContent-root"]'}>
       <Paper {...props} />
     </Draggable>
   );
 }

-class DraggableDialog extends React.Component {
-  state = {
-    open: false,
-  };
+function DraggableDialog() {
+  const [open, setOpen] = React.useState(false);

-  handleClickOpen = () => {
-    this.setState({ open: true });
+  const handleClickOpen = () => {
+    setOpen(true);
   };

-  handleClose = () => {
-    this.setState({ open: false });
+  const handleClose = () => {
+    setOpen(false);
   };

-  render() {
-    return (
-

-        <Button variant="outlined" color="primary" onClick={this.handleClickOpen}>
-          Open form dialog
-        </Button>
-        <Dialog
-          open={this.state.open}
-          onClose={this.handleClose}
-          PaperComponent={PaperComponent}
-          aria-labelledby="draggable-dialog-title"
-        >
-          <DialogTitle id="draggable-dialog-title">Subscribe</DialogTitle>
-          <DialogContent>
-            <DialogContentText>
-              To subscribe to this website, please enter your email address here. We will send
-              updates occasionally.
-            </DialogContentText>
-          </DialogContent>
-          <DialogActions>
-            <Button onClick={this.handleClose} color="primary">
-              Cancel
-            </Button>
-            <Button onClick={this.handleClose} color="primary">
-              Subscribe
-            </Button>
-          </DialogActions>
-        </Dialog>
-

-    );
-  }
+  return (
+

+      <Button variant="outlined" color="primary" onClick={handleClickOpen}>
+        Open form dialog
+      </Button>
+      <Dialog
+        open={open}
+        onClose={handleClose}
+        PaperComponent={PaperComponent}
+        aria-labelledby="draggable-dialog-title"
+      >
+        <DialogTitle style={{ cursor: 'move' }} id="draggable-dialog-title">
+          Subscribe
+        </DialogTitle>
+        <DialogContent>
+          <DialogContentText>
+            To subscribe to this website, please enter your email address here. We will send updates
+            occasionally.
+          </DialogContentText>
+        </DialogContent>
+        <DialogActions>
+          <Button onClick={handleClose} color="primary">
+            Cancel
+          </Button>
+          <Button onClick={handleClose} color="primary">
+            Subscribe
+          </Button>
+        </DialogActions>
+      </Dialog>
+

+  );
 }

Do you want to submit a pull request? :)

@oliviertassinari thank you :) this solved the issue. I did not know about cancel props for Draggable. I would love to submit a pull request but this will be my first PR. So I need to change  only docs ?

@devdanco It would be a perfect first contribution :). Changing the documentation should be enough. ⚠ this is on the next branch. The demo that we need to change is docs/src/pages/demos/dialogs/DraggableDialog.tsx.

@oliviertassinari Ok I will try to submit PR, but first I need to read your contribution README file ;)

@oliviertassinari I was so happy with this solution but there is a problem. In development mode everything works as expected but in production mode it does not work only in firefox. What could be the cause of the problem ?

This is a v4 patch. Doesn't work with v3.

Ok thank you ;)


Changed missing german translation

This is a copy from https://github.com/shopware/shopware/pull/2224 which was for the wrong branch.
1. Why is this change necessary?
Because it's possible that a german shopware translation displays english messages which should not happen.
2. What does this change do, exactly?
Adds missing german translation for 3 text snippets
3. Describe each step to reproduce the issue or behaviour.
Go to the article list, activate the split-view mode and try to activate the split-view mode again. You will get an english message stating that it's not possible to activate split view mode again.

4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-24720
Please use this issue to track the state of your pull request.

Thanks for your Contribution! :blue_heart:


var ptor in onPrepare

I moved var ptor from beforeEach in the tests to onPrepare, but when running the tests, I got "ReferenceError: ptor is not defined". Any ideas? Thanks!
  onPrepare: function() {
    // to generate test report
    require('jasmine-reporters');
    jasmine.getEnv().addReporter(
      new jasmine.JUnitXmlReporter('xmloutput', true, true));

    var ptor = protractor.getInstance();
    var url = ptor.baseUrl;
    browser.get(url);
    browser.ignoreSynchronization = true;
  },

hi

i faced an issue in angular application :
eg. driver.findElement(by.className('login'));  - its not working
but i made a slight modification to identify it adding 'browser'
browser.driver.findElement(by.className('login')); - This worked fine when i included (browser)
But when comes to angular properties
element(by.model('pin')).sendKeys(3);
This is not working .. how to proceed


Support events.causation_id

In addition to correlation_id for tracing a thread of execution, in a number of production systems we've found it helpful to also have a causation_id being the ID of the message that directly triggered the creation of the events.
To implement, this is usually a matter of not only copying the correlation_id from the inbound message but also populating the causation_id from the ID of the message itself.

I'll add this to the backlog. For now, you could include the additional causation_id property in the event metadata.

Done by @harukizaemon in #48.


How to remove extra submariner connections?

In ours two cluster deployment we can observer several same submariner connections.
All of the is Active and digagnoses wasn't detect any issues.
However we have issue with TCP session delay for connections between two POD in diferent clusters.
Can you please let's us know if it's correct configuration when we can see more than one connection as it shown on screenshot in attachment?
Can we somehow delete extra connections?

These are all the same connection (same gateway, same cluster, same remote IP etc.) — I’m guessing you have multiple contexts defined in your kubeconfig; subctl show connections tries all available contexts to show the connections.

There is only one connection, you’re seeing it reported multiple times through the different contexts.
Since your traffic goes through this connection (an IPsec tunnel), there can be an impact on the transmission, although since your average RTT is very low (0.5ms) I wouldn’t expect it to be noticeable. I also wouldn’t expect packets to be delivered out-of-order or duplicated, since the IPsec protocol goes to great lengths to avoid that. Perhaps there’s something going wrong between the nodes and the gateway; @sridhargaddam, @aswinsuryan, what do you think?

There is a video how our issue is looks like. See attachment.
We have captured traffic in pcap files from both cluster side pods.
I can provide them if needed
https://user-images.githubusercontent.com/31878095/228494424-509acb72-b3fd-4979-a8a4-efbc3986a0f2.mp4

Can you please have a look to the captured traffic from both side?
There is an issue with delay between 3 way handshake and HTTP GET request around 26 second
At the same time ICMP traffic working fine without any retransmission and packets lost, only TCP traffic affected.

This is weird. Can you share the following details?
Environment:

Diagnose information (use subctl diagnose all):
Gather information (use subctl gather):
Cloud provider or hardware configuration:

Also, the CNI that you are using in your setup.
Note: While running the above commands, you can pass the admin context, otherwise the same information is captured with ALL the contexts. For example: subctl show all --context ...

Thank you for sharing the details. The output of "subctl diagnose all" does not show any errors or warnings.
So, we have to look at other places. In order to understand if there are any errors in various Submariner pods, we would need the logs from the pods which are stored in a directory displayed in the last line of the "subctl gather ..." output.
For example:
<SNIP>
...
...
 ✓ Found 0 deployments by label selector "app=submariner-networkplugin-syncer" in namespace "submariner-operator"
 ✓ Found 1 deployments by label selector "app=submariner-lighthouse-agent" in namespace "submariner-operator"
 ✓ Found 1 deployments by label selector "app=submariner-lighthouse-coredns" in namespace "submariner-operator"
Files are stored under directory "submariner-20230331084001/oce02dr"

For each cluster, please tar one of the directory contents of the folders shown in the output of "subctl gather" and attach them to this issue.
Also, may i know the OpenShift version you are using in your setup?

Looks like we have issue with subctl veryfy connectivity test..
Please have a look to the screenshot below

Following is the command you executed.
subctl verify --context admin --tocontext admin --only connectivity

As you can see, the context names are the same, hence you are getting the error. Please rename the context of the second cluster from admin to some other name and then re-run the command.
Following is the sample output of contexts from a KIND setup.
[sgaddam@localhost submariner]$ export KUBECONFIG=output/kubeconfigs/kind-config-cluster1:output/kubeconfigs/kind-config-cluster2
[sgaddam@localhost submariner]$ kubectl config get-contexts
CURRENT   NAME       CLUSTER    AUTHINFO   NAMESPACE
*         cluster1   cluster1   cluster1
          cluster2   cluster2   cluster2

Please let me know if that test was informative for you?
Can we interrrupt it now?

@sridhargaddam  do you have chanse to see the logs file with connection test?

@sridhargaddam Please let me know if we can aggange call to troubleshoot our issue with submariner online ?

This is proper connectivity test between two contexts in deferent cluster verify connection.txt

From the attached logs, I can see 5 failures.
Summarizing 5 Failures:

[Fail] [dataplane] Basic TCP connectivity tests across clusters without discovery when a pod connects via TCP to a remote pod when the pod is not on a gateway and the remote pod is not on a gateway [It] should have sent the expected data from the pod to the other pod
github.com/submariner-io/shipyard@v0.14.2/test/e2e/framework/network_pods.go:187

[Fail] [dataplane] Basic TCP connectivity tests across clusters without discovery when a pod connects via TCP to a remote service when the pod is not on a gateway and the remote service is not on a gateway [It] should have sent the expected data from the pod to the other pod
github.com/submariner-io/shipyard@v0.14.2/test/e2e/framework/network_pods.go:187

[Fail] [dataplane] Basic TCP connectivity tests across clusters without discovery when a pod connects via TCP to a remote service when the pod is not on a gateway and the remote service is on a gateway [It] should have sent the expected data from the pod to the other pod
github.com/submariner-io/shipyard@v0.14.2/test/e2e/framework/network_pods.go:187

[Fail] [dataplane] Basic TCP connectivity tests across clusters without discovery when a pod with HostNetworking connects via TCP to a remote pod when the pod is not on a gateway and the remote pod is not on a gateway [It] should have sent the expected data from the pod to the other pod
github.com/submariner-io/shipyard@v0.14.2/test/e2e/framework/network_pods.go:188

[Fail] [dataplane] Basic TCP connectivity tests across clusters without discovery when a pod connects via TCP to a remote pod in reverse direction when the pod is not on a gateway and the remote pod is not on a gateway [It] should have sent the expected data from the pod to the other pod
github.com/submariner-io/shipyard@v0.14.2/test/e2e/tcp/connectivity.go:69

Gateway to Gateway connectivity is working fine and all the failures are when the pod is scheduled on the non-Gateway node. So, I suspect that there is some MTU issue which is creating problems for TCP traffic. As @yboaron suggested, lets try with a lower packet-size.
Note: The --packet-size option for subctl verify .... is only available in the devel as its added as part of the current Submariner release (0.15.0). Just for testing, we can use 0.15.0-rc0 image.
curl -Ls https://get.submariner.io | VERSION=0.15.0-rc0 bash
export PATH=$PATH:~/.local/bin
echo export PATH=\$PATH:~/.local/bin >> ~/.profile

subctl verify --context oce02dr-gg/api-oce02dr-okd:6443/system:admin  --tocontext amsoce02-gg/api-amsoce02-okd:6443/system:admin --only connectivity --packet-size 500

If the output of the above command is success and all the tests PASS, then it implies that there is indeed an MTU issue.

Looks like we don't have flag --packet-size

Is there another option to test it?

Looks like you are not using the right version of subctl. Please follow the instructions I shared above on how to download the subctl version 0.15.0-rc0 and use the same version to run the verify command.

@sridhargaddam I suppose issue Gateway nodes or libreswan. Please have a look to the traceroute screenshots

non-Gateway node MTU

Gateway node MTU

non-Gateway node DR cluster

Gateway node DR cluster

Both cluster connected to the same L3 switch and MTU on all switchport is 9032

Routing table on Gateway node

Routing table on DR cluster Gateway node

I just redeploy all routeragents from both clusters, however issue wasn't resolved

@surfinlemex Did you annotate the GW nodes on both clusters with the desired TCP_MSS value as Sridhar mentioned?
you should apply
kubectl annotate node <gw_node_name> submariner.io/tcp-clamp-mss=1200
On GWs in both clusters.
and then restart all route_agent pods by running:
kubectl delete pod -n submariner-operator -l app=submariner-routeagent
If the above steps didn't help please attach the latest Submariner logs (subctl gather )

I did it for 1200 before but now owerwritte tcp-clamp-mss by 8900

Issue still persist

I did it for 1200 before but now owerwritte tcp-clamp-mss by 8900

Did you notice the ~26 secs latency issue even when the MTU was configured with 1200?
Also, can you check if ams-oce02-ops01 and oce02dr-ops01 are the Gateway nodes.

We have delay between HTTP Get an Responce all the time... even time for delay almost constant 26  - 27 seconds.
I susspect we have issue with Gateway Node ams-oce02-ops01. Can we somehow transfer submariner-gateway-nz2rh pod to another node?
Please have a look to info about Gateway nodes:

I just move gateway to ams-oce02-ops3 node. However traceroute still tryin reach DR cluster via former gateway node.

Please have a look to the traceroute test:

Right now the POD with traceroute hosted on the same node (gateway node ams-oce02-ops03 ).

Looks like we lost connectivity with DR cluster after we move gateway on ams-oce02-ops03 node.

Probably it's related to this routes

When I delete those routes, tracesoute test looks like this

Gateway node routing table

This is routing table from previous Gateway node... As I can see the routes <IP_ADDRESS>/14 and <IP_ADDRESS>/16 missing there..

@surfinlemex , Is the new gateway pod in running state (from the pic you attached, it seems to be in   CrashLoopBackOff) ?

@yboaron  Can you please let me know what this error in the logs about?

@surfinlemex What's the status after moving the gw pod to another node?
If you still experiencing the delayed HTTP issue, maybe it will be better to discuss it on submariner slack channel

@yboaron can you please provide me your email? I'll invite you in our corporative Slack channel?

@yboaron I just sent you invitation for our slack channel

There is an additional connectivity test with different timeout and connection attempts.

It looks like all Submariner e2e tests are green even when you limit the connection timeout to 30 seconds.

I just execute following connecitity tests with trafic captuiring:

All GW nodes have ops03 in the name non-gw nodes ops02 or ops05
submariner.zip
Traffic was captured on four interfaces each node in chain: vx-submariner, tun0, vxlan_sys_4789 and physical interface  eno1np0

Thanks for uploading the pcap files @surfinlemex , I'll try to check them in the next few days

Could you please add [1] iptables rules on non-gw and gw nodes  on both clusters and rerun the curl test ?
You can use the following steps to install iptables rules on node:
A. Find submariner-routeagent-xxxxx pod that runs on the relevant node , you can use [2] for that
B. Exec into submariner-routeagent pod , see [3]
C. Apply iptables rules
[1]
iptables -t raw -I OUTPUT -s  -d   -j NOTRACK
iptables -t raw -I OUTPUT -s  -d   -j NOTRACK
iptables -t raw -I PREROUTING -s  -d   -j NOTRACK
iptables -t raw -I PREROUTING -s  -d   -j NOTRACK
[2]
$ kubectl get pods  -n submariner-operator  -o wide
NAME                                             READY   STATUS    RESTARTS   AGE    IP           NODE                     NOMINATED NODE   READINESS GATES
submariner-gateway-c7qm2                         1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-globalnet-sljvr                       1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-lighthouse-agent-55655c9b6-7nqc7      1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-lighthouse-coredns-749b7cf9c4-7jx2r   1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-lighthouse-coredns-749b7cf9c4-gzp68   1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-metrics-proxy-qsnll                   2/2     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-operator-56ccb54ccf-fg6bs             1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
submariner-routeagent-kxf76                      1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-control-plane
submariner-routeagent-ztzsf                      1/1     Running   0          7d1h   <IP_ADDRESS>   cluster2-worker
[3]
$ kubectl exec -it  -n submariner-operator  submariner-routeagent-kxf76 /bin/sh

You can see that we have all those rules already. Unfortunately same result:

IPTABLES on both cluster GW node and non gw node wiht pod

Thanks @surfinlemex .
Trying to summarize the case :
What's the problem?

inter cluster ICMP (ping) is fine while TCP connectivity test there is a delay of ~25 seconds
Subctl verify e2e tests pass successfully

What did you try so far?

Setting MSS_CLAMPING value (submariner.io/tcp-clamp-mss )  - didn't help
Disable connection tracking (using iptables  NOTRACK) for Submariner traffic - didn't help

cc @sridhargaddam

@surfinlemex I strongly suspect this is some platform configuration issue.
Lets try to narrow down the problem.
Please run the following command on the following Baremetal nodes.

The Gateway node of BOTH the clusters
The node on which the nginx server pod is scheduled.
The node on which the client pod is scheduled from where the curl command is issued to the server.

Command:
ethtool --offload vx-submariner rx off tx off

After executing the above command, you can try the curl command once again and let us know the behavior.

@sridhargaddam Looks like the change you suggested resolve the issue
See screenshot blow:

@surfinlemex that's great to hear!!
Can you let us know the following details from the BareMetal platform

OS details
Linux kernel version
OpenShift version
Iptables version.

1. OS details:
cat system-release
Red Hat Enterprise Linux CoreOS release 4.10
2. Linux kernel:
Linux ams-oce2-ocp-is01 4.18.0-305.3.1.el8.x86_64 #1 SMP Tue Jun 1 16:14:33 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3. OpenShift version:
oc version
Client Version: 4.10.0-202209291217.p0.g442535c.assembly.stream-442535c
4.Iptables version:
iptables --version
iptables v1.8.4 (nf_tables)

@yboaron Can you please provide RCA of the issue we have?
Looks like command: ethtool --offload vx-submariner rx off tx off just workaround.

Well, I can see multiple UDP packets with bad checksum captured in the pcap files you attached [1],
I assume that the root cause is some infrastructure issue (kernel or NIC firmware) causing bad checksum calculation for UDP packets as multiple similar issues have also been reported in other projects[2].
[1]

[2]
https://github.com/kubernetes-sigs/kubespray/issues/8992
https://github.com/projectcalico/calico/issues/3145

I think @yboaron said he hopes to take a look at this when he has cycles


[Task]: Fix no password has been supplied or the key has been cleared from memory

Task description
https://discord.com/channels/397872799483428865/1159365054395850832/1159365054395850832
We cant reproduce the issue yet, need to keep investigating
Requirements
Fix no password has been supplied or the key has been cleared from memory
Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Fixed by https://github.com/iotaledger/firefly/pull/7623

Has this fix been released? I ask because I get this error i Firefly 2.0.2 and I now can't log in.

Not yet, will be released very very soon 🙏🏼

Awesome. Thanks for the quick reply. Looking forward to the release.


Cannot exclude private directory from Spotlight indexing on Mac OS

I'm trying to add /keybase/private to the excluded list of directories for Spotlight so that my private and confidential files are not indexed by Spotlight.
On adding the private directory to this list in System Preferences, I get the following error:

Thanks for the report.  Could you confirm that Spotlight was already indexing your Keybase mount?  I had the impression it didn't, but could easily be mistaken.
CC @gabriel

I can't confirm that, no. But part of Keybase is about privacy, so I would naturally want to exclude my files contained in KBFS from Spotlight and I can't do that.
Regardless of whether it's technically impossible for Spotlight to index KBFS, Finder/System Preferences shouldn't error when adding the KBFS mount to the exclude list. I can add other files or directories to the exclude list, just not KBFS.

I believe spotlight can't see your files because they are not accessible by root, but I haven't confirmed that 100%.  Likely that's the same reason for that error -- it doesn't even have permission to look inside the directory.
@MasterRoot24 if you try that action again and do a keybase log send and let us know the ID, I can try to confirm.

@strib 8399d4938c6c8195344c271c

We do exclude the /keybase directory when we create it:
https://github.com/keybase/client/blob/master/osx/Helper/KBHelper.m#L123
I think you can check the status of spotlight on a volume, but for me says unknown, maybe because it is a fuse mount.
mdutil /keybase -s
/keybase:
	Error: unknown indexing state.

You could try to see if spotlight is returning any results for searching for files:
mdfind -name somefileinprivate

I really doubt Spotlight will index /keybase even without the exclude but I'd have to double check that.

Thanks @gabriel, I'm happy to believe you that /keybase isn't indexed.
The view point I was coming from was: "What would I think if I was a new user who tried to do what I did?"
I feel that a new user who is inexperienced in Keybase, FUSE and Mac OS filesystem mounting would think that something has gone wrong when they see such an error message. After all, I have an understanding of the above technologies, but I still didn't have enough to decipher the message and had to come here to establish if Spotlight was able to index KBFS.
I feel that at some point in the future (low priority) it would be worth trying to get KBFS to play nice with the indexing settings for Spotlight, so that users can exclude or allow their KBFS to be indexed by Spotlight.

Yeah it's something we'll definitely investigate. Thanks!

FYI: This is what's displayed in macOS Sierra:

😕

We don't currently support spotlight indexing, since it's a remote volume (and also for security reasons).

I know, but the error displayed is just nonsense to users that don't understand the way that KBFS is mounted/installed.
I was providing the screen shot to keep this issue up to date with the current situation.

It's likely because we don't allow root to access your files, and a lot of macOS programs just can't deal with that.  (The error message isn't coming directly from us.)

Thanks for reporting the funky error message. Yeah thats coming from the OS but good to know about it, maybe there is a workaround to get it to show something sane.

@gabriel No worries. I'm not a macOS dev, so I don't know of any workarounds to get a meaningful message to be displayed there, sorry.
I understand why the message would be displayed, if root can't even access the contents of /keybase, but I'm a dev so I have an understanding of the way this works.
My concern is that privacy conscious users may want to explicitly (attempt) to ignore their private files from indexing by Spotlight and would stumble upon this error and assume that something was broken.
It's an edge case, I admit. But it's nice to at least get these edge cases flagged up. Feel free to close this if you think that's best, but I just wanted to let you know.

Closing this as I no longer use Keybase and given how old this is it's likely no longer an issue.


Updated keystore branch

Updated keystore branch to use all current react-native-sensitive-info features.

Hi, thank you!

After this commit, I'm getting
{ [Error: encrypted argument can't be null] framesToPop: 1, code: 'EUNSPECIFIED' }
when I call SInfo.getItem('blah', {})
Am I missing something?

@mCodex why couldn't this branch be merged into master and released through npm?


Update create add-on manual to avoid 404 errors creating

I got error 404 using npm link and npm install. Only after remove package-lock.json and doing npm install again it solved the problem.

Hi,
I just followed the guide step by step but trying the new add-on on one of my existing projects. So, wasn't a clean project. Nowhere says that it must be a clean project.
I just wanted to improve the manual in order to avoid more people facing this problem.
Thank you.


Don't try to use a non-existing compiler

Only force gcc-5 if it is actually available.

Please note that the CI checks need to be rerun after clearing the build cache, as this change is not covered by the tests otherwise.

Still builds with a clean cache.


WebJobs do not appear in the App Service tab as referenced in the documentation

WebJobs do not appear in the App Service tab as referenced in the documentation
While its mention that WebJobs might be disabled, there is no information on what to do if WebJobs simply doesn't appear at all while setting up an App Service

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

ID: 24523dbf-010f-b844-5ff0-88192eac8849
Version Independent ID: d7ef5962-d94c-96d0-bf08-1efffc6d402b
Content: Run background tasks with WebJobs - Azure App Service
Content Source: articles/app-service/webjobs-create.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@dmeinrath
Thanks for your feedback! We will investigate and update as appropriate.

WebJobs do not appear in the App Service tab as referenced in the documentation
While its mention that WebJobs might be disabled, there is no information on what to do if WebJobs simply doesn't appear at all while setting up an App Service

Hi @dmeinrath thank you for the feedback. This is mentioned in the overview section (https://learn.microsoft.com/en-us/azure/app-service/webjobs-create#overview). Azure Functions is the recommended approach until the feature is added to App Service on Linux (no ETA). Thanks.


KeyNotFoundException thrown by SourceGenerator for a nested public struct in an internal class and only showing as a build warning

Summary
I have a WinUI3 C++/WinRT (WindowsAppSDK) app "CppHost" with most of the XAML UI implemented in a separate C# DLL "CsUiLibrary".
I also have a separate C#-based test app "CsUiTestHost" that loads the same DLL to test the different parts of the UI it implements that helps speed up some prototyping.
I was trying to add some functionality in CsUiLibrary the that used p/invoke into some old Win32 APIs and everything was working great in the CsUiTestHost, but at one point I started integrating the new UI into the CppHost and started hitting issues like:
Microsoft.UI.Xaml.dll!00007FFF57B03106: 80040154 - Class not registered
Unhandled exception at 0x00007FFF57D95175 (Microsoft.ui.xaml.dll) in CppHost.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001FB60348740, 0x0000000000000004).

After hours of adding and removing various parts of the code I noticed there was this not-seen-before warning in the output of the CsUiLibrary that didn't scream at me or break the build that only showed with the new code, which helped narrow things down a bit since I could now keep undoing or re-adding bits of code checking for which parts cause the warning to show up or disappear:
1>CSC : warning CS8785: Generator 'SourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'KeyNotFoundException' with message 'The given key was not present in the dictionary.'.
It turns out the issue triggers when I define an internal class (I use a lot of internal classes to implement things in CsUiLibrary without cryptic/hidden projection errors, but some things I need to make public anyways because XAML C++/C# compilers likes it that way) and a nested public struct inside of it. Now, marking the nested struct as internal - fixes the problem and the problem only occurs if the struct is tagged with StructLayoutAttribute.
To Reproduce
Create WinUI 3 C++ Desktop app and a C# WinUI 3 Desktop Class Library.
Reference the C# library from the C++ host app and add something like a UserControl in the library to display the C++ host app and F5-test to make sure it works fine at this stage.
Now add below class to the C# library:
namespace Foo.Interop
{
    internal static class Bar
    {
        [StructLayout(LayoutKind.Sequential)]
        public struct Xyz
        {
            public int Abc;
        }
    }
}

This builds fine, but should show the error-as-warning KeyNotFoundException I mentioned earlier in the library build output and when you run the C++ host app now app - you get the unhandled "Class not registered" exception that crashes the app.
Expected behavior
This builds and runs fine in a C# host app, so the exception from SourceGenerator shouldn't occur.
I suspect there's a good reason why the WinUI class library msbuild project template hides the error without blocking the build, but maybe it's not a good enough reason or there should be an easier way to help match the runtime exception with an original error. That's likely more a WinUI problem than CsWinRT even if these things typically go in pair.
Version Info
C++ host lists these imports:
  <Import Project="..\packages\Microsoft.WindowsAppSDK.1.5.240404000\build\native\Microsoft.WindowsAppSDK.props" Condition="Exists('..\packages\Microsoft.WindowsAppSDK.1.5.240404000\build\native\Microsoft.WindowsAppSDK.props')" />
  <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.240412.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.240412.1\build\native\Microsoft.Windows.CppWinRT.props')" />
  <Import Project="..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.3233\build\Microsoft.Windows.SDK.BuildTools.props" Condition="Exists('..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.3233\build\Microsoft.Windows.SDK.BuildTools.props')" />

C# library lists these details:
    <TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
    <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
    <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
    <UseWinUI>true</UseWinUI>
    <CsWinRTComponent>true</CsWinRTComponent>

Additional context

See https://github.com/microsoft/CsWinRT/issues/1202


Feature/improve invoke command

A small batch of improvements that fixes an issue with Invoke-Command where it can crash due to PowerShell's interpretation of what it means to write to stderr.
Basically, in some cases, Powershell will throw an exception if an external program writes to stderr. This fix solves this by temporarily circumventing that behavior which allows us to grab the output.

Squash and merge is a great option for this PR. 🎉


Implement UsaComboBox component.

Codecov Report

Merging #290 (ed1a966) into develop (f83aafb) will increase coverage by 0.06%.
The diff coverage is 98.80%.

@@             Coverage Diff             @@
##           develop     #290      +/-   ##
===========================================
+ Coverage    98.50%   98.56%   +0.06%
===========================================
  Files           93       95       +2
  Lines          936     1187     +251
  Branches       182      189       +7
===========================================
+ Hits           922     1170     +248
- Misses           7       10       +3
  Partials         7        7

Impacted Files
Coverage Δ

src/components/UsaRange/UsaRange.vue
95.00% <ø> (ø)

src/composables/useComboBox.js
98.60% <98.60%> (ø)

src/components/UsaComboBox/UsaComboBox.vue
100.00% <100.00%> (ø)

src/utils/common.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


make mobile responsive

Hi @arcVaishali , As when I tried to view the site your site in mobile . I  found that it is not responsive. The text is over-flowing and not fit on the screen

I like to contribute . Can you please assign this issue and Also please add the hacktoberfest label. thank you

Hello @priyanshtiwari001! Welcome to our project Relief Connect. We are assigning you this issue, make sure to follow contributing guidelines and resolve the issue on time.

thanks you. I will update you once done.

hey @arcVaishali
i would like to work on this issue can you please assign me the same...
THANK YOU .....!!:)

Hi @arcVaishali , Here is the preview after the changes I made.

Make other pages except landing page responsive first.

Can you please tell the pages which do you want?

No don't make new issue, I just meant that our landing page was still under construction when you made the previous landing page responsive. Now you will have to redo, as our landing page has changed, so now you have to make the entire website responsive, we have many pages, check our App.js file and see.

Okay that's sounds good. Can you please tell me, new landing page creating is done or not . then I will start with all pages.

Yes sure you can


[v4] basename for server-side rendering

Hello! My application has a base url /console. So I have the following routers
<BrowserRouter basename="/console">
	<App appData={appData}/>
</BrowserRouter>

<ServerRouter location={location} context={context}>
	<App appData={appData}/>
</ServerRouter>

When I want to create an index link to /console/ I do
<Link to="/">home</Link>

But it renders differently for server and for browser. So I got error:

Is there any way to do a basename on server-side?

Have you tried just adding a basename prop to your <ServerRouter>? Looking at the ServerRouter.js source , it appears that any additional props passed to the <ServerRouter> get appended to the <StaticRouter> (which uses the basename in its createHref function).
https://github.com/ReactTraining/react-router/blob/v4/modules/ServerRouter.js#L16

I'm sorry. I lust saw propTypes and didn't found basename there. So I thought it doesn't support it.

@mjackson @ryanflorence any reason for basename not to be an explicitly defined prop of the <ServerRouter>?

Created a PR for this (#4070)


add some hint about the submoule

when cloned without the git submodule, the build will run into errors.
We should add a hint that - in this case - you have to execute
git submodule update --init
to fix this situation.

Thanks! It is fine for me like this, but maybe it should be communicated more proactively.
Like so:
== Build Instructions
* Run `git submodule update --init`
* Run `./gradlew runIde`

many tools already clone with submodules, so the init might not be needed.
maybe we should add a task which checks for the submodule and inits it if necessary. This would make it completly transparent.