clarify the connection string usage for a sql server with a named instance

Hello,
I want to use ef core 6 ( along with .Net 6 ) to connect to a sql server instance with a named instance e.g. server\myinstance .
The documentation under
https://learn.microsoft.com/de-de/ef/core/miscellaneous/connection-strings
shows how to connect to a local db.
When I want to use connection string in the appsettings.json file:
"Persist Security Info=True;Server=server\myinstance;Database=mydatabase;user id=sql_user;password=password;trusted_connection=true;MultipleActiveResultSets=True;App=EntityFramework"
I'm getting an error
Microsoft.Data.SqlClient.SqlException: 'Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21139; handshake=32; '
When I use SQL Server Management Studio with version v18.12.1 the connection to the database basically works.
I would like to know what the correct connection string for a database with a named instance ( not default instance ) would look like.
Thanks in advance.
Regards
Alex B.

Transferring to sqlclient as this isn't related to EF.

Please share a repro

By adding "Connect Timeout=30" connection timeout does not expire but it takes a long time for connect.
Why does take a connection creation with named instance so much longer as with a default instance on sql server 2022 (platform: windows)?

@blaekhoermann to answer your question
There are to two kinds of instances:

Automatic instances: They are public and are creeated and managed automatically for the user and can be used by any application. One automatic instance of LocalDB exists for every version of LocalDB installed on the user's computer.
Named instances: they are private and are owned by a single application that is responsible for creating and managing the instance.

Now, connection string for public localdb should look like Server=(localdb)\MSSQLLocalDB;Integrated Security=true
In order to create and connect to a named instance you need to create one by running:
SqlLocalDB.exe create "<desired instance name>"
SqlLocalDB.exe share "< provided name in previous step" "<give` it a name to for the shared instance>"
SqlLocalDB.exe start "provided name in step one."
SqlLocalDB.exe info "provided name in step one."

sqlcmd -S <the value you got for Instance name from the info command> (np:\\.\pipe\LOCALDB#<use your pipe name>\tsql\query)
CREATE LOGIN <give it a username> WITH PASSWORD = ''provide a password';
GO
CREATE USER NewLogin;
GO
EXIT

Info command will print something similar to the below picture:

now you can always use the value of Instance pipe name provided from running command number 4, but the number inside the value may change if you restart or stop the named instance.
A regular connection string could be like :
Server =(localdb)\. this will connect to default automatic instance (MSSQLLocalDB)
Server =(localdb)\.\<named instance>
Have you tested with Visual Studio to see if SQL Server Object Explorer is able to find your named instance?

@JRahnama There is also normal named instances??

@ErikEJ it is either automatic instance which is MSSQLLocalDB or is a named instance. each one of these could be shared according the documentation. What do you mean by normal for (localdb)

I do not see any reference to localdb in the original post...

I do not see any reference to localdb in the original post...

My assumption was based on the provided link and keyword local db from the original post... maybe I got it wrong?

@blaekhoermann, sorry if the previous answer was a bit confusing, for general or as @ErikEJ mentioned normal named instances you will need:
<your Server Name>\<Instance name>,port
For example, if your server or local machine's FQDN is teset123 and your default instance name is MSSQLSERVER with default port of 1433:
it would be: test123\MSSQLSERVER,1433. Port has to be specified as this is the default value otherwise connection fails. If your are going to use a different name, you need to setup an alias for that. If you have created an alias then you do not need to specify the port number.
Hope I was able to answer your question.

Closing the issue due to inactivity. Feel free to comment or open a new issue.


Templates not working with current attribute lay-out

Hello,
I am not able to use the 'window_start' time within the 'picnic_delivery' sensor to trigger automations with the current format of the attributes. It looks like the window_start attribute is an attribute itself from 'delivery:'. Can't get the window_start as an output within a template this way. Maybe I miss something inportant? Otherwise, is it posible to reformat the attributes from the picnic_delivery sensor so that they are without any extra spacing?
The attributes from the 'sensor.picnic_delivery' looks as follows within my HA:
attribution: Information provided by Picnic.app
delivery:
creation_time: '2020-12-01T12:25:16.711+01:00'
delivery_id: eaptye6mqe
slot_id: 5fb312887e212112540051d5
hub_id: (SECRET)
fc_id: FC1
window_start: '2020-12-02T20:19:00+01:00'
window_end: '2020-12-02T20:39:00+01:00'
cut_off_time: '2020-12-01T22:00:00+01:00'
is_available: false
selected: false
reserved: false
minimum_order_value: 3500
unavailability_reason: CLOSED
friendly_name: picnic_delivery
icon: 'mdi:truck-delivery'
Thanks in edvance for helping me out or solving this issue. 😊

Just to be sure, a screenshot of the current state and attributes of the 'sensor.picnic_delivery'.

I solved that with this template:

platform: template
sensors:
picnic_liefer_zeit_anfang:
friendly_name: "Picnic Lieferzeitfenster Start"
icon_template: mdi:clock-outline
value_template: '{{as_timestamp(states.sensor.picnic_delivery.attributes["delivery"]["window_start"]) | timestamp_custom ("%d-%m-%Y %H:%M") }}'

I use this sensor to get informed one hour before the time window closes to order goods:

platform: template
sensors:
picnic_order_last_chance:
friendly_name: "Picnic letzte Chance "
value_template: '{{as_timestamp(states.sensor.picnic_delivery.attributes["delivery"]["cut_off_time"]) | timestamp_custom ("%d-%m-%Y %H:%M") }}'

This is my automation:

id: 'XXXXXXXX'
alias: Picnic letzte Chance
description: Das Zeitfenster zum Befüllen des Warenkorbs endet in 1 Stunde
trigger:

platform: template
value_template: "'{{ (((states.sensor.picnic_order_last_chance.state)| int) -
\ as_timestamp(states.sensor.date.state\n      + '' '' + states.sensor.time.state)
\ |int ) - 3690 < 0 }}'"
condition: []
action:
service: input_boolean.toggle
data: {}
entity_id: input_boolean.shopping_list_message
service: notify.ha_nachricht
data:
message: XXXXXXXX


Windows Search No longer functioning

Describe the bug
After running the tweaks below on a VM running windows 10, the search bar no longer works. Meaning, I see the search bar and after restarting the device there is no response when I click inside the search box field.
(Create Restore Point, Disable Telemetry, Disable Wifi-Sense, Disable Activity History, Disable Location Tracking, Disable Homegroup, Disable Storage Sense, Disable Hibernation, Disable Game DVR, Set Services, to Manual, Set Display for Performance, Disable Notification Tray).
To Reproduce
Steps to reproduce the behavior:
I have tried to rebuild the index, and restart the machine. I have also tried to follow these steps - https://answers.microsoft.com/en-us/windows/forum/all/windows-10-search-bar-not-working-correctly-keeps/8b76b755-6e51-4d9c-bd28-9b1edcaedc02
Expected behavior
I expect to be able to search for my programs in the windows search bar.

It started working as expected. I suspect that there is a different under lying issue causing this. Thank you for the tool!!

how to fix?


logo, branding, and vision

Spike on where this is all going:

[ ] What is the dream product for v1?

Our dream mvp product is a saas product where a user can host a read-only version of their markdown notes and they get a bunch of cool features for free:

graph view of how the notes connect to one another
search/filter tools
single page view of notes that looks great on the web
note navigation (traverse the graph)
pro SEO out of the box

This saas product should be built out of composable packages so that developers can use pieces of it without actually using the saas product if they wish.

[ ] What should everything be named? Is mindgraph the right name?

I'm not great at marketing, but I think mindgraph or just "mind" would both be okay. I think a cool tree name like Baobab or Aspen could work as well because it's like a tree data structure sorta and it grows over time.

[ ] We should create a logo, probs with AI, and make the readmes look super pro

Depends if we go with a tree thing

Or a "mind" thing (this example kinda sucks but you get the idea haha)

[ ] How can we break that dream into composable packages?

@mind/common - code that is shared across multiple packages
@mind/read - responsible for all server-side data manipulation. Basically models and controllers.
@mind/graph - responsible for the graph view on canvas
@mind/ui - shared UI code for traversing the graph and showing notes
@mind/react - react specific code for traversing the graph and showing notes
@mind/any_other_framework - same as above
@mind/share - put it all together into a next.js saas product (still open source and could be deployed internally by teams)

[ ] How will we host our documentation?

Our documentation will be markdown notes and hosted on the sass product? 😄

[ ] Split all this thinking into tickets

once we all agree

@mpryor I updated the issue description with some thoughts. Interested to hear what you like or would do differently 👀. I also put a pretty minimal MVP up, so feel free to throw out bigger ideas if you have any.

@jollyjerr
I think this is great!!
MVP
I have a bunch of other ideas, some that apply to the MVP and some that don't...
Some other things I think we might want to call out in the MVP:

A unique "URL" for their SaaS hosted notes page - obviating the need for deploying/hosting anywhere else. We could derive this from their username, or allow them to provide their own unique path (as long as it doesn't conflict with someone else's path)
A really well made landing page
The concept of "users", and a way to login (Probably with Oauth w/ Github)?

Should we specify in the MVP that the way we intend to have users host their notes is via Github itself?
I think using Github as the storage has a lot of implications:

the need for users/auth
do we allow hosting of non-public repos via some sort of Oauth-type federation w/ Github?

Package breakdown
I think the package breakdown looks solid, I don't really have any concerns with it TBH. Should we create a Github Organization and migrate stuff over to it when we finalize the branding?
Branding
Also... I think I'm a big fan of the tree branding idea - I like what you shared, but I made some attempts at riffing on it too... I think this is the best I came up with so far -

Future thoughts
Just spitballing a bunch of thoughts here.... it's going to be a lot but just want somewhere to write this stuff down

