ROR/BYTE_ROR_n calls in mixcolumns_n

Hi @aadomn,
Recalling this observation and your paper, specifically Figure 6 and the following paragraph on page 8.
The paper gives a count of 27 XOR, 32 AND and 16 OR instructions on top of 16 circular and 32 logical shifts, where the ANDs, ORs and shifts come from 16 instances of the form ROR(BYTE_ROR_n, m) (per your C code in this repo.).
Actually in the rust code, we use just 32 circular shifts, 2 for each rotate_rows_and_columns_m_n call.
Essentially the outer ROR call is merged into the two shifts inside BYTE_ROR_n (which become circular shifts). Assuming ROR is converted by the compiler to a single rotate instruction, then there are 16 instructions to be saved here.
I'm not sure this would make much difference where there's a barrel shifter, but for the general case it may be worth reporting.

Hi @peterdettman,
Thank you for pointing this out.
Indeed one can use 2 circular shifts instead of 1 circular shift + 2 logical shifts.
As you suggest, it would have no impact on ARM because of the barrel shifter but might lead to improvements on other platforms.
On the other hand, it can also lead to a performance decrease if no rotate instruction is available (as in the RV32I instruction set we considered in our paper for benchmarks on RISC-V microcontroller).
Anyway I agree it is worth clearly mentioning it in the code/paper for the sake of completeness. I will take care of it.
Many thanks for your feedback once again!

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 1, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
rjhintz, @iayanami, @carimo198, @abirpahlwan, @sagi, @rahulbagal, @hastalamuerte, @heaversm, @lk34041515, @richban, @createdbyeric, @CBDWchannnel, @DTrejo, @calarasmihail, @nasa03, @kill0rjo, @DPS0340, @joseeduardo11, @nixant, @Asterisk-z

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 1, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
unkoshin, @remarcable, @kleenkanteen, @PiperGuy, @SMPearly, @HectorYuan, @gorg-0, @zoroqi, @Pym, @tamasnet, @jmpage, @stevesea, @softpillow233, @JiuRiend, @harshanas, @Doomjunky, @ponomarenko, @iamazy, @fthiess, @jeremy-w

I'm not sure why this is in my notifications or why I am able to see it. Just wanted to inform you as I don't know what this is and perhaps there has been a mix up as I have no idea when or what has happened. In any case, please let me know if you know why this was in my accounts notification area. I just noticed this message was from a long time ago. I was not even aware I had this message as I have not communicated or worked using GitHub ever since I graduated from Uni.


Es6 module is undefined when using webpack and babel loader

