Reconcile by merge instead of replace

Is there an easy way to achieve "merge" updates on managed dependent resource? If I understand correctly using the desired() method will reconcile the resource into exactly the state equal to the returned resource (so essentially a replace).  However I want to keep all the other fields intact.  Example

A dependant deployment is created, I DO NOT set the imagePullPolicy field so the default value of ifNotPresent is used. I DO set the image field to example:2.2
I manually edit the deployment and change the imagePullPolicy field to always as well as image to example:1.1
After reconciliation I want the image field to be reconciled  but the imagePullPolicy field to be kept intact

Currently I am returning a new Deployment instance from the desired() method. So what I can think of is pulling out the current instance of the Deployment from context and editing that instead of creating the new one. Will the be OK in term of race conditions?
Although this goes a bit against the principal of reconciling into exactly the desired state it provides users with better control over tweaking the created resources (e.g. mounting an additional volume or setting additional environment variables). Especially in early stage of operator development when things such as resource templates in Strimzi operator are not supported.

Like you said, this goes against the reconciliation principle. How is the operator supposed to know what the desired state is if you can manually change the dependent? The desired state should always be computable from the primary resource. I think editing the current resource should be fine since JOSDK already clones the initial resource when it starts processing it.

I think editing the current resource should be fine since JOSDK already clones the initial resource when it starts processing it.

The current implementation replaces the spec. I think the proper way to do this is to use server side apply:
https://kubernetes.io/docs/reference/using-api/server-side-apply/
from DR.

Note that this is related to matchers, so based on what matching we use (equality, or ignoring all adds, or ignore list).

Yes, though I don't think that only using a Matcher will work because, while we can ignore / accept some changes, in cases where the resource is changed in such a way that both ignored and unignored properties are changed, the desired version will be used, thus erasing the ignored changes.
🤔 Though maybe we could make the matcher return a merged desired version and that might indeed address the issue?

Though maybe we could make the matcher return a merged desired version and that might indeed address the issue?

What I mean is when we have equality macher, it is natural to replace the spec. (So the spec equals to desired resource spec). But probably we could do better than that with Server Side Apply + some intelligent matcher (that  aware of manager?) will have to check some corner cases and figure it out.
So for update I think the Server Side Apply is the solution.

So after giving some thoughts, the server side apply should solve the update part. So it only updates the managed field just purely by the desired resource (it should be applied to the whole resource not just spec).
The problem is with matching, although we now support equality matcher (compares if the spec or data in config maps for example are the same), this goes against the approach defined in SSA.
Note that we are also support matchers that are ignoring the additive changes - this is wrong now in a sense that if some wants to delete something from desired, that is evaluated as an additive change compared to actual resource from the server. But it works in most of cases, since remove rarely happens. We also support equality with ignoreList.
So the real problem is the matching, and basically this can correctly done this way:
We can just say if all the fields and only those from the desired state are on the actual state we are fine. Ignore all others, this is fine. So we update only if some field values are missing or changed. So what about when some fields are there in the actual and added by us before? This can be detected checking the managedFields on the resource:
https://kubernetes.io/docs/reference/using-api/server-side-apply/#field-management
So we can alter the current algorithm in a way that we check the all "adds" in the json diff if those are managed by the controller. If does, this is non match, thus the item is removed in the desired compared to the actual state.
Such approach should be applied also on values of config maps for example.

Closing this issue, since should be covered by #1933


[type: refactor] refactor some code

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #4125 (c188993) into master (bcbf1fd) will decrease coverage by 0.26%.
The diff coverage is 46.66%.

@@             Coverage Diff              @@
##             master    #4125      +/-   ##
============================================
- Coverage     70.39%   70.13%   -0.27%
+ Complexity     6948     6909      -39
============================================
  Files           945      944       -1
  Lines         25999    25946      -53
  Branches       2337     2331       -6
============================================
- Hits          18303    18196     -107
- Misses         6275     6329      +54
  Partials       1421     1421

Impacted Files
Coverage Δ

...ringcloud/init/SpringCloudClientEventListener.java
78.49% <ø> (ø)

...t/springmvc/init/SpringMvcClientEventListener.java
86.20% <ø> (ø)

.../org/apache/shenyu/common/config/ShenyuConfig.java
73.42% <0.00%> (+0.77%)
:arrow_up:

.../shenyu/register/instance/consul/TtlScheduler.java
3.84% <0.00%> (+3.84%)
:arrow_up:

.../core/ShenyuInstanceRegisterRepositoryFactory.java
42.85% <0.00%> (-42.86%)
:arrow_down:

...u/register/instance/zookeeper/ZookeeperConfig.java
100.00% <ø> (ø)

...che/shenyu/sdk/httpclient/HttpShenyuSdkClient.java
31.14% <0.00%> (ø)

...pache/shenyu/sync/data/http/config/HttpConfig.java
70.58% <ø> (ø)

...nstance/nacos/NacosInstanceRegisterRepository.java
49.09% <37.50%> (+3.32%)
:arrow_up:

...tance/consul/ConsulInstanceRegisterRepository.java
33.75% <40.00%> (+3.62%)
:arrow_up:

... and 52 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Issue when running the gizmo fms bootstrap-net command

Ran steps as described in the instructions. I received an error when executing the bootstrap-net command.
See the attached transcript.
Issue with flash device.txt

Ignore this issue


Error on docker-compose up

caddy_1     | {"level":"info","ts":1665919978.9603379,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
caddy_1     | {"level":"warn","ts":1665919978.960401,"logger":"caddyfile","msg":"DEPRECATED: protocol sub-option will be removed soon"}
caddy_1     | Error: adapting config using caddyfile: parsing caddyfile tokens for 'servers': /etc/caddy/Caddyfile:7 - Error during parsing: unrecognized protocol option 'experimental_http3' symfony-ddd-example_caddy_1 exited with code 1

I confirm that I have a similar problem, I attach the logs below.

https://github.com/salletti/symfony-ddd-example/blob/master/docker/caddy/Caddyfile
Change
    servers {         protocol {             experimental_http3         }     }
    servers {         protocols h1 h2 h3     }
it works for me

See https://github.com/mtarld/apip-ddd/issues/33 and https://github.com/dunglas/symfony-docker/issues/290 for fixes to this on other projects.


KB category duplicate

https://github.com/boxbilling/boxbilling/commit/17dc286a1f13c67467f11b99f6dc4104f961fba5#diff-17cffd996996e38e435ebd7b6c3c4011ef4497c908e9f6852735dcaaa73f7f34
I only went back as line 376 shows.
Adding: GROUP BY kac.id

Instead of using GROUP BY, a better approach might be using SELECT DISTINCT


support $max field update operator

Description

[x] functionality

[x] handle integers
[x] handle all scalar types
[x] handle dates
[x] handle other types
[x] make sure that mixed types are handled correctly
[x] implement lexicographic order if string

[x] integration tests
[x] compat tests

This PR closes #624 .

Readiness checklist

[x] I added tests for new functionality or bugfixes.
[x] I ran task all, and it passed.
[x] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

Tigris converts incoming data to underlaying type of existing value in database, for an example when we run Int32Lower on double-smallest collection, we send the int32 data to the tigris and tigris on the backend converts the int to the float type, which results in failing test:
--- expected
+++ actual
@@ -6,3 +6,5 @@
   "_id": "double-smallest",
-  "v": 30
+  "v": {
+    "$f": 30
+  }

@w84thesun said that there were some efforts to check the type before sending it to tigris but it wasn't that easy.
@AlekSi Should we skip tests for tigris here?

Test for tigris are not failing locally, there are issues with tigris build

@AlekSi in principle, we would like to merge it, but GitHub requires your approval as you had requested changes in this PR.


Letters with hanging parts (g, j, q, p, y) not displayed correctly

Hi! I really really really like this theme ヽ(＾ω＾)ノ~ ❤
There are various parts of this theme that cut off the letters g, j, q, p, and y.
They should not be cut off and need to be displayed properly.

The change in PR 15 fixes this issue

https://www.osluck.com/index.php/start-page.html
This change is perfect


strip out pre-emptive offline checks, and sub in new IsOffline check

Patch does the following:
1.) Removes all IsOffline pre-emptive checks in HybridConversationSource, they cause more trouble than they are worth.
2.) Remove identifyTLF, since it doesn't do anything.
3.) Add a new IsOffline check that runs at the end of GetThreadNonblock and sets the offline bit on the result. Since we don't need to worry about blocking anything other than the current RPC, we can wait longer, and drop the "delayed" mechanic.

Also the purpose of this is to avoid spurious gray offline bars when foregrounding the app.


WSL doesnt start after Windows Update

Environment
Windows build number:
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.20175.0 Microsoft Windows NT 10.0.20175.0
Your Distribution version: None
Whether the issue is on WSL 2 and/or WSL 1: WSL2

Steps to reproduce

Setup WSL2 in Windows 10 19041
Install Windows 10 20175

Expected behavior
Works as usual, opens bash in cmd.
Actual behavior
"WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel"
After reinstalling of WSL:
Unknown Error - wsl in cmd
Error 0x80004005 - Ubuntu 20.04 installer;
Reinstall using wsl_update_x64 and putting its files into System32/lxss:
Unknown error in the cmd (command "wsl") and Ubuntu Installer;

