But it does:
$ pack build my-go-thing
...
[builder]
[builder] Go Compiler Buildpack 0.0.29
[builder]   Go 1.13: Contributing to layer
[builder]     Downloading from https://buildpacks.cloudfoundry.org/dependencies/go/go1.13.linux-amd64-cflinuxfs3-8b3c3fb8.tar.gz

This happens with and without --publish flag.

Pack intentionally does not preserve cache layers provided to each buildpack on failure, because the buildpack would need to account for partially-built or invalid cache states. I’d suggest opening an RFC if you feel strongly that this behavior should change.

I am prepared to just be an early warning until others come along and complain about the same thing.

Suggestion for an RFC: We could preserve cache layers on a per-buildpack basis, instead of on a per-build basis. Many meta-buildpacks separate supplying dependencies and using them, so this would approximate your ask in a safe way. I would totally support this change.

This would be complicated to implement given the current spec, but I'm open to the idea that it's worth it if we hear this from multiple sources.
It's also worth noting that this will only help for cache=true layers unless we do something different from our normal local caching process here. For example, this will not stop the org.cloudfoundry.openjdk buildpack from redownloading the JRE after a fail build (as it is a launch=true, build=false, cache=false layer).


Fix links to search-api-analytics and content-data jobs

The warning in Icinga AWS Production / AWS Staging was linking to Carrenza Jenkins and returning a 404.
This commit changes the URL to be hard coded to the AWS URL as there
currently isn't an easy way of constructing that URL programatically.
I've based this on what was done for https://github.com/alphagov/govuk-puppet/pull/8935

@thomasleese I've added another commit to fix the link for the Content Data API job - can you re-review please?


Error while importing typescript ES Module with page objects to use in the keyword

Describe the bug
We have a page objects typescript library (inhouse developed) that we want to reuse also for robot playwright tests but when in the keyword we get an error that one of the resources is not available. So we need to import from an ES Module to commonjs via dynamic import and get the following error: "Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:_AutomationProjects\CTA\Playwright\dist\page-objects\esm2020\lib\login.page' imported from C:_AutomationProjects\CTA\Playwright\dist\page-objects\esm2020\lib\main.page.mjs"
To Reproduce
Contents of the inhouse developed module:
login.page.ts
export class LoginPage {
  public page: Page;
  constructor(page: Page) {
    this.page = page;
  }
}

main.page.ts
import { LoginPage } from "./login.page";

export class MainPage {
  public page: Page;
  public login: LoginPage;
  constructor(page: Page) {
    this.page = page;
    this.login = new LoginPage(page);
  }
}

Then in the keyword.cjs that we use in the robot test we get the above mentioned error.
keyword.cjs
var mainPage;
//function to load all needed page objects before starting the execution
async function loadMainModules(page, args) {
   mainPage = new (await import('../../dist/page-objects/esm2020/lib/main.page.mjs')).MainPage(page);
}

exports.__esModule = true;
exports.LoadMainPageObjects = loadMainModules;

test.robot

Settings *
Library   Browser  jsextension=${CURDIR}/../keywords/keyword.cjs

Test Cases *
MY_TEST
New Browser    chromium    headless=false  channel=chrome
Browser.Set Browser Timeout  150 seconds
New Context  viewport={'width': 1850, 'height': 900}
New Page    https://angular.com
Load Main page objects

**Expected behavior**
We need to be able to reuse this kind of typescript page-objects also in the robot test cases

Currently this is not supported and most likely we wont support this in near future. Closing issue.


visiblity add-in doesn't clear coordinates when switching to a new map

After running the LLOS tool, I switched to a new map.  I expected the coordinates to be cleared when moving to a new map however the coordinates remain in both the observer and the target points.  To clear the old coordinates, I must press cancel.  The coordinates are cleared however when switching between the LLOS and the RLOS tabs.
To reproduce:

run LLOS on a map.
Add a new map.
See that the coordiantes remain
Switch tabs and then back to LLOS or click cancel
The coordiantes have been cleared.

This is fine as is.


Android: Unable to use writeCharacteristicWithResponseForService function

Hello,
I am using I am using this library to connect a React Native app (Android) to a BLE device (raspberry pi). On calling  writeCharacteristicWithResponseForService  function I get next error:
{
	"message": "Characteristic YYYYYYYYYYYY write failed for device XXXXXXXXXXXXX and service ZZZZZZZZZZZZZZZ",
	"errorCode": 401,
	"attErrorCode": 14,
	"iosErrorCode": null,
	"androidErrorCode": null,
	"reason": "GATT exception from MAC address XXXXXXXXXXXXX,
	status 14 (GATT_ERR_UNLIKELY),
	type BleGattOperation{description='CHARACTERISTIC_WRITE'}.
	(Look up status 0x0e here https://android.googlesource.com/platform/external/bluetooth/bluedroid/+/android-5.1.0_r1/stack/include/gatt_api.h)",
	"name": "BleError",
	"line": 24736,
	"column": 28,
	"sourceURL": "http://localhost:8081/index.bundle?platform=android&dev=true&minify=false"
}

My code:
scanAndConnect() {
	this.manager.startDeviceScan(null, null, (error, device) => {
		if (error) {
			this.error(error.message)
			return
		}

		if (deviceName === 'MyDevice') {
			this.manager.stopDeviceScan()

			let connectedDevice = async () => {
				const conDevice = await this.manager.connectToDevice(device.id)
				const services = await conDevice.discoverAllServicesAndCharacteristics()
			};

			connectedDevice()
				.then(() => {
					device.services().then(services => {
						this.manager.isDeviceConnected(device.id).then(console.log) //true

						device.writeCharacteristicWithResponseForService('ZZZZZZZZZZZZZZZZZZ',
								'YYYYYYYYYYYYYYYYY', base64.encode("Hello World")))
							.then((characteristic) => {
								this.info(base64.decode(characteristic.value));
								return
							})
							.catch((error) => {
								console.log(JSON.stringify(error))
							})
					})
				})
		}
	});
}

Any ideas?
Thanks

@SOLR4189 Did you resolve this? If so, what was the issue and resolution? Thanks!

@SOLR4189 Did you resolve this? If so, what was the issue and resolution? Thanks!

@existdissolve Yes. I restarted my phone and raspberry pi, then reinstalled application on my phone.

@existdissolve Yes. I restarted my phone and raspberry pi, then reinstalled application on my phone.


Proxy support

Is there a way to connect to whatsapp using a proxy? I understand that this package is a REST wrapper for whatsmeow that does not support proxies. I was thinking of setting a proxy on the system through proxyfier, setting rules on localhost and 3000 port (where the server is running), but I'm not quite sure if whatsapp requests will go through this proxy.
Of course, I can pass all traffic through the proxyfier, but I have a proxy with IP rotation by link, and if I make a request to change IP from under the same proxy, the Internet will go offline.
In general, my question is: how to set rules in proxyfier so that requests to whatsapp go through a proxy, and everything else does not. Any ideas?

I already push with Commit ID https://github.com/dimaskiddo/go-whatsapp-multidevice-rest/commit/a300564b02d531ebe058c67b5902437443de001f
Maybe you can and try it in new release v1.5.1 @bahkadomos


remove Dynamic annotation

Look per commit:
1: remove Dynamic annotation
2: simple move of constructor to constructors block (without changes)
3: add this. for fields initialization (without logic change)

squash commits and change comment.


[WIP] Testing danger xcode-sumary

Checklist

[x] I checked the Contributing Guidelines before creating this request.
[ ] New extensions are written in Swift 4.
[ ] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[ ] I have added tests for new extensions, and they passed.
[ ] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[ ] All extensions are declared as public.
[ ] I have added a changelog entry describing my changes.

          1 Error

:no_entry_sign:
summary file not found

          1 Warning

:warning:
This pull request is marked as Work in Progress. DO NOT MERGE!

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

  Generated by :no_entry_sign: Danger

@LucianoPAlmeida Awesome work here, I restarted the builds for you. I'm not sure if they are failing due to the warnings from Xcode summary or something else

@SD10 I think is the pod lib lint that doesn't allow warnings, so the build is failing on that
There was also a test breaking before on the push build, but not in the pr one ¯_(ツ)_/¯ I have to check that as soon as possible.

But I think the xcode_sumary is working nicely now, just need to do a few adjustments \o/

@LucianoPAlmeida I just did it via GitHub for you

@SD10 If the build passes I think it's good to go 👍

That's nice 👍
Thank's man :))


Minor updates to Werkzeug tutorial's reference code

While going through the example url shorter app in Werkzeug's docs I happened to come across some parts that could be updated, minor changes though.

urlparse module has been renamed to urllib.parse. From the docs:

Note: The urlparse module is renamed to urllib.parse in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.

I thought it would be best to use werkzeug's url_parse() instead.

On the dispatch_request method the syntax except HTTPException, e is used. Currently, the raise syntax no longer accepts comma-separated arguments.

Thank you for the contribution!

WelI, I would hardly call this a contribution, but you're welcome. Though failing tests due to changes that don't even touch the code base scape my comprehension. It looks like it timed out after 60+ minutes running:
##[error]The job running on agent Azure Pipelines 10 ran longer than the maximum time of 60 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134

Merged since the failing test is not related.
Contributions to docs (especially tutorials) are definitely contributions. Thanks again!


Add a blob value / type and tests

Public API changes: ❌CP0006 M:Microsoft.PowerFx.Types.ITypeVisitor.Visit(Microsoft.PowerFx.Types.BlobType)

Issue #1725.
fyi, PAD was also interested in files.

Should we extend IValueVisitor to include BlobValue?


archive() enhancements SC-25

Improve archive() tests

To facilitate running multiple tests on a single build directory, I also refactored archive() so it's not required to run it from the build working directory

Add include kwarg for selecting files to include

Provides more flexibility for tuning what goes in the archive
Replaces all_files to ensure that we have orthogonal arguments

Add configurable logging

Helpful for watching progress on large directories, but is disabled by default

Support archiving multiple jobs

Helpful for including e.g. PNR and signoff in one tarball

@gadfort this should be ready for review again!


can't be use with join

"sqlMessage": "Column 'name' in where clause is ambiguous"

You will have to specify the table name in your where clause. For example:

@tsulatsitamim My previous answer did not fully understand your issue but I pushed a fix for this now


Cannot assign to read only property 'exports' of object '[object Object]' - v10.1.1

Hello guys,
I'm using your package in my Angular 10 project and when I install your latest version, I can't start my project and I get the following error

