TemplateHelper: Generate human-readable string for vulnerability scores

Add a helper method to generate human-readable string based on the
given score and scoring system of a vulnerability. This method can
be used in the template files in order to provide further information
about the vulnerabilities in the report.

Merging despite the unrelated test failures.


Null access fix

This PR fixes a null access error in query manager. If query.latestResult is null, _cachedDataHasChangedFor will cause an error. This is easily fixes by checking that query.latestResult is not null.

You have the git history wrong! This commit https://github.com/zino-hofmann/graphql-flutter/pull/1234/commits/94566b922a5fac78fc9394a673d904d3fc05d3c3 is mine and committed more than 6 month ago

Ups sorry! I missed the renaming of master to main, and rebased the patch onto main afterwards.  The history has been cleaned now. :-)


Test the search and pagination

Fixes by the PR: https://github.com/wso2/micro-integrator/pull/2759


Update GitHub token with admin read

In order to scan private repos, and have visibility into vulnerability GitHub scanning, we need to update the GitHub token with admin read privileges for select options.

Update - the required read access seems to be denied, but my classic token, with only the required reads clicked does seem to work (so leaving that for now).  The only thing it doesn't work for is security_analysis for repos that I don't own.  Though, keeping this issue open as using a personal access token may not be the best option in the future.


This is making changes from Maker2 to Maker2-1

This is updating code from Rover to Branch.

Accept Commit.


add comments for Format

coverage: 97.207% (+0.3%) from 96.927% when pulling 8526be25ccdf03876220adca956e856206de2a72 on implement-int128-formatter into 9b9868aa1273850a7a76a20fd60d29537684ae7a on main.


Support Cloze for Latex Equations

When I try to use Cloze on latex equations now, they do not render properly. For example they the $ sign is just recognized as an actual $. Thanks for your consideration.

It would be great if latex can also be used with Cloze

This looks like a duplicate of https://github.com/jasonwilliams/anki/issues/102 can I close this?
I also commented there

I believe this is not a duplicate.
This issue is about Cloze and Mathjax on the Card header, whereas  https://github.com/jasonwilliams/anki/issues/102 is about an issue with underscore  _ in the Mathjax


operator controller stuck in reconcile loop

Since 3/1 I'm seeing the controller get stuck reconciling the following resources:
2020-03-02T20:08:30.066093Z	info	The following objects differ between generated manifest and cache:

CustomResourceDefinition::instances.config.istio.io
CustomResourceDefinition::handlers.config.istio.io

When I dump out the objects, the difference is that the CRD in the cluster has a validation field (OpenAPI schema) which is missing in the generated manifest. But it's not clear where this could be coming from. The sync fails because the objects are otherwise identical, which means that an overlay patch will not remove the schema fields.

related https://github.com/istio/istio/pull/21719

Morven's change https://github.com/istio/istio/pull/21719 fixes the issue above, but this is only part of the problem. Even with the error above fixed in the PR, the controller is still stuck in the reconcile loop. Looking at the CR, it shows:
status:
componentStatus:
AddonComponents:
status: 2
which I think is reconciling. So I think this problem is probably related to https://github.com/istio/istio/pull/21618.


Backport "Copy channel args hash before appending ruby user agent" to 1.30.x

Backport #23812 to 1.30.x

After thinking about this a bit more, since https://github.com/grpc/grpc/pull/23812 technically involves some (highly unlikely) API breakage, I'll revert the backport to 1.30.x. That PR is available on the 1.31.1 release, though.


WIP: Import cluster in detached mode

Implement importing cluster in Detached mode according to the design https://github.com/stolostron/backlog/issues/18978#issuecomment-1021834313

/retest

/close
Use https://github.com/stolostron/managedcluster-import-controller/pull/122 to track.


Is this project still restricted to LAN?

I love this implementation and am currently in the process of writing C bindings for it. One question I have is this note in the documentation:

No WAN support: only local-network, private IPs are supported.

Is this still true, despite there existing the ability to enter an IP (which can very well be public?) If so, what's restricting this program from supporting a WAN?

Great, thanks for your quick response.


Provide an easy way to access the input arguments on the query in child data fetchers.

Currently, we can access this information via this:
// This gives you the first field that was selected on the query
Field result = (Field)(dfe.getOperationDefinition().getSelectionSet().getSelections().get(0));
// This gives you the first argument's value and so on
result.getArguments().get(0).getValue();

We could either enhance the DgsDataFetchingEnvironment or add @RootInputArgument annotation to easily access this.

We had some discussion about this and aren't sure about how useful this feature is.
The example given in https://github.com/Netflix/dgs-framework/discussions/23 was the following:
type Query {
    getContact (customerId: ID!): Contact
}

type Contact {
    email: String
    address: [Address]
}

type Address {
    street: String!
    number: String!
    additional: String
    pincode: String!
    city: String!
    country: String!
}

In this example, it would be useful to easily access the customerId in a datafetcher for address, hence the idea to introduce something like @RootInputArgument. Note however that we could already pass this kind of context to child data fetchers in different ways, either by adding a field on (in this example) Contact, or by using localContext. Different ways of handling are described here: https://netflix.github.io/dgs/advanced/context-passing/
An argument can be made that a RootInputArgument annotation is easier to use than localContext. However, the scenario is very specific. Take a slightly different scenario where the argument is a list of customerIds.
type Query {
    getContact (customerIds: [ID!]): Contact
}

In an address datafetcher, we would need the specific customerId of the customer we are resolving the address for. The @RootInputArgument just gives the list and would be useless.
This makes it questionable how often the pattern would actually be used.
The downside of adding annotations for not-so-common use cases is that in the end, we would end up with an API similar to DataFetchingEnvironment itself, but in annotations, which would just be confusing.
We decided to defer this feature until we have a more clear idea of it's usefulness.
If you have a strong use case for this feature, please comment and explain the scenario!


[Reopen this][Enhancement] In Autosearch only use AlbumArtist or 1st Artist when separator is preset

Search doesn't work in songs with multiple artists having metadata in format Artist1; Artist2 or Artist1, Artist2

We already search for only the first instance of a tag, so if you want to include multiple artists but only search for one, put them in separate "artist" tags. I don't want to do text processing on the tag values to split by comma or semicolon or whatever.

Please don't sneak bug reports into the comments on a feature suggestion. Create a new issue.
I assume you mean the fact that when you open the manual search it populates artist with only "Samra" and not the other two. I expect that metadata panel is showing the value of all the tags, separated by semi-colons in which case this is working as intended.

Please don't sneak bug reports into the comments on a feature suggestion. Create a new issue.

OK but I thought it is related so...

I expect that metadata panel is showing the value of all the tags, separated by semi-colons in which case this is working as intended.

I asked you to only search bt first artist but you said that is a bad idea and now I am saying open_lyrics automatically only using first artist

OK but I thought it is related so...

True, but its easier to manage if bugs and feature suggestions are in separate issues (and if there's only 1 bug/feature in each issue). :)

I asked you to only search bt first artist but you said that is a bad idea and now I am saying open_lyrics automatically only using first artist

There are 2 possible scenarios: 1) A track has 2+ artists, each in a separate copy of the "ARTIST" tag or 2) The track has 2+ artists all strung together in the same tag.
I'm saying we already search only the first artist in case 1 and I don't want to try to specifically solve case 2. If you can demonstrate that what you have is an instance of case 1 and it's not behaving as expected then we have a bug, otherwise I don't think there's anything to do here. If you'd like to claim that its not behaving as expected then please can you provide specific examples and logs (as per the bug report template) and we can re-open this as a bug.

I'm saying we already search only the first artist in case 1 and I don't want to try to specifically solve case 2. If you can demonstrate that what you have is an instance of case 1 and it's not behaving as expected then we have a bug, otherwise I don't think there's anything to do here. If you'd like to claim that its not behaving as expected then please can you provide specific examples and logs (as per the bug report template) and we can re-open this as a bug.

I am using 2) and I get only first artist

I have a good reason - SOurces like Genius and AZLyrics almost always works when only using Album/Main Artist
@jacquesh


[QNEBE-NNN] Remote stuff

Most of the remote functionality
Application/AppVersion/AppResult/AppSource creation
Running experiments for remote applications added
Login/logout functionality
Listing and syncing available network files with the networks from QNE
Added documentation of the remote functionality

I will remove the tarball from the source directory after sending it to the apirouter.
Problem is in the Copenhagen node (at my local apirouter): "latitude" and "longitude" must be double quotes instead of single. I checked but this was correct on the production and staging server. Why it was wrong locally I don't know yet.
The refresh token is sent because the access token requires username/password each time resulting in a possible security issue.


Move cover sentences into own file

Should we move cover sentences into its own files cover_HassTurnOn and cover_HassTurnOff?
We already dedicated file for lights and fans.

Yes, I will be doing this for the English sentences soon.

Yes, I will be doing this for the English sentences soon.

Should we all do this ourselves, of will you do one big change as balloob tried to do?

One big change has gone through :D


Error while trying to detect race

Hi, so I seem to get this error only with race, age, gender, and emotion seem to work fine. When I try to do race detection I get this error:
File "C:\Python36\lib\site-packages\deepface\DeepFace.py", line 381, in analyze
race_model = Race.loadModel()
File "C:\Python36\lib\site-packages\deepface\extendedmodels\Race.py", line 46, in loadModel
race_model.load_weights(home+'/.deepface/weights/race_model_single_batch.h5')
File "C:\Python36\lib\site-packages\keras\engine\network.py", line 1171, in load_weights
with h5py.File(filepath, mode='r') as f:
File "C:\Python36\lib\site-packages\h5py_hl\files.py", line 427, in init
swmr=swmr)
File "C:\Python36\lib\site-packages\h5py_hl\files.py", line 190, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 96, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 47972352, sblock->base_addr = 0, stored_eof = 537215296)
Do you have any idea what could cause the issue, I spent quite some time googling if anyone else had this issue but couldn't find anything...

