Type 'string' is not assignable to type '"col1" Typescript error TS2322

Describe the bug (required)
Type 'string' is not assignable to type '"col1"
Provide an example via Codesandbox! (required)
I tried to produce a typescript react-table example without luck. i am really sorry
Steps To Reproduce (required)
`    const data = React.useMemo(
        () => [
            {
                col1: 'Value 1',
            },
        ],
        []
    );

const columns = React.useMemo(
    () => [{
        Header: 'what',
        accessor: 'col1',
    }
    ],
    []
);

const {
    getTableProps,
    getTableBodyProps,
    headerGroups,
    rows,
    prepareRow,
} = useTable( {
    columns,
    data,
} )`

Expected behavior (Recommended)
No typescript error
Screenshots

Desktop (please complete the following information):

OS: Linux Mint
Browser Chrome
Version react-table 7.6.2
"@types/react-table": "^7.0.25",

I'm getting the same issue. Have made the file a jsx for now, to allow me to keep going. Will convert to tsx when this has been resolved.

I am getting the exact same issue and dropped in here to see if there is any potential solution to the problem. my StackOverflow question is here. My versions,

"react-table": "^7.6.2",
"@types/react-table": "^7.0.25",

@Paul6552 @processedbeets @ImranCodeBug
I am unsure how you arrived at that bug, i managed to repro this exact case, with no success with the bug:
https://codesandbox.io/s/long-moon-u7ls0?file=/src/App.tsx

Hmm, maybe the difference is they type safety.
Out of habit I typed the memoized columns you be of type Column<{col1: string}>[], that seems to be the only difference

@datner
Thanks for the example. Tomorrow i will have a look, at least tonight I can sleep :-D
There is a second difference as well:
function Table({ columns, data }: any)
You are declaring here colums and data as any. But tomorrow more. Thx gn8

I updated my example to remove the any 😉
Had it in the first place since the actual typing is a bit annoying

Well done man, thanks for that example. I can confirm that resolved things for me. Perhaps you might be able to add that to one of the examples in this repo as I think it'll help others too.
For clarification, the differences that assisted me between your example and the original were:

Adding a Data interface:
interface Data {  title: string;  captured: string;  priority: string;  area: string;  isService: string; }

Adding a TableProps interface:
interface TableProps<D extends object> { columns: Column<D>[]; data: D[]; }

Changing the first line of the Table component to specify the type of the props and use of generics:
function Table<D extends object>({ columns, data }: TableProps<D>) {

Finally, changing the columns object instantiation by passing in the type when using memo:
const columns = useMemo<Column<Data>[]>(

Thanks again @datner, saved me a lot of time! 👍

My pleasure 😄

I will leave this thread open for @tannerlinsley. Maybe he wants to include this in his table. Otherwise it can be closed.
Thanks

sorry for the very late reply.
@datner @processedbeets are you recommending we somehow override the definition of the table and use it to instantiate the react. any code example here will be hugely beneficial.

@ImranCodeBug there are code examples inlined and linked, please read the entire thread!

This worked for me:
interface IData {
    col1: string;
    col2: string;
}

const data = React.useMemo<IData[]>(
  () => [
    {
      col1: "Hello",
      col2: "World"
    },
    {
      col1: "react-table",
      col2: "rocks"
    },
    {
      col1: "whatever",
      col2: "you want"
    }
  ],
  []
);

const columns = React.useMemo<Column<IData>[]>(
  () => [
    {
      Header: "Column 1",
      accessor: "col1"
    },
    {
      Header: "Column 1",
      accessor: "col2"
    }
  ],
  []
);

const {
    getTableProps,
    getTableBodyProps,
    headerGroups,
    rows,
    prepareRow
  } = useTable({ columns, data });

// @ts-expect-error TS2322 😄
Thanks for tips everyone 👍


ci: setup GitHub Actions CI

This PR:

Replaces the current CircleCI helm lint workflow with a GitHub Actions Workflow
Adds a basic integration test to verify that the helm chart can be deployed successfully into a locally spun up kubernetes cluster.

GitHub action results look good. CircleCI results OK to ignore. :heavy_check_mark:


Add article to blog + document procedure on how to do so

[ ] Add article to blog section
[ ] Document procedure to create blog posts in readme

Attaching article in markdown format that explains brief history of text embedding and why now is a good time to use it. text_embedding_history_article.md


Split wallet new static

Description
I'm splitting cardano-sl-wallet-new in the top level default.nix. I can't use it as a dependency in its current form as justStaticExecutables throws away the library.
I've also pulled in @disassembler's changes ignoring dist and other local files. That's a separate commit and can easily be dropped if we'd prefer to wait for his original changes to reach develop.
Type of change

[x] 🐞 Bug fix (non-breaking change which fixes an issue)
[~] 🛠 New feature (non-breaking change which adds functionality)
[~] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[~] I have read the style guide document, and my code follows the code style of this project.
[~] If my code deals with exceptions, it follows the guidelines.
[~] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.

Testing checklist

[~] I have added tests to cover my changes.
[~] All new and existing tests passed.

QA Steps
I need some code review on where the new derivation cardano-sl-wallet-new-static should be used instead of cardano-sl-wallet-new
@adinapoli-iohk @disassembler @jmitchell @cleverca22 @k0001

@k0001, yeah it's not 100% clear to me which will want -static now and which won't so I took a best stab! I'm sure there will be ones I've missed @cleverca22 @disassembler

Superseded by #2936


add more info to barriers

Closes Gamify-IT/issues#323
Since I had several knots in my brain in between until I had considered every edge case, I don't want to hear about the method having 196 lines or that no one understands it, unless you have concrete suggestions on how to cover every case without writing so much code.
Not unlockable:

Unlock other Dungeon in same world first:

Play more Minigames in same World to unlock:

Play more Minigames in Dungeon in same World to unlock:

Play more Minigames in other World to unlock:

Play more Minigames in Dungeon in other World to unlock:

I have an idea not to write less code, but to improve the readability: Extract sub methods.

I have an idea not to write less code, but to improve the readability: Extract sub methods.

Ok right, I'll do that in a minute

Yes, although at each entrance is always which dungeon it is and they should search the dungeons yes.
I had also already thought about moving the text generation in an own manager, will probably still do that.

Is approved by @WuestFlorian, he has GitHub account issues


JSON debug output

For outbound and inbound requests if the debug logging mode is enabled (i.e. ADMIRAL_REPORTER_DEBUG environment variable), we additionally now also show outgoing JSON and received JSON.
Note: Not using HAR output due to a bug with request-capture-har that doesn't seem solvable yet. If that issue is solved in the future we can switch to a HAR output option.
/cc @archlichking @dstevensio

👍


[20.09] Backport #117473 (vscode: fix download link)

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Am I doing the backport correctly?

Am I doing the backport correctly?

No, please see https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#backporting-changes for details how to do it.

No, please see https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#backporting-changes for details how to do it.

Okay, I think it's correct now


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Since 5.12 the installer has changed to a exe instead of the msi which has the result installing the application under system\local app data instead of program files
Steps to reproduce
winget.exe list -e --id "Zoom.Zoom"
Actual behavior
Zoom application installed to system appdata folder
Expected behavior
Zoom should install under c:\program files\zoom
Environment
Windows: Windows.Desktop v10.0.22621.1992
System Architecture: X64

Winget Directories
------------------------------------------------------------------------------------------------------
Logs                               %TEMP%\WinGet\defaultState
User Settings                      %LOCALAPPDATA%\Microsoft\WinGet\Settings\defaultState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs
No response

Can you try to run winget install Zoom.Zoom -Scope Machine

Thank you that did solve the problem


Update Cypress to 7.6.0

4.11.0 was released on 2020-07-21
7.6.0 was released on 2021-06-23
changelog
Updating :)

(
Originally, the problem we've hit seemed to point at https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js/46012210#46012210...
react 16 changes the way how change is triggered on inputs,
manually it can be done via
// company is the actual input element

var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set;
nativeInputValueSetter.call(company, 'magicFxoo')

var ev2 = new Event('input', { bubbles: true });
company.dispatchEvent(ev2);

except this is fixed in https://github.com/cypress-io/cypress/commit/4a56ca83b3b6e19ec57d10a8160f54f513e8f8ec
which is already in 4.11
Still, makes sense to upgrade anyway.
)

(Closing and reopening, to see if the issue from the first commit reappears or not.)


Is there a way to change the border and opacity of points?

Hi,
Is there a easy way to disable/change the default black border of the points ? Also having an option to set the opacity of the points would be nice. if these are complicated to implement, can you  direct me the right places of the code so that I can make a hard coded changes for my own use ?
Thanks !

There is way to do this for now, and we are a bit weary of adding too many customization options, since they take space in the UI and take maintenance resources.
If you want to do the changes on your own instance of chemiscope, the code passing these settings to plotly is here for the main trace
https://github.com/cosmo-epfl/chemiscope/blob/9ec79b6c604f02be30afb467a0d7da734d761ea0/src/map/map.ts#L591-L597
and here for the selected points in 3D mode:
https://github.com/cosmo-epfl/chemiscope/blob/9ec79b6c604f02be30afb467a0d7da734d761ea0/src/map/map.ts#L621-L625
We are exploring opacity customization from properties in #113.

Thanks a lot :-).


[Bug] v5.1.3 dleger  The master slave message is not synchronized

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
centos7.9
RocketMQ version
v5.1.3
JDK Version
java -version
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (build 25.372-b07, mixed mode)
Describe the Bug
After the topic created in dledger mode successfully sends messages, the slave node status is not synchronized with that of the master
Steps to Reproduce

What Did You Expect to See?
The slave node is supposed to synchronize several messages from the master
What Did You See Instead?
Same as the primary node
Additional Context
No response

This issue might occur when dleger synchronizes, and the data written by the slave does not go through metrics statistics. In fact, replication is successful. You can confirm this by checking the commitlog size on the broker machine.