For the file A.js in the `initA, variable B is undefined in these files:
main.js
import A from './A';
A.initA();

//A.js
import B from './B'
export default {
    self: this,
    test: ()=> {
        console.log(self === this) // this would fail is in this exmaple this is actually B
    },
    initA: ()=> {
        B.initB(this.test);  // b is undefined here
    }
};

//B.js
export default {
    callback: null,
    initB: function (func) {
        callback = func;
    },
    startTest: function () {
        this.callback();
    }
};

module.exports = {
  entry: {
    main: [
      "./main.js",
    ]
  },
  output: {
    filename: "dist.js"
  },
  devtool: "#source-map",
  module: {
    loaders: [
      // Transpile any JavaScript file:
      {test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'}

    ]
  },
  resolve: {
    // you can now require('file') instead of require('file.js')
    extensions: ['', '.js', '.json']
  }
}

any ideas?

I think I solved this, will try another issue with the babel loader repo.

I'm still having this issue, I also added a bounty in SO in reference to this issue.
http://stackoverflow.com/questions/31742855/passing-a-callback-from-module-a-to-b-with-bound-this-still-has-scope-of-b-usi

solved

@es6Test how did you solve it?


In Swift 1.2 Project crush

In my swift project...I picked an image from UIImagePickerController, before UIImagePickerController dismiss my app crush, stop at size cache

Can you give some detail infos or a demo to me, this should be good to fix this issue.


Update TUF to 2.0.0

What does this PR do?
Updates TUF to 2.0.0 and makes necessary adjustments to the code to use the new API.
Motivation
AITOOLS-46
Additional Notes

Python 2 doesn't support TUF >= 0.18.0, and the API has now changed. To avoid having to keep the code compatible with both APIs moving forward, we've decided to drop support for Python 2 in the downloader. To do this while still letting agents configured with py2 to use the downloader, work is being done to always execute the downloader with py3 in the agent (https://github.com/DataDog/datadog-agent/pull/14331). This shouldn't be merged until that is finished.
~We're still working out the conflicts between securesystemslib's and snowflake-connector's required cryptography versions. Depending on how that evolves, I may change the bump of securesystemslib to version 0.22.0 instead so that we can merge this before sorting that out~. This is now solved.
An update to the testing data (and the script that generates it) was needed to include a few more files that the new TUF version was looking for.

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

can we add datadog_checks_downloader/tests/data/ to the gitignore file?

No, it contains data used in tests.

Adding requires-python = ">=3.8" caused the omnibus build of the agent to fail because it still tries to install it for python 2; I'll have to patch that before landing this.

Also, I rebased to account for #13586 being merged. That involved migrating a couple of changes to hatch.


Crash Fix: Fixed crash in [MXFileStore saveReceipts]

There was a race condition. While the storing thread saves a read receipt, it may have just been replaced (and released) by a new incoming one managed by the UI thread.
It should fix this crash:
[2016-03-28 13:10:25 +0000]
-[__NSCFType encodeWithCoder:]: unrecognized selector sent to instance 0x13a75bb40
Application: Vector (im.vector.app)
Application version: 0.1.2 (r0)
Matrix SDK version: 0.6.4
Build: develop #551
iPhone 9.3
(
0   CoreFoundation                      0x0000000183db2e50  + 148
1   libobjc.A.dylib                     0x0000000183417f80 objc_exception_throw + 56
2   CoreFoundation                      0x0000000183db9ccc  + 0
3   CoreFoundation                      0x0000000183db6c74  + 872
4   CoreFoundation                      0x0000000183cb4d1c _CF_forwarding_prep_0 + 92
5   Foundation                          0x00000001846feb80  + 1180
6   Foundation                          0x0000000184700034  + 448
7   Foundation                          0x00000001846ffc54  + 936
8   Foundation                          0x00000001846feb80  + 1180
9   Foundation                          0x000000018475b760  + 236
10  Vector                              0x00000001001339b0 Vector + 1227184 -> __27-[MXFileStore saveReceipts]_block_invoke (in Vector) (MXFileStore.m:957)
11  libdispatch.dylib                   0x00000001837fd4bc  + 24
12  libdispatch.dylib                   0x00000001837fd47c  + 16
13  libdispatch.dylib                   0x00000001838094c0  + 864
14  libdispatch.dylib                   0x0000000183800f80  + 464
15  libdispatch.dylib                   0x00000001837fd47c  + 16
16  libdispatch.dylib                   0x000000018380b914  + 2140
17  libdispatch.dylib                   0x000000018380b0b0  + 112
18  libsystem_pthread.dylib             0x0000000183a15470 _pthread_wqthread + 1092
19  libsystem_pthread.dylib             0x0000000183a15020 start_wqthread + 4
)

lgtm


Don't run tests when cross-compiling

Motivation for this change
A step towards basic cross compilation (see #30882 for the next step).
This only handles a small fraction of cases which will ultimately need to be handled. That being said, it's a large enough fraction to compile everything up to systemd.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Are there any packages whose check phase works during cross compilation?

Orivej Desh<EMAIL_ADDRESS>writes:

Are there any packages whose check phase works during cross compilation?

While I can't say "no" with certainty, I would expect they would be the
exception, not the rule.
Another option here would be to unconditionally disable tests when
cross-compiling. However, this seems unappealingly ad-hoc and one of
those things that you will some day come to regret.

What if the mkDerivation function grew a doCheck parameter which defaulted to true for host builds and false for target builds? It could be overridden per package, but would have correct default value for the common case. I think the problem now is that doCheck is just passed right to the shell. (Or perhaps the same mechanism can be implemented at shell level too.)

@bjornfor the problem is the default is always off. This would be easy to fix if the default was always on, in which we'd make it always on just for cross.


feta:add content_zh/blog/2017/_index.md

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: wbtlb
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fleeto
If they are not already assigned, you can assign the PR to them by writing /assign @fleeto in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @wbtlb. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


L2 regularization and Early stopping

Added L2 regularization details.
Added Early stopping details.
Ref : http://wavelab.uwaterloo.ca/wp-content/uploads/2017/04/Lecture_3.pdf

Thanks!!


Save new passwords using BCrypt hash instead of MD5

For login both hash formats are still supported. This change is the service layer change needed for the user registration functionality developed at Luke.

Thanks! Sorry for the long wait, but the code has now been merged to develop and will be included in the 1.37 release later this month.


[FR]: Add minimum seeders

Is your feature request related to a problem? Please elaborate.
It's always annoying when there are no more seeders on a torrent
Describe the solution you'd like
We should be able to add a minimum seeders condition before cleanup. This would allow torrent not to die if we're the last and only seeder, for instance.
Does your solution involve any of the following?

[X] New config option
[ ] New command option

Describe alternatives you've considered
Tried to add a tag that is ignored by the cleanup funcion. Needs manual intervention.
Who will this benefit?
Allows users to be sharing more fairly the torrents on some private trackers
Additional Information
No response

new config min_num_seeds under share_limits has been added, please test and let me know if you find any bugs

Do you have a docker image which I could test against?

Yes you can test using the latest develop branch. bobokun/qbit_manage:develop


No logging when log size reaches 2 gigabyte

Minor issue: When a log file reaches 2 gigabyte nothing further is written to it. System keeps running but without anything logged.
Suggestion: Check log size periodically and rotate log when needed.

fixed and in master branch. once it reaches 1GB the old log file is renamed and a new one is opened.


Handle asarray/asanyarray cases where like is a dask.Array

Follow-up case to https://github.com/dask/dask/pull/8054 where the input is a Dask array and like= is another Dask array but with a different chunk type.
Before:
>>> import numpy as np, cupy as cp, dask.array as da
>>> np.asarray(da.array([1, 2, 3]), like=da.from_array(cp.array(())))
dask.array<array, shape=(3,), dtype=int64, chunksize=(3,), chunktype=numpy.ndarray>

After:
>>> import numpy as np, cupy as cp, dask.array as da
>>> np.asarray(da.array([1, 2, 3]), like=da.from_array(cp.array(())))
dask.array<asarray, shape=(3,), dtype=int64, chunksize=(3,), chunktype=cupy.ndarray>

Tests failing here seem to be the same as in https://github.com/dask/dask/pull/8127 .

cc @jsignell (in case this is of interest 🙂)

Thanks @jsignell and @jakirkham !


Custom handlers feature request

It's great that Novel allows to implement api/generate and api/upload but it would be great to be able to pass my own functions. I can imagine a props API like onGenerate={() => {}} and onImageUpload={() => {}}. I have graphql gackend and I need to implement #200 auth and other stuff

+1 on this, I'm also confused on where the editor reads image from after it has been uploaded.


Using ESP8266Scheduler to make HTTPS requests without blocking loop().

Hello,
I am considering using ESP8266Scheduler to make HTTPS requests every few seconds without blocking execution of the main loop() function. Is ESP8266Scheduler designed for this kind of use case? I am having a hard time determining if the scheduled tasks run without blocking the main loop().

Hello,
I should have phrased my question more clearly. I am aware that a single core system cannot achieve true concurrency, but I wanted to know if this library would enable the ESP to give the appearance of concurrency. Anyway, it sounds like this library is indeed appropriate for my use case. Thank you!


Send-EmailMessage: More Flexible Attachments and Linked Resources

The ability to have more flexible attachments (other than just specifying path) would be useful.
The easiest way to do this is to change the $Attachment Parameter to [object[]] type and rely on MimeKit.AttachmentCollection.Add() which supports both Strings and MimeEntity
This would allow one to change attachment meta-data, such as Content-Disposition which is required for inline images in HTML emails in some emails although this doesn't really help with LinkedResources. Perhaps LinkedResources can be exposed as a parameter too? Could be a number of ways to implement this as a more polished easy-to-use solution, maybe a separate -InlineAttachments Parameter that handles both?
https://www.mimekit.net/docs/html/Creating-Messages.htm#UsingBodyBuilder

Quick and dirty idea if one doesn't want to deal with MimeUtils.GenerateMessageId handling
if ($InlineAttachments) {
	foreach ($A in $InlineAttachments) {
		$LR = $BodyBuilder.LinkedResources.Add($A)
		$LR.ContentId = Split-Path -Path $A -Leaf
	}
}

Care for a PR? Having inlineattachments is required, especially if I want to support the same thing as PSWriteHTML module have for sending emails.


Flow graph control flow nodes - 1

Changes

Add the following Control Flow nodes (lifted from: https://docs.google.com/document/d/1MT7gL-IEn_PUw-4XGBazMxsyqsxqgAVGYcNeC4Cj_9Q/edit#heading=h.m04l33f79oe5)

Counter

DoN

MultiGate

Switch

Throttle

WaitAll

WhileLoop

Move some nodes to the Control Flow directory:

ForLoop

Timer

Conditional

To set a value on a FlowGraphDataConnection point, now you need to specify a context. This is because, if we have the same graph running with multiple contexts, the value of a data connection can be different between them. I wasn't differentiating them before, which was an oversight.

When a block executes, it now knows which of its input signals activated the block. This is needed for blocks that have a "reset" input, such as some of the conditional blocks added.

Example PGs

#RKQX23#10: DoN - Click on the sphere to log a message max 5 times, click on the box to reset the DoN counter
#BWRXG9#2: Throttle - Log a message every 3 seconds using onTick event and Throttle, click on the sphere to reset the throttle
#RKQX23#7:  Multigate - without looping, click on the sphere to log the number of execution
#RKQX23#8:  Multigate - with looping, click on the sphere to log the number of execution
#RKQX23#9: Multigate - with looping and randomizing, click on the sphere to log the number of execution
#RKQX23#6: Switch - Change the switch's value on the code
#J1N2GP#5: Wait all - Click on the 3 spheres to open the door, click on the box to reset the wait all count
#9C7VK6#1: Counter - Log the value on the counter after a delay, explore the value in two different contexts

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Yes I was surprised by the lack of context but now it makes total sense. Very close to NGE actually
Looks good to me

Snapshot stored with reference name:
refs/pull/14327/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14327/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14327/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14327/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14327/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14327/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14327/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14327/merge#BCU1XR#0

A lot of the public properties/functions do not have code comments.

@sebavan do you mean the _updateOutputs and _execute functions? These are just overriding the existing functions in the base block, should I add this as a comment in all of them?

@sebavan added some more docstrings

A lot of the public properties/functions do not have code comments.

@sebavan do you mean the _updateOutputs and _execute functions? These are just overriding the existing functions in the base block, should I add this as a comment in all of them?

Oh no sorry I mainly mean properties like

Visualization tests for webgl1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14327/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14327/merge/testResults/webgl2/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for webgl1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14327/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14327/merge/testResults/webgl2/index.html
If tests were successful afterwards, this report might not be available anymore.


Change logger format

Coverage remained the same at 79.798% when pulling de50fd7a0d9f6dee9cee1617fbdb8c811dc525bb on change-logger-format into 08695a09a36142a0bdbb2148eb19876c0fb5a852 on master.

I approve however it has an extra commit that it shouldnt

@fadeenk
these are two separate pull requests. not sure why GitGub is listing them both here

Just looked at it and your logger branch is based of (branched from) the bug fix instead of master thats why


[SHIP-623]Enable Polygon ZkEvm Cardona

Enable Polygon ZkEvm Cardona

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (349d480) 16.89% compared to head (db2d01f) 16.89%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

logstream/logstream_handlers.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #828   +/-   ##
=======================================
  Coverage   16.89%   16.89%
=======================================
  Files          36       36
  Lines        4380     4379    -1
=======================================
  Hits          740      740
+ Misses       3561     3560    -1
  Partials       79       79

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Implement an event log retrieval endpoint

That debug endpoint would allow us to fetch all controller received events.

Another random remark (sorry!): It could be nice to support some sort of distributed logging to follow what happens across the cluster. There are various thingies based on a google whitepaper around, AppDash being one written in go:
http://research.google.com/pubs/pub36356.html
https://github.com/sourcegraph/appdash

This was implemented with commit 931f870c1751d74b5e66849a6eeea509a33f66bf


Floating point exception (core dumped)

Hello,
When I run the main script, It doesn't work and I get this message in console :
Floating point exception (core dumped)
When I set the randomized bool to true, it works. I want to do it with rarity though. What do I need to cdo ? I checked if the sum of all rarities was 100.

My collection was 888, I set it to 900 and now it works ! thank you

My collection was 888, I set it to 900 and now it works ! thank you

hi how to run it please


Article POI callout

The POI callout component is currently only used in articles. Articles that mention (and link to) a POI on-site will use this component to show more information about the POI in a tooltip-like menu when the link is hovered.
The article body component has been updated as well in order to accommodate the POI callout. POI data is loaded via AJAX in the article body component, cached and then passed to the POI callout component. A promise is used to make sure the data is ready. Lastly, matchMedia is used to conditional initialize or destroy the POI callout inside of the article body.

Verbal OK from @jcreamer898.


.mat-paginator-range-label styles is not customizable

Bug, feature request, or proposal:
Bug (or proposal, I'm not sure).
What is the expected behavior?
MatPaginator range cannot be fully customize with CSS.
What is the current behavior?
MatPaginator range is fully customizable with CSS.
What are the steps to reproduce?
As I see, Angular Material engine isn't adding tag attribute _ng... to div with class mat-paginator-range-label. So if there is any style in module style.css file it has no effect because of that tag attribute (_ng...) is added to style.
Example, user module style.css:
.mat-paginator-range-label {
  margin: 0 !important;
}

The same style.css but after Angular processing, in browser:
  .mat-paginator-range-label[_ngcontent-c17] {
    margin: 0 !important;
  }

But div that I've talking about looks like:

So the style.css gives no effect.
What is the use-case or motivation for changing an existing behavior?
It's more flexible (I guess).
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/core": "^4.4.6",
"@angular/material": "^2.0.0-beta.12",
"@angular/platform-browser": "^4.4.6",
"@angular/platform-browser-dynamic": "^4.4.6",
...

"typescript": "~2.5.3"

macOS High Sierra, Safari, Google Chrome
Is there anything else we should know?
I don't think so.

This is an "Angular thing" - styles by default will only affect the elements you write in your component's template. This is a property of Angular's view encapsulation. Styling a child component's template means that you are trying to reach beyond your component's encapsulation.
To resolve this, set ViewEncapsulation.None on your component.
Before:
https://plnkr.co/edit/E6F8cjFoxBoiNG7J6zAV?p=preview
After:
https://plnkr.co/edit/rJ7S5A37eSpFLPwR8Bmf?p=preview

But it will affect each paginator of my project, right? Not just my module paginator.

This is my original behavior with our your suggestion but without my needs (margin for paginator range): https://stackblitz.com/edit/angular-h3ckjw
And this is with encapsulation: ViewEncapsulation.None,: https://stackblitz.com/edit/angular-nt88qt
I changed some table styles too and now ViewEncapsulation.None doesn't touch just my paginator but almost everything. Is there any way to workaround it?

@andrewseguin can you help me with that?

@Shrralis You lost selector specificity when removing view encapsulation. Add a host class to your component and use it to add some more specificity to your styles. Otherwise the table's native styles are actually overriding yours.
https://stackblitz.com/edit/angular-lya35k?file=app/tables/manufacturers-table/manufacturers-table.component.css

@Shrralis as you mentioned, setting ViewEncapsulation.None will make all of your component's styles globally effective. You have two options,

Scope all of your un-encapsulated component's styles with a scoped parent selector
.only-affect-these-components {

  .mat-paginator-range-label {
    margin: 0;
  }
}

<div class="only-affect-these-components">
  <mat-table> ... </mat-table>
  <mat-paginator>...</mat-paginator>
</div>

Create a global style like this and add it to your global stylesheet
// global styles
.mat-paginator.marginless-paginator-range-label {

  .mat-paginator-range-label {
    margin: 0;
  }
}

<mat-paginator class="marginless-paginator-range-label">...</mat-paginator>

There is more information in this guide!

@andrewseguin @willshowell you're cool! Much thanks!


AWS 2-6: Add Hybrid Tiling Endpoint

Once the research is done for #10, implement the hybrid tiling endpoint and demonstrate its use.
This endpoint should:

[x] Be configurable with an S3 bucket for cached entries
[x] For every request, check if there is an image in S3. If so, it should serve it.
[x] If not, it should generate it, then save to S3, then serve it.
[x] If it cannot be generated, it should return a 500
[x] Return a 404 if the specified layer is not found

Done in https://github.com/WikiWatershed/model-my-watershed/pull/3655


Add pre-commit configuration

Follow-up on https://github.com/pygeos/pygeos/pull/328

@caspervdw this adds a pre-commit configuration to use locally, so you can ensure your commits will pass our CI.
I also updated the lint.yml to use this instead of manually installing/running black/flake8/isort. This part is not necessary for this PR, but I think one big advantage of doing so is to ensure your local linting check (with pre-commit) exactly matches what happens on CI.

Looks good, thanks!


feat(cli): write implement of work with draft

Pull Request Test Coverage Report for Build 847905763

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.83%

Totals

Change from base Build 842941456:
0.0%

Covered Lines:
4246

Relevant Lines:
5253

💛  - Coveralls


Search feature for documentation site

Changes
This PR adds a chatbot (powered by OpenAI) to help users on the iTwinUI documentation site. All the code is in /features/search. I added a README.md inside that folder.

I worked mainly on the logic but less on the UI. When the logic starts working well, I will give more time to the UI.
There still is some testing to do to find out which queries provide incorrect results or even correct but poor results. Thus, your feedback after testing would be greatly appreciated 🙂
Logic/workflow

create_chunks/create_chunks.js reads all .mdx files in apps/website/src/pages/docs and creates docs_chunks.json with an array of chunks for each new heading level. This step can run in the CI/CD after any change to any docs mdx file.

// Sample input:
lines = [
 'Alert is an element',
 '## Appearance',
 'Alert should be concise',
 '### Informational',
 'Default style',
 '## Placement',
 'Either inline or sticky',
]
title = 'Alert'

// Sample output:
[
 {
   "header": ['Alert'],
   "content": 'Alert is an element',
 },
 {
   "header": ['Alert', 'Appearance'],
   "content": 'Alert should be concise',
 },
 {
   "header": ['Alert', 'Appearance', 'Informational'],
   "content": 'Default style',
 },
 {
   "header": ['Alert', 'Appearance', 'Placement'],
   "content": 'Either inline or sticky',
 },
]

We then generate embeddings for each chunk (info)
When the user types a query, we encode the query too.

We then compare the query vector with all the saved vectors for each chunk.
We give the N (some number) most similar chunks to OpenAI's text generation API to summarize the chunks to answer the user's query.

Superseded by #1414


Benchmark example does not work for me

When I run the benchmark I seem to end up in an inf. loop.
build$ ./example_benchmark
[never seem to end]

The program never leaves the loop in run():
        // empty receiver queue
        while (true)
        {
            Packet p = con.recv(100);
            if (!p)
            {
                break;
            }
        }

Is there something I am missing? I have changed the address in the source:
 int main()
 {
     // std::vector<std::string> uris({"radio://*/80/2M/E7E7E7E7E7", "radio://*/90/2M/E7E7E7E7E7"});
-    std::vector<std::string> uris({"radio://*/80/2M/E7E7E7E7E7"});
+    std::vector<std::string> uris({"radio://0/80/2M/DEADBEEF"});

This is a bug. We used to filter empty RSSI packets, which made the code work and the overall communication nicer (i.e., identical to USB). However, there were places in crazyflie-lib-python that made assumptions about receiving the empty packets too.


Nudge user on classic mint on bsx

Missing dialogue on https://beta.kodadot.xyz/bsx/create to nudge the user to sign the transaction.
I guess we had something like that which says user to sign a transaction on preloader?

@yangwao so which nudge is this? do we have it on rmrk?


BeamSearchDecoder with non LSTM cells raises ValueError exception

System information

OS Platform and Distribution: Tensorflow Docker Container based on image tensorflow/tensorflow:2.2.0-jupyter
TensorFlow version and how it was installed (source or binary): 2.2.0
TensorFlow-Addons version and how it was installed (source or binary): tfa-nightly  0.11.0.dev20200520032238
Python version: 3.6.9
Is GPU used? (yes/no): no

Describe the bug
Working with @w4nderlust on this PR https://github.com/uber/ludwig/pull/699  we encountered an issue with seq2seq beam search.  If we use SimpleRNNCell or GRUCell with beam search and no Atttention we see this error:
ValueError: The two structures don't have the same nested structure.
First structure: type=list str=[<tf.Tensor: shape=(384, 256), dtype=float32, numpy=
array([[0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.],
       ...,
       [0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.]], dtype=float32)>]
Second structure: type=int str=256
More specifically: Substructure "type=list str=[<tf.Tensor: shape=(384, 256), dtype=float32, numpy=
array([[0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.],
       ...,
       [0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.],
       [0., 0., 0., ..., 0., 0., 0.]], dtype=float32)>]" is a sequence, while substructure "type=int str=256" is not

No error occurs when we use LSTMCell with beam search and no Attention.
Refer this posting for more context.
Code to reproduce the issue
Minimal Working example (NOTE: updated minimal working example to simplify code)
import numpy as np
import tensorflow as tf
from tensorflow import keras
import tensorflow_addons as tfa

# ValueError exception raised for both SimpleRNNCell and GRUCell

#DECODER_CELL_TYPE = keras.layers.SimpleRNNCell  # Raises ValueError Exception
#DECODER_CELL_TYPE = keras.layers.GRUCell        # Raises ValueError Exception
DECODER_CELL_TYPE = keras.layers.LSTMCell        # Does not raise ValueError Exception

VOCAB_SIZE = 100
EMBED_SIZE = 10
RNN_UNITS = 256
INPUT_SEQUENCE_SIZE = 10
OUTPUT_SEQUENCE_SIZE = 15
BATCH_SIZE = 128
BEAM_WIDTH = 3
SIMULATE_LSTM_ENCODER = False

#============== simulate output from encoder ========================
encoder_outputs = tf.zeros([BATCH_SIZE, RNN_UNITS], dtype=tf.float32)
if SIMULATE_LSTM_ENCODER:
    encoder_state = [tf.zeros([BATCH_SIZE, RNN_UNITS], dtype=tf.float32),
                     tf.zeros([BATCH_SIZE, RNN_UNITS], dtype=tf.float32)]
else:
    encoder_state = [tf.zeros([BATCH_SIZE, RNN_UNITS], dtype=tf.float32)]

# ================ Setup Decoder =====================
embeddings_dec = keras.layers.Embedding(VOCAB_SIZE, EMBED_SIZE)
decoder_cell = DECODER_CELL_TYPE(RNN_UNITS)
output_layer = keras.layers.Dense(VOCAB_SIZE)

GO_SYMBOL = VOCAB_SIZE - 1
END_SYMBOL = 0
batch_size = BATCH_SIZE
encoder_sequence_length = tf.convert_to_tensor(
    np.array([INPUT_SEQUENCE_SIZE] * BATCH_SIZE),
    tf.int32
)

decoder_input = tf.expand_dims(
    [GO_SYMBOL] * batch_size, 1)
start_tokens = tf.fill([batch_size], GO_SYMBOL)
end_token = END_SYMBOL

decoder_emb_inp = embeddings_dec(decoder_input)

if DECODER_CELL_TYPE._keras_api_names[0] != 'keras.layers.LSTMCell':
    # adjust for non LSTMCell decoder
    encoder_state = [encoder_state[0]]

#================= setup for beam search ==================
decoder_initial_state = decoder_cell.get_initial_state(
    batch_size=BATCH_SIZE,
    dtype=tf.float32
)

if not isinstance(decoder_initial_state, list):
    decoder_initial_state = [decoder_initial_state]

tiled_decoder_initial_state = tfa.seq2seq.tile_batch(
    decoder_initial_state,
    multiplier=BEAM_WIDTH
)

decoder = tfa.seq2seq.beam_search_decoder.BeamSearchDecoder(
    cell=decoder_cell,
    beam_width=BEAM_WIDTH,
    output_layer=output_layer
)

#================= perform beam search  =====================
decoder_embedding_matrix = embeddings_dec.variables[0]

(
    first_finished,
    first_inputs,
    first_state
) = decoder.initialize(
    decoder_embedding_matrix,
    start_tokens=start_tokens,
    end_token=end_token,
    initial_state=tiled_decoder_initial_state
)

inputs = first_inputs
state = first_state

for j in range(OUTPUT_SEQUENCE_SIZE):
    outputs, next_state, next_inputs, finished = decoder.step(
        j, inputs, state, training=False)
    inputs = next_inputs
    state = next_state

@dynamicwebpaige this is another blocker, similar to the similar problem that was solved before.

Thank you for the quick resolution!

Thank you as well.  I can confirm the fix addresses the issue we encountered.


phenocode page: tree explorer

Allow a user to see where the current phenocode is on phenocode tree.
User could be able to click on upper and lower tree levels to navigate to other phenocode pages.

Canceled. Maybe something similar will be done with disease trajectories.


Word Processor v3.0.6

When I press a key it is inserted in both its upper and lower case version. When I press the arrow keys characters are inserted instead of triggering movement in the document.
http://scratch.mit.edu/projects/88564231/
http://phosphorus.github.io/#88564231
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Duplicate of #514


Merge gems?

Hi,
I'm the author of Barby [1], a wrapper for multiple barcode symbologies in Ruby. We're currently working on getting proper PDF417 support in place; currently, there's only a vendored Java version available. What I have in mind is to take out the Java bits, merge them with the C version and release this as a separate gem. We have some of it in place already [2], but I think it would be silly if there were two very similar gems for doing PDF417, and it seems you've already done a bit of work on this one..
So here's my question: Would you be open to a PR which merges in some Java bits along with the necessary scaffolding to make it work the same as the C version (AFAIK it's a port). I think it could be done quite cleanly. It would in reality become two gems, but AFAICT RubyGems handles this transparently so that it does not affect the end user, they get the version they're supposed to have. The (existing) wrapper class just requires the "lib" class as usual, which will be either C or Java.
[1] http://github.com/toretore/barby
[2] https://github.com/Keeguon/barby-pdf417

+1 any updates?

@bonol as far as I know you can install both barby and barby-pdf417 gems and require the pdf417 barcode which should load the one from my gem which is compatible with MRI and jRuby. I haven't tested those in a while so if you encounter some issues please let me know.


Can VSCode automatically run python scripts in two or more terminals at the same time?

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description
Can VSCode automatically run python scripts in two or more terminals at the same time without manually entering the path?
When I create a new terminal in VSCode to run the specified file, (it is still running), and then when I click the run button ("Run python file in terminal"), it will automatically run in the terminal that appears to be specified(not the newly created terminal). They look exactly the same python terminal.
Is it possible to set up VSCode so that it can automatically synchronize and run their respective files?
Since they are in the same terminal by default, the running results must be output in sequence, and if I use an external cmd window to debug, the results also need to be run in sequence, otherwise a new cmd window will not be able to be opened.
Thanks.
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

+1
This did not used to be the default behavior. It used to run in the currently active terminal window. The new behavior is really annoying since it does not even look if the "Python" tty is executing and just tries to execute there. At least give a setting for the wanted behavior.

pycharm professional can run multiply python file in split terminals automatically.

I really want this feature

I used VSCODE before. You can create a new terminal every time you click "run python file", and each py file is independent.
After trying to open the interactive window today, I can't set it back anymore. I am very troubled.
I need to open multiple py files independently at the same time, in different python terminals.

since it does not even look if the "Python" tty is executing and just tries to execute there

This would require us to know when the current terminal command finishes command execution, so could you please open up a feature request at https://github.com/microsoft/vscode/issues to provide an API for the such?
Otherwise it looks like what we can do is create a new "Python" terminal for every different file. Or just use the currently active terminal window instead of creating our own "Python" terminal.

is possible to replicated the feature from Atom - Hydrogen, having an option to have a terminal window per python file
Recently switch over to VSCODE because Hydrogen seem to be down/killed

I would suggest giving the option to allow "Run python file in terminal" to associate a Python terminal per file.

We've incorporated the suggestion in https://github.com/microsoft/vscode-python/pull/21202 to open a different "Python" terminal for every file.
We hope to solve this issue generally in #15770.

Fix should be out in the pre-release version of the extension, use the following to try it out:

huge thanks!

Marking issue as verified assuming folks have tried it out and are happy with it.


Add offboarding checklist template

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

carlosfelix2
24
2h 55m
97

MauriceReeves-usds
24
58m
12

jimduff-usds
17
4h 29m
9

kevinhaube
16
50m
14

whytheplatypus
14
18h 33m
21

TurkeyFried
11
1h 37m
2

TomNUSDS
11
21m
17

cwinters-usds
11
1h 39m
5

sethdarragile6
10
1h 22m
3

ahay-agile6
9
1h 7m
0

jbiskie
9
1h 11m
3

jorg3lopez
7
1h 19m
5

clediggins-usds
7
25m
0

oslynn
5
20m
1

brick-green-agile6
5
2h 16m
3

rhood23699
4
1d 15h 28m
0

snesm
3
1d 3h 16m
1

bgantick
2
1h 9m
3

JosiahSiegel
2
43m
0

acoushawk
2
39m
0

meckila
2
8h 26m
9

jh765
2
2h 6m
8

jeremy-page
1
18h 23m
0

Oh, other task ideas:

Reassign any GH issues, PRs to others.
Resolve if there are active GH branches that need to be kept and delete unused ones.
Are there any ongoing email/slack threads with external agencies/states that need picking up by someone else.


Xvid Videos Cannot Be Played By DizqueTV

It appears that any time an xvid file is included in a channel, DizqueTV outputs a "this stream is having technical difficulties" error. This happens whether the channel is being played through Plex or VLC. As a test, I created a channel with nothing but various xvid video files and they all fail to play repeatedly.
I attempted to add xvid, mpeg4, m4v and mp4 to the list of supported video formats in the Plex settings in DizqueTV but nothing helped.

I guess it's ffmpeg not being able to play it.
If anything you are better off removing xvid from the plex list, so that plex transcodes it before sending it to dizquetv.

It wasn't in the Plex list originally.

Looks like the version of ffmpeg included in ubuntu does indeed include support for libxvidcore but still seems like xvid videos fail to play.


Add -O3 to Numerical tests, with more extensible interface for compiling models

Prior approach just added a list of options to the "compile model" function, which is part of our compiler interface. This is not very flexible for future extensions, as every new field will generate a new function type, for which we will eventually provide backward compatibility. So In this approach, we provide a list of <key, value> that are efficiently scanned. In the future, we can simply add new keys (part of an enum) without having to change the function processing the compilation of our models.
namespace onnx_mlir {
ONNX_MLIR_EXPORT int omCompileFromFile(const char *inputFilename,
    const char *outputBaseName, EmissionTargetType emissionTarget,
    const onnx_mlir::OptionKind *optionKey, const char **optionVal,
    const int optionNum, const char **errorMessage) ;

where the keys are currently
/* Compiler options to describe the architecture, optimization level,... */
enum OptionKind {
  TargetTriple,     /* Kind for mtriple string. */
  TargetArch,       /* Kind for march string. */
  TargetCPU,        /* Kind for mcpu string. */
  CompilerOptLevel, /* Kind for '0'...'3' string describing OptLevel. */
};

This is a C interface. For initializing the compiler in our numerical benchmarks, we use a C++ interface that works as follows.
  setCompileContext(ctx, {OptionKind::CompilerOptLevel}, {"3"});

@AlexandreEichenberger this seems to supercede #1113 ... should you close that one?

Jenkins Linux amd64 Build #3459 [push] Add -O3 to Numerical tes... started at 18:35

Jenkins Linux s390x Build #3451 [push] Add -O3 to Numerical tes... started at 19:35

Jenkins Linux ppc64le Build #2567 [push] Add -O3 to Numerical tes... started at 19:41

Jenkins Linux s390x Build #3451 [push] Add -O3 to Numerical tes... passed after 42 min

Jenkins Linux ppc64le Build #2567 [push] Add -O3 to Numerical tes... passed after 53 min

Jenkins Linux amd64 Build #3459 [push] Add -O3 to Numerical tes... passed after 56 min


Submission for AAVE StaticLMToken contest

This PR needs to be from your private certora-contest branch to your certora branch. Closing this PR.


Where is "api-certs" supposed to land?

The first time I tested on my personal server/domain, I ran acme-dns directly as root user at /root/go/bin/acme-dns and the api-certs directory appeared next to it shortly. I take it those will be stored at the executable's working directory?
On attempting to run acme-dns as a systemd service (with low-privilege acme-dns user) on our company's server/domain, we finally got the auto-certificate registration with Let's Encrypt. However I do not see any api-certs directory at the re-located /usr/local/bin/acme-dns executable directory, nor the home directory /var/lib/acme-dns (which hosts the database file).
Where is api-certs located in this context?

Have a look at issue 172 < https://github.com/joohoi/acme-dns/issues/172 > I had the same question/problem

Have a look at issue 172 < #172 > I had the same question/problem

Hmmm, but the thing is, acme-dns runs fine with the low-privilege acme-dns user account. It definitely registered its own cert with LE, since we can interface with it on HTTPS. Where would "api-certs" be for this case?

For whatever reason, this time round I managed to find the api-certs directory at /usr/local/bin/acme-dns the directory of the executable. So it is indeed relative the the process' current working directory. Strange why it did not show up with ls so many times last week.


Rolebindings Requests Spiking While Provisioning Downstreams At Scale

Rancher Server Setup

Rancher version: v2.6-663df439bffbcad16c171c6ce2acf8073fa23044-head
Helm Chart: rancher-2.6.2

v1.21.4+k3s1

Cert Details: LetsEncrypt

Information about the Cluster

Kubernetes version:
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.4+k3s1", GitCommit:"3e250fdbab72d88f7e6aae57446023a0567ffc97", GitTreeState:"clean", BuildDate:"2021-08-19T19:09:53Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Cluster Type: Local

Describe the bug
While provisioning downstream clusters on a Medium-sized Rancher server the rolebindings requests are spiking as heavily. This seemed to be resolved with this PR, however the rolebindings spikes seem to have returned.
To Reproduce
Setup a Local cluster
Provision downstreams up to the cluster's expected limit
View API Server Metrics
Confirm rolebindings POST and PATCH requests are spiking beyond the expected amount during scale-in
Result
Expected Result
Rolebindings PATCH requests should be significantly reduced.
Screenshots
Current API Server Metrics:

Expected API Server Metrics:

SURE-4363


Fixed ResetPCD bypassing AlwaysOnDisplay, added CenterText Option.

Again fixed a few things as a request + some issues I ran into on my server. Felt as if I should try and contribute them. <3


Slacker Not Scrobbling

It appears to be just a Slacker thing. Other sites I scrobble from seem to be working properly.

I've just tested Slacker scrobbling, works fine.

Damn, I hate when it's just me. Even the old re-authenticate trick didn't work. :/

How is it "not scrobbling"? Is Web scrobbler does not recognize the song metadata? Or anything else?
Anyway, it's would be good to see your logs: https://github.com/david-sabata/web-scrobbler/wiki/How-to-debug-the-extension

It's not recognizing the track, yes. Acting as if nothings playing. This was what was at the bottom of the log. I included the last successful scrobble from Google Music before I switched to Slacker.
Tab 471: state update: {"track":"Let's Get It On","artist":"Marvin Gaye","album":"Let's Get It On","uniqueID":null,"duration":291,"currentTime":4,"isPlaying":false,"url":{"hash":"#/wmp","search":"","pathname":"/music/listen","port":"","hostname":"play.google.com","host":"play.google.com","protocol":"https:","origin":"https://play.google.com","href":"https://play.google.com/music/listen#/wmp","ancestorOrigins":{}},"trackArt":"https://lh4.ggpht.com/R9IXfFDs-ycDkPNqCD188cnFGTsf2Ad474pywcFjMwLZBHu6CA0X7AF-OioeNxYP2e5dpKQ4e5I=s90-c-e100"}
controller.js:129 Tab 471: isPlaying state changed to false
inject.js:120 -- subsequent ajax navigation, the scripts are already injected
controller.js:48 Tab 471: received empty state - resetting
notifications.js:181 Notification onClicked: C2A89FF3-A009-4731-8C66-D482AABC0176
inject.js:79 -- loaded for the first time, injecting the scripts
inject.js:107 	injecting vendor/jquery-2.1.0.min.js
inject.js:107 	injecting vendor/underscore-min.js
inject.js:79 -- loaded for the first time, injecting the scripts
inject.js:107 	injecting vendor/jquery-2.1.0.min.js
inject.js:107 	injecting core/content/reactor.js
inject.js:107 	injecting vendor/underscore-min.js
inject.js:107 	injecting core/content/connector.js
inject.js:107 	injecting core/content/reactor.js
inject.js:107 	injecting connectors/v2/slacker2.js
inject.js:107 	injecting core/content/connector.js
inject.js:107 	injecting core/content/starter.js
inject.js:107 	injecting connectors/v2/slacker2.js
controller.js:324 Tab 164: created controller for connector: {"label":"Slacker (main page)","matches":["://www.slacker.com/"],"js":["connectors/v2/slacker2.js"],"version":2}
inject.js:107 	injecting core/content/starter.js
controller.js:324 Tab 164: created controller for connector: {"label":"Slacker (main page)","matches":["://www.slacker.com/"],"js":["connectors/v2/slacker2.js"],"version":2}
inject.js:120 -- subsequent ajax navigation, the scripts are already injected
21572 console messages are not shown.

Strange. Seems like it's broken due to Slacker site changes, but scrobbling works for me.
Well, there's another place where Web scrobbler stores its logs. It is developer console shown by Ctrl+Shift+I. You need "Console" tab. It's often a lot of output in this console, so you can use filter to find needed logs:

Can you try to play some song and send logs from that console?

I didn't see any logging with that filter one, but the second image is what it looked like unfiltered right after the song started. Not sure if it help.

Stopped scrobbling from Slacker... all other scobbling sources still work...
Every track says "The song not recognized..."

@scruff67  I fixed Slacker scrobbling in #1185. It would be great if you check the latest version from the repository.

Oh wow, great - thank you!
Now the only problem is I'm a complete noob with installation of versions not from the Chrome Store... on the bright side I can probably figure it out given a shove in the right direction... Any advice as a good place for me to start?

We have a short HOWTO for this. Here it is -- https://github.com/david-sabata/web-scrobbler#unpacked-extension.

Thanks for the hand on that!!!  I'm back in business with Slacker scrobbling, and now as a bonus know a bit more about extensions.  MANY THANKS!!!


Fixed documentation typo.

Text was misleading.

Can one of the admins verify this patch?

Thanks!


Prevent downgrade on Windows

The prevent_downgrade attribute doesn't prevent the install resources from executing on Windoze platforms like it does on non-Windoze platforms.
It will prevent the download from happening, but the install resources will still execute and end up failing due to the msi not existing.
Is there a good reason that the notification and guard logic isn't more similar between the two?
https://github.com/chef-cookbooks/omnibus_updater/blob/7848b97d8d01bc956d4840080e1dee83d993c50f/recipes/installer.rb#L104
ruby_block 'Omnibus Chef install notifier' do
  ...
  subscribes :create, "remote_file[omnibus_remote[#{File.basename(remote_path)}]]", :immediately
  only_if { node['chef_packages']['chef']['version'] != node['omnibus_updater']['version'] }
end

https://github.com/chef-cookbooks/omnibus_updater/blob/7848b97d8d01bc956d4840080e1dee83d993c50f/recipes/installer.rb#L50
ruby_block 'Omnibus Chef Update' do
  ...
  not_if { chef_version == "Chef: #{version}\r\n" }
end

This issue has been solved in the new chef_client_updater cookbook. I'm going to close this issue out here since we've deprecated this cookbook in favor of the new method. We believe it provides a much better experience and encourage everyone to try it out.


Elixir based Web Application

Describe the project
An Elixir based web application ( Chat Room)
Tech stack : Elixir and Phoenix liveview and Postgresql database

Elixir is a functional, concurrent, general-purpose programming language that runs on the BEAM virtual machine used to implement the Erlang programming language. Elixir builds on top of Erlang and shares the same abstractions for building distributed, fault-tolerant applications. Elixir also provides productive tooling and an extensible design.
The Chat Room is designated virtual channel where users communicate with each other through the Internet.
I've worked on Elixir and want to add a basic project of on it, as it works with Phoenix Liveview and has high fault tolerance feature, which is well suited for web applications.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[X] New Project

Hey @TusharKesarwani is this tech stack is allow ?

Only HTML,CSS and JS projects are allowed


Configure Ingress for Orders Service

As a developer
I need Ingress configured for the Orders service
So that the service can be accessed from outside the Kubernetes cluster.
Details and Assumptions

An Ingress controller is installed in the Kubernetes cluster.
The domain or IP for accessing the service is known and configured in the Ingress resource.

Acceptance Criteria
Given the Orders service is deployed in Kubernetes
And the Ingress resource is configured
When I navigate to the configured URL
Then I can access the Orders service from outside the cluster

Accessible via http://orders-frybin-dev.apps.sandbox-m4.g2pi.p1.openshiftapps.com


[UI/UX] Fix dashboard page on CMO ssapp

The provided mockup

The table render is looking ugly on screens with width 1280 and between 1500. I think scroll should be available on screens with width lower than 1280.


call external js

May I ask you that how should I call or import external js files when I writing nunustudio scripts? Thank you!

Hi
To import a external JS file into a script, you need to first import that JS file into your project (AssetExplorer/Include/Text), and inside your script use the import method.
import("lib.js");

function initialize()
{
....
}

This will be changed soon so that is also possible to call import with an URl as parameter.
Cumps

Hi
I followed your guide using import("lib.js");, but it showed errors.

in your case your resource is called lib try import("lib");

I changed to import("lib");. It still has the same issue. Also, the editor indicates errors in the script.

The myyy method is private inside your javascript file if you change the declaration to
window.myyy = function(a, b)
{
	return a + b;
}

it will becoma available globally and it will work but i do have to rethink this a bit to find an alternative for these cases.

I still have the trouble. However, I will wait your final enhancement about this and try again. If we can import and call any JS file, there will be a lot of third parts JS plugs we can use to build projects. I am looking forward for your works.

Im still trying to figure out the best way to really do this, the only way for it to work in cases like the one you have is to append the code before evaluation.
That will also cause some some problems in other cases.
Im thinking about adding a mode option for libs in the script object.
Evaluate mode - Libraries are evaluated on runtime
Append mode - Libraries are appended on top of the script code
What do you think about this approach?

Added the possibility to change the mode in the script object panel.
I hope this approach can solve the problem.
Thanks a lot for your feedback!

Great! I saw your updating of the script tutorial to introduce libraries, and I tried your example, that works well to import and run a third party JS file using Evaluate mode. In this approach, we can easily to implement complex functions based on others' libraries. Thanks very much for you work!
Just one suggestion, if you can add an example about Append mode, that will great for users to understanding about the difference of these two modes.

I will update the learning guide soon to include an explanation about these!
Thanks a lot! I will probably still experiment a bit for a couple more days!


Refactor code quality

Please verify the implementations of test cases.
Thanks.

Pls remove the .idea folder and add it to .gitignore. These are intellij config files and should not end up in the open source repo.


docker-compose not configuring

I have tried standing this repository up both on Ubuntu 16.04 and Ubuntu 18.04
After starting the docker swarm, the three couchdb instances start up in the network just fine. However, the cluster-setup service doesn't work and I need to configure it manually.
When looking at the console, it looks like docker-compose is trying to run the cluster setup before the actual couchDB containers are stood up.

The tool should perform retries before actually trying to setup the cluster. See https://github.com/gesellix/couchdb-cluster-config/blob/55b53b83dcee4ca4d7abacd7d60e44549327991e/pkg/await-nodes.go#L47 for an expected log message. I'll have to investigate whether something is broken. If you have any logs to share, please leave them here (please beware not to share any credentials), they might help to understand the issue. Thanks!

I changed the setup timeout in the docker-compose config to 60s. Can you please retry the current version?

Setting the timer to a minute did solve the issue, thanks!
Looking at the logs, it seems like the cluster-setup runs it's code first. Below is a section of the output:
Creating couchdbclusterconfigmaster_cluster-setup_1 ... done
Creating couchdbclusterconfigmaster_couchdb1_1      ... done
Creating couchdbclusterconfigmaster_couchdb2_1      ... done
Creating couchdbclusterconfigmaster_couchdb3_1      ... done
Attaching to couchdbclusterconfigmaster_cluster-setup_1, couchdbclusterconfigmaster_couchdb1_1, couchdbclusterconfigmaster_couchdb2_1, couchdbclusterconfigmaster_couchdb3_1
cluster-setup_1  | Going to setup the following nodes as cluster
cluster-setup_1  | [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>]
cluster-setup_1  | tick@<IP_ADDRESS>:5984
cluster-setup_1  | tick@<IP_ADDRESS>:5984
cluster-setup_1  | tick@<IP_ADDRESS>:5984
 <continue for 193 lines>
cluster-setup_1  | tick@<IP_ADDRESS>:5984
 <other services begin running>

For a more graceful solution, is there a way to delay the setup service starting until the other services have had a few seconds to start up?

I could add an option like delay, but I'd like to set it to a small default value, because on some systems the services are available after a short time - or might even be running already -, so adding a another delay would add a constant amount of time before the cluster is configured.
Another option is to add another tool to the stack, which checks for the services' availability. See https://github.com/gesellix/couchdb-prometheus-exporter/blob/ef76f4757993cd16f963da16e74d5bcb6a3a1c70/examples/stack/docker-stack-single.yml#L18 for an example using a wait-for script.

You can now define a custom setup delay (defaults to 5s). See https://github.com/gesellix/couchdb-cluster-config/commit/bff48788381b9c97875242ca371a2d6bb2f80ed3 for an example in the repo's docker-compose.yml. With 20s the user experience on my Windows box was better, when the CouchDB container had to be created. For already existing CouchDB containers, 5s delay seemed to be a better value.
Please give it a try and leave some feedback here - I'm then going to tag a new release. From my perspective the issue has been resolved, but feel free to tell me in case I've missed something!

This one has been tagged as Rev 11: https://github.com/gesellix/couchdb-cluster-config/releases/tag/11

Thanks!


tests: fat_fs_api: MKFS still causing build errors

The MKFS portion of the test is still was being included in the build when it shouldn't because of a file glob

@de-nordic please take a look


Logo pretends to be transparent

Description
I tried with an SVG and a PNG, but both appear with a bottom whiter than the shadow made by the top banner.
see
https://jdmnt.notion.site/Jonathan-Dumont-c8776ac02fba4a26b55ef1955471938c vs https://jodumont.com

Remove these lines and it should work for you https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/styles/notion.css#L346-L349


Feat: Add CloudFlare as an option for DNS upon creation instead of Provider implementaton

What would you like to be added:
Add option when provisioning a cluster to use CloudFlare's Authoritative DNS instead of the providers' (ex: AWS Route 53/Civo DNS). This acts as a vendor neutral provider that can work across the board with the addition of being able to use CF extras like caching or CF access out of the gate after cluster provisioning. One could generate a CF API Token and pass this to kubefirst during setup. I was able to successfully get CF working via a slight modification to the external-dns configuration, when deployed to Civo. This could be an easy win to implement, at first glance at least for using with Civo instead of their DNS.
To get this working; In gitops I modified the helm entry of registry/kubefirst/components/external-dns/application.yaml to the following:
helm:
      releaseName: external-dns
      values: |
        extraArgs: ['--cloudflare-proxied']
        image:
          repository: registry.k8s.io/external-dns/external-dns
          tag: "v0.13.2"
        serviceAccount:
          create: true
          name: external-dns
        provider: cloudflare
        sources:
        - ingress
        domainFilters:
        - EXAMPLE.com
        env:
        - name: CF_API_TOKEN
          valueFrom:
            secretKeyRef:
              name: civo-creds #this would change to some CF specific secret
              key: civo-token #this would change to some CF specific secret

As an 'additional' note for anyone who plans on using CF Access (Or if you are using a similiar application proxy like IAP in GCP you need to pass the Host header to ArgoCD that CF seemingly stripped in my case.) I modified the annotations in gitops of registry/kubefirst/components/argocd/argocd-ui-ingress.yaml like the following:
annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: 'true'
    nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
    nginx.ingress.kubernetes.io/configuration-snippet: |
      proxy_set_header Host $host;
      proxy_set_header X-Real-IP $remote_addr;
    nginx.ingress.kubernetes.io/backend-protocol: 'HTTPS'

Why is this needed:
There are a few uses cases where CloudFlare DNS must or could be used in lieu of the providers' implementation.

If a domain is created with certain registrars (ex: CloudFlare Registrar in this case) the name servers cannot be changed to use another platform. Civo requires you to change nameservers to utilize their DNS service, which is what is supported by kubefirst out of the box when provisioning a cluster there. Thus, someone who has a domain via CloudFlare registrar is forced to use their DNS which isn't currently supported out of the box by kubefirst; or transfer out to another registrar just to be able to change the nameservers to work with Civo DNS.
There may be a legacy or enterprise requirement to continue using CF as well.
Using CloudFlare DNS is an easy way to take advantage of other (even free) CF services by proxying via CF to use caching/DDOS protection/analytics etc..
Another specific usage I am using CF for is to proxy Vault / Argo behind CloudFlare Access which allows for greater security so these sensitive components aren't publicly accessible.

@Claywd is working on this, it should be available soon 🎉
The docs has a PR for that, it will be with a flag with the CLI + an environment variable for Cloudflare token.

So this has been released on non-beta clouds. Beta clouds will be updated with this feature soon.


build error

Required information
Operating system:
E.g. Ubuntu 20.04 LTS
Compiler version:
E.g. GCC 9.4.0
Eclipse iceoryx version:
E.g. v2.0.3 branch
Observed result or behaviour:
libiceoryx_posh.a(ipc_interface_creator.cpp.o):ipc_interface_creator.cpp:function iox::runtime::IpcInterfaceCreator::cleanupResource(): error: undefined reference to 'iox::posix::UnixDomainSocket::destroy()'
Expected result or behaviour:
linker success
Conditions where it occurred / Performed steps:
one:i run cmake build 2.0.3 release code.
two:use bazel build he example ioxhello
bazel-bin         bazel-out                   bazel-testlogs  WORKSPACE
bazel_build_base  bazel-single-iceoryx-cmake  hello
nvidia@ubuntu:~/workspace/dfx_rmw/single-iceoryx-cmake/bazel_build_base/prebuild/dfx_libs$ tree -L 2
.
├── BUILD
├── include
│   └── iceoryx
└── lib
└── iceoryx
4 directories, 1 file
prebuild BUILD below:
package(default_visibility = ["//visibility:public"])
cc_library(
name = "iceoryx-lib",
srcs = glob([
"lib/iceoryx/.a",
"**/.inl",
]),
hdrs = glob([
"/*.hpp",
"/*.h",
]),
includes = [
"include/iceoryx/v/",
],
visibility = ["//visibility:public"],

)
code is the same as the v2.0.3 version
the BUILD.bazel below:
cc_library(
name = "topic_data",
hdrs = glob(["*.h"]),
)
cc_binary(
name = "iox-cpp-publisher-helloworld",
srcs = [
"iox_publisher_helloworld.cpp",
],
deps = [
":topic_data",
"//bazel_build_base/prebuild/dfx_libs:iceoryx-lib",
],
copts = ["-O0", "-std=c++14"],
)
If I use shared library is ok now.

@neil1899 disclaimer, I barely know Bazel. Saying that, since iceoryx master can be build with Bazel could you try if that works for you? If yes, it might be a starting point for further investigation.

have fix

@neil1899 would be great if you could share the solution in case someone else has the same problem :)

no problem，if we build static library
package(default_visibility = ["//visibility:public"])
cc_library(
name = "iceoryx-libs-platform",
srcs = [
"lib/iceoryx/libiceoryx_platform.a",
"lib/iceoryx/libiceoryx_binding_c.a",
"lib/iceoryx/libiceoryx_dds.a",
]
)
cc_library(
name = "iceoryx-libs",
srcs = [
"lib/iceoryx/libiceoryx_hoofs.a",
],
deps = [":iceoryx-libs-platform"],
)
cc_library(
name = "iceoryx-lib",
srcs = ["lib/iceoryx/libiceoryx_posh.a",
"lib/iceoryx/libiceoryx_posh_config.a",
] + glob([
"/*.inl",
]),
hdrs = glob([
"/.hpp",
"**/.h",
]),
includes = [
"include/iceoryx/v2.0.3/",
],
deps = [":iceoryx-libs"],
visibility = ["//visibility:public"],

)
we need write the dep of echo static library

@elBoberido the answer is ok?

@neil1899 thanks a lot. Like I said I'm not a bazel expert but if it works for you it might also work for others.
Just a small remark. Would you please edit your answer and wrap the bazel config in back-ticks, e.g.
```bazel
package(default_visibility = ["//visibility:public"])

