Identification does not work

I identified myself with the web service and now who am I seems to work fine:
omnidan: You are known as omnidan on GitHub

However, issues comment does not work:
omnidan: Sorry, you haven't told me your GitHub username.

It's been over a year since I made this project, and it was never really "released", so I can't really debug what's going wrong.

@tombell Aw, that sucks. I'll try to look into it myself then when I get around it :grin: Thanks anyways!


Worksheet range not working

I'm having a problem when I send a sheet to your demo. Basically, some columns of data were ignored and thats important columns of my file. I'll give an exemple.
Here is the file when i upload then without any modifications:
And here is the file when i upload then with an character in the last column of first row:
Note that the last columns not be in the first print.
Please help me, i really want to solve this fast!!

Can you share both files?

off course, this is the first file:
Balancete de Verificação mês 01-2017 M.A.I.S software de resultados Ltda.XLSX
and this is the seccond file:
Balancete de Verificação mês 01-2017 M.A.I.S software de resultados Ltda.xlsx

Most likely the reported range was incorrect.  In general you can use update_sheet_range to correct for the range.


Added Malaria Cell Classification Using CNN and Transfer Learning

Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.

Issue Title
Malaria Cell Classification Using CNN and Transfer Learning

[x] I have provided the issue title.

Info about the Related Issue
What's the goal of the project?
The goal of this project is to automate the classification of malaria-infected and uninfected cells using machine learning and deep learning models. By utilizing CNNs and transfer learning, the project aims to increase diagnostic accuracy and reduce the time needed to identify parasitized cells from microscope images.

[x] I have described the aim of the project.

Name
Vivek Prakash

[x] I have provided my name.

GitHub ID
https://github.com/IkkiOcean

[x] I have provided my GitHub ID.

Email ID
<EMAIL_ADDRESS>
[x] I have provided my email ID.

Identify Yourself
Participating in GSSOC-EXT

[x] I have mentioned my participant role.

Closes
**Closes: #926 **

[x] I have provided the issue number.

Describe the Add-ons or Changes You've Made
Give a clear description of what you have added or modified.
This PR introduces the following changes:

Dataset Integration: Added preprocessed malaria cell images categorized as parasitized and uninfected, including data augmentation.
Models:

MLP: Implemented as a baseline with ~65% accuracy.
CNN: Custom architecture achieving 96% accuracy on training and 94% on testing.
CNN with Regularization: Regularized CNN with similar accuracy to base CNN.
Transfer Learning (VGG19): Fine-tuned VGG19 model trained for 1 epoch to leverage pre-trained weights.

Documentation: Added README with project overview, dataset details, model architectures, and performance summaries.

[x] I have described my changes.

Type of Change
Select the type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Describe how your changes have been tested.
The models were trained and tested on the malaria cell dataset, with accuracies recorded on training and testing sets to evaluate performance. The models were also validated with data augmentation to check for overfitting and generalization. Model performance was compared through metrics such as accuracy on both train and test datasets.

[x] I have described my testing process.

Checklist
Please confirm the following:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@IkkiOcean explain about the dataset too about its features and parameters in the dataset readme file.

@IkkiOcean explain about the dataset too about its features and parameters in the dataset readme file.

okay sure.


It's a bit more ugly but ok, done. PTAL

Hello Merge Stop Enforcer


Chimera OS won't start from external HDD (Timed out waiting for device)

Hi. After installation to external USB HDD Chimera OS won't start, being unable to mount EFI and root partitions.
I've reproduced this using two different machines, using both BIOS Legacy boot and UEFI boot. In every case at first screen is going clear black and then after some time the it dumps the following:
[ TIME ] Timed out waiting for device /dev/disk/by-label/frzr_efi.
[DEPEND] Dependency failed for /boot.
[ TIME ] Timed out waiting for device ??m/dev/disk/by-label/frzr_root.
[DEPEND] Dependency failed for /var.
[DEPEND] Dependency failed for Bluetooth service.
[DEPEND] Dependency failed for ...
...
[DEPEND] Dependency failed for /home.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

It seems like bootloader is doing its job, but either init ramdisk or the Chimera system itself are not able to detect the external drive during boot. At the same time installation to SATA-connected internal HDD produces working system without these issues. Intallation of Chimera OS to external HDD was successful.
After pressing Enter system does nothing helpful, there's no console or anything which would help to investigate the issue.
Chimera OS version: chimeraos-33_7dcb575
Install media version: chimeraos-2022.06.02-x86_64.iso
External drive: WD Elements, USB 3.0

This is due to a bug in the steam-removable-media package. The issue is already fixed in the latest upstream version of that package and will be included in the next release of ChimeraOS.

You can manually deploy an older version of the software until the next release. If you have access to frzr-deploy in the degraded state simply follow the commands in https://github.com/ChimeraOS/chimeraos/wiki/Development#contributing for deploying an older version.
If that isn't possible, stopping the installer and changing the install script is the best way.