Please collect networking logs and post to the feedback hub.

https://aka.ms/AA96uyx


textparse/scrape: Add option to scrape both classic and native histograms

So far, if a target exposes a histogram with both classic and native buckets, a native-histogram enabled Prometheus would ignore the classic buckets. With the new scrape config option scrape_classic_histograms set, both buckets will be ingested, creating all the series of a classic histogram in parallel to the native histogram series. For example, a histogram foo would create a native histogram series foo and classic series called foo_sum, foo_count, and foo_bucket.
This feature can be used in a migration strategy from classic to native histograms, where it is desired to have a transition period during which both native and classic histograms are present.
Note that two bugs in classic histogram parsing were found and fixed as a byproduct of testing the new feature:

Series created from classic gauge histograms didn't get the _sum/_count/_bucket prefix set.
Values of classic float histograms weren't parsed properly.

Fixes #12268 .
@zenador would you like to review this (while waiting for my reviews on your PRs ;) ? This has some similarities to your recent work in #12254 .

Practical examples: I'm running https://github.com/prometheus/client_golang/blob/main/examples/random/main.go and use the following scrape config:
scrape_configs:
  - job_name: 'demo'
    scrape_classic_histograms: true
    static_configs:
      - targets:
        - localhost:8080

Query example (_count and _sum is below the fold):

/prombench v2.44.0

👍🏽

/prombench cancel


Add missing "created" word to sentence

@billpratt : Thanks for your contribution! The author, @minewiskan, has been notified to review your proposed change.


🔧 Add package.json for "tasks" folder

So we can install it in moon-landing, with npm add @huggingface/tasks
There is also an action added to publish automatically a new version of @huggingface/tasks (will be available in https://github.com/huggingface/hub-docs/actions once merged)
Todo
Add NPM_TOKEN variable after merge

maybe link to the internal discussion about this


Premature success using standard trajectory follower and high deacceleration in final moments using lowbandwidth_trajectory_follower.

ROS Kinetic, Ubuntu 16.04
Universal Robots Software <IP_ADDRESS>61
UR5

1. Issue
While using ur_modern_driver standard trajectory follower together with MoveIt, I encountered that
moveit::planning_interface::MoveItErrorCode::SUCCESS
from
move_group_ptr->plan(my_plan);
success = move_group_ptr->execute(my_plan) == moveit::planning_interface::MoveItErrorCode::SUCCESS;

gives premature success that results in C204A3: Protective Stop: Invalid setpoints: Sudden stop. In result, there is a rapid stop, but if the protective stop isn't triggered after this stop the given trajectory stops really hard and next one starts as can be seen in this picture ->
Image 1

although it should look something like this (letting trajectory finish with delay insertion after recievieng success from moveit) ->
Image 2

Basically it should work as follows -> Trajectory execution -> when trajectory ends I get success and start to execute next trajectory. But happens this -> Trajectory execution -> Premature success of this trejectory -> next trajectory execution is started before previous one is ended that results in sudden/rapid stop. I don't know if it is connected with ur_modern_driver or MoveIt, so I am confused where I should be looking for a solution, because lowbandwidth_trajectory_follower doesn't give me premature success what leads me to 2. Issue. It know it is somehow cnnected with that MoveIt trajectory execution time is lower than actual trajectory execution time, but I don't where and how it happens. Is it issue or I am just missing something?
2.Issue
Second issue happens when lowbandwidth_trajectory_follower is used, the same movement code as with standard trajectory follower is used. As can be seen in image 3 there is high deacceleration in final moments of trajectory what results in stop that is not soft as it should be - Image 2.
Image 3

Again is this issue or I am again just missing something?
If any additional information is needed, please don't hesitate to ask, I would really apreciate any hints and information about this situation.

I am not using ros_controlmode.
Is test_move.py good enough to test driver behaviour without MoveIt!? With test_move.py I moved the robot through same positions as with MoveIt! and got almost the same picture - that in final moments there are really high deaccelaration (not no deacceleration, as I mistakenly wrote in original question), the only difference is that now I used a simulated robot, but same UR robot software (will try on real one later, if it changes anything).

Is this ok?

Apologies for the delayed response, but unfortunately I don't know what is the cause of this right now.
I also don't have access to a CB3 with Polyscope 3.5.1, so I cannot reproduce.
If you're not using ros_control mode, then it would seem there could be something wrong in the sampling / trajectory generation.
I would also try to make sure the robot can actually complete the motion you're asking of it in 2 seconds.

Apologies for the delayed response, but unfortunately I don't know what is the cause of this right now.
I also don't have access to a CB3 with Polyscope 3.5.1, so I cannot reproduce.
If you're not using ros_control mode, then it would seem there could be something wrong in the sampling / trajectory generation.
I would also try to make sure the robot can actually complete the motion you're asking of it in 2 seconds.

I'm closing this as we've officially deprecated this package.
Refer to the announcement on ROS Discourse.

If this is also still a problem with ur_robot_driver, please open a new issue on its issue tracker.


Unable to install certain 3rd party collections

root@pve:~# cscli collections install fulljackz/proxmox --debug
DEBU[17-12-2022 12:01:59 PM] Using /etc/crowdsec/config.yaml as configuration file
DEBU[17-12-2022 12:01:59 PM] non-empty acquisition file path /etc/crowdsec/acquis.yaml
DEBU[17-12-2022 12:01:59 PM] loading hub idx /var/lib/crowdsec/hub/.index.json
DEBU[17-12-2022 12:01:59 PM] 4 item types in hub index
DEBU[17-12-2022 12:01:59 PM] scanning /etc/crowdsec
DEBU[17-12-2022 12:01:59 PM] scanning /var/lib/crowdsec/hub
FATA[17-12-2022 12:01:59 PM] unable to retrive item : fulljackz/proxmox
Nothing else seen in the crowdsec.log
Can install collections from crowdsecurity.

root@pve:~# cscli version
2022/12/17 12:04:00 version: 1.0.9-2+b4-debian
2022/12/17 12:04:00 Codename: alphaga
2022/12/17 12:04:00 BuildDate: 2021-08-04_20:01:32
2022/12/17 12:04:00 GoVersion: 1.15.9
2022/12/17 12:04:00 Constraint_parser: >= 1.0, < 2.0
2022/12/17 12:04:00 Constraint_scenario: >= 1.0, < 3.0
2022/12/17 12:04:00 Constraint_api: v1
2022/12/17 12:04:00 Constraint_acquis: >= 1.0, < 2.0
Think the issue is I may have missed installing the debian repro step, but I swear I did that.
Confirm:
Unable to download repo config from: https://packagecloud.io/install/repositories/crowdsec/crowdsec/config_file.list?os=&dist=11&source=script
This usually happens if your operating system is not supported by
packagecloud.io, or this script's OS detection failed.

FYI: on Proxmox 7.3, I needed to download the script and then run:
os=debian dist=bullseye ./script.deb.sh


top level await not working

https://github.com/vuejs/rfcs/blob/master/active-rfcs/0040-script-setup.md#top-level-await
Thank you

As listed in the readme top-level await is not supported in Vue 2

@antfu Thank you for the clarification. Will close this now :)


Create hardware folder structure

Utilities are verified.
Vector engine have both testbench and rtl ready for softmax.
Core testbench to be done.

@harshkhandeparkar can you please review this.


CONFIG.debug.hooks = true left on.

Just wanted to let you know in your scripts\main.js file you left
"CONFIG.debug.hooks = true"
This causes the Foundry Console to be flooded with DEBUG notifications for everything.
Thanks, love the Mod!

thanks, tou are right, will fix next release.

done


Fix Pkg command for install pacakge from git

In original README.md, the command used to install from git is Pkg.add, but should be Pkg.clone.

Thanks for the contribution, but the tutorial is intended for general users, not developers. That is, users that would access the application as is. In addition, if the user is cloning the application for development, it should be Pkg.dev.

Thanks for reviewing my PR, but I was talking about this from a users perspective and not a developers perspective. The instructions in the README as they are now don't work on OSX (with either julia 0.7 or 1.0.3). Entering Pkg.add("https://github.com/SeismicJulia/SeisMain.jl.git") gives
ERROR: https://github.com/SeismicJulia/SeisMain.jl.git is not a valid packagename
Stacktrace:
 [1] pkgerror(::String) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
 [2] check_package_name(::String) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:22
 [3] iterate at ./generator.jl:47 [inlined]
 [4] collect(::Base.Generator{Array{String,1},typeof(Pkg.API.check_package_name)}) at ./array.jl:619
 [5] #add_or_develop#11 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]
 [6] #add_or_develop at ./none:0 [inlined]
 [7] #add_or_develop#10 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
 [8] #add_or_develop at ./none:0 [inlined]
 [9] #add#18 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
 [10] add(::String) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
 [11] top-level scope at none:0

Using clone works and allows the package to be imported. From the documentation, seems a better way would be to add as a PackageSpec as
Pkg.add(PackageSpec(url="https://github.com/SeismicJulia/SeisMain.jl.git"))

Pkg.add(PackageSpec(url="https://github.com/SeismicJulia/SeisMain.jl.git"))
is the correct way to go. "Pkg.add" alone would not work, you are right. I invite you to change your PR in this sense if you are interested to do so.
Again, thanks for your contribution.