当 dleger 同步并且从站写入的数据不经过指标统计时，可能会出现此问题。事实上，复制是成功的。您可以通过检查代理机器上的提交日志大小来确认这一点。

v5.1.4 : In master-slave mode, the dashboard is still showing zero. Do you want to update dashboad or

+1. the same problem in verison5.2.0


Script crashes when on drawing LineString from existing coordinates

Describe the bug
Hello.
I try to draw a line that has only origin and destination. So I set the maxPoints : 2 (for options of the Draw class).
But when I try to draw a line based on existing coordinates, I get the error ERROR TypeError: Cannot read properties of null (reading 'getGeometry').
ERROR TypeError: Cannot read properties of null (reading 'getGeometry')
at Draw.modifyDrawing_ (Draw.js:1522:42)
at Draw.appendCoordinates (Draw.js:1787:10)
To Reproduce
Steps to reproduce the behavior:

Go to this example https://codesandbox.io/p/sandbox/draw-and-modify-features-cxz3dk?file=%2Fmain.js
Replace the addInteractions function by the code below:

function addInteractions() {
draw = new Draw({
source: source,
type: typeSelect.value,
maxPoints: 2,
});
map.addInteraction(draw);
snap = new Snap({source: source});
map.addInteraction(snap);
draw.appendCoordinates([
[
-12526802.69811565,
5223970.689581122
],
[
-10985575.684457522,
5247452.234244971
]
])
}

Select Geometry type - LineString
Open the browser console and observe errors.

Expected behavior
Script shouldn't crash

You don‘t have a geometry yet to append to, right? This is why you get an error.

Sorry, I didn't understand your thoughts. I need to restore a line from existing coordinates with possibility to modufy the points. I create a new Draw and use it's method appendCoordinates. The Modify model doesn't have any methods to set points outside.

How can I use the extent for my purposes? Is there any example?

Try this:
    const feature = new Feature(
      new LineString([
        [-12526802.69811565, 5223970.689581122],
        [-10985575.684457522, 5247452.234244971],
      ]),
    );
    source.addFeature(feature);
    draw.extend(feature);

Yes, this workaround works.
But would be great to change the behavior of the Draw class. So if we have already created Draw class with type: LineString and maxPoints e.g. 2 , and we call appendCoordinates method of the class, it should automaticaly create the Feature of LineString.
Anyway thank you for your help!

@moduld I don't understand what you'd expect: when you have a Draw interaction with maxPoints: 2 and want to appendCoordinates() with 2 points. you're already done drawing. Why use a Draw interaction for that in the first place?

I expect it becase currently the 'drawend' event fires only when the maxPoints is set. So I supposed that there is a comparison logic that compares existing coordinates length with the maxPoints and if the values are equals - creates the LineString and adds it to the source.
Also I it's enough to add only the Feature of LineString to the source to make it work. No need to extend the Draw.

I created #15371 to fix this issue.
@moduld Still not sure what you're trying to achieve, but the use case you're describing sounds like you'd be better off just creating a feature and adding it to the source, without a Draw interaction involved:
const feature = new Feature(
      new LineString([
        [-12526802.69811565, 5223970.689581122],
        [-10985575.684457522, 5247452.234244971],
      ]),
    );
    source.addFeature(feature);


PHP 8.1 deprecation messages

PHP Deprecated:  Return type of Highlight\RegExMatch::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/Highlight/RegExMatch.php on line 70

PHP Deprecated:  Return type of Highlight\RegExMatch::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/Highlight/RegExMatch.php on line 78

PHP Deprecated:  Return type of Highlight\RegExMatch::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/Highlight/RegExMatch.php on line 86

PHP Deprecated:  Return type of Highlight\RegExMatch::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/Highlight/RegExMatch.php on line 94

PHP Deprecated:  Return type of Highlight\RegExMatch::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/Highlight/RegExMatch.php on line 104

PHP Deprecated:  Return type of Highlight\RegExMatch::getIterator

Ah, this has been fixed already in https://github.com/scrivo/highlight.php/commit/1791d2d1a33d8b73d998770c4f1855a6f3f4a32b

Oops, my bad! I've tagged v<IP_ADDRESS> with this patch included.


Filter results based on parent element name

Awesome function! I'm having trouble getting my JSONPath query to work.
The data source is: https://www.alphavantage.co/query?function=TIME_SERIES_MONTHLY_ADJUSTED&symbol=IBM&apikey=demo
I'm trying to get all the of the "7. Dividend Amount" values by year. eg something like this:
=ImportJSONAPI("https://www.alphavantage.co/query?function=TIME_SERIES_MONTHLY_ADJUSTED&symbol=IBM&apikey=demo", "$[Monthly Adjusted Time Series].2019*.[7. dividend amount]", "@")
I can get all the Dividend Amounts with this:
=ImportJSONAPI("https://www.alphavantage.co/query?function=TIME_SERIES_MONTHLY_ADJUSTED&symbol=IBM&apikey=demo", "$[Monthly Adjusted Time Series].*.[7. dividend amount]", "@")
or an individual month also works:
=ImportJSONAPI("https://www.alphavantage.co/query?function=TIME_SERIES_MONTHLY_ADJUSTED&symbol=IBM&apikey=demo", "$[Monthly Adjusted Time Series].2021-02-26.[7. dividend amount]", "@")
But anytime I try to use a query to filter the date, it comes back empty. Thanks in advance for any input you have!

To match only part of a property name you need to use the match function. Hopefully this should work for you:
=ImportJSONAPI("https://www.alphavantage.co/query?function=TIME_SERIES_MONTHLY_ADJUSTED&symbol=IBM&apikey=demo", "$[Monthly Adjusted Time Series][?(@property.match(/2019/))].[7. dividend amount]", "^~, @")

Aha! Thank you so much!


Further tune libtcmu

This is one of the last TODO items from #498 which replaces cmdstate and done in tcmulib_cmd struct with a hm_private pointer. This patchset doesn't touch the access to tcmulib_cmd with helper functions part.

Fixed issues above. Please review. @lxbsz @mikechristie

Hey baihuahua,
Maybe to make the handler's cmd allocation easier we could do the following or something like it.

Add a new field, hm_cmd_size, to struct tcmulib_handler.
tcmulib_get_next_command willl allocate hm_cmd_size bytes with the tcmulib_cmd and then set the tcmulib_cmd->hm_private pointer.
tcmulib_command_complete will then free the hm_cmd_size bytes along with the tcmulib_cmd.

The handler/daemons then do not have to worry about it.

One change to the above comment.
We can make it a little easier and just have the caller pass in the cmd_size to tcmulib_get_next_command. No need for tcmulib_handler changes.

Great! This would be more easier for tcmulib_cmd allocation/free. I'll repush this PR.

I ended up implementing what is needed here
https://github.com/open-iscsi/tcmu-runner/pull/568
Closing this PR.


Working with unions

I'm fine playing around with structs, but when I add the following to the thrift file:
union Identity {
  1: string email;
  2: string ssn;
}

I can't instantiate the Identity union. It feels like I should be able to use:
(thrift/->thrift (map->Identity {:ssn "21582"}))

but this throws the error "Not an optional field: email"
Does the library currently support unions? If so, I'd be happy to add documentation to the readme.

I have to look into it again, but IIRC it was hard to distinguish between unions and structs via reflection (which thrift-clj relies on), since they are using the same type ID.
But yes, this was on the initial road map, I just never got around to it. That said, contributions are welcome. :)


[Issue] CompareExchangeHashes.ps1 loading multiple baselines

CompareExchangeHashes.ps1 version <IP_ADDRESS>7 in release v<IP_ADDRESS>2
Looks like it's loading multiple baselines even though 15.1.2176.2 is detected
[03/09/2021 20:59:15] Started...
Found exchange version: 15.1.2176.2
Loaded baseline for 15.1.2044.8, hashes number 15237
Loaded baseline for 15.1.2044.12, hashes number 15237
Loaded baseline for 15.1.2044.4, hashes number 15175
Loaded baseline for 15.1.2176.9, hashes number 15237
Loaded baseline for 15.1.1531.3, hashes number 14653
Loaded baseline for 15.1.2176.2, hashes number 15237
Loaded baseline for 15.1.1979.3, hashes number 15174
BaselineData - 15.1.2044.8 15.1.2044.12 15.1.2044.4 15.1.2176.9 15.1.1531.3 15.1.2176.2 15.1.1979.3 15.1.2176.2
Processing 3 directories in parallel

This leads to .csv export with thousands of lines of NoHashMatch since it's comparing to multiple incorrect baselines

My results from <IP_ADDRESS>6 returned a result .csv with 13798 lines. I do see that the same files are in the results multiple times with different VDirs as you mentioned.
I picked a random file from the results and tried to compare it's hash to the baselines downloaded and it was unable to match.
https://i.imgur.com/7E5JYC8.png
I notice there is a new column with "FileHash". Is this supposed to be the hash of the installed file or from the baseline? Because all the lines in the results file share the same 3 hashes or have no hash in that field.
https://i.imgur.com/I8JiCOq.png
If you want I can close this issue since multiple baselines are expected and the multiple lines issue seems to be a dupe of #170

My results from <IP_ADDRESS>6 returned a result .csv with 13798 lines. I do see that the same files are in the results multiple times with different VDirs as you mentioned.
I picked a random file from the results and tried to compare it's hash to the baselines downloaded and it was unable to match.
https://i.imgur.com/7E5JYC8.png
I notice there is a new column with "FileHash". Is this supposed to be the hash of the installed file or from the baseline? Because all the lines in the results file share the same 3 hashes or have no hash in that field.
https://i.imgur.com/I8JiCOq.png
If you want I can close this issue since multiple baselines are expected and the multiple lines issue seems to be a dupe of #170

yes, it is, should be fixed in https://github.com/microsoft/CSS-Exchange/pull/252/files#diff-e7dece358b7dc77ad2f040a75fe2a65948bf8a4337df51cb643025bf81fe16f3R602

we also need 15.1.1531.10 in VALID_VERSIONS

