Special case scratch base image

If a container image has a image.base.ref.name of scratch then determine that there is no base image, rather than trying to pull "scratch".
In v1.1.9 component-detection tries to pull the "scratch@" image, which fails causing the following log to be displayed:
 [INFO] Base image scratch@ could not be found locally and could not be pulled. Results will not be mapped to base image layers

In v1.2.4 component-detection still tries to pull the "scratch@" image but this time the TryPullImageAsync call at https://github.com/microsoft/component-detection/blob/0319816fabb129ec043a270bc0fb1d9763986101/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs#L225 must be succeeding, as component-detection doesn't omit that log, but subsequently hits an error like
[WARN] Scanning of image sha256:26f452efc71ea50bb61043de65c4fbbfcda3677ca6f013690898bfd286f22081 failed with exception: Object reference not set to an instance of an object.

Looking at the changes between those releases, possibly the bump of Docker.Dotnet from 3.125.4 to 3.124.5 caused this change of behaviour. I can't verify that easily though as I'm hitting https://github.com/dotnet/Docker.DotNet/issues/554, hence the bump to Docker.Dotnet to 3.125.10
Anyway, it seems sensible to special case scratch in this case.

@tofay - Thanks for the contribution! Would you mind adding a test for this change to prevent regressions?

Added a UT for this.


Identify Enhancements

Pulled together some visual and UX enhancements for the Identify tool...
Modal
Overall Design Stuff

