Implement Index rule for equalities (Index.Get(...))

Since I didn't see the other task, should this cover expressions as well or just indexed columns equaled to something? Also, for this to actually be implemented it needs to be done at the same time as https://github.com/src-d/gitbase/issues/253, since you cannot do anything with the found indexes for the expressions if you can't give them to the table.

This should cover all indexed expressions on Equal expressions, per example:

LANG(te.name) = "Go": if LANG(te.name) is indexed, we should be able to use Index.Get("Go") method to obtain an IndexLookup object. IndexLookup object will implement the simplest interface, containing Values()valueIterator method.

We can start with a first approach just using literals, and then, on a second iteration, be able to evaluate expressions to get the Literal.

Proposal
Create a new rule find_indexes (or whatever) that does the following:

Walk the expressions of nodes that are not projections.
For each expression that is encountered we ask the index registry if there's any index for that expression until any of them matches.
If the matched expression is just a column, make sure is in an equality with a literal.
Gather all indexes in order until we have the full list of usable indexes. If they can be combined left-to-right (from first to last) we do so until they can't be combined anymore. The rest are discarded. That ensures we use as many as possible but in case we can't we only use the first-most indexes.
Push the resultant index to the corresponding table and wrap it with an IndexableTable node.

Pending stuff

Not sure what to do with multi-column indexes or how to fit them here

Added an example of multi-column index on my previous comment. We can leave it for a second iteration.


Elasticsearch index name

Dear @GUI ,
We're using API-Umbrella in 2 separate environments (test/prod) but with the same ES server,
Is there any way to change the index name according to a variable, I tried changed in
$API_HOME/embedded/apps/core/current/config/elasticsearch_templates.json
$API_HOME/embedded/apps/core/current/src/api-umbrella/proxy/jobs/elasticsearch_setup.lua
$API_HOME/embedded/apps/core/current/src/api-umbrella/http-api/health.lua
$API_HOME/embedded/apps/core/current/src/api-umbrella/web-app/app/models/log_search/elastic_search.rb
$API_HOME/embedded/apps/core/current/templates/etc/rsyslog.conf.mustache
But I found some mappings problems on some variables that I can't find.
Do you know if there is other file or binary that uses the index name api-umbrella-logs?
Thanks

Hm, it seems like you've found all the correct files where this is referenced. Do you have a specific error you're getting?
But more generally, I do like the idea of making this configurable. As you've seen, currently, there's not a single variable where this is controlled. However, it seems like as long was we track down all the places where this is referenced (which you seem to have at least gotten a great start on), then this should be pretty easy to turn into a configurable variable.
Since you seem to have found all the right files, my one thought without seeing the specific errors you're getting is that this might be related to the config/elasticsearch_templates.json file. In addition to modifying the template matcher (eg, changing "api-umbrella-logs-v1-*" to something like "api-umbrella-logs-prod-v1-*"), I think you may also need to change the "id" of the template so it's unique for each environment (so changing "api-umbrella-log-v1-template" to something like "api-umbrella-log-prod-v1-template"). Then you'll also need to make sure your naming convention in the template file matches all the aliases defined in src/api-umbrella/proxy/jobs/elasticsearch_setup.lua.

I'm using Kibana for best analytics viewing and some months I can't look at events correctly.
I found that some months the request_at field is with a different type that the correct one in the template:
"request_at": {
   "type": "date",
   "format": "strict_date_optional_time||epoch_millis"
}

But I can't figure out why sometimes is creating with this type: data:
"request_at": {
   "type": "long"
}


404 error on software sources

Sources listed in this page contain wget commands to nonexistent URLs that return 404 errors.

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

ID: 80707602-f283-e796-d3b8-3287fbc011dc
Version Independent ID: 1d732b15-9e64-633a-000c-ad96d9d3818a
Content: .NET and Ubuntu overview - .NET
Content Source: docs/core/install/linux-ubuntu.md
Product: .net
Technology: dotnet-installation
GitHub Login: @adegeo
Microsoft Alias: adegeo

@stringdom Can you be more specific as to the URL that was produced via running the script?

While I appreciate the suggestion, that OS is outside the scope of our docs. If the .NET team decides to list it as a fully supported OS, we can come back and update things.
Side-note: Thanks for showing me that OS, I'm going to go play with it!


remove ContextHandler.withTemporaryKubeconfig()

Fixes #467

Changes the install signature to : Promise<void> because the return value was never checked and the rejection represents the failure.

fixed in #585


memebers collection loyalty card filtr for user

unique together do not works

Bard.card.id

The filter added by orm


Add Entity:ResetSequence overload

It can also take a string
Please let me know if this is the incorrect way to add it or if you need anything changed, just looked at how the other overloads were implemented.

Looks good! Thanks for making this PR, much appreciated 👍


Switched to post increments

Codecov Report

Merging #162 (0c91cb7) into master (112095d) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head 0c91cb7 differs from pull request most recent head 04c92dd. Consider uploading reports for the commit 04c92dd to get more accurate results

@@           Coverage Diff           @@
##           master     #162   +/-   ##
=======================================
  Coverage   15.94%   15.94%
=======================================
  Files          16       16
  Lines        1737     1737
  Branches      321      321
=======================================
  Hits          277      277
  Misses       1460     1460

Impacted Files
Coverage Δ

contracts/CreditLine/CreditLine.sol
9.82% <0.00%> (ø)

Continue to review full report at Codecov.

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


Project Manager did't not working propertly in multi module project

I have a multi module project built with gradle. The project manager displays the modules but does not show anything under them.

I guess it's duplicated with https://github.com/microsoft/vscode-java-dependency/issues/424.
The fix should be released in the next version. If you find the problem still exists, please feel free to comment here to let me know.
Thanks.

I guess it's duplicated with https://github.com/microsoft/vscode-java-dependency/issues/424.
The fix should be released in the next version. If you find the problem still exists, please feel free to comment here to let me know.
Thanks.

Any progress?


Remove old thunderbird-bin update script

Motivation for this change
thunderbird-bin appears to now use the maintainers/scripts/update.nix script instead of this ruby script, so the latter should be removed.
If this is not the case, please reject this PR, and I'll submit a different one with improvements to generate_sources.rb to fit the format of release_sources.nix.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

That script is no longer used. Please remove that.


Area Claim Deletion - Enhancement

I would like to put forth the idea of being able to choose two coordinates using the shovel and all claims within those two points are deleted. This would assist in server administration by allowing deletion of claims in areas that they should not be that players have created by accident or in areas that need to be changed but the claims cannot be located as they are small or 1x1 claims in a large space.
Thanks,
Riddle

This could be also added as a /adminclaimoverride That takes over any claims underneath.


How to solve shared files/dependencies across different plugins?

Option 1: When installing plugin, take a list of all extracted files.

I think this is a complex problem.
Right now all plugins are compiled together against the same set of dependencies - e.g. they all shared the same version of Json.NET etc.
If plugins are now built at their own cadence, their dependencies will differ from one plugin to another. This means we can't install all plugins under Plugins folder.
I think we may need to adjust where plugins live, e.g. the standard plugins (i.e. those shipped with the official release) will live under Plugins\official (the name can change) and other plugins will live under own named folders (e.g. Plugins\AppVeyorIntegration).
We will also need to load each plugin into own AppDomain so we can load all assemblies from each plugin.
/cc: @sharwell @KindDragon @jbialobr @gerhardol @drewnoakes thoughts?

Restricting the discussion to assembly/package references for a moment, can we reasonably detect and report such conflicts when scanning for plugins?
Does MEF have anything to say about this?

How big is the need for handling plugins outside of GE core?

"Private" plugins can be handled by private builds.

Private builds built separately will introduce assembly version clashes.
This discussion is about how we can mitigate the risk.
On Mon, May 28, 2018, 6:12 AM Gerhard Olsson<EMAIL_ADDRESS>wrote:

How big is the need for handling plugins outside of GE core?

"Private" plugins can be handled by private builds.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/maraf/GitExtensions.PluginManager/issues/21#issuecomment-392362764,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEMyXiiQN3pczGcQmKkMDMHyAHk2Z8LSks5t2wi0gaJpZM4UO9D-
.

Official support for plugins via MEF is non-trivial for development and distribution strategies. I would not recommend pursuing it at this stage unless it became a primary adoption requirement, and even then it would require some long discussions about the impact to overall development.

Are you able to clarify why?
What would be a better/preferred strategy?
On Mon, May 28, 2018, 2:14 PM Sam Harwell<EMAIL_ADDRESS>wrote:

Official support for plugins via MEF is non-trivial for development and
distribution strategies. I would not recommend pursuing it at this stage
unless it became a primary adoption requirement, and even then it would
require some long discussions about the impact to overall development.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/maraf/GitExtensions.PluginManager/issues/21#issuecomment-392414377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEMyXiF01l1xIrGG9rIm_Pi1SdOgb_Jsks5t23m4gaJpZM4UO9D-
.

@RussKie We would need to strictly control the public API (by making everything internal until it passes API review), and then once something is made public we can't change it's behavior even if we change our mind in the future about how things should work. Then we need to rigorously apply a versioning policy for assembly names and use binding redirection to ensure future source and binary compatibility.
The best strategy is to not support the area at all. It's difficult and time consuming to get right, and anything else will fall on the floor a year or so after you start (if you aren't strict about versioning, it still takes a bit of time to realize how serious the impacts are because most approaches work at least for a short while).

Private builds built separately will introduce assembly version clashes.

What I meant is that if someone adds "PluginX", they can include the plugin in their private build of GE including the plugin until it is included in GE. I rather see that the limited GE resources are spent on features that improves GE.
A monolith is in most cases simpler to move forward than a flexible structure.

Sam, I agree with you to a certain extent. However I personally don't see
it as a major deal breaker.
A plugin is designed for a particular version of GE, which provides a
public API for integration.
If we decide to change the public API in the next version and a plugin
fails - the plugin author will need to release a new version compatible
with the new version of GE.
That's how VS is doing it, isn't it?
On Tue, May 29, 2018, 12:03 AM Sam Harwell<EMAIL_ADDRESS>wrote:

@RussKie https://github.com/RussKie We would need to strictly control
the public API (by making everything internal until it passes API review),
and then once something is made public we can't change it's behavior even
if we change our mind in the future about how things should work. Then we
need to rigorously apply a versioning policy for assembly names and use
binding redirection to ensure future source and binary compatibility.
The best strategy is to not support the area at all. It's difficult and
time consuming to get right, and anything else will fall on the floor a
year or so after you start (if you aren't strict about versioning, it still
takes a bit of time to realize how serious the impacts are because most
approaches work at least for a short while).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/maraf/GitExtensions.PluginManager/issues/21#issuecomment-392535859,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEMyXqUE2qydHqeu_YvvGx8prD_7TpfFks5t3APJgaJpZM4UO9D-
.

I'm going to close this as there is no related work right now.
The solution has also been discussed here gitextensions/gitextensions#5776.


Refactor blockchain to use flowkit

Is your feature request related to a problem? Please describe.
Refactor blockchain to use flowkit in order to enable multiple features such as using the new import schema, having all standard contracts deployed, and exporting flow.json

Abstract away emulator into flowkit
Cache flowKit instead of emulator

This is very cool change, but not sure if Cache flowKit instead of emulator part is necessary. As far as I know FVM is stateless ( @janezpodhostnik maybe can confirm ) technically, creating new VM and context should be very cheap. So just providing a storage backend to emulator should be much better solution here.

The VM itself is stateless and cheap to create, but if you look at the pattern in the manager https://github.com/onflow/flow-go/blob/master/engine/execution/computation/manager.go#L100 we construct one VM and reuse it for all transaction execution. This is to allow for a custom VM injection in one spot, where the custom VM could theoretically be stateful.


TML.Patcher CLI Unable to Resolve Modern Workshop Mods

Workshop mods were previously stored in steamapps/workshop/content/tmlappid/workshopid/, now they're stored in steamapps/workshop/content/tmlappid/workshopid/2022.x.

No longer relevant to the current project.


Add support for 128-bit integers

Adds support for 128-bit integers on the nightly compiler feature gated behind an i128 feature flag.
WIP: I used the same implementation as used by the other types, but ended up being as slow as std::fmt on my system. I look into why later when I have some time.
running 14 tests
test bench_fmt::bench_i16_0     ... bench:          73 ns/iter (+/- 30)
test bench_fmt::bench_i16_min   ... bench:         100 ns/iter (+/- 25)
test bench_fmt::bench_u128_0    ... bench:          80 ns/iter (+/- 38)
test bench_fmt::bench_u128_max  ... bench:       3,866 ns/iter (+/- 344)
test bench_fmt::bench_u64_0     ... bench:          72 ns/iter (+/- 14)
test bench_fmt::bench_u64_half  ... bench:          89 ns/iter (+/- 23)
test bench_fmt::bench_u64_max   ... bench:         102 ns/iter (+/- 22)
test bench_itoa::bench_i16_0    ... bench:          18 ns/iter (+/- 1)
test bench_itoa::bench_i16_min  ... bench:          29 ns/iter (+/- 3)
test bench_itoa::bench_u128_0   ... bench:          20 ns/iter (+/- 9)
test bench_itoa::bench_u128_max ... bench:       3,819 ns/iter (+/- 285)
test bench_itoa::bench_u64_0    ... bench:          17 ns/iter (+/- 2)
test bench_itoa::bench_u64_half ... bench:          30 ns/iter (+/- 12)
test bench_itoa::bench_u64_max  ... bench:          39 ns/iter (+/- 7)

Resolves #9

Wow I did not expect u128 to be 100 times slower than u64.
I would prefer not to merge this then. The advantage of this crate over std::fmt is that it avoids a small constant amount of overhead from the Formatter machinery. Going from 42ns to 10ns to print an i16 is a big deal, but going from 2530ns to 2500ns won't matter. what do you think?

I agree there no point in adding this if it’s this slow, but I want to do some profiling before closing this. At first glace, I believe the hotspots are __umodti3() and __udivti3() which is LLVM’s built-in implementation of divide and modulus for u128. They are very slow in compression to instructions. I noticed we are always calling them with same dividend and divisor so we should really be calling __udivmodti4() to get both the reminder and quotient in one operation, changing this might give substantial speedup.

I have done some profiling and optimization. The reason it’s so slow are the __umodti3() and __udivti3() intrinsics. They are very slow compared the native div instruction. To make matters worse, LLVM currently fails to optimize and combine the two separate calls to __udivti3() and __umodti3() into a __udivmodti4() call, see rust-lang/rust/#44545. Funnily enough, __udivti3() and __umodti3() are implemented as calls to __udivmodti4(), which means we make two consecutively calls to same function with the same parameters.
We can optimize this my manually linking to __udivmodti4(), but i128/u128 does unfortunately not have a stable ABI, see rust-lang/rust/#44261. It’s possible, but it would be a hack. Alternatively we can just copy the function into the crate, this would also have the benefit allowing inlining, which won’t happen otherwise.
Here is benchmark showing the effects of these optimization:
Unoptimized:
	test bench_fmt::bench_u128_max  ... bench:       3,046 ns/iter (+/- 183)
	test bench_fmt::bench_u64_max   ... bench:          59 ns/iter (+/- 4)
	test bench_itoa::bench_u128_max ... bench:       3,009 ns/iter (+/- 99)
	test bench_itoa::bench_u64_max  ... bench:          24 ns/iter (+/- 0)

Manual linking:
	test bench_itoa::bench_u128_max ... bench:       1,537 ns/iter (+/- 59)

Inlined:
	test bench_itoa::bench_u128_max ... bench:       1,289 ns/iter (+/- 54)

At this point I think implementing the latter option makes sense, it’s over 100% faster then std::fmt. I have therefore amended the pull request to include this change.

Nicely done! I filed https://github.com/rust-lang/rust/issues/44583 to provide your faster implementation in std::fmt if possible.
But that gets us back to the previous square -- once std has this implementation, itoa cannot really be any faster. We could provide the fast implementation in itoa until it reaches the stable compiler, then remove it. But maybe a better option would be to provide this in its own crate for now (in addition to a compiler PR).

When rust-lang/rust/#44545 gets fixed, this will still be 200ns faster than std::fmt because of inlining. Rustc might be able to inline the builtins at some point, but not in the foreseeable future. Also, I think we should have I 128-bit support in this crate whenever they are stable, just for completeness.


Upgrade stylelint to 16

remove deprecated in v15 rules. See https://stylelint.io/migration-guide/to-15/#deprecated-stylistic-rules
Upgrade major version for both packages

Do I maybe need to create dedicated PRs for upgrading of each separate package?

Yep. I need you help for this too. There are upgrades of 2 packages. And second one requires new version of first one
"@convidera-team/stylelint-config-convidera": "^3.0.0"

But it's not published yet. I did not completely get the publishing rules

There's no need to update packages versions by hand, the versions will be updated by lerna, it also will update those versions in all dependent packages


Implement schema validation

I am creating this PR solely to serve as a reference for future efforts to implement schema validation. I think this approach is probably dead in the water since valijson seems to no longer be maintained. It's possible that this work could continue by either forking or externing the valijson package, although at some point it might just be easier to write a custom JSON Schema validator for this package.

This depends on a branch in my personal fork of valijson: https://github.com/drdavella/valijson/tree/asdf-schema-validation


Question : Istio HTTPS External ServiceEntry Behind Proxy

I'm new to Istio, so if this is somewhere in the documentation that I missed, please let me know.
I'm working with the Istio Sidecar container injected into my pods, and I can't for the life of me reach a proxied HTTPS service from my application. When I go inside the sidecar container, using curl slack.com hangs unless I export the proxy variables.
I have tried the following scenarios :

HTTP proxy set to HTTP, HTTPS proxy set to HTTPS

# Main app
proxyconnect tcp: tls: oversized record received with length 20527
# Istio Sidecar, showing no logs

Both proxies set to HTTP

# Main app
post: Post https://slack.com/api/rtm.connect: Not Found
# Istio Sidecar
[2018-07-18T05:41:20.481Z] "CONNECT slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "Go-http-client/1.1" "-" "slack.com:443" "-"

ServiceEntry Configuration
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  creationTimestamp: null
  name: slack-ext
  namespace: <NAMESPACE>
  resourceVersion: "63072151"
spec:
  hosts:
  - <IP_ADDRESS> # slack.com
  ports:
  - name: http # I have tried https
    number: 443
    protocol: HTTP # I have tried HTTPS
---

Any help is much appreciated!

have you tried:
hosts:
  - slack.com

instead of
 hosts:
  - <IP_ADDRESS> # slack.com

The following works for me:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: slack-ext
spec:
  hosts:
  - slack.com
  ports:
  - name: https
    number: 443
    protocol: HTTPS
  resolution: DNS

I have tried both versions, it hasn't worked for me. Are you guys testing under a proxy? I've gone through the documentation, it doesn't cover hitting HTTPS services under a proxy. 😢

@ijsnellf and @jamalsia,
I'm still not able to connect. When I remove Istio, I can connect just fine. I'm getting 404 from anything that I hit, which make me feel that the ServiceEntry isn't working at all.
Here's three different examples of hits:
[2018-08-04T01:37:44.032Z] "CONNECT slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "curl/7.61.0" "-" "slack.com:443" "-"
[2018-08-04T01:37:50.883Z] "CONNECT www.slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "curl/7.61.0" "-" "www.slack.com:443" "-"
[2018-08-04T01:38:39.587Z] "GET / HTTP/1.1" 404 NR 0 0 0 - "-" "curl/7.61.0" "adf7606c-aaff-9f74-a356-9fe3ddd4bde9" "<IP_ADDRESS>" "-"

I have tried adding VirtualService, resolution as NONE and DNS, pointing the VirtualService to either slack or my proxy address, adding an additional ServiceEntry for my proxy address.
Please help!

@rshriram

Please refer to
https://github.com/istio/istio/issues/7603#issuecomment-410187816
Le sam. 4 août 2018 à 04:59, James Smith<EMAIL_ADDRESS>a
écrit :

