Set user property and response information as part of connect ack

I am trying to use Vernemq Webhook "auth_on_register_m5" to set user property and response information using modifier field. But it is not working and giving error
is it possible to set these using webhook ?
My webhook (in python)
@api.route('/auth_on_register_m5', methods=['POST'])
def post_auth_on_register_m5():
input = json.loads(request.data);
print(input);
output = {
"result": "ok",
"modifiers" : {
"properties" : {
"p_user_property": [
{
"key"   : "azE=",
"val" : "djE="
}
]
}
}
}
print (output);
return json.dumps(output)
Environment

VerneMQ Version: 1.9.2-1
OS: Linux
Erlang/OTP version (if building from source):
VerneMQ configuration (vernemq.conf) or the changes from the default  : default but vernemq webhook plugin is enabled
Cluster size/standalone:  3

Expected behaviour
user property shall be set in the connect ack response
Actual behaviour

Please include minimal steps to reproduce the issue, if possible.
New session with PID <9043.27941.1> found for client "mnallath"
<9043.27941.1> MQTT RECV: CID: "mnallath" CONNECT(c: mnallath, v: 5, u: mnallath, p: mnallath@123, cs: true, ka: 60)
with properties: #{p_request_response_info => true,
p_user_property => [{<<"k1">>,<<"test">>}]}
<9043.27941.1> Calling auth_on_register_m5({{10,11,0,157},49182},{[],
<<"mnallath">>},mnallath,mnallath@123,true)
with properties: #{p_request_response_info => true,
p_user_property => [{<<"k1">>,<<"test">>}]}
=ERROR REPORT==== 31-Mar-2021::09:50:31.583374 ===
** Generic server vmq_tracer terminating
** Last message in was {trace,<9043.27941.1>,return_from,
{vmq_plugin,all_till_ok,2},
{ok,#{properties =>
#{p_user_property =>
[{<<"k1">>,<<"v1">>}]}}}}
** When Server state == {state,<0.63.0>,
{10,100},
<<"mnallath">>,[],200,<9043.27820.1>,
[{<9043.27941.1>,
#Ref<9043.1769218470.304349186.197667>}],
undefined}
** Reason for termination ==
** {function_clause,
[{lists,foldl,
[#Fun<vmq_tracer.3.50438788>,[],
#{properties => #{p_user_property => [{<<"k1">>,<<"v1">>}]}}],
[{file,"lists.erl"},{line,1262}]},
{vmq_tracer,format_all_till_ok_ret_,2,
[{file,"/vernemq-build/apps/vmq_server/src/vmq_tracer.erl"},
{line,548}]},
{vmq_tracer,format_all_till_ok_ret,3,
[{file,"/vernemq-build/apps/vmq_server/src/vmq_tracer.erl"},
{line,537}]},
{vmq_tracer,format_trace,2,
[{file,"/vernemq-build/apps/vmq_server/src/vmq_tracer.erl"},
{line,497}]},
{vmq_tracer,handle_info,2,
[{file,"/vernemq-build/apps/vmq_server/src/vmq_tracer.erl"},
{line,219}]},
{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,711}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}

@nmurugesan this is a somewhat complex topic, apologies for only a couple of quick notes.
To see what's possible at this point, we need to separated things a little bit:
First, the MQTT packet types. See here:
https://github.com/vernemq/vernemq/blob/8c498e46fe4e017d8656cfa0533d5951ef391f09/apps/vmq_commons/src/vmq_types_mqtt5.hrl#L127
You'll see that the ?P_USER_PROPERTY_ASSOC is missing from the CONNACK packet. The reason for that is that Verne is not using the user property to send more internal information to the client (as described by the spec).
Second, the modifiers:
They are different, per hook. They allow the plugin to override certain options. This is unrelated to what is sent back to the client, or not. That is, only because something is modified, information about that is not necessarily sent back to the client.
Third, we need to check what happens in the MQTT5 statemachine where the PACKETs are actually handled, and checked against the plugin hooks.
I only could do a quick assessment, but my take is that what you want probably does not work as is. I also thinks it's an interesting idea and use case though.

@ioolkos  Thank you for the reply.  I want to send "subscribe-topic” as key,  user property,  to connect ack response and expecting the client to use this property to subscribe to the topic ( instead of hard coding topic to subscribe in the client side ).
Sending user property in the connect ack response seems to be the MQTT-5 requirements (as per standard). Is there any other way i can achieve this ?
in my setup, only vmq diversity and vmq webhook is enabled. vmq webhook is high priority and returning ok from there

@ioolkos  Thank you for the reply.


Multi-line sheet music

Hi, calvozaragoza. Very nice work!
I tried some one-line sheet music, and it worked fine.
But there's a bit problem of multi-line: the "str_predictions" is empty in:
str_predictions = ctc_utils.sparse_tensor_to_strs(prediction) for w in str_predictions[0]:     print (int2word[w]),     print ('\t'),
Will the project support a multi-line sheet music?
Thanks,
Pei Mu

This is the test sheet music.


Docs: Update docs/2.guide/2.directory-structure/1.plugins.md

❓ Type of change

[x ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Needs updating, as using Vue plugins is now way simpler than as described currently.

There may well be something I've missed here . Just installing primevue and it seems creating a plugin file inside 'plugins'  is indeed needed in this case. Some plugins seem to not need that though. Need an expert here ;) But I do think the docs do need updating anyhow

A Vue plugin needs to be installed on the Vue app (https://vuejs.org/guide/reusability/plugins.html#plugins). So we need to communicate how to do that. What do you think is wrong about the docs here? (Is it specific to the vue-gtag example?)


--suppress-duplicate-check  regression

deploy the same contract again with the following option:
cleos set contract --suppress-duplicate-check addressbook /Users/hanliu/docs_task/onboarding/inline_action/addressbook
Got error:
Error 3160008: Contract is already running this version of code
shouldn‘t the cleos just re-deploy the code？

referred in a different issue #6343

--suppress-duplicate-check only suppresses the client side duplicate check.  It removes one round trip exchange to the server and back again.  Nothing can suppress the server's duplicate check, which is what you are seeing.
The most common cause of duplicate failures is modifying something in your contract code that the compiler is optimizing out.  Changing it makes no difference to the compiled code, since the compiler removed it.  Generally speaking you must change code that is actually being used before your contract will compile distinctly differently.
If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bug reporting and feature tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!


Add "path" to Response object

From<EMAIL_ADDRESS>on October 02, 2011 16:12:00
Allow for e.g.
get("/something").andReturn().path("x.y.%s", String.class, "tjo");
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=110

From<EMAIL_ADDRESS>on October 06, 2011 10:05:59
Status: Fixed


Computing out-of-sample stdev

Was #6  closed because it was implemented?
I see that predictions on the test set include both the predicted value pred and the standard deviation stdev.
julia> result["predictions"]
500000×5 DataFrames.DataFrame
│ Row    │ E1   │ E2   │ values │ pred    │ stdev     │
├────────┼──────┼──────┼────────┼─────────┼───────────┤
│ 1      │ 5121 │ 1923 │ 4.0    │ 4.17571 │ 0.106283  │
│ 2      │ 481  │ 3528 │ 5.0    │ 3.80128 │ 0.309201  │
│ 3      │ 1279 │ 3175 │ 4.0    │ 2.9776  │ 0.237935  │
│ 4      │ 5364 │ 1172 │ 5.0    │ 4.29892 │ 0.143759  │
│ 5      │ 424  │ 1356 │ 4.0    │ 3.91691 │ 0.103391  │
│ 6      │ 258  │ 457  │ 5.0    │ 4.4669  │ 0.0985462 │
│ 7      │ 1978 │ 2555 │ 1.0    │ 1.36788 │ 0.290181  │
│ 8      │ 1150 │ 193  │ 1.0    │ 1.55493 │ 0.160465  │
│ 9      │ 2279 │ 1097 │ 5.0    │ 4.00714 │ 0.184425  │
⋮

However, the full predictions include only the predicted values themselves, and not the stdev.
julia> result["predictions_full"]
6040x3952 Array{Float64,2}:
 4.39071  3.91885  3.64339  3.41556  3.72048  3.98654  …

I'm looking to assess prediction uncertainty for out-of-sample entity pairs.
My current understanding of how to implement this is to modify macau.jl so that in addition to storing the sum over sampled predictions during sampling, like it does on line 146 (https://github.com/jaak-s/BayesianDataFusion.jl/blob/master/src/macau.jl#L146), it would additionally store what's needed to compute variance (basically the sum of squares, though some adjustments are needed for numerical precision https://dl.acm.org/doi/10.1145/3221269.3223036).
Is this something you be interested in including, unless it's already available?

Yes, we would be interested to include that functionality. For example, we could add another field called result["predictins_full_stdev"] to store the matrix (tensor in the general case) of standard deviations.
Are you interested to make a pull request?

I'll give it a try! I'm new to Julia, so this may take a while.

Cool! Let me know if you need any help.


CPP 17 transfer

brad@5k-lame-brain ~/g/thunder (cpp17) [128]> git rebase
dropping b01fd4daceba1724444cb49ed91e7cc871e9bbe0 Upgrade: C++17 upgrade -- patch contents already upstream
Successfully rebased and updated refs/heads/cpp17.

I was taking a break from figuring out the port issues and started doing some here too. :joy_cat:


Errors with historic data example

https://github.com/liampauling/betfair/blob/master/examples/examplehistoricdata.py
Firstly thanks for creating and sharing this repo.
I seem to be getting an error in the code which is similar to an issue initially mentioned here:   https://github.com/liampauling/betfair/issues/321
Section of code causing error
# get file list file_list = trading.historic.get_file_list(     "Horse Racing",     "Basic Plan",     from_day=1,     from_month=3,     from_year=2017,     to_day=31,     to_month=3,     to_year=2017,     market_types_collection=["WIN"],     countries_collection=["GB"],     file_type_collection=["M"], ) print(file_list)
Is this a known issue or any suggestions to resolve?
(edited the code slightly for non-cert but i believe the error is unrelated) Thanks again.

JSONDecodeError                           Traceback (most recent call last)
c:\users\k\appdata\local\programs\python\python38-32\lib\site-packages\betfairlightweight\endpoints\historic.py in request(self, method, params, session)
198         try:
--> 199             response_json = json.loads(response.content.decode("utf-8"))
200         except ValueError:
c:\users\k\appdata\local\programs\python\python38-32\lib\json_init_.py in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
356             parse_constant is None and object_pairs_hook is None and not kw):
--> 357         return _default_decoder.decode(s)
358     if cls is None:
c:\users\k\appdata\local\programs\python\python38-32\lib\json\decoder.py in decode(self, s, _w)
336         """
--> 337         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338         end = _w(s, end).end()
c:\users\k\appdata\local\programs\python\python38-32\lib\json\decoder.py in raw_decode(self, s, idx)
354         except StopIteration as err:
--> 355             raise JSONDecodeError("Expecting value", s, err.value) from None
356         return obj, end
JSONDecodeError: Expecting value: line 4 column 1 (char 6)
During handling of the above exception, another exception occurred:
InvalidResponse                           Traceback (most recent call last)
 in
1 # get file list
----> 2 file_list = trading.historic.get_file_list(
3     "Horse Racing",
4     "Basic Plan",
5     from_day=1,
c:\users\k\appdata\local\programs\python\python38-32\lib\site-packages\betfairlightweight\endpoints\historic.py in get_file_list(self, sport, plan, from_day, from_month, from_year, to_day, to_month, to_year, event_id, event_name, market_types_collection, countries_collection, file_type_collection, session)
146         params = clean_locals(locals())
147         method = "DownloadListOfFiles"
--> 148         (response, response_json, elapsed_time) = self.request(method, params, session)
149         return response_json
150
c:\users\k\appdata\local\programs\python\python38-32\lib\site-packages\betfairlightweight\endpoints\historic.py in request(self, method, params, session)
199             response_json = json.loads(response.content.decode("utf-8"))
200         except ValueError:
--> 201             raise InvalidResponse(response.text)
202
203         return response, response_json, elapsed_time
InvalidResponse: Invalid response received:

ngErrorRedirect

        Error

The historic data endpoint is a bit flaky. You might find that running exactly the same code immediately afterwards works fine.

Thanks you're right i ran the script again and it gave me a different error. This time i was able to find the issue. SOLUTION: Need to purchase a data plan on BF for horse racing 2017 before it could progress


Harmonium documentation demo topbars overlap with side nav on small screens

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request

What is the current behavior?
On the Harmonium documentation, the topbar demonstrations overlap with side nav on small screens
For bugs: please provide steps to reproduce and tell us a little about your environment (e.g., what OS and version of the package you're using)
This bug is on the Harmonium documentation. If nothing is wrong with my computer, everyone should observe the same behavior when they visit the website.
What is the expected behavior?
The topbar demo should not be visible when the side nav is present.
For feature requests: why should the behavior change?
For clarity and better user experience.
Screenshots:

A preliminary fix could be to set the z-index of the main tag to 0. That will make the website look normal visually. We can then investigate the root cause later if necessary.


"Unable to get vulns for dependencies in 30076ms: timeout"

Describe the bug
Calls keep timing out, which breaks our parity test.
To Reproduce
Call https://google.github.io/osv.dev/post-v1-querybatch.
Expected behavior
The API should return vulns instead of timing out.

Thanks for letting us know! We are currently looking into this.
Can you confirm the timeout was happening after 30 seconds, not 60 seconds?

Per https://github.com/google/osv-scanner/issues/856, I am seeing 20+ failures per day in CI, for the last few days, including right now.  Also I can reproduce it locally.

The timeout issues should be mitigated now, and we are currently looking at more options for preventing this in the future. Please test it out!

The most recent parity test passed.
To answer your question about the delay, yes, it's 30 seconds:
new OkHttpClient.Builder()   .connectTimeout(20, SECONDS)   .readTimeout(30, SECONDS)

Just now:
[2024-03-13T19:26:34.945Z] INFO: Got vulns for dependencies in 8806ms [2024-03-13T19:26:34.945Z] INFO: Fetched vulns for 500 dependencies in 8811ms [2024-03-13T19:26:44.902Z] Exception in thread "main" com.foo.vulns.finder.VulnsFinderException: Unable to get vulns for dependencies in 10034ms: api.osv.dev: Name or service not known [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.osv.OsvApiUtils.getResponse(OsvApiUtils.java:203) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.osv.OsvApiUtils.fetchImpl(OsvApiUtils.java:234) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.osv.OsvApiUtils.fetchVulnsOnePage(OsvApiUtils.java:251) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.osv.DefaultVulnsFetcher.fetchOnePage(DefaultVulnsFetcher.java:14) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.osv.OsvApiUtils.fetchVulns(OsvApiUtils.java:293) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.osv.OsvApiUtils.fetchVulns(OsvApiUtils.java:318) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.VulnsFinderMainUtils.runAllWithApiCall(VulnsFinderMainUtils.java:24) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.VulnsFinderMainUtils.runAll(VulnsFinderMainUtils.java:57) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.MainUtils.visit(MainUtils.java:38) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.MainUtils.visit(MainUtils.java:43) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.MainUtils.visit(MainUtils.java:43) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.MainUtils.mainImpl(MainUtils.java:58) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.parity.ParityCheckerUtils.checkParity(ParityCheckerUtils.java:322) [2024-03-13T19:26:44.902Z] 	at com.foo.vulns.finder.parity.ParityChecker.main(ParityChecker.java:35) [2024-03-13T19:26:44.902Z] Caused by: java.net.UnknownHostException: api.osv.dev: Name or service not known

Hi @jimshowalter , that latest trace looks like it might be some transitive issue resulting from your DNS resolver? Would it be possible for you to add retries on your end to mitigate that?

Agreed, and yes.

In fact, I just learned we had a DNS latency problem.

I'll close this issue for now, given that we've largely mitigated the timeouts we were seeing.


Allow an operator to configure which addons get bootstrapped to a CFCR

What this PR does / why we need it:

This PR allows an operator to chose which addons get applied to a CFCR cluster. This modifies the apply-specs errand behaviour.

Today GKE allows a toggle behaviour on addons applied in a cluster using the --update-addons flag

An operator may not want to use the default addons. For example GKE does not recommend using the Dashboard.

How can this PR be verified?

This does not change the behaviour of CFCR clusters today, so as long as current tests pass. Nothing should be different.

I have chosen to keep kube-dns as a default always applied add-on because it is required for the cluster to work. I do not think the others are required.

Is there any change in kubo-deployment?
N/A
Is there any change in kubo-ci?
N/A
Does this affect upgrade, or is there any migration required?

I do not think this will affect upgrades.
This will not remove an add-on from a cluster if it is removed from the apply-specs job.
There may be behaviour I have not thought of during an upgrade, if the jobs spec changes and apply-specs is run

Which issue(s) this PR fixes:
Release note:
An operator can now chose which system addons get applied to their cluster after creation.

Hey,
Thanks for the PR.
We have a few question on this:

Why would it be valid to turn on the Dashboard without heapster/influxdb? From what we can see, GKE only allows Dashboard to be disabled using --update-addons
If we allow to disable Heapster we are not providing a way to deploy an alternative example Would it be expected for the end user to deploy an alternative metrics scraper? We plan to enable Horizontal Pod Autoscaler by default which will require a metrics scraper.
What is the use case for this PR other than matching GKEs' recommendation to disable dashboard?

@henderjm

Why would it be valid to turn on the Dashboard without heapster/influxdb? From what we can see, GKE only allows Dashboard to be disabled using --update-addons

Dashboard doesn't need either of those to operate as a kubectl alternative. It has extra functionality built around metrics that can be exposed when the two are available, but it's not necessary. In fact, previous releases of CFCR had Dashboard and Heapster misconfigured and thus those metrics options weren't available, while Dashboard otherwise was.

If we allow to disable Heapster we are not providing a way to deploy an alternative example Would it be expected for the end user to deploy an alternative metrics scraper? We plan to enable Horizontal Pod Autoscaler by default which will require a metrics scraper.

The Heapster that we deploy today (over TLS) actually doesn't work with the HPA and there's no intent to provide that support (from either the HPA or Heapster). As-is, it only works with commands like kubectl top if you add an extra flag --heapster-scheme=https. PR #211 enables an extra service called metrics-server and configures the API so that HPA will work. The PR also gives users the option to not install/uninstall Heapster. Right now, Heapster is being used by a few other workloads in the PKS world (Wavefront), but for any new clusters of plain CFCR being deployed, it shouldn't be a necessity. If Heapster is a requirement of the workloads being deployed then it would be up to the operator to deploy it themselves.

Thanks @tvs for the detailed update 👍
@henderjm ignoring any PKS use-cases I think that a CFCR operator should be able to control what gets bootstrapped to cluster (so long as that cluster remains functional). I think the fact GKE recommends not to enable it was just another point for allowing it, but not the only reason.
As Travis detailed above, I don't think any of the kube-system addons require each other necessarily.
I won't comment on #211 about deleting entirely heapter. But I think it would be a nice to have to optionally configure something which isn't needed.
I don't particularly like the idea of using a list to define the allowed addons like I did in the PR. But I couldn't see another way for ruby / bosh to get that list from. Maybe something you all can discuss if you see this as useful.

Merged, though it needed a few changes: https://github.com/cloudfoundry-incubator/kubo-release/commit/5e5c0e4859ca659d663feeda17c93912c8941d20
Thanks @neil-hickey !


fix #147 bcolors moved

Coverage increased (+0.01%) to 51.246% when pulling 4ac5105183358ece3a5766fe5590ef2e3b0da2f3 on hackaugusto:develop into 9bccd66668308f5b5c11372184504d2b3027150c on ethereum:develop.

Oops.  Sorry for breaking this upstream.  For reference, this broke with the refactor from this PR https://github.com/ethereum/pyethereum/pull/369


License

Could you please mention the license of NanoDet? Thanks

Update to Apache 2.0 license (#155 )


community dashboard

https://github.com/cncf/devstats/issues/229
moving from devstats as this might be the better place for it anyway.
Display community facts and quantitative information.
-twitter stats for https://github.com/kubernetesio (impressions, shares, etc)
-slack stats (messages sent, # of channels, etc)
-meetup stats (# of meetups, # of members, etc - this is on the website too)
-YouTube playlists - how many, link to last meeting on the list
-current release and other release stats
-chairs and tech leads stats (changes to sigs.yaml in the community repo: how many new chairs/tls this year, avg tenure, etc)
-github - number of repos in the org
TODO
where on the site?
break down the needs of each one / if it has an api / how we get keys to it

Hey @parispittman I wanna work on this issue can you help me out?

@SuperAayush - for sure, come to #sig-contribex on slack
we might be able to use this
https://github.com/cncf/landscape-graph#how-can-a-graph-help-us

Yes!  How can I engage?  I've created this so that it could be (specifically) a community dashboard.  Here's a few things of note happening in the project in the last week :)
On hosting logistics:

(in progress) https://github.com/cncf/landscape-graph/issues/40#issuecomment-1111662444

On prior art

https://github.com/cncf/landscape-graph/issues/5

https://github.com/community-graph
https://github.com/community-graph/dashboard (useful bits)

On design targeted to enable community engagement

(in progress) --> https://github.com/cncf/landscape-graph/issues/54
(next) https://github.com/orgs/cncf/projects/7/views/2

Hey @halcyondude i have tried looking for docs to try this locally unfortunately I couldn't find one can you help me with this

Yes certainly, this is still very early days :)
If you want to experiment today, start here --> https://github.com/cncf/landscape-graph/blob/main/apps/local-docker/local-docker-neo.sh

/remove-lifecycle stale

@halcyondude is there any update?


Fixes failure to pass launch arguments: Adds scheme to fileURL in SnapshotHelper running on Simulator

Returns a fileURL with the existing path rather then returning the or…iginal URL, which lacks a scheme.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[ ] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary.

Description

In Snapshot's SnapshotHelper.swift, I modified the pathPrefix method to return a file scheme URL rather then a url without a scheme when running on the simulator. This fixes an issue where required launch argument resources could failed to be located in the filesystem when running on the simulator.
Motivation and Context

After upgrading my Fastlane Snapshot today, I found that none of my associated UITests would complete. I isolated the and described the issue in #8787.
This changes solves the inability to run snapshot in the simulator with launch arguments.

#8787

Snapshot now runs properly in my project.

Signed CLA

@ohayon Any further thoughts on this? Would love to get it pulled in as I'm being prompted to update my helper.

Please update the snapshotHelper file version also, otherwise we wouldn't be aware of that. Except for that, nice fix!

Ah yeah, nice catch @gagaJay, thanks 👍


fix: add create_launch_template to node group pet marker

PR o'clock
relates to: https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1348
Description
When changing create_launch_template ONLY on my node_groups, it caused terraform to blow up because it couldn't create a new node group with the same name. This took me by surprise.
Checklist

[x] CI tests are passing
[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

@barryib appreciate you are probably very busy, but any chance this could get a review?

@barryib ok, assuming that PR gets merged soon then i'm happy for this to be closed
This feature missing was a PITA to resolve when i needed to cycle a full node group, which resulted in terraform erroring out as the nodegroup already existed. We went from no Launch Template to having one which didn't change the pet-name but resulted in a re-creation because of #1348 meant our entire mesh network died due to nodes having different security groups based on launch template


Placing an auto-locking block when lock limit was reached denies placement

Basically, if there is a limit on how many locks you can have for a certain block, and you have that ammount locked, it does not let you place them.  This was specifically found with chests.

Oh man I did not think of this case, sorry. I'll try my best to get this fixed soon. Appreciate the report as always.

This has been fixed in the latest release! Hooray.


Lots of Uncraftable Blocks

Andesite, Diorite, and Granite Bricks are uncraftable, and all the pillars are uncraftable, paved gabbro bricks are uncraftable, mossy and overgrown gabbro bricks are uncraftable, and gabbro tiles are uncraftable.

All craftable in the Stonecutter iirc. I wish there was a Stonecutter JEI plugin. That said it'd be nice to have them craftable in the crafting table like vanilla

I think it's ok to keep it to the stone cutter - I actually really like this block. But JEI support for it is something which should be added to JEI itself.


When deploying tipbot ruby version is incorrect.

-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.3.1
-----> Installing dependencies using bundler 1.13.6
Running: bundle install --without development:test --path vendor/bundle --binstubs
vendor/bundle/bin -j4 --deployment
Your Ruby version is 2.3.1, but your Gemfile specified 2.2.3
Bundler Output: Your Ruby version is 2.3.1, but your Gemfile specified 2.2.3
!
!     Failed to install gems via Bundler.
!
!     Push rejected, failed to compile Ruby app.
!     Push failed

You have to change the version to 2.3.1 in the Gemfile.lock


Will ui-select support the select2 matcher?

As https://select2.github.io/examples.html#matcher says, user can customize how results are matched.

Use a custom filter in ui-select-choices repeat attribute.
...
<ui-select-choices repeat="value.id as value in options | filter: $select.search">
...


Create automated test script

Should traverse and test most of the basic interactions for the application.

On the basis of MechanicalSoup/tests and robobrowser/tests, I'm going to go with robobrowser for this one.

Initial work in https://github.com/ContinuumIO/memex-explorer/blob/kdodia/tests/tests/test_interactions.py


$modal: Cannot disable backdrop/keyboard after modal has been instantiated

In a common modal with a submit action, we need to be able to change whether the modal can be closed by clicking on the backdrop or by hitting ESC.
example case:

User clicks submit and is waiting for response from server (there is even an activity indicator)
User hits ESC by mistake or clicks on backdrop because he gets bored, modal goes poof

I am closing this as I do not think this is an appropriate feature to move into this library. One can always work around this by having a modal controller with a close method that checks a condition before allowing the user to close the modal, which is the appropriate approach.

@wesleycho Can we re-open this?  As it stands, the 'backdrop' and 'keyboard' properties can only be specified when the modal is instantiated and @georgiosd use-case is reasonable and probably frequently utilized (disable escaping the modal via esc key or clicking outside the modal while data retrieval is in process).
Hitting escape on your keyboard or clicking outside the modal do not invoke (at least natively) any controller function and instead make calls to $dismiss and $close in the modalStack object, so your solution to have a "controller with a close method that checks a condition before allowing the user to close the modal" doesn't seem applicable.
As it stands the only solution that works is the decorator solution @lucassus provided, and I think its a reasonable request to be able to modify these properties within the modal itself, rather than only at insantiation time.

 $('#myModal').data('bs.modal')._isShown = false;
Just worked perfect for me on Bootstrap 4.1


Bug: BaseModelView cannot load queryset with relational field, whose model is not linked to admin

Describe the bug
I have multiple tables, say Nomenclature and Segment, which are linked by m2m table NomenclatureToSegment.
NomenclatureToSegment has a composite primary key, so I cannot load it to admin (a known limitation).
Now, if I just query the list page of NomenclatureAdmin, it will return an empty list. The query returns 404.
http://<IP_ADDRESS>/admin/api/nomenclature?skip=0&limit=10&order_by=uuid%20asc

The exact place, where it falls, is here:
https://github.com/jowilf/starlette-admin/blob/9d4924cf228a06b8cdf968878a00c04d9ddc208f/starlette_admin/base.py#L317
https://github.com/jowilf/starlette-admin/blob/9d4924cf228a06b8cdf968878a00c04d9ddc208f/starlette_admin/views.py#L503
https://github.com/jowilf/starlette-admin/blob/9d4924cf228a06b8cdf968878a00c04d9ddc208f/starlette_admin/base.py#L265
The error is (404, 'Model with identity nomenclature-to-segment not found')
It cannot resolve the model for a relational field, because the respective model is not linked to admin panel.
I don't understand how to easily fix this, since there are a lot of components under question.
Environment (please complete the following information):

Starlette-Admin version: [e.g. 0.8.0]
ORM/ODMs: SQLAlchemy

Additional context
The query returns a queryset, if I add select2 GET-parameter, but I don't understand how do I add it automatically.
http://<IP_ADDRESS>/admin/api/nomenclature?skip=0&limit=10&order_by=uuid%20asc&select2

You need to add your link model NomenclatureToSegment to your admin interface. If you don't want it to appear in your admin interface, you can override ModelView.is_accessible method

Closing this issue in favor of #226 . Please continue the discussion there!


fix charts deployment to apps/v1

fix the first issue of #393 Error: apiVersion "apps/v1beta2" in healthscope/templates/deployment.yaml is not available

lgtm


Fullscreen function pushing column 80 off-screen

When I run the VM in CGA, machine=[cga],[tandy],[amstrad] , clicking the fullscreen button works correctly. However, when I switch to EGA or higher, clicking fullscreen pushes column 80 off-screen. I'm running DOS Wasm X v0.2 and have made no other changes to the files.

How are you updating it to use CGA, are you updating the dosbox-x-for-web.conf file?

Yes, that's how I made it use CGA.
Other workarounds I've found use the utilities in the TEXTUTIL folder. I run EGA.COM and either 80X60.COM or 80X43.COM. This causes the mouse position highlighting to fail.

I see, ok I was able to recreate it using the EGA.COM script. it looks like there's a bug when you go fullscreen and the app is wider than you're screen. I'll take a look at, thanks for reporting.

Here is a solution I created by changing the parameters in the dosbox-x-for-web.conf file.
Before
[sdl]
autolock=true
showdetails=true
showmenu=false
mouse_wheel_key=1
After
[sdl]
autolock=true
showdetails=false
showmenu=false
output=direct3d
fullresolution=original
mouse_wheel_key=1
Before
[render]
scaler=none
After
[render]
aspect=true
I had the best results with the monitor resolution set to one of these: 1152x864 1024x768 832x624 800x600 720x480 or 640x480.
With the monitor resolution set to one of these, the text displayed correctly but did not fill to the edges horizontally: 1920x1080 1680x1050 1440x900 1280x800 1280x720 or 720x400.
With the monitor resolution set to one of these, the text went off-screen: 1280x1024 or 720x576

that's really cool - thanks for that fix!
I tested on both 1920x1080 and 1600x1200 and it worked for me, the text does not run off the screen. but also can see that in 1280x720 it does run off the screen.
sorry I've been swamped with work and had not gotten to working on this. I think the real solution needs to involve looking at the monitor and scaling dynamically based on that, so will probably need some amount of coding in the JavaScript file.


[Feature] clear the norm value collection in the optimizer

Describe the feature
since this is the public repo, there is no need to keep the norm value per layer feature
Will you implement it?

[X] I would like to implement this feature and create a PR!

PR: https://github.com/InternLM/InternEvo/pull/100


Login Restriction

Describe The Bug:
Vesync iOS app is constantly getting logged out. When logged out, I must turn off WiFi to log back in successfully. I reached out to support and they wrote the following.

In order to ensure the security of your account, our system has login restrictions in place. It appears that your account is experiencing frequent logins through HomeKit, which may be causing this issue. We recommend that you unlink HomeKit from your account (or device) to prevent it from logging in excessively and causing abnormal login behavior on the mobile app.

So it appears that the plugin is frequently logging in and causing a restriction to be place on some combination of account + IP address. (If I toggle WiFi off, I'm able to sign in.)
To Reproduce:
Connect iOS device to WiFi. Log in to Vesync iOS app. Configure plugin. Wait a few hours, then try to open Vesync iOS app. Notice you've been signed out and can't sign back in. Disable WiFi, then sign in successfully.
Expected behavior:
Vesync iOS app not constantly logged out.
Logs:
No relevant plugin logs. Issue manifests in first-party app.
Plugin Config:
{
    "name": "Levoit Humidifiers",
    "email": "XXX",
    "password": "XXX",
    "accessories": {
        "cool_mist": false,
        "warm_mist": false,
        "sleep_mode": false,
        "display": false,
        "night_light": false
    },
    "options": {
        "showOffWhenDisconnected": true
    },
    "platform": "LevoitHumidifiers",
    "_bridge": {
        "username": "XXX",
        "port": 123
    }
}

Screenshots:

Environment:

Plugin Version:
Homebridge Version: 1.7.0
Node.js Version: v20.10.0
NPM Version: 10.2.3
Operating System: Ubuntu Jammy Jellyfish (22.04.3 LTS)

This is interesting, thanks for writing this up and including their response. Levoit has consistently worked hard to prevent this plugin and its use in HomeBridge, and I wonder if this is a new attempt to do that.
I'll try to investigate what triggers the logout and see if I can mitigate it later today.

@atwoodjw Does this happen consistently for you? I don't see this on my setup. Do you have any steps to trigger it?
Also, which device do you have?

@atwoodjw I'm having a hard time understanding how VeSync determined the requests were coming specifically from HomeKit. We use the Android app's user agent for all requests, so if they thought we were spoofing the agent, they couldn't possibly know the requests were coming from HomeKit and not some other homebrew home ecosystem. Can you give me some more details when you have a chance?

Sorry for the radio silence. I have 3x LV600S. Yes, this happens consistently. If the Homebridge plugin is enabled, I can't sign into the VeSync iOS app when on my home WiFi (same external IP address). If I toggle WiFi off and use cellular data, I can sign into the iOS app. If I disable the Homebridge plugin and wait a day, I can sign into the iOS app on my home WiFi again.
Very strange. If Levoit is able to determine that logins are coming from HomeKit, I would expect them to block them, yet the plugin seems to be working flawlessly; it's their first-party app that breaks as a result of the login restriction. 🤷♂
Ultimately, this isn't that big a deal. I rarely use the iOS app now, in favor of the Home app. Just a minor annoyance. Feel free to close.

Thanks for the info! Would you mind removing showOffWhenDisconnected from your config and seeing if the issue persists? I'm intrigued by this issue tbh.

Issue persists, even with showOffWhenDisconnected set to false.

Experiencing identical behavior as @atwoodjw. Was constantly getting logged out of the Vesync app on iOS after setting up the Homebridge plugin.
Here's my config:
{
    "name": "Levoit Humidifiers",
    "email": "XXXXX",
    "password": "XXXXX",
    "accessories": {
        "humidity_sensor": true,
        "mist": true,
        "warm_mist": false,
        "sleep_mode": true,
        "display": true,
        "night_light": true,
        "auto_pro": false
    },
    "options": {
        "showOffWhenDisconnected": false
    },
    "_bridge": {
        "username": "XXXXX",
        "port": 56704
    },
    "platform": "LevoitHumidifiers"
}

However, I did find a workaround to continue to use both Homebridge and the Vesync iOS app (which I've done for other plugins). I created a new Levoit account using a gmail alias<EMAIL_ADDRESS>and then shared the humidifier device to the new account (sharing the home isn't enough for the devices to show up). I then updated my plugin config to use the new account and kept my original account signed into the Vesync iOS app. So far 24 hours later I've stayed logged into the app.
This of course doesn't help solve the auth issue. No clue what kind of auth they are doing for their APIs, but it seems like access/id tokens are being revoked for that user due to the login behavior/attempts from the Homebridge plugin.

Thanks for the info and workaround. I'm wondering if they're only allowing a single token for some users (slow rollout). I can't repro with my setup.
More questions:
What devices / firmwares?
Which VeSync app version?
Is your account verified in VeSync? (Go to the app, settings, account and security, Account and it will tell you).
Country?
Can you turn debug mode on in the plugin config and post the logs from the child bridge?

@pschroeder89 - Sorry for the delayed response:

What devices / firmwares? - Levoit Classic 300S Humidifier firmware version 1.3.04 (2.0.00)
Which VeSync app version? - iOS app version 5.0.61
Is your account verified in VeSync? (Go to the app, settings, account and security, Account and it will tell you).
Country? - Verified, USA
Can you turn debug mode on in the plugin config and post the logs from the child bridge? Now that I've switched it over to the alias account there's no issue to log. I'd need to go back to my main account to get it to start kicking me out again. Let me know if you cannot recreate this and really want me to try this again.

Thanks for the info, unfortunately there's nothing glaring that I can see would cause this for some users. Whatever it is seems to be on VeSync's end. I'll pass around your workaround to other users as needed, and will close this issue.


Is gnss data necessary for retrieval？

I have read your paper and run the code you provide on the Github. It is  a great work.
I would like to use MinkLoc3Dv2 for point cloud retrieval by using the global descriptor. in the work of figure 3. You used the query point clouds to retrieve the corresponding point clouds.
I would like to know Is gnss data necessary for this process?

Hi,
GNSS (or GPS) data is used to generate the training set. For each query point cloud, we find positive/similar point clouds (that are not more than 10 meters away) and negative/dissimilar point clouds (that are at least 50 meters away).
For retrieval itself, we push the 3D point cloud through the trained network and compute its descriptor (a 256-dimensional real-valued vector). Then, we find the point cloud in the database with the most similar descriptor.
However, we need to have a position of the most similar point cloud in the database, to reason about the location of the query point cloud. This can come from GSNN/GPS, or we can possibly use a global map by merging all database point clouds using some point cloud-based SLAM method.

Thank you for your prompt reply,It's very helpful to me.


API-1651: Create separate controllers for default service accounts

Add two new controllers:

openshift.io/builder-serviceaccount - adds builder service account to every namespace.
openshift.io/deployer-serviceaccount - add deployer service account to every namespace.

Changes made to openshift.io/serviceaccount controller:

Did not remove (no functionality lost if someone wants to use it).
removed deployer/builder from default configuration.

TODO

[ ] Add new controllers to openshift/api.

/jira refresh

/cc @deads2k


Fewer Gists

I was deleting old gists, and up popped a Growl notice: "OMG, 15 less gists!". While I don't think the notice is necessary or helpful, it should be "fewer," not "less."
Thanks for a great app!

Thanks for feedback!


[openblas:x64-windows] build failure

Host Environment

OS: [e.g. Windows/Linux etc...] Windows 10 Pro
Version	10.0.18363 Build 18363

Compiler: revision
Microsoft Visual Studio Professional 2019
Version 16.7.4
VisualStudio.16.Release/16.7.4+30517.126
Visual C++ 2019   00435-60000-00000-AA822
Microsoft Visual C++ 2019

To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install OpenBlas --triplet X64-Windows
Failure logs
-Cut and past the appropriate build messages from the console output.
-Please attach any additional failure logs mentioned in the console output.
PS X:\vcpkg> .\vcpkg.exe update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.
PS X:\vcpkg> .\vcpkg.exe install OpenBlas --triplet X64-Windows
Computing installation plan...
The following packages will be built and installed:
openblas[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: openblas:x64-windows
Building package openblas[core]:x64-windows...
Could not locate cached archive: C:\Users\janeh\AppData\Local\vcpkg\archives\c9\c9ad8a492b0b4b2225e9ab4dd8b142fa24742c0a.zip
-- Downloading https://github.com/xianyi/OpenBLAS/archive/v0.3.9.tar.gz...
-- Cleaning sources at X:/vcpkg/buildtrees/openblas/src/v0.3.9-34bf3bd20e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source X:/vcpkg/downloads/xianyi-OpenBLAS-v0.3.9.tar.gz
-- Applying patch uwp.patch
-- Applying patch fix-space-path.patch
-- Applying patch fix-redefinition-function.patch
-- Applying patch github_2481.patch
-- Applying patch fix-pkg-config.patch
-- Using source at X:/vcpkg/buildtrees/openblas/src/v0.3.9-34bf3bd20e.clean
-- Using cached X:/vcpkg/downloads/strawberry-perl-<IP_ADDRESS>-32bit.zip
CMake Error: Problem with archive_write_finish_entry(): Can't restore time
CMake Error: Problem extracting tar: X:/vcpkg/downloads/strawberry-perl-<IP_ADDRESS>-32bit.zip
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:599 (message):
Unable to find PERL
Call Stack (most recent call first):
ports/openblas/portfile.cmake:22 (vcpkg_find_acquire_program)
scripts/ports.cmake:79 (include)
Error: Building package openblas:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: openblas:x64-windows
Vcpkg version: 2020.06.15-nohash
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

I have at least found a work-around and a possible similar issue. Looks like a cmake problem.
The disk I installed to was an encrypted drive (VeraCrypt) formatted using FAT. I moved vcpkg to an NTFS drive and tried again and all worked fine. See similar bug here: https://gitlab.kitware.com/cmake/cmake/-/issues/19132

Could you delete x:/vcpkg/downloads/strawberry-perl-<IP_ADDRESS>-32bit.zip and try again?

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


Define Github release tagging process

Define the procedure for creating tagged releases that are pip-installable. Maybe put it in a readme and give it to @bitsofbits to execute.
(From https://github.com/GlobalFishingWatch/vessel-lists/issues/25)

See #26


HDFS-12749. Catch IOException to schedule BlockReport correctly when …

…DN re-register. (Contributed by TanYuxin)

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
12
https://github.com/apache/hadoop/pull/288 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/288

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-288/1/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


add "services" as part of resources used in this role

What this PR does / why we need it
Currently, simple install without too much editing requires services in order to work. Adding that to role-timescaledb
Which issue this PR fixes

fixes #599
fixes #554

Special notes for your reviewer
Checklist

[ ] Chart Version bumped
[ ] CLA signed

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello, I think many people are interested into having the chart working by default. Could any of the main contributors help here to have this PR merged ? Thank you :)
@paulfantom @feikesteenbergen

Hello, I would love to have this fix available (and many people do). Is that possible to review it please?
Thanks @ribert!


Second Carousel not synced with first carousel when autoplay enabled

Here is the code i have
var heroCarousel = $(".hero-carousel");
var heroThumb = $(".carousel-thumb");
heroCarousel.slick({
	autoplay: true,
	autoplaySpeed: 5000,
	slidesToShow: 1,
	slideToScroll: 1,
	arrows: false,
	asNavFor: '.carousel-thumb',

});
heroThumb.slick({
	slidesToShow: 5,
	slidesToScroll:1,
	asNavFor:'.hero-carousel',
	focusOnSelect: true,
	arrows: false
});

The first carousel have autoPlay prop enabled, but when it's updated the second slider is not updated, it still in the first position.

Well, this need more workaround using afterChange event
heroCarousel.on("afterChange",function(event, slick, currentSlide){
	// Remove current class from second slider
	heroThumb.find(".slick-current").removeClass("slick-current");

	// Add current class to the current slide
	heroThumb.find(".slick-slide").eq(currentSlide).addClass("slick-current");
});

This solve the problem for now, but it's great to be implemented natively on the slick core.

FWIW, I don't have autoplay activated, yet I still have this issue. I'm not sure if it's supposed to be default behavior, but it's kind of how I would expect it to work from a usability standpoint. Thanks for the code, it solves my issue for now.

Please provide a reduced test-case with a JSFiddle for investigation :)

@simeydotme here is my fiddle, https://jsfiddle.net/Ly871fh9/

related to #1892

thanks, @ariona .. I'll try to take a look at this soon :)

Any updates on this? We're having the same issue.

I too have encountered this problem. Thanks for the workaround @ariona!

This happens when the slides infinite property is true, just set infinite: false. But how if I want to make the syncing sliders infinite? Thanks for trying.

To go along with this it really would be good to just have a "sync: true" option. I understand not everyone may want this functionality so the option would help alleviate that. I imagine if you are tying two slides together you want them to synchronize.
When the main slide autoplays or the arrows are clicked, the carousel should reflect the new current state of the slide. Equally the carousel when clicking on a new slide image, you will see the main slide reflect as well.


Source code?

So where is the source?
Seeing this, I thought it was an Aprils fool actually first, considering you advertise with GitHub on your homepage, but the repo is empty…
But I don't think so anymore. :smiley:

The DockStation has never been open source project. We're using GitHub only as a bug report service.


GH-2239: RetryableTopic Refactoring

Use a Task Scheduler to resume partitions, avoiding the need for timing adjustment.
cherry-pick to 2.9.x
I will make a What's New commit after the review/merge because it will certainly conflict.
I have left the commits separate to avoid you having to re-review what you have already looked at (if you so desire).
cc/ @tomazfernandes

Thanks @garyrussell, this looks great!
There are a few other deprecations that I'm not sure if you missed or just decided not to deal with in this PR, such as:

This part of the RetryableTopicAnnotationProcessor class can be removed, and with that we have no further use for RetryTopicInternalBeanNames and RetryTopicInternalBeanNamesTests.

We can also remove the configure methods from ListenerContainerFactoryConfigurer, and kill some other logic there, such as isSetContainerProperties and related logic.

Also, a couple of lines with String bean names in ListenerContainerFactoryResolver, and a couple @SupressWarnings in RetryTopicConfigurer.

Of course, these shouldn't change much overall, and can be part of a different PR or left for 3.0, so no worries if you prefer keeping them.

Cherry-picked to 2.9.x as https://github.com/spring-projects/spring-kafka/commit/b88cbf900905d96082564604b546c9322214cb2d after some minor conflict resolutions.


deploy on ARM device(Android)

Is your feature request related to a problem? Please describe.
I want to deploy onnxruntime on android device, but I can't make progress because of the lack of
related guide from github, only find "Cross compiling on Linux" ,but this is not enough for me, would
you please update the ARM build guide in more detail?
System information

ONNX Runtime version (you are using):
0.1.5
Describe the solution you'd like
an ARM build guide(Linux) in detail

Describe alternatives you've considered
N/A
Additional context
NA

This is  in hurry, It would be better if I get the reply in a few days.

Android is not supported yet. Contributions are welcome.

@carl1314 what problems are you facing while following the ARM build instructions? may be we can start from there.

Hi @carl1314 , could you help us verify this PR: #715 ?

@daquexian

I'll make a PR to update the documentation for the compilation for android soon.

https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#android-builds


HTMLX (aka Svelte's templating language) proper support

https://discord.com/channels/457912077277855764/943378658104606812/943384601743728650

This is still happening today:
This:
<script>
	import { fade } from "svelte/transition";
</script>

<main in:fade={{ duration: 200, delay: 200 }}>
	<slot />
</main>

will get converted into:
<script>
	import "../app.postcss";
    import { fade } from "svelte/transition";
</script>

<main 200 in:fade="{{" duration: 200, delay: }}>
	<slot></slot>
</main>

Same problem as in #507, so closing here


DS-3048 change config reload limit from 60 to 5 seconds

https://jira.duraspace.org/browse/DS-3048

Looks good. Obvious fix. Merging.


Support REST or SPA or Mobile request

Any plan to support these areas?

+1

There are a few things that seem to be missing to be able to provide Ajax access for SecureSocial.

A response to the HTTP OPTION method.

Either out of the box support for CORS headers or documentation on how to implement a filter. (I'd vote for the second because CORS support is only required when the Auth API is on a different domain to the front end.)

If anyone can identify any other requirements to get this working, please comment. My self and my co-worker will be working to implement this and submit a pull request.


Go to project: redirect error

Description
Getting error when click on Go to project button
Screenshots

@SauravMukherjee44  Can you assign it to me


feat: display payments inside a table

and let's combine amount, exchange rate and currency into one amount column.
For now we show only the amount in satoshi and once we have the exchange rate we will show it in satoshi and in the exchange currency.

👍 we still need to increase the limit and show 25 per page.


Properly generate a single element tuple for 1 column tables

Our code was generating (id) and not (id,). Without the trailing
comma, the parenthesis are meaningless. This meant that you couldn't
actually load the query into a struct without manually selecting the
tuple.
While this fixes the bug, I think it probably also makes sense for us to
have a FromSqlRow and Queryable impl for the non-tuple type into a
single element tuple/struct.
Fixes #261

Review? @mcasper @mfpiccolo

Build will fail as master still needs a syntex update.

👍
Agree with the single element tuple/struct as well.


WIP: KEF, add services for DSP

Breaking change

Proposed change

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist
[ ] The code has been formatted using Black (black --fast homeassistant tests)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

[ ] No score or internal
[ ] 🥈 Silver
[ ] 🥇 Gold
[ ] 🏆 Platinum

@basnijholt ignore my comment.
@balloob I think realy we should make an generic flat options on device info page and a corresponding service for option like this. I have some integration they can be improved and a general solution would be nice instead a solutio per integration.

@springstan, @balloob, and @pvizeli, is this the correct way to implement this, using services?
Actually, I think they should be either sliders (with discrete values) and switches (on/off). However, before I implement that, I would like to know your opinions?
I think it's both useful to know it's current state and to set it (or automate).
Using services, I think we also need sensors or just one sensor with many attributes.

Instead of adding sensors, I've chosen to display the values as attributes. I explain more in the first post.
@springstan, what do you think of this approach?

@balloob or @frenck, the tests are failing with
##[error]Bash exited with code '2'.
Async Command Start: Publish test results

However, I didn't touch anything there. Seems like this is unrelated?

I've now also updated the docs, see this PR.

@pvizeli a generic options structure could work, but it should be adjustable via services. So in that case we're not changing too much from just adding services to begin with ?

@balloob, I could make some changes to better accommodate those generic option structures.
Would this PR have to wait until those are implemented?

No, let's just move forward with this.


Accessing the Editor from the Component

Hi man,
Refering to this example and to the documentation, the only way to access the Editor is to use a global object, which is not the best  way to do since its against the moduling and structuration of the code.
For example, i'am working with AngularJS, i created a service to manage the B3NE stuff then i create the Editor in the controller, but i'm obliged to link the editor to the window object to be able to access it within the scope of the service.
A node is a part of an Editor, child parent relationship, so it must be a way to access its Editor and communicate with other nodes.
The same for the Engine, there are lot of cases when nodes need to call its engine to abort or to restart.
Regards

It depends on your environment. For example, you can use eventbus or state storage to manage this.
There are many situations in which you may need access to the editor. In the variant suggested by you, it can only work if you access the instance of the node in the builder, but not in the worker (node argument is not an instance).
Perhaps I can help you if you provide an example of your code

I finished by using a global object and it works well.
Many thanks


Query rewriting outside Solr. Implements #123

Includes changes from PR #127 and supersedes it.

Superseded by and merged into PR #127

Superseded by and merged into PR #127


Help Wanted.

Hello Club Gamma!
I have made Snake Game, Weather Forecast App, etc and also making to-do list using html, css and Javascript.
Can you suggest me what to do or where to commit pull-request for this projects.
Also wanna ask that can I add my social media links, because I have already add them in footer of my projects

Hello @kashyap-shah ,
It looks like you have done great work with HTML,CSS and JS. You can showcase your work in our repo.
To submit a PR, go through the steps written in CONTRIBUTING.md.
You can embed your social media link in your webpage that you are going to submit.
We will be very happy to see your contribution☺


Orthpol-light installation error

I have tried installing TransportMaps on my Mac in various different ways including automatic installation and manual installation. However, I always run into the following error:
`Collecting orthpol-light>=1.0.1 (from transportmaps==3.0.8)
  Using cached orthpol_light-1.0.1.tar.gz (22 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]`

I have installed all three requirements successfully:
brew install llvm brew install gfortran brew install open-mpi
But when I try the command pip install --upgrade TransportMaps I get the following stack trace:
`Processing /Users/sebastiangonzalez/Desktop/TransportMap-Experiments/transportmaps
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting click (from transportmaps==3.0.8)
  Obtaining dependency information for click from https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl.metadata
  Using cached click-8.1.6-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: numpy>=1.15 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from transportmaps==3.0.8) (1.25.2)
Collecting orthpol-light>=1.0.1 (from transportmaps==3.0.8)
  Using cached orthpol_light-1.0.1.tar.gz (22 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/4_/nzz34mw92z95d1z69bt863cm0000gn/T/pip-build-env-de3p63fy/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/4_/nzz34mw92z95d1z69bt863cm0000gn/T/pip-build-env-de3p63fy/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/4_/nzz34mw92z95d1z69bt863cm0000gn/T/pip-build-env-de3p63fy/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
          self).run_setup(setup_script=setup_script)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/4_/nzz34mw92z95d1z69bt863cm0000gn/T/pip-build-env-de3p63fy/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 20, in <module>
      ModuleNotFoundError: No module named 'numpy'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.`

I have not been able to find help anywhere else. I would appreciate any ideas on what could be going wrong. Cheers.

Hey Sebastian, it seems like you've already looked at https://github.com/MarineRoboticsGroup/NF-iSAM/issues/1#issuecomment-1079750416 and tried to best follow steps (albeit for Ubuntu, not Mac)? Can you quickly verify that?
We're a little busy now (@doublestrong is defending his thesis tomorrow!) and we don't have many Macs laying around but if none of this works we can try to get a hold of a Mac and report back with our results.
Can you give the full details of your system to the best of your abilities (OS, fresh conda environment, etc)? It'd be useful to know exactly every command you ran to try to set things up.

Thanks for the quick response! This is my current setup:

macOS Big Sur 11.7.7
Fresh virtual environment

Commands:

Install Requirements

brew install llvm
brew install gfortran
brew install open-mpi

Upgrade pip
pip install --upgrade pip

Install dependencies
pip install --upgrade numpy cython

Attempt to install TransportMaps (This is where I get the error)
pip install --upgrade TransportMaps

Can you try to build a conda environment from the environment.yml file?
cd NF-iSAM
conda env create -f environment.yml
conda activate NFiSAM
pip3 install --upgrade TransportMaps

You may also have some success actually reaching out to the TransportMaps team, as it seems they're actively maintaining the package. (Not trying to push you elsewhere, just they may be more useful :) )

Are all dependencies in the environment.yml file intended to work on a Mac? These packages are causing some errors:

conda env create -f environment.yml

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - xz==5.2.5=h7b6447c_0
  - brotlipy==0.7.0=py39h27cfd23_1003
  - setuptools==58.0.4=py39h06a4308_0
  - conda-package-handling==1.7.3=py39h27cfd23_1
  - libffi==3.3=he6710b0_2
  - ca-certificates==2021.10.26=h06a4308_2
  - sqlite==3.37.0=hc218d9a_0
  - pysocks==1.7.1=py39h06a4308_0
  - cryptography==36.0.0=py39h9ce1e76_0
  - tk==8.6.11=h1ccaba5_0
  - certifi==2021.10.8=py39h06a4308_2
  - openssl==1.1.1m=h7f8727e_0
  - cffi==1.15.0=py39hd667e15_1
  - ld_impl_linux-64==2.35.1=h7274673_9
  - _openmp_mutex==4.5=1_gnu
  - pip==21.2.4=py39h06a4308_0
  - zlib==1.2.11=h7f8727e_4
  - libstdcxx-ng==9.3.0=hd4cf53a_17
  - python==3.9.7=h12debd9_1
  - pycosat==0.6.3=py39h27cfd23_0
  - yaml==0.2.5=h7b6447c_0
  - ncurses==6.3=h7f8727e_2
  - ruamel_yaml==0.15.100=py39h27cfd23_0
  - libgomp==9.3.0=h5101ec6_17
  - conda==4.11.0=py39h06a4308_0
  - readline==8.1.2=h7f8727e_1
  - libgcc-ng==9.3.0=h5101ec6_17

Note: I have tried contacting the TransportMaps team but they I have found them hard to reach through their Q2A page.

Hi, I'm the maintainer of TransportMaps. I take the conversation with Sebastian here.
Sorry for the Q&A, we should take offline the Q&A because it has been plagued with spam for a while.
Regarding your issue. Which version of TransportMaps are you trying to install?
It seems you are trying to install orthpol 1.0.1
That version required quite some work to get it working on macOS.
The new version 2.0.2 should install more easily but I don't know which dependencies are blocking you from upgrading.

Hello @daniele-bigoni and @alanpapalia. I decided to work on an Ubuntu 22.04.3 machine instead. Thanks for the help.

Thanks, @alanpapalia and @daniele-bigoni, for the help. I just noticed this issue. Good luck @SebastianGonzalez2000. Let us know how we can help. I haven't tried orthpol 2.0.2, but I think it should still work for our code. We are just using TransportMaps to define probability distributions.


Microsoft Edge support

-mainbanner: background image not correct positioned.
-mainbanner phone: screenshot 2 no text changes. fixed.
-share: wrong street phenomenon image positioning. fixed.

Hey there!
Please provide additional details about this issue because I'd like to work on it.
what do you expect?


refactor: add build.quiet config

Codecov Report

Merging #3705 into dev will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev    #3705      +/-   ##
==========================================
+ Coverage   98.24%   98.24%   +<.01%
==========================================
  Files          18       18
  Lines        1140     1142       +2
  Branches      307      308       +1
==========================================
+ Hits         1120     1122       +2
  Misses         20       20

Impacted Files
Coverage Δ

lib/common/nuxt.config.js
100% <ø> (ø)
:arrow_up:

lib/builder/builder.js
97.88% <ø> (ø)
:arrow_up:

lib/common/options.js
100% <100%> (ø)
:arrow_up:

lib/builder/webpack/client.js
96.55% <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 141a54a...bbc55a7. Read the comment docs.

❤ SO MUCH ❤

Related: #3700


Add support for KNN vector similarity search

Added components

KNNExpression, to be passed to RedisModel.find(). Can be used in conjunction with normal operators, e.g.:v_query = openai.Embedding.create(input=query).data[0]["embedding"]
v_query = numpy.array(v_query, numpy.float32)   # may be redundant

MyRedisModel.find(
    MyRedisModel.prop == "value",
    knn=KNNExpression(
        k=5,
        vector_field=MyRedisModel.__fields__["embedding"],
        reference_vector=v_query.tobytes(),
    )
)

VectorFieldOptions, a simple dataclass to encapsulate the settings for a vector field; passed to Field(vector_options=.

Changed components

JsonModel and HashModel, to accommodate vector fields

RedisModel.from_redis(), to add a field containing the vector score when applicable

FindQuery, to incorporate KNN vector search support

@dvora-h @chayim 0:)

@chayim where should I add instructions for using this feature?

IMHO we should start a separate vectorsimilarity doc... @elena-kolevska given what you're up to - any preference?

Looping in @bsbodden, who's starting to work on a VSS quickstart for redis.io.

bump

Codecov Report
Patch coverage: 70.10% and project coverage change: -0.81 :warning:

Comparison is base (2b450b5) 78.92% compared to head (28e3946) 78.12%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #513      +/-   ##
==========================================
- Coverage   78.92%   78.12%   -0.81%
==========================================
  Files          14       14
  Lines        1177     1266      +89
==========================================
+ Hits          929      989      +60
- Misses        248      277      +29

Flag
Coverage Δ

unit
78.12% <70.10%> (-0.81%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

aredis_om/__init__.py
100.00% <ø> (ø)

aredis_om/model/__init__.py
100.00% <ø> (ø)

aredis_om/model/model.py
85.29% <70.10%> (-1.79%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Okay, it's been more than a month. And this hasn't been merged even though all that's being corrected are type hints.
@chayim, I'm aware you are a very busy individual. Please spare 5 minutes of your busy schedule for approving this!

Hi folks. I just merged in #534 so that we can have a CI that is properly reflective and runs this, and tests. That was the first step.
Logic wise, this looks proper, and as if it fits with the rest of this library. Merging in the master changes, and giving it another look.
I'm pro merging this - and issuing a release.


Shellcheck

Shellcheck issues I had time to fix up while preparing MTL-2454.

Successfully PXE booted a storage, worker, and master node.


Design v2

@chrisheninger,
Here is my first pass at a new design. I decided to separate out each section into it's own "page" while still giving the user context of where they are in the flow.
Left to do:

Add onClick={printResume} to the Print Button on the Preview Page. Not sure the correct way to be able to call that function on that page. I might need your help to sort that out.
I saw some warnings in the console. It might be a good idea to see if those are worth tracking down and resolving.
Decide if About page should have it's own link in the menu or not.

Let me know what you think.
Thanks,
Ryan

@chrisheninger,
Alright. With those final tweaks I think we should be good to merge this into master unless you have any other thoughts.
Thanks,
Ryan


[1.16.5] Blocks not dropping when broken

Version of Advanced Rocketry
Advanced Rocketry 1.16.5-1.7.1-3 build -3 for 1.16.5
Have you verified this is an issue in the latest unstable build

[x] Y

Version of LibVulpes
LibVulpes 1.16.5-1.0.1-5 build -5 for 1.16.5
Version of Minecraft
1.16.5
Does this occur without other mods installed

[x] Y
[ ]

If Y, what is the MINIMUM set of mods required.
This occurs with only AR and LibVulpes

Crash report and log, or VisualVM snapshot (if applicable)
Debug log: https://pastebin.com/iMzqyF87
Description of the problem
Breaking the LibVulpes ores, blocks, and numerous AR machines drops nothing. Confirmed with a variety of different pickaxes.

Might be a lack of loot tables, ugh... 1.16 changed a lot.

Might be a lack of loot tables, ugh... 1.13 - 1.16 changed a lot of things.

Using latest version of Advanced Rocketry and LibVulpes for 1.16 as of posting this comment, it seems there are no game ticks occurring, meaning blocks do not drop items, fluids do not flow, mobs do not move etc.

I did not have the ticking issue described above. All other game behaviors were working like normal besides the busted loot tables

Might be a lack of loot tables, ugh... 1.13 - 1.16 changed a lot of things.

Using latest version of Advanced Rocketry and LibVulpes for 1.16 as of posting this comment, it seems there are no game ticks occurring, meaning blocks do not drop items, fluids do not flow, mobs do not move etc.

I have the same problem. Think you are right. The generation of chunks stops after a while and interaction with the world is not possible anymore. From Waila mod i've got the message "Waiting for server". From this moment on, i couldn't save the game and i have to kill the MC - task manually. With LibVulpes installed alone (without AR), the problem doesn't occure.

Might be a lack of loot tables, ugh... 1.13 - 1.16 changed a lot of things.

Using latest version of Advanced Rocketry and LibVulpes for 1.16 as of posting this comment, it seems there are no game ticks occurring, meaning blocks do not drop items, fluids do not flow, mobs do not move etc.

I have the same problem. Think you are right. The generation of chunks stops after a while and interaction with the world is not possible anymore. From Waila mod i've got the message "Waiting for server". From this moment on, i couldn't save the game and i have to kill the MC - task manually. With LibVulpes installed alone (without AR), the problem doesn't occure. So i think that this isn't a problem of the loot tables alone. I think we have two different bugs here. I'll make a new issue later.

This type of issue is usually caused be the following:
1.15+ worldgen is handled off-thread, where the main thread pauses while waiting for worldgen thread to process.
Mod-related worldgen may call methods which require to be run on the main thread, or after the chunk is fully generated. In either of these two cases, the worldgen thread then pauses and waits for the main thread to hand back the result. This causes a deadlock and the freeze as seen above.
The Solution I used for my mods:
Check all code which runs during world-gen, and ensure that it only runs when the ChunkStatus is at the appropriate stage. For things that need a full chunk, use the MinecraftServer's execute method to schedule the update when it gets to the main thread.

This problem seems to be solved in the newest version. I've tested this with MC dimensions and RFTools dimensions.

Do you mean the ticking issue? Because the loot tables are still busted in the latest version (Advanced Rocketry 1.16.5-1.7.1-4 build -4 for 1.16.5 and LibVulpes 1.16.5-1.0.1-6 build -6 for 1.16.5).
Debug (just for completion's sake): https://pastebin.com/reyFdpir

Do you mean the ticking issue? Because the loot tables are still busted in the latest version (Advanced Rocketry 1.16.5-1.7.1-4 build -4 for 1.16.5 and LibVulpes 1.16.5-1.0.1-6 build -6 for 1.16.5).
Debug (just for completion's sake): https://pastebin.com/reyFdpir

Yes i mean the ticking issue. That's the reason why i haven't made a new issue for that.

This appears to be fixed in the latest LibVulpes (LibVulpes 1.16.5-1.0.1-8 build -8 for 1.16.5) and AR (Advanced Rocketry 1.16.5-1.7.1-5 build -5 for 1.16.5) versions


Nyan overcharge Sounds

You could also maybe spawn the looped version when the projectile is created so that it looks as long as the projectile lives, then use the short version on impact

This was my idea too, but I need to try on the script never don't this before
Do you have the same problem where the cat won't spawn for you?

Want me to take a look at the script for you?

Want me to take a look at the script for you?

Would be good, i now just simply added
	Audio = {         Bank = 'Impactnyan',         Cue = 'NyanLoop',         -- LodCutoff = 'Weapon_LodCutoff',     },
to the effect blueprint  and testing it now


Cognitive Services Tab

This page is useless ubless the Cognitive Services Tab actually is in the Azure Communications Service in wich mine isnt.
Do better

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

ID: b001c9e6-cfab-2ab2-9f08-206fa1ac3799
Version Independent ID: dda2fd1c-651b-0c2b-ce64-80ccdd0f9b0c
Content: Connect Azure Communication Services to Azure AI services - An Azure Communication Services how-to document
Content Source: articles/communication-services/concepts/call-automation/azure-communication-services-azure-cognitive-services-integration.md
Service: azure-communication-services
Sub-service: call-automation
GitHub Login: @kunaal
Microsoft Alias: kpunjabi

@terrylewis4107
Thanks for your feedback! We will investigate and update as appropriate.


Can I trigger a layer's bindings using another keyboard?

Hello and thank you for the amazing project.
I'm currently have a default.conf file, which scoped to 1 keyboard, and a super.conf file scoped to a 2nd keyboard.
I have this example in super.conf file (for 2nd keyboard)
[ids]

# R8 keyboard
1a2c:2124

[main]

z = a
x = overload(xxx_layer, y)

[xxx_layer]

0 = macro(S-f12 S-f12 0)
1 = macro(S-f12 S-f12 1)
2 = macro(S-f12 S-f12 2)

When I hold x in my 2nd keyboard and press 1 with the same keyboard, the macro executes, which is great.
When I hold x in my 2nd keyboard and press 1 with my First keyboard the macro does not executes, it simply behaves like I just press 1 with my First Keyboard, which is what I have questions about.
My question is: Can I pick and choose which key, in which keyboard to execute a macro (or any regular mappings)? Thank you very much!

My question is: Can I pick and choose which key, in which keyboard to execute a macro (or any regular mappings)? Thank you very much!

Not right now; that would be a feature request. However, note you can use the same configuration file for multiple keyboards, which will then share mappings (cf #202). Is that enough? If not, I'm curious to learn more about your use case. I can imagine that it would make some sense to allow an optional filter-by-keyboard-ID for individual keys.

However, you can use the same configuration file for multiple keyboards..

My problem is that I don't know how to configure individual keys of each keyboards in the same config file (if it's even possible).

I have this bizarre use case in Neovim. On specific events, I'd have autocmds calling keyd -e to programmatically enable / disable my keyd layers, so that they only works in Normal Mode, Visual Mode etc..  so they don't hinder my typing when I'm in Insert Mode.
Let's say I'm in Normal Mode, I hold down z, and I press p or n to go to the previous / next tab.
If that's not already far gone enough, I'm thinking of having a 2nd keyboard to have more modifier keys, or just more keys --> more macros / mappings. Maybe I'm just a lunatic, but I think there's definitely a use for it.

Given the complete customizability of neovim, a cleaner approach would probably be to use the application-mapper and deactivate any special keyd functionality while neovim is used, implementing all your layers and macros in neovim.

Well holding down z then press p is a much nicer experience than pressing z then p for me. It's subjective, but I'm enjoying my experience quite a bit.

Regularly, people use a dedicated numpad for this. However, I doubt that using such an additional “modifier keyboard” would be efficient, as your hands would have to reach for it.

It depends on desk and the type of keyboards you have honestly. My idea is to have a full sized keyboard, rotated 90 degress (so it's vertical), on the left side of your main keyboard as a "modifier keyboard". While your right hand still at hjkl. I think it's cool because I'm a lunatic :smile:

I'm surprised that you can't reconfigure 'z' from a leader to a modifier key directly in neovim.

Being a terminal-based application has it's drawbacks. You'd have to configure your terminal emulator to differentiate C-I with Tab etc.. That why I use keyd to be able to hold down keys.

Here is a good market overview, there are lots of models with more keys than your fingers will ever be able to handle.

Thank you for the information. I'm poor right now and don't have a job yet, so it'll be quite some time till I can get one. I'm also living in Vietnam so it's even more difficult to get my hands on one of those. I'm currently using Microsoft Ergonomic Keyboard, which I just wish that I can cut off the arrow keys and the numpad :smile:

Hi @rvaiya , after some time, I finally have a justified use case for this feature.
Short story is: I now use two keyboards to type. One for each hand. I ditched the Microsoft keyboard because it's very heavy to type and gives me pain. I went on a whim and try out having 1 keyboard for each hand, and it feels amazing to type. I can't afford or able to buy a split keyboard atm so 2 keyboards. :sweat_smile:
Everything is fine and dandy, until I try out mapping keys for individual keyboards. Back then, I used to map Capslock+hjkl to Arrow keys. It works just fine on 2 keyboards. Only if I don't remap any keyboard individually.
Here's my example: default.conf
[ids]
*
[main]
capslock = overload(capslock, esc)

This works fine, until I add another file, 2ndKeyboard.conf
[ids]
*
[main]
b = x

Now I can no longer hold down Capslock on my left hand, and press hjkl to trigger Arrow Keys :(
I wish I can solve this somehow. Thank you very much!

I wonder if implementing the feature of prefixing mappings with keyboard id will take a lot of work. It's such a shame that I don't know how to write C. Man, I'm even thinking about learning C just to make this happen. :sweat_smile:
@rvaiya @slakkenhuis what do you guys think about this feature? Should I learn C to implement this? If so, which files in the project should I start from? Thank you very much :smile:

Thank you very much @herrsimon , I'll look into the merge keyboards approach. Thank you very much for the info!

@herrsimon Thank you very much for the suggestion for Intercepting the keyboards. I ended up using kmonad to modify each keyboard, then keyd can join them and it works like a charm. Thank you so much :pray:


rstudio: 2023.09.0+463 -> 2023.12.0+369

Description of changes
This is a draft PR because I trued upgrading to the latest version of RStudio, but there seems to be an issue with CMake.

Upgraded to current version (2023.12.0+369 "Ocean Storm"): commits https://github.com/b-rodrigues/nixpkgs/commit/6919a0a7295a6795c9ac0e20ec434b747fdba217 and https://github.com/b-rodrigues/nixpkgs/commit/1f1623bc18b9f946c0dcb7e0bd0d529c6909ccb5
Upgraded boost version (from 1.81 to 1.83): commits https://github.com/b-rodrigues/nixpkgs/commit/5a9439f74a50196f3cf256d9af176b202a3880ca and https://github.com/b-rodrigues/nixpkgs/commit/872395a585473a0415b0a74262e60af309ba4537

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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

[ ] Fits CONTRIBUTING.md.

Trying to build now results in following message:
-- Configuring incomplete, errors occurred!
error: builder for '/nix/store/jn4im93rx67cp0z2yzgdr6swyy8f9vwb-RStudio-2023.12.0+369.drv' failed with exit code 1;
       last 10 log lines:
       > -- Looking for group_member
       > -- Looking for group_member - found
       > -- Performing Test HAVE_EXECINFO
       > -- Performing Test HAVE_EXECINFO - Success
       > -- Configured to build DESKTOP
       > -- Found LibR: /nix/store/m3lp6c2vgb6lvznfn8ichz8di4r51s8m-R-4.3.2/lib/R
       > -- Found R: /nix/store/m3lp6c2vgb6lvznfn8ichz8di4r51s8m-R-4.3.2/lib/R
       > -- Found Qt: /nix/store/pq91ai5s5h7nn3l2pa9cbrniw1cszpvj-qmake-hook/bin/qmake
       > -- Packaging RStudio for
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/jn4im93rx67cp0z2yzgdr6swyy8f9vwb-RStudio-2023.12.0+369.drv'.
error: 1 dependencies of derivation '/nix/store/4ldy5gahsal3azl4z8gnyibdqdszzav6-nix-shell.drv' failed to build

This is the configuration steps that fails:
-- Looking for getpeereid - not found

no idea what this is though

getpeereid

could this maybe be related to this? https://github.com/rstudio/rstudio/issues/9600

Perhaps, but according to that thread it was an issue of gcc being too old: I don’t think we have this problem here?

Result of nixpkgs-review pr 275649 run on aarch64-darwin 1
$ /nix/store/fgp1c16hly3960pnw765ac11a1p0a39r-nix-2.18.1/bin/nix-shell /Users/philipp/.cache/nixpkgs-review/pr-275649/shell.nix --nix-path nixpkgs=/Users/philipp/.cache/nixpkgs-review/pr-275649/nixpkgs nixpkgs-overlays=/tmp/tmpsh0gpt9r

Perhaps, but according to that thread it was an issue of gcc being too old: I don’t think we have this problem here?

it is a bit strange though yes. Your current PR commit compiles on aarch64-darwin, so I wonder whether some specific gcc related imports in nativeBuildInputs could resolve on linux platforms. A wild guess because I am quite a nix beginner.

I've updated the source to use the latest rsconnect, and still get the same error message:
Looking for strtod_l - not found
Looking for getpeereid - not found

Closing this as @Kupac got it working over here
https://github.com/NixOS/nixpkgs/pull/289393


How to load previous messages ?

What is the best way to load previous messages on scrolling to top ?
currently I am using limitToLast(10) then limitToLast(20) ....limitToLast(100)...
On side note, if someone could tell how to load on scroll up I would be thankful :)

@jwngr @robertdimarco @drtriumph Can anybody help me here ?

any update on this?

@xerosanyam what did you do to solve this problem?


See if we can compile data instances

It is reported in https://github.com/IntersectMBO/plutus/issues/5768  that using data families leads to the “Irreducible type family application” error. We may be able to compile data instances by ignoring data family declarations. It’s worth checking if it can be made to work.
Extricated from https://input-output.atlassian.net/browse/PLT-9514

I don't understand why we need this issue. And the one that it refers to is basically the same? And is closed?

I'm concluding that this issue is not needed, since it's just a GitHub issue ported to Jira ported back to GitHub, hence I'm closing it.


CB-11253: Fixing sitemap url entries

We were giving relative paths, we need to give full URLs. This should improve our SEO, hopefully. @nikhilkh take a quick look.

Changes entries like this
<url>
    <loc>/news/2015/03/02/tools-release.html</loc>
</url>

to look like this:
<url>
    <loc>https://cordova.apache.org/news/2015/03/02/tools-release.html</loc>
</url>

The old format was giving us 12,000+ errors

LGTM


Project licensing

Hi @Ulexus
Our current license is MIT, which seems to prevent us from being used by other projects such as OpenStack Kolla (containerized OpenStack services).
Ideally we would move from MIT to Apache. Is it a problem for you?
Thanks!

Not at all.  That's fine with me.

Odd that a more permissive license is not allowed... but I'm perfectly fine with an Apache license.

For that matter, I don't really think I have much right to continue to hold the exclusive license.  I haven't been much involved in quite some time, and there have been a lot of changes and updates.   I doubt there's much left of what I originally wrote, anyway.

Argh don't say that! There are many valuable contributions from you at the very core of the current images :).
Thanks for your consent.

@Ulexus FYI https://github.com/ceph/ceph-docker/blob/master/LICENSE#L189-L190

hey guys, sorry to continue the discussion, but I'm wondering if...since Ceph itself is GPL licensed...if we're still not going to have the same issues?

@v1k0d3n no bloody idea. I suspect this won't be an issue otherwise we wouldn't have tools integrating Ceph to deploy OpenStack but I might be wrong.


Add property enable full list

Add property enable-full-list
feature enable-full-list

New pull request has been created.


Visitors API for a given visit

To be used in PVB Public for the visit show page.

Is there an argument for just adding this information to the get visit API, rather than adding a new API call?

I thought about it and decided to implement it like this because it is the simplest solution for the problem I was having and it keeps it consistent with the other endpoints as we don't embed sub resources anywhere else.
I would consider extending the visits api to conditionally load sub resources if we see a need to do that, for example for performance reasons. Something similar to 'include' in JSON-API (http://jsonapi.org/format/#fetching-includes)

Reworked to include visitors and other required fields when serialising visit


(blogPost page handlebars)

WHEN I click on an existing blog post
THEN I am presented with the post title, contents, post creator’s username, and date created for that post and have the option to leave a comment

completed


[AGENT] [GRAPH-MOD] Graph/ agent use-case(s)

Use GraphModel type to produce a nice LangChain/ Agent style use-case with great flexibility including self-hosting LLM.
To do create a cool RAG use case which has custom rules on input and output using the GraphModel.

Idea is to not use db.predict but only use GraphModel.predict.
An example:
m = (input_checking_model
    >> vector_search_query_model
    >> prompt_builder
    >> question_answering
)

@jieguangzhou and @kartik4949 to create a concept and share in the team before assisting @anitaokoh in creating content.

input_checking_model
|
query_rewrite_model   - |
|                                         - -> pormpt_builder -> question_answering------>Answer Output
|                                                         ^
rerank_model                                   |
|                                                          |
|                                                          |
vector_search_model -------------------------------------------------->Source document Output

Would be interesting to know how other frameworks handle this? @jieguangzhou @kartik4949.

Langchain
from operator import itemgetter

from langchain_community.vectorstores import FAISS
from langchain_core.output_parsers import StrOutputParser
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.runnables import RunnableLambda
from langchain_openai import ChatOpenAI, OpenAIEmbeddings

vectorstore = FAISS.from_texts(
    ["harrison worked at kensho", "A worked at CCCC"], embedding=OpenAIEmbeddings()
)
retriever = vectorstore.as_retriever()

template = """Answer the question based only on the following context:
{context}

Question: {question}
"""
prompt = ChatPromptTemplate.from_template(template)

model = ChatOpenAI()

def rewrite_model(input):
    return {"new_query": input + "?", "question": input}

def rerank(input):
    query = input["question"]
    context = input["context"]
    return context[:1]

chain = (
    RunnableLambda(rewrite_model)
    | {
        "question": itemgetter("question"),
        "context": itemgetter("new_query") | retriever,
    }
    | {"question": itemgetter("question"), "context": rerank}
    | {
        "answer": prompt | model | StrOutputParser(),
        "context": itemgetter("context"),
    }
)

print(chain.invoke("where did harrison work?"))

Langgraph is not designed for DAG graph services. It is specially designed for agents that are called cyclically, including the concept of process control nodes.


multi database with the same name, but in different directories.

With custom DatabaseFilesProvider, we can provider multi database files with the same name, but lie in different directories.
Due the findDatabaseFile logic in SqliteDatabaseDriver, we can only interact with the first database.

@jiangecho Can you do something in your custom provider where you change the name to be directory-actualName You would then know what you have to perform the stripping when calling into SqliteDatabaseDriver

@longinoa Thank you for your reply. Yeah, it's a solution for my case.


Remove Available ETH to pay for on-chain transaction from Mint dialog

Description
Remove Available ETH to pay for on-chain transaction: 0.048526667 ETH from Mint dialog

Acceptance criteria

Tasks

[ ]

Is going to be decided on a case by case basis. Closing.


Add 'projectedValue' to allow access to 'key' and 'defaultValue'

First, thanks for letting me contribute (in a small way) to your project. This is the first pull request I've ever done and the first time I've contributed anything to open source!
A suggested feature: add projectedValue to the property wrapper to allow easy access to the key and defaultValue properties. This can be useful when needing to specify these values later, for example, when using @AppStorage in SwiftUI.
Here is an example based on how I'm using this:
In the property wrapper:
    public var projectedValue: Self {
        return self
    }

Then, I use a struct to have easy access to all my persisted values:
struct Settings {
    @Persisted(key: "isFirstRun", defaultValue: true)
    static var isFirstRun

    @Persisted(key: "plantNameOrder", defaultValue: Plant.DisplayNameOrder.botanicalNameFirst)
    static var plantNameOrder: Plant.DisplayNameOrder
}

While that makes it easy to access settings throughout the app: Settings.plantNameOrder, it also, along with projectedValue makes using this in SwiftUI quite nice:
struct ContentView: View {
    @AppStorage(Settings.$plantNameOrder.key) var plantNameOrder = Settings.$plantNameOrder.defaultValue
    // ... rest of implementation
}

Now, instead of having to make sure I get the string for key correct, and use the same default value, I can use what I've already done.
I just thought I'd suggest this based on my own usage. If you don't think this fits here, I totally get it. If you do, I'm happy to do another pull request and add something to the readme that shows this usage.
Thanks again.

Thank you! I'm happy to be involved in your first open source contribution!
This sounds like a very sensible addition; it seems like a neat way to expose the key & default value. Can't see any reason to not do it 👍  I'd welcome another pull request.
Cheers,
Andrew


SOLR-16295: Update project description in READMEs

See JIRA for discussion of specific language and wording.

Merging quickly based on the wording/language already receiving review here, here, and here.