Update time tracking

Update time tracking for emitter steps to only include:

pre step
bins selection
post step

Remove time_elapsed_user metric tracking.

Updated in aaf1274506ab153e64613980a9718f0d2fb3bdcb


[Feature?]: Add ability to add/modify head classes, lang and lang dir

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Currently, the server component contains the basic outline of a page including the head element. This as far as I have seen, makes it impossible to change the classes, lang and lang dir reactively. I think this should be provided as pseudo component, though I don't know, if solid-meta would be better for this feature. But open for other ideas.
Examples 🌈
Not needed.
Motivation 🔦
I wanted to build a website with multilang support as well as the ability to have dark and light mode. My current solution is to add some static scripts to the head section of the server component and calling a function provided there.

I do think something like Solid Meta would be better.. or something in Solid itself. Right now as you said you have to write it into the document and then create an effect that writes to it after the fact in the client to do updates. It would be nice to streamline this.


Implement proper initialisation and better rendering of SLU results

Hi!
I was happy to see this neat little app and decided to make some improvements to it in order to:

make it work in all major browsers (dekstop Safari / Firefox / Chrome and iOS Safari / Android Chrome)
change the rendering to update current transcript in real-time
improve SLU accuracy by using a more optimised (and anecdotally simpler) SLU configuration

I would be also happy to hear if some of the changes I've made should be reflected in Speechly documentation (either the one @ speechly.com or the one in the browser-client repo).
EDIT: You can check out the updated version of the app @ https://radiohead.github.io/dnd-voice-dice-roll/ 🙂

This is awesome! Thanks @radiohead

I would be also happy to hear if some of the changes I've made should be reflected in Speechly documentation (either the one @ speechly.com or the one in the browser-client repo).

Definitely!


fix int overflow when parsing the transport parameters

Codecov Report

Merging #2564 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2564   +/-   ##
=======================================
  Coverage   86.17%   86.17%
=======================================
  Files         122      122
  Lines        9550     9550
=======================================
  Hits         8229     8229
  Misses        983      983
  Partials      338      338

Impacted Files
Coverage Δ

internal/wire/transport_parameters.go
89.38% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix ignoring Consul storage keys

Coverage increased (+0.2%) to 90.414% when pulling 78bac26229fd81f377aa7aae6d27685d04cc03f9 on fixignore into 9372ef4c5cc6ef52c4474d700363964e864cadc4 on master.


BB-19 - [BUG] collections/hardware/interconnect role variable name missmatch

Dear team
Context
We are trying to run the role bluebanquise.hardware.interconnect
Some variables that clearly have the same role have several different names:
Role default name (and documentation)
default variable name in collections/hardware/roles/interconnect/defaults/main.yml:
interconnect_ofed_memlock_soft: 'unlimited'
interconnect_ofed_memlock_hard: 'unlimited'
interconnect_ofed_client: false
interconnect_ofed_subnet_manager: false

Role task main name
Variable name used in collections/hardware/roles/interconnect/tasks/ofed/RedHat/main.yml:

ofed_client
ofed_subnet_manager

(...)
- name: include_tasks <|> Setup infiniband client
  ansible.builtin.include_tasks: "client.yml"
  when: ofed_client
  tags:
    - internal

- name: include_tasks <|> Setup infiniband subnet manager
  ansible.builtin.include_tasks: "subnet_manager.yml"
  when: ofed_subnet_manager
  tags:
    - internal
(...)

Thanks for your help !

ofed_memlock_soft / interconnect_ofed_memlock_soft

It should be fixed now :blush:


WIP: experimentation in faster type checking

Mostly just looking at what I'm breaking by making changes that could speed things up a bit but aren't valid given some existing language features.

@swift-ci Please smoke test

@swift-ci Please test source compatibility


Request: Table

Table Lookup
A new inline helper "{{table" is available. It is used to lookup a value in a static look-up table and replace it with another value.
The first parameter is the value to be translated into another value.
value1 is the value to be compared to the lookup value.
result1 is the result of the {{table}} helper if the lookup value is equal to value1
value2 result2 = second set of possible matches
etc, as many pairs of value/result as you need.
(any/all of the lookup value and value/result values can be fields or fixed strings)
value* can contain a javascript regular expression
result* can contain capturing groups (e.g. $1) to copy information from the matching string.
{{!-- {{table "blue" "red" "angry" "blue" "sad" "yellow" "envious" "green" "happy"}}   --}}
{{!-- will be converted into the string 'sad'  (taking "blue" and looking for the value/result pair that matches) --}}
{{table lookup value1 result1 value2 result2 value3 result3}}
Helper
handlebars.registerHelper('table',     this.hb_table);
hb_table() {
		// HB:  {{ table string val1 result1 val2 result2 val3 result3 ... }}
		if (arguments.length < 4) return "";  // string val1 result1 options
		if (arguments[0] == undefined || arguments[0] == null) return arguments[0];
		let len     = arguments.length-1;
		let options = arguments[len];
		let value   = arguments[0].toString();
		for (let i=1; i<len; i+=2)
		{
			let result = value.match(RegExp(`^${arguments[i]}$`, 'u'));
			if (result)
			{
				value = arguments[i+1];
				// Replace all occurrences of $n with the corresponding match
				if (result.length>1) {
					console.info(JSON.stringify(result.groups, null, 2));
					value = value.replaceAll(/\$(\d+)/g, (match:string, p1:string) => {
						let param = +p1;  // first parameter = 1
						if (param < result.length)
							return result[param];
						else
							return match;	// number is too high!
					})
				}
			}
		}
		return hb_utils.value(value, this, options);
	}

Found here: https://github.com/farling42/obsidian-import-json#new-handlebar-functions

Can you send me a solid test or example usage that I can plug into Foundry and test the implementation?
I'm not entirely sure what I'm looking for, but I've recreated the implementation in Martin's repo.

So, I ran Martin's test and got back the expected response:
Handlebars.compile('{{ more-handlebars-helpers-table "blue" "red" "angry" "blue" "sad" "yellow" "envious" "green" "happy" }}')()
// > 'sad'

I can use that for now. To make it more obvious, I will take the first "blue" and extract it to a JSON prop so that the user can see what is being evaluated.

Here are some situations where we use it.
alignment: "{{table system.details.alignment.value "LG" "Lawful Good" "LN" "Lawful Neutral" "LE" "Lawful Evil" "NG" "Neutral Good" "N" "Neutral" "NE" "Neutral Evil" "CG" "Chaotic Good" "CN" "Chaotic Neutral" "CE" "Chaotic Evil"}}"
size: "{{table system.traits.size.value "ti" "Tiny" "sm" "Small" "med" "Medium" "lg" "Large" "hu" "Huge" "ga" "Gargantuan"}}"

Source Files:
Note: These are created with the Foundry Markdown Exporter plugin.
Blood Ooze.md
Alchemical Drudge.md

Reopening. I meant to allow you to close these issues when you had a chance to test out the new helpers. v1.1.0 is ready.

Thank you. This works perfectly!


use-aofguard bad directive or wrong number of arguments

The compiling was successful, and all new parameters including -pointer-based-aof work for me except the "use-aofguard".
src/redis-server --port 30001 --protected-mode yes --appendonly yes --appendfsync everysec --appendfilename 30001.aof --save --daemonize yes --nvm-maxcapacity 128 --nvm-dir /mnt/pmem0 --nvm-threshold 64 --pointer-based-aof yes --use-aofguard yes
when start a redis server with "--use-aofguard yes", below error will prompt:
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 13

'use-aofguard "yes"'
Bad directive or wrong number of arguments

I am sure I've used all the parameters before compiling:
make USE_NVM=yes AEP_COW=yes SUPPORT_PBA=yes USE_AOFGUARD=yes
Any idea why this error is happening?

same problem

Hi, thank you for reporting this issue.
The correct parameter for aofguard is "--aof-write-turbo yes", please try it.

