Bug: `type_alias': Attempt to redefine type %real (RuntimeError)

#!/usr/bin/env ruby
require 'rdl'
require 'types/core'

def nil_echo
  nil.echo
end

RDL.do_typecheck

ruby 2.3.3, rdl 2.1.0
/2.3.0/gems/rdl-2.1.0/lib/rdl/wrap.rb:515:in `type_alias': Attempt to redefine type %real (RuntimeError)
  from /2.3.0/gems/rdl-2.1.0/lib/types/core/_aliases.rb:5:in `<top (required)>'
  from /2.3.0/gems/rdl-2.1.0/lib/types/core.rb:2:in `require'
  from /2.3.0/gems/rdl-2.1.0/lib/types/core.rb:2:in `block in <top (required)>'
  from /2.3.0/gems/rdl-2.1.0/lib/types/core.rb:2:in `each'
  from /2.3.0/gems/rdl-2.1.0/lib/types/core.rb:2:in `<top (required)>'
  from ./test2.rb:3:in `require'
  from ./test2.rb:3:in `<main>

It was because of require 'types/core'

Will not create an issue for each problem, will just keep posting to this thread.
1. Static type checking doesn't work
#!/usr/bin/env ruby
require 'rdl'
extend RDL::Annotate

type '() -> Integer'
def f
  'haha'
end

RDL.do_typecheck :now

This produce no output
bundle exec  ./test2.rb

2. Installation from git fails
Gemfile:
# A sample Gemfile
source "https://rubygems.org"

gem "rdl", git: "git@github.com:plum-umd/rdl.git", branch: "dev"

bundle
Updating git@github.com:plum-umd/rdl.git
Fetching gem metadata from https://rubygems.org/...............
Resolving dependencies...
Using bundler (1.5.3)
Using ast (2.3.0)
Using parser (<IP_ADDRESS>)

NoMethodError: undefined method `spec' for nil:NilClass
Did you mean?  inspect
An error occurred while installing rdl (2.1.0), and Bundler cannot continue.

3. How to use static type checker only?
I did something like this, but this looks a bit hacky
#!/usr/bin/env ruby

if ARGV.length != 1 then
print "Usage: rdl_static_checker <file>"
  exit 0
end

require 'rdl'

require_relative ARGV[0]

RDL.do_typecheck :now

4. Which checks are supported
I have set of primitive errors which I want to try to catch with rdl. I assume they doesn't work because of lack of signatures or due to point 1

"abc".gsub("a", "A", 1): ArgumentError: wrong number of arguments (3 for 1..2)
"abc" + 1 TypeError: no implicit conversion of Fixnum into String. Expected String, Fixnum given
[1,2,3][:a] TypeError: no implicit conversion of Symbol into Integer. Expected Object, Array given
nil.echo NoMethodError: undefined method 'echo' for nil:NilClass. Expected Object with echo method, Nil given
{}.fetch(:a) KeyError: key not found: :a

So I managed to run example
1. change core.rb
# require_relative "core/_aliases.rb" # load type aliases first
Dir[File.dirname(__FILE__) + "/core/**/*.rb"].each do |f|
  begin
    require f
  rescue RuntimeError => e
    puts e.message
  end
end

2. Test script
#!/usr/bin/env ruby
require 'rdl'
require 'types/core'

extend RDL::Annotate

type '() -> Integer', typecheck: :now
def string_int
  "abc" + 1
end

type '() -> Integer', typecheck: :now
def f
  string_int
end

RDL.do_typecheck :now

Method type:
        (String) -> String
Actual arg type:
      (1)
test2.rb:9:   "abc" + 1

3. What I expected
I expected it would find error in this script. It has all signature of std-lib. Why it doesn't check it?
#!/usr/bin/env ruby
require 'rdl'
require 'types/core'

def string_int
  "abc" + 1
end

RDL.do_typecheck :now

RDL will only type check methods that have type annotations. So in 3 above, since string_int doesn't have a type annotation, RDL doesn't try to typecheck the method body.
In 2 above, you don't need the RDL.do_typecheck :now line. The typecheck: :now argument to type indicates that the method body should be checked against the type signature right after the method is defined. This is something that's almost never useful, it's mostly for demos. A more standard use would be type '() -> String, typecheck: :some_label and then later calling RDL.do_typecheck :some_label to actually typecheck the method against the signature.


Update to Flow 0.28