I think MVP comes with a default UI/experience, but long-term it would be really interesting to have enough customization/abstraction in the UI where they can choose different layouts (blog, wiki, notes view, graph view, etc), and each of those layouts could be further customized by our users. Each component could have a bunch of properties that are toggleable/customizable at runtime. One simple example might be that the graph view could have different forces applied on load, or no forces at all.
User/Group management.
An individuals use-case might just be publishing their notes for the world. This could be a blog, a wiki, programming docs, or just regular ole notes.
On top of the individual use-case, we could support enterprise/team use-cases by extending the user concept with groups/RBAC/user management/etc. This could come with "privately" hosted repos that aren't shared to the public but require login, along with group membership to be able to view the notes.
Enterprise/team use-cases could be solved through SaaS, but also maybe a self-hosted solution (super long term)
Ability to edit through our UI - basically a markdown WYSIWYG that could replace the need for users to have/use other editors
If we have edit, we could extend the team/enterprise features to allow users of a team/organization/etc to share edit access to a single repo.
Also, allowing edit through the app could potentially introduce some interesting workflows - Leveraging PRs to "approve" content changes by content administrators, etc
Tagging - ability for users to tag/group notes outside of the repo
Auto-tagging? - some sort of lexical parsing of the notes to automatically derive tags/categories
Linking - ability for users to link their notes together to create a shared experience
Suggested linking?? (hey we see you have similar content to user X, or organization Y - do you want to propose a link?)
Explore page as part of core SaaS - allow people to find user content based off recommendations/categories/etc
Ability for users to publish their content to an "explore" page, or explicitly deny their content from being found on the explore page

notree


Add Python3 Support

Add Python3 Support along with some fix for the README file

Hi @lospooky thanks for you awesome package, is there any plan to merge this PR ?

Why is this not merged?? @lospooky


Customization options

Hi @kahkhang thanks for this repo. It worked flawlessly :+1:  I would like to know tips for changing coreos version and customize others stacks

HI @devdlabs , hmm upgrading involves changing the kubernetes manifests, as well as the systemd config for kubelet.service. As for other stacks, if you are looking at installing other applications, I would recommend starting with Kubernetes Helm (https://github.com/kubernetes/charts) since it is rather easy to install. I might create a tutorial sometime on how to update the manifests file in the future, so stay tuned!


More header cleanups: add needed, removed unnneded.

This time, after the previous cleanup, this now could be done automatically with
.github/bin/run-clang-tidy-cached.cc --checks="-*,misc-include-cleaner" --fix

The subsequent BUILD file cleanups (DWYU - Depend on What You Use) has been done with bant (github.com/hzeller/bant).

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

Project coverage is 92.92%.  Consider uploading reports for the commit f56ee79 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2117   +/-   ##
=======================================
  Coverage   92.92%   92.92%
=======================================
  Files         359      359
  Lines       26666    26666
=======================================
  Hits        24780    24780
  Misses       1886     1886

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

With this one, we now have a well-layered include and dependency chain, so these checks can be enabled (bazel layering_check is already enabled, need a newer clang-tidy to also get the misc-include-cleaner checks).
Overall, this will make sure that we keep dependencies and includes of the the project in order almost automatically.


pull request for e2e test at 01/28/2017 20:15:17

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Move Microsoft.VCRedist.2022.arm64 14.34.31823.3 to Microsoft.VCRedist.2015+.arm64 14.34.31823.3

Microsoft Reviewers: Open in CodeFlow

Possible duplicate package entry.
Similar installer SHA256 hash found in manifest:

InstallerSha256:<PHONE_NUMBER>f466fa1eb030bae3170afa046ec9cd8e6e6a387d33e9cbb82fec18

manifests\m\Microsoft\VCRedist\2022\arm64\14.34.31823.3

Verify by hash.


Add a heron downloader to download and extract topology packages.

This is needed to offer support for downloading topology packages from storage systems that do not support a http interface.

Ship it - once the CI passes.


The process "2488" not found

🐞 Bug report
ERROR: The process "2488" not found.
Description
I have no indication of what to do next in this context.
🔬 Minimal Reproduction
I have followed all the steps in the getting started guide and when reaching the point to run ng add @scullyio/init I have these logs
$ npm run scully

><EMAIL_ADDRESS>scully <local-path>
> scully

 âº   new Angular build imported
 âº   Started servers in background
Finding all routes in application.
traversing app for routes
Pull in data to create additional routes.
No configuration for route "/details/:name" found. Skipping
Route list created in files:
  ".\dist\static\assets\scully-routes.json",
  "<local-path>\dist\<my-user-name>\assets\scully-routes.json",
  "<local-path>\src\assets\scully-routes.json"

Route "" rendered into file: ".\dist\static\index.html"

Generating took 13.67 seconds for 1 pages:
  That is 0.08 pages per second,
  or 13675 milliseconds for each page.

  Finding routes in the angular app took 7.94 seconds
  Pulling in route-data took 2 milliseconds
  Rendering the pages took 3.01 seconds

ERROR: The process "2488" not found.

💻Your Environment
Windows machine running git bash
Angular Version:
9.1.9
🔥 Exception or Error
ERROR: The process "2488" not found.

Closing as duplicate of #79

Closed without solution?
In the closed mentioned issue there is no solution...
So the bug persist and you simply do not care?

We do care, but as the bug is inside the c part of NodeJs, and its actually not in the way of anything. (it is just visually disturbing, and not affecting anything in the Scully runtime) There is not so much we can do.
Its not a bug, but a false-positive form the node runtime on windows.
This is all explained in #79. As there is no update or change there is no use in keeping this issue open.
We are tracking the progress inside the node-repo and will leave an update in #79 when its resolved.
As there is nothing we can do in Scully, there is no use of keeping the issue open.


Add tucker island map to homepage

Task
The main map needs to be added to the homepage.
Implementation
Since we will need to have the map move later when we add mobile support I would use either an img tag or use css to set it as a background image. The empty ocean part may come in handy if we need introductory dialog on the right side but otherwise it should be removed.
Other Considerations
We will be adding locations separately over the top so we need the map to stay consistently positioned relative to something. We will also be getting a map version without towns or names but this can be substituted later.
Here is the file.
References
Epic: #24
Pull Requests:

Issue completed.


Support canonical ledger entry names in ledger/ledger_data/account_objects "type" field.

Summary
The ledger, ledger_data , and account_objects methods accept a type field to filter the results to specific types of ledger entries. The values you pass in aren't always possible to determine from the entries' canonical JSON names so it's kind of a guessing game.
Since all of these methods are returning raw/canonical ledger entries anyway it would make more sense if the type field of these requests matched the canonical names as they appear in the LedgerEntryType field. Maybe for convenience they could be case-insensitive.
Motivation
Would you be able to guess all of the short names in this table?

Canonical Name
Short Name

AccountRoot
account 😉

Amendments
amendments

Check
check

DepositPreauth
deposit_preauth

DirectoryNode
directory 😩

Escrow
escrow

FeeSettings
fee 😮

LedgerHashes
hashes 😑

NegativeUNL
(No short name defined—can't filter by this type.)

NFTokenOffer
nft_offer 🤔

NFTokenPage
(No short name defined—can't filter by this type.)

Offer
offer

PayChannel
payment_channel 😅

RippleState
state 😓

SignerList
signer_list

Ticket
ticket

(Emoji are not part of the names, I just added them as reactions to point out the less obvious ones.)
These short names also have to be manually added to the API methods whenever new types of ledger objects are implemented.
Solution
Modify these APIs (and any others that have a similar field, though I can't think of them offhand) so that type accepts the canonical name, case-insensitive. For backwards compatibility, continue to also support the existing short names (but mark them deprecated in the documentation).
Preferably, also do it in such a way that when someone develops a new ledger entry type, these methods support filtering on the new type using the canonical name with no new/additional code to the methods.
Relevant Source Code
https://github.com/XRPLF/rippled/blob/ebbf4b64a57d2673d54a6b25def7726601d99bf9/src/ripple/rpc/impl/RPCHelpers.cpp#L894

Consider adding to table: nft_page

Given that Clio is intended to be a full replacement of the rippled API (for clients), this issue likely makes more sense for Clio to consider. With the lack of developer demand, the rippled behavior will be left alone.


Add support for params in group by

To be able to use groupByType we need to keep the hidden fields, there are cases where after we group the items we want those fields to not be present.
This PR adds the ability to provide OneParams to groupByType with {parse:true, hidden:false} so that the items are cleaned before they are added to a group.

Thanks for sticking with this. Appreciated.


VSTS - Add Reviewers & Assignees

Link to https://github.com/singapore/renovate/issues/1149

Thanks. Do we need to make any more changes to scripts to allow for windows?

First it's a .sh script. So not native to windows. => Need to change this
Second I had problem with \r and \n => Need to investigate this
I would say that this is not link to this PR. You could create a ticket for that? With prio low?
And merge this one? :)


run-workers failure output Fix/2621

Fix test failure output of the run-workers command

This pr applies the _updateFinishedTests() method to test object after event.test.after event. Bug seems to be occurring because this event was the only one receiving the test.err object, but it wasn't attaching the test id. When the workers.printResults() method was later called in lib/command/run-workers.js, no test id was present to iterate over in lines 415-417 of lib/workers.js when building the failed test results.
Resolves #2621.

Applicable helpers:

[x] WebDriver
[x] Puppeteer
[x] Nightmare
[ ] REST
[ ] FileHelper
[x] Appium
[x] Protractor
[x] TestCafe
[x] Playwright

Applicable plugins:

[ ] allure
[ ] autoDelay
[ ] autoLogin
[ ] customLocator
[ ] pauseOnFail
[ ] puppeteerCoverage
[ ] retryFailedStep
[ ] screenshotOnFail
[ ] selenoid
[ ] stepByStepReport
[ ] wdio

Type of change

[ ] :fire: Breaking changes
[ ] :rocket: New functionality
[x] :bug: Bug fix
[ ] :clipboard: Documentation changes/updates
[ ] :hotsprings: Hot fix
[ ] :hammer: Markdown files fix - not related to source code
[ ] :nail_care: Polish code

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[-] Local tests are passed (Run npm test) *

Just as a note, this is discussed in issue #2621, but to clarify there are two test failures with this change.

  1) Workers
       should run simple worker:

      Uncaught AssertionError: expected true to equal false
      + expected - actual

      -true
      +false

      at Workers.<anonymous> (test/unit/worker_test.js:31:22)
      at Workers._finishRun (lib/workers.js:379:10)
      at Worker.<anonymous> (lib/workers.js:367:14)
      at Worker.[kOnExit] (internal/worker.js:240:10)
      at Worker.<computed>.onexit (internal/worker.js:174:20)

  2) Workers
       should run worker with custom config:

      Uncaught AssertionError: expected true to equal false
      + expected - actual

      -true
      +false

      at Workers.<anonymous> (test/unit/worker_test.js:110:22)
      at Workers._finishRun (lib/workers.js:379:10)
      at Worker.<anonymous> (lib/workers.js:367:14)
      at Worker.[kOnExit] (internal/worker.js:240:10)
      at Worker.<computed>.onexit (internal/worker.js:174:20)

The two failures are on expect(status).equal(false), and I don't know enough about what these tests are trying to do to know if just changing this to .equal(true) instead would be an appropriate fix. Maybe there's another reason they're set this way and I'm missing something. @chwolf encouraged me to issue the PR advising we can improve after the fix is applied.

I guess the issue has been covered by https://github.com/codeceptjs/CodeceptJS/pull/2857 so just close this for now. Feel free to reopen if you think this is something else.


done CTRTransfer to 2.1.0, but can not install arm9loaderhax

Hello Plailect,
I have one issue about New3DS, hope you could help. Thanks in advance.
I was just following the old guide, and I had already downgraded to 2.1.0, then I just follow the last page https://3ds.guide/installing-arm9loaderhax
to prepare the files used to install arm9loaderhax.
But, when I use the browser to try to open the URL http://2xrsa.3ds.guide, I found this URL is no longer available, and I found the webpages are updated. So I am stuck here, and don't know what should I do next.
Should I continue follow the old guide? or should I switch to some step of the new guide? and also it seems the old guide is not accessible any more.
Please help me. Thank you very much.

You can find the old version of that page here.
The URL http://2xrsa.3ds.guide/ still works.

Hi, thanks for providing that page.
But, why when I try to open the URL, the 3DS freezes there? any suggestions? Thanks.


[INLONG-10703][Manager] Manager Add Oceanbase Support

Fixes #10703
Motivation
Added support for Oceanbase data sources to adapt to the Oceanbase ecosystem. close #10703

Modifications
It mainly adds oceanbase data source support and uses the oceanbase-client driver to connect.

It mainly adds oceanbase data source support and uses the oceanbase-client driver to connect. And write oceanbase's ExtractNode logic and LoadNode logic. The specific implementation logic is the same as mysql.Added support for oceanbase on the front-end page. Since the jdbc-inlong processing logic in the flink15 connection lacks the jdbc dialect, an error is reported. This is modified here.
Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)
Here's how the page test works

