Nuki Bridge Bridge Callback is Disconnected

Hi,
I try to connect to a Callback function. But there aren't docs or explain why this is not working.
Would you please explain to me how to do this?

Not sure I understand the issue. What kind of error are you getting?

There is any guide how to connect the nuki to callback?

You don't need to do anything in order to set a callback. The integration will do it for you.
Just make sure you set a correct Home assistant internal URL, using http:// schema. The callback status is being reported via the Bridge Callback Set sensor

OK,
so it's not working, how can I send you the debug or the data?

Logger: custom_components.nuki_ng.nuki
Source: custom_components/nuki_ng/nuki.py:117
Integration: Nuki Lock (documentation, issues)
First occurred: 9:42:57 PM (7 occurrences)
Last logged: 9:46:00 PM
Failed to update callback http://<IP_ADDRESS>:8123/api/webhook/nuki_ng_bridge_hook_59156d185971e941.......
Traceback (most recent call last):
File "/config/custom_components/nuki_ng/nuki.py", line 201, in _update
await self.api.bridge_check_callback(self.bridge_hook)
File "/config/custom_components/nuki_ng/nuki.py", line 117, in bridge_check_callback
raise ConnectionError(result.get("message"))
ConnectionError: too many callbacks registered

As per the error, ConnectionError: too many callbacks registered, the component isn't able to register another callback, because Nuki Bridge supports max 3 different callbacks.
You have multiple options to resolve that:

(Make sure you're using the latest version) Remove other callback(s) by calling custom service nuki_ng.bridge_delete_callback. The list of callbacks currently set is available as custom attributes of the entity above

Remove other callback(s) manually, via API call https://developer.nuki.io/page/nuki-bridge-http-api-1-12/4#heading--callback-remove
Reset your bridge to have all callbacks removed

You are amazing! thanks! this fix that!


What does vmap(odeint) do?

JAX on master (1bb9aaa88c09a90a115c0304c05b0fc25932523b) is perfectly content letting one write
vmap(lambda y0: odeint(f, y0, timesteps))(y0_vec)

But it's not immediately clear to me what this means... Does this correspond to "stacking" the ODEs into one large one and then running the solver on that? That approach would have subtle behavior for adaptive time step choices and error tolerances. Or does it mean running them each in parallel but with their own adaptive time stepping? Or something else entirely?

Good question! It actually reduces to how vmap-of-while works, since there's nothing else going on here. And vmap-of-while works by executing a single loop where the predicate function is essentially
def new_cond_fun(carry):
  return vmap(orig_cond_fun)(carry).any()

and the new body fun is effectively
def new_body_fun(carry):
  keep = vmap(orig_cond_fun)(carry)
  new_carry = vmap(orig_body_fun)(carry)
  return np.where(keep, new_carry, carry)

except of course pytrees are handled correctly, unlike in this impressionistic sketch.
In words, we vectorize a loop by vectorizing the cond_fun and body_fun, then making sure we keep running the loop until all the constituent loops have terminated, and we throw away the updates for loops that have already terminated via masking.
Actually it's a bit smarter than that: for example, instead of batching up all the elements of the loop carry tuple, it only batches the ones that are necessary. And if the predicate function doesn't need to be batched, it's not, and so there's no np.where needed either. (Here's the while_loop batching rule which decides the minimal amount of stuff to batch, and here's the while_loop translation rule which generates the batched code with the "any" and "select" logic. One way to improve the lowering might be to limit the batching size based on the amount of SIMD parallelism available in our target machine. That'd be better for things like rejection samplers too.)
This plays out automatically for odeint, where none of the step size adaptations affect each other or anything like that. They execute just like they would have without being vectorized, except for some extra work that is thrown away (and is free on a perfectly parallel SIMD machine). And of course you can mix in as much reverse-mode autodiff as you want too.
Pretty cool, right?

Wow, that's even more impressive than I was expecting! Thank you so much for such a detailed explanation!


[SPARK-38012][SQL] Rename MEMORY_MODE in VectorizedParquetRecordReader to memoryMode

What changes were proposed in this pull request?
MEMORY_MODE defined in VectorizedParquetRecordReader is a final field,  not a static final field,  the naming should be CamelCase, so this pr rename MEMORY_MODE to memoryMode.
Why are the changes needed?
Canonical variable naming
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GA

close this


Post/Put should read from body and URL

For example a valid post can be foo/{id:int}/bar. However this is limiting to batch requests over the foo resource, but we should still support it.
AB#4587

closed with 52914733cf36c4223a88279fc346b96462950eaa


VALIDATE_ALL_CODEBASE and apply the slim-image

Agree, we can VALIDATE_ALL_CODEBASE and apply the slim-image provided by the linter https://github.com/github/super-linter/#slim-image
Originally posted by @albertmink in https://github.com/SAP/abap-file-formats/issues/132#issuecomment-884071185

also if validating everything, then the full history is not needed in the checkout,
https://github.com/SAP/abap-file-formats/blob/main/.github/workflows/linter.yml#L45


when component unmonted ,listener and node undestory

Vue version
3.4.31
Link to minimal reproduction
no link
Steps to reproduce
use element plus model , open and close the model, listener and node add in time,

close the model. destory the component,but children listener and node was not destory ,it became biger than before,it was a bug,will make the Browser freezes
What is expected?
i hope it close ,destory the component ,dsetory all thing ,not cahe
What is actually happening?
destory the component,but children listener and node was not destory ,it became biger than before,it was a bug,will make the Browser freezes
System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 3.53 GB / 15.66 GB
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - G:\project\lky-ui\node_modules\.bin\yarn.CMD
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.5.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    vue: ^3.4.31 => 3.4.34

Any additional comments?
No response

closing as duplicate of https://github.com/vuejs/core/issues/5256
a workaround https://github.com/vuejs/core/issues/5256#issuecomment-1173891407
fixed via https://github.com/vuejs/core/pull/11067 and will out in v3.5


Lidar detects water in ROS humble

I switched to ros2. In ros2 , vrx repo, when i run ros2 launch vrx_gz competition.launch.py world:=sydney_regatta and visualize it on rviz , lidar detects sea water also alongwith added buoys. whereas this issue is not their in vrx classic.can you help me this.

Thanks for reporting it. This is a well-known issue and something that we'll need to fix in the future.

I would like to ask, has the problem of returning lidar points from the sea surface not yet been solved?

It hasn't been resolved yet.

Yes, even I'm facing this same issue.


[Hall of Fame]1 - Header, footer, text description added

Hey, @Bogdandrummer , thanks for your work.
As all these changes are in this pr (https://github.com/MastersAcademy/fe-course-basic-2023/pull/464), I'm closing current pr.
Feel free to add your changes to 11-hall_of_fame branch


Regex search?

Is this limited to only wildcard search or can it do regex searches?

Added the ability to do Regex searches in PR #39. Use the -Regex option to pass in your regular expression.


Language Reference VBA Missing Link to Type Conversion Functions

It would by nice if the information at https://msdn.microsoft.com/en-us/vba/language-reference-vba/articles/type-conversion-functions were easier to find. I wasn't able to find a link to it from the Language Reference VBA page.

Hi @matthiasdenu -
I verified this is in the TOC in the VBA Language Reference:

Expand the Language Reference TOC
Select Functions
On the Functions landing page, scroll to Type Conversions Functions
The VBA ref is quite large and it isn't possible to include every topic in the TOC. So we use landing pages to aid in the navigation.
Closing this as "won't fix."


Updated Makefile to allow building TinyXML2 as a static library

This patch updates the Makefile to allow building TinyXML2 as a static library on *nix, mimicking Windows' Visual Studio project's behavior.
I tried to keep the Makefile as simple as possible, following the style that was present.
I tried avoiding the line $(AR) $(ARFLAGS)s $@ $^, but the s was required to build it as a static lib (the default arguments of AR doesn't include that s)
As a plus, I added a new rule to easily rebuild the project.
If you like the idea/patch but want something changed, please, tell me and I'll update it :)
I hope this helps! :smile:

Nice. thanks!


Change initialHashedPassword to initialPassword

Motivation for this change
Fixing incorrect documentation. As the value is clear text, not hashed, it should use initialPassword instead, otherwise login won't work with the provided password.
Things done

[X] Tested locally on nixos via nixos-rebuild build-vm on release 20.09

Please squash the commits into one.


afni_proc concatenates runs across sessions

Single sessions dataset https://13-113127138-gh.circle-artifacts.com/0/home/ubuntu/outputs1/reports/sub-01_individual.html
Two session dataset https://13-113127138-gh.circle-artifacts.com/0/home/ubuntu/outputs2/reports/sub-02_individual.html
Was this intended?

Yeah, I'm concatenating the runs in the motion report.
On Tue, Dec 5, 2017 at 5:54 PM, Chris Filo Gorgolewski <
<EMAIL_ADDRESS>wrote:

Assigned #5 https://github.com/BIDS-Apps/afni_proc/issues/5 to
@Shotgunosine https://github.com/shotgunosine.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/BIDS-Apps/afni_proc/issues/5#event-1373719972, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFC1mP0YlQMu5To8MX8BNoxrijgHEZ3mks5s9cnAgaJpZM4Q3GAw
.

We're working on PR #9 to fix this behavior. The behavior is fixed, just need to fix the reporting.


DNM: Bluetooth: controller: Do not feature exchange more than once

Updated the controller implementation to not feature
exchange if already done once either by local or remote peer
device in an active connection session.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

Codecov Report

Merging #11472 into master will increase coverage by 0.01%.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master   #11472      +/-   ##
==========================================
+ Coverage   48.38%   48.39%   +0.01%
==========================================
  Files         265      265
  Lines       42193    42211      +18
  Branches    10137    10139       +2
==========================================
+ Hits        20413    20430      +17
  Misses      17703    17703
- Partials     4077     4078       +1

Impacted Files
Coverage Δ

subsys/bluetooth/controller/ll_sw/ctrl.c
42.69% <94.73%> (+0.2%)
:arrow_up:

Continue to review full report at Codecov.

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


[Remote Debugging]

Welcome! Please use this template for reporting documentation issues on https://developers.google.com/web/.
For questions about Chrome DevTools, checkout the
google-chrome-devtools tag on StackOverflow.
For questions about Chrome, check the google-chrome
tag. If you think you've found a Chrome bug, check out our
feedback page for more details on how to file it.
Page Affected: https://developers.google.com/web/TODO
What needs to be done?
Please provide description of what's needs to be done here. Please be sure to include the link to the original page
and any supporting links/data.

[x] Appropriate type-something label has been added.
[x] Appropriate section-something label has been added.

亲，你的来信我已受到，会尽快回复的。


Fixed a bug with deleting a model from changelist inside modal

Forwardport of https://github.com/divio/django-cms/pull/6501

Coverage remained the same at 77.665% when pulling 162ee546fad6926e22d1444852958131d5760603 on vxsx:bugfix/4.0.x/model-removal into 4307e1b8c2e2d0459868133aaa5bdc4d59d7ca81 on divio:release/4.0.x.


java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

I'm getting the exception mentioned in the subject when trying to start a 1.7.2 database container.
It looks like some repackaging/shading doesn't work properly.
Inspecting the jar with my IDE shows that there is a org.testcontainers.shaded.org.apache.commons.lang.StringUtils in the jar testcontainers-1.7.2.jar
but ScriptUtils from database-commons-1.7.2.jar tries to import org.apache.commons.lang.StringUtils. Again looking at the decompiled version in my IDE.

Hi @schauder,
This duplicates #656, which is already fixed in master and will be released later today

confirm works for me with 1.7.3

I have this problem now with versin 1.11.0 and 1.11.1 of test container.
should i open a new ticket?

@rfelgent it was fixed in 1.11.2, see #1342

thx for the hint @bsideup . i will give it a try.

This issue has reappeared since version 1.17.0, and is still there in versions 1.18.3 and 1.19.3
A class (in test scope) that imports org.apache.commons.lang3.StringUtils causes this compilation error:
package org.testcontainers.shaded.org.apache.commons.lang` does not exist
org.testcontaienrs.shaded.org.apache.commons.lang.StringUtils

The issue goes away when downgrading to 1.16.3.
Using org.testcontainers:mysql on java 11, running on MacOS (M1).


Improve documentation

I was thinking that it would be great to improve the documentation of this plugin. The info at https://grails.org/plugin/export is very outdated and it needs to be updated.
I was thinking taking advantage of github pages (as some other grails plugins e.g. at https://github.com/grails-plugins/grails-spring-security-core/tree/gh-pages).
We could even have different documentation for different versions when needed. What do you think about it?

@frangarcia, though I have sent pull request for updated documentation but you could also refer http://puneetbehl.github.io/grails-export/

Woow, you have done a very good job. Congrats!


Re-enabling prometheus middleware after restart

If you are filing a bug report, please answer these questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!
1. What version of Caddy are you running (caddy -version)?
caddy dev version (build from master)
2. What are you trying to do?
Re-enabling the prometheus handler after a restart (SIGUSR1)
3. What is your entire Caddyfile?
localhost:2020 {
    prometheus
}

localhost:2021 {
    prometheus
}

4.
5. What did you expect to see?
6. What did you see instead (give full error messages and/or log)?
The handler fails to run because of
err listen tcp <IP_ADDRESS>:9180: bind: address already in use

But I can't stop the previous handler before the new caddy process starts, because there are no hook. I'm wondering what to do here?
Seems the Shutdown function could help here, but that is only run on server stops, not restarts?
Help?

Ohh, your add-on opens a new port and does its own listening. Is there a way to serve prometheus metrics at a path on an existing listener? In other words, to set up a Handler rather than having to start a whole HTTP server? That'd be preferable, I think.

The problem with re-using another listener is that you want to protect your metrics. I might have taken a shortcut here, but just listening on localhost (and nothing else) is safest. Other use cases would include listening on a private address just for monitoring.
IOW: there are use-cases where you want to start a new listener, I think. Even though it is possibly to protect with other means (passwords, IP blocks).

Okay, so basically, you need a callback like Restart() so that you can close your listener. Would that do?

yes, but I wonder why Shutdown is not called for middleware on these restarts?

@miekg Because that's just how I decided it should work. A restart is technically not a shutdown, especially on Unix. Users would not equate Shutdown with Restart/Reload. For example, if you use the shutdown directive, it is executed only when the server is stopped, not when you reload it. Other middlewares rely on startup and shutdown being executed only when the server first starts and finally shuts down, like the git add-on.
I'll look at adding a Restart hook.

Ok, fair enough, I Restart hook makes a lot of sense. Hopefully other middleware would find this useful as well.

Hi, @miekg. There are some methods that have been added to caddy.Controller since you opened this issue: https://godoc.org/github.com/mholt/caddy#Controller
Are OnStartup, OnRestart, or OnShutdown sufficient? I see that you're using OnStartup in your setup function since Caddy 0.9.

[ Quoting<EMAIL_ADDRESS>in "Re: [mholt/caddy] Re-enabling prome..." ]

Hi, @miekg. There are some methods that have been added to caddy.Controller since you opened this issue: https://godoc.org/github.com/mholt/caddy#Controller
Are OnStartup, OnRestart, or OnShutdown sufficient? I see that you're using OnStartup in your setup function since Caddy 0.9.

Yes, I think this should be fixed, but I never bothered to double check, hence
this issue is still open.

Yes those should be enough.


URLSearchParams should accept an iterable

This works in the browser, but the TS definition doesn't allow it:
new URLSearchParams(new FormData(document.querySelector('form')));

The type is currently:
declare var URLSearchParams: {
    prototype: URLSearchParams;
    new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
};

The specification says that it should accept a "sequence", not specifically an array https://url.spec.whatwg.org/#concept-urlsearchparams-new

Currently the blocker is #222, because

We have to emit a new signature with an iterable argument in *.iterable.d.ts (and keep the current one for es5 support).
The current declare var pattern cannot be extended, so we can't add signatures via *.iterable.d.ts.

The current definition of URLSearchParams is also missing some methods that return iterators. Specifically these ones (copied from @types/node):
    entries(): IterableIterator<[string, string]>;
    keys(): IterableIterator<string>;
    values(): IterableIterator<string>;

I suppose those are probably blocked on the same issue.

@Ryan1729 Those are available when you set target: es2015 or higher.
https://github.com/microsoft/TSJS-lib-generator/blob/353a0cfc53b97bcd3d105b93f64f74ad5ce394a9/baselines/dom.iterable.generated.d.ts#L243-L257


[BUG] Get-PackageVersion is not returning all packages

To Reproduce
`Get-PackageVersion` in PowerShell

Observed Behavior
Includes some packages

Expected behavior
It includes some packages that are available but it doesn't include all packages.
This makes the data misleading.
Is this specific to Cloud Shell?
Yes
Interface information
Everything
Additional context
Add any other context about the problem here.

You can run pip3 list, Get-Module -ListAvailable, and tdnf list manually, but that still does not list everything. And the output is not as friendly or useful for the customer.
Get-PackageVersion is the easiest way for a customer to get a list of tools that are preinstalled in Cloud Shell. Our documentation can't list everything, so we need an easy way for the customer to get the information.


Import artifact

This PR enables importing an artifact from another study that the user owns.

Looks good, just a few non-blocking comments, and fyi the tests are failing.

Coverage increased (+0.09%) to 82.922% when pulling 00d110a1855c228c0637033ac93290e549635f9d on josenavas:artifact-study-pages-import-artifact into df9ddec2024b538c9f18716029ae43ec28c4ba8a on biocore:artifact-study-pages.


gatsby-plugin-fontawesome-css plugin issue

gatsby-plugin-fontawesome-css plugin is used in gatsby-config.js but is not package.json

Can I work on this @subodhk01 ?

The issue is resolved in one of the PRs! Thanks for your contribution @subodhk01 :)


Please publish AngularJS as an NPM module

It just takes a few minutes to publish an npm module of the existing AngularJS project, but it would accomplish the following:

Enable deployment from the standard infrastructure being used for both server and client Javascript code
Enable browserify users like me to package up client side libraries I fetch with npm (though in production, I reference a copy on the CDN)
Find new Angular releases using npm outdated.
Jump ahead of jQuery, which is in the process of taking over the npm management of their library: https://github.com/coolaj86/node-jquery/issues/56

The npm name angularjs remains available. I recommend mapping it to git://github.com/angular/angular.js.git#v1.0.x and perhaps also creating an angularjs-unstable which pulls from master.
Thanks!

thank you!


date data type

Date data type is not store the value as date format, but datetime format.
for this case, we will have the timezone issue as it won't return the exact value you have stored.
It will convert the value to timezone that you set into database and return the local timezone.
for the datetime data type. it will always return you the exact value without timezone conversion .
for example,  i store the value as 2015-04-22T21:24:09+0000 and it will return the same value.

Hi,
This is not valid anymore new serialization store with absolute time and return the date with the server timezone, closing this.
Regards


Roll Plugins from 53fff22979d2 to 2e102b8a8c41 (1 revision)

https://github.com/flutter/plugins/compare/53fff22979d2...2e102b8a8c41
2021-11-03<EMAIL_ADDRESS>[ci] add pedantic dep to new in_app_purchase pkgs (flutter/plugins#4471)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


PID ramp change, remove String class, other edits

Change PID ramp so that it doesn't run away to high target temperatures if the duration specified is shorter than the oven can actually perform. This does still overshoot temperature but it doesn't get silly.
Remove the use of the big-S String class that was only used for serial printing debug info.
Shows temperature on home screen.
Shows peak temperature under current temperature during a reflow.
Reflow serial output now shows each element percentage and doesn't show PID details.
Adds more SerialUSB output in learning mode.

A big thanks fro doing this!  Sorry it has taken such a long time to get around to looking at this.  I looked at all your changes and have incorporated some of them into the 1.5 release.  I plan to release this later this year (it will be a major update).


Create an block header struct

This is so we can implement light client transporting block headers only.

I feel like the better way to do this is to standardize the notion of "expansions" and "summaries" that I define in this doc: https://github.com/ethereum/eth2.0-specs/blob/154eec0d027468d1a228f7f76e233eec9c4320ff/specs/light_client/sync_protocol.md
The "header contains root of body" thing was done that way for a reason (namely, so that signing over the header also signs over the body, but at the same time you could verify signatures using just the header) and should probably stay that way. It's easy to convert any BeaconBlock into its corresponding BeaconBlockHeader already in any case.

@atoulme Can you please issue pull requests on dev (as opposed to master). Also, as pointed out by Vitalik, there is a block header struct which fits the "summary"/"expansion" paradigm.


fix add_tapers_cross_section

LGTM

I think this just reverts https://github.com/gdsfactory/gdsfactory/issues/2329, I guess we can redo it later


Update nf-dwmapi-dwmflush.md

It's unclear what

until the next present

means in this case. It might need another word or two. [Ref]

Thank you for the edits. It might be useful to add a link to the Present method and its interface (this?).


Fix: Relative Image URL

The issue for #21 is that the image extractor was initialized before the article information was populated. This caused two variables to be None or '' when we expected them to contain a value. By removing the use of the variables and instead using the self.article directly resolved this issue.
Also note, that this resolves #18 as if fixes the logic to generate the correct temporary file names. If/when this is merged, the other related PRs ( #20 and #19)

@barrust I've also given you access to the PyPi. Feel free to push updated packages up there.

@lababidi Thanks, I have pushed a new release (3.0.7) to pypi and tested that it installed correctly. Things should be working!


Added Javacript Cat Clock & Added Username to Username.txt

Project JS cat clock was added.
Added my username to username.txt

@shubhamgoel90 I just create some pull request regarding js things.
Would you like to check it out ?
Also I don't find any hacktoberfest label in here.
Thanks

@shubhamgoel90 umm.. Thank you for merging the code.
But can I request this to be labelled as "hacktoberfest" and "hacktoberfest-accepted"?
It would truly helpful for me

@shubhamgoel90 thank you for accepting. But I saw in hacktoberfest, and you need to add label into your main repo there to be counted. Here is the quote from hacktoberfest rules:

Your PR was submitted to a repository that is not participating in Hacktoberfest. Maintainers of the repository can add the "hacktoberfest" topic to their repository if they wish to participate. Alternatively, an individual PR can be opted-in with a maintainer adding the "hacktoberfest-accepted" label to the PR.

One last thing, can you add label "hacktoberfest" in your repository, it would be helpful for me and others as it would counted

@testerslol123 I have already added the hacktoberfest in the topic of the repository. But, now this repository is not eligible for the Hacktoberfest as it is not of a specific topic or tech. So, Digital Ocean has removed such kind of repositories from the hacktoberfest.


Support krew for the kubectl ko addon

Feature request
Support krew for the kubectl ko addon.
https://krew.sigs.k8s.io/
This would make installation of the addon easier, in particular if kubectl is used on a node different from the control plane.

I want to try. Can you assignees me?

https://krew.sigs.k8s.io/docs/developer-guide/plugin-manifest/
maybe , we should open a github release package download page for  krw package manager.
At other issue  #2354  can also reuse this release download page

this release tar package should incloud dist/images/kubectl-ko and LICENSE
[root@localhost dir]# tar tf kubectl-ko.tar.gz
kubectl-ko
LICENSE

I'll create a index file in krew.git. it's ko.yaml


onpressbackground not get current time when set timeInterval prop

HI,
i am set timeInterval= 15.Its works fine. But onpressBackground returned the wrong time always.
If I add the start and end prop also it's not working.
If you fixed this issue soon, very helpful for me

@howljs Can you check this Please?

@howljs Thank You.


"brew install --HEAD hub" fails on linking

I want to brew install HEAD, because there has not been a release in a while and I'm eager to benefit from #865.
It looks like the cause is ./script/version can't handle this scenario.
ENV
hub v2.2.0-100-gec733a938b
brew 0.9.5 (git revision a44e; last commit 2015-10-22)
go version go1.5.1 darwin/amd64
Mac OS X 10.11 (15A284)

$ brew install --HEAD hub
==> Cloning https://github.com/github/hub.git
Cloning into '/Library/Caches/Homebrew/hub--git'...
remote: Counting objects: 491, done.
remote: Compressing objects: 100% (422/422), done.
remote: Total 491 (delta 33), reused 246 (delta 27), pack-reused 0
Receiving objects: 100% (491/491), 389.90 KiB | 34.00 KiB/s, done.
Resolving deltas: 100% (33/33), done.
Checking connectivity... done.
==> Checking out branch master
==> script/build
Last 15 lines from /Users/ll/Library/Logs/Homebrew/hub/01.build:
  -n	dump symbol table
  -o file
    	write output to file
  -r path
    	set the ELF dynamic linker search path to dir1:dir2:...
  -race
    	enable race detector
  -s	disable symbol table
  -shared
    	generate shared object (implies -linkmode external)
  -tmpdir directory
    	use directory for temporary files
  -u	reject unsafe packages
  -v	print link trace
  -w	disable DWARF generation

READ THIS: https://git.io/brew-troubleshooting

Warning:

llmbp:hub--git ll$ bash -x script/build
+ set -e
+ windows=
+ [[ '' == Windows* ]]
+ case "$1" in
+ build_hub hub
+ setup_gopath
+ TMPDIR=/var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T/
+ TMP_GOPATH=/var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T//go
+ TMP_SELF=/var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T//go/src/github.com/github/hub
+ '[' -n '' ']'
+ export GOPATH=/var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T//go
+ GOPATH=/var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T//go
+ mkdir -p /var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T//go/src/github.com/github
+ ln -snf /Library/Caches/Homebrew/hub--git /var/folders/xn/xv7l4lpd7vv4h7sl_8jjyh4w0000gn/T//go/src/github.com/github/hub
+ '[' -n hub ']'
+ up_to_date hub
+ '[' -e hub ']'
++ ./script/version
+ go build -ldflags '-X github.com/github/hub/version.Version=ar cmdVersion = &Command{-gec733a9' -o hub
# _/Library/Caches/Homebrew/hub--git
usage: link [options] main.o

$ bash -x ./script/version
+ set -e
++ git describe --tags HEAD
++ true
+ version=
+ '[' -z '' ']'
++ grep Version commands/version.go
++ head -1
++ cut -d '"' -f2
+ version='var cmdVersion = &Command{'
++ git rev-parse --short HEAD
+ sha=ec733a9
+ '[' -z ec733a9 ']'
+ version='var cmdVersion = &Command{-gec733a9'
+ echo 'ar cmdVersion = &Command{-gec733a9'
ar cmdVersion = &Command{-gec733a9

Thanks for reporting, and sorry about that! Please try again.

Verified resolved. Thank you @mislav.


Update base.py

Added make_aware to the imported functions, and added "cursor.execute("SET TEMPORARY OPTION chained='Off'")" to force the autocommit

Thanks for reporting this problem. Due to legal issues, we cannot currently accept pull requests but I have submitted a fix for the make_aware problem. I have not included the chained option since that is not a recommended solution; see http://sqlanywhere-forum.sap.com/questions/24118/autocommit-with-django-17-and-sybase-iq-15403027?page=1#24124.


Undefined Electron API's

Describe the bug
Why is there only 3 electron api's available with import { electronAPI } from '@electron-toolkit/preload' ?
process, ipcRenderer, webFrame.
Example : I want to use the api for app to get the data path app.getPath('appData') .
Importing app in ../preload/index.ts import { app, contextBridge } from 'electron' shows app as undefined.
Now how am i supposed to get access to those other electron api's ?
Electron-Toolkit Version
3.0.0
Electron Version
28.2.0
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

app cannot be used in preload/renderer. You should use ipc to handle.

https://github.com/alex8088/EvPlayer

@alex8088  Thanks. Is it okay to use the ipcRenderer from electron in the preload script, or must i use the ipcRenderer from electronAPI in preload script ?
../preload/index.ts

import { contextBridge, ipcRenderer } from 'electron'
import { electronAPI } from '@electron-toolkit/preload'

// Custom APIs for renderer
const api = {
  getAppDataPath: () => ipcRenderer.invoke('get-appData-path')
}

if (process.contextIsolated) {
  try {
    contextBridge.exposeInMainWorld('electron', electronAPI)
    contextBridge.exposeInMainWorld('api', api)
  } catch (error) {
    console.error(error)
  }
} else {
  // @ts-ignore (define in dts)
  window.electron = electronAPI
  // @ts-ignore (define in dts)
  window.api = api
}

https://github.com/alex8088/electron-toolkit/tree/master/packages/preload#get-started


How do you exclude a single library?

Let's say I wanna use all the fixes except one or two; how would I do this easily? The only way I can think of is manually including all libraries except the ones I don't want, but that's goofy. I remember fixes.inc had something smarter.

Manually adding the libraries are as easy as fixes.inc does using macros.
The only difference is that fixes allowed you to exclude individual features but mine lets you exclude a part/branch.


added exporting LCSC property to KiCad v6 Schematic Files

This is very experimental, I wanted to get feedback if it is a maintainable feature. I tested it on a couple of my designs so far.

Wow, that looks very good 😍
Give me a bit time to test this before I merge it!

@computergeek1507 I did a quick test and it seems to work as expected!
But it fooled me on te very first try 🙈 I clicked the export button selected the .kicad_sch file and clicked ok.
So far so good I thought and wanted to see in the schematic if the LCSC property is set, but it wasn't.
Then I realized that the FileDialog gave me another project as default directory and I wasn't reading properly when I selected that  .kicad_sch file. That way the function wrote data from one projects pcb into the schematic of another one.
Sure, there's the _old file as backup but still I think this should be tune a bit.
In my opinion at least the defaults of the FileDialog should be set to reasonable values:
with wx.FileDialog(
            self,
            "Select Schematics",
            "", # DefaultDir
            "", # DefaultFile
            "KiCad V6 Schematics (*.kicad_sch)|*.kicad_sch",
            wx.FD_OPEN | wx.FD_FILE_MUST_EXIST | wx.FD_MULTIPLE,
            ) as openFileDialog:

DefaultDir should be the project dir
DefaultFile could be the same name as the .kicad_pcb but with kicad_sch

Let me know what you think about this.

@computergeek1507 Holy 💩 I tried to add my suggestions but messed it up 🙈 I think I simply push a new branch with your changes and add mine, otherwise I'm going to mess up the main branch.


PUT /api/3.0/deliveryservices/{id} with changed cdn returns 403 forbidden

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Ops
Traffic Portal

Current behavior:
Changing the CDN for a delivery service returns a 403 with
{"alerts":[{"text":"Forbidden","level":"error"}]}

403s are for operations that fail role or tenancy check.
New behavior:
This needs to be a 400 Bad Request instead with a message like:
{"alerts":[{"text":"Delivery service CDN is immutable","level":"error"}]}

Minimal reproduction of the problem with instructions:
Navigate to a DS in TP and change the CDN value. Save.
Anything else:
If the intent is to make CDN immutable on a DS, the cdn field of an existing DS should be disabled as well to prevent the user from changing it.

@shamrickus or @srijeet0406 - i cant remember if one of you did the api work on this or not...

I think that might have been Steve. Its in the getOlddetails function I believe.

oh, ok, this was changed in #5083 - can you make it return a 400 bad request instead (with an error message that explains why they can't do that) @shamrickus when ds.cdn or ds.routingName change is attempted?

I can take this one.

I can take this one.

I think @shamrickus is working on this one, not a 100% sure

I think @shamrickus is working on this one, not a 100% sure


[Bug] When using a StateOverride with a CallBuilder to estimate_gas, the state overrides are not being applied

Component
contract
What version of Alloy are you on?
alloy v0.1.2
Operating System
Linux
Describe the bug
When trying to estimate gas with state overrides via a contract function call, the state overrides were not being applied.
Fixed in this PR: https://github.com/alloy-rs/alloy/pull/967

Fixed in https://github.com/alloy-rs/alloy/pull/967


Remove unused tags from app

Remove unused tags such as husband, classmates and friends from code and test.

Unable to do it as it breaks too much test, requiring too much work to remove a feature.


Ingress removal from IM

Remove ngix and ingress dependency.
Create the below artefacts from im-operator which was managed by ingress operator -

ibmcloud-cluster-info configmap
ibmcloud-cluster-ca-cert secret with ca-cert

Ref https://github.ibm.com/IBMPrivateCloud/roadmap/blob/master/feature-specs/bedrock-services-1Q2023/Certificate%2C Route%2C Shared Secret and Configmap management in Cloud Pak 3.0.md

/retest

/test check ibm-iam-operator

/retest


Handoff Consent Propagation configuration steps to Shawn King

We'll need to get Consent Propagation across the line and setup for Zola this sprint. We should talk to Shawn King and plan exactly what needs to happen:

creating connectors
configuring their secrets
connection oauth for GA
etc...

We can pull Robert in for this if needs be.

Hey @rsilvery — when is this feature due to be handed off to the customer?

@saiatethyca ?


[OSF-7876] Bluebook citations defined.

Purpose
Allow users to make bluebook citations, as they are currently show on our list of available citation types, both via api and the project page.
Changes
Added bluebook.csl file, used in place of the given bluebook csls, as they do not defined bibliography section needed by citeproc.
Side effects
This implementation creates a very simple interpretation of a bluebook citation as defined by http://guides.libraries.uc.edu/c.php?g=222561&p=1472886. It could contain small errors and inconsistencies. It also defines all three bluebook citations available (Bluebook Law Review (2), Bluebook Law Review and Bluebook Inline) as having the same citations for the purpose of citing an OSF project.
Ticket
https://openscience.atlassian.net/browse/OSF-7876
Notes for QA
Would be good to test this with different kind of projects and preprints, with one and multiple authors. This can be tested by going to the project page and selecting one of the three results that show up when you search for bluebook. This can also be tested by navigating to the preprints' endpoint for a bluebook citation (those are: v2/preprints/<guid>/citation/bluebook2/, v2/preprints/<guid>/citation/bluebook-law-review/ and v2/preprints/<guid>/citation/bluebook-inline/

Seems like this broke something else, or at least changed the behavior. Will take a look at what caused the test to fail tomorrow morning. Should not impact demo.


Fixed Psychic Phenomena roll

Per Core Book page 163-164) the roll is d100 not d10 and then + 10 * levels of purged energy.

Closed as the diff was just wrong


Compat: Interfering with independent pets (and probably others)

I've been loving the heck out of this mod, and recently saw another mod I'd also love the heck out of called independent pets. However, I've recently noticed an issue- with this mod installed it overrides independent pets normal shift+Rclick behavior, making me unable to make my pets move freely.
It'd be nice if there was a config for this mod to have the 'pet' action set to a hotkey, rather than simple shift+rightclicking. That, or if petting didn't override all otherr interactions of shift+rClick.
Thank you for your time and the mod~♫

Fixed in 1.3.0


module requires two phase apply due to value of count cannot be computed

what
While trying to test a new module, which depends on this one, I added example usage:
module "vpc" {
  source    = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=master"
  namespace = "example"
  stage     = "dev"
  name      = "app"
}

resource "aws_route53_zone" "default" {
  name = "cp-example.com"
}

module "subnets" {
  source             = "git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=master"
  namespace          = "example"
  stage              = "dev"
  name               = "app"
  region             = "us-east-1"
  vpc_id             = "${module.vpc.vpc_id}"
  igw_id             = "${module.vpc.igw_id}"
  cidr_block         = "<IP_ADDRESS>/16"
  availability_zones = ["us-east-1a", "us-east-1b"]
}

module "elasticsearch" {
  source                  = "git::https://github.com/cloudposse/terraform-aws-elasticsearch.git?ref=tags/0.1.5"
  namespace               = "example"
  stage                   = "dev"
  name                    = "es"
  dns_zone_id             = "${aws_route53_zone.default.id}"
  security_groups         = []
  vpc_id                  = "${module.vpc.vpc_id}"
  subnet_ids              = ["${module.subnets.public_subnet_ids}"]
  zone_awareness_enabled  = "true"
  elasticsearch_version   = "6.2"
  instance_type           = "t2.small.elasticsearch"
  instance_count          = 4
  kibana_subdomain_name   = "example-kibana-es"
  encrypt_at_rest_enabled = "false"
  ebs_volume_size         = 10
  iam_actions             = ["es:*"]
  iam_role_arns           = ["*"]
}

module "elasticsearch-cleanup" {
  source               = "../"
  es_endpoint          = "${module.elasticsearch.domain_endpoint}"
  es_domain_arn        = "${module.elasticsearch.domain_arn}"
  es_security_group_id = "${module.elasticsearch.security_group_id}"
  vpc_id               = "${module.vpc.vpc_id}"
  enabled              = "true"
  namespace            = "example"
  stage                = "dev"
  schedule             = "rate(5 minutes)"
}

which failed with the below error:
Error: Error running plan: 2 error(s) occurred:

* module.elasticsearch.module.domain_hostname.aws_route53_record.default: aws_route53_record.default: value of 'count' cannot be computed
* module.elasticsearch.module.kibana_hostname.aws_route53_record.default: aws_route53_record.default: value of 'count' cannot be computed

This happens because the ID cannot be computed until after creation.
The workaround for this was using a two stage apply and passing the -target option.

@joshmyers I know this is an old issue but the workaround described here would allow you to complete this in one pass:
https://github.com/hashicorp/terraform/issues/1178#issuecomment-428453689

I'm still running into this issue even with Terraform 0.13 and Module depends_on. I've posted about this over in the SweetOps Slack to see if I can get to the bottom of it.


Pronunciation Assessment: ErrorType=None, even though a phoneme is missing from the pronunciation

Describe the bug
Pronunciation Assessment is returning "ErrorType":"None" even though a phoneme is missing from the pronunciation.
To Reproduce
Steps to reproduce the behavior:

Use the attached audio – alan-bugs-without-the-s.wav
Run a pronunciation assessment for it with a reference_text of bugs (mind the plural.)
Observe the results in the JSON. I get an "ErrorType":"None".

Expected behavior
I'm expecting for the API to return an ErrorType of Mispronunciation for the word, because the S sound is actually missing at the end of it.
(In passing: ErrorType is for words... Is maybe a similar field planned for each phoneme as well? This would come in handy.)
Version of the Cognitive Services Speech SDK
azure-cognitiveservices-speech Python 1.21.0
Platform, Operating System, and Programming Language

macOS
ARM M1
Python 3.9.12

Additional context
The WAV file and sample JSON results are here: https://www.dropbox.com/sh/3wjan0o6m93i0hy/AABi2eszykaWD1Sqc5LYno-ea?dl=0
Tags: omissions.

It's worth pointing that intrusions (insertions) suffer from the same issue. Try saying these words wrong: "psychology" with a P, or "colonel" as "co-lo-nel", and you'll get ErrorType=None – where I'd expect, instead, ErrorType=Mispronunciation.

Hi @fabswt , thank you for using the Pronunciation Assessment service and sorry for the late reply. Looks this is a model issue and our engineers are following up.
BTW, this is a little tricky as bug is read out with s, so the system usually gives a lower score but without error. Mispronunciation usually means the pronunciation is almost totally wrong.
cc @yinhew

Hey,
Any news on the release of that model?


Redirect not working for localhost

Dear HTTPotion Team,
I have a server running on localhost that redirects my post request to a get. The redirect on the server works, however, from HTTPotion I only get the 303 error as it cannot handle it.
As far as I can tell, the method for handling redirects has a bug in the url parsing part:
defp normalize_location(location, url) do
  if String.starts_with?(location, "http") do
    location
 else
    Regex.named_captures(~r/(?<url>https?:\/\/.*?)\//, url)["url"] <> location
  end
end

When trying to parse localhost:4321 as an url the Regex expression results in nil and is therefore unable to redirect correctly.
Thanks for your help!

For everyone who has the same problem. Here is my workaround at the moment:
response = HTTPotion.post(url <> "/postroute", [body: data])
result = HTTPotion.get(url <> response.headers.hdrs["location"])

This, however, only works when your server gives you the relative path (so without localhost:4321) as the redirect location.

A better workaround would be to request http://localhost:4321.
But yeah lol that whole function looks weird. I'll replace it with URI.merge.

Try current master now.

It kinda works. So merging the two URI parts of course works, however, omitting http at the beginning is still not possible as the URI library only lets you merge absolute URIs. I do not know, if you even want that to be possible.
I am going to stick with adding the protocol to the URI, so I am fine. Still, I would be happy to see the other option to be possible as well.
Also I forgot to add the follows_redirect: true option to the post request. After that it worked fine with http://localhost:4321 as URI.

hmm, yeah, so in general, it's undecidable whether to parse example.com/abc as host: "example.com", path: "/abc" or as a relative path host: "", path: "example.com/abc", because paths can contain dots. Which is why you should never return something like example.com/abc in a Location header. Either return a relative path, or a full absolute one with the protocol.


[Feature] add AEI to $tex output formats

Describe the solution you'd like
When $tex requests image formats, AEI is offered and respected.
(optional) Additional details
When AEI is selected, the bot asks what platform the skin will be used on and compress the image accordingly.
This should be solved wither by wrapping AEIEditor with Wine, or by copying the AEIEditor source code to python (or another language?)

completed with AEPi


vertical scroll（loop property） invalid

垂直滚动情况下，loop循环属性，设置无效

⚠ You did not follow the contributing guidelines!
As stated in these:

You need to fill out the issue template. This step is mandatory! Not doing so will result in your issue getting closed. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.

Unless you provide a Snack example that reproduces the issue, we won't be able to help you and the issue will be closed.


#307 remove duplicate code in integrals

Description
Refactor IndefiniteIntegral to remove duplicate code
Fixes #307
Type of change

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

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #308 into master will increase coverage by 0.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #308      +/-   ##
==========================================
+ Coverage   96.86%   97.01%   +0.14%
==========================================
  Files          53       53
  Lines        3257     3250       -7
==========================================
- Hits         3155     3153       -2
+ Misses        102       97       -5

Impacted Files
Coverage Δ

pybamm/expression_tree/unary_operators.py
92.35% <100%> (+2.35%)
:arrow_up:

pybamm/discretisations/discretisation.py
100% <100%> (ø)
:arrow_up:

pybamm/expression_tree/symbol.py
97.64% <100%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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


Compile error: libvireo.so: undefined reference ...

Hi, have error on Ubuntu
installed l-smash
and apply this fix https://github.com/twitter/vireo/issues/11
 ./configure --enable-gpl
./.libs/libvireo.so: undefined reference to `h264_setup_parser'
./.libs/libvireo.so: undefined reference to `h264_parse_sps'
./.libs/libvireo.so: undefined reference to `h264_cleanup_parser'
./.libs/libvireo.so: undefined reference to `x264_encoder_open_152'
./.libs/libvireo.so: undefined reference to `mp4a_export_AudioSpecificConfig'
./.libs/libvireo.so: undefined reference to `av_register_all'
collect2: error: ld returned 1 exit status

I was able to resolve this issue by adding l-smash library path to Makefile
492 LIBS = -lz -lpthread  /l-smash/liblsmash.a

I am facing the same problems . Any workaround for this issue ?


Gpl 263b well extension time

Closes #497
Changes proposed in this pull request:
*Pre-extension time is now in pacbio well modal
*Pre-extension defaults to 2 for sequencing mode CCS and 0 for CLR

...

I just pulled your branch in order to test it with mine. It seems to work nicely, except for one thing I tested:

Edit a well, put 'hello' or some other string in there
Click Update on the well, then Update on the run
Go back into the well
Field displays '0', not 'hello'
I wasn't shown an error message at any time

We could either

validate in the modal that it has to be an integer, or
catch the traction-service response, and display an error if it failed (preferably both).
What do you think? Maybe it's actually traction service's fault, maybe it's not returning an error?


Fix simplified-invokes TestGenerateProgram test

This test from pulumi/pulumi makes use of pulumi-std 0.1.0. I've tried updating the get_plugins and update_plugin_docs Makefile targets to install std 0.1.0, and updated the get_schema.sh file to download the schema from a custom url, similar to awx, e.g.:
std_url='https://raw.githubusercontent.com/pulumi/pulumi-std/v_VERSION_/sdk/schema.json'

"std@0.1.0@${std_url}"

But when I run the TestGenerateProgram test, simplified-invokes fails with:
panic: expected plugin loader to use cached schema path, but cache was missed for package<EMAIL_ADDRESS>is an entry in the makefile or setup for this package missing? [recovered]
panic: expected plugin loader to use cached schema path, but cache was missed for package<EMAIL_ADDRESS>is an entry in the makefile or setup for this package missing?

Not sure why it's trying to use 1.0.0 or how to address this, so I'm going to skip the test for now.
WIP change: https://github.com/pulumi/pulumi-yaml/compare/justin/simplified-invokes?expand=1

Probably skip it.


[iOS] 0.17 tintColor on Image bug?

On upgrading from 0.16 to 0.17, the tintColor prop doesn't work the same on images.
I have a image with style
{
  borderRadius: 1
  height: 24
  tintColor: "#1b1b1b"
  width: 24
}

it was rendering in black(#1b1b1b) in 0.16, but it now renders in blue (as shown in below)

Was this an intended change or it a bug?

on further investigation, it looks like when i have an image with tintColor style set, and then remove it on a state change, tintColor will be rendering wrong.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-017-tintcolor-set-to-default-blue-if-first-set-and-then-remove
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


Fix expo being unable to resolve config plugin

Description
Fixes an issue where Expo is unable to resolve the config plugin when following the installation instructions. The following error was thrown when trying to build with expo:
Failed to resolve plugin for module "@rnmapbox/maps" relative to "<PROJECT-PATH>"

The fix is based on this PR, fixing the same issue.
Checklist

[ ] I have tested this on a device/simulator for each compatible OS
[ ] I updated the documentation with running yarn generate in the root folder
[ ] I updated the typings files - if js interface was changed (index.d.ts)
[ ] I added/ updated a sample - if a new feature was implemented (/example)

@maartenweyns  can you add steps to reproduce the issue? Thanks.

The most minimal setup that reproduces the issue:

Create blank react native app:

yarn create expo-app -t expo-template-blank-typescript TestApp

Install mapbox with expo (or yarn)

expo install rnmapbox/maps#main

Add expo to plugin array

{
  "expo": {
    "plugins": [
      [
        "@rnmapbox/maps",
        {
          "RNMapboxMapsImpl": "maplibre"
        }
      ]
    ]
  }
}

Run expo prebuild

expo prebuild

The following error is displayed:
CommandError: Failed to resolve plugin for module "@rnmapbox/maps" relative to "<PATH>"

It looks like this file did not manage to make its way on npm? When I install this dependency with the #main version, the file is not there and I get the same expo error.


PhantomJS error in files when I declare let

Which version of PhantomJS are you using?
2.1.1

What steps will reproduce the problem?

Declare let in file

Get errors

Which operating system are you using?
Windows 10

Did you use binary PhantomJS or did you compile it from source?
Binary

Please provide any additional information below.
A piece of my code

	ctrl.$parsers.unshift(function(viewValue) {

		let value = viewValue.replace(/\D/g,'');

		if(value.length != 0){
			ctrl.$setValidity("cep", false);
			if(value.length == 8){
				ctrl.$setValidity("cep", true);
				return value;
			}
			return undefined;
		}else{
			ctrl.$setValidity("cep", true);
			return value;
		}
	});

Modern JavaScript features (from ES6/ES2015 or later) will be only supported via an updated QtWebKit.
From now on, please track #15342. Thank you!


Homepage signup style

(style) Made visual changes to the signup page and the homepage.

I'm good with this, and there appears to be no conflicts.


Merge nodes

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #95
Special notes for your reviewer:
Release note:

/close


Fix form alignment on template question creation

Changes proposed in this PR:

Refactors in Template and Section creation
Fix bug in Section creation
Fix field alignment in question form (Fixes #1833)
Fix Rubocop offenses

hard to tell if the changes are ok without running the UI and reviewing the pages. Will merge and deploy for UAT

Thinking the failing test here may get resolved by the PR that corrected the org_swap issue


"The connection to the server <IP_ADDRESS>:6443 was refused"

Rancher Server Setup

Rancher version: 2.5.9
Installation option (Docker install/Helm Chart): Docker install
Proxy/Cert Details:

No proxies. Default CA certs.

Information about the Cluster

Kubernetes version:

k3s version 1.21.1+k3s1 (AlpineLinux)
go version go1.16.5

Cluster Type (Local/Downstream):

Downstream, Imported. Single node k3s cluster running on Alpine Linux

Describe the bug
The manifest given by "Get registration command" seems to contain wrong URL in CATTLE_SERVER when clusters reach the server in different URL than the browser.
To Reproduce

Run two VirtualBox Linux (I used Alpine) instances in one NAT network
Set up port forwarding from host loopback interface to the rancher server.
Start rancher in Docker container on one Linux instance
Log into Rancher from host and specify the IP of Linux instance (not localhost) when asked
Start k3s in the another instance and import that to rancher using registration command

NOTE: When the above steps are performed from another virtual Linux present in the same NAT network, the issue does not occur. The difference is that the browse and the cluster can reach the rancher in the same URL.
Result
CATTLE_SERVER points to "https://localhost"
Expected Result
CATTLE_SERVER points to the IP specified when first logging into Rancher server.
Screenshots

Ok seems k3s process was not running when the error occurs so this is not an issue.


fix(eslint-config): removing react/default-props-match-prop-types lint rule

Overview

Getting rid of react/default-props-match-prop-types linting rule to avoid build failures.

PR Checklist

[ ] Related to JIRA ticket: ABC-123
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/eslint-config@7.0.2-alpha.647421.0


Add rule checking that first Argument is in the same line as [Arguments]

Implements rule from #1001

Thanks, good work! Commented few nitpicks


INT-B-19298

Agility ticket
Summary
Updated helpdesk url from mail.mil to army.mil
How to test

Access the app and get a helpdesk error to appear

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against fa871803bca50d46617db169653bd7a1006da6de

Oh and looks like another one in index.test.jsx for Home component:
line 655 needs to be:
screen.getByText(/Something went wrong downloading PPM AOA paperwork./, { exact: false }),

DO YOU EVEN TEST BRO

FIX YA TESTS BRUH

Smh this test doesnt have anything to do with my changes

Ohhhh but it does cause you updated the modal

This might sound crazy, but... Would it be better to store that email as a variable instead of manually change it for each one?

Maybe in src/shared/constants.js?

I concur with @danieljordan-caci But, hotfix is a hotfix and it's showtime

only a warmfix... we aint live yet

Maybe in src/shared/constants.js?

id rather see it in DB or some param that doenst take code change to update

Maybe in src/shared/constants.js?

id rather see it in DB or some param that doenst take code change to update

Yeah could be something to throw into chamber! Good idea.


Unsupported PTX version on RTX 2080 Super with cuda 11.6

Thanks for creating this library!
I recently tried downloading the master branch and compiling from source. Compiling went without issue but tests including a simple add test failed with the following error:
  File "test.py", line 98, in <lambda>
    ms, min_ms, max_ms = triton.testing.do_bench(lambda: add(x, y))
  File "test.py", line 46, in add
    add_kernel[grid](x, y, output, n_elements, BLOCK_SIZE=1024)
  File "/home/sam/code/ml/local/triton/python/triton/code_gen.py", line 717, in __call__
    return self.kernel(*wargs, **kwargs, grid=self.grid)
  File "/home/sam/code/ml/local/triton/python/triton/code_gen.py", line 707, in __call__
    return _triton.runtime.launch(wargs, self.fn.do_not_specialize, self.fn.cache_key + cc, self.fn.arg_names, device, stream,
  File "/home/sam/code/ml/local/triton/python/triton/code_gen.py", line 679, in add_to_cache
    return self.fn._warmup(key, arg_types=arg_types, device=device_idx, attributes=attributes, constants=constants, num_warps=num_warps, num_stages=num_stages, is_manual_warmup=False)
  File "/home/sam/code/ml/local/triton/python/triton/code_gen.py", line 1006, in _warmup
    binary = self._compile(**compile)
  File "/home/sam/code/ml/local/triton/python/triton/code_gen.py", line 1041, in _compile
    name, asm, shared_mem = _triton.code_gen.compile_ttir(backend, generator.module, device, num_warps, num_stages)
RuntimeError: Internal Triton PTX codegen error:
ptxas /tmp/filebYjtgA, line 5; fatal   : Unsupported .version 7.4; current version is '6.4'
ptxas fatal   : Ptx assembly aborted due to errors

I'm running Ubuntu 20.04 with an RTX 2080 Super. nvidia-smi gives the following:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03    Driver Version: 510.47.03    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+

I was able to get things working by hard-coding the value returned by vptx in lib/driver/llvm.cc, but this is obviously not a proper solution. The max_nvvm_ptx in llir_to_ptx is also unused but is 74 and would not have fixed my issue.

Check what you get from running nvcc --version. If the version is not compatible with your CUDA version, make sure you configured the PATH and LD env vars correctly.
You should make sure you followed those Nvidia instructions
The gist is for CUDA 11.6 is this (use your actual CUDA path):
export PATH=/usr/local/cuda-11.6/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.6/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

This did reveal the issue. At some point, I had installed nvidia-cuda-toolkit which was providing an old nvcc version. Uninstalling that package fixed the error.
Thank you!


[RFC] suggest & prioritize improvements to editing workflow

Hi Jason, I started to upload logos and headers to Github via Master. However, there is no update to the  https://sphere.diybio.org/ website.
I read in the Gitter you had similar problems back in May with the new hosting client netlify, and are using Staging to trigger the update via merge. I tried it with no success.
On the netlify deploy status, it appears there hasn't been a successful deployment since June.
I'm probably missing something, please let me know.

Mac - James is updating DIYbiosphere. Any chance you can help him solve the
commit issue?
Jason
On Wed, Oct 16, 2019 at 11:46 AM S James Parsons Jr <
<EMAIL_ADDRESS>wrote:

Hi Jason, I started to upload logos and headers to Github via Master.
However, there is no update to the https://sphere.diybio.org/ website.
I read in the Gitter you had similar problems back in May with the new
hosting client netlify, and are using Staging to trigger the update via
merge. I tried it with no success.
On the netlify deploy status, it appears there hasn't been a successful
deployment since June.
I'm probably missing something, please let me know.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DIYbiosphere/sphere/issues/256?email_source=notifications&email_token=AAATLPZTNSTRZUBSRXZ3X2LQO4ZMTA5CNFSM4JBNOSB2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HSGQVNA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATLPZTLN3YEWTS5KRLKFLQO4ZMTANCNFSM4JBNOSBQ
.

I think the issue was a syntax error in the yaml frontmatter of a file added june 14 (caused by a single extra whitespace). This was causing the yaml parser used by jekyll to crash and burn, which unfortunately was killing the entire build process.
I fixed the yaml error (#257) so we should know soon if it was the culprit - just need to netlify to trigger preview build for staging (for some reason it had stopped building staging previews, ...so also fixed that I think).
Lets use this thread to discuss / take notes on

various ways of preventing this particular failure mode from happening again; and

which approach to 1) would also help advance other desired upgrades / features (web-based editor perhaps? then we could validate yaml before committing it...)

Hi Mac, it's a pleasure to meet you.  It seems like the current bug was squashed.
What etiquette do you want for site updating?  Staging -> Master?  Does it matter if I just use master for uploading pictures?

There also seemed to be a problem with algolia api keys. the algolia-jekyll plugin couldn't talk to the algolia api and was returning an error at the end of the build process, which netlify interpreted as a build failure.
Two things we might need to do to make our build process more robust:

prevent algolia's indexer from returning an error to the algolia build process if it fails. But now that the api keys are fixed, maybe not a big deal.

protect against build failures caused by syntax errors or incorrect data types in yaml frontmatter (the latter type of error is harder to automatically detect because it requres understanding the semantics of the yaml fields, which are defined somewhere deep in our own code, probably not even in a single schema file, whereas the syntax of yaml is defined globally by the language definition itself. Basically it appears that the the jekyll yaml parser doesn't like it if someone puts the wrong kind of data in a yaml-field, such as end-date: sometime instead of end-date: 2019-08-08; "sometime" is a string that cannot be interpreted as a "date" as required in our app.)  that said, we could
a) add a hook somewhere or other (code review automation here on github maybe triggered on pull requests or commits?) that runs a yaml-linter to at least catch syntax errors, and/or
b) extract or define the schema of allowed values for each possible property in the yaml-frontmatter (perhaps converting everything to json then using json-schema) so that we can also check for semantic mistakes, and/or
c) look into adding a web-based editor to both make it easier for users to create / edit new content, and also make it easier for us to build in our own validation logic. an editor could potentially use isomorphic-git in the browser to directly commit public edits to a public branch, which we would then manually review, for instance.

At the very very least, if the builds start failing again, keep your eye out for yaml mistakes as the culprit.

after merging staging into masster, #255, production seems to be working properly now and serving the missing files.

Oops, wanted to have a discussion here so no closing the thread!
@sjamesparsonsjr thanks for asking about the dev process. I would recommend making edits to the staging branch.  Netlify is now correctly building previews of all commits to all branches - after you commit or merge a PR, the netlify app decorates the issue / PR message with some status updates, including a link to the deploy preview if it builds. you just have to click the 'show details' button.
if the preview looks good, then merge staging into master
one last thing - since a lot of contributions happen via the github web editor on the master branch, it would be good to first merge master -> staging so its up to date.

here's what the expanded netlify build message looks like

@sjamesparsonsjr re just using master for uploading pictures...
That said if you happen to notice its been 10+ commits or a few months since staging was merged, feel free to merge them as discussed.

@100ideas sounds good

@100ideas Hi Mac, I've finished uploading all of the headers and logos for _startups. Before I start editing them I want to see the published version, however, the site is still crashing.  I get a build error The tag last_modified_aton line 5 in_includes/content.html is not a recognized Liquid tag. For more information, see https://help.github.com/en/articles/troubleshooting-jekyll-build-errors-for-github-pages-sites#unknown-tag-error.

I wasn't able to replicate the error you mentioned above re last_modified_at.
The build failures on netlify seem to have been caused by the jekyll-algolia plugin getting empty _geoloc.lat or _geoloc.lng fields on an entry (see bottom of this build log).
3:47:32 AM: [jekyll-algolia] Error:
3:47:32 AM: 400: Cannot POST to https://ITI5JHZJM9.algolia.net/1/indexes/*/batch:
3:47:32 AM: {"message":"_geoloc.lat or _geoloc.lng attributes cannot be null near line:1
3:47:32 AM: column:13786","status":400} (400)

I think this file was the problem:

https://github.com/DIYbiosphere/sphere/blob/415dbedcca4b442a8f766c57878237954a23ec1d/_startups/CellEleven/CellEleven.md

I removed the empty fields and the build succeeded:

https://github.com/DIYbiosphere/sphere/commit/120bc1abb2f068a6266c23c2075e0afe6a9d998e
https://app.netlify.com/sites/diybiosphere/deploys/5dad8ddb4a152e00086db198

now lets see if merging staging to master results in a good build...

I just mreged staging into master #272 and it seems to have worked.
https://app.netlify.com/sites/diybiosphere/deploys/5dad8fefc3371300081a40a1
so, going forward, just comment out any empty fields in the yml frontmatter.
good
#BASIC INFO
title: Cell Eleven
subtitle: Democratized Biotech
type-org: startup
#LOCATION
# address: # street and number
city: Philadelphia
state: Pennsylvania
postcode: 19135
country: United States
# _geoloc: # Geolocation coordinates for mapping
#  lat: # latitude number
#  lng: # longitude number
---

bad
---
#BASIC INFO
title: Cell Eleven
subtitle: Democratized Biotech
type-org: startup
#LOCATION
address:
city: Philadelphia
state: Pennsylvania
postcode: 19135
country: United States
_geoloc: # Geolocation coordinates for mapping
  lat: # WARNING THIS IS BLANK AND WILL BREAK BUILD # latitude number
  lng: # WARNING THIS IS BLANK AND WILL BREAK BUILD # longitude number
---

Since this issue is already referenced in relevant open issues I will close this now


Project local 'package.json' leads to npm install error

In the case of the package https://github.com/nodejs/nan, the repository contains a directory named 'tools'.
In it, a package.json with an example of use of the package https://github.com/nodejs/nan/blob/master/tools/package.json
Problem is that after demeteorizing the application, there is a dependency '1to2' in the final package.json. However this package does not exist and npm install fails with a 404, what's the good way to do?
Regards,
-- Léo

Is this on latest or next?
If on latest, try running from the next tag. :)

I had the exact same issue. Using the next tag there is no error about missing dependencies. But how can this version be used with modulus-cli?

And -- if running on Windows, may want until my PR #144 is merged into master / next.

It's on latest, will try again on next, thanks

Once this is out of beta, I'll get it added to the Modulus CLI, until then,
you'll have to deploy the generated bundle.
Make sure you include the -m flag.
$ npm i demeteorizer@next
$ cd /path/to/project
$ demeteorizer
$ modulus deploy .demeteorizer/bundle -m

thx! I got it working now :+1:

btw, for future reference, -g was missing and the generated dir is .demeteorized
$ npm i -g demeteorizer@next
$ cd /path/to/project
$ demeteorizer
$ modulus deploy .demeteorized/bundle -m

Updated, I've typed "demeteorizer" enough in the last week that it's automatic..

@fiveisprime is this still the best way to deploy to modulus? (including the -m flag)
What is the best way to deploy to modulus?

@ecwyne the Modulus CLI tool has been updated to use the latest version of demeteorizer. There's no need to follow those steps anymore. :)

@fiveisprime which of the following would you suggest
cd path/to/project/root
demeteorizer
cd .demeteorized
modulus deploy -p project-name

or
cd path/to/project/root
modulus deploy -p project-name

Option 2, just deploy. :)
Option 1 still requires -m


Ability to disable the module

Describe the feature
The ability to disable the module entirely would be nice to allow more flexibility with nuxt layers.
To give an example: We have a base layer for all apps but for internal tooling we don't require i18n. Here the ability to disable the module would be very handy so the base layer can still have all the i18n config and we can opt out granuaraly
Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide (The contribution guideline of nuxt-modules/i18n is compliant with Nuxt too).
[X] Check existing discussions and issues.

I can see how this would be useful, are there other modules that support this?

Sidebase nuxt auth does as just one example off the top of my head


Primary caching 12: barebone range support

Prefer on a per-commit basis, stuff has moved around
Range queries are back!... in the most primitive form possible.
No invalidation, no bucketing, no optimization, no nothing. Just putting everything in place.
https://github.com/rerun-io/rerun/assets/2910679/a65281e4-9843-4598-9547-ce7e45197995
TODO: now that I think about it this is probably a good time to change the experimental flags to latestat/range rather than archetypes

Part of the primary caching series of PR (index search, joins, deserialization):

#4592
#4593
#4659
#4680
#4681
#4698
#4711
#4712
#4721
#4726
#4773
#4784
#4785

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Update: ported the original range test suite over.

Updated so that the app options now toggle latest-at and range queries as a whole:

latest-at defaults to enabled, while range stays disabled for now.


Plugin administration is not well reloaded

How to reproduce:

Go to Plugin administration
Enable or disable a plugin
Click on "save plugins"
= the page is reloaded but it's the same configuration as before =
Manually reload a second time the page
= it's ok =

That's related to Shaarli. @alexisju experienced it, but our investigations didn't lead us anywhere.

Yes, I had the same problem when I was developing on Ubuntu 14.
Strangely, it works properly when developing on Windows. And it works well on my server (hosted by OVH).
I close the issue and let you open another one on the official Shaarli repo (or check if it doesn't already exist).


API docs for NoReturn are missing

The stdlib API documentation has no entry for NoReturn.
This is a special type defined by the compiler, but we usually document them in the API docs as well for completeness.
The language specification has a section about it: https://crystal-lang.org/reference/1.7/syntax_and_semantics/return_types.html#noreturn-return-type
There's a significant roadblock: NoReturn is a special kind of type and cannot be reopened in code which would be necessary to attach a doc comment. So we'll probably need to implement some kind of workaround in the doc generator to make it possible. Maybe something similar to #8327.

This should also include Void which is mentioned in the C Bindings section next to NoReturn.

#8422 is also a possible solution (you could define class methods on NoReturn just fine so there is a use case for that)


How to test retaine message

I would like to know how i can test with retain message ?

This is currently not supported.

We would love to accept pull requests for a feature like this.


Pixel represented focal length or real world scale focal length(mm)

Which kind of focal length do you use in your experiment? Pixel represented focal length or real world scale focal length(mm)?
Datasets you used to train model, they seems support different of focal length depend on datasets.
For example, taskonomy dataset only provide fov information, so to convert it to camera parameter, focal length should be pixel represented value.
But, As far as i know, Nyuv2 and kitti they provide focal length in real world scale(mm).
My question is
Which kind of focal length do you use to align data(canonical transform) with same focal space? pixel or real ?
How to convert real to pixel or pixel to real?

If you use pixel represented focal length, did you use below codes(taskonomy, omnidata) to convert from fov to pixel represented focal length?
codes in taskonomy
def get_K(resolution, fov):
resolution, _ = resolution
focal_length = 1. / ( 2 * math.tan( fov / 2. ) )
focal_length *= resolution
offset = resolution /2.
K = np.array(
((   focal_length,    0, offset),
(    0  ,  focal_length, offset),
(    0  ,  0,      1       )), dtype=np.float64)
K[:,1] = -K[:,1]
K[:,2] = -K[:,2]
return K

code in omnidata
def _get_cam_to_world_R_T_K(self, point_info: Dict[str, Any], building: str, point: int, view: int, device='cpu') -> List[torch.Tensor]:
EULER_X_OFFSET_RADS = math.radians(90.0)
location = point_info['camera_location']
rotation = point_info['camera_rotation_final']
fov      = point_info['field_of_view_rads']
    # Recover cam -> world
    ex, ey, ez = rotation
    R     = euler_angles_to_matrix(torch.tensor(
              [(ex - EULER_X_OFFSET_RADS, -ey, -ez)],
              dtype=torch.double, device=device), 'XZY')
    Tx, Ty, Tz = location
    T     = torch.tensor([[-Tx, Tz, Ty]], dtype=torch.double, device=device)

    # P3D expects world -> cam
    R_inv = R.transpose(1,2)
    T_inv = -R.bmm(T.unsqueeze(-1)).squeeze(-1)
    # T_inv = -R.bmm(T.unsqueeze(-1)).squeeze(-1)
    # T_inv = T
    # R_inv = R
    K = FoVPerspectiveCameras(device=device, R=R_inv, T=T_inv, fov=fov, degrees=False).compute_projection_matrix(znear=0.001, zfar=512.0, fov=fov, aspect_ratio=1.0, degrees=False)

    return dict(
      cam_to_world_R=R_inv.squeeze(0).float(),
      cam_to_world_T=T_inv.squeeze(0).float(),
      proj_K=K.squeeze(0).float(),
      proj_K_inv=K[:,:3,:3].inverse().squeeze(0).float())

Another question is which kind of depth did you use with taskonomy? zbuffer or euclidean depth?

We use focal lengths in pixels. Focal lengths in millimeters can be converted to pixels by using pixel size(mm), and you can also calculate pixel size(mm) by using sensor size(mm) and imaging resolution.

If you only know fov, then yes, you can calculate the focal length in pixels, as you mentioned:
def get_K(resolution, fov):
  resolution, _ = resolution
  focal_length = 1. / ( 2 * math.tan( fov / 2. ) )
  focal_length *= resolution
  offset = resolution /2.
  K = np.array(
      ((   focal_length,    0, offset),
      (    0  ,  focal_length, offset),
      (    0  ,  0,      1       )), dtype=np.float64)

  return K

However, please note that omnidata uses the projection matrix of the OpenGL paradigm. K here has different meanings. K[0,0], K[1,1] should not correspond to fx, fy in pixel units.

In all datasets, we use zbuffer depth.

I really appreciate your reply.

I really appreciate your reply.


error

hi Kristoffer
I installed phon on python 2.7. when I want to run I face this error

from phon.io.read.read_from_abaqus_inp import read_from_abaqus_inp
from phon.mesh_tools.create_cohesive_elements import create_cohesive_elements
from phon.io.write.export_to_abaqus import export_to_abaqus
mesh=read_from_abaqus_inp("40.inp")
create_cohesive_elements(mesh, mesh_dimension=3)
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-x86_64/egg/phon/mesh_tools/create_cohesive_elements.py", line 60, in create_cohesive_elements
File "build/bdist.linux-x86_64/egg/phon/mesh_tools/create_cohesive_elements.py", line 331, in get_node_id_grain_lut
KeyError: 9818

What is the source for this problem?

Please post your .inp file so I can try it.

Dear Kristoffer,
I realized it has problems with "hex" mesh type. For 'tet' mesh type it works properly.
grain.inp.txt
Regards,
Mohammad

This is a bug in Neper for hex elements.
From your inp file:
*Element, type=C3D8
1, 1, 2, 11, 10, 445, 446, 455, 454

The elements here should start not be restarted to 1. Until Neper is fixed you have to fix this somehow yourself so that the element numbers continue from the previous section.


fix(Tile): rename iconSrc to logo

Description
Renames iconSrc to logo, iconWidth/iconHeight to logoWidth/logoHeight, and adds an alias for each.
References
N/A
Testing
Tile should continue working exactly the same.
Automation
Updates a property and its styles, but everything should look the same.
Checklist

[x] all commented code has been removed
[x] any new console issues have been resolved
[x] code linter and formatter has been run
[x] test coverage meets repo requirements
[x] PR name matches the expected semantic-commit syntax

Test Execution Passed.

:tada: This PR is included in version @lightningjs/ui-components-v2.14.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature Request] Custom style attribute for Popover

Existing Component
Yes
Component Name
Popover
Description
I wanna change background-color to popover and dont have attr in element to override the default. Would be interesting something for this case.

Sorry, we have no plan to support this.


Screenshots On Failure Are Not Saved When Using REST Helper

What are you trying to achieve?
Have a screenshot saved on failure https://codecept.io/basics/#screenshot-on-failure
What do you get instead?
Screenshot is not saved in /output
The bug was introduced in 2.6.7. In 2.6.6 it works fine
Details

CodeceptJS version: 2.6.7
NodeJS Version: v12.16.1

@KateKorneeva must be something specific with the project configuration, here is an example with CodeceptJS v 2.6.7 which saves screenshot on failure:
Pipeline run: https://gitlab.com/paulvincent/codeceptjs-bug-report-template/-/jobs/663207933
Failure screenshot: https://gitlab.com/paulvincent/codeceptjs-bug-report-template/-/jobs/663207933/artifacts/file/ci_artifacts/Bug_1.failed.png

The screenshot can´t be saved if the REST helper is configured after a helper which supports the saveScreenshot() method, so that it becomes unavailable.
See this failing pipeline: https://gitlab.com/paulvincent/codeceptjs-bug-report-template/-/jobs/663639282
 › <screenshotOnFail> Test failed, saving screenshot
 › <TypeError: helper.saveScreenshot is not a function> undefined

The whole logic to determine "the current helper" in screenshotOnFail looks pretty error prone to me, and with the latest addition of REST into standardActingHelpers.js it is not compatible anymore.
@PeterNgTr do you have an idea for a good fix? Can you help with advise @DavertMik pleae ?

Oh no, so probably my last PR to add REST helper into that standard acting helpers. I would guess instead of adding it to the standard list, adding that REST helper into the delay plugin only. How does it sound? @pablopaul

@PeterNgTr sounds good to me, thanks. Are you going to open a PR?

@PeterNgTr sounds good to me, thanks. Are you going to open a PR?

hey @pablopaul here is the fix https://github.com/codeceptjs/CodeceptJS/pull/2513


make it possible to list property names via cli

wsk property get lists all properties. but i couldn't find a way to list on the cli the actual names of properties, which have to be used for setting them. maybe i'm missing sth?

just found it wsk property set -h


feat(analytics): add milestone byte size analytic

Linked Issues

Closes #1007

Notes to Reviewer

As a reviewer, please pay particular attention to the following areas when reviewing this PR and tick the above boxes after you have completed the steps.
Database Changes

[ ] Review database queries for correctness/conciseness.
[ ] Ensure queries are supported by indexes if needed.

This seems still very incomplete (no dashboard, no CLI support), so it should be a draft, no?

you're right.. not ready for review yet so should have been a draft

Closing in favor of #1061, which has the same functionality.


React Native - Unable to resolve module

I am trying to use the 'superagent' in the React Native (0.59.1) project, but it shows a number of similar errors 'Unable to resolve module'.
Modules are: url, stream, https. At least these modules.
I've tried to add 'url' and 'stream' manually with 'yarn add', but seems this is an incorrect way.
Should it add dependencies automatically?
What am I doing wrong?
error: bundling failed: Error: Unable to resolve module stream from AwesomeProject/node_modules/superagent/lib/node/index.js: Module stream does not exist in the Haste module map
error: bundling failed: Error: Unable to resolve module https from AwesomeProject/node_modules/superagent/lib/node/index.js: Module https does not exist in the Haste module map

Please use v5.0.2, I have fixed the issue already

I have also just unpublished v5.0.0 and v5.0.1 from NPM to prevent further headache.

Thank you! Now it installs v5.0.2 automatically and works!


Crossbeam channel slower than Go channels with input data delay

Description:
Hello,
I've been evaluating methods for fast data transfer between threads in Rust. After benchmark tests, I found that the crossbeam_channel appeared to be the most efficient mechanism in Rust, even outperforming Go channels on initial tests.
However, when introducing data with a delay, I observed that crossbeam_channel was significantly slower than Go channels.
Code:
Link to my Rust test code
Link to my Go test code
Benchmark Results:
Rust crossbeam:
    Without delay: Mean: 1.369µs
    With 100 microsecond delay: Mean: 11.246µs

Go channels:
    Without delay: Mean: 34.192µs
    With 100 microsecond delay: Mean: 5.92µs

Test Environment:
Crossbeam Version: 0.8
Machine: AMD Ryzen 7 5800H
Rust Version: rustc 1.72.0 (5680fa18f 2023-08-23)
Go Version: go1.21.1 linux/amd64
Is there a known reason for this behavior? I would like to understand if there's a way to reduce the delay on data transfer between channels in crossbeam or if there are recommended practices for managing when data has delays.
Thank you for your insights.

I think it may be related to extra spinning. What about when using std::sync::mpsc?

What about when using std::sync::mpsc?
Also time close to crossbeam benchmark result bit also twice slower than Go chan.

cc @ibraheemdev

@Jensanf do you have the numbers for the std version?

@ibraheemdev for std::sync::mpsc
 Without delay: Mean: 3.972µs
 With 100 microsecond delay: Mean: 11.984µs


Proposal: Conditional Workflow

I am in the situation where I test an API against a service which is under development. A complete testrun will need about an hour. Therefore I am thinking about some scripts which are able to repeat some folder (all requests in the folder) as long as some error condition occur.
I have read https://github.com/usebruno/bruno/issues/71 and https://github.com/usebruno/bruno/issues/87 which go in my wanted direction. But both are missing the aspect of conditional execution an repetition of requests/folder.
In postman which I want to discontinue there exists the command postman.setNextRequest() to implement some sort of workflow (Please see the postman documentation).
For example my collection looks like this:
Collection root
├── Folder: Create customer
│   ├── Request: Create customer
│   └── Request: Add address to customer
├── Folder: Create supplier
│   ├── Request: Create supplier
│   └── Request: Add address to supplier
└── Folder: Create contract
    ├── Request: Create contract
    ├── Request: Insert customer
    └── Request: Insert supplier

In this case I want to execute Folder: Create customer three times. After three times and ending with a failing test the collection should be abborted completely. It does not make sense to create a contract, if there is no customer.
Then I want to execute Folder: Create supplier three times. After three times and ending with a failing test the collection should be abborted completely. It does not make sense to create a contract, if there is no supplier.
Then I want to execute Folder: Create contract three times. After three times and ending with a failing test the collection should be abborted completely. These repeatitions are only to make save, that the collection run successfully even if there are temporaly changes in the service I want to test.

Hi, I totally agree with @tho-gru-38 ! Most REST API have strong dependencies and it does not make sense to call them arbitrarily. While the proposed solution from @mj-h goes into the same direction it does not cover the complexity needed.
Maybe a sort of mapping table would help in the collections file, which could contain references and dependencies.


Update the names of files under docs/analog/model_parameters/LV/tables_clear

The names of the files under docs/analog/model_parameters/LV/tables_clear should probably match primitive naming?
It might actually just be that the formatting of these file names need to match the other ones in this file? The files which made me think where the following;

docs/analog/model_parameters/LV/tables_clear/19_mos_3p3.csv
docs/analog/model_parameters/LV/tables_clear/21_mos_6p0.csv
docs/analog/model_parameters/LV/tables_clear/22_mos_6p0_1.csv
docs/analog/model_parameters/LV/tables_clear/21_mos_6p0_2.csv

I think they might just be _MOS_ or _Mos_ -- _Mos_ doesn't look right, so I'm guessing it _MOS_ is right?

Should we stick to the naming convetion of nfet/pfet instead?
I'm suggesting 19_mos_3p3.csv to be 19_nfet_pfet_03v3.csv


APIError(code=-2015): Invalid API-key, IP, or permissions for action.

I wan to use this lib for sample trade in https://testnet.binancefuture.com/
I use API_KEY and API_SECTERT thats provided in bottom of panel.
but when I want do anything like get_account() i get this error
i change default client.py base on this link https://github.com/sammchardy/python-binance/pull/578/commits/692992dca2dbbd705d6ffe48921dfae59b6d1375
but problem exist.

same error

did you guys figure it out? I get the same thing

You need to generate API keys through this website and also use the test api url mentioned in this website:
https://testnet.binance.vision/

How do you update the API_URL for the binance.client?
I tried client.API_URL = , it doesnt work
What is the best way to update the API_URL?

Here is a small example code snippet on how you can set the API_KEY, API_SECRET and API_URL:
`
from binance.client import Client
api_key = 'YOUR-API-KEY'
api_secret = 'YOUR-API-SECRET'
api_url = 'YOUR-API-URL'
client = Client(api_key, api_secret)
client.API_URL = api_url
`
Note: Do not insert confidential data directly into the code

@abraarsyed I generated api_key and api_secret on https://testnet.binance.vision/, set client.API_URL to https://testnet.binance.vision/api but still getting error with Invalid Api-Key ID.

for test try this
client = Client(api_key, api_secret)
client.API_URL = "https://testnet.binance.vision/api"

but there must be a better way to convert all api to test