Transaction progress states

Story
As a user who has just clicked "confirm" to authorize a transaction (either inside an app or sending in wallet), I want to know what the status of that transaction is until it's final so I can understand why it's taking so long.
This is especially important for most naive UI's which will be implemented synchronously and thus have the user staring at a waiting screen for some period of time.
See NOTES below for discussion.
Acceptance Criteria

[ ] TODO: After fleshing out the exact states that we can/should report
[ ] Mobile ok
[ ] Tested

Assets

Mockup:

NOTES

When we send money, what waiting states do we actually have access to (now or possible in the future)?  For example:

Transaction sent
Transaction received/acknowledged by the network (a node)
Transaction in block mempool (or equivalent)
Transaction executed in block 12345 [link]
Transaction was success with return_value_or_state_change or failure for reason.

This is important so we can provide users with clarity around what they're actually waiting for while we're making them wait for things.
Also important that some apps have different finality than others, so their UIs might prefer to implement immediate finality or they might wait until X blocks (or other criteria) passes before showing the user a confirmation.  That's fine -- let's expose the raw blockchain stuff to start with and assume immediate finality and if the app doesn't want this, they can use those same hooks and modify the UI on top to wait a bit longer.
This is inspired by how AJAX has a clear 5-step state machine that defines its status and allows developers to build waiting icons and UI notifications against those states.
It sounds like there are RPC endpoints for transaction status so this can be done via polling.  Can it be done via the nodes sending something back to avoid constant read pings?
Complication: For transactions that generate receipts for later, what is finality anyway? How do we model states for something that's inherently unclear when it will end (how many calls deep it will take, and they're async)?
Visual inspiration
These are dumb loading bars since they tend to only have a "% complete" but are the basic idea: https://www.downgraf.com/inspiration/25-beautiful-loading-bar-design-examples-gif-animated/
What I imagine the naive implementation is something like a list of grayed-out checkboxes with state descriptions that get highlighted then checked off with a green checkmark in realtime as the transaction propagates through the various states so the user can see it happening.  Then it disappears to the confirmation screen when all is well.  But that's ultimately @Jake 's realm

Transcribing @nearmax from discord:
Max:

given  our system it's probably pointless to  report states before "Transaction executed in block 12345"

@vgrichina I think it actually makes sense to at least report: transaction received by the validator. Because in rare cases the progress can get stuck there, specifically when validator censored it.

it is important thought that when transaction reported "success" it's still not necessary final
and how much finality we need is going to be app-specific
but for payments we definitely need to be explicit on whether it can be trusted (but it's more important on receiver side obviously)

@vgrichina This is very true. Because of the shards/chunks transaction can make into a block but can still be challenged within 20 blocks if it is a double spend. So for crucial transactions there is a stricter finality criteria. This however does not mean that all financial transactions will need to wait for 20 blocks. Only those that are super expensive.

What I imagine the naive implementation is something like a list of grayed-out checkboxes with state descriptions that get highlighted then checked off with a green checkmark in realtime as the transaction propagates through the various states so the user can see it happening.  Then it disappears to the confirmation screen when all is well.  But that's ultimately @Jake 's realm

@Erik This sounds like a very good UX.

so what I'm saying that for  short/medium term the first such checkbox would be "included in the block",  cause managing it more low level going to be too much work for almost no gain (cause this happens quickly enough).

[12:55 PM] Max: @vgrichina I agree, let's start with high-level statuses and gradually add granularity as we go. Many fine-grained statuses will be implementation specific, so as we complete the system we will be figuring out what to add.

Do you know if we get any kind of receipt when a transaction is received by a node?  Because if your WIFI is down going through a tunnel and you don't know that, you might hang and not even know if you're waiting for it to send and should refresh the page or it's already been received, just hit congestion, and refreshing would double-send.

@Erik A simple answer is what @Bowen said -- RPC is a two-way communication and supposed to return the status, like Ok or Err. However, in a long run users are not going to be submitting transactions directly to the validators (because validators are few and how more important things to do like validating blocks) so transactions are going to be submitted to the p2p network where they are going to be relayed to the validators. This gets tricky since we might not be able to get a confirmation status relayed back from validators to the user.
[12:55 PM] Max:

I don't know how they actually work behind the scenes.  I suppose we could do it by polling constantly for a transaction's status... It'd be ideal if we could just wait to receive a call when that status is updated to avoid the network traffic.

@Erik With transactions submitted through p2p (oppose directly to validators through RPC) this is going to be tricky since when user submits transaction to non-participating node and asks to relay it the node has no direct incentive to reply back with the status. Unless, we implement mechanism where user's wallet chooses one node to submit transactions to and then rotates to a different one if node is not cooperative. This will create some incentive to cooperate with user's wallet if we also add a small reward for non-participating node that received the transaction.

That's a good question.  I think we'd have to think through specific cases for one versus the other and see what emerges.

@Erik We REALLY need the list of all use-cases including access keys, proxies, cross-contract calls speced out in some doc or file.

Here is the write-up by @evgenykuzyakov outlining some access key usages. https://drive.google.com/open?id=1SGk4thAyrFq20ly833JT3wzfPBhqyJds3VUP6f-ck68


Update about-snowflake-native-app.md

What are you changing in this pull request and why?
I'm not quite sure if this goes on the about the native app page or on the setup page and I'm very open to discussion here!
Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):

[ ] Add/remove page in website/sidebars.js
[ ] Provide a unique filename for new pages
[ ] Add an entry for deleted pages in website/vercel.json
[ ] Run link testing locally with npm run build to update the links that point to deleted pages

hey @amychen1776 ! i think this could certainly live in both areas and happy to create a snippet for you here. however, wanted to double check whether we should provide a 'why' or whether this will be supported in the future?

@mirnawong1 Perhaps this fits in the FAQs section on the setup page as a snippet? Would you be able to help me on that?
I could also use your help with the wording. The reason why it's not supported is Snowflake does not have static IPs for SPCS so it's difficult for us to know what to allowlist in dbt Cloud for access. We can look at alternative ways to do this but it'll take some work to scope.

happy to @amychen1776 ! will sort it now for you

hey @amychen1776 , @matthewshaver mentioned that he's been chatting with you on this so passing the baton to him to help out here! thank you and sorry for the confusion folks! 🙏

No worries! Thank you so much for your help 🙏


Support for generation of PInvoke transitions

This is the compiler part for the PInvoke transitions.

Is  RequiresMarshalling still a fitting name for this method?

Rename it to IsStubRequired.

@MichalStrehovsky PTLA

LGTM


statistic：新增statistic组件，用于数值展示和倒计时

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

Add a new component, if there is a problem with the process code, please explain it in detail so that it can be modified


Math in RTL

When you write math notation in RTL mode the direction should be LTR. There is a case use for mirrored notation (used in Arabic classrooms for example), but since KaTeX cannot output mirrored symbols anyway and most Arabic/Hebrew/Farsi/Urdu speakers write math in the Latin script from left to right, the equation mode should be entirely from left to right.
As it is now, if you write a^2 the "2" will be displayed on the left of the "a". It should be the opposite.
Probably it can be done with a rule like
span.__se__katex.katex * {
    direction: ltr;
}

The 2.36.2 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

The issue persists. I suspect that the fixes in the CSS do not address the elements inside the katex containers (i.e. with a " *" selector) so it remains rtl

The 2.36.5 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

The 2.37.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


chore: bump ruby to 3.3.0

Figured I contribute back since I was building these anyway today. The resulting image is now used both on my machine and in production. Seems to be working fine but every PR feedback greatly appreciated.