Created a single task for tracking all missing baselines, please follow: https://github.com/microsoft/CSS-Exchange/issues/313


Cast relative path to absolute path

I have the use-case to invoke robo with a relative path. The relativ path passes the first check in :: loadRoboFile, not sue why it did not work for the second file_exists check.

Makes sense. Thank you


[Bug] When Menu Is Open Fix Scrollable Background

Fixes Issue
Closes #462

Changes proposed
Add overflow hidden when menu is open so the bg will not be Scrollable

Screenshots
https://github.com/thecyberworld/TheCyberHUB/assets/76536506/b5845d3c-6530-4f60-ade3-0bb3562ef4b2

Note to reviewers

Code of Conduct

[X] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[X] All new and existing tests passed.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

@kabir0x23


Metadata input

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/magmap branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

"All checks have failed" -- I've never seen that before! ;-) Good that we can bypass branch protection!


Database connection for Plan Widget is overly complicated and unnecessary.

The content is no longer customized via a CMS in this fork, yet updating the plan widget is next to impossible for a user with only basic knowledge of HTML

@arena apologies. I missed this as I was working from issues in Trello. I brought back the db-based plans & admin plan setup which was given the OK from Jerry and is now merged.

The widget looks so much better now!! Yay!!!


The example query for routing leaf messages is incorrect

