Trasparent tile layer issue

I'm overlaying a couple of tile layers on the map. One is semi-transparent (i.e. layer layer above an imagery layer). What I am noticing is that the semi transparent layer is being rendered multiple times on the map (looks like three levels, possible previous, current and next zoom level?), and this is causing issues as I end up with overlapping labels. Here is a screenshot:

I have a sample live here: https://azuremapscodesamples.azurewebsites.net/Third Party Map Controls/Raster tiles in GeoJS.html

There is an option for layers whether all lower levels of tiles should be rendered or not.  On non-transparent layers, have all lower levels of tiles gives the perception of better updates when panning.  On transparent layers, it is undesirable.  This option can be changed on the tile layer.  See the keepLower option (https://opengeoscience.github.io/geojs/apidocs/geo.tileLayer.html#.spec).


Project profile combined

Merge project and profile dicts (and packages and cli vars) into a single, coherent object.
The changes are naturally pretty extensive!
I do at one point in the code make use of multiple inheritance, to represent an is-a relationship (a full config really is both a project and a profile), but I think it came out pretty well.
I believe this handles dbt deps and dbt debug properly. After a lot of massaging and changes to some behaviors, integration tests pass. Unit tests went really well, almost no changes needed there!
I still am going to write some unit tests for the config (there's really not too much that isn't exercised by the integration tests), but since this PR is going to take so long to digest I figured I would let you have at it while I work on those.
I'm pretty confident there are no changes of substance to dbt's actual behavior. That said, here's some changes that might not be obvious to a reviewer.
Breaking changes:

I think I broke the package registry stuff, in a way that is very easy to fix. I'd like to go into more depth on that with you and figure out exactly what we need there... and write some tests accordingly. To my knowledge that code is unused so it didn't seem urgent. Correct me if I'm wrong!
Merging this will deprecate the repositories entry in dbt_project.yml. I'm not sorry.

Non-breaking internals changes:

if you used to pass a dict around, there's a pretty good chance it's now an object.
project/profile/packages all unified, of course
assorted adapter connection-related functions now mutate the Connection instead of copying+creating new ones. Basically, the copy model doesn't make a lot of sense with how these are instantiated and accessed. Setters call validate(), so that should be fine!
"strict mode" means a lot less because we validate stuff all over the place, all the time. dbt's runtime seems to be enormously dominated by db time, followed by time reading from disk, so I don't feel bad about that.

Breaking integration test changes:

I changed the integration tests to now look at the test method name to decide what profile to load. When I was changing how the integration tests load their internal adapters I realized the current framework was going to be very difficult to fit in there. Now, your snowflake tests must have snowflake in the name, same goes for bigquery and redshift with postgres as the default. Surprisingly little had to change on that front. It will error at test-import-time if you have two for some reason.
setUp is now pretty-much mandatory
tests that want to change quoting in a way that could impact the schema handling must be in a class that overrides project_config with the desired quoting. With the new setUp it's just not very sane to rebuild the adapter, and re-doing the adapter building/schema dropping/schema creating on snowflake (the place where we most often mess with quoting in the tests, of course) was agonizing. Tests that change quoting partway through will still work as designed. You can look at the simple copy tests for examples of the horrible machinations we have to go through.
I got rid of runtime-target from the tests - it's long gone from the actual code

love that we are deprecating repositories. however i imagine this will break a lot of projects & makes this 0.12

Yes, for sure!

let's talk about what is broken with packages.yml

It's not clear to me what exactly kind of data we should be getting back from that URL endpoint, basically. We can do a call about it if you'd like!

one thing i'd like to double check here is that the error messages are still sane. have you talked with @drewbanin about that?

Drew and I have discussed some specific messages around dbt debug and dbt deps. In general I think these validation messages come out pretty nice and it's not too hard to figure out where your config went wrong but I'd love for him to look them over and let me know what he thinks, I'm not sure what kind of config issues are common. We have a lot of flexibility here, it may be better to iterate on that in a separate PR if the messages are at least tolerable for now.


qt5-webengine: build failure because of bison 3.7

@dilyn-corner
Qt5-webengine fails to build with the following. I have produced this error on 2 indepented KISS instalations...ohoh.
/tmp/build-1507/qt5-webengine/src/core/release/gen/third_party/blink/renderer/core/xpath_grammar.cc:124:10: fatal error: xpath_grammar.hh: No such file or directory
  124 | #include "xpath_grammar.hh"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: subcommand failed

Edit: Ah nice, this seems to be an error with bison 3.7 gentoo bug
Edit2: Theres also a missing dependency for perl
Edit3: Qt related: My falkon runs fine without qt5-x11-extras, is it really needed?
Edit4: bison 3.7.1 does not resolve this issue.

The bug was reported at Qt upstream. click.
The patch provided there works for me in this sed:
sed -i '/os.unlink(outputHTmp)/d' src/3rdparty/chromium/third_party/blink/renderer/build/scripts/rule_bison.py

Thanks for pointing all these things out - I've been on vacation, but I'll start looking into all these things and pushing changes tomorrow!

What I've found:
qt5-webengine does in fact fail to build, and adding the provided sed line does indeed fix it.
qt5-webengine does not seem to require perl to build? Although qt5-x11extras does. I've added it.
falkon definitely fails to both build AND run without qt5-x11extras installed, on my end at least. At the very least it's a make dependency, and falkon seems to link to some libraries qt5-x11extras provides, making it a runtime dep.

My build of qt5-webengine failed very far in the build because of missing perl.
Falkon: I am running X11 but I had without knowing forked the falkon package with the option -DNO_X11=ON.
It runs just fine. Funny.

OF COURSE the failure would happen near the end. Why wouldn't it. I'll set it up right now and I'll know in a few hours, then. Although nowhere else seems to list perl as a make dependency for it, we will know soon enough.
I wonder then what falkon uses those libs for. I'll have to look into it and see.

I will test the falkon modification on my KDE machine. I have some windowdecoration in mind.


Time of images not visible on Android

Checklist:

[x ] I updated to the latest version available
[ x] I cleared the cache of my browser
[ x] I installed using HACS (leave unchecked for manual installs)

Release with the issue:
2.0.6
Last working release (if known):
Browser and Operating System:
Home Assistant Companion on Android 12 (Pixel 4a)
Card Config (click Show Code Editor and copy paste your config, remove a few of the least significant digits of your lat/lon to avoid posting you exact home address):
'''

type: custom:weather-radar-card
card_title: Rain Radar
zoom_level: 9
static_map: true
square_map: false
show_playback: false
show_marker: false
show_range: false
extra_labels: false
show_zoom: false
show_recenter: false
show_scale: false
map_style: Voyager
'''

Description of problem:

In Home Assistant Companion on my Pixel 4a there is insufficient room to see the time of each image in the card. I can see the date but that isn't as useful as the time of day. Looks like the height is fixed and didn't allow enough room in a small screen for the font size used.
Javascript errors shown in the web inspector (if applicable):

Additional information:

Just showing the time would be more useful, or show the time before the date.


The link to  NativeMethodsMixin.js returns a 404 screen

The link NativeMethodsMixin redirects user to a 404 page on github https://github.com/facebook/react/blob/master/src/renderers/native/NativeMethodsMixin.js
Here is the link to the page showing this bug: https://facebook.github.io/react-native/docs/direct-manipulation#setnativeprops-with-touchableopacity

Hello i like to help out with this issue, is there any specific implementation you have in mind?

Thank you for reporting this issue!
Sure, your help would be much appreciated.
I'd say we can remove the .js extension from the file name and instead link to https://github.com/facebook/react-native/blob/fb2ec1ea47c53c2e7b873acb1cb46192ac74274e/Libraries/Renderer/oss/ReactNativeRenderer-prod.js#L5793-L5813.

Thanks @charpeni for the clarification. Will do so.


Questions about this paper.

The article mentions that "when we train the model, we can randomly sample a part of the features from the local feature set, but use all the features during testing." Why can we use only a part of the features for training, but use all the features during testing?
Thank you!

And the article also mentions' the inputs to an attention model are naturally unordered sets of varying sizes'. How can the attention mechanism of the fully connected layer be applicable to different numbers of inputs?


FOTA Cannot update Firmware.

1. SDK version（SDK 版本）
{
V2.112
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
whats the problem with FOTA i exactly did what it said in the FOTA section of document it doesn't work.

what should i do with this.
i will say what i got from the documentation briefly:
1- cleaning hex folder by "./build.bat clean"
2- compiling code with "./build.bat demo fota" without considering that if it is a realese or debug version
3- back up the "hex/fota" folder somewhere else and copy "fota_debug_ota.lod" to "GPRS_CSDK/" then rename it to old.lod
4- changing whatever you want to provide after program update. for example changing version by modifying "SOFT_VERSION" from "V3.0" to "V3.1".
5-cleaning "hex/fota" directory and compiling again without considering that if it is a realese or debug version
6-copy "fota_debug_ota.lod" to "GPRS_CSDK/" and rename it to new.lod
7- executing batch with this code: "./build.bat fota old.lod new.lod V3.0tonew.pack"
8- uploading "V3.0tonew.pack" to the host you provided it's link in code.
9- uploading code to "A9" or "A9G" and waiting for update.
I did this procedure with no success. First i used an https server but then i changed the server security to http. again with no success.
@Neutree @punee995
}

Hello. Did you manage to solve the problem? I have the same situation.

No i didn't, and because of this and other bugs and problems and also because the developer didn't answer any questions, i decided to change the hardware. And I advice you too. I was working for 6 months on this module and then i needed to change the hardware because of the lack of software support and various bugs and problems.


Hide progress bars on HPC logging environments but keep in interactive terminals

tqdm(disable=None) allows for the suppression of the output in non-tty (e.g. CI/log files) but keeps the progress bars in terminal (i.e. tty mode). I believe this is a simple change that will improve the progress bar functionality.
see doc: https://git.io/JnBOi
cc @borda @awaelchli @rohitgr7

We could add **kwargs that get forwarded to the tqdm instantiation. This works if you want the argument to be set for all bars (training, validation, testing...)
Would you like to open a PR with the enhancement?

we could do that but we need to make sure that these kwargs takes precedence when we explicitly initialize tqdm. For instance, currently disable depends upon the refresh_rate. So if disable is part of kwargs, we should use that instead.

when I have used this in the past I have used the construction disable = None if show_progress_bar else True but that it because I always wanted to suppress the progress bar to non-tty given that it clutters logs esp when using a actual logger such as wandb to keep track of losses. I am not sure that pytorch-lightning would want to make this default behaviour here to not write to non-tty

@carmocca @rohitgr7 -- am happy to try make a PR but need to know what would be acceptable to the team, it will probably require a global setting or something show_progress_bar_in_non_tty that can be combined with the existing flags and kwargs to turn the progress bars on and off using the disable=None trick

What I'd suggest is:
class TQDMProgressBar:
    def __init__(self, ..., **tqdm_kwargs):
        ...

    def init_train_tqdm(self):
        desc =
        bar = Tqdm(
            self.tqdm_kwargs.get('desc', self.train_description) ,
            ...
        )

for all the bars. This way, you can pass in your preferred parameters, which will take precedence.


Interactive Code does not Compile on Browser.

AnimatedSize
The Intercative code of AnimatedSize class does not compile and the sample code is correct.
Steps to reproduce the error - .

Open this Url. AnimatedSize Class

Select Interactive App.

Click on Run. The code does not compile.

Add this line.
AnimatedSize(vsync:this,) // vsync is a required field for AnimatedSize

Click on Run. The code compiles.

Please allow me to solve this issue. Help required.

Hi @parjanyaacoder
This is a duplicate of https://github.com/flutter/flutter/issues/82619 https://github.com/flutter/flutter/issues/83604 https://github.com/flutter/flutter/issues/83606


Docs: fix scene events example code

This PR

Updates the Documentation

Scene events descriptions incorrectly referred to this.scene.events.

👍 thanks - have fixed the spacing issues in some of these too.


Why is it written in Python? 👀

The original highfive was written in 2013, way before Rust 1.0 stable.


Measurement errors.

Hello,
I have noticed that OL3 (version 3.9.0) is giving wrong values while measuring distances.
I used the example for measure interaction:
http://openlayers.org/en/v3.9.0/examples/measure.html
I selected two points on the map and measured the distance. The result I got was: 10.82km
I then used google maps measures, and one other GIS map of the region independent of google and ESRI Arcmap (just to be 100% certain) and made a measures between the same two points.
I got about 6.30km in all three cases.
The difference between OL3 and other GIS systems is too large to be taken as floating point errors.
I would be grateful if someone could take a look at it.

OK, I missed using the geodestic measures.
When this option is checked everything works fine.
Sorry, my bad :)