Hey folks, unfortunately, I cannot accept this PR since it does away with the implied versatility of the Dockerfile, which can be used to build pretty much any version available (if it's >= 3.x). What you are right about is the fact that the default needs adjusting (and the README.mdneeds updating) but e.g. version3.3.0 is already [available as an image _right now_](https://github.com/moritzheiber/ruby-jemalloc-docker/pkgs/container/ruby-jemalloc/167787851?tag=3.3.0-slim) since they are automatically built from the output of [ruby-version-checker`](https://github.com/moritzheiber/ruby-version-checker-rs) on a continuous basis. This process is also explained in the README.
Obviously, you're more than welcome to fork the repository and simplify the Dockerfile to your liking, but for the sake of keeping the intent alive I'll probably not accept the PR as-is.
In the meantime, I'll update the default and the README to match the status quo.

Hey folks, unfortunately, I cannot accept this PR since it does away with the implied versatility of the Dockerfile, which can be used to build pretty much any version available (if it's >= 3.x).

Since these images are based on the official Ruby, they should match the default one in my opinion.
@dorianmariefr yes, it fails like it does with the wrong checksum before.

I'm closing this since the intention of the PR goes against the intention of the repository/image. Apologies, if that wasn't clear from the beginning and for the effort in vain.
PS: The images have been updated since and are available from the registry.

It is okay, I'm not using this anymore anyway. I switched everything over to the default Dockerfile of the rails repo, which now easily enables both YJIT and jemalloc.
They also provide dev containers for new projects, so they might steal from there too to avoid unnecessary extra dependencies.


HSEARCH-4225 Memory leak (SessionImpl) when updating index without transaction

https://hibernate.atlassian.net/browse/HSEARCH-4225
This bug is not relevant to Hibernate Search 6, since we don't rely on weak-reference hashmaps there (we simply store everything in the session).

Merged, thanks


change random to nanoseconds

I think this helps a bit, but you probably could just use a single instance across all your goroutines and avoid allocating?

If you created two users, one by one they go out the same if it is not nanosecodns


CNV 32024: Update vm list objects when vm is deleted

📝 Description
Missing websocket update for DELETED messages.
🎥 Demo

Please add a video or an image of the behavior/changes

/jira refresh


Rework of DefaultMixedRealityControllerMappingProfile

Describe the problem
As new platforms will be added in the future, new Controllers will also be added into the mix. Right now, the DefaultMixedRealityControllerMappingProfile lists all currently supported controllers with fancy images, along with simple entries for controllers that do not support that.
Problems are the following:

I always have all the controllers listed, even though I might only be interested in just the Vive Knuckles.

This slows down the Unity inspector
Controllers do not show any relationship to their controllers

There is currently no way we can add new controllers with images (Oculus Go) and fancy controller overview schemes

this is probably fine for the generic versions of controllers

Describe the solution you'd like
Controllers should be shown along with their respective DeviceManagers. Since those have their controller responsibilities hardcoded into them it does not make sense to show any controller that is not able to be spawned.
This would also mean less performance overhead for the inspector and less clutter.
Additionally, Controllers should be allowed so specify their representation images data paths outside of the "MixedRealityToolkit" subfolders
Describe alternatives you've considered
This would mean a "breaking change". To avoid this, an additional profile could be added that's used in parallel to the existing one to be used for new controllers.
One could also go up one level and create the profiles on the manager level, because the manager knows which controllers he can spawn, which might make more sense

MRTK3 now builds upon Unity's input system, this type of profile is no longer applicable.


OpenReader (Inoreader): All articles disappear

I upgraded to 3.0.5 to get the fix to #456, and it worked for a day or so, but suddenly my articles have disappeared.  If I restore ~/Library/Application Support/Vienna and restart, the same thing happens.  The articles are all there, then it refreshes from Inoreader, and the articles are gone.

The default rate limit set by Inoreader has already been reached. Cf. http://www.inoreader.com/developers/rate-limiting
I have asked for a limit increase from the Inoreader team and I am waiting for their feedback.

The current limit are :

150,000 requests/day for zone 1
70,000 requests/day for zone 2

This only temporarily solves the problem. We will have to wait for the upload of 3.0.5 at SourceForge (hopefully before the end of the week) to check that these limits are sufficient.

3.0.6 has largely been adopted now, and Inoreader has increased its limits to safe levels.


[question] how to get AST or s-expression of a bitbake file by this parser?

how to get AST or s-expression of a bitbake file by this parser? TIA!

Basically this should do it

sorted(_stash.GetItemsFor(), lambda k: k.Line) should be sorted(_stash.GetItemsFor(), key=lambda k: k.Line)
inherit cmake pkgconfig be parsed to a Variable. Is it a bug?

Basically this should do it

sorted(_stash.GetItemsFor(), lambda k: k.Line) should be sorted(_stash.GetItemsFor(), key=lambda k: k.Line)
inherit cmake pkgconfig be parsed to a Variable. Is it a bug?

No it's not inherit statements are handled as a special incarnation of Variable (see https://github.com/priv-kweihmann/oelint-parser/blob/788689781cc2e326f3bcd8318603adfb261f52a9/oelint_parser/parser.py#L218 and following)

I assume that your question had been answered - feel free to reopen in case of any questions

Can we get a token stream of a bitbake item? At least to know one token belongs to function name, variable name, etc?

In fact, I try to use oelint-parser to realize a language server. If the parser can tokenize a bitbake code sentence, we can know the type of token in the cursor.

In that case I might want to have a look at https://github.com/savoirfairelinux/vscode-bitbake/ - they do offer that kind of thing - for me tokenizing was always a bit out of scope, but I would be happy to see patches enabling such feature.
But it would require major changes how files are parsed and assembled, not sure if that's the right way to go

The vscode-bitbake use tree-sitter, while I use oelint-parser :smile: I am not sure which parser will be better.


JAMES-1862 Fix several issues with STARTTLS command injection detection

Race condition between the framing handler and the processing handler allows to leverage concurrency based man in the middle attacks allowing command injection.
Bad sanitizing of IMAP tags allow crafting an input that bypasses STARTTLS command detection

org.apache.james.mpt.smtp.CassandraPulsarSmtpStarttlsCommandTest.starttlsShouldWork

Error Message

Condition with lambda expression in org.apache.james.mpt.session.ExternalSession was not fulfilled within 1 minutes.

Stacktrace

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in org.apache.james.mpt.session.ExternalSession was not fulfilled within 1 minutes.

Standard Output

Connecting to localhost:38729
<-220 Apache JAMES awesome SMTP Server
-> ehlo yopmail.com
<-250-asf944.gq1.ygridcore.net Hello yopmail.com [<IP_ADDRESS>])
<-250-AUTH LOGIN PLAIN
<-250-AUTH=LOGIN PLAIN
<-250-PIPELINING
<-250-ENHANCEDSTATUSCODES
<-250-8BITMIME
<-250 STARTTLS
-> starttls
closing

Sounds related!

I hereby propose an alternative implementation not requiring to turn off auto reads.
It looks like auto reads in Netty 3 is somehow plateform dependant: I could not reproduce the issues observed on the CI locally.

Force pushed because of a rebase conflict

(Forced pushed to port this work to Netty4)


[Bug] Upgrade to >=18 version results in compile errors from node_modules packages.

Is this a regression?
Yes
Description
When upgrading to 18.3.0 from 17.6.16 I get compilation errors coming from files in node_modules. My package.json looks as follows:
...
"dependencies": {
    "@angular/animations": "^18.2.10",
    "@angular/cdk": "^18.2.10",
    "@angular/common": "^18.2.10",
    "@angular/compiler": "^18.2.10",
    "@angular/core": "^18.2.10",
    "@angular/forms": "^18.2.10",
    "@angular/material": "^18.2.10",
    "@angular/material-date-fns-adapter": "^18.2.10",
    "@angular/platform-browser": "^18.2.10",
    "@angular/platform-browser-dynamic": "^18.2.10",
    "@angular/router": "^18.2.10",
    "@ng-doc/app": "18.3.0",
    "@ng-doc/builder": "18.3.0",
    "@ng-doc/core": "18.3.0",
    "@ng-doc/ui-kit": "18.3.0",
    "@ng-matero/extensions": "18.2.4",
    "@ng-matero/extensions-date-fns-adapter": "18.0.0",
    "@ngx-translate/core": "^15.0.0",
    "@ngx-translate/http-loader": "^8.0.0",
    "json5": "^2.2.3",
    "quill": "^2.0.2",
    "rxjs": "~7.8.1",
    "tslib": "^2.8.0",
    "uuid": "^11.0.2",
    "zone.js": "~0.14.10"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^18.2.11",
    "@angular-devkit/schematics": "^18.2.11",
    "@angular-eslint/builder": "^18.4.0",
    "@angular-eslint/eslint-plugin": "^18.4.0",
    "@angular-eslint/eslint-plugin-template": "^18.4.0",
    "@angular-eslint/schematics": "^18.4.0",
    "@angular-eslint/template-parser": "^18.4.0",
    "@angular/cli": "^18.2.11",
    "@angular/compiler-cli": "^18.2.10",
    "@types/jasmine": "~5.1.4",
    "@types/uuid": "^10.0.0",
    "@typescript-eslint/eslint-plugin": "^8.12.2",
    "@typescript-eslint/parser": "^8.12.2",
    "eslint": "^9.13.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.2.1",
    "jasmine-core": "~5.4.0",
    "karma": "~6.4.4",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage": "~2.2.1",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.1.0",
    "ng-packagr": "^18.2.1",
    "prettier": "^3.3.3",
    "prettier-eslint": "^16.3.0",
    "typescript": "~5.5.4"
  },
  "overrides": {
    "mermaid": "11.4.0"
  }

Any idea what I should change? What shiki and type-fest versions are required? Do these libraries enforce some compiler options?
Please provide the exception or error you saw
Application bundle generation failed. [12.450 seconds]

✘ [ERROR] TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type. [plugin angular-compiler]

    node_modules/@shikijs/core/dist/types.d.mts:56:4:
      56 │     [Symbol.dispose]: () => void;
         ╵     ~~~~~~~~~~~~~~~~

✘ [ERROR] TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'. [plugin angular-compiler]

    node_modules/@shikijs/core/dist/types.d.mts:56:12:
      56 │     [Symbol.dispose]: () => void;
         ╵             ~~~~~~~

✘ [ERROR] TS2344: Type 'BaseType' does not satisfy the constraint 'Record<string | number, any>'. [plugin angular-compiler]

    node_modules/type-fest/ts41/get.d.ts:93:36:
      93 │   : Key extends keyof WithStringKeys<BaseType>
         ╵                                      ~~~~~~~~

  This type parameter might need an `extends Record<string | number, any>` constraint.

    node_modules/type-fest/ts41/get.d.ts:79:16:
      79 │ type PropertyOf<BaseType, Key extends string> =
         ╵                 ~~~~~~~~

✘ [ERROR] TS2344: Type 'BaseType' does not satisfy the constraint 'Record<string | number, any>'. [plugin angular-compiler]

    node_modules/type-fest/ts41/get.d.ts:94:18:
      94 │   ? WithStringKeys<BaseType>[Key]
         ╵                    ~~~~~~~~

  This type parameter might need an `extends Record<string | number, any>` constraint.

    node_modules/type-fest/ts41/get.d.ts:79:16:
      79 │ type PropertyOf<BaseType, Key extends string> =
         ╵                 ~~~~~~~~

Watch mode enabled. Watching for file changes...

OS
Unix (Linux, macOS, etc.)
Browser
Firefox
Node version
v18.20.4
Anything else?
No response

Addendum: When adding the compiler option "skipLibCheck": true the application compiled and everything worked. Is this something that you want to make required?

Sorry for the delay, could you provide a repo where I could check that issue?

Have the same issue


Open link in new tab

On android when opening 2 links they get opened in the same tab, overwriting the other content.
In every other app and on riot-browser the link get opened in a new tab and this should be default.
It is really annoying espacially in rooms where a lot of information backed with link is going on and i want to read the links itself later.
Reproduce
Open first link in first tab, copy URL, open new tab, paste link and open site. Status: 2 tabs with the same content. Second: Open second link and it will get opened in the first tab.

@MatMaul
How and where should i do that when receiving a link in the android app?

Sorry I am talking to the devs here 😊 I'll have a look if I can find the code and do a PR.

Hi @natrius @MatMaul ,
This is a duplicate of #381 which contain link to the code
Benoît

Oh, whopps, searched but could not find anything that was fitting. Thanks :)

No problem :)


Enterprise GitHub