```

This makes it much easier to read the config.


client-go v4.0.0 doesn't include CustomResourceDefinition types

CustomResourceDefinition is introduced in 1.7 k8s, but it's not included in client-go v4.0.0.
Not sure if we can still say client-go v4.0.0 satisfies the compatible matrix as defined in:
https://github.com/kubernetes/client-go#compatibility-matrix

Related #247

Closing as dup of #247


Add support for Web Identity Role Provider

This adds support for the WebIdentityRoleProvider for S3 uploads.
Currently the buildkite-agent artifact upload code doesn't support using the new AWS IAM Roles for Service Accounts (IRSA) feature. When running the Buildkite agent in a container on EKS the current behavior is to look for custom credentials, environment variables, and EC2 Role / Metadata.
This PR adds the WebIdentityRoleProvider which is used by IRSA to take preference over the EC2 Role / Metadata credentials

Okay — I haven't tested that this works with WebIdentityRoleProvider, but I assume @mkandelaars has done so, and the code looks simple & good. What I have tested is that it doesn't stop the other authentication strategies from working.
My test results are in a private pipeline, so the links below won't work, but I'm leaving them for future reference in case I need to come back to this.

Failed correctly with no credentials (private build result)
Succeeded with ENV credentials (private build result)

ENV is attempted before the new WebIdentityRoleProvider

Succeeded with ECS metadata credentials (private build result)

RemoteCredProvider is attempted after the new WebIdentityRoleProvider

I'm going to merge this, including my minor refactor in fd5f83de4f006089771b3bc1f5b05e7e3af51bae:
commit fd5f83de4f006089771b3bc1f5b05e7e3af51bae
Author: Paul Annesley<EMAIL_ADDRESS>Date:   Mon Jan 25 16:41:43 2021 +1100

    Refactor WebIdentityRoleProvider; extract method.

diff --git a/agent/s3.go b/agent/s3.go
index 5c82f732..15c4660a 100644
--- a/agent/s3.go
+++ b/agent/s3.go
@@ -84,16 +84,11 @@ func awsS3Session(region string) (*session.Session, error) {

 	sess.Config.Region = aws.String(region)

-	roleARN := os.Getenv("AWS_ROLE_ARN")
-	tokenPath := os.Getenv("AWS_WEB_IDENTITY_TOKEN_FILE")
-	sessionName := os.Getenv("AWS_ROLE_SESSION_NAME")
-
 	sess.Config.Credentials = credentials.NewChainCredentials(
 		[]credentials.Provider{
 			&credentialsProvider{},
 			&credentials.EnvProvider{},
-			// WebIdentityRole
-			stscreds.NewWebIdentityRoleProvider(sts.New(sess), roleARN, sessionName, tokenPath),
+			webIdentityRoleProvider(sess),
 			// EC2 and ECS meta-data providers
 			defaults.RemoteCredProvider(*sess.Config, sess.Handlers),
 		})
@@ -101,6 +96,15 @@ func awsS3Session(region string) (*session.Session, error) {
 	return sess, nil
 }

+func webIdentityRoleProvider(sess *session.Session) *stscreds.WebIdentityRoleProvider {
+	return stscreds.NewWebIdentityRoleProvider(
+		sts.New(sess),
+		os.Getenv("AWS_ROLE_ARN"),
+		os.Getenv("AWS_ROLE_SESSION_NAME"),
+		os.Getenv("AWS_WEB_IDENTITY_TOKEN_FILE"),
+	)
+}
+
 func newS3Client(l logger.Logger, bucket string) (*s3.S3, error) {
 	region, err := awsS3RegionFromEnv()
 	if err != nil {

Fixes #1356
Thanks @mkandelaars 👍🏼

Okay — I haven't tested that this works with WebIdentityRoleProvider, but I assume @mkandelaars has done so, and the code looks simple & good. What I have tested is that it doesn't stop the other authentication strategies from working.
My test results are in a private pipeline, so the links below won't work, but I'm leaving them for future reference in case I need to come back to this.

Failed correctly with no credentials (private build result)
Succeeded with ENV credentials (private build result)

ENV is attempted before the new WebIdentityRoleProvider

Succeeded with ECS metadata credentials (private build result)

RemoteCredProvider is attempted after the new WebIdentityRoleProvider

I'm going to merge this, including my minor refactor in fd5f83de4f006089771b3bc1f5b05e7e3af51bae:
commit fd5f83de4f006089771b3bc1f5b05e7e3af51bae
Author: Paul Annesley<EMAIL_ADDRESS>Date:   Mon Jan 25 16:41:43 2021 +1100

    Refactor WebIdentityRoleProvider; extract method.

diff --git a/agent/s3.go b/agent/s3.go
index 5c82f732..15c4660a 100644
--- a/agent/s3.go
+++ b/agent/s3.go
@@ -84,16 +84,11 @@ func awsS3Session(region string) (*session.Session, error) {

 	sess.Config.Region = aws.String(region)

-	roleARN := os.Getenv("AWS_ROLE_ARN")
-	tokenPath := os.Getenv("AWS_WEB_IDENTITY_TOKEN_FILE")
-	sessionName := os.Getenv("AWS_ROLE_SESSION_NAME")
-
 	sess.Config.Credentials = credentials.NewChainCredentials(
 		[]credentials.Provider{
 			&credentialsProvider{},
 			&credentials.EnvProvider{},
-			// WebIdentityRole
-			stscreds.NewWebIdentityRoleProvider(sts.New(sess), roleARN, sessionName, tokenPath),
+			webIdentityRoleProvider(sess),
 			// EC2 and ECS meta-data providers
 			defaults.RemoteCredProvider(*sess.Config, sess.Handlers),
 		})
@@ -101,6 +96,15 @@ func awsS3Session(region string) (*session.Session, error) {
 	return sess, nil
 }

+func webIdentityRoleProvider(sess *session.Session) *stscreds.WebIdentityRoleProvider {
+	return stscreds.NewWebIdentityRoleProvider(
+		sts.New(sess),
+		os.Getenv("AWS_ROLE_ARN"),
+		os.Getenv("AWS_ROLE_SESSION_NAME"),
+		os.Getenv("AWS_WEB_IDENTITY_TOKEN_FILE"),
+	)
+}
+
 func newS3Client(l logger.Logger, bucket string) (*s3.S3, error) {
 	region, err := awsS3RegionFromEnv()
 	if err != nil {

Fixes #1356
Thanks @mkandelaars 👍🏼


fix(vitest,runner): simplify test.extend type exports

Description

Closes https://github.com/vitest-dev/vitest/issues/6660

I'm not sure if we can ensure to not break these typing forever for user land dts, but just testing some simplification.
Either we can re-export CustomAPI from vitest or we can eliminate CustomAPI in favor of TestAPI since they are just alias now.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[ ] Ideally, include a test that fails without this PR but passes with it.
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[ ] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Yeah, coming up with a nice test inside this repo is probably hard. Let me think about putting my reproduction https://github.com/hi-ogawa/reproductions/tree/main/vitest-6660-test-extend-dts as ecosystem ci tests. Maybe I can try something like Vite's tsconfig.check.json, which type checks its own dts output https://github.com/vitejs/vite/blob/5552583a2272cd4208b30ad60e99d984e34645f0/packages/vite/tsconfig.check.json#L14

Oh, I moved the repro to test/dts-fixture and this looks functioning as tests. It fails on main and passes on this PR.


sails-redis performance issue

Hello guys !
I'm currently doing some benchmark on my application and found some performance issues regarding to Redis.
I have a simple API endpoint (Notification.find().limit(20)) and around 1200 notification rows in both dbs (Redis + Postgresql)
When I run a GET request on that endpoint (GET /notification), Redis is 10x slower than Postgresql.
Postgresql: 26ms to return 20 notification objects (from 1200 rows total)
Redis: 430ms
Redis settings (in config/connections.js)
redis: {
    adapter: 'sails-redis',
    host: process.env.REDIS_HOST || 'localhost',
    port: process.env.REDIS_PORT || 6379,
    db: process.env.REDIS_DB || '',
    pass: process.env.REDIS_PASS || null,

    options: {
        // low-level configuration
        // (redis driver options)
        parser: 'hiredis',
        auth_pass: process.env.REDIS_PASS || null,
        no_ready_check: true,
        socket_nodelay: true,
        enable_offline_queue: true,
        return_buffers: false,
        detect_buffers: false
    }

}

UPDATE: Redis takes the same amount of time to load 1 or 1000 items so I think Redis is not the issue for this slow performance, might be caused by sails-redis adapter itself when establishing the connection with Redis db.
Does anyone know why Redis is so slow in fetching data?
Best,

Going to go ahead and close this one, as sails-redis has seen a lot of improvement since issue was opened in 2015, and the performance should be significantly better now. If you see any new performance issues with the current version sails-redis, feel free to open a new issue and we'll take a look!

@billyshena @Ryanc1256 @acolin sails-redis no longer implements the "semantic" interface -- it is now exclusively a key value store for caching.


Hide homescreen when export

When chat exported from WhatsApp, the homescreen appears for 1-2 secs before the gif appears. Can we make it so only the gif is shown?

my suggestion for the solution to this would be to set the loader as the initial thing that happens when you load the site regardless of if it's from the export or the browser, or possibly we have to set the menu not to show initially and then display it (after the window loads?) possibly fading it in?
the issue is due to the menu being visible when the app is initialised
let me know what you think

to try: adding the loader as the initial thing when loading or exporting


Upgrade-perf workload should support upgrading to nightly builds

OpenShift cluster upgrades uses channel defined in cincinnati - https://github.com/openshift/cincinnati-graph-data/tree/master/channels to determine if there are any upgrades available. It's set to stable-4.x or candiate-4.x and both of them doesn't track the nightly OCP builds since they are not GA.

resolved


Add custom caret plugin

Plugin to customize the caret in the editor
Thanks to @Guldoman for the initial example code
Features

Change the Color and Opacity of the caret
Change the Shape of the caret
Change the dimensions of the caret

More Details in the plugins/custom_caret.lua file

To prevent unnecessary commits on your Pull Requests you always need to pull from the branch where you are going to submit a PR before submitting your changes. It will prevent this:

For this to properly work you should configure your git to rebase instead of merge when pulling to always put your local changes on top of current git branch changes. You have two options to achieve this:
Only rebase pulls for current repository (you need to cd into repo dir):
git config pull.rebase true
Rebase pulls for all git repositories (can be run from anywhere):
`git config --global pull.rebase true
Then you can safely run git pull and if you have any committed changes they will be rebased on top of latest commits when pulling from the working branch.