Dell Customer Communication - Confidential
Thank you for the reply, will have a try.
Roy Shi史卓亚
Senior Principal System Development Engineer
Dell Technologies
OEM Solutions
<EMAIL_ADDRESS>Mobile: +86<PHONE_NUMBER>8
From: peifeng si @.***>
Sent: Wednesday, July 28, 2021 9:42 AM
To: pmem/pmem-redis
Cc: Shi, Roy; Author
Subject: Re: [pmem/pmem-redis] use-aofguard bad directive or wrong number of arguments (#16)
[EXTERNAL EMAIL]
Hi, thank you for reporting this issue.
The correct parameter for aofguard is "--aof-write-turbo yes", please try it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/pmem/pmem-redis/issues/16*issuecomment-887945074__;Iw!!LpKI!zBKP1bG-AAuxo4-hvChhpsImTEFDuExADl7K9mKWs1S8kFl-mR3KK2qh46J37w$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ASCPP5IVGYGMYN4FIIBB373TZ5N7BANCNFSM4UWAGR5Q__;!!LpKI!zBKP1bG-AAuxo4-hvChhpsImTEFDuExADl7K9mKWs1S8kFl-mR3KK2o7QJ-U1A$.


Allow passing components to containerTagName

While this kinda defeats the naming of containerTagName, it does allow me to use this library completely unmodified in React Native!
I'm building custom renderers for each output type, and I just used this to remove the last reference to a DOM element.
Passing a component to this prop works today, so I'm just updating the PropTypes declaration.
Have a great day!

The new release candidate for v3 has a separate renderer for the root node, so should allow this to be used in react-native. Please read this issue for more information. Thanks for the PR, and sorry I didn't follow it up earlier.

👍 I'll take a look!


Dashboard login if local user selected when authprovider is enabled gives two login boxes

master-8c014efa85314ab1cb1cb79261d2db9251ccf31d-head

On rancher from explorer --> Users and Authentication --> Enable any authentication provider[tried with openLDAP/FreeIPA]
Log out once the auth is enabled
Select "Use a local user", we see two login boxes as follows:

- Refresh the screen and it appears as follows:

This should be only one login space to provide username/password with Local User/Auth provider.
Ember UI for reference:

@mantis-toboggan-md I don't think this is an issue any longer - can you verify

@mantis-toboggan-md on master-head 618c9ef
From Auth providers --> enabled openLDAP auth --> logged out of the cluster --> and tried to re-login using a local user
button Log in with OpenLDAP goes above the username and password fields as shown in the screenshot below
This would look good if it is interchanged with the login in with OpenLDAP button itself
Dashboard UI:

Ember UI:

Verified on 6b430f3 master-head

Enabled the auth openLDAP from explorer --> users and authentication
Once the auth is enabled and if local users login is selected, switches in the same tab


fix: tiktoken import error

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Permissions and how they impact Office 365

It would be good to have a chart that would break out each of the Azure admin roles as rows and have in a column if they impacted Azure and another column that shows if they impact Office 365 roles, and a third for security and compliance center roles.     This data is buried in the details above but it would be good to add a simple chart as companies assign Azure admin roles and miss that this is also giving permissions in SCC or Office365 that they do not want.

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

ID: 0767aac4-fcd9-eaac-2c30-8f17d8eadd92
Version Independent ID: a380a828-03f9-e037-3a62-e4165fda7cb6
Content: Administrator role descriptions and permissions - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/directory-assign-admin-roles.md
Service: active-directory
GitHub Login: @curtand
Microsoft Alias: curtand

@scottsa-msft Thank you for your query. We will have this investigated and update accordingly.

@scottsa-msft thanks for your feedback! I've passed it along to the content author, @curtand

Hi @scottsa-msft thanks for the feedback. I will investigate and build a sample table to assess feasibility.

Could you please include the power shell access bit as well...  Which limited admin role has access to powershell..?  i have a managed service partner who manages my IT.. and i would like them to have access on O365 and powershell..

Thanks Curtis
As I am internal to msft can you share the ICM or VSO number for the backlog item so I can track it?
Get Outlook for Androidhttps://aka.ms/ghei36
From: Curtis Love
Sent: Tuesday, August 27, 6:04 PM
Subject: Re: [MicrosoftDocs/azure-docs] Permissions and how they impact Office 365 (#26878)
To: MicrosoftDocs/azure-docs
Cc: Scott Sanders (OFFICE365), Mention
Hi @scottsa-msfthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fscottsa-msft&data=02|01|Scott.Sanders%40microsoft.com|6c458c867323486f8dde08d72b42e154|72f988bf86f141af91ab2d7cd011db47|1|0|637025438552813308&sdata=S47PUgGRDgufcVVnN%2BkShFO3zCNirWLxCWw3Ldh8FGY%3D&reserved=0
We keep the details close to the role description and permissions because we can't automatically populate this data, and thus far we haven't invested in this improvement. For us, Microsoft 365 is really changing our landscape and we know IT admins are interested in seeing roles by service impact. We're aware of the problem and are actively discussing solutions. I'm taking a backlog work item for updates I make based on those discussion. The change will probably be in the user interface, though, to see roles arranged by service.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F26878%3Femail_source%3Dnotifications%26email_token%3DAKSAOCKGSIQOGT323O57UFLQGWXG3A5CNFSM4G5LZRN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JL5KY%23issuecomment-525516459&data=02|01|Scott.Sanders%40microsoft.com|6c458c867323486f8dde08d72b42e154|72f988bf86f141af91ab2d7cd011db47|1|0|637025438552813308&sdata=qeByroXUH9faD%2BM%2B2YNJs0phYIVznbZstKqN0DH0y5I%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKSAOCLAHTU2FE3M3342ELTQGWXG3ANCNFSM4G5LZRNQ&data=02|01|Scott.Sanders%40microsoft.com|6c458c867323486f8dde08d72b42e154|72f988bf86f141af91ab2d7cd011db47|1|0|637025438552813308&sdata=evZC2g7x62KZn%2Ft%2Bqv0Q1wp4Bv7mMVtdTWSp6dzf1a8%3D&reserved=0.


Samsung smartthings multi sensor (F-MLT-UK-V2) 3 axis

The Samsung Smartthing Multi Sensor has a 3 axis setting as well as open/close, Temp, Battery and acceleration.
I was using this on a couple of windows that I could leave slightly open and get notifications if they moved, it worked reasonably well under mqtt and bridge.  and was hoping tha tthe latest update would encorporate this.

This should be doable.  The Three Axis capability is not listed on the new ST site, which is why it wasn't included in the sensor platform.  We need to confirm this comes through in the new API.  Can you post the output of:
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://api.smartthings.com/v1/devices/DEVICE_ID

YOUR_ACCESS_TOKEN is the personal access token created for the integration.
DEVICE_ID is the UUID/GUID in the URL when you're viewing the device in the SmartThings IDE. For example, when viewing the device, the URL looks something like: https://graph.api.smartthings.com/device/show/80e27aa1-8939-4a71-b6db-2510f7b2ace7.  The Device ID is the part after /show/ in this case 80e27aa1-8939-4a71-b6db-2510f7b2ace.

This is the data the API is bringing through for the 3 axis information:
{"deviceId":"c756444c-1422-4844-a23c-963363b40f47","name":"Multipurpose Sensor","label":"Letterbox","locationId":"856593f0-80d8-4a71-9ecf-cc5e0209bc97","deviceTypeId":"52517166-43f9-4cbf-8bc2-7da4e8df5614","deviceTypeName":"SmartSense Multi Sensor","deviceNetworkType":"ZIGBEE","components":[{"id":"main","capabilities":[{"id":"temperatureMeasurement","version":1},{"id":"battery","version":1},{"id":"contactSensor","version":1},{"id":"configuration","version":1},{"id":"threeAxis","version":1},{"id":"accelerationSensor","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"healthCheck","version":1}]}],"dth":{"deviceTypeId":"52517166-43f9-4cbf-8bc2-7da4e8df5614","deviceTypeName":"SmartSense Multi Sensor","deviceNetworkType":"ZIGBEE","completedSetup":true,"networkSecurityLevel":"UNKNOWN","hubId":"a611a76d-9037-48a4-a89a-89f5470ee910"},"type":"DTH"}

Cool!  Good it's showing up in the API (not all of the undocumented/legacy capabilities show up).  One more request... I want to see how the value shows up in the status:
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://api.smartthings.com/v1/devices/c756444c-1422-4844-a23c-963363b40f47/status

Also, how would you want this to present in HASS?  As a single sensor with the 3 values as a string? or 3 discrete sensor entities?

@andrewsayre sorry, but I dont have access as I run hassos hopefully @jonnyrider  can assist

This has nothing to do with how you run HASS...  You can run that command from anywhere.  :)

ok my appologies, but I'm not very familiar with the inner workings of Linus et al, i have ran this command from my MAC but get no output ..yes I did put my access token in

Previously from memory I think it was one single entry with the 3 values...BUT 3 seperate values would be cool

I can confirm the 3 axes do show up as one:
{"components":{"main":{"contactSensor":{"contact":{"value":"closed"}},"threeAxis":{"threeAxis":{"value":[39,5,-1019],"unit":"mG"}},"configuration":{},"healthCheck":{"checkInterval":{"value":720,"unit":"s","data":{"protocol":"zigbee","hubHardwareId":"000E","offlinePingable":"1"}},"healthStatus":{"value":null,"data":{}},"DeviceWatch-DeviceStatus":{"value":null,"data":{}}},"refresh":{},"temperatureMeasurement":{"temperature":{"value":14,"unit":"C"}},"sensor":{},"battery":{"battery":{"value":50,"unit":"%"}},"accelerationSensor":{"acceleration":{"value":"inactive"}}}}}p
Splitting them off in HA as three separate attributes would make the data very powerful!

@jonnyrider  thanks for the help I could not get an out put

Yeah, it's an array of numbers according to the docs representing x, y, z.  Separate sensors seems like the way to go, unless you all feel otherwise.  I'll get to work on that this weekend.

Perfect. I have no skills whatsoever in creating things like this, but glad I could help a little!

@andrewsayre  Many thanks for this and the Smartthings integration, although the mqtt worked well for me for a very long time it had its foybles :) I appreciate the hard work you and other shave put into HA

This will be part of v0.90.0 with a release date of 3/20


fix(world): deduplicated world abi

Dynamically generated ABI fetched from deployed world returns user-created custom functions along with default world methods such as batchCall. However, it is not able to fetch system methods such as setField that should also be included in the final ABI for completion.
To include all system methods, the dynamically fetched ABI is concatenated with statically generated World's ABI, resulting in some duplicated functions.
deduplicateABI removes all the duplicate functions, and in case a duplicate is encountered, favors the ABI item that has named imports (i.e. statically generated World ABI), so that the ABI contains as much information as possible. In explorer case, for example, it's helpful to see the function parameter names when interacting with various functions.

can you fill in the PR description about why this is important to do? Unclear if the side effects of duplicate entries (and seems intended given solidity supports overloads)

can you fill in the PR description about why this is important to do? Unclear if the side effects of duplicate entries (and seems intended given solidity supports overloads)

Definitely, solidity overloads should be taken into account but ABI should contain no duplicates imo. Included problem description.

thinking about another approach where, instead of deduplicating an ABI as a whole, we just construct to the world a bit differently for our use case, starting with the base ABI (since it has named params) and add the functions registered on the world that we haven't seen yet (using function selectors as the "key" for uniqueness check, since its ultimately what is called)
const baseFunctionSelectors = IBaseWorldAbi.filter(isAbiFunction).map(toFunctionSelector);
const worldFunctionsAbi = worldFunctions
  .map((func) => functionSignatureToAbiItem(`function ${func.signature}`))
  .filter((abiItem) => !baseFunctionSelectors.includes(toFunctionSelector(abiItem)));

const worldAbi = [
  ...IBaseWorldAbi,
  ...worldFunctionsAbi,
];

I ended up liking this approach more too, somehow feels more clean. Only renamed the function to concatBaseAbi instead of deduplicate, and added a test.


Screenshots generated in video editor are pixelated

Screenshots from videos that are generated by the "Add screeenshot" button in the video editor seem to be more pixelated than they used to be before. See for comparison:

I can reproduce this locally. This behavior starts with the annotation tool as of ac7808f7c6a0269915082985f9d3994843606b36.


Change to 'custom' setUI to not set btn watch (alternative 2 of 2)

'clock' - called for clocks. Sets Bangle.CLOCK=1 and allows a button to start the launcher

Use one of these PRs if you want. I think it makes sense to not be able to press the HW button to start the launcher, as I wrote before :) (long press to reset still works, as well as kicking the watchdog of course)
https://github.com/espruino/BangleApps/pull/2684

Ah thank you! Yes I feel this fix shows our intent more, since we're not a full-blown clock


Update midifile.jl

Fixed writeMIDIfile so that it no longer errors when the file name is shorter than 4 characters.

Thank you!

Thanks for the library :)


Geode-7498: show index type

co-authored-by: Dale Emery<EMAIL_ADDRESS>co-authored-by: Jinmei Liao<EMAIL_ADDRESS>Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@dschneider-pivotal @demery-pivotal @jinmeiliao

if we don't define the synonyms inside IndexType class, then I agree with you. If the IndexType is aware of the synonyms, then it's the responsibility of the class itself to provide a translation.

The mapping between the new IndexType enum and the old names is needed only by the converter. I think it's a mistake to put that mapping into IndexType, and to make the mapping visible via a method (valueOfSynonym()). Putting that method into IndexType makes the mapping part of the public API.


What is the difference between matrixprofile and matrixprofile-ts?

So, I have no idea what the difference between these two packages? They both have pip, but there is no more update in matrixprofile-ts. Strangely, matrixprofile-ts has more stars. Can anyone answer my question?

@RexKing6 I can answer your question, as I am the original creator of matrixprofile-ts and co-creator of matrixprofile.  matrixprofile-ts was the first Python implementation of the Matrix Profile algorithms that I created while I was at Target. However, I left Target ~2 years ago and they no longer support this library. In the meantime, Tyler Marrs (who contributed heavily to matrixprofile-ts) and I designed a brand-new Matrix Profile implementation called matrixprofile that is significantly more powerful and user-friendly than matrixprofile-ts.
This repo has more stars because we got lucky and hit the front page of Hacker News upon release ;) That said, matrixprofile has a substantially higher download rate (~67k in 6 months) than matrixprofile-ts (~74k in 2.5 years), so the community has definitely gravitated to matrixprofile over matrixprofile-ts. So, if you're interested in using the Matrix Profile in Python/R/Golang, I'd highly recommend using matrixprofile.

Thank you! I am ready to use matrixprofile! Later when I have time, I also hope that I can contribute to the community, like mSTAMP.

Sounds great! mSTAMP would be a great contribution. Much appreciated!
On Thu, Sep 24, 2020, 8:25 PM Run-Qing Chen<EMAIL_ADDRESS>wrote:

Thank you! I am ready to use matrixprofile! Later when I have time, I also
hope that I can contribute to the community, like mSTAMP.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/target/matrixprofile-ts/issues/98#issuecomment-698669848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB53ISF6EBZZYEV5W6MUQ5DSHPWSLANCNFSM4RX64DIQ
.

I need to prepare my graduation thesis in the last year, so I will try mSTAMP when the thesis is nearing completion. Thank you!

Hey @RexKing6, hope the thesis is going well! Wanted to reach back out and see if you were interested in implementing mSTAMP in matrixprofile. No worries either way!

Yes, I am currently studying the application of matrix profile in anomaly detection! I expect to finish my thesis in March next year, after which I will spend part of the time participating in the development of mSTAMP.

Sounds great - congratulations on almost reaching the finish line!
On Fri, Dec 18, 2020, 8:33 PM Run-Qing Chen<EMAIL_ADDRESS>wrote:

Yes, I am currently studying the application of matrix profile in anomaly
detection! I expect to finish my thesis in March next year, after which I
will spend part of the time participating in the development of mSTAMP.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/target/matrixprofile-ts/issues/98#issuecomment-748406725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB53ISGPSURU3T2DVMDGM2DSVQGH5ANCNFSM4RX64DIQ
.

Thanks!


Jigsaw 0.4.0 is not in Packagist

Jigsaw (Packagist)
To install it using composer I had to specify the commit:
composer global require jigsaw/jigsaw:dev-master#7308f69c5d868911b111ccf1b1cfbc683d53af8b

Fixed! Needed to update the repo on Packagist after moving it to the Tighten Co organization.

Thanks!


feat(saas): Organizational level billing using LemonSqueezy

#12  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alifarooq9 and the rest of your teammates on  Graphite


[Q] Is it possible to apply attribute to all assembly ?

Is it possible to apply this attribute in one place to apply for each test in assembly ?
Is it possible to implement it ?
Thanks,

Hello goblinmaks,
Unfortunately, I'm almost sure RetryingAttribute can't be used on assembly level, even if you change AttributeUsage to enable it. I guess this is how attributes implementing IWrapSetUpTearDown work.
Is it possible to implement? Sadly, I've no idea. I haven't mentioned it in readme.md until today, but this repository is just a POC used in a blog post: Extending NUnit 3 with command wrappers. After publishing a blog post I haven't really have a need to maintain this repo and to dig deeper into NUnit attributes. Also, this was implemented two years ago - NUnit's extension model might have changed since then.
I think your best bet is to ask folks at NUnit if creating such attribute is possible. You can also read my blog post for some clues on implementing such attribute (and on why I've used IWrapSetUpTearDown instead of more mainstream Action Attributes option).
Good luck and best regards,
RT


[SE-0397] Enable freestanding declaration macros by default.

This proposal has been accepted, so remove the experimental feature gating on it. Also, add a ChangeLog for macros in general.

@swift-ci please test


Showing and disabling features on Firefox does not work on GH Enterprise

I have the clear-pr-merge-commit-message feature disabled in refined-github, however it continues to work on my companies GitHub enterprise instance.  Also, refined-github is not printing to the console the list of enabled/disabled features 😕
I tried to showcase that the feature was not disabled by adding a breakpoint in refined-github where I think I could verify this; see below.

This is working fine on github.com

Features are per domain, so I just want to confirm you swapped the domain dropdown before turning off the feature and having it log them out.

I totally forgot this. That was it 😝
Thanks!


problem after update HA Core 2025.5

Hello
I don't understand this error but it appears after update HA in version Core 2025.5.
2024-07-08 11:19:44.160 WARNING (ImportExecutor_0) [homeassistant.backports.enum] StrEnum was used from eufy_security, this is a deprecated alias which will be removed in HA Core 2025.5. Use enum.StrEnum instead, please report it to the author of the 'eufy_security' custom integration
Can you help me please?
Thanks

It is not an error but a warning which has to be resolved in a year, don't worry and hurry, we have enough time to fix it.

You right, it's a warning. Thanks for your answer


Update default toolchain version to 5.8 channel snapshot

SwiftPM 5.8 changed package init template to omit the target directory by default for --type executable:
5.7
$ /home/katei/.carton/sdk/wasm-5.7.1-RELEASE/usr/bin/swift package init --type executable --name Foo
Creating executable package: Foo
Creating Package.swift
Creating README.md
Creating .gitignore
Creating Sources/
Creating Sources/Foo/Foo.swift
Creating Tests/
Creating Tests/FooTests/
Creating Tests/FooTests/FooTests.swift
$ tree
.
├── Package.swift
├── README.md
├── Sources
│   └── Foo
│       └── Foo.swift
└── Tests
    └── FooTests
        └── FooTests.swift

4 directories, 4 files

5.8
$ /home/katei/.carton/sdk/wasm-5.8-SNAPSHOT-2023-04-30-a/usr/bin/swift package init --name Foo --type executable
Creating executable package: Foo
Creating Package.swift
Creating .gitignore
Creating Sources/
Creating Sources/main.swift
$ tree
.
├── Package.swift
└── Sources
    └── main.swift

Therefore, changed the underlying init command to --type library and add executable target by carton.
Also added a workaround for https://github.com/swiftwasm/swift/issues/5375

@swiftwasm/carton-team Could you have a look before merging? This blocks releasing swiftwasm-action. Thanks

Thank you @yonihemi 😍

Thanks for pushing this release through, amazing work!


Pass ID to Entity constructor to simplify updating data.

As discussed, the UUIDs should be unique enough for our purposes for now. I agree that using better IDs is a good idea, but it's relatively lower priority than the other changes I'm focused on in the short term.


think about how to make library binding generic

Timeboxed: 5 hours
--> talk to Mr. Eggendorfer with solution and coordinate next steps

Discussed at 02.11.2022.
-> Idea discarded because of the problem that python encryption libraries use different module, class and function names. Besides this fact, the parameter call of a function could differ aswell.
-> Further ideas will be discussed with Mr. Eggendorfer.


Problems decoding gziped sitemaps

When I tried parsing gziped sitemap I ran in to problem with generator just returning gibberish. It turns out that the function downloadAndExtractGZIP does not actually "extract gzip".  I have the change ready in my fork but it will break examples and possibly other peoples code. Maybe we could figure out some smarter way to distinguish xml from xml.gz then file extension?

You are right. I don't know why I didn't implement this stuff. Since this is an older project of mine when I was only one year programming, I could create a "new" version and tag is at 2.0. 2.0 shouldn't break peoples code if they are using versions for requiring this library. What do you think about that?

Sounds great!


Feedback on import-meta-env Usage

Hello, import-meta-env users! We'd love to hear from you about how you are using our packages and gather feedback on your experiences. Specifically, we're interested in the following points:
Usage of import-meta-env: Please let us know how you are using the import-meta-env feature in your projects. Are there any specific use cases or patterns you've found it particularly useful for?
JavaScript Bundler/Transformer: Share which JavaScript bundler or transformer you are using alongside import-meta-env. Whether it's Webpack, Rollup, Babel, or something else, please let us know. This information can help us tailor our documentation and support to better suit your needs.
Missing Features: If there are any features or enhancements that you feel are currently missing in import-meta-env and would be beneficial for your project, please describe them in detail.
Your Feedback:
[Please provide any feedback, details, or examples related to the above points.]
Additional Information:
Node.js Version: [Your Node.js version]
import-meta-env Version: [Your package version]
Your feedback is incredibly valuable to us, and it will help us improve import-meta-env to better meet your needs and the broader community. Thank you for taking the time to share your experiences and suggestions!

On development mode I would like to be able to pass the environment object instead of a file, so I can implement logic of merging whatever dotenv files I like.

Hi! Thank you for writing this package, it's great. The only feedback I have is that I struggled quite a lot with setting it up. I am using yarn with PnP so the path node_modules is not available, I tried different things like:
yarn add -D @import-meta-env/cli dotenv
yarn dlx pkg $(yarn bin import-meta-env) -o import-meta-env -t node18-alpine-x64

But this did not work, I ended up doing what the docker compose example also did. Which is setting up a separate layer in the Docker image and then importing the built binary in my the final nginx application. Maybe this approach could be more clearly stated? As it is more agnostic to the repository setup.

I've been using it in my last two shops, and things have gone well! Both implementations have used the Babel plugin.
One issue we've encountered involves having to fix single-quotes in dotenv key-values, for which I've composed a fix and submitted a PR: #1235. (Any chance you could provide feedback on it?)


Allow text/plain responses with 'type: string' schemas

This change addresses issue #352 which reports that a text/plain response with a "type": string schema wasn't coming through in the code model's response list.  It turns out Modelerfour has been excluding this media type, so this PR adds support for it.

Looks good... does this make the generators create an operation that uses a raw string for the body? (ie, not encoding it as a JSON string?)

@fearthecowboy - @iscai-msft just tested it and says that the generated code returns a plain string as expected


CRUD

Implement crud for pictures and collections. This will be used by both the server process and the scanner process (separate processes, running at the same time).
db module

typedef Picture
typedef Collection
putPicture(picture: Picture) : Promise
putCollection(name: String, data: Object) : Promise
getPictures(query: Object) : Promise <[Picture]>
delete(...id:Number) : Promise

Done with #22. Delete to be implemented later.


Project page loads data from Brigade API

Build rows on project page are populated via the brigade API
component should fetch data from an Angular service.
if low-touch easy to do, a "loading" indicator.
unit tests + e2e tests

Closed via #144


Redux Navigation/NAVIGATE to nested tab inside a stack

Layout of the app is as follows

Drawer

Main Stack

Home
Competition

Tab 1
Tab 2
CompetitionNews
Tab 4
Tab 5

By adding the drawer to our redux store with router.getStateForAction we're able to navigate to any route with dispatch Navigation/NAVIGATE.
My question is what's the intended way to navigate to a tab that's nested in a stack that's not currently open?
Dispatching two navigate actions one after another works:
this.props.dispatch({
  type: 'Navigation/NAVIGATE',
  routeName: 'CompetitionOverview',
});

this.props.dispatch({
  type: 'Navigation/NAVIGATE',
  routeName: 'CompetitionNews',
});

Using the subrouter action seems better but results in nothing at all happening
this.props.dispatch({
  type: 'Navigation/NAVIGATE',
  routeName: 'CompetitionOverview',
  action: this.props.dispatch({
    type: 'Navigation/NAVIGATE',
    routeName: 'CompetitionNews',
  }),
});

Am I misunderstanding how nested navigators should work?
Does the the tab navigation need to wait until the stack has opened?

may i ask how you made the drawer navigator work with redux? i struggled with it so i let it go for now waiting for some decent examples to come up but i am interested in the approach you used.
thanks

I'm seeing a similar issue, even sans redux. When I try to navigate back to a particular tab from the DrawerNavigator, I can only navigate to the tab that was NOT selected previously.
Drawer:

Tab1
Tab2
ScreenOther
Etc

Through the Drawer:
Tab1 -> ScreenOther -> Tab2 works just fine, as does Tab2 -> ScreenOther -> Tab1
Tab1 -> ScreenOther -> Tab1 does NOTHING (no error, even), as does Tab2 -> ScreenOther -> Tab2

@chadi-kazan
import { combineReducers } from 'redux';
import AppDrawerNavigation from 'S_AppDrawerNavigation';

const appReducers = combineReducers ({
  ...,
  AppDrawer: (state,action) => AppDrawerNavigation.router.getStateForAction(action,state),
});

AppDrawerNavigation is just a DrawerNavigator that then loads a stack navigator. From there if we want to navigate somewhere we just dispatch types like in my first comment.
Also had to add an event listener for the android hardware back button.
import RN, { Platform } from 'react-native';
...
  constoructor (props) {
  ...
    if (Platform.os === 'android') {
      RN.BackAndroid.addEventListener('hardwareBackPress', () => {
        return this.props.dispatch({
          type: 'Navigation/BACK',
        });
      });
    }
  }

Haven't found a way around the original problem though

Hi! Since this issue has been quiet for a while I'm going to go ahead and close it. If the issue persists in the latest version of React Navigation please re-open!


react-scroll is not working with nextjs

react-scroll is not working with nextjs.
i migrated react codebase to nextjs, but react-scroll is not working with nextjs.

Ok, I think we had an issue like this long time back, it got solved I believe, but new code might have introduced the unsupport.
What type of errors do you get?
And also feel free to make a PR supporting it!

I don't get any error, but the scrolling is not working.

@shivika24 I'm using react-scroll with Next.js 11 and it's mostly working fine for me. The only issue I'm facing is with smooth scroll when using bootstrap 5 #475 .

I am using react-scroll like this
    <Link
      activeClass="active"
      to="about"
      offset={-110}
      spy={true}
      smooth={true}
    > Home </Link>

and have a  but this is not working.

@shivika24 maybe you have more than one '#about' tag/element? Try to give it a more distinctive name. And maybe you need to add 'duration' to your Link tag.
Btw, I have react-scroll working with Next.js 11.

Any luck on this @shivika24 ??
@keXXpert have implemented the react-scroll the same way. Also re-checked for duplicate tags/elements. But there aren't any duplicates.
Here is my implementation
<Link
  activeClass="nav-active"
  className="nav"
  to={"homepage"}
  spy={true}
  smooth={true}
  duration={500}
  offset={-50}
>
    HOME
</Link>
<Link
  activeClass="nav-active"
  className="nav"
  to={"highlightspage"}
  spy={true}
  smooth={true}
  duration={500}
  offset={-50}
>
    HIGHLIGHTS
</Link>

In the beginning, Home is correctly highlighted but that remains constant and also when clicked on any other Link tags the page doesn't scroll and even on manual scrolling the active Link doesn't change. Please help

it works for me very good
I used it for a box to horizontally scroll backward and forward on a div on Click in  the following way:
and it works very nice.
import * as Scroll from 'react-scroll';

  let scroll = Scroll.animateScroll;

  const scrollForward = (container: string) => {
    scroll.scrollMore(100, {
      horizontal: 'true',
      containerId: container,
    });
  };
  const scrollBackward = (container: string) => {
    scroll.scrollMore(-100, {
      horizontal: 'true',
      containerId: container,
    });
  };
//////

 scrollForward('proposalDaily')}>

 scrollBackward('proposalDaily')}>

///////

              {food2.map((e) => (
                <FoodCard element={e} type={1} key={e.id} id={`card_${e.id}`} />
              ))}

When I use the button component in the next js an error pops up in the document js file :  "error: input is a void element tag and must neither have children nor use dangerouslySetInnerHTML".

@nikitaskittcode
Can you try creating your own Button and omit the { this.props.children }
import React from 'react';
import ScrollLink from '../mixins/scroll-link';

class ButtonElement extends React.Component{
  render() {
    return (
      <input {...this.props}></input>
    );
  }
};

export default ScrollLink(ButtonElement);

@nikitaskittcode
Can you try creating your own Button and omit the { this.props.children }
import React from 'react';
import ScrollLink from '../mixins/scroll-link';

class ButtonElement extends React.Component{
  render() {
    return (
      <input {...this.props}></input>
    );
  }
};

export default ScrollLink(ButtonElement);

No, its not working.

Link component has no such problems with next js.

I think that problem in .

I copied the basic react-scroll sample in default empty pages/index.js in Next.js.
Scrolling is not working without any  console error.

same problem in next.js

same, any workaround?

I just created a new Nextjs app and only installed react-scroll, this is the code.
Everything works fine for me, or am I missing somthing?
import Head from 'next/head'
import { Element, Link } from 'react-scroll'

export default function Home() {
  return (

        <title>Create Next App</title>
        <link rel="icon" href="/favicon.ico" />

          Welcome to Next.js!

          Get started by editing pages/index.js

          <Link to="section1" smooth={true} className="card">

Section 1

          </Link>

          <Link to="section2" smooth={true} className="card">

Section 2

          </Link>

          <Link to="section3" smooth={true} className="card">

Section 3

          </Link>

      <Element className="element" name="section1" >
        Section one
      </Element>
      <Element className="element" name="section2" >
        Section two
      </Element>
      <Element className="element" name="section3" >
        Section three
      </Element>

  )
}

Thanks for the example.
I double checked my project and now it works fine. Sorry for the misleading, it was my fault.

Works fine on Next.js 12.
I had to add @ts-ignore before import line (I'm using typescript).
I want to know what happen if I have Links or Button outside the page, in an external component but my Element to aim the scroll is inside index.tsx

Works fine on Next.js 12. I had to add @ts-ignore before import line (I'm using typescript).
I want to know what happen if I have Links or Button outside the page, in an external component but my Element to aim the scroll is inside index.tsx

Reducer / Context is not needed. Works perfectly from another component: caminofilms.tv

Anyone had problem with browser back button? https://github.com/vercel/next.js/issues/7091
Here, the react-scroll breaks NextJS navigation when the user click in the browser back button.

I am facing the same problem with the back button when using react-scroll with NextJS.

Our solution is prevent that react-scroll changes the browser URL, removing the spy and hashSpy and creating a custom Link component with :
import React, { useCallback } from 'react';

import { scroller, ScrollLink as WrapLink } from 'react-scroll';

import useClassNames from '~/hooks/use-classnames';

import styles from './Link.module.scss';

const WrappedLink = WrapLink(({
    children,
    redirectTo,
    scrollOffset,
    ...otherProps
}) => {

    const handleLinkClick = useCallback(() => {
        scroller.scrollTo(redirectTo, {
            offset: scrollOffset,
            smooth: true,
        });
    }, [scrollOffset, redirectTo]);

    return (
        <a
            {...otherProps}
            href={`#${redirectTo}`}
            onClick={handleLinkClick}
        >
            {children}

    );
});

const ScrollLink = ({
    children,
    className,
    ...otherProps
}) => {
    const linkClasses = useClassNames([
        className,
        styles.link,
    ]);

    return (
        <WrappedLink
            spy
            smooth
            isDynamic
            className={linkClasses}
            redirectTo={otherProps.to}
            activeClass={styles.linkActive}
            scrollOffset={otherProps.offset}
            {...otherProps}
        >
            {children}
        </WrappedLink>
    );
};

export default ScrollLink;

@douglasjunior thanks for your suggestion but the usage of the hashSpy was the main reason for choosing react-scroll. Shouldn't there be a solution for this?

@douglasjunior thanks for your suggestion but the usage of the hashSpy was the main reason for choosing react-scroll. Shouldn't there be a solution for this?

For sure, our solution is a workaround, it works for us as we don't need spy, we just need autoscroll.

@fisshy do you think there is something we can do here?

@Dathix I tried it out with react-scroll, and it worked for me.
Could you provide a codesnippet that doesn't work in nextjs and I'll look into it.

@fisshy our problem is simple to reproduce:

Create a next project with 2 pages
In page 1: add a header with some scroll links, create some sections with height:100vh, and in the footer add a next link to navigate to the page 2.
In page 2: add anything.

Then:

Open the page 1, scroll to the bottom using the mouse scroll to make the URL hash update with spy.
Click in footer next link to navigate to the page 2.
In page 2, click on the browser Back Button to go back to the page 1.

@douglasjunior It seems to work fine for me. What is suppose to happen?

Sorry, I missed a important step. After navigate to page 2, refresh the page (F5), then press back button to return to page 1.

@douglasjunior What is supposed to happen? It works fine for me.  I've added 3 sections and a button at the bottom that takes me to page 2. And page two looks identical to page 1.

Scroll to to bottom. Section3 gets hash-spied /#section3
Navigate to page 2, hash and page has now changed
F5/Reload page
Press back button
Navigates to page one with /#section3 as hash.

This is the expected behaviour I guess? I'm using edge.

Page one
`
import Head from 'next/head'
import { Element, Link } from 'react-scroll'
export default function Home() {
return (

Create Next App

      Welcome to Next.js!

      Get started by editing pages/index.js

      <Link to="section1" hashSpy={true} smooth={true} className="card">

Section 1

      </Link>

      <Link to="section2" hashSpy={true} smooth={true} className="card">

Section 2

      </Link>

      <Link to="section3" hashSpy={true} smooth={true} className="card">

Section 3

      </Link>

  <Element className="element" name="section1" >
    Section one
  </Element>
  <Element className="element" name="section2" >
    Section two
  </Element>
  <Element className="element" name="section3" >
    Section three
  </Element>

    Page 2

)
}
`
Page two
`
import Head from 'next/head'
import { Element, Link } from 'react-scroll'
export default function Home() {
return (

Create Next App

      Welcome to page two!

      Get started by editing pages/index.js

      <Link to="section1" hashSpy={true} smooth={true} className="card">

Section 1

      </Link>

      <Link to="section2" hashSpy={true} smooth={true} className="card">

Section 2

      </Link>

      <Link to="section3" hashSpy={true} smooth={true} className="card">

Section 3

      </Link>

  <Element className="element" name="section1" >
    Section one
  </Element>
  <Element className="element" name="section2" >
    Section two
  </Element>
  <Element className="element" name="section3" >
    Section three
  </Element>

)
}
`

@fisshy I tried it with different projects and the problem always occurs. As soon as scroll a page that was opened by a next/link and the hash in the URL changes by the usage of hashSpy I cannot use the back button of the browser to open the previous page. The router history inside next seems to become broken after the first URL change of the hashSpy.

@fisshy you used a to navigate from page 1 to 2. You need to use next/link.
https://user-images.githubusercontent.com/1512341/155973440-0adeee7c-948a-4496-b92e-a9ca70711b50.mov
Versions:
    "next": "12.1.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-scroll": "1.8.5"

Aha I see, will check it out

I've figured out the issue atleast, but not the solution.
If I set the hash with window.location.hash = "#section1" and navigate to page2 with NextLink, then navigating back to page1/#section1 is not problem.
But If I set it with history push/replace then nextjs doesn't seem to understand that.

Have you checked the discuss about this problem here https://github.com/vercel/next.js/issues/7091 ?

@douglasjunior I've pushed the new changes, could you try it out with npm link?
https://github.com/fisshy/react-scroll/commit/7ed6933627b1a39515730c1e55ca26f7066ec615

@fisshy It looks like it was resolved, I had to delete the ".cache" from next to apply the fix, but now the "back button" works correctly.
Tested on Firefox, Chrome, Safari and Opera.
https://user-images.githubusercontent.com/1512341/156353538-8c58f5e9-78ba-4b22-bb40-bedc160737fa.mov

@fisshy Awesome! Everything works fine now! Thanks for your endurance on this one :)
@douglasjunior Thanks for your curiosity as well ;)

@Dathix Glad to hear that! I've now publish v1.8.6.

I spent several hours until I realised that my css was stopping react-scroll from working correctl
  // overflow-y: scroll; ::-webkit-scrollbar {     display: none; }

y

I spent several hours until I realised that my css was stopping react-scroll from working correctly  // overflow-y: scroll; ::-webkit-scrollbar { display: none; }

Yup, this was the fix for me too

just delete css property in body: scroll-behavior: smooth

In my case the culprit was a global overflow-x: hidden; rule.

@fisshy @douglasjunior what about if you have a nav layout with shared links on every page on a nextjs project that points to differents pages but some of those links needs to scroll to X divs inside pages after change the url?

@santyas you need to handle this yourself, page per page.
We have a similar nav in some projects too, so we apply the nav page by page passing the URL or scroll ID when necessary.

@santyas you need to handle this yourself, page per page.
We have a similar nav in some projects too, so we apply the nav page by page passing the URL or scroll ID when necessary.

Great, I've added an scrollTo within useEffect to do scroll to the Element name that I passed with hashtag on the url. And the navbar has next/link components with the href value "/#name" and the scroll property value "false".

In my case the problem was the overflow-x in the base html css.
I had this on my globals.css:
html, body {
  overflow-x: hidden;
}

Then applied the overflow only to the body, like this:
body {
  overflow-x: hidden; /* if you put this on the html, the react-scroll lib doesn't scroll */
}

For me react-scroll works, but when I use a pages/_document.tsx file - this is what stops it from working... The _document.tsx is
import Document, { Html, Head, Main, NextScript, DocumentContext } from 'next/document';

class DefaultDocument extends Document {
	static async getInitialProps(context: DocumentContext) {
		const initialProps = await Document.getInitialProps(context);
		return { ...initialProps };
	}

	render() {
		return (

					<link rel="preconnect" href="https://fonts.gstatic.com" />
					<link
						href="https://fonts.googleapis.com/css2?family=Encode+Sans+Expanded&display=swap"
						rel="stylesheet"
					/>

					<NextScript />

		);
	}
}

export default DefaultDocument;

I spent several hours until I realised that my css was stopping react-scroll from working correctly  // overflow-y: scroll; ::-webkit-scrollbar { display: none; }

In my case the culprit was a global overflow-x: hidden; rule.

This works for me too!!!

I am using next js 14 and I was facing the same issue :
But on running npm i --save-dev @types/react-scroll  in the terminal it fixed the issue

try use this npm i --save-dev react-scroll --legacy-peer-deps work in nextjs 15


Remove scalazVersion from makeSite instructions

Not needed in scalaz-stream branch, does not work in cats branch

@rossabaker Throwing some easy pitches across the plate this morning.


Player Image Replace Discord Bot Image

Hi.
Can you make the discord bot image (webhook) show the player image instead of the default webhook image?
tks

While Discord does support using custom images as the avatar when sending messages via webhook, it requires an image URL to do so. FoundryVTT requires any chat avatars to be uploaded, thus any URLs given via the webhook would be relative to the local filesystem, and would not be retrievable by Discord. I may consider implementing a mod that uploads chat avatar images elsewhere and then send the link that way if there's interest, but for now I'm closing this issue.


Review psych related patches: ArYAML dump/load instance variables

Yaml dump/load instance variables in AR::Base classes, used in MiqReport
Example MiqReport spec
Example Base ArYAML spec
I dug up the old repo commit, basically, I believe only the ivars associated with columns are serialized:
commit b1ad841fa3513b3e853041dc3ecd26886d42ffe3
Author: Joe Rafaniello
Date:   Fri Jun 29 20:03:56 2012 +0000

    Add ActiveRecord::AttributeAccessorThatYamls, providing attr_accessor_that_yamls type methods which enable AR::Base objects to be YAML.dump/load with psych and retain the ivars for these attributes.

    Existing code that was attempting to access MiqReport#table (an attr_accessor) on 1.9.3 using Psych would get a nil value since the MiqReport was serialized in the binary_blob_parts table without the attr_accessors.

    BugzID:15212,15284

@jrafanie Is this still a relevant issue?


Bump nix to 1.27.1

nix 1.27 doesn't enable features by default, so we need to enable them manually.
Also, libcontainer uses Nix 1.26, and the Pid type had changed between the two versions. To work around this, we need to go through the raw pid_t.
This supersedes #294

LGTM


swiftlint 0.1.1

New Pull Request Checklist
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

This is the first simple implementation of the linting tool Swiftlint

Thanks for the PR @kimdv !
@godrei @trapacska please review ;)