GitHub Enterprise Support #99
This implementation is working for me.  Let me know if there are pieces that need updating that I didn't realize were relevant. :)

Thanks @rcaileff for this work! It's looking great overall, I just need to clear up one thing:
As far as I understand, when you're running an Enterprise server, each server will have different keys/secrets, so if at all possible, I'd like to avoid users using classic OAuth flow (because we'd need to ask users to create an developer application on their GitHub Enterprise server, copy its id/secret into Buildasaur and only then do the actual authentication). I'd much more prefer users use the simple Personal Token flow. Since users will have to do something manually anyway, creating and copying one Personal Token to Buildasaur is easier than copying key/secret and then doing authentication. Plus, we won't have to add UI for it.
Is there any reason to not use Personal Tokens? If you're fine with it, BuildasaurKeys won't need any extra keys inside. Because the server's URL should be parsed out of the project's remote URL (and somehow we should ping the server to recognize it as a valid GitHub Enterprise server as validation). I'll add comments to the places that I believe you don't need to change if you just use a Personal Token.
Does this make sense? If you're not sure about how the authentication works exactly, GitHub has great docs on it (search for Personal Token).

Sorry for bombarding you with those comments, I just wanted to make it easier to go and change the things to disallow OAuth for Enterprise, both in code and in UI.
As far as I see it, we'll need to add

parsing of server host+API path from a git repo's remote URL
pinging the new server to verify it's a valid Enterprise server

Let me know if you have any questions :) Thanks for working on this. I don't have/use Enterprise, so I'm glad more users will be able to take advantage of Buildasaur.

Also, please merge from master, I fixed the Keys issue there.

Awesome, thanks.
On Sun, Mar 6, 2016 at 12:09 PM, Honza Dvorsky<EMAIL_ADDRESS>wrote:

Also, please merge from master, I fixed the Keys issue there.
—
Reply to this email directly or view it on GitHub
https://github.com/czechboy0/Buildasaur/pull/248#issuecomment-192951639.

I rebased from master and now I have a large number of build errors,
including "Use of unresolved identifier 'BuildasaurKeys' ".  :(
On Mon, Mar 7, 2016 at 8:35 AM, Caileff, Rachel<EMAIL_ADDRESS>wrote:

Awesome, thanks.
On Sun, Mar 6, 2016 at 12:09 PM, Honza Dvorsky<EMAIL_ADDRESS>wrote:

Also, please merge from master, I fixed the Keys issue there.
—
Reply to this email directly or view it on GitHub
https://github.com/czechboy0/Buildasaur/pull/248#issuecomment-192951639
.

It's probably still cached, try to delete

~/.cocoapods/keys
Pods
and open Keychain Access and search for any keys starting with Cocoapods-Keys, delete those as well
delete derived data

Then run pod install again. Should work, works for me both on CI and locally.

I'll close this since you opened up #251.


add zqd configuration for default lake threshold size

We should add a way to configure the archive threshold size to use for new archive storage backed spaces if the incoming space post request doesn't specify it. This would let us choose at zqd run time a different size than the current 500MiB DefaultLogSizeThreshold in ppl/archive/schema.go.

We should add a way to configure the archive threshold size to use for new archive storage backed spaces if the incoming space post request doesn't specify it. This would let us choose at zqd run time a different size than the current 500MiB DefaultLogSizeThreshold in ppl/archive/schema.go.

Translating this to the modern era, it looks like this is the place where the default is currently being set:
https://github.com/brimdata/zed/blob/2ae2b3dc55191c151310b7f253be8ac894e98fda/lake/data/object.go#L19


Cannot terminate using Ctrl+C/D

What language are you using?
python
What version are you using?
0.3.1
What database are you using?
PostgreSQL
What dataframe are you using?
polars
Can you describe your bug?
Give a high level description of the bug.
What are the steps to reproduce the behavior?
If possible, please include a minimal simple example including:
Database setup if the error only happens on specific data or data type
Table schema and example data
Example query / code
import connectorx as cx

sql = """
select 1;
"""
db1 = "postgresql://xxchan:@<IP_ADDRESS>:11451/postgres"
data = cx.read_sql(db1, query=sql, return_type="polars")

What is the error?
Show the error result here.
> python test.py
[2023-02-16T13:21:21Z ERROR r2d2] error connecting to server: Connection refused (os error 61)
[2023-02-16T13:21:22Z ERROR r2d2] error connecting to server: Connection refused (os error 61)
[2023-02-16T13:21:23Z ERROR r2d2] error connecting to server: Connection refused (os error 61)
^C^C^C[2023-02-16T13:21:24Z ERROR r2d2] error connecting to server: Connection refused (os error 61)
^C^C^C^C[2023-02-16T13:21:27Z ERROR r2d2] error connecting to server: Connection refused (os error 61)
^D

I expect the program can exit immediately

Same problem here.
But using CTRL + Z I could stop it.
user@MY-PC:~/polars_test$ python3 is450.py
[2023-03-09T23:16:31Z ERROR r2d2] error connecting to server: Connection refused (os error 111)
[2023-03-09T23:16:32Z ERROR r2d2] error connecting to server: Connection refused (os error 111)
[2023-03-09T23:16:32Z ERROR r2d2] error connecting to server: Connection refused (os error 111)
^Z
[2]+  Stopped                 python3 is450.py
user@MY-PC:~/polars_test$


Update otel4s to v0.4.0

https://github.com/typelevel/otel4s/releases

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

Comparison is base (1482bd4) 84.45% compared to head (c20da87) 84.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1022   +/-   ##
=======================================
  Coverage   84.45%   84.45%
=======================================
  Files         129      129
  Lines        1769     1769
  Branches      177      177
=======================================
  Hits         1494     1494
  Misses        275      275

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


Configurable terminal creation

Much kudos to you for Harpoon! I have been l looking for a project like this a while now. I made a hackish version in pure vimscript a while back, but gave up on my implementation as it took too much of my time maintaining.
In my use case, I'd like to have terminals not only for the classical shell, but also to deal with REPLs. Think gotoTerminal(1) gives me normal Bash shell, gotoTemrinal(2) gives me Ipython (if in Python development).
In your current implementation, you would have to first create a shell gotoTerminal(2), and then pass the next command with sendCommand("ipython\n"). This works, but feels awkwards:

The prompt does not go straight into the target app, and $ ipython will uneadely take up visual space.
Exiting now requires 2 steps, as first you close REPL, then close the shell.
Knowing if shell is Harpoons job, and you send sendCommand("ipython\n"), when it is already running, is an annoyance.

There are a few ways to solve this, but the approach I'd prefer is to add terminal create string as an extra optional arg. E.g. gotoTerminal(2, ':e term://ipython -c \\%run %') will, if terminal 2 does not exist, create Ipython REPL, execute the file you are editing, and terminate when done. If a REPL is already running, the argument is ignored.
Looking at your code, I should be able to add this.

I do like this idea of having a repl. Perhaps something that is more permanent. You could also imagine that upon opening I would also like to see in some helper functions for the repl.
Great idea, if you would like to take a stab please go for it, else I will get to this soonish. I am on paternity leave which gives me more free time, but I also have a baby which takes all that free time away and replaces it with crying and poopy diapers.

It is a tiny change, so no problem. Take a look at #86.
If you like to get at it another way, I an open for discussing it.
Congratulations, dude! They sleep a lot in the beginning, so if you are good at context switching while being sleep deprived, you will have lots of extra time. :)
Oh, and can I assume that you have the coconut oil handy for when you are changing diapers?

So I have been told that my cultural references needs some updating.
In particular: https://www.urbandictionary.com/define.php?term=coconut oil
I wasn't aware of that particular connotation. And in light of it, my comment is... weird and problematic.
So if it wasn't clear: Oils, including coconut, are used together with dry-wipes during diaper changing. that is all.
This might perhaps be a new low for me on giving bad first impressions, but hey, you live and learn.

I do want to revisit this.
I am going to do a OSS / The Hoff kick off again for a couple weeks once I finish HPACK RFC :)

Cool. Let me know if you want me to contribute.

The proposal is missing at least 2 pieces:

Is the REPL read-only, ie only returns status after the initial command?
Is the REPL interactive, ie with some custom subcommands: https://github.com/ziglang/zig/issues/596 ie with manual send commands update,run etc ?

The first is a simple static string.
The latter is the users or plugins responsibility and requires to expose harpoon the state of the buffer (which can have nasty bugs on being asynchronous).


[react-native-web]  No handler for tag 1

Current behaviour
when i use react-native-tab-view in react-native project with react-native-web，it works fine in iOS or Android，but in web，i get this error:
Gestures.js:1 Uncaught ReferenceError: __DEV__ is not defined
    at managePanProps (Gestures.js:1)
    at Handler.componentDidMount (createHandler.js:1)
    at commitLifeCycles (react-dom.development.js:20)
    at commitLayoutEffects (react-dom.development.js:20)
    at HTMLUnknownElement.callCallback (react-dom.development.js:8)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:8)
    at invokeGuardedCallback (react-dom.development.js:8)
    at commitRootImpl (react-dom.development.js:20)
    at unstable_runWithPriority (scheduler.development.js:8)
    at runWithPriority$1 (react-dom.development.js:20)

Uncaught Error: No handler for tag 1
    at getHandler (NodeManager.js:1)
    at Object.dropGestureHandler (NodeManager.js:1)
    at Object.dropGestureHandler (RNGestureHandlerModule.web.js:1)
    at Handler.componentWillUnmount (createHandler.js:1)
    at callComponentWillUnmountWithTimer (react-dom.development.js:20)
    at HTMLUnknownElement.callCallback (react-dom.development.js:8)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:8)
    at invokeGuardedCallback (react-dom.development.js:8)
    at safelyCallComponentWillUnmount (react-dom.development.js:20)
    at commitUnmount (react-dom.development.js:20)

seems like it is because of https://github.com/software-mansion/react-native-gesture-handler/blob/5713701f4359dc11f4fb7ad3e4d78100b49730ce/web/NodeManager.js#L6

Expected behaviour