Delete redundant Chinese characters in config

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

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

Dear bainouo,
First of all, we want to express our gratitude for your significant PR in the MMDet . Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
As a valued contributor, we would also like to invite you to join our Special Interest Group (SIG) private channel, where you can share your experiences, ideas, and build connections with like-minded peers.
Join us ：https://discord.gg/raweFPmdzG
To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. We look forward to seeing you there!
Also，if you have WeChat，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx，or scan the following QR code to join us. Please add "mmsig + Github ID" as a remark when adding friends：）
Best regards！ @BainOuO


Internal telemetry page lists metrics that can't be found in the /metrics endpoint

What needs to be changed? The internal telemetry page lists metrics that don't seem to be exposed by the collector.
What is the name + path of the page that needs changed? collector/internal-telemetry/#additional-detailed-level-metrics
Additional context
👋  I've started to use the collector recently, and was trying to debug a performance issue last week when I realized that the service does not expose the http_server_request_duration metric that is listed in the internal telemetry page in the docs. In fact, it does not expose any of the http_* metrics that are listed there. Instead, the collector I'm running exposes otelcol_http_server_duration, otelcol_http_server_response_size, and otelcol_http_server_request_size. I've made sure that I've configured the collector to use the detailed level in the service:telemetry:metrics section.
I've looked at the source code to try to figure out the problem myself. One thing that I noticed is that there is a condition around exposing HTTP metrics
if disableHighCardinality {
  views = append(views, sdkmetric.NewView(sdkmetric.Instrument{
    Scope: instrumentation.Scope{
      Name: GRPCInstrumentation,
    },
  }, sdkmetric.Stream{
    AttributeFilter: cardinalityFilter(GRPCUnacceptableKeyValues...),
  }))
  views = append(views, sdkmetric.NewView(sdkmetric.Instrument{
    Scope: instrumentation.Scope{
      Name: HTTPInstrumentation,
    },
  }, sdkmetric.Stream{
    AttributeFilter: cardinalityFilter(HTTPUnacceptableKeyValues...),
  }))
}

If I'm reading the code correctly, disableHighCardinality is set by a feature gate
disableHighCard := obsreportconfig.DisableHighCardinalityMetricsfeatureGate.IsEnabled()

I thought that maybe that was the problem and I just needed to enable or disable the feature gate. However, I haven't noticed any difference in doing so from the command line. I may have misunderstood that part of the code after all 😅 But, HTTPInstrumentation seemed relevant to me, so I digged a bit and found where it's declared
HTTPInstrumentation = "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"

Seems like it's coming from a different package. According to go.sum, the collector is using version 0.51, which can be found in the opentelemetry-go-contrib repository. There, I could finally find the metrics that my collector is exposing
// Server HTTP metrics.
const (
	serverRequestSize  = "http.server.request.size"  // Incoming request bytes total
	serverResponseSize = "http.server.response.size" // Incoming response bytes total
	serverDuration     = "http.server.duration"      // Incoming end to end duration, milliseconds
)

As I've mentioned above, I don't have a lot of experience running the collector, so I may be doing something wrong here. If that's the case, feel free to point out at what I'm missing and close this issue. If on the other hand I'm right, I'm happy to contribute with a PR.
cc @tiffany76 as you added the metrics in https://github.com/open-telemetry/opentelemetry.io/pull/4322/
Thanks!

Hi @antonio, thanks for explaining your issue. Can you tell us which distribution of the Collector you are running?
cc: @open-telemetry/collector-approvers

We're using internally a custom build of the collector, but I just tested the otelcol-contrib binary that can be found in https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.106.0 with the same results.

