TypeError: getAndroidModule().isReadyAndroid is not a function.

isReadyAndroid is not implemented in the native layer. Perhaps it was left out during the migration to kotlin?
Version of react-native-iap
8.0.1
Version of react-native
0.64.2
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
isReadyAndroid is implemented and returns a Promise
Actual behavior
isReadyAndroid raises a TypeError (TypeError: getAndroidModule().isReadyAndroid is not a function.)
Tested environment (Emulator? Real Device?)
Nokia 5.4
Steps to reproduce the behavior
just call RNIap.isReadyAndroid()

That method has been removed. All you have to do is wait for the init method to resolve

Could it be completely removed in this case?
Declared in the library API:
https://github.com/dooboolab/react-native-iap/blob/0a255579a75e64a938ecf06d6e1be3bcdbb3fdee/src/iap.ts#L678
Mentioned in the doc:
https://github.com/dooboolab/react-native-iap/blob/0a255579a75e64a938ecf06d6e1be3bcdbb3fdee/docs/docs/usage_instructions/connection_lifecycle.md?plain=1#L93
https://github.com/dooboolab/react-native-iap/blob/0a255579a75e64a938ecf06d6e1be3bcdbb3fdee/docs/docs/api_reference/methods.md?plain=1#L30

Hi @andresesfm
Agreed with @chvik, the current API is not clear.
Is it an existing method ?

Yes: it's not working
No: The documentation and documentions mentioned it

The method was created to avoid an issue on Android: https://github.com/dooboolab/react-native-iap/pull/1563
Does init solve this issue as you mention it ?
regards

Hi @andresesfm Agreed with @chvik, the current API is not clear. Is it an existing method ?
* Yes: it's not working

* No: The documentation mentioned it

The method was created to avoid an issue on Android: #1563 Does init solve this issue as you mention it ?
regards

Am also wondering this, if this is the case the docs need to be updated: https://react-native-iap.dooboolab.com/docs/usage_instructions/connection_lifecycle/#long-lived-connections-android
I am getting the same error with this method when trying to use it as the docs describe.