Hi @kimdv ,
your step looks great to me!
Thanks for the PR! 🚀


⚠ Turnos 24x7 has degraded performance

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

HTTP code: 200
Response time: 974 ms

Resolved: Turnos 24x7 performance has improved in 3511726.


Add support for hashicorp/aws v4 in new major version

This is best reviewed commit-by-commit

@jansiwy I'm confident this transition won't take long and we can go ahead with it.


Strange (pandas-related?) error when executing grapher db step

On branch ingest-energy-investments-data, when running ENV=.env.staging etl renewable_energy_investments --grapher I get the same error repeated many times, namely:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 973, in setitem
    casted = np_can_hold_element(values.dtype, value)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/cast.py", line 2023, in np_can_hold_element
    raise LossySetitemError
pandas.core.dtypes.cast.LossySetitemError

And eventually:
Traceback (most recent call last):
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 977, in setitem
    return nb.setitem(indexer, value)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 977, in setitem
    return nb.setitem(indexer, value)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 977, in setitem
    return nb.setitem(indexer, value)
  [Previous line repeated 987 more times]
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 976, in setitem
    nb = self.coerce_to_target_dtype(value)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 448, in coerce_to_target_dtype
    new_dtype = find_result_type(self.values, other)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/cast.py", line 1531, in find_result_type
    new_dtype = find_common_type([left.dtype, dtype])
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/cast.py", line 1622, in find_common_type
    res = t._get_common_dtype(types)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/dtypes.py", line 625, in _get_common_dtype
    return find_common_type(non_cat_dtypes)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/cast.py", line 1635, in find_common_type
    has_bools = any(is_bool_dtype(t) for t in types)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/cast.py", line 1635, in <genexpr>
    has_bools = any(is_bool_dtype(t) for t in types)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/common.py", line 1329, in is_bool_dtype
    if isinstance(arr_or_dtype, ABCIndex):
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/generic.py", line 47, in _instancecheck
    return _check(inst) and not isinstance(inst, type)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/generic.py", line 41, in _check
    return getattr(inst, attr, "_typ") in comp
