TSDB: Provide an commit interface that does not write OOO samples

In two scenarions Prometheus will rely on the rejection of OOO samples:
When a rule is moved from one file to another and the configuration is reloaded. The new rule writes its metric but several evaluation interval later, the first rule writes a staleness marker. In the past, that second happen was rejected and the staleness marker was not written.
https://github.com/prometheus/prometheus/blob/30b31cae93b2fe66486f188c07e215b80ebc93f8/rules/manager.go#L392-L399
The second scenario is when a target is stopped. We also wait a bit and try to insert a staleness marker that is rejected e.g. if the metrics are inserted with a target that has been restarted (e.g. because of a config change).
https://github.com/prometheus/prometheus/blob/30b31cae93b2fe66486f188c07e215b80ebc93f8/scrape/scrape.go#L1409-L1447
Therefore we should have an interface to that these samples should be rejected if they are OOO.

With the native histogram work that is happening, we will soon require a way to communicate to the appender whether the histogram is a counter histogram or a gauge histogram, and that will require some modification in the interface. I will keep this one in mind so that we could have a generic way of communicating such things. Hints for append maybe, just like queries.

A proposal for this https://github.com/prometheus/prometheus/issues/11765

As mentioned in https://github.com/prometheus/prometheus/issues/11765#issuecomment-1707960383 we would also love to be able to increase the OOO window per-appender. Changing the OOO window is a general case of this request.

Hello everyone! I'm  working on resolving this issue as part of my LFX Mentorship. I'll keep you updated on my progress and any findings along the way.

Native histograms are getting OOO support soon, so we probably want to cover the native histograms appenders as well.

@roidelapluie it is my understanding that the new code added here https://github.com/prometheus/prometheus/pull/14710 solves both issues above (unit tests added as well).
So I'm going to go ahead and close this issue. Please reopen if you spot anything missing :+1:


add local disk action controller

What this PR does / why we need it:
issue: #1015
Special notes for your reviewer:
Does this PR introduce a user-facing change?

- add local disk action controller to support automatic localdisk reserve

What is Relok8s Check? It seems like there is something wrong about pulling failover-assistant.
Error: failed to pull original images: failed to pull image ghcr.io/hwameistor/failover-assistant:v0.11.2: GET https://ghcr.io/token?scope=repository%3Ahwameistor%2Ffailover-assistant%3Apull&service=ghcr.io: DENIED: requested access to the resource is denied

What is Relok8s Check? It seems like there is something wrong about pulling failover-assistant.
Error: failed to pull original images: failed to pull image ghcr.io/hwameistor/failover-assistant:v0.11.2: GET https://ghcr.io/token?scope=repository%3Ahwameistor%2Ffailover-assistant%3Apull&service=ghcr.io: DENIED: requested access to the resource is denied

relok8s is mainly to do mirror offline packaging and other things.
Ignore this check error, the check will fail when adding a image .

Looks good to me. It's better to have a doc to introduce this feature. It's okay to merge after solving all the conflicts

Codecov Report

Merging #1054 (0b89b7c) into main (8511e8d) will decrease coverage by 1.02%.
The diff coverage is 35.09%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1054      +/-   ##
==========================================
- Coverage   42.15%   41.14%   -1.02%
==========================================
  Files          24       25       +1
  Lines        1587     1852     +265
==========================================
+ Hits          669      762      +93
- Misses        846      989     +143
- Partials       72      101      +29

Files Changed
Coverage Δ

pkg/local-disk-action-controller/controller.go
35.09% <35.09%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Docs have already been added. And all conflicts are solved.


Add FAQ about matplotlib error of no X11 connection

If I import typhon on a machine where I do not have a X11 connection, I get an error. This results from importing matplotlib which default backend requires a X11 server. The workaround is to import matplotlib before typhon and to set another backend manually. New users or beginners could struggle here, hence it should be covered in a FAQ.
What do you think?

This is a generic matplotlib issue.  I have in my matplotlibrc I set the backend to agg, when I run interactively I run ipython --pylab=tk to get plots.

I think it would be good to mention this in the FAQ. A fourth possible fix is to set the environment variable MPLBACKEND: export MPLBACKEND=agg

Thanks for all the feedback 😉
I will create a FAQ for this issue as it occurred a couple of times within our working group. I will happily include all the different workarounds.
Cheers,
Lukas 🎄


Scheduled refresh in Service

Hi Miguel,
Thanks for posting this helpful report. However, is there any way of scheduling automatic data refreshes in Service?
Hope to hear from you!
 You can find more information about the Custom Connectors Roadmap from Microsoft here.
The workaround that people are doing nowadays is to use a 3rd party app like Power Update to refresh their files programmatically and publish them to the service..


Crash scan

Description of the Change
This is an attempt to allow the bot to scan atl pasts for common crash causes
Testing
I try to test each section as I write it, but as this is my first time writing, i recommend thorough testing and code checking.
Related Issues
#20

Is this ready to review? If so hit the Ready for review button and can take a look :)

O, no, im still working on lots of stuff...

@Aaronstar-McClure any update on this?

oops

i just accidentally messed a bunch of stuff up, so i am going to remake this pr


Buffer which entities' components were changed. Then filter them all when an event is emitted

I think this is already fixed too

Reopen if needed

Reopen if needed


Gfs/oss squat

Adds oss-find-squats. A tool to detect potential typo squats in package managers.

Thanks for the review Suraj. Will address the raised issues tomorrow.

Just allowing the exception out is also fine with me. I’ll do a trace and throw.
On Thu, Feb 18, 2021 at 5:09 PM, Suraj Jacob<EMAIL_ADDRESS>wrote:

@jacobmsft commented on this pull request.

In src/OSSGadget.sln:

@@ -30,6 +30,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "oss-tests", "oss-tests\oss-
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "oss-metadata", "oss-metadata\oss-metadata.csproj", "{7E9A489A-B502-4622-A34C-EF507E18DFEB}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "oss-find-squats", "oss-find-squats\oss-find-squats.csproj", "{23D17E08-9E95-4448-B75D-BABAF1F3C854}"
+EndProject

Trace sounds good to me. For any error downloading the package, I think emitting and catching an exception might be better, instead of console writes from a shared library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@jacobmsft @scovetta Can you guys give it another look? I believe I've addressed all raised issues.


UnicodeDecodeError

Hi Guillaume,
I'm simply running the code as is. Is it something to do with the python version ?
class IncrementalDecoder(codecs.IncrementalDecoder):
25 def decode(self, input, final=False):
---> 26 return codecs.ascii_decode(input, self.errors)[0]
27
28 class StreamWriter(Codec,codecs.StreamWriter):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 123: ordinal not in range(128)

Hope you solved it!


Build Issue with python 2.7 on Ubuntu 18.4

current commit: master 5f57bdcab patch 8.1.0497: :%diffput changes order of lines
I have a build issue that causes python not to build. in the file src/auto/configure@6226:
  withval=$with_python_command; vi_cv_path_python="$withval"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python" >&5
Which causes the "vi_cv_path_python" to be set to "yes" which causes the python build to fail, as it can no longer find python. I have changed it to:
withval=$with_python_command;  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python" >&5
And I get python to build. I have no idea about autoconf and the "configure" scripts so I don't know if the issue is something else I have done on the system. But setting that variable there does not quite seem correct with the way it is used later.
I can raise a patch if you require.

What are your ./configure options?

I tried all the following, with "git clean -fdx" and "git reset --hard" in between.
./configure --with-x --enable-pythoninterp --enable-gui --with-features=huge
./configure --with-x --enable-pythoninterp --enable-gui --with-features=huge --prefix=$HOME
./configure --with-x --enable-pythoninterp --enable-gui --with-features=huge --x-includes=/usr/include
./configure --with-x --enable-pythoninterp --enable-gui --with-features=huge --x-includes=/usr/include/
./configure --with-x --enable-pythoninterp --enable-gui --with-features=huge --x-includes=/usr/include/X11
./configure --with-x --enable-pythoninterp --enable-gui --with-features=huge --x-includes=/usr/include/X11/
./configure --with-x --enable-pythoninterp --enable-gui --with-python-command --with-features=huge --prefix=$HOME
./configure --with-x --enable-pythoninterp=yes --enable-gui --with-python --with-features=huge --prefix=$HOME
./configure --with-x --enable-pythoninterp=yes --enable-gui --with-python --with-features=huge --prefix=$HOME --with-python-config-dir=/usr/lib/python2.7/config
./configure --with-x --enable-pythoninterp=yes --enable-gui --with-python --with-features=huge --prefix=$HOME --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/
./configure --with-x --enable-pythoninterp=yes --enable-gui --with-python-command --with-features=huge --prefix=$HOME
./configure --with-x --enable-pythoninterp=yes --enable-gui --with-python-command --with-features=huge --prefix=$HOME --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/

with this being the one that worked with the fix:
./configure --with-x --enable-pythoninterp --enable-gui --with-python-command --with-features=huge --prefix=$HOME

--with-python-command requires an option for specifying the name of the python command.
E.g. --with-python-command=python2
The option --with-python doesn't exist.
See ./configure --help for the help.

No problem, I'll close this.
Thanks for responding.
I think my issue was that the configure did not fail when it could not build python properly, I think the early tries did not have python-dev installed. Then I went on a try everything loop. And lastly just hack the scripts. Sorry for wasting your time. Thanks again.


Country attribute of reference payload is not checked

Bug description
A country is able to upload trusted references stating a different country in the payload.
(Consistency between AUTH and UPLOAD  certs is checked, but not between payload and the certs)
Impact
Trust chain is not broken because enveloping CMS always reveals real uploader but false entries in the 'country' attribute may confuse some participants.
Test case description

"CountryA" creates a reference
"CountryB" creates CMS message with trusted reference
"CountryB" uploads CMS reference
check that the response had an error **<-- failing step **
"CountryA" downloads the reference trustlist
check that the reference is NOT in the trustlist

fixed in #39

Test successful on AZ GW1


20160614 l10n

@ariandora There's a double translate attr / el added to this:
https://github.com/gflohr/cucumber-frontend/blob/dbd8df9e9914ccf57bc7bea5234a666ce205c8c1/client/components/views/group_policies/_add.html#L57-L58


upgrade mesalock-linux / log-sgx  to v0.4.14