[ ] Widened right column by 10px, thus widening it's containing elements. It is now 311 wide plus a 1px left border for a total of 312px wide
[ ] Right col bg is changed to  #EFEFEF; Right Col left border is #DDD
[ ] Gave map a 1px solid border of #DDD and rounded corners of 2px
[ ] Location: Added FontAwesome map marker icon which is #AAA; Left-aligned label and limited it to one line. Added "More..." for longer locations which would function like the description More button
[ ] Thumbnail image in ID needs to link to corresponding taxon page (It currently doesn't)
[ ] Left column (photo bg) is now #E6E6E6
[ ] Ob photo should have a top and bottom margin of 16px; The top of it should also line up with the top of the map.
[x] Made bg of ob photo thumbnails #E6E6E6 at 65%. For visual reference...

[ ] Ob photo thumbnails are now 24px by 24px and the bg has a height of 36px.
[ ] Modal heading common name font size is 110% right now. Can we make it 130% to look like this...

Modal Activity boxes
See screenshot below of current vs. proposal. Proposed version is on the bottom...

[ ] Fixed alignment of elements
[ ] Border is #DDDDDD
[ ] Gave box 2px corner radius
[x] Added checkmark to Agree button for consistency. (The mock has more rounded corners for the button, be we can leave what we currently have for corner radius)

Modal Nice-To-Haves

Modal size would adjust depend on size of browser window
Modal would be vertically middle-aligned with browser window
When there multiple photos for an ob, it's thumbnails would increase in size upon rollover. See Flickr for example or I can show you.

Identify Page Cards
See options below...

In this particular option I added the ID and Comment count. Also removed checkmark in Agree button for more room... (Of course, if we remove the checkmark here, we should remove it in the modal boxed Agree buttons.

We could make the cards a little wider too. I think we should show either show the activity count and/or relative time of upload. Does anyone have any preferences? (@kueda @loarie @pleary) Since this is the identify section I could see a strong case for wanting to see the activity counts up front.
Identify Page

[ ] Replaced dropshadow in header with 1px solid border of #DDD
[ ] Changed leaderboard bg to #e6e6e6
[ ] Changed leaderboard divider lines to #DDD
[ ] Gave leaderboard header a bg of #DDD; Leaderboard header text is 12pt, regular case and black

Identify Page Nice-to-Haves
Would be nice if this didn't happen when there were few obs, but not a huge deal.

This is now out of date.


Named process for windows

When running via the command line on windows, the process shows up as Java(TM) Platform SE binary

Launch4j lets you create a Cross-platform Java executable wrapper, so the CFLint process could show up as CFLint http://launch4j.sourceforge.net/index.html

What'd be the ~ amount of bloat this wrapper would add? Ever used it @zspitzer ?

I've never tried, I only just googled it up after seeing the task manager naming

We've decided to not do this, @zspitzer, sorry :-/


Feature Request : rsyslog

syslog-ng is verry instable.
So I replace it by rsyslog, which is more mature...
Is it possible to implement in luci-app-log the rsyslog /var/log/messages view ?
The centralized log view will be a must !

@erdoukki, logread tool from the syslog-ng package reads /var/log/messages ;)
You need to install syslog-ng (remove the logd first), then stop and disable it.
Start or restart rsyslog. Bingo!

ok, done for testing and works fine ! thanks...
But now it is luci-app-log which do not show hostname from /var/log/messages :
Mar 22 17:29:47 myNextCloud systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Mar 22 17:29:47 myNextCloud systemd[1]: Started Cleanup of Temporary Directories.
Mar 22 17:30:07 LPM dnsmasq-dhcp[32377]: not giving name klub.lpm.nddc.gk2.net to the DHCP lease of <IP_ADDRESS> because the name exists in /tmp/hosts/dhcp.cfg01411c with address <IP_ADDRESS>
Mar 22 17:30:52 LPM uhttpd[2941]: luci: accepted login on /admin/services/syslog for root from <IP_ADDRESS>

@erdoukki, 3257899...

Great, thanks...
I still get only #, timestamps and messages in system log from a centralized log !
Correct and complete on default logging, with kenel and system logs, but on a rsyslog centralized /var/log/messages (tweaked with the logread from syslog-ng) I get only #, timestamps and messages.
No level, nor facilities, and still no host columns.

"Level" and "Facility" are only present in logd. The /var/log/messages does not contain this data at all.
About the "Host" column...
Reinstall the luci-app-log completely, clear your browser cache.
Restart the following OpenWrt services:
/etc/init.d/rpcd restart
/etc/init.d/uhttpd restart
rm /tmp/luci-indexcache* /tmp/luci-modulecache/*
It should be like this.

still no host...
here a screenshot : https://github.com/erdoukki/luci-app-log/blob/master/screenshots/Screenshot_2021-03-25 LPM - System Log - LuCI.png

@erdoukki, please show the first 10 lines of your log (from /var/log/messages)

yes, sure :
root@LPM:~# head /var/log/messages
Mar 19 17:20:35 LPM :  [origin software="rsyslogd" swVersion="8.39.0" x-pid="1756" x-info="http://www.rsyslog.com"] start
Mar 19 17:20:35 LPM modprobe: xt_multiport is already loaded
Mar 19 17:20:35 LPM modprobe: xt_connmark is already loaded
Mar 19 17:20:35 LPM modprobe: xt_comment is already loaded
Mar 19 17:20:35 LPM modprobe: xt_length is already loaded
Mar 19 17:20:36 LPM Tor[2897]: Tor <IP_ADDRESS> running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1j, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Mar 19 17:20:36 LPM Tor[2897]: Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 19 17:20:36 LPM Tor[2897]: Read configuration file "/tmp/torrc".
Mar 19 17:20:36 LPM Tor[2897]: Processing configuration path "/etc/tor/torrc" at recursion level 1.
Mar 19 17:20:36 LPM Tor[2897]: Including configuration file "/etc/tor/torrc".

The log is ok, here is your log on my system.
See your previous screenshot, you are using an old version of the luci-app-log...

I am using the correct version of luci-app-log, but I needed to upgrade luci and luci-base to get the latest luci-app-log working correctly.
It now show hosts as requested !
And I can also filter on them.
Thanks


Show warning on duplicate asset names and labels

This passed tests earlier, merging now to make testing this easier.


Baseline of event fired in applicationDidBecomeActive: has jumped up by ~3%

Integration Method: Carthage
Xcode Version: 8.3.x
Library Version: 3.1.2
Platform: iOS
Language: Using the Objective-C Mixpanel library, but mixed use of Swift/Obj-C in our app
Description:
We're tracking a Mixpanel event upon launch of our application, and we've noticed that after upgrading the Mixpanel library from 3.0.7 to 3.1.2, the baseline for our event has increased by quite a lot.  Here's an abbreviated version of our code from our app delegate:
    func applicationDidBecomeActive(_ application: UIApplication) {
            if AppSession.shared().isSessionActive {
                EventTracker.shared().appActivated()
            }
    }

We've looked at the release notes of the Mixpanel library, but it doesn't seem like anything would cause an increase in our baseline.  Just wanted to see if anybody has seen anything remotely similar.  The "April 17" data point here represents the week of April 17-23 which used library version 3.0.7, and the next data point is April 24-30 which uses library version 3.1.2.  You can see the significant uptick for the next 4 weeks.  It represents ~3% uptick over the baseline previously, which doesn't seem like much, but we're talking about around 2.5M events, which makes the uptick (I think) statistically significant.

Expected Behavior:
No significant deviation in expected number of events tracked in the applicationDidBecomeActive: method.

Hi @simX,
Could you share your mixpanel project id with us so that we can take a closer look? It's the 5-7 digit number that appears in your reporting URL after https://mixpanel.com/report/.
Thanks a bunch!

311221
Thanks for looking into this!

Hi @simX. I took a look at your project and looked at the event you're referencing. I noticed that your unique users are trending up over time (congrats!), which actually explains some of the fluctuations in the total events sent. I did the rest of the analysis looking at average for that event (totals / uniques for that week). It looks like you had spikes around valentine's day and mother's day which make sense for your business. Otherwise, average was relatively flat before mother's day, and has gone up by ~10% after that compared to before. However, looking over a year it's not higher than it's ever been historically, i.e. around a year ago average was also around the same. Maybe there's some product based explanation for why your average app opens has gone up? I don't think we have changed anything that would cause the effect you're seeing. I'm happy to help with any other questions you might have.


FEATURE REQUEST: Set left and right paddings of the Navbar to 30px.

Set left and right paddings of the Navbar to 30px for screen sizes <=768px.

I'll like to give it a go

@SahilNalavade sure! Go ahead.

Hi, Can you help me create 2 pull requests

@SahilNalavade sure. please come over our slack channel for a bette communication.


Need a proc-block for tokenization

For NLP related tasks, we will need a proc block that will take Sentences as input and will return outputs
1. output ids (tokenizer converts tokens using vocab file)
2. output masks (1 for useful tokens, 0 for padding)
3. output segments (for 2 text training: 0 for the first one, 1 for the second one)

These outputs will serve as input to Albert, Text Classification, etc.
Approach
We first take the sentence and tokenize it. A BERT sequence has the following format:
  - single sequence: [CLS] X [SEP]
  - pair of sequences: [CLS] A [SEP] B [SEP]
  E.g.
  text = "Here is the sentence I want embeddings for."
  tokenized text = "[CLS] " + text + " [SEP]": ['[CLS]', 'here', 'is', 'the', 'sentence', 'i', 'want', 'em', '##bed', '##ding', '##s', 'for', '.', '[SEP]']

Output Token ids
BERT has a vocabulary of around 30k words. We will map the token strings to their vocabulary indices. Words that are not part of vocabulary are represented as subwords and characters. The output token ids will be a list of words indices. E.g. If the sentence is " After stealing money from the bank vault, the bank robber was seen fishing on the Mississippi river bank.":

[CLS]           101
after         2,044
stealing     11,065
money         2,769
from          2,013
the           1,996
bank          2,924
vault        11,632
,             1,010
the           1,996
bank          2,924
robber       27,307
was           2,001
seen          2,464
fishing       5,645
on            2,006
the           1,996
mississippi   5,900
river         2,314
bank          2,924
.             1,012
[SEP]           102

Output Masks
Mask values selected in [0, 1]:

1 for useful tokens
0 for padding

Output segments
BERT is trained on and expects sentence pairs, using 1s and 0s to distinguish between the two sentences. That is, for each token in “tokenized_text,” we must specify which sentence it belongs to: sentence 0 (a series of 0s) or sentence 1 (a series of 1s).

sentence_tokens: ['[CLS]', 'this', 'is', 'a', 'nice', 'sentence', '.', '[SEP]']
print(output_ids): [101, 2023, 2003, 1037, 3835, 6251, 1012, 102, 0, 0,......., 0]  # Size of this array will be max sequence length that model can take as input
print(output_masks): [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, .........., 0]
print(output_segments): [0, 0, 0, 0, 0, 0, 0, ..........., 0]      # As there is only one sentence so all elements of the array will be 0

Size of 3 arrays will be max sequence length that model can take as input

@Mohit0928 do you know if an algorithm already exists for doing this sort of tokenizing in Rust?

@Michael-F-Bryan, I will check and let you know.

@Michael-F-Bryan, I checked, and there is tokenizers  crate. We can use this for our purpose. There are three main types of tokenizers used in Transformers:
1. Byte-Pair Encoding (BPE)
2. WordPiece
3. SentencePiece

This crate supports the first 2 tokenizers. As of now, these 2 will be enough to serve our purpose. The pipeline will look something like this:

We will take English sentences as input (right now, we don't support this in our "capability". I will add a ticket for this too.)
This English sentence will serve as input to the tokenizer proc-block, which will give us 3 outputs:
a. output_ids
b. output_masks
c. output_segments
These will act as input to the NLP model (either all 3 or 2 or 1)

Please let me know when you get time. We can discuss how to proceed further and can help you out in building this.

Looking through the tokenizer crate's Cargo.toml file I don't think it will be suitable. A Rune runs in a constrained environment with no access to things like the file system, threads, or the network, yet tokenizers pulls in crates like rayon, clap, and reqwest (why do they need a HTTP client?!).
Even if those dependencies could be compiled to WebAssembly, we'd still have the issue that a fresh build of a Rune which uses a proc block that depends on the tokenizers crate will take 4 or 5 minutes.
My suggestion would be that you find the basic syntax/definition for just the tokenizing algorithms we care about and implement your own no_std parser in Rust (preferably without using regex because that's quite a chunky dependency). That way the tokenizing proc block does just what it needs to without slowing down the build process by pulling in extra dependencies.

This is already implemented as the tokenizer proc-block in the proc-blocks repo.


Use os.Chmod instead of file.Chmod for compatibility with Windows

Address #481 by using os.Chmod instead of file.Chmod.

Thanks!


Add ClusterCreateTime to Redshift response

Fixes #1778

Coverage increased (+0.0003%) to 92.414% when pulling c6f5e816ccda6386976a5e3c9677a6b9839ec108 on bpandola:fix-1778 into 9c6e7f2ee797d1b878f26c0c795f9d72c46c1579 on spulec:master.

Coverage decreased (-0.2%) to 92.24% when pulling c6f5e816ccda6386976a5e3c9677a6b9839ec108 on bpandola:fix-1778 into 9c6e7f2ee797d1b878f26c0c795f9d72c46c1579 on spulec:master.

Coverage increased (+0.0003%) to 92.414% when pulling c6f5e816ccda6386976a5e3c9677a6b9839ec108 on bpandola:fix-1778 into 9c6e7f2ee797d1b878f26c0c795f9d72c46c1579 on spulec:master.

Thanks!


[BUG] Invalid json data at pypr startup

Pyprland version
2.2.14-10
Describe the bug
pyprland shows invalid json data error when launched at startup.
To Reproduce

Launch pypr at startup using exec-once=pypr
Relogin
See the error

Expected behavior
No error.
Configuration (provide following files/samples when relevant):

pyprland.toml
hyprland.conf - My config is pretty heavy, though I am using

# pyprland autostart
exec-once = pypr

Additional context
OS: NixOS
I am using the flake to get the git version.

How am I supposed to report this error then?
Shouldn't the nix package be fixed instead?

Yes. pyprland works as expected. This is likely a regression from 2.2.12 after which the version check is added. I can confirm it works on 2.2.5.
And I am using pyprland from this repository's flake, not from nixpkgs.

Indeed, it seems so, checking hyprctl version -j shows
{
    "branch": "",
    "commit": "b164e67d8b1f12420ec44a1c837af7923559ccf2",
    "dirty": false,
    "commit_message": "",
    "commit_date": "2024-04-28",
    "tag": "",
    "commits": @COMMITS@,
    "flags": []
}

You can try to report a bug to the packager...

Should be fixed by https://github.com/hyprwm/Hyprland/commit/39595aaca3c16cc483dcaacdebaecc24c952246b


HBASE-20405 fix License and Thanks links on website

after the previous MR, it looks the whimsy tool still failed in two cases. In this commit we try to fix these issues, based on the zookeeper website and the apache policy description
It looks the whimsy tool is checking the first occurrence of the links on the website, so we have to also change the links in the menubars.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
32
Docker mode activated.

_ Other Tests _

+1
asflicense
19
The patch does not generate ASF License warnings.

2678

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-359/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/359

Optional Tests
dupname  asflicense  mvnsite  xml

uname
Linux a9d5258a9800 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 9116534f5d

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Max. process+thread count
96 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-359/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


Heap corruption in arrays/node.hpp

(Visual Studio 2019 16.5.3)
Had some heap corruption issues in make_n. With small arrays like empty array, it seems sizeof_n can return sizes smaller than sizeof(node_t), and then the node_t constructor breaks the heap. Added a quick fix by just doing max(sizeof_n(n), sizeof(node_t)) but not sure if that's optimal, as I'm not entirely sure what sizeof_n is trying to accomplish.

Can you please provide an example that reproduces this? I'd be then happy to provide a fix myself.

Sure, it's pretty simple:
#include "immer/array.hpp"

int main()
{
	immer::array<char> arr;
	return 0;
}

In arrays/node.hpp, in make_n, sizeof_n(n), and thus the allocation, ends up being 5 even though sizeof(node_t) is 8.
In Debug mode, (in MSVC) this will trigger an error indicating heap corruption. Depending on the platform, this might or might not be an issue, since presumably most allocators would just ignore the couple of extra bytes due to alignment, but either way, it should probably be fixed.

AddressSanitizer and UBSanitizer do not complain. I'm not sure exactly what MSVC is complaining about, maybe I can investigate further but I do not have a Windows machine at the moment.
You can try changing:
    constexpr static std::size_t sizeof_n(size_t count)
    {
        return immer_offsetof(impl_t, d.buffer)
            + sizeof(T) * (count == 0 ? 1 : count);
    }

To:
    constexpr static std::size_t sizeof_n(size_t count)
    {
        return std::max(
              immer_offsetof(impl_t, d.buffer) + sizeof(T) * count,
              sizeof(node));
    }

If that fixes the issue feel free to make a PR.

Well the exact complaint comes in a form of a messagebox with "HEAP CORRUPTION DETECTED: after Normal block (#75) at 0x00FE50E0.
CRT detected that the application wrote to memory after end of heap buffer."
Basically with char, immer_offsetof(impl_t, d.buffer) == 4 and sizeof(char) == 1, so the allocation ends ends up being 4+1 = 5 bytes, and because sizeof(node_t) == 8, it tries to construct in allocation that is not big enough.
I didn't really look into what combine_standard_layout_t is supposed to do though.
And yes, that is actually the fix we implemented, but there was some other problem that came after it... it went away with rebuild, so I'll monitor the situation a bit before sending a PR.


Server load high (100%) after some work

Launched server (load low - ok)
Launched producer and produced a lot of txns and data to server (100000 txns x 1000 elts)
Launched subscriber (and read the same data in parallel with (1)
Server load is high 100%

May be it's ok and it just does some background rocks/bdb work but it must be checked. May be it's a bug.

Declined. It's rocksdb background activity.


Large texel buffer addressing seems broken

Hi!
I am facing an issue with large texel buffers. By large I mean those with length exceeding Metal 1D texture size limit of 16384 texels and causing MVK to use a 2D texture for backing their storage. Below I will be referring to this commit changes in MVK: e959b9d9a6a013a751f1110b831ebf37a917c5e2.
Heres the setup:

I have a uint16 texel buffer. The buffer memory resevation is for up to ~117.2k elements. MVK alocates a 16384x8 1-channel texture for it, which is right.
then I have a compute shader. It does 191x61 invocations to fill the buffer. For debugging purposes I've stripped out the actual logic, and just write magic number 0xFFFF at each invocation. The write offset comes as a flattened thread index, like this:

[numthreads(NUM_THREADS_X, NUM_THREADS_Y, 1)]
void Main(uint3 globalIdx : SV_DispatchThreadID, uint3 localIdx : SV_GroupThreadID, uint3 groupIdx : SV_GroupID)
{
    uint localIdxFlattened = localIdx.x + localIdx.y * NUM_THREADS_X;
    BPerTileLightIndexBufferOut[tileIdxFlattened] = 0xFFFF;
}

As the result of this step I expect a line of 191x61=14651 0xFFFF-values (I'll call those "marked texels") laid out linearly from the origin of the texture. Which doesn't happen.
Instead, as per XCode graphics debugger, there are 3 lines of 4096 marked texels and one of 2363 marked texels. Those do sum up to expected 14651 marked texels in total, but memory layout is 2D. Okay, presumably I don't get how the things work, but at least there is this constant which seems to cause that layout.

then I have a debug pixel shader. I've divided my viewport into tiles so that it is entirely covered with 191x61 tiles. For each pixel I take its coords, convert them into a flat index and read the value from the buffer with that offset. I expect to get the magic 0xFFFF for each pixel on the screen. I check the value and paint pixel red when theres a match, and leave it as is if not. I expect the screen to be entirely painted red, but insted it shows up like this.

So in the end, it seems like buffer writes are made with a different layout than is expected for reads.

Hi, any updates on this?
Got a chance to look into the issue further, and here is what I've found:
When dumping MSL for my compute shader I see the following utility code inserted by MVK:
// Returns 2D texture coords corresponding to 1D texel buffer coords
uint2 spvTexelBufferCoord(uint tc)
{
    return uint2(tc % 4096, tc / 4096);
}

And here is what is in the pixel shader code dump:
// Returns 2D texture coords corresponding to 1D texel buffer coords
uint2 spvTexelBufferCoord(uint tc)
{
    return uint2(tc % 16384, tc / 16384);
}

It appears that MVKGraphicsPipeline::initMVKShaderConverterContext does set
shaderContext.options.texelBufferTextureWidth = _device->_pMetalFeatures->maxTextureDimension;

whereas MVKComputePipeline does not, hence the mismatch. I've opened a PR for a fix.


feat: improve SEO and accessibility scores

You need to open the PageSpeed test page to see the improvements but this is the current status for the flyer page on adobe.com:

Accessibly: 82
SEO: 84
We must do better.
With those few changes, I now reach:

The 84 vs 84 for SEO is mainly due to the no-index on hlx.live. On .live we went from 77 to 84 with the changes and hope to go above 90 on prod.
Impact on the DOM:

ul.ctaswrapper is now div.ctaswrapper (Google complains about a ul without li- which in that case does not make any sense)
a.button.carousel-arrow is now span.button.carousel-arrow (the a tag does not have an href - and does not need one - but that's an SEO issue - links following)

The next steps are more complex / tricky:

Accessibility:

Only remains Heading elements are not in a sequentially-descending order - we have an H5 at the top, not sure if this is really important to fix.
Background and foreground colors do not have a sufficient contrast ratio. - something to bring to designers attention.

SEO

Links do not have descriptive text - this is the Learn More text on the Illustrator link at the bottom of the page. This is content, we might need to tell the Business that this is a bad practice for SEO (see https://web.dev/link-text/?utm_source=lighthouse&utm_medium=lr for reference)
Links are not crawlable - that's a risky one - the carousel arrows uses  tags without an href. This should not be  tags at all I think but changing it has a lot of impact since this is used in many places and they leverage the a.button class. This change must be tested in depth.
Mobile friendly: Tap targets are not sized appropriately - important to raise to designers - see https://web.dev/tap-targets/

Test page: https://improve-seo-access--express-website--adobe.hlx.live/express/create/flyer?lighthouse=on

With those few changes, I now reach:

The next steps are more complex:

Accessibility:

Only remains Heading elements are not in a sequentially-descending order - we have an H5 at the top, not sure if this is really important to fix.

SEO

Links do not have descriptive text - this is the Learn More text on the Illustrator link at the bottom of the page. This is content, we might need to tell the Business that this is a bad practice for SEO (see https://web.dev/link-text/?utm_source=lighthouse&utm_medium=lr for reference)
Links are not crawlable - that's a risky one - the carousel arrows uses <a> tags without an href. This should not be <a> tags but changing it has a lot of impact since this is used in many places.

closing for now


Investigate adding snapshot testing

Snapshot testing is a way for us to add some automatic tests to verify that our code changes do not introduce unintended changes to other components on the website. It is a good tool for detecting unwanted changes to the UI.

https://jestjs.io/docs/snapshot-testing


Update radio harness click label so change output is not triggered twice when check is called

The current implementation of check in the radio button harness causes the change output to fire twice. Updating the _clickLabel so this does not happen.

looks like this needs to be rebased


Firebase google sign-in crashes on production mode

Hello everyone, i've used flutter packages like:

firebase_auth: ^0.11.1+8
google_sign_in: 4.0.4

to (well) sign-in into Google using Firebase. In development mode, the app runs well and get authenticated, but in production mode, the app crashes when the Google sign-in popup displays. I've also set the SHA certificates.
Can you guess what the problem is? Thanks in advance!

@Lynxgsm
The issue at https://github.com/flutter/flutter/issues/41362 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @Lynxgsm
could you please provide your flutter doctor -v
and your flutter run --verbose.
Also, to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Add env & expandenv template functions

Using environment variables is a common practice when deploying
docker containers. This allows for using environment variables in notifications.
This can also enable functionality described in https://github.com/prometheus/alertmanager/issues/504 after adding parsing to the Secret types.

As was explained in #504, we do not allow configuration from the environment. If you want this it is recommended that you use your configuration management system to do so.
This would also go against our security model.


The dropDown box does not scroll with the page

The dropDown box does not scroll with the page
To Reproduce
Steps to reproduce the behavior:

Navigate to Dashboard page
Click on filter, filter text box opens.
now scroll up in the window, the filter window scrolls up with the Dashboard window.

Expected behavior
the filter window Should not scroll up with the Dashboard window.
Environment:

Longhorn version:master
Kubernetes version: 1.17.4
Node OS type and version:RKE DO Linux cluster

On the latest master as of 06-12-2020, I still see the filter text box scroll with the page.
Both name and source filter have same behavior.

Verified on master -07-02-2020
Validation - Passed
The filters text box for name and source are scrolling with the page.


Unable to load latest app metadata

When starting prefill or opening select-apps loading metadata will fail periodicly.
When metadata fails to load the application closes, stopping whatever command was attempting to be run.
Region - Australia
Platform - Docker
Discord - Cpt Echo#3755

Metadata app.log
app log as requested

I am having the exact same problem, with the exact same setup: docker container (I have installed SteamPrefill inside my lancache container), living in Australia.
When I check out the SteamPrefill app.log, the following pattern is recurring:
[3:45:57 PM] Starting login!
[3:45:58 PM] Connected to Steam!
[3:45:58 PM] Logged into Steam
[3:45:58 PM] Steam session initialization complete!
[3:46:09 PM] Unable to load latest App metadata! An unexpected error occurred!
[3:46:09 PM] System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at SteamPrefill.Handlers.AppInfoHandler.BulkLoadAppInfosAsync(List`1 appIds)
   at SteamPrefill.Handlers.AppInfoHandler.<>c__DisplayClass7_0.<<RetrieveAppMetadataAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Spectre.Console.Status.<>c__DisplayClass16_0.<<StartAsync>b__0>d.MoveNext() in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Live\Status\Status.cs:line 79
--- End of stack trace from previous location ---
   at Spectre.Console.Status.<>c__DisplayClass17_0`1.<<StartAsync>b__0>d.MoveNext() in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Live\Status\Status.cs:line 120
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext() in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Live\Progress\Progress.cs:line 133
--- End of stack trace from previous location ---
   at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync(Func`1 func) in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Internal\DefaultExclusivityMode.cs:line 40
   at Spectre.Console.Progress.StartAsync(Func`2 action) in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Live\Progress\Progress.cs:line 116
   at Spectre.Console.Status.StartAsync(String status, Func`2 func) in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Live\Status\Status.cs:line 117
   at Spectre.Console.Status.StartAsync(String status, Func`2 action) in C:\Users\Tim\Dropbox\Programming\dotnet-public\spectre.console\src\Spectre.Console\Live\Status\Status.cs:line 77
   at SteamPrefill.Handlers.AppInfoHandler.RetrieveAppMetadataAsync(List`1 appIds, Boolean loadDlcApps, Boolean loadRecentlyPlayed)
   at SteamPrefill.SteamManager.GetAllAvailableAppsAsync()
   at SteamPrefill.CliCommands.SelectAppsCommand.BuildTuiAppModelsAsync(SteamManager steamManager)
   at SteamPrefill.CliCommands.SelectAppsCommand.ExecuteAsync(IConsole console)```

Released an initial fix in v2.1.2.

Haven't been able to use this in a month or so -- any updates?

Haven't been able to use this in a month or so -- any updates?

Have you updated to latest build? This is partialy fixed in latest build so i now rarely see this issue anymore (maybe once a week) when it use to be 9/10 times it would error out. Tpill90 has been troubleshooting it on discord with me if you want to join the conversation.

Haven't been able to use this in a month or so -- any updates?

Have you updated to latest build? This is partialy fixed in latest build so i now rarely see this issue anymore (maybe once a week) when it use to be 9/10 times it would error out. Tpill90 has been troubleshooting it on discord with me if you want to join the conversation.

I tried six or so times today across a few hours since it was on my mind, wasn't able to get to select-apps menu. Didn't try prefill today because I wasn't really thinking about it lol.
I'm running the Docker version via alias over ssh, doing manual pull on the image before every run, using --rm on the container so it should be fresh latest image every time, I'm not sure which software version that amounts to ie wether the container is up to date. I'll check when I'm seated next. I'm more than capable of running it directly on whatever platform, though, if that's easier for troubleshooting. Not at the computer tonight but I'm more than happy to help troubleshoot any time I'm conscious and at the desk. How do I find you?

@codefaux  You can find us in the Lancache Discord server, under #steam-prefill. There's a link to the discord on my repo, as well on the Lancache docs.

Closing this since I haven't heard of any more issues with loading the metadata. Feel free to reopen if the problem comes back

Sorry, I had a significant life event occur. I forgot all about this. It seems to be working fine now, thank you for your hard work.

error has returned


feat: Allow overriding Linux and Windows vm image SKUs via Packer variables

Description
This pull request contains adaptations to the image definitions for Windows and Linux to be able to adjust the image SKU by a packer variable at runtime.
This can be used, for example, to create Gen2 VM images.

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[x] Changes are tested and related VM images are successfully generated

Hello, we do not have plans to support more SKUs at the moment so we do not modify and nat parametrize it, please apply your changes locally.


feat: import old applications from spreadsheet file (hl-1310)

Description :sparkles:
CLI command to import xlsx spreadsheet as Django model.
⚠  pandas library import would crash pytest so there's some difference in test run compared to a real run. In test, mock data is used and pandas import is skipped.

Skip any files with wrong column headers
Skip any files with mismatch on technical key count and column header count
Skip any rows with data not matching column count
Skip any rows if company data is not found or cannot be created
Remove existing archival applications to avoid doubles (application number is used as id)

Usage
Put your spreadsheet in {project_root}/applications/resources/myspreadsheet.xlsx. Leave --filename out to use resources/test.xlsx
# Dry run (no imports are done):
python manage.py import_archival_applications --filename myspreadsheet.xlsx

# Actual run:
python manage.py import_archival_applications --filename myspreadsheet.xlsx --production 1

Testing
Backend
pytest applications/tests/test_application_search
pytest applications/tests/test_command_import_archival_applications
Frontend

Run the import
Go to https://localhost:3100/archive
Try searching

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3056.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3056.dev.hel.ninja :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3056.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr3056.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-pr3056.dev.hel.ninja :laughing::tada::tada::tada:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3056.dev.hel.ninja :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3056.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3056.dev.hel.ninja :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3056.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3056.dev.hel.ninja :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3056.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr3056.dev.hel.ninja :laughing::tada::tada::tada:

@EmiliaMakelaVincit all changes have been made in the next version. I'll make PR shortly.


Fonts!

So fonts for real this time!
Here is a screen shot from my phone!

Also, I upgraded our dependencies, as it didn't work on my machine until I did.

Turns out you can't leave comments in the JSON file, so I just changed the dependency number!


Use Closure Compiler to reduce sp.js size

Using the Closure Compiler, I was able to reduce the  sp.js (version 2.8.0) size from 72k to 67k, a 7% improvement. And this is using the "Simple" optimization - we might be able to reduce it even further using "Advanced", though it will require reviewing the code to avoid breaking changes.
For now, we could run the simple optimization before pushing new versions to Cloudfront. It's done in seconds and saves eveyone a few milliseconds of load time - and maybe a few bucks on your CF bill :)
On a side note (this might be worth an issue for itself): we could also reduce the file size by compiling only the necessary methods. We're not using Optimizely, for example, and all of its methods are loading unnecessarily for the end user. As the number of integrations grow, that problem could become more pronounced. Is that something you're looking into?

Thanks @bernardosrulzon ! I think this is well worth exploring - but represents a fairly big change in our pipelining, so putting into the 3.0.0...


Example Code is wrong

I created a .net core console application and tried to compile the example code but it has a 3 compiler errors. First 'currentDomain.DefineDynamicAssembly()' does not exist anymore in .net core. Instead you have to use 'AssemblyBuilder.DefineDynamicAssembly'. For the second error 'myFieldBuilder.GetToken()' I haven't found a workaround.
Lastly 'PermissionSetAttribute' does also not exist in .net core as all code is running in 'full thrust' mode all the time.
Please fix/correct the example code.

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

ID: bb69b18d-a46a-9aae-08ca-2de601677107
Version Independent ID: a0247b07-8032-f06f-2d93-99d318ce2cad
Content: FieldBuilder Class (System.Reflection.Emit)
Content Source: xml/System.Reflection.Emit/FieldBuilder.xml
Product: .net
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for pointing this oiut, @Angr1st. We've addressed it in dotnet/samples#159 and dotnet/dotnet-api-docs#325.

Great thank you for fixing it 👍


Add utility to retry connections

When using Cassandra with Docker for local dev, you can have the application being ready before Cassandra is fully initialized. The migrator will fail to connect to the database and throw an exception stopping the whole process. As a solution the migration tool can retry to connect with an exponential back-off before it gives up the migration completely.
The DataStax driver probably have some utility to help to check the connection state.

This simple examples gets the job done:
private Cluster connectWithRetry(Supplier<Cluster> clusterSupplier) {
    int[] attempts = new int[]{0, 1, 2, 4};
    RuntimeException noHostAvailException = null;
    for (int i = 0; i < attempts.length; i++) {
        Cluster cluster = clusterSupplier.get();
        try {
            Thread.sleep(attempts[i] * 1000);
            cluster.init();
            return cluster;
        } catch (NoHostAvailableException e) {
            noHostAvailException = e;
            log.warn("Could not connect to cassandra cluster on attempt number {}.  Aborting initialization");

    if (isNull(noHostAvailException)) {
        throw new IllegalStateException("Could not connect to cassandra");
    } else {
        throw noHostAvailException;
    }
}


Minor package.json fixes

Use SPDX identifier for "license"
"main" defaults to index.js
file paths are always relative to package.json
LICENSE file is automatically included

https://docs.npmjs.com/files/package.json

Thanks!


feat: add ssr fallback flag info to response header

Summary
Touch SSR Fallback
forceCSR config + open with req params
?csr=1
req header x-[framework like: pia]-ssr-fallback:1

Hit SSR Fallback
res header x-[framework like: pia]-ssr-fallback: 1;reason=xxx
// reason:  query || header || error

Related Links

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

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

Thanks ! @GiveMe-A-Name cc.
And the branch has some conflicts now.

Thanks ! @GiveMe-A-Name cc.
And the branch has some conflicts now.

Thanks ! @GiveMe-A-Name cc.
And the branch has some conflicts now.

done


Migrate http requests to hammock

As discussed in #155 , it'd be cool to migrate to pepegar/hammock in order to unify jvm and js

this was migrated to http4s, closing


AIX: fix uv_exepath when invoked with relative paths

uv_exepath was not behaving correctly on AIX when the process was
invoked with a relative path.
The logic has been reworked to:

Use getargs() to retrieve the process arguments
Use realpath() to handle absolute and relative paths and
symbolic links
Check that a match when searching the PATH is executable (if
not search will continue)

Prior to these changes the get_currentexe test was failing on AIX (see issue #463). With these changes applied the get_currentexe test passes:
Absolute path to run-tests:
-bash-4.2$ /home/users/riclau/sandbox/github/libuv/out/Debug/run-tests get_currentexe get_currentexe
-bash-4.2$

Relative path to run-tests:
-bash-4.2$ out/Debug/run-tests get_currentexe get_currentexe
-bash-4.2$

Relative path to run-tests starting with single "./":
-bash-4.2$ ./out/Debug/run-tests get_currentexe get_currentexe
-bash-4.2$

Relative path to run-tests with "../":
-bash-4.2$ ../libuv/out/Debug/run-tests get_currentexe get_currentexe
-bash-4.2$

cc @mhdawson and @gireeshpunathil

Would also appreciate any advice on ways of integrating testing relative paths into the current test framework (as opposed to manually running the tests as above).

Left a few comments, but someone with AIX experience should probably comment on the approach.

Would also appreciate any advice on ways of integrating testing relative paths into the current test framework (as opposed to manually running the tests as above).

I don't have a good suggestion. On Windows we do test some path related functions by accessing internal functions when the test runner is built statically (the default).

Thanks for the comments. I've updated the commit to incorporate the corrections.

LGTM. I'd like to have another pair of eyes on this. Also, I have no way to test it, so I'll trust you :-)

LGTM with some suggestions and a question.

Thanks @bnoordhuis -- Updated to incorporate the suggestions.

Question: how thread-safe is getargs()?

I believe it is thread-safe based on the getargs being part of the Standard C library (libc.a) on AIX) and libc.a being on the list of thread safe libraries.

Okay, good enough for me.  Thanks Richard, landed in ab97760.


[FLINK-4729] [gelly]  Use optional VertexCentric CombineFunction

Passes through the CombineFunction to VertexCentricIteration, and other code cleanup discovered via IntelliJ's code analyzer.

Great cleanup! Thanks @greghogan. +1 to merge.


python310Packages.json-schema-for-humans: 0.41.6 -> 0.41.8

Description of changes
Update to latest upstream release 0.41.8

Things done

Built on platform(s)

[x] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 186306 run on x86_64-darwin 1

2 packages built:

json-schema-for-humans (python310Packages.json-schema-for-humans)
python39Packages.json-schema-for-humans


Jenkins Cert part is now different

Hey,
Firstly, Brilliant tutorial! Good to get some insight.
Been struggling with the "SETUP DOCKER CERTIFICATE DIRECTORY" part from: https://engineering.riotgames.com/news/jenkins-ephemeral-docker-tutorial
Specifically: "Docker Certificates Directory" doesn't appear on the drop down list. Couldn't work out how to add the certificates with the new set of options on Jenkins (attached).

Any help in using the new Jenkins is greatly appreciated.
Kind Regards,
Ryan

Going to close this issue I now have a new PR that avoids needing to use these Jenkins certs entirely. There will be a new blog as well. Check out the "blog_refresh" branch if it's not yet submitted to master.


Unable to do AJAX call with JSCOAP library.

I am facing issue on using you're JSCOAP library. I imported it my HTML JAVASCRIPT page and try to use it with Contiki OS & Cooja simulator in order to do CoAP:// request with AJAX calls.
I am calling function as
var buffer = serialize(message, "coap://[aaaa::c30c:0:0:2]:5683/sensor/temperature");
but it return nothings. may be I am missing something. please help me how can I use this library ?
my goal is to get CoAP:// response in AJAX. is there any example or solution to get the idea how this library works.
Please help me. I am new to this.

Sorry, there is no example, and I haven't used it in two years. You'll have to look with a packet sniffer and the CoAP specification to determine if your queries are being sent correctly. Best I can offer is the snippet of code below from the last time I worked with this.
$scope.form.host = "localhost";
$scope.form.port = "5683";
$scope.form.path = "/.well-known/core";

$scope.settings = { ack : true,
                    method : 'GET' };
var msg = initCoAPMessage($scope.settings);
msg.options = [];
msg.options.push(createCoAPOption({}, coapOptionType.URI_HOST, host));
msg.options.push(createCoAPOption({}, coapOptionType.URI_PORT, typeof port === "number" ? port.toString() : port ));

// Split up the request path into multiple options
var el = path.split('/');
for (var idx = 0; idx < el.length; idx++) {
  if (el[idx] == '')
    continue;
  msg.options.push(createCoAPOption({}, coapOptionType.URI_PATH, el[idx]));
}

if (payload) {
      if (payload.slice(0,2) == '0x') {
        if (payload > 4)
          throw "Not Implemented";
        msg.payload = new Uint8Array(1);
        msg.payload[0] = parseInt(payload.slice(2),16);
      } else {
        msg.payload = new Uint8Array(payload.length);
        for (var idx = 0; idx < payload.length; idx++)
          msg.payload[idx] = payload.charCodeAt(idx);
      }
}

s = new UDPComm(console);

// Use whatever current callbacks are defined as the callbacks for this class
s.onRecv = onRecv;
s.onError = onError;
s.onClosed = onClosed;

// Start the query-response cycle
var buf = serialize(msg, host);
s.bind("<IP_ADDRESS>", parseInt($scope.form.port,10), $scope.form.host, buf);


"code element-level indicators" for Git configurable?

I consider "code element-level indicators" to be an extremely useful feature: for research, it is very helpful to be able to track only the changes made to a particular method. However, I have not found a way to change the default of 12 months when using Git. Is this configurable somewhere?

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

ID: aeed9cef-8a01-ad6e-36a7-c858ac44c952
Version Independent ID: 43948287-86e7-cf04-344f-48bb32592e1a
Content: Find code changes and other history with CodeLens - Visual Studio (Windows)
Content Source: docs/ide/find-code-changes-and-other-history-with-codelens.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@h-d2023 -- thank you for your feedback and questions.  Please consider these resources, and let me know if they help answer:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

@h-d2023 -- thank you for the followup, and my apologies for the delay in responding.  I'm not sure where the 1000 comes from.  If it is a fixed number, please add this issue here:

Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
Use the new Suggest a feature for Visual Studio IDE menu item.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

@TerryGLee -- do you know if there is a settable parameter for the number of changes?

@h-d2023 Thanks again for your patience; we are inquiring about this and hope to have an answer for you, soon.

@h-d2023 I've checked in with the product team, and they'd like to encourage you to create a feature request that asks for a settable parameter for the number of Git changes. You can do so by using the Suggest a feature for Visual Studio tool.
Meanwhile, we'll close this GitHub Issue here, as this venue is meant strictly for documentation issues. We thank you though, for your continued interest in Visual Studio, and also for surfacing something that can help make the product even better, too.


nixos/tests/bcachefs: use multi-disk

Motivation for this change
Use multi-disk layout for test, which is the more likely usecase anyway.
Wanted to get encryption working in the test, which it does work on the machine I tested this on, but does not in test vm. I suspect an out-of-date systemd or hardening not allowing a key to be set.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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 test bcachefs

I am Chiiruno, I lost my phone, and with it, authy since I was dumb enough to not make a backup, and apparently was stupid enough to not update my phone number in github.

@marijanp All good for merge?


Native events no longer being received after pressing back button and bringing app to foreground

Issue Description
I am sending events from a service started by a native module. I noticed that when the back button is pressed once or twice, it expectedly moves the application to the background and then when I bring the application back to the foreground, events are no longer being received even though the native events are still being emitted.
Expected Results
I expected the listeners in my component to resume listening for events
after the listeners are added in the componentWillMount method.
Additional Information

React Native version: 0.31.0
Platform(s) (iOS, Android, or both?): Android
Operating System (macOS, Linux, or Windows?): macOS

@facebook-github-bot close

@facebook-github-bot label Icebox

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/native-events-no-longer-being-received-after-pressing-back-button-and-bringing-app-to-foreground
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain thumbmunkeys.com has exceeded the max emails per hour (63/60 (105%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from filter01.reliabledns.org ([<IP_ADDRESS>]:42474)
by en02-ams.stablehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1c65yD-000Mt2-Vk
for<EMAIL_ADDRESS>Mon, 14 Nov 2016 01:22:03 +0000
Received: from github-smtp2-ext7.iad.github.net ([<IP_ADDRESS>] helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by filter01.reliabledns.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86)
(envelope-from<EMAIL_ADDRESS>id 1c65yC-0003sW-Hp
for<EMAIL_ADDRESS>Sun, 13 Nov 2016 18:22:01 -0700
Date: Sun, 13 Nov 2016 17:21:50 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1479086519;
bh=HC3BXT8PiCNqIDr1+DruIJrqBcCvIzroxQ6NpHwlkdM=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=Hx5ZwhgzLUJEasa5zDN5JYuWAGHNCsAewETe8uThsdxMRMGpOXQm6MRPelJWUPI4m
y553G3GySky5N5dmq+Gx7kcJ2o0JPvNMyrbTviaRV9kL+MN865U0Adj0zUIPmHyurQ
C1r7gTuxDOCs0uXIfj8bc0hKVT5Ws5QuJ7Op7Ytw=
From: Nicolas Charpentier<EMAIL_ADDRESS>Reply-To: facebook/react-native<EMAIL_ADDRESS>To: facebook/react-native<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [facebook/react-native] Native events no longer being received
after pressing back button and bringing app to foreground (#9739)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_582911ae9645a_11073fb7912dd13c2964cd";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: charpeni
X-GitHub-Recipient: bunnyboy1
List-ID: facebook/react-native <react-native.facebook.github.com>
List-Archive: https://github.com/facebook/react-native
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/ARoNg7fFADxOfzhmqGDYpl6pMeCuX942ks5q97eugaJpZM4J00wR
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>Received-SPF: pass (filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS><EMAIL_ADDRESS>helo=github-smtp2a-ext-cp1-prd.iad.github.net;
X-SPF-Result: filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender
Authentication-Results: filter01.reliabledns.org; dmarc=pass header.from=github.com
X-Filter-ID: s0sct1PQhAABKnZB5plbIamwIYzgudGL4tMY9zS3pea7KY6rzXjgC+rgKYUjsj8D0JuF70A4EJMc
Wn6O/bsgoWSYW6KbZfj8apx6ohl75uX35Caz8bqM3i8tzwcg+lnkZzoX7PhhDs80mBQKIGWwu/Ku
scxs0Lj66ws3lVlgoDJwJVSL6KLw+g28lkb31HyS94pE1Cssu3RLQ0/o4r6NbA8zp1yYIFRkRN8y
Bn+CxV0fgslXI/676xVEjYttihIXdhqf6VQoh88a5HuFGmF4vJz3A1ed2ITkOuMtrwds5D7K3wOa
hktxrld16n2/ku5KJq/4FZbX1lzD9O+fyiIjB8wTNR/tjjZvmBdM/4lPZO2sASVdHfbtk3LlI8pB
wr4jGeKz8vlEl/GSEiCnxc6Ard0BaVp3jhK5GOBJIv+LCtD+V9//iYPXcUPDr8DL9oJhN0JkcMmQ
sV7j9toT40ga/GYzx2Zgyhf3OXiddZgacWc1/+H6OHgtV1bmxcq0CB3pmrFpDzdgJQc/rZDiOC7K
RpZxGk3X7U/CrpemaTYEqjR6fyHrrsngmi97syQy+4L3p7+eg7tptOUU98CNo4IBbK0jiD6XqsJZ
tjQxlyCdsezJow6Hi0pxrFS5O4yOAY8o6W0BvTIC60F9LNR/0kDSJQ==
X-Report-Abuse-To<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; spf=pass<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; dkim=pass header.i=github.com
X-SpamExperts-Class: ham
X-SpamExperts-Evidence: dnswl/se-reputation (trusted ham)
X-Classification: not-spam/dnswl
X-Recommended-Action: accept
X-Spam-Status: No, score=1.5
X-Spam-Score: 15
X-Spam-Bar: +
X-Ham-Report: Spam detection software, running on the system "en02-ams.stablehost.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  @facebook-github-bot label Icebox -- You are receiving this
because you are subscribed to this thread. Reply to this email directly or
view it on GitHub: https://github.com/facebook/react-native/issues/9739#issuecomment-260228549
[...]
Content analysis details:   (1.5 points, 5.0 required)
pts rule name              description

0.5 RCVD_IN_SORBS_SPAM     RBL: SORBS: sender is a spam source
[<IP_ADDRESS> listed in dnsbl.sorbs.net]
-0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
trust
[<IP_ADDRESS> listed in list.dnswl.org]
1.5 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 HTML_MESSAGE           BODY: HTML included in message
1.5 HTML_IMAGE_ONLY_20     BODY: HTML: images with 1600-2000 bytes of words
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
X-Spam-Flag: NO
----==_mimepart_582911ae9645a_11073fb7912dd13c2964cd
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
@facebook-github-bot label Icebox
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/facebook/react-native/issues/9739#issuecomment-260228549
----==_mimepart_582911ae9645a_11073fb7912dd13c2964cd
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
@facebook-github-bot label Icebox
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_582911ae9645a_11073fb7912dd13c2964cd--


Automated cherry pick of #4636: fix: 加强密码校验

Cherry pick of #4636 on release/2.13.
#4636: fix: 加强密码校验

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@6ddd8c0). Click here to learn what that means.
The diff coverage is 50%.

@@              Coverage Diff               @@
##             release/2.13   #4640   +/-   ##
==============================================
  Coverage                ?   6.88%
==============================================
  Files                   ?     523
  Lines                   ?   88971
  Branches                ?       0
==============================================
  Hits                    ?    6123
  Misses                  ?   82341
  Partials                ?     507

Flag
Coverage Δ

#aFlag
6.88% <50%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/dbinstances.go
1.01% <0%> (ø)

pkg/util/seclib2/seclib.go
88.88% <71.42%> (ø)

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 6ddd8c0...cdc446f. Read the comment docs.

/lgtm

/approve


[bugfix](potential bug) add lock when modify total tasks number

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Fill lactapp_5 2019-2024 gap

Part of #929
This is a new scraper, so we need to backfill from when the mergers coverage ends, to the present day
./manage.py cl_back_scrape_opinions --courts juriscraper.opinions.united_states.state.lactapp_5 --backscrape-start=2019/07/16 --backscrape-end=2024/10/20 --verbosity 3 --backscrape-wait 60

Backscraper was run successfully


Unit 3 Glossary

Added Glossary for Deep Reinforcement Learning Course Unit 3

Hey there 👋 thanks for the update I'm going to make a big update of the course and content Friday afternoon and Saturday Morning so this will be part of my merge. I keep you updated 🤗.


kube config, version, cluster 'flavor', kubectl commands

Adding some info that will help TSEs in gathering information for K8s cases

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

LGTM. New additions create the expected output in a sandbox.


Change made in the magic code through URL reflects on the frontend and doesn't throw an error

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging dot on web chrome
Sign out if already signed in
Enter email and click on continue
Now it asks for magic code
Go to your email and click on the link given in the email
A new webpage appears showing the magic code
Now from the URL, try to change the magic code and hit enter
See that it reflects in the frontend part (I know that even if we change the code from URL, it's not going to work, but the main thing here is , it should have shown error when trying to change the code from the URL)

Expected Result:'
The magic code when trying to change from the URL should throw an error and should not allow to modify from the URL itself
Actual Result:
The magic code when trying to change from the URL doesn't throw an error and reflects in the frontend part
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/233811032-a157777f-4593-4cfd-acf3-6f49745a7638.mp4
https://user-images.githubusercontent.com/43996225/233811039-20a51ebe-489e-4b11-ab12-dac21a8c0419.mp4
Expensify/Expensify Issue URL:
Issue reported by: @avi-shek-jha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682136700077339
View all open jobs on GitHub

Triggered auto assignment to @NicMendonca (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@NicMendonca haha sort of. It is a bit odd that changing the URL impacts the display of the code, but you can't use that code in it's modified state so I don't know why someone would ever do this. @johnmlee101 what do you think?

Not a bug, since theres no in-product flow that would change the URL in this way.

Thanks both for your input!


Pr to add vulnerability scan to pipeline

What this PR does / why we need it:
pr gate pipeline that scans the binary and image to make sure pr is not introducing any known vulnerabilities
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #<152>
Special notes for your reviewer:

@irenechristopher would you please sign the Microsoft CLA?

@irenechristopher looks like trivy is failing with:
2022-05-18T19:37:28.211Z	ERROR	multiple targets cannot be specified
2022-05-1[8](https://github.com/Azure/eraser/runs/6495883678?check_suite_focus=true#step:7:9)T19:37:28.211Z	FATAL	option initialize error: arguments error

@irenechristopher looks like trivy is failing with:
2022-05-18T19:37:28.211Z	ERROR	multiple targets cannot be specified
2022-05-1[8](https://github.com/Azure/eraser/runs/6495883678?check_suite_focus=true#step:7:9)T19:37:28.211Z	FATAL	option initialize error: arguments error

If I c/p the line it's running locally:
trivy image --ignore-unfixed --exit-code=1 \ --vuln-type=os,library ghcr.io/${REPO}:test

I get the same error. I think the newline is getting removed somehow and so \  (an empty space) becomes the first non-flag argument, which combined with ghcr.io/${REPO}:test comes out to two "images" to scan, the empty space "image" and the actual image we're supplying.
Long story short (too late), just remove the backslash and newline and we'll be fine.

@pmengelbert can you approve to see the actions?

approved now @irenechristopher

golang.org/x/crypto/ssh is failing with high risk. I am upgrading the gomod file with latest go version so if it fixes this indirect dependency. @sozercan Lmk, also I am new to go

@irenechristopher let's add this under go.mod replace:
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd

=
and bump kubernetes ones from 0.22.6 to 0.22.9


TF Speech recognition issue

When I debugg the TF apk file and after installing speech recognition after pressing Start button it's just not working ...

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Make sure you also include the exact command if possible to produce the output included in your test case. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

@singh728om
Any update on this issue please? Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Feature/add patch and line limit filter to cli

Codecov Report

Merging #8 (8fad53d) into master (568d86f) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   99.31%   99.33%   +0.02%
==========================================
  Files          20       20
  Lines         437      451      +14
==========================================
+ Hits          434      448      +14
  Misses          3        3

Impacted Files
Coverage Δ

radiation/filters/patch.py
100.00% <100.00%> (ø)

radiation_cli/main.py
96.00% <100.00%> (+0.54%)
:arrow_up:

radiation/config.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Update s3, sdk-core, sqs to 2.16.38

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.16.26 to 2.16.38.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #146.


Change random string generation to be Ansible friendly

First of all, the proposed change might not be the best solution and I have only tested it in Ubuntu.
I've been using sdkman for a while and I also use it in Ansible scripts while configuring a development environment. I hadn't had any issues so far but just recently it seemed to stop working. It basically hanged indefinitely while executing sdk install XXX commands through Ansible scripts, while running them directly from the shell worked well as usual.
I googled "bash stuck ansible" and found this: https://github.com/ansible/ansible/issues/12459
It didn't seemed related at the time but while reviewing the latest 'sdkman-cli` commits I saw something familiar: https://github.com/sdkman/sdkman-cli/commit/e37872123d6b48ed2784d1ab9219fa6c3cacc17f
It appears that using cat /dev/urandom might cause bash scripts run from Ansible to get stuck. I tried to use the solution posted in the Ansible issue but I couldn't make it work, so I looked for another way to generate a random string without using /dev/urandom.
The one that I've managed to make it work uses date, but since it also uses sha256sum and base64 I'm not 100% sure it'll work in other OSs.
Please, feel free to provide an alternative solution, I'll be glad to test it using Ansible scripts if necessary.

I see. What about something more trivial like for i in {0..31}; do string+=$(printf "%x" $(($RANDOM%16)) ); done; echo $string?
On the other hand, is the randomly generated string required to be 32 chars long? If not, maybe a simple date +%s%N could be enough. What do you think?

Hi @marc0der,
I've managed to make it work just by using head instead of cat. According to http://stackoverflow.com/a/29494591 one shouldn't use cat along with /dev/urandom.
There shouldn't be any issues with OSX and Cygwin, right?

@pbassiner Reading the post on stackoverlfow, it suggests that you should not use text manipulation tools (head also being one of these). Instead it suggests using dd. I find this approach a bit overkill, and if getting successful results with head gets it working for you, I'm willing to give it a try.
However, we do need to confirm that it works on OSX and Cygwin too.

I assume head ensures a finite sequence in contrast to cat, and it works indeed.
I hope it works on OSX and Cygwin as well.
Thanks @marc0der

This should become available on our beta channel shortly.

Nice, thanks!

I have noticed the same problem when running ansible shell command bash -lc "sdk install groovy x.x.x"  Looking at the process running at 95% cpu is a cat /dev/urandom process.  my ansible playbook points to the get.skdman.io site to run the installation, to get it to work do I need to point to beta channel? if so how do I do that?

This has been fixed in the latest release. Please confirm after upgrade.

The newest version fixed it, thank you!

That's great news!


performance issue on openshift

redhat default value for read_ahead_kb is 64KB
for all persistent volumes using csi driver we see that value is 32Mb
and this is causing degraded io on our applications on ocp cluster.
is this defined somewhere? why is redhat default value overwritten
We are using 2.3.0 operator on redhat openshift

Thanks for raising this. I've examined our procedures and we change read_ahead_kb for Nimble devices but we set it to 128KB, not 32MB. I can't find any other traces of read_ahead_kb being touched.

thanks. that is weird then
When we were on ocp 4.10 / csi operator 2.2 read_ahead_kb  was at 128K
Since the upgrade of csi driver to 2.3 and ocp to 4.12 , read_ahead_kb  has been changed to 32M
cat /sys/class/block/dm-*/queue/read_ahead_kb
32768
32768
32768
32768
32768
32768
We try manually changing the value for a Persistent volume :
echo 4096 > /sys/block/dm-27/queue/read_ahead_kb
then empty the cache :
echo 1 > /proc/sys/vm/drop_caches
But when we restart the pod, the value is overwritten and comes back to 32M
For info we are using hpe 3par as storage . Worker nodes are on Synergy.
All local disks are at default redhat value of 4096K.
cat /sys/class/block/sda/queue/read_ahead_kb
4096
We have other servers in the same synergy with rhel7 and virtual machines on vmware  with rhel7 and rhel8 with vlumes on same storage . it is @ 4096K as well
From your point of view, if csi driver is not setting this, is it on K8s, redhat kernel, storage or server level ?
sc : parameters:
accessProtocol: fc
allowMutations: compression, hostSeesVLUN
compression: "true"
cpg: XXXX
csi.storage.k8s.io/controller-expand-secret-name: primera3par-secret
csi.storage.k8s.io/controller-expand-secret-namespace: kube-system
csi.storage.k8s.io/controller-publish-secret-name: primera3par-secret
csi.storage.k8s.io/controller-publish-secret-namespace: kube-system
csi.storage.k8s.io/fstype: ext4
csi.storage.k8s.io/node-publish-secret-name: primera3par-secret
csi.storage.k8s.io/node-publish-secret-namespace: kube-system
csi.storage.k8s.io/node-stage-secret-name: primera3par-secret
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
csi.storage.k8s.io/provisioner-secret-name: primera3par-secret
csi.storage.k8s.io/provisioner-secret-namespace: kube-system
hostSeesVLUN: "true"
provisioning_type: dedup
csi specs :
spec:
csp:
affinity: {}
labels: {}
nodeSelector: {}
tolerations: []
logLevel: info
node:
affinity: {}
labels: {}
nodeSelector: {}
tolerations: []
disable:
alletra6000: true
alletra9000: false
nimble: true
primera: false
disableNodeConformance: false
iscsi:
chapPassword: ''
chapUser: ''
imagePullPolicy: IfNotPresent
disableNodeGetVolumeStats: false
controller:
affinity: {}
labels: {}
nodeSelector: {}
tolerations: []
registry: quay.io
kubeletRootDir: /var/lib/kubelet/
multipath.conf :
device {
product              "VV"
features             "0"
prio                 alua
path_selector        "round-robin 0"
rr_weight            "uniform"
path_grouping_policy group_by_prio
no_path_retry        18
hardware_handler     "1 alua"
path_checker         tur
detect_prio          yes
rr_min_io_rq         1
fast_io_fail_tmo     10
dev_loss_tmo         infinity
vendor               "3PARdata"
failback             immediate
}
}