[ ] This change added tests and can be verified as follows:
Please use the following test classes for testing  org.apache.inlong.sort.parser.MySqlExtractNodeToOceanBaseLoadNodeTest
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no) yes
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)  Data source types have been added to the README.md
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

please add test result with real data from any source to oceanbase
What kind of test data is needed and where to put it

@xxsc0529 please fix the failed workflow.

@xxsc0529 please fix the failed workflow and comments, thanks.

This codeQL doesn't work.,The same logic as mysql here.,I can't detect a lot of the original code here.,Do you have to solve this problem?，If you look at this diagram, the original code containing the DriverManager.getConnection logic did not pass codeQl

@xxsc0529 you could ignore the CodeQL fails, but it's better to click resolve if you fix the comments.

resolve

Resolved


[FLINK-32496][connectors/common] Fix the bug that source cannot resume after enabling the watermark alignment and idleness

backport FLINK-32496 to 1.17

Hi @RocMarshal @mas-chen , this is the backporting of FLINK-32496 for release-1.17. Could you help take a look this PR in your free time? thanks~

Thanks @mas-chen  and @RocMarshal  for the review, merging~


kontrol show to use hex encoding by default

Merging of this PR will close issue https://github.com/runtimeverification/kontrol/issues/505.
This PR changes the default setting for kontrol show to use and display hex encoding and if the user does not want to use hex encoding, he/she can add the option --no-use-hex-encoding.
Questions

Is the help message in this argument okay? Please feel free to suggest a better one.
    show_args.add_argument(
        '--no-use-hex-encoding',
        dest='use_hex_encoding',
        default=None,
        action='store_false',
        help='Print elements in non-hexadecimal encoding.',
    )

I changed the default use_hex_encoding in some of the function, e.g., __init__ from src/kontrol/foundry.py, from False to True and I am not sure if it will affect its dependencies. From the CI failed tests, it seems like it is affecting its dependencies? Should I change them back to the default False?

One limitation of our current hex encoding is that aliases such as maxUInt256 are no longer displayed in the CTerm. Only the hex value is displayed.

One limitation of our current hex encoding is that aliases such as maxUInt256 are no longer displayed in the CTerm. Only the hex value is displayed.

@anvacaru Do you think this limitation should be fix in this PR? I am not too sure how easy/difficult this fix will be. If yes, could I trouble you to point me to files that I can work on? Thank you!

@anvacaru Do you think this limitation should be fix in this PR?

No, that's out of the scope of this PR. I wanted to bring it up, as it could make the kcfg less readable in a way. @PetarMax, what do you think?

We'll need to bring True as default value for use_hex_encoding and update the output before merging, but I agree that 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff is less readable than maxUint256, and I'm worried it'll interfere with the engagement. Good call @anvacaru, thanks! Let's probably postpone merging it for a few weeks or until we figure out how to continue using aliases?

We're missing a few things:

leaving integer constants as they are, e.g., 32 instead of 0x1000000000000000000000000;
preserving aliases such as maxUint256
changing default values in functions back

Closing for now, since we won't make hex encoding the default in kontrol show until it's improved. The list of improvements needed is available in https://github.com/runtimeverification/kontrol/issues/505.


Error (412 Precondition Failed) when creating artifact

On deploying to Vercel and using S3 storage, I get this error when trying to run turbo commands –
{
	"severity": "WARNING",
	"level": 40,
	"time":<PHONE_NUMBER>166,
	"pid": 9,
	"hostname": "<IP_ADDRESS>",
	"reqId": "q-nGx8L1TCaa2laKhCeJRA-25",
	"data": {
		"message": "Access Denied",
		"code": "AccessDenied",
		"region": null,
		"time": "2022-06-13T12:23:07.166Z",
		"requestId": "KRFCEX6FM17HZD2Z",
		"extendedRequestId": "xYHj4oepC5Eu4oD0QcrQcTGCbOyITRXV7rp2JSXa1RwAVSOKsiI0b2gkABewiDxQXa7GN+8RUGM=",
		"statusCode": 403,
		"retryable": false,
		"retryDelay": 26.181109834484474
	},
	"isBoom": true,
	"isServer": false,
	"output": {
		"statusCode": 412,
		"payload": {
			"statusCode": 412,
			"error": "Precondition Failed",
			"message": "Error during the artifact creation"
		},
		"headers": {}
	},
	"stack": "Error: Error during the artifact creation\n    at Object.handler (/vercel/path0/src/plugins/remote-cache/routes/put-artifact.ts:29:31)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
	"type": "Error",
	"message": "Error during the artifact creation"
}

I've made sure the environment variables are correctly set up, the IAM credentials are right, and that the user has full adminstrator access on AWS.

Hi. Would you mind providing a reproduction repository?

@fox1t I just clicked on the Deploy to Vercel button and set up the environment variables. The repository is exactly the same as this.