RecursionError: maximum recursion depth exceeded while calling a Python object

The error was happening on local grapher too, but after restarting grapher now it doesn't happen, for some reason. So now the error happens on staging but not on local grapher (I haven't tried running it on live grapher). The error seems to happen when function country_to_entity_id is executed.

The very beginning of the error (many thousands of lines above) is:
2023-01-03 18:21.09 [info     ] Creating entities in DB        countries={'world'}
2023-01-03 18:21:10,403 - [bugsnag] WARNING - No API key configured, couldn't notify
Traceback (most recent call last):
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/series.py", line 1105, in __setitem__
    self._set_with_engine(key, value)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/series.py", line 1175, in _set_with_engine
    loc = self.index.get_loc(key)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/indexes/range.py", line 394, in get_loc
    self._check_indexing_error(key)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5968, in _check_indexing_error
    raise InvalidIndexError(key)
pandas.errors.InvalidIndexError: 0     True
1     True
2     True
3     True
4     True
5     True
6     True
7     True
8     True
9     True
10    True
11    True
12    True
13    True
14    True
Name: country, dtype: bool

After this it starts with the repeated error:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 1020, in putmask
    casted = np_can_hold_element(values.dtype, new)
  File "/Users/prosado/Documents/owid/repos/etl/.venv/lib/python3.9/site-packages/pandas/core/dtypes/cast.py", line 2023, in np_can_hold_element
    raise LossySetitemError