Hi there,
we'd like to upgrade our project dependencies which unfortunately depend on log 0.4.14. Since mesalock is currently at 0.4.11 cargo throws an failed to select version for 'log' error.
Would it be possible to upgrade log-sgx to >=0.4.14? Thanks alot!

@haerdib updated!

Sorry for the late answer. Its working perfectly, thank you very much!


add --enable_upload functionality to "pio ci"

I think it is a big benefit for library developers. It help to compile a examble or test file direct for uploading and don't need create a temp project anymore.
It also possible to compile a single i.e. ino file from a examble or other source to microcontroller without create a dumy project.

Thanks a lot for your PR. See updated docs http://docs.platformio.org/en/latest/userguide/cmd_ci.html


packages: rework @protosaurus/example to @protosaurus/cli, add prebuild/prestart scripts

Prerequisite PR: https://github.com/imballinst/protosaurus/pull/25.
This PR makes @protosaurus/example to be an CLI, which will be called in the website's package.json's prebuild and prestart script using protosaurus generate ../, where ../ is a relative path to the buf.gen.yaml.
Some key changes:

Moving generated and plugin-resources under website/.protosaurus
Make @protosaurus/example a poor-thing's CLI @protosaurus/cli that accepts 2 commands, clean and generate <relative_path_to_buf_gen_yaml>.

switch (command) {
  case 'clean': {
    fs.rmdir(path.join(DOCUSAURUS_DIR, '.protosaurus'));
  }
  case 'generate': {
    const pathToBufGenYaml = path.join(
      DOCUSAURUS_DIR,
      relativePathToBufGenYaml
    );

    await generator.generate({
      workDir: pathToBufGenYaml,
      outPath: `${DOCUSAURUS_DIR}/.protosaurus/generated`
    });
    await generator.generateCacheFile({
      workDir: pathToBufGenYaml,
      outPath: `${DOCUSAURUS_DIR}/.protosaurus/plugin-resources/.cache`
    });
  }
}

Add the pre-scripts in website/package.json

{
  "prestart": "protosaurus generate ../",
  "prebuild": "protosaurus generate ../",
  "clean": "protosaurus clean"
}

Final flow
So, when a user want to use this, what they need to do is:

Install Docusaurus project
Install the required protosaurus packages: @protosaurus/cli, @protosaurus/rehype-plugin-codeblock, @protosaurus/docusaurus-preset, and @protosaurus/docusaurus-plugin-mdx.
Add/update these to docusaurus.config.js as needed
Add prebuild/prestart scripts to package.json with the relative path to their buf.gen.yaml
Set up their buf.gen.yaml along with the .proto files somewhere
We're good to go! (at least, I think it should. We still need to test this)

What could be improved

rehype-plugin-codeblock can be merged into the docusaurus-preset, so users don't need to install @protosaurus/rehype-plugin-codeblock
Since now we generate JSON on prebuild, perhaps, we can also move the MDX/JSON dictionary on prebuild. Hence, users don't need to add @protosaurus/docusaurus-plugin-mdx to the plugins in docusaurus.config.js

I like the direction of making all the .proto to .mdx into a prebuild script.

Sure! I can work on that tomorrow. Thanks for the review!


⚠ Turnos 24x7 has degraded performance

In 261c28c, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 954 ms

Resolved: Turnos 24x7 performance has improved in 07ccdde.


ScheduledTask: Delay Property Not Set for non-OnEvent Type Triggers

Details of the scenario you tried and the problem that is occurring
When using the delay property for any schedule type other than OnEvent, the property is never set in the scheduled task. This causes the test to always fail and the set to always run.
scheduletype = 'AtLogOn'
delay = '00:00:30'

Verbose logs showing the problem
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = Resourcetest,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName'
 = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer REDACTED with user sid SID REDACTED.
VERBOSE: [REDACTED]: LCM:  [ Start  Test     ]  [[ScheduledTask]DirectResourceAccess]
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess] Testing scheduled task 'OneDrive Mapper' in '\'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess] Getting scheduled task 'OneDrive Mapper' in '\'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess] Task 'OneDrive Mapper' found in '\'. Retrieving settings, first action, fi
rst trigger and repetition settings.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess] Detected schedule type 'AtLogon' for first trigger.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess] Current scheduled task values retrieved.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess] Testing DSC parameter state.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  TEST Verbose
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  MATCH: Value (type 'String') for property 'ActionExecutable' does
 match. Current state is 'C:\OneDrive_Mapper\OneDrive_Mapper.exe' and desired state is 'C:\OneDrive_Mapper\OneDrive_Mapper.exe'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  MATCH: Value (type 'String') for property 'LogonType' does match.
 Current state is 'ServiceAccount' and desired state is 'ServiceAccount'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  MATCH: Value (type 'String') for property 'TaskPath' does match.
Current state is '\' and desired state is '\'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  MATCH: Value (type 'String') for property 'TaskName' does match.
Current state is 'OneDrive Mapper' and desired state is 'OneDrive Mapper'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  MATCH: Value (type 'Boolean') for property 'Enable' does match. C
urrent state is 'True' and desired state is 'True'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  NOTMATCH: Value (type 'String') for property 'Delay' does not mat
ch. Current state is '00:00:00' and desired state is '00:00:30'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  MATCH: Value (type 'String') for property 'ScheduleType' does mat
ch. Current state is 'AtLogon' and desired state is 'AtLogOn'.
VERBOSE: [REDACTED]:                            [[ScheduledTask]DirectResourceAccess]  Test-DscParameter result is 'False'.
VERBOSE: [REDACTED]: LCM:  [ End    Test     ]  [[ScheduledTask]DirectResourceAccess] False in 0.8600 seconds.
VERBOSE: [REDACTED]: LCM:  [ End    Set      ]    in  0.9060 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.989 seconds

Suggested solution to the issue
Move the below line in the ScheduledTask resource in the Set-TargetResource cmdlet outside of the ScheduleType switch statement:
$trigger.Delay = [System.Xml.XmlConvert]::ToString([timespan]$Delay)
The DSC configuration that is used to reproduce the issue (as detailed as possible)
No configuration to provide
The operating system the target node is running
OsName               : Microsoft Windows Server 2016 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsBuildLabEx    : 14393.3053.amd64fre.rs1_release_inmarket.190612-1836
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Version and build of PowerShell the target node is running
PSVersion                      5.1.14393.3053
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.3053
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Version of the DSC module that was used ('dev' if using current dev branch)
<IP_ADDRESS>

Thanks for raising this @ShawnHardwick - looks like a straight forward fix. Happy to accept a PR or will try and get onto it this weekend.

Just moving the set of Delay out of OnEvent is a bit to simple unfortunately. This is because not all triggers support the delay property.
Supporting Delay:
AtLogon
AtStartUp
OnEvent
Not Supporting Delay:
Daily
Weekly
Once
Also, the delay property is only supported on W2016+ / W10+, mainly because the object returned by the tooling (New-ScheduledTaskTrigger) is different on W2012 / W8 (oh MS we love your consistency).

I've been bitten by the differences in the Schedule objects on more than one occasion in this resource too. Thanks for submitting fix @danielboth.


WebSocket code sample for custom functions lacks context

The WebSockets section does not provide enough context for the code sample to be of any use.
Should this code be global in the functions.js file or should it be inside a custom function?
If the former, then how is this code connected to a custom function?
If the later, then where in the custom function does it go?

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

ID: 667d1e98-4a95-318f-0df1-182722370ac8
Version Independent ID: f8265387-ba9d-a5db-ef44-8409441b2ece
Content: Receive and handle data with custom functions - Office Add-ins
Content Source: docs/excel/custom-functions-web-reqs.md
Product: excel
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@Rick-Kirkham Thanks for giving custom functions a try and asking about this.
@alison-mk Can you take a look?
Thanks.

@alison-mk hit me up if you need some context on this article. The web sockets stuff is from way way back in the day.

Moved to internally-tracked work item.


Add run on repl.it badge to README

This pull request adds a Run on Repl.it badge to the README. This will allow users to easily run this repository in their browser, without having to set up an environment. You can learn more about Repl.it here.

The badge is positioned incorrectly:


[KEYCLOAK-9086] Linting

abide by modern go linting standards (golangci)
include .golangci.yml config to (optionally) carry out automated linting check on PRs
does not change behavior

NOTE: upgrading deprecated prometheus middleware is not carried out in this PR
Signed-off-by: Frederic BIDON<EMAIL_ADDRESS>

There is indeed a suggestion to add golangci as a CI specialized on the linting job.
At any rate, this is opt-in.
This is by no means a "forced push" to any given CI product and this is definitely not a proposal to replace TravisCI (basically, this would add another level of checks on your PRs, no more, no less).
Anyway, the presence of the .golangci.yml is not coupled with the use of the golangci CI: it is also a helper config for developers who, like me, are using this tool locally on the dev environment.
So basically, I may remove the .golangci.yml dot-file if you feel uneasy about this. If this is what you want, you just tell me.
However, I suggest you try their command line tool golangci-lint locally so you can see how it goes.

ok see #454

@fredbi thank you for the refactoring. I added few comments and questions.

@abstractj should really should give a try to golangci-lint locally. At first, this looks pecky and intrusive with your code style, but given some time, you get used to all these conventions, and code smells are more easily detected.

@fredbi actually I did it, that's why I asked :) Locally here, it didn't complain about capitals or assignments. But probably is some misconfiguration on my end. Thanks for your submission.