Load the model from this url manually: https://drive.google.com/uc?id=1nz-WDhghGQBC4biwShQ9kYjvQMpO6smj
Then unzip it in the HOME/.deepface/weights folder.


Make sure fp works with Burst

There might still be exceptions in fp.cs

I'm having some trouble when enabling burst compile, I'm getting "Unable to find internal function System.Decimal::FCallMultiply". Other than that, amazing fixed point library as it's pretty much a drop in replacement!

I'm having some trouble when enabling burst compile, I'm getting "Unable to find internal function System.Decimal::FCallMultiply". Other than that, amazing fixed point library as it's pretty much a drop in replacement!


TypeError trying to visualize npzfile data with pyLDAvis

new to using pyLDAvis, but I ran the 20 newsgroups example, which generated topics.pyldavis.npz
after loading that into npzfile, did the following
import pyLDAvis as vis

prepared_data = vis.prepare(npzfile['topic_term_dists'],npzfile['doc_topic_dists'],npzfile['doc_lengths'],npzfile['vocab'],npzfile['term_frequency'])

vis.prepared_data_to_html(prepared_data)

but I just get a TypeError
TypeError: 5.3336749 is not JSON serializable

(same error if I try to use show() or display() or anything else that expected PreparedData, though if i just print prepared_data, it looks the data contains reasonable topics and vocab...)
Am I just doing something wrong or is there a bug?

I issued a pull request with pyLDAvis that should fix this issue. Could you try installing the latest pyLDAvis from their master branch?

yep, that worked. thanks


openjdk9 systemtest build fails due to wrong path used in chmod command

Overview
openjdk9 systemteast build fails due to wrong path used in chmod command
Error
14:25:38 [openjdk9_hs_systemtest_x86-64_linux] Running shell script
14:25:38 + chmod 755 /home/jenkins/workspace/openjdk9_hs_systemtest_x86-64_linux/openjdkbinary/j2sdk-image/bin/../../bin/javac
14:25:38 chmod: cannot access '/home/jenkins/workspace/openjdk9_hs_systemtest_x86-64_linux/openjdkbinary/j2sdk-image/bin/../../bin/javac': No such file or directory

Build link
https://ci.adoptopenjdk.net/view/System tests/job/openjdk9_hs_systemtest_x86-64_linux/32/

Fix : https://github.com/AdoptOpenJDK/openjdk-tests/pull/271

Builds back to normal.


chore: Updated qdrant_client version restrictions

Description
The current pinned scheme of qdrant_client doesn't allow working with the latest versions(v1.7, v1.8) of the package. This PR resolves the issue.

Thanks @Anush008 !


Normalize camel casing of acronyms

Work for this issue will begin begin on branch work-liquid-labs/string-input/25.


[Bug]: failing when adding multiple controllers at once

The problem
When I trying to test integration under emodule tech test account and add all 4 controllers at once I get errors. When adding one by one there is no issue
What version of Tech Controllers integration has the issue?
current master
What version of Home Assistant Core has the issue?
2024.10.3
What was the last working version of Tech Controller integration?
No response
Diagnostics information