pandas.core.dtypes.cast.LossySetitemError

During handling of the above exception, another exception occurred:

Fixed in https://github.com/owid/etl/pull/736. Could be related to pandas 1.5.1 -> 1.5.2 upgrade, Series.map now maps Category to Category natively.

Thanks a lot @Marigold! It works again.


libmbim: 1.24.8 -> 1.26.0

Overview of changes in libmbim 1.26
----------------------------------------

 * Build now requires GLib/GObject/GIO 2.56.

 * The GUdev optional build/runtime requirement is now fully dropped, it's no
   longer used.

 * Building from git no longer requires autoconf-archive, the needed AX_ macros
   are now shipped inside m4/.

 * In addition to building from a source release tarball, or building from git
   checkouts using the GNU autotools suite (autoconf/automake/libtool), this
   release includes the initial support for the meson build system. The meson
   port is not fully complete yet, as there are some missing things in the doc
   generation steps, but for system integration or development purposes, the
   port should be fully operational. This major release, including all its
   stable updates in the 1.26.x series, will be the last ones providing support
   for GNU autotools. The next major release will likely be a meson-only one,
   and will therefore not be based on a source release tarball any more, but
   on specific git tags instead.

 * Implemented new link management operations, exclusively for the cdc_mbim
   driver for now. These new operations allow creating or deleting VLAN network
   interfaces in order to run multiplexed data sessions over one single physical
   network interface.

 * Added support for the Microsoft-defined SAR service, including the following
   operations:
   ** MBIM_CID_MS_SAR_CONFIG
   ** MBIM_CID_MS_SAR_TRANSMISSION_STATUS

 * Added support for the Microsoft-defined UICC Low Level Access service,
   including the following operations:
   ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_ATR
   ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_OPEN_CHANNEL
   ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_CLOSE_CHANNEL
   ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_APDU
   ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_TERMINAL_CAPABILITY
   ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_RESET

 * Added support for the Qualcomm-defined QDU service, including the following
   operations:
   ** MBIM_CID_QDU_UPDATE_SESSION
   ** MBIM_CID_QDU_FILE_OPEN
   ** MBIM_CID_QDU_FILE_WRITE

 * Extended the Microsoft-defined Basic Connect Extensions service, including
   the following operations:
   ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_DEVICE_CAPS
   ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_SYS_CAPS
   ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_SLOT_INFO_STATUS
   ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_DEVICE_SLOT_MAPPINGS

 * libmbim-glib:
   ** Logic updated to make sure full packets are written at once, instead of
      writing them in chunks.
   ** Updated the "LTE attach status" APIs in order to avoid creating unneeded
      struct types in the interface. The older methods have been deprecated and
      maintained in the library for compatibility purposes only.

 * mbim-proxy:
   ** Internal buffer size updated from 512 bytes to 4096 bytes.

 * mbimcli:
   ** New '--ms-set-sar-config' and '--ms-query-sar-config' actions.
   ** New '--ms-set-transmission-status' and '--ms-query-transmission-status'
      actions.
   ** Updated '--enter-pin', '--disable-pin' and '--unlock-pin' to allow other
      PIN types, not just assuming PIN1.
   ** New '--link-add', '--link-delete', '--link-list' and '--link-delete-all'
      actions.
   ** New '--ms-query-sys-caps' action.
   ** New '--ms-query-slot-info-status' action.
   ** New '--ms-query-device-slot-mappings' and '--ms-set-device-slot-mappings'
      actions.
   ** Renamed '--ms-query-lte-attach-status' to '--ms-query-lte-attach-info',
      and kept the old name for compatibility purposes.

 * mbim-network:
   ** When using the mbim-proxy, skip trying to manage the MBIM session and
      transaction ids as that is implicitly done by the proxy already.

 * Several other minor improvements and fixes.