I ran into the same issue. I think the problem is, that the vercel deploy link contains S3_ACCESS_KEY and  S3_SECRET_KEY instead of AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. But those AWS_ vars can not be set on vercel, because they are protected.
According to the docs](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html) the aws-sdk doesn't look for those S3_ vars. I'm not sure if that was different in the past?
One easy fix could be sticking with the S3_ vars and settings those manually.
// src/plugins/remote-cache/storage/s3.ts
// ...
export function createS3({ bucket, endpoint }: S3Options) {
  aws.config.update({
    accessKeyId: process.env.S3_ACCESS_KEY,
    secretAccessKey: process.env.S3_SECRET_KEY,
    region: process.env.S3_REGION,
    signatureVersion: 'v4',
  })

  const client = new aws.S3({
// ...

This is a good point! We should remap the AWS_ to S3_ ones. Would you mind open a PR?

https://github.com/fox1t/turborepo-remote-cache/issues/31


Reduce default RotateMaxBackups count

Signed-off-by: sunwp<EMAIL_ADDRESS>
Description
Reduce default RotateMaxBackups count

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] 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)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #1162 (2d9964b) into main (9155d1b) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1162      +/-   ##
==========================================
- Coverage   46.00%   45.98%   -0.02%
==========================================
  Files         130      130
  Lines       10045    10045
==========================================
- Hits         4621     4619       -2
- Misses       4900     4902       +2
  Partials      524      524

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
45.98% <ø> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_conductor.go
57.21% <0.00%> (-0.37%)
:arrow_down:

client/daemon/peer/piece_broker.go
88.88% <0.00%> (+3.70%)
:arrow_up:


Whole numbers don't show precision / decimal place

Hello,
My client wants one decimal place of data showing in their pie chart.  This works when the percentage is not a whole number.  In a given example, there is the number 19% on one of the slices.  I would expect that if precision is set to 1, that it would say 19.0% in order to be consistent with all of the other numbers, which do go to 1 decimal place. The client wants it this way and I'm not sure if there's anything I can do. Is this a bug? Could the ".0" be added to whole numbers?
Thank you.

I just happened to stumble upon this, but perhaps you could use a function in the 'render' option, rather than the default 'percentage'.
new Chart(ctx, {
  type: type,
  data: data,
  options: {
    plugins: {
      labels: {
        // render 'label', 'value', 'percentage', 'image' or custom function, default is 'percentage'
        render: function(options){
            var value = options.value; // something like a floating point number, possibly an integer
            return value.toFixed(1) + "%";  // this is probably enough
        },
        // other options...


Several repositories say that "Page does not exist"

Here's a few of them that are valid repositories but issue stats say they don't exist:
kentprimrose/12env
meza/AAO-js
amoa400/aa-mysql
and a lot more.. why are these not returning any stats?
Thanks

These are now working.. I guess they take some time in first place.

I would like to understand if these pages get queued or if they are simply discarded. Also why does this happen in first place? Is because of api rate limits?


Added Slovak QGIS user group

More details: https://qgis.sk/

I do not have write access to this repo - can someone merge it please? :-)


[LLM] Fix error when config.bs is more than input bs.

PR types

Others
PR changes

Others
Description

Fix error when config.bs is more than input bs.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: yuanlehome:x: liuzichang01liuzichang01 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Docstore][Question] id auto increment (?

Hello i have a question , i wanna do something like this but with the _id in auto increment with docstore, i really dont know how to do that, i see the documentation but in all examples i see a _id predefined, somebody can help me please , thanks a lot <3
{   _id: 'X',   name: 'kypanz',   country: 'chile' }

Can you be more specific of what you mean by auto increment?
I am assuming you are talking about the ID increasing as you add more entries. If you are adding all the entries at the time, you can increment the ID of each entry in a for loop. Or if you are trying to randomly add a new entry, first you would need to find out whats the last entry ID, store.get() (process in between to check for the last entry) then increment based off the last entry.

Hello i have a idea how to do this , but i think my idea is not the best way ( i really dont know how to do this, but i trying )
example :
ipfs.on('ready', async () => {   const orbitdb = await OrbitDB.createInstance(ipfs)   const db = await orbitdb.docstore('usuarios');   await db.load()   var value = db.get('0')   var count = Object.keys(db._index._index).length;   count += 1;   await db.put({       _id:''+count,       nombre:'Kypanz',       proyecto:'orbitdb usage'   })   console.log('result : ',db);   console.log('count : ', count); })
i take the length of the entrys with this line :
var count = Object.keys(db._index._index).length;
but i think is not the way to do this.
can you give me a example to use store.get ? , thanks a lot for the answer

Honestly, that's the best way to do it. The object is already on the heap and it will generally return the correct value. You'll need to make sure to continue calling db.load() as you're doing it to keep the in-memory value up to date.

thanks a lot guys for the fast answers, have a good day <3, i go to keep learning orbit db


[SENSOR] connected microphone usage

What are the sensors you would like to see in Go Hass Agent? What do they measure? Why are they useful? How would you use them in Home Assistant?

A sensor that records when a connected microphone is being used
Just whether the microphone is in use or not.
As a binary sensor, could be used to change lights/shut doors/send notifications to indicate someone is on a call/streaming etc.

How do you access the sensor(s) currently?

It's not clear whether this is exposed anywhere or easily measure. Pipewire on Linux might hold something like this.

I'm not 100% sure if you have access to this on your end, but a couple things that might be helpful:
You can see a list of all microphones using arecord:
jay@Navua-Neon:/dev/snd$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Ultimate [Razer Nari Ultimate], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: C930e [Logitech Webcam C930e], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

If the microphone is in use, lsof will return an output associated with it - assuming you know the microphone ID (capture information on card 1, device 0 here - aka C1D0c or Card1Device0capture).
jay@Navua-Neon:/dev/snd$ lsof /dev/snd/pcmC1D0c
lsof: WARNING: can't stat() overlay file system /var/lib/docker/overlay2/5fded3f178384781127daf6c34fabba88f8e1146d286fd8fbe0db0c59229a534/merged
      Output information may be incomplete.
lsof: WARNING: can't stat() overlay file system /var/lib/docker/overlay2/452460be3173a7bd5e56d88f8a2ca775a4c6fad529d6216c671fbad21873c55c/merged
      Output information may be incomplete.
lsof: WARNING: can't stat() nsfs file system /run/docker/netns/997e324acb67
      Output information may be incomplete.
lsof: WARNING: can't stat() nsfs file system /run/docker/netns/3c6298a7ffce
      Output information may be incomplete.
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 1284  jay  mem    CHR 116,17          1218 /dev/snd/pcmC1D0c
pulseaudi 1284  jay   91u   CHR 116,17      0t0 1218 /dev/snd/pcmC1D0c

If the machine has PulseAudio, you can do that to get cleaner output without needing to fumble through figuring out which devices are available:
jay@Navua-Neon:/dev/snd$ pactl list source-outputs
Source Output #33
        Driver: protocol-native.c
        Owner Module: 10
        Client: 29
        Source: 3
        Sample Specification: s16le 1ch 44100Hz
        Channel Map: mono
        Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
        Corked: no
        Mute: no
        Volume: mono: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Source Latency: 2507 usec
        Resample method: n/a
        Properties:
                media.name = "recStream"
                application.name = "ZOOM VoiceEngine"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "35"
                application.process.id = "61602"
                application.process.user = "jay"
                application.process.host = "Navua-Neon"
                application.process.binary = "zoom"
                application.language = "en_US.UTF-8"
                window.x11.display = ":1"
                application.process.machine_id = "b6874eae2f1547e582d67dd83ca49e8e"
                application.process.session_id = "1"
                module-stream-restore.id = "source-output-by-application-name:ZOOM VoiceEngine"

In this case, Zoom is using my microphone (process 61602).
Output is empty when nothing is using the Pulseaudio microphone:
jay@Navua-Neon:/dev/snd$ pactl list source-outputs
jay@Navua-Neon:/dev/snd$


Improvements to Error types (part 4)

Removes controversial aspects from #560 (all io::Error-related changes) and leaves the rest

Had to rebase, so @sanket1729 will acknowledge re-review


fix(packages/typescript): Fix not to overwrite tsconfig

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

The packages/typescript setup process is breaking the existing tsconfig.
For example, there is the following destruction.
{
  ...
  "compilerOptions": {
    "lib": [
      "dom",
      "es2015"
    ]
  },
  ...
}
↓
{
  "compilerOptions": {
    "lib": [
      "dom",
      "es2015",
      "dom"
    ]
  },
}

This is a problem due to using loash.defaultsDeep.
https://github.com/lodash/lodash/issues/2801
But, I thought that overriding the default tsconfig settings to the existing tsconfig was a problem. So I changed to create a default tsconfig only when tsconfig did not exist.
Fixes: #5338
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[x] I have added tests to cover my changes (if not applicable, please state why)
[x] All new and existing tests are passing.

Codecov Report

Merging #5356 into dev will decrease coverage by 0.3%.
The diff coverage is 33.33%.

@@           Coverage Diff           @@
##            dev   #5356      +/-   ##
=======================================
- Coverage    96%   95.7%   -0.31%
=======================================
  Files        74      74
  Lines      2529    2512      -17
  Branches    640     640
=======================================
- Hits       2428    2404      -24
- Misses       85      91       +6
- Partials     16      17       +1

Impacted Files
Coverage Δ

packages/cli/src/utils/typescript.js
27.27% <0%> (-3.5%)
:arrow_down:

packages/typescript/src/index.js
88.88% <66.66%> (-11.12%)
:arrow_down:

packages/vue-renderer/src/renderer.js
92.07% <0%> (-3.45%)
:arrow_down:

packages/webpack/src/builder.js
94.94% <0%> (-0.06%)
:arrow_down:

packages/utils/src/locking.js
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@sawa-zen Thanks for your time, we already planned to change this behavior, we will switch back to the extends way. So there won't be defaultDeeps anymore.

This should also fix deploying Nuxt 2.5.x with TypeScript on Now, which currently produces the following fatal error:
FATAL  EACCES: permission denied, open '/home/nowuser/src/tsconfig.json'

Merged in #5367


Remove auto-hep limitation

Remove limitation of auto-HEPs (that it requires BPF mode to work on AKS and EKS).
Product Version(s):

Tested on Enterprise v3.17+ and Calico Cloud.
Issue:

Link to docs preview:

SME review:

[x] An SME has approved this change.

DOCS review:

[x] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

LGTM. Ready to merge?

Yes, ready to merge.  Thank you!


Advanced Logbook: "Transmit Power" Column missing, also missing in "Edit"

In the Advanced Logbook there is no column for "Transmit Power".
Also, "Transmit Power" ist missing from "Edit", so it is impossible to do mass changes for this QSO field.
Version Information
OS: DietPi 9.7.1 (Bookworm)
PHP: 8.2.24
MySQL/MariaDB: 10.11.6-MariaDB-0+deb12u1
Wavelog: 1.8.8
Steps to Reproduce
Open Advanced Logbook (no column for Transmit Power).
Try to change Transmit power via the Edit button (Transmit Power missing from dropdown selection options).
Expected Behavior
Transmit Power showing in Advanced Logbook and possible to change via edit button.
This is necessary to change the differing transmit power for digimode QSOs, which are logged with the default power via the API (the digimode program is not sending that info).
Desktop Information:
OS: macOS 15.0.1
Browser: Safari

Please not forget to add any new columns to "Options for the Advanced Logbook" as well. ;-)

It's all in #1146.

@xyz667 the code is in dev, if you run that branch. If not, wait for release :)


[1.12.2] Refined Storage isn't accepting liquid from different mod.

Issue description: Refined Storage isn't accepting liquid from different mod.
What happens: The Refined Storage isn't accepting the Essence from Industrial Foregoing and Menril from Integrated Dynamics.
What you expected to happen: They should be stored as fluid.
Steps to reproduce: Import from tank / block.
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge: <IP_ADDRESS>32
Refined Storage: 1.5.32
FTB Pyramid Reborn: 2.1.1

Does this issue occur on a server? [yes/no] no

Is your importer in fluid mode?

Now I feel like Idiot. I'm sure I had it set to accept liquids and had space for the liquid.
But when I was trying to reproduce it in test world today... it works.
I will check the game and try to find out what's messing with it.

So I was in my game world and all was set right. Importing Fluids and I had valid space for the liquids.
Yet it didn't work. So I restarted game, broke everything down, reworked it a bit and now it works.
I don't know why it didn't work before everything seemed to be right set as it should be.
I'm sorry for bothering you :/


status: Status | str = Status.UNKNOWN TypeError: unsupported operand type(s) for |: 'EnumMeta' and 'type'

I was using python 3.9 and installed all libraries in requirements.txt but I still get the error:
Traceback (most recent call last):
File "C:\Users\denis\PycharmProjects\EmotionOptimization\launch.py", line 16, in
from simulation.model import simulate_model, SIRModel
File "C:\Users\denis\PycharmProjects\EmotionOptimization\simulation\model.py", line 18, in
from simulation.agent import SIRAgent, Agent
File "C:\Users\denis\PycharmProjects\EmotionOptimization\simulation\agent.py", line 14, in
from simulation.types.agent import Status, AgentTime, AgentSpec
File "C:\Users\denis\PycharmProjects\EmotionOptimization\simulation\types\agent.py", line 48, in
class AgentState:
File "C:\Users\denis\PycharmProjects\EmotionOptimization\simulation\types\agent.py", line 50, in AgentState
status: Status | str = Status.UNKNOWN
TypeError: unsupported operand type(s) for |: 'EnumMeta' and 'type'

Python 3.9 is not supported, please use Python 3.10.

Ok, for python 3.10 everything really works without problems.


City temperature with wttr.in

hi guys, i want to implement this $ curl wttr.in in the menu JWM and does not work!
however, the terminal works, do you have any idea?
obs.: in https://github.com/chubin/wttr.in
vlw fwi, Holmes :)

Its actually much simpler than what you think.
Just use the dynamic tag with exec: and have your script format the curl output to the appropriate xml.
One thing I would recommend though, is to cache the data for a certain period of time so that you don't  have to wait for the server every time you open the menu.

hi @technosaurus
i add exec sakura curl wttr.in in menu and not work!
vlw fwi, Holmes :)

exec:sakura -e "bash -c 'curl wttr.in'"
Should give better results for you
OR if in the menu
<Program label="Holmes Weather" icon="terminal">sakura -e "bash -c 'curl wttr.in'</Program>

hi @Israel- i tested here, but the terminal closes! also I tested other combinations and it is the same...
vlw fwi, Holmes :)