Code sample
For Syntax Highlighting check this link

Screenshots (if applicable)

What have you tried

Your Environment
System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 206.92 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.12.0 - /usr/local/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 21, 23, 26, 27, 28
      Build Tools: 23.0.1, 26.0.1, 26.0.2, 28.0.3, 29.0.2
      System Images: android-28 | Google Play Intel x86 Atom, android-R | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>14223
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_212 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

software
version

ios or android
web

react-native
0.62.2

react-native-tab-view
2.14.2

react-native-gesture-handler
^1.6.1

react-native-reanimated
^1.7.1

node

npm or yarn

see  https://stackoverflow.com/questions/61115645/react-native-web-dev-not-defined/62297869#62297869


Maatian Maps

Vertical Datums
We would like to share this information (vertical datum) and (vertical data projections) plus the paradigm considering the removal of virtually all dams.
This information will be shared for risk management in order to determine where to build resiliency structures for neighborhoods and communities and possible commercial applications.
I'm adding a link to this correspondence that has art and research I put together with some facts but there are more reasons to be found all around on this domain. https://superspacefaith.tumblr.com/post/180256186893/hydropower-reached-its-peak-in-the-1940s-forty
Sincerely, a huge fan

Hi Xavier. We use github issues to track proposed changes to our code that we can actually act on, and since I'm not seeing any such proposal here, I'm going to close this. If you have questions about iNat functionality, please ask a question at https://forum.inaturalist.org


[WIP] check for inverted axis and custom CRS

Note: This PR will need a new rasterio release to be able to work
closes #8 #26

FYI, this is a sketch I need to figure out private variable in pydantic

With latest commit
import morecantile
nztm = morecantile.tms.get('NZTM2000')
print(nztm.xy_bounds(morecantile.Tile(1, 2, 0)))
CoordsBbox(xmin=1293760.0, ymin=3118720.0, xmax=3587520.0, ymax=5412480.0)

name
CRS
inverted
NorthingEasting
latlong

LINZAntarticaMapTilegrid
EPSG:5482
True
True
False

EuropeanETRS89_LAEAQuad
EPSG:3035
True
True
False

CanadianNAD83_LCC
EPSG:3978
False
False
False

UPSArcticWGS84Quad
EPSG:5041
False
False
False

NZTM2000
EPSG:2193
True
True
False

UTM31WGS84Quad
EPSG:32631
False
False
False

UPSAntarcticWGS84Quad
EPSG:5042
False
False
False

WorldMercatorWGS84Quad
EPSG:3395
False
False
False

WorldCRS84Quad
EPSG:4326
False
False
False

WebMercatorQuad
EPSG:3857
False
False
False

There is something odd about the EuropeanETRS89_LAEAQuad and LINZAntarticaMapTilegrid  TMS documents. While GDAL (and proj) tells we should invert the axis, the coordinates are stored in x,y order 🤔

I provided the scales, origin and EPSG ID, Even made the JSON file. Note we have just been discussing this projection over in https://github.com/OSGeo/PROJ/issues/2254. The projection axis is swapped and has a very usually definition. See the comment from Even:

"easting (E)",north, means that this is an axis meant at representing easting values of the projection, but as you are centered at the south pole, all directions starting from it go to the north.

While GDAL (and proj) tells we should invert the axis, the coordinates are stored in x,y order

What do you mean by this?

Excellent,

What do you mean by this?

    def _invert_axis(self) -> bool:
        """Check if CRS has inverted AXIS (lat,lon) or (lon,lat)."""
        return (
            epsg_treats_as_latlong(self.crs)
            or epsg_treats_as_northingeasting(self.crs)
        )

I mean ☝ return TRUE for http://www.opengis.net/def/crs/EPSG/0/5482 CRS, thus when creating the tiles, I'm swapping the coordinates (like for the NZTM2000 TMS) but the result won't be good because when I check the TMS document (json) coordinates, the origin
"topLeftCorner": [
    6918457.73,
    -918457.73
],

is stored as X, Y
e.g for NZTM2000
"topLeftCorner": [
    10000000,
    -1000000
],

the origin is stored as Y,X

"topLeftCorner": [
6918457.73,
-918457.73
],
is stored as X, Y

This is actually Y,X. So it looks good.

Update, this is still blocked on rasterio side, but Sean might move forward by adding the need API in rasterio sooner than in 1.2 https://github.com/mapbox/rasterio/pull/1943#issuecomment-700183778 🎉


Help required in creating a Blog Post Page

Hey! We require a Blog Post page for our site. The requirements are simple:

The page should match the theme of our site.
The page should be present on the navbar.
The page should be simple and easy to use.

Any suggestions or contributions are appreciated.

Hey, I am interested in helping you guys by enhancing your website by creating the blog post required.

happy to pick this one


Game crashes during launch

After downloading a modpack, most packs crash after launching including Vanilla 1.12.1, Age of Engineering, Clash of Titans, and Skyfactory 3. However, Project Ozone 2 seems to launch fine. I am running Archlinux.
AoE-crash-2017-09-25_10.51.17-client.txt
COTT-crash-2017-09-25_10.55.17-client.txt
Skyfactory-crash-2017-09-25_10.56.28-client.txt
Vanilla-crash-2017-09-25_10.55.36-client.txt
Project Ozone 2-latest.log

I'm looking into this


convert *.dll to *.bin on deploy

does NOT fix #129, (see here)[https://github.com/McNerdius/TailBlazor-Templates/issues/26#issuecomment-1125835247] but hopefully it's a step in the right direction.
merging here but it will not be applied to tailblazor-templates.
still on the lookout for a more robust (yet simple) solution.  if one is found in a timely manner, it will be applied both here and to tailblazor-templates.  if not, this workaround will be applied to tailblazor-templates.


Ruby/YAML dependency issue when compiling from source

Getting the following issue when compiling Ruby from source on the Archer supercomputer (after installing yaml and readline).
$ make rb PREFIX=$HOME/custom_software/coderunner_dependencies
...
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
...

Looking at the Makefile section where Ruby is compiled:
ruby:
    tar -xzf ${RUBY}.tar.gz
    cd ${RUBY};  ./configure --prefix=${PREFIX} ${MY_CONFFLAGS} && make ${MY_MAKEFLAGS} && make install ${MY_MAKEFLAGS}
    cd ${RUBY}/ext/readline; ruby extconf.rb ; make && make install
    cd ${RUBY}/ext/psych; ruby extconf.rb ; make && make install

While Ruby is compiled before we try to add readline and psych support, unless the user has already added the CR dependency location to their PATH, the ruby extconf.rb command is defaulting to the system Ruby. This is not what we want.
Solution is to automatically use the newly compiled version of Ruby using the user-specified PREFIX command line argument.

Something strange is going on here with compiling different Ruby versions with readline support:
Ruby 1.9.3 - works
Ruby 2.1.0 - works
Ruby 2.3.0 - doesn't compile
Error messages are all over the place and different between local machine and Archer.
Temporary solution is to fall back to 2.1.0 until we figure out what's going on.

This may be related to the configuration files which were not migrated from the old SVN repo. These have been added in: e0ad4c0048b701aa2017cdc2e7ea601db8800612

Running the archer.sh configuration script and then compiling CR dependencies from source produces the following error when compiling 2.2.5 (the target ruby version) during the make install step for building ruby with readline support:
$ cd "ruby-2.2.5"/ext/readline; /home/e424/e424/vanwyk1/custom_software/cr_deps_new/bin/ruby extconf.rb ; make && make install
...
make[1]: Entering directory `/home4/e424/e424/vanwyk1/code/coderunner/dependencies/ruby-2.2.5/ext/readline'
make[1]: *** No rule to make target `/include/ruby.h', needed by `readline.o'.

Issues:

Running modulecmd bash unload PrgEnv-cray type commands is not actually unloading or loading anything. Why not just module unload PrgEnv-cray etc?
XTPE_LINK_TYPE is not in the Archer documentation. There is an equivalent here, but it's called CRAYPE_LINK_TYPE. Since you probably weren't using this flag it suggests it's not necessary.

The problems in this ticket may be related to dependencies generally being outdated. This is dealt with in #10

The problems in this ticket may be related to dependencies generally being outdated. This is dealt with in #10. Closing, will reopen if necessary.


Compute: build rdkit without freetype support

Problem
Summary of changes
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

re-ran the e2e


Label can be an attribute as well

In addition to the label element, there is also the label attribute (e.g. on the option element).
Gomponents currently only supports the element, not the attribute. I think this should be changed.
It could be handled the same way data, form, style, and title are, by splitting it into LabelEl and LabelAttr. The only problem I see is that this would break existing code.
What do you think, Markus?

Hi @Hendrikto, thank you for the issue!
D'oh, I thought I had found them all. Damn. The label element is used extensively in a lot of code, I'll have to think about how to handle this one. Maybe there's a go fix type thing that could be used to fix it automatically in people's code. Hmm.
If you need it in the meantime, you can always use g.Attr("label").

See also #170 .


Outline becomes pink (like missing material) on some devices

I tested on an old HTC phone, all outlines become pink like it's missing the material.

Guess it's too old and doesn't support the required shader level.


Unable to edit MP4, and re-save as MP4?

Q
A

Bug?
Possibly?

New Feature?
no

Version Used
0.9.3

FFmpeg Version
FFmpeg 3.2.2

OS
ubuntu

I'm trying to edit an MP4 file that I have saved on my server, remove its audio, and then re-save it again as an MP4.
Here's my code:
$ffmpeg = FFMpeg::create();

$video = $ffmpeg->open($pathToMP4)
    ->addFilter(new SimpleFilter(array('-an')));

$streams = $video->getFFProbe()->streams($pathToMP4);

$format = new X264();
$video->save($format, $pathToMP4);

// Used later in the code, irrelevant
$dimensions = $streams->videos()
    ->first()
    ->getDimensions();

However, when the new file is saved, it only saves like < 1 second, even though the video is well over 5 seconds long.
What am I doing wrong?

@jens1o Any ideas?

I'll try to reproduce tomorrow(sorry, I must be in bed in 5 minutes).
Thanks for the ping!