What happened
I updated to Flow 0.28 and Immutable.js started producing 2 errors.
node_modules/immutable/dist/immutable.js.flow:365
365: declare class IndexedCollection<T> extends Collection<number,T> mixins IndexedIterable<T> {
     ^ super of IndexedCollection. This type is incompatible with
  7: function every<T> (collection: Coll<T>, predicate: Predicatish<T>) {
                                    ^^^^^^^ union: array type | type application of Iterable | type application of List. See: app/react/commonComponents/helpers/immutableHelpers/every.js:7

node_modules/immutable/dist/immutable.js.flow:365
365: declare class IndexedCollection<T> extends Collection<number,T> mixins IndexedIterable<T> {
     ^ super of IndexedCollection. This type is incompatible with
  7: function forEach<T> (collection: Coll<T>, predicate: Predicatish<T>) {
                                      ^^^^^^^ union: array type | type application of Iterable | type application of List. See: app/react/commonComponents/helpers/immutableHelpers/forEach.js:7

Further, some of the types for Record, which are currently commented out, now work fine and should be uncommented.
I also have an open PR for this.

My Bad.


[METRON-19] Enable Travis CI testing

This, combined with enabling the apache/incubator-metron repo with Travis (which must be done by someone from the apache github org), will enable testing of the metron-streaming code via Travis. You can see how this will look with the PR on my fork: https://github.com/reaperhulk/incubator-metron/pull/1
PRs submitted to this repo after this is enabled will be automatically tested and status will be reported back.

I like this and I think it's a good first step towards some CI.
(Can we get someone with admin access to this project to enable this?)
+2

LGTM! Yay for CI!
Related: I built Metron with Java 7. Is that officially supported, and if so, should we test for multiple Java versions under Travis?

I'm not sure what Metron explicitly supports. Does anyone know or is there no official position on that? I'm happy to add jdk7 to the build matrix if we want to verify functionality on both though.

we always test on JDK 7

I've added JDK7, although I will note that as of April 2015 Oracle has EOL'd that release and it is no longer receiving security or bug fix updates (http://www.oracle.com/technetwork/java/eol-135779.html).

@reaperhulk: another suggestion for this PR: add code coverage in Travis?

I suggested the addition of code coverage in a commit @reaperhulk accepted above.
WRT the code coverage report, which you can find here, the reason that Metron-DataLoads, Metron-Indexing, Metron-Common, and Metron-Topologies aren't showing up in the coverage report is because none of them have any tests. Hence, the coverage report is actually an overestimate of current test coverage. You can verify this if you test it out by taking a look at the JaCoCo reports.

This looks really good.  A few other changes needed.  We will need to (1) add the apache-rat license check (2) execute the 'integration-test' target and (3) fix the merge conflict.

Also, Travis fails the builds because the output exceeds 4MB.

I don't think @reaperhulk and I have the bandwidth to get this working; please feel free to branch off our work and add some commits.

@reaperhulk Hi Paul - Mind closing this PR if you believe the issue has been addressed?  We have Travis CI working now.  Many thanks for your contribution!


Error when adding to project: missing npm module

When I run
 cordova plugin add ../cordova-plugin-boilerplate/

I get an error because I don't have the npm module xcode installed.
Installing "your.name.space.yourPluginName" for ios
Failed to install 'your.name.space.yourPluginName':Error: Cannot find module 'xcode'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/zach/code/cordova-hello/plugins/your.name.space.yourPluginName/hooks/add_swift_support.js:19:13)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
Error: Cannot find module 'xcode'

Hey @zischwartz ,
Thanks for your interest. This is not really the purpose of this project to be installed as a plugin. In order to use it, I advice you to clone it and then keep the parts you're interested in for your plugin.
Also you can add the xcode dependency as a bundled dependency in your plugin.
Concerning the Swift support, I'm working on an other project so that you could add a plugin dependency and the swift support will be activated. I'll keep you informed if you want ;)

Ok if you're interrested you can have a look at this repo : https://github.com/akofman/cordova-plugin-add-swift-support


DeepSeek-Coder-V2-Lite-Instruct-AWQ

I am trying to load the model but getting error:
2024-07-21T17:57:41.086044Z  INFO text_generation_launcher: Shutting down shards
2024-07-21T17:57:41.089467Z  INFO shard-manager: text_generation_launcher: Terminating shard rank=1
2024-07-21T17:57:41.089511Z  INFO shard-manager: text_generation_launcher: Waiting for shard to gracefully shutdown rank=1
2024-07-21T17:57:41.089599Z ERROR shard-manager: text_generation_launcher: Shard complete standard error output:

2024-07-21 17:57:35.804 | INFO     | text_generation_server.utils.import_utils:<module>:75 - Detected system cuda
/opt/conda/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
You are using a model of type deepseek_v2 to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
[rank2]: Traceback (most recent call last):

[rank2]:   File "/opt/conda/bin/text-generation-server", line 8, in <module>
[rank2]:     sys.exit(app())

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py", line 118, in serve
[rank2]:     server.serve(

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 297, in serve
[rank2]:     asyncio.run(

[rank2]:   File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
[rank2]:     return loop.run_until_complete(main)

[rank2]:   File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
[rank2]:     return future.result()

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 231, in serve_inner
[rank2]:     model = get_model(

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/__init__.py", line 485, in get_model
[rank2]:     return FlashCausalLM(

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 898, in __init__
[rank2]:     model = model_class(prefix, config, weights)

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 764, in __init__
[rank2]:     self.model = DeepseekV2Model(

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 703, in __init__
[rank2]:     [

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 704, in <listcomp>
[rank2]:     DeepseekV2Layer(

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 626, in __init__
[rank2]:     self.self_attn = DeepseekV2Attention(

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 256, in __init__
[rank2]:     weight=weights.get_weights(f"{prefix}.kv_a_proj_with_mqa"),

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 339, in get_weights
[rank2]:     return self.weights_loader.get_weights(self, prefix)

[rank2]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/gptq/__init__.py", line 236, in get_weights
[rank2]:     return GPTQWeight(

[rank2]: TypeError: GPTQWeight.__init__() missing 1 required positional argument: 'use_awq_kernel'```

I added the argument manually to see if it loads like:
return GPTQWeight(
    qweight=qweight,
    qzeros=qzeros,
    scales=scales,
    g_idx=g_idx,
    bits=self.bits,
    groupsize=self.groupsize,
    use_exllama=use_exllama,
    use_awq_kernel=True,  # Added this line
)

But from here, i get the error:
[rank1]:   File "/opt/conda/bin/text-generation-server", line 8, in <module>
[rank1]:     sys.exit(app())

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py", line 118, in serve
[rank1]:     server.serve(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 297, in serve
[rank1]:     asyncio.run(

[rank1]:   File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
[rank1]:     return loop.run_until_complete(main)

[rank1]:   File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
[rank1]:     return future.result()

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 231, in serve_inner
[rank1]:     model = get_model(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/__init__.py", line 485, in get_model
[rank1]:     return FlashCausalLM(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 898, in __init__
[rank1]:     model = model_class(prefix, config, weights)

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 764, in __init__
[rank1]:     self.model = DeepseekV2Model(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 703, in __init__
[rank1]:     [

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 704, in <listcomp>
[rank1]:     DeepseekV2Layer(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 640, in __init__
[rank1]:     self.mlp = DeepseekV2MLP(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_deepseek_v2_modeling.py", line 411, in __init__
[rank1]:     self.down_proj = TensorParallelRowLinear.load(

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/tensor_parallel.py", line 200, in load
[rank1]:     weight = weights.get_weights_row(prefix)

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 387, in get_weights_row
[rank1]:     return self.weights_loader.get_weights_row(self, prefix)

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/gptq/__init__.py", line 515, in get_weights_row
[rank1]:     qzeros = weights.get_sharded(f"{prefix}.qzeros", dim=0)

[rank1]:   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 269, in get_sharded
[rank1]:     size % world_size == 0

[rank1]: AssertionError: The choosen size 171 is not compatible with sharding on 4 shards
 rank=1
Error: ShardCannotStart


IRequestStartup not being registered during RegisterAndGetRequestStartupTasks

Hi everyone, please excuse complete ignorance on how to properly use Github/report issues, and I don't feel confident that my code is good enough to do a pull request (if I could figure out how!!)
Anyway, I upgraded from 0.23 to 1.1 and my external Module, that implemented IRequestStartup wasn't being called anymore.
My code change to fix was:
In this RegisterAndGetRequestStartupTasks function, it appeared like the types weren't actually being registered, so I added:
container.Configure(registry => {
foreach (var requestStartupType in requestStartupTypes) {
registry.For(typeof(IRequestStartup)).LifecycleIs(Lifecycles.Unique).Use(requestStartupType);
}
});
Thanks for being patient with the bad way to get issues reported/code fixes in,
Stephen

Yeah, looks like @gregsochanik removed that in 904ced8977e2d00e1b4698840aaa3d44eccc8930. Don't know how that's supposed to work. // @asbjornu

Yea, it seems like we're missing a Scan(). It would be awesome if NancyFx/Nancy#1712 could be resolved and a test suite could be created so problems like these could be discovered in a test rather than in someone's production code during runtime.

Ah - sorry, yes, I had a feeling this might happen.
In the original PR (https://github.com/NancyFx/Nancy.Bootstrappers.StructureMap/pull/24) I asked for some confirmation of how it was supposed to work (quote from PR comments):
"This is the section I'm not sure about and would like some advice on if you've got time.
Looking at the wiki and at other DI Bootstrapper implementations (AutoFaq / Castle etc) it would seem this is added to enforce a distinction between "PerRequest" startups and "Application" startups, specifically to enable PerRequest IRequestStartups to be stored alongside a Request specific nested Container.
Have I got this right? If so, I may need to revert this change, leaving the container.Configure() code in."
Looks like I hadn't got this right :smile:
@asbjornu I can submit a PR with a fix if you like?

Yes, please do, @gregsochanik.

Done: https://github.com/NancyFx/Nancy.Bootstrappers.StructureMap/pull/31

Should be closed with #32 :+1:

I don't think that is the best solution to the problem. Since the concrete types are passed in as a Type[] we can simply ask StructureMap to give us instances.
Something like this:
return requestStartupTypes.Select(container.GetInstance).Cast<IRequestStartup>();

This avoids having to configure the container on each request.


the input of visualBackbone

Describe
Model I am using  LayoutLMv2:when I finetune the Layoutlmv2,I put the original picture into the visual backbone,is this a right practice？
"""
def forward(self, images):
images_input = (images.tensor - self.pixel_mean) / self.pixel_std
features = self.backbone(images_input)
features = features[self.out_feature_key]
features = self.pool(features).flatten(start_dim=2).transpose(1, 2).contiguous()
return features
"""

@dongxuewang-123 You need to resize the image into 224x224, which is mentioned in the LayoutLMv2 paper.


HDDS-8557 Cannot reuse MiniOzoneCluster dir due to RocksDBCheckpointDiffer instance cache

What changes were proposed in this pull request?
Fix issue in : HDDS-8557 Cannot reuse MiniOzoneCluster dir due to RocksDBCheckpointDiffer instance cache
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8557
How was this patch tested?
10 x 10 repetitions of integration test
https://github.com/DaveTeng0/ozone/actions/runs/5139370492

Thanks @DaveTeng0 for working on this.  Please check CI failures.

LGTM.
Thanks for the patch @DaveTeng0.

Currently CI build has a robot test failure related to https://issues.apache.org/jira/browse/HDDS-8732.
Per @swamirishi latest comment, the test should be fixed by merged PR https://github.com/apache/ozone/pull/4678.
I'll merged my branch with latest master branch to rerun the CI tests.


Added Search, Sort and Toggle Core Members Functionality

[x] Fixes #56
[x] Fixes #55

The UI:

I missed this PR @khavinshankar, The filter looks really NYC, can you resolve the conflicts, merge it as soon as possible.


Enable comments on both user and project pages

Currently this line assumes that the current page is being deployed as a 'Project Site'. It would be amazing if the workflow could also support 'User/Org Sites' (definitions) as e.g. implemented in https://github.com/leap-stc/leap-stc.github.io.
I believe this could be implemented with some input argument project_site (default to true) which switches the line from
✅ Deployment Preview URL: https://${{ github.repository_owner }}.github.io/${{ steps.repo-name.outputs.value }}/_preview/${{ inputs.pull_request_number }}

to this for false:
✅ Deployment Preview URL: https://${{ github.repository_owner }}.github.io/${{ inputs.pull_request_number }}

Happy to submit a PR, but I am not quite sure what the best way to express this is.

It turns out that we need this for previewing our own main project site https://github.com/ProjectPythia/projectpythia.github.io (which publishes to https://projectpythia.org).
I will work on a solution!

The most elegant / robust way to achieve this would be to query the repository to find its GitHub Pages URL. Then we wouldn't have to implement any complicated logic for constructing the preview URL, it would just be {default Pages URL}/_preview/{PR number}.
I did some googling but unfortunately didn't find any way to access the URL from within an action.

A workaround that still avoids needing to implement another input argument is just to parse the repo name to see if it contains the string github.io, which would then indicate that this is not a project site.
I'm trying to think of possible use cases where this wouldn't work, but I'm drawing a blank.

This is implemented now in https://github.com/ProjectPythia/cookbook-actions/pull/59
(after a few bits of trial and error in previous PRs).
@jbusecke take a look! The workflows now automatically detect whether they are dealing with an org site or project site and adapt the preview URL accordingly.

Closing as I think this has been resolved, but feel free to reopen for more discussion!

Ill def try that in the next week! Thank you for all the work here!


Bug on Random Forest Regressor for Job Satisfaction

Describe the bug
The random forest regressor is throwing an error because of a logical issue that is no.of splits are greater than no.of samples. For this logic to work, this model should only be applied on the dataset AFTER further splitting and not before.
I can fix this issue as a contributor under GSSOC'24 if assigned. @sanjay-kv
Screenshots

assign this please

I am interested in solving this issue can you assign me, please

I would like to work on this issue, please assign me

Its already assigned if you want to collaborate reach out to assigned person

Already fixed the bug with a pull request, hence issue is resolved.


install_ide("newest") installs 1.8.11-ms-store-1 and linux build fails

I was using this command in my travis.yml:
`install_ide '("newest")'`

and the build failed when arduino-ci-script tried to install 1.8.11-ms-store-1
https://travis-ci.org/tobozo/ESP32-Chimera-Core/builds/647062992
It was easily fixed by hardcoding the latest version but not that easy to spot as no error message is displayed whatsoever

Thanks so much for reporting this @tobozo! I'll make a fix and a release within the next few hours.


"Open declaration can be removed" - but actually it cannot

Repro steps

clone https://github.com/fsprojects/Canopy.Mobile
run paket restore
open sln in VS2017
open Canopy.Mobile.fs

If you accept then you get compile errors
Expected behavior
Don't show the suggestion
/cc @vasily-kirichenko

Why it cannot be removed?

because then compile errors happen

it's a false postive

@forki I guess @vasily-kirichenko is asking for the compiler error or the statement which needs the open ;)

typical name resolutions issues.

No, I'm asking for the source code of a symbol that makes the open statement needed.

(I guess it's the exception definition)

see screenshot

    /// Contains canopy specific exception
    module canopy.mobile.Exceptions

    open System

    type CanopyException(message) = inherit Exception(message)
    type CanopyElementNotFoundException(message) = inherit CanopyException(message)

^^ is the other file

Thanks.

Ah, relative opens. They are not supported. Use full ns/module names.

What do you mean they are not supported? That's proper F# - the tooling should adjust and not my code, right? If there is no way to make it work with relative opens then it should be disabled for relative opens, right?
Also not that òpen Wait` is not greyed out

Right :) The problem is that opens are not symbols, they are text from untyped AST. However, if it works properly for Wait, it maybe the case that exceptions are not processed.

Sorry, Ctrl+F5 crashes VS immediately on my machine :))

What do you mean they are not supported? That's proper F# - the tooling should adjust and not my code, right? If there is no way to make it work with relative opens then it should be disabled for relative opens, right?

Perhaps a code fix to turn relative opens into fully-qualified opens.

I believe this is an exact duplicate of the older #3306.

This issue seems to be mitigated.  You can still get a lightbulb which will remove it, but Exceptions is not greyed out anymore on 15.5.3.

What is a "relative open"?

Issue #7111 was just marked as a duplicate of this one.  That issue includes a very minimal working example.
The consensus here seems to be that the present issue is related to the concept of a "relative open", which is contrasted with a "fully-qualified open".  I have only ever heard these terms in this issue.
Is there documentation that explains what these terms mean?  If not, can someone explain what these terms mean in this issue?
Because of my lack of knowledge (both generally of F# and specifically about the answer to those two questions) and the not-so-minimal working example provided in the present issue, I am unable to verify for myself that issue #7111 is a duplicate of this one.

@bender2k14, a relative open is when you don't fully specify the whole namespace, or the namespace before the module. A fully qualified open is when, in contrast, you do specify the FQN (fully qualified name) in the open statement.
open System // fqn
open IO   // relative, will raise FS0783, which shows these terms

Slight correction, the analyzer itself lives here: https://github.com/dotnet/fsharp/blob/master/src/fsharp/service/ServiceAnalysis.fs#L12
As mentioned earlier in this issue there is a problem related to the data that is being operated on here. It can likely be fiddled with a bit.

Thanks @abelbraaksma.  That is very helpful.

I think it would be good to collect a couple of simple repros so that working on the issue in a PR becomes easier.

Are there any existing unit tests for this unused open analyzer?  If so, I might be able to add tests for the cases that have been reported in this and the linked issues.

I assume there are, but where exactly I don't know. I haven't played with this part of the tooling yet.

In this case there are some fairly comprehensive tests here: https://github.com/dotnet/fsharp/blob/master/vsintegration/tests/UnitTests/UnusedOpensTests.fs

I think it would be good to collect a couple of simple repros so that working on the issue in a PR becomes easier. The code that does this currently is in UnusedOpensDiagnosticAnalyzer.fs.

I tried and failed to reproduce the bugs reported in this issue and the two linked issues.  Here is the environment I used.
Operating system: Windows 10
.NET Runtime kind: .NET Core 3.1
Editing Tools: Visual Studio Enterprise 2019 version 16.6.5

I followed the steps in the first comment (https://github.com/dotnet/fsharp/issues/3347#issue-243628567) of this issue.  No open was reported as unused...not even open Exception.
Linked issue #3306: Not surprising that I couldn't reproduce because it was already claimed to be fixed in https://github.com/dotnet/fsharp/issues/3306#issuecomment-334906650.
Linked issue #7111: This was the issue I created that was marked as a duplicate of this one.

Seems like all these bugs are fixed.  I recommend closing this issue.

In this case there are some fairly comprehensive tests here: https://github.com/dotnet/fsharp/blob/master/vsintegration/tests/UnitTests/UnusedOpensTests.fs

Thanks @cartermp.  I was so excited to contribute something to F# that I confirmed that the 67 unused open tests pass on my machine before confirming that I had a MWE to make into a test.   I see there are more open issues in this repo, so I will investigate them now.

Thanks @bender2k14 - I also failed to reproduce the issue in the latest internal preview build of the F# tools. It could be that something changed since this report was initially filed that influences the lack of repro, but looking at the history of the codebase it doesn't appear to be the case. I'll close this one out.


[IOTDB-2487] Time series containing special characters can be created but connot be shown

In IoTDB, splitPathToDetachedPath() in MetaUtils is often called to convert String to PartialPath. However, some time series cannot be used normally due to ambiguity, even if they are created. Therefore, we need to make more rules to eliminate ambiguity.
When escaping the path separator (.) with single and double quotes, to avoid ambiguity, you must follow the following rules:

Within a path node name enclosed in backticks, it cannot start or end with single and double quotes.
Within a path node name enclosed in single quotation marks, single quotes cannot be used before and after the path separator. Similarly, in the path node name enclosed in double quotation marks, double quotes cannot be used before and after the path separator.

CREATE TIMESERIES root.sg."s1\".\"s2" WITH DATATYPE=INT32, ENCODING=RLE
// invalid! ambiguity with root.sg."s1"."s2"

CREATE TIMESERIES root.sg."a." WITH DATATYPE=INT32, ENCODING=RLE
// invalid! ambiguity with root.sg.`"a`.`"`

CREATE TIMESERIES root.sg.`"ab`.`cd"` WITH DATATYPE=INT32, ENCODING=RLE
// invalid! ambiguity with root.sg."ab.cd"

Coverage decreased (-0.005%) to 67.764% when pulling cf3a6a4b8e83d2352c0182eecf209ab262fbab37 on liuminghui233:special_ch_debug into<PHONE_NUMBER>6b8bffe1d9de162ffc4c9205979653 on apache:master.


Unfocus Access Checker Tests and update error messages to match

I came across this focused test. Once I unfocused it they appear to have been some outdated tests. I updated the expected error messages to match.
Full disclosure: I didn't dig into why the messages changed but I assumed that it might simply be a client library update.

Codecov Report

Merging #768 (d8a48e9) into main (b54db48) will increase coverage by 0.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #768      +/-   ##
==========================================
+ Coverage   68.08%   68.54%   +0.46%
==========================================
  Files          93       93
  Lines        4130     4130
==========================================
+ Hits         2812     2831      +19
+ Misses        971      951      -20
- Partials      347      348       +1

Impacted Files
Coverage Δ

pkg/dockercreds/access_checker.go
68.88% <0.00%> (+42.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Uncaught Error: ENOENT: no such file or directory, lstat '/home/shadyyx/atom:'

Hi there!
I am using Atom editor for GoLang and I am pretty happy with it. Yesterday and today I got a notice to upgrade some packages, so I did, between others it was go-plus and go-config (and some others go packages probably as well). Nevertheless, by my mistake my laptop got restarted just a while ago and to my surprise after starting it again and running Atom I've found out that GO support for Atom is not working anymore... It wanted me to upgrade the editor to latest version what I did.
When I start Atom it immediately says it would like to download gocode tool, by running go get -u github.com/nsf/gocode. I can immediately click on Run go get which gives me this error:

package github.com/nsf/gocode: cannot download, $GOPATH not set. For more details see: go help gopath

which is not true because the gocode tool is already installed on my PC and if I run the same command from cli it successfully does something (no error, no new install as I already have it installed).
Running $GOPATH in my cli also returns the correct path...
The settings in go-plus package also has the correct paths (both to GOPATH and Go install).
Now if I am editing a .go file and I trigger save, I immediately get an error

Uncaught Error: ENOENT: no such file or directory, lstat '/home/shadyyx/atom:'

which I thought is just some typo so I wanted to fix it by creating symlink atom: to .atom/ in my HOME dir. But after that I get another error

Uncaught Error: ENOENT: no such file or directory, lstat '/home/shadyyx/.atom/config'

so I guess there's something wrong completely. I don't know where, though.
Is it go-plus or go-config package? I would appreciate really quick response... :-)
Regards
shadyyx

Same problem in Atom 1.5. After upgrade to 1.6 works fine.

Same issue here, still doesn't work in 1.6 even after a full reinstall.

The problem is probably in the gofmt package. I realized that after changing the Formatting tool in Settings of gofmt package from gofmt to any other option (either goimports or goreturns) there's no more error at save... Still not sure whether it relates to go-config or not...

Same error with 1.6... is there a way we can revert our updates?

Sorry you're having issues. If you are on OS X, please either:

Install Atom Beta (https://atom.io/beta) so you are running >= v1.7.0 of Atom
Always launch atom from the terminal (after quitting all instances of it launched by Dock, Finder, Spotlight; to be safe, just quit all instances of Atom)

The issue is related to a quirk in the way Atom was handling the environment. I fixed this with @lee-dohm in https://github.com/atom/atom/pull/11054, but this is only included in the 1.7.x releases and later.
If you're on Linux (specifically Ubuntu et al.) there may be another issue in play here.

Unfortunately, I'm on Ubuntu 15.10. But I'll try the 1.7.0 Beta on Monday if this issue is not resolved by that time (which I will be more than happy as I don't want to use betas at work).

for windows users?

OK, so I tried the 1.7.0 beta. I installed updates for few packages and the result is:

no exceptions on save with gofmt; goreturns and goimports do not work - the same as before
nevertheless, gofmt does not work as well - creating syntax errors in code does not raise any "Syntax errors" reported on file save...
making changes in settings of gofmt package asks again to run go get -u ... and after clicking on provided button I get the same error as before

Error getting package package sourcegraph.com/sqs/goreturns: cannot download, $GOPATH not set. For more details see: go help gopath

Big finding
After reading the documentation for go-config package where dependency to environment package is mentioned and reading the documentation for environment package I have realized that I am running the Atom IDE from a launcher icon. After running atom-beta from cli everything is working fine...
Summary: Is it possible to fix these issues  for the case when Atom IDE is run from a launcher?

[...] so I wanted to fix it by creating symlink atom: to .atom/ in my HOME dir [...]

You shouldn't create any symlinks.
Please update to the latest version of environment (and all other packages for that matter).
What is the contents of your PATH? Could you type ⌘-option-i, go to the "console" tab, type process.env.PATH, and copy the resulting text into the issue?

https://github.com/joefitzgerald/go-config/issues/23#issuecomment-203040293

Closing this in deference to #23, where we have identified the root cause.


Fix test_four_word_command occasional failure

Which issues of this PR fixes:

This PR try to fix #103
/cc @lzydmxy

Should sleep before those cmd @JackyWoo
FAILED test_four_word_command/test.py::test_cmd_srvr - AssertionError: assert '9' == '10'
FAILED test_four_word_command/test.py::test_cmd_stat - AssertionError: assert '9' == '10'
FAILED test_four_word_command/test.py::test_cmd_cons - AssertionError: assert '9' == '10'


Update README, UserGuide and DeveloperGuide

Coverage remained the same at 91.435% when pulling a5dc8d213437a8e38631cc87abcfe7bb67e3f6e3 on johnweikangong:Documentation into e4b1c1082a63fc24b6d926d81f20cab1620499dd on CS2103AUG2017-T16-B3:master.

Coverage remained the same at 91.435% when pulling 088e83ef11df71c6ed7aa85ac2d028052793e650 on johnweikangong:Documentation into e4b1c1082a63fc24b6d926d81f20cab1620499dd on CS2103AUG2017-T16-B3:master.


Example to get all links from a page

Hi,
I wrote a short example how to scrape all a[href] links from a page with phantomjs & jquery. Maybe this could be included as an example for others.
https://gist.github.com/bnadland/10918913

hey How could I write this in simple javascript ?
when i wrote this -
try {
var urls = page.evaluate(function () {
var mappedurls = document.querySelectorAll('a')
.map(function () {
return this.href;
})
.get()
.join('/r/n');
return mappedurls;
});
console.log(urls);
} catch (e) {
console.log(e);
}
I am getting an error:
undefined is not a function (evaluating 'document.querySelectorAll('a')
.map(function () {
return this.href;
})')
phantomjs://webpage.evaluate():3
phantomjs://webpage.evaluate():9
null


Sends GET by default even uploadMethod set to POST, why?

   const resumblejs = this.resumablejs = new Resumable({
                target: 'test',
                headers: {
                    'X-AUTH-TOKEN': this.userToken,
                },
                chunkSize: 1024 * 1024,
                prioritizeFirstAndLastChunk: true,
                simultaneousUploads: 2,
                testChunks: true,
                maxFiles: 1,
                uploadMethod: 'POST',
            });

It always sends OPTIONS (allowed), then GET(forbidden), then OPTIONS and then POST which must be, why?
resumable.js:668

GET https://storage.loc/W21jTUJHrR5hhJgIPmY9B8g4ZcypofeR7olbCmDDE9KTBc0N5CHFlAmTTePfY
UZhiZRsL5CuNEuoVIihWyvBMZIYSTRUVY8LzX4p9vaIk/download/chunk?
token=123123&resumableChunkNumber=193&resumableChunkSize=512000
&resumableCurrentChunkSize=512000&resumableTotalSize=99789445
&resumableType=video%2Fmp4&resumableIdentifier=99789445-
testmp4&resumableFilename=test.mp4&resumableRelativePath=test.mp4
&resumableTotalChunks=194
405 (Method Not Allowed)

Many requests like this during upload.

it happened to me when my target url didn't end with '/'...
try to change
target: 'test',
to
target: 'test/',

it happened to me,too.
and  the param below solved my problem:
testChunks: false

See this paragraph：

testMethod Method for chunk test request. (Default: 'GET')
testChunks Make a GET request to the server for each chunks to see if it already exists. If implemented on the server-side, this will allow for upload resumes even after a browser crash or even a computer restart. (Default: true)

Hope to help you :)


v0.9.2: Syntax: Add tests for spell checker in spanish, french, german and italian

Need to add tests for spell checking in languages other than english

Add in v0.9.2


Host header is required to be set per RFC 2616. It needs to be set on this line.

https://github.com/elecfreaks/pxt-esp8266iot/blob/2ac4ed8b500eb9a233413c009f80bdd7bede96d1/ESP8266.ts#L255
See https://datatracker.ietf.org/doc/html/rfc2616#page-128. The "Host" header needs to be set for valid HTTP 1.1 requests.

Duplicate of this.


fix import in xml_to_brat file

Now that the NeuroNER is pip installed, output_entities can be imported from the package itself, instead of a hardcoded path.

Hope you don't mind Franck and Jenny, but as this is a minor change to an independent file, I'm going to merge directly.

Sounds good, thanks Tom!


Add expanduser function to solve Issue #19

Notice

[x] I acknowledge and agree that, by checking this box and clicking “Submit Pull Request”:

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Motivation and Context
Why was this PR created?
In response to Issue #19
https://github.com/quantumblacklabs/kedro/issues/19
How has this been tested?
Followed https://github.com/quantumblacklabs/kedro/blob/master/CONTRIBUTING.md#running-checks-locally
make test passed with 498 passed, 8 warnings in 64.13 seconds
Required test coverage of 100% reached. Total coverage: 100.00%
Checklist

[x] Read the contributing guidelines
[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added new entries to the RELEASE.md file
[x] Added tests to cover my changes
[ ] Assigned myself to the PR
[ ] Added Type label to the PR

Solution motivated by https://github.com/pandas-dev/pandas/blob/master/pandas/io/common.py, where similar _expand_user() function handles path expansion for  ParquetLocalDataSet and CSVLocalDataSet .


[AIRFLOW-2792] change parameter of post requests in druid hook

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title.

https://issues.apache.org/jira/browse/AIRFLOW-2792

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
I ran nosetests /tests/hooks/test_druid_hook.py succefully.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3633 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #3633   +/-   ##
=======================================
  Coverage   77.17%   77.17%
=======================================
  Files         206      206
  Lines       15769    15769
=======================================
  Hits        12169    12169
  Misses       3600     3600

Impacted Files
Coverage Δ

airflow/hooks/druid_hook.py
88.73% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[Issue]: onOriginRequest hook not triggering in openApi

Description
We are using introspection by openApi and we need to pass the runtime token in the header to access the rest API so we are trying to use the onOriginRequest hook but it is not triggering.
Can you please suggest how we can pass the runtime token in the header?
Thanks
Raman Kumar
Reproduction
const FronteggApi = introspect.openApiV2({
apiNamespace: 'FE',
source: {
kind: 'file',
filePath: './fe-users-openapi.json',
}
});
export default configureWunderGraphServer<HooksConfig, InternalClient>(() => ({
hooks: {
global: {
httpTransport: {
onOriginRequest: {
enableForAllOperations: true, // Trigger this hook for all operations
hook: async ({ request }) => {
request.headers.set('X-Wundergraph-Test', 'test');
console.log('onOriginRequest', request.headers);
return request;
},
// enableForOperations: ['GetUserLockPrivileges']
},
},
},
}));

Fixed by #1204


h2: 1.4.199 -> 2.1.210

Motivation for this change
#155329 (CVE-2021-23463)
Also pull out docs (and drop src + non-bin/ stuff) since they're nearly 4x the size of the actual app (9.7 megs of docs v. 2.5 megs of app). (I'll un-push this if it's controversial somehow)
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

h2

/marvin opt-in
/status needs_reviewer


Integrate Pyodide as a supported language

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16676


Hard require skopeo 1.6.0, use oci-spec in public API

Unfortunately we need to temporarily disable our revdep CI
for this.
Bump the semver.

OK I think we can hard require skopeo 1.6.0 now that it's shipped in Fedora 35 and C9S at least.


Create Gatsby starter?

I <3 your site design. If it's something you wouldn't mind sharing, it'd make an awesome Gatsby starter. Lots of people that will be creating Gatsby sites will be using it for creating personal sites/blogs and I think a lot of people would love your design.
Just a thought :)

Thank you ;)
I think such a structure like here is perfect for Gatsby Starter.

Great! When you have it ready, just create a PR to Gatsby with a link in the README to your starter. It'll be awesome to start building up a larger and larger collection of starters.


Update JS dependencies

https://github.com/CartoDB/product/issues/518

Hey @elenatorro, could you please update with master and list the current blocker for this to move on?

Hi 👋 Yes, I will merge it. The blocking issue right now is related with carto.js and how it's published. I will write more information about that.
In addition, it's very hard to keep this up to date with constant changes and we might need a different approach to solve this, like freezing some unnecessary changes and add more people to work on this together to both speed up the process and try to avoid mistakes as much as possible.


Add Wake on Motion functionality

Please consider adding WoM feature, witch can significantly improve power consumption of ESP32. I think according to Schematics INT1 and INT2 pins of QMI8658 are connected to GPIO10 and GPIO13 of ESP32. So you can put ESP32 in sleep mode until accelerometer detects motion.
Here is an example:
https://github.com/lewisxhe/SensorLib/blob/73226fe18641b345700d6dff55a56e01f26af69c/examples/QMI8658_WakeOnMotion/QMI8658_WakeOnMotion.ino#L114
And here is the method signature:
https://github.com/lewisxhe/SensorLib/blob/73226fe18641b345700d6dff55a56e01f26af69c/src/SensorQMI8658.hpp#L1143

Neat idea, I'm not very familiar with ESP32's going to sleep-mode and waking up on HW events (all mine are hard-wired to mains power). But feel free to add the changes you see necessary and create a pull-request.

It’s pretty straightforward with esphome: https://esphome.io/components/deep_sleep.html
I was planning to use this board as bicycle blinker. So putting it in a sleep mode when not in use without switching power would be great!

Ok, should then create a config option that generates a call to the following function in the included library
/**
     * @brief  configWakeOnMotion
     * @note   Configuring Wom will reset the sensor, set the function to Wom, and there will be no data output
     * @param  WoMThreshold: Resolution = 1mg ,default 200g
     * @param  odr: Accelerometer output data rate  ,defalut low power 128Hz
     * @param  pin: Interrupt Pin( 1 or 2 ) ,defalut use pin2
     * @param  defaultPinValue: WoM Interrupt Initial Value select: ,default pin high
     *  01 – INT2 (with initial value 0)
     *  11 – INT2 (with initial value 1)
     *  00 – INT1 (with initial value 0)
     *  10 – INT1 (with initial value 1)
     * @param  blankingTime: Interrupt Blanking Time
     *  (in number of accelerometer samples), the
     *  number of consecutive samples that will be ignored after
     *  enabling the WoM, to screen out unwanted fake detection
     * @retval
     */
    int configWakeOnMotion(uint8_t WoMThreshold = 200,
                           AccelODR odr = ACC_ODR_LOWPOWER_128Hz,
                           IntPin pin = IntPin2,
                           uint8_t defaultPinValue = 1,
                           uint8_t blankingTime = 0x20
                          )

It looks like that.


BitBucket support

I work for an org that uses BitBucket Cloud for all of our repos. It'd be nice if oauth2_proxy could be used w/ BitBucket.
Expected Behavior
It'd be nice if oauth2_proxy has a BitBucket provider.
Current Behavior
oauth2_proxy can't be used with BitBucket right now. BitBucket supports Oauth2, but not OpenID connect, so a new provider would be needed.
Possible Solution
Add bitbucket as a provider? I'd be willing to spend some time writing a PR for this, but it may take me awhile and I lack confidence in my skills.
Steps to Reproduce (for bugs)
N/A
Context
The org I work for uses BitBucket cloud for all of our repos. I'd like to deploy various internal tools for developers to access and authorize them using their BitBucket credentials.
Your Environment

I don't see any reason why we couldn't support this. I don't personally have any way to test that a Bitbucket provider would work however so it would require someone to volunteer to keep it maintained and tested.
it may interest you to know that Dex connects up to Bitbucket so you could use Dex to translate Bitbucket to OIDC and use the OAuth2 Proxy with that.

https://github.com/bitly/oauth2_proxy/pull/385 may give a useful reference or starting point for a PR adding a bitbucket provider


add validate for dup task-role name

Coverage increased (+0.01%) to 53.228% when pulling 80aa8a09b743f41bde668183220d9ea462de69da on binyli/job_submit_yaml into 9ecd76de7222c7f9c6bce0d5243faa14531bc0bd on feature/job_submission.

Coverage increased (+0.01%) to 53.228% when pulling 80aa8a09b743f41bde668183220d9ea462de69da on binyli/job_submit_yaml into 9ecd76de7222c7f9c6bce0d5243faa14531bc0bd on feature/job_submission.


Update and improve eslint

Eslint v25 is released, we should update it and improve current configuration

Blocked by https://github.com/mochajs/mocha/issues/5162


Using SPIFFS with Flash Encryption in development Mode (IDFGH-9995)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
we are using flash encryption in development mode. but one problem occur during runtime application ,when initialized the spiffs that time got a error "spiffs mount failed : -10025 formatting" after that the application starts crashing or controller restart again and again with same problem.
this is the partition table:
Name,   Type, SubType, Offset,  Size, Flags
Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs,      data, nvs,     0x11000,  0x6000,
nvs_key,    data, nvs_keys, , 0x1000, encrypted,
phy_init, data, phy,     ,  0x1000,
factory,  app,  factory, , 1M,
otadata, data, ota,   ,  0x2000,
ota_0, app, ota_0,   , 0x180000,
ota_1, app, ota_1,   , 0x180000,
storage,  data, spiffs,  ,3M,
Please provide me some solution regarding this issue.
Thanks,
Avinash Singh

@AvinashSinghPES a couple of questions:

Are you uploading a SPIFFS partition image from host, or are you just starting with an empty partition?
If you are uploading SPIFFS partition image from host, can you describe how you are doing this?
Can you post the code you are using to initialize SPIFFS in your application?
Which IDF version are you using (check with idf.py --version) and which chip are you using?

@AvinashSinghPES I get the following output with the code you have shared:
On first run, after flashing:
I (273) example: Initializing SPIFFS
W (273) SPIFFS: mount failed, -10025. formatting...
I (8503) example: Performing SPIFFS_check().
I (12933) example: SPIFFS_check() successful
I (12933) example: Partition size: total: 896321, used: 0
I (12933) example: Opening file
I (13033) example: File written
I (13073) example: Renaming file
I (13133) example: Reading file
I (13133) example: Read from file: 'Hello World!'
I (13133) example: SPIFFS unmounted

On second run
I (273) example: Initializing SPIFFS
I (383) example: Performing SPIFFS_check().
I (4813) example: SPIFFS_check() successful
I (4813) example: Partition size: total: 896321, used: 502
I (4813) example: Opening file
I (4913) example: File written
I (4913) example: Renaming file
I (4973) example: Reading file
I (4973) example: Read from file: 'Hello World!'
I (4973) example: SPIFFS unmounted

Do you see something different? If yes, please post the complete log output you get.

@igrr  yes, there is some difference . check my log  output :
ESP_logs.txt

I see, from your log it looks like a reset happens, but there is no information in the log about the reset cause. Here are some more troubleshooting suggestions for you:

Try to get the output from ROM bootloader, it will show the reset reason. Currently there is no ROM output visible. This could be because ROM output is disabled by pulling GPIO 15 low, or because your application is configured to use a different UART baud rate than the default one (115200). See if you can change that, so that the ROM bootloader output is visible, then check the reset reason printed by the ROM.

If you still can't get the reset reason from ROM output, call esp_reset_reason() function at application startup and see which value it returns.

Try the example project bundled with esp-idf, examples/storage/spiffs, enabling flash encryption and flashing it to the same hardware? Is the same issue observed?
Is your program initializing anything before initializing SPIFFS? You can try to gradually simplify the program until it starts working, which can help isolate the part of the code or a configuration which leads to this issue.

@igrr  we reprogrammed the controller and just happens this :

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
ets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
invalid header: 0x621e56bd
ets Jul 29 2019 12:21:46

and not getting anything over serial UART printing. previously it was printing logs which we already shared with you. now it is completely blank.

Hi @mahavirj  please check this issue, we are using flash encryption in development mode but when we try to reprogram show some error which already mention above.

Please try the suggestion I had provided in my earlier comment. If you are using Eclipse IDE then you can update the command as shown here.

@AvinashSinghPES Did this suggestion help you? If yes, please close the issue.


Deployment gets failed

I am trying to deploy but every time stack fails while creating the ECS service. I am not getting an elaborative error. It just says resource timed out while waiting for completion.
Error: Stack Deployments Failed: Error: The stack named AwsOcppGatewayStack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource timed out waiting for completion
Can someone please help?

After debugging, I found out this was the error I was getting:
./run-server.sh: cannot execute: required file not found
Solution:
The issue was caused by incorrect line endings (CRLF) in the run-server.sh script. To resolve this, I manually converted the line endings from CRLF to LF (Unix format).


python310Packages.nitransforms: 23.0.0 -> 23.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.nitransforms is: Geometric transformations for images and surfaces
meta.homepage for python310Packages.nitransforms is: https://nitransforms.readthedocs.io
meta.changelog for python310Packages.nitransforms is: https://github.com/nipy/nitransforms/releases/tag/23.0.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.0.1 with grep in /nix/store/rrc0rspdlfffg1p670i44rahsz8z1f77-python3.10-nitransforms-23.0.1
found 23.0.1 in filename of file in /nix/store/rrc0rspdlfffg1p670i44rahsz8z1f77-python3.10-nitransforms-23.0.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.nitransforms
python311Packages.nitransforms

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rrc0rspdlfffg1p670i44rahsz8z1f77-python3.10-nitransforms-23.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.nitransforms https://github.com/r-ryantm/nixpkgs/archive/92a1cb52aa673de83c6df0f10b9ccfedf8cf25e5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rrc0rspdlfffg1p670i44rahsz8z1f77-python3.10-nitransforms-23.0.1
ls -la /nix/store/rrc0rspdlfffg1p670i44rahsz8z1f77-python3.10-nitransforms-23.0.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.nitransforms
python311Packages.nitransforms

Maintainer pings
cc @bcdarwin for testing.

Result of nixpkgs-review pr 243665 run on aarch64-darwin 1

4 packages built:

python310Packages.nitransforms
python310Packages.nitransforms.dist
python311Packages.nitransforms
python311Packages.nitransforms.dist


python310Packages.oralb-ble: 0.15.0 -> 0.16.1

Diff: https://github.com/Bluetooth-Devices/oralb-ble/compare/refs/tags/v0.15.0...v0.16.1
Changelog: https://github.com/Bluetooth-Devices/oralb-ble/releases/tag/v0.16.1
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.oralb
python310Packages.oralb-ble
python39Packages.oralb-ble


[atresplayer] Fix 404 error downloading json metadata

Fixes #24927
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fix 404 error while downloading json metadata from atresplayer as URL has changed.
See  #24927

+1

Closing as it looks like it tries to solve the same issue as #24722
Also see #24026


haskell.packages.ghc921: use hashable_1_3_3_0

Motivation for this change
hashable 1.3.0 (the current stackage version) is broken on GHC 9.2.1 because it defines an instance for Option, which has been removed from base. hashable_1_3_3_0 (already available in nixpkgs) includes a fix.
Tests are still broken because random (required by QuickCheck) has not yet been updated for GHC 9.2.1.
With this change it is possible to build unordered-containers (tests also won't compile because of random).
@cdepillabout I was motivated by your comment to fix this :)
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks!


Add a NotifyMode to UI.HSlider

Describe the feature
This might be a bit too specific of a use case, but I'm looking for a way to determine if a slider is still being grabbed or not at the moment that e.g. HSlider() returns true.
An example use-case
The use case is for a slider value that controls a longer-running (remote) computation of the order of seconds, on-the-fly. I'd like to be able to have a user change the slider value with some precision, but only kick off the computation at the moment the user releases the slider grab, so as not to produce too many unnecessary recomputations while manipulating the slider, but still have reasonably fast updates. I can do it in the current API by starting a timer since the last value change and then force a recomputation after X milliseconds of no change, but it's a bit hacky and error-prone. However, I think adding this feature would not be easy to fit into the current API, as it would require an extra pass-by-ref value signaling the grab state.

I think this one may also fall under #272! I'll definitely make sure this is possible with that as well :)

A simpler alternative could be something like a NotifyMode that would change how the return value behaves?

A simpler alternative could be something like a NotifyMode that would change how the return value behaves?

Yes, that's actually a good way of doing it!

To expand on the NotifyMode thought:
NotifyMode.Changed would behave like it does now, returning true anytime the value changes.
NotifyMode.ChangeComplete would fire when the user has let go of the slider, if the value is different from when it started.
In most cases, simply knowing when the change has finished is enough to avoid performing unnecessary calculations. Knowing when the interaction begins isn't critical here, but might be nice if you're trying to do a low-cost preview or something?
I think NotifyMode.ChangeComplete should cover the common case, and #272 can be used in conjunction with it for the more advanced case.

Okay, that would work, as long as the referenced value is still updated even when false is returned in NotifyMode.ChangeComplete mode. The reason is still wanting to show the current slider value at any moment during interaction.

The cool thing with immediate mode stuff is that that reference value is what's getting displayed as the slider! This actually makes it tricky to do the ChangeCompleted check, as I don't normally have access to the initial value :) I've got a few thoughts about how to do it, but immediate mode GUIs can be tricky!

Not sure we mean the same thing here, but two remarks :)
With "show the current slider value" I meant using a text label to show the current value to the user, not just through the slider position.
The other this is that changing the slider from an initial value X to say Y (but not letting go) and then back to X and then releasing should also trigger a ChangeComplete in my opinion, so even if the slider value begins and ends at the same value. The letting go is the important trigger, not the specific value (but opinions can differ on this, of course ;-))

With "show the current slider value" I meant using a text label to show the current value to the user, not just through the slider position.

Yeah, this is indeed what I meant. The float that gets passed in is the variable that stores the slider's state, so an external label using that float would update appropriately.

The other this is that changing the slider from an initial value X to say Y (but not letting go) and then back to X and then releasing should also trigger a ChangeComplete in my opinion, so even if the slider value begins and ends at the same value. The letting go is the important trigger, not the specific value (but opinions can differ on this, of course ;-))

That's interesting indeed! I do think that's actually a good idea, but that is something that may depend on the context. I'm not sure if that would be better as two separate NotifyModes, or if it'd be better to just have one and push towards a UI.LastElement API again. Thanks for the clarification here though, that's some good food for thought.

Better late than never, this is now in v0.3.7-preview.5! I wasn't able to guarantee the value has changed upon finalization, but that may be something I can do in the future.


[firebase_dynamic_links] Navigate to dynamic link from within app

I added dynamic link support to my app and it works great when used as intended. However, one of my users copied the dynamic link to the clipboard and pasted it into a chat section of the same app that generated it. When the dynamic link is tapped, an error page is displayed stating "Dynamic Link Not Found". Pasting the same link into a different app, like the Chrome browser, works as intended. I am using url_launcher 5.2.3 to navigate to the dynamic link.
It would be nice to be able to use dynamic links to navigate within the same app that generates them. If there was a method to convert a short dynamic link to the long form, I would be able to work around this issue. I suppose I could use the full url instead of short links, but it would be nice to keep the messages short.

Hi @ozzy1873
can you please provide your updated  flutter doctor -v ?
Also, to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version 10.0.18362.418], locale en-US)
• Flutter version 1.9.1+hotfix.6 at c:\src\flutter
• Framework revision 68587a0916 (6 weeks ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\john\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] Connected device (1 available)
• Pixel 3 • 8B8X15F76 • android-arm64 • Android 10 (API 29)
• No issues found!

I'll see if I can come up with a simple app.


Helix 0.6.8 has the fix for correct number of replicas on a rebalance.

Helix 0.6.8 has fixed https://issues.apache.org/jira/browse/HELIX-631
that we can use for internal rebalance API

Codecov Report

Merging #1911 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1911      +/-   ##
==========================================
- Coverage   69.53%   69.51%   -0.03%
==========================================
  Files         830      830
  Lines       40163    40163
  Branches     5390     5390
==========================================
- Hits        27929    27919      -10
- Misses      10362    10376      +14
+ Partials     1872     1868       -4

Impacted Files
Coverage Δ

...lix/core/minion/PinotHelixTaskResourceManager.java
81.39% <ø> (ø)
:arrow_up:

...t/common/exception/PermanentDownloadException.java
0% <0%> (-100%)
:arrow_down:

...in/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
:arrow_down:

...not/common/segment/fetcher/HttpSegmentFetcher.java
24% <0%> (-8%)
:arrow_down:

...m/linkedin/pinot/common/utils/FileUploadUtils.java
44.6% <0%> (-7.92%)
:arrow_down:

.../impl/dictionary/FloatOnHeapMutableDictionary.java
88.88% <0%> (-6.67%)
:arrow_down:

...e/impl/dictionary/LongOnHeapMutableDictionary.java
88.88% <0%> (-6.67%)
:arrow_down:

...e/operator/dociditerators/BitmapDocIdIterator.java
60.71% <0%> (-3.58%)
:arrow_down:

.../server/starter/helix/SegmentFetcherAndLoader.java
57.04% <0%> (-2.69%)
:arrow_down:

...nsport/netty/PooledNettyClientResourceManager.java
85.1% <0%> (-2.13%)
:arrow_down:

... and 16 more

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 ae96a77...ddd6476. Read the comment docs.


How to support other Lisp dialects

Parinfer assumes Clojure-like syntax— blowing past characters presumed to have no effect on parens and indentation.  This allows some flexibility with other dialects, but eventually causes problems with other language features below:
See issues:

#172
#195
#197
https://github.com/oakmac/parinfer/issues/16

Some dialects we look at:

Racket
Hy
Common Lisp
Janet
Pico Lisp

Here-strings
strings delimited by custom phrases

Racket: #<<FOO\n ... \nFOO>>\n doc-racket-here
Hy: #[FOO[ ... ]FOO] doc-hy-here

Multi-line strings

Janet: ` or `` doc-janet-multi

Nestable block comments
may be nested, unlike in C /*.../*...*/...*/)

Racket: #|...|# doc-racket-block
Common Lisp: #|...|# doc-cl-block
Pico Lisp: #{...}# doc-pico-block

Bracket types

Common Lisp: only ( ) are significant— allowing unbalanced { [ in symbols doc-cl-bracket

Comment lines

Janet: # ... doc-janet-comment

Literal symbols
pipes |...| allow special characters inside symbols.  Sometimes \| is allowed inside (CL, not Racket):

Racket: |foo;bar(baz| or foo|;|bar|(|baz doc-racket-pipe, doc-racket-pipe-sym
Common Lisp: |foo;\|bar(baz| doc-cl-pipe

Rough plan:
1. Put some separation between Reader and Parinfer
For example, I built a minimal auto-formatting tool for Clojure as a set of callbacks to Parinfer’s reader here:
https://github.com/parinfer/parindent/blob/gh-pages/read.js
This reader takes a hooks object of callbacks— each triggered at certain times when reading:

onInitState
onInitLine
onOpener
onIndent
onFinalState

This might help me think more generally about what Parinfer needs to do and when.
2. Allow featureFlags or dialect option
If it is tractable, all featureFlags may be built into one reader, with combination presets supported with a dialect option.
3. Consider more non-recoverable “inside-out” error states
These feature flags may create more possibilities for unintended changes to strings or comments. (e.g. ERROR_QUOTE_DANGER)
The crux of the issue I believe is how non-directional delimiters like " (and now |) can be reversed while the document is being edited— i.e. a character can suddenly switch from meaning “open” to “close” if one is typed behind it.  And rather than it becoming imbalanced (thus suspending Parinfer), the newly opened delimiter can become closed by another character— accidentally entering into a valid but unintended “inside-out” state, erroneously allowing Parinfer to run and make changes to non-structural parts of the code.

We can use onecompiler.com to test Racket and Common Lisp:
https://onecompiler.com/racket/3xjvghuay
https://onecompiler.com/commonlisp/3xjvgwzbj


README files with prerequisites for specific samples missing

It would be very helpful for the user of the network toolkit if README files for samples, that require specific hardware, software, configurations or privileges, describing these prerequisites would be available. Currently one has to check the Knowledge Center for the operators that are used in the samples, if specific preconditions apply. That's not very user-friendly.

Thank you for this suggestion.


manifest caching in local_manifests

Avoids repeated file reads by caching successful loads. We never clear the cache since we'll error out on an invalid or out of date manifest.
Probably don't want to land this until we fix the integration test which is commented out, since that is the way that this code will get tested.
PTAL @july2993

Codecov Report

Merging #249 into master will decrease coverage by 15.08%.
The diff coverage is 33.43%.

@@             Coverage Diff             @@
##           master     #249       +/-   ##
===========================================
- Coverage   61.22%   46.14%   -15.09%
===========================================
  Files          40       37        -3
  Lines        2298     2837      +539
===========================================
- Hits         1407     1309       -98
- Misses        674     1296      +622
- Partials      217      232       +15

Flag
Coverage Δ

#coverage
?

Impacted Files
Coverage Δ

main.go
100.00% <ø> (ø)

pkg/repository/crypto/keys.go
0.00% <0.00%> (ø)

pkg/repository/v0manifest/component.go
26.66% <0.00%> (ø)

pkg/repository/v1manifest/local_manifests.go
0.00% <0.00%> (ø)

pkg/utils/ioutil.go
36.50% <0.00%> (-7.50%)
:arrow_down:

pkg/utils/sha.go
25.00% <0.00%> (ø)

pkg/version/version.go
80.00% <ø> (-10.00%)
:arrow_down:

pkg/repository/v1manifest/repo.go
6.30% <6.30%> (ø)

pkg/repository/mirror.go
20.33% <13.46%> (+4.67%)
:arrow_up:

pkg/repository/v1manifest/types.go
16.66% <16.66%> (ø)

... and 40 more

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 bfc4f15...3bf9549. Read the comment docs.

@nrc I try to uncomment the test and looks good in https://github.com/pingcap-incubator/tiup/pull/249/commits/886d57886066b16dcf29ff2569d2c70c9ca56300, just forget to init the map, I will merge this


New spines

@charwking please double check and merge when you have a chance.

The spines look like they're wrapping on to the next line. Check it out at https://dev.cwking.com/movieclub/#/


Add new hooks for the contact page

Questions
Answers

Description?
We want to move widgets to regular hooks to make life easier for theme developers

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes https://github.com/PrestaShop/PrestaShop/issues/29198.

Related PR
https://github.com/PrestaShop/classic-theme/pull/52

How to test?
Verify that the contact page is working properly. Make sure to test with https://github.com/PrestaShop/classic-theme/pull/52

Possible impacts?
Contact page display

Thank you @NeOMakinG


[Docs] How-To/Develop/"Create you own prompts" sample doesn't run

Describe the bug
Docs/How-To/Develop/"Create you own prompts" sample code doesn't run, doesn't link to sample that does, sample is different.  Sample code should be easy to run and be the same as what is presented in doc.
Additional context
Here are the links in the docs:
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-primitive-prompts?view=azure-bot-service-4.0&tabs=javascript
https://github.com/Microsoft/BotBuilder-Samples/blob/master/samples/javascript_nodejs/04.simple-prompt/bot.js
[bug]

Create your own prompt to gather user input updated to include simpler code that works and a sample has been added to the doc's sample repo also.


Feedback for: compose/compose-file/index.md

File: compose/compose-file/index.md
The ".env file" hyperlink results in a 404.
https://docs.docker.com/sorry/#/compose/compose-file/env-file/

Dupe of #1670 .


ANSIENG-4179

Description
This PR adds support for Alma Linux 8 and 9.
Fixes # (issue)
Type of change

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

How Has This Been Tested?
ARM64
AMD64
Checklist:

[ ] Any variable/code changes have been validated to be backwards compatible (doesn't break upgrade)
[x] I have added tests that prove my fix is effective or that my feature works
[ ] If required, I have ensured the changes can be discovered by cp-ansible discovery codebase
[x] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

Can you please add the link of  semaphore test runs for these scenarios

It would be good if we have an rbac/oauth scenario as well.


Prevent mailto links from opening the OS mail program

Seen in the some kiosk settings:
When browsing a webview with a mailto link, a click on the link will try to open the local mail program "Thunderbird" on our Linux boxes.
Write a "will navigate" watcher that prevents links like this from opening those links.
Bonus points: write a message that appears to the user that tells them why clicking on the link won't do anything.

Moved over from: https://github.com/scimusmn/electron-wrapper/issues/1

Moved to Jira - https://smm.atlassian.net/browse/EXTCH-46


[BUG]: Could not find com.kakao.sdk:v2-*

Is there an existing issue for this?

[X] I have searched the existing issues

Name, Version of @react-native-kakao/*
core/2.2.5, user/2.2.5
Version of react-native
0.74.4
What os are you seeing the problem on?
Android
What device types are you seeing the problem on?
Physcial Device
What architecture types of react native are you seeing the problem on?
Old Architecture(Bridge), New Architecture(Fabric)
Version of device(android API, iOS OS version, etc...)
Android 33
Expo App

[ ] I am using Expo

What happened?
I liked your project and tried to apply it, but I got the error below.
Could not find com.kakao.sdk:v2-*
When I init a new project to check, I get an error.
Kakao SDK is not found and won't build.
Both old and new will throw an error.
Works great on iOS
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET" />

    <application
      ...
      >
      <activity
        android:name=".MainActivity"
        ...
        >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>
      <!-- KAKAO SIGN -->
      <activity
        android:name="com.kakao.sdk.auth.AuthCodeHandlerActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:host="oauth"
                  android:scheme="kakao{NATIVE_KEY}" />
        </intent-filter>
      </activity>
    </application>
</manifest>

buildscript {
    ext {
        buildToolsVersion = "34.0.0"
        minSdkVersion = 23
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.22"
    }
    repositories {
        google()
        mavenCentral()
        maven { url "https://devrepo.kakao.com/nexus/content/groups/public/" }
    }
    dependencies {
        classpath("com.android.tools.build:gradle")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
    }
}

apply plugin: "com.facebook.react.rootproject"

Relevant a package.json.
{
  "name": "newArc",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest",
  },
  "dependencies": {
    "@react-native-kakao/core": "^2.2.5",
    "@react-native-kakao/user": "^2.2.5",
    "react": "18.2.0",
    "react-native": "0.74.4"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/babel-preset": "0.74.86",
    "@react-native/eslint-config": "0.74.86",
    "@react-native/metro-config": "0.74.86",
    "@react-native/typescript-config": "0.74.86",
    "@types/react": "^18.2.6",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.6.3",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "18.2.0",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  },
  "packageManager"<EMAIL_ADDRESS>}

Relevant log output
$ yarn android

info A dev server is already running for this project on port 8081.
info Installing the app...
5 actionable tasks: 1 executed, 4 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.kakao.sdk:v2-common:2.20.1.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom
       - https://repo.maven.apache.org/maven2/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom
       - file:/Users/lee/Desktop/newArc/node_modules/jsc-android/dist/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom
       - https://dl.google.com/dl/android/maven2/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom
       - https://www.jitpack.io/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom
     Required by:
         project :app > project :react-native-kakao_core
   > Could not find com.kakao.sdk:v2-user:2.20.1.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom
       - https://repo.maven.apache.org/maven2/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom
       - file:/Users/lee/Desktop/newArc/node_modules/jsc-android/dist/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom
       - https://dl.google.com/dl/android/maven2/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom
       - https://www.jitpack.io/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom
     Required by:
         project :app > project :react-native-kakao_user

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 5s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.kakao.sdk:v2-common:2.20.1. Searched in the following locations: - https://oss.sonatype.org/content/repositories/snapshots/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom - https://repo.maven.apache.org/maven2/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom - file:/Users/lee/Desktop/newArc/node_modules/jsc-android/dist/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom - https://dl.google.com/dl/android/maven2/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom - https://www.jitpack.io/com/kakao/sdk/v2-common/2.20.1/v2-common-2.20.1.pom Required by: project :app > project :react-native-kakao_core > Could not find com.kakao.sdk:v2-user:2.20.1. Searched in the following locations: - https://oss.sonatype.org/content/repositories/snapshots/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom - https://repo.maven.apache.org/maven2/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom - file:/Users/lee/Desktop/newArc/node_modules/jsc-android/dist/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom - https://dl.google.com/dl/android/maven2/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom - https://www.jitpack.io/com/kakao/sdk/v2-user/2.20.1/v2-user-2.20.1.pom Required by: project :app > project :react-native-kakao_user * Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org. BUILD FAILED in 5s.
info Run CLI with --verbose flag for more details.

Reproducible Sample Repository
https://github.com/mym0404/react-native-kakao/
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I got same issue..

// android/build.gradle
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 23
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
}
allprojects {
repositories {
maven {
url "https://devrepo.kakao.com/nexus/content/groups/public/"
}
}
}
apply plugin: "com.facebook.react.rootproject"
try this.

Issue template requires minimum reproducing sample for tracking issue properly, but it seems more build problem mentioned above.

@GyeongChan-Jang did you resolve issue?


Directive is not working with input type="number"

It seems like when the directive is used on an input field with type="number", newValue.length is undefined as it is not a string. This fix converts the value to string and makes it work properly with numbers.

Hey, I am quite late with accepting this PR.
I was not planning on doing much dev work on this plugin anymore as Angular 4+ is out already, and I myself am not doing any AngularJS any more. But I just took a quick look at your PR and it seems to make sense what you did.
I'll check if I can still publish this

Closed in favor of #7  (has better check + tests)

Hi Klaas,
Just wanted to drop a quick thanks for taking a look.
Cheers,

I should be ashamed it took me so long ;)


Adding Ultrack

Ultrack is a versatile and scalable cell tracking method designed to address the challenges of tracking cells across 2D, 3D, and multichannel timelapse recordings, especially in complex and crowded tissues where segmentation is often ambiguous

Thanks @LSeu-Open


Finalize the release of Jakarta XML Binding 4.0

Please complete the following steps to complete the release:

[x] promotes api staging release promotes the specification api jars to maven central. An example release job script can be found here https://wiki.eclipse.org/MavenReleaseScript.
[x] go through the merged jakarta.ee specification website page to verify all the links are valid.
[x] if XML Schemas are published on https://jakarta.ee/schemas, send a PR to update the status from Draft to Final.
[x] approve the compatibility request.
[x] The compatible implementation project/vendor MUST send an email to<EMAIL_ADDRESS>for approval of the compatible implementation for trademark usage.
[x] merge any final release branch as appropriate for the branch management for the project.

done


Add has and remove methods

Add has and remove methods to use Config easier
Add tests for method has and method remove
Add .idea to .gitignore for phpstorm's users

Hi, thanks for the pull request.
Personally I wouldn't add a remove() method, we've discussed this in the past and don't think it's within this library's scope.
That said, the has() method seems useful, thoughts @noodlehaus @DavidePastore?

I understand. For me, it's like offsetUnset of ArrayAccess.
What do you think If I change remove and i call it forget for example ?

To be completely honest, the only reason we have offsetUnset is so we can use ArrayAccess, changing the method name isn't the problem, it's just that we don't want to introduce that functionality at all for simplicity's sake.
Obviously if more people want this, then there's no problem :+1:

I agree with @hassankhan, I've never used it in another way.

Ok, I update and remove remove method.

Thanks for the PR!


Can't paste login info

Trying it out on Mac, and i cant paste my login information.
And since i', using a password manager, it tends to be very tedious to login.
I imagine that could be the case for many others.

Oh that's a good point; I'll have to check this out to see what I can do.
At the very least, it only affects the first launch right?

Alright, I pushed an attempted fix. I can't confirm or deny if this is working because the windows version appears to copy/paste just fine already, but let me know if this does the trick for the Mac version!
https://cdn.discordapp.com/attachments/680826925954236509/1231923154465718323/PokeRogue-macOS.zip?ex=6638b8d8&is=662643d8&hm=e1f0231d7f4cfa987534ab4b9bf5c5296f88b920b0f2b9cc5fe8cb6c9c6e2eb5&
(Yes I used discord to upload the file to then link you said file)


CoreOS setup-network-environment script is gone?

This is missing and will break all CoreOS related stuff
https://storage.googleapis.com/k8s/setup-network-environment.
/cc @antoniomeireles @kelseyhightower

@pires looks so - i just did AntonioMeireles/kubernetes-vagrant-coreos-cluster@15190453fdec3ae4e7b281db89ca521f76930fee to get around it ... waiting a bit to see if it was transient or not before propagating it urbi et orbi.

Well, I think it's better if we just use the upstream and not said missing URL.

@pires This is not resolved.

I'm not sure I follow you @kelseyhightower. So you mean this binary is no longer needed?
I don't understand why the issue was closed.

Nevermind closed by #8409


javascript files are not loaded recursively

E.g. https://github.com/MarshalX/telegram-crawler/blob/3cd6a1bcefc0e074ef13e7e1ab425c19a0ef07b8/data/telegram.org/js/tgsticker.js#L118

tgsticker-worker.js

pako-inflate.min.js
rlottie-wasm.js

I believe for now simply going for ["']/js/\w+.js["'] could work.

Manually including those files would work as well.

Huh. Sorry for long answer. I disabled notification for this repo :D

JavaScript files are adding without searching sub links in content for now. Its a good point to add the same analyzing like for text documents in it

https://github.com/MarshalX/telegram-crawler/commit/1cfa2b0f2440373e5f09122f473fa89281ffc616


Support for conditional meta example generation

linear_ridge_regression meta example depends on CLinearRidgeRegression which requires HAVE_LAPACK. We need a way to not to generate the cpp example if a given library (that is required for the meta example) is not available.
@karlnapf

This mechanic is already in place, though hacky.
See https://github.com/shogun-toolbox/shogun/blob/develop/cmake/FindMetaExamples.cmake

I can send a fix later ...

Should be fixed in de9735a662eba90388f052ddf34c5d6ca6867a8d


Add more admin-UI Tobira endpoints

This adds

a) an endpoint to get paths of pages in Tobira that host an event
b) an endpoint to update the path of a series in Tobira

This shouldn't break any existing behaviour.
These are needed for additional requirements of https://github.com/opencast/opencast-admin-interface/issues/311.
Corresponding Tobira and admin-UI PRs: https://github.com/elan-ev/tobira/pull/1225, https://github.com/opencast/opencast-admin-interface/pull/878.
Your pull request should…

[ ] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[ ] have a clean commit history
[ ] have proper commit messages (title and body) for all commits

Converted to draft bc we might still need to change some things on the Tobira side, which will then trickle down to this and the admin-UI PR.

FYI: Branch cut for OC 17 is on November 6!

Well, in that case... :magic_wand:


Append default port (51235) in [ips] and [ips_fixed] when no port is specified

FIXES: #2861

We need to think of a transition plan. An option might be a config setting that opens 2459 and 51235 to support both new style and legacy connections.

Could work but seems redundant, listening on two ports for the same protocol / use case.
Related to the discussion of #2931, perhaps a good solution would be to try both ports on the client side and select the first one that works? As you mentioned there it's not ideal but would provide an interim solution until the majority of the network switched over to the new port at which point we could simplify / just use new standardized port.

Codecov Report

Merging #3235 into develop will decrease coverage by 0.46%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop    #3235      +/-   ##
===========================================
- Coverage    70.78%   70.32%   -0.47%
===========================================
  Files          692      675      -17
  Lines        55244    53188    -2056
===========================================
- Hits         39104    37402    -1702
+ Misses       16140    15786     -354

Impacted Files
Coverage Δ

src/ripple/beast/net/IPEndpoint.h
84.21% <0%> (-4.68%)
:arrow_down:

src/ripple/overlay/impl/OverlayImpl.cpp
29.28% <0%> (-0.36%)
:arrow_down:

src/ripple/protocol/impl/Rate2.cpp
50% <0%> (-47.37%)
:arrow_down:

src/ripple/app/paths/impl/FlowDebugInfo.h
0% <0%> (-17.62%)
:arrow_down:

src/ripple/rpc/handlers/SignFor.cpp
90.9% <0%> (-2.43%)
:arrow_down:

src/ripple/app/paths/impl/DirectStep.cpp
77.32% <0%> (-2.15%)
:arrow_down:

src/ripple/protocol/impl/UintTypes.cpp
95.83% <0%> (-2.09%)
:arrow_down:

src/ripple/protocol/STPathSet.h
96.69% <0%> (-1.66%)
:arrow_down:

src/ripple/ledger/impl/PaymentSandbox.cpp
55.43% <0%> (-1.41%)
:arrow_down:

src/ripple/app/tx/impl/SetTrust.cpp
94.97% <0%> (-1.01%)
:arrow_down:

... and 41 more

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 90d9ca9...90494ba. Read the comment docs.

Yes, the main motivation for set_port was to reduce the copy but I see you point. Updated with no interface changes and some extra copying.


shared strictVersion uses this module version instead of the package version

      shared: {
        react: {
          eager: true,
          singleton: true,
          strictVersion: true,
          requiredVersion: deps.react,
        },

adding the strictVersion key causes this error
Uncaught Error: Unsatisfied version 1.1.2 of shared singleton module react (required =17.0.2)

Looks like it's somehow using the version of this package instead of the specific package.
seems like this packge is just passing the shared key into the ModuleFederationPlugin
https://github.com/module-federation/nextjs-mf/blob/main/withModuleFederation.js#L70

Have done a major release -  try it now with v2