If you have any suggestions how this can be fixed, please tell me. Thanks in advance!

No idea.  Can you be clear which prior version of Highlight.js have you used successfully?

You should also be directly importing core now not highlight.js, that's older usage.

   3 // export an "instance" of the highlighter
   2 var highlight = HLJS({});
   1
2080 module.exports = highlight;

Looks like some issue with your build system though?  AFAIK this exports syntax is normal boring stuff and no one else is reporting issues.

@yyyc514 The version I used before was 9.15.6. Can you be more specific? How should I import it now with newest version?
Currently I'm doing it like this:
import javascript from 'highlight.js/lib/languages/javascript'; import scss from 'highlight.js/lib/languages/scss'; import typescript from 'highlight.js/lib/languages/typescript'; import xml from 'highlight.js/lib/languages/xml';
Then I'm declaring an arrow function:
export const hljsLanguages = () => {   return [     { name: 'javascript', func: javascript },     { name: 'typescript', func: typescript },     { name: 'xml', func: xml },     { name: 'scss', func: scss }   ]; };
And then I'm using it in providers:
    {       provide: HIGHLIGHT_OPTIONS,       useValue: {         languages: hljsLanguages       }     }

   3 // export an "instance" of the highlighter
   2 var highlight = HLJS({});
   1
2080 module.exports = highlight;

Looks like some issue with your build system though? AFAIK this exports syntax is normal boring stuff and no one else is reporting issues.

Sorry, I closed the issue accidentally and I reopened it

No idea, a lot of that is greek to me... might be your talking about ngx-highlightjs.js stuff, not the core library.
The readme has the correct imports:
import hljs from 'highlight.js/lib/core';
import javascript from 'highlight.js/lib/languages/javascript';

Yes, I'm using also ngx-highlightjs library combined with highlight.js. I will try with suggested imports and I'll get back to you.

. I will try with suggested imports and I'll get back to you.

Oh, I don't think that will fix your problem, it was just a side note... you may need to figure out why your build process is choking on module.exports which is a very common thing for modules to export things so they can be required/imported...

I don't know. It's a classic Angular 10 project without any specific and third party libraries. Maybe it's checking it because of ngx-highlightjs module which is exported in my SharedModule?
I have no idea.

Sorry, no idea.  Maybe someone from Angular or Webpack could help... again module.exports =  is pretty common, boring stuff... that fact that your setup alone is choking on it seems like an issue with your setup.

Seems to be lots of search results:
https://duckduckgo.com/?q=cannot+assign+to+read+only+property+of+exports+webpack&t=osx&ia=web

Our NPM stuff is all export/requires, not modules... so you need to make sure your build process is setup to work with libraries using requires.

I tried everything, but it's not working and I don't know how to fix this.

How can I import your files if I can't mix them. This is from your search result:

Probably a better question for the ngx people maybe?

How can I import your files if I can't mix them.

If I had read and knew the answer for sure I would just tell you. My point was that a lot of people seem to be asking the same question so the answer is probably out there somewhere.

Figure it out?

If you can provide a simple stand-alone git repo that reproduces the build issue you're having perhaps someone would take a look?

Ping.

I will try to reproduce it tomorrow and I'll send you here.

Closing due to inactivity.  If you provide a reproducible test case/project this can be re-opened, though I'd still suggest seeking help from the Angular community since this looks like a build issue rather than a library issue.

I have the same error when updating to latest highlightjs (v10) and basic webpack config with React.
Looks like it is related to Webpack.

I've needed to exclude node_modules from babel-loader

I'm not sure why that shouldn't be default behavior... running everything thru Babel without a good reason doesn't sound like a good idea to me at least.
Glad you got it working though.


Upgrade V8 to 6.9.427.23

Related to #1168.

test animations uitests groceries api24 api28

test pro-templates  --performance


Just getting the bot shops back into a useable state

I removed the custom stuff fn (I think)

Added a hecc ton of changes to runner scripts and removed the redundant root folder


Example of I2S PDM project does not detect sound from microphone (IDFGH-10425)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP-EYE
Power Supply used.
USB
What is the expected behavior?
I expect for the I2S read buffer to display some random number when we speak to the microphone of the ESP-EYE board.
What is the actual behavior?
The I2S read buffer keep showing dummy value of -30935 like following regardless we speak or not to the microphone.
I (341) main_task: Calling app_main()
I2S PDM RX example start
---------------------------

D (341) i2s_common: rx channel is registered on I2S0 successfully
D (351) i2s_common: DMA malloc info: dma_desc_num = 6, dma_desc_buf_size = dma_frame_num * slot_num * data_bit_width = 480
D (361) i2s_common: i2s rx channel enabled
I (361) main_task: Returned from app_main()
Read Task: i2s read 2048 bytes
-----------------------------------
[0] -6595 [1] 0 [2] -29199 [3] -32768
[4] -30203 [5] -32156 [6] -30704 [7] -31348

Read Task: i2s read 2048 bytes
-----------------------------------
[0] -30935 [1] -30935 [2] -30935 [3] -30935
[4] -30935 [5] -30935 [6] -30935 [7] -30935
.....
Read Task: i2s read 2048 bytes
-----------------------------------
[0] -30935 [1] -30935 [2] -30935 [3] -30935
[4] -30935 [5] -30935 [6] -30935 [7] -30935

Steps to reproduce.

Go to the example project folder
$ cd /examples/peripherals/i2s/i2s_basic/i2s_pdm
Configure the project to use PDM RX mode
$ idf.py menuconfig -> I2S PDM Example Configuration -> I2S PDM direction -> PDM RX
Build the project
$ idf.py build
Flash and monitor and from the console, the I2S buffer did not change regardless we speak over the microphone or not.
...

Debug Logs.
I2S PDM RX example start
---------------------------
D (341) i2s_common: rx channel is registered on I2S0 successfully
D (351) i2s_common: DMA malloc info: dma_desc_num = 6, dma_desc_buf_size = dma_frame_num * slot_num * data_bit_width = 480
D (361) i2s_common: i2s rx channel enabled
I (361) main_task: Returned from app_main()
Read Task: i2s read 2048 bytes
-----------------------------------
[0] -6595 [1] 0 [2] -29199 [3] -32768
[4] -30203 [5] -32156 [6] -30704 [7] -31348

Read Task: i2s read 2048 bytes
-----------------------------------
[0] -30935 [1] -30935 [2] -30935 [3] -30935
[4] -30935 [5] -30935 [6] -30935 [7] -30935

Read Task: i2s read 2048 bytes
-----------------------------------
[0] -30935 [1] -30935 [2] -30935 [3] -30935
[4] -30935 [5] -30935 [6] -30935 [7] -30935

.....
-----------------------------------
[0] -30935 [1] -30935 [2] -30935 [3] -30935
[4] -30935 [5] -30935 [6] -30935 [7] -30935