The following features which were backported to 1.24.x releases are also present
in libmbim 1.26.0:

 * Fixed merged subscribe list reporting and handling in the proxy.
 * Fixed transaction id handling when multiple fragments are involved.
 * Fixed read overflows on malformed messages.
 * Skip warnings if descriptors file cannot be read, as in new MBIM backends
   other than cdc_mbim.

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132447 at 38cdd5fc run on aarch64-linux 1

2 packages marked as broken and skipped:

spring
springLobby

1 package failed to build:

libsForQt512.modemmanager-qt

388 packages skipped due to time constraints:

adapta-gtk-theme
alfis
almanah
apostrophe
appgate-sdp
arc-theme
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
astroid
...

15 packages built successfully:

geoclue2
glib-networking (gnome.glib-networking ,gnome.glib_networking)
gnome.gnome-settings-daemon (gnome.gnome_settings_daemon)
gnome.mutter
networkmanagerapplet (gnome.networkmanagerapplet)
libmbim
libnma
libproxy
libqmi
libsForQt5.modemmanager-qt (libsForQt515.modemmanager-qt ,plasma5Packages.modemmanager-qt)
libsForQt514.modemmanager-qt
modemmanager
networkmanager
pantheon.elementary-settings-daemon
purple-mm-sms

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Changed the base to staging, as this rebuilds a lot (due to it being pulled in by modemmanager -> networkmanager)


Implement casm_contract_into_contract_class

This helper is derived from the python implementation of the same logic and enables conversion of Cairo 1.0 casm artifacts into the blockfier representation such that they can be executed by blockifier

This change is

Can you rebase plz


How to add image in AR space?

I've seen there is ArCoreImage class in ArCore, I believe same feature is also in ArKit... I didn't find it in this package... Is it possible with some different approach?

Maybe you can create a 3d model with that texture.

Maybe you can create a 3d model with that texture.

Not sure that will help because I have to create model for each photo. I think adding image should be added in this package.

Not sure that will help because I have to create model for each photo. I think adding image should be added in this package.

I believe arcore_flutter_plugin package have this feature.

arcore_flutter_plugin is only for android. I'm searching for an iOS/Android solution.

Use arcore_flutter_plugin for android and arkit_plugin iOS.


Added RecalculationNeeded Exception

Hello,
in this scenario we cachier is getting a deadlock:

cache backend: mongodb
process_1 is calling an expensive function
process_2 is calling an expensive function
process_3 is calling clear_cache

Then there is a deadlock.  I guess in a multi-process environment it doesn't make sense to use the pickle_code. So that fix is only applied on the mongo core.
This can happen quite often, at least in my environment. For some reason, the expensive function doesn't finalize or needs too long. Therefore process_3 is responsible to clear the cache.

Looks great! Just add tests that cover the use case (that way codecov won't complain).
Thank you so much for contributing :)

Thanks for the fast reply!
Actually just tried to add some test. It's a bit messy to test such scenario.
Didn't want to introduce multiprocessing or something else to the test cases. The danger is that one can get a test that is hanging - since it is waiting for the calculation (that's what happened to me)
Here is the code I tried with threading: (but somehow it seems to fail from time to time.
`
_stalled_func_number_of_calls = 0
@cachier(mongetter=_test_mongetter,stale_after=datetime.timedelta(seconds=15))
def _stalled_func():
""" Testing stalled function"""
global _stalled_func_number_of_calls
_stalled_func_number_of_calls +=1
if _stalled_func_number_of_calls == 1:
time.sleep(10)
return _stalled_func_number_of_calls
def test_stalled_mongo_db_cache():
t1 = threading.Thread(target=_stalled_func)
t1.start()
time.sleep(2)
t2 = threading.Thread(target=_stalled_func)
t2.start()
time.sleep(2)
_stalled_func.clear_cache()
number_of_calls = _stalled_func()
assert  number_of_calls == 2
t1.join()
t2.join()
`

Hmmm. Well, all mongocore tests run against a live instance I set up just for cachier tests on mlab, so whenever you're checking something non-deterministic, it can also happen when running against the test db, which is good and bad (since it doesn't always reproduce). But the non-determinism here is in thread execution, I believe, which is always beyond your control.
I'm guessing that in some cases both threads get to enter the function, causing _stalled_func_number_of_calls to be incremented three times, and the assert goes off.
Why don't you try wrapping the lines touching/looking at _stalled_func_number_of_calls with an acquiring/releasing of a Lock object? I'm not a super-multithreading expert, but I think this might be the case. At least, it will help rule this out.
See here for a very straightforward tutorial on acquiring and releasing Python locks to handle multithreaded resources: http://effbot.org/zone/thread-synchronization.htm
Another thing: You can write another function, say _thread2_func, that calls _stalled_func, and catches the exception, or wraps it in a with pytest.raises() code, and then marks some global var RECALCULATION_NEEDED_CALLED as True. Then, you can start the first thread with _stalled_func but the second with _thread2_func, and after join-ing both threads simply check that RECALCULATION_NEEDED_CALLED == True; no risk of a race condition there, as only a single thread will attempt to modify the value of that variable, and it will validate the scenario has been reproduced.
Finally, if this ends up working, try to push down time.sleep(10) as low as you can go while still having the test pass the whole time (you can also cut some time.sleep(2) into half seconds; these are all super-long times anyway in computer timescales), so everything runs faster.
Thanks again for everything! :)