The example in the "Declare routes" to route messages from leaf devices is incorrect.
Incorrect
FROM /messages/* WHERE NOT IS_DEFINED($connectionModuleId) INTO $upstream
Correct
FROM /messages/* WHERE NOT IS_DEFINED({$ConnectionModuleId}) INTO $upstream
The instructions for using system properties states:

System properties: $<propertyName> or {$<propertyName>}

but I have found the first format with the $ prefix does not work and the property must be enclosed with {} in addition to the $

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

ID: ad3731a8-f0df-f1a1-d1a1-e89a769a0908
Version Independent ID: 50a5190e-eafa-7dde-c18f-be9505b00a0a
Content: Declare modules and routes with deployment manifests - Azure IoT Edge
Content Source: articles/iot-edge/module-composition.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@mill5james Thank you for pointing that out . We will have this reviewed and updated as required.

Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@mill5james I'm surprised to see this issue because I have seen both versions working successfully. It's also not just relevant to this code sample, but would mean that something has changed in the IoT Hub message routing query language.
What method are you using to deploy? The Azure portal, Visual Studio/Visual Studio Code, CLI, etc? Perhaps some tool you're using needs the curly brackets in order to escape the $ character.

we use a deployment.json from azure cli and VS Code

Very strange. I don't think this means that system properties must always have curly brackets, but that there are some scenarios in which curly brackets are needed. I'll change the code sample to cover those corner cases, but will keep the system property syntax explanation as-is. Does that work for you?

Sure. This just caused issues where we literally cut-and-pasted from the documentation into the deployment.json and it did not work. It took a second reading with some trial and error to get the routing working. But then again, my team is doing identity translation on the edge and there is no documentation for that anywhere. :)

Yes, the product group is still working on the identity translation pattern. You can cast your vote on the feedback site to have this feature prioritized: https://feedback.azure.com/forums/907045-azure-iot-edge/suggestions/32497981-code-sample-for-identity-translation-pattern
For the query example, I will create the pull request now and automatically close this issue when the update gets merged. Thanks for providing your feedback.

Not to say there are never any edge cases where curly brackets are required, but I think the issue in this example is casing, rather than brackets.
Working:
FROM /messages/* WHERE NOT IS_DEFINED($ConnectionModuleId) INTO $upstream
Not working:
FROM /messages/* WHERE NOT IS_DEFINED($connectionModuleId) INTO $upstream

Thanks for adding that info, @betsy-c. I'm also adding @varunpuranik for visibility and will hold off on updating the article until we all come to a consensus.

@mill5james Did you have a chance to test whether the difference in your two code samples was the capitalization of the parameter, rather than the use of brackets?

@mill5james Have you had a chance to see the above response? Please update if that helps.

Feel free to close it. I have two people that sear it didn't work but now it does.
meh.


Fix code block token count

This PR fixes wrong token count in code block reported at #150.

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

Comparison is base (2acd3cd) 90.64% compared to head (4f3b869) 90.75%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   90.64%   90.75%   +0.10%
==========================================
  Files          11       11
  Lines        2373     2400      +27
  Branches     2373     2400      +27
==========================================
+ Hits         2151     2178      +27
  Misses        159      159
  Partials       63       63

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

@kdarkhan Thank you for your review. I've fixed the comment and max_token_count logic.

Thanks, looks good!


Issue with Events page frontend

Describe the bug

Font color of the page is not correct
Overlapping divs

To Reproduce
Steps to reproduce the behavior:

Go to https:main.cuchapter.tech
Click on Events
See error on Events Page

Expected behavior

Color should be same as site theme
proper padding on div

Screenshots

Desktop (please complete the following information):

OS: Windows/Linux
Browser Chrome
Version 92

Smartphone (please complete the following information):

Device: Samsung A10s
OS: Android 11
Browser Chrome
Version 93

Can I work on this issue?

Can I work on this issue?

Most issues are fixed but you can check it once.

Can I work on this issue?

Most issues are fixed but you can check it once.

okay sure

I think now you can close this issue, as it is already resolved

This issue has been fixed.


Publishing new livelab - Deploy an ODA Chatbot powered by Generative AI Agents using 23ai Vector DB: WMS ID 11764, also made changes to WMS ID 11617

WMS ID 11764
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[X] All filenames are lower case (including folders, images, files, etc.)
[X] Filenames are descriptive
[X] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[X] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[X] Image references in markdown contain an alternate text

@anacoman11 Hi Ana, I made changed to WMS ID 11617 as well. Some of the instructions were out of date in that workshop. Please approve this PR. Thank you


Allow a build script (build.rs) in a virtual manifest Cargo.toml

Describe the problem you are trying to solve

I have a package with several crates and "virtual" Cargo.toml (virtual manifest). I would like to execute some code before building this package or any containing crate. Currently it isn't allowed to have build.rs in the virtual manifest.
Describe the solution you'd like

Allow the build field to appear in the virtual manifest.
Notes

As a workaround I have created an empty crate with build.rs and made all other crates depend on it.

Could you describe more how this might work? When would this be built? What crates would have access to it? (etc)

I'm looking at this from the user perspective, so I cannot answer these questions to the full extent.
├── a
│   ├── Cargo.toml
│   └── src
│       └── main.rs
├── b
│   ├── Cargo.toml
│   └── src
│       └── main.rs
├── build.rs
└── Cargo.toml

Initially build.rs should be built and executed when any of cargo build, cargo build -p a or cargo build -p b commands are executed.
Additionally such build script should be controlled by regular rerun-if-changed rules.
I guess that in addition to OUT_DIR something like WORKSPACE_OUT_DIR can be added so all crates can access it.
Unfortunately I cannot share more details about my use-case.

This is a feature that I hope workspace could support. I would like to check rustc version in rust way with build.rs in workspace.

I'm running into this issue right now.  My use case is that I have a large workspace which contains different sets of crates.  Some crates compile on systems with configuration A, some on B, some on both, etc., etc., etc.  Unfortunately, the configurations aren't as simple as Linux or Windows; a given configuration is guaranteed to have a particular set of modules and libraries, but a different configuration isn't.  I can reliably detect the configuration I'm on at compile time, which would make a build.rs file ideal in the workspace root if it was possible to put one there, and if it was possible for the root build script to tell cargo which crates should be compiled.
Why is this important?  Wasted time, and false compilation failures.  Based on observation, it appears that cargo calculates the union of all dependent crates in a workspace before starting a compile.  That means that rustc still has to deal with calculating the cfg attributes across all of those dependent crates.  In some cases, this can take a very long time as some of the crates do compile time generation of bindings, which are then immediately thrown away because we're not on the right configuration.  In other cases, the crate's dependencies fail to compile, causing a spurious compilation error.  We already know that those crates can't compile on those systems, but we can't prevent cargo trying to set them up for compilation anyways.
If the workspace could have a build.rs file that was run before cargo attempted to compile the workspace's children, then the build.rs file could emit a list of crates that should be compiled.  This would save some heartache and time while compiling.
N.B.: I know I can write a python script, or some other script to handle this outside of cargo, but that really feels counter to the Rust ethos...

My guess is that this use of build.rs isn't expected or anticipated by cargo design, because it feels like it's oriented entirely towards building prerequisites for crates.

I would say this is correct. From my understanding, build.rs was designed for building some native C libraries and Rust then consume it. Now people trying to use Cargo as a fully-fledged build system and that's unexpected. Having a workspace-level “pre-build hook” doesn't sound entirely wrong, but it feels like not a thing Cargo team is going to pursue in the near future.
Having a “pre-build” hook mechanism looks fine in a locak workspace development. However, looking into it deeper some devils in the details.

If your package depends on a workspace member from a git repository (aka git dependency), and the workspace hook requires some stuff outside the package root directory. How should it work? You may end up building something out of the scope of the member your package is depending on.
When running cargo publish, cargo packs a tarball and upload to crates.io. The tarball is expected to be self-contained and can compile. If building a member depending on a workspace-level pre-build hook, how do we ensure that the package can be built independently?

These questions are more or less the same — how to verify a package can be built without being a workspace member. To be fair, today people already are able to write a build script that fails to build a package. We discourage this kind of use of build script. However, if there is a workspace-level pre-build hook, the situation might be worse.
That being said, discussions about a workspace-level pre-build hook are pretty much welcome. More use cases can lead us to somewhere I believe.

I would like to check rustc version in rust way with build.rs in workspace.

Can rust-toolchain.toml meet your need? Or maybe the rust-version field in Cargo.toml?

I want cargo build to render the documentation and build all the crates.

Is it possible to write an xtask as a workspace member, and run it like cargo run -p myxtask. Even further you can configure alias in .cargo/config.toml so that other developers can run something simple like cargo gendoc. (Cargo the project itself does that)

… if it was possible for the root build script to tell cargo which crates should be compiled.

Something like https://github.com/rust-lang/cargo/issues/11313 or https://github.com/rust-lang/cargo/issues/9650 might help? Or do you need a runtime detection? Then I'd also recommend xtask at this moment.

Based on the complexity of the design work, and wanting more use cases, I am going to label them as
@rustbot label +S-needs-info +E-hard.

For considering the bigger picture of build orchestration, another issue is #545.


Remove astropy_helpers

The astropy_helpers submodule has been superseded by other functionality and will need to be removed.  This can probably be done while resolving #7.

Fixed in #10


Tok/s Information

When we run gptSessionBenchMark, it gives final output like this:
...
[BENCHMARK] model_name gpt world_size 4 num_heads 96 num_kv_heads 96 num_layers 48 hidden_size 12288 vocab_size 51200 precision float16 batch_size 8 input_length 512 output_length 4 gpu_peak_mem(gb) 0.0 build_time(s) 0 tokens_per_sec 75.11 percentile95(ms) 434.269 percentile99(ms) 437.178 latency(ms) 426.058 compute_cap sm90 quantization QuantMode.0 generation_time(ms) 59.223 total_generated_tokens 24.0 generation_tokens_per_second 405.25
...
Here, does tokens_per_sec means total tok/s or tok/s/GPU?
Also, same question for generation_tokens_per_second.
@byshiue
Thank you!

Please refer this issue https://github.com/NVIDIA/TensorRT-LLM/issues/1410. Close this one due to duplication.

Please refer this issue #1410. Close this one due to duplication.

@byshiue Thank you for your response. I have seen that thread. It says end to end inference. But I wanted to ask that if it is equal to total Tok/s or Tok/s/GPU?

It equals to Tok/s.


Encoding Issues TempBlob.Blob.CreateInStream ANSI formatted text file

Describe the bug
Reading an ansi file through TempBlob.Blob.CreateInStream leads to Encoding Errors.
To Reproduce
    local procedure UploadFile()
    var
        myInStream: InStream;
        uploadResult: Boolean;
        tempBlob: Record TempBlob;
        myFileName: Text;
        tmptext: Text;
    begin

        tempBlob.Blob.CreateInStream(myInStream, TextEncoding::Windows);
        uploadResult := UploadIntoStream('Upload', '', '', myFileName, myInStream);
        myInStream.ReadText(tmptext);

        Message(tmptext);
    end;

Start the codeunit and open a file formated in ansi code containing `äöüß' (german Umlauts)
Expected behavior
The message should display exactly those characters which are visible in the file to upload.

Screenshots

Versions:

AL Langauge:  2.1.79379
Business Central: DE Dynamics NAV 13.3 (27233)

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 28883 and VS Code Extension Version 3.0.104165.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 28883 and VS Code Extension Version 3.0.104165.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/


SW-2439 Fix visual format of plants tooltip in map view

use a table for a better fit of content

Looks good. Thanks Karthik!


[MOD-53][Feature] Add migration for reviews subscriptions

Purpose
Add migration for reviews subscription.
Ticket
https://openscience.atlassian.net/browse/MOD-53

@aaxelb, updated 💰

@aaxelb, rebased


Decimal becomes Number if queried with $queryRaw

Bug description
When I try to $queryRaw() a Decimal column, it becomes Number, resulting in loss of precision
How to reproduce
// schema
model Capacity {
  id   Int     @id @default(autoincrement())
  year Int
  data Decimal
}

// executed code
await prisma.capacity.createMany({
  data: [
    { year: 2016, data: new Decimal(1.1) },
    { year: 2017, data: new Decimal(1.8) }
  ],
})

const rawCapacityTotal = await prisma.$queryRaw`SELECT SUM(data) FROM public."Capacity"`
console.log(rawCapacityTotal) // [ { sum: 2.9000000000000004 } ]

Expected behavior
The query should return the value as a Decimal.js object - as it successfully does when performing the same query via the prisma client e.g.
const capacityTotal = await prisma.capacity.aggregate({
  _sum: {
    data: true
  }
})
console.log(capacityTotal) // { _sum: { data: 2.9 } }

Prisma information
datasource db {
provider = "postgresql"
url      = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
model Capacity {
id   Int     @id @default(autoincrement())
year Int
data Decimal
}
Environment & setup

OS: Ubuntu
Database: Postgres 13
Node.js version: 14.17.0

Prisma Version
prisma                  : 3.0.1
@prisma/client          : 3.0.1
Current platform        : debian-openssl-1.1.x
Query Engine (Node-API) : libquery-engine 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at<EMAIL_ADDRESS>Default Engines Hash    : 2452cc6313d52b8b9a96999ac0e974d0aedf88db
Studio                  : 0.423.0

Same problem here with Prisma Client 3.9.2. Decimal numbers are transformed to double then the precission is lost.
model User {
  id              Int      @id @default(autoincrement())
  name        String
  amount    Decimal @db.Decimal(4, 2)
}

With queryRaw:
const user = await prisma.$queryRawUnsafe(`SELECT * FROM User WHERE id = 21`);
console.log(user.amount); // -5.0200000000000005

With Node mysql works perfectly:
const mysql = require('mysql');
const util = require('util');
const connection = mysql.createPool(myConnection);
const fn = util.promisify(connection.query).bind(connection);
(async () => {
   const p1 = await fn(`SELECT * FROM User WHERE id = 21`);
   console.log(user.amount); // -5.02
})()

With Prisma Client also works correctly:
const user = await prisma.user.findUnique({
    where: {id: 21}
  })
console.log(user.amount); // -5.02

Hey,
This issue was fixed by https://github.com/prisma/prisma-engines/pull/2847. It will be available in the next release under the improvedQueryRaw feature flag.
Beware that enabling improvedQueryRaw is a breaking change. Release notes will contain information as to how to upgrade (so will the documentation).
Thanks for reporting 🙏


post filtering from social media

For creating calls to the Twitter API we can use this page to build a query: https://developer.twitter.com/apitools/query?query=
Example query: https://developer.twitter.com/apitools/api?endpoint=%2F2%2Ftweets%2Fcounts%2Fall&method=get
And use a PHP library to execute the query.
PHP libraries:
https://github.com/danieldevine/bird-elephant
https://github.com/noweh/twitter-api-v2-php
https://github.com/abraham/twitteroauth

This page describes the query we can use to search for videos on a specific channel: https://developers.google.com/youtube/v3/docs/search/list
It also provides the PHP code needed to execute the query.
Example query: https://developers.google.com/youtube/v3/docs/search/list?apix=true&apix_params={"part"%3A["snippet"]%2C"channelId"%3A"UCQlxetSlMSDoZoEOG0M9G4g"%2C"channelType"%3A"any"%2C"maxResults"%3A50%2C"order"%3A"relevance"%2C"q"%3A"space"%2C"videoDefinition"%3A"any"%2C"videoDimension"%3A"any"%2C"videoDuration"%3A"any"%2C"videoEmbeddable"%3A"any"%2C"videoLicense"%3A"any"%2C"videoSyndicated"%3A"any"%2C"videoType"%3A"any"}

The tags for a WordPress post can be obtained like so:
https://developer.wordpress.org/reference/functions/get_the_tags/
You can get the ID of the current post with this:
https://developer.wordpress.org/reference/functions/get_the_id/

So we should be able to get the tags and pop them into our query.

Facebook query documentation: https://developers.facebook.com/docs/graph-api/overview
Instagram query documentation: https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-profiles-and-media#get-a-user-s-media
These both use the facebook graph API, which we will need authentication for. Get started here: https://developers.facebook.com/docs/graph-api/get-started

jfc you need a facebook account to even just look at their documentation.

I didn't even notice as I was already logged in on my personal laptop but damn that is a joke


Unordered/ordered list tags don't work in auto-created documentation

Godot version
v4.2.beta5.official [4c96e9676]
System information
Windows 10
Issue description
When using unordered/ordered lists (with the [ul] or [ol] tags) in documentation, no list will be generated in the resulting help file. Instead, the tags are displayed unprocessed in the help. The tags works correctly in RichTextLabel.
Steps to reproduce
Write a documentation comment (to a function for example) using the syntax:
This is a test
[ul]
line 1
line 2
[/ul]
This will produce this result in the help file:
This is a test [ul] line 1 line 2[/ul]
Using [br]after each line doesn't produce the lists either.
Minimal reproduction project
doctest.zip

See:

https://github.com/godotengine/godot/pull/67037


Migrate es6

Please makes sure the items are checked before submitting your PR, thank you!

[x] Rebase before creating a PR to keep commit history clear.
[ ] Only One commit
[x] No eslint errors

This should fix   #3034 #3094 #3114 #3115 #3128 #3200 #3211 #3241  #3248
And partially fixes #3222

closed as it has been fixed.


Not Work

does not work , the browser responds : The site can not provide a secure connection

Could you try using http://localhost:3000 or just localhost:3000 in your browser. That error typically means you are trying to access the resource through SSL which is not supported by localhost.
i.e. instead of using https://localhost:3000 use http://localhost:3000 and it will work.


Remove inactive merchants (websites long down)

Thanks again, @mattcode55! I added nerdzy.net back to the merchants. It was down at the time of my removal but apparently they fixed their website.

@nerdzy Do you accept Monero on other parts of your website, or just for lawn care?

@mattcode55 I moved nerdzy.net back to the correct section and squashed the branch into a single cleaning commit. Thanks so much!

EOF newline removed as requested by @MaxXor.


Does required and optional apply to sample output types

Similar to #9 & #10 , Does it make sense to have required and optional for sample output types? If so would be great to have an example of what a reasonable:
"example": [{
           "required": [],
           "optional": []
           }]

example would be?

I think it does -- for example, suppose a hub wants to require that submissions include at least 100 samples and up to 1000 samples. Then they might have a specification like this:
          "output_types": {
            "sample": {
              "type_id": {
                "required": [1, 2, 3, ..., 100],
                "optional": [101, 102, 103, ..., 1000]
              },
              "value": {
                "type": "integer",
                "minimum": 0
              }
            }
          }

Copying useful context here:

Following up here on one piece from the discussion on the PR, because I thought it was maybe easy to lose track of it there. This is about minimum and maximum values for the sample output type.

The idea here is that samples are samples from a distribution. So for example, suppose someone's predictive distribution is Normal(5, 1).  Then the samples would be draws from that distribution, e.g., they would have a mean of about 5.
I think hubs will want the ability to specify minimum and maximum values for samples (e.g., at least 0)
But in some applications, the minimum and maximum values for samples may be negative or greater than 1 since the samples themselves are not probabilities; they are on the scale of the variable that's being modeled

Given value will be a draw from the predictive distribution which as you state could be any number depending on the scale of the modelled variable , should the type not be numeric or double instead of integer?

I think we should allow the hub to specify this, with the possible specifications being numeric, double, or integer. For example, if the target variable is an integer count of hospitalizations, the hub may require that samples be integers (e.g., obtained either directly as draws from an integer-valued distribution like the negative binomial or by discretizing an underlying continuous distribution). But there may of course be other examples where the variable is inherently continuous, such as rates of disease incidence per 100,000 population -- so in different settings, either an integer or double data type may be appropriate.


BUG: volumeMounts is does not work

Problem
volumeMounts from values.yaml file is not used in daemonset manifest template. volume is used instead in volumeMounts spec.
https://github.com/scalyr/helm-scalyr/blob/scalyr-agent-0.2.19/charts/scalyr-agent/templates/daemonset.yaml#L147-L149
How it should be
volumeMounts should be used in volumeMounts spec in daemonset manifest template.
Chart version: 0.2.19

nevermind, didn't notice that similar issue exists


worldedit crash

When moving space station with worldedit i get the following crash
http://paste.ee/p/2ox7z
might be that i have done something wrong but i thougth i would report it incase it might be some other problem.

What number is the atmosphere handling set to in the advanced rocketry
config file?
On Aug 7, 2016 10:21 AM, "bludde"<EMAIL_ADDRESS>wrote:
When moving space station with worldedit i get the following crash
http://paste.ee/p/2ox7z
might be that i have done something wrong but i thougth i would report it
incase it might be some other problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zmaster587/AdvancedRocketry/issues/173, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADX3LWxBkqRXyPEFq5_BVHced61S2OAiks5qdenXgaJpZM4Jegjd
.

I:atmosphereCalculationMethod=3

If you set it to 0 or 1 does it still happen?
On Aug 8, 2016 2:36 PM, "bludde"<EMAIL_ADDRESS>wrote:

I:atmosphereCalculationMethod=3
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zmaster587/AdvancedRocketry/issues/173#issuecomment-238334140,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADX3LWX5dGg-BVcgJAYq1bCD1ywtNzToks5qd3cxgaJpZM4Jegjd
.

will try it later to confirm

works on atmosphereCalculationMethod 1 and 2 but on 3 it crash on so i will close this!

Still needs to be fixed though


Update readme.md

Fixes what was missed in PR #32330

Internal previews

📄 File
🔗 Preview link

aspnetcore/tutorials/web-api-help-pages-using-swagger/samples/3.x/TodoApi.Swashbuckle/readme.md
Get started with Swashbuckle and ASP.NET Core

Thanks!  Yes, I missed there was also code inline in the Readme.


Clarify instructions in Docker readme

Update Docker instructions to remove references to yarn as well as add note about UID and GID.

There are mutliple mentions of an .env file which I don't see documented, and the command for yarn to build it does not work. I also can't seem to find anything-llm in hub.docker.com.

You don't need yarn for the docker setup. From the docker directory, make a copy of .env.example and name it .env then fill in the variables.
After that is done, you can build the image. The instructions in the docker directory are mostly correct other than the yarn stuff.

PINECONE_ENVIRONMENT
Not sure what is suppose to go there.

Found it... thanks.

resolved by #79

Found it... thanks.

I'm here for the same question. How did you resolved this?

@jhalbrecht Pinecone environment is found in the Pinecone Console in the Indexes section.

Pinecone environment is found in the Pinecone Console in the Indexes section.

Thanks @frasergr
Regarding creating index on pinecone I don't know the answers to Dimensions and Metric?
And I heard there is a discord server/channel can I get an invite? Should readme.md contain that info?


Bounded queue hangs for .offerAll when the put size exceeds queue max size

Hi John
Thanks for building an awesome lib. I started to use it and found a bug in queue implementation.
My code works for small inputs, when the buffer size fits into the bounded queue. However, if I offerAll() a large IList, the execution silently hangs without any "side effects" and exceptions until Ctrl+C
Here's my project
git clone -b fiberbug https://github.com/tampler/interview_scala
To reproduce:
sbt testOnly task0.LoopbackUnitTest

If you edit /resources/orders.txt and cut it to, say 8 orders and place to /tmp, my code will happily return.
Let me know if you need more info

Hi,
This is the expected behavior for the back pressure strategy: offerAll will return once all items have been added. If you don’t want to wait and pause the current fiber, you have to use fork. See https://scalaz.github.io/scalaz-zio/datatypes/queue.html

Hi @ghostdogpr
Thanks for your oppinion. I disagree. In MY case, the program silently hangs with no signs of a runtime problem. In a larger system, that may be a substantial bug, which is very hard to spot out.
At least a warning should be issued, no? This is a lib design question, so I'm interested in what @jdegoes
thinks on that behalf. Anyways, you're welcome to offer your solutions to this

@tampler I'm not giving you my opinion, I'm just telling you how it works. It is not a runtime problem: with a Back Pressure strategy, offerAll returns an IO that completes once all items have been added to the queue. If you use an unbounded queue or a Dropping or Sliding strategy, offerAll will return immediately.
You can refer to this video of John presenting ZIO Queue: https://www.youtube.com/watch?v=8JLprl34xEw&t=0s and the rationale behind it. You'll see most of the examples use fork.

It's true that if you offer more than can fit into the queue, then the offer side is suspended until more room is available; this lets you build "composable backpressure" into your whole application, so producers never completely overwhelm consumers.
Note that it's not an actual hang. That is, after your consumers drain enough from the queue that the producers can put their elements in, the producers will resume normally.
The other model of queuing is "offer and forget", in which the producers do not wait for consumers to catch up. You can get this model with q.offer(a).fork / q.offerAll(as).fork. In this model, your producers may get so far ahead of consumers that your application is subject to DDoS, including running out of memory and so forth.
Using back-pressured queues comes with its own drawbacks, but not using them also has drawbacks of its own. The ZIO Queue lets you choose the strategy but we need to do a better job documenting this behavior to avoid confusing users who are more familiar with the Java blocking queue interface.
Note also that if you are using queues to perform bidirectional communication between two application components, then using the back pressured queue can render your application susceptible to deadlocks: because the components can each be waiting on each other to process messages from their (full) queues. In my opinion, using queues to bidirectionally transfer messages between components is not a good architecture. Queues work best with acyclic graphs.
Action Item: Better documentation for Queue so people understand offer / offerAll will wait until there's enough room, and they can fork the returned IO if they want the alternate behavior. Also mention acylic graph note.

Thank you for a great explanations. Many newcomers would benefit, if you update Queue docs with a short memo concerning this issue.
As for a DAG design, a commercial product would involve IO to external things, not internal components.
A short offtopic question: How can I export ZIO web documentation to EPUB or MOBI formats?
Thank you once again for building, maintaining and supporting this awesome lib


[ADP-3407] Bump to ghc 9.8.2

[x] Bump int-cast
[x] Bump openapi3
[x] Remove all constraints in cabal files
[x] Bump compiler in haskell.nix to 9.8.2

We should probably bump to whatever version the currently supported node (10.1.3) is using, which is not totally obvious from their repository...

current supported ghc version for 10.1.3 is 8.10.7: https://github.com/IntersectMBO/cardano-node/releases/tag/10.1.3
Closing this outdated RP


Silex 2 doesn't have $app['request'], fix it

fixed at master (master is silex 2.0 compatible) , sorry for delay...


"Automatically link new work in this build" does not work

The Build Definition option to "Automatically link new work in this build" does not work (this option was released 5/11, https://www.visualstudio.com/en-us/articles/news/2017/may-11-team-services#automatic-linking-from-work-items-to-builds). When enabling via the web UI, there is no option below it to "only link to work added to specific branches." There appears to be a small UI change, but the option does not appear. It seems it tried to show the configuration present in the release notes, but something is breaking it. This is the HTML that gets generated:

Furthermore, enabling the option does nothing to link the work item to the build. It links to the changeset, but not the build.
https://developercommunity.visualstudio.com/content/problem/74066/automatically-link-new-work-in-this-build-does-not.html

This is unrated to the build tasks to package and release extensions. You should probably file this under vsts-agent or on the Visual Studio developer  community.


ConcurrentModificationException on entity remove

java.util.ConcurrentModificationException
at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1597)
at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1620)
at java.base/java.lang.Iterable.forEach(Iterable.java:74)
at net.minestom.server.entity.EntityView.forManuals(EntityView.java:99)
at net.minestom.server.entity.Entity.removeFromInstance(Entity.java:907)
at net.minestom.server.entity.Entity.remove(Entity.java:1488)
at net.minestom.server.entity.Player.remove(Player.java:500)
Occured when i use Entity#remove()
I have also removed all viewers and it is empty at the time when the remove Method is called

Possibly a duplicate of #1526 although I'm not sure as I couldn't cause the issue with < 2 viewers whereas this seems to occur no matter what.

Yep, seems exactly as my case. For me it occured for 1 Player as a Viewer. Gonna close this because its just a duplicate.


fix(testing): fix link to test url

Intent
Fix test case link for sasjs test command.
Implementation

Bumped @sasjs/utils version.
Used encodeURIComponent function instead of encodeURI to encode context name in debug link.

Checks

[x] Code is formatted correctly (npm run lint:fix).

[ ] Any new functionality has been unit tested.
[x] All unit tests are passing (npm test).
[x] Mocked:

Server:

[ ] All CI checks are green.
[ ] JSDoc comments have been added or updated.
[x] Reviewer is assigned.

@all-contributors add @YuryShkoda  for code, eventOrganising, projectManagement, test


Split map panel out into its own component

Description:
Splits map panel out into it's own component. This allows it to be disabled by removing map: from the configuration, for people who may not be using it. This also better aligns it with the rest of the built-in panels as they all have their own components. Will also allow for future additional configuration/new features.
Updated default configuration file to include map: by default.
This is a breaking change, as users will need to add map: to their config to re-enable the panel.
Working on PR to update documentation.
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#3588
Example entry for configuration.yaml (if applicable):
map:

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Thanks btw 🐬  👍

Should the component depend on frontend?


Mouse support

Well, I had some free time and nothing to do, so... mouse driver! 😄  Thought this would go nicely with graphics. Has a few kinks, though. For example, you have to wait until after the driver is installed (usually about 2/3 seconds after the shell is displayed) in order to be able to click into QEMU (otherwise the system, or at least the keyboard, will freeze up). Also, no hot plugging (you can't escape the mouse to the host and go back). Otherwise, it's pretty decent mouse driver implementation.
Again, as mentioned in #107 (specifically this comment), this should be refactored into an optional module with other things.

Wow, this is nice! Looks pretty simple, assumed mouse would be complicated 😄
I hope to wrap up tests pretty soon and make them working again, then going to hack on modules  (hope this weekend). Modules will let us add any (experimental) features easily.
Not sure if realistic or too crazy, but if we manage to support webgl (through virtio-gpu) we might be able to run some WASM-compiled games on it :)


Import existing layouts used by setxkbmap

Thanks for this cool tool. Some layouts may be very long to encode in keyd (e.g. the bépo afnor layout with latin/greek/math/… support, or qwerty international). These files should not be too hard to parse, at least as a first approximation, as they look like:
key <AC05> { type[group1] = "FOUR_LEVEL", [ comma, semicolon, rightsinglequotemark, dead_belowcomma ] }; // , ; ’ ,

The problem is that setxkbmap does not deal only with the low-level keycodes, but also with how they are interpreted in X11, which keyd necessarily knows nothing about. It's probably possible and may be useful to write a little script to translate xkb layouts into keyd configs, using compose sequences to get the missing symbols, but it would be fickle.

I see thanks. Guess it would still be a first step to gain some time.

It's probably possible and may be useful to write a little script to translate xkb layouts into keyd configs, assuming an en-US layout and using compose sequences to get any missing symbols, but it would be fickle.

I used to have an awk script lying around which I used to generate some of the keyd layouts from xkb files. Writing a proper XKB parser is a PITA, so it didn't cover most corner cases.
I can't seem to find the original script, so here is my attempt to recreate it in python:
#!/usr/bin/env python3

import re
import sys
from collections import defaultdict

xkbToKeydcode = {
    'TLDE':	'grave',
    'AE01':	'1', 'AE02':	'2', 'AE03':	'3', 'AE04':	'4', 'AE05':	'5', 'AE06':	'6',
    'AE07':	'7', 'AE08':	'8', 'AE09':	'9', 'AE10':	'0', 'AE11':	'minus', 'AE12':	'equal',
    'AD01':	'q', 'AD02':	'w', 'AD03':	'e', 'AD04':	'r', 'AD05':	't', 'AD06':	'y',
    'AD07':	'u', 'AD08':	'i', 'AD09':	'o', 'AD10':	'p', 'AD11':	'bracketleft', 'AD12':	'bracketright',
    'AC01':	'a', 'AC02':	's', 'AC03':	'd', 'AC04':	'f', 'AC05':	'g', 'AC06':	'h',
    'AC07':	'j', 'AC08':	'k', 'AC09':	'l', 'AC10':	'semicolon', 'AC11':	'apostrophe', 'BKSL':	'backslash',
    'AB01':	'z', 'AB02':	'x', 'AB03':	'c', 'AB04':	'v', 'AB05':	'b', 'AB06':	'n',
    'AB07':	'm', 'AB08':	'comma', 'AB09':	'period', 'AB10':	'slash'
}

layers = defaultdict(lambda: {})

for line in sys.stdin:
    try:
        m = re.match('\s*key <([^>]*)>.*// *(.*)', line)
        key = xkbToKeydcode[m[1]]

        for (i, symbol) in enumerate(m[2].split(' ')):
            layers[i][key] = symbol
    except:
        pass