@ijsnellf https://github.com/ijsnellf and @jamalsia
https://github.com/jamalsia,
I'm still not able to connect. When I remove Istio, I can connect just
fine. I'm getting 404 from anything that I hit, which make me feel that the
ServiceEntry isn't working at all.
Here's three different examples of hits:
[2018-08-04T01:37:44.032Z] "CONNECT slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "curl/7.61.0" "-" "slack.com:443" "-"
[2018-08-04T01:37:50.883Z] "CONNECT www.slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "curl/7.61.0" "-" "www.slack.com:443" "-"
[2018-08-04T01:38:39.587Z] "GET / HTTP/1.1" 404 NR 0 0 0 - "-" "curl/7.61.0" "adf7606c-aaff-9f74-a356-9fe3ddd4bde9" "<IP_ADDRESS>" "-"
I have tried adding VirtualService, resolution as NONE and DNS, pointing
the VirtualService to either slack or my proxy address, adding an
additional ServiceEntry for my proxy address.
Please help!

@rshriram https://github.com/rshriram

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/7302#issuecomment-410421305, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYFDYDi72RwMriY3cXlozkvHYncg3gtBks5uNRwfgaJpZM4VZxga
.

@jamalsia, that doesn't help. I'm failing at the CONNECT stage with my proxy.
kubectl exec -it <POD_NAME> -c <CONTAINER_NAME> -- curl -vsL -o /dev/null -D - https://slack.com
* Rebuilt URL to: https://slack.com/
* Uses proxy env variable HTTPS_PROXY == '<COMPANY_PROXY>'
*   Trying <IP_ADDR>...
* TCP_NODELAY set
* Connected to <COMPANY_PROXY> (<IP_ADDR>) port 8080 (#0)
* allocate connect buffer!
* Establish HTTP proxy tunnel to slack.com:443
> CONNECT slack.com:443 HTTP/1.1
> Host: slack.com:443
> User-Agent: curl/7.61.0
> Proxy-Connection: Keep-Alive

This give me the output:
[2018-08-04T01:37:44.032Z] "CONNECT slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "curl/7.61.0" "-" "slack.com:443" "-"

Whereas a normal HTTP proxy passes through just fine:
[2018-08-04T01:38:39.587Z] "GET / HTTP/1.1" 404 NR 0 0 0 - "-" "curl/7.61.0" "adf7606c-aaff-9f74-a356-9fe3ddd4bde9" "<IP_ADDRESS>" "-"

So, I'm not sure how to set up my Istio rules to work with my proxy, then dial out to the HTTPS URL.

@jamalsia, @ijsnellf, @rshriram, or anyone else,
If you can point me in the right direction for help, I'd greatly appreciate it. I'm understanding that Istio does not cover CONNECT requests while under a proxy currently. If my assumption is wrong, please inform me be explaining the steps to get external HTTPS connections to work while under a proxy. Thanks!

@james-r-smith I've found the solution, which is to use TCP proxy:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: proxy
spec:
  addresses:
    - <IP_ADDRESS>/32
  ports:
    - number: 80
      name: http
      protocol: tcp
  resolution: DNS
  location: MESH_EXTERNAL

where <IP_ADDRESS> is your corporate proxy address (you could also use domain name, for that replace addresses with hosts)

@xaka, can you be more specific.

Do you have any other Istio configurations involved in your test, for example, the address that you want to hit like slack.com.
Does your container have the env proxies set?
Can you possibly post output showing CONNECT from an https service request?

Appreciate it!

@xaka, just trying to get more information if you don't mind (appreciate your help, by the way).

Using addresses only produces the below issues when configuring.

Error: 2 errors occurred:

* validation error: service entry must have at least one host
* validation error: CIDR addresses are allowed only for NONE/STATIC resolution types

Regarding your comment:

... because Istio is no longer involved in processing.
I'm reading this as, Istio enables all traffic through the corporate proxy. Doesn't this mean that you aren't taking advantage of the benefits that Istio brings, like its limiting of external hosts, for instance.

So I have the above configuration that you suggested to my application, using hosts instead of addresses, but from the istio-proxy container's logs, I can see that it's not getting hit by the proxy, but rather the external service:

[2018-08-22T03:29:38.116Z] "CONNECT slack.com:443 HTTP/1.1" 404 - 0 0 0 - "-" "Go-http-client/1.1" "-" "slack.com:443" "-"

Are you able to explain how you are getting Istio to get hit by the proxy and let the request pass through? I am still getting the same output from cURL that I posted above. I'll add here with the full output:
kubectl exec -it <POD_NAME> -c <CONTAINER_NAME> -- curl -vsL -o /dev/null -D - https://slack.com
* Rebuilt URL to: https://slack.com/
* Uses proxy env variable HTTPS_PROXY == '<COMPANY_PROXY>'
*   Trying <IP_ADDR>...
* TCP_NODELAY set
* Connected to <COMPANY_PROXY> (<IP_ADDR>) port 8080 (#0)
* allocate connect buffer!
* Establish HTTP proxy tunnel to slack.com:443
> CONNECT slack.com:443 HTTP/1.1
> Host: slack.com:443
> User-Agent: curl/7.61.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found
< date: Wed, 22 Aug 2018 03:28:53 GMT
date: Wed, 22 Aug 2018 03:28:53 GMT
< server: envoy
server: envoy
< content-length: 0
content-length: 0
<

* Received HTTP code 404 from proxy after CONNECT
* CONNECT phase completed!
* Closing connection 0

As you can see, it connects to the proxy then makes the attempt connect. The only log I see from Istio during this whole transaction is the Slack request that I posted above.
Istio configuration:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: proxy
spec:
  hosts:
    - <COMPANY_PROXY>
  ports:
    - number: 8080 # Our proxy is using 8080 for the port
      name: http
      protocol: tcp
  resolution: DNS
  location: MESH_EXTERNAL

Try this:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: proxy
spec:
  hosts:
    - <ADDR>
  addresses:
    - <ADDR>/32
  ports:
    - number: 8080
      name: http
      protocol: tcp
  resolution: NONE
  location: MESH_EXTERNAL

Though I'm not sure which version of Istio you're using. In my case it's 1.0.0.
The reason you're getting such behavior is because Istio recognizes the traffic as HTTP and tries to proxy it for you, but problem is Istio doesn't support CONNECT and responds back with HTTP 404.
That's why you have to have a ServiceEntry for a corporate proxy with protocol defined as TCP so Istio wouldn't treat it as HTTP and let it go through.

@xaka, I'm about to kiss you right now. It worked!! You're so awesome man. Major kudos to you, my friend. Papa bless. 🙏

Glad it worked. It's one of important use cases in a corporate world and I think Istio team should consider documenting it as it's likely more of similar questions will be raised in the future.
Let's keep it open to get an attention.

would love to make this a task or an entry in the guide. cc @vadimeisenbergibm

Thanks to xaka, yourt solution worked for me, I was using with newrelic

https://github.com/istio/istio/issues/7302#issuecomment-414909883 worked for me. Thanks @xaka

@vadimeisenbergibm could you check if we need to clarify anything in our doc?  Seems a common issue that is not super straightforward.

@linsun Will do.

Can someone explain why IP addresses are required? I'd still get 404 (no_route_found) if I don't configure the address section.

Can someone explain why IP addresses are required? I'd still get 404 (no_route_found) if I don't configure the address section.

Because the protocol is tcp:

Unlike HTTP requests, which are routed based on Host headers, TCP carries much less information; you can only route on the destination IP and port number.

So technically, the host header can be anything. Instead you use the address as a Virtual IP.


Add QR codes that link to game manuals

Since we already have a game → HoL mapping, we could generate QR codes to show in the launcher that would load the relevant game manual on a phone/tablet to use while playing the game.
Example:
http://hol.abime.net/72/manual
We would have to find a way to capture the URL to the PDF, and generate a QR code that can be displayed alongside the game entry.
AGS2 would need some sort of mechanism for showing the QR code in a predefined area of the layout.

This seems like a great idea - have you considered suggesting it at the core MiSTer level? You could imagine an option for 'Manual QR' from the OSD that could work very nicely.

This looks to be the most common Python module to generate QR codes: https://pypi.org/project/qrcode/

I'd love to have this in AmigaVision, it'd be just as useful on PC & Pocket. Already had to download a few manuals just to get past password checks for some games.

WHDLoad files usually contain manual, readme, info and guide files in some combination. I'd be surprised if there wasn't a way to be able to read those files from the launcher.

Useful online generator for testing, looks like we’d need at least 25×25px to support 32 characters; 21×21px allows 17 characters, 29×29 supports 53 characters:
https://pewscorner.github.io/barcodes/qrcode_generator.html


[MINOR][BUILD] Restore to previous branch instead of detached commit

The right command to get the branch name is git rev-parse --abbrev-ref HEAD
instead of git rev-parse HEAD. The latter returns the commit hash causing
a detached branch when we checkout to it.
We are using the same script (with some modifications) in Kafka and that is how the issue was noticed.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

CC @JoshRosen I don't know enough to know, but I suspect of course you're right if you've been using this successfully.

@srowen, some output for context:
~/s/spark ❯❯❯ git rev-parse --abbrev-ref HEAD                                  merge-script-fix-restore-to-branch
merge-script-fix-restore-to-branch
~/s/spark ❯❯❯ git rev-parse HEAD                                               merge-script-fix-restore-to-branch
18b9eab685e09b6ec19b2fd6e46d659f1882189e

Interested to hear from @JoshRosen if the current behaviour is intentional or just an oversight.

@ijuma I'm fairly certain that the current behavior is an oversight. I find the current behavior to be pretty annoying, so I'm glad that someone finally fixed this.

@JoshRosen Great. :)

Actually, there seems to be one corner-case:
git rev-parse --abbrev-ref HEAD

returns HEAD when I'm already checked out to a detached head prior to invoking the merge script.

What would be the desired behaviour in that case? The existing one?

As a user, I'd like it if the behavior returned me back to whatever __git_ps1 displays.  Here's an excerpt from the relevant bash code:
local g="$(git rev-parse --git-dir 2>/dev/null)"
[...]
            if ! b="$(git symbolic-ref HEAD 2>/dev/null)"
            then
                if ! b="$(git describe --exact-match HEAD 2>/dev/null)"
                then
                    b="$(cut -c1-7 "$g/HEAD")..."
                fi
            fi

I think that __git_ps1's policy is something like this:

If you are checked out to a tag (which can be detected using git describe --exact-match HEAD), then display that tag name.
Otherwise, grab the identifier from .git/HEAD.

If you are checked out to a branch like master, then this will contain something like ref: refs/heads/master, so you'll have to strip off the appropriate prefix.
If you are checked out to a detached head, then this will contain only a SHA.

@JoshRosen, fair enough. Would you like to propose a PR and I can close this one? :) This doesn't really affect me and I don't have free cycles at this point.