No problem, and thank you!

Here is the original video:
https://streamable.com/lnuuy
And here is what PHP-FFMpeg outputs after save():
https://streamable.com/hpgbu

Thanks for posting it, I'm going to take a look now. :)

It's working for me. My test script:
<?php
require_once './vendor/autoload.php';

use FFMpeg\FFMpeg;
use FFMpeg\Format\Video\X264;
use FFMpeg\Filters\Audio\SimpleFilter;

const PATHTOMP4 = './original-bug-video.mp4';

$ffmpeg = FFMpeg::create();

$video = $ffmpeg->open(PATHTOMP4)
    ->addFilter(new SimpleFilter(array('-an')));

$streams = $video->getFFProbe()->streams(PATHTOMP4);

var_dump($streams); // works as expected

$format = new X264();
$video->save($format, './finish.mp4');

// Used later in the code, irrelevant
$dimensions = $streams->videos()
    ->first()
    ->getDimensions();

so for me it looks like something in your environment isn't right. What php version do you use? I'm using the exact same ffmpeg version, but I'm on Windows.

Can you try overwriting the original MP4 when you save()? Because that's what I do.
I'm using PHP 5.6.23.

Wow. Nice catch. Yep, you found a bug! But this lib doesn't "save" the file, we just generate an command ffmpeg will handle itself.
I recommend filing an issue at ffmpeg itself, there's nothing we can do. I would propose you save it to a different file, and if you really need it, you delete (the unlink function is your friend) it and rename the source file, although it's always good to have the original, because when you're able to upgrade to a better format, you can reencode the video to make it better.

I wonder if using the options -y or -f would work:
https://ffmpeg.org/ffmpeg.html#Main-options

I'm afraid but I would try it out, I don't know more in this topic than you. I didn't expected ffmpeg to do that.

Would this be the correct way of adding the -y option?
$video = $ffmpeg->open(PATHTOMP4)
    ->addFilter(new SimpleFilter(array('-an', '-y')));

Found this related SO question:
https://stackoverflow.com/questions/28877049/issue-with-overwriting-file-while-using-ffmpeg-for-converting

Ah, that makes sense. So it's not a bug. I would rather start using another file. I fixed this "bug" in my development version of my ffmpeg php wrapper.

@jens1o
As a related question, how can I open an MP4, remove its audio, and re-save it as an MP4, without assigning it a new format.
Currently, what I do is this:
$ffmpeg = FFMpeg::create();

$video = $ffmpeg->open($path . '/file.mp4)
    ->addFilter(new SimpleFilter(array('-an'))); // Remove the audio

$format = new X264();
$video->save($format, $path . '/new.mp4');

But this takes over 30 seconds to finish.
However, if I simply run this command:
ffmpeg -i file.mp4 -c copy -an new.mp4

It finishes in under 1 second.
How can I replicate this command in PHP-FFMpeg? It looks like the problem in my code is most likely assigning a format (new X264()).

you may want to add a simple filter -c copy. ;)

Just tried this and it's still taking >30 seconds. :/
$ffmpeg = FFMpeg::create();

$video = $ffmpeg->open($path . '/file.mp4')
    ->addFilter(new SimpleFilter(array('-an', '-c', 'copy')));

$format = new X264();
$video->save($format, $path . '/new.mp4');

OK, so I did some further digging, and I found that this code:
$ffmpeg = FFMpeg::create();

$video = $ffmpeg->open($path . '/file.mp4')
    ->addFilter(new SimpleFilter(array('-an', '-c', 'copy')));

$format = new X264();
$video->save($format, $path . '/new.mp4');

Outputs this command:
ffmpeg -y -i file.mp4 -an -c copy -vcodec libx264 -acodec libfaac -b:v 1000k -refs 6 -coder 1 -sc_threshold 40 -flags +loop -me_range 16 -subq 7 -qdiff 4 -trellis 1 -b:a 128k new.mp4

What I need is code that outputs this command:
ffmpeg -y -i file.mp4 -an -c copy new.mp4

Pretty much removing everything except -an and -c copy.
How can I do this? @jens1o

Modify the sources. This isn't accessible via an api.

That's unfortunate. Seems like an oversight to not allow simpler commands.

Wait, I got a sudden idea: You may want to manually set the rates, which you can get by ffprobe. I think it takes that long, because in your real video, the rates are different, so ffmpeg cannot copy.


LCA BINARYSEARCH TREE IN JAVA

LCA BINARYSEARCH TREE IN JAVA
Fixes #2088
Replace #2088  with the issue number which is fixed in this PR
code change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Rounak-chauhan place it inside java folder


wrong column mentioned in the command

[Enter feedback here]
I see an extra column CreditCardID mentioned in the command bit is not refreneced any where .
UPDATE CreditCard
SET CardNumber_Encrypted = EncryptByKey(Key_GUID('CreditCards_Key11')
, CardNumber, 1, HASHBYTES('SHA2_256', CONVERT( varbinary
, CreditCardID)));

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

ID: 4cd3dba3-ebd8-342e-fce9-af4c5ce39324
Version Independent ID: f9725f20-7bdd-2e6c-f5db-957c00771d27
Content: Encrypt a Column of Data - SQL Server & Azure Synapse Analytics & Azure SQL Database & SQL Managed Instance
Content Source: docs/relational-databases/security/encryption/encrypt-a-column-of-data.md
Product: sql
Technology: security
GitHub Login: @jaszymas
Microsoft Alias: jaszymas

@sharma88bhaskar -- thank you for your feedback.  I am looking into this article.

@sharma88bhaskar -- the CreditCardID column is in the Sales.CreditCard table.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Setup a module programmatically from the CLI

What problem does this feature solve?
I'm currently building a tool that will bootstrap a nuxt project from our CLI.
Our CLI will run create-nuxt-app to bootstrap the app but i'd like to setup a module right away in the newly generated project without having to manually edit the nuxt.config.js file.
What does the proposed changes look like?
It's an ongoing discussion with @Atinux right now, maybe something on create-nuxt-app that would offer a way to do that.
Something like:
npx create-nuxt-app <my_project> --useModule [ "myModuleName", { myConf: '' }]
or
npx create-nuxt-app <my_project> --useModule ./myModuleConfig.js
Or maybe we could consider having some kind of way to setup the module interactively.
It would be done on the module level and executed by the CLI.

This feature request is available on Nuxt community (#c9957)

We are planning to implement this within nuxi. See https://github.com/nuxt/nuxt/issues/13552 and https://github.com/nuxt/nuxt/issues/13550.


"Tracks - by Date" listing doesn't handle dateless albums nicely

Dateless albums are included at the bottom of the list - with a bad date accent, 12/31/1969!
For this listing, like other "by date" listings, tracks that don't have release dates should be outright excluded - there may be tracks which come from albums that don't have dates, but still themselves have a release date, via a custom Date First Released, and those should be included. Just excluding tracks without dates before chunking is enough - albums that don't have any tracks with dates won't appear in the chunked list at all.

Not sure where the comment about "like other by-date listings" came from, since the only other by-date listing is "Albums - by Date", and it just filters dateless albums out! We're doing the same for "Tracks - by Date", which also keeps the listing flat rather than chunk-based.


Consider clarifying, is this an alternative for Kubeflow?

As a dummy who is evaluating different options for ML Ops, I don't have a full picture of how Kubeflow works. Does trains-agent integrate with Kubeflow? Or is it a more R&D-friendly replacement?

Hi @austinkeller

Or is it a more R&D-friendly replacement?

Kind of, but also integrates with Kubeflow :)
Specifically, Kubeflow assumes all steps are self contained containers, and that data can be volume mounted etc.
In this aspect trains-agent solves the containerization problem and adds logging into the process.
To understand how trains work, usually the dev steps are:

Write code on "local" machine. Using trains all the code/environment/arguments are logged (including a few other stuff, but less relevant to our case)
Clone experiment in UI (or from code / automation)
Put code into execution queue (the trains scheduler,it also includes priorities etc, with UI as part of the system UI, see trains-server)
trains-agent running on remote machine in daemon setup, pulls the experiment from the execution queue, sets the environment accordingly and launch / monitor the process

Back to KubeFlow, since creating the experiment is done automatically (see step (1) trains records the environment and creates the experiment in runtime), trains-agent can build a docker container for the experiment to later be used by Kubeflow. This makes the packaging a lot easier (see trains-agent build --docker) . You can actually make it even lighter, and use trains-agent to setup and launch an experiment without packaging the experiment, but by using a base container and letting trains-agent setup everything inside the container (see trains-agent execute).
Does that remove a bit of the mystery ?
What exactly is your use case ? (Is it more development oriented, or productization stage ?)


Typo fix in comments.

Hi @mimig1, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (mimig). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


As a user I would like to invite other users to update my project

@piascikj  is this the task you want to assign to Matt?

yes
On Wed, Sep 7, 2016 at 2:00 PM, K Baus<EMAIL_ADDRESS>wrote:

@piascikj https://github.com/piascikj is this the task you want to
assign to Matt?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/imdone/imdone-atom/issues/106#issuecomment-245382325,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOQIc48J1Tc2oh35Vv-9jo6yNLGOjHLks5qnwm5gaJpZM4I8BhY
.

--
Jesse Piaścik
Founder @imdoneIO https://twitter.com/imdoneIO | imdone.io
about.me/jesse.piascik


Screen text mode

[x] SCREEN 0
[x] LOCATE
[x] POS
[x] CSRLIN
[x] CLS
[x] WIDTH
[x] VIEW PRINT
[x] COLOR

Fixed.


Thumbnails taking much longer to load

Hi, I just rebuilt release-4.1.0 from source and I noticed this issue.
The thumbnails takes much longer to load in the media viewer, and I notice this error popping up in console logs which seems to be related:
card-0c55e731.js:75 Error: Failed to receive response from Home Assistant for request
    at Pp (card-0c55e731.js:141:10229)
    at async QM (card-0c55e731.js:320:22494)
    at async i (card-0c55e731.js:320:39222)
    at async Promise.all (/lovelace/index 0)
    at async pT.getEvents (card-0c55e731.js:320:39410)
    at async a (card-0c55e731.js:320:16313)
    at async Promise.all (/lovelace/index 0)
    at async o (card-0c55e731.js:320:16637)
    at async Promise.all (/lovelace/index 0)
    at async MM._handleQuery (card-0c55e731.js:320:16719) {request: {…}, response: {…}}