I just tested this w/ v0.106.0 and the following metrics show up after sending traffic through my OTLP receiver and exporters
# HELP http_client_duration Measures the duration of outbound HTTP requests.
# TYPE http_client_duration histogram
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="0"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="5"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="10"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="25"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="50"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="75"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="100"} 0
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="250"} 1
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="500"} 1
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="750"} 2
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="1000"} 3
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="2500"} 3
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="5000"} 3
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="7500"} 3
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="10000"} 3
http_client_duration_bucket{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1",le="+Inf"} 3
http_client_duration_sum{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1"} 1704.2461250000001
http_client_duration_count{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1"} 3
# HELP http_client_request_size Measures the size of HTTP request messages.
# TYPE http_client_request_size counter
http_client_request_size{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1"} 4.233086e+06
# HELP http_client_response_size Measures the size of HTTP response messages.
# TYPE http_client_response_size counter
http_client_response_size{http_method="POST",http_status_code="200",net_peer_name="api.honeycomb.io",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1"} 0
# HELP http_server_duration Measures the duration of inbound HTTP requests.

# TYPE http_server_request_size counter
http_server_request_size{http_method="POST",http_scheme="http",http_status_code="200",net_host_name="<IP_ADDRESS>",net_host_port="4318",net_protocol_name="http",net_protocol_version="1.1",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1"} 377
# HELP http_server_response_size Measures the size of HTTP response messages.
# TYPE http_server_response_size counter
http_server_response_size{http_method="POST",http_scheme="http",http_status_code="200",net_host_name="<IP_ADDRESS>",net_host_port="4318",net_protocol_name="http",net_protocol_version="1.1",service_instance_id="dbf4b779-1fb5-4a98-a81a-a0721d4cfbdc",service_name="otelcol_hny_darwin_arm64",service_version="1.0.1"} 2

Prior to v0.106.0, metrics that were being exported via prometheus would use a namespace configuration in the prometheus exporter and be prefixed w/ otelcol_. This option has been removed, which updates all instrumentation based metrics (these are metrics produced by the code being instrumented with an instrumentation library) will reflect the original name for the metric.
All metrics emitted by Collector components will be still be prefixed with otelcol_ to identify them as metrics internal to the Collector.
Also note that the http/grpc instrumentation metrics (like most metrics) will not be emitted if there's no data for them.

Thanks for looking into this @codeboten, can we close this issue or is there something we can do? Should we add a comment to the document that things are different prior to 0.106?

@codeboten I'm not sure if I'm understanding your message correctly, but notice how those metrics are not the ones listed in the documentation. Specifically, your endpoint is returning http_server_duration instead of http_server_request_duration, which is what happened with mine as well (not taking into account the otelcol prefix that is now gone)

Also note that the http/grpc instrumentation metrics (like most metrics) will not be emitted if there's no data for them

Is there anything special that needs to be done to get the rest of the HTTP metrics listed? How would we get the http_client_* ones?

Sorry @antonio you're right that http_server_request_duration looks like it was renamed at some point to http_server_duration. The docs should definitely be updated for that one metric. The docs are correct for the http_client_duration metric.

Is there anything special that needs to be done to get the rest of the HTTP metrics listed? How would we get the http_client_* ones?

In my example, those metrics are produced by the otlphttp exporter that is instrumented via the otelhttp instrumentation you linked to in the original post.

The docs are correct for the http_client_duration metric.

I think they have the same problem. The docs don't list any http_client_duration metric, but http_client_request_duration. http_client_duration seems to be coming from the same package.
const (
	clientRequestSize  = "http.client.request.size"  // Outgoing request bytes total
	clientResponseSize = "http.client.response.size" // Outgoing response bytes total
	clientDuration     = "http.client.duration"      // Outgoing end to end duration, milliseconds
)

🤦🏻♂ you're right i was looking at rpc_client_duration, the same fix needs to be applied to http_client_request_duration

Thanks, @antonio and @codeboten. We will fix the names for these metrics:
http_client_request_body_size --> http_client_request_size
http_client_request_duration --> http_client_duration
http_client_response_body_size --> http_client_response_size
http_server_request_body_size --> http_server_request_size
http_server_request_duration --> http_server_duration
http_server_response_body_size --> http_server_response_size


[BUG] assay outputs format of ARC.json file incorrect

Describe the bug
In the json output file from Dominik's rnaseq sample ARC the format of the output (in the assays section, last assay, outputs) is not compliant with the ISA-JSON specification. There are additional list entries after each output description containing the name of the output file again as well as the output type (Raw Data File in this case).
To Reproduce
Steps to reproduce the behavior:

Clone the public sample ARC: https://git.nfdi4plants.org/brilator/samplearc_rnaseq
execute "arc export -o <output.json>
go to line 2604 in the json-formatted output file to get to the inputs section

Expected behavior
I only expected the "first part" of the "two part output", the part containing "name", "factor values" and "derives from", not an additional list object with "name" and "type", as this is not mentioned in the ISA-JSON specification in the output section but rather in another section "dataFiles" which is missing in the JSON output. Thus, I got 12 outputs (with 2 objects belonging together by name) instead of the expected 6 for the 6 lines from the .xlsx file.
Screenshots

OS and framework information (please complete the following information):

OS: Ubuntu 20.04.5 LTS
ARCcommander version: v0.3.2

Additional context
I don't recall from the ISA-JSON specification that the output type is specified anywhere. Is this just specific to the ARCcommander or is it unintended? In the example files of isatools there is an additional section in assays that describes the data output (name + type) which can be found here: https://github.com/ISA-tools/ISAdatasets/blob/tests/json/ISA-1/isa-test1.json (line 43). This section is at least noted in the assay schema provided by isatools (https://github.com/ISA-tools/isa-api/tree/master/isatools/resources/schemas/isa_model_version_1_0_schemas/core). Which specification of ISA exactly is the base for the ARCcommander?

Hey, this is actually not a bug but expected behaviour. It's a workaround for a problem arising when trying to convert ISA-Tab to ISA-JSON:
ISA-Tab supports the Data File Name column, and this also exists in the json: https://isa-specs.readthedocs.io/en/latest/isajson.html#data-schema-json. This is where the field type comes frome. Unfortunately, this object has no factors field, which is essential for describing the experiment. Therefore when parsing a line with a data file output, an additional sample object with the same name get's created, which is used to store the factors.
As the mapping from input to output in the process is handled exactly n to n, this also requires a duplication of the input objects, which is what you see in https://github.com/nfdi4plants/arcCommander/issues/153.
I stated above that this is expected behaviour, but of course because of the lacking documentation only for a few people. I will check where I can add information like this.

I understand, sorry for the confusion, I wasn't aware that there was such a conversion issue. Thank you for the clarification!


Blows up on named preformatted code blocks

GitHub Flavored Markdown allows code blocks to indicate the syntax name by placing the name immediately after the opening triple backticks:
$ echo hello
hello

However, language-markdown is not aware of this feature and mistakenly renders the entire code block, backticks and all, as normal paragraph text in the main file editor view.
The markdown preview pane is unaffected by this glitch.

This package has the same feature, but it does not recognize every language. console from your example indeed doesn't work. You can make a suggestion by what language package your code should be handled, and it's mostly likely trivial to add support for this.

Ha, I foeget where I originally saw console used, but ever since, I’ve been noting it for my terminal snippets. Is there a better language name to use here?
Note that sh/bash wouldn’t be quite right, as the snippets begin with a prompt, either dollar for UNIX snippets or greater-than for Windows snippets.

I've mirrored the code from the language-gfm repo (https://github.com/atom/language-gfm/blob/master/grammars/gfm.cson#L609-L625). It uses either shellsession or console as language name.
I'll publish it in the next version. Might take a little while though.


options_page has been deprecated. Use options_ui instead.

It works fine on chrome but on firefox it's not supported and options_ui is supported by both.
From firefox documentation
I don't want to open a pull request so here is the idea on how to fix:
change this: "options_page": "html/settings.html"
to this:
"options_ui": {
  "page": "html/settings.html",
  "open_in_tab": true
}

I am trying to get it working (natively) on firefox, doesn't seem that hard.

Okay, I'll make the switch. I remember writing a couple of bits of code that had me thinking, "This won't work in Firefox." But I can't remember what they are now. Figured I'd cross that bridge later. Let me know if you make any progress. Thanks!

FYI, I think I've got everything working in firefox now.

hell yeah, i don't even know about extension i just google the error and tried fixing them, wouldn't get me very far lol

The addon has been accepted by the Firefox store.
https://addons.mozilla.org/en-US/firefox/addon/ruqqus-plus/


Allow zero dimensional slice_size in DynamicSliceOp

0-dimensional slice_size tensor<i64> is treated same as tensor<1xi64>.
Updated constraint dynamic_slice_i3 combined with dynamic_slice_c2 should fix this.

Hi @subhankarshah! Thank you for your contribution. Can you talk a bit more about the motivation for this change?


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1330 ms

Resolved: Bofrost.lu performance has improved in 33cc94f after 26 minutes.


Drap box is not supporting csv and xls files

Hi,
I have to upload csv, xls type files when i am using ng-accept=".csv, .xls " i am unable to drop file.
I am wondering why .csv, .xls type files are rejecting.
Could you tell me how can I upload csv, xls files using angular-file-upload?

I have found fix for this issue. when i am using ng-accept=".csv,.xls ", it works for me. I don't know exactly why space after comma creating problem.


[WIP] Add tox

Fix #216
Add tox to the current project
Missing

Execute the benchmark on CI (tox issues, commented for now)

@menshikh-iv Ping ;)

@mpenkov I'll back soon (I hope), sorry for waiting.

@menshikh-iv Ping ;)

Continued in https://github.com/RaRe-Technologies/smart_open/pull/439


How to highlight WORD (not word) ?

From my understanding, by default only word (using w) are highlighted.
Is it possible to also have the WORD highlighted (using W)? Maybe some kind of background color

Neither word nor WORD is being highlighted.
For Treesitter, it's using the query files for each language.
For LSP, it's using whatever the LSP server decides.
For regex, it's using this algorithm, https://github.com/RRethy/vim-illuminate/blob/5eeb7951fc630682c322e88a9bbdae5c224ff0aa/lua/illuminate/providers/regex.lua#L6-L28, which is similar to word but has various differences with edge cases.
You can get what you are looking for with the case_insensitive_regex config option.


Add OSS License

Any chance you could add an OSS license (such as MIT)? Not having any license puts the code in murky waters in terms of reuse.

Done.


chore(internal): verify tooling so that our tooling doesn't break pos…

…t-merge

:tada: This PR is included in version 2.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can we add the GenProg Debug image to squareslab/genprog for use with Bugzoo?

with the --with genprog command line to bugzoo, the squareslab/genprog is added to the bugzoo container, but I have a need to use the debug version of genprog in bugzoo containers.
In order to do this, need:

ocamldebug installed (opam, ocaml)
need to build debug version of genprog, from git base dir of genprog clone:

cd src
make repair.byte
cp repair.byte /opt/genprog/bin/genprog.byte

Have you tried to create that GenProg image yourself by modifying the Dockerfile in the repo?
https://github.com/squaresLab/genprog-code/blob/master/Dockerfile

Yep! That’s exactly what I did for myself yesterday...

Moved issue to https://github.com/squaresLab/genprog-code/pull/27


Add tbx task for pretty print of linting

Description
add a tbx task which converts the .lint.json to a markdown table

@Jannis-Mittenzwei after resolving the conflicts you can merge the PR :+1:


new(docs): update Changelog for 0.34.1

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

/kind release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area tests

/area proposals

/area CI

What this PR does / why we need it:
Add release notes for 0.34.1.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: alacuku
Once this PR has been reviewed and has the lgtm label, please assign mstemm for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: d08c3976c4004b6053d244634e642bf0ad316825


[Doc enhancement][Tab margin changes]

Please review.

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/removing-tab-margins.md
84
10
link
:white_check_mark:

msteams-platform/whats-new.md
86
31
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit a068ee6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/resources/removing-tab-margins.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/removing-tab-margins.md
84
10
link
:white_check_mark:

msteams-platform/whats-new.md
86
31
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 57810fd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/resources/removing-tab-margins.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1bef40d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/resources/removing-tab-margins.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


ERROR: Initialize rootPath URI is deprecated. Use rootUri instead

go version: go1.10.2 darwin/amd64
After I upgrade go and vscode-go tools, every time I edit project files it log:
langserver-go: reading on stdin, writing on stdout
Passing an initialize rootPath URI ("file:///Users/user/go/src/github.com/yujiahaol68/myGoProject") is deprecated. Use rootUri instead.

[Error - 11:57:56] Request textDocument/hover failed.
  Message: no declaration found for checkpoint
  Code: 0

Duplicate of https://github.com/Microsoft/vscode-go/issues/1662

I get this on (Neo)Vim with coc.nvim, I install language server with go get -u github.com/sourcegraph/go-langserver and configure it to be used from (Neo)Vim, how is it a duplicate of vscode issue?
I've hit here to check where the protocol changed from rootPath URI to rootUri to report coc.nvim's author of such change, but got confused instead.

I will try bingo.


Implement support for UEFI Runtime Services

Oops, I forgot another thing. For the final change, the commit message should be something like "[uefi] Add support for Runtime Services in the kernel". Optionally, you could add a nice description of how the change works in the commit message. If you don't want to do it, that's still fine, no problem.

@rviu I wanted to merge the PR so I clicked on "ready for review" but I realized that there are several small problems:

it fails to merge because of a trivial conflict on kernel/arch/i386/CMakeLists.txt. Please rebase the change on master and solve the trivial conflict. I tried solving this with GitHub and that created the merge commit, but in any case is not enough because of the other problems.

the clang builds fail because of this error:

/__w/1/s/kernel/uefi.c:117:38: error: implicit conversion changes signedness: 'int' to 'unsigned int' [-Werror,-Wsign-conversion]
  status = RT->SetVirtualAddressMap(num_entries * sizeof(EFI_MEMORY_DESCRIPTOR),

This can be fixed by making num_entries and unsigned. I use clang for additional extra safety checks that gcc doesn't have or doesn't implement in a convenient way. The -Wconversion is a very restrictive set of warnings that works well on clang, but it's unusable on GCC. If you're really curious, check this: https://vladonsoftware.wordpress.com/2019/02/12/the-wconversion-drama/

The 64-bit Tilck build (gcc_8_4_x86_64) fails with:

/__w/1/s/kernel/uefi.c:13:10: fatal error: efi.h: No such file or directory
#include <efi.h>

Simply because you included gnu-efi only in kernel/arch/i386/CMakeLists.txt. You should include the x86-64 version of gnu-efi in the kernel/arch/x86_64/CMakeLists.txt file like this:
include_directories(${TCROOT}/x86_64/gnu-efi/inc)

This will work if I added the 64-bit gnu-efi in the container.  Just fix the PR and make GitHub run the checks. That's automatic if the PR is not marked as a draft. If the compilation still fails, maybe simply include the 32-bit gnu-efi, because the headers are the same, just to make the build pass. I'll fix the problem later. For the moment, nothing 64-bit in the kernel works, except for the build. It's valuable to at least ensure that.

@vvaltchev

it fails to merge because of a trivial conflict on kernel/arch/i386/CMakeLists.txt. Please rebase the change on master and solve the trivial conflict. I tried solving this with GitHub and that created the merge commit, but in any case is not enough because of the other problems.

I'm unable to see the conflict that you are talking about. Are you asking for your newest commit (Merge branch 'master' into uefi) to be squashed with the previous [uefi] one?

@vvaltchev

it fails to merge because of a trivial conflict on kernel/arch/i386/CMakeLists.txt. Please rebase the change on master and solve the trivial conflict. I tried solving this with GitHub and that created the merge commit, but in any case is not enough because of the other problems.

I'm unable to see the conflict that you are talking about. Are you asking for your newest commit (Merge branch 'master' into uefi) to be squashed with the previous [uefi] one?

No. Github showed me a conflict. I checked out manually your source and indeed when I did git rebase master I had to solve that conflict. That was caused by my change "Allow Tilck to build on Linux-aarch64" in which I touched a ton of files. But it's fine as you successfully rebased, from what I see. Don't worry.


System.Linq.Async NET6

Question
Hello, I would like to ask if there are any plans when .NET 6 will be supported for System.Linq.Async.
Thanks

The current version should already work with 6.0; what issues are you encountering?

I am for some reason unable to install the package into NET 6 project. Visual studio doesnt give any specific error.

What kind of project, what are you targeting?

Same for me. It installs but when using System.Linq.Async - I get a compiler error.

Fixed in #1660

This should be fixed in 5.1.


SIgnal flare marks can still be seen on cameras after they burn out

How long do they stay around for?

sorry can't remember but at least a minute from what i remember


expand and collapse node

null
YOM-437

make this an option on right click

need to think more about the mechanism


Enter your Own Number on Change the Budget

For specific accessibility reasons as well as general ease of use, it'd be helpful to have the ability to enter in a specific number that someone wants for a given budget category. IE they could tap a part of the Health section and enter in "23" percent.

I can take this one.

@skorasaurus cool beans. thank you.


[BugFix] fix persistent index delete flag lost when flush l0 (backport #29997)

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 21 / 28 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/persistent_index.cpp
21
28
75.00%
[1205, 1207, 2622, 2634, 2635, 4001, 4002]


Custom chat message links are opened in a new tab

I want to insert a link in some chat messages and the link should open in the current tab.
I've implemented the onRenderMessage function prop on the ChatComposite component where I change the message content to render a link. When the element is rendered the target attribute is always "_blank" which means it is always opened in a new tab. This happens even if I specify another target on the link.
I use the defaultOnRender function to keep the default message rendering (except replacing the content with the link).
Example:
const onRenderMessage = (
  messageProps: MessageProps,
  defaultOnRender?: MessageRenderer
) => {
  const { message } = messageProps;
  if (message.messageType === "chat") {
    message.contentType = "html";
    message.content =
      "test link";
  }
  if (!defaultOnRender) {
    return <></>;
  }
  return defaultOnRender(messageProps);
};

Rendered element in the browser:
test link

@azure/communication-react 1.18.1

@azure/communication-chat 1.5.2

OS & Device: MacOS

Browser: Chrome

Browser Version: 127

In @azure/communication-react 1.16.1 this wasn't an issue. It was most probably introduced with this fix: https://github.com/Azure/communication-ui-library/pull/4669

Hi @olandahl, thanks for reaching out to us. Please allow us to look into this and we would get back to you shortly.

Hi @olandahl, we don't recommend opening links in the same tab because the composite will be replaced by the new content, causing the chat will be lost.
Opening links in a new tab is the intended behaviour. If you have a specific use case that requires opening in the same tab, please submit a feature request through this link. Thanks.

Hi @olandahl it has been a while since we hear from you, so i will go head to close off this issue for now, but feel free to open this anytime if you have more questions : )


Merge master to staging

For Rancher (product) docs only
When contributing to docs, please update the versioned docs. For example, the docs in the v2.6 folder of the rancher folder.
Doc versions older than the latest minor version should only be updated to fix inaccuracies or make minor updates as necessary. The majority of new content should be added to the folder for the latest minor version.

Forgot to change base to staging. Reverting in https://github.com/rancher/docs/pull/3567


Adding php support

Adding PHP support. Closes #263.

Thank you! The feature will be released soon.


Don't require index line to render correctly

Mercurial doesn't output the index a7f8d9e..3fa2821 100644 line, so this PR removes the line completely (that sed wouldn't work on two index lines after each other, but that's not gonna happen in the diff output) and prepends the horizontal rule tu the --- file line instead.
It's a bit cryptic, so if you have a solution for mercurial, let me know, or if you don't care enough, don't merge it.
Needs careful merge with the other PR I put up (since the back reference numbers change in that one).

I like the thrust of this. Let's merge both PRs.
Can you rebase them?  (sorry!)

I noticed that the first line of git log output is not visible until I scroll a bit down, then back to the top again. Is this related or should I open a new issue?

@finishingmove With this PR merged in?

@xixixao No, before. That's why I'm asking. Did anyone else experience that issue?

merged


Initial TypeScript port

This is not ready for merging yet but I thought you'd like to see the first steps on #45... (Also I'd like to see if the tests still pass - still can't run on Windows!)

The tests pass on first attempt - hah!  Check me out 😉
I did not expect it to work first time.  Quite pleased it did.  I'd planned to remove the lib directory and leave only the src directory committed. (The lib directory is generated from the src directory now.)  What do you think?

You can remove it but you have to add prepublish script in package.json to build lib before release. Also you will have to update tests to also compile before run and add lib to .gitignore :)

Cool - shall I do that then?

Done

OK - I've made it noImplicitAny: true compliant (can't stand an any 😄).  Feel free to merge!

Ok, I've checked it and looks good :) I will not release it now because it doesn't add a new functionality. I plan to add errors limit option to avoid out of memory on big projects refactoring, so it will be released then :)

Great!


Laravel 5.2

Add compatibility for Laravel 5.2

I'm having the same issue.
@HipsterJazzbo, could you merge @jbrooksuk's pull request so Laravel 5.2 is supported please?

Hi @nathanjdunn , fork the package and update the composer.json like this:
{
"name": "aura-is-here/laravel-multi-tenant",
"description": "",
"authors": [
{
"name": "Caleb Fidecaro",
"email"<EMAIL_ADDRESS>}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.2.|5.0.|5.1.|5.2."
},
"require-dev": {
"mockery/mockery": "~0.9",
"phpunit/phpunit": "~4.0",
"laravel/framework": "4.2.|5.0.|5.1.|5.2."
},
"autoload": {
"psr-4": {
"AuraIsHere\LaravelMultiTenant\": "src/AuraIsHere/LaravelMultiTenant/"
}
}
}

You could also add a repositories item to use the fork version instead.

How do you use the repositories to use the fork?

Add this:
"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/JamesForks/laravel-multi-tenant"
        }
]