Anything in the logs that might be useful for us?
2024-10-21 07:55:49.704 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/vscode/.local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/config/config_entries.py", line 222, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/helpers/data_entry_flow.py", line 122, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/data_entry_flow.py", line 370, in async_configure
    result = await self._async_configure(flow_id, user_input)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/data_entry_flow.py", line 417, in _async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/data_entry_flow.py", line 520, in _async_handle_step
    result: _FlowResultT = await getattr(flow, method)(user_input)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/tech-controllers/custom_components/tech/config_flow.py", line 186, in async_step_select_controllers
    return await self._async_finish_controller(user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/tech-controllers/custom_components/tech/config_flow.py", line 142, in _async_finish_controller
    self._create_config_entry(controller=controller)
  File "/workspaces/tech-controllers/custom_components/tech/config_flow.py", line 214, in _create_config_entry
    return ConfigEntry(
           ^^^^^^^^^^^^
TypeError: ConfigEntry.__init__() missing 1 required keyword-only argument: 'discovery_keys'

Additional information
No response

It works fine on 2024.9.2. Let me check on 2024.10.3 - there was some change in HA related to this discovery_keys.

this seems be change https://github.com/home-assistant/core/pull/126563, I was able to fix it under https://github.com/daroga0002/tech-controllers/tree/bump-dependencies but then it is incompatible with earlier version of HA than 2024.10.*

I have opened https://github.com/mariusz-ostoja-swierczynski/tech-controllers/pull/128 but please feel free to modify it if you will found better way to handle compatibility with HA


Tatar Vanilla-ish Translation!

Hello!
There's Vanilla-ish Tatar Translation of this Mod! All translations were tested in-game.
Only one problem that is about slightly overlapping texts (Screenshot is here)
If in "Zoom Mode (Hold CTRL)" word "Mode" is not so important, then omitting that word (in Tatar it is "шарты") will be a great solution to this little issue.

Hey,
Thank you for your translation of the mod! Regarding the overlapping text, I did as you suggested: I removed "шарты" which is technically not that important.
Anyways have a nice day!


Consider a helper method for combining with DOM

This will be redundant when I make the changes proposed in #17


Variable myStr should equal to ("I am a "double quoted" string inside "double quotes"").as out on console to use java script

Challenge Escaping Literal Quotes in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var myStr="\"I am a \"double quoted\" string inside \"double quotes\"\"." ;

Closing as a duplicate. Please don't make multiple issues for the same problem.

The method correct
var myStr="I am a "double quoted" string inside "double quotes"";


GPG ERROR

Hai Friend,
I am facing this issue while taking backup of alfresco
ERROR 31 GPG Error,
GPG Error: GPG Failed,
gpg: problem with the agent: Not implemented
and while generating gpg key it throwing
gpg: problem with the agent: Not implemented
how to solve this issue help me please
I am using
gnupg 2.0.30
redhat linux
duplicity

this is probably too late but have to try with latest version of a linux distribution?

Closing this as there were no answers from the reporter.


feat(select): allow disabling ripples for options

Adds a binding that allows developers to disable ripples for every option in a select.

Rebase please

@andrewseguin Done.


Load balancer

Can I use this behind a load balancer, but that all the files are still accessible?
So I can split all the files to multiple servers.

Hello
I have build my  own server for backuping NAS files thanks to this code base.
It is running behind haproxy without particular configuration other than SSL.
I presume this should also work for other load balancers as well.
hironico
De : @.>
Envoyé le :lundi 6 décembre 2021 09:47
À : @.>
Cc : @.***>
Objet :[OpenMarshal/npm-WebDAV-Server] Load balancer (Issue #109)
Can I use this behind a load balancer, but that all the files are still accessable?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenMarshal/npm-WebDAV-Server/issues/109, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF2SATNROC3WPMEYUQRNLX3UPR2A7ANCNFSM5JOBQ2HQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Yes, of course, I am running a WebDAV server with this library behind an AWS ALB and it works perfectly.


(BKR-1011) Fix Windows group_get error detection

The existing mechanism is tightly coupled to English / ASCII output
and should instead use exit codes.
Fix both the PowerShell and CMD hosts.
Add a new acceptance test so that this can be validated on a
non-English Windows host (for instance Japanse Windows 2012R2
template win-2012r2-ja-x86_64)

Builds on #1293

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3278/

👍 . The PE upgrade suite tests failed on one cell triggering the check failure above. It appears unrelated.
 Failed to connect to qpgv6b0z2w42zkx.delivery.puppetlabs.net port 8140: Connection refused

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3297/

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3298/

@kevpl this now has the green sign of approval as well... merge 'er up.


Fix re-entering custom-template examples

Currently, when you enter any of the resize or dynamic examples a second time after using the back button, the visualization does not render.

Fixed by the same thing that fixed #135


Google non-compliance issue for using android segment version below 4.10.1

We are using the flutter_segment plugin in our app, version 3.12.1. Recently, we received an email that the segment version we are using does not comply with Google's privacy policy. Here is a brief from the email,
"You may consider upgrading to a policy-compliant version of this SDK, if available from your SDK provider or removing the SDK. According to the information provided by your SDK provider, you may consider upgrading to version 4.10.1. Google is not endorsing or recommending any third-party software. Please consult the SDK provider for further information."
From the change log, the Android Segment SDK version used in this library is 4.10.0.
We have only two weeks left to resubmit the app with the policy-compliant version. Therefore, if we can get the latest version of the flutter_segment library with the latest Android Segment SDK version 4.10.4 that would be much appreciated.

Hi @bashar13, PRs are welcome, at the moment we dont have a fast way to test if that version will not break anything, any change that you could submit the change? 🤓


used fonts have limited i18n support

Some czech characters are printed in bold:

As a workaround I changed the fonts to carlito, see this commit downstream: https://lab.allmende.io/solidbase/learn-theme/commit/462d1d12b414eb20765e65338d01c792d59842cf
Strangely it didn't work to specify @font-face in custom-header.html.

The difference between Novacento (which causes this kind of problem) and Work Sans that is used in all the rest of the theme besides the headings is neglectable. The best solution is, to also switch the headings to Work Sans.
The fork has this issue fixed.


fix(lookup): xref 1.3.0 removed var xref--marker-ring

Fixes #5737
This is not a mode specific issue but is actually caused by changes to xref. Xref was changed in the emacs repo about a month ago. I have already created a patch for a mode that needed to adjust to xref's internal changes.
xref's recent history
Xref started many backwards incompatible changes in the name of performance. The marker ring no longer exists as a variable. +lookup--xref-show will silently fail every time.
Switches to using xref-after-jump-hook to test whether xref actually jumped to a definition. The hook is part of the exposed interface and should hopefully not change in the near future.

I unconsciously changed the formatting. I restored the formatting and force pushed again.

Thanks for your help!


Redesign Kint facade

Right now the kint facade is a pile of static methods that store no state at all. This is not great for performance, testing, or anything else really.
Here's the plan

The facade becomes an instance class with the following methods
public function __construct(Parser $p, Renderer $r)
public function setParser(Parser $p)
public function getParser()
public function setRenderer(Renderer $r)
public function getRenderer()
public function dumpAll(array $vars, array $base)
public function dumpVar(&$var, BasicObject $base)

Since the parser and the renderer have to be passed on construct, most of the logic in the old dump method will get moved to a static method that builds a parser, renderer, and Kint instance out of the static settings we currently have:
public static function createFromSettings($settings)
public static function getBaseFromCalleeInfo($ci)

The rest of the logic will go into a generic dump method:
public static function dump()

To aid in performance, we can reuse existing Kint instances:
function your_kint_helper_here()
{
    static $kintstance = null;

    if ($kintstance === null) {
        $kintstance = Kint::createFromSettings(Kint::settings());
    }

    $ci = Kint::getCalleeInfo();
    $kintstance->getParser()->setCallerClass($ci['caller']);

    [...]

    $kintstance->dumpAll([...]
}

We'll need to add methods to the parser and renderer that can reset things like the calling class state:
public function setCallerClass($caller = null)

To ensure this doesn't screw with parser state while it's running, we add a helper method to the parser to catch things like that:protected function noRecurseCall()

Renderers will also need a formal API now. That's a whole other problem so I'll finish the above first and make a new issue when the above is done

1a4034cac78daf7077d3725d050c3d7ec31d6559


Incorrect reporting of speeds

I am seeing the following output on my HDD:
$ ./fio-cdm /myth/htpc-1
|      | Read(MB/s)|Write(MB/s)|
|------|-----------|-----------|
|  Seq |     42.993|     43.617|
| 512K |     23.759|     29.419|
|   4K |  43673.000|  94981.000|
|4KQD32|  96077.000|  95814.000|

Note the very high 4K results.
 I don't know enough awk to know where the problem is.
Many thanks for creating this script, though, as I'm used to Crystal Disk Mark on Windows and find raw fio output a bit overwhelming.

@JohnVeness
Thank you for the rerport.
I fixed it with https://github.com/buty4649/fio-cdm/pull/2, so try it.

Many thanks, that looks like it's outputting correctly now.


[top/dv] Add lc_ctrl wait to wait_rom_check_done

After the reset domain change, the rom_ctrl checks happen in parallel with life cycle control initilization.
This means waiting for rom_ctrl alone to be done is insufficient and we need to wait for life cycle control to be done as well.
Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@jeoongp this should fix your problem.
others, please let me know if I should structure this differently.

Can you also remove the one in chip_common_vseq? https://cs.opensource.google/opentitan/opentitan/+/master:hw/top_earlgrey/dv/env/seq_lib/chip_common_vseq.sv;l=22?q=wait_rom_check_done&ss=opentitan%2Fopentitan:hw%2F
Otherwise, LGTM

o yeah good point, let me do that.

@jeoongp this should fix your problem. others, please let me know if I should structure this differently.

Thanks! Let me run and check.

@tjaychen it works! Thanks for resolving the blocking issue. ^__^


add menu page

create a new page for the menu.

a new page cards.tsx has been created for the menu


Channel for chat

I would like to propose a channel like Slack or Gitter for chat for the following reasons:

Issue discussion can be done more easily
Enhancement suggestions can be discussed more openly

Would like to hear about it from other maintainers- @keon, @outpark   and @NirantK

+1 to the idea
I am open to Gitter, but it's tough to keep track of the discussion there
as well.
Maybe avoid Slack as it gets Spammy really quickly?
On 25 February 2018 at 14:49, Dhruv Apte<EMAIL_ADDRESS>wrote:

I would like to propose a channel like Slack or Gitter for chat for the
following reasons:

Issue discussion can be done more easily
Enhancement suggestions can be discussed more openly

Would like to hear about it from other maintainers- @keon
https://github.com/keon, @outpark https://github.com/outpark and
@NirantK https://github.com/nirantk
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keon/awesome-nlp/issues/116, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADGaParrOHDobb2nTgFAFCPdYr69gMDnks5tYSWGgaJpZM4SSOfH
.

The reason I would like a communication channel is instead of commenting on the issues themselves, they can be more openly discussed on Gitter. Cool with Gitter, BTW

Hello,
Gitter with the handle awesome-nlp is live on this link
@the-ethan-hunt: Over to you from here. Please close this issue whenever possible :)

Closing this issue. :)


ARROW-12109: [Rust][DataFusion] Implement SHOW COLUMNS

Rationale
Accessing the list of columns via select * from information_schema.columns (introduced in https://github.com/apache/arrow/pull/9840) is a lot to type
See the doc for background: https://docs.google.com/document/d/12cpZUSNPqVH9Z0BBx6O8REu7TFqL-NPPAYCUPpDls1k/edit#
This is a sister PR to SHOW TABLES here:  https://github.com/apache/arrow/pull/9847
Proposal
Add support for SHOW COLUMNS FROM <table> command.
Following the MySQL syntax supported by sqlparser: https://dev.mysql.com/doc/refman/8.0/en/show-columns.html
Example Use
Setup:
echo "1,Foo,44.9" > /tmp/table.csv
echo "2,Bar,22.1" >> /tmp/table.csv
cargo run --bin datafusion-cli

Then run :
> CREATE EXTERNAL TABLE t(a int, b varchar, c float)
STORED AS CSV
LOCATION '/tmp/table.csv';

 0 rows in set. Query took 0 seconds.

> show columns from t;
+---------------+--------------+------------+-------------+-----------+-------------+
| table_catalog | table_schema | table_name | column_name | data_type | is_nullable |
+---------------+--------------+------------+-------------+-----------+-------------+
| datafusion    | public       | t          | a           | Int32     | NO          |
| datafusion    | public       | t          | b           | Utf8      | NO          |
| datafusion    | public       | t          | c           | Float32   | NO          |
+---------------+--------------+------------+-------------+-----------+-------------+
3 row in set. Query took 0 seconds.

Commentary
Note that the identifiers are case sensitive (which is a more general
problem that affects all name resolution, not just SHOW COLUMNS). Ideally this should also work:
> show columns from T;
Plan("Unknown relation for SHOW COLUMNS: T")

> select * from T;
Plan("Table or CTE with name \'T\' not found")

Really like those features @alamb really cool additions to make DataFusion more mature for BI tools / catalogs / tools like data build tool, etc.

FYI @returnString  and @seddonm1

Thanks. I made a PR with some proposed docs here: https://github.com/apache/arrow/pull/9895

I plan to wait until tomorrow to merge this in case @andygrove  has any comments


CSS class required for joining controls together, similar to form-group.

Added new class named control-append. Use this class on the parent element.


Add UI For Nav Dropdowm

Add dropdown options when hamburger icon is clicked

@alexboateng i will pick this issue

@Rilian0031 kindly work on this issue

My name is Jacinta Akpene Sadzi and I will like to handle this issue

@alexboateng please I will like to take on this issue

#119 @alexboateng @muchinon Please I'm done with the task and created a pr


Replace Jackson annotations in Type to Jackson Module

Replacing Jackson annotation on org.embulk.spi.type.Type to Jackson Module-based SerDe implementation.
This is needed to move Type to embulk-api that is Jackson-independent. As its side effect, Type will not be able to get converted out of org.embulk.config.* (including ModelManager), but we accept it.
We'll need another update for embulk-util-config once the new embulk-api including Type is released.

For TypeDeserializer, it's because it has already been public. I saw some plugins are accessing that class...

Ah, got it!

Thanks!


cudatext-qt: 1.172.0 -> 1.172.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for cudatext-qt is: "Cross-platform code editor"
meta.homepage for cudatext-qt is: "https://cudatext.github.io/"
meta.changelog for cudatext-qt is: "https://cudatext.github.io/history.txt"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.172.5 with grep in /nix/store/a8amyd89hqyzzhkvsslbn36nbdc3ylyk-cudatext-1.172.5
found 1.172.5 in filename of file in /nix/store/a8amyd89hqyzzhkvsslbn36nbdc3ylyk-cudatext-1.172.5

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
cudatext
cudatext-gtk
cudatext-qt

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a8amyd89hqyzzhkvsslbn36nbdc3ylyk-cudatext-1.172.5
ls -la /nix/store/a8amyd89hqyzzhkvsslbn36nbdc3ylyk-cudatext-1.172.5/bin

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

2 packages built:

cudatext
cudatext-gtk

Maintainer pings
cc @sikmir for testing.

Duplicates #195308


Update README.md

README.md hasn’t really been re-visited in a while and contained a lot of outdated information. Shorten it a little bit.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test


feat: osnap execution warning message

motivation
We want to show oSnap users a warning if their safe is misconfigured and their transaction will not auto execute.
We call an endpoint at https://osnap.uma.xyz/api/sapce-config to inspect the on-chain settings for a given safe.
In Proposals list (already proposed)

In transaction Builder  (before proposal)

seeing an issue on space: https://snapshot-77xkgjvgj-uma.vercel.app/#/umadev.eth/create

not sure if this is us or snapshot

prd here: https://github.com/snapshot-labs/snapshot/pull/4567


Changed MySQL checksum colum to be UNIQUE, NOT NULL

What happens when you upload the same photo two times?

With the tweak to the DB, It fails to upload, with the following error.

Previously I could upload a bunch of duplicate photos, with the same name and md5sum, and they would just happily upload.
This has only sofar been tested for photo upload, within a docker container.
Also the merge was accidental, I am still getting a handle on git, but I can re-open if you think this is usefull.


Use a coordination value mapping to look up which file(s) to load for each component

User story
In each dataset in the view config, we currently support defining one file per data type (datasets[].files[].type). This limit will introduce problems in the obs x feature generalization model, for instance:
The user wants to provide a cell-x-gene matrix and a cell-x-peak matrix but we only support one obsFeatureMatrix file.
Preferred solution
Support defining coordination values per file definition.  Then, when loading data in a view, look up and match on (a subset of) these values based on the current coordination values for the view. For example:
datasets: [
  {
    uid: 'my-dataset',
    files: [
      {
        type: 'obsFeatureMatrix',
        fileType: 'mudataX.zarr',
        url: 'http://localhost:8080/my-mudata.zarr',
        options: {
          matrix: 'mod/rna/X',
        },
        coordinationValues: {
          obsType: 'cell',
          featureType: 'gene',
        },
      },
      {
        type: 'obsFeatureMatrix',
        fileType: 'mudataX.zarr',
        url: 'http://localhost:8080/my-mudata.zarr',
        options: {
          matrix: 'mod/atac/X',
        },
        coordinationValues: {
          obsType: 'cell',
          featureType: 'peak',
        },
      }
    ]

  },
],
coordinationSpace: {
  dataset: {
    D1: 'my-dataset',
  },
  obsType: {
    O1: 'cell',
  },
  featureType: {
    F1: 'gene',
    F2: 'peak',
  },
  ...,
},
layout: [
  {
    component: 'heatmap',
    props: {
      title: 'scRNA-seq',
    },
    coordinationScopes: {
      dataset: 'D1',
      obsType: 'O1',
      featureType: 'F1',
    },
    x: 0, y: 0, w: 5, h: 12,
  },
  {
    component: 'heatmap',
    props: {
      title: 'scATAC-seq',
    },
    coordinationScopes: {
      dataset: 'D1',
      obsType: 'O1',
      featureType: 'F2',
    },
    x: 0, y: 0, w: 5, h: 12,
  },
  ...,
],
...

Alternative solutions
Alternatively, these could also be mapped to coordination scopes, but given that coordination values and per-view coordination scope mappings are subject to change frequently, while file contents are assumed not to change (since  static files), I think it is clearer to use the values here (via coordinationValues rather than some coordinationScopes property for file definitions).

I previously thought about naming the object entityTypes but I think the more general coordinationValues name may be better, since we may need something like:
datasets: [
  {
    uid: 'my-dataset',
    files: [
      {
        type: 'obsEmbedding',
        fileType: 'anndataObsArray.zarr',
        url: 'http://localhost:8080/my-anndata.zarr',
        options: {
          path: 'obsm/X_umap',
        },
        coordinationValues: {
          obsType: 'cell',
          embeddingType: 'UMAP',
        },
      },
      {
        type: 'obsEmbedding',
        fileType: 'anndataObsArray.zarr',
        url: 'http://localhost:8080/my-anndata.zarr',
        options: {
          path: 'obsm/X_pca',
        },
        coordinationValues: {
          obsType: 'cell',
          embeddingType: 'PCA',
        },
      },
    ]

  },
],
coordinationSpace: {
  dataset: {
    D1: 'my-dataset',
  },
  obsType: {
    O1: 'cell',
  },
  embeddingType: {
    ET1: 'UMAP',
    ET2: 'PCA',
  },
  ...,
},
layout: [
  {
    component: 'scatterplot',
    props: {
      title: 'UMAP embedding',
    },
    coordinationScopes: {
      dataset: 'D1',
      obsType: 'O1',
      embeddingType: 'ET1',
    },
    x: 0, y: 0, w: 5, h: 12,
  },
  {
    component: 'scatterplot',
    props: {
      title: 'PCA embedding',
    },
    coordinationScopes: {
      dataset: 'D1',
      obsType: 'O1',
      embeddingType: 'ET2',
    },
    x: 0, y: 0, w: 5, h: 12,
  },
  ...,
],
...

An alternative name which is shorter than coordinationValue is match

I think this is kind of where I'm a little confused and this is sort of what I was saying about the implicit primary key mechanism here...

Implemented in https://github.com/vitessce/vitessce/pull/1250


xfreerdp issue connecting in -rc2

Now that I've upstreamed all of our patches that we used on -rc1... something happened between -rc1 and -rc2 that causes xfreerdp to be basically non-functional but not in a verbose way. With the following invocation:
$ xfreerdp /v:<host> /u:<domain>\\<user>

I get the fairly expected output:
[13:20:48:805] [95372:0858c500] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[13:20:50:754] [95372:0858c500] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[13:20:50:754] [95372:0858c500] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[13:20:50:781] [95372:0858c500] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem

The window then draws for a split second and FreeRDP exits for no apparent reason and without any core dump. On the remote side, nothing appears to have happened whether I'm currently logged in and actively using the remote or not.
I attempted to bisect, but sometime before April the WaitableTimer implementation apparently became mandatory and things started to get hairy trying to port some of these patches to each commit I was testing.
What else can I do to help diagnose this? FreeRDP is a beast that I'm not all too familiar with =)

@kevans91 on what system/distribution you have the problem?

Ah, sorry, I omitted this. =) I run FreeRDP on FreeBSD.

After a lot longer than I'm proud to admit and too many printfs, I narrowed it down to the fcntl failing on the timer fd because of how our epoll wraps kevent -- the resulting fd isn't quite that flexible, but the timerfd flag for nonblock works just fine. After the referenced PR, -rc2 is functional for me again.


r0 gets clobbered on InlineHook

Currently the default inline hook shim process seems to be:

Original instruction
move LR into R0
store LR and r3-31 to a stack frame as usual
jump
steps 2 & 3 in reverse.

However, this pattern means that if we hook an instruction (or series of instructions) that is using r0, we won't save that value. I think ideally we would also put the original r0 value into the stack frame that we are generating. I think the added safety is likely worth the 4 bytes, but I'd be interested to hear your take on this.

Will be fixed in the next version. Although this does bring up some deeper questions about the way we are doing hooks. I am going to revisit the hooking system soon and see if there is any room for optimization.


Encrypted users password

For some applications, plain user passwords are required. But keeping the password safe is also important. The possibility of adding encrypted passwords with a specified key for each tenant can help in these scenarios.
ex: AES-CBC or ...

@HRNasr password encryption is supported. See docs: https://casdoor.org/docs/organization/overview


Re-enable the integer-ring tests

https://github.com/verus-lang/verus/blob/main_new/source/rust_verify_test/tests/integer_ring.rs
Attempted in https://github.com/verus-lang/verus/tree/integer_ring1; there seems to be an issue forwarding --features.

Thanks for documenting this! I think I also faced the issue described above. I wonder if we want to forward --features argument for vargo test when it builds rust_verify (or make vargo test to skip building rust_verify)

To reproduce,
> vargo build --features singular
> VERUS_Z3_PATH="$(pwd)/z3" vargo test -p rust_verify_test --features singular --test integer_ring -- test3

After executing the above two lines, this message was generated
error: Please cargo build with `--features singular` to use integer_ring attribute` error.

With --verbose option in vargo, I noticed that
 vargo build --features singular

gives you --features argument correctly
RUSTC_BOOTSTRAP="1" VERUS_IN_VARGO="1" "cargo" "build" "-p" "rust_verify" "--verbose" "--features" "singular"

However, when executing
VERUS_Z3_PATH="$(pwd)/z3" vargo test -p rust_verify_test --verbose --features singular --test integer_ring -- test3

It omits --features argument when building rust_verify
RUSTC_BOOTSTRAP="1" VERUS_IN_VARGO="1" "cargo" "build" "-p" "rust_verify" "--verbose"
...
RUSTC_BOOTSTRAP="1" VERUS_IN_VARGO="1" "cargo" "test" "-p" "rust_verify_test" "--verbose" "--features" "singular" "--test" "integer_ring" "--" "--color=always" "test3"

By the way ... (maybe this should be made a discussion) what's the purpose of having this be a feature flag?


Not able to Join Calls

Describe the bug
Not able to join a scheduled call
To Reproduce
Steps to reproduce the behavior:

Go to 'Dashboard'
Click on 'Call'
Click on 'Join Call'
See error

Expected behavior
Should be able to join call
Screenshots

Desktop (please complete the following information):

Browser Chrome

Additional context
High Priority - Giving a bad experience to Mentors, Might effect my profile

@nikhilkumar828 is the issue resolved? can you share console errors as well?


Create ObsMobile class

Create a class called ObsMobile for aircraft, ship and car data.

This covers the #162 and #13 .


Update _sklearn.py

check for horizon before X_fit is transformed

@ambader Could you bit more explain the idea behind the MR in the description?

Sure, I tried to solve the issue raised by @lucheroni (see). It been a while, so Im not totally sure about the details, but as far as i remember, the problem was that hcrystalball sets the length of periods to predict (the horizon) automatically. What I added is a way to check if the users tries to set another length and hands it over to the sklearn function, which can handle the new parameter.
I think you/the author was aware of this issue, because there is an attempt to integrate 'optimize_for_horizon' at line 155. Yet this is not working, as hcrystalball has already set the horizont length earlier.
You're welcome to ask if that wasn't clear, then I will have a closer look on it.

Please see this notebook showing why we believe it is better idea to keep it as is.
02_ar_modelling_in_sklearn_patched.ipynb.zip
FYI
@pavelkrizek


Add "files" field in package.json

Files which are not useful to the end user, such as tests and build resources should be excluded from the npm package as it saves everyone bandwidth and time.
I'm not sure if the public folder is used only for tests or if it is useful to run http-server. If not, please feel free to add it or let me know and I'll add it for you.

I believe we also want what is currently in .gitignore. Please add that to this file.

Sure.
Why is there !node_modules/node-static in .gitignore?

I'd strongly advise to use a files field in package.json, which acts as a whitelist (.npmignore acts as a blacklist). This prevents unnecessary stuff ending up in the npm bundle in a more robust way.

@derhuerst That's a good point, I updated the PR.

Thanks for this addition @hmil!


Strange ERR value is not a valid float message

Using NodeJS and Redis (promisified via BlueBird).
Getting inconsistent error:
Possibly unhandled Error: ERR value is not a valid float
at ReplyParser.RedisClient.init_parser (/home/adam/Deep-Ads/node_modules/redis/index.js:317:31)
Any ideas?

Do you have any way to reproduce this?
If you can afford it in production, a useful thing to do is run with debug_mode set. This will log all of the raw protocol data in and out of the client. If we knew what data was being read right before this error, it'd be pretty straightforward to fix.

I'm having this issue too. What did you find you?

Check zadd statements. KEY,SCORE,VALUE.
You must have swapped score and value

@twappworld did the comment from @ganeshnaidu help you?

Just in case anyone find this issue and was having the same problem I was...
I was combining multiple values to get my score before setting it and one of my numbers was NaN which was causing this error. After fixing the

[ ] NaN

the problem went away.

Check zadd statements. KEY,SCORE,VALUE.
You must have swapped score and value

@fa1d87bc7f85769ea9dee2e4957321ae  what is wrong in zadd queues:checkin:reserved process_id 1 Still I get the issue.

I was trying to store a UUID as the score in a Redis zAdd operation, but I found out that the score field only accepts a floating-point number, not a string. If anyone else runs into this, make sure to use a numeric value like a timestamp or a constant for the score. Hope this helps!


vertex Drag issue when mapstatetoProps is removed

#189 is fixed as part of this PR

#281 fixed as part of this pR


Sitemarker 3 rework

Closes #46
Sitemarker 3 is the next major version of Sitemarker. It comes as a rewrite for enhancing the maintainability of the project. It also does away from SQLite-based db to the earlier tested isar db. As with any major change, Sitemarker comes with visual changes as well. It now has a refreshed UI.
This Draft PR will eventually be representing what Sitemarker 3 looks like as a journey over time(commits). This also means that Sitemarker 3 is WIP.

Closes #37

Closes #34 and partially addresses #35

Closes #45


Lifecycle animation example

Could you explain how using lifecycle animation : start / end ?
I wanna make slideshow like your example but with preloading next slide when actual slide transition is done.
Thanx for your great job.

Hi, preloading make a lot of sense for the slideshow. I know that documentation could be more elaborate at this point.
I've added a section for animation controls  and lifecycles to the animation page, which also have examples with REPL. Also you can look into animate on the utility page. It also has some lifecycle callbacks and the documentation has improved.
Finally, there is the documentation for framer-motion, most feature should transfer well.
Let me know if this helps

It's perfect 👍
I'm closing this issue and thanx again for your job.


[QUESTION]

Hello,
Question
How to locate the local disk in the yaml file?
I want to locathe the local disk such as /data/longhorn to longhorn.
And I have already known how to modify using the longhorn UI. However, if there are more than 20 node to modify , it is not ideal to modify it by hand.
I want to know how to modify https://raw.githubusercontent.com/longhorn/longhorn/v1.3.1/deploy/longhorn.yaml to solve this problem.
I have try to find the /var/lib/longhorn/  and replace with /data/longhorn which exist on the local disk. In detail, I modify two place in the longhorn.yaml file, just as follows:

name: longhorn
mountPath: /var/lib/longhorn/
mountPropagation: Bidirectional

and
- name: longhorn
hostPath:
path: /var/lib/longhorn/
However , it does not work.
Is there any method to change the disk in longhorn with the help of longhorn.yaml ?
Thanks very much.
Environment

Longhorn version: 1.3.1
Kubernetes version: 1.2.4

Ref https://longhorn.io/docs/1.3.1/best-practices/#configuring-default-disks-before-and-after-installation


Better documentation

At the moment, all the documentation is cluttered in the README. I should create a documentation website and tidy things up

5cc60bdd2e41f902da03a7d56465f0e9aa01f5a4


read tags - convert to JS

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #43
Test URLs:

Before: https://main--blogs-keysight--hlxsites.hlx.live/blogs/tech/nwvs/2023/05/15/outlook-cve-2023-23397
After: https://get-taxonomy--blogs-keysight--hlxsites.hlx.live/blogs/tech/nwvs/2023/05/15/outlook-cve-2023-23397

Read tags from source (tags.docx) into JS object.

Changed to a simple array


Mixed spaces and tabs in comments

Mixed spaces and tabs in commented lines shouldn't be marked... maybe?
Two examples follow (note ---> is a tab):
// predef: [
// --->"define",
// --->"DOMParser"
// ],

---->/**
----> *
----> * Utilities
----> *
----> */

+1

I'd like JSHint to be consistent with its warnings across the whole file. We already tolerate so-called SmartTabs and this should be enough for now.

I have just ran into this issue. Particularly Kronuz's second example. I take it that the only workarounds are to disable this jshint option completely or convert all tabs to spaces?

@philmander — Enabling the smarttabs option as Anton suggests will resolve that issue, by only looking for spaces followed by tabs rather than tabs followed by spaces as well.

Smarttabs does not solve all cases.  In block comments it's common practice to have space-star-space, and then the comment.  If the comment contains alignment using tabs, JSHint causes erroneous warnings.
Use case example:
--->/**
---> * Options are provided in the format:
---> * {
---> * ---->src: "url",
---> * ---->hidden: true
---> * }
---> */

Our team has a standard for 4-space tabs, so this works fine, but JSHint complains.
If disabling the check for spaces/tabs within comments is too tedious to implement, could we just have an option to disable the "Mixed spaces and tabs" warning completely?

Yes I also have this same problem... I guess tabs inside comments should be ignored altogether as well... what do you think?


Log files cannot be read by Trace Analysis Tool

It seems that the resulting Kieker logs are missing something for the Kieker Trace Analysis Tool to read the files properly.
The analysis tool reports some Exceptions when trying to read the Kieker log files.
The Kieker Trace Diagnosis Tool can at least reads the files without errors, but shows many separate traces.
Possibly some wrapping Before/After Events are missing?
The following logs have been generated with the order-index-fix branch merged into the current master branch as it fixes a typo in the  resulting log files (no-sesion-id -> no-session-id).
I also tried it with just the master branch with a similar result.
When using the Kieker Trace Analysis Tool it also reports a lot of invalid traces when the flag to ignore them is not set.
Attached you find:

Kieker logs (kieker-logs.zip)
Trace Analysis Error Log (trace-analysis-log.txt)

After some further investigation, we identified multiple sources for the issues mentioned above:

More issues with the session and order IDs, which we fixed in the order-index-fix branch (see https://github.com/kieker-monitoring/kieker-lang-pack-python/pull/9)
Some of the written Kieker logs seem to be invalid. This ZIP file contains (only) such a broken trace
kieker-logs-broken-trace-exception.zip
There seems to be a bug in the Trace Analysis Tool that has issues with such broken traces and results in an BufferOverflowException (as this seems to be a bug in the Trace Analysis Tool, this will be reported separately for Kieker itself).

Should be partially be fixed.


Add support for subscriptions

@marceloverdijk what kind of support do you expect? how should the transport layer look like?

@andimarek most likely websockets.

Using server-sent events

Any news on this subject ?
I found no way to make subscription work with graphql-java-spring-boot-starter-webmvc.
I there any documentation or hint on how to do it ??
My last try is to adapt the https://github.com/graphql-java/graphql-java-examples/tree/master/subscription-example.
But I got stuck.
I'm just unable to have subscription work when graphql-java-spring-boot-starter-webmvc is a dependency in the project.
The graphql.spring.web.servlet.components.GraphQLController takes the request with its graphqlGET, and complains that the query parameter is not there.
Everything works fine if the subscription is available on a separated URL. But of course, it's not GraphQL compliant.
Etienne

For those interested, I succeeded in implementing it in a plugin that generates the code to do this, both on client and server side.
You can take a look here: https://github.com/graphql-java-generator/graphql-maven-plugin-project
Etienne

For those interested, I succeeded in implementing it in a plugin that generates the code to do this, both on client and server side.
You can take a look here: https://github.com/graphql-java-generator/graphql-maven-plugin-project
Etienne


Access Control Hook and Standard Examples

added access control examples as standalone module with docs,
adjusted LICENSE,
removed @eveworld/common-constant dependency where possible

Closing as its outdated


CAMEL-14258: switching old MongoClient to new interface

switching com.mongodb.MongoClient to com.mongodb.client.MongoClient
Adding support for explicit WriteConcern and ReadPreferences
Updated unit test to fit new client

Maybe you can have a look at mongodb-gridfs component too.

Maybe you can have a look at mongodb-gridfs component too.

Good point: I've created an issue to track that - https://issues.apache.org/jira/browse/CAMEL-14293

Migration guide will be provided by this https://issues.apache.org/jira/browse/CAMEL-14294


pachd crash due to stack overflow in metrics

What happened?:
This appears similar to #5751, but it happened on the latest 2.0 alpha-21.
runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit
runtime: sp=0xc02496c378 stack=[0xc02496c000, 0xc04496c000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x25bb47a, 0xe)
    /usr/local/go/src/runtime/panic.go:1117 +0x72
runtime.newstack()
    /usr/local/go/src/runtime/stack.go:1069 +0x7ed
runtime.morestack()
    /usr/local/go/src/runtime/asm_amd64.s:458 +0x8f

goroutine 101 [running]:
github.com/pachyderm/pachyderm/v2/src/internal/metrics.inputMetrics(0xc00046d440, 0xc04496bdd0)
    /Users/nitin/Code/Pachyderm/pachyderm/src/internal/metrics/metrics.go:191 +0x4c5 fp=0xc02496c388 sp=0xc02496c380 pc=0x1dbd825
github.com/pachyderm/pachyderm/v2/src/internal/metrics.inputMetrics(0xc00046d440, 0xc04496bdd0)
    /Users/nitin/Code/Pachyderm/pachyderm/src/internal/metrics/metrics.go:204 +0x3b6 fp=0xc02496c3d8 sp=0xc02496c388 pc=0x1dbd716
github.com/pachyderm/pachyderm/v2/src/internal/metrics.inputMetrics(0xc00046d440, 0xc04496bdd0)
    /Users/nitin/Code/Pachyderm/pachyderm/src/internal/metrics/metrics.go:204 +0x3b6 fp=0xc02496c428 sp=0xc02496c3d8 pc=0x1dbd716
...additional frames elided...
created by github.com/pachyderm/pachyderm/v2/src/internal/metrics.NewReporter
    /Users/nitin/Code/Pachyderm/pachyderm/src/internal/metrics/metrics.go:45 +0x15b

What you expected to happen?:
nothing
How to reproduce it (as minimally and precisely as possible)?:
no idea
Anything else we need to know?:
stack overflow bad
Environment?:

Pachyderm CLI and pachd server version (use pachctl version):

pachctl             2.0.0-37123d555e457d07caf02221ead61d19c80d372d
pachd               2.0.0-alpha.21

Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s):
hub.pachyderm.com

Could we completely remove metrics from 2.0.0 and add it back in the 2.1.0 timeframe?  My current understanding is that it mostly doesn't work with auth enabled, and it might be nice to remove the complexity entirely.

That said, the error seems clear to me:
func inputMetrics(input *pps.Input, metrics *Metrics) {
        if input.Join != nil {
                // elided
        }
        if input.Group != nil {
                metrics.InputGroup++
                inputMetrics(input, metrics) // <- recurses without changing input or metrics. (also line 204 as the trace mentions)
                for _, item := range input.Group {
                        if item.Pfs != nil {
                                pfsInputMetrics(item.Pfs, metrics)
                        } else {
                                inputMetrics(item, metrics)
                        }
                }
        }

Looks like #5752 never made it to master @brycemcanally


expect 0 to return 零元整

currently it doesn't return anything

I don’t have this problem here, I input 0, and it returns "零元整"
import nomoney from "nomoney"

console.log("test return")
console.log(nomoney.stringify('0'))

:) stringify allows an integer.

0 is blocked by     if (!rmb) {
Good to know '0' works though. Thanks!

Okay, I know this bug, I will fix it

I have fixed this bug in version 1.0.3. upgrading your dependencies can solve this problem.

Thanks!


Update component version to 10.4.1, GeoEvent dependency to 10.4.1+, ActiveMQ to 5.16.0

This is mostly a dependency update:

OSGI bundle version updated to 10.4.1 (also the component version in GeoEvent Manager)

ActiveMQ version 5.16.0 (removing commented-out dependencies required for embedded peer or vm broker)

(comment updated to reflect current state)

OK, I will pull out the three embedded broker reference and move a separate branch. Then will delete them from this branch.

@hanoch we requested @eironside to review - I think that is all that needs to be closed off before it could be merged. With the revisions, I imagine it should be fine now though.


Could not chdir to submodule directory

Hi,
I just migrated Capistrano from 3.6 to 3.7.2 and bumped into a following error:
00:11 git:submodules:create_release
      01 git reset --mixed  office
    ✔ 01<EMAIL_ADDRESS>0.024s
      02 git submodule update --init --checkout --recursive
      02 Submodule 'shared'<EMAIL_ADDRESS>registered for path 'shared'
      02 Cloning into '/private/var/www/tp/releases/20170219083910/shared'...

      02 fatal: Could not chdir to '../../../../../../private/var/www/tp/releases/20170219083910/shared': No such file or directory
      02 Unable to fetch in submodule path 'shared'
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>git exit status: 1
git stdout: Submodule 'shared'<EMAIL_ADDRESS>registered for path 'shared'
git stderr: Cloning into '/private/var/www/tp/releases/20170219083910/shared'...
fatal: Could not chdir to '../../../../../../private/var/www/tp/releases/20170219083910/shared': No such file or directory
Unable to fetch in submodule path 'shared'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
SSHKit::Command::Failed: git exit status: 1
git stdout: Submodule 'shared' (https://user<EMAIL_ADDRESS>registered for path 'shared'
git stderr: Cloning into '/private/var/www/tp/releases/20170219083910/shared'...
fatal: Could not chdir to '../../../../../../private/var/www/tp/releases/20170219083910/shared': No such file or directory
Unable to fetch in submodule path 'shared'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/command.rb:100:in `exit_status='
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/netssh.rb:148:in `execute_command'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:141:in `block in create_command_and_execute'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:141:in `tap'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:141:in `create_command_and_execute'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:74:in `execute'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/capistrano-git-with-submodules-2.0.2/lib/capistrano/scm/git-with-submodules.rb:31:in `block (6 levels) in define_tasks'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:85:in `within'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/capistrano-git-with-submodules-2.0.2/lib/capistrano/scm/git-with-submodules.rb:26:in `block (5 levels) in define_tasks'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:93:in `with'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/capistrano-git-with-submodules-2.0.2/lib/capistrano/scm/git-with-submodules.rb:21:in `block (4 levels) in define_tasks'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:29:in `instance_exec'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/backends/abstract.rb:29:in `run'
/Users/danolee/.rvm/gems/ruby-2.3.1@rails4.2/gems/sshkit-1.12.0/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
Tasks: TOP => git:submodules:create_release
The deploy has failed with an error: Exception while executing as<EMAIL_ADDRESS>git exit status: 1
git stdout: Submodule 'shared' (https://user<EMAIL_ADDRESS>registered for path 'shared'
git stderr: Cloning into '/private/var/www/tp/releases/20170219083910/shared'...
fatal: Could not chdir to '../../../../../../private/var/www/tp/releases/20170219083910/shared': No such file or directory
Unable to fetch in submodule path 'shared'
** Invoke deploy:failed (first_time)
** Execute deploy:failed

All our applications get the same error. I will appreciate any help.

One thing aside: You probably want to change your nudge_dev thing, I and others received it via email.
Your issue seems to be with the git command itself, not sure how that can be caused by a capistrano update.
Let me try upgrading capistrano tomorrow and then I will see if I can reproduce the issue.

@1st8 thanks, I already did.

Just a quick update: I was running it with capistrano 3.7.1 before and now updated to 3.7.2 without problems.
I have no idea what your problem might be, sorry.

@1st8 I was using 3.6.1 and upgraded to 3.7.2 thus I had to switch submodule gem from old version to a newer version. Have you ever upgraded from old version to a newer version before? If so, is there any specific settings which I should update?

@nextofsearch did you remove settings of capistrano-git-submodule-strategy?

@ekho I did

@nextofsearch  Problem looks like not gem but git problem. Can you clone your repo on target host and than init submodules ?

@ekho I will try it and let you know. Thank you.
I just want to make sure one thing: I need to add these lines to Capfile, right?
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git
require "capistrano/scm/git-with-submodules"
install_plugin Capistrano::SCM::Git::WithSubmodules

@ekho I noticed a difference: when I use capistrano 3.6 and the old version of this gem, there is no .gitmodules in the releases/20170220134107 directory but with capistrano 3.7.2 and the new version of this gem, there is .gitmodules in the releases/20170220140236 directory. I am wondering this might cause the issue.

@ekho I cloned the repo on the target host and init sumodules without any issue.

Capistrano 3.7.2
00:07 git:clone
      The repository mirror is at /var/www/tp/repo
00:07 git:update
      01 git remote set-url origin https://adfresca.repositoryhosting.com/git/adfresca/tp-dev-fresca.git
    ✔ 01<EMAIL_ADDRESS>0.029s
      02 git remote update --prune
      02 Fetching origin
      02 From https://adfresca.repositoryhosting.com/git/adfresca/tp-dev-fresca
      02  * [new branch]      chore/capistrano3.7 -> chore/capistrano3.7
    ✔ 02<EMAIL_ADDRESS>3.875s
00:11 git:create_release
      01 mkdir -p /var/www/tp/releases/20170220140236
    ✔ 01<EMAIL_ADDRESS>0.026s
      02 git archive office | /usr/bin/env tar -x -f - -C /var/www/tp/releases/20170220140236
    ✔ 02<EMAIL_ADDRESS>0.058s
00:12 git:submodules:create_release
      01 git reset --mixed --quiet office
    ✔ 01<EMAIL_ADDRESS>0.038s
      02 git submodule update --init --checkout --recursive --quiet
      02 fatal: Could not chdir to '../../../../../../private/var/www/tp/releases/20170220140236/shared': No such file or directory
      02 Unable to fetch in submodule path 'shared'

Capistrano 3.6
00:30 git:clone
      The repository mirror is at /var/www/tp/repo
      The repository mirror is at /var/www/tp/repo
00:30 git:update
      01 git remote update
      01 Fetching origin
      01 From https://adfresca.repositoryhosting.com/git/adfresca/tp-dev-fresca
      01    bb224e1..147242f  office     -> office
    ✔ 01<EMAIL_ADDRESS>6.100s
      01 Fetching origin
    ✔ 01<EMAIL_ADDRESS>3.535s
00:40 git:create_release
      01 mkdir -p /var/www/tp/releases/20170220134107
    ✔ 01<EMAIL_ADDRESS>0.026s
      02 git clone --depth=1 -b office file:///var/www/tp/repo /var/www/tp/releases/20170220134107
      02 Cloning into '/var/www/tp/releases/20170220134107'...
    ✔ 02<EMAIL_ADDRESS>0.126s
      03 git remote set-url origin https://adfresca.repositoryhosting.com/git/adfresca/tp-dev-fresca.git
    ✔ 03<EMAIL_ADDRESS>0.027s
      04 git submodule update --init --recursive
      04 Submodule 'shared' (https://adfresca.repositoryhosting.com/git/adfresca/shared-dev-fresca.git) registered for path 'shared'
      04 Cloning into '/private/var/www/tp/releases/20170220134107/shared'...

      04 Submodule path 'shared': checked out '416e2f089e7d14558581e7ec6e4fcd100363fd65'
    ✔ 04<EMAIL_ADDRESS>412.439s
      05 find /var/www/tp/releases/20170220134107 -name '.git*' | xargs -I {} rm -rf '{}'
    ✔ 05<EMAIL_ADDRESS>0.100s
    ✔ 01<EMAIL_ADDRESS>0.090s
07:34 git:set_current_revision
      01 echo "147242f451e675db7e13e4460339ee2ab0591cf6" >> REVISION

Can you check the listed submodules in your_project/repo/config on your deployment host?
The ../../../../../../private/var/www/tp/releases/20170219083910/shared has to come from somwhere...

@nextofsearch
Next to lines created by cap init command
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

And to deploy with submodules you should add next two
require "capistrano/scm/git-with-submodules"
install_plugin Capistrano::SCM::Git::WithSubmodules

I think you can try to create another cap project with cap init command and compare newly created project with your existing to find difference and may be upgrade mistakes.

@1st8
It's in the .git file in the submodule directory of the releases/20170220144715
server:20170220144715 deployer$ cd shared
server:shared deployer$ ls -al
total 8
drwxr-xr-x   3 deployer  wheel   102 Feb 20 23:47 .
drwxr-xr-x  42 deployer  wheel  1428 Feb 20 23:47 ..
-rw-r--r--   1 deployer  wheel    60 Feb 20 23:47 .git
server:shared deployer$ cat .git
gitdir: ../../../../../../../var/www/tp/repo/modules/shared
server:shared deployer$ pwd
/private/var/www/tp/releases/20170220144715/shared

@ekho I checked it again but I see no difference.
BTW, the target host is Mac OS Sierra, not the usual Ubuntu servers. Will it make any differences?

Check your paths. Are there symlinks or something involved?
One thing that immediately looks weird is this:
You clone to /var/www/tp/releases/20170220134107
but the working directory is /private/var/www/tp/releases/20170220144715.
See the /private/ prefix? Maybe add it to the deploy path?

What is your git version on the target host?

@1st8
deployer$ git --version
git version 2.8.4 (Apple Git-73)

Hmm ok that shouldn't be a problem, I works with my old git version 1.9.1 ^^
Another (brute) thing to try: Clear your deployed folder (or its /repo subfolder) and try again. Maybe some repo caches are borken?

@1st8
I found that there is a symlink created by Mac OS Sierra:
tp deployer$ ls -al /var
lrwxr-xr-x@ 1 root  wheel  11 Jul  9  2016 /var -> private/var

I changed 'deploy_to' directory from '/var/www/#{fetch(:application)}' to '/private/var/www/#{fetch(:application)}' and it works flawlessly.
Thank you so much, @1st8 and @ekho!! I really appreciate it.

You're welcome, glad it worked ☺

I just ran into the same issue. This should be up on the readme! :)


Add support for "zero" "one" etc tags in plural

Is your feature request related to a problem? Please describe.
I have this message format You have {count, plural, zero {no followers yet} one {one follower} other {# followers}}.
This produces the following output: You have 0 followers.
I got the syntax from another library that implements ICU.
I also saw in the documentation that these tags are supposed to be supported.
It doesnt work for me. Im not sure if this is a bug, or not implemented or if Im just using it wrong.
I am using it via getTranslations in a react server component.
Describe the solution you'd like
I would like to be able to use "zero" and all other tags described in the documentation.
Describe alternatives you've considered
You have {count, plural, =0 {no followers yet} =1{one follower} other {# followers}}.
This syntax works and does the same type of stuff.

Yep, these should be supported as mentioned in the pluralization docs. Can you provide a reproduction that shows the erroneous behavior? The issue template is typically better suited if a feature doesn't work as expected.

Hi, I tried creating a bug report. Github wont let me.
Here is the repro repo: https://github.com/Maskoe/next-intl-bug-repro-app-router

Oh, I see now—thanks for the repro. I did a quick check previously and found that "one" worked correctly, so I thought it must bug in the app setup.
However, this is in fact working as intended as tags like "zero" and "one" are only supported for languages which have special grammar rules for these cases. In your case, English doesn't have special grammar for "zero" since it has only two plural forms in total (one/other). So for your example you need to use =0 to get special handling in English.
See also:
new Intl.PluralRules("en").select(0); // other
new Intl.PluralRules("lv").select(0); // zero

I've clarified this in the docs now in https://github.com/amannn/next-intl/pull/964.
Thanks for the report, this was an oversight on my side!


moment.weekdays() and moment.localeData().weekdays() have different function signature

Description of the Issue and Steps to Reproduce:
Normally, you can get a list of weekdays like so: moment.weekdays() and if you want them ordered in a localized way (such as Montag/monday as first day of week for Germany) you can do moment.weekdays(true)
But when using the "Accessing locale specific functionality" approach (https://momentjs.com/docs/#/i18n/locale-data/), the .weekdays() method throws the error Uncaught TypeError: m.day is not a function if you try to pass true as the first argument  ... localeData = moment.localeData(); localeData.weekdays(true)
And if you omit the first argument to weekdays, then you get the days names in the correct localized language, but they are not in the correct localized order (first day of week is always Sunday [incorrect] but the day name are in the localized language [correct])
What I'd like to do is use an "instance specific locale"  (DE) https://momentjs.com/docs/#/i18n/instance-locale/ and then get the weekdays array in a localized way (with montag/monday as the first day of the week), but I can't seem to get around the .weekdays(true) error
moment.locale('en'); // default the locale to English
const localLocale = moment();
localLocale.locale('de'); // set this instance to use German

localLocale.locale(); // --> 'de' (confirm instance is German)
moment.locale(); // --> 'en (confirmglobal is still default/English)

localLocale.localeData().weekdays(); // --> (7) ["Sonntag", "Montag",  ...] (week starts on Sonntag/Sunday but I want Montag/Monday

localLocale.localeData().weekdays(true); // --> Uncaught TypeError: m.day is not a function (was hopeful for Montag/Monday as first day of week

moment.weekdays(true); // --> (7) ["Sunday", "Monday", ...] (still works for default/english)

moment.localeData().weekdays(true); // --> Uncaught TypeError: m.day is not a function

Environment:
This can be replicated in the dev tools console on the momentjs.com/docs site (I tried in Chrome 69/MacOS)
moment.locale('de')
localeData = moment.localeData()
localeData.weekdays(); // starts with 'Sonntag' (Sunday) but should be Montag/Monday
localeData.weekdays(true);  // throws error
Other information that may be helpful:

The time zone setting of the machine the code is running on
The time and date at which the code was run
Other libraries in use (TypeScript, Immutable.js, etc)

If you are reporting an issue, please run the following code in the environment you are using and include the output:
console.log( (new Date()).toString())
// Thu Sep 20 2018 14:34:30 GMT+0200 (Central European Summer Time)
console.log((new Date()).toLocaleString())
// 9/20/2018, 2:34:30 PM
console.log( (new Date()).getTimezoneOffset())
// -120
console.log( navigator.userAgent)
// Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
console.log(moment.version)
// 2.22.2

Hi, I have solved this issue, and run all the tests and they all passed correctly. I have some doubts to make a pull request. Is it okay to create on local repository a branch for this fix, based on developing one and then pushing this new branch, and create a pull request to develop from this newly created branch? Thanks


Question about  the scene is bounded in box

Thanks for your great work. I noticed the following words you said in the readme：
"Instead of assuming the scene is bounded in the unit box [0, 1] and centered at (0.5, 0.5, 0.5), this repo assumes the scene is bounded in box [-bound, bound], and centered at (0, 0, 0). Therefore, the functionality of aabb_scale is replaced by bound here."
Is there any consideration for doing this?

Not really, just a convention decided at first time. Maybe I'll consider changing to the original implementation, since mine has caused some problems in ray marching.

It seems this will not worsen the rendering quality, closed for now.


Cherrypick 760322a71ac9033e122ef1f4b1c62813021e5938 on r2.10

Security fix

There won't be any more patches to 2.10 and before. So closing this.


Adding libPhoneNumber-iOS to SPM in Xcode fails

Package resolution fails on Xcode 12.

Use the version from the master branch.

This happens on the master-version.

Can you Please Guys apply the solution of this commit 868139c because it works and when i tried to get the latest version of 1.0.2 it doesn't

Hi, can you please merge this change?

As a follow up on this, there still seems to be an issue here...


Throw exception when empty inputs found

When input retrieved from stream_get_contents
is empty string, then it would be safe to throw
exceptions from the parse and expect methods.
Signed-off-by: Sujith H<EMAIL_ADDRESS>master version of #166

@staabm mind reviewing? THX

FYI - this is just the merge of the original PR which targeted 2.1 - see #166


only mark channel seen if user pauses

If you're using C+n/p to cycle through channels, we should probably only mark the channel as read if the users pauses on a channel for a bit (say 2 seconds?). This would make it easier to use the keybindings to move a few channels without "reading" any of the intermediate channels.

I've wondered about this approach, too. I think it's tricky thing because the timeout would have to be chosen carefully so that it never requires you to sit on a channel on purpose long enough to mark it as read (which you won't be able to observe).
This bites me whenever I want to move to a channel that is a few channels away from where I am, with unread messages in between.  It occurred to me that another approach would be to add a shortcut key that lets you start typing a channel name and then hit Enter to switch to the one that matches what you've typed - it's a little hard for me to describe, so perhaps I should hack it up on a branch to show what I mean.  This is part of my thinking about ways to make C-n/C-p either behave better or be completely unnecessary.

(And the approach I described would be nice anyway, irrespective of whether you want to manage unread message states - I just find it annoying to have to type /focus.)

Okay, this is now in master - try it out!  Workflow:

Press C-g.
Start typing a channel name or user name.
Partial matches are shown.
If a unique match is available, pressing Enter will change to that channel.
Backspace does what you want.
Esc returns to normal mode.

I want to also make it so you can maybe hit Tab to cycle between candidates, but at least for now that's usually unnecessary because most unique prefixes are short.

Any opinions on whether this can be closed? I'm in favor of closing since I think we side-stepped this issue with the navigation improvements.

I consider this has been addressed well enough that it can be closed.


mpv-playlistmanager: unstable-2022-08-26 → unstable-2022-12-14

Description of changes
Update mpv-playlistmanager and make find/replace of yt-dlp binary more specific (there were (harmless) false positives before).
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

There have been updates since, so I have continued in  #248422


Triage finschia-sdk#1113

Desc

Doc: adding event breaking section in CHANGELOG

Suggestion(Abandon/Maintain/Submit)

Maintain: finschia-sdk

Links

https://github.com/Finschia/finschia-sdk/pull/1113


cell-click triggering event; coloring certain cells

Hello Oscar,
First of all, thank you so much for your work on this; AG Grid is great and it's great to be able to use it with Python. I'm currently using it to make a pivot table, and I'm trying to

have a cell trigger an event when clicked
have any cell whose value satisfies a certain property (i.e. contains a string longer than 10 characters) be colored red. (I've seen the example with even/odd being red/blue, and the example where a pivot option is gold, but have not been able to translate from that.)

Are these possible using ezaggrid?
Thank you so much,
Meir Retter

First I would like to clarify that ezaggrid is as transparent a wrapper to the aggrid JS lib as possible.
Consequently when using ag-grid I advise to search the official ag-grid documentation for examples. It is very very well done - with live (plunker) examples you can start from to build your prototypes. But that means you must be reasonably proficient in JS/CSS, not just Python. There is no intention to hide JS code config from the user with a proprietary layer, on the contrary, transparency means ezaggrid is more likely to work with future versions of ag-grid JS lib.
I'll take your points in reverse order:

To style a cell depending on its value, see this page in the doc. You mention my example with the even/odd values being red/blue in the notebook demo_ezaggrid_compress_data. The key variables are css_rules and ccf. I would (1) redefine the css classes with relevant names (e.g. background-white,  background-blue) and the background-color CSS property, and (2) change the function selecting the class to check the length of the string e.g. return params.value.toString().length > MYLIMIT ? 'my-class-red' : 'my-class-white';.

A cell can trigger an event, but that event will stay within the javascript and there is no channel to propagate it back to Python. This is a strong limitation of this very simple ez* type of Python package (I've done it with several js libraries, ezhc, ezvis3d) which writes js from Python and sends it to the browser which in turns displays it as it would any regular web page. This is why we are working on ipyaggrid, an ipywidget that will enable bi-directional communication Python-Javascript. For more info on ipywidgets, I recommend this article. We hope to have published a first version of ipyaggrid within a month.

Hope this helps.
Rgds

As mentioned earlier, ipyaggrid is available. See the links in the README.
Closing the issue


Added option for webpack-dashboard.

This is just an idea right now but i'd like to support the webpack-dashboard plugin. Right now this just adds the proper plugin but to run kotatsu with dashboard, the command would need to look something like this:
webpack-dashboard -- kotatsu serve \
  --dashboard

I would prefer to call the webpack-dashboard from the serve command but my experience with node is limited and I can't figure out how to hook these things up.

Hello @psachs21. This is a nice idea but I don't want to add webpack-dashboard as a dependency of kotatsu since it is quite heavy. Furthermore, it is very easy to use with kotatsu by using a custom webpack configuration. One thing that you would need however, is to be able to suppress kotatsu's logs in order not to break the blessed rendering of the dashboard.

@Yomguithereal, that makes sense. I'll take a look at moving in that direction instead. Thanks for the quick response!


Land ConnectionPool

Codecov Report

Merging #428 (7ebc0d3) into main (472ff4a) will increase coverage by 1.67%.
The diff coverage is 69.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
+ Coverage   59.01%   60.69%   +1.67%
==========================================
  Files         120      121       +1
  Lines        9188     9476     +288
==========================================
+ Hits         5422     5751     +329
+ Misses       3766     3725      -41

Files
Coverage Δ

...urces/ConnectionPoolModule/NIOLockedValueBox.swift
100.00% <100.00%> (ø)

...urces/ConnectionPoolModule/ConnectionRequest.swift
62.16% <56.25%> (+2.16%)
:arrow_up:

...ources/ConnectionPoolModule/PoolStateMachine.swift
81.30% <47.05%> (+13.88%)
:arrow_up:

Sources/ConnectionPoolModule/ConnectionPool.swift
74.89% <74.36%> (+74.89%)
:arrow_up:

... and 4 files with indirect coverage changes


[WIP] Add a wrapper class for etils.epath

Add a wrapper class for etils.epath to make the behaviour of the APIs we needed exactly like pathlib.Path's.

Superseded by https://github.com/google/jax/pull/22253


Handle 'input' events such as making a selection from the autocorrect…

… menu when a misspelled word is right-clicked

I would like to suggest to separate out the styling fixes (the semicolons) from the actual fix.

@mauritslamers You got it.

@nelsonwong1012 feel free to add another commit to this PR to fix the missing semicolons, it is just better that they are in a separate commit.

@mauritslamers Sorry, I misunderstood and thought you didn't want those semicolons in this PR. They're added now.

@mauritslamers Good idea. Yep, that works. Should I just add a commit with this change or should I get rid of my first commit?

if you could replace your first commit with the new one, that would be the best. Thanks a lot!

@mauritslamers Done!

Merging. Thanks a lot!

One little thing still: do you think there is a way to create a test for this, so it can be checked in continuous integration tests?

@mauritslamers I'd be happy to add tests for this but my test writing experience is limited to a few unit tests in React and some Selenium acceptance tests. Do you have any suggestions on how to go about this? Maybe trigger an input event? Got any examples of similar tests I can reference?

Check out https://github.com/sproutcore/rich-text-editor/tree/master/tests. SC uses QUnit under the hood, but wraps it.
For event triggering, this might help: https://github.com/sproutcore/rich-text-editor/blob/master/tests/views/wysiwyg_editor_view.js#L80


Add a text? predicate for validating that a string contains non-whitespace characters

I have multiple projects now which use dry-validation. I am finding myself frequently reaching for this custom predicate in each:
module MyProject
  module Predicates
    include Dry::Logic::Predicates

    # Based on https://en.wikipedia.org/wiki/Whitespace_character#Unicode
    # Matches official ASCII and Unicode whitespace as well as characters
    # which are effectively whitespace characters
    effective_whitespace = "\u200B\u200C\u200D\u2060\uFEFF"
    WHITESPACE_PATTERN = /\A[[:space:]#{effective_whitespace}]*\z/

    def self.contains_text?(string)
      WHITESPACE_PATTERN !~ string
    end
    predicate(:contains_text?, &public_method(:contains_text?))
  end
end

Usage is usually
Dry::Validation.Schema do
  configure { config.type_specs    = true }
  required(:foo, :str).filled(:str?, :contains_text?)
end

Basically I want to assert that the value is a non-empty string with at least one character that isn't whitespace.
This seems generic enough to be a built-in predicate

This won't be added. We can consider stripping strings in Params by default and then filled will work (or any length-checking predicate). Regardless of how we handle this exactly, it will not be implemented in a predicate in dry-logic.


Should solve NullPointerException in JFXSnackbar constructor

Trying to refresh the container before registering it caused a NullPointerException.
This little modification should solve it.

Thanks :+1:


Deleted events re-appear

Hi,
When a synced event in a sink is deleted, it will be re-added on the next sync.
Could have a local store that keeps track of this and does not re-add deleted events in the sink?
Many thanks
T

Hi! We thought about this, but wouldn't it make more sense to delete the event in the source calendar then?

Not necessarily, because in my use case, i'd like the target calendar for my company to be up to date with my availabilities but the source calendar i would not decline / delete events as they might still be relevant eg when i would want to send somebody else or follow up on meetings that happened without me. These are mostly meetings with 100+ people.


Does Martin support dynamically refreshing PostGIS tables?

Please, I use Martin to link to PostGIS, and then use qgis data manager to import a new shafile into PostGIS as a new source, but I can't see the new source in Martin. Does Martin support dynamically refreshing PostGIS tables?

It has been a long-requested feature - duplicate of #288

Thanks.


Access x-ratelimit* headers in tumblr.js

Is there a way to access the headers from the request tumblr.js makes. I need access to the x-ratelimit headers tumblr sends. I don't believe there's anything that exposes them, and also can't monkey patch easily since it's a privately scoped function.
function requestCallback(callback) {
  if (!callback) return;
  return function (err, response, body) {
    if (err) return callback(err);
    var ratelimit_headers = {};
    for(var key in response.headers) {
      if(key.match(/x-ratelimit/)) {
        ratelimit_headers[key] = response.headers[key];
      }
    }
    /* HERES MY RATE LIMIT HEADERS */
    console.log("RATELIMIT HEADERS: ", ratelimit_headers);
    if (response.statusCode >= 400) {
      var err = body.meta ? body.meta.msg : body.error;
      return callback(new Error('API error: ' + response.statusCode + ' ' + err));
    }
    return callback(null, body.response);
  };
}

What about just returning the response object for non-error responses as the 3rd argument here:
if (body && body.response) {
    return callback(null, body.response, response);
}

That would work

closing this since third argument has been added in v1.0.0: https://github.com/tumblr/tumblr.js/blob/477600f2fd3128e61b0a6536297b9224329fcad6/lib/tumblr.js#L108-L129


Attribute and autoinit annotations

A big set of loosely coupled but related changed on the annotations on attributes and methods.
Here is a summary of the changes on the user-side:

No more special case for the kind of classes, so you can use autoinit in interfaces.
Initial value in attribute use the setter instead of a low-level direct assignment.
Explicit annotation autoinit is understood on attributes and is the default on value-less concrete attribute.
Abstract attributes are noautoinit by default, if autoinit is given, it is applied on the setter. This way abstract attributes are basically just a couple of getter-setter. close #1311
Abstract attribute can have a default value. This will call the setter. close #1310

This way there is less special cases and behaviors. Still more work is required to finish #1322.

:shipit:

+1

+1

+1

For some reason this broke nit with nit. Quite strange.

reroll: removed the initialization with setter things #1310 as it broke some code in the parser (possibly in the generated code). It's a mess to debug so I just removed this part of the PR to have the rest integrated.


Click event on Element Interval or Point Label

Hi,
Is it possible to add click event on Element Interval or point label? i needed like drill to details action.
Thanks.

Did you solve it?
I'm in same boat!