PS: I'm using Frigate 0.12.

Thanks for testing from v4.1.0 branch. There are substantial changes to the codebase even though it probably mostly looks the same, so there will definitely be bugs to squish here.
That seems to suggest the integration didn't properly respond to the request. You should be able to click the ... for the request and response to see what they were? (Just to make sure it was thumbnail related). Anything in your HA logs?

BTW: Since you're building yourself, if you set DEV=1 in your environment, you'll get source mapped output that will make that stacktrace more useful.

Hm... cool. I will check for what more information I have.
I noticed that I unintentionally had disabled snapshots for one of my cameras in Frigate UI, so I don't know, maybe that's why.
I'll keep you posted.
BTW, would you prefer that I don't report issues for the release-4.1.0 branch?

BTW, would you prefer that I don't report issues for the release-4.1.0 branch?

The opposite: would really appreciate bug reports for anything in 4.1.0 that seems broken, especially if it behaves differently than it used to.

@dermotduffy this shows up in my HA logs:
beta:5000/api/portao/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.289 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/video_porteiro/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.292 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/rua/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.295 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/morro/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.298 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/portao/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.301 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/events/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.305 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/video_porteiro/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.308 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/rua/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.310 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/morro/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.314 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/portao/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.317 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/video_porteiro/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.321 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/rua/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.324 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/morro/recordings/summary?timezone=America/Sao_Paulo:
2023-02-17 18:35:37.327 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/portao/recordings/summary?timezone=America/Sao_Paulo:

I'm running:
https://github.com/blakeblackshear/frigate-hass-integration/releases/tag/v4.0.0-beta4
https://github.com/blakeblackshear/frigate/releases/tag/v0.12.0-beta8

Just a one off, or continually? If the former, is it possible Frigate was restarting at the time?

It happens every time I try to open the Media Gallery of the card. It takes a lot of time to load the thumbnails, and I suppose that's the reason.
Also, this is not some times... Happens every time. Maybe Frigate and its APIs aren't working well.
I will check tomorrow if the same request works when calling Frigate directly, to see if the integration may be the culprit.

The same request works normally if I call it from the SSH add-on.
Well, apparently my integration is not talking to the Frigate add-on correctly. That must be why the problem.
I think everything which uses MQTT is working like detected objects and so, but everything that has to do with the API doesn't work.
Example:
2023-02-18 14:06:39.104 ERROR (MainThread) [custom_components.frigate.api] Timeout error fetching information from http://ccab4aaf-frigate-beta:5000/api/stats:

But:
$ curl -fssL http://ccab4aaf-frigate-beta:5000/api/stats
<works>

Ok, as this is clearly not a problem with the card but instead with the integration, I'll reopen this issue there.

Ok. Actually this has nothing to do with the new code in the branch or the integration. It's because I have multiple of the same cameras in the same card:
cameras:
  - camera_entity: camera.video_porteiro
    live_provider: webrtc-card
    webrtc_card:
      url: video_porteiro
  - camera_entity: camera.rua
    live_provider: webrtc-card
    webrtc_card:
      url: rua
  - camera_entity: camera.morro
    live_provider: webrtc-card
    webrtc_card:
      url: morro
  - camera_entity: camera.portao
    live_provider: webrtc-card
    webrtc_card:
      url: portao
  - camera_entity: camera.video_porteiro
    live_provider: webrtc-card
    title: Vídeo Porteiro (HD)
    id: video_porteiro_hd
    webrtc_card:
      url: video_porteiro_hd
  - camera_entity: camera.rua
    live_provider: webrtc-card
    title: Rua (HD)
    id: rua_hd
    webrtc_card:
      url: rua_hd
  - camera_entity: camera.morro
    live_provider: webrtc-card
    title: Morro (HD)
    id: morro_hd
    webrtc_card:
      url: morro_hd
  - camera_entity: camera.portao
    live_provider: webrtc-card
    title: Portão (HD)
    id: portao_hd
    webrtc_card:
      url: portao_hd

Maybe the card tries to call the Frigate API twice for such cameras when I open the media gallery.

Maybe the card tries to call the Frigate API twice for such cameras when I open the media gallery.

Yeah, it definitely will. I'm not sure that's particularly incorrect though, i.e. as far as the card is concerned they are different cameras. This still shouldn't result in the calls to the backend failing...
Let me investigate and see if there are incorrect duplicate calls happening here. But if it's just making 1 call per configured camera, that actually seems reasonable to me. The calls are supposed to be cached (per configured camera), so I do think there is something unexpected happening based on the log messages from the integration bug you created.

Right, but perhaps the card can somehow detect these duplicated cameras, check that they would end up with the same API call, and prevent making two of the same calls at the same time.

Right, but perhaps the card can somehow detect these duplicated cameras, check that they would end up with the same API call, and prevent making two of the same calls at the same time.

Yes, it could do that -- but should it? :-) The card makes a lot of API calls, on each one that's extra complexity for a corner case. If the substream functionality was implemented (as discussed in #934), this definitely doesn't feel worth it.

Oh yes, you are totally right. Supporting substreams directly would definitely solve the issue for me.

@felipecrs Do a pull and try again, I think it'll be better. The recording calls will still be made, but (far) fewer of them -- hopefully this reduces the load on your Frigate backend, and thus the calls won't time out...

Wow, thank you, it's million times better now! Awesome!

BTW I noticed this in my HA logs... never had noticed it before:
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 01:59:03 (1 occurrences)
Last logged: 01:59:03

Detected integration that calls media_source.async_resolve_media without passing an entity_id. Please report issue for media_source using this method at homeassistant/components/media_source/__init__.py, line 147: report("calls media_source.async_resolve_media without passing an entity_id")

Not sure if it's related...


Testing on land data

I tried to run this on 2 different land datasets.
Fisrt one has pretty good signal/noise ratio and the algorithm works pretty good:

The second dataset is of poor quality: geology includes permafrost with high energy attenuation, surface noise is high:

Do you have ideas what we can do to improve the result of the second dataset?

You have so much traces on second dataset, how much time did you wait?

In general for very noisy data you should increase traces-per-gather, decrease maximum time and keep gain ~1-2.
You can try maximum time 1200 ans tps 40 if number of traces is dividable by 40.

Yes its about 13k traces and it took about 10-20 minuts, don't know exactly.
It is 2D seismic that contains 70k traces overall.

Does the perfomance is pretty slow because of python? or how do you think can we improve the algorithm so it works abou 10 time faster? for example by using julia instead of python.

No, it's not python problem. There are lot of ways how to improve performance. One of the simplest way - use GPU. Do you have GPU?
Right now it's just demo or first version. I don't want to spend a lot of efforts on optimisation if no one use the library 🥲

Right now it's just demo or first version. I don't want to spend a lot of efforts on optimisation if no one use the library 🥲

I think this this repo has a potential.
I think I have GPU but I haven't worked with it.
NVIDIA GeForce RTX 3050 GPU, I used to check whether it support CUDA and it seems so.
How I try with GPU?

Yes, it supports cuda. You are not able to use GPU with repo right now. But I will add possibility after I return fron Vienna. Probably it will be on Friday.


README update

The readme has two spelling errors namely backward-competability which is backward-compatibility and aimes which is supposed to be aims. First error can be found in the notes section of the README while the second in the third line of the README.

Open a PR if possible.


Suggest that the repository only entries add screenshots

to the Readme and maybe even a state estimation (playable, mature, design, …). That way it's easier to judge it without building it.

Related to #202

For those that are on gitlab.com/osgames we could surely do that (once we built them all)


shard_map - NotImplementedError: No replication rule for cond

Description
Description
The following (very minimal) example gives this error:
NotImplementedError: No replication rule for cond. As a workaround, pass the check_rep=False argument to shard_map. To get this fixed, open an issue at https://github.com/google/jax/issues
import os
os.environ["XLA_FLAGS"] = '--xla_force_host_platform_device_count=1'
from functools import partial
import jax
import jax.numpy as jnp
from jax.sharding import Mesh, PartitionSpec as P, NamedSharding
from jax.experimental import mesh_utils
from jax.experimental.shard_map import shard_map

mesh = Mesh(jax.devices(), axis_names=('i',))
sharding = NamedSharding(mesh, P('i'))

a = jnp.array([True, False])

@partial(shard_map, mesh=mesh, in_specs=P('i'), out_specs=P('i'))
def f(a):
  c = jax.lax.cond(a[0], lambda: 0, lambda: 1)
  return c

f(a)

Note I set --xla_force_host_platform_device_count=1 for reproducibility but the same happens for other device counts.
System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.28
jaxlib: 0.4.28.dev20240710
numpy:  1.26.4
python: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:36:13) [GCC 12.3.0]
jax.devices (1 total, 1 local): [CpuDevice(id=0)]
process_count: 1

Hello,
This will you give you the desired behaviour
import os
os.environ["XLA_FLAGS"] = '--xla_force_host_platform_device_count=1'
from functools import partial
import jax
import jax.numpy as jnp
from jax.sharding import Mesh, PartitionSpec as P, NamedSharding
from jax.experimental import mesh_utils
from jax.experimental.shard_map import shard_map

mesh = Mesh(jax.devices(), axis_names=('i',))
sharding = NamedSharding(mesh, P('i'))

a = jnp.array([False, False])
b = jnp.array([True, False])
@partial(shard_map, mesh=mesh, in_specs=P('i'), out_specs=P('i'),check_rep=False)
def f(a):
  c = jax.lax.cond(a[0], lambda: 0, lambda: 1)
  return jnp.atleast_1d(c)

f(a)
# Out[7]: Array([1], dtype=int32, weak_type=True)

f(b)
# Out[8]: Array([0], dtype=int32, weak_type=True)