It could be some udev rule that sets it. Have you grep'd around in /etc/udev/rules.d/?

Infact ,I have grep in /etc , but nowhere to be found

Infact ,I have grep in /etc , but nowhere to be found

What does Red Hat have to say about the matter? Are they pointing at the CSI driver?

This is what I'm seeing on OCP 4.13 with HPE CSI Driver v2.4.0-beta:
$ cat /sys/class/block/dm-*/queue/read_ahead_kb
128

I am using Nimble in this particular case though where we set it to 128.

This is what appears on a Primera, same OCP and CSI driver etc.
$ cat /sys/class/block/dm-*/queue/read_ahead_kb
8160

I've determined we can't do anything from the CSI driver perspective. Custom udev rules needs to be created for 3PAR devices on the worker nodes.
Create the below file at /etc/udev/rules.d/99-3par-tune.rules and run udevadm control --reload-rules. Also run udevadm trigger if you have attached devices.
##
# Copyright 2023 Hewlett Packard Enterprise Development LP.
#
##

ACTION!="add|change", GOTO="3par_tuning_end"
SUBSYSTEM!="block", GOTO="3par_tuning_end"
KERNEL!="sd*|dm-*", GOTO="3par_tuning_end"
KERNEL=="dm-*", ENV{DM_UUID}!="mpath-360002ac*", GOTO="3par_tuning_end"
ENV{DEVTYPE}=="partition", GOTO="3par_tuning_end"