I thought it would be just easier to test the whole thing directly. So finally introduced mocks for the mongo_core and then added the test for this scenario. Actually, I also think it could be done with threads and locks with a bit more effort : )

Whoa, very cool! I've never really seen monkeypatching in pytest before! Thanks for teaching me! I'll remember this new thing. And thanks again for contributing. :)

Released in v1.2.3


Android version cut off when last element is selected

Bug report
Summary
It seems like the right side is cut off on android since version 1.6.0 if the last item is selected.
Version 2.0.0
First Item:

Last Item:

Version 1.5.0

Environment info
Library version: 1.60, 1.6.1 & 2.0.0
Steps to reproduce
Install in emulator or on device. Compare it with version 1.4.0 and there is it pretty.
Reproducible sample code
<View style={{margin: 10}}>
        <SegmentedControl
          style={{margin: 10}}
          selectedIndex={1}
          values={['Photos', 'Settings']}
        />
      </View>

The same issue ...

Sorry about the issue!
I'll find time this weekend to try to fix it


[examples] Initial sentiment classification examples with bert model

To play around
Running make sentiment-classification-run-rv in "examples/DLModel/" directory will get the result of sentiment classification for the sentence "The quick brown fox jumps over the lazy dog." on RISC-V platform:
The probability of positive label: 0.60
The probability of negative label: 0.40

About the bert model
The bert-tiny model is generated from https://huggingface.co/prajjwal1/bert-tiny by using torch-mlir. Specifically, it is dumped in the output type of LINALG_ON_TENSORS with weights (refer to this link for more details), and the unused global_seed function is removed before getting the final .mlir file.
Lowering details
To lowering this model into RVV assembles, test-math-polynomial-approximation pass is needed to deal with math.erf and  math.tanh operations.

Contributions here will be included in another PR, closing it.


[Infra] fix: relayminer config

Summary

Fix inconsistency between supplier state and relayminer configuration which was preventing relayminer from starting
Fix make localnet_regenesis so that it no longer creates an extra, nested config directory.

Issue

N/A

Type of change
Select one or more:

[ ] New feature, functionality or library
[x] Bug fix
[ ] Code health or cleanup
[ ] Documentation
[ ] Other (specify)

Testing

[ ] Unit Tests: make go_develop_and_test
[ ] LocalNet E2E Tests: make test_e2e
[ ] DevNet E2E Tests: Add the devnet-test-e2e label to the PR. THIS IS VERY EXPENSIVE, so only do it after all the reviews are complete.
[ ] Documentation changes: make docusaurus_start

Sanity Checklist

[ ] I have tested my changes using the available tooling
[ ] I have commented my code
[ ] I have performed a self-review of my own code; both comments & source code
[ ] I create and referenced any new tickets, if applicable
[ ] I have left TODOs throughout the codebase, if applicable

I removed the devnet labels to kill the infrastructure for PR. I don't think we need this, considering there's a larger effort for relayminer configuration (#477)?

Closing this PR. @bryanchriswhite reopen if it's still necessary.


Support linking to anchors in directories

Subject of the feature
Linking directly to folders, showing the folder's readme, is supported by all three supported Git hosts — GitHub, Gitlab and Bitbucket, and also by this plugin.
However, this plugin considers anchors appended to those directory links invalid without checking (reported as missing-heading-in-file).
Problem
Linking to a section in a folder's readme directly (without linking explicitly to the readme file) is a pattern I like to use a lot in larger projects. It works perfectly fine in GitHub and Gitlab and should therefore not be reported as an issue by this plugin. (It should theoretically work in BitBucket as well since that also renders the readme below a directory's file list. But since BitBucket behaves more like an SPA it generally has trouble with anchors in cross-folder links.)
Expected behaviour
When provided a directory link with a hash, this plugin should consider that a link to the README.md of that folder and evaluate the hash accordingly.
If no readme exists, a missing-file should be appropriate.
I added a repro at loilo/repro-remark-directory-links-49. It shows some of the described warnings but exits early due to a runtime error that occurs when linking to the root folder with a hash appended.
Caveats

In addition to headline anchors, the #readme anchor should be supported — however, this should already be taken care of by #48.

Case sensitivity is a little bit unclear: While GitHub supports uppercase and lowercase readme file names, there's no documentation on which one is preferred if more than one matching file is present.
I tested this a while ago and if I remember correctly, there is no way to determine priority from the file name, but actually the readme file committed first will be used. GitHub will even prefer a README.rst over a README.md if it was added earlier.
Gitlab and BitBucket also support case-insensitive readme file names, but I have no idea (and have not done any tests) how they determine the preferred file.
However, I'd probably ignore all this "multiple readme files" fluff as "weird edge case" and hands down just pick the first thing that looks like a /^readme.md$/g.

This won’t be trivial, but, may be doable, and is useful!

Here, new files are added on the CLI:
https://github.com/remarkjs/remark-validate-links/blob/f613df5f8b4a1c4ea268a4231bb88186dc5bd121/lib/find/find.js#L79

Here, files are accessed. We could use fs.stats instead. Stats has a method .isDirectory that could be used to find out that something is a folder and that we need to find out which readme file is probably uses:
https://github.com/remarkjs/remark-validate-links/blob/13a54a538a86fcb894845933e90f0fc398c1d85a/lib/check/check-files.js#L29-L35

The file extensions to support for readmes are documented in github/markup. For the file name, /^readme$/i should be fine. On the CLI, we use:
https://github.com/remarkjs/remark/blob/24cd52d6075966e9113524f002c0cb37133f1a37/packages/remark-cli/cli.js#L5

Maybe you are right about older-file-first! That would be difficult. I was thinking that maybe they do alpha-sort, and prefer the first? That suggests why .asciidoc is preferred here. I would say to ignore all non-markdown extensions entirely. This is a markdown project. People using it will probably only use Markdown.