Awesome! Thanks!
Have you thought of just forking and running your own repo for this?

Have you thought of just forking and running your own repo for this?

I'm likely going to write my own package to be honest. We use multi tenancy in a work project, so it's imperative that it works.


can woff convert to ttf ??

can woff convert to ttf ??

Search sfnt2woff.
For example https://github.com/odemiral/woff2sfnt-sfnt2woff


Allow comments in environment definition

Comments are useful, but they shouldn't be part of the spec. It would be useful to parse the spec and drop any comments.
For example:
# conda execute
# env:
#  - conda-build-all
#  # Pin to an older conda-build to avoid issue https://github.com/conda/conda-build/issues/1248
#  - conda-build <1.21.12
#  - python
#  - conda
#  - git
# channels:
#  - conda-forge
# run_with: bash

Closed by #31


Can docz generate documentation pages from tsdoc comments?

Question
Description
I would like to generate pages for my API with docz, but without having to create mdx files when it is not a component. I need to generate documentation for types, functions, classes from tsdoc comments. Is this possible?
Or should I do the work of generating my own API mdx files?
I read previous issues, but the answer was not clear.
Thanks

In it's current state, docz can't generate markdown documents from tsdoc
comments found in code (it can however use tsdoc comments in a component's
props type definition).
I think you would have to generate the markdown files yourself in your case.
On Sat, Apr 4, 2020 at 8:06 PM Pierre-Antoine Mills <
<EMAIL_ADDRESS>wrote:

Question
Description
I would like to generate pages for my API with docz, but without having to
create mdx files when it is not a component. I need to generate
documentation for types, functions, classes from tsdoc comments. Is this
possible?
Or should I do the work of generating my own API mdx files?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/doczjs/docz/issues/1445, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJWI7OSLDJFXR5WADVGSSLRK5SLBANCNFSM4L6WASKQ
.

I've been thinking about this myself a bit.
Just spitballing here, but it would be really neat to have a component that would take a filepath / some selector (function, class, type, etc) to get your typescript documentation documentation, and then the component renders the generated documentation (with perhaps some config) for the tsdoc.

I've been thinking about this myself a bit.
Just spitballing here, but it would be really neat to have a component that would take a filepath / some selector (function, class, type, etc) to get your typescript documentation documentation, and then the component renders the generated documentation (with perhaps some config) for the tsdoc.

I wrote about something similar in this issue:
https://github.com/doczjs/docz/issues/1471#issuecomment-622368989


[flutter_tools] NPE in HotRunner._updateDevFS

Version: beta/3.15.0-15.2.pre
Command: flutter run --machine --start-paused -d emulator-5554 --devtools-server-address http://<IP_ADDRESS>:9100/ --target /path/to/app/lib/main.dart
_TypeError: Null check operator used on a null value
at HotRunner._updateDevFS(run_hot.dart:466)
at <asynchronous gap>(async)
at HotRunner.attach(run_hot.dart:282)
at <asynchronous gap>(async)
at AppDomain.launch.<anonymous closure>(daemon.dart:655)
at <asynchronous gap>(async)
at AppDomain.launch(daemon.dart:653)
at <asynchronous gap>(async)
at RunCommand.runCommand(run.dart:645)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1323)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:348)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:294)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:113)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:90)
at <asynchronous gap>(async)

Code looks like:
      for (final FlutterDevice? device in flutterDevices)
        await device!.setupDevFS(
          fsName,
          globals.fs.directory(projectRootPath),
        ),

However, the static type of flutterDevices is List<FlutterDevice> flutterDevices so I'm not sure how this is possible.

Code looks like:
      for (final FlutterDevice? device in flutterDevices)
        await device!.setupDevFS(
          fsName,
          globals.fs.directory(projectRootPath),
        ),

However, the static type of flutterDevices is List<FlutterDevice> flutterDevices so I'm not sure how this is possible.

According to the Flutter SDK archive page, 3.15.0-15.2.pre corresponds to the ref 0d074ce, so our trouble code is https://github.com/flutter/flutter/blob/0d074ced6cd64f39f586aaa115b2e4c993d74cb7/packages/flutter_tools/lib/src/run_hot.dart#L466
Per the stack trace, we call this during attach. attach should should create the DevFS instance and assign it to the device (during its call to _initDevFS) before it gets read at line 466. As a result, it's still surprising that this reference could be null at this point. I don't see anything that could set devFS to null, let alone any of the few lines of code that exist between the _initDevFS call and the _updateDevFS call.

Unassigning myself to let this bubble back up to triage

cc @eliasyishak to investigate


Mention directUrl in the Data Proxy docs

Step 1 in this section in the Data Proxy docs should have a hint about:

the fact that changing DATABASE_URL to the proxy URL will disable Prisma Migrate
link to directUrl as a solution for this

https://www.prisma.io/docs/data-platform/data-proxy/prisma-cli-with-data-proxy#set-a-direct-database-connection-url-in-your-prisma-schema

Better: tell people how to set directUrl directly because that'll pretty much always be always want they want


Update direct-routing-protocols-sip.md

small correction per https://datatracker.ietf.org/doc/html/rfc3261#page-183. 180 Ringing not 180 Trying.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

mistakenly closed PR my apologies. mis-clicking.  thank you.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Appstudio update test-component-pac-jmer

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-jmer-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
30 seconds
build-container

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
54 seconds
clamav-scan

✅ Succeeded
18 seconds
sbom-json-check

✅ Succeeded
19 seconds
label-check

✅ Succeeded
19 seconds
optional-label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
5 seconds
show-sbom

Pipelines as Code CI/test-component-pac-jmer-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
29 seconds
build-container

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
15 seconds
clair-scan

✅ Succeeded
37 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
16 seconds
optional-label-check

✅ Succeeded
16 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
5 seconds
show-sbom