@andresesfm Are you sure you don't need #1563 PR?
@hyochan Do you remember why #1563 was merged? If nothing else has been done about this issue in 8.0, isn't it still necessary?
@ospfranco As a PR(#1563) owner, what is your opinion?

IMO removing is bad.
For us, it was necessary because we kept the android connection alive outside of a single container (we didn't just have one screen that used the object, but queried the API at different points to show different prices and special offer screens). Therefore using hooks that automatically re-initialize the connection when the component mounts/unmounts was simply not sufficient.
Since there was no way to check if the connection was alive or not we would have to re-initialize the connection every time we would need to query it. The connection got killed at "random" times (device would go to sleep, app would go to background) but not always depending if the user would re-open the app in a certain interval.
So basically... the method was needed, not just a convenience. But I haven't checked the codebase, if you can guarantee the google api connection is alive 100% of the time, then there is no need to expose this to JS, but if the connection can still silently die and any init method needs to be called, then there needs to be something to check the state.

i have the same issue here, isReadyAndroid is not exist, and i do not know why document has it


Update chaincode_start.go

Changed function "read" to "readit" (BH)

Merged v2.0 into master branch (BH)


Bundle client-side code

Remove RequireJS
Introduce browserify or rollup or webpack

Done in front-end-rewrite branch.


Add SVHN dataset

Modification
I added SVHN dataset.
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

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


add Connection.SetIdleTimeout

Hi,
For the context, I'm testing QUIC non-HTTP use cases and I use NextProtos to select the application I want so I can mix multiple applicatons on one port (ie: dns and h3).
Applications may have different idle timeouts requirements (ie "heartbeat of 1s" vs "keep my HTTP/3 connection for 2 minutes just in case I want to send another request").
Since I use a single port, I have a single listener and thus a single quic.Config, so I can't set the idle timeout here. Config.GetConfigForClient is also the wrong place as I require the TLS negociation done before setting the timeout. I can also imagine protocols that would like to change the timeout dynamically.
Thus, I propose in this PR a interface change to allow this dynamic change.
Since there's already a maybeResetTimer, it's very simple to implement. One caveat could be some race condition; if it's a concern, I can convert idleTimeout to an atomic.Uint64.

This is not a clean API. It also doesn't work, since the idle timeout is negotiated during the handshake.
For the future, I suggest opening an issue if you're suggesting an API change, so we discuss it first.

Config.GetConfigForClient is also the wrong place as I require the TLS negociation done before setting the timeout. I can also imagine protocols that would like to change the timeout dynamically.

Can you explain why GetConfigForClient doesn't work. I don't understand how TLS negotiation (what is that?) comes into play here.

Hi Marten, thanks for your answer.
GetConfigForClient provides only the remote address, and I suspect it's called before the TLS negociation.
https://github.com/quic-go/quic-go/blob/22d6b0e626c56f311ff05705042d8caf506e5919/interface.go#L329
It's doesn't work for my prototype because I need the NegotiatedProtocol from tls.ConnectionState.

Yes, it's called before the the TLS GetClientHelloInfo call. At that point during the connection, we might not even have received a full ClientHello.
We could potentially call it after processing the ClientHello, but that would mean that the HandshakeTimeout option wouldn't make sense any more.

I agree that only a subset of the Config makes sense after the handshake. Taking another look at the Config, this subset may even be everything but:

HandshakeTimeout
Allow0RTT
Tracer

Another way to look at it is to examine what makes sense at the application level, opening the way to something like GetApplicationConfig(negociatedProtocol string) *AppConfig.
I seems useful for a developer to have access to both stages of the negociation though, especially is MaxIdleTimeout can't be change after the initial negociation.
I'm open to working on any solution that this project's owners see fit :-)
We can discuss things here but I can also open an issue as you requested.


Flush logs upon receiving SIGHUP instead of SIGUSR1

PR: https://github.com/cockroachdb/cockroach/pull/23783
From release notes:

A CockroachDB process now flushes its logs upon receiving SIGHUP instead of SIGUSR1 as it did earlier. This is aimed to simplify the automation of process monitoring, test, and backup tools.

@rmloveland, since you've been looking at various logs, perhaps you can take this one post-2.0. I don't think we talk about log flushing at all, so there's likely a bit more to document than indicated here.

This has been reverted as of https://github.com/cockroachdb/cockroach/pull/23803, so this change doesn't make sense.


Stored XSS in wondercms [WORKS ONLY IF ADMIN IS ATTACKER]

Hello Team,
i found a vulnerability (stored cross site scripting) and already sent email to<EMAIL_ADDRESS>this vulnerability is confirmed in last version of wondercms. and work with all modern browser. hope you can fix it asap.
Best Regards,

hello @eidelweiss, please see this closed issue: https://github.com/robiso/wondercms/issues/27
In short, this is wanted behaviour. An XSS vulnerability is when an attacker can exploit this - which is only a logged in WonderCMS user/admin. WonderCMS installations are not usually public, so if the administrator chooses to attack their own website - there are other issues at hand than XSS vulnerabilities.
We've updated our demo in the past to reflect this issue by simply sanitizing our demo, since it's one of the rare cases of a public WonderCMS installation, and the admin - attacker can be anyone. This is not the case with other WonderCMS installations.
Please note that WonderCMS wants to enable its users to use JavaScript freely by default.
Feel free to re-open this discussion if you feel it's needed.


[BUG]

I have gone through the example: opensearch-py-ml/examples/demo_deploy_cliptextmodel.html
Model is correctly registered in opensearch cluster but the final command of the example:
ml_client.deploy_model(model_id)
ends with an error Exception: Model deployment failed
Afrer trying to deploy the model using console directly on the cluster i.e.:
POST /_plugins/_ml/models/<model_id>/_deploy
and checking the corresponding task output:
GET /_plugins/_ml/tasks/<task_id>
I see that deployment fails with the following error returned by the task:
{
"model_id": "uDNmgZIBC9ZdJM8aMbns",
"task_type": "DEPLOY_MODEL",
"function_name": "TEXT_EMBEDDING",
"state": "FAILED",
"worker_node": [
"xbE0btjVQUGBAWrVqCmUoQ"
],
"create_time":<PHONE_NUMBER>169,
"last_update_time":<PHONE_NUMBER>632,
"error": """{"xbE0btjVQUGBAWrVqCmUoQ":"\nUnknown builtin op: aten::scaled_dot_product_attention.\nHere are some suggestions: \n\taten::_scaled_dot_product_attention\n\nThe original call is:\n  File "code/torch/transformers/models/clip/modeling_clip.py", line 190\n    key_states = torch.transpose(torch.view(_54, [_49, -1, 8, 64]), 1, 2)\n    value_states = torch.transpose(torch.view(_55, [_48, -1, 8, 64]), 1, 2)\n    attn_output = torch.scaled_dot_product_attention(query_states, key_states, value_states, attn_mask, 0., False, scale=0.125)\n                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE\n    attn_output0 = torch.transpose(attn_output, 1, 2)\n    input = torch.reshape(attn_output0, [_47, _51, _52])\n"}""",
"is_async": true
}

The same error is raised when trying to deploy other transformer models e.g.:
model_name = "bert-base-uncased"
text_to_encode = "example search query"
model = BertModel.from_pretrained(model_name, torchscript=True, return_dict=False)
processor = BertTokenizer.from_pretrained(model_name)


[FLOC-3521] Support mapping public IP addresses in API client

The public_address field of Nodes returned form the flocker.apiclient.FlockerClient actually contains the internal cluster IP address, which can be a private IP address.
Public IP addresses are very useful for clients using the API client module, but a node has no way of knowing which of its IP addresses is truly public, and in some cases, may not even know about a public IP address that routes to it (e.g. NAT addresses).
However, the code using apiclient may know the mapping, especially if it was somehow involved in starting the cluster. This is the case when a cluster is started using run-acceptance-tests where the mapping from internal cluster hostnames to public IP addresses is exported as an environment variable.
This PR allows the apiclient user, when creating a FlockerClient, to pass a mapping of internal hostname IP_ addresses to public IP addresses. Expand the Node class to include both the internal address, now as an additional field called hostname (it's usual name in Flocker), and to set public_address to the public IP address provided by a dictionary mapping hostname to public address.
For Rackspace, the mapping provided by run-acceptance-tests is {} which makes the hostname and public_address fields the same. This is appropriate since Rackspace IP addresses are public.
For AWS, run-acceptance-tests returns a JSON structure {"<IP_ADDRESS>": "<IP_ADDRESS>"} which can be parsed into a Python dictionary for passing to FlockerClient.
This will be used by the benchmarking code to SSH to individual cluster nodes to measure benchmark metrics.

Why does this have to be done in the client at all? Why can't the caller do this? (The long term solution is completely ditching IPs from this API, I think).

Because apiclient promised to provide the public IP address, and then failed to deliver. Also, the client tends to get passed around a fair bit, and the IP address mapping would need to get passed around with it.  In the benchmarking code, that forces lots of changes to the function signatures.  That's it - no killer reason.

@jongiddy https://github.com/ClusterHQ/flocker/pull/2059 is an alternative option which would also be really useful for CoreOS deployments where the agents run in containers that have different IP addresses. (https://clusterhq.atlassian.net/browse/FLOC-2137)
That's the way I was going to tackle this problem when I embarked on the benchmarking epic. What do you think?

@wallrj Yes, adding public IP address to agent.yml and publishing it, either as a replacement for the current IP, or as additional data, seems the best solution.
I am planning some additional changes to the benchmarking code to make Itamar's suggestion more ergonomic, so I will close this PR. Thanks for your time.


[Fix][UI Next][V1.0.0-Alpha] Fix the workflow instance not clickable …

Purpose of the pull request
This pull request fixs the workflow instance not clickable in task instance page.
Releated issues
close #8943

Codecov Report

Merging #8952 (2f9c252) into dev (4bb85dd) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8952      +/-   ##
============================================
- Coverage     39.77%   39.76%   -0.02%
+ Complexity     4265     4263       -2
============================================
  Files           808      808
  Lines         32548    32550       +2
  Branches       3649     3649
============================================
- Hits          12946    12943       -3
- Misses        18376    18383       +7
+ Partials       1226     1224       -2

Impacted Files
Coverage Δ

...org/apache/dolphinscheduler/remote/utils/Host.java
37.77% <0.00%> (-2.23%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
52.11% <0.00%> (-1.41%)
:arrow_down:

...ugin/datasource/oracle/OracleDataSourceClient.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Remove whitespace from edited lines only

From<EMAIL_ADDRESS>on 2011-09-14T09:58:27Z
Spyder Version:  2.1.0beta1
What steps will reproduce the problem?
1.Tools -> Preferences -> Editor -> Advanced Settings
2.'Automatically remove trailing whitespaces when saving files' What is the expected output? What do you see instead? Spyder poorly handles trailing whitespace problem: people are forced to waste time looking for differences in diff output when there are no semantic changes except trailing stuff. This is especially evil in case of version control history where you often need to annotate lines to find causes of problems, and every whitespace (or linefeed) change is an extra step, which becomes very irritating at times.
Most version control users don't want editors to automatically remove all trailing spaces from edited files. This touches parts of file that they didn't edit. Eclipse suxx at that. What they want is to remove trailing whitespaces only from the lines they've actually edited.
If this mode is implemented, the option mentioned above can be removed. If somebody needs to remove all trailings whitespaces from the whole file, it is very easy to do from Python console.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=757

From<EMAIL_ADDRESS>on 2011-09-14T07:59:02Z
Labels: -Type-Defect Type-Enhancement

From ccordoba12 on 2011-10-08T10:33:00Z
Labels: Cat-Editor

From<EMAIL_ADDRESS>on 2011-11-02T09:21:15Z
I think that the option should not be removed. It is still useful in some cases. Perhaps a new option would be more appropriate.

From<EMAIL_ADDRESS>on 2011-11-02T10:18:47Z
@-pmav99: to me the option to remove all trailing whitespace in file is mostly project specific, and removal from edited lines should just be the default

From<EMAIL_ADDRESS>on 2012-01-10T03:04:02Z
Anyway, I think that a simple change in the VCS workflow, eliminates the need for this feature.
Just resaving the file without making any modifications, thus erasing all trailing whitespace, and commiting afterwards results in a "clean" file. Afterwards you can make your modifications, without viewing differences all over the place.
Just my 2 cents.

From pierre.raybaut on 2011-11-02T10:35:43Z
I tend to agree with pmav99:  implementing the "removal from edited lines" feature should be independent from the existing option that we should keep.
Status: Accepted
Labels: Milestone-Release2.2

From<EMAIL_ADDRESS>on 2012-01-10T03:42:53Z
Great development tools "help developers write great software while staying out of the way." (c) Trac

From<EMAIL_ADDRESS>on 2012-01-10T03:45:21Z
I mean great tools help people to write software and not impose their own way of doing things. I use annotations very often, and I know what am I asking for. Everybody is free to add their own 0.02 cents, of course. =)

From<EMAIL_ADDRESS>on 2012-01-12T12:45:19Z
There are projects where some parts of the code were not touched for ages,
won't be touched and better not be touched at all. Age of the file is a
very useful metrics when researching problems in such projects.  In such projects you really want to reformat or
remove space only from the lines you are thoroughly read, understood
and going to modify.
In other words this "simple and cleaner way" doesn't make the job of
software archaeologist any better - it makes it a lot worse.

From<EMAIL_ADDRESS>on 2012-01-12T15:39:45Z
You are right of course. I don't really have experience with such projects. Or, to be more accurate, my experience with legacy code involves only fortran code that isn't under version control, so it doesn't really matter in this context.
But the existence of such old projects, doesn't justify choosing the removal of trailing whitespace of only the edited lines as the default behavior for spyder. This doesn't mean that it is not a useful feature. I think that adding both features would be the best for spyder.
with regards,
Panos

From<EMAIL_ADDRESS>on 2012-01-12T09:40:45Z
I tend to consider trailing whitespace a bad practice. The reasoning behind this is exactly the problems with the diff files that you described.
In regard of existing projects, I believe that it is very easy to write a script that will recursively open all source files and remove trailing whitespace. Afterwards you just commit the clean files to your repo and you have solved the problem once and for all. So afterall, this is not really a change to the chosen workflow. It is just a single step in order to improve general source code quality.
I don't say that this kind of feature, cannot become handy, but since there is a simple and cleaner way to solve the problem, perhaps this should be the way to go. So adding an option to open recursively all the files of a folder (maybe allowing to specify certain extensions) and removing their trailing whitespace is probably easier to implement and eventually more useful.
With a bit of guidance, I believe I could provide a patch for this feature.
regards,
Panos

From<EMAIL_ADDRESS>on 2012-01-12T19:23:00Z
“Perfection is achieved perfection not when there is nothing left to add, but when there is nothing left to take away” – Antoine de Saint-Exupery

From pierre.raybaut on 2012-03-18T13:48:10Z
Labels: -Milestone-Release2.2 Milestone-v2.2

From pierre.raybaut on 2012-03-18T14:14:48Z
Labels: -Type-Enhancement Type-Enh

From pierre.raybaut on 2012-03-18T13:58:49Z
Labels: -Milestone-v2.2 MS-v2.2

From pierre.raybaut on 2013-01-27T01:48:04Z
Issue opened in 2011, nothing new in 2012. Closing it in 2013...
Status: WontFix


Root resource was present, but now absent.

Provider Version

provider registry.terraform.io/snowflake-labs/snowflake v0.57.0

Terraform Version
Terraform v1.4.2
Describe the bug
Initially added 1 schema.  Adding more schemas is throwing this error.
Expected behavior
Should not try to add schema which already exists and keep accepting more schema addition.
Code samples and commands
n/a
Additional context
Add any other context about the problem here.
Errors from Terraform apply.
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to snowflake_schema.default_schemas[0], provider "provider["registry.terraform.io/snowflake-labs/snowflake"]" produced an unexpected new value: Root resource was present, but now
│ absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: error creating schema EXISTING_SCHEMA err = 002002 (42710): SQL compilation error:
│ Object 'XXX_SFLAKE_DBNAME.EXISTING_SCHEMA' already exists.
│
│   with snowflake_schema.ud_schemas,
│   on main.tf line 7, in resource "snowflake_schema" "ud_schemas":
│    7: resource "snowflake_schema" "ud_schemas" {

I am creating a database, bunch of schemas and and granting roles on databases.  I did destroy everything and trying to re-create but it fails with same error.

Issue was with a space found in the schema name.  Not sure why the error message wasn't relevant to the issue.  can be closed.


Wrong host ports are generated (the port number is always 49153)

Description
The nerdctl will always use tcp port 49153 as a random port if hostport is not set when using -p/--publish flag.
Multiple rule will be created in iptable nat tables as well
sudo iptables -nvL -t nat

Steps to reproduce the issue
Multiple containers
x@build-ubuntu-01:~$ sudo nerdctl run --cni-path=/opt/cni/bin -d -p 80 --name nginx-1 nginx
90de08eaa44da1b62dc1495f8fd1ef0b35e1657d63d5e08032ac71452e5b12a4
x@build-ubuntu-01:~$ sudo nerdctl run --cni-path=/opt/cni/bin -d -p 80 --name nginx-2 nginx
2adc259619176c4f2794ddc6dfde3c9d2c45e74b75c6a5a1bab0e73ab8e6920f
x@build-ubuntu-01:~$ sudo nerdctl port nginx-1
80/tcp -> <IP_ADDRESS>:49153
x@build-ubuntu-01:~$ sudo nerdctl port nginx-2
80/tcp -> <IP_ADDRESS>:49153

One container with multiple ports
x@build-ubuntu-01:~$ sudo nerdctl run --cni-path=/opt/cni/bin -d -p 80,81 --name nginx-3 nginx
ab075107d48ed3d54d08935351156c5b8880799112be5bb6a651e0e8e3fb6b54
x@build-ubuntu-01:~$ sudo nerdctl port nginx-3
80/tcp -> <IP_ADDRESS>:49153
81/tcp -> <IP_ADDRESS>:49153

compose
If multiple ports are defined without host ports in compose file, the same issue will occur.
Describe the results you received and expected
The auto-generated ports are available.
What version of nerdctl are you using?
$ nerdctl --version
nerdctl version 1.0.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No response
Host information
$ sudo nerdctl info
Client:
 Namespace:	default
 Debug Mode:	false

Server:
 Server Version: 1.4.12
 Storage Driver: overlayfs
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Log: fluentd journald json-file syslog
  Storage: aufs native overlayfs
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-90-generic
 Operating System: Ubuntu 20.04.5 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.39GiB
 Name: build-ubuntu-01
 ID: a2c61eb4-be6e-45d9-ba8e-a9933e17bf9a

WARNING: No swap limit support

Could you plz assign this issue to me?
I am glad to fix it.

Server-side implementation will take a time to reach consensus, so this should be on the client side


Jacobian of a function with a StaticVector argument

I'm trying to differentiate automatically a function fun(x::SVector{2,Float64})::SVector{2,Float64}  using Enzyme.jl, but it doesn' t seem to be supported yet. My usecase is supposed to run on a GPU which is why I also want to avoid memory allocation.
Here is a minimal example:
using StaticArrays
using Enzyme

fun(u::SVector{2,Float64}) = u.^-2
u0 = SVector(1.0, 2.0)

# naive
Enzyme.jacobian(
    Forward,
    fun,
    u0
)

fails with:
# ERROR: MethodError: no method matching BatchDuplicated(::SVector{2, Float64}, ::Tuple{MVector{2, Float64}, MVector{2, Float64}})

I found an approximate workaround:
Enzyme.jacobian(
    Forward,
    u->fun(SVector(u)),
    MVector(u0)
)

which computes the expected output (the result as an SMatrix) but running the following code shows that the differentiation code is now allocating some memory.
function doit(u0)
    mat = Enzyme.jacobian(
        Forward,
        u->fun(SVector(u)),
        MVector(u0)
    )
    return sum(mat)
end
@time doit(u0)

returns   0.000071 seconds (4 allocations: 112 bytes) while the expected number of allocations should be 1.

I can't reproduce this. What is Enzyme.onehot(u0)?
julia> Enzyme.jacobian(
           Forward,
           fun,
           u0
       )
2×2 SMatrix{2, 2, Float64, 4} with indices SOneTo(2)×SOneTo(2):
 -2.0  -0.0
 -0.0  -0.25

(jl_r5TM63) pkg> st
Status `/tmp/jl_r5TM63/Project.toml`
  [7da242da] Enzyme v0.12.9
  [90137ffa] StaticArrays v1.9.4

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  JULIA_PKG_DEVDIR = /home/vchuravy/src

Hmm, here is an excerpt  from ]Pkg status: (I'm using latest version from Enzyme in main):
[7da242da] Enzyme v0.12.2 `~/.julia/dev/Enzyme`
[90137ffa] StaticArrays v1.9.4

and my system is:
julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 20 × 13th Gen Intel(R) Core(TM) i7-1370P
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 20 default, 0 interactive, 10 GC (on 20 virtual cores)
Environment:
  JULIA_NUM_THREADS = auto

@albop your package shows you have an old version of Enzyme dev'd (at 12.2, we are now at 12.9).
What happens if you upgrade to the latest?

Thank you very much @wsmoses  and @vchurray !
Reinstalling all packages from scratch to the latest dev version fixed the issue (and there is no undue allocation). I figured my version was not loading the package extension introduced ~3 weeks ago.
Incidentally, I thought I was on the latest dev code, because I had checked out the latest source code in .dev, but apparently this was not enough to update the package manager. Could you tell me by any chance what I did wrong?

I thnk you had previously dev'd Enzyme, and dev'ing again will use whatever your old dev is if it already exists.

... but should have done dev Enzyme again. All perfectly clear.


Add skip on no changes option

Hi,
I'm using jacoco-report action well, but I need a simple option, so I made a PR.
I wish I could skip adding a comment if the file coverage is not changed.
So, I added a simple option skip-on-no-changes.
In my case, use jacoco-report action multiple times to get coverage for each modules like..
- name: A Coverage
  uses<EMAIL_ADDRESS>  with:
    title: "A Coverage"
    paths: ${{ github.workspace }}/module-A/build/reports/jacoco/testCoverage/testCoverage.xml
    ...

- name: B Coverage
  uses<EMAIL_ADDRESS>  with:
    title: "B Coverage"
    paths: ${{ github.workspace }}/module-B/build/reports/jacoco/testCoverage/testCoverage.xml
    ...

It makes to add all the comments for each modules even if there's no file coverage changed on a module.
If the skip-on-no-changes option is available, a module that file coverage is not changed can be out of PR context by skipping to add a comment.

@imbyungjun Thank you for PR. I am working on adding native multi-module support. So probably I might tweak the behavior of this flag a bit.


HTTP: Add scheduled WebSocket messages

Common use case: periodically send a message to the server

Closing for now


Application error: a client-side exception has occurred (developer guidance)

Describe the bug
Application error: a client-side exception has occurred (developer guidance)
Degen provides a discord user ID instead of the discord username? - can't reproduce so not 100% sure
To Reproduce
Steps to reproduce the behavior:

Go to bountyboard.bankless.community
Click on a bounty
Grab the HashID of the bounty
Navigate to bountyboard.bankless.community/HashID

Expected behavior
A 400 level error page
Screenshots

@Behold3th I think these are related https://github.com/BanklessDAO/bounty-board/issues/94

The error is:
Cannot read properties of undefined (reading 'discordHandle')
    at y (479-840c7b405d0a0c8d7e22.js:1)
    at ro (framework-4a390be9e05d1ffd8525.js:1)
    at Hu (framework-4a390be9e05d1ffd8525.js:1)
    at Pi (framework-4a390be9e05d1ffd8525.js:1)
    at xi (framework-4a390be9e05d1ffd8525.js:1)
    at _i (framework-4a390be9e05d1ffd8525.js:1)
    at vi (framework-4a390be9e05d1ffd8525.js:1)
    at framework-4a390be9e05d1ffd8525.js:1
    at t.unstable_runWithPriority (framework-4a390be9e05d1ffd8525.js:1)
    at $l (framework-4a390be9e05d1ffd8525.js:1)

Note that /api/bounties/[id] successfully fetches the correct bounty
Tagging @jordaniza - agreed?

Same issue as with single bounty id, fixed


how to import

Hey bro, it looks great!

Clone the repository. Open Android Studio and select "Open an Existing Android Studio Project". and just select this folder.


No message display after delete a cache group

I'm submitting a ...

[x] bug report
[ ] new feature / enhancement request
[ ] improvement request (usability, performance, tech debt, etc.)
[ ] other

Traffic Control components affected ...

[ ] CDN in a Box
[ ] Documentation
[ ] Grove
[ ] Traffic Control Client
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[x] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] unknown

Current behavior:

Create a Cache Group on TP, then delete it. There isn't any message display after that.
Expected / new behavior:

Return a message for user like cachegroup was deleted.
Minimal reproduction of the problem with instructions:

Anything else:

Is the API endpoint not returning alerts or is the page just not properly displaying them? Because this could be fixed without using alerts, but the best solution would be to use them.

The TP page just not display them at all. I test the API endpoint and it's returning message fine.
{
    "alerts": [
        {
            "text": "cachegroup was deleted.",
            "level": "success"
        }
    ]
}

That should be a very quick fix, then.


Use matplotlib default settings for tests

Recently when running the Iris tests locally, I have had a lot of errors of the form AssertionError: Image comparison failed: Bad phash.  It took me a while to realise that this was because I've set image.cmap and axes.prop_cycle in my matplotlibrc file, so the colours were wrong according to the plotting tests.
This very minor change forces the tests to use the matplotlib default settings, so the above issue doesn't come up.

Travis failure is due to timeouts.

Good idea. 👍
Incidentally, I added you to the list that we cross-check for CLA signatures in https://github.com/SciTools/scitools.org.uk/pull/162, so the CLA checker should go green now 😄

Merging even though failing with Timeouts. #2756 should now have fixed the timeouts, so rebasing and merging.


⚠ Bofrost.at has degraded performance

In f564502, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1809 ms

Resolved: Bofrost.at performance has improved in 325f265.


Changing values in Blocks parameters

does anyone else find this annoying?  Sometimes I have to click to select, then doubleclick to modify the number…  should look if we can modify this UI to be nicer...
[enhancement]

Possibly fixed by #691, worth checking

Fixed


Quality loses

Clarity of Image reduces after the image is set in Imagescrollview library. Please Provide a solution of how to display image without loosing image original quality.

The code doesn't do anything to reduce image quality. Could you please provide me some screenshots?


Add a prop to control the background opacity

When using elevated components in combination with an animation controlling opacity (I know right) on Android, the elevated component cannot have a background color with an alpha value but it can have opacity.
Without this, the background color will have the opacity blip around during a fade instead of a smooth transition.

thank you for your contribution!


Update branch with all the latest commits on master

Codecov Report

:exclamation: No coverage uploaded for pull request base (client-5.0.0@a5d2c87). Click here to learn what that means.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             client-5.0.0    #19   +/-   ##
=============================================
  Coverage                ?   100%
=============================================
  Files                   ?      1
  Lines                   ?     29
  Branches                ?      0
=============================================
  Hits                    ?     29
  Misses                  ?      0
  Partials                ?      0

Impacted Files
Coverage Δ

config/config.go
100% <100%> (ø)

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 a5d2c87...23c9b47. Read the comment docs.


What do you do when EBADPLATFORM is an ERROR and not a WARNING?

Context: it's a typescript extension.
I assume there's something I can do to change this behaviour, right? Supposedly it just "skips" but I'm unable to run any npm commands successfully so long as the package.json file is even present.

Installation with -f fixes it and now a get another error, presumably unrelated to this package.


Adjust logic to handle empty DB_PREFIX

I had a site that was not using prefixes on the database. Bedrock does not support this and evaluates DB_PREFIX='' as false.

Thank you!

$table_prefix = ! empty(env('DB_PREFIX')) ? env('DB_PREFIX') : 'wp_'
or
$table_prefix = empty(env('DB_PREFIX')) ? 'wp_' : env('DB_PREFIX')
But please, don't break everyone's WordPress who doesn't have the default prefix wp_.

WordPress Setup does not allow empty prefixes:
if ( empty( $prefix ) ) {
    wp_die( __( 'ERROR: "Table Prefix" must not be empty.' ) . $tryagain_link );
}

found in:
wp-admin/setup-config.php
So, there's nothing to fix here.

Setup might not. This was from an import of an existing site, gotta wonder how it got like that. What seems better would be to rename the tables to have a prefix.


Add rocksdb 5.14.2

I've read Brief overview section and do understand basic concepts. [Yes]
I've read F.A.Q. section and haven't found an answer to my question. [Yes]
I've read Code of Conduct, I promise to be polite and will do my best at being constructive. [Yes]

Please add rocksdb version 5.14.2 (or newer) and enable builds on AppVeyor.

@chfast before I'll start the work, I'll first explore the project in-depth. I'll get back to you at it later today!

it seems that @ruslo already has AppVeyor working

pkg.rocksdb latest build:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3642

Skip build: CI dummy (workaround)

"dummy" means there was no real build triggered.

@ruslo Does it mean there is a branch started somewhere or is it somekind of placeholder build?

Does it mean there is a branch started somewhere or is it some kind of placeholder build?

Testing configuration for package RocksDB can be found in branch https://github.com/ingenue/hunter/tree/pkg.rocksdb Here is AppVeyor (Windows): https://github.com/ingenue/hunter/blob/pkg.rocksdb/appveyor.yml and Travis (Linux, macOS, iOS, Android): https://github.com/ingenue/hunter/blob/pkg.rocksdb/.travis.yml
For now appveyor.yml configuration present but it doesn't trigger real build. File is kept so we can easily enable tests back if/when package fixed. Such "no real build" configuration toolchain called "dummy".
You can real about testing branch organization in details here:

https://docs.hunter.sh/en/latest/creating-new/create/cmake.html#ci-testing

@ruslo I managed to build the library for toolchain vs-15-2017-win64 but the install step is failing for now:
https://ci.appveyor.com/project/hubris/hunter/build/1.0.8/job/k0agdoyuqyugl69e
Also what are the needed toolchain of the bounty?
Some targets won't probably work, for example the  vs-15-2017-win64-cxx17 is failing because it is using methods from the tr1 namespace (they have probably been removed in cxx17).
I will continue later unless you think I'm on a bad path.

I managed to build the library for toolchain vs-15-2017-win64 but the install step is failing for now

Unfortunately failure message is not showing in AppVeyor logs:
CMake Error at C:/projects/hunter/_testing/Hunter/_Base/7c6c84f/cc26cc3/9b30bac/Build/rocksdb/Build/rocksdb-Release-prefix/src/rocksdb-Release-stamp/rocksdb-Release-install-Debug.cmake:16 (message):
    Command failed: 1
     'C:/projects/hunter/_ci/cmake/bin/cmake.exe' '-Dmake=' '-Dconfig=Debug' '-P' 'C:/projects/hunter/_testing/Hunter/_Base/7c6c84f/cc26cc3/9b30bac/Build/rocksdb/Build/rocksdb-Release-prefix/src/rocksdb-Release-stamp/rocksdb-Release-install-Debug-impl.cmake'
    See also
      C:/projects/hunter/_testing/Hunter/_Base/7c6c84f/cc26cc3/9b30bac/Build/rocksdb/Build/rocksdb-Release-prefix/src/rocksdb-Release-stamp/rocksdb-Release-install-*.log

You can get more info from files rocksdb-Release-stamp/rocksdb-Release-install-*.log if you try to build the package locally.

Also what are the needed toolchain of the bounty?

Have no idea :) @chfast What toolchain do you need?

I will continue later unless you think I'm on a bad path.

So far looks good.

Yes, don't try with C++17.
vs-14-2015-win64 would be great.

Hi,
@chfast @ruslo
I have finally managed to build for :
https://ci.appveyor.com/project/hubris/hunter/build/1.0.11
The install step was failling because ROCKSDB_INSTALL_ON_WINDOWS needs to be set in order to have the install target.
I'm trying 2015 now.

@chfast @ruslo
Build for vs-14-2015-win64 is also working:
https://ci.appveyor.com/project/hubris/hunter/build/job/snvgoiq5dm78lrwl
Let me know if I need to check something else or if I can prepare a PR. Thank you.

Build for vs-14-2015-win64 is also working

👍

Let me know if I need to check something else or if I can prepare a PR

Since build/link step passed it's okay for me. @chfast may have extra requirements (?)
Since we are adding new toolchain to the build first open pull request to ruslo/hunter with new version. New version will be tested against old toolchains. After merge done next you can open pull request to ingenue/hunter with new toolchains.
See:

https://docs.hunter.sh/en/latest/creating-new/update.html#add-toolchains

@ruslo I have cleaned my branches trying to follow the userguide. I'm launching AppVeyor tests on the final version, since it is not very fast I will probably create the PR tomorrow.
Also for non MSVC toolchains I use the previous rocksdb version. My pr.pkg.rocksdb is based on pkg.template, I didn't touch the travis build. Since the PR is only about AppVeyor is it right to leave the travis config as is? (travis-ci build is green when I use the travis file from ingenue/pkg.rocksdb).
Thank you

My pr.pkg.rocksdb is based on pkg.template

It should be based on https://github.com/ingenue/hunter/tree/pkg.rocksdb and targeted to this branch.

for non MSVC toolchains I use the previous rocksdb version

I didn't touch the travis build. Since the PR is only about AppVeyor is it right to leave the travis config as is? (travis-ci build is green when I use the travis file from ingenue/pkg.rocksdb).

If new version will fail with Travis then switching to old is a one of possible workarounds. But you should try it first. What kind of a error do you have?

@ruslo Lol, since I was expecting it to fail, I didn't try the travis build with the new version. All builds are not finished but linux builds and one xcode are green  so it will in fact probably be fine.
https://travis-ci.org/hubris/hunter/builds/403995722
I will clean this tomorrow.

@ruslo  @chfast Hi, Does this issue is considered closed? Thank you.

Hi, Does this issue is considered closed?

Yes for me. @chfast please confirm.

Yes, great job. Thanks.

@hubris @ruslo @chfast Paying out the bounty now!


jinja2.exceptions.TemplateNotFound: init.js

I installed the module and followed the simple example in source code, but am getting error says jinja2 unable to find template. here's the traceback:
Traceback (most recent call last):   File "run.py", line 29, in <module>     charts = GoogleCharts(app)   File "/Users/sara/Documents/Github/PerformanceVision/pv_venv/lib/python2.7/site-packages/flask_googlecharts/__init__.py", line 218, in __init__     self.init_app(self.app)   File "/Users/sara/Documents/Github/PerformanceVision/pv_venv/lib/python2.7/site-packages/flask_googlecharts/__init__.py", line 235, in init_app     self.templates['init'] = self.template_env.get_template("init.js")   File "/Users/sara/Documents/Github/PerformanceVision/pv_venv/lib/python2.7/site-packages/jinja2/environment.py", line 812, in get_template     return self._load_template(name, self.make_globals(globals))   File "/Users/sara/Documents/Github/PerformanceVision/pv_venv/lib/python2.7/site-packages/jinja2/environment.py", line 774, in _load_template     cache_key = self.loader.get_source(self, name)[1]   File "/Users/sara/Documents/Github/PerformanceVision/pv_venv/lib/python2.7/site-packages/jinja2/loaders.py", line 235, in get_source     raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: init.js

I have the same issue. It looks like the templates and static folders are missing after installing with pip. Tried easy_install too but that made no difference.

@idiotsavant got a link?

@idiotsavant where do you put those files?

@idiotsavant link to release 0.0.3

It's on this github repository, under Code > Releases > 0.0.3
https://github.com/wikkiewikkie/flask-googlecharts/releases/tag/v0.0.3

@idiotsavant Thanks!

resolved with PR #4


Node to retrieve mutation of a protein

Node implemented, waiting for http://gpcrdb.org/ to update API.


Feature Request : Gradient Support

It would be nice to have css gradient support like
  background: blue; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left, red , yellow); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, red, yellow); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, red, yellow); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right, red , yellow); /* Standard syntax */