# Please uncomment the lines beginning with ATTR to enable these rules
# and run "udevadm control --reload-rules" and "udevadm trigger" to apply for all 3PAR devices.

# set max_sectors_kb to max_hw_sectors_kb.
#ATTR{queue/max_sectors_kb}="4096"
# set read_ahead_kb to 64
ATTR{queue/read_ahead_kb}="64"
# set nr_requests to 512.
#ATTR{queue/nr_requests}="512"
# set scheduler to noop.
#ATTR{queue/scheduler}="noop"
# disable add_random.
#ATTR{queue/add_random}="0"
# disable rotational.
#ATTR{queue/rotational}="0"
# set rq_affinity to 2.
#ATTR{queue/rq_affinity}="2"

LABEL="3par_tuning_end"

Thank you Michael  for your help.
After exchanging with hpe and redhat support we finally found out that the issue was with a change in the calculation of the read_ahead_kb in the linux kernel . This has changed from GA 8.5. So yes the only way is to apply a custom uev rule?
What we are still not sure is whether this fix will work when a pod will be restarted or scheduled to run on another worker node.
As we did this already with tuneD operator but the value comes back to 32M as soon as we restart  a pod.
We will test this and update you

I think the udev rule needs to be injected and enabled by a MachineConfigOperator. I've not made one of these myself before, but here's the documentation on how to do it: https://docs.openshift.com/container-platform/4.12/post_installation_configuration/machine-configuration-tasks.html