Specified method is not supported when converting RTF

I've tried RtfPipe with some RTF's and it worked great. However I came across one particular RTF, which does not parse. The error thrown is related to the 'pict' element in RTF header ("Specified method is not supported").
However even after removing the 'pict' element (and even whole 'header'), the converted html is empty string.
I was unable to fix this problem myself.
I'm adding related RTF.
Please suggest what could be wrong and how could this be fixed.
thanks a lot!
LTtechdoc.txt

This should be fixed in the latest release.

Thanks! I noticed you added condition in HexBuffer.cs and this fixed the "not supported" error, however, parsing that RTF still does not procude any html output (just empty string).  Sorry for being impatient, but maybe you see where is the problem and could mention it in the comment at least, so I could fix this myself. thanks again!

I'm confused on how you are getting an empty string as I am generating HTML content from your RTF file which seems to include the main content of the file. Are you taking a particular approach for generating the HTML?

It was my error. Everything is working fine. I get the document parsed correctly. Thanks for your support Eric!


Basic json schema creator for fields

Use this to build tags as an option. Lock title but add support for things just via drop-down. Save as its own part of the metadata for the site itself. Then field form is built from this data model
Use this to add support for tags

fields support added, #151 will take it over the goal line


test_lokono failure

running make from slexil/tests
--- test_lokono_line_3
Traceback (most recent call last):
File "test_IjalLine.py", line 402, in
runTests()
File "test_IjalLine.py", line 16, in runTests
test_lokono_line_3()    # each morpheme and gloss are separate xml tier elements
File "test_IjalLine.py", line 84, in test_lokono_line_3
assert(x3.getTranslation() == "‘[a] child, a woman as well.'")
AssertionError
make: *** [ijalLine] Error 1

thanks @davidjamesbeck
I think that my life-long neglect - indeed, avoidance - of curly quotes now must end!
I inserted pdb.set_trace() just before the error in test_IjalLine.py.  Maybe you know this technique?  It pauses execution, drops you into the python debugger ("pdb"), and gives you a python prompt from which you can explore things in their actual run-time context.
Here is what I see:
x3.getTranslation()
"‘[a] child, a woman as well.'’"

testData/lokono/LOKONO_IJAL_2.eaf has this:

which seems to open with an opening curly single quote and close with a straight quote.
What should our strategy be?  Maybe something like this?

quoted speech, at the end of our processing, should always use opening and closing curly quotes
any combination of paired curly or straight single quotes in the eaf input is accepted

However I am confused by the use of quotation marks - of any sort - in the speech and translation lines.  In the lokono eaf, they appear to be present everywhere, thereby - it seems to me -  adding no information.
Can you formulate a policy?  Set me straight?  I'll be glad to implement what you propose.

Hi, Paul
I have an IDE that I can use to set traces, I didn’t know (though I am not surprised) that you could do it programmatically as well. Nice to find out.
So, the basic rule for quotes in interlinearization:

all free translations begin with ‘ and end with ’

Seems simple, but humans being what they are, it doesn’t always work that way, so we need to catch the following errors:

extraneous whitespace on either end of the gloss, or following ‘/preceding ’
lack of quotes on the translation at all
inconsistent use (people forget them)
use of straight apostrophes instead of quotes

Of these, only the last is hard to deal with because, in some rare cases, the straight apostrophe could be a symbol from a practical orthography and there could be a line that includes a non-English word (e.g., a name) in final position in a text that doesn’t use the single quotes. So, automatically replacing straight apostrophes on either end of the gloss with single quotes has a marginal probability of introducing errors. I’m inclined not to worry about this—the chances are low that all three conditions (1. practical orthography with “ ‘ “, 2. word ending with “ ‘ “ in final positon of translation, 3. author isn’t using single quotes in the first place in translations) will co-occur, and the introduced error is both minor and something the author should catch when proofreading the final HTML. Lokono fails because of #5, which is ultimately the author’s error.
Things might be more complicated in cases of direct speech. The usual practice is to use double quotes (in addition to the single quotes surrounding the whole translation), and many authors use the straight double apostrophe. Ideally, we would replace the straight double apostrophe with the “ and end with ”, but that becomes a tad complicated because:

we need to distinguish the environments for ‘ from ’ (not too hard with a regex)
we need to ensure that there is a space between a double quote and an adjacent single quote (ideally a thin space, but I don’t know if that exists in HTML)
we need to make sure punctuation is used correctly around the quotes (as far as this is possible programmatically)

I would be in favour of leaving most of that to the authors, though 1 and 2 might be relatively painless, depending on where and how it could be implemented.
David

On Mar 21, 2019, at 7:28 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
thanks @davidjamesbeck https://github.com/davidjamesbeck
I think that my life-long neglect - indeed, avoidance - of curly quotes now must end!
I inserted pdb.set_trace() just before the error in test_IjalLine.py. Maybe you know this technique? It pauses execution, drops you into the python debugger ("pdb"), and gives you a python prompt from which you can explore things in their actual run-time context.
Here is what I see:
x3.getTranslation()
"‘[a] child, a woman as well.'’"
testData/lokono/LOKONO_IJAL_2.eaf has this:
https://user-images.githubusercontent.com/2480712/54754698-59356480-4ba1-11e9-99d6-b6c168ea852d.png
which seems to open with an opening curly single quote and close with a straight quote.
What should our strategy be? Maybe something like this?
quoted speech, at the end of our processing, should always use opening and closing curly quotes
any combination of paired curly or straight single quotes in the eaf input is accepted
However I am confused by the use of quotation marks - of any sort - in the speech and translation lines. In the lokono eaf, they appear to be present everywhere, thereby - it seems to me - adding no information.
Can you formulate a policy? Set me straight? I'll be glad to implement what you propose.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/15#issuecomment-475228303, or mute the thread https://github.com/notifications/unsubscribe-auth/ApvDhqwq0o12eTuir6pZ6o989kGQKp-Aks5vY4kEgaJpZM4cBYEo.

Hi David,
Maybe we could hand-craft an eaf file, a mini-text, which contains all of the hard cases we need to solve, separately and in combination?   Extra white space, mixed use of curly and straight single and double quotes, no quotes, a line with direct speech, a straight apostrophe from a practical orthography?

Paul

On Mar 21, 2019, at 7:57 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I have an IDE that I can use to set traces, I didn’t know (though I am not surprised) that you could do it programmatically as well. Nice to find out.
So, the basic rule for quotes in interlinearization:

all free translations begin with ‘ and end with ’

Seems simple, but humans being what they are, it doesn’t always work that way, so we need to catch the following errors:

extraneous whitespace on either end of the gloss, or following ‘/preceding ’
lack of quotes on the translation at all
inconsistent use (people forget them)
use of straight apostrophes instead of quotes

Of these, only the last is hard to deal with because, in some rare cases, the straight apostrophe could be a symbol from a practical orthography and there could be a line that includes a non-English word (e.g., a name) in final position in a text that doesn’t use the single quotes. So, automatically replacing straight apostrophes on either end of the gloss with single quotes has a marginal probability of introducing errors. I’m inclined not to worry about this—the chances are low that all three conditions (1. practical orthography with “ ‘ “, 2. word ending with “ ‘ “ in final positon of translation, 3. author isn’t using single quotes in the first place in translations) will co-occur, and the introduced error is both minor and something the author should catch when proofreading the final HTML. Lokono fails because of #5, which is ultimately the author’s error.
Things might be more complicated in cases of direct speech. The usual practice is to use double quotes (in addition to the single quotes surrounding the whole translation), and many authors use the straight double apostrophe. Ideally, we would replace the straight double apostrophe with the “ and end with ”, but that becomes a tad complicated because:

we need to distinguish the environments for ‘ from ’ (not too hard with a regex)
we need to ensure that there is a space between a double quote and an adjacent single quote (ideally a thin space, but I don’t know if that exists in HTML)
we need to make sure punctuation is used correctly around the quotes (as far as this is possible programmatically)

I would be in favour of leaving most of that to the authors, though 1 and 2 might be relatively painless, depending on where and how it could be implemented.
David

On Mar 21, 2019, at 7:28 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
thanks @davidjamesbeck https://github.com/davidjamesbeck
I think that my life-long neglect - indeed, avoidance - of curly quotes now must end!
I inserted pdb.set_trace() just before the error in test_IjalLine.py. Maybe you know this technique? It pauses execution, drops you into the python debugger ("pdb"), and gives you a python prompt from which you can explore things in their actual run-time context.
Here is what I see:
x3.getTranslation()
"‘[a] child, a woman as well.'’"
testData/lokono/LOKONO_IJAL_2.eaf has this:
https://user-images.githubusercontent.com/2480712/54754698-59356480-4ba1-11e9-99d6-b6c168ea852d.png
which seems to open with an opening curly single quote and close with a straight quote.
What should our strategy be? Maybe something like this?
quoted speech, at the end of our processing, should always use opening and closing curly quotes
any combination of paired curly or straight single quotes in the eaf input is accepted
However I am confused by the use of quotation marks - of any sort - in the speech and translation lines. In the lokono eaf, they appear to be present everywhere, thereby - it seems to me - adding no information.
Can you formulate a policy? Set me straight? I'll be glad to implement what you propose.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/15#issuecomment-475228303, or mute the thread https://github.com/notifications/unsubscribe-auth/ApvDhqwq0o12eTuir6pZ6o989kGQKp-Aks5vY4kEgaJpZM4cBYEo.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Okay, I can do that (over the next couple of days).
David