Would be actually really great.


Valid country code refused

Using the following command:
sudo ./setup-network.sh --install --ap-ssid="<ssid>" --ap-password="<pass>" --ap-country-code="FR"

The script refuses the country code, which is valid:
Invalid Access Point(AP) setup options are specified for installation.
Please provide the below [OPTION] for installation:
============================================================================

--ap-country-code      Optional field for installation: Set Access Point(AP) Country Code. Default value is: IN.
                       Make sure that  the entered Country Code matches WiFi Country Code if it exists in /etc/wpa_supplicant/wpa_supplicant.conf
                       Allowed Country codes are:
                       AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ,
                       BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM,
                       DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS,
                       GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN,
                       KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ,
                       MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM,
                       PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV,
                       SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI,
                       VN, VU, WF, WS, YE, YT, ZA, ZM, ZW

I check the script, this value is compared to the one in wpa_supplicant.conf. But it is actually the same:
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf | grep 'country=' | awk -F '=' '{print $2}'

FR

Notes:

The Pi's network was configured with the "headless" method (by creating wpa_supplicant.conf on the boot partition)
This is a fresh install of Raspbian Buster
I tried with other codes, same issue

Edit : the issue also occurs on Raspbian Stretch

Hi, thanks for using the script and I appreciate you for reporting the issues !