Thanks, made a followup commit which changes this to use PackageSpec.


Error importing document from remarkable. Value cannot be null. Parameter name: source

I succesfully connected my remarkable with USB SSH (cloud doesn't work).
Now i get the following message:
Error importing document from remarkable. Value cannot be null. Parameter name: source
any ideas what i am doing wrong?
grtz MG

Having the same issue

Same issue for me. Fetching all documents seems to be ok but then you got these error message.


Added Other Requirement for Installing on Windows.

Microsoft Visual C++ 9.0 is required for installation. Otherwise large errors are show when executing pip install magic-wormhole.

Cool, thanks, landing in rebased form momentarily.


How to intercept all sql queries?

I want to track all queries that go through clickhouse_connect, including “service” requests.
In driver.client.Client._init_common_settings there are some “service” queries that I cannot intercept. Is there any way to intercept any queries that go through clickhouse_connect without rewriting driver.client.Client?

There is not currently a way to do that.  It might make sense to add a "hook" within the query* or _raw_query Client methods to allow this sort of functionality.


Automatically normalize parameters in MaximumLikelihoodHistogramFitter

Original report by Dan Becker (Bitbucket: danbek, GitHub: danbek).

I think we've all encountered situations where a scipy linear solve in MaximumLikelihoodHistogramFitter reports a poorly conditioned matrix. I found that - at least for my fitting tasks - this can be eliminated by normalizing all fit parameters so that they are roughly the same order of magnitude.
What I did was to use MaximumLikelihoodHistogramFitter as follows.
#!python

def wrap_func(func, pnorm):
    def wrapped_func(params, x):
        return func(params*pnorm, x)
    return wrapped_func

def model_func(params, x):
    # All sorts of code

parms0 = np.array([<initial parameter>])
prorm = np.array([<values to normalize by>])

fitter = MaximumLikelihoodHistogramFitter(x, n, parms0/pnorm, wrap_func(func, pnorm))
(parms_normed, pcov_normed) = fitter.fit()
parm = parms_normed*pnorm
pcov = np.matmul(np.diag(pnorm), np.matmul(pcov_normed, np.diag(pnorm)))

We could easily add a new parameter, pnorm to MaximumLikelihoodHistogramFitter to make the details transparent to the user. In practice we would nearly always set pnorm=parms0 so maybe if you set pnorm=True that means to use the initial parameter values?
Joe is rightly concerned that this doesn't make so much sense for a value that is centered around zero (or maybe even for one that could be both positive and negative), but I argue that we make the default behavior no normalization,  that's not a concern.
Another concern is what to do when the user passes in a theory_gradient. It's not clear to me whether you can just wrap the theory_gradient function the same way and expect it to work. I will try to figure this out.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Added code to calculate proper covariance matrix

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

It seems to me that we can let the generic MaximumLikelihoodHistogramFitter have arguments that control this behavior. But for the line-specific fitters (e.g., MnKAlphaFitter) I expect we can specify the rescaling for all instances to be the same.
This example raises an important question. Think about the energy center--the peak location--in Mn Kα fitting problem. It uses peak-energy parameters whose value will be around 5900, but the uncertainty on them can be 5 orders of magnitude smaller. (In many fits, the units are pulse heights instead of energy, but the 5 orders of magnitude still applies.) What is needed to get the problematic matrix well-conditioned? Parameters that are all of order 1, as you've suggested, or parameters whose uncertainty is all of the same order?

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

@{557058:34fe21d7-7863-4cd7-88d7-7f2a5c8eb7c2} : So@{557058:9524f6a0-ef9f-4466-b913-d04e51ff9093} and I have decided that this will probably be fixed, implicitly, by the switch to using LMFIT for our fits. This is nearly ready (watch branch LMFit or issue #165 for the latest if you’re dying to check it out now).
If we’re wrong about this guess, then you (or someone) can just file a new issue. But this is exactly the sort of thing that argues for switching to LMFIT: so that we can take advantage of code crafted by careful experts in the fitting domain, who have spent many person-years perfecting the underlying scipy.optimize library.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

This is fixed by PR #113, use of LMFIT. At least, we think it is.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

sounds good to me

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Removing milestone: v0.7 (automated comment)


Support for CoffeeScript v2

Any plans to update the module to use "coffeescript" instead of "coffee-script"? Seems the new v2 is available only as "coffeescript".

No such plans, sorry. We do not develop mincer anymore. Only do critical bugfixes. I can grant permissions to anyone who is able to maintain this project.
As far as i understand you can split-out CS wrapper as plugin and be independent on my opinion/plans. May be someone already did it in npm.

Hi @puzrin!
Although I don't have time to properly maintain the project, I could make the necessary changes to support newer versions of coffeescript from now on. If you're interested please give me the permissions and I'll create a pull request.

You don't need any special permissions to create PR. If it will be backward-compatible, i see no problems to accept it.

I was updating a really old application to remove some vulnerable dependencies and wanted to update to coffeescript@2. I did the following and it ended up working pretty well:
const mincer = require('mincer');
mincer.Template.libs.coffee = require('coffeescript');


Improve Linux install instructions

Trying to resolve #26 mainly adding ~/.bashrc export PATH as preferred solution.

Awesome! Thanks so much for doing this!
Is this good to go, or do you have some extra changes you'd like to make? (your comments says "trying", so I don't know if that means it's still in progress or done :/)
I think it looks good as it is, so if you're ready, I'll go ahead and merge.
Thanks again!

Yes, it's ready. I using "trying" from your pov, if it fullfills your requirements.

That makes sense. I'll go ahead and merge, then.


Where and how to exercise webExtension code in the console

Incorporate the following advice into the documentation:
there are several different devtools toolboxes in Firefox
each with a different scope. (1) The "normal" one, whose scope is a web page
(2)  the "Browser Toolbox/Browser Console" (https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox) whose scope is the browser internals main process (edited)
(3) the "Browser Content Toolbox" whose scope is one of the browser's content processes (edited)
(4) the extension toolbox, whose scope is an extension: https://extensionworkshop.com/documentation/develop/debugging/ (edited)
browserSettings is a WebExtension API, so you need the last one of these.
And since browserSettings needs the browserSettings permission, then the extension you attach the toolbox to must be one that has that permission, or browserSettings will still be undefined (edited)

Information on using the Toolbox console to exercise with extension code is mentioned in the Extension Workshop debugging page. However, for new developers being able to exercise code snippets may be of interest long before they explore debugging in any detail. The most suitable page for an additional pointer to this feature appeared to be the JavaScript APIs page.


Interactive buttons for MSG_RESPOND= type of replies

What would you like to see added?
It would be cool not only to provide "highlighted" macros as  in https://github.com/nlef/moonraker-telegram-bot/wiki/Ideas-for-macros , but also to generate a keyboard with labels based on some specific prefix.
Might be an interesting addition for gui-like experience with SCREW_TILT_ADJUST for example, so that you get a message with "ACCEPT, ADJUST, ..." which can be clicked and would then send a gcode to klipper.

New prefix tgcustom_keyboard added. The full foramt of the command is shown below.
RESPOND PREFIX=tgcustom_keyboard MSG="message='Some Message', buttons=[{name='z-.01', command='TESTZ Z=-.1'},{name='z-.05', command='TESTZ Z=-.5'}],[{name='z+.01', command='TESTZ Z=.1'},{name='z+.05', command='TESTZ Z=.5'}],[{name='CleanUp', command='delete'}]"

Autodeletion flag for selecting any button in a message
Syntaxis propably needs to be fixed/changed.
Currently working is the following scenario,due to how jinja parses stuff:

{% set bot_msg =  ""message='Some Message', buttons=[{name='z-.01', command='TESTZ Z=-.1'},{name='z-.05', command='TESTZ Z=-.5'}],[{name='z+.01', command='TESTZ Z=.1'},{name='z+.05', command='TESTZ Z=.5'}],[{name='CleanUp', command='delete'}]" %}
RESPOND PREFIX=tgcustom_keyboard MSG="{bot_msg}"

Adding spaces to "message = 'some_message'


mautrix-signal: 0.3.0 -> 0.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for mautrix-signal is: "A Matrix-Signal puppeting bridge"
meta.homepage for mautrix-signal is: "https://github.com/mautrix/signal"
meta.changelog for mautrix-signal is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0 with grep in /nix/store/03kxrs66mlb2x3m7d8y6faamivwdwf69-python3.10-mautrix-signal-0.4.0
found 0.4.0 in filename of file in /nix/store/03kxrs66mlb2x3m7d8y6faamivwdwf69-python3.10-mautrix-signal-0.4.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
mautrix-signal

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/03kxrs66mlb2x3m7d8y6faamivwdwf69-python3.10-mautrix-signal-0.4.0
ls -la /nix/store/03kxrs66mlb2x3m7d8y6faamivwdwf69-python3.10-mautrix-signal-0.4.0/bin

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

1 package built:

mautrix-signal

Maintainer pings
cc @expipiplus1 for testing.

v0.4.1 is already out

Rebased onto latest master because we need mautrix >=0.18.6 for this to build. Also, updated to 0.4.1 and deployed this to my Matrix instance, this appears to be working fine so far, so I'd merge as soon as ofborg is green.


Not really sure if this is an issue but the forums does not work for me

So i have this code in my main.js (from this website)
client.on("chat", function (channel, user, message, self) {
    if (user.mod) {
        console.log("a");
    }
});

The user is modded 100% when i unmod him nothing happens i tried self.mod too.
Actual behaviour:
nothing
Expected behaviour:
a
Error log:
No errors but when i console.log(user.mod) it says undefined

Server configuration

Operating system: Windows 10
Node version (if applicable): v10.4.0
NPM version (if applicable): 6.1.0
tmi.js version: latest

You may need to check the user property "user-type" for "mod":
user.mod || user['user-type'] === 'mod'
I use this in my bot and it's perfect.

Why isn't this there ? :D

so..
client.on("connected", function (address, port) {
    client.say("#thymue", "Hello there!");
});

and then i check
client.on("chat", function (channel, user, message, self) {
    if (user.mod) {
        console.log("a");
    }
});

It recieves that someone chatted and what he said
but the user object is just
{ emotes: null, 'message-type': 'chat' }
instead of
{ badges: { moderator: '1' },
color: '#FF69B4',
'display-name': 'baimyu',
'emote-sets': '0',
mod: true,
subscriber: false,
'user-type': 'mod',
'badges-raw': 'moderator/1',
username: 'baimyu',
emotes: null,
'message-type': 'chat' }

The "connected" event is for when the bot connected to the chat servers. It is not ready to send messages necessarily.
Self messages (messages sent from the bot) will be sent back to the events like "chat"/"message" with only a limited userstate because it wasn't processed by Twitch. You're also only seeing a limited amount of properties because Twitch hasn't sent that account's channel userstate yet, wait for the "join" event for the bot.
Generate userstate:
https://github.com/tmijs/tmi.js/blob/4dcfa551c4616d584f3d2e3d6e147bfa3f5256ba/lib/client.js#L1098
Emit as self:
https://github.com/tmijs/tmi.js/blob/4dcfa551c4616d584f3d2e3d6e147bfa3f5256ba/lib/client.js#L1114
const tmi = require('tmi.js');
let client = new tmi.client({
        identity: { username: '', password: '' },
        connection: { reconnect: true, secure: true }
        channels: [ 'alca' ]
    });

client.connect();

client.on('join', (channel, username, self) => {
    if(self) {
        client.say(channel, 'Hello!');
    }
});

client.on('message', (channel, userstate, message, self) => {
    console.log(userstate);
    console.log('Is moderator:', user.mod || user['user-type'] === 'mod');
    if(self) { return false; }
});

the message sending worked somehow.. now everything works thank you 👍


Add affinity for BackupPolicySpec

refs: https://github.com/cybozu-go/moco/issues/413

Could you also create an example manifest in examples directory?
https://github.com/cybozu-go/moco/tree/main/examples

@ymmt2005 Thanks review, sorry for late the reply.
Question, shouldn't it add anti-affinity by default?
https://github.com/cybozu-go/moco/pull/471/commits/57e56b4a99b087ea3e36832d2472be22fd4714d3

@d-kuro
Good point. I think it's a good idea to set an anti-affinity by default as long as its policy is preferredDuringSchedulingIgnoredDuringExecution.
@masa213f what do you think?

@ymmt2005 @d-kuro
Sorry for the late reply.
That's good idea to set the default anti-affinity of preferredDuringSchedulingIgnoredDuringExecution.

@ymmt2005 @masa213f
Sorry for the delay in responding.
I added default anti-affinity with preferredDuringSchedulingIgnoredDuringExecution and update docs.
https://github.com/cybozu-go/moco/pull/471/commits/bf10dbf8fef64b53c99b2ca02c90b4bd83043eb2


Published 0.12.0

Update to latest image-png
Removed unused imports

I think we're pure Rust now?


line height produces floating number for top which cause issues

right now the line highlight plugin is use parseFloat to generate the value for top however this will often be a floating number which means for even slightly high highlighted line (20+) you can notice that it is not where it should be.  I have a local modified version that does this:
var lineHeight = parseInt(getComputedStyle(pre).lineHeight);

This seems to work even when highlighting lines in the 1000's, would this be a welcomed PR?

Are you seeing this issue on a specific browser? I can't reproduce it with Firefox or Chrome. I made a quick JSFiddle to test: http://jsfiddle.net/au6yu4kv/

This is because I have a differently default font size of 13px, check this fiddle out:
http://jsfiddle.net/g50keua0/
I have tested the parseInt locally with a font size of 13px, 23px, and 33px and all of them have proper line highlighting.

 So I am :+1: on trying to fix this problem by just rounding and applying the rounded line-height to the element

Alright, I reproduce it with your fiddle under Chrome. Please feel free to submit a PR. ;)

#668

Well. It looks like it fixed the bug on Chrome... and it created it on Firefox. :(

Damn I can't find any obvious solution for this!
It looks like Firefox and Chrome just don't behave the same...
Take a look at this really simple fiddle: http://jsfiddle.net/p5283dtv/
Firefox result:
Chrome result:
IE 11 to 9 seems to behave the same way Firefox does.
Does anyone have an awesome idea to fix this?

FWIW, all of Safari, Chrome, and Opera on OS X behave the same as Chrome on Windows. I guess this is a WebKit/Blink thing.

So... I added a test to check if browser rounds the line-height, so that we can use parseInt or parseFloat depending on the result: 8ed7ce3a6d11d68d6c65801459d4aed78455baad
This is quite ugly, but I don't have any better idea.
Tested with this fiddle under Firefox, Chrome and IE 11 to 9 on Windows.


Simplify sequential character checks in Crystal lexer

A small refactor, adding char_sequence? method to check a sequence of characters.
This makes it a bit easier to read conditionals in the Crystal lexer.
Also included...

cleanups where a case expression is more readable than chained conditionals after an assignment in the condition.
some extra uses of .in?, and cleanups related to its use.

I think I tried such an optimization in the past and it made things slightly slower. It might be worth providing a benchmark.

$ hyperfine -m 100 --warmup 5 -L type old,new -- "../bin/crystal-{type} build --no-codegen red_black_tree.cr"
Benchmark 1: ../bin/crystal-old build --no-codegen red_black_tree.cr
  Time (mean ± σ):     679.1 ms ±   5.1 ms    [User: 593.0 ms, System: 88.6 ms]
  Range (min … max):   669.0 ms … 694.8 ms    100 runs

Benchmark 2: ../bin/crystal-new build --no-codegen red_black_tree.cr
  Time (mean ± σ):     675.5 ms ±   6.8 ms    [User: 592.8 ms, System: 85.3 ms]
  Range (min … max):   652.2 ms … 686.4 ms    100 runs

Summary
  '../bin/crystal-new build --no-codegen red_black_tree.cr' ran
    1.01 ± 0.01 times faster than '../bin/crystal-old build --no-codegen red_black_tree.cr'

For 50 runs against all Crystal files the samples directory, produces results that are within statistical error of one another.

Command
Mean [s]
Min [s]
Max [s]
Relative

make -f Makefile.new clean all
32.817 ± 1.429
29.544
35.201
1.01 ± 0.06

make -f Makefile.old clean all
32.337 ± 1.231
29.200
33.687
1.00

@asterite I don't see a reproducible slowdown as a result of this change.

The worst performing and reproducible benchmark is samples/sudoku.cr.
$ hyperfine -m 100 --warmup 10 -L type new,old -- "../bin/crystal-{type} build --no-codegen sudoku.cr"
Benchmark 1: ../bin/crystal-new build --no-codegen sudoku.cr
  Time (mean ± σ):     813.6 ms ±   5.4 ms    [User: 685.2 ms, System: 134.3 ms]
  Range (min … max):   803.3 ms … 826.2 ms    100 runs

Benchmark 2: ../bin/crystal-old build --no-codegen sudoku.cr
  Time (mean ± σ):     741.6 ms ±   4.5 ms    [User: 611.4 ms, System: 136.3 ms]
  Range (min … max):   733.3 ms … 750.8 ms    100 runs

Summary
  '../bin/crystal-old build --no-codegen sudoku.cr' ran
    1.10 ± 0.01 times faster than '../bin/crystal-new build --no-codegen sudoku.cr'

Are there any oppositions to turning this helper into a macro?
Also know it's not ideal practice, but adding @[AlwaysInline] made the performance equivalent.
$ hyperfine -m 100 --warmup 10 -L type new,old -- "../bin/crystal-{type} b
uild --no-codegen sudoku.cr"
Benchmark 1: ../bin/crystal-new build --no-codegen sudoku.cr
  Time (mean ± σ):     605.1 ms ±   3.1 ms    [User: 531.9 ms, System: 76.3 ms]
  Range (min … max):   598.4 ms … 615.7 ms    100 runs

Benchmark 2: ../bin/crystal-old build --no-codegen sudoku.cr
  Time (mean ± σ):     606.2 ms ±   3.0 ms    [User: 533.0 ms, System: 76.1 ms]
  Range (min … max):   599.8 ms … 616.0 ms    100 runs

Summary
  '../bin/crystal-new build --no-codegen sudoku.cr' ran
    1.00 ± 0.01 times faster than '../bin/crystal-old build --no-codegen sudoku.cr'

You could also try making the method private. That should encourage inlining.

I think the benchmark should just be parsing. Like using Benchmark.ips and code that just parses. I might try it later.

I just ran a benchmark and there's no noticeable difference, so 👍


Bump KEB to 1.1.5

Description
Changes proposed in this pull request:
Related issue(s)

/kind enhancement


Connectbot cannot import own output?

I have a 1024 bits RSA key on my old phone. I did "Copy Private Key" and "Copy Public Key" and copied those to their respective files on the old phone. Checked that they had *nix style line ends, and moved the files to the new phone. I selected import, but I got "Problem parsing imported private key", both times, even though it's Connectbot's own output, and one is obviously a public key.

Either this is already fixed, or it's never going to be.


Add a field to ServerSession where user defined object can be stored

When users want to keep track of per-session state for the application, users have to maintain per-session map and do mutex lock/map lookup on any subsequent callbacks including OnFrame(), which is expensive.
Why don't you just add a field to ServerSession where users can store any user-defined per-session object?

I believe that this issue has a broader scope and it also applies to other entities as well. For example, I don't believe that currently there is a way to provide user defined context.Context to the following entities:

gortsplib.Server (ctx is assigned here),
gortsplib.ServerConn (ctx is assigned here),
gortsplib.ServerSession (ctx is assigned here).

So it looks like the original context is created in (s *Server) Start() and it is wrapped with context.WithCancel() in newServerConn and newServerSession later on. Anyway, it would be great to have a way of providing user defined context since it would improve usability and extensibility of gortsplib greatly.

SetUserData() and UserData() have been added to ServerSession. A type-checking based implementation would have required a significant change in the public API of the library, therefore i decided towards an approach that doesn't require any change in existing code.


Builder: initial serve implementation

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on:

GitHub release
npm package (@alpha dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on:

GitHub release
npm package (@beta dist-tag)

Your semantic-release bot :package::rocket:


Crash on Ubuntu 20.04

When trying to run a dedicated server on Ubuntu 20.04 I keep getting this error:
NullReferenceException: Object reference not set to an instance of an object
  at kcp2k.KcpTransport.ServerStart () [0x00000] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkServer.Listen (System.Int32 maxConns) [0x00012] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkManager.SetupServer () [0x00066] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkManager.StartServer () [0x00019] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkManager.Start () [0x00008] in <3f58c2d5ab6045e99072d494f8577adc>:0

Steps to reproduce:

Create a mirror project using Kcp Transport or clone this test repository
Build it with IL2CPP
Run on Ubuntu version 20.04

What fixed for me
To not get the error I had to run it on an older version of ubuntu (18.04).

@Varollo please debug to see which line this exception happens on.
please try without IL2CPP.
please try with IL2CPP but without 'nonalloc' option.
and report back


Refactor discussiongroups.member (remove KeyValueProperty)

def migrate():
  from solutions.common.migrations.migrate_discussiongroups import job
  job()

could you combine this with #1677 ?

could you combine this with #1677 ?


Combine two params into one (into master)

This PR replaces https://github.com/DFE-Digital/teacher-vacancy-service/pull/1360/ which was a request to merge into develop. There is a small amount of conversation there. @stevenleggdfe confirmed that this change does not impact him.
Original PR description:
This PR builds on #1359 (now merged). It's written in the spirit of the agreement to do refactoring as we come across things that need refactoring.
I made a judgement call about whether there should be some inconsistency in the hiring_staff/vacancies_controller file or in the config/routes.rb file. I traded off consistency in the params used in the former against regularity in the latter. Previously, #show, #edit and #delete used id as the param key, while #review and #summary used job_id. This had caused some duplication of methods in the controller. Open to disagreement on this.
A couple of path aliases are different but the urls are the same as before.

I'm confused about where the interloping 5 commits (3 from @tatyree and 2 from @cpjmcquillan ) came from.

This one has been open for a while and has accidentally picked up external commits.  Can we go ahead and just close and delete it for now?


Update description of optional parameters in mine-github

Some descriptions in command-line parameters (eg. --include-fork) are wrong.

Solved. In addition, the module will be moved to a separate repository.


why we don't consider the max_position when we calculate the delta_pair_NDCG

In the code filehttps://github.com/microsoft/LightGBM/blob/master/src/objective/rank_objective.hpp, the max_psition only work when we calculate inverse_max_dcg.
why we don't consider the max_position when we calculate the delta_pair_NDCG

refer to https://github.com/microsoft/LightGBM/issues/2746#issuecomment-583211348
We didn't use that since we follow the original paper.
You can try to set low_discount and high_discount with std::max(DCGCalculator::GetDiscount(max_position), ...)
If this indeed can help the performance, the PR of this change is very welcome

refer to #2746 (comment)
We didn't use that since we follow the original paper.
You can try to set low_discount and high_discount with DCGCalculator::GetDiscount(std::min(max_position, cur_pos)).
If this indeed can help the performance, the PR of this change is very welcome

Thank you for your answer which helps me a lot.


updated event highlights

#135
Will update the Hacksprint discord link and hoth application link once they are ready

Oh wow ahaha the HOTH 7 banner looks very out of place right now. Hmmm @khxia @GalenWong what do you think? I'm thinking of leaving it on for now because I want the HOTH blurb up, but do you think it looks bad?

Oh wow ahaha the HOTH 7 banner looks very out of place right now. Hmmm @khxia @GalenWong what do you think? I'm thinking of leaving it on for now because I want the HOTH blurb up, but do you think it looks bad?


Android CardIOActivity - default scanning screen cutomization

Hi,
Is it possible to customize the default scanning screen?
From https://github.com/card-io/card.io-Android-SDK/issues/40 I notice that we cannot add buttons, text field etc.. to the default scanning screen. Is this still the case with version 5.0.1?
Also, is it possible to customize the Keyboard button and modify the text. Can I pass in a custom text which gets displayed instead of "Keyboard" on the default scanner activity?

Yes.
The card.io is open source!


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Pix---/ioBroker.tankerkoenig

[x] [E154] common.dependencies must contain{"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}
[x] [E605] No actual year found in copyright. Please add "Copyright (c) 2016-2022 pix" at the end of README.md

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

fixed all

Thanks, that all bugs have been fixed.


add registry column to image table

https://github.com/dockstore/dockstore/issues/3275

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dockstore-common/src/main/java/io/dockstore/common/Registry.java  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dockstore-common/src/main/java/io/dockstore/common/Registry.java  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dockstore-common/src/main/java/io/dockstore/common/Registry.java  2

See the complete overview on Codacy

Looks like the DockstoreTool model is being changed in Swagger, are there breaking changes for the frontend?
😢 yes there are


[Bug] Quantum Entagloporter Disconnect

I have a save that have been playing on for awhile and updated Mekanism to it. The problem now is the quantum entagloporter disconnects from Mekanism conduits whenever I log in. The frequencies previously saved in the entagloporter now become useless so I have to reset them everytime.
This does not happen all the time in newly generated worlds but it happens from time to time. I have the save wherein it happens all the time. I am playing this world in my own modpack.
I hope you can find what's going on here. V9 is such a wonderful update. :(
modpack: http://minecraft.curseforge.com/projects/garden-mekanism?gameCategorySlug=modpacks&projectID=240813
save: http://www.mediafire.com/download/tdz6ko0cza8fime/Garden_Mekanism_Let's_Play.zip

Are the entangloporters across dimensions by any chance? If so I may know the issue.

No, I thought so too. I removed that too. Only had two in a spot and relogged. It still disconnected.

Well that at least makes things easier on me. I'll look into it

Thank you

Would you mind explaining how the frequencies become useless?  Do they disappear or just not work anymore?  If you reconnect both entangloporters to the "useless" frequency, will it work again?

In my instance, the Quantum Entangleporters still list the frequencies in the frequency list, but trying to set each entangleporter back to that frequency does not work.  One has to create a completely new frequency and then set both on that new frequency and remove the "dead" frequency.  Creating a new frequency and then switching back to the old one without first removing it does not work either.

 Even changing to diferent freq and reverting back doesnt make it work.

So you can't even set the entangloporter to the frequency- it won't show up as set in the interface?

Also, is this with a public or private frequency?  Does the issue reproduce for both kinds of frequencies?

The bug seems to happen only with public frequencies. Tested with private and everything works as intended. After relog entangleporter is still set to the frequency but cables are not connecting. All other previously created and unused public freq dissapearing on relog. Creating new one and reconnecting to the old one again doesnt work either.

It's weird, I was able to reproduce this issue twice a bit earlier this morning but now I can't get it to happen for the life of me.  I'll keep researching, let me know if you have any other details which will let me narrow it down.

The more I work with this, the more convinced I get that this is primarily a world transition issue.  The naming of frequency networks changed between v8 and v9, meaning the world loader may be getting confused when loading frequency lists.  I've now tested three different newly generated worlds with mixed Teleporters and Quantum Entangloporters, inputting and outputting all kinds of resources, with their locations in the End, Nether and Overworld, and have yet to run into this again.  If someone can isolate this with a specific process of reproducing I'll look into it again, but in the meantime I'm going to mark this as closed.

Okay, I just spun up a brand new instance of MC 1.7.10 with Mekanism, CoFH core and Lib, and CodeChikenCore and ChickenChunks.  The issue is not happening upon game shutdown and reload with this instance.  Is there anywhere else that Mekanism saves information outside of the world folder that could be causing the issue as the instance that I used before was updated from Mekanism v8 to Mekanism v9?

No. Entangloporter data is exclusively stored in world-based NBT storage and is not linked to any dimension or location- all frequencies are kept track of on world load and join. In Mekanism v8, before entangloporters existed, I stored ALL frequencies (including teleporter frequencies) with the same frequency manager ID, and as that changed in v9, there's a chance that the world storage gets confused with the update. Let me know if you encounter the issue in a new world instance that was created with v9, but as your and my testing suggests, I think what we found was something related to world conversion.

Well I just switched back over to my main instance (a heavily altered version of Resonant Rise <IP_ADDRESS>) and created a brand new world with Mekanism v9 already installed, so no upgrading from v8, and the issue happened again.  I am currently disabling any mod that I think ties in with Mekanism, so far I have EnderIO and BDew's Pressure Pipes, to see if that makes a difference.

There may be a conflict in NBT storage identifiers that is causing issues. I can't give you any names, but narrowing the list is smart. I really appreciate your help!

No problem.  Is there any way to see if another mod or something is overwriting or corrupting the NBT data in the world save?

There are certain extensions which let you track what data is stored, but that's not going to give you details on the actual offending mod. Try removing a big hunk of mods in your current instance and see if that solves the issue- if it does, you can test within that hunk and keep narrowing down.

Okay, so after a bit of testing, I have found that the issue seems to be coming from Compact Machines' implementation of Mekanism gas transfer into and out of the compact machine (a separate dimension with interactive blocks).  Either removing Compact Machines or just disabling the Mekanism integration seemed to have fixed the issue!

I'm loathed to add EIO 426 because of this issue report https://github.com/SleepyTrousers/EnderIO/issues/3333
EIO addons is not in the pack you must have added that.
MFR is already on a newer version in BetaS
Can do ExtraCells but not EIO until they fix the above issue.

Just a note to confirm the same problem happens for me using Mekanism-1.7.10-<IP_ADDRESS>1.  I'm using a private frequency to transfer gas from an RFTools dimension to the overworld that stopped working.  Creating a new frequency on the sender and receiver will fix the problem.  The 'old' frequency remains broken. Going back to that frequency will not transfer gas, and then switching to the 'new' frequency will transfer gas.

@aidancbrady Do you have any tips in finding out the root cause of the issue.  I have kept up with the issues of the project, and there have been several issues opened which seems to be related to this problem.  I have tried to disable and re-enable mods to find out which might be causing the issue, but after one time that I had disabled all mods except base Mekanism, and then re-enabled them, with the entangelporters working before the re-enable as well as after, I can't seem to figure a way to hunt down the problem.


"Unable to connect device" error 0.0.5 Latest release.

There is a problem with "Unable to connect device" 0.0.5 Latest release.
Working on  0.0.2 release. Bluetooth enabled done
Thanks for this great package

hmmmmm, may i know whether the problem still?

+1, same issue here. But instead of real printer, I am testing it with "Printer Emulator App" and I am getting "unable to connect device".
Using latest release 0.0.5
thanks.
Lokesh

Sorry, I known noting about  "Printer Emulator App"
发自我的 iPhone

在 2019年3月20日，上午1:25，Logeswaran Audhikesavan<EMAIL_ADDRESS>写道：
"Printer Emulator App"

is it the reason like this? #45


Param parse_mode is typed with Enum

https://core.telegram.org/bots/api#formatting-options
parse_mode: Optional[str] = None

If the parsing_mode == MarkdownV2, all dots must be escaped. There might be others symbols to escape. Need to investigate and implement in terms of this issue.


bug if NOT self.config.grad_clip

FYI, https://github.com/zlpure/CS234/blob/master/assignment2/q2_linear.py#L245
would produce error as clipped_grads_and_vars wouldn't be available if not self.clipped_grads_and_vars

Thanks! if NOT self.config.grad_clip, clipped_grads_and_vars is not defined. But the performance will be better when using grad clipping. So I omit the self.config.grad_clip flag.


In rendering context variables that were not provided should be initialized

Currently only variables that were provided using with are passed to the templates. This breaks in two cases:

When an identically named variable exists in the outer scope, it will leak into the inner scope:
{% with label="foo" %}
    {% formrow bar %}
{% endwith %}

This will output a field labeled “foo” which may be unexpected and very hard to track as the variables could come from a different template file.

When using Django's string_if_invalid to track errors in templates, uninitialized variables are no longer considered empty by the default filter:
# settings.py
TEMPLATES = [{
    'BACKEND': 'django.template.backends.django.DjangoTemplates',
    'DIRS': ...,
    'OPTIONS': {
        'debug': True,
        'context_processors': ...,
        'loaders': ...,
        'string_if_invalid': '<< MISSING VARIABLE "%s" >>',
    }
}]

{% formrow bar %}

This will output a field labelled “<< MISSING VARIABLE "label" >>” and with a help text of “<< MISSING VARIABLE "help_text" >>”.

If variables like label, help_text and classes were always initialized to field.label, field.help_text and so on then the row template itself would become simpler:
{% with classes=field.css_classes label=label|default:field.label help_text=help_text|default:field.help_text %}
...
{% endwith %}

This with would be unnecessary.

Hi, sorry for my late response, I've been on a longer trip with no coding on the plan :)
I know the trouble you are having with the variables leaking into inner scopes. That's not ideal in some circumstances, but the idea is to mirror the semantics of Django's {% include %} template tag. You can isolate the scope by using the only keyword just as with the include tag, there is an example on this page: http://django-floppyforms.readthedocs.org/en/latest/templatetags.html
The issue with the string_if_invalid has been discussed quite a while back: https://github.com/gregmuellegger/django-floppyforms/issues/37#issuecomment-6605001 it's a little tricky, since Django's template language behaves odd in a few places if you set the setting. However I only tried this back before the different template engines were introduced. But I'm afraid we are out of luck here to reliably support this setting in all circumstances. Maybe the link from above helps a little.
Regarding initializing the variables label, help_text etc: It's true, it would make the template code easier to read. However the goal of the template rendering of floppyforms is to put as much logic into the template in order to keep the rendering out of the python code. And if we pull the initialization into the template tag logic, then we miss out on the explicitness that we have right now in the templates, so that you know where the values come from etc.
Am I a little to puristic here, what do you think?

In our case we depend on string_if_invalid to make sure templates do not rely on incorrect/mistyped variables. This forces us to override the templates provided by django-floppyforms to avoid errors in output.

Does this trick make it work for you:
class Invalid(unicode):
    def __nonzero__(self):
        return False

TEMPLATE_STRING_IF_INVALID = Invalid('<INVALID>')

It did work in 2012 :) when I wrote the comment linked above.

That would change the behaviour of string_if_invalid and make it harder to detect errors in our templates. FWIW in our templates we consider {{ undefined|default:'asd' }} to be a bug.

Hm, that's quite tricky. I'm afraid I have to close the initial proposal for initializing the variables with a "won't fix" as this behaviour is intended. I'm quite sorry that this makes your life harder than it could be.
Do you have any other suggestions how we could come to a better solution? Maybe making everything work with the TEMPLATE_STRING_IF_INVALID might do the trick. Any efforts in that direction are welcome.


External ip mapping services

Using feedback from my earlier pull request here:
https://github.com/GoogleCloudPlatform/kubernetes/pull/3435
I've rewritten the onramp router to be merged with the kube-proxy service to provide external ip mapping services:
#Overview
One of the features thats missing in Kubernetes is the ability to assign external ip addresses to pods in a kube cloud. This patch series is the start of my work to enable that access. It allows this access via the following:

Augemtation of the Service specifcation to include an External Mapping boolean
Augmentation of kube-proxy so that when ExternalMapping is true:

PortalIP is taken to be the external ip address to assign for use in external proxying
The Selector key "pod" is used to find the pod to forward requests to
The Selector key "node" is used to identify the specific host to preform the forwarding

#Operation
External IP services operate via iptables.  When a given kube-proxy instance detects that it has been requested to forward external requests to internal hosts, it sets up two sets of iptables rules, an internal DNAT rule to translate the specified external PortalIP adress to the internal Pod IP address and a Masquerade Rule that translates outgoing traffic to use the PortalIP address instead of its Pod Address
#Limitations
Currently kube-proxy assumes that the PortalIP address specified in the service json is already assigned to the selected node.

@brendanburns based off comments from https://github.com/GoogleCloudPlatform/kubernetes/pull/3435

@ramr and @pweil please familiarize yourself with this.

First, I am sorry, I totally ignored this and the previous PR.
I read the whole previous PR and now this form.  I  just don't get it.  I
don't comprehend the problem this is solving.  For students of history, the
first version of public IPs was more or less this - a pod asked for an
external IP, we created a forwarding rule and whenever that pod moved
around we updated the forwarding rule.  But we decided this was wrong -
this is what services are for.
Continuing down that path illustrates: To handle multiple pods in a
load-balanced service we would make the pods reference a symbolic external
name and the external load balancer would forward to one of the nodes that
held a pod in that set.  The node would recognize the load-balancer traffic
and forward it to a pod.  But we want internal access to sets of pods, and
those sets of pods are called Services.  So instead we said we would give
external access to Services (and trust me there was some hot debate on
this).
The current implementation of external IPs is weak, to be sure, and it
doesn't strictly NEED to bounce through kube-proxy - we could dynamically
manage external LBs to track nodes that hold pods in the service in
question.  We just don't yet.  This is a place where we can improve very
incrementally and obviously.
I'm not particularly keen to re-adjudicate the overall "do public IPs go to
pods or services" design point, especially at this point in the product.
But for the sake of all the work that already went into this, let me ask
questions and comment.  Maybe I am wrong, and there's something here I am
totally missing.
How is this different than assigning a public IP to a Service backed by a
single Pod?  We have a way to have a node answer for an arbitrary IP:port
and forward to a service.  That can be optimized to avoid userspace - we
already know how to do that, but have not had time yet.  That approach is a
DoS waiting to happen, so I really want to move away from it and onto
something a bit more controlled.  That said, what about what we have today
doesn't work for you?
Design point: overloading the selector to have special meanings: No. Please
no.  If we are to pursue this avenue, we'll find a way that doesn't piggy
back on a string-string map just because it happens to exist :)
There is some simplicity in the original PR's design - pods know which
service(s) they are in, and we use that to build all the mappings.  This
was the original debate.  There's also some elegance in the decoupling of
these constructs.  Given that there was a decision made (in favor of
decoupling), help me understand what you're shooting for?
On Wed, Apr 15, 2015 at 9:05 AM, Clayton Coleman<EMAIL_ADDRESS>wrote:

@ramr https://github.com/ramr and @pweil https://github.com/pweil
please familiarize yourself with this.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/6386#issuecomment-93462931
.


how do i disable "sudo" underline

Dear all:
    I want to disable "sudo" underline, and change that colour

Change the value of ${ZSH_HIGHLIGHT_STYLES[precommand]} as explained in the documentation.

Change the value of ${ZSH_HIGHLIGHT_STYLES[precommand]} as explained in the documentation.

Thats worked, thx man


[BUG]  On Arch Linux, plugins only work only from within virtual environment

Describe the bug:

Install Arch linux
Install mov-cli from AUR using yay
Follow instructions to install mov-cli-youtube from here: https://github.com/mov-cli/mov-cli-youtube
doesn't work because Arch doesn't allow direct pip installs, install is instead directly into venv
try to launch using command provided to test if it works mov-cli -s youtube nyan cat
gives error:

decide to test with same venv as it was installed in venv/bin/activate. Works
Very inconvenient and would be nice for it to work without having to launch a venv every time

Expected behavior:
Using mov-cli -s youtube nyan cat should allow the plugin to work. It doesn't unless launched in venv
Screenshots:

Platform:
OS: Arch Linux x86_64
Kernel: 6.9.2-arch1-1
DE: Plasma 6.0.5
Additional context / possible cause or solution:

Version
4.3.15

Describe the bug:
1. Install Arch linux

2. Install `mov-cli` from AUR using yay

3. Follow instructions to install mov-cli-youtube from here: https://github.com/mov-cli/mov-cli-youtube

4. doesn't work because Arch doesn't allow direct `pip installs`, install is instead directly into venv

5. try to launch using command provided to test if it works `mov-cli -s youtube nyan cat`

6. gives error:
   ![image](https://private-user-images.githubusercontent.com/90151527/336996947-f5ed1692-1198-4c66-a76c-ed8f1ced083d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc2MjMxMDAsIm5iZiI6MTcxNzYyMjgwMCwicGF0aCI6Ii85MDE1MTUyNy8zMzY5OTY5NDctZjVlZDE2OTItMTE5OC00YzY2LWE3NmMtZWQ4ZjFjZWQwODNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA1VDIxMjY0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1ZmE3NjNjNDVhY2NlMzVlNmRhYjdiZGNjZTQ0ODQzZTIwMjQzNTA5YzEwMTMxZDI0NGI3OTQyZDViZjQyZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qqHiwpcX9g8lRHl9RaV6NxBKYTzxwd07BsoMli1zYjE)

7. decide to test with same venv as it was installed in `venv/bin/activate`. Works

8. Very inconvenient and would be nice for it to work without having to launch a venv every time

Expected behavior: Using mov-cli -s youtube nyan cat should allow the plugin to work. It doesn't unless launched in venv
Screenshots:
Platform:
OS: Arch Linux x86_64 Kernel: 6.9.2-arch1-1 DE: Plasma 6.0.5
Additional context / possible cause or solution:
Version 4.3.15

There is a aur package: python-mov-cli-youtube

Hello,
Thank you for your response.
I installed the package through the AUR and it works. The plugins don't work since they require pip to install and on arch pip doesn't work.
Here is the message it gives when trying to install directly from pip:

For this to work one needs to spin up an venv environment which is inconvenient.

Would it be possible to provide links on the main page to the repository? That would be helpful for those of us on arch!

will do


Rewrite of react-native-lookback

Hi, I've re-written from scratch the wrapper for Lookback for RN.
It supports the latest version of Lookback, as this repo appears to be unmaintained.
I haven't as yet published it, but once I have I'll post a link to it here
Just thought I'd let you know!

Hey @samjt I'm just about to do a Lookback integration and would love to know what you have

Sure, hope to publish soon, just doing some final cleanup. Will let you know @tightenco

Hi all, here's the newly written version of react-native-lookback:
https://github.com/spotify/react-native-lookback

Now on NPM, you can use the standard npm install react-native-lookback to get the new package.


Update name of coverage action

Reference issue

None really.
What does this implement/fix?

This mainly makes it more obvious which action measures coverage.
Additional information

As asked about on discord (cc: @tupui 😉)

Wanted to make sure it didn't break anything


[SPARK-41658][CONNECT] Enable doctests in pyspark.sql.connect.functions

What changes were proposed in this pull request?
This PR proposes to enable doctests in pyspark.sql.connect.functions that is virtually the same as pyspark.sql.functions.
Why are the changes needed?
To make sure on the PySpark compatibility and test coverage.
Does this PR introduce any user-facing change?
No, doctest's only.
How was this patch tested?
New Doctests Added

Thanks for working on this. Looks pretty good otherwise.

All related tests passed.
Merged to master.
Thanks for finishing this one @techaddict


feat: Hide passwords in syncer

Showing the password as plaintext is not a good idea, please consider hide the password.

Fixed by: https://github.com/casbin/casdoor/commit/b8db07db4d601bba809054041e0950a310b4de96


Suggestion: show potential profit

it would be neat to show the expected profig when you mouse over the item

i'd add to that, it would be cool to have the price examin text be the hover text and that with a profit number
a.e. ge: 100 (10Ea) ha: 10m (1mEa) profit: 1mEa


fix atari max_episode_steps

close #195

@Trinkle23897 Is it correct that this PR is yet to make into the release (I don't see it in https://github.com/sail-sg/envpool/releases)? It has been a few (5) months, so wanted to check if a new release is coming to pypi.

oops sorry will make a release during the weekend

https://pypi.org/project/envpool/0.8.3/

thanks @Trinkle23897 !


I can't find open application form on https://dlrl.ca/

Hello, you have written that application is open on deep reinforcement summer school by cifar, but unfortunately i can't find form to fill, so can you help me? @sshkhr

It seems applications are not open yet. Keeping checking their website https://dlrl.ca/

@hazratali  okay thanks

@datonefaridze APPLICATIONS ARE OPEN NOW. DEADLINE IS 9 APRIL 2021.


Its blocked

Securly blocked this, which it the opposite of what it is supposed to do.

Hello, @minecraft941! Securly has content filtering capabilities that essentially filter insecure content (i.e. Insecurly). If it doesn't work, you could try my modded version of zek-c's KillCurly exploit KillCurly Working.


call imgui_sys from ui ?

Hi,
is possible to call ig from imgui_sys from ui interface. something like:
            if ui.collapsing_header(im_str!("Menu")).build() {
                ui.imgui::igNextColumn(); // <-- this
                show_user_guide(ui);
            }

BTW, I've sent a Pull Request that implements columns methods
best

The raw and unsafe imgui_sys functions are not exported from imgui, because I don't want to encourage people to mix safe and unsafe APIs except when absolutely necessary.
What you can do is:

Add imgui-sys dependency to Cargo.toml
Add extern crate imgui_sys
Call any imgui_sys functions anywhere, if you are 100% sure you know what you are doing and you are not violating any rules


Add My College Name

Add My College Name : Global Nature Care Sangathan's Group of Institution , Jabalpur M.P.
official Website: http://www.globalengineeringcollege.com/

@Siddhant-K-code Pull request merged. Thank you!


Lazy still broken in Python

:bug: Bug Report
The following fails on CDK 1.49.1:
class Foo:
def produce(me, context):
return self.api.rest_api_id
lazy = core.Lazy.string_value(Foo())
with the error: AttributeError: type object 'Foo' has no attribute 'jsii_type'
Possibly recurrence or variant of 807 (https://github.com/aws/jsii/issues/807)
Affected Languages

[ ] TypeScript or Javascript
[X ] Python
[ ] Java
[ ] .NET (C#, F#, ...)

General Information

JSII Version: <!-- Output of jsii --version --> CDK version is 1.49.1
Platform:  Darwin MacBook-Pro.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64

What is the problem?

Lazy in AWS CDK Python appears to have a jsii serialization problem; see discussion in 807.
Verbose Log

Traceback (most recent call last):
File "deploy.py", line 80, in
deployer.deploy()
File "deploy.py", line 63, in deploy
cdk = cdkstack.CdkStack(scope=app, id='VendiaShareDeployer',
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_runtime.py", line 66, in call
inst = super().call(*args, **kwargs)
File "/Users/timwagner/Desktop/projects/vendia/src/share/server/deploy/cdkstack.py", line 32, in init
lazy = core.Lazy.string_value(Foo())
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/aws_cdk/core/init.py", line 6313, in string_value
return jsii.sinvoke(cls, "stringValue", [producer, options])
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_kernel/init.py", line 113, in wrapped
return _recursize_dereference(kernel, fn(kernel, *args, **kwargs))
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_kernel/init.py", line 311, in sinvoke
args=_make_reference_for_native(self, args),
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_kernel/init.py", line 124, in _make_reference_for_native
return [_make_reference_for_native(kernel, i) for i in d]
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_kernel/init.py", line 124, in
return [_make_reference_for_native(kernel, i) for i in d]
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_kernel/init.py", line 151, in _make_reference_for_native
kernel.create(d.class, d)
File "/Users/timwagner/Desktop/projects/vendia/src/share/venv/lib/python3.8/site-packages/jsii/_kernel/init.py", line 226, in create
fqn=klass.jsii_type or "Object",
AttributeError: type object 'Foo' has no attribute 'jsii_type'

Ah, so perhaps this is an AWS CDK issue: The example at https://docs.aws.amazon.com/cdk/latest/guide/tokens.html (with Python selected) fails as written, but if you use the example from #807 and add @jsii.implements(core.IStringProducer) as an annotation to the producing class, it succeeds with the workaround.

This seems stil an issue. Can you reopen this bug?


On brower VPN implementatio (on start up)

Description
Start an in browser VPN (on start up)
Who's implementing?

[ ] I'm willing to implement this feature myself

The problem
Can we have an in browser VPN (for enhance privacy)?
Possible solutions
Can we have an in browser VPN (for enhance privacy)?
Alternatives
Using a system wide VPN
Additional context
No response

If you're on Flatpak, keep in mind that there is a bug that causes manually set proxies to not work properly. The issue also impacts those "VPN" extensions.

@networkException it might be a silly question, but how do I install an extension.

Please check https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#can-i-install-extensions-or-themes-from-the-chrome-webstore (or go straight to https://github.com/NeverDecaf/chromium-web-store if you want to install them directly from the Chrome Web Store).

chrome://ungoogled-first-run/ page, how-to section, install and update extensions part, describing the process, might also be helpful, pointing the same pages @tomasz1986 linked to.


Static Check Resolutions

What type of PR is this?
/kind cleanup
What this PR does / why we need it:

Cleans up static check reported issues
Corrected misspelling discovered in my travels

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Discovered that config yamls are generated.   Looking to resolve that in a different PR.   I have a strong preference to not check in generated code or configurations.
Does this PR introduce a user-facing change?:
NONE

Let me know if the empty Tests should just be deleted

I was expecting to see the .circleci/config.yaml file change to run the staticchecker.

great point... I need to understand a bit more as there is a required installation that must be on the node.


Ignored Topics feature request

Can you add a Topic to ignore individual Generations, like Tempus for example?

Just log in and add vtubers you're interested in to favorites.
It's why that system exists so you can pick your own set of channels to follow.


Fix#4484 : Allow unselect an item when multiselect is False

#4484

Please read our discussion on https://github.com/kivy/kivy/pull/4776#discussion_r91833587 again, this is not the right fix.


Day 4: product of all except the self

There are some conflicts in your branch chek it out. Please keep the file extension as per guidelines. .txt files will not be accepted. Kindly change it to .md

Sure I'll figure it out

error: invalid path 'Blind 75 LeetCode/Abhiram Hegde /Two Sum/README.md'
error: invalid path 'Blind 75 LeetCode/Abhiram Hegde /Two Sum/solution.java'
error: invalid path 'Blind 75 LeetCode/Abhiram Hegde /readme.md'
these are some of the problematic files leading to error to the pull requests


Multiple Decision tree test?

Is this to be expected?

And some cores are zero?

Please check the parameters in config.py. They are combinations from single tree/random forest, shallow tree/deep tree, and classification/regression.


Make Field Mandatory in Family Record

1.) In family records, under stages, if Registered with MARE is selected, make the status drop down (Active, on hold, etc.) mandatory.

Similar issue to #283

decided too complicated to achieve, can be met with staff training.


QField Android Platform Setup Error[boost-vcpkg-helpers] Build error on x64-windows

Package: boost-vcpkg-helpers:x64-windows -> 1.83.0
Host Environment

Host: x64-windows
Compiler: MSVC 19.38.33133.0
vcpkg-tool version: 2023-11-16-4c1df40a3c5c5e18de299a99e9accb03c2a82e1e
vcpkg-scripts version: 18368dba5 2023-11-29 (3 weeks ago)

To Reproduce
vcpkg install
Failure logs
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt -> boost_LICENSE_1_0.txt...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from D:\Projects\build-QField-Desktop_x86_windows_msvc2022_pe_64bit-Debug\_deps\vcpkg-src\vcpkg-bundle.json
[DEBUG] Failed to open: D:\Projects\build-QField-Desktop_x86_windows_msvc2022_pe_64bit-Debug\_deps\vcpkg-src\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
error: Failed to download from mirror set
error: https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt: WinHttpSendRequest failed with exit code 12002
error: https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt: WinHttpSendRequest failed with exit code 12002
error: https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt: WinHttpSendRequest failed with exit code 12002
error: https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt: WinHttpSendRequest failed with exit code 12002
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(1048):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 23us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 6335us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 2.9 min (175636157us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  ports/boost-vcpkg-helpers/portfile.cmake:4 (vcpkg_download_distfile)
  scripts/ports.cmake:170 (include)

Additional context
vcpkg.json
{
  "name": "qfield",
  "version-string": "dev",
  "port-version": 1,
  "homepage": "https://github.com/opengisch/qfield",
  "description": "A simplified and touch optimized frontend for QGIS.",
  "dependencies": [
    {
      "name": "gdal",
      "default-features": false
    },
    "qgis-qt6",
    {
      "name": "qtsensors",
      "features": [
        "qml"
      ]
    },
    "qtwebview",
    "qtconnectivity",
    "qtdeclarative",
    "qtlocation",
    {
      "name": "qtcharts",
      "features": [
        "qml"
      ]
    },
    {
      "name": "qtmultimedia",
      "features": [
        "qml"
      ]
    },
    "qtserialport",
    {
      "name": "qca-qt6",
      "default-features": false
    },
    "nu-book-zxing-cpp",
    {
      "name": "sentry-native",
      "platform": "!android & !ios & !osx"
    },
    "spix-qt6",
    "catch2",
    {
      "name": "sentry-cocoa",
      "platform": "ios | osx"
    }
  ]
}

See https://github.com/microsoft/vcpkg/issues/29395

Once Used VPN the URL which Mentioned Below is Accessible in Browsers, Even though it faces the same issue on executing the build script via Bash Terminal
Command Executed : cmake -S D:/Projects/QField/ -B C:/build -D VCPKG_TARGET_TRIPLET=x64-windows-static -D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded:Debug -D PKG_CONFIG_EXECUTABLE=build/vcpkg_installed/x64-windows/tools/pkgconf/pkgconf.exe -D VCPKG_INSTALL_OPTIONS="--x-buildtrees-root=C:/build"
https://raw.githubusercontent.com/boostorg/boost/boost-1.83.0/LICENSE_1_0.txt

@ajithandro Please pass vcpkg through the proxy as well. :)

@FrankXie05 Can you Please Give Me Some More Details on Pass Vcpkg through the proxy, Still I'm Stuck in the Same Position, Now I'm trying to set this with the Linux environment I'm getting the same in that too

@ajithandro

You can manually access, so there is no problem with this link.
You can manually observe your proxy server logs to see if vcpkg’s access request is denied due to firewall or proxy server rule settings.

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


Website - Focus the search input when opening the search bar

Are you requesting a feature or reporting a bug?
A bug
What is the current behavior?
The search input is not focused when I open the search bar.
What is the expected behavior?
The search input should be focused when the search bar is opened.

Closed by https://github.com/DevExpress/testcafe-gh-page-assets/pull/41


93 issue redundant headers appended

Hello everyone, this is my first pull request. In this branch, I deleted the redundant headers ("State ..., Full District Name") except for the 2nd line where it is used as a reference. Please let me know if anything needs to be changed further. Thank you.

Hi Kobe, thank you for working on this! I apologize for not being clearer in this issue--what I'm really trying to fix is not the redundant headers themselves in the CSV file, but whatever is causing the redundant headers in the code that generates the CSV. Could you investigate?

Hi Trey, thank you for the update. I'll investigate the cause of the redundant header generation issue.


Generator fixes

There where a few things that did not make not much sense. I corrected them.

Very nice work!