On Mar 21, 2019, at 9:05 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Hi David,
Maybe we could hand-craft an eaf file, a mini-text, which contains all of the hard cases we need to solve, separately and in combination? Extra white space, mixed use of curly and straight single and double quotes, no quotes, a line with direct speech, a straight apostrophe from a practical orthography?

Paul

On Mar 21, 2019, at 7:57 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I have an IDE that I can use to set traces, I didn’t know (though I am not surprised) that you could do it programmatically as well. Nice to find out.
So, the basic rule for quotes in interlinearization:

all free translations begin with ‘ and end with ’

Seems simple, but humans being what they are, it doesn’t always work that way, so we need to catch the following errors:

extraneous whitespace on either end of the gloss, or following ‘/preceding ’
lack of quotes on the translation at all
inconsistent use (people forget them)
use of straight apostrophes instead of quotes

Of these, only the last is hard to deal with because, in some rare cases, the straight apostrophe could be a symbol from a practical orthography and there could be a line that includes a non-English word (e.g., a name) in final position in a text that doesn’t use the single quotes. So, automatically replacing straight apostrophes on either end of the gloss with single quotes has a marginal probability of introducing errors. I’m inclined not to worry about this—the chances are low that all three conditions (1. practical orthography with “ ‘ “, 2. word ending with “ ‘ “ in final positon of translation, 3. author isn’t using single quotes in the first place in translations) will co-occur, and the introduced error is both minor and something the author should catch when proofreading the final HTML. Lokono fails because of #5, which is ultimately the author’s error.
Things might be more complicated in cases of direct speech. The usual practice is to use double quotes (in addition to the single quotes surrounding the whole translation), and many authors use the straight double apostrophe. Ideally, we would replace the straight double apostrophe with the “ and end with ”, but that becomes a tad complicated because:

we need to distinguish the environments for ‘ from ’ (not too hard with a regex)
we need to ensure that there is a space between a double quote and an adjacent single quote (ideally a thin space, but I don’t know if that exists in HTML)
we need to make sure punctuation is used correctly around the quotes (as far as this is possible programmatically)

I would be in favour of leaving most of that to the authors, though 1 and 2 might be relatively painless, depending on where and how it could be implemented.
David

On Mar 21, 2019, at 7:28 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
thanks @davidjamesbeck https://github.com/davidjamesbeck
I think that my life-long neglect - indeed, avoidance - of curly quotes now must end!
I inserted pdb.set_trace() just before the error in test_IjalLine.py. Maybe you know this technique? It pauses execution, drops you into the python debugger ("pdb"), and gives you a python prompt from which you can explore things in their actual run-time context.
Here is what I see:
x3.getTranslation()
"‘[a] child, a woman as well.'’"
testData/lokono/LOKONO_IJAL_2.eaf has this:
https://user-images.githubusercontent.com/2480712/54754698-59356480-4ba1-11e9-99d6-b6c168ea852d.png
which seems to open with an opening curly single quote and close with a straight quote.
What should our strategy be? Maybe something like this?
quoted speech, at the end of our processing, should always use opening and closing curly quotes
any combination of paired curly or straight single quotes in the eaf input is accepted
However I am confused by the use of quotation marks - of any sort - in the speech and translation lines. In the lokono eaf, they appear to be present everywhere, thereby - it seems to me - adding no information.
Can you formulate a policy? Set me straight? I'll be glad to implement what you propose.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/15#issuecomment-475228303, or mute the thread https://github.com/notifications/unsubscribe-auth/ApvDhqwq0o12eTuir6pZ6o989kGQKp-Aks5vY4kEgaJpZM4cBYEo.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/15#issuecomment-475267034, or mute the thread https://github.com/notifications/unsubscribe-auth/ApvDht5EflH1L0Kw1ljDC9mHIXAnFwx6ks5vY5-vgaJpZM4cBYEo.

I have the quotes and double quotes tests done and working with the new TranslationLine class and the Lokono translation line that breaks make passes (I pasted the line into the Chatino_FaultyAuthorExamples EAF). I actually don't understand the error raised by test_IjalLine.py, it looks to me that the assertion that throws the error is actually correct (that is, the line is what the assertion says it is). I added a raise Exception to the text file and get the following output
iMac-2:tests David$ make
python test_MorphemeGloss.py
--- test_inferno
--- test_toHTML_sampleLine_0
--- test_toHTML_sampleLine_1
--- test_toHTML_sampleLine_2
--- test_toHTML_sampleLine_3
--- test_toHTML_sampleLine_4
--- test_toHTML_sampleLine_5
python test_IjalLine.py
--- test_buildTable
--- test_lokono_line_3
Traceback (most recent call last):
File "test_IjalLine.py", line 85, in test_lokono_line_3
assert(x3.getTranslation() == "‘[a] child, a woman as well.'")
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "test_IjalLine.py", line 405, in
runTests()
File "test_IjalLine.py", line 16, in runTests
test_lokono_line_3()    # each morpheme and gloss are separate xml tier elements
File "test_IjalLine.py", line 87, in test_lokono_line_3
raise Exception(x3.getTranslation()) from e
Exception: ‘[a] child, a woman as well.'’
make: *** [ijalLine] Error 1
The assertion says that the translation line is ‘[a] child, a woman as well.' and the raised exception says the line is ‘[a] child, a woman as well.' They look the same to me.
Anyway, this might disappear if we start using the TranslationLine class?

@davidjamesbeck
Very nice work on the TranslationLine class and its tests.  You are now a test-driven developer!  Which requires more than a few conceptual leaps.  Thank you for hanging on throughout  the learning curve.
I just added an additional test to tests/test_TranslationLine.py to figure out the lokono line 3 problem reported by test_IjalLine.py.
I don't know if we will need to keep this test.  I noticed that your version of this line in ChatinoFaulty does not include the troublesome straight single quote.  But I think this test, reading directly from the Lokono text, is useful for:

diagnosing the problem
showing that your TranslationLine solves it

def test_lokono_line_3():

    '''an illegal line: ‘[a] child, a woman as well.'’
       note curly quotes at beginning and end, and a straight single quote (an apostrophe)
       just before that closeing curly quote
       we here ensure that the TranslationLine class detects and repairs this error
    '''

    print("--- test_lokono_line_3")

    filename = "../testData/lokono/LOKONO_IJAL_2.eaf"
    doc = etree.parse(filename)
    tierGuideFile = "../testData/lokono/tierGuide.yaml"
    with open(tierGuideFile, 'r') as f:
       tierGuide = yaml.load(f)

    x3 = IjalLine(doc, 3, tierGuide)
    x3.parse()

        # first, check that we get the illegal line back from the IjalLine class
        # we may need to disable this check once the TranslationLine class
        # is used throughout by IjalLine

    assert(x3.getTranslation() == "‘[a] child, a woman as well.'’")

        # now do our new processing
    translationLine = TranslationLine(x3.getTranslation())
    standardizedLine = translationLine.getStandardized()

        # check that the stray straight single quote has bee eliminated
        # try with both of python's standard string quotes, single and double straight quotes

    assert(standardizedLine == '‘[a] child, a woman as well.’')
    assert(standardizedLine == "‘[a] child, a woman as well.’")

@davidjamesbeck
I am not sure I understand your use of try/catch exceptions in your test_TranslationLine.py.  My own minimalist approach is to use only assert, and to see the test fail when as assertion is False.
But maybe there is virtue in your approach.   When you have a moment could you explain?

Hi, Paul
I was using the exceptions so I could compare the output of the processes I was writing to the desired forms spelled out by the exceptions. For instance, when I was working on the thin spaces between quotes, I got AssertionErrors but all that was telling me was that I was messing up. By raising the exception and printing out the output from the process beign tested by teh assertion, I was able to see that I wasn’t escaping the thin space unicode characters correctly. Likewise, I wasn’t aware that string.strip() applied to thin space characters as well as normal space characters until I saw it in operation.
So sometimes it is useful—maybe more so for me than for someone who is better at figuring out what is going wrong from just working through the code. If I’d been using an IDE this wouldn’t have been necessary, either, but I’ve just been using IDLE for this.
David