print(f'[main]')
for (k,v) in layers[0].items():
    print(f'{k} = {v}')
print()

if 1 in layers:
    print(f'[shift]')
    for (k,v) in layers[1].items():
        print(f'{k} = {v}')
print()

if 2 in layers:
    print(f'[altgr]')
    for (k,v) in layers[2].items():
        print(f'{k} = {v}')

It relies on the xkb definition containing the actual unicode symbols as a comment (which many of them seem to do).
A more robust approach would be to scrape symbol/name mappings from the Compose file, but then you start
going down the XKB configuration rabbit hole and never emerge :P.


Translate tasks/run-application/horizontal-pod-autoscale-walkthrough/ into Japanese

This is a Feature Request

What would you like to be added

Translate tasks/run-application/horizontal-pod-autoscale-walkthrough/ into Japanese
Why is this needed
This page has not been translated.
Comments

/language ja
/assign

/triage accepted


The reset password page is exposed

I noticed that the page to reset the password is exposed.
https://www.researchequals.com/reset-password
I expected that accessing this URL without logging in (and without initiating the reset password process) would re-direct to the login page.
Maybe a solution would be to verify that the token is there, and if not redirect to the login page?

Thanks for reporting @nsunami!
It is exposed but functionless if there is no valid token included in the URL. We could add indeed add a redirect to the page logic if you'd like - would you be interested in making a PR for that? 😊 I think it's a good improvement - and it's perfectly okay if you don't feel like doing it 😉