What may be hard is that we now have URLs to things (/path/to/folder#heading) and  (/path/to/folder/readme.md#heading) that are populated from different URLs: (/path/to/folder/readme.md#heading). Maybe a solution is, for every /^readme.md$/i file, to also expose URLs to its folder?

I was thinking that maybe they do alpha-sort, and prefer the first?

I just tested again, and you're absolutely correct. Either my memory trolled me or GitHub changed this.

I would say to ignore all non-markdown extensions entirely.

Definitely. But GitHub still allows you to have a README.md and a readme.md in the same folder. However, README.md is always preferred, so apparently alphasort it is.

What may be hard is that we now have URLs to things (/path/to/folder#heading) and (/path/to/folder/readme.md#heading) that are populated from different URLs: ( /path/to/folder/readme.md#heading). Maybe a solution is, for every /^readme.md$/i` file, to also expose URLs to its folder?

Sorry, couldn't really follow you on that. Would you mind to rephrase or elaborate on this? 🙂

👍
We process every file to find outgoing links and defined links.
I think that when generating defined links (/path/to/folder/readme.md#heading) it makes sense to set defined links for the folder if the file matches a supported readme filename  (/path/to/folder#heading).
These places are I believe here and here

Oh okay, I think I got it. So instead of internally resolving the directory to the readme file as I suggested, we'd do it the other way around and internally copy over the found anchors from each readme to its corresponding directory?

Yes! So, paths to folders currently fail, we fix them, by loading a correct readme.
For every file that is processed, that has a valid readme name, expose both links from that file, but also links from its directory!
This solves the case where links are mixed: both to a readme, and to its folder. Only need to process that file once.

Sounds good. I'll take a look and attach a PR if I manage to wrap my head around it. 😉

One more concern I just came up with: If we want to detect a readme file in a folder, we'd have to read all files in the directory and match them against the readme pattern. This might become a performance concern with really big folders.
Do you think it would be worth it to check for for the most common readme.md and README.md explicitely, and only then fall back to scanning the directory?

Hmm, Readme.md is also likely.
I don’t know, the list becomes relatively long that I’m worried it wouldn’t add much of a performance improvement.
One potential approach is fs.Dir for streaming directory entries. It’s able to stop reading when a match is found. However, it doesn’t return results in a particular order, so that’s annoying.
🤷♂ I don’t know! Maybe just go with the simplest approach and see if there are bottlenecks later? We can always fix it in the future.

Alright, potential case of YAGNI detected. 😁

Ok, I'm a bit stuck and need a little heads-up: Given I don't want to do a major program flow change to the plugin, I'll have to detect readme files inside the find function.
Is it fine to do it there using the fs module?
I'm asking because I don't know what the browser support story is for this module and how it relates to vfile.

I would suggest using adding a resolve file, with a resolve.browser.js alternative that is a “noop” like find-repo.browser.js.
I think actual fs access can go in check-files.js, which already has a simplified version for browsers?

That's pretty much where I'm stuck.
My latest approach was roughly like "inject the file set into the check-files.js and add the readme vfile from there". This works in part as the added file will actually go through a find call, however that call only comes when the previous check & validation cycle is already finished (which is too late, obviously).
To be honest, I'm not sure whether it's a good idea for me to finish up this issue. I'm not too confident working with Node streams and not at all familiar with how remark works overall — I'll probably cause you more work by live-learning these things and then delivering a mediocre solution than I would if I left the implementation to you. 🙈

🤗 alright, thanks for working on it! And for helping figure out a solution. I'm away for the weekend so can't code on it now. But I'll get to it soon!

No hurry, thanks for offering all these great packages in the first place. 😁
Looking forward to how you're going to approach this, I'll probably learn more about remark from the resulting code diff than from the last hours of reading the existing code. 😉

By the way, here is the markdown file that I added to my branch for future tests of this feature. All links containing the term "invalid" should produce some kind of warning, all others should pass.
(The link to the project root at the end of the file might be a bit odd, but it's there to prevent regression of a currently present bug: Linking to the project root at some point leads to effectively calling path.relative(baseFolder, baseFolder), which results in the empty string. That empty string is in turn used as the path for a vfile, which causes a runtime error.)


How can a Cloud Run app use IAM to authenticate against Cloud SQL (Postgres)?

Question
We are running an application as a Cloud Run app and using the --service-account flag to designate the SA that the app will run under. Since the Cloud Run app runs as a Docker container how can it use the IAM principal that is bound to the host VM? refer: https://github.com/GoogleCloudPlatform/cloud-sql-nodejs-connector/issues/58#issuecomment-1494510069
Additional Context

Hi @siddhsql, thanks for your question! Support for IAM authentication is currently being worked on and will be merged this week and shipped with our next scheduled release on April 11th! I will keep you updated here.

Hi @shubha-rajan thanks for your reply. I will wait for changes to be available. in the meantime is it possible to explain how does the IAM credentials that are bound to the host VM propagate to the Docker container? the IAM credentials are stored on file system of the host VM. does Cloud Run copy these to the Docker container? how? if not, how will the code running inside Docker container access these credentials? if you provide references to code that would be appreciated! The question being asked here is independent of the nodejs Cloud SQL connector. it will apply to Java connector as well for example.

Whichever service account the Cloud Run service runs under (i.e. whichever SA is set with --service-account flag) is set as the Application Default Credentials for the environment. These credentials are passed along to the Docker container and will be used as the credentials and IAM principal for IAM database authentication when using Cloud Run.

Closing this as answered


Exercise solutions - Data Transformation - 5.2.4

The value of NA & FALSE is FALSE because anything and FALSE is always FALSE. If the missing value were TRUE, then TRUE & FALSE == TRUE, and if the missing value was FALSE, then FALSE & FALSE == TRUE.
In my opinion this is not correct. TRUE & FALSE == FALSE, and FALSE & FALSE == FALSE
Also,
For NA | FALSE, the value is unknown since TRUE | FALSE == TRUE, but FALSE | FALSE == TRUE
Actually, FALSE | FALSE == FALSE

It's not just your opinion, the current answer is incorrect. Those are all typos due to sloppy copy and pasting.


seeing collision of ConfigProvider and Grid in the minified version

when looking at the react viritual dom ConfigProvider and Grid both have a tag of e
seeing ConfigProvider as <e columns=4>
then a couple of layers lower seeing Grid as <e style={}>

This should be resolved on the next branch https://github.com/gymnastjs/gymnast/pull/406


Ecoflow delta 2

Just got my brand new EcoFlow Delta 2. It has firmware V<IP_ADDRESS> and V<IP_ADDRESS> (Wi-Fi) and the app tells me this is the latest firmware.
It connects fine via wifi/app.
Integration does unfortunately not want to connect on the correct IP of the EcoFlow Delta 2.
I have read all the other issues & the home assistant forum and I see several potential issues ranging from API closure to firmware updates etc.
Could you advice on best next steps/trouble shooting?

Not sure if this will change anything but your firmware is out of date as the current firmware on the Delta 2 is <IP_ADDRESS>

@Delfairen I just checked and mine says it is up to date with V<IP_ADDRESS>... maybe it depends where you are (Im in France).

@Delfairen I just checked and mine says it is up to date with V<IP_ADDRESS>... maybe it depends where you are (Im in France).

I would not expect that to be the case since there is nothing that could be regional about the device. Maybe check with support? Also it is a Delta 2 correct?

Indeed, it is a Delta 2.
Anyone else still in V<IP_ADDRESS>?

Indeed, it is a Delta 2. Anyone else still in V<IP_ADDRESS>?

Apple or Android? And are you up to date on the app?

We are using the lastest firmware version one two EcoFlow DeltaPro with 2 accumulators, each für professionel purposes. We fighted with EcoFlow over month to get a working firmware (port was closed).
Now, that we - together with many other users - were successful, the HACS integration does no longer work with HA core (even not with the lastest update, yesterday).
It's sad, that either the firmware or the HA version is not compatible.
We are now trying to install an older version of HA with a new rasperry pi - and if it is working - we will never update anything anywhere.

just receive my new brand Delta 2, after update is has v<IP_ADDRESS> and v<IP_ADDRESS>(Wi-Fi)

Hi this work with delta 2? Trying to get connect by ip but not resulta, better Work vía Bluetooth línea bluetti integretiom


Disable "Transform" dropdown in "Create Pipeline" modal when loader does not support transformation

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2191
Originally created by @DouweM on 2020-07-20 20:39:12

View 3 previous comments from the original issue on GitLab


check also the additional pools for missing tags

Currently only the main NodePool is checked for missing tags. With this PR check is extended to the AdditionalNodePools.

Any feedback on this? Thank you.

This pull request is fixing the same issue we had. Where additional pools is not being updated correctly (when its missing).


IN UXL Launcher Version 3.1 Stable, MD5 CHECKSUMS WILL NO LONGER BE PROVIDED. THE RELEASE CANDIDATE VERSIONS FOR UXL Launcher 3.1 WILL BE THE LAST VERSIONS TO PROVIDE AN MD5 CHECKSUM BECAUSE IT'S A WEAK STANDARD.

Because MD5 checksums are so insecure, I won't be providing them for UXL Launcher releases starting with UXL Launcher Version 3.1 Stable. They'll stay for the Release Candidate versions of 3.1, but after that, no official version of UXL Launcher will use MD5 checksums in the changelogs and readme files in the archives.

You can use this Windows PowerShell command to check the SHA-256 sum:
Get-FileHash .\UXL-Launcher.exe -Algorithm SHA256

Copied from the changelog for UXL Launcher Version 3.1 Release Candidate 1:
If you want to use the SHA-256 sum instead (which you should do because an MD5 checksum won't be provided with UXL Launcher Version 3.1 Stable), you can use Windows PowerShell to confirm the hash by running
Get-FileHash .\UXL-Launcher.exe -Algorithm SHA256 in the folder you extracted the archive to and comparing the output to my sum listed below. HowToGeek has a nice article on this, but the Windows section is a bit further down on the page.


Update CHANGELOGs for Key Vault 4.2.0-beta.1

Also adds link to resolve #12742.

/check-enforcer reset


Modules in separate projects

How i can create each module as separate projects. then load  all of them in main project

Hi @belalAhmed

you will need to load Assemblies in your main serenity project insided sergen.json

"ServerTypings": {
"Assemblies": [
"./bin/debug/netcoreapp2.2/xxx.dll",
"./bin/debug/netcoreapp2.2/xxx.dll"
],

Create one class in your main project and include all your class,enum, modules files in created one with [ScriptInclude]

https://github.com/volkanceylan/Serenity/issues/5083#issuecomment-650899262
is this worked for anybody?

hi, it works for me ( for .net core version )
but I have to include my main web dll in the first line, for example
"Assemblies": [
    "./bin/debug/netcoreapp3.1/Serene1.Web.dll",
    "./bin/debug/netcoreapp3.1/HelloWorldLib.dll"
],

namespace HelloWorldLib
{
    public class MyModel: ServiceRequest
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public DateTime CreatedDate { get; set; }
    }

    [ScriptInclude]
    public enum MyEnum
    {
        Hello,
        World
    }
}

@marcobisio Yes maybe there was some changed in asp.net core version, but the concept was same

@KishanVaishnani @minhhungit can you guys please add some more information to this. Like how servertypings and other things will work.

Closed due inactivity
Also check the issue guidelines.
If you still need help, you can ask this on stackoverflow with our new tag.
https://stackoverflow.com/tags/serenity-platform


Paclear does not show animation in VSCode terminal

Installed paclear via brew on an Ubuntu host but no animation is shown before the terminal is cleared in VSCode remote SSH terminal. paclear functions fine when called via Windows Terminal SSH'ing to the same host.

Thank you for the comment. I will check it out.

I am strangely no longer seeing the issue, it could be that I needed to re-establish the connection to VSCode before the animation functioned properly. For those who have the issue I would recommend the connection is killed, then restarted.


Unable to load joy on utop

Trying to load joy on utop throws this error:
#require "joy";;
The files /home/sudha/.opam/5.1.0/lib/joy/joy.cma
and /home/sudha/.opam/5.1.0/lib/ocaml/compiler-libs/toploop.cmi
disagree over interface Shape

I ran into this problem while preparing for my presentation. It seems like the solution is to rename Shape to something else (not Primitive, tried that and it doesn't work either). Suggestions?

Think this might have to do with (wrapped false) in dune.
It exposes all modules to the top-level.
Dune doc recommends against it for this exact reason:
(wrapped <boolean>) specifies whether the library modules should be available only through the top-level library module, or if they should all be exposed at the top level. The default is true, and it’s highly recommended to keep it this way. Because OCaml top-level modules must all be unique when linking an executables, polluting the top-level namespace will make your library unusable with other libraries if there is a module name clash. This option is only intended for libraries that manually prefix all their modules by the library name and to ease porting of existing projects to Dune.


SkyWalking cluster deployment problem

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Hello, after the SkyWalking cluster deployment started, did you report this error?

Your elasticsearch can't connect, I don't know why.

Okay thank you~


[msal-common] ADFS 2019 support

Notes from taken from python implementation and email thread with AzureStack team:

ADFS does not have concept of tenant id. Instead, path will always contain "adfs", and should contain nothing aftewards. We should consider validating url to either throw error or format authority to delete everything after "adfs".
ADFS supports OpenId configuration endpoint, but not the instance discovery endpoint. OpenId configuration endpoint is formatted differently than AAD and B2C. (there is no 'v2' in path)
Only ADFS 2019 works with MSALs scope format. Earlier versions will not. This behavior must be enabled manually by customer. It's common that customers think that AFDS is on server 2019, but it might not actually have internally upgraded it's runitime to support the newer flow. To check if ADFS supports MSAL, check for "nbf" claim in OpenId configuration endpoint. We should consider checking for this claim and throwing an error if not found.

Cache:

Tenant id is null, and therefore HomeAccountId should just use oid (which is subject claim from IdToken)
Id token from ADFS 2019 contains "upn", but not preferred_username
Client info is not available from ADFS 2019 response

Two open issues for msal-browser:

Need to get ADFS 2019 to support CORS
browser's cache relies on ClientInfo returned in the response. Instead of updating current cache design, we will wait until it is moved to new cache.

Coverage decreased (-0.2%) to 78.353% when pulling 2bb4a788a8680eccb6162cae6a7e590ce599c001 on sagonzal/msal-common-adfs into ace26881e1cad49b54b2b5380bd20eb68c7f5ba3 on dev.