On Mar 30, 2019, at 1:57 PM, Paul Shannon<EMAIL_ADDRESS>wrote:
@davidjamesbeck https://github.com/davidjamesbeck
I am not sure I understand your use of try/catch exceptions in your test_TranslationLine.py. My own minimalist approach is to use only assert, and to see the test fail when as assertion is False.
But maybe there is virtue in your approach. When you have a moment could you explain?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/15#issuecomment-478284339, or mute the thread https://github.com/notifications/unsubscribe-auth/ApvDhvm1i5TJbCjt9MpPFBumhZxaWPvlks5vb8G-gaJpZM4cBYEo.


Fixed library not building in Release mode on iOS

Summary:
This PR fixes the release-build/Archive operation on iOS (see #28). The CLANG compiler settings seemed to be breaking the XCode build. The project-file was furthermore cleaned up, and settings such as development-team where removed
Test Plan:

Create a blank RN59 project
Add react-native-slider project
Select the "Release" build configuration
Build

Thanks @IjzerenHein!


Escape pods

Forgot I coded this oop sorry emisse.
Most of the changes are me cleaning up shuttle namespaces a lot and separating emergency stuff from generic shuttle behaviours.
:cl:

add: Added escape pods.

If someone would be so kind as to write a guide entry on evac to go next to this PR that'd be cool

yeah its also needed for arrivals too since its not immediately obvious that you should wait, get on, wait then get off

Just needs a basic pod and we gucci.

have you tested if traitor escape objective works on pod, i think it is meant to

have you tested if traitor escape objective works on pod, i think it is meant to

I thought they had to be on eshuttle in ss13.

objectives should not work on pods, thats dumb


Major Version Release v2.0.0

Closes #7

Just to update, the only remaining things are tests for the OSRS functions and content put onto the readme.

@Joshua-F my first question is whether or not to use the long or short forms for imports.
IE:
import { ge } from "runescape-api"
// vs
import { grandexchange } from "runescape-api"

add spedometer


XLSX.writeFile failure in electron release package

I have implemented XLSX in electron and it works very well in dev mode (I have also implemented it successfully in regular web apps).
Unfortunately once I created a release package it fails: On this line
XLSX.writeFile(wb, path, { bookType: 'xlsx', bookSST: true, type: 'binary' })

electron's window turns white / empty / blank.
Can anyone help me debug this? I am an electron noob :-(
This issue has also been reported in the electron repo: https://github.com/electron/electron/issues/5174

@zcbenz helped me find a solution:
run workbook.xlsx.writeFile(path) in a separate process using child_process.fork (https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)


Handle pool loading error

If the poolQuery fails we should redirect back to pools list. Ideally we should show a notification that the pool failed to load, but before we implement that we should get Pon to design some notifications (where they should appear and how they should look).

Yeah it would be nice to have some kind of a loading error notification with a retry button... guess its ok for now (to redirect)


Make the client shim a no-op on reMarkable 1

This PR is intended to make it safe to load the librm2fb_client library even when running on reMarkable 1. This is so that Toltec can ship all the binaries that need to access the framebuffer with a dynamic dependency on librm2fb_client, and eliminate the need to set the LD_PRELOAD environment variable when starting those binaries.
In the library constructor, the /sys/devices/soc0/machine file is read to determine whether we’re running on rM1 or rM2, and set the ON_RM2 flag accordingly. When this flag is off, the wrapped system calls directly forward their arguments to the standard library.
I also cleaned up some parts of the existing code, in particular:

Removed repeated function pointer types, when possible.
Moved most file globals to block-level static variables.
Removed the main function definition that looked redundant.

Test plan:

Built librm2fb_client.so.1.0.0 and checked that the exported symbols did not change compared to the last version (using
arm-oe-linux-gnueabi-objdump -T librm2fb_client.so.1.0.0 | grep "DF .text"), except for the removed main symbol:

_ZN6QImageC1EiiNS_6FormatE
_Z7qputenvPKcRK10QByteArray
ioctl
open64
open
close
__libc_start_main

On rM1, ran LD_PRELOAD=./librm2fb_client.so.1.0.0 xochitl, checked that no preloading errors occurred and that no messages from the shim appeared. Checked that the display worked correctly and that the touchscreen was not inverted.
On rM1, ran LD_PRELOAD=./librm2fb_client.so.1.0.0 calculator and performed the same checks as in the previous item.
On rM2, ran LD_PRELOAD=./librm2fb_client.so.1.0.0 xochitl and checked that no preloading errors occurred, and that the following messages from the shim appeared:

OPENED SHARED MEM: /dev/shm/swtfb.01 at 72c2e000, errno: 0
Update fn address: 0x2c050c
Create th address: 0x2c2798
Wait for th address: 0x2c1fd4
shutdown address: 0x2c273c
REPLACING THE IMAGE with shared memory
create threads called
wait clear func called

Also checked that the display worked correctly and that the touchscreen was not inverted.

On rM2, ran LD_PRELOAD=./librm2fb_client.so.1.0.0 calculator and checked that no preloading errors occurred, that the display worked correctly, and that the touchscreen was not inverted.

Thanks for the review!

Moved most file globals to block-level static variables.

what is this referring to?

There were some globals like qImageCtor, FIRST_ALLOC, touchArgs, … that were defined with file visibility although they were only used in one specific function. I moved each of those definitions inside the relevant function.

let's give this thorough testing in the toltec upgrade


Eat our own dogfood, Clone is deprecated so use copy

Removes the deprecation warning when creating a FilterCatalogEntry object.  This should have been fixed a long time ago ...

the description is longer than the diff. :-)


feat: whitelist can be managed non-declaratively

In my case it would be nice to manage whitelist non-declaratively.
In this PR, this can be achieved by setting whitelist to null.

See #57. I should update the documentation to clarify this.

Clarified in https://github.com/Infinidoge/nix-minecraft/commit/227438d2a8f6ac70eae006cdf945c0bf2a0e1c68

Oh okay, thanks, I didn't realize that normalize files did that.


Wrong extension running location shown in running extension editor

VS Code Version: stable and from sources

Steps to Reproduce:

Run server and Install vim extension ./scripts/code-server.sh --without-connection-token --install-extension vscodevim.vim --start-server
Open browser
Open running extensions editor
:bug: observe it shows vim extension is running on remote instead of web worker

Created PR #144528 fixing this


Bump containerd to -k3s2 to fix rewrites

Proposed Changes
Bump containerd to fix rewrites

The container bump in https://github.com/k3s-io/k3s/pull/11238 did not handle all cases where registry references needed to be rewritten - this is fixed in https://github.com/k3s-io/containerd/commit/d157daba6497d98750949b4f77747b96dde92f91

Types of Changes
version bump / bugfix / ci
Verification

See linked issue
Check e2e test results

Testing
Yes
Linked Issues

https://github.com/k3s-io/k3s/issues/11191

User-Facing Change

Further Comments

/trivy


set network label when istioctl creates namespace

Follow up to #28126 – istioctl should set this label if it has the network and is creating the system namespace.

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
c179fe55700e25fe4aeac1084f8f037f22ba94fd
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
c179fe55700e25fe4aeac1084f8f037f22ba94fd
link
/test release-notes_istio

lint_istio
c179fe55700e25fe4aeac1084f8f037f22ba94fd
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
c179fe55700e25fe4aeac1084f8f037f22ba94fd
link
/test release-notes_istio

lint_istio
c179fe55700e25fe4aeac1084f8f037f22ba94fd
link
/test lint_istio

gencheck_istio
c179fe55700e25fe4aeac1084f8f037f22ba94fd
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
23ff28f9c99f02c9759e7843cdd4277d9faff7d7
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
23ff28f9c99f02c9759e7843cdd4277d9faff7d7
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
23ff28f9c99f02c9759e7843cdd4277d9faff7d7
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
23ff28f9c99f02c9759e7843cdd4277d9faff7d7
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Do not install npm packages on each deployment

While building a demo site with Neos, I included your ImageOptimizer and it works very fine. But while deploying the whole installation via Surf, I see that the npm packages are installed every time.
Could the npm packages be put to a place that is shared across deployments?
Or can you explain in the Readme, how the option useGlobalBinary can be used (e.g. how to install the packages globally)?

npm install -g gifsicle jpegtran-bin optipng-bin svgo

I tried that and failed to get it working:
Installing the npm packages globally worked fine, they are available under /usr/local/bin/ and I see that they get called with status "OK" (according to the Neos log). But the resulting images are the "originals" not optimized ones.
I changed the config of the MOC.ImageOptimizer Package to use the global npm packages and provided the proper path to the executables. I also made sure the OpenBasedir-Restriction allows access to this directory.
Any hint what could have gone wrong?

@mrimann: Hard to tell without more information, I've always used the global packages and haven't had any issues. One thing I've noticed is that it can sometimes be a bit tricky to know if a file was actually optimized and that browser caching and cache proxies can play tricks on you.

I just created #9 - basically automatic installation should never happen, @mrimann!?

Solved with #9