Thanks, I will keep that in mind, next time I create another pull request.

closed this pull request, will make a better plugin
sorry


Fixed issue with retrieving unicode values (fixes #4) by adding a def…

Fixed issue with retrieving unicode values (fixes #4) by adding a default charset (utf-8) to the headers of the client's requests.
Using http4s' modified EntityDecoder.decodeString with a defaultCharset as suggested by @bryce-anderson might have been a good approach to this but seems to have a couple of problems. From what I can gather, without an Accept charset header in the request, the response from Couch would not contain a charset in the Content-Type header. The Content-Type attribute inside a client Response object in Http4s contains an optional charset attribute which defaults to Charset.ISO-8859-1 if not defined. Hence, an attempt to decode the response using EntityDecoder.decodeString(response, defaultCharset=Charset.UTF-8) for instance, would ignore the defaultCharset because response.charset is always defined by default. @bryce-anderson, I hope I did not miss something here
@beloglazov , what do you think about making the default charset a configurable property for the client?

@ermyas, you're right, my change didn't fix the problem because of the reasons you stated.

thanks for confirming @bryce-anderson

Maybe its worth noting that http4s 0.8.2 is out and should fix the default charset issue.
As someone who hasn't used couchdb, how does this PR fix the problem? Does sending an Accept header with a specified charset induce the database to respond with a Content-Type header explicitly specifying UTF-8?

@bryce-anderson yes that seems to be what happens. The Content-Type response from couch, by default does not specify a charset for the response body, unless a charset is specified in the Accept header

@ermyas thanks for the fix! Regarding the default charset parameter, does Couch even support different charsets? The docs say "All text is encoded in Unicode (UTF-8)" - http://docs.couchdb.org/en/latest/api/basics.html#response-headers


basicPublishingCredentialsPolicies@2021-02-01 Propter location does not exist

Bicep version
Bicep CLI version 0.4.1124 (66c84c8ee5)
Describe the bug
Resource  resource sites_func_entCamera_CaptureApp_RestApi_devIac_c1_01_name_ftp 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-02-01'
gives a warning
The property "location" does not exist in the resource definition, although it might still be valid. If this is an inaccuracy in the documentation, please report it to the Bicep Team.bicephttps://aka.ms/bicep-type-issues
but it seems to be required.
To Reproduce
The following is the Bicep code
 resource sites_func_entCamera_CaptureApp_RestApi_devIac_c1_01_name_ftp 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-02-01' = {
    parent: sites_func_entCamera_CaptureApp_RestApi_devIac_c1_01_name_resource
    name: 'ftp'
    location: 'Central US'  // needs location else error - warning is wrong.
    properties: {
      allow: true
    }
  }

Additional context
Add any other context about the problem here.

Related to #4815

This is still an issue for 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2022-09-01'.

This is still an issue for 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2022-09-01'.

Also still seing this. Bicep 0.16.2.


Installation of the second instance of bcbio 1.1.0 + mm10 genome: no whamg

Hello, bcbio developers and users!
Thanks for the great pipeline!
I'm installing the second instance of bcbio for my colleague on the same cluster.
Before installation:

I modified PYTHONPATH and PATH, they were not pointing to the existing bcbio installation
I removed ~/.conda/environments.txt to avoid mixing conda environments

Installation:
python bcbio_nextgen_install.py /hpf/largeprojects/lauryl/bcbio110 --tooldir=/hpf/largeprojects/lauryl/bcbio110 --genomes mm10 --aligners bwa --isolate
bcbio_nextgen.py upgrade -u skip --tools --tooldir /hpf/largeprojects/lauryl/bcbio110

Test
details:
- algorithm:
    aligner: bwa
    realign: false
    recalibrate: false
    remove_lcr: true
    save_diskspace: true
    svcaller: [lumpy, manta, cnvkit, metasv, wham]
    tools_on:
    variantcaller: false
  analysis: variant2
  description: '912R_A337376'
  files:
  - /hpf/largeprojects/lauryl/bcbio110/test/input/test_test_1.fq.gz
  - /hpf/largeprojects/lauryl/bcbio110/test/input/test_test_2.fq.gz
  genome_build: mm10
resources:
  default:
    cores: 2
    jvm_opts:
    - -Xms750m
    - -Xmx7000m
    memory: 7G
upload:
  dir: ../final

Error:
/bin/bash: whamg: command not found
' returned non-zero exit status 127

Indeed, there is no whamg in
/hpf/largeprojects/lauryl/bcbio110/bin
/hpf/largeprojects/lauryl/bcbio110/anaconda/bin
However, wham is installed:
/hpf/largeprojects/lauryl/bcbio110/anaconda/pkgs/wham-1.8.0-hd28b015_0
There are wham and whamg binaries in the other bcbio installation:
/hpf/largeprojects/ccmbio/naumenko/tools/bcbio/bin/wham
/hpf/largeprojects/ccmbio/naumenko/tools/bcbio/bin/whamg
Could you please share any suggestion how to get
/hpf/largeprojects/lauryl/bcbio110/ installation running?
Thanks!
Sergey

Sergey;
Apologies about the issue. It looks like this was due to the wham bioconda package inadvertently being rolled back to an older version. The versioning on wham is confusing as there hasn't been a new release or updated git tag in a while, so you were getting the older version without whamg. I pushed a fix for this so an update should hopefully fix it:
bcbio_nextgen.py upgrade --tools

This doesn't have anything to do with your multiple installs as far as I can tell and is just a bug on the wham install, so hopefully this'll get your install working.

Thanks Brad, this solution works perfectly!
SN


DBZ-7505 Support Oracle 23 SELECT without FROM clause

https://issues.redhat.com/browse/DBZ-7505
Upstream PR - https://github.com/antlr/grammars-v4/pull/3972

@Naros Applied, thanks


Copy all xml files from the ConfigMap for jenkins

This will allow pre-configuring of credentials.xml and any other site wide configuration files that may be needed in addition to config.xml. https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins

I signed it!

closing due to the need for additional changes


modify speed when you leave a difficult terrain

Hi,
For the moment the speed is modify when you go on a case but is it possible to modify or add an option to change the speed when you leave it?

Hi. I'm sorry, but I didn't quite understand what the feature you're requesting is. Can you try and rephrase the request? Thanks :)

Yep no problem
I request something as it explain in this module. ( https://github.com/Nordiii/difficultterrain ).
But for the moment it's not compatible with your module.

Which part of that module would you like supported by Drag Ruler? Measuring difficult terrain in general? Or being able to adjust the Terrain's difficulty level manually without having to place down difficult terrain using TerrianLayer?

measuring difficult terrain.
I have instaled the terrain ruler module so it's globaly work but in PF2 the distance is double when you leave the case and not when you enter in.
And for the moment it seems it is not the case.

According to PF2 rules the cost is doubled when entering difficult terrian, not when leaving it

Moving into a square of difficult terrain [...] costs an extra 5 feet of movement.

https://2e.aonprd.com/Rules.aspx?ID=453
Of course you can play however you want, I'm just stating that fact here for completeness sake.
In any case, this would be a feature that you would request in the Terrain Layer module (as that's the module for calculating difficult terrain). For this reason I'm closing this issue here, but feel free to open a new issue in the Terrain Ruler repository about this.


OpenSearch Hadoop Connector Blog

Describe the blog post your would like to write
The details behind the release of OpenSearch Hadoop Connector with SigV4 and how to use it
What is the title of the blog post?
Release of OpenSearch Hadoop Connector
Who are the authors?
Vamsi, Nick
What is the proposed posting date?
June 2

Closing this out. Please reopen if this plans to go forward.


Investigate and fix hail size plugin

As part of a piece of work to visualise data on a global domain from a global ensemble, I have spotted that the hail size diagnostic very rarely produces non-zero values. This results in the hail fraction being almost always zero, even in the tropics where severe convection is more common. Without large hail stones, the algorithms are probably diagnosing small hail and then identifying that the hail melts before it reaches the ground.
A very brief investigation shows that the stratify.interpolate method, used to extract the -5C isotherm pressure level, is not returning valid data for most points, even though those points should have yielded a value. The unit tests are believed to be correct, so move investigation is needed to find and fix this issue.
Acceptance criteria:

Real data over a global domain behaves as expected, with non-zero hail stone sizes occurring occasionally (at least some in every time step?)

Duplicate of #1832


[IMPROVEMENT] Add dmsetup and dmcrypt utilities check in cli

Is your improvement request related to a feature? Please describe (👍 if you like this request)
Ensure that the necessary packages are installed on the host for volume encryption and device mapper devices in front of v2 volumes.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

can it be a warning instead of an error if it doesn't affect normal longhorn functionality?
i believe these utilities are only used when one enables\uses encryption?
so if users are not using that functionality they can still understand that their enviroment is ok, they just won't get that feature

We can add this in longhorn/cli instead.

cc @mantissahz

@derekbit I added the description to the issue. Please correct if it's wrong or any context has been missing.

Test Steps

Step 1. a node that ready to deploy Longhorn, but is lack of device mapper package.

deb-based distros: apt remove dmsetup
rpm-based distros: yum remove device-mapper
SUSE: zypper remove device-mapper
pacman-based distros: pacman -R device-mapper

Step 2. longhornctl check preflight, then it complains some package is missing.
Step 3. install the above device mapper package back.
Step 4. longhornctl check preflight, the package missing error disappear.

Verified on master-head 20241212

longhorn master-head https://github.com/longhorn/longhorn/commit/64afdec9c9827956bf9097b7db8e22ce9bd75731
cli master-head https://github.com/longhorn/cli/commit/c0261653cab5ccb58ebb269689e0d80afad0e263

The test steps
https://github.com/longhorn/longhorn/issues/8217#issuecomment-2530765013
Result Passed

[x] lobghorn-cli : The Longhorn CLI can successfully detect if dm_crypt is not loaded.

[x] Ubuntu distros :Passed
[x] RedHat distros : Passed
[x] SLES : Passed

[ ]  Arch Linux: Encountered issues during execution. After discussion with @COLDTURNIP, it appears related to https://github.com/longhorn/longhorn/issues/5679. As Arch Linux is not currently supported, we will close this ticket for now.