Submitted a PR! It is in the right direction. 😊


TABS: CTRL + TAB to go to the next tab, and CTRL + SHIFT + TAB to go to the previous tab.

BEFORE MAKING A FEATURE REQUEST, PLEASE READ THE
CONTRIBUTING GUIDE.
FEATURE REQUESTS THAT DO NOT PROPERLY FILL
IN THE TEMPLATE MAY BE IGNORED OR REJECTED.

What makes the feature necessary?
It's not necessary but it would be nice ;)
In most software (Chrome, firefox, etc, but really any app that has tabs) we can CTRL + TAB to switch to the next tab and CTRL + SHIFT + TAB to go to the previous tab. It's muscle memory for me (and suspect a lot of other people) and it would just be super nice if it were supported in Notion Enhancer as well.
How would the feature work?
CTRL + TAB to switch to the next tab, and CTRL + SHIFT + TAB to go to the previous tab.
Cheers
Sacha

good idea, I wasn't aware this was a thing.

@dragonwocky I just did it myself, pushing changes now

I, too, am too used to using Ctrl+Tab for switching between tabs. It would be great to have an option to use Ctrl+Tab to cycle between tabs based on the order of last opened, which is a very common behaviour, and is very useful when you're working between a couple tabs and want to switch between them regardless of their position in the title bar. For reference, this behaviour can be observed by enabling the Ctrl+Tab cycles through tabs in recently used order option in firefox settings.


Added a note about the --overwrite flag in getting started guide

Added a note about the --overwrite flag.

@acoates-ms  - can you confirm the verbiage looks right?


Typings are missing in npm package

They are all here in this repo. It seems like the package published on npm is a bit outdated or not in sync with master.

is there really a need for typings?

+1 for typings, think this should be reopened. Not having them means dependents using typescript don't have autocomplete or type checking. You have to research the api to figure out how to use it. It doesn't seem like a big deal but it's a little bit of assistance.
Happy to PR if you'd be willing to have them again.


Please Describe OfferList Event.

I see no Description of offerList Event in JSDoc. Please Explain the functioning and format of value which is returned.

Description can be Found in Node-Steam-Tradeoffer manager library.


Add Swagger documentation to data plane Enterprise Knowledge Graph

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[x] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-java

This is data-plane, no ARM review required

All Errors Resolved. Please review and approve.


[GSB] Minor cleanups

Improve GraphViz output
Make minimized-sources computation and use more general

@swift-ci please smoke test and merge


Notnullifotherequals rule

Add a rule which allows a conditional Null, based upon the presence of one of a list of specified values in another column.

Codecov Report

Merging #83 (a747b5d) into dev (d4b4202) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev      #83   +/-   ##
=======================================
  Coverage   99.94%   99.94%
=======================================
  Files          25       25
  Lines        1820     1835   +15
=======================================
+ Hits         1819     1834   +15
  Misses          1        1

Impacted Files
Coverage Δ

rumydata/rules/cell.py
100.00% <100.00%> (ø)

tests/test_rules_cell.py
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 d4b4202...a747b5d. Read the comment docs.


A good follow-up to this PR would be to fix this case to use the keyword arguments during overload checking. right now, it treats keyword arguments present in the send as being an untyped hash in the last argument.

A good follow-up to this PR would be to fix this case to use the keyword arguments during overload checking. right now, it treats keyword arguments present in the send as being an untyped hash in the last argument.
Originally posted by @elliottt in https://github.com/sorbet/sorbet/pull/3490#r504868852

Dupe of #37


Fix Bootstrap 3 CSS quirks

The two quirks that annoy me most right now are the select box on the landing page for TE and the button width on the filters.

And argument button packing.

Good enough for my major irritations for now.


Duplicated and extra matrix jobs generated when using macOS runner

Associated GitHub Community ticket: https://github.community/t/specific-workflow-runs-keeps-failing-with-an-internal-error-on-macos/135997
The customer set a matrix in his workflow like as below:
  ci_macos:
    name: macOS + vcpkg
    runs-on: macos-10.15
    strategy:
      matrix:
        qbt_gui: ["GUI=ON", "GUI=OFF"]
      fail-fast: false