Hello,
This will you give you the desired behaviour
import os
os.environ["XLA_FLAGS"] = '--xla_force_host_platform_device_count=1'
from functools import partial
import jax
import jax.numpy as jnp
from jax.sharding import Mesh, PartitionSpec as P, NamedSharding
from jax.experimental import mesh_utils
from jax.experimental.shard_map import shard_map

mesh = Mesh(jax.devices(), axis_names=('i',))
sharding = NamedSharding(mesh, P('i'))

a = jnp.array([False, False])
b = jnp.array([True, False])
@partial(shard_map, mesh=mesh, in_specs=P('i'), out_specs=P('i'),check_rep=False)
def f(a):
  c = jax.lax.cond(a[0], lambda: 0, lambda: 1)
  return jnp.atleast_1d(c)

f(a)
# Out[7]: Array([1], dtype=int32, weak_type=True)

f(b)
# Out[8]: Array([0], dtype=int32, weak_type=True)

Thanks for the answer;
Yes, I know this gets me the desired behaviour, however, as reported in the error this is a workaround. I opened the issue so that someone can fix the error.

Thanks @ASKabalan for the answer;
Yes, I know this gets me the desired behaviour, however, as reported in the error this is a workaround. I opened the issue so that someone can fix the error.


Update abdul-rahman.json

Thanks for your PR 😀
Only 5 tags are allowed. Thanks for reducing the amount im advance.

Ok will update the PR

@matthiasjost Updated the PR.


Add cygwin support

Extend sed command line to support cygwin for window enviroments.

Type of change

Bug fix
New feature
Improvement (improvement to code, performance, etc)
Test update
Documentation update

Description

Additional details

Related issues

Thank you for the contribution!

Just checking in, can you fork the fabric repo, clone it, checkout your branch and do a git commit --amend --no-edit -s && git push origin patch-1 -f to add your signature to the commit

Closing for now due to lack of DCO, if you wish to reopen please force push your branch with a signature on the commit.
Thank you


Fix reading of messages

Pull Request Test Coverage Report for Build 428356179

