Rotten tomatoes API has been locked down

It looks like they're not interested in being an API for free learning applications: https://developer.fandango.com/

@jeanettehead good point.  Within Mobilebridge SF we have some existing API keys for the workshops we run.  We'll see what CodePath ends up using as a replacement demo app (we got our curricula from them), and probably migrate over to that.
Are you thinking of running a Mobilebridge workshop in Denver?  If so, we could work with you & share some of our API keys for your event.  Let us know.

hey! it's like 6 months later, BUT we did run an iOSbridge workshop in Denver.
We have a fork of this ( @sashei led the updating and the workshop ) that was updated to point to https://www.themoviedb.org/?language=en instead of rotten tomatoes. (https://github.com/denver-railsbridge/iosbridge-tmdb)
The workshop was super successful, and we're planning on running another one in May. Hopefully that'll be a good time to clean up the repo.
We also created an installfest (a couple of the things in here are Denver specific, but mostly generic) which is here: http://denver-railsbridge.org/iosInstallfest/index.html
I have no idea how to get all of this content aligned and shared, do you have any recommendations? We can definitely work on our README as our next event gets closer, and try to organize all the resources we've built together.


feat: vuln-to-kusto build/env vars

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.311%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
2595

Relevant Lines:
3639

💛  - Coveralls


Previously Duped Lights In Contraptions Not Rendering Sprite

It appears previously duped lights from previous contraptions are not spawning with their size value, and therefore arn't rendering the sprite.  The lights correct themselves if "re-placed".
I suspect this to be caused by commit 1a1ddd36, as it is the latest commit and deals with the the light sprite.
@sammyt291

After some more investigation, it also seems not all old dupes are affected by this. Some dupes are rendering with a very small sprite size though when pasted with their duped data, some are rendering normally, and some aren't rendering at all.

it's impossible for that PR to break dupes, it doesn't touch any of the
relevant code. Those dupes were broken before that
On Sat, Jul 17, 2021, 04:14 bellum128 @.***> wrote:

After some more investigation, it also seems not all old dupes are
affected by this. Some dupes are rendering with a very small sprite size
though when pasted with their duped data, some are rendering normally, and
some aren't rendering at all.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wiremod/wire/issues/2200#issuecomment-881800262, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALKXIB3YSZBGQNP2SCYWITTYDRPPANCNFSM5AQRLBQA
.

if the lights were made previously with 0 size set, the sprite will not show now