Upgraded to SDK Oreo.

Upgraded to SDK Oreo, updated some libraries and added Notification Channel in order to display notifications in SDK Oreo.

I would like to ask you something.
What's the best way to request for music only when need it?
If I have 40 millions songs, I don't want to retrieve all data at once like we are doing here.
So, what do you recommend?

There are various ways to do it, depending on how large and dynamic your catalog is.
For 40 million songs, I imagine you may want to setup a server that sent down (mirroring UAMPs model), some number of genres only first with paginated HTTPS requests. As the user scrolls, more could be fetched.
After a genre was selected, it would perform a query to the server to get a list of songs, or, in the case of so many songs, potentially albums or something else. Again, returning paginated results.
In addition to all of this, you'd want to cache data on the device, potentially including ways to save certain things locally so the user could listen to their favorite songs offline.
I hope that helps, but I also hope you can see that it's rather complex and why it's outside the scope of the project. :)


Demo: inherited menu is not displayed

OS: Fedora 40
Browser: Firefox 128.0, Chromium 126.0
"About" page contains submenu, but this element is hidden.
ER:

AR:

Note:

the issue was resolved on my local. Will create PR soon.

In additional testing, I found that everything is implemented perfectly, and I just missed the main point of this example. Therefore, I am closing the issue.