3 of 12 (25.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 38.934%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bin/buffer.go
0
9
0.0%

Totals

Change from base Build 428124250:
-0.06%

Covered Lines:
2155

Relevant Lines:
5535

💛  - Coveralls


Lint translation files for git merge conflict txt

Prevents https://github.com/jbx-protocol/juice-interface/pull/925 from happening again.

@wraeth-eth could you please review this when you get a chance?


can't stop servers

this happened after #5 api should be on another thread

Probably fixed in #15 but will keep open until you confirm please


Error add column to post

When i add a column to the post i get the following error:
Exception: An exception occurred while executing 'ALTER TABLE posts ADD sub_title VARCHAR(255) DEFAULT NULL, CHANGE status status enum('PUBLISHED','DRAFT','PENDING') DEFAULT '''DRAFT''' NOT NULL': SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'status'
I'm using laravel 7

Solved

The where was 'DRAFT' instead of DRAFT


Use multiplied cyclers for non-snaked axes

Description

This short circuits the snake_cyclers method in utils to use the equivalent multiplied cyclers when there is no snaking.
Motivation and Context

This is primarily a memory usage consideration.
The cycler object represented by multiplied cyclers is much smaller than the fully expanded cycler (which is equivalent) that this method currently produces.
Even for some modestly sized scans such as (11, 101, 101), the full cycler produced was eating hundreds of MB of RAM when all of the data was repeated anyway.
How Has This Been Tested?

The existing snaking tests already do exactly what I would want to do to test this: ensure that the output is as expected.

At some point it may be worth putting snaking natively in cycler, then even the snaked versions would benefit from reduction of repeated values kept in memory

This makes perfect sense to me, a very nice performance change for what the Wright Group does.
Test failures are unrelated as far as I know.


Title here for any issue you want to raise

The description of issue
What i am actually looking as a problem
what should be the proposed solution
which page we need to update.
These are needed to raise the issue.

Hi @albertsuki265
Please provide the description of the issue you are facing.

These are the parameters to  address  issue.
/triage needs-information

@niranjandarshann Thankyou ! but i am just looking how the community work and how to raise issue. Which type of issue one should raise.

@niranjandarshann Thankyou ! but i am just looking how the community work and how to raise issue. Which type of issue one should raise.

@albertsuki265  please go through the community contribution process first to understand the working of the community and to raise the issue. You can raise trivial issue, the bug report, feature to add or remove, any improvement in doocumentation of kubernetes etc. The relevant one with the repository.

You can raise issues related to bugs encountered with K8s website, any feature or enhancement request, website enhancement, documentation improvement etc. For other type of code base related contributions you can check out other repositories. This repo deals with K8s website and its documentation.
You can now close this issue

You can join K8s slack for any kind of discussion as per relevant channels and also attend meetings. Community is very welcoming and will help you out wherever you need help.
You can get links and proper Contributor guide here.
/close

You can find the community contribution process here https://kubernetes.io/docs/contribute/

@niranjandarshann  Thank you for your help. Will go through it. Your help means alot to me . I  got what actually i was looking for. Helping member is  the real meaning of community work.

You can join K8s slack for any kind of discussion as per relevant channels and also attend meetings. Community is very welcoming and will help you out wherever you need help.
You can get links and proper Contributor guide here.
/close

Sure will do .

closing issue
/close


Milestone 2 Feedback

Congratulations on finishing milestone 2! We can see you put a lot of work into this project, nice work!
Below we list some specific feedback you can use to improve your project.
We provide tick boxes for you to use in the future as you address these concerns to improve the final grade of your project.
If anything is unclear, please feel free to ask questions in this issue thread.

1. Write test cases and code iteratively
rubric={accuracy:20,quality:10,mechanics:10}

[ ] The documentation for the test functions is missing. - quality -4

2. R package checklist
1. Create project structure for the R project
rubric={mechanics:20}
Well done!
3. R package function specifications
rubric={quality:10}
Well done!
4. Specific expectations for this milestone are:
rubric={mechanics:10}
Well done!
5. Submission instructions
rubric={mechanics:10}

[x] The Python package and R package URL are missing  - mechanics -2

Thank you for the feedback!
I was hoping to ask about the documentation for our unit tests. We included documentation here for Milestone 2: https://github.com/UBC-MDS/colourpycker/blob/v1.0.0/tests/test_colourpycker.py
We were following the conventions in the tutorial (https://py-pkgs.org/05-testing#advanced-testing-methods). Is there an example for what documentation you were looking for?

Hi @negsadr, just following up on the above comment

Hi @lzung
Thanks for your message! You are right and I'm modifying your grade!
Good luck with the last week of the course!

@negsadr Thank you! :D


Feature/sftp debug

@tundish Do we need this now? Either rebase and merge, or close and delete the branch?


add git workflow support

Initial ground work to enable CD/CI support

Hi @cav71 , thanks for you effort, but I think you are overengineering this a bit.
There is no need to do all the parsing of arguments, etc. in Python, since the PyRun Makefile already takes care of these things.
The only part where this could be useful is for figuring out the SSL variable on various platforms, but this is often not needed, since the defaults in the Makefile should work most of the time. The reason I added this variable is because we used to ship our own SSL libs (as part of egenix-pyopenssl) and so I wanted to enable PyRun to use those.
It's really more important to get the main workflow framework set up, so that builds on multiple platforms are possible.
I was thinking of reusing parts of the machinery that https://github.com/indygreg/python-build-standalone is using: running builds in docker images for the different platforms, but without doing cross compiles and limiting the number of variants significantly compared to what Greg is doing.
What was your motivation to start putting the Makefile logic into a Python make.py ?

Thanks for the feedback. The key take into this pr is to create the workflow support (eg. anythng under .github/workflows.
I'm using there a matrix build that can cover quite fewer platforms than standalone, and it is contained into a single .yml file (actually two, one for the pr and one for the main merge).

What was your motivation to start putting the Makefile logic into a Python make.py ?
That is only for testing, aka display something: it can be replaced. I was thinking also that it could easily replace the Makefile as it is naturally multi platform, but that again wasn't necessary and as it is it just dumps variables.

I'm ok to close the PR if that doesn't suit the project! Thanks again.

Oh, I don't want to discourage you. However, the make.py file is not really something I'm looking for. The workflows themselves are great as skeleton and a good start, so if you could remove the make.py this could go in.


dns Negative cache

tcpdump shows that ATS will query DNS server for a non-exist host name every time.
there is no dns Negative cache in ATS.
i test ATS 6.2.1.

maybe another issue:
ATS will try ipv6 dns resolve for non-exist host name every time also i config flowing config:
CONFIG proxy.config.hostdb.ip_resolve STRING ipv4;none
sudo tcpdump -i em1 -n port 53                                                                                <<<
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em1, link-type EN10MB (Ethernet), capture size 65535 bytes
14:53:09.523847 IP <IP_ADDRESS>.26037 > <IP_ADDRESS>.domain: 42650+ A? www.pubyun.com.dns139.com. (43)
14:53:09.524741 IP <IP_ADDRESS>.domain > <IP_ADDRESS>.26037: 42650 NXDomain* 0/1/0 (96)
14:53:09.545515 IP <IP_ADDRESS>.49774 > <IP_ADDRESS>.domain: 27685+ AAAA? www.pubyun.com.dns139.com. (43)
14:53:09.546240 IP <IP_ADDRESS>.domain > <IP_ADDRESS>.49774: 27685 NXDomain* 0/1/0 (96)
14:53:13.125052 IP <IP_ADDRESS>.57917 > <IP_ADDRESS>.domain: 52856+ A? www.pubyun.com.dns139.com. (43)
14:53:13.125884 IP <IP_ADDRESS>.domain > <IP_ADDRESS>.57917: 52856 NXDomain* 0/1/0 (96)
14:53:13.146626 IP <IP_ADDRESS>.51052 > <IP_ADDRESS>.domain: 28095+ AAAA? www.pubyun.com.dns139.com. (43)
14:53:13.147184 IP <IP_ADDRESS>.domain > <IP_ADDRESS>.51052: 28095 NXDomain* 0/1/0 (96)

That seems broken - it shouldn't try IPv6 on outbound if that resolve type isn't set.

If this is still an issue please reopen.


Algorithm used

What neural network algorithm is used here?
Feedforward neural network, CNN, Radial basis function, RNN... etc ?(or some other )
Which one is used?

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

ID: 21be048d-33f7-901d-e6bc-c103f36843f3
Version Independent ID: 4e492fae-14ac-5395-2e13-3b57d7ac0d74
Content: Neural Network Regression - Azure Machine Learning Studio
Content Source: studio-module-reference/neural-network-regression.md
Service: machine-learning
Sub-service: studio
GitHub Login: @xiaoharper
Microsoft Alias: amlstudiodocs

@KunalBasnet  Feedforward is used here.

@xiaoharper
Any reference where i can see this working.?

please refer to this https://github.com/dotnet/machinelearning

Thanks for that

@xioharper is it possible to run my self coded python model to run as webservice for prediction inside Azure ML? And if possible be help me with the references.

@KunalBasnet - the doc issue itself has been resolved. For faster product support, I recommend the user forum.
Check out these support resources:
Technical support for Azure Customers: Submit and manage support requests through the Azure portal.  https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request
User forum: Ask questions, answer questions, and connect with other users in the Azure Machine Learning Studio support forum on MSDN. https://aka.ms/aml-forum-studio
#please-close


Upgrade to CakePHP 4.3.0

Updating CakePHP now supported image streams are >=7.3. Minimum PHP 7.2.

Captured new project content
Included default OpenShift page
Added back custom template config environment variables and salt function
Tested on CRC 4.8.12 with ub8-php73

See also: https://book.cakephp.org/4/en/installation.html

@cuppett I have merge it. We need this change for testing proposes. Can you please update CakePHP to 5.X in the other branch named like 5.X See #136 . We need it for version 8.1. Thanks

The breaks s2i-php-container tests. The merge request was reverted.


How do you determine if a user is disabled

How do you determine if a user has been disabled when querying a user

You can use AD attribute UserAccountControl http://www.netvision.com/ad_useraccountcontrol.php

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Move NPM package files out of /lib ; affects [resharper nuget myget dub chocolatey github]

The aim of this PR is to move all the files relating to the gh-badges package into a new location and give the package its own package.json and documentation while making as few other changes as possible.
The accomplishes several things:

We can distribute a package which only requires the necessary dependencies for the library (at the moment we force our users to install a bunch of other dependencies needed by shields.io but not gh-badges)
It is easier to provide more relevant documentation for the NPM package
It is step 1 on the road to further reducing the coupling between this package and the rest of the codebase

I've made the decision to keep all the npm devDependencies and scripts (for testing etc) in the repo root. There are several reasons for this:

npm install "file:gh-badges/" doesn't install the devDependencies of the child package and its (prod) dependencies go into the parent node_modules.
We'll need to amend our dependabot config to track/update dependencies across 2 package.jsons. We're going to get 2 PRs to review/merge for any packages which exist in both package.jsons. I'm keen to minimise that overhead. As it stands, is-css-color is the only dependency we need to have in both package.jsons.

I think this is the right choice for the way we organise things now, but if we want to move to a position where we store the package in a different repo we would need to change this.
A couple of other notes:

I haven't moved the logos dir into gh-badges. The logos dir was included in the package in 1.1.1, 1.3.0 and 2.0.0 but having looked into this a bit more, I don't think we've ever advertised/documented that they exist or documented logo as a valid format key. I think moving forwards, we should not include the logos in the package.
There is some further work that I would like to do around what we export in the package and how we import/require elsewhere in the application, but I don't want to clutter this PR more than we need to - that can happen in a future PR.
This PR modifies the service tests for powershellgallery but I haven't put [powershellgallery] in the title because they're failing for an unrelated reason. I think the temporary endpoint we switched to (see https://github.com/badges/shields/issues/2078 ) has gone away. Lets not get bogged down in that issue in this PR.

The only medium thing is the name of the folder. While gh-badges is the historical name of the npm package, it’s not very descriptive and I think does not convey to a new developer what to expect in the folder. I’d suggested some alternate names for the npm package. What do you think about using one of those names for this folder? If you want it to match the package name, we could deprecate the old package and re-release under a new name. In that case we should pick a name that’s available in npm.

Ideally the directory name should mirror the package name so if we're going to continue publishing at https://www.npmjs.com/package/gh-badges then the dir should be called gh-badges. If we're going to move it to a new name in NPM then we should call the directory whatever the new package name is. I think its confusing if we change the dir name but continue releasing with gh-badges as the package name.
I do agree that gh-badges is not the most descriptive name. It is not what I would choose today, but there is history. That said, I think I am in favour of sticking with it for now. It seems a bit odd not to put out a release for 2 years, then pop up and release 2.0 and then immediately deprecate the package a week later.
Perhaps another approach would be to call the dir 'package' or something - then we can change the package name at a later date without moving it?

it would be helpful to write a couple sentences in CONTRIBUTING.md

Yeah - good point. I'll have a look at the contributing docs too

if your intent is that contents of gh-badges is imported using relative imports rather than require('gh-badges') it'd be good to mention that.

I'm not entirely sure what the best approach is here. I think if we want to treat this more like a standalone package, we want to move away from relative imports but I think that will also mean we need to expose more of the guts of the module as public interface (e.g: if we want to use make-badge-test-helpers in other tests in /lib we need to expose it to package users too, but that's maybe not necessarily a massively useful thing to do). Maybe the answer is a mix. Thinking about this issue some more is what I was getting at when I said:

There is some further work that I would like to do around what we export in the package and how we import/require elsewhere in the application

I've just done everything with relative imports for the moment as I wanted to avoid changing too many things all at once in the same PR, but I think the next thing (or one of the next things) we should do is look at that issue.
Would be interested in your thoughts on the tradeoffs involved in this..

I'm not sure whether I agree or not. I do think the simple-icons support probably should be in gh-badges, perhaps as an optional peer dependency. That could happen in a follow-on.

Lets not address SimpleIcons in this PR. Do you think we should move the custom logos dir in this PR and keep them a part of the package?

I proposed a solution that simplifies font measuring in #2311. Let's get this in and then we can pick that up.

Hi sorry I didn't get a chance to check in on this yesterday. Thanks for responding to #2312 and adding some extra docs here.
I think I'm in favour of:

Plan to rename the package in a couple months, and move the files again when we do that. (i.e. folder temporarily uses legacy name)

One other thing to consider is that we're now we've started talking about stuff like changing the text measurer, supporting SVG only, changing the exported classes/functions, we might find we want to make another non backwards-compatible change in the medium-term future. That would require a major version bump to 3.0. That might also represent a natural milestone where changing the package name and deprecating would make sense. I don't think renaming the directory will be a complicated job when we do this.

Honestly when it comes to almost every decision about importing, I think the easiest solution is to refactor and rewrite these kludges away

:+1:


Add z-index property to CSS

...to make sure that the growl message stays always on top

How can I setup the message with a modal? I need the message always on top


Styles not being loaded

Hello team! First of all, I want to congratulate all of you on this amazing project initiative.
I was giving it a try. I copied and pasted the buttons section. Then I installed all the needed libraries that I was missing and changed the tailwind config to match the one on the project.
The problem I'm facing is that I don't see the styles of the components that I copy & paste. No error appears

What do you think could be causing this problem?
Maybe I'm missing something. What are the correct steps to follow to have it up and running in a new project?

Hi @CarlosBM18,
It seems like it might be a NativeWind set-up issue. You have to following the installation guide on https://www.nativewind.dev/v4/overview.
If that is not the problem, I would need a minimal reproduction repo to find the issue.

Hi @mrzachnugent ! Thanks for the fast response. Nativewind is in some way working for me in other components of the app. It looks like the problem is with Nativewind in your components. 🤯

It is possible your tailwind config does not include the path to those components?

@CarlosBM18 does your CSS file have the variables such as primary defined?


Implement Search Bar for Places

A search bar feature can be implemented where users can search for places based on the country. The search bar would query the database to filter places by country. This will allow users to find places quickly based on their selected country. This will improve the overall usability and make location discovery more efficient for users.
@Suvadip-sana Can you please assign me this issue under SWOC label? I want to work on it.

The search bar needs to be in navbar I guess? If yes, please assign this issue to me !! Add SWOC tag for consideration.


steps for coprime numbers

Related Issue

Info about Issue or bug

fix #2283
Describe the changes you've made
Added steps for coprime numbers
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@sairish2001 please review


Serverless deploy with Sequelize Typescript

Hello,
I build my project using the same farmwork and implement sequelize typescript for the data operation.
It's working fine with serverless offline.
but not working after deploy.
Thanks,

Hello @sandeepbussspacetech ,
Could you please be more specific what "not working" exactly means?

I close this because there is not enough information to reproduce the issue.


Convert Prometheus boot script to Go

The demo script is bash. We should convert it to Go and improve it to be resilient enough for real use.

Closing, ref https://github.com/deis/monitor/pull/25


Types are not merged when extended

My .gqlconfig has schema files as following
schema: {
    files: {include: ['libs/schema/src/**/*.gql', 'app/src/client-schema.gql']}
 }

and I have the Query defined inside ../schema folder
type Query {
   item: Item!
   items: [Items!]!
}

and I have the Query defined inside ../app/src/clientschema.gql
extend type Query {
   selectedItems : [Items!]
}

Now, I am writing a query which look like
query Cart {
  items{
     ...
  }
  selectedItems @client{
    ...
  }
}

The above scenario is working fine with gql-gen  tool and the app which is wriiten in angular app. The issue is that the VSCode GraphQL is not recognizing the sectedItems and giving linting error.
Expected, merge the types when it is extended using extend, I hope which is not hapening now.

https://github.com/Mayank1791989/gql/issues/45

For those winding up here, it looks like this project is largely abandoned, with a more current VS Code plugin here:
https://marketplace.visualstudio.com/items?itemName=GraphQL.vscode-graphql