According to the matrix configurations, it should only generate 2 matrix jobs:

macOS + vcpkg (GUI=ON) runs on macos-10.15
macOS + vcpkg (GUI=OFF) runs on macos-10.15

But when executing the workflow, it will generate some duplicated and extra matrix jobs, and all the extra matrix jobs will go failed. This causes the workflow run to be failed.
In the same workflow, the customer also set the similar matrix configurations to run jobs on the Ubuntu runners, the matrix can work fine, and no any extra matrix jobs generated.
  ci_ubuntu:
    name: Ubuntu
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-20.04, ubuntu-18.04]
        qbt_gui: ["GUI=ON", "GUI=OFF"]
      fail-fast: false

See the following two examples:
https://github.com/qbittorrent/qBittorrent/actions/runs/277763652/workflow
https://github.com/qbittorrent/qBittorrent/actions/runs/277637794/workflow

@BrightRan, I don't think that it is correct place for this issue. This repo holds issues with content of Hosted images and we don't own service issues.
P.S. I could be wrong but it is something that https://github.com/actions/runner owns.

@dakale , @ericsciple @TingluoHuang @thboop could you take a look and transfer if it is related to runner?

I'll be taking a look at this item today or tomorrow. I don't have perms to transfer/assign this issue to myself, but I'll keep an eye on it.


Explanation of "context" parameter

In the documentation either here or on OSF, I don't see a clear explanation of what "96", "288", and "1536" mean when supplied as arguments. I can at least take a guess at "DINUC" and "ID". Could you please add more detail to the documentation, or supply a link that might provide some context?

Hi @marcus-r-kelly,
Please take a look at SigProfilerMatrixGenerator's wiki page and publication to learn more about the context types.

If there is information about the context types on the wiki, I cannot find
it.
Likewise, in the piece you link to, this is the only mention of "context"
in the entire text:

Historically, mutational patterns have been predominately examined in the
context of small mutational events, which include single base substitutions
(SBS), doublet base substitutions (DBS), and small insertions and deletions
(IDs) [3
https://bmcgenomics.biomedcentral.com/articles/10.1186/s12864-023-09584-y#ref-CR3
, 5
https://bmcgenomics.biomedcentral.com/articles/10.1186/s12864-023-09584-y#ref-CR5
].

I don't understand how a user is supposed to know which context parameter
to use.
On Wed, Feb 7, 2024 at 2:17 PM mdbarnesUCSD @.***>
wrote:

Closed #112
https://github.com/AlexandrovLab/SigProfilerAssignment/issues/112 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/AlexandrovLab/SigProfilerAssignment/issues/112#event-11738485072,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFZZSO3XMIH3MF73KSUGXTYSP4O5AVCNFSM6AAAAABC43F6TWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG4ZTQNBYGUYDOMQ
.
You are receiving this because you were mentioned.Message ID:
<AlexandrovLab/SigProfilerAssignment/issue/112/issue_event/11738485072@
github.com>

--
Mark