Posts over 300 characters cause errors

Mastodon has a default limit of 500 characters per post (and I believe the underlying protocol enables even longer posts), whereas bluesky has a limit of 300.
So, this script should probably split posts > 300 characters into multiple posts for bluesky, with the all subsequent ones being a reply to the first. Maybe add a (1/2) and (2/2) to the end of each post.
This is the error I got:
/config/workspace/mastodon-to-bluesky/node_modules/@atproto/api/dist/index.js:15637
        throw new XRPCError(resCode, res.body.error, res.body.message, res.headers);
              ^

XRPCError: Invalid app.bsky.feed.post record: Record/text must not be longer than 300 graphemes
    at ServiceClient.call (/config/workspace/mastodon-to-bluesky/node_modules/@atproto/api/dist/index.js:15637:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PostRecord.create (/config/workspace/mastodon-to-bluesky/node_modules/@atproto/api/dist/index.js:26620:17)
    at async postToBluesky (/config/workspace/mastodon-to-bluesky/main.js:48:3)
    at async fetchNewPosts (/config/workspace/mastodon-to-bluesky/main.js:77:7) {
  status: 400,
  error: 'InvalidRequest',
  success: false,
  headers: {
    'access-control-allow-origin': '*',
    'content-length': '123',
    'content-type': 'application/json; charset=utf-8',
    date: 'Thu, 14 Mar 2024 13:52:26 GMT',
    etag: 'W/"7b-5OYjOucrkx456vG6nIBiH/VZWIA"',
    'keep-alive': 'timeout=90',
    'ratelimit-limit': '5000',
    'ratelimit-policy': '5000;w=3600',
    'ratelimit-remaining': '4994',
    'ratelimit-reset': '1710427946',
    'strict-transport-security': 'max-age=63072000',
    vary: 'Accept-Encoding',
    'x-powered-by': 'Express'
  }
}

Node.js v20.9.0

@nfriedly the issue should fixed now.
Messages with more than 300 chars truncated with an ellipsis symbol at the end :)