ahhhh... maybe try
sakura -e "bash -c 'curl wttr.in;exec bash'

sakura -e "bash -c 'curl wttr.in;exec bash'"
hi @Israel- works!
would you explain for me to understand: -e and bash -c
thank you so much...
vlw fwi, Holmes :)

sure thing @holmeslinux
sakura -e  is like most terminal emulators
xterm -e OR x-terminal-emulator -e
do the same thing.
the -e  specifies a command to Execute
the " shows the command to execute.
bash -c is similar to what JWM does to execute things from menus (Joe uses sh )
bash -c is bash -Command
I enclose the bash command in ' to show the entire command being executed by the shell.
the final part
;exec bash
simply executes the bash shell (keeping the terminal open) the ';' will allow the exec bash to run even if the command fails (so you can find the error, or if you are doing something like echo "Hi" OR ls)
I hope that is clear enough.
And I think this issue can be closed now :smile:

thank you @Israel- for the explanation.
now I understand!
vlw fwi, Holmes :)

How about starting a wiki page: "jwm helpers" for this kind of info.

A wiki would be nice for this type of thing, but it's not something I really want to maintain.  If someone wants to start one, please feel free.


Output to new Gemfile

Is there a way export the current list from the Gemfile.lock into a new Gemfile?
Would be super handy if bundle show could be formatted to be used in a new Gemfile.

Bundler doesn't currently have this functionality, particularly because information such as groups, platform and install conditionals are not stored in the lockfile and must be read from the Gemfile

I'm closing this as the main question has been answered. Feel free to open a new issue if you have any more questions.


Output multiple modulefiles

It would be really handy to output multiple modulefiles from a single cygnet file / install.  Some products come bundled together it it's better to install them all together than to try to do separate installations for each component.  In particular is ansys, which should also create fluent, CFX, autodyn, icemcfd etc rather than having separate cygnet files for them all, or filling up the path of a single ansys module.
The function maali_module is quite long and complicated now, so I'd rather not write a custom version in the cygnet file that can output multiple modulefiles.

Not appropriate for Maali to operate this way


Before save and before delete view events should not continue if result is false

Allow custom validations on objects and prevent saving if conditions aren't met
For example:
beforeSave(obj){
if(obj.attr('value') !== true){
//doesn't validate
return false;
}
return obj;
}

Duplicated from https://github.com/roemhildtg/can-crud/issues/20 somehow.


Compositing Operations

We want it to be possible to use Modifier::Composite on blocks which both have tick_actions. This means:

Defining an algorithm for compositing operations — which might be fully general, or only support simple self-modifying cases like Operation::Become and Operation::StartMove.
Passing enough information through the Composite and CompositeOperator implementation to know how to execute the composition of operations, while still accounting for things like the reverse flag.
Making it possible to compose arbitrary tick_action schedules, which means that block::TickAction may need to represent multiple schedules and operations, and time::Schedule may need to be able to represent the union of any two schedules.

This turns out to require rethinking of how all modifiers interact with operations. As I wrote in 21320943d8edb872f676e23149b8998b7555a073 which adds some inactive code that would try to implement compositing operations:

The big problem: this breaks move_inside_composite_destination(), because there are two potential semantics for modifiers acting on ops:

modifiers modify the ops to stack on their effects, and
modifiers are usually inert; the originally provided op applies to the whole block,

and Move kind of assumed 2 while our new Composite is (necessarily?) doing 1 in order to incorporate the source block.

I believe we need to switch everything to “case 1” and, in particular, Modifier::evaluate() should, instead of receiving block and this_modifier_index, receive a “view” of the original block which consists of the block without any of the current or following modifiers, which can then be built on by modifier evaluations. (Hm, how many reallocations does that demand?)

Another example of “case 1” being the right choice: suppose a block with a Become operation has a Modifier::Inventory — surely the inventory should not be destroyed by default, so the inventory modifier must copy itself into the new block. (And in cases where the inventory should be destroyed, that can be expressed by its new InvInBlock parameters.)

Commit d5b7ce7ae713c9d04a77bd82583274dcd315a5b9 switches over to “case 1” for Move and Composite.

Relevant ignored tests have been enabled.
This enabled e8c6cfb5dd0abd9c49f41cdcc7a4cc31be857acc, unlockable doors in the dungeon.

However, the original goal of general operator composition is not yet achieved: we still need composable schedules and handling operators other than Become.


adapt to support epsilla cloud

Description

support epsilla cloud in langchain
update related documents

@baskaryan please review, thanks

@baskaryan @sbusso @jarib @zeke please help review, thanks

the vercel deployment still failed after I haved rollbacked the file epsilla.ipynb's content to the same with main branch of langchain, please help to check what's the failed error of vercel deployment (I cannot check it), thanks!
by the way, can I find you on discord or please create a channel for us on discord? so we can quick fix this issue and merge this code.
Many thanks @baskaryan @ccurme @efriis

I created another pr, https://github.com/langchain-ai/langchain/pull/26065, only 3 lines changed, but still failed at vercel deployment failed!
Would you please help check why it failed? @baskaryan @ccurme

Closing in favor of https://github.com/langchain-ai/langchain/pull/26065


alpha.cuelang.org: use dartsass instead of libsass

What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/d4f828def30785183f20e89f661717a2ac246604
What did you do?
We currently use libsass as part of the Hugo extended builds. The extended edition is much larger and requires CGO, hence we cannot quickly depend on a fork of Hugo (for example in the situation when we need to depend on a later version of chroma).
https://github.com/gohugoio/hugo/issues/8299#issuecomment-1600245767
Libsass is deprecated
We can't use the latest scss functions (color module etc) because libsass doesn't have them
Check if these steps are still the way to go? :

Install dart-sass
Update readme to add dart-sass as a requirement
Update scss to use latest colour functions etc (maybe related to updating packages & linters, maybe this can be done separately?)

This work was started in https://github.com/cue-lang/cuelang.org/pull/449 which might well act as a good starting point.


cifar10 32*32 doesn't work in ipython

When I modified the image size in the ipython notebook in the example for the cifar10 to 32*32. The kernel always restarts. Would  you please help? Thanks

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Command or function for changing theme

Requested feature
Add a command or Lua function for changing themes. This would let the user switch theme without restarting vim.
For example:
require("lualine").set_theme("onedark")

Motivation
I change themes a lot. Mostly, I change between a light theme and a dark theme based on the ambient light in the room. Currently, switching themes in lualine requires modifying the configuration and restarting vim.
It's possible to do this already by unloading lualine (using plenary) and setting it up from scratch using the setup function. This is a massive pain, and it would be awesome to be able to "hot" swap themes with a single command or function call.

Hot swapping theme was possible in the past and was removed #130 . And @hoob3rt has already declined to put it  back #207

Resolved in #311
You can do
require'lualine'.setup{options={theme='my_theme'}}

To change theme

@shadmansaleh I tried the command but my lualine didn't change after calling it.

What's exactly did you run and and did you run on #311 ?

@shadmansaleh :lua require'lualine'.setup {options = { theme = gruvbox }}. I'm using a non gruvbox theme on startup, that command did change it to gruvbox.

@shadmansaleh ah, I'm sorry, false alarm, I just noticed I forgot to quote gruvbox. It's working as expected.


Massive issue-slaying PR to address ALL THE THINGS (well, many of them)

I addressed all of these in the update to the PR, so are we good to merge?

I pulled in all the suggested changes.


Having the wrong start block generates non-intuitive error messages