Dear Marcus,
I hope you are doing well, and thanks for your interest in our tools! Indeed, you are correct that we have not included a specific explanation about the context_type parameter in the current README. Instead, we normally rely on the users to be familiar with our SigProfiler suite of tools, although this is definitely not always the case. We'll try to update our documentation in this regard, and thanks for your feedback!
Regarding your specific question, I suggest having a look at the original publication of SigProfilerMatrixGenerator (https://doi.org/10.1186/s12864-019-6041-2), where the different context types for small mutational events were described in detail, including Single Base Substitutions (SBS), Doublet Base Substitutions (DBS), and Small Insertions and Deletions (ID). In particular, Figures 1 and 2 will be helpful in understanding the differences between the context types allowed in SigProfilerAssignment. Regarding the SBS-288 context (that can be used in SigProfilerAssignment by using context_type=288), this has been introduced more recently, and you can find an example of its application in this analysis of esophageal cancer (https://doi.org/10.1038/s41588-021-00928-6).
Also, I suggest exploring the COSMIC Mutational Signature database (https://cancer.sanger.ac.uk/signatures/), as this will give you extended information about the different contexts, as well as the reference mutational signatures that SigProfilerAssignment considers for the mutational signature analysis.
I hope this helps, and please feel free to contact me over email<EMAIL_ADDRESS>if you have further questions.
Marcos


Uint32's register not reporting the correct value on reading

Working on a Node-RED project with differents products (BBB, Venus, Cerbo and and Ekrano) trying to retrieve some register's value, I notice if the value is Uint32, the node do not report me it as it should.
Example : Register 3005 : com.victronenergy.tank_Remaining_d_m3_3005_uint32_10000_R
send me back :
: msg : Object
object
topic: "0df7a248e3493652"
messageId: "65d9c4e3ff4604ad95b6ebbf"
payload: 0
type: "uint32"
scalefactor: "10000"
enum: undefined
queueLengthByUnitId: object
unitId: 20
queueLength: 0
queueUnitId: 20
unitId: 20
modbusRequest: object
value: undefined
unitid: 20
fc: 3
address: 3005
quantity: 1
emptyMsgOnFail: undefined
keepMsgProperties: undefined
messageId: "65d9c4e3ff4604ad95b6ebbf"
responseBuffer: objec.....

But I still have 23liters or (0.023m3) in the tank !

So It looks like the node has some register reading trouble.
I have the same troible with Date and Time register (830) reading and the Tank capacity (3001).

Thanks for reporting.
Created a new release, adding support for (u)int32 values. Only tested this limited, so if it does not work correctly, please create a new issue, referring to this one.


Queries fail to retrieve Object Storage Bucket names

Queried Object Storage Bucket names are not retrieved and instead are displayed as okit-osb001 etc.  These OKIT generated bucket names are shown in all three places: the Palate Explorer, the main Canvas, and the Properties window.  Other OS bucket details such as the creation date and creation user are accurate.
Example:

Command: grep -i ociObjectStorageBuckets /okit/log/okit-debug.log | grep name does indeed show the name in the DEBUG log entries JSON (not pasted here for brevity).
Possible issue (guessing) is Storage Bucket name length - all buckets in compartment are more than 22 characters in length.
Using latest version of OKIT via Docker container (downloaded from registry on Jan 11, 2021).  Specific version details:

Version 0.15.0 (9th December 2020)

Name copied to display_name during the query in v0.16.0

Name copied to display_name during the query in v0.16.0


[TC-IDM-5.2]-Chip-tool needs to provide a way to set delayed write request to verify the step 3

#### Problem
As per Test-Plan, [TC-IDM-5.2] test step 3 expecting that we should set "Wait for 5 seconds(Timer has expired) and then send the Write Request Message to the DUT", But Chip-tool needs to provide a way to set wait time for write request messages.
PFA screenshot below:-

system configuration
Chip-Tool: RPI
DUT: RPI
Platform : IP and Wifi
Commit-ID: 25e241ebcbf11b1f63dbe25546b1f10219866ad0
Dut: All-Clusters-app
Test-Plan screenshot:-

Spec Reference:-
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/data_model/Interaction-Model.adoc#timed-write-transaction

There is YAML syntax for this, but not command-line syntax....

Cert Blocker Review: Assigning to @cjandhyala to follow up, looks like the test should be runnable in YAML right now.

I tried in chip-tool interactive mode.
steps to reproduce:-
sudo ./chip-tool interactive start
then at the shell prompt  sent the timed request
./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000
waited for 5 mins
then sent a write command ./chip-tool levelcontrol write on-level 1 1 1
getting response as success instead of unsupported access.
Shall I know, is there any way to verify this test step in chip-tool?

Just to repeat:

There is YAML syntax for this, but not command-line syntax....

@cjandhyala Can you please close this, and file a ticket to update the test plan?

@vivien-apple We still see this issue and not able to send a delayed request. Hence we reopened the ticket for the further follow-up.

When it was tried in another setup, it worked fine.


Handle multiple parameters with CommaSeparated attribute

Thank you for this excellent approach to handling the query string.  I found that it does not correctly handle a query string with multiple parameters that have comma-separated values.
GET /products?sizes=s,m,l&colors=blue,green
[HttpGet("Products")] public IActionResult Get( [CommaSeparated]IEnumerable<string> sizes,  [CommaSeparated]IEnumerable<string> colors,  string filterText)
Presumably the fix involves having the various classes (the factory and provider) maintain an enumeration of keys.  Thanks!

I just created a pull request for the handling of multiple comma-separated values.


Upgrades

Hi,
Thanks for putting this module together. It's been very useful.
I wanted to make a few additions to cover my specific use-cases.
Options functionality has been added to the .write method. Three options are currently available, but you can choose to add more. The output_dir option covers the requirement in Issue #44.
You can see the readme for more information.
Thanks.

Need to close this as I noticed a few anomalies. Will post another.


Rhys/feat/better menu to main

A better menu has been created. This new menu uses ratatui to create a more pleasant front end for the user to enjoy. Not all features have been added so the original menu is still in place but a new scrollable table has been implemented with ratatui.

Keping branch so additional features can be worked on here. Please merge additional changes to the main branch when they are working as intended and have been tested


[Feature Request]:  Hover effect for book and genre categories

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
User should have smooth ui experience by getting hover styling for components
Use Case
User clicking on categories
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
User should have smooth ui experience by getting hover styling for components
Use Case
User clicking on categories
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @Monu2114, Go for it
All the Best

hey i have closed two issues right ? then why didnt the second issue count
didnt get updated in my gssoc leaderboard ?
On Wed, Oct 9, 2024 at 5:32 PM Trisha Sahu @.***> wrote:

Closed #287 https://github.com/Trisha-tech/OnlineBookSales/issues/287
as completed via #322
https://github.com/Trisha-tech/OnlineBookSales/pull/322.
—
Reply to this email directly, view it on GitHub
https://github.com/Trisha-tech/OnlineBookSales/issues/287#event-14571739759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A33RICZUQAL5M6PJY7V4QSTZ2ULPFAVCNFSM6AAAAABPKABU62VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGU3TCNZTHE3TKOI
.
You are receiving this because you were mentioned.Message ID:
@.***>


probe-rs crashes from VSCode when viewing variables

Describe the bug
When there are no static variables (it might be related to any kind of variables) the probe-rs crashes trying to dereference the element at index 0 from an empty list.
To Reproduce
Steps to reproduce the behavior:

start a debugging session
go to VARIABLES windows
navigate to 'Statis' when no static variables are present in the application

Expected behavior
Should not crash.
Stacktrace
probe-rs-debug: Log output for "probe_rs=warn" will be written to the Debug Console.
probe-rs-debug: Starting probe-rs as a DAP Protocol server
probe-rs-debug: Listening for requests on port 37429
probe-rs-debug: Starting debug session from: <IP_ADDRESS>:57754
FLASHING: Starting write of "/home/user/zephyrproject/zephyr/samples/basic/blinky/build/zephyr/zephyr.elf" to device memory
FLASHING: Completed write of "/home/user/zephyrproject/zephyr/samples/basic/blinky/build/zephyr/zephyr.elf" to device memory
thread 'main' panicked at probe-rs/src/debug/unit_info.rs:1341:24:
index out of bounds: the len is 0 but the index is 0
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Desktop (please complete the following information):

Linux (Ubuntu/wsl)

Additional context
none

Can you share your elf, please?

I've tried my best to reproduce this issue - but creating a firmware with no static variables is actually pretty hard. Nevertheless, probe-rs does not crash for me, so I'd appreciate a reproducer.

I was also not able to reproduce this, I tried the same Zephyr sample but seems to work fine.
Looking at the location, it seems to come from this line:
https://github.com/probe-rs/probe-rs/blob/6fc653ad01f1714cb183dc5ff5a5374cf306f61b/probe-rs/src/debug/unit_info.rs#L1341
So it seems to be somehow related to the handling of arrays. Preventing the panic shouldn't be too hard, but something like a core dump would be great to see why we end up with this problem.


sakhig

@ghulam1741 Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Support Console - If you have a support contract.
Discord - chat with other developers
StackOverflow - use the google-maps tag
Google Maps Platform issue trackers

This is an automated message, feel free to ignore.

@ghulam1741 , is this a real issue? Seems to be open by mistake, feel free to reach out if it is wrong.

Hello friends please keep explaining me because I am not a computer software engineer but I belong to tribal x fata area where the average education is not even 2% thank you guys and keep explaining more.


How to reset error to null in base view model

hi, can somebody tell me how to reset the error object when using runBusyFuture() in success condition
source code in here  https://github.com/FilledStacks/stacked/blob/master/packages/stacked/lib/src/state_management/base_view_models.dart#L75-L99
/// Sets the ViewModel to busy, runs the future and then sets it to not busy when complete.
///
/// rethrows [Exception] after setting busy to false for object or class
Future runBusyFuture(Future busyFuture,
    {Object busyObject, bool throwException = false}) async {
_setBusyForModelOrObject(true, busyObject: busyObject);
try {
    var value = await runErrorFuture(busyFuture,
        key: busyObject, throwException: throwException);
    _setBusyForModelOrObject(false, busyObject: busyObject);
    return value;
} catch (e) {
    _setBusyForModelOrObject(false, busyObject: busyObject);
    if (throwException) rethrow;
}
}

Future runErrorFuture(Future future,
    {Object key, bool throwException = false}) async {
try {
    return await future;
} catch (e) {
 --->   _setErrorForModelOrObject(e, key: key);
    onFutureError(e, key);
    if (throwException) rethrow;
    return Future.value();
}
}

when cache exception, will call _setErrorForModelOrObject(e: key: key),
but when i recall runBusyFuture(), if this time, no exception occurred, could we need to reset the error to null?
i did not found where to reset this error, can some body help me ?

Now, in my code now in below
static final String objectRefreshBook = 'refreshBook';

  Future<void> refreshBook() async {
    if (!hasBook) return;
    if (busy(objectRefreshBook)) return;

-->    setErrorForObject(objectRefreshBook, null);
    await runBusyFuture(
      Future(() async {
        final newBook = await _bookService.fetchBook(_book);
        await _bookService.updateBook(newBook);
        _book = newBook;
      }),
      busyObject: objectRefreshBook,
    );

    if (error(objectRefreshBook) != null) {
      _snackbarService.showSnackbar(message: error(objectRefreshBook).toString());
    }
  }

i need to call setErrorForObject(key, null); to reset error before runBusyFuture()
is this api designed using like so? or could we merge this reset error in base view model?


Fix issue with the Docs reranking prompt

I fixed a bug where you were sending the query variable (which holds the base URL of the doc) to the rerank method, and it made no sense to rerank the chunks based on a URL. So I changed it to extras.fullInput because it should rerank based on the user input, which should provide better results.
Description
[ What changed? Feel free to be brief. ]
Checklist

[x] The base branch of this PR is preview, rather than main

@JoseVega nice catch!


Updating the description

Hi,
In Guzzle 3, there was a setDescription method. This is useful in some cases. I'm using this for my Stripe wrapper, so that depending on the version you want of Stripe, it loads a different descriptor.
What is the currently recommended way to do it? If there's no reason, I will do a PR to add it :).
Thanks!

This was omitted to reduce the mutability of the client. Allowing the description to change at runtime could require other collaborators to be aware of the change after the client is created (e.g., signing requests using a specific API version). This was an issue for us with the AWS SDK, so we decided to not allow the description to be mutable.
The recommended way to create clients with different versions is to inject the service description in the constructor of the client.

On Jan 1, 2015, at 3:27 PM, Michaël Gallego<EMAIL_ADDRESS>wrote:
Hi,
In Guzzle 3, there was a setDescription method. This is useful in some cases. I'm using this for my Stripe wrapper, so that depending on the version you want of Stripe, it loads a different descriptor.
What is the currently recommended way to do it? If there's no reason, I will do a PR to add it :).
Thanks!
—
Reply to this email directly or view it on GitHub.

This was omitted to reduce the mutability of the client. Allowing the description to change at runtime could require other collaborators to be aware of the change after the client is created (e.g., signing requests using a specific API version). This was an issue for us with the AWS SDK, so we decided to not allow the description to be mutable.
The recommended way to create clients with different versions is to inject the service description in the constructor of the client.

On Jan 1, 2015, at 3:27 PM, Michaël Gallego<EMAIL_ADDRESS>wrote:
Hi,
In Guzzle 3, there was a setDescription method. This is useful in some cases. I'm using this for my Stripe wrapper, so that depending on the version you want of Stripe, it loads a different descriptor.
What is the currently recommended way to do it? If there's no reason, I will do a PR to add it :).
Thanks!
—
Reply to this email directly or view it on GitHub.

I've ended up in making my Client not extended Guzzle Client, and creating the guzzle client each time I change the API version (https://github.com/zf-fr/zfr-stripe/blob/guzzle-5/src/Client/StripeClient.php#L316). I'm not sure if that's the best way (I'm not fond of having my StripeClient both a "httpClient" and "guzzleClient").

I've ended up in making my Client not extended Guzzle Client, and creating the guzzle client each time I change the API version (https://github.com/zf-fr/zfr-stripe/blob/guzzle-5/src/Client/StripeClient.php#L316). I'm not sure if that's the best way (I'm not fond of having my StripeClient both a "httpClient" and "guzzleClient").

That sounds like the right approach.


updated freefilesync (7.6)

Fixes https://github.com/caskroom/homebrew-cask/issues/15320

Merged as e180464ea5e4027641c15f1c46300fa735d64474.

This didn't fix it. The URL had to be changed, too. https://github.com/caskroom/homebrew-cask/pull/15465


Enable simd_extmul_* for AArch64

Lower simd_extmul_[low/high][signed/unsigned] to [s|u]widen inputs to
an imul node.
This also reorganises the aarch64 'long mul' operations and their assembly.
Copyright (c) 2021, Arm Limited.

@sparker-arm @akirilov-arm I'm currently out on vacation until Mon Jul 26; I can review this when I'm back if you prefer, or perhaps one of @abrown or @alexcrichton could review?

@cfallin I pinged you because historically you had done most of the AArch64-related reviews (and Sam was actually unable to request a review from anybody), but another reviewer would be absolutely fine.


Connection issues: Dropped connection + failing handshake

I purchased a 1-day VPN, which worked for a couple hours, then suddenly dropped the connection. When restarting, it looks like the connection process is getting hung up at the handshake step. Where I get a recurring Wireguard: Sending handshake initiation to peer 7 (<IP_ADDRESS>:563). I'm able to ping the peer when off the VPN, but not after creating the interface.
I also had connection issues after purchasing a different conf file yesterday, but not sure if it's the same issue.
OS:  Ubuntu 22.04.1 LTS
wireguard-tools: v1.0.20210914

Are you 100% sure that you have not exceeded the data transfer limit of 5GB? Most issues of that kind are related to that.
You can find all data limits here

Not sure, but I haven't been doing anything network intensive (e.g video/audio streaming). If that is the problem and I bought a 24 hr connection to only get 2 hours of normal usage, than the service is practically unusable.

In order to provide a usable service it is necessary to have data transfer limits. As in any open network you need some kind of spam protection. So there won't be an unlimited data option. 5GB for 24h is definitely enough unless you do intense streaming or similar stuff.
But it seems that data usage was not the problem in your case. So we will look into it.
If you want a refund for you hard earned sats you can dm us on twitter or telegram.

Appreciate the help. The previous .conf that I purchased was for a month and also had connection issues which further supports it's likely not a data transfer limit. Let me know if having that information (other config file) would help.

Different server:
Location: Finland
PublicKey = yiR5dlIh7UddoEgR9bx0TCWsmhRJ4JPB/dgXmWlrrxo=
Endpoint = <IP_ADDRESS>