Added Micro Focus Content Manager without default only return schemas.

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

@microsoft-github-policy-service agree [company="Kapish Services Pty Ltd"]
Michael Quinn | Software Developer
[Logo  Description automatically generated]
T           1300 KAPISH

From: microsoft-github-policy-service[bot] @.>
Sent: Thursday, July 6, 2023 16:10
To: microsoft/PowerPlatformConnectors @.>
Cc: Michael Quinn @.>; Mention @.>
Subject: Re: [microsoft/PowerPlatformConnectors] Added Micro Focus Content Manager without default only return schemas. (PR #2773)
@emcueKapishhttps://github.com/emcueKapish please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerPlatformConnectors/pull/2773#issuecomment-1623051130, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBCTCQYPJPDPUU7XH3LZG43XOZJD5ANCNFSM6AAAAAAZ75X2VA.
You are receiving this because you were mentioned.Message ID: @.***>

@microsoft-github-policy-service agree company="Kapish Services Pty Ltd"
Michael Quinn | Software Developer
[Logo  Description automatically generated]
T           1300 KAPISH

From: microsoft-github-policy-service[bot] @.>
Sent: Thursday, July 6, 2023 16:17
To: microsoft/PowerPlatformConnectors @.>
Cc: Michael Quinn @.>; Mention @.>
Subject: Re: [microsoft/PowerPlatformConnectors] Added Micro Focus Content Manager without default only return schemas. (PR #2773)
@emcueKapishhttps://github.com/emcueKapish the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree
and
@microsoft-github-policy-service agree company="your company"
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerPlatformConnectors/pull/2773#issuecomment-1623057682, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBCTCQ5GUD4GHL26PUS74GDXOZKBDANCNFSM6AAAAAAZ75X2VA.
You are receiving this because you were mentioned.Message ID: @.***>

Hello @emcueKapish,
Please accept my sincere apology for long delay in responding this PR.
Could you please fix API property validation error by referring the schema in the path. https://github.com/microsoft/PowerPlatformConnectors/blob/dev/schemas/paconn-apiProperties.schema.json

@vmanoharas G'day, we have had some success with this API Properties file in the past. @Amjed-Ayoub noted that we were using multiple auth options and that we would need to use a generic API file in the next step.
connectionParameterSets is defined here: https://learn.microsoft.com/en-us/connectors/custom-connectors/multi-auth
Also, we're using it in a private setting and it works well.
Thanks,
Brett Hankinson on behalf of Kapish.


ci: Limit CodeQL analysis with the same branches for push, pull_request

Silences “Warning: 1 issue was detected with this workflow: Please make sure that every branch in on.pull_request is also in on.push so that Code Scanning can compare pull requests against the state of the base branch.”
Followup to #22385. Reported at https://chat.zulip.org/#narrow/stream/43-automated-testing/topic/duplicate.20CI.20runs/near/1401202.

Merged, thanks @andersk!


More scalable examples?

First, thanks for the excellent resource! I'm looking forward to using it on a major application rebuild. Just trying to wrap my head around it now ;)
Wondering if someone could give examples demonstrating how ui-router might scale to much larger applications (than the sample app for example)? I'm fairly new to Angular and just started reading up on ui-router. The sample app demonstrates everything in a single JS file. How might I proceed if my JS is spread across separate files (appConfig.js, appController.js, usersControllers.js, accountControllers.js etc). Can I pass my controllers to config using dependency injection? Defining them all inline isn't very feasible for a project of this size and I'm trying to keep things separated as much as possible for maintainability.

Here you could find my proposal. The solution is based on ES6 modules
https://github.com/angular-ui/ui-router/issues/1051#issuecomment-255690491


ollama 70B model on 10x32G vram rtx5000 - loading to 256G ram and cpu

What is the issue?
as in topic. something changed for rly bad in ollama - was trying to load 70B model that was working before update and now its not... all because it want to load to ram and use cpu not 10x32G rtx5000
OS
Linux
GPU
Nvidia
CPU
AMD
Ollama version
No response

Server logs will help in debugging.