I also don't really have time to work on this, so I've filed https://issues.apache.org/jira/browse/SPARK-9383 so that someone else can follow up on it later.

OK, closing.


fix: batched meshes are prevented to be highlighted

fix: the preview highlight mesh is now cached in the editor
fix: the preview highlight mesh does not have an offset
Description

Fixes: An issue that used to highlight baked meshes (static objects) along with other baked meshes.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Use the Highlight Behavior to highlight a static object.
Before:

After:

Complex objects with multiple renderers and submeshes either static and non static being highlighted at the same time.

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


 to indicate progress/error

Attempt at #644. Maybe there's a cleaner way to use the preact state, but this looks like it's working so far.

Thanks for taking a look at this!
I'm not sure this is right, as it's clearing loading state when only one side completes, even though the other side may still be in progress.
I think it's best to calculate this in componentDidUpdate. That gives you access to the previous state in prevState, and the current state in this.state.
Use this to figure out if the state 'was loading' and 'is loading'. Remember there are 3 places with loading state. state.loading, state.sides[0].loading, and state.sides[1].loading. If 'was loading' and 'is loading' are different, you know you need to update the document title.
I wouldn't worry about error state, loading is enough.

@jakearchibald sorry for the multiple reviews, it should be ready now - I used the suggestion and did a sanity check with logpoints to make sure changedLoadingState was correctly toggling to true and back to false

Ok, ready for another review - thanks for guiding me thru this btw

This is working, except for the initial loading state (when you first select an image).
I think this is because the updateDocumentTitle call in updateImage is removing the loading indicator.
I'm open to better suggestions, but I think updateDocumentTitle(filename) should become something like updateDocumentTitle({ loading, filename }), and we should only ever call this in componentDidUpdate.
Right now we're checking if 'loading' has changed before calling updateDocumentTitle, but we should also check if state.source has changed too.
@hchiam are you ok to keep going with this?

Thank you @hchiam! I really appreciate you seeing this one through to the end 🎉

Let's land and ship this! Thanks @hchiam!

And it's live!


KVM Volumes: Limit migration of volumes within the same storage pool.

Description

Fixes #3291
ENVIRONMENT
KVM on CentOS7
SUMMARY
Added an if statement that catches the destination poolid as an invalid parameter if it is similer to the current poolid

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-34

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-36

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-37

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-38

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Can you review @nvazquez @anuragaw @shwstppr

Trillian test result (tid-34)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34967 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3424-t34-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Smoke tests completed. 71 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Missing required HMAC

When calling CartAdd I get an error:
"Errors": {
        "Error": {
          "Code": "AWS.MissingParameters",
          "Message": "Your request is missing required parameters. Required parameters include HMAC."
        }
      }

CartCreate works fine.

Does node-apac generate the HMAC?

Nevermind, it comes back from CartCreate, reading is hard! :P

Thanks for following up and closing this.
On Sat, Jul 2, 2016 at 3:23 PM Ryan Graff<EMAIL_ADDRESS>wrote:

Closed #70 https://github.com/dmcquay/node-apac/issues/70.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dmcquay/node-apac/issues/70#event-711275312, or mute
the thread
https://github.com/notifications/unsubscribe/AAHIcaa-OMMj-nSBY8jnFR0BqqHsT39yks5qRtbngaJpZM4JDwLj
.

You have no open issues, I didn't want to tarnish the repo ;)


Update aerial to 1.2

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Hi, this was already merged in: https://github.com/caskroom/homebrew-cask/pull/28003

Thank you @stringbean, and apologies for not merging yours. You were first, but I saw it after.

I missed this as well. Wouldn't have done the work if I knew it already existed. Sorry @stringbean !


Can't show a custom action button just for a specific camera

I am using the Release Version 5.2.0.
I would like to open the IR sensor of a camera out of my HA-Card. I have made a custom action button for that, but i do not want to display that all the time in the button-menu, but only when i switch to that specific camera.
I have tried this but somehow it does not work:
  elements:
    - type: custom:frigate-card-conditional
      conditions:
        - condition: camera
          cameras:
            - camera.my_cam
      elements:
        - type: custom:frigate-card-menu-icon
          icon: mdi:track-light
          entity: switch.e1_zoom_infrarotlicht_im_nachtmodus
          tap_action:
            action: toggle

Without the condition, the inner part works alone:
elements:
  - type: custom:frigate-card-menu-icon
    icon: mdi:track-light
    entity: switch.e1_zoom_infrarotlicht_im_nachtmodus
    tap_action:
      action: toggle

Edit:
I have now created a complete new dummy card, from the examples section, it does not work either. What can be wrong here? I think it is a bug:

Guess: You're following the documentation for v6 of the card whilst using v5 of the card.
Try this release: https://github.com/dermotduffy/frigate-hass-card/releases/tag/v6.0.0-beta.8

Ok thank you.
You should actually place to github repository another docu link for the "current release" v5.2.0. That is the default release shown by github as the others just "beta" yet. So it is a bit confusing.
Do you know when the v6 stable will be released?


Add branding guidelines page

Description
With the recent creation of the branding guidelines for Valkey, a web page with the information is in order.
This PR creates a draft for the branding page and is a spot for discussion on improvements/fixes to said page.
I'm a terrible writer so I've not made any real attempts at prose so if there are any suggestions I'm happy to implement!
A screenshot for ease of checking:

Issues Resolved
Closes #107 (maybe)
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@kris-ms I'm in favour of adding better web presence for the brand guidelines but I think I'd like them to live in one place, not having it both as a PDF and on the website. I think this PR duplicates everything from the PDF, which is a potential for things to go out-of-sync and causing confusion.
FWIW: The current brand guidelines are good but not quite complete (e.g. it doesn't have things like fonts). So, I do expect them to change.
The assets may have value to have in the repo vs linked to GitHub, but we can do some GitHub Action magic to pull them in without committing them to the repo directly (avoiding duplication and potential out-of-date assets).
Thoughts?

@stockholmux I'm cool with everything that you've mentioned here of course. Do you have some ideas on where you'd prefer to have the single source of truth for the guidelines be located? Is there some way of making it easily maintainable so that the designers can make changes when needed? Then we could simply drag that data in for building the page.
The issue this PR is for seemed to be asking for a page to show the guidelines in their current state, so that's my bad for not checking on plans before moving forward.
If you have a spot for the brand assets (and potentially other general assets i.e. author avatars) to live that is not part of this repo I think that the GH actions route could definitely be the go.


Exclude target dir properly even if target dir is changed from default

This fixes an issue where codes in the target directory are not being properly excluded from reports when using show-env subcommand.

bors r+


[WIP] Demo showcasing lifecycle methods

Newer version of #25 using latest API
Demo: https://monosnap.com/file/JAUYNvhyEJFi24UnQ6x4mfS7mDeDDw
Lines of custom JavaScript: 45
Total lines of JavaScript: 66

It's so great to see this working. Great progress.
I went down a rabbit hole / k-hole of classic Rails videos tonight. One of the things that really blew my mind is the degree to which DHH's 15 minute video delivers on its promise. In fact, now that there's migrations the video could have probably been 12 minutes. I bring this up because I saw this and it pissed me off. How does it seem okay to anyone that in 15 years of thousands of people working on this stuff, that it now takes 30 or 40 minutes to do far less than what she shows, given that she skipped a lot of steps. I don't mean to be harsh on her individually, but it's frankly embarrassing that anyone could look at all of the insane BS she has to know and do to get a less-functional CRUD app working. I'd say that it's a conspiracy if it wasn't just a really sad example of engineers fixing what wasn't broken. As you know, I love Sam Stephenson's Turbolinks video and he talks a lot about how the request/response model was his favourite feature of early Rails. I kind of love the idea that stimulus_reflex gets us to an even better place. It got me to thinking that we could provide a generator that creates the reflexes necessary to handle basic CRUD that is built on the built in rails scaffold generator (is that still a thing?).
Related but unrelated: thanks for tipping me off to velocity-animate. What a throwback to Scriptaculous! One laughably small nitpick: the yellow highlight color code is 100% definitely supposed to be #ffff99. (I used to do a lot of Effect.Highlight back in the day.)
Given what you warned me about over Signal, I don't have much feedback beyond "cool". I noticed that you restructured everything from todos to todo. I saw that you have a lot of data-controller="todo" in the view templates... I assume that's a temporary thing to support the data-reflex declarations? I definitely hope that you don't have to call data-controller in order to have a data-reflex in the final build. Baby steps! I'm patient.
Anyhow, this is rambly and pointless so I'll wrap by saying that I'm loving where this is going. Great work.

I've updated the demo to a much cleaner implementation. I moved all the visual effects to a controller dedicated to this concern and removed the superfluous data-controller attributes as they aren't necessary. It's starting to feel much closer to the correct way to structure StimulusReflex apps. Thoughts?

I think this looks great. Much cleaner.


parentRect needs a terny [2.4.4 dev]

Latest build inside the getParentBounds function, at line 74917
           var parentRect = parentNode.offsetParent.getBoundingClientRect();
If there is no offsetParent, you will receive a fatal:

Fix:
var parentRect = parentNode.offsetParent ? parentNode.offsetParent.getBoundingClientRect() : parentNode.getBoundingClientRect();

Or, however Rich and the other devs want to fix it :)

Thanks - added :)


Parser for schema.org

Parse schema.org embedded in pages direct to bibjson

I'd vote for all of this import stuff to be really low until we've sorted out a bit more of UX and internals.