I replicated the reported issue by following the below given steps.

Downloaded latest Raspbian lite Buster OS using link: https://downloads.raspberrypi.org/raspbian_lite_latest

Written the above downloaded image to SD card (I have used 8GB Class 4 SD Card).

Created a new file: "wpa_supplicant.conf" under "boot" folder of SD card and updated the below given contents in the same file. (Note: I referred the link: "https://desertbot.io/blog/headless-raspberry-pi-3-bplus-ssh-wifi-setup" - step 4).

country=IN
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
  scan_ssid=1
  ssid="xxxxx"
  psk="xxxxx"
}

Inserted the freshly created SD card (by following all the above given steps) into my Raspberry Pi 3B+ device and booted my Pi. Here, I changed my Raspberry Pi initial configuration to enable SSH, changed Keyboard Layout etc using command: "sudo raspi-config".

After boot, updated the OS using below given commands:

sudo apt update
sudo apt upgrade

Installed "Git" using below given command:

sudo apt install git

Cloned my Github script using below given command:

git clone https://github.com/idev1/rpihotspot.git

Step 7 will create a folder "rpihotspot". Enter into the directory.

cd rpihotspot

Given execute permission to the script: "setup-network.sh" using the below command.

sudo chmod ug+x ./setup-network.sh

Now, execute the script: "setup-network.sh" using the below given command (note: you can change the command as per your need).

sudo ./setup-network.sh --install --ap-ssid="xxxxx" --ap-password="xxxxx" --ap-country-code="IN"

The above step execution will produce the sample logs (given below) and if everything goes successful and after finishing the script, after a predefined wait period of 10 seconds, the system will automatically reboot.