firehose-antelope is hard-coded to start at block 2.
In this chain, the first start block is actually 3.
After upgrading to latest firehose-core, the substreams tier1 node doesn't start. Log is below.  Settting common-first-streamable-block: 3 allows the substreams tier1 node to start
In earlier versions of the software I guess having the correct start block was not checked.
Perhaps the error message could be more clear?
Maybe print a message it is checking the start block can be found?  Not sure what is best.  It took a bit to figure out the problem from the debug messages available.
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.194Z INFO (dtracing) registering development exporters from environment variables
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.194Z DEBG (fireantelope) ulimit max open files before adjustment {"current_value": 1000000}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.194Z DEBG (fireantelope) no need to update ulimit as it's already higher than our good enough value {"good_enough_value": 1000000}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.194Z INFO (fireantelope) setting GOMEMLIMIT relative to available memory {"percent": 95}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.195Z DEBG (fireantelope) fireantelope binary started {"data_dir": "/var/lib/dfuse"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.195Z INFO (fireantelope) starting Firehose on Antelope with config file '/etc/dfuse/config.yml'
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.196Z DEBG (fireantelope) launcher created
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.196Z INFO (fireantelope) launching applications: substreams-tier1
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.196Z DEBG (fireantelope) creating application {"app": "substreams-tier1"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.196Z INFO (substreams-tier1) setting up grpc authenticator {"config_url": "grpc://pinax-authenticator-grpc.service.march.consul.eosn.io:9000?continuous=true", "en
dpoint": "pinax-authenticator-grpc.service.march.consul.eosn.io:9000", "continuous_auth": true}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.196Z DEBG (fireantelope) launching app {"app": "substreams-tier1"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.196Z INFO (substreams-tier1) running substreams-tier1 {"config": {"MergedBlocksStoreURL":"s3://ceph-gw.service.march.consul.eosn.io:7480/telostest-sf-v3-merged-bl
ocks?region=none&insecure=true","OneBlocksStoreURL":"s3://ceph-gw.service.march.consul.eosn.io:7480/telostest-sf-v3-one-blocks?region=none&insecure=true","ForkedBlocksStoreURL":"s3://ceph-gw.service.march.consul.eosn.io:7480/te
lostest-sf-v3-forked-blocks?region=none&insecure=true","BlockStreamAddr":"dns:///telostest-sf-relayer-v3.service.march.consul.eosn.io:9000","GRPCListenAddr":":9999","GRPCShutdownGracePeriod":1000000000,"ServiceDiscoveryURL":nul
l,"StateStoreURL":"/var/lib/dfuse/localdata","StateStoreDefaultTag":"","StateBundleSize":1000,"MaxSubrequests":4,"SubrequestsEndpoint":"localhost:5000","SubrequestsInsecure":false,"SubrequestsPlaintext":true,"WASMExtensions":nu
ll,"PipelineOptions":null,"Tracing":false}}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.197Z DEBG (dstore) sanitized base path {"original_base_path": "/var/lib/dfuse/localdata", "sanitized_base_path": "/var/lib/dfuse/localdata"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.197Z INFO (substreams-clients) setting up basic grpc client factory (no XDS bootstrap)
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.197Z DEBG (substreams-service) setting up firehose source
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.197Z INFO (substreams-service) creating new joining source {"cursor": "<nil>", "start_block_num": 2}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.197Z DEBG (bstream) error getting source_from_block_num {"error": "no lib"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.197Z DEBG (bstream) source connecting {"endpoint_url": "dns:///telostest-sf-relayer-v3.service.march.consul.eosn.io:9000"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.203Z DEBG (bstream) new incoming file {"filename": "0000000000"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.203Z DEBG (substreams-service) launching processing of file {"base_filename": "0000000000"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.203Z DEBG (substreams-service) open files {"count": 1, "filename": "0000000000"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.203Z DEBG (substreams-service) feeding from incoming file {"filename": "0000000000"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.213Z DEBG (bstream) error getting source_from_block_num {"error": "no lib"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.213Z DEBG (substreams-service) source shutting down {"error": "stop block reached"}
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: 2024-01-26T03:27:29.213Z ERRO (fireantelope)
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: ################################################################
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: Fatal error in app substreams-tier1:
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: getting block type from stream factory: stop block reached
Jan 26 03:27:29 telostest-sfsf69 sf[196934]: ################################################################

Note also that the firehose grpc service starts fine with the wrong start block.  Probably it should do the same check as substreams?

That "check" at the launch of substreams was a bad idea. We now have the flag --substreams-tier1-block-type to specify the type of block to expose natively in substreams (this flag was actually "just" renamed yesterday)
Checking merged-blocks just to find a "block type" is now the fallback mechanism if none were set.
fireeth now specifies the blocktype in the config, if you run a custom binary for antelope (fireantelope), you could set the fixed antelope block type in the "chain config", like this:
https://github.com/streamingfast/firehose-ethereum/blob/71064c8f67534d5418e86672422d311c1199e70c/cmd/fireeth/main.go#L47
With this (either hardcoded in fireantelope or passed as a parameter to firecore), the program will no longer try to load blocks at boot time and fail miserably, which used to cause more harm than good.
It doesn't solve your need to automatically detect a config error (which will manifest later when trying to get blocks) but it will probably bubble up as errors that make more sense (like "no linkable block" or something like that).
A runtime check of the existing block is IMHO a bad idea, it causes quite a few edge cases when bootstrapping chains or starting up with a chain that doesn't have the first 100 merged blocks file yet

Just to note, Johnathan from my team ran into this problem again recently.

See also: https://github.com/streamingfast/firehose-core/issues/62


Capitalization prevents dialogs from being displayed in Chrome

Type of issue
Bug
Uploader type
Reproduced when using S3 (but probably irrelevant)
Bug details
Fine Uploader version
5.5.2
Browsers where the bug is reproducible
Chrome 49. Firefox 45 does NOT have the same issue. No others tested.
Operating systems where the bug is reproducible
Ubuntu 14.04
Exact steps required to reproduce the issue
Enable deletion and force confirm:
...
	deleteFile: {
		enabled: true,
		forceConfirm: true,
		endpoint: "/server/file"
	},
...

Then upload a file and attempt to delete it once the upload is complete.
Detailed explanation of the problem
On following the above steps we expect a dialog box asking for confirmation. Nothing is shown and the file is not deleted. No request is made to the server.
In this file:
https://github.com/FineUploader/fine-uploader/blob/a0461a8d858f3c0f0ff186af79158cc988104d87/client/js/templating.js
on line 223, in getDialog(), changing the string "Dialog" to "dialog" resolves the issue.

Please show your HTML template and the rest of your JavaScript code, along with any log messages printed to your browser's dev tools console. As it stands, with what you have provided, this is not reproducible, so there is something specific about your environment or code that is causing this issue to occur.

Apologies, it seems that this is due to my including CSS from Zurb Foundation 5, which by default sets the visibility property on the dialog element to 'hidden'. Fine Uploader evidently doesn't expect this, and does not change the element's visibility.
Changing the string in getDialog() appears to force Chrome to use native dialogs instead, which are obviously visible. This seems related to why the whole thing is a non-issue in Firefox, where the HTML5 dialog element gets used in both cases.
Thanks for the prompt response in any case!

Thank you for the detailed explanation!


Update manifests/m/Microsoft/VCRedist/2015+/arm64/14.31.30919.0/Microsoft.VCRedist.2015+.arm64.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

[Policy] Needs-Attention

@wingetbot run

@wingetbot run


Feature/19

Add multiprocessor to multi asset example.
Fixed save trades on csv.
Add example for strategy that need fractional size units like BTC.

Fix the test


Generics in props should work (maybe with some restrictions?)

Input
→ View on sorbet.run
# typed: true
class Foo < T::Struct
  extend T::Generic
  A = type_member

  prop :aa, T::Array[A]
end

Observed output
Expression does not have a fully-defined type (Did you reference another class's type members?)

Expected behavior
Works

Reported by @xton-stripe

Looks to be fixed. Not sure whe.


Provide info on how to use newest librespot build in readme

Maybe It would help someone to have info in the readme file on how to use a custom build of librespot. Something like this worked for me...

Use custom build of librespot
Install rust and dependecies
sudo apt-get update
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt-get install build-essential libasound2-dev

Checkout librespot repositiory
sudo apt install git
git clone https://github.com/librespot-org/librespot.git

Compile librespot - takes some time
cd librespot
cargo build --release --features alsa-backend

Rewrite systemd service
sudo nano /lib/systemd/system/raspotify.service

Change line starting with ExecStart and replace binary location /usr/bin/librespot with the executable you've just built
For me: /home/pi/librespot/target/release/librespot

ExecStart=/home/pi/librespot/target/release/librespot --name ${DEV...

Oh I just released that when building the package it pulls the newest librespot version... sorry


Phenotype-tracked comparison data

In this pr, the phenotype is included in the model probability comparisons. Please let me know if you have any suggestions.

Thanks @jenna-tomkinson, merging now!


Setting the GOPATH doesn't seem to override the environment

I tried setting a specific GOPATH in the config (even if discouraged) but I couldn't get it to override the environment GOPATH.
If it makes a difference, it was a few paths joined by ":"s (/path1/gopath:/path2/gopath:/path3/gopath)

The config option for GOPATH is akin to a fallback. If your GOPATH is somehow undefined (e.g. you launch Atom from the Ubuntu launcher, instead of the terminal), then you will still be able to use go-plus.

Ah, OK! I thought it would be more of an override (as it used to be), not just a fallback. My misunderstanding then! Thanks for clarifying :)


make an AMP data viewer to replace Access 'WellWaterDataTab

These are the columns I’m most interested in viewing
‘Locations’ Table:
PointID
Site Name
Site ID
Easting
Northing
LocationNotes (Large text box)
‘WellData Table:
HoleDepth
WellDepth
CompletionDate
MeasuringPoint
MPHeight
FormationZone
Status (lookup table for key)
CurrentUse
MonitoringStatus (lookup table for key
Notes (Large text box)
‘ProjectLocation’ table:
ProjectName (I think this is the one in the there is also a ‘Projects’ table that I don’t’ fully understand how or why it exists.)
‘Equipment’ table:
pointID
equipment type
equipment model
serial number
date installed
date removed
recording interval
Equipment Notes

‘Owners Data’ table
This whole form is what I’d like to see, fine with it being a separate link like it currently is.

@hydr0boy Ok super doable. I will start adding these to a special hidden page so its not publicly available

Hahaha I’m so happy ‘hydr0boy’ is somehow related to my job now 😂 I’m out of the office till Friday, but I’ll get back to ya as soon as I can get a look! Thanks JakeSent from my iPhoneOn Jul 12, 2023, at 3:00 PM, Jake Ross @.***> wrote:
@hydr0boy check it out. http://amp.nmbgmr.nmt.edu:8000/locations/detail/MG-030
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


CORE-13900 Throw more meaningful exception in toSignedTransaction() if the creator is not a signatory

Throw CordaRuntimeException("Creator of the transaction does not own any signatory keys.") instead of TransactionNoAvailableKeysException when TransactionBuilder's toSignedTransaction() gets called and the caller is not a signatory.

Closing in favour of https://github.com/corda/corda-runtime-os/pull/4440


Capitalize Command

Select the text in the editor, then use the command 'Dendron: Capitalize' to change the selected text to all capital letters.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Use fuzzy match in Select Language Mode picker

It now uses some poor kind of logic: takes in consideration only first letters of words (and UPPERCASED).
JavaScript:
jsc=> ✅
jscpt => ❌
jpt => ❌
jcp => ❌

Duplicate of https://github.com/Microsoft/vscode/issues/34088


Hello. My name is Ivan Borovskoy,I am 14 years old and I want try your program for my project. But I am only studying and don't know how your project work. Can you explain or give some tips about your project.The project "Smart city" is developing in my city and I was asked to participate in it. But since I am just learning, I have problems with the implementation of the project. So I was looking for similar projects and found your project. And I'd like to use it. Advance thanks.

Thank for the interest!
Please see and check:
https://opendata.cam
https://github.com/opendatacam/opendatacam/blob/master/README.md


Generate DTOs for Vault API

Problem
Currently the extension's public API does not align with Vault's actual API. This is done by mapping the Vault API model objects to public extension API objects. This is fine and allowing smoothing out some of the rough edges in Vault's API.
Unfortunately this means a lot of duplicated work when adding missing APIs or updated existing APIs to support newer Vault versions.
Solution
All this means that regardless of the extension's public API, the "internal" clients use DTOs that map 1:1 to the associated Vault API.
We need to start generating these DTOs from the OpenAPI spec for Vault; which can be generated for any Vault version using it's "self describing" endpoint /sys/internal/specs/openapi. Related docs are here
Implementation
Although these model objects are public (for packaging reasons) they are "internal" and only used by the "Internal" engine classes. Given this, we should be able to get an existing OpenAPI Java generator to produce suitable classes we can use; the shape of these classes can change dramatically without affecting extension users.

Related to #214

Fixed with https://github.com/quarkiverse/quarkus-vault/pull/215


Embedded language, small-step evaluator and examples

Using the notation mecanism of Coq, this PR aims at adding an easy way to directly write terms of the systemFR language using [| and |] brackets, with a coq-like syntax. A small-step evaluator, proven correct regarding the small steps rules, is provided. A set of examples (that resembles the Stainlessfit ones) is provided, both to test the features of the language and to measure the performance of the evaluator. It is to be noted that the typed version of the embedded language is less tested.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Merged, thanks! Sorry for the delay.


[RR Request]: File Manager

Open Source Project name
File Manager
What is your project?
File Manager is a simple Terminal Based File Manager. This is still simple but I am making Updates to it everyday
Version
3.1
Date
December 6th 2021
Description of changes
Settings and History and the ability to see the current path
GitHub Repo
https://github.com/Sas2k/File-Manager
Website
https://github.com/Sas2k/File-Manager
Link to changelog
https://github.com/Sas2k/File-Manager
Social media
https://github.com/Sas2k/File-Manager
Anything else to add?
No response

Thanks for submitting. We loved your project, but we had so many submissions for the December 2021 release radar that we priortised Version X.0 releases. Please submit again when you have the next major version and we'd love to consider your project for feature again 😄

Thanks for submitting. We loved your project, but we had so many submissions for the December 2021 release radar that we priortised Version X.0 releases. Please submit again when you have the next major version and we'd love to consider your project for feature 😄

Thanks


kconfig configuration (prj.conf) based on zephyr version

I want to set a kconfig based on zephyr version but cannot find any details on how to do this. I think the kconfig system allows if statements, but I cannot find anywhere that would then allow me to do this based on the Zephyr version.
My reason for wanting this, is that it seems some of the power management configurations have changed names over the last month or so (eg CONFIG_SYS_PM_STATE_LOCK to CONFIG_PM_STATE_LOCK and CONFIG_SYS_POWER_DEEP_SLEEP_STATES to CONFIG_PM_DEEP_SLEEP_STATES). I want my code to work on older versions of Zephyr so my colleagues can update independently of when I update.
How would I achieve this?
Subsequently, how do I also use macros to determine the Zephyr version in code?, as similar to above, SYS_POWER_STATE_DEEP_SLEEP_1 has changed to POWER_STATE_DEEP_SLEEP_1
In terms of version I have installed of Zephyr, I updated Zephyr via git pull yesterday, and I had last updated early December. so between these two times is when the configuration names have changed.

Usually you would not work with the Zephyr master branch in production, but build your application firmware based on a specific release. This will also make sure that you and your colleagues will always have the same Zephyr version (branch specified in west.yml file).
If you need specific features that are only in master, I'd recommend to create a fork and cherry-pick those features to the previous release and point west.yml to that fork.

Usually you would not work with the Zephyr master branch in production, but build your application firmware based on a specific release. This will also make sure that you and your colleagues will always have the same Zephyr version (branch specified in west.yml file).
If you need specific features that are only in master, I'd recommend to create a fork and cherry-pick those features to the previous release and point west.yml to that fork.

I feel however this would still be useful feature to have such as for example code. The code I'm writing currently is example code that will be then used by others write the actual application on top of it. It will also likely be used by multiple projects which may be running differing versions of Zephyr and as such the code needs to cope with the different APIs

I feel however this would still be useful feature to have such as for example code. The code I'm writing currently is example code that will be then used by others write the actual application on top of it. It will also likely be used by multiple projects which may be running differing versions of Zephyr and as such the code needs to cope with the different APIs

I'd probably disagree. If you are lucky, only some Kconfig names were changed (as you described above). But most probably also the code behind the API has changed, so this will lead to unpredictable behavior.
If the examples are upstreamed to main Zephyr repository you can just go back and forth in the git history to get a sample for an older version of Zephyr. And if you use west properly in your own out-of-tree samples you can do the same. Always run west update after git checkout and it will get you the Zephyr version you need.

I'd probably disagree. If you are lucky, only some Kconfig names were changed (as you described above). But most probably also the code behind the API has changed, so this will lead to unpredictable behavior.
If the examples are upstreamed to main Zephyr repository you can just go back and forth in the git history to get a sample for an older version of Zephyr. And if you use west properly in your own out-of-tree samples you can do the same. Always run west update after git checkout and it will get you the Zephyr version you need.


Chromatic having issues with smaller sizes

Once we hit widths when the sidebar is hidden, chromatic can't choose a correct size to update to until the window is resized. May be connected to #3 in some way.

0e29381d132f15 circumvents this problem.


PyCharm won't correctly import tensorflow

I get the following error when I try to run a python program:
ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
I understand this is a simple error most people would encounter when they start tensorflow. I did checked the solutions on Stackoverflow and I managed to run the same program in Terminal. What I did is I made an virtualenv and I activated it and when I try using python3 to run the program it successfully proceeds without any error. However the error always appear when I run the program in PyCharm even with python interpreter set to the location of virtualenv I created. Can someone tell me why as I had no idea why it works in terminal but not with PyCharm.

I've read this Stackoverflow post Pycharm environment different than command line and it seems that the problem is not related to tensorflow but PrCharm itself. PyCharm won't reserve bash environment unless evoked from command line. So the solution to he problem is to type charm from command line and everything works fine now. Closing this issue now.

Got the same today, but for 7.0:
ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
Above solution is still relevant

just add an environment variable LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH on Pycharm, it's the bug of PyCharm

when I use remote intepreter in my linux, I encounter the problem in my local windows Pycharm:
ImportError: libcublsa.so.9.0: cannot open shared object file: No such file or directory

This helps which is from Stackoverflow @Sachin G. (https://stackoverflow.com/questions/27063361/how-to-run-pycharm-in-ubuntu-run-in-terminal-or-run)

The question is already answered, Updating answer to add the PyCharm bin directory to $PATH var, so that pycharm editor can be opened from anywhere(path) in terminal.
Edit the bashrc file,
 nano .bashrc
Add following line at the end of bashrc file
export PATH="<path-to-unpacked-pycharm-installation-directory>/bin:$PATH"
Now you can open pycharm from anywhere in terminal
pycharm.sh

Same for me @toxato . I am running Pycharm on a remote interpreter (in a remote virtual-env). It seems it does not save the paths. As @chamwen says, this can be solved. However, Pycharm will recognize /usr/local/cuda/lib64:$LD_LIBRARY_PATH as the path in your local computer, not remotely. Any ideas how can we set up that path in such a way that Pycharm will recognize this as a remote path?

I think I fixed it @toxato. You should create a shell wrapper (remoteEnv.sh) which looks like:
!/bin/bash
export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
added by Anaconda3 installer
export PATH="/home/javier/anaconda3/bin:$PATH"
source /home/javier/anaconda3/bin/activate AIenv
#Now we call python which should be python from our virtualenv
python "$@"
and then configure that as your remote interpreter. Hope it helps!

when I use remote intepreter in my linux, I encounter the problem in my local windows Pycharm:
ImportError: libcublsa.so.9.0: cannot open shared object file: No such file or directory

I have the same problem when using remote interpreter.

Add a environment variable LIBRARY_PATH=/usr/local/cuda-9.0/lib64(depends on your path), then you don't need to start pycharm form console.

 just add an environment variable LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH on Pycharm, it's the bug of PyCharm

I also found this problem when debug tensorflow 2.12 with pycharm on Ubuntu 22.04.
And I solved it by adding Environment variables both for the Python Console (Settings -> Build, Execution, Deployment -> Console -> Python Console) and in the Run/Debug Configuration.
Because I use the TF 2.12 version, as official website's suggestions, the setting for is like:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/:$CUDNN_PATH/lib.
Here, you should replace CONDA_PREFIX and CUDNN_PATH with your absolute path, like:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/shi/anaconda3/envs/tf2/lib/:/home/shi/anaconda3/envs/tf2/lib/python3.9/site-packages/nvidia/cudnn/lib.

After doing a lot of research, I was finally able to solve my issue.
I followed the instructions from the official page for the initial setup.
After that it was able to detect that I had GPU using terminal zsh, but whenever I wanted to train a model, it would error out:
    Can't find libdevice directory ${CUDA_DIR}/nvvm/libdevice.
    ...
    Couldn't invoke ptxas --version
    ...
    InternalError: libdevice not found at ./libdevice.10.bc [Op:__some_op]

Which I fixed by following
Ubuntu 22.04 section from the official page.
However, now I can only run the models from the shell and whenever I try to run the model meaning .py  or .ipynb file
from PyCharm it again shows the previously mentioned errors (1. PyCharm not detecting the GPU, which I
fixed by adding an environment variable LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/{your_user}/miniconda3/envs/tf/lib/:/home/{your_user}/miniconda3/envs/tf/lib/python3.9/site-packages/nvidia/cudnn/lib)
and this fix is also mentioned in the previous posts as well. 2. Couldn't invoke ptxas --version which I fixed by adding another environment variable in the configuration
XLA_FLAGS=--xla_gpu_cuda_data_dir=/home/{your_username}/miniconda3/envs/tf/lib/).
I am using Pop!_OS 22.04 with TensorFlow version 2.13.0
The above two environment variables fixed the issue for PyCharm. At least for me :)


CSS Grid Styles is not working?

Hi! @marcbachmann and everyone :smiley:
Is CSS Grid Styles hasn't working on node-html-pdf?
So, I try this template:
template.html
Preview template.html:

But I got this result at the document:

When it generated, it looks like this style has been removed:

Any suggestions? please help. Thank you!

display flex too? @latobibor

Its Not working because of the css code, you need to use --webkit css, but i use css Autoprefixer to get the css Autoprefixer

@sorawitw

display flex too?
Actually it works but beware because flex and page boundaries are not really working well together. (The former ignores the latter). https://stackoverflow.com/questions/20408033/how-to-get-page-break-inside-avoid-to-work-nicely-with-flex-wrap-wrap

@Thank you for your help both @Israel-oduguwa and @latobibor :)


feat: added timeout option

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


GUYS PLZ HELP PLZ FIX THE APP

I am sick of this

There's a new version of the application (2.4.3)

Refer to #235

Please Install the latest version from http://igdm.me


Retain outputs tag if set in config

Added the option for messages to be retained.
It works on my install and I think I've made the changes correctly but really not sure.
Cheers

Hey @ComlOnline thanks for the PR! It looks correct to me.
Before I merge it though, would you mind making one change? As far as I'm aware you should just be able to use output_config["retain"] by itself in the call to client.publish() as it's expecting a boolean value and the Cerberus config validation should ensure that it's the right type already. I'll put a comment on the line I'm talking about.

Hi @flyte thanks for the feedback,
The changes have been made. I didn't know you could use yes/no as boolean values in python, you lean some thing new every day.
Cheers

So what's happening here is that the YAML parser picks up the yes and no, among quite a few other values (as long as they're not within quotes) as boolean values. You can see a list of the values in the "Regexp" section of this page. This, along with the fact that we're using Cerberus to validate the config, means that we can be sure that the value we get from the dict is a boolean.

Ah thank you for explaining that, it will definitely help down the road.


[pulsar-broker] Fix: handle failed partitions topic creation

Motivation
Incrementing partition for the topic requires creating new partitions with existing subscriptions. Sometimes, partitions of the topic are distributed to multiple brokers, and the creation of few partitions may fail due to various reasons. However, retrying update-partition command for such topic fails with the below error
Caused by: org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: Subscription already exists for topic
	at org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:219) ~[classes/:?]
	at org.apache.pulsar.client.admin.internal.BaseResource$1.failed(BaseResource.java:129) ~[classes/:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839) ~[jersey-client-2.31.jar:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:820) ~[jersey-client-2.31.jar:?]
	at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229) ~[jersey-client-2.31.jar:?]
	at org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62) ~[jersey-client-2.31.jar:?]
	at org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173) ~[jersey-client-2.31.jar:?]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173) ~[jersey-client-2.31.jar:?]
	at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$0(AsyncHttpConnector.java:212) ~[classes/:?]

We frequently face this issue and need to manually update znode to fix the issue and increment partitions of the topic.
Modification
Handle Subscription already exists for topic error and create failed partitions to successfully increment partitions. Provide force flag to handle the error and successfully create partially created partitons.

/pulsarbot run-failure-checks


bug: v0.0.6 Provider produced inconsistent result after apply: .idle_scaling: was null, but now cty.False.

with version v0.0.6 and the follwoing terraform code and provider version v0.0.6
resource "clickhouse_service" "hubble_timescape" {
  cloud_provider = "aws"
  idle_timeout_minutes    = 5
  max_total_memory_gb  = 24
  min_total_memory_gb  = 24
  name = "name"
  password  = var.clickhouse_service_password
  region  = "eu-west-1"
  tier   = "production"
  private_endpoint_ids   = [data.terraform_remote_state.vpc.outputs.clickhouse_endpoint.id]
  ip_access =  ["<IP_ADDRESS>/0"]
}

getting the error about the idle scaling
Error: Provider produced inconsistent result after apply
When applying changes to clickhouse_service.hubble_timescape, provider "provider[\"registry.terraform.io/clickhouse/clickhouse\"]" produced an unexpected new value: .idle_scaling: was null, but now cty.False.

This is a bug in the provider, which should be reported in the provider's own issue tracker.

looks like same as https://github.com/ClickHouse/terraform-provider-clickhouse/issues/24

setting idle_scaling = false   solved it


Conflict between install() and devToolsExtension's store enhancer

Hello,
I'm trying to use the redux devtools extension with redux-loop.
I don't think they play well together because as soon as the devToolsExtension enhancer is called, the state is of the shape [state, effect] which shouldn't happen when having install() called first.
Here is my code :
  const middlewares = [
    // this should be redux-loop's getState which returns an object
    ({ getState }) => {
      return (next) => (action) => {
        console.log(getState())// [state, effect] :(
        return next(action)
      }
    }

  ]

  const store = createStore(
    (state = {}) => state,
    compose(
      applyMiddleware(...middlewares),
      global.devToolsExtension ? global.devToolsExtension() : s => s,
      install()
    )
  )

If I remove the devToolsExtension, the state is an object as expected and everything works fine.

This is a problem we're dealing with in a number of different scenarios. The way enhancers compose has a really negative impact on how reliably all of the enhancers work together. See #28 as another example. I'm going to close this because I don't think there's anything we can do about it in this project. If you discover something definitely leave another comment and we'll reopen.


Missing autocomplete on the "abstract" keyword

Bug Report
🕗 Version & Regression Information
ts stable & nightly
⏯ Playground Link
Playground Link
💻 Code

export class Foo {}

@DanielRosenwasser I want to work on this.
How do I get started?

The fix will likely start in src/services/completions.ts and you should start with a failing test in tests/cases/fourslash/.

is this related?
https://github.com/microsoft/TypeScript/pull/34491

Hi @DanielRosenwasser, I would like to work on this issue if no one else is working on it. As I'm quite new to this, I might need your guidance for a lot of things.

If @heyAyushh isn't still working on this, go for it, but I would encourage you to explore/familiarize yourself with the surrounding code I've pointed out above, and look to those PRs to get a sense of what sort of work this change might involve.

Yes @DanielRosenwasser , I haven't started contributing as I am exploring typescript source code right now.
If there's a resource let me know.
I also didn't have the resources for testing docker.

You don't need to use Docker to contribute, using a container is just an option if you find that helpful.

@DanielRosenwasser, I was looking at the code of file src/services/completions.ts.  and found this piece of code.
https://github.com/microsoft/TypeScript/blob/59b8bef3e721262a62dba1612a3e0d14e7507f31/src/services/completions.ts#L3015-L3028
I think Abstractkeyword should not be placed here because it can be used anywhere not only in classes. So, I was thinking of removing it from here and adding it places for global completion following #34491. Then I will run the test on tests/cases/fourslash/ and make changes if needed.
Please confirm, If I'm going in the right direction. If not then please correct me, As it is my first time working on TypeScript.


🐛 Bug Report: Appwrite SDK - Route Not Found Issue

👟 Reproduction steps
npm list appwrite
<EMAIL_ADDRESS>D:\react_native\stock_video_app
└──<EMAIL_ADDRESS>

Set Up Environment:
Ensure that Appwrite server version 1.5.10 is running.
Install the Appwrite SDK that is meant for version 1.6.0 or later.

Configure SDK:
Add the Appwrite SDK to your project using a package manager (e.g., npm install appwrite@latest).

Execute Request:
Use the SDK to make an API request to the Appwrite server.

Observe Error:
Check the application logs or output to observe the error message.

👍 Expected behavior
The Appwrite SDK should interact correctly with the Appwrite server, and API requests should be processed successfully without errors.
👎 Actual Behavior
The application logs show a 404 error with the message "The requested route was not found." The response HTML indicates a route error (general_route_not_found), suggesting a mismatch or issue with the server or SDK configuration.
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Windows
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@mohd-ajlal, thanks for raising this issue! 🙏🏼
The latest version of the SDK is meant for version 1.6 of Appwrite, but Appwrite Cloud is using 1.5. Please make sure to use a compatible version.
Also, you should be using the react-native-appwrite package and not the appwrite package for react native.