yes, but creating the tickets to keep track of requests. also potentially something that okfn-volunteers could be pointed at if there are any coders.

I agree about tracking requests and trying to engage volunteer coders. I also think schema.org data is low priority
because there is tons more data embedded in pages in other formats, e.g. COINs, and site specific scrapers are
likely more rewarding too. Scraperwiki?


Bug: Unauthorized Access Attempt Crashes App

This view comes back as undefined and crashes the app: https://github.com/stormpath/stormpath-express/blob/ec77ebee48a4cc790856b08dd6e9e8ef15bb120a/lib/authentication.js#L59
  app.use(stormpath.init(app, {
    website: true,
    client: {
      apiKey: {
        id: config.stormpath.id,
        secret: config.stormpath.secret
      }
    },
    application: {
      href: config.stormpath.url
    }
  }));

  app.get('/', stormpath.groupsRequired(['employee']), function(req, res) {
    res.sendFile('app.html', {root: config.root});
  });

stompath-express#2.0.1
node 0.12.7

Working on this now.

Thanks @rdegges!

Got stuck writing tests for this on Friday -- continuing where I left off now =)
My new strategy with issues here is to first:

Write full integration tests to reproduce.
Fix bugs.
Pass all tests.
Write / update all necessary docs.
Submit PR to resolve.
Cut release.

I :heart: that phrase: "Got stuck writing tests." Thanks for looking into this! If I understood more about express middleware I'd try to just PR it myself :/

Hah, well -- I've been trying to improve test coverage. My goal is to dramatically improve the quality of this library ASAP. So, having 100% coverage, ensuring all bugs are 100% squashed, etc. Takes a bit longer to fix stuff this way, but makes code wayy better ^^

All these repos will soon be at 0 open issues / PRs >:)

Ok, this is all fixed / good to go. There is still some work left to handle customizing the view, but I'm going to handle that as a separate github issue because it doesn't really make sense to include it in this. I'm cutting a new release with this fix included right now (2.0.3).

Release cut!