More Information.
I have modified the sample code to set the GPIO number associated with the ESP-EYE like following in function i2s_example_init_pdm_rx()
i2s_pdm_rx_config_t pdm_rx_cfg = {           .clk_cfg = I2S_PDM_RX_CLK_DEFAULT_CONFIG(EXAMPLE_PDM_RX_FREQ_HZ),           /* The data bit-width of PDM mode is fixed to 16 */           .slot_cfg = I2S_PDM_RX_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_MONO),           .gpio_cfg = {               .clk = 26, //EXAMPLE_PDM_RX_CLK_IO,               .din = 33, //EXAMPLE_PDM_RX_DIN_IO,               .invert_flags = {                   .clk_inv = false,               },           },       };

I have the same problem. The buffer is filled with exactly the same "random" numbers each time.
Is not reading data from the PDM mic


Case-insensitively avoid duplicate attribute values

This PR tries a little harder to avoid duplicates in attribute values by ignoring case when checking if a value already exists.
Helps with some attributes for popular TLDs like .com or .net.
Example: google.com
Corrects attributes:

domain_name
name_servers

Before:
>> import whois
>>> w = whois.whois('google.com')
>>> print(w)
{
  "domain_name": [
    "GOOGLE.COM",
    "google.com"
  ],
  "registrar": "MarkMonitor, Inc.",
  "whois_server": "whois.markmonitor.com",
  "referral_url": null,
  "updated_date": [
    "2019-09-09 15:39:04",
    "2019-09-09 15:39:04+00:00"
  ],
  "creation_date": [
    "1997-09-15 04:00:00",
    "1997-09-15 07:00:00+00:00"
  ],
  "expiration_date": [
    "2028-09-14 04:00:00",
    "2028-09-13 07:00:00+00:00"
  ],
  "name_servers": [
    "NS1.GOOGLE.COM",
    "NS2.GOOGLE.COM",
    "NS3.GOOGLE.COM",
    "NS4.GOOGLE.COM",
    "ns4.google.com",
    "ns3.google.com",
    "ns2.google.com",
    "ns1.google.com"
  ],
  "status": [
    "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited",
    "clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
    "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited",
    "serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited",
    "serverTransferProhibited https://icann.org/epp#serverTransferProhibited",
    "serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited",
    "clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)",
    "clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)",
    "clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)",
    "serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)",
    "serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)",
    "serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)"
  ],
  "emails": [
<EMAIL_ADDRESS><EMAIL_ADDRESS>  ],
  "dnssec": "unsigned",
  "name": null,
  "org": "Google LLC",
  "address": null,
  "city": null,
  "state": "CA",
  "registrant_postal_code": null,
  "country": "US"
}

After:
>>> import whois
>>> w = whois.whois('google.com')
>>> print(w)
{
  "domain_name": "GOOGLE.COM",
  "registrar": "MarkMonitor, Inc.",
  "whois_server": "whois.markmonitor.com",
  "referral_url": null,
  "updated_date": [
    "2019-09-09 15:39:04",
    "2019-09-09 15:39:04+00:00"
  ],
  "creation_date": [
    "1997-09-15 04:00:00",
    "1997-09-15 07:00:00+00:00"
  ],
  "expiration_date": [
    "2028-09-14 04:00:00",
    "2028-09-13 07:00:00+00:00"
  ],
  "name_servers": [
    "NS1.GOOGLE.COM",
    "NS2.GOOGLE.COM",
    "NS3.GOOGLE.COM",
    "NS4.GOOGLE.COM"
  ],
  "status": [
    "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited",
    "clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
    "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited",
    "serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited",
    "serverTransferProhibited https://icann.org/epp#serverTransferProhibited",
    "serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited",
    "clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)",
    "clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)",
    "clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)",
    "serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)",
    "serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)",
    "serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)"
  ],
  "emails": [
<EMAIL_ADDRESS><EMAIL_ADDRESS>  ],
  "dnssec": "unsigned",
  "name": null,
  "org": "Google LLC",
  "address": null,
  "city": null,
  "state": "CA",
  "registrant_postal_code": null,
  "country": "US"
}

There is more that has to be done, especially for whois responses from MarkMonitor, but that's for another day.

good idea, thanks!


Timeline Controls won't track properly on Edge/IE range input

Edge and Internet Explorer have an inbuilt transition animation of about 0.2 seconds on their range inputs. So each call to update the range value starts a new transition request.
 update: function(anim) {     controlsProgressEl.value = anim.progress;   }
This results in a divergence from the position of the timeline and the position of the thumb in the input type=range.

Related #176


pair programming

Hey, if someone wants to pair program on Sidekick in order to speed things up, give me a shout  D
(Either in general or on something particular, continuously or just once, all of these have a positive effect).

Where is the source code?


ModuleNotFoundError: No module named 'celescope.citeseq.Count_cite'

I follow the step in the document and when I run the code in Mac terminal:
celescope rna mkref \
 --genome_name Homo_sapiens_ensembl_99 \
 --fasta Homo_sapiens.GRCh38.dna.primary_assembly.fa \
 --gtf Homo_sapiens.GRCh38.99.gtf

it reports error as follows, how can I solve this issue?
(celescope) zhangzhongheng@x86_64-apple-darwin13 CeleScope % celescope rna mkref \
 --genome_name Homo_sapiens_ensembl_99 \
 --fasta Homo_sapiens.GRCh38.dna.primary_assembly.fa \
 --gtf Homo_sapiens.GRCh38.99.gtf
Traceback (most recent call last):
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/site-packages/celescope/tools/utils.py", line 658, in find_step_module
    step_module = importlib.import_module(f"celescope.{assay}.{step}")
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/site-packages/celescope/citeseq/count_cite.py", line 1, in <module>
    from .Count_cite import Count_cite
ModuleNotFoundError: No module named 'celescope.citeseq.Count_cite'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/site-packages/celescope/tools/utils.py", line 661, in find_step_module
    step_module = importlib.import_module(f"celescope.tools.{step}")
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'celescope.tools.count_cite'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/zhangzhongheng/opt/anaconda3/bin/celescope", line 8, in <module>
    sys.exit(main())
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/site-packages/celescope/celescope.py", line 30, in main
    step_module = utils.find_step_module(assay, step)
  File "/Users/zhangzhongheng/opt/anaconda3/lib/python3.8/site-packages/celescope/tools/utils.py", line 663, in find_step_module
    module_path = init_module.IMPORT_DICT[step]
KeyError: 'count_cite'

Which version of celescope are you using?
If you installed celescope correctly, the python version would be 3.6.7, not 3.8.

Maybe you need to unset the PYTHONPATH when you install celescope, as in https://github.com/singleron-RD/CeleScope/issues/28#issuecomment-863841494

Successfully installed MarkupSafe-2.0.1 celescope-1.4.0 cutadapt-1.17 cython-0.29.24 descartes-1.1.0 editdistance-0.5.3 jinja2-3.0.1 joblib-1.0.1 matplotlib-3.3.0 mizani-0.7.3 palettable-3.3.0 patsy-0.5.1 plotly-4.14.3 plotnine-0.8.0 pysam-<IP_ADDRESS> retrying-1.3.3 scikit-learn-0.24.2 scipy-1.5.0 sklearn-0.0 statsmodels-0.12.2 threadpoolctl-2.2.0 xopen-1.1.0
The above output shows that the version is celescope-1.4.0

And I also found the python version is correct:
(celescope) zhangzhongheng@x86_64-apple-darwin13 celescope % python --version
Python 3.6.7

I think the celescope installed in the base conda env may interfere with the one installed in the celescope env.
Will you please try:

uninstall celescope in the base conda env.
uninstall celescope in the celescope conda env.
reinstall celescope in the celescope conda env.

I am new to the terminal; so May I ask how to accurately uninstall celescope in these two env?

When you do step2 and step3, you should activate the celescope conda env before running pip uninstall celescope.

I have tried to uninstall and reinstall the celescope, but the error seems still exist.

When you do step2 and step3, you should activate the celescope conda env before running pip uninstall celescope.

Does this solve the problem?


Pls, provide a legacy versions, Volume Notification!

Pls, provide a legacy versions, Volume Notification!
In some cases and for those who used to use notifications for tune volume, pls support the legacy versions of Volume Notification!
Or, if you please, as an alternative, - inject an option to new versions of the app - with appeared volume control in Notifications!
So, each other would have a decigion to use Volumes in Tiles, use  it in Notification, or use its both!
Many thanks in advance!

Thank you for reporting. The previous version is still available for download under releases. I will try including the notification again but it will take a bit more work, since it lost some compatibility with the required updates from androidx libraries, namely with background and foreground services. Thank you for your support and understanding.

(Download here)[https://github.com/seht/volumenotification/releases/tag/v1.0.7-alpha3]

Also, Google had just removed the app from the Play Store. This is why the update was rather urgent. Not that Google hadn't warned me well ahead of time. I had also stopped using Android... : >

TODO/In progress: https://github.com/seht/volumenotification/tree/dev/baseup


Update UserGuide.md for undo and redo commands

Codecov Report

Merging #170 (236d882) into v1.3 (39fc642) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               v1.3     #170   +/-   ##
=========================================
  Coverage     67.85%   67.85%
  Complexity      506      506
=========================================
  Files            94       94
  Lines          1705     1705
  Branches        182      182
=========================================
  Hits           1157     1157
  Misses          486      486
  Partials         62       62

Continue to review full report at Codecov.

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


problem ( BUG)

Hello
When i try to update user data on table "user" and choose user.saveinbackground this error appaear
"com.parse.ParseRequest$ParseRequestException: cannot modify user " can you help me please to solve this issue ?
Regards

You probably dont have the rights to modify a user. Try to modify the user you are logged in with, and see if that works. To modify another user, you probably want to use the MasterKey. The best approach to do that would be to create a cloud code function so you don't have to use the MasterKey on your client-side code.

thank you @mllobere it work's .


How to enable isomorphic rendering?

Hi,
Could you please provide some hints, on how to enable isomorphic rendering? What should be added on client side?

There is nothing special that you need to enable in sourcejs-react component to enable isomorphic rendering - all of that is handled by react and here is how:
Lets say you have an App component which takes some data-structure that is good enough to initialize the whole application. React will create an attribute for App which will look like data-react-checksum="363833629". React will also wrap component's result html into div (*1). To apply handlers and initialize React state on client side you need to call React.render on client side and pass two arguments - component with data and dom node. For dom node you want to use wrapper div (*1). So code will look something like:
React.render(
    React.createElement(AppComponent, AppData),
    plumRewardGraphNode.parentNode
)

Because data for application startup is the same on both server and on client-side - react will create the same checksum, then on client side it will compare the values, because they will be the same, react will only apply event handlers on client side, without re-rendering the DOM. Later, when users will start interacting with the site, component's state will change and with the help of virtual dom only some of the dom branches will be affected.
Application code should be universal. For example you can't use jquery with code that will will execute on server-side (for example render function). To initialize client-side specific functionality from component you want to use componentDidMount.
Not all applications use something global like App component as an only way to initialize component on client side. Most likely you want to initialize (make them isomorphic) only specific/interactive parts of your application. This means that we need to force react to generate a separate checksum for specific component and we can do that via createFactory and renderToString:
        var factory = React.createFactory(Button);
        var button = React.renderToString(factory({
            children: 'Btn Copy Gibson Reg; 1.2em'
        }));
        var buttonWhite = React.renderToString(factory({
            modifier: 'white',
            children: 'Btn Copy Gibson Reg; 1.2em'
        }));

The code above will generate separate checksums for buttons. Then on client side we'll do something like following:
React.render(
    React.createElement(Button, {
            children: 'Btn Copy Gibson Reg; 1.2em'
        }),
    buttonDomNode.parentNode
)

And that will allow us to use the same codebase for client and server sides.
Let me know if you need more details.


Method print send only current page to print

Hi, @hrynko
If we're in pagination-mode, like <vue-pdf-embed :page="page" and call print method, then it will printed only current page
Is there is way to print whole pdf, even we're looking one page?

Hi @nickxgrom,
As a workaround, you can render an "invisible" component in the meantime without a page prop. Also, I will consider updating the print method for this case. Thanks!

I updated the print method signature so that page prop can now be overridden (see 9eaa57a)
Will include this in the next release if it works for you


fix: change API endpoint

Problem description

network-quality/insights does not follow API Design Guidelines
Expected behavior

Change endpoint to /check-network-quality
Additional context

Per comment in review of  #67

Fix provided in fedf4965cafd13500e611c187b6048161548a582


Breaks on third segment when solo

Hi, Prateek
This plugin presents a graceful solution, however I've hit upon an issue in my testing. The reading of the criteria area seems to get thrown off on a third segment. I haven't tested beyond 3.
My router.php file contents:
<?php
/* config/router.php */

return [
  'rules' => [
    'archive' => [
        'segments' => [
            '<year:\d{4}>',
            '<foodType:{slug}>',
            '<color:{slug}>',
        ],

        'criteria' => [
            'year' => [
                'type' => 'year',
                'field' => 'postDate',
            ],
            'foodType' => [
                'type' => 'entry',
                'section' => 'foodTypes',
            ],
            'color' => [
                'type' => 'category',
                'group' => 'colors',
            ],
        ],

        'template' => '_private/archive',
      ]
  ],
];

http://starter-blog.test/archive/2020 works fine.
http://starter-blog.test/archive/2020/fruits works fine.
http://starter-blog.test/archive/2020/fruits/red works fine.
http://starter-blog.test/archive/fruits/red works fine.
http://starter-blog.test/archive/red breaks.
http://starter-blog.test/archive/2020/red breaks.
Below is the stack trace, and I've attached screenshots of the various scenarios.
Craft Pro <IP_ADDRESS>
Router 1.0.0
PHP 7.2

yii\web\NotFoundHttpException in /Users/akimrey/Sites/starter-blog/vendor/miranj/craft-router/src/controllers/DefaultController.php:223
Stack trace:
#0 [internal function]: miranj\router\controllers\DefaultController->actionIndex('_private/archiv...', Array, Array)
#1 /Users/akimrey/Sites/starter-blog/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#2 /Users/akimrey/Sites/starter-blog/vendor/yiisoft/yii2/base/Controller.php(180): yii\base\InlineAction->runWithParams(Array)
#3 /Users/akimrey/Sites/starter-blog/vendor/craftcms/cms/src/web/Controller.php(189): yii\base\Controller->runAction('index', Array)
#4 /Users/akimrey/Sites/starter-blog/vendor/yiisoft/yii2/base/Module.php(528): craft\web\Controller->runAction('index', Array)
#5 /Users/akimrey/Sites/starter-blog/vendor/craftcms/cms/src/web/Application.php(274): yii\base\Module->runAction('router/default/...', Array)
#6 /Users/akimrey/Sites/starter-blog/vendor/yiisoft/yii2/web/Application.php(103): craft\web\Application->runAction('router/default/...', Array)
#7 /Users/akimrey/Sites/starter-blog/vendor/craftcms/cms/src/web/Application.php(259): yii\web\Application->handleRequest(Object(craft\web\Request))
#8 /Users/akimrey/Sites/starter-blog/vendor/yiisoft/yii2/base/Application.php(386): craft\web\Application->handleRequest(Object(craft\web\Request))
#9 /Users/akimrey/Sites/starter-blog/web/index.php(21): yii\base\Application->run()
#10 /Users/akimrey/.composer/vendor/laravel/valet/server.php(158): require('/Users/akimrey/...')
#11 {main}

Btw, I enjoyed your presentation in Montreal. Such a hot weekend, though.
Thanks
Alan

Hi Alan! Glad to hear you liked my presentation. Hope we’re all able to travel to another Dot All again.
The issue you’re running into is due to the fact that the second and third segments both have the same regular expression.
'segments' => [
  '<year:\d{4}>',
  '<foodType:{slug}>',
  '<color:{slug}>',
],

If you take a URL such as /2020/fruits/red, then the existence of all 3 components ensures that fruits is matched as a foodType while red is matched as color. However, when you have just one or two components, such as in /2020/red or /red then the match is for foodType, not color. In order to work around this issue, I would recommend adding some sort of prefix so that a food type is not mistaken for a color, and vice-versa. Eg:
'segments' => [
  '<year:\d{4}>',
  'type:<foodType:{slug}>',
  '<color:{slug}>',
],

So your URLs will now change from /2020/fruits/red to /2020/type:fruits/red. Not as pretty but unfortunately I do not have a better workaround at the moment.

Thanks for the details. It works as you suggest.


xy to RGB

I've just spent several hours on this particular problem and have not solved it, its a bit out of my area.
For the iOS Hue app to work, I require xy colour space numbers.
your equation for rgb to xy works.
I cannot derive one that converts RGB back to xy!
can you help?

Afaik, @me-no-dev has been working on this topic. Pull requests welcome!

I wrote this code mode than a year ago.
If I remember right it is not an 1:1 mapping but its pretty close.
`	def rgbToXY(self):
red = self.lw12.red / 255.0
green = self.lw12.green / 255.0
blue = self.lw12.blue / 255.0
	if red == 0 and green == 0 and blue == 0:
		red = 52
		blue = 23
		green = 15

	print red, green, blue

	if red > 0.04045:
		r = math.pow((red   + 0.055) / (1.0 + 0.055), 2.4)
	else:
		r = red  / 12.92

	if green   > 0.04045:
		g = math.pow((green   + 0.055) / (1.0 + 0.055), 2.4)
	else:
		g = green  / 12.92

	if blue   > 0.04045:
		b = math.pow((blue   + 0.055) / (1.0 + 0.055), 2.4)
	else:
		b = blue  / 12.92

	X = r * 0.649926 + g * 0.103455 + b * 0.197109
	Y = r * 0.234327 + g * 0.743075 + b * 0.022598
	Z = r * 0.0000000 + g * 0.053077 + b * 1.035763

	try:
		cx = X / (X + Y + Z)
	except:
		cx = 0.0

	try:
		cy = Y / (X + Y + Z)
	except:
		cy = 0.0

	print cx, cy

	if math.isnan(cx):
		cx = 0.0
	if math.isnan(cy):
		cy = 0.0

	self.state.xy[0] = cx
	self.state.xy[1] = cy`

@Schischu thanks for this code, would you mind sending a pull request?

@Schischu still around?


picolibc instead of newlib

Very excited to see this happening! My first question is have you evaluated picolibc instead of newlib? Differences between newlib(-nano) are discussed  in picolibc/picolibc#103.

No, we haven't, but we will have a look into it.

https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/pull/120

Re-landed in #123
Smoke tests are passing but samples still need updating

Samples have been updated. I believe this is done.


Add query-expr clause to control handling of duplicate table keys

Refer to https://github.com/ballerina-platform/ballerina-spec/issues/481
The query clause might look like this (only makes sense when creating a table):
table key(id) from r in stm
  select r
  duplicate var prev io:println(`duplicate for ${r.id}: ${r.name} vs ${prev.name}`)

or
table key(id) from r in stm
  select r
  duplicate var prev DuplicateError("duplicate detected", this=r, prev=prev)

i.e. syntax is
duplicate-clause := "duplicate" typed-binding-pattern expression

Semantics is:

duplicate clause gets executed when select emits a row that has the same key as a row that it emitted earlier
static type of expression must be subtype of error?
bind typed-binding-pattern to the previous row that has the same key
evaluate expression resulting in v; evaluation of expression is allowed to have side-effects such as logging
if v is an error, then the result of the query-expr is v
otherwise (v is nil), replace earlier row with new row and continue without giving an error

Issues:

Not sure about the right keyword. Maybe should be something with key in it.
Is providing the previous value sufficiently useful to justify the complexity?
We could get more complex and allow user

to select which row they wanted or
to merge the two rows with the same key

Originally posted by @jclark in https://github.com/ballerina-platform/ballerina-spec/issues/477#issuecomment-609531425

Current proposal is here https://github.com/ballerina-platform/ballerina-spec/issues/481#issuecomment-614522417

Compiler side support added with https://github.com/ballerina-platform/ballerina-lang/pull/22983...


Add docker support

Add Docker support
I've attached below the code for Dockerfile to have the possibility to use dotnet debug tools (dotnet-dump, dotnet-trace, dotnet-counters, dotnet-sos) which I think it would be really helpful for many people who want to debug in PreProd or Prod (ex. Kubernetes)
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
RUN apt-get update \
  && apt-get upgrade -y \
  && apt-get install -y \
     file \
     lldb \
  && rm -rf /var/lib/apt/lists/*
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /src
COPY ["DiagnosticScenarios.csproj", ""]
RUN dotnet restore "./DiagnosticScenarios.csproj"
COPY . .
WORKDIR "/src/."
RUN dotnet build "DiagnosticScenarios.csproj" -c Release -o /app/build
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-sos
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-trace
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-dump
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-counters

FROM build AS publish
RUN dotnet publish "DiagnosticScenarios.csproj" -c Release -o /app/publish

FROM base AS final
COPY --from=build /dotnetcore-tools /opt/dotnetcore-tools
ENV PATH="/opt/dotnetcore-tools:${PATH}"
RUN dotnet-sos install
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "DiagnosticScenarios.dll"]

Hello! Sorry for the delay on reviewing this. This repository is for samples published to https://docs.microsoft.com/en-us/samples/browse/ so while this is a great example on publishing some tools into a docker container, there really isn't a place for it to live here. Sorry!


Unable to install the plugin

I am unable to install the plugin using the provided command in the README.
>? helm plugin install https://github.com/helm-unittest/helm-unittest
Error: Unable to update repository: exit status 1

This does not seem to be resolved by trying older versions either.
>? helm plugin install https://github.com/helm-unittest/helm-unittest --version=0.2.11
Error: Unable to update repository: exit status 1
>? helm plugin install https://github.com/helm-unittest/helm-unittest --version=0.1.5
Error: Unable to update repository: exit status 1

Hello @aroberts87,
The installation should be fixed.
Somehow the installation is mixed with the old forked release.
In case the error still occurs, clean the helm cacheHelm cache before retrying
Greetings,
@quintush

Thank you so much, @quintush! Much appreciated! 🙏🏻


MIC-434 Amend screening journey content

MIC-434

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.64%. Comparing base (afe3059) to head (3b090ce).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #183      +/-   ##
==========================================
- Coverage   60.09%   57.64%   -2.45%
==========================================
  Files         193      193
  Lines        2654     2654
  Branches      437      437
==========================================
- Hits         1595     1530      -65
- Misses       1013     1076      +63
- Partials       46       48       +2

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


Enhance Google Analytics

It aims to fix #89
Kap is tracking Recording ended already. I used this as an example 😉
Tracked events

[x]   Opened Preferences
[x]   Toggled Settings
[x]   Opened Plugin Configuration
[x]   Recording started
[x]   Recording ended
[x]   Accessed Editor/Preview
[x]   Saved file
[x]   Discarded file
[x]   Exported
[x]   Checked for updates

Some things that could be useful to know:

What plugins users install so we can see which one is the most popular.
What plugins users use in the export menu.
What FPS users set.
What file formats users use.

Recording started
Recording ended

What we want to know is how many recordings users are doing and how long. Just events for start and stop are not that useful.

This is really helpful and a great first contribution, thank you @alisonmonteiro!

@skllcrn @sindresorhus thanks for the feedback! I'll send an update soon. 🙌

What we want to know is how many recordings users are doing and how long.

I think that 15835ee solves this.

What plugins users install so we can see which one is the most popular.
What plugins users use in the export menu.
What FPS users set.
What file formats users use.

I can do it. It will take more time for me. But I can do. 😅

Would it be possible to know which version of Kap the events are coming from, preferably without losing interoperability with previous events?

Would it be possible to know which version of Kap the events are coming from

By adding a prefix?
v2.1.2/preferences/opened
v2.1.2/file/discarded
or simply
v2/preferences/opened
v2/file/discarded
🤔

Definitively prefer the incremental semver if that's possible!

@skllcrn I don't think we should differentiate patch versions though. Then we get too many disparate events. We could do v2.1, v2.2, etc.

We could do v2.1, v2.2, etc.

Yes, cool
We could use semver-truncate and
const truncate = semverTruncate('1.3.5-foo', 'minor');
//=> '1.3.0'
const version = `v${truncate.slice(0, -2)}`
//=> 'v1.3'

And I think we don't even need the .slice here.
🤔

If there is anything more I can do, so we can get this merged, please let me know. 🙌

Excellent. Thank you, @alisonmonteiro :)


In some cases users might want to use the full commit hash instead of the suffix.

sbt-dynver just shells out to git, so you can just do the same.  Here's how it's done internally for the purposes of getting the short sha for the version: https://github.com/dwijnand/sbt-dynver/blob/5214ab803a799495f5fa47ddad08a9719a60b330/dynver/src/main/scala/sbtdynver/DynVer.scala#L164.


Failed to copy artifacts from ..jdk11u-linux-s390x-temurin with filter: workspace/target/AQATestTaps/*.tap

Build pipelines failing as no AQATestTaps and copyArtifact is not optional
https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/openjdk11-pipeline/1995/console
05:15:23  Copied 0 artifacts from "[build-scripts » jobs » jdk11u » jdk11u-linux-s390x-temurin](https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-s390x-temurin/)" build number [66](https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-s390x-temurin/66/)
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
05:15:23  ERROR: Failed to copy artifacts from build-scripts/jobs/jdk11u/jdk11u-linux-s390x-temurin with filter: workspace/target/AQATestTaps/*.tap
[Pipeline] // catchError
[Pipeline] }

This should be fixed by https://github.com/adoptium/ci-jenkins-pipelines/pull/336

Close this one. The new builds are good. https://ci.adoptopenjdk.net/job/build-scripts/job/openjdk11-pipeline/2001/console. The reason for without any aritifacts should be fixed by  https://github.com/adoptium/ci-jenkins-pipelines/pull/341


Revert "implement LFA feedback"

Reverts abadojack/StackOverflow-lite#12

Coverage increased (+3.7%) to 76.974% when pulling a811d38069a70f9a8e7830dc3def273acf339564 on revert-12-develop into aee0f5b13e0a196123a1a36da544381878a427b9 on master.


View and add resources by admin

r @weronica @dzhang55

@armant can you post screenshots of the UIs that you created?

lgtm

r @dzhang55 @weronica
I rebased from master. Seems like Git treated all the commits at master that happened after the point when this branch originally branched off from master (i.e. all the commits that got applied to this branch during the rebase) as commits of this branch too, and thus shows them here as well. For reference, here's the list of files that I actually changed:
modified:   app/assets.py
new file:   app/assets/scripts/vendor/address-autocomplete.js
modified:   app/single_resource/forms.py
modified:   app/single_resource/views.py
modified:   app/templates/single_resource/create.html
new file:   app/templates/single_resource/edit.html
modified:   app/templates/single_resource/index.html
new file:   app/templates/single_resource/resource_form.html

Some of the comments from meeting:
-truncate long/lat when showing in a table
-have explicit table headers in front end instead of field_name

@armant Instead of "have explicit table headers in front end instead of field_name", I meant "have explicit table headers in back-end and then pass them in a list to the front-end."

looks good


Saving weekday program for (e.g. HMIP-BROLL) doesn't work

When trying to save the weekday program of e.g. a HMIP-BROLL device saving the settings doesn't work and never finishes.
After some investigation (see https://homematic-forum.de/forum/viewtopic.php?f=60&t=39501&p=398020#p398020) it seems that the reason seems to be that the maximum request header size results in the following lighttpd error messages to appear in /var/log/lighttpd-error.log:
2017-11-13 09:16:02: (connections.c.906) oversized request-header -> sending Status 431

After some more investigation it seems that this issues is caused due to modified max request header size setting in newer lighttpd versions (>= 1.4.43). (see https://redmine.lighttpd.net/issues/2130). Thus, lighttpd >= 1.4.43 limits request header size to 8k now which is substantially smaller than what seems to be required to save the weekday programs in devices like the HMIP-BROLL via the ic_ifacecmd.cgi interface.

@jens-maus I still have this issue, not sure why. I am using latest raspberrymatic HA addon. When I change other values for HMIP-BROLL, it is working after change weekly program and press apply, it shows 'please wait' popup forever and not transfer the data. Any help?


Graphql update

 Issue by evansiroky
Wednesday Oct 17, 2018 at 16:38 GMT
Originally opened as https://github.com/catalogueglobal/datatools-server/pull/118

update to latest gtfs-lib with graphQL update
make the GraphQLController similar to other controllers
add more jmeter tests for common graphQL queries
Fix an error in FetchSingleFeedJob.java
Make response logging faster by not fully parsing large responses

evansiroky included the following code: https://github.com/catalogueglobal/datatools-server/pull/118/commits

 Comment by evansiroky
Friday Oct 19, 2018 at 15:24 GMT

This PR depends on the changes in https://github.com/conveyal/gtfs-lib/pull/144.  A new release of gtfs-lib will need to be created in order for this PR to work out-of-the-box.

 Comment by codecov-io
Tuesday Nov 20, 2018 at 07:36 GMT

Codecov Report

Merging #118 into dev will decrease coverage by <.01%.
The diff coverage is 37.5%.

@@            Coverage Diff             @@
##               dev    #118      +/-   ##
==========================================
- Coverage     5.15%   5.15%   -0.01%
  Complexity      93      93
==========================================
  Files          133     133
  Lines         6865    6872       +7
  Branches       900     903       +3
==========================================
  Hits           354     354
- Misses        6485    6490       +5
- Partials        26      28       +2

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/com/conveyal/gtfs/GraphQLMain.java
0% <0%> (-47.37%)
0 <0> (-2)

...om/conveyal/datatools/common/utils/SparkUtils.java
29.67% <0%> (-2.1%)
9 <0> (ø)

...va/com/conveyal/datatools/manager/DataManager.java
59.34% <100%> (ø)
30 <0> (ø)
:arrow_down:

...main/java/com/conveyal/gtfs/GraphQLController.java
20.93% <57.14%> (+20.93%)
2 <1> (+2)
:arrow_up:

Continue to review full report at Codecov.

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

 Comment by evansiroky
Tuesday Nov 20, 2018 at 07:42 GMT

This PR is now ready for review as it no longer depends on https://github.com/conveyal/gtfs-lib/pull/144.


new cell in wrong place

start with this notebook:
https://pub.beakernotebook.com/#/publications/55f34a9e-a643-41b1-80de-34a6f592fbae
put the mouse between the two closed sections.
insert a section.
the new section contains the 2 JS cells that were inside of the top section.
if you insert a code cell instead of a section, it erroneously goes inside the top section.

dup? https://github.com/twosigma/beaker-notebook/issues/264


Uncaught YAML error

If you use a colon (or probably other invalid YAML characters) in your page metadata, like this:
---
title: baltimore nodeschool: so much fun or stuff
---

you'll get an error but we should catch the error and give more information about the file. Right now, in the gulp version (jasonrhodes/gulp-pagemaki@ea46d698574c9d01ff6460d9e95904bcbc9e7a1d) you get an error like this:
/Users/jason/www/baltimorenodeschool.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:149
  throw generateError(state, message);
        ^
YAMLException: JS-YAML: incomplete explicit mapping pair; a key node is missed at line 3, column 29:
    title: baltimore nodeschool\: learn node.js such fun events  ...

but there is no mention of which file the bad-formed YAML came from. This probably needs to be fixed at this level and not at the gulp plugin level.

I'm having this issue, something more verbose would be amazing

Same here.  The tool doesn't seem to like the Ruby expression/output tags that have colons in them, such as when the ternary (?:) operator is used.


Provide mechanism to modify established connections

I faced the situation when deletion (and maybe creation) of the policy doesn't affect the pod(s).
I guess the main problem is that calico doesn't modify established connections. And if the pod has a persistent connection then changes will not affect it.
Expected Behavior

Modify the established connections as well.
Current Behavior

The state of the established connections doesn't change.
Context

It is a great example to use reloader.

Create a default deny ingress/egress policy
Deploy reloader in your cluster according to the docs
Deploy a simple application and attach a secret/configMap, annotate the deployment with reloader annotations
Try to make changes in the secret/configMap attached to the deployment.
See error logs with unavailable kube-api from the reloader pod(s)
Add allow policy for the reloader

apiVersion: projectcalico.org/v3
kind: NetworkPolicy
metadata:
  name: allow-api-access
  namespace: test
spec:
  selector: all()
  egress:
    - action: Allow
      destination:
        services:
          name: kubernetes
          namespace: default

Make changes in the secret/configMap again
See no errors in the reloader pod(s)
Delete the allow policy
Make changes in the secret/configMap one more time
It's expected to see the error messages in the reloader pod(s) with the unavailability of the kube-api.
But in the real world nothing changes to the reloader pod(s). They continue to communicate with the kube-api.

Your Environment

Calico version
3.23.2
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.21 (EKS), kubernetes 1.24.1 (minikube)
Operating System and version: Amazon Linux2 (EKS), Ubuntu 20.04.4 (minikube)

I think it's worth pointing out here that the Kubernetes NetworkPolicy API is intended to operator on connections and not packets: https://kubernetes.io/docs/concepts/services-networking/network-policies/
So, the current behavior is the "correct" one in terms of the Kubernetes API. However, I can imagine it might be desirable to have a way to invalidate existing allowed connections as a separate feature.

@caseydavenport
Exactly!
I'd like to see an additional feature to invalidate connections.

@caseydavenport Can you cite where is says that unequivocally?

@sanmai-NL just searching for "connection" in that linked document in my previous comment brings up several examples, but these say it best:

NetworkPolicies apply to a connection with a pod on one or both ends

and

There are two sorts of isolation for a pod: isolation for egress, and isolation for ingress. They concern what connections may be established.

I think that indeed suggest but certainly doesn't assert exclusive applicability to connections. Indeed, that would be inconsistent since NetworkPolicys can cover UDP, which is not connection-oriented.

Yes, UDP as a protocol isn't connection oriented, but there are still distinct UDP connections and UDP flows identified by the kernel and tracked via connection tracking (conntrack on Linux) much like TCP. NetworkPolicy applies to them similarly - e.g., you don't need to allow return traffic explicitly, it is identified as part of that UDP connection and allowed implicitly.
I think the discussion you're having in https://github.com/kubernetes/kubernetes/issues/120525 covers this pretty well.

NetworkPolicy applies to connections rather than individual packets.
Changing a NetworkPolicy has no defined impact on existing connections previously allowed by the policy.

It seems the stance from SIG network is now "the behavior is undefined", in which case the answer here remains that Calico's implementation does not impact any existing connections, and that it's a reasonable enhancement request to have an opt-in way to invalidate connections instead.

Did you found another way to solve the problem? @0m1xa
Maybe without using calico

Did you found another way to solve the problem? @0m1xa Maybe without using calico

@zoglam
Yes, I did.
Cilium :satisfied:


commented out versioning feature flag

MADiE PR
Jira Ticket: MAT-5461
(Optional) Related Tickets:
Summary

commented out versioning feature flag

All Submissions

[ ] This PR has the JIRA linked.
[ ] Required tests are included
[ ] No extemporaneous files are included (i.e Complied files or testing results)
[ ] This PR is into the correct branch.
[ ] All Documentation as needed for this PR is Complete (or noted in a TODO or other Ticket)
[ ] Any breaking changes or failing automation are noted by placing a comment on this PR.

DevSecOps
If there is a question if this PR has a security or infrastructure impact, please contact the Security or DevOps engineer assigned to this project to discuss it further.

[ ] This PR has NO significant security impact (i.e Changing auth methods, Adding a new user type, Adding a required but vulnerable package)
[ ] All CDN/Web dependencies are hosted internally (i.e MADiE-Root Repo)

Reviewers
By Approving this PR you are attesting to the following:

Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
The tests appropriately test the new code, including edge cases
If you have any concerns they are brought up either to the developer assigned, security engineer, or leads

the only change in this ticket is in package-lock.json which likely came from running npm install. There are no changes to this branch.


Timesheet - 22/04/2021 - Vyz

Task 1
Research and document optimal way that we can have tech docs about all of our libraries and SDKs (JavaScript libs, Python packages, Kotlin SDK, etc...). Plan of action.
https://github.com/thenewboston-developers/Management/issues/151
Aspects researched and documented so far are:

Background
Overall goal
Current state
Problem
Stakeholders
Additional input and feedback
Hypothesis 1: audience profile

Proof of Work
https://docs.google.com/document/d/1Y9d6FQb3jvcshPXWwvBD8Y_y1v2_iYnBZRUSR4-Plnw/edit
Time Spent
4.5 hours

Total Time Spent
4.5 hours
Account Number
0d8a4c42ece012b528dda5f469a4706d24459e2eee5a867ff5394cf869466bbe

Approved


Adding Healthcheck parameter to upstreams[]

Adding the possibility to customize the health check into upstreams.
Also added it to the tests.

Is there something else that I should do to have this PR merged?

Nope, sorry forgot about it — I'll check it out tomorrow

Thanks

Does this project stills active? :(


Run SyzOS runtests continuonsly to detect regressions

Is your feature request related to a problem? Please describe.
We currently have a bunch of ARM64 SyzOS tests in sys/linux/test. I run them locally using syz-manager -mode run-tests, but want to continuously run them somewhere to detect regressions.
Describe the solution you'd like
Because the manager already has all the building blocks to execute those tests, I was thinking about adding a config option that would run the tests at manager startup and report their failures as bugs.
This can be very helpful for verifying the behavior of SyzOS guest code, but can be also used to validate pseudo-syscalls that can silently stop working now.
An alternative approach would be to add a separate Github CI test target that would effectively run syz-manager -mode run-tests.
Additional context
In general, tests in sys/linux/tests do not always validate any functionality. In certain modes, some syscalls may fail leading to test failures. So we'll need to split off the tests meant to be run continuously.

Related #4022, #604, #603


Create constructor function .prototype property on-demand

(At this point just some quick testing, not sure if this approach will be merged.)
All constructable functions have a .prototype property. It points, by default, to an object whose .constructor property points back to the function, creating a reference loop. This reference loop prevents most function objects, especially inline callbacks, from being refcount freed. There are several approaches to allow refcount collection of such function objects.
One of them is to postpone creation of the .prototype property until it is actually observed somehow and we must commit to the property's existence. Relevant situations include:

Reading the property: value must be created.
Writing the property: since .prototype is writable but not configurable, the new value can be written without creating the object prior to the (over)write.
Existence check: prototype in MyConstructor must return true; does not require creation of the object.
Deleting the property: .prototype is non-configurable so delete must fail; does not require creation of the object.
Object.getOwnPropertyNames() or duk_enum() with "include non-enumerable": requires listing the "prototype" key but doesn't require creation of the object (except for duk_enum() with both keys and values requested). Enum order has a few issues.
Object.defineProperty(): some cases might be handled without triggering creation, but safest would be to create the property if Object.defineProperty(MyConstructor, "prototype", { ... }) is called.

This approach allows refcount collection of a few basic cases, in particular anonymous functions which are not captured by an outer scope, e.g.:
setTimeout(function () { ... }, 1000);

Unfortunately if the function is given a name, this currently creates another kind of reference loop (scope object containing the function name binding points to the function, and the function points to the scope) so this doesn't get refcount collected:
setTimeout(function mycb() { ... }, 1000);

This case could be allowed to work by reworking the function name binding scope handling. But other cases will still remain.
Tasks:

[ ] Property get
[ ] Property set
[ ] Property has
[ ] Property delete
[ ] Object.getOwnPropertyNames() and other enumeration cases
[ ] Object.defineProperty()
[ ] Treatment of Duktape/C functions - allow them to have an on-demand .prototype now? (This would be the behavior by default without an explicit internal flag which doesn't yet exist.)
[ ] Testcase coverage
[ ] Short internal document
[ ] Releases entry

As a rough example of the memory impact of this optimization, loading TypeScript 2.5 typescriptServices.js into the global object on x64 takes:

16.78MB peak in master
16.25MB peak in this pull at present

So the memory savings are around 3% in this case - not huge, but still significant considering there is next to no functional downside (but of course some complexity downsides).
For a targeted memory test exercising function instance creation maximally (tests/memory/test-function-expression-1.js):

37.06MB peak in master
24.58MB in this pull

which comes to around 33%, representing the maximum possible benefit from this change alone.

For the Promise polyfill, which is not very compact memory-wise:

tests/memory/test-promise-instance-resolve-reject.js:

1.37kB per instance+resolve+reject, master
1.07kB per instance+resolve+reject, this pull

tests/memory/test-promise-then-chain.js:

1.93MB total, master
1.59MB total, this pull

So this change improves the Promise polyfill memory behavior quite a bit, which is quite natural because Promises (even behind the user-provided callbacks) are function-heavy.

So besides reducing GC pressure, this also reduces memory pressure.  Nice. 😁

It would be really nice to have some structured, extensible way of virtualizing properties like this, so that the approach could be applied to a few other properties too. But it seems hard to generalize: the knowledge that the property needs to be virtualized cannot come from the prototype (it would be user visible), and in some cases one doesn't want to actually instantiate the property but still behave as if it existed (e.g. enumeration).


feat: add bastion host to allow access to RDS instances

Fixing TFSec and generating a keypair for SSH access


Keep imperative approach for defining menu items?

From @rsinger86 on October 8, 2016 22:59
hi, thanks for making this component - it's very useful! I just had a suggestion...
In my app, I want to re-use the same context menu in many different components. With the new declarative approach, there is no easy way for me to duplicate these menu items across multiple components, because of how the ContextMenuComponent uses ContentChildren, which hardcodes the item definitions into templates. But with the imperative approach, it's easy to define these items in a TypeScript module that I import various places.
Copied from original issue: isaacplmann/angular2-contextmenu#15

Here's my proposal:

Right Click: {{item.name}}

<context-menu>
  <template *ngFor="let action of contextMenuActions" contextMenuItem let-item
    [visible]="action.visible" [enabled]="action.enabled" [divider]="action.divider"
    (execute)="action.execute($event.item)">
    {{ action.html(item) }}
  </template>
</context-menu>

@Component({
  ...
})
export class MyContextMenuClass {
  public items = [
      { name: 'John', otherProperty: 'Foo' },
      { name: 'Joe', otherProperty: 'Bar' }
  };
  @ViewChild(ContextMenuComponent) public contextMenu: ContextMenuComponent;
  public contextMenuActions = [
        {
          html: (item) => `Say hi!`,
          click: (item) => alert('Hi, ' + item.name)
          enabled: (item) => true,
          visible: (item) => item.type === 'type1',
        },
        {
          divider: true,
          visible: true,
        },
        {
          html: (item) => `Something else`,
          click: (item) => alert('Or not...'),
          enabled: (item) => false,
          visible: (item) => item.type === 'type1',
        },
      ];
}

Note: This syntax is for version 0.4.0.
Will this work for you?
You can still update the contextMenuActions property by importing from a static file or using a service.
If this doesn't work, I can include the *ngFor logic into the library and expose an [actions] property on the <context-menu> tag.

I think I can help you come up with a way to use the declarative approach.
I'll send some ideas on Monday.
However, if none of the ideas work for you, I'll keep the imperative
approach.
On Oct 8, 2016 6:59 PM, "rsinger86"<EMAIL_ADDRESS>wrote:

hi, thanks for making this component - it's very useful! I just had a
suggestion...
In my app, I want to re-use the same context menu in many different
components. With the new declarative approach, there is no easy way for me
to duplicate these menu items across multiple components, because of how
the ContextMenuComponent uses ContentChildren, which hardcodes the item
definitions into templates. But with the imperative approach, it's easy to
define these items in a TypeScript module that I import various places.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/isaacplmann/angular2-contextmenu/issues/15, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA0lQIB4FL7RlRmBL-R4Wjhvb5b3HEmLks5qyCBfgaJpZM4KR2V5
.

From @spanda90 on February 2, 2017 5:34
Instead of contextmenuactions if I want to iterate based on item.actions.. can I do that ?

The imperative approach is no longer supported in version 1.x (renamed to ngx-contextmenu)

What do you think of my proposed declarative approach?  Does it satisfy your needs?

From @spanda90 on February 2, 2017 5:35
if yes can you provide an example

Example added to readme


IndexOutOfRangeException when opening dump file

Is this because the dump file has no heap data?
Here is the error:
********** TRYING TO OPEN THE DUMP AS 64 BIT ************
set _NT_SYMBOL_PATH=;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*http://msdl.microsoft.com/download/symbols;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*https://nuget.smbsrc.net;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*http://referencesource.microsoft.com/symbols;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*https://dotnet.myget.org/F/dotnet-core/symbols
Exec: "C:\Users\Greg\AppData\Roaming\PerfView\VER.2018-04-<IP_ADDRESS>.025\amd64\HeapDump.exe" /processDump  /MaxDumpCountK=250 "C:\Users\Greg\Downloads\dump.dmp" "C:\Users\Greg\Downloads\dump.gcdump"
Creating heap dump C:\Users\Greg\Downloads\dump.gcdump from process dump C:\Users\Greg\Downloads\dump.dmp.
Enumerating over 1 detected runtimes...
Created SymbolReader with SymbolPath ;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*http://msdl.microsoft.com/download/symbols;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*https://nuget.smbsrc.net;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*http://referencesource.microsoft.com/symbols;SRV*C:\Users\Greg\AppData\Local\Temp\symbols*https://dotnet.myget.org/F/dotnet-core/symbols
Creating Runtime access object for runtime v4.7.2563.00.
Creating a GC Dump from the dump file C:\Users\Greg\Downloads\dump.dmp
Trying to get a ICorDebugProcess object.
DumpDotNetHeapData: Heap Size 7 MB
Dumping GC heap, This process is a 64 bit process on a 64 bit OS
  3.0s: Starting heap dump 30/04/2018 11:12:42
  3.0s: Size of heap = 0.000 GB
In a 64 bit process.  Increasing the max node count to 134.2 Meg
Implicitly limit the number of nodes to 134.2 Meg to avoid arrays that are too large
Estimated number of objects = 0
HeapDump Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at FastSerialization.MemoryStreamWriter.Write(Byte value)
   at Graphs.Graph.SetNode(NodeIndex nodeIndex, NodeTypeIndex typeIndex, Int32 sizeInBytes, GrowableArray`1 children)
   at Graphs.Graph.ClearWorker()
   at Graphs.MemoryGraph..ctor(Int32 expectedSize)
   at GCHeapDumper.DumpDotNetHeapDataWorker(ClrHeap heap, ICorDebugProcess& debugProcess, Boolean isDump, Double retryScale)
   at GCHeapDumper.DumpDotNetHeapData(ClrHeap heap, ICorDebugProcess& debugProcess, Boolean isDump)
   at GCHeapDumper.DumpHeapFromProcessDump(String processDumpFile)
   at Program.MainWorker(String[] args)

This is clearly a bug, but I really can't fix it without a repro.   If you can provide the dump.dmp file (you can e-mail me some link to vancem@microsoft.com), I should be able to fix it.

Per @vancem's comment, this will require a repro.  Closing.


Prepare list of 2.1.1 patch candidate issues

Review the list of issues fixed/PRs merged in dev for any work items that are candidates for inclusion in the first patch.

@davidfowl so you went through the whole list of commits so far? Or do you want me to keep digging for things to add?

Do another pass to make sure I didn't miss anything.


bpf/nat: implement support of ICMP4 fragmentation needed at egress

PR #18414 added support for ingress ICMP "fragmentation needed" support to hande those sent by remote routers. This commit mirrors it to support such ICMP sent from endpoints.
The use case is that pod is redirecting traffic from the world into a tunnel, which has smaller MTU. It may return a ICMP "frag needed" to the remote server that requires SNAT to happen properly on both outer and inner headers.
Address IPv4 "fragmentation needed"  part of : #23955
Supports IPv4 ICMP "fragmentation needed" in egress SNAT

/test

I do have some doubts surrounding the complexity/use-case trade off though.

I agree this is not a common use case. But I do think it's good to support ICMP packets in SNAT (e.g. Pods may have iptables rules rejecting traffic with ICMP). With this change, it's just a few lines more to support other ICMP codes

I do have some doubts surrounding the complexity/use-case trade off though.

I agree this is not a common use case. But I do think it's good to support ICMP packets in SNAT

The "Datapath BPF Complexity" test passed on the previous iteration with room to spare in the NAT related tail calls, so I think we are good.

@dylandreimerink what's the next step for this PR? I don't see unresolved comments

/test

https://github.com/cilium/cilium/pull/25054/files#r1175491486 was not resolved and you had not re-requested a review, so I thought you might still have some amendments

Sorry I didn't realize I need to re-request a review. I expect my reply addressed your comment and please mark it resolved if it's ok with you. or let me know if you have other concerns

/mlh new-flake Cilium-PR-K8s-1.24-kernel-5.4

/test-1.24-5.4


[Project Addition] End-to-end Sensor Fault Detection

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Sensor Fault Detection
:red_circle: Aim : The Sensor Fault Detection system is designed to monitor sensors and detect any faults. It uses advanced algorithms to ensure the accuracy and reliability of sensor data.
:red_circle: Dataset : https://www.kaggle.com/datasets/arashnic/sensor-fault-detection-data
:red_circle: Approach : Try to use 7 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Damodar
GitHub Profile Link : https://github.com/daemonX10
Participant ID (If not, then put NA) : c2cd185bfe
Approach for this Project :

Data preprocessing and transformation.
EDA and visualization.
Feature Engineering.
Training ML models like  RF , DT , AdaBoost , GB , XB , KNN and other ML regressors for predicting the Good/Bad Condition of sensor and evaluating the best-fitted model for the dataset.
Making predictions using best-fitted models.

What is your participant role? SSOC S3

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

assign to me @abhisheks008

Assigned @daemonX10


HTTP/2 SETTINGS ACK sequencing issue

Motivation:
DefaultHttp2ConnectionDecoder#onSettingsRead processes the settings, and then sends a SETTINGS ACK to the remote peer. Processing the settings may result in frames which violate the previous settings being send to the remote peer. The remote peer will not apply the new settings until it has received the SETTINGS ACK, and therefore we may violate the settings from the remote peer's perspective and the connection will be shutdown.
Modifications:

We should send the SETTINGS ACK before we process the settings to ensure the peer receives the SETTINGS ACK before other frames which assume the settings have already been applied

Result:
Fixes #6520.

@ejona86 - PTAL

The main code change LGTM. I'm on mobile, so the test is a bit hard to read at the moment.

4.1 (01012fc)


fix verify join token and bootstrapfile only in token bootstrap mode

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

/kind bug
What this PR does / why we need it:
join token and bootstrap file are only checked when token bootstrap mode is selected.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/approve


Is there a way we can do custom codes?

Like lets say I'd want to do something like: !![big] would make a stylized span for the website?

See the guide here. It should be something like this:
class MyParsedown extends Parsedown {
    public function __construct() {
        $this->InlineTypes['!'][]= 'BigText';
    }

    protected function inlineBigText($excerpt) {
        if (strpos(Eexcerpt['text'],'!![') === 0 && preg_match('#^!!\[(.*?)\]#', $excerpt['text'], $matches))
        {
            return [
                'extent' => strlen($matches[0]),
                'element' => [
                    'name' => 'span',
                    'text' => $matches[1],
                    'attributes' => ['class' => 'big-text']
                ]
            ];
        }
    }

}

echo (new MyParsedown())->text('this is a !![big text].');

Hey thanks for that. Not sure why I didn't see the guide posted earlier. 👎  Lol.


Docs: Make scripts compatible with Python 3

Backport of #10320

14:59:07 Generating swagger
14:59:07 Failed to open example file:
14:59:07   '/work/ArangoDB/utils/../Documentation/Examples/RestQueryValid.generated'
14:59:07 while parsing '/work/ArangoDB/Documentation/DocuBlocks/Rest/AQL/PostApiQueryProperties.md'
14:59:07 trying to use handler 'example_arangosh_run'
14:59:07
14:59:07 while parsing file: '/work/ArangoDB/Documentation/DocuBlocks/Rest/AQL/PostApiQueryProperties.md' error: failed to open example file:/work/ArangoDB/utils/../Documentation/Examples/RestQueryValid.generated
14:59:07 Traceback (most recent call last):
14:59:07   File "/work/ArangoDB/utils/generateSwagger.py", line 1470, in <module>
14:59:07     raise Exception("while parsing file '%s' error: %s" %(thisfn, x))
14:59:07 Exception: while parsing file '/work/ArangoDB/Documentation/DocuBlocks/Rest/AQL/PostApiQueryProperties.md' error: failed to open example file:/work/ArangoDB/utils/../Documentation/Examples/RestQueryValid.generated
14:59:07 FAILED!

3.6 and older will continue to use Python 2 in the foreseeable future, closing.


WorkflowJob object has no attribute 'get_build'

Hi there,
I upgraded from version 1.15 to 2.0 and get an issue, the method get_build() is missing.
def get_build_data_by_number(self, job_name: str, build_number: int):
    """ Route Jenkins: Get build data by build number """
    job_item = self.get_job(job_name)
    if job_item:
      build_item = job_item.get(build_number)
    if build_item:
      return build_item.api_json()
    return False

How can I retreive information on a specific build from job?
Thanks

@facetheheat it was renamed to get, but the doc was not updated yet

Thanks, iter_builds also renamed to iter_all_builds


Download a 3D model on demand

In the Plant Detail Page, when users click the "AR simulate" button, the program will check whether the plant model exists  the application caches. Then, if not, download it from AWS S3 buckets.

I tried to run unit tests to see where your code coverage is now with this PR, but your tests are covering more code than you are testing.  It's because of this:
@main
struct PlantApp: App {
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}

When you run the unit-test suite, this gets triggered (because @main is entry point into the app code and your tests run the app to test it).  Above you can see it instantiates ContentView.  That in turn triggers some other code to run because ContentView instantiates some other structs and classes and calls some other functions you wrote.
I gave you some code a while back to fix this, so that your code-coverage report produces a more accurate number.  Add it and include the code-coverage number in your PR's description (and in all subsequent PRs).


Prettier ignores html-element-content-newline

There's a rule that can be activated for VUE for singleline-html-element-content-newline. I love the rule, works great with the config, but I could not make it work at all with prettier

While this is not a bug report per se, I was just wondering if you have any suggestions on how to solve this. It also adds a space before and after the content, but I guess this is less relevant right now.
Config example:
// eslint.config.js

import {sxzz} from "@sxzz/eslint-config";

export default sxzz(
    [
        {
            rules: {
                "vue/singleline-html-element-content-newline": [
                    "error",
                    {
                        ignoreWhenNoAttributes: true,
                        ignoreWhenEmpty: true,
                        ignores: ["pre", "textarea"]
                    }
                ]
            }
        }
    ],
    {vue: true, prettier: true, markdown: true, unocss: false}
);

It conflicts with Prettier, so you can only turn it off if you need Prettier. And eslint-plugin-prettier has been disabled for it. https://github.com/prettier/eslint-config-prettier/blob/19826807f2d668a05bb9c29a5f6f6a6e6e3287e4/index.js#L168
So far I have no other way to resolve the conflict other than closing one of them.


DMP-1256 - changes applied from barrys script (v50,v51,v52)

https://tools.hmcts.net/jira/browse/DMP-1256

Potential  security issue CVE-2023-5072 , looking into it as well.


Images or icons

This is an awesome project, the only thing missing from this is support for images or icons. I have found that this is possible using jQuery UI Selectmenu, but when integrating both it doesn't seem to work (see this jsFiddle)
Here is an example of what I mean:

This is supported using the templateResult option: http://docs.select2.org/dropdown#templating

Oh sorry didn't see that. Thanks.


Support from on-prem ubuntu

Hi , having created a brand new Ubuntu 22 VM to implement these steps and following them , my experience is they don't work and after extensive troubleshooting I'm still struggling to ensure my forwarded logs end up in Sentinel. Is this guide only intended for Azure VMs?

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

ID: 0eec6c2a-e5d8-1655-35d1-8a9b1651adae
Version Independent ID: c0afbab0-4952-f9d6-c3ee-093c30b0e7d7
Content: Tutorial: Forward Syslog data to Microsoft Sentinel and Azure Monitor by using Azure Monitor Agent
Content Source: articles/sentinel/forward-syslog-monitor-agent.md
Service: microsoft-sentinel
GitHub Login: @cwatson-cat
Microsoft Alias: cwatson

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

Hi @matthewmoffo I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1


Adds CPE field; switches to community fork for fingerprint data

The CPE field from fingerprints is not currently exposed, so this PR adds them.
Additionally, with the original version of Wappalyzer no-longer existing, this PR updates the update-fingerprints tool to use the community fork at https://github.com/Lissy93/wapalyzer

Thanks so much for the quick merge <3


fix(docs): highlighted line in Select dynamic items

📝 Description
Hello. In the code section of the Dynamic items subsection of the documentation for the Selector component, I found that the highlighted line is highlighted incorrectly, see the image for more details

⛳ Current behavior (updates)
Incorrectly highlighted line
🚀 New behavior
Changed the highlighted line
💣 Is this a breaking change (Yes/No): Yes
I've wasted a lot of time and made a lot of mistakes that I shouldn't have because I didn't notice this, and I don't expect anyone else to (and it's night time)

Summary by CodeRabbit

Documentation

Updated examples and highlighted lines in the documentation for the Select component, enhancing clarity for "Dynamic items," "Disabled," "Required," "Sizes," and "Label Placements."

Hello, I saw you approved the changes but it seems like no any changes in the document. Might   I do something?
This is my first pull request, sorry

@Choneas Being approved doesn't mean release.


Calling distributed workflow

I have 3 workflows running in 3 different containers if workflow A needs to call workflow B and workflow B calls workflow C, how should be called, take a use case of Coder as Workflow A, who generates the code and passes the code to review to Workflow B, and after review, Workflow B passes to Tester(workflow c), there is a huge transfer of data, is this use case suitable with Llama-Deploy.

If there is a huge transfer of data, then each workflow should be reading the data from some db or s3 storage, rather than passing over the network

otherwise, seems like a perfectly valid use case

@logan-markewich  Can we add a docker sample for distributed agentic workflows, like different personas, Coder, reviewer, Tester, it will make users to adopt and test quickly.


from_transmission stopped working in 3.6.0

Expected behaviour:
clean_torrents is executed and finished torrents are removed
Actual behaviour:
task is aborted with CRITICAL exception
Config:
  clean_torrents:
    disable: [seen, seen_info_hash]
    from_transmission:
      only_complete: yes
    if:
      - transmission_progress == 100: accept
    transmission:
      action: remove
    no_entries_ok: yes

Log:

(click to expand)
2023-04-11 18:58:30 DEBUG    task          clean_torrents  executing clean_torrents
2023-04-11 18:58:30 TRACE    template      clean_torrents  templates: ['global']
2023-04-11 18:58:30 DEBUG    disable       clean_torrents  Disabled plugins: seen_info_hash, seen
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Trying to connect to transmission...
2023-04-11 18:58:30 DEBUG    transmission  clean_torrents  Connecting to http://localhost:9091/transmission/
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Successfully connected to transmission.
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Trying to connect to transmission...
2023-04-11 18:58:30 DEBUG    transmission  clean_torrents  Connecting to http://localhost:9091/transmission/
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Successfully connected to transmission.
2023-04-11 18:58:30 DEBUG    transmission  clean_torrents  Connecting to http://localhost:9091/transmission/
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: original_title = 'XYZ'
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: title = 'XYZ'
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: original_url = ''
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: url = ''
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: torrent_info_hash = '2b3f087214be36fec48aa6392a14fcf4189d5fa4'
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: content_size = 2623.425117492676
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: location = '/data/transmission-home/torrents/2b3f087214be36fec48aa6392a14fcf4189d5fa4.torrent'
2023-04-11 18:58:30 CRITICAL plugin        clean_torrents  Tried to set 'XYZ' url to PosixPath('/data/transmission-home/torrents/2b3f087214be36fec48aa6392a14fcf4189d5fa4.torrent')
2023-04-11 18:58:30 WARNING  task          clean_torrents  Aborting task (plugin: from_transmission)

Additional information:

FlexGet version: 3.6.1
Python version: 3.11.2
Installation method: pip
Using daemon (yes/no): yes
OS and version: Siduction
Link to crash log:

It looks like starting with https://github.com/Flexget/Flexget/pull/3716 https://github.com/Flexget/Flexget/blob/develop/flexget/plugins/clients/transmission.py#L230 sets url to pathlib.Path while Entry expect str for url https://github.com/Flexget/Flexget/blob/develop/flexget/entry.py#L237

Thanks for the report! I believe this change should fix it.


It not work!

It not work!

I'm currently using the storybook.
I try to use types-xlsx-populate to resolve that xlsx-populate can't used typescript, but i failed.
It's seem my project can't to import xlsx-populate if I used types-xlsx-populate.
Both the types-xlsx-populate and xlsx-populate I use are version at 1.19.1;

Could you help me, Thank you very much.

If you just want to specify types in typescript, the current repository will work.
Here is how the library import is written
import * as XlsxPopulate from "xlsx-populate";


[feat] add overview of all the collabs awaiting to be signed

Describe the problem
currently, unsigned collab contracts can only be signed in the OBJKT page, which might get confusing when multiple collab pieces are being created etc
Describe the solution you'd like
adding an overview page in the "collaborate" section where you can see all the unsigned collab contracts and sign them from there
Alternatives considered
No response
Additional context
No response

Do you mind adding screenshots to understand it better?


Top Navigation (Desktop//Header Redesign)

https://www.figma.com/file/KbNIbEz1n8R5EVXEQLRSEX/Heat-Pump?node-id=1008%3A12538&t=lCcrqoTGRqEhIIYq-0 (Design updated)

Per March 7, 2023, Chris recommended, BHPA top navigation needs to have:
Learn More

Heat Pumps
Testimonials

Survey
More

About Us
FAQ
Get Involved

Get A Heat Pump (CTA - Extra button) (See figma file)

@thiagobardini UX Team is reopening the ticket and will be redesigning it per Chris's req.

New Design link: https://www.figma.com/file/KbNIbEz1n8R5EVXEQLRSEX/Heat-Pump?node-id=1649-12698&t=IAtsR7D9mquntLNe-0
@thiagobardini


Add documentation about default storage class

Adds docs for feature https://github.com/kubernetes/features/issues/180
@gnufied, @rootfs, PTAL and fix my English, thanks!

This change is

LGTM

@thockin, thanks for the review! I'll probably never learn how to use articles :-\

https://github.com/kubernetes/kubernetes/pull/42991 got merged. I added a commit that changes storageclass.beta.kubernetes.io/is-default-class to storageclass.kubernetes.io/is-default-class everywhere.

@jsafrane This PR needs to target the release-1.6 branch, as it is not relevant until release-1.6 is pushed. Please change the target branch.

@devin-donnelly, fixed your remarks (thanks!) and rebased on top of 1.6

I updated the default storage class task with https://github.com/kubernetes/kubernetes/pull/43202 (just the class name changed).

Docs LGTM modulo two small typo nits.

Fixed everything and squashed.

@jsafrane , thanks for getting to the comments! However, I can't merge until we resolve the merge conflict. Would you mind having a look at that?

Sure, rebased.

Thanks!


[2.0.0-beta.4] Restarting Nitro breaks MySQL?

Description
When i set up Nitro v2, I imported some databases, connected them up to my sites that I added via nitro add, and all worked fine. However, as soon as I restart Nitro (e.g. nitro restart, or stopping nitro and starting again later), MySQL ceases to function:

All my sites display the error:  Database Exception – yii\db\Exception SQLSTATE[HY000]: General error: 1449 The user specified as a definer ('mysql.infoschema'@'localhost') does not exist The SQL being executed was: SHOW TABLES
When i connect to nitro through my GUI (Sequel Ace), none of the databases i had previously are present, not even the default nitro databases etc.

So far the only way i can fix this is to nitro destroy then nitro init and then reimport my databases again.
Steps to reproduce

Install nitro v2, create some databases
Restart nitro

Additional info

Nitro version: 2.0.0-beta.4
MySQL 8 (and also happened second time where i had MySQL 5.7 set up too via nitro edit)

After further exploring, I think it might be the way in which I imported my databases that might be the cause. I had previously been running my import via Sequel Ace - i had an export of all db's from nitro v1 in one .sql file so i was importing that, and I had to suppress a few warnings about innodb tables - could this be the source of the issue? I'm now going through and manually importing fresh exports of each database from the live sites, one by one, via the nitro CLI on a fresh nitro init, then restarting nitro and I am not recreating the issue so far.

@alexr8 can you try clearing your local caches? That is a strange error but referencing localhost, which would not work in Docker (it needs the db.database.nitro hostname).

I think this can probably be closed - I've not reencountered the issue slowly reimporting databases one by one, rather than my single export from nitro 1 of all databases. Just for the record in case this pops up in future, how it got to that issue was:

I'd exported a single sql file of all dbs from nitro v1 using nitro db backup
deleted nitro v1 as per the uninstall directions in the docs
installed v2
imported my old databases via a gui, at which point some warnings/errors around innodb tables were thrown which i proceeded anyway
stopping and restarting nitro which resulted in the above