[WLAN]: wlan0 IP address: <IP_ADDRESS>
[WLAN]: wlan0 IP Mask address: <IP_ADDRESS>
[WLAN]: wlan0 IP Broadcast address: <IP_ADDRESS>
[WLAN]: wlan0 Country Code: IN
[WLAN]: wlan0 Channel: 1
[Cleanup]: cleaning ...
[Cleanup]: Cleaned all NAT IP Table entries.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
[Cleanup]: DONE
[Install]: installing: hostapd dnsmasq iptables-persistent from net ...
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Preconfiguring packages ...
Selecting previously unselected package hostapd.
(Reading database ... 40782 files and directories currently installed.)
Preparing to unpack .../0-hostapd_2%3a2.7+git20190128+0c1e29f-6+deb10u1_armhf.deb ...
Unpacking hostapd (2:2.7+git20190128+0c1e29f-6+deb10u1) ...
Selecting previously unselected package netfilter-persistent.
Preparing to unpack .../1-netfilter-persistent_1.0.11_all.deb ...
Unpacking netfilter-persistent (1.0.11) ...
Selecting previously unselected package iptables-persistent.
Preparing to unpack .../2-iptables-persistent_1.0.11_all.deb ...
Unpacking iptables-persistent (1.0.11) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../3-dns-root-data_2019031302_all.deb ...
Unpacking dns-root-data<PHONE_NUMBER>) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../4-dnsmasq-base_2.80-1+rpt1_armhf.deb ...
Unpacking dnsmasq-base (2.80-1+rpt1) ...
Selecting previously unselected package dnsmasq.
Preparing to unpack .../5-dnsmasq_2.80-1+rpt1_all.deb ...
Unpacking dnsmasq (2.80-1+rpt1) ...
Setting up dnsmasq-base (2.80-1+rpt1) ...
Setting up dns-root-data<PHONE_NUMBER>) ...
Setting up dnsmasq (2.80-1+rpt1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service â /lib/systemd/system/dnsmasq.service.
Setting up hostapd (2:2.7+git20190128+0c1e29f-6+deb10u1) ...
...
[Install]: enabling netStop.service ...
...
[Install]: DONE
[Reboot]: In 10 seconds ...

After reboot, I checked to see if the Access Point (AP) setup is correctly done or not using the below given command.

ifconfig

Above execution of command is producing the below given information to me.

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:56:50:97  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

uap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::ba27:ebff:fe03:5c2  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:03:05:c2  txqueuelen 1000  (Ethernet)
        RX packets 4624  bytes 888091 (867.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5056  bytes 3541946 (3.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::6d79:d307:7137:79db  prefixlen 64  scopeid 0x20<link>
        inet6 2409:4042:818:ce5e:a384:5f8:91f4:380b  prefixlen 64  scopeid 0x0<global>
        ether b8:27:eb:03:05:c2  txqueuelen 1000  (Ethernet)
        RX packets 5110  bytes 3356508 (3.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4480  bytes 1030865 (1006.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

From the above output, it can be noted that the AP setup indicated by "uap0" virtual interface is UP and RUNNING with default IP (<IP_ADDRESS>) assigned to this AP network (as we haven't given AP IP setup in step 10).

As per the above given steps and instructions, I am unable to face the issue you are facing presently.
Therefore, please try to follow the same recommended steps/instructions and provide more details which help me to debug more into the issue.
Thanks
Pankaj

I reproduced your steps, with slight adaptations to my situation, and reproduce the issue.
Here are the details:

Download Raspbian Buster lite (same URL, version 2020-02-13)
Write image to SD card (16Go, class 10)
Create wpa_supplicant.conf on /boot:

country=**FR**
update_config=1
ctrl_interface=/var/run/wpa_supplicant **GROUP=netdev**

network={
  scan_ssid=1
  ssid="xxxxx"
  psk="xxxxx"
}

Nothing to do here, ssh already activate in 3.
Boot, update, upgrade:

sudo apt update
sudo apt upgrade

Install git

sudo apt install git

Clone repo

git clone https://github.com/idev1/rpihotspot.git

Cd to repo

cd rpihotspot

Add x permissions

sudo chmod ug+x ./setup-network.sh

Run the script

sudo ./setup-network.sh --install --ap-ssid="testt          esttest" --ap-password="testtesttest" --ap-country-code="FR"

Hi, thanks for re-verifying the steps !
Its very strange that for you its throwing invalid country code for a valid country code as "FR" which i  still didn't replicate in my system.
But, I am trying hard to replicate this problem and once, I get any clue, I provide you more updates.
Thanks
Pankaj

I am getting this issue as well for country AT but since this is a optional I did not use the flag to execute with the script

Hi @remifleurance  and @manav7
The Country code refusal might be related to extra spaces present in "wpa_supplicant.conf" file from where it reads the WLAN Country code. I just fixed the code to remove the extra spaces so that, the valid Country code may not be refused.
I will appreciate you if you test the branch code where the fixes are made.
Here is the link of the branch script where the fixes are available:
https://github.com/idev1/rpihotspot/blob/rpihotspot-bugfixes/setup-network.sh
Thanks
Pankaj

Hey @idev1  I got a similar error but with --ap-ip-address parameter set to "<IP_ADDRESS>" says it's invalid. Im on raspbian lite, running command with sudo bash ./setup-network ...

Hi @ihorbond
Thanks for using the script and reporting an issue!
For your 1st question, i can say that in most of the WiFi router cases where we suggest Raspberry Pi to connect to a specific SSID (to access internet) and if that external WiFi router uses a local subnet starting from range "192.168.X.Y" (where, "192.168" represent chosen reserved local IP subnet range, "X" normally represents the gateway number from where it will redirect the network traffic of local subnet and lastly, "Y" represents the number which will then be assigned to each devices which request the connection to the WiFi router).
Now, if your WiFi router uses the range for e.g., "192.168.1.Y" and if you are setting up the Access Point (AP) network using the same WiFi router range (as "192.168.1.Y") then, the AP network IP addresses will conflict with your WiFi router IP address range and hence, here in this case, the script will throw an error (as you already mentioned) and abort the AP network setup.
For your second question on not cleaning previous entries in /etc/hosts file, yes, I do agree with you that, this piece of code should clean the entries which the script is presently unable to do but, I have noted down this point and in the future version of the script, I will provide code to resolve this observed issue. Moreover, you also said that the script is presently using a static hostname "raspberrypi" (defined in script variable hostName="raspberrypi"). This is the default hostname the present downloaded Raspbian OS uses and there is no provision given in the network setup script to consider this as an input option (which can be considered in good to have feature in future release of the script) but, to handle this situation currently, you can change the said "hostName" entry in the script to serve your purpose of network setup.
Lastly, I will appreciate you to use the branch script which has many bug fixes related to Buster OS upgrade. Here are the steps to use the branch script.

Make any directory. For e.g.:
sudo mkdir rpihotspot-bugfixes

CD into the above directory:
cd rpihotspot-bugfixes

Run the following command to clone the suggested branch (in my previous post):
sudo git clone -b rpihotspot-bugfixes https://github.com/idev1/rpihotspot.git

Step 3 will create a local repo: "rpihotspot". CD into this local repo directory.
cd rpihotspot

Run the below command to verify you cloned the correct repo. The return output of this command must return * rpihotspot-bugfixes which will indicate that, you correctly cloned the suggested branch.
sudo git branch

After that, you can assign the execute permission to script "./setup-network.sh".
sudo chmod ug+x ./setup-network.sh

Finally, you can setup the network using the install examples present in "./readme.md". I used the following command to successfully setup an Access Point network.
sudo ./setup-network.sh --install --ap-ssid="*****" --ap-password="*****" --ap-country-code="IN"

I hope, I tried my best to give the answers of your asked questions :)
Thanks
Pankaj

@idev1  thanks, you are right, 192.168.1.X is reserved that's why it wasn't working. I got it all working now, thanks. What I meant by "your script overwrites it with default "raspberrypi" is that I renamed my hostname via raspi-config -> network options but after running your script and checking /etc/hosts the <IP_ADDRESS> and <IP_ADDRESS> entries were postfixed with default "raspberrypi". I think they should follow the same hostname as in /etc/hostname

@idev1 thanks, you are right, 192.168.1.X is reserved that's why it wasn't working. I got it all working now, thanks. What I meant by "your script overwrites it with default "raspberrypi" is that I renamed my hostname via raspi-config -> network options but after running your script and checking /etc/hosts the <IP_ADDRESS> and <IP_ADDRESS> entries were postfixed with default "raspberrypi". I think they should follow the same hostname as in /etc/hostname

Thanks @ihorbond for re-verifying the recommended steps!
Just to inform you that, I have considered your suggestion and now the script can clean the previously configured AP IP address entries in /etc/hosts file :)
Moreover, I have also implemented a logic to read the host name entry from in-built hostname utility and the host name now is not defaultly hard-coded as raspberrypi. Below given is the code which does this.
# FIX: for https://github.com/idev1/rpihotspot/issues/12#issuecomment-605552834
if [ ! -z "$( hostname )" ]; then
    hostName="$( hostname )"
fi

Also, all the bug fixes from branch rpihotspot-bugfixes have been merged into master branch and therefore, I am requesting you to use the master branch to re-verify if its solving your problems those you already reported.
Thanks
Pankaj

@idev1 thanks. im trying to now turn my rpi into vpn router with cyberghost. I followed their steps described here https://support.cyberghostvpn.com/hc/en-us/articles/213270689-How-to-Set-Up-OpenVPN-on-Raspberry-Pi-Raspbian-RaspBMC- but it doesnt seem to work, I guess I need to reroute traffic via openvpn tunnel now, but I dont know how was wondering if you knew ? does the ip tables config need to be updated or do I need a bridge between one of the interfaces and a tunnel ...?

@idev1 thanks. im trying to now turn my rpi into vpn router with cyberghost. I followed their steps described here https://support.cyberghostvpn.com/hc/en-us/articles/213270689-How-to-Set-Up-OpenVPN-on-Raspberry-Pi-Raspbian-RaspBMC- but it doesnt seem to work, I guess I need to reroute traffic via openvpn tunnel now, but I dont know how was wondering if you knew ? does the ip tables config need to be updated or do I need a bridge between one of the interfaces and a tunnel ...?

Hi @ihorbond
Since the requested query is related to 3rd Party OpenVPN client and hence, i don't have any idea about. I apologize for the same.
Thanks
Pankaj

Hi Pankaj,
I cloned the new "rpihotspot-bugfixes" branch. Unfortunately this issue is still present.
Current workaround is to edit the script to replace the default value, and stop using the -ap-country-code parameter.
Also thank you @manav7 for your confirmation.
I will try to troubleshoot this issue by directly editing the script this week-end, but I am not very familiar with bash nor debian networking.

Hi @remifleurance
After trying so many combinations, I am not sure about the reason behind --ap-country-code option not working for you. In the present master branch "setup-network.sh" script and on line numbers: 246 and 252 where it sets the variable: apCountryCodeValid and if this variable becomes false then only you will have AP Country Code refusal error.
Can you please put some echo statements in the script just after line numbers: 246 and 252 ? and then share that information about and after which line, the variable apCountryCodeValid is becoming false so that, it will help me in understanding what going wrong with your setup/environment.
Thanks
Pankaj

Merged the fixed made by @remifleurance for issue #12. Hence closing issue.

@idev1 Thank your for reviewing my change.
And thanks a lot for your support for keeping this tool up to date.


Problems with animated properties

Try the following code:
`
func testProgress()
{
    self.progressView.outerRingColor = UIColor.white
    self.progressView.outerRingWidth = 10
    self.progressView.innerRingWidth = 10

    self.progressView.animateProperties(duration: 1.0, animations: { () -> Void in
        self.progressView.outerRingWidth = 20
        self.progressView.innerRingWidth = 20

        self.progressView.outerRingColor = UIColor(alphaHex:"#38383e")
    }, completion: {
        self.progressView.outerRingWidth = 5
        self.progressView.innerRingWidth = 5

        self.progressView.animateProperties(duration: 1.0, animations: { () -> Void in
            self.progressView.outerRingWidth = 30
            self.progressView.innerRingWidth = 30
        })
    })
}

`
It never sets the width to 5. It goes from 10 to 20, then 30.
If you take out the second animation, it pops to 5 as expected. Basically mixing animation and non-animation doesn't work.
Also, the color just pops midway through the animation from White to grey. There's no fade.

For the first issue, it's as I would expect. Since UIViews are only redrawn at certain times, setting the outerRingWidth and innerRingWidth, then immediately animating them to 30 and 30 will cause the 5 and 5 to not be shown, this is simply how UIKit draws the views.
As for the issue with the color, I have noticed this issue and have tried to fix it but was not able to. I don't exactly know why the color isn't animating smoothly. The reason I created the animateProperties function was to make it easier to animate properties without using CALayerAnimations, this way it behaves kind of like UIView.animate, however, to get actual support for properties in UIView.animate block is super hacky and I wasn't comfortable doing that as you need to hook onto the background color changes of the view and then animate your own properties.
Here is this post on it: https://blog.codecentric.de/en/2016/07/custom-property-uiview-block-animation/
Sadly, I don't see an obvious fix for the color animation at the moment since I'm too busy with school.

I don't think that is correct.
Consider the following code:
`
func testProgress()
{
    self.progressView.alpha = 1.0

    UIView.animate(withDuration: 1.0, delay: 0.0, options: .curveEaseInOut, animations:
    { () -> Void in
        self.progressView.alpha = 0.0
    }, completion:
    { (b: Bool) -> () in
        self.progressView.alpha = 1.0

        UIView.animate(withDuration: 1.0, delay: 0.0, options: .curveEaseInOut, animations: { () -> Void in
            self.progressView.alpha = 0.0
        })
    })
}

`
Setting the alpha value to 1.0 outside the animation correctly changes the "fromValue". In your implementation, it doesn't.

I see what you mean, I've been testing this out and the property does get set, that is, the values of the widths becomes 5. It just doesn't get drawn in time to be displayed before the next change to the widths in the final animation block.
I'm going to mark this as a bug, and try to figure out a way to fix this, if you want to take a stab at it as well, please feel free as it may take me longer.


Prepare for release

In preparation for the next release:

Fix for #22 -- needed to specify yaml as a runtime library
MDX documentation
Changelog

Seems I bumped into https://github.com/ocaml/dune/issues/1327 hence the failures.


where is the "data/sequence_data/input.txt"

where is the "data/sequence_data/input.txt"
i did not find this file

I also did not find where input.txt is.

input file can generate by script in this program.
HEY.Should the validation.txt be equal to input.txt?

input.txt is any input you want to compress (make sure to add --vocab option to specify what characters are used in the input.txt you pick)
validation.txt can also be any file you choose, it need not be the same as input.txt. (the training only happens on input.txt)


Small fixes to toHaveProperty docs

Summary
Hey was just learning about jest (great btw, late to the part) but noticed these small things. I might be wrong but looks like small grammar or extra , :) Sorry If I miss understood
Test plan

CLA signed.

Codecov Report

Merging #3878 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3878   +/-   ##
=======================================
  Coverage   57.65%   57.65%
=======================================
  Files         195      195
  Lines        6782     6782
  Branches        6        6
=======================================
  Hits         3910     3910
  Misses       2869     2869
  Partials        3        3

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 1e8f282...17f6424. Read the comment docs.

i'm surprised no one noticed it before! thank you!
i added trailing commas back, since they are a part of our style guide 🙂


grade-school: Add signatures to stub so it runs tests

Lingering work from #421 and #464.
It seems acceptable to define the Grade and Student type synonyms in
the stub, so that the expected return types of the functions will all be
self-explanatory.
The alternative is, of course, not to define them, and replace all
instances of Grade with Int and Student with String, and let the
students figure it out on their own.

What say y'all? Should we define Grade and Student, or let the students do it? Do we have a precedent? I will say the only other type we ever define in a stub is type Coord = (Int, Int) in go-counting. So I could be convinced to leave this one out.

I'm leaning toward not defining them. There's lots of precedent for not doing it.


Filestatus

Well, my first take at Golang.  Not ready for merging, yet--but could use some feedback.  Still reading up on the docs on how to parse JSON, but probably need to go through a Go tutorial first.

Looks good!
You should use map[string][]string for unmarshalling the json, which should be easier for you to print out.


Install the same php modules for each php version

Module ldap was installed for php7.2 but missing for php7.1 and php7.2

Thanks!


Fix Dependencies

This is a bit of a hack, but because Per\Container is so ubiquitous it ends up locking multiple packages to versions that we might not have chosen otherwise. This becomes the biggest problem with some of the Symfony support libraries that are strict PHP 7 or 8. Locking Container to version 1 ensures we get the most compatible set of packages and allows our project CI/CD to run on PHP 7 or 8 without updating dependencies.

Note that Action failures are now actual failures, not Composer errors.


raspiberrypi-pico reporting Mass Storage error after nuttx.uf2 was flashed

I deviced to test raspberrypi-pico with the displaypack:
$ ./tools/configure.sh raspberrypi-pico:displaypack
$ make -j

Then after copying the nuttx.uf2 to it I got this report:
[31134.669325] usb 3-3: new full-speed USB device number 33 using xhci_hcd
[31134.819081] usb 3-3: New USB device found, idVendor=2e8a, idProduct=0003, bcdDevice= 1.00
[31134.819092] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[31134.819096] usb 3-3: Product: RP2 Boot
[31134.819098] usb 3-3: Manufacturer: Raspberry Pi
[31134.819100] usb 3-3: SerialNumber: E0C912DXXXXX
[31134.823039] usb-storage 3-3:1.0: USB Mass Storage device detected
[31134.823436] scsi host0: usb-storage 3-3:1.0
[31135.842518] scsi 0:0:0:0: Direct-Access     RPI      RP2              1    PQ: 0 ANSI: 2
[31135.842958] sd 0:0:0:0: Attached scsi generic sg0 type 0
[31135.844030] sd 0:0:0:0: [sda] 262144 512-byte logical blocks: (134 MB/128 MiB)
[31135.844737] sd 0:0:0:0: [sda] Write Protect is off
[31135.844742] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[31135.845666] sd 0:0:0:0: [sda] No Caching mode page found
[31135.845689] sd 0:0:0:0: [sda] Assuming drive cache: write through
[31135.885629]  sda: sda1
[31135.903523] sd 0:0:0:0: [sda] Attached SCSI removable disk
[31136.451898] usb 3-3: USB disconnect, device number 33
[31136.452270] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[31136.452280] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 03 08 00 00 f0 00
[31136.452283] blk_update_request: I/O error, dev sda, sector 776 op 0x0:(READ) flags 0x84700 phys_seg 30 prio class 0
[31136.452321] blk_update_request: I/O error, dev sda, sector 1016 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[31136.452449] blk_update_request: I/O error, dev sda, sector 776 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[31136.452464] Buffer I/O error on dev sda, logical block 97, async page read

Seams like NuttX is freezing during the start-up. I connected a USB/Serial on GPIO0/GPIO1 and only got:
ACE

I am using this config now:
$ ./tools/configure.sh raspberrypi-pico:waveshare-lcd-1.14

Hi, @acassis
The mass storage error seems not related to the issue.
I found that the change 9140693 is the root cause. By reverting this change, I confirmed raspberrypi-pico:displaypack works.
I have not investigated what this change does and what is wrong yet.

I found the problem and fixed in #6526.
Now I confirmed raspberrypi-pico:displaypack works fine.
I think waveshare-lcd-1.14 also works because it has same LCD controller.

Thank you very much @yunkya2


feat: Improve the response format

🛠 Fixes Issue
Closes #8
👨💻 Changes proposed
Improve the response format (Used Regex to post process the markdown in Plain text format tried to cover all the markdown scenarios.)
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

In my opinion for all kind of question hard coding a single answer format is not going to look good. Additionally, before using regex I was tiring to do some prompt manipulation to get our desired answer format, but the results are not consistent throughout each and every question.
also tried multiple markdown rendering modules but is tremendously affecting the response speed by 5..6 sec.

I agree, that can be painful! Thank you for your thoughts :)

Seems like it's working correctly as well:

Seems like it's working correctly as well:

is it still generating bold formating?

Seems like it's working correctly as well:

is it still generating bold formatting?

This is the response I am getting


Rename to just currencies

Currencies are not related just to chargeback and we have renaming work in progress:
Per https://github.com/ManageIQ/manageiq-schema/pull/421 and https://github.com/ManageIQ/manageiq/pull/19350

@miq-bot assign @carbonin

@lpichler Can you please apply this change to the table rename PR? We need both changes in the same PR for them to pass specs


Black screen after first click on close button

Black screen after first click on close button. Application closes after second click on close button.
Reload works fine.

electron-prebuilt 0.36.6
electron-rebuild 1.1.2
os windows 8.1

This also happens with Electron's default app so it definitely appears to be a bug in Electron.

This is a duplicate of #4266.


router.go() does not work in Safari

Version
3.0.1
Reproduction link
https://codesandbox.io/s/zljj518k94
Steps to reproduce
Setup this.$router.go() (essentially, refresh the page without any data) and try triggering it in Safari.
In code sandbox, using Safari, if you click the button (calls this.$router.go()) an error is thrown. If you do the same in Chrome, for example, nothing happens (I assume it's due to being inside their sandbox) but remains error-free.
What is expected?
Page refresh without data
What is actually happening?
Nothing at all

I'm not experienced with picking source code apart, but I did a bit of digging to see if any recent merges may have caused because I believe the issue to be new as of within one week's time.

@posva I made these updates and it's still not functioning. this.$router.go() has zero effect in Safari.
Here is my exact setup for vue-router:
main.js
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store/index';

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');

router.js
// Dependency Imports
import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({...})

Again, using this.$router.go() anywhere works in Chrome and Firefox, but has zero effect in Safari. Here is a video of the behavior: http://recordit.co/lpKpKQB3XP

Please, check the docs for the go function, you are passing no parameters or anything... Make sure you are not mistakenly using go instead of push.

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂

Alright, I've already read the documentation quite a few times and I've already tried Discord and used StackOverflow to get to this example. I appreciate your time, but if you could take a second instead of immediately blowing this off, that would be great.
The vue-router docs mention it imitates the browser history API, which for window.history.go() if you do not pass a parameter reloads the current page: https://developer.mozilla.org/en-US/docs/Web/API/History.
This is working as expected in Chrome and Firefox, but not in Safari. However, if I put any parameter other than 0 or empty (numbers only), it works in Safari. This is a bug.

I have the same issue with vue-router 3.0.7: this.$router.go() works in Chrome, Firefox, IE and Edge but not in Safari.
The result is the same with window.history.go(), so I guess it's a bug in Safari but I think it would be great to fix it in vue-router to get a consistent behaviour in all the browsers.
Currently I use window.location.reload() as a workaround.

This is not solved

@Johnsoct  You forgot to prevent default event, either by using event modifier (@click.preven="refresh") or in the handler function. Safari seems not to be forgiving of this, while other browsers you mentioned are.

Yes, router.go() doesn't work on Safari.
Currently, even I am using window.location.reload() as a workaround.

This issue is not solved

For me it's working on first load, I have a button that triggers a route change. After the page renders, the first time the routing works, but after that it does not do anything, is that how it is for you too, guys?


fix: Casing specification/monitor/resource-manager/Microsoft.Insights

Rest of the repo folders using uppercase for this level of folders

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js
Nothing to generate for azure-sdk-for-js

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

Can one of the admins verify this patch?


ConnectionReset breaks RenetServer::update()

On Windows, update() will throw Os { code: 10054, kind: ConnectionReset, message: "An existing connection  was forcibly closed by the remote host." } if client forced connection closing (e.g, client crashed without sending disconnect packet).

I have the same issue on my machine (Windows). Renet doesn't seem to recognize clients that disconnect this way and will send error events every frame in bevy.

Fixed by bf49592f221eee7853abd22314a33ee3d1f81690
The server now handles this error.


Setting to disable specific compiler features

Check the "Enable Compiler Service for Find All References". I guess it should be unified with this.

Conflicts now.


debian guide

I was playing around with this for much longer than I would like to admit.
I was trying to mount multiple encrypted partitions, before I eventually realised that the solution was to use LVM as you had.
Anyhow, your guide was super helpful, but my own process was significantly different:

I used a hardware RAID controller
I installed dropbear-initramfs which takes care of some of the initramfs config
I couldn't get the vg0 backup to re-deploy (different size on encrypted device) so I just recreated the partitions.

I'm not sure what the best format for this repo will be. I mean most of the steps in debian.md are interchangeable with yours for ubuntu, I don't think there's anything debian specific. But trying to merge the my process with yours would be really difficult to do without making the whole thing really difficult to follow.
For now, I just wanted to make sure I saved the process somewhere.

Yeah I think that's probably the best solution for the time being.

@leviwheatcroft just have done slight adjustments - merging now!


Feature suggestion: Import canisters created from an actor class

Actor class:
shared ({ caller = _owner }) actor class PST(
    creator : {owner : Principal; subaccount : ?ICRC1Types.Subaccount},
) : async ICRC1.FullInterface {
    ...
}

I create its instance by dfx deploy zon_pst --argument 'record { owner = principal "racnx-sccpy-mgfgr-rgb67-bvwyx-gjkad-lyw33-prq23-yw24r-eb65i-oqe"; subaccount = null; }' (zon_pst is its identifier in dfx.json).
After this import PST "canister:zon_pst"; should work, but it produces import error [M0011], canister alias "zon_pst" not defined. (That is, importing an instance of an actor class is not supported. I recommend to add its support.)

Yes, dfx isn't very good at handling Motoko's actor classes, although I thought it did (at least at one time) let you do the scenario above. Maybe it only works if the argument to the class is trivial ('()'). Or maybe it never worked at all.
It's not clear what it would mean though. Does deploying the class just deploy one instance, and where does argument come from, if not from the command line, then maybe from dfx.json. Should re-deployment update the existing instance, or create a new one (I expect the former).

It's not clear what it would mean though. Does deploying the class just deploy one instance, and where does argument come from, if not from the command line, then maybe from dfx.json. Should re-deployment update the existing instance, or create a new one (I expect the former).

Deploying a class just deploys one instance in the current DFX, I don't call to change this.
If it was not deployed from the command line, just don't deploy the class at all.
Re-deployment currently updates the existing instance, I don't call to change this.


Added a Dynamic Text Box

The text box will now resize based on the text being typed inside of it. Adding for more of a typing experience.
To run the example.

Pull the branch
Open the TextboxTest scene
Press Play

Dynamic Test

In the Hierarchy find the TextBox at: Canvas > TextBoxController > TextBox
Edit the text property.
See the text box change size as you type.

Fixed Test

In the Hierarchy find the TextBoxController at: Canvas > TextBoxController
Set Fixed Width and/or Fixed Height
In the Hierarchy find the TextBox at: Canvas > TextBoxController > TextBox
Edit the text property.
See that the text box does not change it's size.

Max Test

In the Hierarchy find the TextBoxController at: Canvas > TextBoxController
Set Max Width and/or Max Height
In the Hierarchy find the TextBox at: Canvas > TextBoxController > TextBox
Edit the text property.
See that the text box does change till a certain point.

Added
Added a trimmed image of the textbox background that was created by echo
Bugs

As you type, the box graphically glitches.

Possible improvements:

Make sure that the border of the textbox is fully visible and stable at all times on both sides


Question: Should bindings.rs be tracked by version control, or ignored?

Couldn't find advice on this in the documentation.
Details
Let's say I initialized a new component project with cargo component new, so I have a tree like this:

new-shiny-thing

src

bindings.rs
lis.rs

wit

...

Cargo.toml
...

Building the project will generate src/bindings.rs.
Should that be tracked by version control, or should it be ignored?

I think either approach would be fine, although it's a generated file and the changes are dependent on the cargo-component version, so ignoring it makes more sense to me.
We can probably add it to the default ignore file depending on the VCS used.

Thanks for the reply here! :)


[DO_NOT_MERGE] test if e2e-aws fails w/ bad builder image

@adambkaplan fyi, using this to confirm we can't break e2e-aws w/ a bad builder PR

build e2e test failed w/ expected error.

jobs failed for other reasons.
/retest

/retest

/retest

/retest

/retest

/test e2e-aws

/retest

/retest

/test e2e-aws
/retest

ok this finally failed e2e-aws the way i expected it to and reported it to the PR.


Region ER: Add Desert Colossus

Title is self-explanatory. Haunted Wastelands is kind of a path or road so it would make the most sense to shuffle Desert Colossus into the pool of overworld regions. It's probably the last one for this setting? Not sure. But I feel it would be very interesting having Haunted Wastelands lock a MM location or even an OOT one like Kakariko Village (as unlikely as it would be).

I think we need a fix for the sandstorm effect before we can add that?

I think we need a fix for the sandstorm effect before we can add that?

If that is the case, here's the PR: https://github.com/OoTRandomizer/OoT-Randomizer/pull/1299

I think we need a fix for the sandstorm effect before we can add that?

If that is the case, here's the PR: OoTRandomizer/OoT-Randomizer#1299

I tried to implement it, I ended up on a black screen when loading up a seed 🙃 but without the fix, it's extremely bad

Done somewhere in https://github.com/OoTMM/OoTMM/compare/30fa8045ca09...8b643511860d


Update OpenLane stable tag -> 2022.06.27_01.36.21

Signed-off-by: vijayank88<EMAIL_ADDRESS>IO Placement issue fixed with this OL tag 2022.06.27_01.36.21

@vvbandeira Its terminated due to exceeds the time limit i think. How to fix this in CI?

You can change the timeout value here


Let sendMessage lookup roomid and added caching to getRoomId (#98)

This patch does two things:

RocketChatDriver.sendMessage() now uses getRoomId to resolve the id of the requested room
RocketChatDriver.getRoomId() uses a LRU cache to reduce the number of calls to the server

I tested the patch and it looks good. The "max age" setting for the cache should be configurable, but I guess this should be done in a later PR.

Please let me know if there is anything I can improve. I'm not very familiar with CoffeeScript, so the code style may not be perfect. :)

Now that I think about it... Its probably safe to bump that up.  Its usually at least 20 seconds between messages on our demo server.  So almost every request would have to go back and check.
Maybe we can bump this up to like 5 minutes?
Also maybe as an easy fix to make it configurable do something like:
_maxAge = process.env.CACHE_AGE || 300;
_roomIdCache = LRU( max: 10, maxAge: 1000 * _maxAge )

So what ever is set in the environment variable CACHE_AGE or 300 seconds (5 minutes) if nothing.
@RocketChat/core thoughts?

Wow.  Great work!    I'd suggest adding @logger.debug 'cache hit ' + details  (and for cache miss)  for those who need to tune for their particular use-case.     Awesome :+1:

Ok, I just changed the following aspects:

The cache size and max-age are now configurable. The description for the corresponding environment variables has been added to README.md
There is now a debug level log statement for cache hits. So it's easier to debug test usage.

Let me know if there is anything else I can do.

LGTM

LGTM
@chkal thanks a lot!  This is a great addition :+1:


Remove unnecessary package cache files for apt/pip, implement multistage builds to minimize container image

My actions before raising this issue

[x] Followed the troubleshooting guide
[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

I'd recommend cleaning up the cache files from apt and pip. tox testing can be performed without additional final image padding by using multistage build mechanisms.
Current Behaviour

Package cache files from apt and pip are creating larger container images. tox also significantly increase in the final container image size as it creates a virtual environment and installs several packages.
Possible Solution

Remove the apt cache files by chaining install and cache remove commands (this is the command found in the docker best practices documentation)

RUN apt-get -qy update && \
	apt-get -qy install ${ADDITIONAL_PACKAGE} && \
	rm -rf /var/lib/apt/lists/*

Remove the pip cache by using --no-cache-dir flag when installing with pip.

RUN pip install --no-cache-dir -r requirements.txt

Implement three build stages in the Dockerfile, (e.g. builder, testing, final), label the initial python base image FROM python:<tag> AS builder starting the testing stage using FROM builder AS testing, and starting the final stage using FROM builder AS final, this will still run tests but avoids the unnecessary .tox directory left behind from testing.

FROM openfaas/of-watchdog:0.9.6 AS watchdog
FROM python:3.7-slim-buster AS builder

<snippet>

FROM builder AS tester

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

FROM builder AS final

<snippet>

Doing the above reduced the deployed container image size by 28% for the python3-flask-debian template (results will likely vary a depending on additional packages installed). Build time didn't appear to be affected by modifications.
Steps to Reproduce (for bugs)

Copy Dockerfile from gist.
Use faas-cli to build a container image from above Dockerfile.
Use faas-cli to build a container image with an unmodified Dockerfile.
Compare container image sizes.

Context

I'm a graduate student working on a masters capstone comparing performance and cost of cloud native applications running with open sourced software to proprietary solutions from cloud vendors.  I'm also working with a company (BioDepot LLC) that uses Docker for packaging their software. I'd like to pass along some helpful tips that I've learned from maintaining container images.
Your Environment

FaaS-CLI version ( Full output from: faas-cli version ):

  ___                   _____           ____
 / _ \ _ __   ___ _ __ |  ___|_ _  __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) |  __/ | | |  _| (_| | (_| |___) |
 \___/| .__/ \___|_| |_|_|  \__,_|\__,_|____/
      |_|

CLI:
 commit:  b1c09c0243f69990b6c81a17d7337f0fd23e7542
 version: 0.14.2

Docker version docker version (e.g. Docker 17.0.05 ):

Docker version 20.10.14, build a224086

Are you using Docker Swarm or Kubernetes (FaaS-netes)?
Kubernetes

Operating System and version (e.g. Linux, Windows, MacOS):

NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Code example or link to GitHub repo or gist to reproduce problem:
https://gist.github.com/rgschmitz1/3c1536b455da3703fb75d9672d556d02

Other diagnostic information / logs from troubleshooting guide

@LucasRoesler raised a PR for this, it needs a rebase, then we can get this merged.
Did you already take a look at #59?

Hi @alexellis , PR #59 is exactly what I was looking for.  Thanks for the support again!


Does the argument "--iter X" have any real effect on SALSA2's behavior?

I've just tried running SALSA2 on the same three Hi-C data sets on three different genome assemblies, with the following arguments:
"--iter 3"
"--iter 7"
[no iter; let the program decide its own iteration number]
For all three data sets, the results come out exactly the same with all three arguments.  I have a hard time believing that that would really be happening if "--iter X' had any ability to change SALSA2's behavior.  What am I not understanding about this situation?
I should add that all three genome assemblies are third-generation (PacBio as the primary read set, assembled with Canu, polished with Quiver, then further polished with Illumina + Pilon), and the Hi-C data sets show abundant linkages between contigs even after following the Arima pipeline for removing artifacts.  There are six chromosomes in each genome.  A different Hi-C scaffolder (3D-DNA) is supposed to be able to assemble scaffolds for all six (though I have so far not been able to get that scaffolder to run in my own hands and give that result; it's not nearly as cleanly runnable as SALSA2).
Thanks for any advice on what, if anything, I should be doing differently!

Yeah, the -i parameter doesn't have any effect. SALSA2 will figure out the number of iterations on it's own. We will remove that parameter in future versions.

Closing for now. Please let us know if you have any further issues.


Don't hard-code the content type for text bodies

Use the content type as specified in the swagger.  This requied updating
the test server to fix a bug in the content type for mediatypesgroup.
The upgrade exposed a naming bug for operations with multiple requests
which has also been fixed.

Fixes https://github.com/Azure/autorest.go/issues/735


Fix non-determinism in tests

There are currently some race conditions or other non-deterministic behavior in the test suite. We know this because tests fail in CI, and then pass when the job is re-run one or more times.

@mike-north do you know which tests are affected?

IIRC I was able to reproduce this on master (at the time I filed this issue) by repeatedly refreshing the test runner UI. Occasionally some would fail.

Closing this due to inactivity. Feel free to re-open if it's still an issue.


feat: add workflow for author assign

Related issue
This PR resolves the issue #159
Description:
This pull request addresses the need for a streamlined process by introducing an automated workflow to assign the pull request author as the assignee. This enhancement ensures that the person initiating the changes is automatically assigned, simplifying the assignment process.
Proposed Changes:
Introduce a GitHub Action that automatically assigns the pull request author as an assignee when a new pull request is created.
Expected Behavior:
Upon creating a pull request, the GitHub Action will automatically assign the pull request author, enhancing the efficiency of the assignment process.
Files added

.github/workflows/author-assign.yml

@ItsRoy69 please review this PR.
Thanks

LGTM

@ItsRoy69 can you please add iwoc  and difficulty level label to all my PR's, otherwise my points won't count.


Remove install_disk var from enterprise linux workflows

No longer used as of https://github.com/GoogleCloudPlatform/compute-image-tools/pull/2220

/lgtm


Add March - change log

This item is to add a changelog for March and publish it on docs.
Example reference: Feb change log https://docs.hiro.so/changelog/changelog-february

Done.


New generator

Hello.
What about, create a new generator with models ( association example with some Orm), controller and view (option for choose other templates engines).
Thanks

Thanks for opening an issue. Once we get past a the simple hello world examples, things get opinionated quickly. What you described reminds me of boilerplate apps. Take a look here:
http://hapijs.com/resources#Boilerplates
I created the Frame and Aqua projects listed in that section.


Instructions on how to build rst from jupyter

Let's include these in the developer guide

If using nbconvert, it would be worth spending some time reviewing https://nbconvert.readthedocs.io/en/latest/config_options.html to find out which options can be of use to fine-tune the results, and include them in the document (for example, output_files_dir and default_language would mimic some of the changes in #70, and there might be some other useful ones).

Lets not use the convert the documentation will evolve differently. We should just encourage this to be the web version.


Shift-arrow keys...

Doesn't work.  Unfortunately, I do that a lot...  It doesn't do anything, at least on my bbs:  shsbbs.net.

Should've been fixed in 0.6.7 - didn't close that issue.
(will release 0.6.8 soon)

The appear as special characters now, not arrow keys.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Mike @.>
Sent: Friday, September 29, 2023 10:54 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [mkrueger/icy_term] Shift-arrow keys... (Issue #58)
Closed #58https://github.com/mkrueger/icy_term/issues/58 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/mkrueger/icy_term/issues/58#event-10513530130, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4JLVXVG3JV2LGXIEQAP6J3X434LBANCNFSM6AAAAAA5G24CU4.
You are receiving this because you authored the thread.Message ID: @.***>

Nevermind, it’s working now.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Mike @.>
Sent: Friday, September 29, 2023 10:54 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [mkrueger/icy_term] Shift-arrow keys... (Issue #58)
Closed #58https://github.com/mkrueger/icy_term/issues/58 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/mkrueger/icy_term/issues/58#event-10513530130, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4JLVXVG3JV2LGXIEQAP6J3X434LBANCNFSM6AAAAAA5G24CU4.
You are receiving this because you authored the thread.Message ID: @.***>


docker deployment "too fast"

I am using pgWeb in dev environment with my DB in docker-compose, the problem is pgweb docker starts too fast meaning before postgres is up and accepting connection and typically terminates with Error: dial tcp <IP_ADDRESS>:5432: getsockopt: connection refused
it would be nice we there is an env parameter to pause before the service starts or even better us wait-for-it.sh entrypoint script
this issue seems to be a bit less frequent when I use 0.9.2 instead of latest docker (or no tag docker)
see https://github.com/sosedoff/pgweb/issues/159

closing... this seems to be very rare close to non-existent in 0.9.2 ... I was using latest release which corresponds to 0.8


#783 fix - Tootip.left should be >=0

Hi, I am not sure if other positions could be fixed this way without contradictions, but this one seams to be logical ...

Hi,
it seams that "change base branch" operations took additional changes from different PR into PR. I am not the author of these changes (may be PR #769). I am not sure if original author will be notified ...
D

Thank you for your contribution 👍!


[Update] loader.py , evaluate will run separate evaluations on each eval_dataset

If you pass a dictionary with names of datasets as keys and datasets as values, evaluate will run separate evaluations on each dataset. This can be useful to monitor how training affects other datasets or simply to get a more fine-grained evaluation
seq2seqtrainner support eval_dataset as Dict.
What does this PR do?
Fixes # (issue)
Before submitting

[ ✅ ] Did you read the contributor guideline?
[ ✅ ] Did you write any new necessary tests?

I test it in alpacha format data，mode sft, model qwen2.5-7B-Instruct ，both single GPU and 2 GPU using fsdp.
the loss will be print and be logged in tensorboard run logs, which can be filtered by _loss in your tensorboard webUI.

can we add some tests because the change it pretty huge..

Test case yaml:
### model
## Testing on the 72b model is more convincing than the 7b model
model_name_or_path: /data3/models/Qwen2.5-72B-Instruct

### method
stage: sft
do_train: true
finetuning_type: lora
lora_target: q_proj,v_proj

### dataset
dataset: identity,alpaca_en_demo
packing: true
dataset_dir: data/
template: qwen
cutoff_len: 8000
## for test
max_samples: 100
overwrite_cache: true
preprocessing_num_workers: 16

### output
output_dir: saves/Qwen2.5-72B-Instruct/lora/test
logging_steps: 10
plot_loss: true
overwrite_output_dir: true

### train
per_device_train_batch_size: 1
gradient_accumulation_steps: 16
learning_rate: 1.0e-4
num_train_epochs: 3.0
lr_scheduler_type: cosine
warmup_ratio: 0.1
# bf16: true
fp16: true
ddp_timeout: 180000000
## It‘s ok with or without quantization
quantization_bit: 4
# neftune_noise_alpha: 5
lora_rank: 16
flash_attn: fa2

### eval
## You can specify val_size to divide a whole set from the whole trainset.
# val_size: 0.05
## Alternatively, specify eval_dataset to evaluate separately on each set
eval_dataset: alpaca_en_demo,alpaca_zh_demo
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 10

save_steps: 10
eval_steps: 10

# low_cpu_mem_usage: False
# ddp_find_unused_parameters: False

You can test it  in multi-gpus with fsdp：
CUDA_VISIBLE_DEVICES=0,1 accelerate launch \
    --config_file examples/accelerate/fsdp_config.yaml \
    src/train.py examples/train_lora/qwen2_lora_sft.yaml

or, single gpu but 7b model
CUDA_VISIBLE_DEVICES=0 llamafactory-cli train examples/train_lora/qwen2_lora_sft.yaml

It's only a change about eval datasets, so i didn't test more models.
and
separate evaluation loss will printed on training log and tensor board webUI.
tensorboard --logdir=saves/Qwen2.5-72B-Instruct/lora/test/runs --bind_all --port=6006


access https downloads 404

hello,
after installation,script shows
If enabled, access https downloads at https://IP/download/username
but web page shows 404.
In installation,seems no config about it

run 'sudo rtdload' to enable