Markdown syntax (##) appearing in the microsite

Hey guys
I've noticed on the microsite for Material Design that the headings which have been written in markdown are not appearing correctly so instead of a header being styled as one you get the ## before a header.
Example: http://www.getmdl.io/components/index.html#layout-section

Fixed in commit a64e9b6809f6da7d43a46234af433e49c1d33e3a#diff-19aece333bacc9e2d1b4ce0e266c643c . Waiting on new deployment.


V2.0

Alright my initial PR is adding just a hook for open, but in the process I also ended up refactoring the select! macro usage.
Before this becomes an even bigger PR, I'm pushing it to get some reviews.

I forgot to mention that the changes to -agent require using an updated image, in vscode/launch.json:
"MIRRORD_AGENT_IMAGE": "meowjesty/mirrord-agent:latest",


Need a overview section for cStor

Creating this issue based on conversation with @davidkarlsen on OpenEBS Slack.
There are quite a bit of resources and concepts to get the hang of. What I have gathered so far on how cStor works is:

disks are found via NDM, and “disk” can actually be a folder, or a block-device
disks are collected into pools, and these can actually be “block-disks”, or “folder-disks”, they are called sparse by convention if they use “folder disks” - but really the disk list can be any type disk
storageclasses use the pools to allocate underlying storage - like any k8s storageclass.

also:

document parameters for the storageclass (for instance, can a default fsType be given for xfs | ext4

data-reciliency, I see that storagepools can be mirrored, and this requires two equal disks on each node or striped, which is across nodes -  but there is also a concept of replication (default 3?)

More queries from @davidkarlsen  on the pool replica and types of replication within a given pool replica etc. Explain the cStor pool replica concepts as well.

updated the doc with new changes
https://docs.openebs.io/docs/next/cstor.html


feat(plugins): add Indent blankline v3

Indent blankline v3 got released few days ago. Added new Ibl* highlight groups to make the colors consistent with v2.
Also thanks for creating my favorite theme :)

thanks!!


go get failing for me

go get github.com/gu-io/gu/...
package github.com/gu-io/gu/events: cannot find package "github.com/gu-io/gu/events" in any of:
/usr/local/opt/go/libexec/src/github.com/gu-io/gu/events (from $GOROOT)
/Users/apple/workspace/go/src/github.com/gu-io/gu/events (from $GOPATH)

There are no more references to github.com/gu-io/gu/events in code. Could you please, delete old source in your GOPATH, GOPATH/pkg as well.

ok that helped. i cleaned the pkg and src
now i get 👍
x-MacBook-Pro:github.com apple$ go get github.com/gu-io/gu/
github.com/gu-io/gu/trees/themes/styleguide
gu-io/gu/trees/themes/styleguide/style.go:578: undefined: colors.IsHex

This seem to related with an external package dependency which is related
to influx6/faux/colors pkg. Please delete all influx6 and gu-io
directories in your GOPATH/src.
I would like to have the dependencies vendored but I fear, gu-io should
always use latest changes and not vendored changes, more so, we can not
vendor gopherjs has this will cause errors.
Best Regards,
Alex.
Chief Information Officer (CIO)
Dream Bench Technologies
www.dreambench.io<EMAIL_ADDRESS>On Mon, May 15, 2017 at 8:53 AM, jow blew<EMAIL_ADDRESS>wrote:

ok that helped. i cleaned the pkg and src
now i get 👍
x-MacBook-Pro:github.com apple$ go get github.com/gu-io/gu/
github.com/gu-io/gu/trees/themes/styleguide
gu-io/gu/trees/themes/styleguide/style.go:578: undefined: colors.IsHex
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gu-io/gu/issues/31#issuecomment-301402512, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAICLawBiXkwfFwERCcVWv6f8UJmC1RUks5r6ARegaJpZM4Nahq7
.

i think there were lots of nasties with vendoring with gopherjs.
but worth a try on the examples project. can vendor gu in the examples project and see if she blows up. quick and easy to try

so got this working...


Support starting a subset of docker-compose services

Prior to this change, the DockerComposeEnvironment().up() method would
start all services defined in the target docker-compose.yml file, and
did not allow starting just a subset of services.
This change adds support for optionally passing an array of service
names to start to the DockerComposeEnvironment.up() method. If
provided, the underlying docker-compose upMany method is used to
start just that subset of services.

Thanks for the feedback @cristianrgreco, I've updated the PR to address it. Kudos for having such an easy to improve codebase 👍

Thanks @raganw, released in 7.19.0


CNCF OpenTelemetry with optional gzip compression

Pull request
This is a manual patch / cherrypick of daksh's contribution for CNCF OpenTelemetry with optional gzip
compression support originated in the stalled #1818 branch. Recent changes in external dependencies
and to tremor mean this work is now mergeable.
@dak-x Let me know if you'd prefer to resolve #1818 or we can go ahead with this branch which basically
avoids most of the merge pain!
Description
Adds compression support to the otel connectors:
  define connector otel_client from otel_client
  with
    config = {
      "url": "<IP_ADDRESS>:4317",
      "compression": "gzip", # This is new from Daksh's contribution
    },
    reconnect = {
      "retry": {
        "interval_ms": 100,
        "growth_rate": 2,
        "max_retries": 3,
      }
    }
  end;

Related
Supercedes #1818
Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[x] The performance impact of the change is measured (see below)

Performance
Compression is a tradeoff of network bandwidth utilisation and cpu utilization. Unless explicitly configured
compression is disabled by default.

I believe we would need to spend effort in upgrading our tonic in termor-otelapis. Tonic 0.6 and 0.7 both are being consumed due to a dependency on googapis. I remember @mfelsche mentioning a solution in this regard (couldn't find it).

Yes. Its a fairly deep set of changes given that we need a common tonic/prost across all gRPC or protocol buffer
based connectors. Additionally the GCP and Otel specifications have revv'd resulting in some other changes to
underlying deps. I have most of the changes in progress with a preview/draft branch hopefully soon!

closing this as its part of the huge otel update coming down the line


Task runner handler

Examples of applications:

Compile library sources
Run pipes automatically depending on the request

It is already possible to build multiple requests using Premise::partial and pure PHP functions. The idea is to make a proof of concept using Dharma as an example.

The main problem is how to automate the cache verifications from tunnel inside any request.


Jenkins build

Setup a Jenkins build along with Travis.
This causes Travis to trigger a  parametrized build on Jenkins at:
https://monarch-jenkins.cgrb.oregonstate.edu/job/test-mondo/
and the Jenkins status will be reported back to GitHub in its own context
separate from Travis'

Resubmitting


Create uninstallation scripts

It would be nice to have uninstallation scripts uninstall.sh and uninstall.ps1. The scripts would do the following:

check that the script is running within a folder matching regex [Mm]269-\d\d[Jj] and extract the year from it
ask the user to confirm uninstallation, warning them that they'll need a Jupyter environment to open and run their notebooks
remove the virtual environment for the matched year
remove the allowed.py and m269.json files in the current folder
detect the parent shell and remove the aliases from the corresponding shell startup file

this won't work if the user has changed the default shell between installing and uninstalling the M269 software
the only robust way is to search all 5 possible startup files for the aliases
to avoid removing other aliases named nb and allowed, the 'content' of the alias must be checked; maybe the easiest is to check if the alias mentions the current folder

remove the M269-related lines from ~/.jupyter/custom/custom.css

Removing lines from the CSS and shell startup files can be done with sed on Unix, but no clue how to do it in Windows.
Once the scripts are done and tested:

[ ] Shorten Section 5 of the README, just saying how to run the uninstallation script
[ ] Add the uninstallation script to variable FILES in the corresponding installation script

This is just a thought, but could we add some more environment variables during the installation process that would make the uninstall easier. E.g the parent shell, the path to folder, the presentation year etc?
Or could we write some of this information to a file (maybe a hidden file) that lives in the main m269 folder? Of course a file like this could be accidently deleted or changed.

Good ideas! The uninstallation script could be written assuming the existence of variables like SHELL, VENV, RC_FILE, etc. The installation script computes the values of those variables and prepends them to the uninstallation script. In this way, once installation finishes, the uninstallation script is ready to run and contains all info it needs.

I have a working uninstallation script for Unix (at least on my machine) and will submit the PR. This can be treated like a first draft, as some parts might need a few tweaks and changes etc. A couple of points:

I have written variables needed for uninstallation to a .m269rc file that lives in the M269 folder. This file is then sourced in the uninstallation script e.g source .m269rc. There are a couple of reasons for this; firstly I thought the config file might be useful for other projects specific to m269, secondly it seemed a more reliable and readable approach as adding variables directly to the script could involve sed and place holders (can't directly prepend because of shebang)
Backups of any config files edited with sed have been created in the script (FILE_NAME.backup) as a precaution. Of course this can be removed easily
The README has not been changed

Thanks. This will require some iterations (also for Windows) until completed, so could you please withdraw the PR and instead create an and commit a branch? On this issue's page, on the right sidebar, there's a link to create a branch associated to this issue under the 'Development' heading.

I have withdrawn the PR, but I don't think I have permissions to create a new branch in this repo. Maybe if you created the new branch I could submit PR to the new branch?

Had a quick look at your PR. Some suggestions:

As I mentioned in the first comment of this issue, it may be better to remove aliases and CSS section based on presentation name, ie matching regex [Mm]269-YY[Jj] where YY is the hardwired year (maybe from an env variable). This will prevent removing any other alias also called allowed or having to match exactly the start/end comment of the CSS.
It would be good to check if the various folders and files still exist before doing anything, as things might have changed between installation and uninstallation.

Thanks, I have incorporated those suggestions.
A couple of questions:

What do think about having each of the parts of the uninstallation as an option. E.g. "Do you wish to remove styling from ~/.jupyter/custom/custom.css ? [y/N]" and the same for the aliases and other parts? Might be overkill, but the thought just occurred.
Would you like a final message printed to the user e.g. "The M269 software has now been uninstalled" or similar?

I think the uninstallation script is ready for more critique, testing and suggestions.
Some of my thoughts were:

I don't like the way that allowed.py and m269.json are "hardcoded"  for removal. Maybe  a variable containing all the files that will be removed from the M269 folder (created in the installation) would be better?
Do we want to keep the .m269rc file to hold the variables needed for uninstallation or should we write to the script directly? if the former, might it be better to keep the file in a known location e.g ~/.m269/m269rc or ~/.config/m269/m269rc? If the latter, do we need to use sed and place holders, or is there a better and easier way to do this?
The use of the [Mm]269-YY[Jj] pattern in the style and alias removal might not be exactly as you had intended, it is working, but maybe could be better i.e. more efficient and readable.
Is there more that can be done in terms of safely removing files and directories? I have added some tests and checks, but can we do more here?
Do we need to remove install.sh, .m269rc (if used), and also have the script delete itself at the end?

I prefer the env vars to be written to uninstall.sh rather than an extra .m269rc file. Makes uninstall.sh simpler and easier to understand. install.sh probably also has to write the shebang to uninstall.sh. Apart from shell_configuration_file var, probably everything else could be hardwired. After all, the two scripts go hand in hand. If next year we e.g. install allowed via pip, then we need to make changes anyway to both scripts.
On further reflection, there's no point in keeping the aliases if the venv and allowed.py are removed. And the whole point of the script is to remove the 1Gb venv. So, to simplify, I suggest the script simply warns the user at the beginning that it will remove the venv in ~/venvs/m269-YYj and the aliases nb, allowed and m269-YYj and that therefore the notebooks will be no longer readable or executable unless another Jupyter environment exists. Then asks the user to confirm to proceed.
The only other thing to ask the user is if they want to keep the M269 style of notebooks, otherwise it will be removed.


add parameters to delete downloaded data from spectroscopy queries

added delete downloaded data to JWST, HST and made uniform variable names with existing Herschel function.  The other archives don't download any data.
cleaned up the order of the cells (JWST had gotten separated from the MAST section)
removed intro section on 'open issues' and moved these to actual issues.  Its easier not to remember we need to edit this section every time we make changes.
updated runtime info for the notebook.  It now takes 30s longer than before, which is ~10%.  Not sure why, and I don't have the statistics to know if this is only this notebook (which hits many archives some of which could be having a slow day), or if it is the newer system.

This will close #285

I was thinking the default needs to be True to delete downloaded data because of the initial space limit on Fornax.

I was thinking the default needs to be True to delete downloaded data because of the initial space limit on Fornax.

That would mean a lot of duplicated download when the users are experimenting in the same notebook.
I would just hope some bigger temporary workspace will be available, a space that doesn't have backup or anything fancy, but is suitable for dumping content during a work session.
cc @zoghbi-a - Is that on the radar or do we have to cook up workarounds to operate in a tiny box?

@jkrick - are the any more commits to be pushed here? You said for some of the review comments that they have been done, though they have not (if that's easier, I have left them as review comments, so all of those can be committed directly without editing the file manually)

Sorry @bsipocz I thought I got them all.  Now it is telling me 'outdated suggestions cannot be applied'.  I did the changes manually to try to help learn from the suggestions, but I must have missed something.


Added some Travis caching

It doesn't really do all that much but it does speed up Travis builds slightly by enabling ccache and the brew download cache for the OS X build.
It's still slow, but less so :)

thats cool thx!


Using JFoenix Rippler effect in a MasonryPane

This may be an issue with the library, or my inability to understand how to utilize it. My goal is programmatically adding some StackPanesin a MasonryPane, and give each of those StackPanes a JFXRippler, which adds a ripple effect when clicked.
My code looks like this
Java
public class CinemaController implements Initializable {

Gson gson = new GsonBuilder().create();

@FXML
private BorderPane mainPane;

@FXML
private JFXHamburger hamburger;

private JFXMasonryPane masonPane;
@FXML
private StackPane stackPane;

private JFXDrawer drawerMenu;

public static BorderPane root;

@Override
public void initialize(URL url, ResourceBundle rb) {
    root = mainPane;

    masonPane = new JFXMasonryPane();
    masonPane.setMinSize(605, 730);
    setMasonPaneSize(150, 90);
    stackPane.getChildren().add(masonPane);

    drawerMenu = new JFXDrawer();
    stackPane.getChildren().add(drawerMenu);

    try {
        VBox box = FXMLLoader.load(getClass().getResource("SidePanelContent.fxml"));
        drawerMenu.setSidePane(box);
    } catch (IOException ex) {
        Logger.getLogger(CinemaController.class.getName()).log(Level.SEVERE, null, ex);
    }

    HamburgerBackArrowBasicTransition burgertask = new HamburgerBackArrowBasicTransition(hamburger);
    burgertask.setRate(-1);
    hamburger.addEventHandler(MouseEvent.MOUSE_PRESSED,(e)->{
        burgertask.setRate(burgertask.getRate()*-1);
        burgertask.play();

        if(drawerMenu.isShown())
        {
            drawerMenu.close();
        }else {
            drawerMenu.open();
        }
    });

    //add all movies
    for(int i=0; i<10; i++){
        createMovieStackPane(String.valueOf(i));
    }
}

public void setMasonPaneSize(double w, double h) {
    masonPane.setCellHeight(w);
    masonPane.setCellWidth(h);
}

public void createMovieStackPane(String movieTitle) {
    StackPane paneChild = new StackPane();
    paneChild.getStyleClass().add("movie-pane");
    StackPane p = new StackPane();
    p.getStyleClass().add("pane");
    Text category = new Text("Foo");
    // Title in column 3, row 1
    Text chartTitle = new Text("Current Year");

    p.getChildren().add(category);
    p.getChildren().add(chartTitle);
    p.setAlignment(category, Pos.BOTTOM_LEFT);
    p.setAlignment(chartTitle, Pos.TOP_RIGHT);

    JFXRippler rippler = new JFXRippler(p);
    rippler.setRipplerFill((Paint.valueOf("black")));
    rippler.setMaskType(JFXRippler.RipplerMask.RECT);
    rippler.setPosition(RipplerPos.FRONT);
    paneChild.getChildren().add(p);
    paneChild.setAlignment(p, Pos.CENTER);
    paneChild.getChildren().add(rippler);
    paneChild.resize(120, 80);

    masonPane.getChildren().add(paneChild);
    }
}

FXML
<BorderPane fx:id="mainPane" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.CinemaController">
   <top>
      <GridPane minHeight="90.0" minWidth="720.0" BorderPane.alignment="TOP_LEFT">
        <columnConstraints>
          <ColumnConstraints hgrow="SOMETIMES" maxWidth="233.0" minWidth="10.0" prefWidth="10.0" />
            <ColumnConstraints hgrow="SOMETIMES" maxWidth="467.0" minWidth="10.0" prefWidth="467.0" />
          <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
        </columnConstraints>
        <rowConstraints>
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
        </rowConstraints>
         <children>
            <JFXHamburger fx:id="hamburger" GridPane.rowIndex="1" GridPane.rowSpan="2" />
         </children>
      </GridPane>
   </top>
   <center>
      <StackPane fx:id="stackPane" prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
         <padding>
            <Insets top="20.0" />
         </padding></StackPane>
   </center>
</BorderPane>

The panes show up fine, and everything seems to work correctly, except the rippler does not fire when clicked, and I can't seem to assign any mouse events to the stack panes either.
Things I've already tried:

setPickOnBounds - no effect
removing the redundant StackPane - the rippler needs to be added to the parent node, and adding it to the MasonryPane reorganizes so they're not on top of each other, and still doesn't fire

Again, not sure if this is an issue with the project or my utilization.  Thank you for your time.

I've tested the code without the fxml, however wasn't able to reproduce the issue.
Make sure you are using the latest version of JFoenix.
Regards,

I succeed to reproduce this behaviour. I'm using JFoenix 8.0.3.And this is because you are adding the

Hi. I succeed to reproduce this behaviour. I'm using JFoenix 8.0.3.
When i look at your code, you are adding the rippler and the base node to your paneChild.
    JFXRippler rippler = new JFXRippler(p);
    ....
    paneChild.getChildren().add(p); // <- remove this line
    ...
    paneChild.getChildren().add(rippler);

You should only add the rippler to the pane child and not p. This is really strange because i expected an error like Duplicated children error . But JavaFx doesn't throw anything,

In addition to what DropSnorz said, I also had to change the JFXDrawer menu to being added to the main BorderPane, not the StackPane the MasonryPane is located on.  That seemed to be throwing everything off as well.
Thank you all for your help


nl80211 not found

Version
Microsoft Windows [Version 10.0.22000.282]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Kali Linux Rolling
Other Software
USB/IP for Windows
Repro Steps
I have an USB/IP setup as it is described in this git repo.
After I bind the usbip connection between the host and wsl2 instance, I see the usb device.
sudo lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I run sudo iw dev or sudo iw dev wlan0 set type monitor, I get the following line:
nl80211 not found.
That indicates that nl80211, which is a netlink interface for wireless devices is not working in the current kernel.
The kernel was recompiled and it was enabled CONFIG_NL80211_TESTMODE=y (but I also attached the entire kernel config).
Expected Behavior
nl80211 is in the kernel. Since this interface is a generic wifi interface and not a specific one, it should work as being part of the kernel.
Actual Behavior
sudo iw dev
nl80211 not found.
Diagnostic Logs
I don't upload all the kernel config file, but
grep 80211 config
CONFIG_CFG80211=m
CONFIG_NL80211_TESTMODE=y
CONFIG_CFG80211_DEVELOPER_WARNINGS=y
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
CONFIG_CFG80211_CRDA_SUPPORT=y
# CONFIG_CFG80211_WEXT is not set
CONFIG_MAC80211=m
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
# CONFIG_MAC80211_DEBUGFS is not set
CONFIG_MAC80211_MESSAGE_TRACING=y
CONFIG_MAC80211_DEBUG_MENU=y
# CONFIG_MAC80211_NOINLINE is not set
# CONFIG_MAC80211_VERBOSE_DEBUG is not set
# CONFIG_MAC80211_MLME_DEBUG is not set
# CONFIG_MAC80211_STA_DEBUG is not set
# CONFIG_MAC80211_HT_DEBUG is not set
# CONFIG_MAC80211_OCB_DEBUG is not set
# CONFIG_MAC80211_IBSS_DEBUG is not set
# CONFIG_MAC80211_PS_DEBUG is not set
# CONFIG_MAC80211_MPL_DEBUG is not set
# CONFIG_MAC80211_MPATH_DEBUG is not set
# CONFIG_MAC80211_MHWMP_DEBUG is not set
# CONFIG_MAC80211_MESH_SYNC_DEBUG is not set
# CONFIG_MAC80211_MESH_CSA_DEBUG is not set
# CONFIG_MAC80211_MESH_PS_DEBUG is not set
# CONFIG_MAC80211_TDLS_DEBUG is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0

sudo dmesg
[   62.321815] hv_pci 124ab74a-b27e-4143-9ea1-3433774e5139: PCI VMBus probing: Using version 0x10003
[   62.434445] hv_pci 124ab74a-b27e-4143-9ea1-3433774e5139: PCI host bridge to bus b27e:00
[   62.434449] pci_bus b27e:00: root bus resource [mem 0xbffe20000-0xbffe22fff window]
[   62.435511] pci b27e:00:00.0: [1af4:1049] type 00 class 0x010000
[   62.436517] pci b27e:00:00.0: reg 0x10: [mem 0xbffe20000-0xbffe20fff 64bit]
[   62.437207] pci b27e:00:00.0: reg 0x18: [mem 0xbffe21000-0xbffe21fff 64bit]
[   62.437920] pci b27e:00:00.0: reg 0x20: [mem 0xbffe22000-0xbffe22fff 64bit]
[   62.443412] pci b27e:00:00.0: BAR 0: assigned [mem 0xbffe20000-0xbffe20fff 64bit]
[   62.444124] pci b27e:00:00.0: BAR 2: assigned [mem 0xbffe21000-0xbffe21fff 64bit]
[   62.444788] pci b27e:00:00.0: BAR 4: assigned [mem 0xbffe22000-0xbffe22fff 64bit]
[  111.208947] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
[  111.208948] vhci_hcd vhci_hcd.0: devid(65675) speed(3) speed_str(high-speed)
[  111.208976] vhci_hcd vhci_hcd.0: Device attached
[  111.568613] usb 1-1: new high-speed USB device number 2 using vhci_hcd
[  111.718728] usb 1-1: SetAddress Request (2) to port 0
[  111.753102] usb 1-1: New USB device found, idVendor=0bda, idProduct=8812, bcdDevice= 0.00
[  111.753104] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  111.753105] usb 1-1: Product: 802.11n NIC
[  111.753105] usb 1-1: Manufacturer: Realtek
[  111.753106] usb 1-1: SerialNumber: 123456
[ 1272.688402] potentially unexpected fatal signal 6.
[ 1272.688414] CPU: 4 PID: 237 Comm: weston Not tainted <IP_ADDRESS>-microsoft-standard-WSL2+ #3
[ 1272.688753] RIP: 0033:0x7fa5b88bc115
[ 1272.688767] Code: c2 b8 ea 00 00 00 0f 05 48 3d 00 f0 ff ff 77 3d 41 89 c0 41 ba 08 00 00 00 31 d2 4c 89 ce bf 02 00 00 00 b8 0e 00 00 00 0f 05 <48> 8b 84 24 08 01 00 00 64 48 33 04 25 28 00 00 00 75 24 44 89 c0
[ 1272.688784] RSP: 002b:00007ffedf46ba40 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>00000e
[ 1272.688798] RAX:<PHONE_NUMBER>000000 RBX: 00007fa5b8a4a000 RCX: 00007fa5b88bc115
[ 1272.688804] RDX:<PHONE_NUMBER>000000 RSI: 00007ffedf46ba40 RDI:<PHONE_NUMBER>000002
[ 1272.688810] RBP: 00007fa5b8a0c630 R08:<PHONE_NUMBER>000000 R09: 00007ffedf46ba40
[ 1272.688816] R10:<PHONE_NUMBER>000008 R11:<PHONE_NUMBER>000246 R12: 00007fa5b7b03430
[ 1272.688822] R13:<PHONE_NUMBER>00047c R14: 00007fa5b7b03242 R15: 00007ffedf46c6a8
[ 1272.688828] FS:  00007fa5b8011900 GS:<PHONE_NUMBER>000000

Thanks, are there other families that will be needed or just this one?

Apparently only this one is missing.

Has there been any progress on this? I see a lot of similar bug reports starting from 2020 but not any real progress. Did I miss something?

Curious about this myself, still seeing this behavior

Is there any workaround for this while it's out of the kernel? I can see usb wifi adapter, but iw complains the same way, it's a pity...

Encountered this issue myself, I managed to find a work around.
Here is a gist of my notes: https://gist.github.com/fOmey/33b0e8b2b492bacd1a0839e929ecffea

Is there any workaround for this while it's out of the kernel?

Compile a custom kernel - it will likely be needed for any USB WLAN driver modules anyway.


Fix arrow style in dropdown buttons.

Arrow style respect primary/secondary properties.

the size jiggles a little on the buttons

Should be fixed now.


OpenTelemetry HTTP Error 404 sending Otel signals to Elastic using OTLP/HTTP

Jenkins and plugins versions report

Environment

Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?
Machine operating system: Linux
Jenkins version: 2.303.3.3
OpenTelemetry plugin:  1.2.1
Elastic APM Server: 7.15.1
Reproduction steps

Setup OpenTelemetry Plugin
Configure Elastic APM Server Url e.g. http://url:8200
Use OTLP/HTTP

Expected Results
The plugin sends the metrics and traces to the Elastic APM Server.
Actual Results
Feb 17, 2022 1:28:42 PM WARNING io.opentelemetry.sdk.internal.ThrottlingLogger doLog
Failed to export spans. Server responded with HTTP status code 404. Error message: Unable to parse response body, HTTP status message: Not Found
Anything else?
The plugin sends the metrics to url:8200/v1/metrics and the traces to url:8200/v1/traces but the Elastic APM Server only listens on url:8200/intake/v2/events.

Hi @tobiasrodestock
Thanks for your issue and details, I tried to reproduce the issue in a local environment with a kind of similar versions (bear with me 2.303.3.3 is not a version I can use but 2.303.3 instead ) and I was not able to reproduce the error.
What did I try?
git clone https://github.com/v1v/opentelemetry-plugin
cd opentelemetry-plugin
git checkout feature/apm-server-demo
make -C demos build
make -C demos start

Then, go to http://localhost:8080/ and click on the Hello pipeline and build.
And you will see traces in Kibana (http://localhost:5601):

Can you confirm if the above works in your end? Just to be sure we can discard if the issue is regarding the plugin itself of the backend configuration?

Hey, thank you for taking your time. It did work locally with the things you suggested.
I did manage to make it work by using the OTEL Collector and Exporter. To me, it seems as the Elastic APM Server only supports gRCP and not HTTP. The corporate proxy that is between the Jenkins machine and the machine where Elastic is running is probably responsible for gRCP not working. When I now send the metrics via HTTP to the OTEL Collector that is running on the same machine as the APM Server and then export them with the OTEL Exporter via gRCP it is working just fine.

To me, it seems as the Elastic APM Server only supports gRCP and not HTTP.

Good catch @tobiasrodestock . We are improving our documentation https://github.com/elastic/apm-server/pull/7505

Fixed with https://www.elastic.co/guide/en/apm/guide/current/open-telemetry.html#open-telemetry-otlp-limitations

Hello @tobiasrodestock  , we run a survey to better understand Jenkins Observability needs and more broadly CI/CD Observability needs, could you by any chance answer it?
https://docs.google.com/forms/d/e/1FAIpQLSezbndR1bpPj4YeWquLLWEYOkEjEI-lSyNbtDUVrR-udpt2lA/viewform?usp=sf_link

For the record, https://github.com/jenkinsci/opentelemetry-plugin#using-the-opentelemetry-otlphttp-rather-than-otlpgrpc-protocol solved the issue in our case.


android scrollbar fidelity

reproducible https://github.com/nt4f04unds-archive/issues/tree/flutter_75806
i will discuss three versions of scrollbar on android

flutter per 1.24 https://github.com/flutter/flutter/commit/183f0e797a3bf8aa1b35b650150f7522d5d10377 (see doctor below)
flutter per master 1.26 https://github.com/flutter/flutter/commit/16af4aa7ebf549f893ebed12106c45adb9440fbd
native

flutter doctor -v (1.24)
[√] Flutter (Channel nt4f04und_texture, 1.24.0-8.0.pre.377, on Microsoft Windows [Version
    10.0.19041.746], locale ru-RU)
    • Flutter version 1.24.0-8.0.pre.377 at c:\dev\src\flutter
    • Framework revision f9e981a348 (22 hours ago), 2021-02-10 01:23:02 +0300
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\danya\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.53.1)
    • VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[√] Connected device (2 available)
    • Redmi Note 5 (mobile)   • 40c9f14       • android-arm64 • Android 9 (API 28)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86   • Android 11 (API 30) (emulator)

• No issues found!

here are videos for each of them
https://user-images.githubusercontent.com/39104740/107566108-7e984500-6bf5-11eb-901f-ad93e474cc34.mp4
https://user-images.githubusercontent.com/39104740/107566117-835cf900-6bf5-11eb-8d5b-18317e087ada.mp4
https://user-images.githubusercontent.com/39104740/107567523-d5eae500-6bf6-11eb-9f09-c98726b4dd39.mp4
1.24
differences:

scrollbar has different color (comparing on same #ffffff)

1.24 #bfbfbf
native #b4b4b4

screenshots accordingly

scrollbar consumes drag events and doesn't allow to scroll the scrollable beneath it
width - it was fixed in master so not paying attention to this

1.26
this version changes the scrollbar in a really weird way and introduced even more differences:

instead of making scrollbar click-through, added drag support that was enabled by default (and cannot be disabled)

this should not be like that. by default it should match native - not draggable, and should be enabled via draggable parameter or something like that. not to say that such behavior by default is not expected neither by developer, nor by user

default color changed and the scrollbar now bearly noticable and differs even more from the native one

a few more notes:

small: i feel like the fade curves and durations are slightly different as well
i doubt draggable scrollbar should be with this implementation on android at all. with large and complex lists it can drop fps really hardly. it was ok for ios because it represents the native behavior and apple devices are in gerenal more performant, so these peformance pressures wasn't felt like a lot, which is yet again not the case for the most of android devices. this is related to https://github.com/flutter/flutter/issues/52207

what what what and what (and why (and how))
/cc @Piinks

CC @Piinks

Hi @nt4f04uNd thanks for the accounting over different versions of flutter, I am going to be focusing on the current behavior on master. The other versions of scrollbar you mentioned are not actionable, as they do not reflect the latest version.
I can confirm the recent refactoring of scrollbars did not change the fade curves and durations.
I appreciate your concern for adhering to native behavior. We can certainly expose whether or not the scrollbar should be draggable, there are draggable scrollbars on Android in some native applications, so I believe it should still be available on Android. I'll see about adding the ability to turn dragging off.
I don't see how https://github.com/flutter/flutter/issues/52207 is related specifically to the Scrollbar. The Scrollbar certainly exposes the fact that a really high scrolling velocity will impact UI rendering, but the root cause of this is not the Scrollbar. There is a similar issue where I discussed this further in https://github.com/flutter/flutter/issues/75399#issuecomment-780133956
If there is a separate performance issue related to scrollbar, please update here. :)

what what what and what (and why (and how))

Please see https://github.com/flutter/flutter/issues/70866 and #74907 for reference.

I'll see about adding the ability to turn dragging off.

what about making it turned off by default?

I don't see how #52207 is related specifically to the Scrollbar.

https://github.com/flutter/flutter/issues/52207 has the same cause as https://github.com/flutter/flutter/issues/75399 which you discussed in https://github.com/flutter/flutter/issues/75399#issuecomment-780133956. this can be proven by fact that scrollbar internally uses jumpTo
and you still didn't cover these two

scrollbar consumes drag events and doesn't allow to scroll the scrollable beneath it
2. default color changed and the scrollbar now bearly noticable and differs even more from the native one

I'll see about adding the ability to turn dragging off.

what about making it turned off by default?

I think that would cause confusion for users to add more complexity to default behaviors on varying platforms, but we can take a look when I have a patch available.

and you still didn't cover these two

I considered these trivial and not in need of further discussion. Changing a color is an easy fix, and if there are no gestures enabled then the consumption of drag events is a non-issue.
This is actively being worked on. I appreciate your patience.


stern seems to be incompatible with GCP Kubernetes auth

What happened:
Now that Google has changed authentication, I'm no longer able to use stern with Gcloud.
Error: The gcp auth plugin has been removed. Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin instead. See https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke for further details
What you expected to happen:
The authentication is set up fine on my computer, so kubectl works as expected. I would assume that stern would just pick up all needed config from kubectl and work as expected.
How to reproduce it (as minimally and precisely as possible):
Try to use stern with kubectl that is set up to access gcloud.
Anything else we need to know?:
I'm not clear on what I would need to do to get this working. Possibly it requires a new import of the gke-gcloud-auth-plugin in stern.
Environment:

stern version (use stern --version): version: 1.25.0
OS (e.g: cat /etc/os-release):
❯ sw_vers ProductName:		macOS ProductVersion:		13.3.1 ProductVersionExtra:	(a) BuildVersion:		22E772610a
Install tools (e.g: Homebrew): homebrew
Others:
I have the plugin installed.

❯ gcloud components install gke-gcloud-auth-plugin
All components are up to date.
❯ gcloud components update
Beginning update. This process may take several minutes.
All components are up to date.

Hi,
Stern should work with GKE clusters because GKE uses the client-go credential plugins mechanism. I have tested stern v1.25.0 with gke-gcloud-auth-plugin 0.5.3 on my GKE cluster, and it worked successfully.
Could you please try running gcloud container clusters get-credential to see if it fixes the issue? Your kubeconfig might not have been updated after installing the plugin.
gcloud container clusters get-credentials <CLUSTER> --region <REGION> --project <PROJECT>

I checked ~/.kube/config and the settings seemed to be correct.
I ran gcloud container clusters get-credentials <CLUSTER>. It seems to have done a refresh.
❯ gcloud container clusters get-credentials apod-api
Fetching cluster endpoint and auth data.
kubeconfig entry generated for apod-api.

Now stern is working.

I'm glad the issue has been resolved :tada:
I believe that your old kubeconfig was likely using the deprecated gcp auth-provider as follows. The gcp auth-provider was removed in client-go 1.26.
- name: gke_api-project-xxxx
  user:
    auth-provider:
      name: gcp # removed in client-go 1.26

I think your new kubeconfig now correctly uses the new plugin mechanism exec.
- name: gke_api-project-xxxx
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args: null
      command: gke-gcloud-auth-plugin
      # ...


Profile: Update educator contacts to respect PerDistrict setting for counselor field

Who is this PR for?
Bedford educators
What problem does this PR fix?
Bedford exports this value, but the data is only administrative and not meaningful
What does this PR do?
Updates the profile to respect the PerDistrict.js setting for this, and updates the server method with a note about this.

selfie


Publish Scala 2.13.0 for 1.14.0

I verified that the following works locally from sbt:
> ++2.13.0
> jvm/package
> js/package

That will publish Scala 2.13 and Scalajs 0.6.x for 2.13.
Publishing Scalajs for 1.0.0-M8 for 2.12 and 2.13, also works.  First, start sbt with:
$ env SCALAJS_VERSION=1.0.0-M8 sbt

Then:
> ++2.12.6
> js/package
> ++2.13.0
> js/package

May require #475 for publish to work, though.

I have now published 2.13 builds of ScalaCheck 1.14.0.
Thanks @ashawley


[Feature] Undo button for timeline

I think this is way too complicated to find anyone willing to implement this. But I still note it down as an idea

A cool and simple alternative would be to keep all applied configs in a list and allow the user to revert to previously applied configs


tweaking .gitignore file slightly for venv and IDE files

to: @chunyong-lin
cc: @airbnb/streamalert-maintainers
Background
A venv directory should only be ignored if it's at the root of the repo.
Changes

Updating .gitignore to only ignore venv at root of repo.
Removing IDE/environment-specific ignored items.

These should be added to your global .gitignore, not the local one

Coverage remained the same at 96.616% when pulling f9444d142c080d7aa43d8e04d77c2aa108e86fb4 on ryandeiver-tweak-gitignore into bf6244b510d71222946a994a0aca590203730029 on master.

Smart.


⚠ Turnos 24x7 has degraded performance

In 54f693c, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1222 ms

Resolved: Turnos 24x7 performance has improved in 9108c82.


PgSQL: fix boolean definitions for Postgresql 11

Reference Issue
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=6337865f36da34e9c89aaa292f976bde6df0b065
What does this implement/fix? Explain your changes.
Upper-cased spelling for boolean definitions has been removed in Postgresql 11 in favour of using just lower-cased spelling. As mentioned in the postgresql commit, existing code can be changed to
the lower-cased spelling in a backward compatible way.

Thanks @pkubatrh


Add call

Add a __call__ method to Layer and Sequential. We can do the following:
X = K.placeholder(ndim=2)
Y = model(X)

One interesting application is where a model is used as an upper layer of another model. In that case, we don't have access to its get_input:
encoder = Sequential()
decoder = Sequential()

model.add(encoder)
model.add(decoder)

X = K.placeholder(ndim=2)
Y = decoder(X)

This code temporally change the value of a specific element of the graph by X and call get_output. Regardless of the fact that the specific element is a previous or input. For example, the following code would crash:
X = decoder.get_input()  # this is not a placeholder Tensor, it is a graph
Y = decoder.get_output()
F = function([X], Y)

I also updated some docs. Let me know what you think.

wait, I think my editor removed trailing white spaces that that are actually useful for markdown. Can you confirm that @fchollet ? Did I broke the docs?

Thanks @olegsinyavskiy is this why I'm crashing under Python 3?

@EderSantana , I think you have outdated code that somehow doesn't work well with recent changes.
For example, the line you crash in "if isinstance(floatx, unicode):" is not present on master anymore (https://github.com/fchollet/keras/blob/master/keras/backend/common.py)

@olegsinyavskiy I see, I submitted that part too. It seems that it was changed a few minutes ago :D Let me rebase

@EderSantana , it might have been my first pull request, so I might be blamed for that:) For example, I changed the way yaml config is updated with 'sed'. Sorry! I'm going to track few pulls to see if my changes break other people code..

wait, I think my editor removed trailing white spaces that that are actually useful for markdown. Can you confirm that @fchollet ? Did I break the docs?

No. But whitespace changes in an unrelated PR should be avoided.

@olegsinyavskiy Could you help me to see what is going on with Python 3 tests?

If anyone wants to see __call__ in practice, please check one of the last cells of this notebook: https://github.com/EderSantana/seya/blob/master/examples/Convolutional Variational AE.ipynb

@EderSantana , sure! I think master was in a broken state and https://github.com/fchollet/keras/commit/f295ecb302ea3298ab61dda892f323c7c7807d02 just fixed the master recently. So you better rebase again)

@olegsinyavskiy what do you think of test_call.py??? let me know whenever you have time
@fchollet I added some tests, I've also been experimenting with this branch a lot and it seems to be working well. Is do you have any requests?

I think the API it introduces is potentially valuable. I see three issues.

management of training/testing modes
it may be confusing / complex to have different APIs to do similar things. We should have one good way to do each thing.
I am not a fan of the implementation, it seems to introduce quite a few hacks.

To follow up on training modes comment of @fchollet:
Layers might have states. States might be updated during call (even if its not training mode), for that reason you have to put 'updates' argument into theano.function. This suggests that you probably need to return (Y, updates) tuple from the 'call' in the general case. I'm not sure how 'updates' concept is handled in tensorflow..
Example that comes to mind is RBM that might be implemented with theano.scan that is going to return non-trivial 'updates'.
The good thing about keras in my opinion, is the hiding away symbolic manipulations from the user. This is the sharp contrast to 'blocks + fuel' framework that is a thin wrapper on top of the theano function. This leads to the really verbose (and IMHO ugly) 'blocks' api.
@EderSantana , looking at you ipynb, it seems that you might just use predict_classes, predict_probab without compiling the network yourself. Am I correct?

@EderSantana shouldn't __call__ take train argument?
FWIW when I needed something like this, I used lambda functions to avoid the need of creating the Pass class.
def apply(self, X, train=True):
        get_input = self.get_input
        self.get_input = lambda _: X
        output = self.get_output(train)
        self.get_input = get_input
        return output

@elanmart I was actually thinking about giving __call__ a train argument. I'll do it. I'll also get how that works without Pass. Thanks for the feedback
About the tests, I made a mistake compiling the function using Theano function. I'll fix that too

@elanmart that was a killer suggestion man. Code and logic is much shorter now!!! Appreciate it!

Cool! Glad I could help.

@fchollet I added tests and the __call__ is much simpler and intuitive now. Also, it is working on both backends.

Ok, looks good to me!

This appears to have broken the build :( https://travis-ci.org/fchollet/keras/jobs/95116744

It appears inconsequential. You may want to change the threshold of the assert allclose.

@fchollet Oh no I verified that on my local... Its problem with floatx I'm sure. The previous one was working ok. I believe we are having problems setting _FLOATX with a global. Also, it is hard corded at backend to float32. In travis we should assume float64.
Lets open a new issue to discuss that.

Also, it is hard corded at backend to float32. In travis we should assume float64.

I'd rather have Travis use float32. In theory we should test with both, though, as there are issues to be caught by switching from one to the other.
It's fine to have a higher threshold for assert allclose, I do that in many places.

Oh, I didn't know that happened. The test pass ok under float64. Let me increase the tol and make a new PR.


More post info to display

I want to few information relating my job post, is that possible here ?

The Job ID #  - would come from Bullhorn
Job Title -- Is already coming over
Employment Type would be Direct Hire, Contract or Contract to Hire
Location of the job

Just like
http://cls6.bullhornstaffing.com/JobBoard/Standard/BHContent_JobDetail.cfm?privateLabelID=8840&jobPostingID=518

How can i get email notification when someone applies for the job ?

Hello nnadeemm,
For the job ID, there are details on how to display the job ID within issue #83.  Here, there was great communication included about viewing the job ID on each job card.
For the Employment type, the career portal displays this information already on each card as well on the right-hand side in the list view.  On the detail page, it can be found on the apply card above the apply button.
Location is displayed as well in the center of the job card.  On the detail page, this can be found below the title and category, right next to the employment type.
Bullhorn is also capable delivering email notifications for new applicants.  If you need assistance with utilizing this, I suggest reaching out to the Bullhorn Support team following the steps in this article.
Please let me know if you have any more questions!


Add typescript support

Add typescript config setup + convert some files over to typescript.
Tried sanity checking via running existing tests but they seem to be already broken, will post a build/dist comparison below.

Want to fix the tests before we merge this.


Twitter text not customizable

All the texts for sharing are currently hardcoded in the app. They are neither localized nor customizable. If they were customizable in the settings, the localization wouldn't be an issue at all. This is at least an issue for these different actions:

twittering cache
twittering trackable
sharing cache

Changed label from "bug" to "feature request".


[windows] recover terminal theme after quiting flow

We already reset the terminal theme on exit. Unfortunately the reset command is just ignored on windows.
The only solution I can see is to add an option that disables setting the terminal theme altogether. Either CLI or config.

It looks like the theme reset is broken everywhere. maybe it's not just a windows issue. I'll look into it.

The problem still exists...(at least on Windows)
❯ git log -1
commit b831d99d1cb7c32489255be3872dce3503f1831c (HEAD -> master, origin/master, origin/HEAD)
Author: CJ van den Berg<EMAIL_ADDRESS>Date:   Tue Aug 20 22:30:21 2024 +0200

    fix: remove set_terminal_style testing code

    closes #26

I will test on windows today. Which terminal are you using?

Mainly windows terminal, but alacritty and wezterm have same issue.


fix format of English inflection task.

This adds the appropriate flags to the task which were previously set as object attributes

Thank you very much @sebastianGehrmann for fixing this.


Wrap colormap in vispy object

see: https://github.com/ome/ome-zarr-py/pull/91/commits/d79c39361b882a35d88a6d36e9587f0266a25213
Optionally wraps colormaps to support versions of ome-zarr-py before PR 91 as well as after.
cc: @will-moore

Codecov Report

Merging #10 (5072307) into main (d7325e8) will decrease coverage by 9.29%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
- Coverage   89.14%   79.85%   -9.30%
==========================================
  Files           3        3
  Lines         129      134       +5
==========================================
- Hits          115      107       -8
- Misses         14       27      +13

Impacted Files
Coverage Δ

napari_ome_zarr/_reader.py
73.68% <20.00%> (-5.17%)
:arrow_down:

napari_ome_zarr/_tests/test_reader.py
86.11% <0.00%> (-12.50%)
:arrow_down:

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 d7325e8...5072307. Read the comment docs.

Code looks good - makes sense with https://github.com/ome/ome-zarr-py/commit/d79c39361b882a35d88a6d36e9587f0266a25213. 👍

Thanks, guys. Do we want to try to get the paired PRs released before @constantinpape moves forward with v0.3? Are there any worries about cutting releases of those in terms of forwards/backwards compatibility?

Thanks, guys. Do we want to try to get the paired PRs released before @constantinpape moves forward with v0.3? Are there any worries about cutting releases of those in terms of forwards/backwards compatibility?

Sounds good! If we don't include https://github.com/ome/ome-zarr-py/pull/89 in the release yet I don't foresee compatibility issues.


Increase MTU for udp packets.

A large message greater than 500 bytes gets split up into multiple packets. When the agent parses the second packet, the byte alignment is wrong. This was causing garbage data to be read from the second packet.
Increasing the MTU to contain all data in a single packet resolved the issue for now. Need to aware of this limitation going forward.

I believe we should make this change in our copy of client-meta.colcon in our special Micro-ROS setup repository.
We should not change the value in the base CMakeLists.txt here.

Additionally, I would probably suggest we open an issue upstream (on the source repository). Personally I would have expected the XRCE-DDS Client to take care of framing (but perhaps I'm misinterpreting the use of this value).

I believe we should make this change in our copy of client-meta.colcon

This particular setting is in a set command, and not an option. So, I was under the impression that the meta file would cut it. Correct me if I'm wrong.

Additionally, I would probably suggest we open an issue upstream (on the source repository). Personally I would have expected the XRCE-DDS Client to take care of framing (but perhaps I'm misinterpreting the use of this value).

The creators are aware of this. There are a few instances of people asking about sending large packets. Their advice was to increase this value.

My confusion comes from the fact we have UCLIENT_PROFILE_STREAM_FRAMING set to ON. Admittedly I haven't checked what that really does, but the name implies this would make the XRCE-DDS Client use framing, which should take care of what you describe.

I looked through some of the source. This value is used at compile time to set the size of a buffer array. This data is not allocated dynamically.

I believe we should make this change in our copy of client-meta.colcon

This particular setting is in a set command, and not an option. So, I was under the impression that the meta file would not work. Correct me if I'm wrong.

that would be something to check.
If it doesn't immediately work, UCLIENT_UDP_TRANSPORT_MTU should be made into an option, so we can set it.
Changing the default value in a fork of an upstream package should be our last resort.

Additionally, I would probably suggest we open an issue upstream (on the source repository). Personally I would have expected the XRCE-DDS Client to take care of framing (but perhaps I'm misinterpreting the use of this value).

The creators are aware of this. There are a few instances of people asking about sending large packets. Their advice was to increase this value.

Could you please link to those issues?
Please also do that as part of either your commit message, or the PR description. That could have avoided this discussion.

My confusion comes from the fact we have UCLIENT_PROFILE_STREAM_FRAMING set to ON. Admittedly I haven't checked what that really does, but the name implies this would make the XRCE-DDS Client use framing, which should take care of what you describe.

I looked through some of the source. This value is used at compile time to set the size of a buffer array. This data is not allocated dynamically.

I'm not sure I follow.
Framing == splitting messages too large to fit in one MTU into several segments, and then transmitting each segment in its own packet. The receiving side then reassembles the segments.
The max MTU setting would affect the maximum size of a segment, but it should not affect framing.
If you could add the links to the issues you found, I'll read the comments there and see whether my assumptions are wrong.
I'd really rather avoid changing default MTU size, as it doesn't really scale: the next message that is "too big" could require us to again bump this value.

Would https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/89 be one of those issues?

Would eProsima#89 be one of those issues?

Yes. There was another that I'm not finding now.

I looked through some of the source. This value is used at compile time to set the size of a buffer array. This data is not allocated dynamically.

I'm not sure I follow.

The buffer size that I was referring to is here and here.

Framing == splitting messages too large to fit in one MTU into several segments, and then transmitting each segment in its own packet. The receiving side then reassembles the segments. The max MTU setting would affect the maximum size of a segment, but it should not affect framing.

I generally agree with this statement. However, I suspect there is some other bug in the Micro XRCE Agent code.
Using ros2 topic echo, I looked at the "garbage" data that was being published at the end of my message. I verified with Wireshark that my message was being transmitted with the correct values over two packets. I then came to realize that the garbage data was the correct data; but it was just misaligned. It was like the struct was offset by four bytes. So, I started to look into the serialization/deserialization routines and try to figure out how they were aligning things... but I stumbled upon other issues of people sending large messages. They suggested increasing UCLIENT_UDP_TRANSPORT_MTU. That fixed my immediate problem, so I took it as an easy fix and gave up trying to understand the serialization routine.

If it doesn't immediately work, UCLIENT_UDP_TRANSPORT_MTU should be made into an option, so we can set it. Changing the default value in a fork of an upstream package should be our last resort.

Now I'm finding other references of people setting this value in a meta file. I'll try this and see if it works.

I suspect there is some other bug in the Micro XRCE Agent code.

Ok. We should really report this.
In general, eProsima has been rather responsive, especially when reporting problems like this.
This sounds like an off-by-one or off-by-X, which should be "easy" to localise, given the analysis you've already performed.

If it doesn't immediately work, UCLIENT_UDP_TRANSPORT_MTU should be made into an option, so we can set it. Changing the default value in a fork of an upstream package should be our last resort.

Now I'm finding other references of people setting this value in a meta file. I'll try this and see if it works.

Great.
You could just add it to our client-colcon.meta. There's already a section for microxrcedds_client.

Reported: https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/286

Moved this change to colcon.meta file. https://github.com/gavanderhoorn/motoplus_uros_setup/pull/7


Enhance selector syntax.

[x] Change filter syntax from : to |
[x] Support for pseudo-class like :root, :first-child
[x] Support multiple selectors at root level.
[x] Support for filter arguments, e.x. $foo|split(',')|slice(0, 10).
[x] Support for JavaScript comment syntax within selecotr.
[x] Add support for empty selector whose result is always null.
[x] Add support for value assignment, e.x., $a = 'abc'.
[x] Add support for JavaScript literals, which includes null, boolean, numeric, string and RegExp.
[x] Add support for using JS literals as filter arguments or as the right part of assignments.
[x] Allow ; to be selector seprator.
[x] Refactor content capture syntax.
[x] Change children selector brackets from () to {}.
[x] Use css.pegjs to enhance grammar.

[x] Add support for universal element selector *.
[x] Add support for css combinator syntax which includes > , + and ~.
[x] Add support for all attribute operators which includes =, ~=, |=, *=, ^=, $=.
[x] Add tests

[x] Add support for multiple attribute qualifiers in one pair of brackets..
[x] Add support for customized content function.

How would you capture the URL to the background image from the below? (without the ?w=720 if possible!)

You can use div[style=$|match(/https:.*\.jpg/)|first]; to capture the required string. Use String#match and regular expression to capture the image url.


implemented parameter "override" for PeriodicTask

This PR replace #35 to allow multiple classes and overwriting inheritance
Usage:

class A(List):
	@tasks.PeriodicTask(60)
	def run(self):
		pass

class B(A):
	@tasks.PeriodicTask(60, override=A.run)
	def run(self):
		pass

I've reworked the task-module a bit and added support for removing already queued tasks. See https://github.com/viur-framework/viur-core/pull/60

This one has been superseeded.


Update s4HANA-linux.md

Testing my ability to do change/pull request. Removed Solution Deployment section.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/sap/s4HANA-linux.md
:white_check_mark:Succeeded
View

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/sap/s4HANA-linux.md
:white_check_mark:Succeeded
View

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.

Doc was published from another PR


Add index.js for easier usage within Node.

This allows you to require("d3") with no additional dependencies, and without
polluting the global namespace. Fixes #475.

Hurrah! Thanks. :)


More than one multiselect dropdown in a page

Hi,
I have more than one multiselect dropdowns in my page. How do I write title for each dropdown, I don't want the default title "Select", but instead the titles I write.
One method could be that I will write "Settings", "Texts" and "Options" for each of the dropdowns and also write "defaultTitle" for each of them. That would be very tedious.
How can I write "Settings", "Texts" only one time and write "defaultTitle" for each of them separately along with "Options"?.

This problem can be solved in so many ways. The best solution would depend a lot on how many lists you need and if you are reusing the same list multiple places in your application.
I can give you an example from one of my application which are reusing the same lists in many components. Here I've chosen to put each multiselect list in it's own angular component and created a separate helper class to get "Settings", "Texts" and such. The advantage of this solution is that it's easy to reuse the same list in multiple components and it also keeps your view components clean of unnecessary code.
The skeleton of each list component looks like this:
@Component({
selector: 'app-multiselect-somelist',
template:   <ss-multiselect-dropdown [options]="ms_options" [texts]="ms_texts" [settings]="ms_settings" [(ngModel)]="ms_model" (ngModelChange)="onChange($event)"></ss-multiselect-dropdown>  ,
})
export class SomeListMultiselectComponent implements AfterViewInit {
public ms_options: IMultiSelectOption[] = [];
public ms_model: string[] = [];
public ms_settings: IMultiSelectSettings = MultiselectConfig.getConfig();
public ms_texts: IMultiSelectTexts = MultiselectConfig.getText();
}

If you want different settings for each dropdown, you'll need separate settings objects.
The simplest way you could do this is to make a "base" texts object with your shared settings, and then use that base to create a texts object with your desired title for each dropdown.

const baseTexts: IMultiSelectTexts = {
    // Your shared settings here
}

this.dropdownTexts1 = Object.assign({}, baseTexts, { defaultTitle: "Dropdown 1" });
this.dropdownTexts2 = Object.assign({}, baseTexts, { defaultTitle: "Dropdown 2" });
this.dropdownTexts3 = Object.assign({}, baseTexts, { defaultTitle: "Dropdown 3" });


Add Dependabot configuration for GitHub Actions updates

Add a Dependabot configuration that checks once a week if the GitHub Actions are still using the latest version. If not, it opens a PR to update them.
It will actually open very few PRs, since we only have major versions specified (like v3), so only on a major v4 release it will update and open a PR.
See Keeping your actions up to date with Dependabot.

@JoelForamitti Could you review this PR?

Hi @EwoutH, thanks for your great contributions! I will review them latest next week


Recovering logging capabilities

Description
Adding the import line from perses.multisate module recovers the logging. I don't really understand why is this the case, but I could trace it back to this change, even if the imported classes are not directly used in the code.
This isn't really a fix, just a quick solution/workaround I could come up with, to the annoying inconvenience of not having logs, especially annoying for debugging purposes.
Motivation and context

Resolves #1018
How has this been tested?
Tested locally with both perses-relative and perses-cli entry points.
Change log

Recovering logging capabilities by adding `perses.multistate` import to the root entry point.

Looks like that that hack didn't re-introduce the performance regression we saw, so it looks like the cache cleanup worked.


Error on execute

Thank you for colaborate.
When I execute appear:
Notice: Undefined index: rotas in /backup/www/rotas/router.php on line 32
Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /backup/www/rotas/router.php on line 34

Could you show me some code?

Thank you.
When I call index.php appear:

Error in line 32 of router.php

I meant the code you wrote to register your routes.

I use only your code:
<?php
require_once "router.php";
route('/', function () {
    return "Hello World";
});
route('/about', function () {
    return "Hello form the about route";
});
$action = $_SERVER['REQUEST_URI'];
dispatch($action);


The ID field should be first

{
    "name": "adam",
    "age": 20,
    "_id": 4
}

I don't think _id should be first.
Also, having _id at the end improves performance slightly when parsing JSON.
However, we may make it optional and can be modified from the settings file.

done


tests: make core independent of psyneulink

Most tests came from psyneulink and used psyneulink objects despite testing only scheduler functionality.
Replace these with generic/non-psyneulink alternatives so that testing core graph-scheduler functionality does not depend on psyneulink.
Split CI into CI Core and CI Integration to continue monitoring compatibility with psyneulink.

coverage: 91.468% (-0.7%) from 92.15%
when pulling 06e7386d0c53f2a16adaa2b22486b0ce78666aea on tests-sequestrate-pnl
into fa014095f4bef21fa8e46a33c86763ce71b6921f on main.


Query: set keepalive for store grpc client

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Added keepalive to grpc dial options for store clients.
Verification

If Recv fails, I don't think this would change much since we already have slow store detection.


update doc readmes

Signed-off-by: kcoriordan<EMAIL_ADDRESS>What this PR does / why we need it
Update doc readmes with steps to preview docs in edge
Which issue(s) this PR fixes

Fixes: #
Describe testing done for PR

Special notes for your reviewer

This resolved: https://github.com/vmware-tanzu/community-edition/issues/3906


python3Packages.eigenpy: 2.9.1 -> 2.9.2

Description of changes
https://github.com/stack-of-tasks/eigenpy/compare/v2.9.1...v2.9.2
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build python3Packages.eigenpy


Ad block warning script

Sir
Could you please consider about an ad block warning script for Cromite?
Easy list anti adblock warning list don't work, Fuckfuck anti adblock warning list work, but create problems with other news streaming site.
I've seen that I don't care about cookies list didn't worked in Cromite, but your script is working well and blocking cookie notices.
So I'm hoping if you kindly look after adblock warning script.
Regards

Hmm, I don't really know how one would go about creating such a script, and I don't really have enough time to actually work on something like that. However, if you find something that works or someone wants to create it, we could link it in the README


Improve Disease slim

from https://github.com/pombase/website/issues/1108
We need to add new grouping terms and subsets.
To be listed here:
@Antonialock

@Antonialock  says
malacards have an anatomical slim + 'global categories'
https://www.malacards.org/categories
Take their anatomical slim.
Have two (or more "global" categories:
Rare diseases
subset: predisposition (Id like to see what we have in this category)
And add second slim more 'process focused':
Mitochondrial disorders
Lysosomal storage disorders
Cancer
Metabolic disorders
Infectious diseases (weird, but I took out malaria from pombe, aven though it looked ok when I looked it up...I got unsure)

change
familial amyloid neuropathy to
proteostasis deficiencies (MONDO:0021179)

(I'm surprised that we only have a single annotation here MONDO:0021179
but that is likely a MOND  classification issue will look into that separately)

add
diabetes mellitus (disease) MONDO:0005015
(in DO this was a glucose metabolism disease, but not in MONDO)


Flutter http post not working on web, but works on android, postman

Hello, i am calling post request with http package and i get this stupid error :D
Error: XMLHttpRequest error.     C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 906:28                get current packages/http/src/browser_client.dart 71:22                                                                                <fn> C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1687:54                                              runUnary C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 160:18                                        handleValue C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 767:44                                        handleValueCallback C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 796:13                                        _propagateToListeners C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 593:7                                         [_complete] C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/stream_pipe.dart 61:11                                         _cancelAndValue C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/stream.dart 1232:7                                             <fn> C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14  _checkAndCall C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39  dcall C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/html/dart2js/html_dart2js.dart 37331:58                              <fn> at Object.createErrorWithStack (http://localhost:50842/dart_sdk.js:5100:12)     at Object._rethrow (http://localhost:50842/dart_sdk.js:38937:16)     at async._AsyncCallbackEntry.new.callback (http://localhost:50842/dart_sdk.js:38933:13)     at Object._microtaskLoop (http://localhost:50842/dart_sdk.js:38790:13)     at _startMicrotaskLoop (http://localhost:50842/dart_sdk.js:38796:13)     at http://localhost:50842/dart_sdk.js:34531:9

backend is in .NET hosted on azure

Sounds like CORS issue?

Hi @bujdy, Thanks for filing the issue this is basically a CORS issue
Taken from the flutter docs

CORS is a mechanism that browsers use to control how one site accesses the resources of another site. It is designed such that, by default, one web-site is not allowed to make HTTP requests to another site using XHR or fetch. This prevents scripts on another site from acting on behalf of the user and from gaining access to another site’s resources without permission.

Please check this stackoverflow thread if this helps resolve the issue:
This issue does not describe a bug or feature request in the Flutter framework, Please try asking such questions on community forums like stackoverflow or Reddit in the future, Closing this issue as invalid if you disagree feel free to comment and I will reopen it.
Thank you.


wfm-form blocks md-autocomplete

As the title states, in chrome .wfm-form makes any child md-autocomplete directive un-usable.
the input wont respond to click events and the placeholders disappear

this was because of a padding added to all inputs in a wfm-form, this has been overwritten for autocompletes in https://github.com/Teleopti/styleguide/pull/123

+1 well done @TheRockman


chore(travis-CI): add node v8 to CI and remove v4

Summary
Add node v8 to CI and remove v4
Description
Add of node v8 to CI and remove v4 in sphere-stock-import
Part of this issue

Coverage remained the same at 94.499% when pulling 1411f7d24546275326df9319153b0ce80323fc15 on Add-node-v8-to-CI into fe85ddf510e5610d42d8e75f16b91cfcbb46e1b5 on master.


wrap fs.writeFileSync

OK.

Can you add some unit tests?

Added a couple of tests, not verifying all cases since we just call into fs.writeFileSync()


Add tests

Changed fail phrase to "should work as expected"
Added tests for removing handlers and Observers

Rejecting because it's out of date. I've changes to make here and then we will look at resubmitting.