Ah ok, so it sounds like a zero on the slider previously would have made them still render in the past, but this change makes them have to be updated since it makes the size slider affect the sprite overlay?
I understand that updating them to a new value corrects them, however if prior dupes have to be updated to work with this change, I just wanted it known that this is a regression nonetheless if the Wire team is okay with that (as it technically breaks backwards compatibility with these old dupes even though it appears they didn't have a useful size slider value but worked in the past)

Yeah the math.Clamp(self:GetSize(),0,128) change is why

Try this code and let me know if it looks better https://github.com/wiremod/wire/pull/2201

Just tried you PR @thegrb93 . It does look better, though I would still need to update all of my old dupes to make their sprite bigger as the sprite is really small (as that's what these dupes were saved with).

I personally don't mind doing this if its necessary , but I just think we need to ask ourselves, is this initial change something that was really worth it? Because I'm just not sure if the tradeoffs for having resizable sprites are worth having anyone that used a zero glow size in the past like I did (to have a sprite-only based light) update their dupes, especially since we're using a variable that wasn't originally designed for the sprite size for this.

Oh, oops. I thought 8 was what it was before. Looks like 128 was the original.

I think the sprite size should be a new input

There, I added that. Try it out

Just tried it, this works great! Only one thing...could you maybe add the fancy three sprite version back for the tubular light? I do thing that adds a nice little effect for that one, depending on the sprite size...


getRandomness needs to use previous block's hash not this block

This code:
keccak256(abi.encodePacked(block.timestamp, msg.sender, blockhash(block.number))
will call blockhash(block.number) where block.number is the currently executing block so blockhash() will return 0. We need to call:
blockhash(block.number-1)

I see this is fixed.


[fix/2.x] Remove deprecated buzz-react

Closes #580, #565

Codecov Report

Merging #582 into 2.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.x     #582   +/-   ##
=======================================
  Coverage   89.87%   89.87%
=======================================
  Files          60       60
  Lines        1560     1560
=======================================
  Hits         1402     1402
  Misses        158      158

Continue to review full report at Codecov.

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


Create issues to track progress

@ntut-xuan , I wonder if you can reorganize the working items in your schedule into issues in this repository?  That will turn the items into a trackable format.  You will know more about your progress and efforts spent

No problem. I'll work on it.

Any progress on creating the issues?

Hi @yungyuc, thanks for tracking this issue.
I already create the issue that shows the task before v1.0.0, any suggestion will be glad for me.

LGTM.  Please tag me if you have specific questions.


Update to be compatible with Solidity 0.5.x

This is tested on v0.5.8.

Thanks for your contribution!


Add Contributors

As the owner of the Blox AI repository, I'm initiating an important discussion regarding the documentation of contributor details. It's imperative for all collaborating individuals to ensure their information is accurately recorded in the src/app/contributors/ContributorsData.ts file. This ensures proper recognition and attribution for their valuable contributions.
Key Points:

Submission Reminder: I urge all collaborators who have not yet submitted their details to promptly do so by adding their information to ContributorsData.ts. This includes their name, email address, GitHub username, and a brief overview of their contributions.

Strict Adherence: Emphasize the importance of strict adherence to the guidelines outlined for submitting contributor details. Only individuals should add their own information, and any unauthorized modifications to existing entries will not be accepted.

All collaborators are requested to review the ContributorsData.ts file and ensure their details are accurately represented. This step is vital for maintaining transparency and recognizing the collective efforts that drive the success of the Blox AI project.
Your cooperation in this matter is greatly appreciated.
Fill up you details here:

@dakshsinghrathore @sarthakmishra459 @vanshikab52
Do this asap. for listing your contributions in our site !. After that you can check it at here: https://blox-ai.vercel.app/contributors

@subhadeeproy3902 am out of station right now, will do it by tonight asap

@subhadeeproy3902 I have raised the PR, kindly review it and merge, whenever you are free.

@suhanipaliwal please do the needful... add your details in the ContributorsData.ts file

@sanmarg please do the needful... add your details in the ContributorsData.ts file

@PradnyaGaitonde please do the needful... add your details in the ContributorsData.ts file

@sanmarg @suhanipaliwal please add ur details in ContributorsData.ts and send a PR asap


FYI: Pyston [uses ref counting now]

I'm not putting any pressure on supporting Pyston [or any other JIT Python], just think of this as a FYI on the interesting thing I discovered; the read on e.g. ref counting vs. former full GC.
[It seems Numba is supported now: https://github.com/stevengj/PyCall.jl/issues/220
I wander if other than Numba JIT, such as Pyston, or more than one JIT Python implementation, is a good idea to support.]
https://blog.pyston.org/2016/05/25/pyston-0-5-released/
"Pyston is now using reference counting.
[..]
We used a GC initially to try to get more performance. But applying a tracing GC to a refcounting C API, such as the one that Python has, is risky and comes with many performance pitfalls. And most challengingly, Pyston wants to support the large amount of code that has been written that relies on the special properties that refcounting provides (predictable immediate destruction). We found that we had to go to greater and greater lengths to support these programs
[..]
We are very happy to announce: we can run NumPy, unmodified."

If (and only if) they support the C API, we should be able to call them.

As I said, this is only a FYI, PyCall is awesome with what you've [all] done already, without Pyston support. It's not high priority for me [or anyone?] to support faster Python. People go to Julia for the speed [but not only, I advocate Julia also a better language, without the Hoare's "billion dollar problem", null pointers].
[Julia fixed the "two language problem for speed, as I see it, using Python with, is a (temporary?) crutch to get libraries, for non-speed-critical functionality.]
If anyone likes fast Python with fast Julia:
It seems (I do not really know more than what I'm quoting from the link I gave) they do support the C API (or at least a subset, but want to support all?):
"There are quite a few non-refcounting features that made it into this release as well:
Signal handling
Frame introspection of exited frames
Generator cleanup
Support for more C API functions, such as custom tracebacks
[..]
Why did we do this? In short, because CPython (the main Python implementation) uses refcounting. We used a GC initially to try to get more performance. But applying a tracing GC to a refcounting C API, such as the one that Python has, is risky and comes with many performance pitfalls. And most challengingly, Pyston wants to support the large amount of code that has been written that relies on the special properties that refcounting provides (predictable immediate destruction)."

If they support most of the C API, and support embedding, we should be able to support them without too much trouble.   It's probably not urgent until people are actually using Pyston for libraries they want to call from Julia.  e.g. if Anaconda ever supports Pyston.   Until then it won't be worth the trouble.


Fix is_valid_fraud_proof which tries to access message field of a ShardBlock instance

Though, the message field belongs to SignedShardBlock.
Found during py-specs transpilation.

Fix looks good! but the build is failing in seemingly an entirely unrelated way.
I'm investigating

Yay! It's green now.
Thanx, @djrtwo


doc: net: Enhance PTP time format documentation

Added overview for PTP time format documentation.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

Codecov Report

Merging #13577 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13577      +/-   ##
==========================================
- Coverage   52.45%   52.45%   -0.01%
==========================================
  Files         322      322
  Lines       46592    46592
  Branches    10768    10768
==========================================
- Hits        24441    24440       -1
  Misses      17246    17246
- Partials     4905     4906       +1

Impacted Files
Coverage Δ

arch/posix/core/posix_core.c
90.9% <0%> (-1.02%)
:arrow_down:

Continue to review full report at Codecov.

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


Don't get db location from config if conn supplied

The conn could point to any file on disk so this will in general not be correct.
Fix this by looking up the db path from the connection supplied and using that rather than relying on the config. Only fall back to config if no path or conn is supplied.
Also fix a small issue where the path separators could be inconsistent if the incorrect platform dependent path sepeartor was used in the config file. e.g. on windows ~/experiments.db would previously expand to c:\\users\\username/experiments.db
Another issue discovered as part of #1605
This should preferably have a test.

@astafan8 This now makes the path to db a property of the connection+. Do you want to have another look?


fix(fzf-tmux): get flex layout for split panes from vim width

In case the tmux terminal is vertically split already, because then the pane will be split from the current pane not the full window width.

Ty @johslarsen!
Does this conclude all the split flex sizing issues?

Mostly yes. Still left with whatever is causing major issues if you use fzf-tmux with split mode, but I doubt anyone actually care about that. The only reason I see for configuring both would be if you want to fall back to split instead of floating mode if you use fzf-tmux, but are not in a tmux session.

Mostly yes. Still left with whatever is causing major issues if you use fzf-tmux with split mode, but I doubt anyone actually care about that. The only reason I see for configuring both would be if you want to fall back to split instead of floating mode if you use fzf-tmux, but are not in a tmux session.

I’m failing to imagine how these options work together at all, IMHO if someone is using fzf-tmux and tmux env exists, split should be disabled.


Extending from unspecified job error message have job names switched around

Minimal .gitlab-ci.yml illustrating the issue
---
job:
  extends: non_existent_job
  script:
    - echo "Hello world!"

Expected behavior
We get:
non_existent_job is extended from job, but is unspecified, but it should be job is extended from non_existent_job, but is unspecified.
Host information
Ubuntu 20.04
gitlab-ci-local 4.36.1

Pull request go go :smile:

Reformulated in f7a4d23d1dd39d2b7c4b97dc0fae27ff511fc505


"Edit on GitHub" links broken for markdown files in a mixed rST/markdown project

Details
The Zulip project docs use a mix or .rst and .md files for our documentation, and everything works great except that the "Edit on GitHub" links for a file named e.g. "foo.md" point to a nonexistent "foo.rst" file on GitHub and thus are broken.

Project: zulip

I'm seeing the same problem with the files written in markdown in project using a mix of markdown and rST (the "edit on GitHub" links go to e.g. foo.rst when the page was generated from e.g. foo.md):
See e.g. http://zulip.readthedocs.org/en/latest/integration-guide.html

This is a duplicate of #1871, which was closed although it's not working yet.

@timabbott ok to close this now that we got it working by upgrading our Sphinx past 1.3.6?

Yes, for us this was resolved by upgrading to Sphinx 1.3.6.


Debug drawer does not work on some activities.

Debug drawer works perfectly fine on some screens and on some screen it does not work(does not slide out).
I have BaseActivity and all my activities extend from the BaseActivity. I've added the following lines in onCreate
if (BuildConfig.DEBUG) {
mDebugDrawer = new DebugDrawer.Builder(this).modules(
new ScalpelModule(this),
new LogModule(),
new DeviceModule(this),
new BuildModule(this)
).build();
}
On some Activities it works fine and some it does not. Is there anything missing?
Thank you for the library.

Got it. No problem with the Library. It might be helpful if some one faces the same issue.
Its just the way I was adding fragments to the container.
Will work without any issues if I use actual container ID:
getFragmentManager().beginTransaction().add(R.id.create_collect_container, mCameraRollFragment)
Will not work if I use the android root container ID as below.
getFragmentManager().beginTransaction().add(android.R.id.content, mCameraRollFragment)


Rio Info should show all available cluster domains

After adding a cluster domain to the rio-system namespace, I should be able to see it when running rio info in a comma separated list, similar to Cluster IPs.
Also, wildcard certificates should show as true when using a wildcard domain.
Reference: rancher/rio#700

Looks good now. rio info shows comma separated Cluster Domains and Wildcard Certificates with either (true) or (false) at the end of each of them if they are wildcard domains
$ rio info
Rio Version: 24c33d61-dirty (24c33d61)
Rio CLI Version: dev (HEAD)
Cluster Domain: gagb1s.on-rio.io,rio.qa.rancher.space
Cluster Domain IPs: <IP_ADDRESS>
System Namespace: rio-system
Wildcard certificates: gagb1s.on-rio.io(true),rio.qa.rancher.space(true)


ON/OFF Climate

Hello,
It's work perfectly but !
is ti possible to add service to active/desactive climate ?
we can do it in App to do target temperature to 4 degres during summer.
Thank you

Hello,
My request concerns the red button
Thank you

There is now a switch available on the main device to toggle heating on/off: https://github.com/rbiremon/hass-comapsmarthome/releases/tag/v1.1.0


graph/formats/dot,travis: update gocc version

Please take a look.

I broke gocc. When the fix is merged, I'll ping here with an update.

PTAL


HttpClientMetricNameStrategy should also have PATH_AND_METHOD

Problem:
com.codahale.metrics.httpclient.HttpClientMetricNameStrategies should also provide PATH_AND_METHOD because most of the time we are interested only in path information.
Currently, to get path metrics we use QUERYLESS_URL_AND_METHOD. This is not a good practice because endpoints change frequently. Suppose if we have dashboards, alerting system or other dependents in place, we need to change all of them with new metric names each time endpoint changes, it will be really painful.
Solution
we need something like this
public static final HttpClientMetricNameStrategy PATH_AND_METHOD =
            (name, request) -> {
                final URIBuilder url = new URIBuilder(requestURI(request));
                return name(HttpClient.class,
                        name,
                        url.getPath(),
                        methodNameString(request));
            };

@shashank-babu Thanks for opening this issue.

we need something like this
public static final HttpClientMetricNameStrategy PATH_AND_METHOD =
            (name, request) -> {
                final URIBuilder url = new URIBuilder(requestURI(request));
                return name(HttpClient.class,
                        name,
                        url.getPath(),
                        methodNameString(request));
            };

Is there anything preventing you in Dropwizard Metrics 4.1.x from defining this very HttpClientMetricNameStrategy in your own code and use it in InstrumentedHttpClients.createDefault(MetricRegistry, HttpClientMetricNameStrategy) or InstrumentedHttpClients.custom(MetricRegistry, HttpClientMetricNameStrategy)?

@joschi Thanks for acknowledging.
Currently, we are doing the same, defining HttpClientMetricNameStrategy in our own code.
I personally felt that this should be supported by dropwizard-metrics, as this is the most common use case.

@shashank-babu Care to open a pull request for adding this preconfigured HttpClientMetricNameStrategy?

@joschi Sure will do that.

@joschi find the PR.
https://github.com/dropwizard/metrics/pull/1578


Make Keymaps for managing tabs and split screens

Which keymaps do you have in mind?

@Greve2001 have made some keymaps for managing tabs in #59.


Add badge custom colors

Makes colors for badges fully customizable.

I updated Badge component you can override colors with your classes on component
<Badge type="dark" class="bg-black text-white">Dark</Badge>
Updated in version 0.0.17-next.12

Thx a lot @cogor, sry I wasnt active for the past two days 😄


Add support for Kafka Header Registry

As you'll see KIP-82 got adopted and submitted.
This means as of Kafka 0.11, Kafka will have headers.
Kafka Record, the value is simply a byte[] as such delegates the handling of what schema or how to decode that to the consumer, which obviously solutions like schema registry provide.
The Kafka Header record, introduces a String key and a value byte[], following this, as such having support for being able to register the kafka header value types.
It would be great to support schema registry for headers where the schema can be a primitive, int8, int16, int32, int64, float32, float64, boolean, bytes, string or more complex avro like schemas.
The idea would be a subject for lookup could be the topic + header key, or if all values for the same key within an organisation then simply the subject could just be header key.
Is this possible to record with the current schema repo api's? as in is the mapping agnostic and just simply subject = topic + ".key" or subject = topic + ".value" as such we could make subject = topic ".header." + headerKey

Current default convention for schema names is :v and :k for values and keys respectively.
There is a discussion going on here to change this convention for values as it is causing confusion to users.
Current api in KafkaAvroSerializer mentioned here takes care of handling computing schema names is mentioned here. Same API can be enhanced to handle computing headers schema when we support a kafka release which supports headers.
We may want to utilize kafka's message headers support to pass protocol information as part of header instead of prepending with the value payload. Initial thoughts on ser/des may be along the lines of MessageContextBasedAvroDeserializer and MessageContextBasedAvroSerializer.

We may want to utilize kafka's message headers support to pass protocol information as part of header instead of prepending with the value payload.

I think this is badly needed. It would be great if the payload is pure Avro so it can be decoded independently of the Hortonworks serde.

@nextropia You can submit an issue and we can implement it once kafka is released with headers support.

@nextropia can you file a issue for this.

Already did! #108

#488


BUG: Curve TWAP stalls halfway through the transaction. User cancels Bot Service gives 502

What is happening?

Section description
Provide as much context as you can. Give as much context as you can to make it easier for the developers to figure what is happening.

BUG: Curve TWAP stalls halfway through the transaction.
Curve TWAP:
It appears the TWAP bot stopped at 7:04AM PT
Monitor: check.bots.palomachain.com/curve_twap_bot
Checked URL: GET https://check.bots.palomachain.com/curve_twap_bot/
Cause: Status 502 Bad Gateway 502 Bad Gateway nginx/1.18.0 (Ubuntu)
It appears the TWAP bot RE-STARTED at 7:18AM AM PT
[https://check.bots.palomachain.com/curve_twap_bot/] [✅ Up] 200 - OK
Time (UTC): 2024-02-17 15:18:41.910
User canceled the transaction at 7:33AM PT
https://etherscan.io/tx/0x5796e7fa3e149af692b4f956a0f8abd1b1ec2ced4daa03bcc63d377718d670dc
Started at: 17 Feb 2024 at 04:58am HST
How to reproduce?

Section description
Please write detailed steps of what you were doing for this bug to appear.

Test Curve TWAP and check logs.
What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

Curve TWAP does not stop.

We got this error for at least 30 mins before the server restarted. I'm not sure why the server actually stopped and restarted
Feb 17 15:34:00 bots-server run.sh[3111072]: paloma_sdk.exceptions.LCDResponseError: Status 500 - failed to execute message; message index: 0: AllPending: execute wasm contract failed [!cosm!wasm/wasmd@v>
Feb 17 15:34:08 bots-server run.sh[3111411]: https://lcd.palomachain.com/cosmos/auth/v1beta1/accounts/paloma10dry4t7gr8rhd0khqcqyq95ytdh6vs8sjv84yj
Feb 17 15:34:08 bots-server run.sh[3111411]: Traceback (most recent call last):
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/app/curve-dca-bot-script/bot_execute.py", line 459, in <module>
Feb 17 15:34:08 bots-server run.sh[3111411]:     asyncio.run(main())
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
Feb 17 15:34:08 bots-server run.sh[3111411]:     return loop.run_until_complete(main)
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/app/curve-dca-bot-script/bot_execute.py", line 454, in main
Feb 17 15:34:08 bots-server run.sh[3111411]:     await asyncio.gather(worker(), web_server())
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/app/curve-dca-bot-script/bot_execute.py", line 449, in worker
Feb 17 15:34:08 bots-server run.sh[3111411]:     await curve_bot(network)
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/app/curve-dca-bot-script/bot_execute.py", line 372, in curve_bot
Feb 17 15:34:08 bots-server run.sh[3111411]:     tx = await paloma_wallet.create_and_sign_tx(CreateTxOptions(msgs=[
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/wallet.py", line 54, in create_and_sign_tx
Feb 17 15:34:08 bots-server run.sh[3111411]:     tx=(await self.create_tx(options)),
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/wallet.py", line 40, in create_tx
Feb 17 15:34:08 bots-server run.sh[3111411]:     return await self.lcd.tx.create(sigOpt, options)
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/api/tx.py", line 175, in create
Feb 17 15:34:08 bots-server run.sh[3111411]:     opt.fee = await BaseAsyncAPI._try_await(self.estimate_fee(signer_data, opt))
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/api/_base.py", line 19, in _try_await
Feb 17 15:34:08 bots-server run.sh[3111411]:     return await aw
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/api/tx.py", line 219, in estimate_fee
Feb 17 15:34:08 bots-server run.sh[3111411]:     gas = str(await super()._try_await(self.estimate_gas(tx, opt)))
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/api/_base.py", line 19, in _try_await
Feb 17 15:34:08 bots-server run.sh[3111411]:     return await aw
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/api/tx.py", line 232, in estimate_gas
Feb 17 15:34:08 bots-server run.sh[3111411]:     res = await self._c._post(
Feb 17 15:34:08 bots-server run.sh[3111411]:   File "/home/rootedbox/.local/lib/python3.10/site-packages/paloma_sdk/client/lcd/lcdclient.py", line 136, in _post
Feb 17 15:34:08 bots-server run.sh[3111411]:     raise LCDResponseError(message=result.get("message"), response=response)

What is the balance of GRAIN on the wallet?

The TWAP wallet has GRAINS: https://paloma.explorers.guru/account/paloma10dry4t7gr8rhd0khqcqyq95ytdh6vs8sjv84yj

This is a Devops issue the.


HIE can't find project GHC version [stack] [nix]

Hello,
I created a project with Stack via uses Nix. HIE couldn't find the right GHC version and returned the hie-wrapper couldn't find a HIE binary with a matching GHC version in your all-hies installation message.
stack ghc -- --version = The Glorious Glasgow Haskell Compilation System, version 8.8.2
hie --version = Version 1.1 x86_64 ghc-8.8.2
hie =
2020-02-29 17:57:22.247147653 [ThreadId 4] - run entered for hie-wrapper(hie) Version 1.1 x86_64 ghc-8.8.2
2020-02-29 17:57:22.247359751 [ThreadId 4] - Current directory:/home/delirehberi/www/devcollect
2020-02-29 17:57:22.247400593 [ThreadId 4] - Operating system:linux
2020-02-29 17:57:22.247436852 [ThreadId 4] - args:[]
2020-02-29 17:57:22.248382445 [ThreadId 4] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/home/delirehberi/www/devcollect/stack.yaml"}
2020-02-29 17:57:26.091702251 [ThreadId 4] - Module "/home/delirehberi/www/devcollect/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/home/delirehberi/www/devcollect", cradleOptsProg = CradleAction: Other Stack}
2020-02-29 17:57:26.091804595 [ThreadId 4] - Cradle directory:/home/delirehberi/www/devcollect
2020-02-29 17:57:26.091888782 [ThreadId 4] - Executing Stack GHC with args: --numeric-version
2020-02-29 17:57:27.73198867 [ThreadId 4] - Project GHC version:_             _         _         _____  ___   ___ _____
2020-02-29 17:57:27.732074458 [ThreadId 4] - hie exe candidates :["hie-_             _         _         _____  ___   ___ _____","hie","hie"]
2020-02-29 17:57:27.732255405 [ThreadId 4] - found hie exe at:/nix/store/23g7kvn1j2k3igpypj9sv3vycmg6d083-haskell-ide-engine-combined/libexec/bin/hie
2020-02-29 17:57:27.732292727 [ThreadId 4] - args:[]
2020-02-29 17:57:27.732320238 [ThreadId 4] - launching ....

hie-wrapper couldn't find a HIE binary with a matching GHC version in your all-hies installation
hie: callProcess: /nix/store/23g7kvn1j2k3igpypj9sv3vycmg6d083-haskell-ide-engine-combined/libexec/bin/hie (exit 1): failed

The version doesn't exists in Project GHC Version section of the output.
Is there any solution for that?

if you call /nix/store/23g7kvn1j2k3igpypj9sv3vycmg6d083-haskell-ide-engine-combined/libexec/bin/hie directly, you get more info about the error?

@jneira The same output appeared. I tried a lot of things to find a solution but I can't succeed. In the end, I changed the Stack config as without nix. I believe its about nix's isolation architecture.

Could be a bug upstream in all-hies. Did you open an issue there? If yes, please link in this issue here so we can close it if it gets fixed.

No, i didn't yet. I'll open same issue to there.


[Vsphere] Problem with provisionning cluster

What kind of request is this (question/bug/enhancement/feature request):
BUG
Steps to reproduce (least amount of steps as possible):
Create a Cluster provisionning with Vsphere (With rancherOS 1.5.1)
Result:
019/03/22 14:16:14 [INFO] stdout: Provisioning with rancheros...
2019/03/22 14:18:31 [INFO] stdout: Copying certs to the local machine directory...
2019/03/22 14:18:34 [INFO] stdout: Copying certs to the remote machine...
2019/03/22 14:18:35 [INFO] stdout: Setting Docker configuration on the remote daemon...
2019/03/22 14:19:11 [INFO] stdout: The default lines below are for a sh/bash shell, you can specify the shell you're using, with the --shell flag.
2019/03/22 14:19:11 [INFO] stdout:
2019/03/22 14:19:12 [INFO] Generating and uploading node config testpierre11
2019/03/22 14:19:12 [ERROR] NodeController c-ztbjk/m-djhqx [node-controller] failed with : Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
2019/03/22 14:19:12 [INFO] Generating and uploading node config
2019-03-22 14:20:10.738668 I | mvcc: store.index: compact 1054446
2019-03-22 14:20:10.744262 I | mvcc: finished scheduled compaction at 1054446 (took 1.644381ms)
Other details that may be helpful:
I have followed the assistant, no specific configuration, we just add a proxy
Environment information
Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.1.5
Installation option (single install/HA): single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): vSphere 6.7.0
Machine type (cloud/VM/metal) and specifications (CPU/memory):  VM (2 cpu, 8GO RAM)
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

Backing Filesystem: xfs
Udev Sync Supported: true
Data file: /dev/loop0
Metadata file: /dev/loop1
Data loop file: /data/docker/devicemapper/devicemapper/data
Metadata loop file: /data/docker/devicemapper/devicemapper/metadata
Data Space Used: 2.103GB
Data Space Total: 107.4GB
Data Space Available: 1.178GB
Metadata Space Used: 20.23MB
Metadata Space Total: 2.147GB
Metadata Space Available: 1.178GB
Thin Pool Minimum Free Space: 10.74GB
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.149-RHEL7 (2018-07-20)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-957.5.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.639GiB
Name: rancher01
Docker Root Dir: /data/docker
Debug Mode (client): false
Debug Mode (server): false
HTTP Proxy: http://xxxxx:3128
HTTPS Proxy: https://xxxxx:3128
No Proxy: localhost,<IP_ADDRESS>,infra.local
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false

This seems like a generic docker machine provisioning issue. Have you tried to provision with the same credentials in Docker Machine?

Let us know if this needs further investigation.


Fix issue in typeSelection.ts when handling nullable non-scalars

When using this library, I notices some strange issues with the output types when relations were not marked as required.
Will try to provide a full example of a schema plus the broken typings the unmodified / modified variants generate later if required.

Can you add an example here? https://github.com/remorses/genql/blob/master/integration-tests/schema.graphql
And a test here if possible https://github.com/remorses/genql/blob/master/integration-tests/tests/execution.ts
To run test go inside integration-tests and run pnpm gen && pnpm test

Even just the graphql schema is enough, I can add tests myself


chore: use Vitest for unit testing

Description
Currently, we are mixing the integration tests and unit tests. With the goal that we might use Vitest exclusively in the future, this PR takes the progressive approach by letting Vitest handles the unit tests first, providing a better DX over each feature.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Interestingly this exposes a bug of Vite itself.
https://github.com/vitejs/vite/blob/474d5c257b2404b08fabbc8740532a26badfc348/packages/vite/src/node/plugins/workerImportMetaUrl.ts#L115
This regex breaks our logic of lexing strings
https://github.com/vitejs/vite/blob/e48827f58bac0af2a564cacd8213195a9015f8a3/packages/vite/src/node/cleanString.ts#L26

Your bug fix may indirectly resolve https://github.com/vitejs/vite/issues/8014 too


Errors out on specific page

I have a page where a lot is going on. I get following ORA everytime I open the revealer:
Exception in "write_cursor":
Error Stack: ORA-01706: user function result value was too large
ORA-06512: at "SYS.DBMS_SQL", line 1726
Backtrace: ORA-06512: at "SYS.DBMS_SQL", line 1726
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3693

Another stack
Exception in "begin declare
   /*
    * Plugin:   Pretius Developer Tool
    * Version:  22.2.3
    *
    * License:  MIT License Copyright 2022 Pretius Sp. z o.o. Sp. K.
    * Homepage:
    * Mail<EMAIL_ADDRESS>    * Issues:   https://github.com/Pretius/pretius-developer-tool/issues
    *
    * Author:   Matt Mulvaney
    * Mail<EMAIL_ADDRESS>    * Twitter:  Matt_Mulvaney
    *
    */
  FUNCTION render(
    p_dynamic_action IN apex_plugin.t_dynamic_action,
    p_plugin         IN apex_plugin.t_plugin
  ) RETURN apex_plugin.t_dynamic_action_render_result
  IS
    v_result              apex_plugin.t_dynamic_action_render_result;
    l_plugs_row           APEX_APPL_PLUGINS%ROWTYPE;
    l_configuration_test  NUMBER DEFAULT 0;
    c_plugin_name         CONSTANT VARCHAR2(24) DEFAULT 'COM.PRETIUS.APEX.DEVTOOL';
    l_application_group   apex_applications.application_group%TYPE DEFAULT NULL;
    c_app_id              CONSTANT apex_applications.application_id%TYPE DEFAULT v(~":
Error Stack: ORA-12705: Cannot access NLS data files or invalid environment specified
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3573
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3812
ORA-01706: user function result value was too large
ORA-06512: at "SYS.DBMS_SQL", line 1726
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3693
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 4183
ORA-06512: at line 557
ORA-06512: at line 651
ORA-06512: at line 674
ORA-06512: at "SYS.DBMS_SYS_SQL", line 2120
ORA-06512: at "SYS.WWV_DBMS_SQL_APEX_230200", line 810
Backtrace: ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3573
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3812
ORA-06512: at "SYS.DBMS_SQL", line 1726
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3693
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 4183
ORA-06512: at line 557
ORA-06512: at line 651
ORA-06512: at line 674
ORA-06512: at "SYS.DBMS_SYS_SQL", line 2120
ORA-06512: at "SYS.WWV_DBMS_SQL_APEX_230200", line 810
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2607
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3573
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3812
ORA-06512: at "SYS.DBMS_SQL", line 1726
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 3693
ORA-06512: at "APEX_230200.WWV_FLOW_JSON", line 4183
ORA-06512: at line 557
ORA-06512: at line 651
ORA-06512: at line 674
ORA-06512: at "SYS.DBMS_SYS_SQL", line 2120
ORA-06512: at "SYS.WWV_DBMS_SQL_APEX_230200", line 810
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2607

Let me know if you want to look over it together so I can show you the page etc.
This bug occurred on last release and I just updated to the current where it still comes up.
Btw love the plug-in!

Fixed in release 24.1.1
Thanks for the PR 😄


Inefficiency in Rich Progress bar

Description & Motivation

The render method in lightning.pytorch.callbacks.progress.rich_progress.py (lines 170-172) currently uses string concatenation within a loop.
Given that the render method is called frequently, this inefficient approach can significantly impact performance.

text = ""
for k, v in self._metrics.items():
    text += f"{k}: {round(v, 3) if isinstance(v, float) else v} "
return Text(text, justify="left", style=self._style)

Pitch
I want to use the str.join method for creating the rendered text, as recommended by the Python recommendation.
Optionally, I would want to introduce the option for the user to see the metrics on separate lines. This could be achieved by using a different joining delimiter: e.g. "\n".join vs "".join.
Alternatives
No response
Additional context

Python's string objects are immutable. Therefore, every string concatenation creates a new string object.
Frequent string concatenations, especially inside loops, can lead to inefficiencies.
Python docs: There is also no mutable string type, but str.join() or io.StringIO can be used to efficiently construct strings from multiple fragments.

cc @borda

Sounds good to me; mind sending a PR with the proposed improvement?

Sounds good to me; mind sending a PR with the proposed improvement?

Sure, I'm happy to work on it!

Sounds good to me; mind sending a PR with the proposed improvement?

https://github.com/Lightning-AI/lightning/pull/18369
I created two commits:

Optimize the string joining
Make the delimiter configurable

I'm not sure if both commits belong in this PR, I would love to hear your thoughts on this.

@quintenroets It would be better if you could keep those 2 changes separate, as the optimization could be considered a "fix".
Also, shouldn't the default delimiter be " " to be backwards compatible?

@quintenroets It would be better if you could keep those 2 changes separate, as the optimization could be considered a "fix".
Also, shouldn't the default delimiter be " " to be backwards compatible?

Thank you for your feedback.
I will create two separate pull requests, both mentioning this issue.
You're right about the delimiter. Currently, each individual metric text ends with a blank space. It makes indeed more sense to  remove this space and move it to delimiter (make it " " by default)

you can keep this PR open with just one change and create a new PR with the other chnage


InputOutput parameters with sending in null results in exception

Steps to recreate:

Create a stored procedure with a an output parameter with a default value.
create procedure TestInputOutputs
@Id int = null output,
@CreatedDate datetime = null output,
@LastModifiedDate datetime = null output
as
set nocount on
select @Id = 100, @CreatedDate = getdate(), @LastModifiedDate = getdate()
go

When calling the procedure from simple.data pass null or dbnull.value as the parameter value
var ret = db.TestInputOutputs(
Id: DBNull.Value,
CreatedDate: null,
LastModifiedDate: null
);

result: Exception "the Size property has an invalid size of 0."
I have made a couple small changes to the source code to fix this. Let me know if you want then, and how I can get them to you. Maybe email?  I am unfamiliar with git, so I don't know how else to get them to you.

Fixed.


RFP - lime3ds

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL :https://github.com/Lime3DS/Lime3DS
Direct download URL for the software / installer : https://github.com/Lime3DS/Lime3DS/releases/download/2107/lime3ds-2107-windows-msvc.zip
Software summary / short description:
a popular open-source Nintendo 3DS emulator

Package added: https://community.chocolatey.org/packages/lime3ds

The package is approved.


Test syntax issue

I'm new to this tool. this issue might b silly but I'm facing an issue during creating new test file. When I write following steps
" description: Navigate to Centegy Web App
actors:
    actor: ACTOR1 segments:
        segment: 1
        actions:
            description: Navigate to Centegy Web App
            action: org.getopentest.selenium.NavigateTo
            args:
            url: http://<IP_ADDRESS>:8080/CBI/login "

the test file runs successfully, but whenever i add these below written steps in my test file it get hid from create session test list.
" description: Navigate to Centegy Web App actors:
actor: ACTOR1 segments:
    segment: 1 actions:
        description: Navigate to Centegy Web App
        action: org.getopentest.selenium.NavigateTo - args:

            url: http://<IP_ADDRESS>:8080/CBI/login

            description: Enter User ID -action: org.getopentest.selenium.SendKeys -args:

            locator: {css: "input[name='username']"}

            text: shma000

            sendEnter: true

            description: Enter Password - action: org.getopentest.selenium.SendKeys - args:

            locator: {css: "input[id='a4']"}

            text: abc123

            sendEnter: true "

this might be syntax issue .can anyone help me out ?

This issue is due to the fact that you have syntax errors in your YAML. Here's how it should look like (please note this is untested code):
description: Navigate to Centegy Web App actors
actors:
- actor: ACTOR1
  segments:
    segment: 1
    actions:
      - description: Navigate to Centegy Web App
        action: org.getopentest.selenium.NavigateTo
        args:
          url: http://<IP_ADDRESS>:8080/CBI/login

      - description: Enter User ID
        action: org.getopentest.selenium.SendKeys
        args:
          locator: {css: "input[name='username']"}
          text: shma000
          sendEnter: true

      - description: Enter Password
        action: org.getopentest.selenium.SendKeys
        args:
          locator: {css: "input[id='a4']"}
          text: abc123
          sendEnter: true

To make it easier to deal with these type of problems in the future:

Use a text editor with YAML support, that will show you where you have YAML syntax errors. VS Code with the YAML Language Support extension is one of the best combinations.
Try to familiarize yourself with the basics of YAML
Make sure your test is structured properly as described in the docs.

Still facing same issue.
this is he html of my page

CENTEGY TECHNOLOGIES
Application v.2.0

Invalid username and password.

            <form name="f" action="/CBI/login" method="POST" class="ng-pristine ng-valid"><input type="hidden" name="_csrf" value="49a93585-f6db-46bf-a5cf-a3acddcb2ade" autocomplete="off">

USER LOGIN

                    Incase of lost password, please use password recovery

User ID

                                <input id="a3" type="text" class="form-control" placeholder="Username" autocomplete="off" name="username" aria-describedby="basic-addon-user">

Password

                                <input id="a4" type="password" class="form-control" placeholder="Password" autocomplete="off" name="password" aria-describedby="basic-addon-password">

                            <button type="submit" class="btn btn-primary btn-md btn-block">Login</button>

                    New User Sign Up | Password Recovery

            </form>

Proudly Powered By
            Centegy Technologies
All intellectual property rights, reserved to Centegy Technologies.

according to this html, for the time being i just wanted to login to the page and test it.
Am I doing the right thing or missing some steps ?

I'm writing this YAML
description: Navigate to Centegy Web App
actors:

actor: ACTOR1
segments:
segment: 1
actions:
- description: Navigate to Centegy Web App
action: org.getopentest.selenium.NavigateTo
args:
url: http://<IP_ADDRESS>:8080/CBI/login
- description: Enter User ID
  action: org.getopentest.selenium.SendKeys
  args:
    locator: {css: "input[name='username']"}
    text: shma000

- description: Enter Password
  action: org.getopentest.selenium.SendKeys
  args:
    locator: {css: "input[id='a4']"}
    text: abc123
    sendEnter: true

    - description: Click the Log in button in the login form
      action: org.getopentest.selenium.Click
      args:
        locator: { css: input"button.btn" }

still this yaml file is not showing in created test

Your help would be really appreciated

The test syntax as you provided it a couple of comments ago is still incorrect. The last four lines (the ones that describe the very last test action) are not properly aligned - you need to move them to the left (use Shift+Tab) to align with the rest of the actions, otherwise your YAML will be invalid. Please install the "YAML Language Support by Red Hat" extension in VS Code, so it's easier to catch invalid YAML.

is there any test screen recorder (like selenium IED) compatible with opentest to generate automatic yaml?

is there any test screen UI recorder (like selenium IED) compatible with opentest to generate automatic yaml?

is there any test screen UI recorder (like selenium IED) for web and andriod which is compatible with opentest to generate automatic yaml?
and which key can be used to launch an android app in opentest like we use nevigate to for web.

for android I've used these things in actor file what should be the name of automation?

For launching App I've used this.
is this correct?

Thank you so much for this extension , I've created test cases just wanted to know about automated UI Script generator if you can recommend for web and android both


#[derive(Default)] for Build and use Build::default in Build::new

To achieve this, extract new type BuildCargoMetadataConfig contains two fields cargo_metadata and emit_rerun_if_env_changed, which is initialized to true in
<BuildCargoMetadataConfig as Default>::default impl which is implemented manually.
Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

Hmmm I think the status-quo is ok.
While using derive(Default) would reduce the amount of code, it isn't something necessary and probably only has some minor effect on readability.


[#254] Fix specific query for violating query example in README (main)

See issue for the formatted version of the query.
Confirmed, using PostgreSQL, the SQL does not result in an error when run manually. Of course, testing used a different resource id and AVU.

Yes. Can go ahead and do that in this PR.

Just need to test it now.

TestStorageTieringMultipleQueries passed with the change.
Got it in one too!

always nervous about 'in one'... please introduce a typo and watch it not work...
but yes, excellent.

Broke the query by including an invalid column name and the test failed.
Restored the query to what's included in this PR and the test passed.

love it.  please to #.

#'d


Improve UX for moving points

The ability to move points on the map has been great, but I noticed a few issues:
Activation
Issue: To activate, you must select a point, then click the button to activate point moving, then you have to click the shape when the mouse cursor is shown (rather than the drag hand) before it shows all the draggable points

Can we not just immediately activate the movable points when clicking the button? I'm not sure if there is a reason behind having to click multiple times. I've seen cases where you can't get it to activate and is difficult for mobile use.
I also wonder if when selecting a point (when moving isn't activated), that there could be a tooltip on the point to activate moving it immediately without having to go down and click the button below the map.

Accidental Modifications
Issue: There have been some cases where I make multiple successful changes to a map, then will accidentally drag the entire perimeter a bit. It is hard to know if you get it back in the right spot. This can result in having to re-do all your previous changes.

Option 1: should we be able to drag the entire perimeter when selected? I could see this being useful, but wanted to make sure it was intentional. So, if not needed, this could be disabled.
Option 2: should we add an "undo" option? This might be kind of complicated to implement, but could be something we'd want to have eventually
Option 3: make moving an entire shape be a separate mode vs moving individual points

Deleting Points
Issue: It seems that if you have a line selected and you choose to delete points, you don't see the changes until you click off of it. In other words, when I used this I found it difficult to tell that something was actually happening.

Might want to verify these changes are reflected immediately if possible
Could add some confirmation that the change occurred

+1

Can we not just immediately activate the movable points when clicking the button? I'm not sure if there is a reason behind having to click multiple times. I've seen cases where you can't get it to activate and is difficult for mobile use.

It's not so easy in current concept. Normally all plots are scatter plots where I can grap click events from mouse. For moving points the scatter plot is transformed to a shape. In shape mode I can't get any mouse events. So if I transform a scatter plot to the shape on mouse click I can't go back. If someone has a solution for that, we can change that to wanted solution

I also wonder if when selecting a point (when moving isn't activated), that there could be a tooltip on the point to activate moving it immediately without having to go down and click the button below the map.

Here something from Dash, have to be investigated
https://dash.plotly.com/dash-core-components/tooltip
I wonder if a content of dcc.Tooltip could be a button

Issue: There have been some cases where I make multiple successful changes to a map, then will accidentally drag the entire perimeter a bit. It is hard to know if you get it back in the right spot. This can result in having to re-do all your previous changes.

Option 1: should we be able to drag the entire perimeter when selected? I could see this being useful, but wanted to make sure it was intentional. So, if not needed, this could be disabled.

Same here shape behavior isn't changeable, if editable then moveable. I think a good ho to description will help to avoid unwanted drag events. One reason why I didn't introduce this function in forum is missing a good how to in readme.md. Zero time for documentation :(

Option 2: should we add an "undo" option? This might be kind of complicated to implement, but could be something we'd want to have eventually

Possible but compliacated

Option 3: make moving an entire shape be a separate mode vs moving individual points

with shapes not possible to separate

Deleting Points
Issue: It seems that if you have a line selected and you choose to delete points, you don't see the changes until you click off of it. In other words, when I used this I found it difficult to tell that something was actually happening.

Might want to verify these changes are reflected immediately if possible
Could add some confirmation that the change occurred

Yes there is an issue, actually it should update immediately after removing or adding point. Have to take closer look at that

It's not so easy in current concept. Normally all plots are scatter plots where I can grap click events from mouse. For moving points the scatter plot is transformed to a shape. In shape mode I can't get any mouse events. So if I transform a scatter plot to the shape on mouse click I can't go back. If someone has a solution for that, we can change that to wanted solution

I guess what I was thinking is something not quite as drastic:
Current Process (see gif):

Click point
Click move points button
Hover over line that is already selected, making sure to click where you have the cursor, rather than the grab hand symbol (on the line between two points)
Activate shape editing mode

Proposed Process:

Click point
Click move points button
Activate shape editing mode

In the proposed process, we wouldn't be transforming it into a shape until we have already clicked on one of the points, then clicked the "move points" button.

So if I transform a scatter plot to the shape on mouse click I can't go back.

I'm not saying to transform the scatter plot to a shape on any mouse click. I'm saying, when a point is already selected, and we click the "move points" button, could we transform it to a shape at that point?

I guess what I was thinking is something not quite as drastic:
Current Process (see gif):
Click point
Click move points button
Hover over line that is already selected, making sure to click where you have the cursor, rather than the grab hand symbol (on the line between two points)
Activate shape editing mode

not sure what do you exactly mean, but the last click (Activate shape editing mode) is not necessary.
What I can do, at least I think maybe it could help:

I let the edit mode as it is. Click on point to edit and it could be deleted or a new one could be added.
I allow activating moving mode without a selection (You don't need activate edit mode by clicking one some point of a figure)
By activating moving mode all Exclusions and Perimeter will be transformed to shapes and all points could be moved. For leaving moving mode the move points button should be clicked again

It reduce one click for activating and deactivating moving mode. I have to check if it is possible and how many changes is that

I changed behavior of move points button. You can entry "move points mode" without selection. All shapes now moveable.


Windows 2012R2 smartcard status: SCARD_E_UNKNOWN (0xC0000017)

hi,
I am using ccid (1.4.19), pcscd (1.8.13) and freerdp (git 11d1138) and I have detected that with multiple smartcard reader we have random problems, that in some situations smartcard reader is not detected, then you try reconnect with same parameters and works and error is
15:26:06:044] [7563:7796] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), status: SCARD_E_UNKNOWN (0xC0000017)
[15:26:06:045] [7563:7796] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), ntstatus: 0xC0000017
I have tried with latest versions of ccid (1.8.19), pcscd (1.4.25) and freerdp (latest master branch https://github.com/FreeRDP/FreeRDP/commit/90877f5acb61bdba5bf5a3cc4e7f42f42b0c51a2) with smae results
I have attached logs from two examples one working and other not working with same environment, only reconnect to reproduce the error
With error and debug mode in warning
xfreerdp /kbd:0x0000040A /bpp:16 /u: /d:domain /smartcard /cert-ignore /sec:tls /log-level:WARN /v:server-2012
[15:25:58:777] [7563:7563] [INFO][com.freerdp.utils] - Registering signal hook...
[15:25:58:785] [7563:7564] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[15:25:58:785] [7563:7564] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[15:26:05:485] [7563:7574] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeW (0x000900A4), status: SCARD_E_CANCELLED (0x80100002)
[15:26:05:486] [7563:7586] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), status: SCARD_E_CANCELLED (0x80100002)
[15:26:06:044] [7563:7796] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), status: SCARD_E_UNKNOWN (0xC0000017)
[15:26:06:045] [7563:7796] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), ntstatus: 0xC0000017
working OK and debug mode in warning
xfreerdp /kbd:0x0000040A /bpp:16 /u: /domain /smartcard /cert-ignore /sec:tls /log-level:WARN /v:server-2012
[15:27:00:258] [7797:7797] [INFO][com.freerdp.utils] - Registering signal hook...
[15:27:00:268] [7797:7798] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[15:27:00:268] [7797:7798] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[15:27:05:168] [7797:7808] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeW (0x000900A4), status: SCARD_E_CANCELLED (0x80100002)
[15:27:05:169] [7797:7820] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), status: SCARD_E_CANCELLED (0x80100002)
difference seems that is
15:26:06:044] [7563:7796] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), status: SCARD_E_UNKNOWN (0xC0000017)
[15:26:06:045] [7563:7796] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeA (0x000900A0), ntstatus: 0xC0000017
I have searched the error in SCARD_E_UNKNOWN in freerdp code but seems a generic error and I can't find where is the problem...
Anybody can help or give information about how I try to solve this issue, we have tried with multiple smartcard reader cherry KC1000 SC, bit4ID and C3PO smart card readers....
Tried with PR https://github.com/FreeRDP/FreeRDP/pull/3464 without success
Tis issue seems similar to https://github.com/FreeRDP/FreeRDP/issues/3431 and https://github.com/FreeRDP/FreeRDP/issues/3521
Freerdp was compiled with
cmake .	-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=lib
-DDOCBOOKXSL_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
-DCMAKE_BUILD_TYPE=Release
-DWITH_PCSC=ON
-DBUILD_SHARED_LIBS=ON
-DWITH_CHANNELS=ON
-DWITH_CHANNELS_PRINT=ON
-DWITH_SERVER=OFF
-DWITH_CLIENT=ON
-DWITH_PULSE=ON
-DWITH_ALSA=ON
-DWITH_CUPS=ON
-DWITH_FFMPEG=ON
-DCHANNEL_URBDRC_CLIENT=ON
-DWITH_GSTREAMER=ON
-DWITH_DIRECTFB=OFF
-DWITH_XINERAMA=ON
-DWITH_CUNIT=OFF
-DWITH_JPEG=ON
-DWITH_IPP=OFF
-DWITH_NPP=OFF
-DWITH_MANPAGES=ON
-DWITH_SAMPLE=ON
Also detected that when smartcard reader is not detected then redirect printers fails, It seems that when is smartcard readr works then printers are working...
Thanks
log_pcscd_101120_OK.txt
log100655_error.txt
log101120_OK.txt
log_pcscd_100655_error.txt

When smartcard reader is not  detected form freerdp, we can confirm that with pcsc-tools, pcsc-scan return smartcard reader and smartcard, and this confirms that is working at level of ccid and pcsc.
Also confirmed with Ludovic (developer pcsc and ccid) who has checked logs captured and appears all ok at midlleware layer...

duplicates #3431


onlyDifferent input parameter?

I have a suggestion. Is it possible to add an input parameter similar to onlyNewer but instead of uploading files with a more recent modification date upload files if the modification date has simply changed?
In my case, I'm using this in a workflow to deploy theme files to WordPress. By default or setting onlyNewer to true speeds up the workflow run time, but the issue I have is if someone was to go into the WordPress theme file editor and directly make changes to a file, that file would now have a more recent modification date to the file in the source repository. This means when running the workflow and deploying, that file won't upload, the changes to that file will persist and will never be in sync until a new commit modifies that source file and makes it 'newer'.
To ensure the theme files on WordPress are always 100% in sync with the source repository, I could set onlyNewer to false but that would increase the workflow run time as now every file has to be uploaded again regardless of whether it has changed or not.
I guess just the possibility of deployed files not actually being deployed in this scenario made me think of this. Maybe it's a bit of an edge case though, so just using onlyNewer false even if it takes longer would be best to avoid the possibility? Just a suggestion anyway.

Hey, @jfaMan!
That’s a great idea — thanks for taking the time to suggest that.
This was addressed in v1.1.0 (the v1 tag also points to the latest commit), by introducing a restoreMTime input, which allows you to restore the modification time of the files via git, even when onlyNewer is set to false.
So, to upload files when the modification date is different, you’ll need to set onlyNewer to false, and restoreMTime to true.
For example,
- name: Deploy files via SFTP
  uses: pressidium/lftp-mirror-action@v1
  with:
    host: ${{ secrets.SFTP_HOST }}
    port: ${{ secrets.SFTP_PORT }}
    user: ${{ secrets.SFTP_USER }}
    pass: ${{ secrets.SFTP_PASS }}
    onlyNewer: false
    restoreMTime: true
    remoteDir: '/var/www/html/example.com/public'

Let me know if you need any clarification 🙂

Closing as resolved. Feel free to reopen this, if there’s anything I overlooked.


Currently breaks when bundled

I get a issue when this is bundled that it can't import the worker, I suspect due to this: https://github.com/antfu/markdown-it-shiki/blob/main/src/index.ts#L56

seems like shiki just dies when bundled, not sure if it's worth fixing this or not

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


setting STORAGE_TYPE to local_secure or local_secure_restricted breaks images

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
When changing the production environment file .env to use secured image storage location, some images will never work:

Logo and favicon are fine (after setting them again)
avatars are broken (newly created ones and the old ones, after moving!)
drawio images are broken (newly created ones and the old ones, after moving!)
attachments are working

before that migration from (local), everything was fine
i read the docs 10 times, searched 2 hours on the web, checked alot of stuff like

dir owers
dir permissions
existings dirs
nginx config
.env config
resetting cache
using private browser sessions
using different browser
checking the browser dev console

my nginx setup (redacted):
server {
	server_name wiki.redacted.org;
	listen 443 ssl;
	listen [::]:443 ssl;

	include /etc/nginx/ssl-config.conf;

	add_header X-Frame-Options SAMEORIGIN always;
	add_header X-Xss-Protection "1; mode=block" always;
	add_header X-Content-Type-Options "nosniff" always;
	add_header Referrer-Policy same-origin always;
	add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
    add_header Permissions-Policy "fullscreen=(self), geolocation=*, camera=()";

	error_log /var/log/nginx/wiki.redacted.org.error.log;

	client_max_body_size 50M; #adjusted for larger uploads like photos or PDFs

	index index.php index.html;

	root /var/www/vhosts/wiki.redacted.org/public;

	location / {
  		try_files $uri $uri/ /index.php?$query_string;
	}

    location ~ \.php$ {
    	fastcgi_split_path_info ^(.+\.php)(/.+)$;
      	include fastcgi_params;
      	fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      	fastcgi_param PATH_INFO $fastcgi_path_info;
    	fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
    }

	location /uploads {
    	autoindex off;
	}
}

server {
    listen 80;
    listen [::]:80;
    server_name wiki.redacted.org;
    location / {
        return 301 https://wiki.redacted.org$request_uri;
        }
}

my .env:
APP_KEY=redacted
APP_URL=https://wiki.redacted.org

DB_HOST=localhost
DB_DATABASE=bookstack
DB_USERNAME=bookstack
DB_PASSWORD=redacted

MAIL_DRIVER=smtp
MAIL_FROM_NAME="redacted"
<EMAIL_ADDRESS>MAIL_HOST=smtp.redacted.org
MAIL_PORT=587
<EMAIL_ADDRESS>MAIL_PASSWORD=redacted
MAIL_ENCRYPTION=tls

######## non-standard options
APP_ENV=production
APP_LANG=de
APP_AUTO_LANG_PUBLIC=true
APP_TIMEZONE=Europe/Berlin
APP_DEBUG=true

# https://www.bookstackapp.com/docs/admin/security/
# https://www.bookstackapp.com/docs/admin/upload-config/#local-secure---restricted
STORAGE_TYPE=local_secure_restricted
STORAGE_IMAGE_TYPE=local_secure_restricted
STORAGE_ATTACHMENT_TYPE=local_secure_restricted
# 50 MB Upload
FILE_UPLOAD_SIZE_LIMIT=50
ALLOW_ROBOTS=true
SESSION_SECURE_COOKIE=true
ALLOWED_IFRAME_HOSTS="https://redacted.org https://redacted.de"
ALLOWED_IFRAME_SOURCES="https://*.draw.io https://*.youtube.com https://*.youtube-nocookie.com https://*.vimeo.com https://*.redacted.org https://*.redacted.de https://redacted.org https://redacted.de"
LOG_FAILED_LOGIN_MESSAGE="Failed login for %u"
#ALLOW_UNTRUSTED_SERVER_FETCHING=false

IP_ADDRESS_PRECISION=2

AVATAR_URL=https://seccdn.libravatar.org/avatar/${hash}?s=${size}&d=identicon

CACHE_DRIVER=memcached
SESSION_DRIVER=memcached
MEMCACHED_SERVERS=<IP_ADDRESS>:11211:100

REDIS_SERVERS=<IP_ADDRESS>:6379:0

# Session lifetime in minutes
SESSION_LIFETIME=240

EXPORT_PAGE_SIZE=a4

APP_DEFAULT_DARK_MODE=false
APP_VIEWS_BOOKS=list
APP_VIEWS_BOOKSHELVES=grid
APP_VIEWS_BOOKSHELF=grid
DRAWIO=true

i messed a lot with different options, disabled and enabled ...
what am i doing wrong? Bookstack never tries to use the storage/uploads/images dir. Instead it still looks for public/uploads/images
i tried this with different roles and users also. i also messed with php artisan commands to clear caches, etc.
Exact BookStack Version
v24.10
Log Content
php-fpm log is fine. no issues here.
nginx error log file:
2024/10/11 11:32:12 [error] 40924#40924: *473689 open() "/var/www/vhosts/wiki.redacted.org/public/uploads/images/user/2024-10/thumbs-80-80/2zlc5xeLywF24gfi-signet-256x256.png" failed (2: No such file or directory), client: <IP_ADDRESS>, server: wiki.redacted.org, request: "GET /uploads/images/user/2024-10/thumbs-80-80/2zlc5xeLywF24gfi-signet-256x256.png HTTP/2.0", host: "wiki.redacted.org", referrer: "https://wiki.redacted.org/my-account/profile"

Hosting Environment

Ubuntu 22 Linux on a netcup vServer
conventional setup WITHOUT Docker
PHP8.3-FPM
nginx

Hi @vmario89,
Can you temporarily try commenting-out/removing this part of your nginx config?:
	location /uploads {
    	autoindex off;
	}

Then see if images start working.
Remeber to reload/restart nginx after making the changes.

damn that simple snippet fixed it! I thank you very much!


I found a strange issue

when i open the chrome sources , some reducer files would not appear in webpack. I don't  know why was that.     Have anyone happened this issue?

Can you re-open at Stack Overflow with more details?


ImportError: cannot import name 'root_validator' from 'pydantic'

In the course of testing DDMD on Bridges2, this is observed:
Traceback (most recent call last):
  File "/jet/home/sanjrani/DeepDriveMD-pipeline/deepdrivemd/agents/lof/lof.py", line 13, in <module>
    from deepdrivemd.agents.lof.config import OutlierDetectionConfig
  File "/jet/home/sanjrani/DeepDriveMD-pipeline/deepdrivemd/agents/lof/config.py", line 2, in <module>
    from pydantic import root_validator, validator
ImportError: cannot import name 'root_validator' from 'pydantic' (/jet/home/sanjrani/anaconda3/envs/conda-pytorch/lib/python3.8/site-packages/pydantic/__init__.py)

 DDMD-import error

Changing PyTorch virtual environment from python-3.8.10 to python-3.6.12 solved the issue

I believe pydantic is supported in all Python versions greater than or equal to 3.6+, see the the readme: https://github.com/samuelcolvin/pydantic#pydantic
And see pypi: https://pypi.org/project/pydantic/
I'm not exactly sure what the python_version < '3.7' requirement does, but perhaps it is not use to build the released versions.
Here is a test case that verifies the latest version of pydantic in Python 3.7:
$ python -V
Python 3.7.4
$ python -m venv env
$ source env/bin/activate
(env) $ pip install pydantic
Collecting pydantic
  Downloading https://files.pythonhosted.org/packages/ff/74/54e030641601112309f6d2af620774e9080f99c7a15742fc6a0b170c4076/pydantic-1.8.2-py3-none-any.whl (126kB)
    100% |████████████████████████████████| 133kB 7.9MB/s
Collecting typing-extensions>=<IP_ADDRESS> (from pydantic)
  Using cached https://files.pythonhosted.org/packages/2e/35/6c4fff5ab443b57116cb1aad46421fb719bed2825664e8fe77d66d99bcbc/typing_extensions-<IP_ADDRESS>-py3-none-any.whl
Installing collected packages: typing-extensions, pydantic
Successfully installed pydantic-1.8.2 typing-extensions-<IP_ADDRESS>
You are using pip version 19.0.3, however version 21.1.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(env) $ python
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydantic
>>> pydantic.VERSION
'1.8.2'
>>> from pydantic import root_validator, validator
>>>

This could point to another issue with the conda environment.

You're right there must have been something wrong with the installation onto that conda environment, I ended up making a new one which seemed to work. Also, we checked this before as well but importing root_validator  and validator from pydantic seemed to work in terminal regardless of which environment was activated but threw the error running on the cluster. I'm not sure if this is relevant but in the __init__.py file that it was complaining about before, the root_validator module wasn't actually imported from .class_validators but in the new installation it is.

Glad it is working now. I'll close the issue, but feel free to reopen if the error pops up again.


Clarifying an unsupported scenario

AU scoped and object scoped admins are not protected by the policy.

@anandyadavMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @anandyadavMSFT - This PR was opened in the public repository. The contributor guide article Public vs. private repo guidance indicates that "content developers and core product team PMs should work in the private repositories so they can address quality feedback from the quality automation present in the private repos."
We’ll leave this PR for review in the public repo, but would you make future article updates in the private repo?
In the private repo, content benefits from automated validations, a content staging environment, and comprehensive PR reviews. Also, you can sign off directly in your PR (in the public repo, you can't sign off in your own PR), and many PRs qualify for auto-merge.
To edit an article in the private repo from within the documentation, after you select Edit on an article page,  add “-pr” to the repo name in the URL.

Also, if you're interested, SpineEdit is a Chrome extension that opens the edit option in the private repo, if there is one and if you have access to it.
Thanks!

Related links in the internal Microsoft Docs contributor guide:
Public vs. private repos | Move a commit to a different repo (public -> private) | GitHub for content reviews
Quick reference for contributing to the docs | Make changes to a Docs article | PR review quality criteria

@jirizacal Thanks for your review. In the public repo, we need a member of the content team to approve a pull request. Thanks!
@MicrosoftGuyJFlo Could you review this PR? Thanks.

@MicrosoftGuyJFlo : This update is required for an MSRC case response. Can you please take a look and sign-off is everything looks ok?

Taken to private repo #please-close


Delineate occupancy areas on the SRKW map?

Just an idea, but in reading your second Data source note, I wondered if eventually we could get shared polygons organized for the Salish sea and for sub-sections of it, like the central Salish Sea you are using, as well as what I tend to call Puget Sound proper (i.e. inland waters south and east of Port Townsend and Deception Pass). One place I'm starting to put such things is this repo -- https://github.com/salish-sea/whale-ocean-alert
You could also ask Aquila if she has plans to open source a polygon for the Salish Sea (as she defines it in the Salish Sea Atlas)...

Great idea! This is an area with room of improvement. The splitting of central Salish Sea vs Puget Sound in the dashboard is  rough at the moment as I have been focusing on other aspects of the dashboard. They definitely need to be better honed and I think the polygons you shared are great place to start! I'll add them to my to-do list.


User's questions and answer endpoints

Closes: #335
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Checklist:

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

Hey @Subham142 , I had noticed that you don't update Documentation according to create route/api. Please do that part for your past Merge PR. It's an important part, good practices, and easy to understand for a frontend developers.
BTW remove conflict from this


Build rust crates that bind to C code

This PR is the first step in enabling crates that are bindings to c code. This PR changes cargo-risczero to download a prebuilt c toolchain, and sets appropriate flags on risc0-build to invoke the c compiler when building guest crates. This solution is able to compile the blst crate so I've added a test case that exercises this crate. Note: while this does a signature verification, further testing is needed to conclude that BLST C code is working as expected by using utilities such as cargo risczero test.

@flaub this is ready for review. I used the 2024.01.05 toolchain and it allowed me to drop the script and the whole -I business. I hard-coded cargo risczero install to download this tag regardless of version for the time being.

Does it resolve https://github.com/risc0/risc0/issues/328?

Amazing!!
Is it compatible with risc0's deterministic builds mechanism ?


Ability to resize columns dynamically dragging the middle separator line

Subj. Is it possible? Or a separate plugin is required?

No, I don't think it's possible to have differing widths for the columns with my implementation, and especially not to make a drag interface (using css).


TabLabel should not use accent color for text

I looked at fixing, looks like it will take a bit of @HansMuller magic.

I haven't been able to reproduce this color combination. Here's a test case:
import 'package:flutter/material.dart';

class TabsFail extends StatelessWidget {
  final List<int> tabValues = <int>[0, 1, 2, 3];
  Widget build(BuildContext context) {
    return new TabBarSelection<int>(
      values: tabValues,
      child: new Scaffold(
        appBar: new AppBar(
          title: new Text('Wrong TabLabel text color?'),
          tabBar: new TabBar<int>(
            labels: new Map<int, TabLabel>.fromIterable(tabValues, value: (int i) => new TabLabel(text: 'ITEM $i'))
          )
        ),
        body: new TabBarView<int>(
          children: tabValues.map((int i) => new Center(child: new Text('Item $i'))).toList()
        )
      )
    );
  }
}

void main() {
  runApp(new MaterialApp(
    theme: new ThemeData(
      primarySwatch: Colors.teal
    ),
    routes: <String, WidgetBuilder>{
      '/': (BuildContext context) => new TabsFail(),
    }
  ));
}

Result:

Filed the incorrect font weight as https://github.com/flutter/flutter/issues/2744.
In your above example @HansMuller if you add an accentColor to the theme you should see the issue.

Looks like this has been fixed.


Didn't work as posted on SUSE/SLES 12.3

Tried to clarify the gpg link formatting.
Needed to enable service after install and before starting the service.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 4896c4417248f60faf6b1e16af411ae7928939c2
https://deploy-preview-7429--docsdocker.netlify.com

Thanks for your feedback. Docker Enterprise docs are now part of Mirantis. You can take a look at the Docker Enterprise documentation at https://docs.mirantis.com/docker-enterprise/.
Let me close this PR here for that reason. Feel free to continue the conversation after I close.


Smoke-test RC-0

Done.
Everything ok, except for resetting password: https://github.com/SAP/cloud-commerce-spartacus-storefront/issues/3459
Also opened a few tickets for other minor issues: #3457, #3456, #3454, #3451


Fix return NOT_FOUND if dict key not found in meta service

We should make sure the key exist if read_schema_dict other wise return NOT_FOUND to handle
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


Add files via upload

add a new secondary school from Hong Kong

@Eric2014 Pull request merged. Thank you!


Change DB submission to use the API

This will give us profanity checking, and rate limiting.

Done!


bug:

Provide environment information
System:
OS: macOS 13.0.1
CPU: (10) arm64 Apple M1 Pro
Memory: 138.64 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.11.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.19.2 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Browsers:
Chrome: 109.0.5414.87
Safari: 16.1
npmPackages:
@tanstack/react-query: ^4.20.0 => 4.22.3
@trpc/client: ^10.8.1 => 10.9.0
@trpc/next: ^10.8.1 => 10.9.0
@trpc/react-query: ^10.8.1 => 10.9.0
@trpc/server: ^10.8.1 => 10.9.0
next: 13.1.2 => 13.1.2
react: 18.2.0 => 18.2.0
typescript: ^4.9.4 => 4.9.4
Describe the bug
When defining a procedure, if input is present such as using procedure.query(({ctx, input}) => {return a}), autocomplete does not work for objects that are returned by the inner function.
Example shows multiple test cases, what works, and what doesn't. To reproduce, leave the return value present, and delete the inner const createdAt=e.createdAt. Replace it with another line(above the return), such as const ca = e.(Autocomplete fails)
Reproduction repo
https://github.com/ebg1223/t3-test-autocomplete
To reproduce
See Repo src/server/api/routers/example.ts
input must be present in the parameter deconstruction. Even if it is never used, its presence breaks type resolution. If only ctx is present, everything works fine.
When reproducing, autocomplete works up until the function has a return statement involving the variable. This means when writing the function initially, autocomplete may be fine. It is when going back and inserting / changing code above the return statement that type resolution no longer works. This can be a big potential for new bugs to be introduced and not noticed.
Additional information
Posted a bug report to TRPC repo as well, but not sure if this is related to t3-app. If this is a tRPC problem only, feel free to close.

Link to tRPC report:
https://github.com/trpc/trpc/issues/3656

Closing for now as this doesn't seem to be reproducible. See comments on tRPC issue.


Renames executable to mgdp. Closes #125

Renames executable to mgdp. Closes #125

Let's get the example usage in README.md updated with the new executable name

Thinking of it @gavinbarron: shall we do it after we release v0.5? Right now, it's our landing page, and if we change the name, then everyone who tries the currently released version, that uses the old name, will have a broken getting started experience.

That's a really good call @waldekmastykarz


Split out css for event page and ask

Following #7428, this moves the css for all the ask pages and the event pages into their own files in on-demand. These are just included in the relevant templates by extending the css block.
Access to needed variables is maintained in the less by just importing a reference to main.

Merging in @wpears absence


expose a returnsData method on statement

It would be useful to have access to a statement.returnsData method.  I have encountered code where people are using the following pattern to emulate it.
var returnsData
try {
 stmt.columns()
 returnsData = true
} catch(e) {
  if(e instanceof TypeError && e.message === "some specific error message")  {
     returnsData = false
  } else { throw e }
}

It's brittle as its relying on an error message to never change and it turns out that the use of instanceof is unreliable in some scenarios where frameworks use the node vm api to provide isolation for things like security or performance, some native types don't compare well across contexts.  Jest does this, cloudflare's miniflare D1 does it too.
Access to a properly supported returnsData would solve those brittleness and usability problems.

statement.reader


Sparsity RFC

A proposal to add sparse tensor types to StableHLO.

It would be great to have sparsity support in StableHLO, and the proposed high-level vision sounds compelling, especially given that it is based on the work that has been going on for 2.5 years.
By design, this RFC doesn't introduce any changes to StableHLO, so there's nothing specific to approve at this point. However, I think would be great to merge this PR anyway to capture the importance of sparsity to StableHLO as well as the community interest in this work.
As a meta comment, evaluating manifesto RFCs is a gap in our RFC process at the moment, and this will need to be addressed in the future - once we complete the transition to OpenXLA governance and roll out a formal RFC process.
Looking forward to subsequent RFCs that would propose to introduce sparse tensor types etc! Figuring out the details would be an interesting discussion to have, and we'll evaluate these RFCs separately.


last items spacing when not enough items to fill a row

Almost got it working with some of this http://keithclark.co.uk/articles/targeting-first-and-last-rows-in-css-grid-layouts/

Fixed with https://github.com/JiveDig/grid-frameworks/commit/445cdd4288e754a03dd274ba1e58eda244837ab2


Use a secure address for cloning

The current method gives me this:
$ git clone git@github.com:bloomberg/bqplot.git
Cloning into 'bqplot'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Thanks!


Zipline - windows 64 bit version in conda

Hi
can we get an windows 64 bit version of zipline in conda?  We are interested in the pkg but our python installs are 64bit anaconda on windows.
Thanks,
James

zipline 0.9.0 is now available for win-64!


Invalid Generated C#: Returns void on inside async method

The following nswag file generates invalid c# code. Line 10229 attempts to return void when the method is declared async Task.
TestProject.nswag.txt
Note: The swagger spec in this file came from https://api.testproject.io/docs/v2/swagger.json

I have the same issue:

The scheme looks like this:
    "/ApiKey/Update": {
      "description": "Allows to generate access api keys. Work in progress, concept could be changed",
      "post": {
        "tags": [
          "ApiKeyService"
        ],
        "description": "Updates an existing api key",
        "operationId": "Update",
        "parameters": [
          {
            "name": "pKey",
            "in": "query",
            "description": "Password for access to the operation.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": { }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },

I have the same issue:

After I changed to the following the client generated without any errors and compiled:
    "/ApiKey/Update": {
      "post": {
        "tags": [
          "ApiKeyService"
        ],
        "operationId": "Update",
        "parameters": [
          {
            "name": "pKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },

See responses:200 part.

I have this issue as well with an Open API spec. I believe nSwag should handle these cases properly.

This looks like the same issue as #3912.


New version: Mozilla.Firefox version 127.0

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

/azp run

@stephengillie could you please approve this one when you have a chance?


Isolated network is shutdown even when there are running VMs on it

in some cases, the isolated network is shutdown even when there running VMs on it. due to it

the VR is stopped
the vlan is released

As a workaround, to avoid the issue, user has to update the network to persistent, t
update network_offerings set is_persistent = 1 where traffic_type='Guest' and guest_type='Isolated';
The issue is that, the nics_count in op_networks table is changed to 0, which is wrong sometimes.
We should add check on running/migrating/stopping VMs as well, before shutting down an isolated network, which is similar as
https://github.com/apache/cloudstack/blob/3d7281d4516e4a73a4a30921b9fe58a987fcb038/server/src/main/java/com/cloud/network/NetworkModelImpl.java#L2564-L2567
ISSUE TYPE

Bug Report

COMPONENT NAME

CLOUDSTACK VERSION

4.18

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

I thought of reporting this as we've been affected multiple times on v<IP_ADDRESS> as well.

@weizhouapache can you please provide some reproduction steps to verify the PR?

@weizhouapache can you please provide some reproduction steps to verify the PR?

@shwstppr
To simulate the wrong value of nics_count, update the op_networks.nics_count for an isolated network to 0, then wait for the GC..

Linked PR is merged https://github.com/apache/cloudstack/pull/8204
Closing this


opcr-policy: init at 0.1.42

maintainers: add naphta
opcr-policy: init at 0.1.42

Description of changes
Packaged opcr-policy for nix
cc: @06kellyjac

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 194445 run on x86_64-linux 1

1 package built:

opcr-policy

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/627


Speed up interpolation of many points by using correlated guesses

I deal with timeseries a lot, so for me interpolation involves constructing the interpolant once with thousands of data points, then interpolating to thousands of (monotonic) time steps, and repeating that interpolation many times.  In particular, for me, the LU decomposition in constructing a cubic spline takes a small fraction of the total time.  (But interpolation is by far the largest bottleneck for my larger code.)
At least on my laptop, the step that takes the longest is the call to searchsortedlast.  The problem is that each time this is called, it starts with no information — the required index might be anywhere in the input data.  However, if successive interpolations are for correlated t values, it can vastly increase the speed to assume correlated indices.  I guess this improves the cache locality a lot, too.  So much so that, at least for my use cases, the code speeds up by a factor of 3 or 4.
FWIW, here's the implementation I threw together with inspiration from Numerical Recipes's hunt function and the built-in searchsortedlast.
@inbounds function searchsortedlastcorrelated(v::AbstractVector, x, guess::T)::keytype(v) where T<:Integer
    u = T(1)
    bottom = firstindex(v)
    top = lastindex(v)
    if guess < bottom || guess > top
        # For a bad guess, just jump to standard bisection
        lo = bottom
        hi = top
    else
        increment = u
        lo = guess
        hi = guess+u
        if x ≥ v[lo]  # Hunt upwards
            lo = hi
            while true
                hi = lo + increment
                if hi ≥ top
                    hi = top
                    break
                elseif x < v[hi]
                    break
                else
                    lo = hi
                    increment += increment
                end
            end
        else  # Hunt downwards
            hi = lo
            while true
                lo -= increment
                if lo ≤ bottom
                    lo = bottom
                    break
                elseif x ≥ v[lo]
                    break
                else
                    hi = lo
                    increment += increment
                end
            end
        end
    end
    # Begin standard bisection, à la `searchsortedlast`
    while lo < hi - u
        m = Base.midpoint(lo, hi)
        if x < v[m]
            hi = m
        else
            lo = m
        end
    end
    return lo
end

I just loop through the vector of times to which I have to interpolate, keeping track of the index output by this routine, and feeding it back in with each call to interpolation.  With this change, the search drops to taking a fraction of the time that it takes just to do the arithmetic of actually evaluating the spline.  (My next goal is to improve this to be able to use SIMD, along the lines of what happened in #123.)
It might be nice to add a method like (interp::AbstractInterpolation)(t::Number, i::Integer), or even (interp::AbstractInterpolation)(t::AbstractVector{<:Number}) that would take advantage of this approach.

Indeed I tried something of the sort in https://github.com/PumasAI/DataInterpolations.jl/pull/52 but it didn't work out so well. If yours is doing well performance wise then we'd be happy to accept a PR for this!


Aligned the docker and kubelet cgroupdriver

The current deployment script does not add edge clusters when all the hosts are created.
The script is to add additional edge clusters to an existing clusters

is this ready for merge?

is this ready for merge?

Yes

Yes
From: Peng Du @.>
Sent: Friday, April 8, 2022 9:43 AM
To: CentaurusInfra/fornax @.>
Cc: Jun Shao @.>; Author @.>
Subject: Re: [CentaurusInfra/fornax] Aligned the docker and kubelet cgroupdriver (PR #95)
is this ready for merge?

Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCentaurusInfra%2Ffornax%2Fpull%2F95%23issuecomment-1093077645&data=04|01|jshao%40futurewei.com|063dcccb4cfb4ff4465d08da197ee80c|0fee8ff2a3b240189c753a1d5591fedc|1|0|637850330096411674|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=oCxOFPoKTahqohIpPrtIPQcnprYYLVVCqJ4m0wHRehA%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMD4LMV33MNRHO7YK4OD5WLVEBO25ANCNFSM5RVHKSIA&data=04|01|jshao%40futurewei.com|063dcccb4cfb4ff4465d08da197ee80c|0fee8ff2a3b240189c753a1d5591fedc|1|0|637850330096411674|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=QIa1WE8xEEkRI4YePzO0OWO12uDRnZA0IJMwFK8W4bo%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Using global variable in scripts or from imported scripts ?

Hello
I would like to know if there is a better way to use global variable than doing like this
window.myVar = "xxx";
I also would like to have better explanation about the "new Clock()"   Can I make only one and use it globally ?
Thanks you

Hi
Usually i use program.myVar or scene.myBar all scripts have access to the scene and program its where i place my global variables.
The clock can be used globally but the reading are made from call to call.
Thanks a lot

Great idea ! Thanks, an other question .I  read here https://github.com/tentone/nunuStudio/issues/174 that we could use global import (import a script and use it globally).
Could you please explain how can this be achieved ?
Thanks!


Endpoint /swagger/docs/latest will always return the latest version

Endpoint /swagger/docs/latest will always return the latest version of the swagger document.  This is very useful for CI solutions and solutions where version numbers are changing rapidly
Solves #1255

Hi Richard @domaindrivendev, I've put in this small PR to help solve issues that we are having with our CI process caused by the requirement from other tooling to use semantic version numbers as per the OpenAPI spec.


maintaining a record of books using stacks

What the program do ?
this is a c program, which takes the isbn and the title of books, and maintains a record of it

In what programming language it is written?
its written in c language

this is a program that maintains the record of books

This pull request do not contains files in specific folders. Please fix it and reopen


README.md wrong?

Looks like the TOTAL and NUMSEQ columns are swapped in all the examples?

Yes, I agree. The README is incorrect (and I just noticed the Haskell and Python versions are incorrect in the same way). Maybe we can come up with better names for the column headings?

Corrected the TOTAL and NUMSEQ ordering in the README.md in 0899e6c54d9a05a47bf1df13fee9027e8e7210d0