Boot the USB install media with no internet connectivity (ethernet disconnected, don't connect to wifi).
Quit the installer.
type nano install.sh
Go down to the line that says ffrzr-deploy chimeraos/chimeraos:stable and change it to frzr-deploy chimeraos/chimeraos:32
Close nano with ctrl+x, hit y to save
Reconnect ethernet cable if used. If using WiFi, follow the next command and use the installer WiFi configurator.
run ./install.sh

Once v34 is released you can run frzr-deploy chimeraos/chimeraos:stable and it will keep you on the stable version going forward.

Fixed in latest release.


Missing headers for Failover Cluster NTLM and Shielded VM changes

After Windows Defender Application Control there should be headers for "Failover Cluster removing use of NTLM authentication" and "Shielded virtual machines – Offline mode, VMConnect and Linux support" as these are also clearly separate sections of the document (which should also be present in the index at the top of the document)

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

ID: 30f7de7e-c8cd-793d-6fb8-3345824f5914
Version Independent ID: 4ea62ad0-9a4d-1456-be70-22a9a3f614fa
Content: What's new in the Windows Server 2019 Insider Preview Builds
Content Source: wip/at-work/Whats-new-wip-at-work.md
Service: wip-at-work
GitHub Login: @dawn.wood
Microsoft Alias: dawn.wood

Nice catch! This is fixed and propped to the live server now. thanks!


Create reply message fail because property[CLUSTER] is null

The issue tracker is ONLY used for bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.
Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

Use rocketmq 4.7.0 broker to send request/reply message
link rocketmq-spring#245
link rocketmq-spring#243

What did you expect to see?

send success

What did you see instead?

CODE: 10007 DESC: create reply message fail, requestMessage error, property[CLUSTER] is null

Please tell us about your environment:

macos

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

how to fix : add cluster property to msgInner in asyncSendMessage method

@ShannonDing  my pom contains below , and it does not work ,bug still exist !!!!!!!!!!!!!!!

org.apache.rocketmq
rocketmq-spring-boot-starter
2.1.1

org.apache.rocketmq
rocketmq-broker
4.7.1

@ShannonDing my pom contains below , and it does not work ,bug still exist !!!!!!!!!!!!!!! can you reopen this bug pls !!

error log:
ReplyMessageConsumer message: hello-1605766759845
2020-11-19 14:26:13.407 WARN 20320 --- [essageThread_15] a.r.s.s.DefaultRocketMQListenerContainer : consume message failed. messageExt:MessageExt [brokerName=broker-a, queueId=0, storeSize=524, queueOffset=123, sysFlag=0, bornTimestamp=1605766759846, bornHost=/<IP_ADDRESS>:63121, storeTimestamp=1605767173594, storeHost=/<IP_ADDRESS>:10911, msgId=C0A8055700002A9F000000000FAB8155, commitLogOffset=262898005, bodyCRC=1356135967, reconsumeTimes=5, preparedTransactionOffset=0, toString()=Message{topic='kim-test-topic', flag=0, properties={CONSUME_START_TIME=1605767173406, TTL=3000, MIN_OFFSET=0, REAL_TOPIC=%RETRY%greeting-group, REPLY_TO_CLIENT=<IP_ADDRESS>@1752, ORIGIN_MESSAGE_ID=C0A8055700002A9F000000000FAB0A49, RETRY_TOPIC=kim-test-topic, MAX_OFFSET=124, id=65a41aff-2fec-e790-edfb-0d2fb22be6ec, UNIQ_KEY=AC101B1C06D81F89AB835FC535A60009, WAIT=false, contentType=text/plain;charset=UTF-8, DELAY=7, TAGS=greeting, timestamp=1605766759845, CORRELATION_ID=83c8c44d-88b3-49a5-b983-293c01c0070f, REAL_QID=0}, body=[104, 101, 108, 108, 111, 45, 49, 54, 48, 53, 55, 54, 54, 55, 53, 57, 56, 52, 53], transactionId='null'}], error:{}
org.apache.rocketmq.client.exception.MQClientException: CODE: 10007 DESC: create reply message fail, requestMessage error, property[CLUSTER] is null.
For more information, please visit the url, http://rocketmq.apache.org/docs/faq/
at org.apache.rocketmq.client.utils.MessageUtil.createReplyMessage(MessageUtil.java:46) ~[rocketmq-client-4.7.1.jar:4.7.1]
at org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.handleMessage(DefaultRocketMQListenerContainer.java:399) ~[rocketmq-spring-boot-2.1.1.jar:2.1.1]
at org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.access$100(DefaultRocketMQListenerContainer.java:70) ~[rocketmq-spring-boot-2.1.1.jar:2.1.1]
at org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer$DefaultMessageListenerConcurrently.consumeMessage(DefaultRocketMQListenerContainer.java:354) ~[rocketmq-spring-boot-2.1.1.jar:2.1.1]
at org.apache.rocketmq.client.impl.consumer.ConsumeMessageConcurrentlyService$ConsumeRequest.run(ConsumeMessageConcurrentlyService.java:412) ~[rocketmq-client-4.7.1.jar:4.7.1]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

@RongtongJin  could you help me ,reopen the bug or tell me how to fix it , I have no idea to fix it and feel very upset , thanks very much


 This happens only for lazy-loaded nodes using the nested children JSON format, that were not requested as root nodes. It does not happen when using the alternative JSON format.
I load my tree using AJAX, following the nested children JSON format. I return the requested node with it's children nodes inside the 'children' list.
After checking with the javascript debugger, it seems that in the function where it checks if dropping is a valid action on a node, it enters an eternal loop. When debugging and examining the arguments passed to the load_node event by logging to the javascript console, the reason seems to be that the parent ID of the node that's being checked is same the as the node's ID. I checked that my tree structure is not malformed and showing wrong parent-children relationships.
Even though I haven't checked this part of jstree's code, my impression is that this happens because, when I return data in the nested children format, all nodes received have their parent ID to the requested node; including the requested node itself. It's logical that if this is the case, root nodes requested using '#' or using the alternative JSON format that requires setting the parent explicitly, are not affected.
When using the nested children format with lazy-loading, changing the parent only on children and not on the requested node might fix the issue.
I'm using jstree 3.3.2(the issue was also present in 3.3.1 though), firefox 48.0, on Arch Linux.

I am afraid I can not help you without a demo. Such a general problem should be reproducable on jstree.com, and since it is not I suspect there is an issue with your data.
Please provide a demo and I will reopen.
Best regards,
Ivan


Remove deprecated features

This starts a tracking rc1 branch that removes all the deprecated features so far.  It will need to get rebased with master once all the features have been merged, but this review should be independent of any new incoming features to master.

Codecov Report

Merging #402 into master will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
- Coverage   92.75%   92.62%   -0.14%
==========================================
  Files          18       18
  Lines        2569     2535      -34
  Branches      334      328       -6
==========================================
- Hits         2383     2348      -35
  Misses        137      137
- Partials       49       50       +1

Impacted Files
Coverage Δ

chalice/cli/__init__.py
77.77% <ø> (-1.5%)
:arrow_down:

chalice/app.py
97% <ø> (-0.06%)
:arrow_down:

chalice/deploy/swagger.py
98.79% <ø> (-1.21%)
:arrow_down:

Continue to review full report at Codecov.

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

Rebased against latest master and repushed.

Cool, incorporated feedback so far.  Also changed a the pre-alpha trove classifier to be beta (there wasn't an RC one from what I can tell).

I intentionally left that in.  It's still in awslabs, and it is just an RC release.  I think it makes sense to remove the dev preview label once we get a GA release and change the org.

@jamesls So then what was the reasoning for taking the preview mention out of the prompt in the command line then?

Fair point, I mostly wanted to reduce the wording a bit, but I can add back the bit about it being under developer preview.  In fact, I can just match the text from the README so it'll be easier to find/delete at the 1.0 release.

Sounds good to me.


Geomesa 1503,1504: remove asm from compute jar, simplify scala 2.10 build

We might need to add the Scala 2.11 profile to the travis build command or set the Scala 2.11 profile to activate on the travis profile.

2.11 build is active by default

looks good to me

@tkunicki two quick things:
Anthony likes commits to start with the line GEOMESA-####.  Note that GeoMesa is all caps and the dash is present.
Second, it looks like this has conflicts now...

@jnh5y rebased PR.  Don't understand your comments about my commit messages...?


Implement Display trait for string::Match

I regularly have to convert matches of a named capture group into a string, which with the current master branch is achieved by capture.as_str().to_string(). This PR implements the Display trait to simplify the given snippet into capture.to_string().

Display is for user facing output, and there are many ways in which a Match could be formatted for users. Because of that, this trait impl isn't appropriate.

Thanks for the feedback! I'm just curious and would like to understand why a user would want to see anything other than the haystack field? Put differently there are only two other fields (start, end) which I reckon are only interesting for debug cases and already covered by the Debug trait hence wouldn't the Display trait be valid for just displaying haystack?

Offsets might be important to users. Grep for example has options to print offsets. Offsets aren't just for debugging.


Adds emittion of user authentication success event.

Motivation:
Currently there is now way to wait for successful SSH session
establishment, the only way to continue is to try to create a child
channel. Given that most clients are expecting the session to be active
when both key exchange and user authenticaiton complete, I propose to
emit UserAuthSuccessEvent.  That way client can wait for that event or
fail if there is an error in the pipeline.
Modifications:

Adds UserAuthSuccessEvent event
Adds .event case to StateMachineInboundProcessResult
Adds emittion of event if StateMachineInboundProcessResult is .event
Adds two tests

Result:
Closes #39

@swift-server-bot test this please

@swift-server-bot test this please

@swift-server-bot test this please

@swift-server-bot test this please

One little nit and then we're good to go.


JS error without passing options

From the document, to use vue-cast-props:
import VueCastProps from 'vue-cast-props'

Vue.use(VueCastProps, /* options */)

It's not clear what should be passed into the options param, so I've tried thesse values:

Vue.use(VueCastProps) -> Error: index.js:12 Uncaught TypeError: Cannot read property 'casts' of undefined
Vue.use(VueCastProps, {}) -> Error: Util.js:9 Uncaught TypeError: Cannot convert undefined or null to object
Vue.use(VueCastProps, {casts: {}}) -> This is fine

Please make it work out of the box without passing any options, or update the guideline in the README file.
Thanks.

Thanks @dhqvinh , try v0.0.4


ctrl-r ctrl-w doesn't work as expected in search mode if incsearch is on

Steps to reproduce
mv ~/.vimrc ~/vimrc
mv ~/.vim vim
vim
:set incsearch
insert two lines:
one
two
put cursor on word "one", type /^ to get into search mode, Ctrl-R Ctrl-W, word "two" will be inserted into command line
Expected behaviour
Word under cursor is expected to be inserted ("one"). If I remove :set incsearch step, all works as expected. According to #vim@libera bug is not present in 3455.
I use this method to quickly navigate through code, because '^func_name' will immediately gets me to its implementation.
Version of Vim
vim-8.2.4476-no_x11
Environment
OpenBSD current
xterm
screen-256color
ksh
Logs and stack traces
No response

Isn't this expected? With /^ you search for a begin-of-word. Help for c_CTRL-R_CTRL-W says:
	When 'incsearch' is set the cursor position at the end of the
	currently displayed match is used.  With CTRL-W the part of
	the word that was already typed is not inserted again.

IOW, with 'incsearch' on, you start at the beginning of the next Word from the cursor — or at least that's how I understand it.
What happens if instead of /^ you go into search mode with only /    ? Or if instead of /^ (search forward) you use ?^ (search back)?
Best regards,
Tony.

Oops, ^ is begin-of-line, not begin-of-word. But otherwise I think my reasoning holds.
Best regards,
Tony.

Isn't this expected? With /^ you search for a begin-of-word. Help for c_CTRL-R_CTRL-W says:
	When 'incsearch' is set the cursor position at the end of the
	currently displayed match is used.  With CTRL-W the part of
	the word that was already typed is not inserted again.

IOW, with 'incsearch' on, you start at the beginning of the next Word from the cursor — or at least that's how I understand it.

Does it mean that ^ in /^ is interpreted as 'part of the word'?
I mean in following scenario it makes sense:
fooa
foob
set cursor on first line, type /foo it will auto-complete to /foob. I see how it makes sense for words, but I expected ^ to be interpreted in other, "special", way. (I illustrated workflow in which it makes sense in OP).

What happens if instead of /^ you go into search mode with only / ? Or if instead of /^ (search forward) you use ?^ (search back)?

If i use / - it works as expected, it pastes word under cursor.
If i use ?^ and i'm on first line, i see E348: No string under cursor, if i'm on second line it pastes one.

When you type "^" the cursor moves to the start of the next line.  You can't see it, since it doesn't match any character yet.  Try typing "." and you see the "t" of "two" is highlighted.
This is normal behavior, "^" searches for the next start of the line, so that is where the cursor is when you type CTRL-R CTRL-W


Please release a Easy Diffusion version of this plugin

Hi there. Could you please release this plugin for Easy Diffusion?
If you don't know, ED is the new kid on the block and is already starting to take a lead on A1111, and are in some cases better than Automatic1111, especially if you enable the plugins and the beta features, ControlNet and such.
Anyway. please consider it. Thank you.

I’m not familiar with EasyDiffusion, and unfortunately I don’t currently have capacity to look into it, but this repository could serve as a good starting point for such a plugin.

Thanks. Easy Diffusion is sorta new to the scene but growing fast in popularity.
Btw. If you're interested, Easy Diffusion plugins use Javascript as their scripting language.
Here's an example of a LoRA control plugin: https://github.com/patriceac/Easy-Diffusion-Plugins/blob/main/plugins/The_Stig/stigs-lora-shuttle-controls.plugin.js.
I'm not a programmer myself though.


Wrap +1 and -1 ops in parens for pretty printed clarity

Not sure how you'll feel about this, but seeing -1 0 is less clear to me than (-1) 0 in pretty printing - thoughts?

They keyword coloring should underline, bold, and yellow the "+1", indicating that it's a keyword. Also remember this is an intermediate representation for a tiny toy language; the pretty printing syntax isn't all that important.
Having said that, I've changed the language and operators in the latest commit, so this isn't even an issue anymore.
This repo is still in very active development. I'm happy to discuss the framework, or even design decisions regarding it, but things are are too unstable to support a pull-request-based workflow.

@davdar Thanks! I'd love to chat about the framework. I'll drop you an email!

@davdar The infix fix is great! Thanks!


"> 2%" results shows browsers below 2%

Test: https://browserl.ist/?q=>2%25
Result:

and > 5% hides browsers above 5%
https://browserl.ist/?q=>+2%25

https://browserl.ist/?q=>+5%25

closing this because I can't reproduce it

https://github.com/browserslist/browserslist/issues/420


[Task]: Improve error handling / messages on claiming flow

We should improve the error messages of the claiming flow so that they explain to the user the problem based on the error type returned from wallet.rs.

@MarkNerdi Would you mind also updating the Errors coding convention guide accordingly?


how to use tutel on Megatron Deepspeed

can tutel be used with Megatron Deepspeed?

Do you mean Megatron, Deepspeed respectively, or working together? For the first case, the answer is positive.

@ghostplant Can tutel work concurrently with Megatron or Deepspeed respectively?

Thanks for your prompt response!


wasm-bindgen cli: error: import of '_wbg_buffer*' doesn't have an adapter listed

Describe the Bug
Using js_sys::Float32Array::view causes wasm-bindgen cli command to fail with error:
error: import of `__wbg_buffer_49131c283a06686f` doesn't have an adapter listed

when compiling in release mode.
Steps to Reproduce
src/main.rs
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub fn start() {
    unsafe { js_sys::Float32Array::view(&[0.0f32]); }
}

cargo.toml
[package]
name = "wasmbug"
version = "0.1.0"
edition = "2018"

[dependencies]
wasm-bindgen = "0.2.68"
js-sys = "0.3.45"

[lib]
crate-type=["cdylib"]

Then with rust 1.48 on linux
> cargo build --target wasm32-unknown-unknown --release
...

> cd target/wasm32-unknown-unknown/release
> wasm-bindgen --version
wasm-bindgen 0.2.68
> wasm-bindgen --target web --no-typescript --out-dir . wasmbug.wasm
error: import of `__wbg_buffer_49131c283a06686f` doesn't have an adapter listed

Additional Context
Avoiding use of js_sys::Float32Array::view prevents the problem from occurring
Edit: only happens in release mode

Had RUSTFLAGS="-C target-cpu=native" in my environment which caused the issue.


Reading of raw values?

Hi Magnus!
Is there a way to read raw values from the ESP32 with your code, or how could I try to figure out the meaning of data that have not yet been identified? E.g., the fan that can be controlled via the CP+ when the air heating is off; it then serves simply as a fan. Maybe you also have some other data of interest?

You can take Daniel's code as a basis, all the parts are in there! What exactly do you want to analyse?

I think, we can close this issue! Ok for you?


Why not  have the Serializable in the TypeKind ?

Why not  have the Serializable in the TypeKind ?

The 'Serializable type' is difficult to express as a json string


ENH: add support for metadata tags if supported by driver

Allow passing in tags as a dict to write() / write_dataframe(), similar to Fiona #821
To support GeoPandas #2777

Fiona/rasterio set the example of calling this "tags", but personally I would find the "metadata" term that GDAL uses clearer.


--alwaysStrict not ... always strict

TypeScript Version:  2.2.2
Code
In a React Native project:
import React from 'react';

let thing = {a: "first"};
Object.freeze(thing);
thing.a = "second";

tsconfig.json
"compilerOptions":{
   "target":"es2015",
   "module":"es2015",
   "jsx":"react",
   "outDir":"dist",
   "rootDir":"App",
   "allowSyntheticDefaultImports":true,
   "noImplicitAny":true,
   "strictNullChecks":true,
   "alwaysStrict":true,
   "noUnusedLocals":true,
   "experimentalDecorators":true,
   "preserveConstEnums":true,
   "allowJs":true,
   "moduleResolution":"node",
   "types":[
      "native-base",
      "redux"
   ],
   "sourceMap":true
},

Expected behavior:
A run-time exception, because alwaysStrict: true.
Actual behavior:
Mutation is silently discarded unless "use strict;" is added to the top of the .ts file.
In #11806 it was identified that "use strict;" is superfluous when module=es2015.
I am using module=es2015 in a React Native and would like "use strict" to be applied to all of my files, but I'm not sure how to do this now. Setting module to commonjs will bring back "use strict" but breaks RN. Setting target=es5 does not enable "use strict";.

Setting target=es5 does not enable "use strict";.

This definitely should. It is also completely forwards compatible, valid ES2015 to emit a potentially redundant "use strict".

It looks like the real culprit is the babel preset used in React Native's packager. This can be overrode in .babelrc. This is why RN is not behaving in spec I think.

@jeremyjh perhaps, but as you say, tsc emits non strict code under using your configuration but under --target es5. That is a problem.

I'm going to close this; it is not really a Typescript issue, even though Typescript used to support a nice workaround for it. I still actually have not found any workaround other than putting "use strict"; at the top of every module file myself. Building my own .babelrc config with
    ["transform-es2015-modules-commonjs", { strict: true, allowTopLevelThis: true }],

Did not resolve the issue for some reason. But I think its more properly a RN issue.

Perhaps link the issue that you file with React Native.

@aluanhaddad Actually I found they already had one - facebook/react-native#5316 .
I did get an override to work locally in project, and found I also had a couple of dependencies that don't support strict. So its notations at the top of all my files.

That's frustrating, strict mode should be used in almost every situation, both for both security and performance reasons.
Regardless, thank you for linking the issue.


20160915 - Hacky Hour (Social - Meet and Greet)

Date: Sept. 15, 2016
Time: 6:00-7:30
Location: BRB 117 http://www.bu.edu/maps/index.php?id=716
Event: Hacky Hour - Semester Social Starter, aka a meet and greet.
We'll serve pizza and beverages. I'll purchase and people can make donations back if they feel like it.

6 ppl attended. we found ourselves in competition with a last minute GSO pub night.


SwiftPM 5.3 support with resource bundle and watchOS support

This is currently WIP due to Swift 5.3 being in beta. This CR includes the work for fixing the unit tests in addition to prevent app crashing due to unavailability of the bundle. This is based on the https://github.com/MatthewYork/DateTools/pull/291 PR, but if that branch deosn't get merged in by the time Xcode 12 / Swift 5.3 is released, this can be cleaned up and used instead and the other PR should be disregarded.

Would it be possible to support watchOS as well? We are using DateTools on watchOS today, but with Cocoapods. We are planning to migrate to SPM in the future.

@pontusm Not much familiar with limitations of WatchOS, but can definitely look into it and enable it as part of this PR. I'm planning to clean it up and make the final version of it this week. I'll merge it into master branch on my fork and leave the PR open for the maintainer to decide if want to merge it in or when.

That would be great! As I mentioned, we already use it on watchOS so I don't think you have to do much to support it. Probably just need to add it to the "platforms" list in the package file.

@pontusm It's ready for being merge into the main branch. I'm going to merge it into my fork, so feel free to use that.

tied and getting error
ld: warning: directory not found for option '***/Carthage/Build/iOS'
ld: framework not found DateToolsSwift

tied and getting error
ld: warning: directory not found for option '***/Carthage/Build/iOS'
ld: framework not found DateToolsSwift

@atrbx5 I don't know if this library supports Carthage, https://github.com/MatthewYork/DateTools/pull/184 is what I found in previous issues.

@atrbx5 I don't know if this library supports Carthage, https://github.com/MatthewYork/DateTools/pull/184 is what I found in previous issues.

ok figured out, long ago i was using cartage on the project and not all OTHER_LDFLAGS was removed
so when import it with SPM it was still looking for binary
works ok now

ok figured out, long ago i was using cartage on the project and not all OTHER_LDFLAGS was removed
so when import it with SPM it was still looking for binary
works ok now

Any update on this?

It is merged in my fork. Feel free to use that or fork from mine. I've only added SPM support and fixed some tests, no other changes are in this fork.


use https for other relogin tests

continuation of #2164

@kradalby Perhaps you should add hsic.WithTLS() to auth_oidc_test.go?

@kradalby
When integrationTests were run locally (using WithTls()), the same problem occurred as in the current tests.
When the following code was added to runTailscaleUp.
loginURL.Host = fmt.Sprintf('%s:8080', headscale.GetIP())
loginURL.Scheme = 'http'

if len(headscale.GetCert()) > 0 {
	loginURL.Scheme = 'https'
}

insecureTransport := &http.Transport{
	TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // nolint
}

the error stopped occurring
The error itself 2024/10/09 09:52:00 failed to register client (ts-1-72-jqug4h): failed to parse auth page contains Client sent an HTTP request to an HTTPS server..


There is minor typo.

Hi~ I find some typo. :)
https://github.com/ROBOTIS-GIT/turtlebot3_manipulation_simulations/blob/master/turtlebot3_manipulation_gazebo/launch/turtlebot3_manipulation_gazebo.launch
<include file="$(find turtlebot3_manipulation_gazebo)/launch/turtlebot3_manipulation_controller.launch/">
->
<include file="$(find turtlebot3_manipulation_gazebo)/launch/turtlebot3_manipulation_controller.launch"/>

Thank you! There was a PR(#12) for this issue and merged into the master :)


nextcloud: 24.0.10 -> 24.0.11, 25.0.4 -> 25.0.5

Description of changes
Changes: https://github.com/nextcloud/server/compare/v24.0.10...v24.0.11
Changes: https://github.com/nextcloud/server/compare/v25.0.4...v25.0.5

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

A backport of this would be really nice!

sorry, my mistake!


connection_host key issue in inputs.conf

With Splunk Extension version 0.2.10, I receive an Invalid key in stanza [udp://:11514]: connection_host = dns in my inputs.conf file. Here is my following stanza:
[udp://:11514]
connection_host = dns
host = myhost
index = test

Fixed in version 0.3.0


Legacy Importer - v5 transfer hours are not being imported to v7 transfer hours

Describe the bug
v5 pilot transfer hours are not being imported to v7 users, transfer_time
Version
Latest v7 dev and v<IP_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Transfer hours from v5 should be converted to minutes (v7 format) and imported to v7.
Screenshots
Same pilot/user - total hours computation is close, but transfer_time is missing in v7.
v5 - phpvms_pilots table

v7- users table

Additional context
I think the following will allow transfer hours to be imported in v7
But since I am not 100% sure, I didn't send a PR.
In /app/Services/LegacyImporter/UserImport.php - after line 71, add
'transfer_time'       => Time::hoursToMinutes($row->transferhours),

Maybe a little bit more safer like
'transfer_time' => filled($row->transferhours) ? Time::hoursToMinutes($row->transferhours) : null,


doc: Update "Your first theme" documentation

Hello!
I am using SyliusThemeBundle on a new Monofony project and after reading documentation (because I always read documentation :dancers: ) I seen some problems:

First about theme.json, documentation is always talking about composer.json even if it's possible to have a theme.json and a composer.json (which is explained in docs/theme_configuration_reference.md)
Second on the ThemeRequestListener which is not accurate for Symfony 5+. GetResponseEvent was deprecated in Symfony 4+ for RequestEvent

Thanks for reading and hope it will help!

Thank you, Alexandre! :1st_place_medal:


enchants.yml

adding missing enchantments to enchant.yml
freeze , protection for armor , edge , normal pvp enchantments, etc to give more life to the enchants.

Hello, this is not an issue but feature request. Please submit that on our discord.
As far as I also know, you can create these enchants via our API.


How to modify theme properties directly via code? (color, font, border, etc)

I've spent 2-3 hours reading the code, and, like most pygame coders I suspect, I'm not an expert, and I can't find where/how to simply set theme properties for UIElements directly.
In other words, how can I dynamically alter the colors, fonts, backgrounds, etc of the various elements?
Related...
https://github.com/MyreMylar/pygame_gui/issues/186

Moved this talk to a discussion. Possibly there is some future work to do to make altering themes via code less cumbersome with helper functions - not certain as it breaks the 'live loading' from files concept if the themes in memory can differ from the data on the disc.
Likely needs a bunch more thought put into it - is it better if you can switch button themes dynamically instead? I.e. button colours/effects defined in theme files but which them is used by a button is dynamically switch able easily?


improvementUse count as ndv for unique/agg olap table single key column.

Single key column of unique/agg olap table has the same value of count and ndv, for this kind of column, don't need to calculate ndv, simply use count as ndv.

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

run buildall


Fix FilteredCommand tests to run on UI thread

Fixes exception in FilteredCommandTests, caused due to
an attempt to instantiate PropertyChangedEventArgs on non-UI thread.
Though the diff might look scary it is just wrapping with RunOnUIThread

@zadjii-msft - this is what you have seen in https://github.com/microsoft/terminal/pull/9192

Thanks for investigating this!

Needs Second :blush:

Thanks for investigating this!

Sorry for missing this in the first place.


Kbfs seems to be borked.

Keybase GUI Version: 1.0.17-20160922174631+f87e42c
Everythong under /keybase is gone, but from only one computer.  All others are fine.  Is it possible to re-initialize KBFS on one host?

Please can you run keybase log send on the machine without KBFS access?
Is it running macOS Sierra, by chance?  (KBFS is temporarily disabled on that OS.)

Yep, I just installed Sierra.  Sounds like that's the issue.  You still want the log?

1.0.17-20160929010715+fb25cc7 is working for me on Sierra, including KBFS. Will report back if I encounter any issues.

Please close, opened under #4462 with ref. to debug log.


car-shop-building shows untypical building outline when sub-tag service is added

That means there will be displayed a white/grey line maybe from highway=service to the building outline.
The wiki of shop=car is allowing service=* tag.
https://wiki.openstreetmap.org/wiki/Tag:shop=car
Could you change behavior of iD-editor, or should we ask the community to change the tagging scheme,
for example change the sub tag of shop=car from key-name service=* to services=*?
Example osm object:
https://www.openstreetmap.org/edit?way=158075855#map=20/33.78918/-117.91228
building=yes
shop=car
service=tyres

building=yes
shop=car

Thanks for reading.

Could you change behavior of iD-editor, or should we ask the community to change the tagging scheme,
for example change the sub tag of shop=car from key-name service=* to services=*?

I think the community should just change the tagging scheme for vehicle service.  The most popular use of service=* in this way is tyres at 4220 uses, which is really not so many compared to the over 3 millions of service=driveway and service=parking_aisle each.  That service tag is used for so many other things that it never should have been suggested as a use for vehicle service.
Since #3535 - iD supports an alternative way of tagging vehicle services that doesn't conflict with highway=service:

This approach is the same as the established way of tagging services performed on other things like bicycles:
https://wiki.openstreetmap.org/wiki/Tag:shop%3Dbicycle
but uses service:vehicle:*=* instead of service:bicycle:*=*

Thanks for information, sorry for double post.


Graph operations

There should be a module which provides various standard graph operations like edge contraction, graph complement, intersection, union, etc. These don't require any special support from the underlying storage and thus can be generic. There should be probably also standard traits which would be implemented by these operations (similar to std::ops).
Things to consider:

unary vs binary
self-consuming vs in-place

These operations may be lazy as are adapters in std::iter fore example. In most cases, implementing graph traits for these adapters should not cause too much overhead. Anyway, it would be always possible to materialize ("collect") the adapters into a concrete graph storage.

First example (complement) implemented in 5db59b524bebf49a3027839ce6cfbdb1c78dbdb9.

Operations moved to adapt module in #69. I also removed the Op* traits, because they probably did not bring any value and the hack with C = () generic parameter was hacky.
I am going to close this issue, because there is a precedent for an operation type, and now it remains to add operations that are missing.


Could not find "org.jetbrains.compose.collection-internal:collection"

Describe the bug

Task :composeApp:compileKotlinIosSimulatorArm64 FAILED
error: Could not find "org.jetbrains.compose.collection-internal:collection" in [/Users/mohdhafiz/Downloads/AssetManagementSystem, /Users/mohdhafiz/.konan/klib, /Users/mohdhafiz/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.21/klib/common, /Users/mohdhafiz/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.21/klib/platform/ios_simulator_arm64]
error: Compilation finished with errors

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':composeApp:compileKotlinIosSimulatorArm64'.

Compilation finished with errors

Note: I suspect after update jetpack compose plugin 1.6.0 this error come out.
Affected platforms

iOS

Versions

Kotlin version*:  8.2.2
Compose Multiplatform version*: 1.6.2
OS architecture (arm64): arm64
Device (model or simulator for iOS issues): iphone 15 pro 17.0.2
JDK (for desktop issues): 1.7

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Expected behavior
Should smoothly when run iosApp

Could you provide a reproducer for the problem? (And describe versions more accurately)

https://github.com/JetBrains/compose-multiplatform/issues/4277#issuecomment-1945922199

duplicates https://github.com/JetBrains/compose-multiplatform/issues/4277

@terrakok  the error that point out not same as me, how?

The error is Could not find "org.jetbrains.compose.annotation-internal:annotation". The fix is to find a dependency with unsupported version of the compose.
If you think it is a different case then provide a more detailed information and a reproducer, please 👍

actually what does mean error "org.jetbrains.compose.collection-internal:collection" vs "org.jetbrains.compose.annotation-internal:annotation"? @terrakok

Actually, it doesn't matter. The issue is in a wrong transitive dependency between native targets. Because libraries with Kotlin Native targets maybe incompatible between dev versions.

because like my case build success but when running composeApp in Android (ok) but in Ios (not ok).

Before that, could you share the output of ./gradlew :composeApp:dependencies > dep.txt?

[Uploading dep.txt…](Text dep)
attachment above that you requested.

Where is Compose Multiplatform 1.6.2? I see org.jetbrains.compose.foundation:foundation:1.6.0-alpha01 -> 1.6.0-beta01

Try to create a new project with the same dependencies as you have to reproduce the issue and post the project here

@terrakok i did test with 1.6.2 during time i do reporting this issue but same problem. so i try redo back original 1.6.0-beta01 but still same problem.  Can I help you email please because my project so easy that can trigger error. It error when run iosApp when try to install.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


subTree requires all classNames to be passed

If I have an element with multiple classNames it seems I have to pass all of them to subTree for it to  match:
React.DOM.div({className: 'Test Component'});

// This doesn't match (would expect it to)
tree.subTree('.Test');

// This does, but quite verbose
tree.subTree('.Test.Component');

This should be working, there were some changes made to className handling this morning - can you confirm that this is still broken on 0.13.2 ?

Ah I missed that release, sorry. Yeah it works fine! Cheers


dune build error

got the book, looking at the example repo; followed "dune build"...
my ocaml -version spits out "The OCaml toplevel, version 4.13.1"
(Didnt know if I was supposed to be able to build, knowing each commit corresponds to a chapter in the book.... )
File "lib/compile.ml", line 3, characters 15-40:
3 |   let source = In_channel.with_open_text src_file In_channel.input_all in
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module In_channel
File "bin/main.ml", line 8, characters 17-37:
8 |     let result = In_channel.input_all ic in
                     ^^^^^^^^^^^^^^^^^^^^
Error: Unbound module In_channel

Thanks for reporting this! In_channel was added in Ocaml 4.14 - can you try updating to that version or later?

took me some figuring out, but i ran opam install ocaml.5.2.0 and then re-ran dune build with no error! (I have no knowledge of ocaml or opam!)
apparently my initial ocaml was the base package from Ubuntu 22.04 LTS (in case anyone else hasn't upgraded to 24.04!)
thanks!

Glad you got this sorted out! I've added more detailed install instructions to the README so hopefully folks will have an easier time with this going forward.


@orta => [spacecommander] Work around issue where a space is added to method sig.

See https://github.com/square/spacecommander/issues/14.

awww, I'm gonna get a merge conflict for this

Sorry, buddy, it was a race ¯_(ツ)_/¯


As a helpful SoC professor, I can put tags (e.g. “Ahead of time”, “Up to task”, “Behind schedule”) on my student’s FYP

...  so that I can clearly indicate my student’s progress relative to the timeline.

Implemented in #137.


IndentationError: unexpected indent when trying to "Debug cell" on indented code

Bug: Notebook Editor, Interactive Window, Python Editor cells

Steps to cause the bug to occur

In the editor, have this code:

#%%
    a = 1

Run the "Debug cell" action on the above cell.

Actual & Expected behavior
The result cell in the Python Interactive window:
breakpoint()
    a = 1

  File "", line 2
    a = 1
    ^
IndentationError: unexpected indent

Expected behavior is for this to work (despite the indentation of the code in the cell). Indeed, running the "Run Cell" action actually works well! This is extremely useful working with hybrid code/notebook files. So sometimes you have in a code.py file for instance:
def some_func():
    a = 1
    b = a + 1
    return b

and you want to work in the inside of the function interactively so you would make it:
#%%
def some_func():
#%%
    a = 1
    b = a + 1
#%%
    return b

That would make it possible to either call the code as the function or work on the contents interactively by evaluating/debugging the middle cell - extremely useful. I'm guessing this has to do with the breakpoint() statement added by the extension when "Debugging" cells.

Your Jupyter and/or Python environment

Jupyter server running:                       Local
Extension version:                               2019.10.44104
VS Code version:                                1.40.0
Setting python.jediEnabled:               true
Python and/or Anaconda version:     3.5.4
OS:                                                     Windows
Virtual environment:                          pipenv

Possibly related https://github.com/microsoft/vscode-python/issues/6680

Thank you for filing this bug, given taht we haven't had enough users report this bug and the fact taht its more of an edge case, I'm closing this for now as wont fix.


pgBadger 12.2 - Normalization does not handle properly balanced single-quoted strings along with escaped quotes inside

Hi,
Alongside with my previous bug report I saw that some of my Windows Network Paths were showing up in the "Time consuming queries (N)" part where only normalized (with '?' as parameters) queries are supposed to show up!!
So I did some debug and the "remove string content" of the "normalize_query" proc is not doing proper handling for cases where "'' (backslash + quote) are inside and at the end of the string: my case for network paths.
So I fixed this in Pull Request #803
(sorry, double commit because I had to revise very slightly the regexp in order to properly handle cases 7 and 8 below)
I tested then the following test cases and this looks good.
(although most cases are not real case as string as parameters should always end up with a quote (or double-quote))
### Test case #01:
###   call tools.dataimport(3, '\\some.\'site.com\folder\', 1000);
###   >>
###   call tools.dataimport(3, ?, 1000);
### Test case #02:
###   call tools.dataimport(3, '\'\\some.\'site.com\folder\'\\', 1000);]
###   >>
###   call tools.dataimport(3, ?, 1000);
### Test case #03:
###   call tools.dataimport(3, XXX'\\some.\'site.\'subsite.\'com\folder1\''folder2\'YYY, 1000);
###   >>
###   call tools.dataimport(3, XXX?folder2\'YYY, 1000);
### Test case #04:
###   call tools.dataimport(3, xxx'\\some.\'site.\'subsite.\'com\folder1\''folder2'\folder3\'yyy'zzz\'www, 1000);
###   >>
###   call tools.dataimport(3, xxx?folder2?zzz\'www, 1000);
### Test case #05:
###   select * from tools.getusers('1', 'Y', '', '0', 'DOMAIN\user', '', '', '', '', '')
###   >>
###   select * from tools.getusers(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
### Test case #06:
###   call tools.dataimport(3, "\\some.site.com\folder\", 1000);
###   >>
###   call tools.dataimport(3, ?, 1000);
### Test case #07:
###   CALL tools.dataimport('\\some.site.com\folder\','C012152');
###   >>
###   CALL tools.dataimport(?,?);
### Test case #08:
###   CALL tools.dataimport('\\some.site.com\folder\'   ,  'C012152');
###   >>
###   CALL tools.dataimport(? , ?);

And now I only see '?' in the HTML output which is good.

				1
				20

Details

				4m33s
				5s90ms
				47s939ms
				13s678ms

call tools.dataimport (?, ?, ?);

Thanks in advance.
Bertrand

Hi,
original 12.2 normalize_query logic does not work well with single quoted strings ending with '
for instance:
call tools.dataimport(3, '\\some.\'site.com\folder\', 1000);
CALL tools.dataimport('\\some.site.com\folder\','C012152');
CALL tools.dataimport('\\some.site.com\folder\'   ,  'C012152');

I thought my code proposal worked ok but now I still have cases where regexp does not match properly and ends up breaking the query string while replacing wrong parts with question marks (?).
For instance:
query part:
	            '' || ' / (' || plrow.fromquantity || '-' || coalesce(plrow.toquantity::text, 'infinite') || ') '
	        end pricingline,
	        mm.name as kind,

			--'ass'as kind

will become:

	            ? || ? || plrow.fromquantity || ? || coalesce(plrow.toquantity::text, ?) || ') ?ass'as kind

whereas it should be:

	            ? || ? || plrow.fromquantity || ? || coalesce(plrow.toquantity::text, ?) || ?
	        end pricingline,
	        mm.name as kind,

			--?as kind

So in the end, I still believe something should be done to the "remove string content" part of "sub normalize_query" but my fix proposal is not foolproof.
So I keep pullout request #803 as draft at the moment.
Sorry.
Bertrand


marti_common: 3.0.4-1 in 'eloquent/distribution.yaml' [bloom]

Increasing version of package(s) in repository marti_common to 3.0.4-1:

upstream repository: https://github.com/swri-robotics/marti_common.git
release repository: https://github.com/swri-robotics-gbp/marti_common-release.git
distro file: eloquent/distribution.yaml
bloom version: 0.9.1
previous version for package: null

swri_console_util

No changes

swri_dbw_interface

No changes

swri_geometry_util

No changes

swri_image_util

No changes

swri_math_util

No changes

swri_opencv_util

No changes

swri_prefix_tools

No changes

swri_roscpp
* ROS 2 Eloquent compatibility (#568 <https://github.com/swri-robotics/marti_common/issues/568>)
* Contributors: P. J. Reed

swri_route_util

No changes

swri_serial_util

No changes

swri_system_util

No changes

swri_transform_util
* ROS 2 Eloquent compatibility (#568 <https://github.com/swri-robotics/marti_common/issues/568>)
* Replace boost::array with std::array (#567 <https://github.com/swri-robotics/marti_common/issues/567>)
* Fix a crash that happened due to an initialization error (#566 <https://github.com/swri-robotics/marti_common/issues/566>)
* Fix TransformManager so it works in ROS2 (#565 <https://github.com/swri-robotics/marti_common/issues/565>)
* Port ObstacleTransformer node to ROS2 (#559 <https://github.com/swri-robotics/marti_common/issues/559>)
* Remove "nodelets" directory (#558 <https://github.com/swri-robotics/marti_common/issues/558>)
* Contributors: P. J. Reed

Travis got stuck, but more importantly this has a merge conflict now.  @pjreed please rebase when you get a chance, thanks.

Ping @pjreed

I'm about to release another version, so I'll just cancel this one.


Cannot Send from Nami

I successfully sent some ADA to my Nami Wallet, but now when I try to use it on an exchange, it says error. My password is correct and I have the 5 ADA collateral setup + plenty of ADA in the Nami wallet. However, I tried using it on Sundaeswap, Minswap and a couple of other places and just got errors, after I put in my password. Sundaeswap gave a choice to send the error report. I've tried closing my browser and restarting it.   I do have my seed phrase. What does resetting it actually do?  Thanks!

@GroovyKim Do you have an external custom node configured in your Nami wallet?  I had this same issue and had forgotten I setup Nami to use my local Daedalus node.  Either reset that or be sure to have your Daedalus node running and see if that fixes the issue.
To the Nami team, this might be a good indicator to display somewhere obvious in the wallet to say "Configured node unavailable" or something to that extent.


fix protected route example

Explain your changes
The example for the protected route does not await the promise form isAuthenticated. As a result, it never returns the Unauthorized response.
This change fixes it.
Checklist

[X] I have read the “Pull requests” section in the contributing guidelines.
[X] I agree to the terms within the code of conduct.

🛟 If you need help, consider asking for advice over in the Kinde community.

Cheers @afogel and @devlopersabbir ! 🚀


Connection shows as active despite explicitly calling close on it

Environment
HikariCP version: 2.7.8
JDK version     : 1.8.0_161
Database        : MySQL
Driver version  : 6.0.6 (connector/j)

Have you searched the CLOSED issues already? How about checking stackoverflow?
Find below the code used to fetch the data from the database using a connection obtained from hikari cp connection pool
	try {

		conn = ds.getConnection();
		//This will have a validation timeout of max 5s and connection timeout of 10s
		//Thus if this fails, let the thing fail so as to avoid timeout issues at client side

		ps = conn.prepareStatement("select count(contactnumber) as noofsmssent from senttrackingsmslogs where restid=? and contactnumber=? and senttime > ?");

		ps.setInt(1,restid);

		ps.setString(2,contactNumber);

		ps.setLong(3,timeEntered);

		rs = ps.executeQuery();

		while(rs.next()) {
			//We will only have one result here always

			if(rs.getInt("noofsmssent")>=3) {
				response.setStatus(333);
				LOG.debug("Restaurant has already sent tracking to the person via sms thrice");
				return;
			}

		}

	}catch(Exception e) {
		response.setStatus(444);
		LOG.error("Error occurred while checking sms count of the user "+e.toString());
		return;
	}finally {

		try {
			rs.close();
		} catch (Exception e) {
			//Do nothing
		}

		try {
			ps.close();
		} catch (Exception e) {
			//Do nothing
		}

		try {
			conn.close();
		} catch (Exception e) {
			//Do nothing
		}

	}

The ds is HikariDataSource obtained via JNDI lookup inside the init() methodof the servelet
	try {

		Context ctx = new InitialContext();

		ds = (HikariDataSource)ctx.lookup("java:/comp/env/jdbc/MysqlHikari");

	}catch(Exception e) {
		LOG.error("Error looking up datasource "+e.toString());
	}

The lookup resource is created under META-INF/context.xml of the webapp
<Resource name="jdbc/MysqlHikari"
	auth="Container"
	factory="com.zaxxer.hikari.HikariJNDIFactory"
	type="javax.sql.DataSource"
	maximumPoolSize="10"
	connectionTimeout="10000"
	jdbcUrl="jdbc:mysql://<IP_ADDRESS>:3306/testdb?verifyServerCertificate=false&useSSL=true"
	dataSource.implicitCachingEnabled="true"
	dataSource.cachePrepStmts="true"
	dataSource.prepStmtCacheSize="250"
	dataSource.prepStmtCacheSqlLimit="2048"
	dataSource.user="root"
	dataSource.password="root" />

As you can see, i am explicitly calling close on all the resources affiliated with the connection. yet the log printed shows:
[com.zaxxer.hikari.pool.HikariPool] [DEBUG] - HikariPool-2 - Pool stats (total=10, active=2, idle=8, waiting=0)
I called the above servlet twice and thus two are shown active. This seems to me like it's a bug on either hikari's part or connector/j part, can someone point me as to what i should be doing?

And after tomcat restart, the whole damned lookup fails... can't find suitable driver....

On Closer inspection, i indeed have forgotten to close the connection in one of the classes


147-admin-fe-download-user-research-participants

https://trello.com/c/vFOX8hcq/147-admin-fe-download-user-research-participants
https://github.com/alphagov/digitalmarketplace-functional-tests/pull/489
Add the links/ new page for the user research participants csvs. Links should only show for 'admin' role.

@benvand Request content changes:
Suppliers: Download lists of potential user research participants
Buyers: Download list of potential user research participants
Reasons
– the sentence is easier to read without 'supplier' and 'buyer'
– because there are several lists for suppliers, we should use the plural
These have been okayed by @constancecerf too.

@karlchillmaid @constancecerf All done!

Rebased branch with master


docs: Fix up docs, especially envvar and cmdline

Which problem is this PR solving?

Cleans up the documentation and code around environment variables and command line.

Short description of the changes

Fix and add info about envvars and cmdlines in metadata
Add the info to templates so they show up in the docs
Regenerate all the things

Closes #727

@TylerHelmuth I've compared with documented env vars and reverted all the ones that were documented in the README to what they were in 1.21.


evm: use RethEvmBuilder for Optimism config

As a follow up to our use of the Evm builder (related https://github.com/paradigmxyz/reth/pull/10210), this PR uses the RethEvmBuilder for the Optimism configuration in order to gradually eliminate the EvmBuilder from the codebase.

The unit tests added in https://github.com/paradigmxyz/reth/pull/10280 should cover the entire EVM building for the Optimism cfg. I hope I didn't miss any untested edge cases that would be problematic.
Before we used the optimism() function which is part of the EvmBuilder https://github.com/bluealloy/revm/blob/1ad860469755e3cf71383f45d71c3faaf61d3029/crates/revm/src/builder.rs#L162-L169 to modify the handler to apply the spec ID changes needed by Optimism but with the new approach using RethEvmBuilder, it is not practical to do like that. So I opted for another approach which consists of first building a default EVM which is an Ethereum EVM before modifying the handler.

@mattsse Don't hesitate to tell me what you think and if the chosen approach seems correct to you. The goal of this PR is really to extend the usage of our RethEvmBuilder and to no longer have an EvmBuilder in the Optimism implementation.

Closing for now as it probably needs more work to remove optimism feature flag in order to handle this in an easier way.


ctl: should check column family name validation when scan data using ctl

close #11268
Signed-off-by: yuqi1129<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #11268
Problem Summary:
What is changed and how it works?
Proposal: xxx
What's Changed:
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
 None

Test test_server_transfer_leader_safe  is not very stable

/run-test

/cc @tabokie @Connor1996

/merge


BLDC_HALL not compatible with XMC7400 Relax Kit?

I am trying to use BLDC_HALL.ino with XMC7400 Relax kit and IFX007T Shield using a 16 pole BLDC with the sensor.  Is the firmware provided really compatible with Relax kit(read in the doc that it is)?
If not, what modifications can I go with?

I tried running in debug mode and made hardware changes so as to fit my BLDC application.
It's good from the .ino file side and works well.


No battery display

Was using an old commit for some time, updated to master, no longer displays the battery level.
It does give some errors but they don't seem very relevant to this issue.
INFO [ashell::config] Reading config file
WARN [wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
ERROR [ashell::services::bluetooth] Failed to initialize bluetooth service: No such file or directory (os error 2)
ERROR [ashell::services::bluetooth] Bluetooth service error
ERROR [ashell::services::upower] Failed to initialize upower service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower.PowerProfiles was not provided by any .service files

Unless the power profiles service is causing all power-related things to fail.
I'm on NixOS, not sure what additional information would be relevant.

The problem seems that without the org.freedesktop.UPower.PowerProfiles dbus protocol the entire service fail to initialize (so even the battery).
A temporary workaround could be install something that makes that protocol working on your system but I should decouple the two system the fix the issue.
I will try to resolve as soon as I can. It shouldn't be so complicated

you could try with this branch https://github.com/MalpenZibo/ashell/pull/77

you could try with this branch #77

Works! Thanks for the quick resolution.


Fix command completion for path and command symbols

Problem
Command completion uses space to delimit and replace the current command with the incoming completion item.
This causes completion with paths & command symbols to be completely replaced with the incoming completion. (if space is not used)
Solution
Use path symbols and vim command symbols to delimit the current command, then compare the last delimited item with the incoming completion item.
Fixes #860

Rebase and tests should work.

Nvim does have :help getcompletion(), wonder if it could be used here.


ADD TABLE OF CONTENT ,CHANGELOG ,TECHNICAL STACK on README file

📋 Description
This PR adds a Table of Contents, Changelog, and Technical Stack sections to the README file for better organization and clarity. These changes aim to improve navigation and provide essential information about the project to potential contributors and users.
🔨 Changes Made

Added a Table of Contents to enhance navigation within the README file.
Introduced a Changelog section to keep track of updates and changes made to the project.
Created a Technical Stack table that lists the technologies used in the project, complete with emojis for visual appeal.

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[x] I have followed all the guidelines mentioned in CONTRIBUTING.md.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation (if applicable).
[x] I have tested it locally and it works fine.
[x] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛

[x] New feature (non-breaking change which adds functionality) ✨

[ ] UI enhancement (non-breaking change which enhances UI) 🎨

[x] Documentation update 📚

Fixes #139

📸 Screenshots (if applicable)

Thank you for contributing to Research Nexas! We look forward to reviewing your PR and getting it merged!

@Harshdev098  the task has been completed. Kindly Review it
Thank you!


Prepare 5.8.1

Goals :soccer:
This PR prepares the 5.8.1 release.

Goals :soccer:
This PR prepares the 5.8.1 release.


DPR2-366: Set retention for redshift logs

The redshift terraform module does not support setting the retention period for the logs. Hence why this PR is failing.
Resolution: Closing the PR


doc and tools - need more git related doc

Need to document how to git the inventory + playbooks + custom, and link it to a gitea or something else.

Can cover that.
Please tell me once doc PR is draft ready.


Fix ConflictChecker for READ-APPEND after OPTIMIZE

Description

Allow read with newly added files with dataChange=false and removed files with dataChange=false by concurrent transactions.
dataChange=false files are created by OPTIMIZE operation, so the content should be same.
The following functions are to check both cases.

checkForAddedFilesThatShouldHaveBeenReadByCurrentTxn
checkForDeletedFilesAgainstCurrentTxnReadFiles

We can address the issue by

fix changedDataAddedFiles to check dataChange flag of AddFile
add changedDataRemovedFiles for RemoveFile

How was this patch tested?
Unit tests
Does this PR introduce any user-facing changes?
No, a bug fix when Optimize transaction is committed while concurrent Reads.

Can you elaborate on the issue? Which operation throws ConcurrentAppendException? Optimize or Append? And can give an example error and stacktrace? Also, can you explain the semantics of why this change is correct and maintain serializability?

Append operation throws ConcurrentAppendException.
io.delta.exceptions.ConcurrentAppendException: Files were added to partition [colC=1] by a concurrent update. Please try the operation again.
Conflicting commit: {"timestamp":1662599111087,"operation":"OPTIMIZE", ...

https://github.com/delta-io/delta/blob/2041c3b7138b9614529540613195d4afd39fde71/core/src/main/scala/org/apache/spark/sql/delta/ConflictChecker.scala#L177-L188
This change makes optimized files are not conflicting with read operation for Append operation.
This is the repro:
// session1 - performing OPTIMIZE
(1 to 10).foreach { i =>
  println(spark.sql(s"OPTIMIZE delta.`$dataPath`").collect.toSeq)
}

// session 2 - performing APPEND
(1 to 10).foreach { i =>

spark.read.format("delta").load(dataPath).limit(10).write.mode("append").format("delta").partitionBy("colC").save(dataPath)
}

@sezruby Thank you for the explanation, and the repro. So its a problem not with blind appends but read-then-append.
I have think about it, whether this change has other unintended consequence in other kind of workloads. Actually can you provide a logical argument why this change will not produce unintended consequence in other combination of operations .. like DELETE/UPDATE/MERGE + OPTIMIZE?

I found that there's still can be a conflict if concurrent transaction reads a RemoveFile from Optimize.
io.delta.exceptions.ConcurrentDeleteReadException: This transaction attempted to read one or more files that were deleted (for example colC=0/part-00000-cf1e16ab-27b2-4c9c-b5e1-bccfb0e79a58.c000.snappy.parquet in partition [colC=0]) by a concurrent update. Please try the operation again.
Conflicting commit: {"timestamp":1663052151972,"operation":"OPTIMIZE"
https://github.com/delta-io/delta/blob/d2785aa93e8f2f5c70a3351ddc4995e2c943897b/core/src/main/scala/org/apache/spark/sql/delta/ConflictChecker.scala#L226-L235
I think we can add changedDataRemovedFiles like changedDataAddedFiles and use it for the check function.
We could allow Read to the previous version before OPTIMIZE without any serialization issue if the transaction doesn't update the existing data. With the fix, we could support concurrent OPTIMZIE while performing append/insert only operations which utilizes existing data for appending new rows.
For other type of operation which may have RemoveFile (DELETE UPDATE MERGE OPTIMIZE), it will fail with the following check:
https://github.com/delta-io/delta/blob/d2785aa93e8f2f5c70a3351ddc4995e2c943897b/core/src/main/scala/org/apache/spark/sql/delta/ConflictChecker.scala#L250-L266

Wouldn't this PR https://github.com/delta-io/delta/pull/1262 help with this?

@scottsand-db Seems the PR allows to switch isolation level to WriteSerializable. Not sure any other changes will be delivered, but with the current code, the issue still exists:
https://github.com/delta-io/delta/blob/d2785aa93e8f2f5c70a3351ddc4995e2c943897b/core/src/main/scala/org/apache/spark/sql/delta/ConflictChecker.scala#L181-L188
it still checks changedDataAddedFiles with WriteSerializable.

@tdas RFR

Seems the PR fixes https://github.com/delta-io/delta/issues/326

@tdas I've taken a first pass. Can you also please take a look?

@sezruby Any news on this PR? We're running into this issue a lot, having a streaming job that writes to the same partition 24/7, and so we are having a hard time running OPTIMIZE on that partition.
Also, did you see https://github.com/delta-io/delta/pull/626 ?

@sezruby Any news on this PR? We're running into this issue a lot, having a streaming job that writes to the same partition 24/7, and so we are having a hard time running OPTIMIZE on that partition.
Also, did you see #626 ?

Hi, you can cherry-pick this PR to support OPTIMIZE - APPEND.
This PR contains 2 parts

changedAddedFiles in newly added file check

with this, APPEND operation would succeed, as newly added files by OPTIMIZE are "dataChange=false"

removedFiles check with readPredicates

master version only checks if there's newly removed files among only "readFiles" of the transaction
so, if there's newly deleted file after OPTIMIZE, it cannot be detected when APPEND  https://github.com/delta-io/delta/pull/1305#discussion_r986304404
To prevent this, I added the additional check using readPredicates, to see if there's other "newly removed files" in each read partition directory.
This may cause unnecessary conflicts between delete - append, I think that is very rare.

t0 txn0 APPEND: read file2 using data filter
t1 txn1 APPEND: add file1 - commit
t2 txn2 DELETE: file1 - commit
t3 txn0 APEND: commit => no conflict with master version, but with this PR, removed file1 can cause conflict

Thanks @sezruby !
Yeah I figured I can do that, but was hoping I could simplify my build by using an existing version artifact.
 Oh well...


Error in Decode -  Cannot decode EPC with header C3

Discussed in https://github.com/fulfilio/pyepc/discussions/9

Originally posted by mimansa-dev October  8, 2022
I am trying to decode a EPC but get an error "pyepc.exceptions.DecodingError: Cannot decode EPC with header C3"
from pyepc import decode
sgtin = decode('C310821E1A27B82D49F00003')

The traceback is as follows. Appreciate if someone could guide me.
Traceback (most recent call last):
  File "/opt/app/virtual/cinetopia/lib64/python3.6/site-packages/pyepc/epc.py", line 183, in decode
    header_class_map[header]
KeyError: 'C3'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/app/virtual/cinetopia/lib64/python3.6/site-packages/pyepc/epc.py", line 186, in decode
    "Cannot decode EPC with header {}".format(header)
pyepc.exceptions.DecodingError: Cannot decode EPC with header C3

```</div>

"C310821E1A27B82D49F00003" is not a valid GS1 EPC. Please check if your EPC decodes via https://www.gs1.org/services/epc-encoderdecoder, if it decodes, it should decode fine with Pyepc also.


Keepass integration (secure credentials)

since secure storage implementations for vscode are not planned at the moment (there are several closed tickets about this) and putting plaintext credentials in a config file (that could be synced as well) isn't that great:
what do you think about keypass integration? i already suggested this to the ABAP ADT Eclipse Extension plugin: https://github.com/fidley/ABAP-Project-Extensions/issues/4 - maybe this could also be interesting here?
short:
using https://github.com/pfn/keepasshttp/ (http API for local keypass) to query sap credentials from keypass secure storage

You write that it's supporting the os password safe. But in all readme's and wiki pages it's only described that the password field is mandatory. Could you please describe how the os password safe can be used? Thanks.

@redhawk07 Just leave the password to "" in the settings. You will be prompted for a password at first login, should be saved automatically and never asked until you reset it manually


Make v1 available on Window

Perform needed changes on windows.rs to release v1 on it.
Update release action:
https://github.com/jkfran/killport/blob/4997258c1f75825593ed640ca6d71a9852b5125d/.github/workflows/release.yml#L67

Literally came here to make this issue. Would love to have v1 available for windows

Happy to give it a look tomorrow at around 6pm NZST needed something to write so ill get onto it

Had a chance to give it some work tonight, draft PR is at #38 got it working and all. Just want to put some polish and final touches on it tomorrow and should be good to go
Only made slight modifications to the mac and linux version (Had to untangle some of the unix specific code thats made it's way into the platform neutral files)


Should Tree use OnPush?

Right now, CdkTree explicitly marks itself as ChangeDetectionStrategy.Default:
https://github.com/angular/components/blob/513832845403e88712e0d9f69ca68f3928cb6821/src/cdk/tree/tree.ts#L65-L69
I suspect the rationale here is no longer may no longer be accurate. My understanding is that, under Ivy, change detection happens at both the declaration point (the end-developer's component) and the insertion point (the cdkTreeNodeOutlet inside the CdkTree template).
We should determine whether we should change the tree back to OnPush.

This was actually made specifically for Ivy, because of the different behavior for transplanted views.


TypeError: this.createTimeout is not a function

work on dev, not work on prod, i think the promblem is p-tetry: https://github.com/tim-kos/node-retry/issues/83

https://github.com/tim-kos/node-retry/pull/85
this is work for me

What environment/setup are you using? Would love to be able to repro and fix this!

@jacoblee93
parcel build with ts

i slove this problem with my repo which is frok: https://github.com/leason-wan/node-retry-l

@jacoblee93 parcel build with ts

i need run in chrome extensions


Add MAINTAINERS/OWNERS

Can you list the maintainers/owners of the project?

Hi @caniszczyk,
Our contribution model varies by repo (e.g., some folks with push access to the CLI must submit PRs to the specification or lifecycle), but the list of project owners is:

Stephen Levine, Pivotal, @sclevine
Ben Hale, Pivotal, @nebhale
Terence Lee, Salesforce, @hone
Joe Kutner, Salesforce, @jkutner

I'll add this list to an OWNERS file in this repo shortly.

https://github.com/buildpack/spec/blob/master/OWNERS


Fixes userinfo using Bearer token

While trying to integrate Lemur authentication with our OpenIDC provider (in this case Keycloak https://www.keycloak.org/) I found out that the userinfo endpoint expects the authorization token to be passed as an Authorization: Bearer [token]header which seem to be reasonable/more standard.
Using the Ping provider and adding this patch we can use that Keycloak seamesly.

Coverage remained the same at 60.841% when pulling a8992fcdad748ebb7fb7b148a09f1832058927ac on jplana:fix_userinfo_authorization into 2497f3fd4eb3ca95519debca3b66f4daa415b1bb on Netflix:master.


[Bug] Invalid text directives behavior in IE11

Here's simple demo of combining al-repeat with text directive in style attr.
http://plnkr.co/edit/Zlbd1OXxFQgz5xcDw9U2
Google Chome 42.0.2311.152 m

Internet Explorer 11.0.10011.0

IE11 removes style attributes before Angular Light starts. AngularJS has the same problem link link2, and Polymerjs and other.
It means you need use al-style or something like this. example

Thanks. I think it's useful.


I have issue in customhost ssl handshake in cloudflare

Proposed changes
https://developers.cloudflare.com/
Subject Matter
Issue in cloudflare ,i  have issue in ssl handshake
Content Location
i host a saas project in cloudflare,one of my user have issue to connect with my custom domain of my site.He get a domain from namecheap.He correctly configure the CName and TxT records.but he have issue in ssl handshake .its still Certificate status : pending validation,Hostname status: active.
Additional information
No response

Howdy @Bharathims29, you should move a question like this to another ]support forum](https://developers.cloudflare.com/support/contacting-cloudflare-support/#methods-of-contacting-cloudflare-support) (we're a docs repo and can't help with product troubleshooting).


Use different action for publishing release

This PR replaces the actions-rs/cargo stuff with https://github.com/nash-io/cargo-release-action
This is due to an issue where you can't seem to call release directly
https://github.com/actions-rs/cargo/issues/215

This is due to an issue where you can't seem to call release

FYI cargo release is not apart of the main Cargo repo and needs to be installed with cargo install cargo-release
https://github.com/crate-ci/cargo-release


Explicitly start and stop validator level db

Motivation
The database connecting should be managed as a part of the validator lifecycle.
Description
Starts database in validator handler and adds stop callback on graceful shutdown.

:tada: This PR is included in v1.6.0 :tada:


The Close and Auto Hide buttons are not scaled in 4K screen with 200% DPI

It looks like the images are not scaled and they look very small when DPI scaling is set.
Here is how they look:

I've tried to play with the "enableHighDpi" patch, but it didn't help.
I'm using:

4K monitor (3840*2160)
200% DPI scaling
DockPanelSuite.ThemeVS2005 (V 3.1.0) is used
DockPanelSuite (V 3.1.0)

This is because the actual code to generate such images on the fly was not written with HDPI in mind.
You might modify the code to adapt to the needs and send back a pull request if you like.

Apparently the way this works is there is a bitmap somewhere in that gzipped resource somehow. In VS2012 theme, there is an ImageService with those https://github.com/dockpanelsuite/dockpanelsuite/blob/master/WinFormsUI/ThemeVS2012/ImageService.cs . Apparently the 2015 theme uses it too. There it uses ImageServiceHelper.GetImage, if there is some way to pass the scale to it, at least it could resize the bitmap. It would be nice if there was some way to edit the resources and add some variants of the images for bigger resolutions too.


Intl.NumberFormat causes Objects are not valid as a React child

I followed the example to implement Intl.NumberFormat as async call but..
https://github.com/taggon/react-native-intl/blob/master/Examples/Hello/index.android.js
There is a problem to render in a ListItem of react-native-elements or wherever else... ListView.. because the element in a list invokes this async method always like this:
parse-times.js
const formatNumber = async (number, hasSymbol) => {
    const symbol = (hasSymbol) ? numberOpts : {}

    return await new Intl.NumberFormat(parseLocaleUser, symbol).format(number)
}

list-data.js
async formatNumber(number) {
    const formattedNumber = await parseTimes.formatNumber(number, true)
    console.log('========== parse number: ', formattedNumber)
    return formattedNumber
}

..

<Card
    title={"Results for this tags: #motorboat, #ride, #boat"}
>
    { services.map((s, i) => {
        const formattedNumber = this.formatNumber(s.price)

        return (
            <ListItem
                key={i}
                leftIcon={{
                    name: 'circle-o',
                    type: 'font-awesome',
                    style: { color: 'gray' },
                }}
                title={
                    <Text style={styles.medium}>{ s.name }</Text>
                }
                subtitle={
                    <View style={styles.row}>
                        <View style={styles.column}>
                            <Text style={{ color: 'steelblue' }}>
                                { this.showAnothers(s) }
                            </Text>
                        </View>
                    </View>
                }
                badge={{
                    value: formattedNumber,
                    textStyle: { color: 'orange' },
                    containerStyle: { marginTop: 30 },
                }}
                onPress={() => this.goToDetails(s)}
            />
        )
    })}
</Card>

I don't know why this returned a promise also.

Yes, you cannot use async methods from a render function.
And even if it wasn't a render function...you're calling your async method without using await, which is going to give you a Promise as a return value...

hmm thank you @mikelambert for answer me!
So.. I don't know how to solve this, because I need to show this value there.

Well, I solved this with Async component from react-promise.
https://github.com/capaj/react-promise
Thank you @mikelambert !!


Feature: Store Increments

It must be possible to store increments i.e. integers for a name i.e. channel.
Example requests:
Channel = 'Web Visitors', Increment = 1
Channel = 'Web Visitors', Increment = 1
Channel = 'Web Crawler', Increment = 1000
Channel = 'Web Visitors', Increment = 3
Channel = 'Web Crawler', Increment = 25
...

The summary would be the sum for each channel.


feat: getLogs cheatcode

Motivation
Right now there is a getRecordedLogs() cheatcode that allows users to call vm.recordLogs() and retrieve subsequent emitted logs for post-processing or other use-cases.
However, there is no way for users to retrieve logs that are emitted outside of the recordLogs() context.
A lot developers use one-off Typescript and Go scripts to retrieve logs and then conditionally call other Solidity functions with them. This requires significant duplication of existing Solidity logic in other languages. If these scripts could be replaced with Forge scripts that are able to interact with existing Solidity logic, it would simplify off-chain workflows significantly. The ability to retrieve logs in a similar manner to the getLogs RPC within a Forge script is the main blocker to using Forge scripts for these sorts of tasks.
Solution
Create a new cheatcode getLogs(uint256 fromBlock, uint256 toBlock, address filterAddress, bytes32[] memory topics) with the same arguments as the eth_getLogs RPC.
If there is an active fork, use the fork_url to query the getLogs RPC and return the result as a vm.Logs[] object. If there is no active fork, then throw an error.

This PR basically adds a new vm.getLogs cheat which is just a way to call the eth_getLogs RPC method natively inside a test/script, without vm.ffi, which is great and definitely valuable
The ability to call RPC methods from tests/scripts has been a request for a long time, often to allow configuring anvil into a specified state from a forge script. So before merging a one-off cheat for this method I think it's worth framing this more broadly around "how to call RPC methods from script/tests".  I see three options:

Native cheats for each RPC method. Downside here is that this ends up adding a lot of cheats, and you need bespoke cheats for each chain.

With this approach, we may want to rename this to vm.eth_getLogs to match the RPC method—we should think about the naming convention otherwise we pollute the cheatcode namespace with lots of RPC cheats that aren't easily identifiable as "aliases for RPC calls", since that's not immediately clear from vm.getLogs

A single vm.rpc(string memory name, bytes memory args) returns (bytes memory returnData) cheat that takes the method name and ABI-encoded args, which are decoded and sent to the RPC. The return data is ABI-encoded and can be decoded in solidity. This scales nicely for arbitrary RPC calls on any chain
A hybrid approach where common/standardized methods have dedicated cheats and we have the vm.rpc escape hatch for the rest

I lean towards 2 or 3, and also lean towards just matching the full RPC method name for clarity. Interested to hear other thoughts on this

I lean towards 2 or 3, and also lean towards just matching the full RPC method name for clarity. Interested to hear other thoughts on this

I also strongly support matching the full RPC method name, that's a great suggestion. We can also name the return type as EthGetLogsResponse[] (or I'm open to other naming suggestions/conventions here since that name is a bit verbose) because the standard Foundry vm.Logs only has a subset of values returned by the RPC and I've found all the returned values to be useful at some point or another.
Between approaches 2 and 3, I lean towards 3 because I think there are strong benefits for type-safety for the most common RPC calls, but the vm.rpc escape hatch seems nice for all the rest.

I also strongly support matching the full RPC method name, that's a great suggestion. We can also name the return type as EthGetLogsResponse[] (or I'm open to other naming suggestions/conventions here since that name is a bit verbose) because the standard Foundry vm.Logs only has a subset of values returned by the RPC and I've found all the returned values to be useful at some point or another.
Between approaches 2 and 3, I lean towards 3 because I think there are strong benefits for type-safety for the most common RPC calls, but the vm.rpc escape hatch seems nice for all the rest.

Great, I'm on board with all of this, as long as @mattsse / @Evalir also agree. Then the one nit we'll have to standardize is the naming conventions:

vm.eth_getLogs vs. vm.ethGetLogs
EthGetLogsResponse[] vs. Eth_GetLogs_Response[] vs. EthGetLogs_Response[], arguably even EthGetLogs[] works

My weakly held opinion here is vm.eth_getLogs() (to identically match the RPC name and make it clear this is an RPC query), and EthGetLogs[] but I can be convinced of other naming styles

If we're all on board with the following, can start working on implementing this!

Cheatcode named: vm.eth_getLogs()
Response: EthGetLogs[]
General RPC cheatcode "escape hatch": vm.rpc(string memory name, bytes memory args) returns (bytes memory returnData)

I'm onboard with the naming—while i think eth_getLogs definitely breaks the pattern we've had so far, it's good to mirror the actual rpc naming. Let's do it

whoops @puma314 sorry—marked this as RFR even though youre still cleaning up. Feel free to ping me when you want another review round!

@Evalir ready for another round of review! Addressed all of your existing comments for getLogs and also made .rpc(...) work with a simple test case.

Sweet! Do you think you can resolve the conflicts? @puma314

Just fixed @Evalir!

Thank you so much @Evalir!! Sorry the last few weeks got a little busy so I didn't have time to finish this up. Awesome that this is finally merged in, I'm excited to use it :D


DOCS/CASMNET-1534 - Improve linking of CSM install and upgrade to information mgmt. net and bi-can docs

Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?

Improve linking of CSM install and upgrade to information mgmt. net and bi-can docs
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?

Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.
CASMNET-1534
Testing
List the environments in which these changes were tested.
Tested on:
docs
Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)?
Were continuous integration tests run? If not, why?
Was upgrade tested? If not, why?
Was downgrade tested? If not, why?
Were new tests (or test issues/Jiras) created for this change?

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[ ] Copyrights updated
[x] License file intact
[x] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Since they can get buried in the resolved ones, here are the outstanding comments I see remaining:
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r879157126
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r879188313
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r899496167
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r899545330
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r899545642
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r899546540
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r899548235
https://github.com/Cray-HPE/docs-csm/pull/1671#discussion_r899562324

/backport main


Implementation of an oscillating velocity boundary condition

Hi Darshan,
the next step is the implementation of an oscillating velocity boundary condition for the cylinder surface. The velocity is a vector field. At the cylinder surface, the velocity vector in this 2D scenario can be represented as the sum of two vectors: one normal and one tangential to the surface. The normal component should be zero, and the tangential component is set to a value that is constant over the entire patch but variable in time. In mathematical terms, the velocity value at the boundary should be set to

where A is the amplitude, f is the frequency, and $e_\tau$ is a vector tangential to the surface of unit length. We should be able to implement this boundary condition using expression-based boundary conditions. You find a detailed description following this link.
A small parameter study varying f and A should allow to find a configuration that leads to reduced drag.
Best, Andre

Here is a literature resources which might be helpful as a reference: rotary oscillation control of a cylinder wake

Respected Sir,
Hello Andre, i have pushed the file containing the expression based velocity field in setExprFields. Please check it and let me know weather i am converging into right direction. :)
Thank you.
Best Regards,
Darshan Thummar.

For test case i have used following expression:
.
Where , A = 1 (amplitude)
f = 0.6 (frequency)
t = actual time
 = fixed velocity for specific time.

Hi Darshan,
some hints that may help you to move on:

velocity is a vector-field; in the boundary condition, you have to provide the components of the velocity vector as (U_x, U_y, U_z); the velocity's magnitude varies in time but not in space; therefore we can write it as A(t) e_\tau(x), with A being the magnitude (a scalar quantity) and e_\tau being the unit vector tangential to the cylinder surface (a vectorial quantity)
the boundary condition must be adjusted at every timestep; so you cannot use setExprBoundaryFields; the expression has to be placed in the definition of the boundary condition like here
the tangential unit vector you can compute, e.g, as the cross product between the face normal vector and a vector normal to the 2D simulation domain (in  our case the latter would be e.g. (0 0 1) or (0 0 -1)); check the documentation to learn how to access the face normal vector (it is a mesh property)
the current simulation time can be accessed via the time() function (also in the documentation)

Let me know if you need further help ;-)
Best, Andre

Respected Sir,
Thank you very much for your comments. I have pushed some changes in boundary condition in U file. Please check it and let me know weather approach is correct.
Thank you.
Best Regards,
Darshan Thummar

Hi Darshan,
nice job. A couple of small corrections and hints:

face() returns the face area normal vector, a vector normal to the face with its magnitude being the surface area; you need a face normal vector of unit length, so you have to normalize the vector with its magnitude, which is equivalent to dividing by area()
if you modify the base case, you won't be able to reproduce previous results; I suggest creating a new simulation case (there might be other adjustments than just the surface velocity)
you can remove the setExprField entry from Allrun
the indentation in U could be improved ;-)

Here is a working code snippet based on your start:
cylinder
{
    type       exprFixedValue;
    value     $internalField;
    amplitude               1.0;
    frequency               6.0;
    valueExpr  "(vector(0, 0, 1) ^ face())/area() * $amplitude * sin (2 * pi() * $frequency * time())";
}

You can visualize the surface velocity field using glyphs to verify that everything is working fine.
Best, Andre

Respected Sir,
Thank you very much for your guidance. I have staged the changes that you mentioned.
I am confuse to set the value of amplitude. In the this document amplitude is basically Ω and the case study was performed at Re=1.5+e4. In the document the minima(minimum effect in wake) of Ω lies around 1 with respective value of Sf = 3 while in our case Re=100 and i am confused as we should use the minima suggested by document or we have to calculate minima implicitly.
Thank you.
Best Regards,
Darshan Thummar

Hi Darshan,
since our setting is rather simple, we have the luxury of being able to conduct parameter studies rather quickly. So, to answer your question, the next step will be to visualize how the drag changes depending on the amplitude and the frequency. I'll open a new issue for that matter.
Best, Andre


downloading VIM

does anyone know how to resolve this issue? im using a ryzen software and idk if that is the problem. send help pls :(

You probably need to enable virtualisation in your BIOS.

i followed the steps to enable visualisation alr but i am still unable to run Ubuntu :(

Hmmm I'm not too sure about that... Maybe you can see it this helps:
https://askubuntu.com/questions/1264102/wsl-2-wont-run-ubuntu-error-0x80370102


Update cats-effect to 2.5.0

Updates org.typelevel:cats-effect from 2.3.3 to 2.5.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

github:typelevel/cats-effect/v2_4_0?sha=v2.4.0

Documentation:

https://github.com/typelevel/cats-effect/blob/v2.4.0/scalafix/README.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-minor, scalafix-migrations

Codecov Report

Merging #198 (a4e90b7) into master (0fec237) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #198   +/-   ##
=======================================
  Coverage   97.04%   97.04%
=======================================
  Files          34       34
  Lines         169      169
  Branches        1        1
=======================================
  Hits          164      164
  Misses          5        5

Flag
Coverage Δ

unittests
97.04% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...s/src/main/scala/io/fmq/pattern/RequestReply.scala
100.00% <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 0fec237...a4e90b7. Read the comment docs.


Fix M2A support

Doesn't properly handle M2A relationships atm.

Closed by https://github.com/bryantgillespie/directus-sdk-typegen/commit/29243495439ac324471b32c9738fbaabc897a4cb


PP-5715 Switch to structured logging

Bump Winston to v3
Log in JSON format, including the standard keys included for all log lines
Also up the node version to v8.12.0 so that Husky will allow me to commit. Was getting the error:
lint-staged requires at least version 8.12.0 of Node, please upgrade

Snyk is complaining about a dependency of Nunjucks:
Vulnerable module: mixin-deep
Introduced through<EMAIL_ADDRESS>
And says the remediation is upgrading to v3.2.0, which is what we're on 🤔
This is only a dev dependency though... @jonheslop any thoughts?

Hmm me running npm install has downgraded mixin-deep from 1.3.2 to 1.3.1, any idea why it would do that @jonheslop ?

@danworth Snyk is now happy

Ah but now the build is failing :( stupid npm