Awesome! As soon as registration works again (#87) I'mma pull this into my project!
:metal: :metal: :metal:


Transcoding enhancements no debug

I made some minor changes to the behavior of how SageTV determines when to use fixed transcoding.  I added a number of properties to the fixed transcode section to allow for HD transcoding.  I tried my best to make the changes backwards compatible.  I do not believe they will interfere with any of the other clients.  There are a few users using this, and it appears to be working well.
Josh

You'll need to resolve the conflict like it says before I can merge changes.

I think I resolved all of the issues.  Let me know if I missed anything.
Josh

Looks good now, thanks for the changes!


make some minor improvings on turkish translation

I left the English translations in the text as is, but since they are not needed, we can at least delete all but the first instances: feature extraction

e8214e1 👩🔧


Increase ISP_RECEIVE_TIMEOUT for Maix Bit

I was unable to get the Maix Bit (mic?) to flash until increasing the timeouts. I have not yet determined if both changes were needed. Given the comments about dinosaurs, not sure if it would be safe for all boards.
With this change, I was able to flash MaixPy without issue.

On further testing, only the first one, ISP_RECEIVE_TIMEOUT = 0.5 changed to 1 is actually needed.


Intermittent test failure

Currently, CI tests are intermittently failing.
So even a commit which passed all CI tests causes test failures when it is merged into the master branch.
We can easily figure out this by looking at the commit history.

This makes it harder to continuously integrate new changes.
We need to run tests multiple times.
So we have to fix this heisenbug.

Is it one of the existing/known heisenbug issues?

Not quite sure, but I feel it became worse recently.


reduce the error in log

Summary
Related issue(s)
Fixes #
Tests

[ ] Unit/function tests have been added and incorporated into make unit-tests.
[ ] Integration tests have been added and incorporated into make integration-test.
[ ] E2E tests have been added and incorporated into make e2e-test-all.
[ ] List other manual tests you have done.

/retest

/cc @clyang82 @yanmxa

/override ci/prow/sonarcloud

@ldpliu @ldpliu We cannot just return nil when the database of the kafka cluster is not ready.
If it returns it nil, after a while, the database is ready. it will not trigger the following step, like installing the manager, or other components!


Reducing the number of screen

In the current Model

Two navigation screens are present
one for cropping and one for filters.
Instead, we can minimize it to one.

Having both options on the same screen reduce the navigation part of it.

Hello, I am a participant of LGM-SOC. I am assuming all the widgets and logic from the Filters need to be transported into the main screen after taking the picture? I would love to work on this issue.

Hello, I am a participant of LGM-SOC. I am assuming all the widgets and logic from the Filters need to be transported into the main screen after taking the picture? I would love to work on this issue.

Yeah, the filter's button is present there you just have to move this here. If you face a problem with undo and redo function you can move it up.

Already working on this task. Please assign this task to me.

Done the task and created the pull request ,please review the same @anushbhatia

Done the task and created the pull request ,please review the same @anushbhatia

@smaranjitghose

Sure will review it and let you know

@anushbhatia you can close this issue now.😀


Add new member for the Dean Module and also relate it to the Salary Module

Created the Model / Form ad rendered the Form

Need to Migrate
Need to add the POST functionally

migrated and added the functionality to add new dean staff


Label expression API error response

Codecov Report

Merging #830 (4aad9a4) into 7.x (4bc59b1) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##                7.x     #830      +/-   ##
============================================
- Coverage     62.31%   62.31%   -0.01%
  Complexity    11339    11339
============================================
  Files          1610     1610
  Lines         54788    54798      +10
  Branches       5428     5431       +3
============================================
+ Hits          34143    34148       +5
- Misses        18446    18449       +3
- Partials       2199     2201       +2

Impacted Files
Coverage Δ

...wowl/snomed/core/ql/SnomedQueryLabelerRequest.java
93.84% <75.00%> (-4.34%)
:arrow_down:

...om/b2international/index/es/log/Slf4jAppender.java
57.89% <0.00%> (-10.53%)
:arrow_down:

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 4bc59b1...4aad9a4. Read the comment docs.


"appearance" doesn't save

appearance tab doesn't get saved when saving settings.
that includes: avatar height, avatar scale (not sure what the difference is), fake cape level
(i didn't test the shout editor enough so i can't tell if it gets saved enough)

It wouldn't make sense to have these options save.

so i don't have to set it up again when i log in every time xD .. at least it made sense to me ( ╥ ᴗ╥)

Other players can not see these changes

oh.. i didn't know xD yea in that case it wouldn't really make sense for it to save. aw man

No, unfortunately not as I believe it would actually be a hindrance as this would require the user to manually remove the saved option from their configuration file in order to reset the values to their original states.

that is too bad.
... what's the name of the permanent height change spell? the one that randomises whether you go higher or lower - if i can maybe use that, then i can just be permanently tiny xD


equality test passes when first table has a subset of second tables columns

Describe the bug
When the equality test is used to compare two models and compare_columns is not provided the macro currently gets the list of columns from the first model only. If there are additional or different columns in this model when compared with compare_model the sql will fail to run and return an error, however when this first model contains a subset of the columns from the compare column no error occurs.
Steps to reproduce

Create a project, add dbt-utils as as dependency, then create two seeds (for simplicity, the same applies to models), example:# data1.csv
col1,col2
a,b
c,d

# data2.csv
col1,col2,col3
a,b,y
c,d,z

Add a test on the first seed with compare_model set to the second seed, and the inverseversion: 2

seeds:
- name: data1
  tests:
    - dbt_utils.equality:
        compare_model: ref('data2')

- name: data2
  tests:
    - dbt_utils.equality:
        compare_model: ref('data1')

run dbt deps, dbt seed, dbt test. The first test should pass, but the second will fail.

Expected results
Both tests would fail in the same way, or a custom alert would warn me the columns are different.
Actual results
Test 1 passes, test 2 fails.
Screenshots and log output
11:17:41  Running with dbt=1.4.5
11:17:42  Found 2 models, 2 tests, 0 snapshots, 0 analyses, 403 macros, 0 operations, 2 seed files, 0 sources, 0 exposures, 0 metrics
11:17:42
11:17:42  Concurrency: 1 threads (target='postgres')
11:17:42
11:17:42  1 of 2 START test dbt_utils_equality_data1_ref_data2_ .......................... [RUN]
11:17:42  1 of 2 PASS dbt_utils_equality_data1_ref_data2_ ................................ [PASS in 0.06s]
11:17:42  2 of 2 START test dbt_utils_equality_data2_ref_data1_ .......................... [RUN]
11:17:42  2 of 2 ERROR dbt_utils_equality_data2_ref_data1_ ............................... [ERROR in 0.04s]
11:17:42
11:17:42  Finished running 2 tests in 0 hours 0 minutes and 0.23 seconds (0.23s).
11:17:42
11:17:42  Completed with 1 error and 0 warnings:
11:17:42
11:17:42  Database Error in test dbt_utils_equality_data2_ref_data1_ (models/test.yml)
11:17:42    column "col3" does not exist
11:17:42    LINE 48:     select "col1", "col2", "col3" from b
11:17:42                                        ^
11:17:42    HINT:  There is a column named "col3" in table "*SELECT* 1", but it cannot be referenced from this part of the query.
11:17:42    compiled Code at target/run/dbt_demo/models/test.yml/dbt_utils_equality_data2_ref_data1_.sql
11:17:42
11:17:42  Done. PASS=1 WARN=0 ERROR=1 SKIP=0 TOTAL=2

System information
Which database are you using dbt with?

[x] postgres
[ ] redshift
[ ] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
Core:
  - installed: 1.4.5
  - latest:    1.4.6 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - databricks: 1.4.2 - Update available!
  - bigquery:   1.4.3 - Up to date!
  - snowflake:  1.4.2 - Up to date!
  - redshift:   1.4.0 - Up to date!
  - postgres:   1.4.5 - Update available!
  - spark:      1.4.1 - Up to date!

Additional context
https://github.com/dbt-labs/dbt-utils/blob/9507d6bcd6c04b73e174a9aaee11865f9387e096/macros/generic_tests/equality.sql#L30-L33
Are you interested in contributing the fix?
Sure, I think it should just need to pull the columns from both models and compare them, I could add it as part of #765 to save touching it twice if that's easier.

Yep I think doing this as part of 765 makes sense! Thanks @rlh1994


fix: add rerun incomplete and fix bed

Fix bed input when bed file is 3 columns
Allow rerun incomplete flag in dryrun to show full output

@dnousome or @samarth8392, can you add a line to the changelog for this PR?


Go to my next challenge and more information button not working on mobile device

When i successfully complete a challenge and click on go to next challenge it does not advance me and also when i click on the more information button, it does not show the information on my mobile phone. Im workinh on the html and css section.

Closing as stale, please reopen if you still see this issue


Add <IP_ADDRESS> as a supported probe IP address

We missed an obvious IPv4 address, the alias of <IP_ADDRESS>, currently we only permit "localhost", "<IP_ADDRESS>", and "::1"
@kfox1111 Is there a IPv6 equivalent of "<IP_ADDRESS>"?

My ipv6 isn't very good yet. but I think in that case, its "::"

My ipv6 isn't very good yet. but I think in that case, its "::"

Seems like you are correct.  I modified the soon-to land PR to include it.


Cron all the things

What this pr does
This cron will pull reportbacks updated in the past hour and update the quantity count for those nodes.
Known issue
I still think we will see higher numbers than the reality from over adding (numbers may look higher than they actually are)
(eg) If a user updates a reportback that quantity number will get added to the total as many times as the user updates the reportback.
N.B.
I looked into pulling the quantity from the log, but that still isn't a difference of the past quantity and the current quantity.
Until we have endpoints from the dashboard to set these numbers correctly every so often, I think this is our best option.
Refs #4282
Refs #3899
@mshmsh5000 @mikefantini @joshcusano

:+1:


Incompatibility with Carpet

https://gist.github.com/drakosoldier298/00b71976e5a2df03664f7b37e930adcc
This is serverside

This is between Cardinal Components and Carpet.

This is between Cardinal Components and Carpet.

Fabrication appears in the stack trace due to changes it makes to Mixin itself to permit fail safety.

Fabrication appears in the stack trace due to changes it makes to Mixin itself to permit fail safety.

Actually might not have anything to do with Cardinal Components. Just woke up, log reading is hard enough when awake.
Point is, Fabrication doesn't touch any chunk code.

Actually might not have anything to do with Cardinal Components. Just woke up, log reading is hard enough when awake.
Point is, Fabrication doesn't touch any chunk code.


QR query

Hey,
I like your QR code reader,
However I was wondering if there is any chance to add a navigation bar within the camera or any other widgets??
As whenever it starts, it goes to a new window, but I would like it to start from a fragment designed by me.
Thanks you!

presently it is not possible

Thank you for your response.
Also if there is no option to add any widget on the frame, and I decide to run the app on IOS device, do you think any IOS device will have a back button to return to the home page by default??
Thank you

On 24 May 2018, at 04:49, Karthik Ponnam<EMAIL_ADDRESS>wrote:
Closed #1 https://github.com/PonnamKarthik/QRCodeReaderFlutter/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PonnamKarthik/QRCodeReaderFlutter/issues/1#event-1643283697, or mute the thread https://github.com/notifications/unsubscribe-auth/AimQVBVtWxEWiIOwCWG6OzQVU8ah4XBCks5t1i24gaJpZM4UKklp.


Don't override native text range selection keybindings

Oftentimes while marking, I'll select some code to annotate by double-clicking a token, which might select more (or less) text on the right end than I wanted to, at which point I'll instinctively type Shift+Left/Right to adjust my range selection.
Currently, Shift+Left/Right are rebound to go to the previous/next submissions, which is frustrating (muscle memory makes it so that this happens almost every submission, at least once).
This PR proposes disabling the Shift-modifier submission-navigation keybindings if there is currently an active range selection, so that existing workflows are (hopefully) not affected.

@Xyene that's awesome, thanks for contributing this. Do you mind if I add your name to the contributors list?

@david-yz-liu sure, that's fine 😄


V2 Sensors

I would love to see support for V2 contact and motion sensors. This would be a game changer.

Sorry. Didn’t see closed issue.


feat: track best block

Updates UI to track best block once synced. Includes simple Polkadot style.
Note: Increment button hidden, could be used to select chain in future.

Amazing, thank you sir ! 🍻


perf(internal/bits): Significantly speedup bitArray.PickRandom

This PR significantly speeds up bitArray.PickRandom which is used in VoteGossip and BlockPart gossip. We saw for a query serving full node, over an hour, this was a very large amount of RAM allocations. (75GB of RAM!)

This PR drops it down to 0 allocations, and makes the routine 10x faster on my machine.
OLD:
BenchmarkPickRandomBitArray-12           1545199               846.1 ns/op          1280 B/op          1 allocs/op

NEW:
BenchmarkPickRandomBitArray-12          22192857                75.39 ns/op            0 B/op          0 allocs/op

I think the new tests I wrote make this more tested than the old code that was here tbh, but pls let me know if theres more tests we'd like to see!

PR checklist

[x] Tests written/updated
[x] Changelog entry added in .changelog (we use unclog to manage our changelog)
[x] Updated relevant documentation (docs/ or spec/) and code comments
[x] Title follows the Conventional Commits spec

I didn't add to the review, but I was thinking the following. This is only a suggestion.
We implement PickRandom() by 1. finding all bits set 1/true, lets say n, then 2. randomly taking one of these bits (random from 0 to n-1). So, we need 1. n to produce the random number used in 2.
Assuming that we know the maximum number of bits stored, lets say m, why we don't pick a random value from 0 to m, lets say i. Of course, probably in most cases, we have m > n, so potentially i > n. But in this case, actually in the general case, we just need to pick the index i % n. The problem, of course, is that we don't know n a priori (which can be solved in a different way, but lets keep this a bit simpler).
My point here is that we probably can implement PickRandom() with a single method. Of course, this method would need another loop, to handle the case where i > n. But in this case, after the first loop, we know n and we know that i > n. Therefore can compute i % n, and solve the problem in the second iteration.

I thought about the second method, but getting perfect distribution will require rejection sampling which is potentially much slower. (Doing i%n biases it)
Rejection sampling seems like unneeded edge case slowdowns right now. Targeting a single pass seems like large overkill when in the systemic view or what's going on with the bit arrays, we're very wasteful at the moment. (Two Extra full clones in the relevant vote sampling code. We clone the bit array from votes, then do a sub call that allocates another bit array, and everything here is single threaded but does mutexes. The mutex call's Cas operation is likely slower than the first pass of this codes ~16 bitwise math ops per word)

I didn't fully get this rejection sampling part, but I was wondering whether i % n is as random as rand(n), but I am not sure. Maybe it is not, but probably if we make m big enough, it becomes pretty much as random as.

Also agree that removing locks is much more relevant for performance than saving a few loops.

The problem, of course, is that we don't know n a priori (which can be solved in a different way, but lets keep this a bit simpler).

We can have this as a private field:

SetIndex adds or subtracts 1
copy() can be adapted easily
IsEmpty() and IsFull() become trivial
Update(), I don't even know the point, same as copy()
UnmarshalJSON() uses SetIndex, so nothing new here
FromProto() can have this field initialized with a private method (the one added here)

I should probably create an issue from this.

Your totally right, that would work! I expect that the difference in performance for the PickRandom call won't be that high (I think were already fast enough here), but agreed that seems like a better solution!


How to generate label for single oracle?

I try to experiment with anonymized CNN/Daily data, but there is no proper label data that is open.
How did you create the single oracle label?
In the paper, it is said that it was created by greedy method, How did you use Rouge score?
Rouge-2 Recall or Rouge2-F-score or combination?

We don't create single oracle, we create multiple Oracle labels. These labels have been released. You could use top ranked one as the best single oracle label.
We use mean of R1, R2 and RL F scores.

okay, thanks.
If so, how did you make file such as  cnn.test.label.singleoracle, cnn.training.label.singleoracle etc?

I have not shared that code, it uses the original PyRouge to generate multiple oracles as described in the paper. If you need to create these files for your own dataset, email me. One of my friend has written a faster version of this which approximates these scores.

After listening to your explanation and looking at the papers and data again, I understood what I missed.
Thank you for releasing good papers and data.

Thanks!


[#373] support escape characters in json

WIP: Support escape characters
Escape characters support for both keys and values of a json object for escape characters :-

'
"

for now (once logic is on track will add more)
Since it is used only for printing purpose we are parsing the string with escape characters and store them as characters in the value of json struct. Then at the time of conversion from string to json, the escape character are added and the output is displayed
Tutorial
I have tried using escape characters in Timestamp of request of cli
Command:
./pgmoneta-cli -c pgmoneta.conf --format text status
Output:
Header:
  ClientVersion: 0.15.0
  Command: status
  Output: text
  Timestamp: "20241016234836"
Outcome:
  Status: true
  Time: 00:00:00
Request:

Response:
  FreeSpace: 63.00GB
  NumberOfServers: 1
  Offline: false
  ServerVersion: 0.15.0
  Servers:
    - HotStandbySize: 0
      NumberOfBackups: 0
      RetentionDays: 7
      RetentionMonths: Unspecified
      RetentionWeeks: Unspecified
      RetentionYears: Unspecified
      Server: primary
      ServerSize: 16.00MB
      Workers: 0
  TotalSpace: 164.74GB
  UsedSpace: 16.00MB
  Workers: 0

Command:
./pgmoneta-cli -c pgmoneta.conf --format json status
Output:
{
  "Header": {
    "ClientVersion": "0.15.0",
    "Command": "status",
    "Output": "json",
    "Timestamp": "\"20241016234843\""
  },
  "Outcome": {
    "Status": true,
    "Time": "00:00:00"
  },
  "Request": {},
  "Response": {
    "FreeSpace": "63.00GB",
    "NumberOfServers": 1,
    "Offline": false,
    "ServerVersion": "0.15.0",
    "Servers": [
      {
        "HotStandbySize": 0,
        "NumberOfBackups": 0,
        "RetentionDays": 7,
        "RetentionMonths": "Unspecified",
        "RetentionWeeks": "Unspecified",
        "RetentionYears": "Unspecified",
        "Server": "primary",
        "ServerSize": "16.00MB",
        "Workers": 0
      }
    ],
    "TotalSpace": "164.74GB",
    "UsedSpace": "16.00MB",
    "Workers": 0
  }
}

@Jubilee101 PTAL

Looks like you are on the right track~

You missed the keys. They need to be escaped as well when converted to string output. See art_to_json_string_cb.

I think we're very close~

Also can you double check the validation? I changed MANAGEMENT_CATEGORY_HEADER from "Header" to "Header\"\n\t\"". When cli sent json payload to main side without correct translation of the key, pgmoneta_management_read_json on main side should have errored out because of parsing. Instead seems that it returned successfully.

You missed the keys. They need to be escaped as well when converted to string output. See art_to_json_string_cb.

Oh I see, actually I was assuming that key and value are translated in the same so never run any tests on key, anyways my bad.

The former approach seems great -- a function which will take a char* originalStr as an argument, translate it and return the translated string.
Smart Move!

@Jubilee101 PTAL

actually I was assuming that key and value are translated in the same so never run any tests on key, anyways my bad

Yeah, the key is not wrapped in the value instance like the values. Maybe it's some design we can improve upon.
Anyways the function seems to work nicely. Just some minor issue with the naming~

Merged, thanks for your contribution, great work!


use aprinter for cnc laser on arduino due

hi guys and thanks for awesome firmware, I'm windows arduino user  and I couldn't yet upload your firmware with your instruction , if you have better links or know any guys who did that , kindly let me know, also as well as someone used this firmware for cnc laser or plasma
best regards

Hey,
If you seek support please at least specify which board you want to use.

hi
sorry for not mentioned in text but as in title I've just read about how this firmware would be fast with ARM processes such as Arduino Due , I have some experience to make cnc laser machine with Arduino Mega +Ramps1.4 + Marlin firmware which is wireleesly (HC-6) connected to repeitair  but in practical find my machine not very robust due to low Pulse rate that AVR can generate , hence I decide to go with ARM processes,  but it seems Marlin is not very rich to use ARM processes  capabilities , then find this dime firmware and I really into it , so any help is really appreciated

I would recommend the Duet board if you want to use Aprinter with an ARM-based controller. It is indeed able to generate steps much faster than AVR stuff; I remember testing it up to around 150kHz cumulative (if all steppers are added up). Though I think this is not exactly the best in class, e.g. Smoothie should be faster.
And yes I do have some support for lasers (PWM-based output), though I don't know if anyone is using it.

tnx Ambrop72, as you may know the most commercial CNC broad have 200khz to 400 khz , .
when I used Marlin it can interpret the G code for fire pin and intensity pin which is created   with Inkspace plugin , however the Marlin is 3d printer nature and some guys modified code for laser use but the outcome is not real  trustworthy  and for example I have problem to control speed for travailing and printing mode, can you explain what is your basis for embedding the laser feature in original code?

The current support for lasers is in the form of a single PWM output. It is explained in detail in the readme (see Lasers section).

I read your readme file but every laser PSU need two input , one for fire (Active) and one for strength (PWM) bean , do you have any Idea buddy ?

The firmware only controls a PWM output. I admit I'm not familiar with such machines, but why and how would you want to control the Active pin? Are you sure it would be a good idea for the software to control it?
I see from the docs for Smoothieware that they also just drive a PWM output, so I am confused.

all laser power have these essential standard 2 pins, Smoothi directly connect active low to the ground and it is totally not commanded by any laser vendor , I use this revision of Marlin which is made by cool guy ,  https://github.com/TurnkeyTyranny/buildlog-lasercutter-marlin  , he used 2 pin for laser power , I recommend check the laser.h and .cpp in his git, but the problem is, his not support and update the code's issue anymore and still have many problem to change the machine speed , but all rest function work very well ,
however I believe for reliable machine should pass AVR 8bit MCU behind .
another mine issue with Smoothi is , it's not Arduino friendly as your code is, hence I have plan to do actual practice with your code

Hey,
I will add support for the active pin, it will be set at the exact time that a move uses the laser begins, and cleared when the move ends and the next move does not use the laser. Also there will be an option to invert this logs. Is this right?

I don't know buddy , I've just want to implement your code in actual performance , we should wait and see what will come buddy
however I've just read this https://github.com/MarlinFirmware/Marlin/issues/626 @ scotty1024  links and noticed Smoothi  is not very promising for development  and many people look for Arduino frigidly ARM base firmware and I think your code would be good candidate , have you had any pull request for your firmware?

Well, you can always try out Aprinter and see if it works for you. It supports quite some boards, including the Due that you are asking about.

have you had any pull request for your firmware?
A few, but I do have to say that it is generally not easy to understand the code, due to the (uniquely good :) design. For example, everything is 100% asynchronous, and I have my own HAL/drivers for most stuff including SD card and the FAT filesystem. Also, I have a very high criteria for code quality, I will not merge accept anything sub-par.

I know , I've check your codes before and  totally is scary for me and that's why I thought it must outcome of team-working,  however I was wondering  how could I compile it in Arduino IDE and inserted into due?

You cannot compile it in Arduino IDE. Either have the online web service compile it for you, or follow the instructions for building manually (you will require Linux), then use bossac to upload it to the chip (also in the README). I understand you may be familiar to the Arduino IDE but that is far from being a satisfactory target for software designed to be highly portable. So instead I have a unified build/configuration system built around the Nix package manager.

Thanks buddy ,I really appreciated if you could help me out for both configuration and upload-run the codes , also can use bossac  in python environment in windows platform ?

I don't know, I've never tried the flash.py script on Windows. I suppose it works if you make that bossac is in PATH. You can get bossac from an old Arduino IDE version (1.5.5).
Note: if you program over the UART (programming port), you need to put the board into boot mode first, by opening the port in baud rate 1200. I haven't tried doing that in Windows. If you can't figure it out, you can alternatively upload via the native port. To do so, connect the USB to the native (left) port, press the ERASE button on the board, then use something like the following bossac invocation:
bossac -p ttyACM0 -i -e -w -v -b aprinter-nixbuild.bin -R
The difference from the command you'd use with the programming port is the absence of -U.

hi @ambrop72 we discuses about your firmware and its capability in this topic , I know you are pro on Due board and really appreciated if we have your idea about that ,


Measure time to first frame in sksl warmup benchmarks

Internal: b/194245184
Currently, sksl_warmup benchmarks do not report time to first frame. This will be important for measuring the impact of work on https://github.com/flutter/flutter/issues/83953 and https://github.com/flutter/flutter/issues/84213. Marking this P2 to match the priority of those issues.
/cc @chinmaygarde

I think we should setup a benchmark harness in the engine to measure this instead of adding e2e tests further away from the engine. No such harness exists today in the engine but all the pieces to wire this up are already present.

I'll submit an update the shell_benchmarking harness that measures time to first frame later this week. In the meantime, @zanderso has also submitted a device lab benchmark but that isn't gathering data just yet. Either way, we should be able to verify this using benchmarks soon. Per Zach, customer: money isn't willing to experiment with the effects of shader warmup in the application. So these benchmarks are essential.

This is on my radar to land this week.

The test harness is done. We now need a way to setup and teardown engine cache directory structure before running each test instance.

I am reducing the priority of this as I want to finish work on other items.

We're not going to do this


Teardown testing instance

Currently, our testing instance keeps running so it makes sense to explore the tradeoff between keeping it running and teardown and setup it up daily.

If we tear it down, we will lose the log which is helping us in figuring out reasons in more detail for a task being failed.
We will have to keep all connection related information in CircleCI and create an Astro variable from these variables using rest API or cli
Each DAG need to have a task create_connection and delete_connection

closing it. I don't have plan to work on it soon


static types cannot be usd as

So, just started Nadeko and got an error, reinstal didn't fixed it.
I was able to use Nadeko before without any problems and i didn't changed anything.
os: Win10

Update your bot to 1.9+
If you're on linux you need to use this link
first, backup your current installation just in case
cd ~ && wget -N https://github.com/Kwoth/NadekoBot-BashScript/raw/1.9/linuxAIO.sh && bash linuxAIO.sh

Reinstall prerequisites
Download nadeko (first option)
Run nadeko

( Not sure what i'm supposed to do with an Linux link on a win10 🤔 )
Just noticed that here ( https://nadekobot.readthedocs.io/en/latest/guides/Windows Guide/ ) is an Updater wich i just used, now the problem is this https://puu.sh/xV0jM/da58d8f91d.png
So, starting the bot wie shortcut on desktop as Admin, then after the text shows up in the console the "stopped working" window pops out.

Press Install redis button in the launcher

Everything working fine now, thanks


Normalize the field_path/target_path argument across all functions

We used multiples arguments names to signify the same thing (field_to_get, target_path, field_path, etc).
Instead of having this confusion, we should use 'field_path' everywhere

Done in : https://github.com/Robinson04/StructNoSQL/commit/938b1eec06c9d725b88ca64bb916440ed70021ac

Done in : https://github.com/Robinson04/StructNoSQL/commit/938b1eec06c9d725b88ca64bb916440ed70021ac


Remove check for homogeneous array

In conformance with latest TOML spec...

My reading of the code indicates that with this change atype is not at all used anywhere and so the variable can simply be removed entirely (and then also ntype for that matter (i.e. doing nval, _ = self.load_value(a[i]) to indicate that the returned value is not used))

ping @uiri


Fix unit string in group delay plot

Which issue(s) are closed by this pull request?
The unit was not plotted to the colorbar when using unit='auto'

Why not release with 0.7.0?

The colors of the labels changed and I got confused ;)


MSID: 95821 Version: 2 DOI: 10.1101/2<IP_ADDRESS>5700

MSID: 95821
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>5700
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=95821
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>5700

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/95821v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>5700
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/95821/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Need to fix email addressses


Results on homepage should show date submitted (not number of days/months ago)

TBC Waiting on @plscully to confirm format.
Options:
"Submitted August 14, 2017" or just "August 14, 2017"

Approved format:
"Submitted August 14, 2017"


Improve acra-migrate-key reusability

Common acra-migrate-keys package

Move command-line processing into a shared migratekeys package which could be reused in Acra EE to provide the same command-line interface as Acra CE without a lot of copypasta.
We'll still need to use copy-paste inheritance for key store initialization and the migration process, but that's a necessary evil
because the key store instances are different. Common command-line parameters are the same, on the other hand.

Improve reusability of filesystem.KeyExport

The main difference between Acra CE and Acra EE in key exporting is the list of keys that need to be exported and the method by which they are exported. Acra EE will need to extend and/or override these methods.
The exporting approach can be readily overridden in ExportPublicKey() methods, etc. That will be easy to do. However, the key list is different. Current Acra CE code does not expose the key list itself, instead it provides the EnumerateExportedKeys() method which queries the list and processes it using the classifier to determine which key paths correspond to which keys.
The classification process itself is the same for both Acra CE and EE, but in the current form it cannot be reused in Acra EE: it is too coupled with path enumertion. Acre CE supports only raw filesystem, but Acra EE supports more options and cannot use ioutil.ReadDir() directly.
Introduce a new interface for enumerating the key paths alone, and move the existing EnumerateExportedKeys() methods into free functions. This way Acra EE can provide its own path enumeration, its own extended classifier, but reuse the rest of the export workflow.

I've added a bunch of changes which make the key store version required arguments. Now the user has to specify --src_keystore and --dst_keystore arguments with explicit versions. (The --src_keys_dir and --dst_keys_dir still default to .acrakeys and .acrakeys.migrated respectively.)
There are also some minor changes in the common command-line parsing module.


chore: fix backtick escape replace

Closes #40

Do not merge! Resolving CI issue https://travis-ci.org/skatejs/web-components/builds/204153459#L433 which explains why it didn't fail on this issue

So I have find out that onBuildEnd was silently failing see log as it was missing dist folder at time of copying. As a result we were missing native-shim.js in released packages. I suspect that this is culprit https://github.com/skatejs/build/blob/master/bin/sk-bundle#L3 but I couldn't reproduce it on local.
What is more important this fix doesn't work on linux new escaping will deform native-shim.js.
So I'm closing this PR and I think that proper solution to this issue would be

create backtick replace loader( should be really simple https://github.com/webpack-contrib/raw-loader/blob/master/index.js#L8)
use https://github.com/kevlened/copy-webpack-plugin to copy native-shim.js

@elmariofredo I'm having a hard time understanding point (1)
A backtick replace loader?  Is the only point of that sed command to replace backticks with escaped backticks?  (Trying to understand all those \\\'s :wow)  Would the raw-loader just be using javascript to do what the sed command is doing?

@micahscopes yes exactly it make \` from ` so whole native-shim file can be then encapsulated in backticks.
My point about loader is to create custom loader to replace backticks. Reference to raw-loader is only as an example how easy it would be to create replace-backtick-loader
Simply said we need some multi platform solution to this as according to my experience sed doesn't work the same even across POSIX.

@elmariofredo alright, that's exactly what I figured...  doesn't seem so bad!

@micahscopes great! let me know if you will need help with this.
Cheers 🍻

sed was just an easy implementation. Can write a node script or whatever to do this if we need to.

I'm working on it now, should have it done after lunch.  Just gonna make a simple webpack plugin that should fit in the webpack config.


TypeError: otplib_1.otplib is undefined

Hello,
I'm new in angular and run into this Error: TypeError: otplib_1.otplib is undefined
I have install the package
npm install otplib --save

I have also tryed
npm install otplib@next --save

I have it included with following code:
import { otplib } from "otplib";

At this point "vs code" tells me that there is a definition file (*.d.ts) missing.

I try to use the Authenenticator class:
createSecret()
  {
    let authenticator = new otplib.Authenenticator();
    authenticator.options = { crypto }
    const secret = authenticator.generateSecret();
    return secret;
  }

I have alseo tryed:
createSecret()
  {
    const secret = otplib.authenticator.generateSecret();
    return secret;
  }

My major question is, what do I wrong?
I try to follow your instructions at https://yeojz.github.io/otplib/docs/ but it doen't work.
Please, give me an instruction that it work.

That's not really enough to go by.
More details would be helpful. eg: are you using babel, node version etc.
From an online repl, the library doesn't seem to have any issues.
try it out: https://repl.it/repls/GlitteringEmotionalUpgrades

Hi @yeojz,
Details:

module
verision

nodejs
v6.11.4

angular cli
1.6.5

webpack
3.10.0

The Project
I have a login Component with a service and a module.

The standard route, routs to "/dashboard".
The auth.guard.ts looks for a specific variable if the variable is not set it routs to "/login".
After you enter your credentials into the Login form, you will be redirected to "/2fa".
The 2FA is a separate module. It asks the server if the user has a 2fa already set. If not the user gets the qrcode.

My Functions
Import the Modules
import qrcode from "qrcode";
import otplib from 'otplib';

Create QRCode Function
createQRCode(party:Party)
  {
    let secret  = party.secret_key;
    let imgUrl;
    if (secret == '') {
      secret = this.createSecret();
    }
    let user = party.login
    const otpauth = otplib.authenticator.keyuri(user, 'Webclient', secret);

    qrcode.toDataURL(otpauth, (err, imgUrl) => {
      if (err) {
        console.log('Error with QR');
        return;
      }
      this.imgCache = imgUrl;
    });
  }

Create Secret Function
createSecret()
  {
    const secret = otplib.authenticator.generateSecret();
    return secret;
  }

Verify Function
check2fa(party:Party){
    if (localStorage.getItem('isHalfLoggedin')) {
      if (otplib.authenticator.check(this.code, party.secret_key)) {
        localStorage.removeItem('isHalfLoggedin');
        localStorage.setItem('isLoggedin','true');
      } else {
        this.ErrorMessage = 'Token is invalid';
        setTimeout(() => {this.ErrorMessage = null;},5000);
      }
    }
    this.router.navigate(['/dashboard']);
  }

Maybe this informations can help you to understand my Problem.
Thx for your help
Best regards
Spirit-act

At a glance, I can't really conclude on the issue.. A suspicion is that the import statements ain't being compiled properly. Maybe you can try using const otplib = require('otplib') instead?
I'll need to dig futher over the weekend. I haven't really used the angular-cli tooling, so unsure what's provided out-of-the-box

@Spirit-act
I've tested it out with an angular-cli new project. It would seem that it is actually mainly angular and typescript that is causing issues, and not specific to the library. There are 2 issues when using with angular 4 / typescript.

crypto imports seems to be dropped
typescript transforms default module.exports into named exports.

A quick fix for this is instead of doing:
import otplib from 'otplib'

otplib.authenticator.generateSecret();

use the browser build included instead:
import { authenticator } from 'otplib/otplib-browser';

authenticator.generateSecret();

Let me know if that works for you.
For now, I will not be making any changes as it is not apparent that it is a issue with the library itself.
Thanks

The following are modified files from a default @angular/cli generate output that I used for tryouts.
app.component.ts
import { Component } from '@angular/core';
import { authenticator } from 'otplib/otplib-browser';
import { toDataURL } from 'qrcode';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'otplib test';
  secret = '';
  imageURL = '';

  constructor() {
    console.log(authenticator);
    this.secret = this.createSecret();
    this.createQRCode();
  }

  createSecret() {
    return authenticator.generateSecret();
  }

  createQRCode() {
    const otpauth = authenticator.keyuri('test', 'Webclient', this.secret);

    toDataURL(otpauth, (err, imgUrl) => {
      if (err) {
        console.log('Error with QR');
        return;
      }
      this.imageURL = imgUrl;
    });
  }
}

app.component.html

    Welcome to {{ title }}!

          Secret
          {{ secret }}

            imageURL

@yeojz
I will try your changes as soon as possible but the whole app is build in an company environment and in the next 3 weeks, I am not able to access this environment.
So sry for the delay.

@yeojz
Your answer was the solution. The QR Code works and the secret key generation works too.
I'm working on the verification right now.
Thx for your help.


Stata code to import BETOS

See https://github.com/chse-ohsu/PublicUseData/tree/master/BETOS

From: John McConnell
Sent: Tuesday, July 05, 2016 12:53 PM
To: Benjamin Chan
Subject: data wish list/questions

  Is there a BETOS code in Stata format?

Wrote Stata code to read in 2014 BETOS text file, add aggregate category variable, and save as .dta.
Code file is in CHSE PublicDataUse repository (convertBetos14toStata.do)
Resulting file is saved here ("E:\Share\LookupTablesAndCrosswalks\BETOS\betpuf14\betpuf14.dta")

See 6f308c562203a5053f532c465b71f914dd19bb8d


Update readme for 1.3

OpenNTF » JavascriptAggregator #728 SUCCESS
This pull request looks good
(what's this?)


⚠ Bofrost.lu has degraded performance

In 21f5d5e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2541 ms

Resolved: Bofrost.lu performance has improved in 1138bae after 41 minutes.


Will Prompts consider being compatible with GitHub writing method?

Checklist

[X] I have read and accepted the contributing guidelines.

Is your feature request related to a problem? Please describe
Will Prompts consider being compatible with GitHub writing method?
The Chirpy theme’s format requirements for Prompts are:
> An example showing the `tip` type prompt.
{: .prompt-tip }

This is different from GitHub’s format requirements for Alerts:
> [!TIP]
> Helpful advice for doing things better or more easily.

As a creator, I often keep a copy of the documents posted to the Chirpy website locally so that I can modify them at any time. However, the different prompt syntax formats lead to a somewhat fragmented experience. Is there any plan to be compatible with the GitHub prompt format in the future? To facilitate previewing articles using local compilers.
Currently, the local editor typora already supports the GitHub prompt format:

Describe the solution you'd like
In addition to the Chirpy theme's native format, provide an option compatible with GitHub format, just like vitepress does.
https://vitepress.dev/guide/markdown#github-flavored-alerts
Describe alternatives you've considered
No response
Additional context
No response

Will Prompts consider being compatible with GitHub writing method?

No.

To facilitate previewing articles using local compilers.

Perhaps you don't know that Jekyll supports running the server locally.