Ignore comments not working

Hi @kdheepak,
Thanks for your work on this project, it's super helpful 🙏🏿. I just added it to my https://github.com/akinsho/toggleterm.nvim plugin, but I'm seeing that when I use the ignore comments to try to omit the HTML at the start of the README the rest of the help doc is not converted correctly ie.

  toggleterm.nvim

A neovim plugin to persist and toggle multiple terminals during an editing session

![screenshot](./github/toggleterm.gif "Toggleterm in action")

### Multiple orientations

- **Float**

![floating window](https://user-images.githubusercontent.com/22454918/115306123-42d2ac00-a15f-11eb-84fc-c4246ee82a09.png)

- **Vertical**

![vertical orientation](./github/vertical-terms.png)

- **Tab**

![tab orientation](https://user-images.githubusercontent.com/22454918/133490969-6a59e623-79db-4ca7-a73b-ef4b24a73b91.gif)

### Send commands to different terminals

![exec](https://user-images.githubusercontent.com/22454918/112119367-36d1e980-8bb5-11eb-9787-5936391127a3.gif)

When adjusting the README to the above, this does not work as intended and the rest of the README is omitted during the conversion

Try it like this:

  toggleterm.nvim

A neovim plug

![screenshot](./github/toggleterm.gif "Toggleterm in action")

### Multiple orientations

…

Whatever is in between the star and end comment “tag” is ignored. Does that make sense?

Will give that a shot. So do I essentially have to wrap each html tag individually? I wonder why the the tags placed as they are in my example don't work i.e. both start and end are present it just doesn't seem to catch the end tag in my example

So do I essentially have to wrap each html tag individually?

If you want the html tag to appear in the markdown, and do not want them to appear in the vimdoc, you'll have to do that.

What do you mean it doesn't catch the end tag?

This script is what replaces everything between start and end tags with empty pandoc objects: https://github.com/kdheepak/panvimdoc/blob/main/scripts/skip-blocks.lua

@akinsho is this working for you? If yes, I'll close this issue.

Sorry @kdheepak for leaving this open for this long, I've actually been completely sideswided by work and life and haven't had the opportunity to try it yet. I'll give it a go this evening and report back. If you don't hear back from me, just close the issue and I'll comment on here something if comes up

No worries, I’ve been swamped with work too. I can leave it open until you get back. I just tested it too, so I’m pretty sure it works as a GitHub action with the pandoc version in the docker image. So I’m curious what’s going on on your end.

@kdheepak I just tried again wrapping each tag I wanted to exclude manually and it essentially removes all the contents from my help file.

  toggleterm.nvim

A neovim plugin to persist and toggle multiple terminals during an editing session

![screenshot](./github/toggleterm.gif "Toggleterm in action")

### Multiple orientations

- **Float**

![floating window](https://user-images.githubusercontent.com/22454918/115306123-42d2ac00-a15f-11eb-84fc-c4246ee82a09.png)

- **Vertical**

![vertical orientation](./github/vertical-terms.png)

- **Tab**

![tab orientation](https://user-images.githubusercontent.com/22454918/133490969-6a59e623-79db-4ca7-a73b-ef4b24a73b91.gif)

### Send commands to different terminals

![exec](https://user-images.githubusercontent.com/22454918/112119367-36d1e980-8bb5-11eb-9787-5936391127a3.gif)

This results in
*toggleterm.txt*plugin to persist and toggle multiple terminals during an editing session

==============================================================================
Table of Contents                               *toggleterm-table-of-contents*

Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>

vim:tw=78:ts=8:noet:ft=help:norl:

I'm able to replicate this! I'll look into this now.

I know what is going on but I don't know how to solve it. Basically, pandoc runs the filter for all RawInline elements before it runs the filter for RawBlock elements. And this means that if you have:

![screenshot](./github/toggleterm.gif "Toggleterm in action")

It gets parsed as
{
  "pandoc-api-version": [
    1,
    22,
    1
  ],
  "meta": {
    "project": {
      "t": "MetaString",
      "c": "panvimdoc"
    }
  },
  "blocks": [
    {
      "t": "RawBlock",
      "c": [
        "html",
        ""
      ]
    },
    {
      "t": "Para",
      "c": [
        {
          "t": "Image",
          "c": [
            [
              "",
              [],
              []
            ],
            [
              {
                "t": "Str",
                "c": "screenshot"
              }
            ],
            [
              "./github/toggleterm.gif",
              "Toggleterm in action"
            ]
          ]
        },
        {
          "t": "SoftBreak"
        },
        {
          "t": "RawInline",
          "c": [
            "html",
            ""
          ]
        }
      ]
    }
  ]
}

The easiest solution to this is to add new lines before and after all "comment" tags, e.g.:

  toggleterm.nvim

A neovim plugin to persist and toggle multiple terminals during an editing session

![screenshot](./github/toggleterm.gif "Toggleterm in action")

### Multiple orientations

- **Float**

![floating window](https://user-images.githubusercontent.com/22454918/115306123-42d2ac00-a15f-11eb-84fc-c4246ee82a09.png)

- **Vertical**

![vertical orientation](./github/vertical-terms.png)

- **Tab**

![tab orientation](https://user-images.githubusercontent.com/22454918/133490969-6a59e623-79db-4ca7-a73b-ef4b24a73b91.gif)

### Send commands to different terminals

![exec](https://user-images.githubusercontent.com/22454918/112119367-36d1e980-8bb5-11eb-9787-5936391127a3.gif)

This gets rendered as the following:
*panvimdoc.txt*          For NVIM v0.7.0          Last change: 2022 January 26

==============================================================================
Table of Contents                                *panvimdoc-table-of-contents*

MULTIPLE ORIENTATIONS ~

- **Float**

- **Vertical**

- **Tab**

SEND COMMANDS TO DIFFERENT TERMINALS ~

Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>

vim:tw=78:ts=8:noet:ft=help:norl:

I added a section to the specification documentation: https://github.com/kdheepak/panvimdoc/blob/c50c5d5b898dbf1f850f0144f5b7f863bb4f1d8c/doc/panvimdoc.md?plain=1#L319-L335.
Short of using a different markdown parser, this appears to be the only way to resolve this issue.

Awesome, that works, thanks 👍🏿


HUBDEV-1728

Add bug fixes

SonarQube analysis reported 2 issues

 1 major
 1 info

Watch the comments in this conversation to review them.


[PkgConfig] Do not emit 'pkg-config not installed' diagnostic unless we failed to find a pc file

This change makes the emitting the "failed to retrieve search paths with pkg-config; maybe pkg-config is not installed" diagnostic happen lazily and only if an expected pkg-config file was not found.
Without this change, the diagnostic is emitted with every build if pkg-config is not installed on the system.

I updated the PR, any chance we can sneak this in before Xcode 11 goes GM? This issue is particularly annoying in an IDE.

@swift-ci smoke test

The build failure is ":0: error: cannot load underlying module for 'Dispatch'"
... This doesn't seem to be related

Cherry-pick PR: https://github.com/apple/swift-package-manager/pull/2218

@swift-ci smoke test linux


Docs.MS CI Updates for Microsoft.Azure.WebJobs.Extensions.Storage

CI Update for release of Microsoft.Azure.WebJobs.Extensions.Storage

Docs Build status updates of commit 34173ca:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 34173ca:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

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


Different image urls give same hash

private func hash(u: String) -> String {
    var url = u
    let len = count(url)-1
    if url[advance(url.startIndex,len)] == "/" {
        url = url[url.startIndex..<advance(url.startIndex,len)]
    }
    let size: Int = count(url)
    var hash: Int64 = Int64(size / 2)
    for codeUnit in url.utf8 {
        hash = hash + (Int(codeUnit) * 101)
    }
    return "\(hash)"
}

returns same hash for different urls.
https://allappwestus.blob.core.windows.net/images/caef4757-b825-4daa-bdba-283d90144404.jpg
https://allappwestus.blob.core.windows.net/images/5cbd969d-5432-4140-b1af-6ae0d38b05bf.jpg

Indeed it does. It is possible for any hashing algorithm to have collisions, but I think the hashing algorithm could be improved. I say we try changing the algorithm to this:
private func hash(u: String) -> String {
    var url = u
    let len = count(url)-1
    if url[advance(url.startIndex,len)] == "/" {
        url = url[url.startIndex..<advance(url.startIndex,len)]
    }
    var hash: UInt32 = 0
    for codeUnit in url.utf8 {
        hash += UInt32(codeUnit)
        hash ^= (hash >> 6)
    }

    hash += (hash << 3)
    hash ^= (hash >> 11)
    hash += (hash << 15)

    return "\(hash)"
}

Appears to have a better distribution.

Great! Thank you for great work


Update packagecontroller install command for registry mirror

Uses registry mirror for package controller install if specified in cluster spec.

/re-test

/cherrypick release-0.14


[Specs] Rename All The Things

Deliverables

Rename Fisherman to Watcher
Rename Servicer to Supplier

Origin Document

https://github.com/pokt-network/pocket/issues/956
https://github.com/pokt-network/pocket-network-protocol/pull/46#issuecomment-1753554085

Too general.


feat!: add story and knob description fields (@next)

Description

This is a replacement PR for #60 that targets the next branch.

This PR adds an optional description field to the Story class all available knobs, along with the logic to display these descriptions (if provided).
A list of all the changes can be found below.
If you have any questions or want additional information, feel free to reach out. Great library, by the way! 😄

Story descriptions
Knob descriptions

Summary of changes

FEAT: Add description field to stories and all knobs.
CHORE: Add docs to all knobs.
FIX: Fix bug where desktop users could not enter space in text knob fields.
CHORE: Version bump.

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Hey there,
Thanks for the feedback! I've implemented all the points you mentioned, so the PR should be good to go for a re-review 👍🏻

Thanks again! Feedback implemented 👍🏻


'ngFileUpload' and Django Rest Framework

Hello, can someone answer this post on stack overflow regarding the data passed from angularjs' ngFileUpload to Django Request Framework. The link is http://stackoverflow.com/questions/36077602/ngfileupload-and-django-rest-framework

May I know why this is closed? as it has not yet been answered or solutioned

It is a server side question and is available on SO so you can follow it there

I can not agree with you because the client side manipulated the data.
From:
{ 'principal_master' : '{ "id": "1"}', 'file': [<InMemoryUploadedFile: adgc.jpg (image/jpeg)>], 'username': ['dsadasd']  }
To:
{ 'principal_master[id]': ['1'], 'file': [<InMemoryUploadedFile: adgc.jpg (image/jpeg)>], 'username': ['dsadasd'] }


Keeping Ejected App up to Snuff

Description
Hey all, I want to spin up an app that uses a combination of AR & OpenCV. The Expo team is magnificent, and is already tackling the former.
Unfortunately, I think OpenCV is a bit more of an obscure requirement, and I don't think they'll be tackling it any time soon. I'm fairly confident I could contribute a cross-platform native module ... but see here:
https://forums.expo.io/t/how-to-contribute-to-the-expo-sdk-add-native-code/4458
Understandable. So my question now becomes: once I eject and add custom native modules, how hard is it to keep up to date with this repo? I will be ejecting to ExpoKit, if that makes any difference.

You might get a better response on forums.expo.io, but fwiw I think the pain of keeping a detached project up to date more or less scales with the number & complexity of the native modules you bring in.


docs: Fix inadvertent double bullets in bulleted lists

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
What docs page needs to be fixed?
Various
What is the problem?
Some items in bullet lists are preceded by multiple bullets. Typically only a single bullet is expected.
What changes does this PR make to fix the problem?
Remove the extra bullets and ensure the item is at the correct indentation level in the list.

Thanks!


bugfix double code return

When removing an aouth code and returning a token, the code service might return a token even if the code deletion fails.
Changed the service to return a token only if the code service succesfully removes the code.
This is a fix for the bug described in Issue #511

if it's a bugfix please add the relative issue

Edited original post to include an issue describing the bug


Add support for Mode trait in Google Assistant.

Description:
Add support for Modes Trait for Google Assistant.
Requires a pre-defined set of definitions for "settings"
https://developers.google.com/actions/reference/smarthome/traits/modes
Code will try to match media_player sources to available settings and present them to Google Assistant.
Modes are currently only supported by media_players but the structure is there to support other device TYPES as needed.
Related issue (if applicable):
Relates to feature request here:
https://community.home-assistant.io/t/control-denon-receivers-via-google-assistant/80126
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#7683
Example entry for configuration.yaml (if applicable):
No changes.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

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

[x] Documentation added/updated in home-assistant.io

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

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc
Not applicable..

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Nice! 🎉

Does this mean that Home Assistant will soon support controlling my Bluesound media player with Google Assistant, which does not work right now?

I never had issues turning on and off my receiver during testing.
Looking at the media_player.bluesound code, that component does not support the on/off feature in HA.

Looking at the media_player.bluesound code, that component does not support the on/off feature in HA.

That makes sense to me, since you would not want to turn your Bluesound media player on/off, you would want to make it play/pause. Might there be a way to turn the Google Assistant command “turn media player on/off” into the HA service call “media_player.media_play/media_player.media_pause”?

This is a bit off topic for this pr. Any change would affect all media_players, I'm not sure if that's something we'd want to do. Might be able to reverse engineer what GA does for chromecasts.

Wouldn't it be both possible and relevant to make the module ask (sorry for my layman language, I have no idea about the technical site of this): "Does this media player support on/off?" "No." "Okay, I'll sent play/pause commands instead"?

Or would it be possible with the mode trait supported to enable a command like "set media player to play" and "set media player to pause"?

No discussion in merged PRs.


Update review help to let people know that they can review projects twice

@shereefb commented on Tue Jul 05 2016
If I want to update my numbers, I can just re-submit the command. It would be great to have this clarified in the documentation of the command.

Tracked here: https://github.com/LearnersGuild/game-cli/issues/53


SQLite backend does not close database

I'm playing around with sqlx for sqlite databases, and I'm running into issues with it not properly closing connections even when calling Pool::close() and dropping all connection handles. It leaves db-wal and db-shm temporary files in the working directory, and I end up with errors about the table being locked when attempting to load a database file again that's been improperly closed.
Here's a basic example that opens a database, executes a few queries, then exits - there'll be various temporary files left over once the program ends:
use sqlx::sqlite::SqlitePool;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let pool = SqlitePool::new("sqlite://test.db").await?;
    sqlx::query("create table if not exists test (foo text);").execute(&pool).await?;
    sqlx::query("insert into test (foo) values (?)")
        .bind("bar")
        .execute(&pool).await?;

    pool.close().await;

    Ok(())
}

I'm using sqlx 0.3.4 with features ["runtime-tokio", "macros", "sqlite"].
Do let me know if I'm just missing something obvious, but it doesn't seem so.

Sorry that this his happening. Can you reproduce this without using the pool? To try and narrow this down. You can connect directly using SqliteConnection::connect.

I'm getting the same issue with this code:
#[tokio::main]
async fn main() -> sqlx::Result<()> {
    let mut conn = sqlx::SqliteConnection::connect("sqlite://test.db").await?;

    sqlx::query("create table if not exists test (foo text);")
        .execute(&mut conn)
        .await?;

    sqlx::query("insert into test (foo) values (?)")
        .bind("bar")
        .execute(&mut conn)
        .await?;

    Ok(())
}

After some investigating, I think that self.statement also needs to be dropped here, otherwise the connection is being closed before all statements have been finalized.


backblaze-b2: 2.1.0 -> 2.4.0

Motivation for this change
backblaze-b2:  https://github.com/Backblaze/B2_Command_Line_Tool/releases/tag/v2.4.0
python3Packages.b2sdk: https://github.com/Backblaze/b2-sdk-python/releases/tag/v1.7.0
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 121374 run on x86_64-linux 1

8 packages built:

backblaze-b2
deja-dup
duplicity
duply
python38Packages.b2sdk
python38Packages.rst2ansi
python39Packages.b2sdk
python39Packages.rst2ansi

Result of nixpkgs-review pr 121374 at 6a85c1d2 run on x86_64-linux 1

8 packages built successfully:

backblaze-b2
deja-dup
duplicity
duply
python38Packages.b2sdk
python38Packages.rst2ansi
python39Packages.b2sdk
python39Packages.rst2ansi

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/b2sdk/default.nix:61:3:
   |
61 |   meta = with lib; {
   |   ^

Duplicate of #121250


Convert to ghc-9.2.1

This is a complete port of HLint to the ghc-9.2.1 parse tree. All tests pass.

Cc @alanz All done mate.

Awesome work!

GHC 9.2.1 is now out. Thoughts on this?

GHC 9.2.1 is now out. Thoughts on this?

Got it. Time to move on it then. Leave it with me for now and I'll keep you posted.

For the apply-refact part it will need me to complete my current ghc-exactprint update.  Which is getting close.

I'm in no tearing rush - a leisurely upgrade is fine :)

i rebased this branch on master today (oct 30, 2021).
the tests all pass but this one in 'Extensions.hs':
{-# LANGUAGE DeriveGeneric, TypeFamilies #-} \
data family Bar a; data instance Bar Foo = Foo deriving Generic

which produces the apparently unexpected output
Note: Extension DeriveGeneric is not used

(using the 9.2.1 release candidate ghc-lib-parser-<IP_ADDRESS>10509.tar.gz that the stack.yaml on this branch arranges to use)
this test was introduced only recently in https://github.com/ndmitchell/hlint/pull/1277. @zliu41 as the author of that test might i trouble you to take a look? i removed the test for the moment.
this puts us in a good place for the next step: upgrade this branch to the ghc-lib-parser and ghc-lib-parser-ex  newly released 9.2.1 official versions.

fixes issue https://github.com/ndmitchell/hlint/issues/1314

@shayne-fletcher Removing that test for now is good. Once you make cabal build work for this patch, I can look into it - otherwise it's difficult for me to investigate.

@shayne-fletcher Maybe it's good to go now for GHC 9.2.1?

@shayne-fletcher Maybe it's good to go now for GHC 9.2.1?

yep, it's high priority with us too. don't worry @LeventErkok , we got you! little patience please 😉

@ndmitchell i believe this is ready to merge. all 813 tests pass locally. please note that minimum build compiler is now 8.10.1.

p.s. locally my testing was with refactor-<IP_ADDRESS>

@shayne-fletcher Removing that test for now is good. Once you make cabal build work for this patch, I can look into it - otherwise it's difficult for me to investigate.

@zliu41 cabal v2-build on this branch works as you'd hope for now!

Thanks! @shayne-fletcher  - can you add a CI for GHC 9.2 and remove it for GHC 8.8 (see the .github/workflows).
It seems the Windows and Mac CI are both bust installing apply-refact. Any idea why?
I'll take a peek through the code now

Thanks! @shayne-fletcher - can you add a CI for GHC 9.2 and remove it for GHC 8.8 (see the .github/workflows).

pushed

It seems the Windows and Mac CI are both bust installing apply-refact. Any idea why?

no idea about that sorry.

I'll take a peek through the code now

It seems the Windows and Mac CI are both bust installing apply-refact. Any idea why?

It depends on ghc-exactprint, the release on hackage does not compile with GHC 9.2.1 as released.
I will be making a new release tomorrow,  just need to clean up a few tests

Thanks @alanz - my plan is to hold this PR in limbo a few days, merge nothing else to the repo in the intervening time, and wait for ghc-exactprint, then pull the trigger on this.

I just published ghc-exactprint-1.3.0

hi, if all's good can we merge this ? looking forward : )

It's got to the stage where we need to move, so landing, and will fix forward if we need to.

Merged, but all the CI is red on GHC 9.2 because apply-refact is not yet GHC 9.2 compatiblehttps://github.com/mpickering/apply-refact/issues/114

I am working on the failing tests for apply-refact, and came across Bracket7, which has
yes = if (f x) then y else z

and a corresponding apply-refact refactoring of
[("tests/examples/Bracket7.hs:1:10-14: Suggestion: Redundant bracket\nFound:\n  if (f x) then y else z\nPerhaps:\n  if f x then y else z\n"
,[Replace
  { rtype = Expr
  , pos = SrcSpan {startLine = 1, startCol = 10, endLine = 1, endCol = 15}
  , subts = [("x",SrcSpan {startLine = 1, startCol = 11, endLine = 1, endCol = 14})]
  , orig = "x"}])]

I presume that only the positions are meaningful, as in "substitute 1:10-15 with 1:11-14", and the reference to "x" can be ignored?

@alanz  - @zliu41 is the expert here. I think (but am most definitely not sure) that the code is saying:

Due to pos Operate on 1:10-15, i.e. (f x)
Due to subts bind $x to 1:11-14, i.e. f x
Replace the whole thing with orig definition of $x so replace (f x) with f x

But that's just a guess on what I think it's doing.

That seems to make sense. So the "x" is a "hlint variable", rather than a quote of existing source code.

@alanz Yeah "x" is a template variable. In this case it happens to be the entire template (orig), but in general that's not the case.

https://github.com/mpickering/apply-refact/pull/116 is ready for review, should hopefully unblock this


Splunk EventGen Not Working

Hi,
I would like to ask for your help on knowing the possible cause of my eventgen not generating any events.
I have followed every detail from the video tutorial and tried all possible ways to make it work, I also tried to reinstall the eventgen a couple of times but I can't seem to find the reason why it is not working.
I have attached the eventgen log for your reference.
eventgen.txt
Your help is greatly appreciated!
Thanks! #41

That text file isn't helpful. Please provide your eventgen.conf or command-line invocation.

Hi @halr9000
Attached is the  eventgen configuration file and the sample data( in csv format) for your reference.
Your help is greatly appreciated.
Thanks!
Sample data and Config.zip

Works fine for me. Probably your setup.

Ensure you are running eventgen from the "develop" branch (which is the default).
Create a new barebones splunk app (from Apps / create)
Place your eventgen.conf in the default/ folder of this newly created app
Place your CSV into a samples/ folder under the app base directory
Restart Splunk

Hi @halr9000 ,
I got it working but from a different server of Splunk instance. Initially I'm working on Splunk installed in my machine but has no idea why it is not working.
Though there is another concern that I would like to consult with. I tried a different sample data but now I'm back at having an issue of not generating events from this new sample data.
From my understanding, I can generate a number of events from different sample data by just configuring the eventgen.conf right? So what I did is just replace the filename( placed the sample data in samples folder) and configure the regex to look for the timestamp to be replace but eventually, it doesn't seem to generate data.
Is there any limitations in splunk eventgen? Do I need to have an input data that has the index, sourcetype, source, _raw and _time columns in csv format?
I'm attaching the configuration file and the sample data for your review. Probably missed something but this is what I have which is not working.
Your help is greatly appreciated.
add_cart_file.zip

Finally got it right. Found that it is because of Mode used. It is simply because Replay mode doesn't  have the ability to read all timestamp. I think it is advisable to used Sample mode instead. Please free to correct me if I'm wrong :)


Convert Icons to SVG and change folder name to "images"

The folder names "drawables" are confusing. Standard folder name for images is usually "images". Please change this accordingly.
Since Android 5 it is possible to use SVGs in Android. They are automatically converted to PNGs if necessary in Android Studio. Using SVGs will stop us worrying about resolutions and make it easier to keep the image quality high. Please change the icons to SVGs.
Reference: https://android.jlelse.eu/stop-using-your-svg-as-png-87b5edd367cd

In Android in order to use .png, .jpg or any other bitmap resources we need to put it inside drawable directory
Reference: https://developer.android.com/guide/topics/resources/providing-resources
This is the standard in android

Also all the images which could be converted to svg's or vector drawables are already converted. There are no icons left which need to be converted to svg as of now

@mariobehling also all the images which can be converted to svg are already converted

@mariobehling @iamareebjamal Please Close this, all the possible icons are already in svg

https://github.com/fossasia/badge-magic-android/tree/development/app/src/main/res/drawable-nodpi
I don't think so

@iamareebjamal are you sure, the size wont increase?. The reason they are not converted is because if I do, there size may increase from bytes to kilobytes

make it easier to keep the image quality high

Also, representing such simple icons will not take much size. And if it does, then something is wrong. png for this low resolution will have smaller size but it will not be scalable and consume a lot more than vector file in higher resolutions.
Also, it makes it easier to edit later

@iamareebjamal the size of the images is currently in bytes. If you shift them to xml, it will increase rather decreasing. Just tested it out. Also the badge requires no longer than 40x11 images, converting them would increase the size rather than decreasing it

we can scale them perfectly fine in the app right now as well, as they are monochromatic and symmetric

All the more reason to make them SVG
the size of the images is currently in bytes. If you shift them to xml, it will increase rather decreasing

Doesn't matter, they are binary, unchangeable and non scalable. If I want to edit them, those bytes will be added to the repo again. In SVG, only changes I do as text will be stored
Not every issue is a discussion. This has to be done

Got it


Schema validator

Fixes #49

Codecov Report

Merging #50 into master will decrease coverage by 1.3%.
The diff coverage is 95.83%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
- Coverage   88.92%   87.62%   -1.31%
==========================================
  Files          15       15
  Lines         325      307      -18
==========================================
- Hits          289      269      -20
- Misses         36       38       +2

Impacted Files
Coverage Δ

...n/scala/schema/validator/TroySchemaValidator.scala
100% <100%> (ø)

core/src/main/scala/schema/package.scala
100% <100%> (ø)

core/src/main/scala/schema/validator/package.scala
100% <100%> (ø)

...ain/scala/schema/provider/TroySchemaProvider.scala
83.33% <83.33%> (ø)

core/src/main/scala/config/model.scala
100% <0%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

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

Sure, I'll finish the story with #51 and then I'll continue with the interpolator (#45 & #19)


wrong total lumi calculation in task chain.

Review the code below.
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WorkQueue/Policy/Start/MonteCarlo.py#L58
Following gives double total lumis than what it supposed to be.
https://cmsweb.cern.ch/couchdb/reqmgr_workload_cache/pdmvserv_task_TOP-RunIIWinter15wmLHE-00015__v1_T_150404_183555_8973

BTW, it's not reproducible. Julian found a ReDigi workflow today with dup stats
https://cms-logbook.cern.ch/elog/Workflow+processing/21376
and I did not manage to reproduce it neither in my VM nor in the current production services.


Bug fix: module snapshot saving throws an error inside Jupyter notebook

If you define your modules in a Jupyter notebook, the snapshot errors out due to
this: https://bugs.python.org/issue12920. This PR fixes this by placing the
module snapshot code inside a try/catch, and puts a default string if the module snapshot could not be captured.

Codecov Report

Merging #189 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #189   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           70        70
  Lines         5046      4969   -77
=========================================
- Hits          5046      4969   -77

Impacted Files
Coverage Δ

nussl/ml/networks/separation_model.py
100.00% <100.00%> (ø)

nussl/core/utils.py
100.00% <0.00%> (ø)

nussl/core/migration.py
100.00% <0.00%> (ø)

nussl/ml/train/trainer.py
100.00% <0.00%> (ø)

nussl/core/audio_signal.py
100.00% <0.00%> (ø)

nussl/ml/train/closures.py
100.00% <0.00%> (ø)

nussl/datasets/transforms.py
100.00% <0.00%> (ø)

nussl/core/masks/mask_base.py
100.00% <0.00%> (ø)

nussl/core/masks/soft_mask.py
100.00% <0.00%> (ø)

nussl/datasets/base_dataset.py
100.00% <0.00%> (ø)

... and 17 more

Continue to review full report at Codecov.

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


signal.windows: Add type stubs for _windows.pyi.

Contributes to completing #99.
This PR adds type stubs for the module scipy.signal.windows._windows.
The function overloads are bit dodgy though and I could have maybe used AnyInt instead of int for some of the arguments.
The reason I didn't use AnyInt as of now is because the input arguments M go through a private function _len_guards which don't allow np.bool_ as a valid input argument type I believe, as in it just crashes if passed such an arg.

There are some merge conflicts

There are some merge conflicts

I am actually really confused about this. My point of my commit was to change this file so of course it would conflict, its what I am trying to change!
Must be a git quirk or I just forgot something about how git works.

The last change made to _windows.pyi was two weeks ago, so I suspect you forgot to update your fork before starting this PR then

The last change made to _windows.pyi was two weeks ago, so I suspect you forgot to update your fork before starting this PR then

Okay that makes sense. I think I messed up my branch creation command because I meant to branch off the upstream master using something like git switch -c my_branch upstream-master. I thought I had updated my local copy of the upstream master but I guess I didn't.

I often mess it up with git as well; I mostly rely on some vscode plugins for that kinda stuff haha

I think I addressed everything except not so sure about the overload semantics for the dpss function.

It might be helpful to write a simple type-test for dpss, so that you can see the output in each of the main ways that you could call it.
See https://github.com/jorenham/scipy-stubs/tree/master/tests

@jorenham Thanks! The explanation on overloads made a lot of sense. Hopefully the overloads make sense now.
Added some tests for dpss as well, like you suggested.

thanks @pavyamsiri !


Fix race condition in ExchangeContext.

Previously ExchangeContext relied on modifying a client's dialer just
before dialing, which was a race condition. This plumbs through contexts
in various paths so that ExchangeContext no longer has to rely on that
race condition. When a context with a deadline is used, and the client
also has a ReadTimeout or WriteTimeout configured, whichever is soonest
takes precedence. This allows us to implement the non-Context functions
in terms of the Context functions, by passing a context.Background().
Since this relies on tls.Dialer.DialContext, which is new in Go 1.15,
this should not be merged until Go 1.17 is released and the minimum
supported Go version is bumped.
Fixes #988.

thanks!
Could we split this in a version that can be merged today and one (smaller one) that we can merge after 1.17 is out?

Doing this would be good, but it's not clear this is the right way. The problem is the SingleInflight grouping. Using just a random context means one timeout and cancellation will apply to all currently grouped requests. If that grouping didn't exist, this would be easy.
I think the best fix for this is probably in exchangeWithConnContext to only use ctx when !SingleInflight and just use context.Background() when SingleInflight. That means that the context is only respected when the caller isn't using SingleInflight, but I think that's fine and likely to be a lot less buggy.

good point @tmthrgd, that change should be made. We can patch that up in the documenation and I think it makes sense both SingleInflight and canceling of a Context is to prevent work from happening. So ignoring a cancellation in case of a single-inflight seems totally appropriate.

@jsha are you able to make these changes?

Hi @miekg! I'm afraid I'm on vacation through the end of summer so won't have time soon to work on these changes. I'll pick them up again when I get back; or, of course, if you'd like to incorporate before then please feel free to pick them up. Thanks!

[ Quoting @.***> in "Re: [miekg/dns] Fix race condition ..." ]

Hi @miekg! I'm afraid I'm on vacation through the end of summer so won't have
time soon to work on these changes. I'll pick them up again when I get back;
or, of course, if you'd like to incorporate before then please feel free to
pick them up. Thanks!

good times! Enjoy, I'll pick apart some of this. Thanks!


Problem on creating a HTML report

Expected behavior
The formatter should create a HTML report based on a template inside assets folder.
Actual behavior
There isn't the assets folder inside the new release, so the formatter can't get the template.
I think the problem is in this commit https://github.com/rubocop-hq/rubocop/commit/c40141c52ba76bfd76444c44e65b7be8cdd4ca14
Steps to reproduce
rubocop --format html --out rubocop.html

No such file or directory @ rb_sysopen - /Library/Ruby/Gems/2.6.0/ruby/2.6.0/gems/rubocop-1.4.0/assets/output.html.erb

RuboCop version
1.4.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.1.1, running on ruby 2.6.3 universal.x86_64-darwin19)

See https://github.com/rubocop-hq/rubocop/pull/9082
I'll cut a bugfix release shortly.

Done.


Introduce a custom setting to add custom kernel path

In the project I am working on, I have a custom kernel configurations to share with others.
So I decided to put kernel.json in to the project as below.
- notebooks
   |- foo.ipynb
   |- bar.ipynb
- kernels
   |- pyspark
        |- kernel.json

with JUPYTER_PATH set, I could load/find custom kernel as expected.
$ JUPYTER_PATH=$(pwd) jupyter kernelspec list
Available kernels:
  python3    /my-project-root/.venv/share/jupyter/kernels/python3
  pyspark    /my-project-root/kernels/pyspark

This works just as intended as long as one could configure JUPYTER_PATH environmental variable when starting jupyter notebooks (not with vscode-jupyter).
With vscode-jupyter, it seems setting JUPYTER_PATH on launching jupyter notebook is not a viable option.
It looked like "JUPYTER_PATH" is set to a temporary directory inside the extension.

I wonder if it is possible to add a setting to set location to search custom kernel directory.
something like below,

I've been digging into discussions and issues but couldn't find a way to do this. My apologies if this feature is already supported.

Please can you

update the JUPYTER_PATH in your shell scripts,
Exit VS Code (close all instances)
Open a terminal, validate the value of JUPYTER_PATH, i.e. ensure it contains your necessary path.
Open VS Code from the terminal now, using the command code or code-insiders, depending on whether you have Stable or Insiders installed.
Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Open a notebook and verify the kernel is displayed

If not, please can you share the logs using the command Jupyter: Show Output

Thank you for the detailed instruction.
I verified that the following instruction is able to apply JUPYTER_PATH to the vscode, and also learned that code launched with env variable set indeed regard the environment variables :)
While the instruction is more than enough to do the job, I wonder if there is a good way to overcome(?) those two minor issues.

Sharing kernel spec without instructing users to do X and Y and then Z...
If any documentation is inevitable, it should be also valid for various remote environment including code instance spawned with kubernetes, docker, ssh remote extension.

I thought of adding a setting to add kernel path or jupyter path and sharing the setting project-wide. (through .vscode/settings.json).
If the team is not happy with the suggestion, it is still okay for me since now I have a workaround.
If the team thinks it's okay to be a feature with minor design tweaks but unlikely to implement seems low priority, I would be happy to give a shot to implement.

Thank you for getting back
Given that you have a work around, I'm inclined to close this, however if more users run into similar issues in the future we will leave that issue open.


Linux release tagged "Fedora" actually does not work on Fedora 30

Title pretty much says it all. Application launch correctly, but fails to open .mha file. But the good new is: the release tagged Ubuntu actually works without problems with Fedora. Does it make sense to ship 2 different versions in this context?
Logs when trying (and failing) to open an image:
INFO  - Wed Nov 20 14:59:21 2019 - ####################################
INFO  - Wed Nov 20 14:59:21 2019 - Version:  3.1.0
INFO  - Wed Nov 20 14:59:21 2019 - Build Date:  20_11_2019
WARN  - Wed Nov 20 14:59:21 2019 - "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins/libanimaMCMEstimationPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins/libanimaMCMEstimationPlugin.so: (/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins/libanimaMCMEstimationPlugin.so: undefined symbol: _ZTIN5anima24BaseIsotropicCompartmentE)"
WARN  - Wed Nov 20 14:59:22 2019 - "Your config does not seem to be set correctly."
WARN  - Wed Nov 20 14:59:22 2019 - "Please set  \"MEDINRIA_PLUGINS_DIR_LEGACY\""
WARN  - Wed Nov 20 14:59:22 2019 - "Default directory would be:  \"/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy\""
WARN  - Wed Nov 20 14:59:22 2019 - "Actual directory is:  \"/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/plugins_legacy:/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy:\""
WARN  - Wed Nov 20 14:59:22 2019 - Failed to load plugins from path  "/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/plugins_legacy" . Could not cd to directory.
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "animaDenseBMRegistrationPlugin"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "animaPyramidalBMRegistrationPlugin"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "Diffeomorphic Demons"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "Iterative Closest Point"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "itkDataDiffusionGradientListPlugin"
WARN  - Wed Nov 20 14:59:22 2019 - "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkDataImagePlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkDataImagePlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:22 2019 - add error message to pluginManager:
DEBUG - Wed Nov 20 14:59:22 2019 - 	 "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkDataImagePlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkDataImagePlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "itkDataSHImagePlugin"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "itkDataTensorImagePlugin"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "ITK Filters"
WARN  - Wed Nov 20 14:59:22 2019 - "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageReaderPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageReaderPlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:22 2019 - add error message to pluginManager:
DEBUG - Wed Nov 20 14:59:22 2019 - 	 "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageReaderPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageReaderPlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
WARN  - Wed Nov 20 14:59:22 2019 - "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageWriterPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageWriterPlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:22 2019 - add error message to pluginManager:
DEBUG - Wed Nov 20 14:59:22 2019 - 	 "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageWriterPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libitkINRDataImageWriterPlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "itkProcessRegistrationILogDemonsPlugin"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "LCCLogDemonsPlugin"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "Manual Registration"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "Algorithm Paint"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "Binary Operation"
DEBUG - Wed Nov 20 14:59:22 2019 -  Loading plugin :  "Create Mesh From Mask"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Filtering Workspace"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Mask Application"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Meshing Workspace"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "N4 Bias Correction"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Registration Workspace"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Remeshing"
WARN  - Wed Nov 20 14:59:23 2019 - "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libmedSegmentationPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libmedSegmentationPlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:23 2019 - add error message to pluginManager:
DEBUG - Wed Nov 20 14:59:23 2019 - 	 "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libmedSegmentationPlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libmedSegmentationPlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Segmentation Workspace"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "medVtkFibersDataPlugin"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "medVtkViewPlugin"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Mesh Manipulation"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Mesh Mapping"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Polygon ROI"
WARN  - Wed Nov 20 14:59:23 2019 - "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libqtdcmDataSourcePlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libqtdcmDataSourcePlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:23 2019 - add error message to pluginManager:
DEBUG - Wed Nov 20 14:59:23 2019 - 	 "Unable to load /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libqtdcmDataSourcePlugin.so - Cannot load library /home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins_legacy/libqtdcmDataSourcePlugin.so: (libicuuc.so.57: cannot open shared object file: No such file or directory)"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "qtshanoirDataSourcePlugin"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Reformat"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "undoRedoRegistrationPlugin"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "Variational Segmentation"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "VOI Cutter"
DEBUG - Wed Nov 20 14:59:23 2019 -  Loading plugin :  "vtkDataMeshPlugin"
WARN  - Wed Nov 20 14:59:23 2019 - Unable to find a valid implementation of the store scp service.
DEBUG - Wed Nov 20 14:59:23 2019 - factory creates dataSource: "qtshanoirDataSource"
WARN  - Wed Nov 20 14:59:23 2019 - "libpng warning: iCCP: known incorrect sRGB profile"
DEBUG - Wed Nov 20 14:59:23 2019 - no plugin path configured, use default: "/builds/work/nightly/medinria-nightly/src_ExtProjs/src/plugins/dtkDistributed"
DEBUG - Wed Nov 20 14:59:23 2019 - initialize composer plugins using path: "/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/plugins:/home/ncedilni/dl/medInria-3.0.1-Fedora_26-x86_64/bin/plugins:"
INFO  - Wed Nov 20 14:59:25 2019 - ### Application is running...
WARN  - Wed Nov 20 14:59:31 2019 - "Reader was unable to read at least:  \"/user/ncedilni/home/results/mihaela_atlas/circumferentials.mha\""
INFO  - Wed Nov 20 14:59:38 2019 - ### Application is closing...
INFO  - Wed Nov 20 14:59:42 2019 - ####################################

It sounds like you are missing a lib on your fedora. The itk data plugin which is needed to view your files cannot load because of that.
Do you have libicu installed ? It seems to be somewhat a dependency of some qt libs so it should be installed but if it's not there, you can try  yum install libicu (or something like that)

It is installed.
$ sudo dnf install libicu
[...]
Package libicu-63.2-2.fc30.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

The binary tagged "Ubuntu" works just fine on the same machine, this is how I circumvented the problem. Some users may give up before me, so with this bug report I was just pointing that the download page is misleading. Fedora 30 users should download the "Ubuntu" version.

Yes but using the ubuntu version won't work on every fedora, so no that's not a good solution. It may be one for fedora 30 but not everyone.
In any case we have the reason at least. Fedora 30 is using libicu 63 when fedora 26 is using libicu 57. We may need to upgrade the minimum version required for fedora by upgrading our slaves os so that the problem solves itself.

After many tests and one correction the decisions is to publish a disclaimer about incompatibility between different version of fedora and tricks to try to run anyway.

Not closed but re-planned to milestones 4.1 in hope to find a better solutions.

Solved Fedora 33


response_mode parameter not passed to authorization endpoint

When I use this library with config:
      response_mode: 'fragment',
      response_type: 'id_token token'

The tokens are returned in a fragment
When I use this library with config:
      response_mode: 'fragment',
      response_type: 'code'

The tokens are returned in a query
I guess this depends on provider setting, but when I added manually response_mode in query string to authorization endpoint for second configuration, it worked and returned as a fragment.

Fix landed in v1.1.2

Thx, this worked as well!


SvelteKit demo?

Clear and concise description of the problem
The recenly added Svelte 3 demo provides a way to use Svelte with Histoire but doesn't demo SvelteKit with Histoire.
I've attempted to add Histoire to SvelteKit without success.
Suggested solution
Could you guys put a demo together based on the SvelteKit starter skeleton app?
https://kit.svelte.dev/
npm create svelte@latest my-app
cd my-app
npm install
npm run dev -- --open

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Maybe is not the best solution but this is my workaround for sveltekit:

@narcisoli , does this allow you to import Sveltekit specific modules in components (i.e. $path) without breaking Histoire stories?
I created #384 to try and get this resolved


[BUG] Migrating was unsuccessful

Describe the bug
I update Quickadd and it says Migration `incrementFileNameSettingMoveToDefayultBehavior' dan `mutualExclusionInsertAfterAndWriteToBottomOfFile` was unsuccessful
To Reproduce
Steps to reproduce the behavior:

Go to Community Plugins
Click on check on updates

Expected behavior
To be able to update Quickadd
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz   3.50 GHz RAM 12GB
Browser: Firefox
Version: 110.0.1

Additional context
Thank you, I am so grateful for your recent updates.

Hey @sarantsatsral-qy
Thank you! I've just pushed a fix which will be available in the latest update.

@chhoumann I should be the one who thank you. You updated it right away :)


Replace tree step centerOfZoom with direct set of center and resolution

If I understand it correct, then you want to zoom and set the center of the map to the point, where the user clicked on the map. Both should move together. So why do you not make two AnimationEntrys, one for the zoom and one for the move?

The previous ResolutionTick method also updated the center. This had grown like that because the 'center of zoom' logic worked with a three step calculation, that was just because that was understandable for me back then when I wrote it. When navigation was added it also was implemented with the three step logic, as a consequence center had to be updated in the ResolutionTick. This is in itself somewhat confusing and caused problems for further refactorings.

No. The three step zoom was, because the point, where to zoom, wasn't the center of the map. If you clicked in the left top corner, the map zoomed and the point you clicked stands in the left top corner. So the point to zoom has to be brought to the center, resolution is changed, and the map is brought back.
Now you make it completely different: the point you clicked moves, while resolution changes, to the center of the map.

If I understand it correct, then you want to zoom and set the center of the map to the point, where the user clicked on the map. Both should move together. So why do you not make two AnimationEntrys, one for the zoom and one for the move?

The current code is functionality equivalent to what we had. It is one step is the rewrite I started in the other PR. What I want is a system that performs well. My plans are now to let the timer run, don't add and remove animations, don't lock, and we can do a single update for all changing viewport fields.

No. The three step zoom was, because the point, where to zoom, wasn't the center of the map.

I wrote that logic so I think I know what it was intended for. The current code is functionally equivalent.


Filtering of Applicants in HRM

Please test this really well. and let me know if there is any bug.

@vishwasanavatti I corrected the DB calls for each and the German translations.
@denoribi Pls check for the German strings here. If check here that's enough. This PR has all the changes regarding to translations.

I ran the code locally and checked each commit. It works perfectly, just a small issue, by german version the position and industry still in the English version.


add codeql config

  Downloading PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      running egg_info
      writing lib3/PyYAML.egg-info/PKG-INFO```

      that's the weirdest error, I re-ran the script and it persisted

@callumforrester any tips how to solve this?

fwiw the main branch suffers from the same issue
https://github.com/DiamondLightSource/blueapi/actions/runs/10580495453/job/29315513545

investigating the cython issue

https://github.com/yaml/pyyaml/issues/724
https://stackoverflow.com/questions/77490435/attributeerror-cython-sources
https://github.com/yaml/pyyaml/issues/601

seems repeating specifically in pyyaml installation


OO Shutup 10 Tweaks revamped

!!! IMPORTANT !!! Because the PR relies on downloading files directly from the Git Repo (Main), any tests will fail until the config files are moved there or the download links in "Invoke-WPFOOSU" are modified for testing

Created a config file that contains the recommended changes by the newest version of OO Shutup 10
Created a config file that contains the factory settings
Changed the location of the config files to reside in the config directory
Added functionality to undo the tweaks by OO Shutup
Added a button in the Advanced  Tweaks section to open the OO Shutup GUI to modify the settings manually #1812
Moved all of the logic for downloading and applying the tweaks from the tweaks.json to a public function "Invoke-WPFOOSU"
Added -Wait to the execution parameters to avoid race condition when run together with temp file removal (Should fix: #1822 )

The motivation for this PR was, that I kept reading issues #1813 from people who eg. couldn't enable location services anymore after running the toolbox. Further digging resulted in a few realizations:

The old config file disabled location services completely via policies
No functionality was built into the script to reset or modify the behavior of OO Shutup 10
The old configuration file was created using an older version of OOSU so not all new and shiny options were present inside.

Furthermore, I decided, that because OOSU and the config file are kind of a black box to most users, it would probably be best to rely on the default, unaltered recommendations by oo-software that do not break the functionality of apps (like disabling location services completely) and rather provide a simple way of starting the program directly if a user should decide that they want to apply some of the more intrusive optimizations.

I like the changes, but at this point we probably should remove O&O from the utility as most of the changes it makes are already in the tweaks itself. Downloading the exe and config seems too cumbersome.

I like the changes, but at this point we probably should remove O&O from the utility as most of the changes it makes are already in the tweaks itself. Downloading the exe and config seems too cumbersome.

Allow me to doubt that statement. When you say "most of the changes is makes" it implies you went through each and every setting it has both for local machine and current user recommended settings, which takes up a lot of time and effort and dedication. But that's not enough, let's say you did went through each and every setting - who said your commands cover O&O commands one-to-one? Example of what I mean by that - O&O would disable Bing search by 2 commands, one for local machine and one for current user, now how do you know what O&O did on the background in terms of which were the right commands to disable Bing search in terms of which reg files it modified? Also you have to take into consideration that O&O updates one in a while and could change it commands and/or features, someone has to keep an eye out for updates and implement them into winutil.
Look, all I'm saying is if you want to remove O&O that's fine, but make sure to implement 100 percent of it and not 60 percent and do it accurately in terms of which reg files to modify and commands to use, and most importantly - check for O&O updates and implement any new setting.

I am sure I missed something in the O&O Tweaks that they do cover. The main thought is running this on top of the tweaks is a bit overkill and I am more worried about O&O changing the recommended to something I disagree with. It hasn't happened in the past couple of years, but being less dependent on them would be an overall net win even if a few tweaks O&O makes are missed.

It could also be an option to remove the OO Tweak with the preconfigured config from the simple tweaks, but keep the Button in the advanced section that just simply starts the Tool. This way, it would not be neccessary to maintain the OO config files, and keep them up to date, but it would still allow the end user to start the application by the simple click of a button instead of needing to download and run the tool manually.

Thanks for humoring me, I love all those suggestions. On the next update I'm going to pick these out and get it implemented. I will leave this PR open for now until I get ready to merge to main.


Allow to specify caBundle for GitLab

Currently there is no way to work with self-signed GitLab SSL certificate

DSD


Thunderbird & K9 Android

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
8.0b2
Problem you are trying to solve
I only occasionally use this and never noticed it was not in K9, but would be nice for both K9 and Thunderbird.
Be able to select multiple messages and move, or re-file to another folder.
Suggested solution
add the re-file option when multiple messages are selected
Screenshots / Drawings / Technical details
No response

didn't mean to duplicate
I didn't realize I was in the unified inbox, a testament to how well that is integrated in the app


IJCK R1C9

"... hydrogen/syngas [11] and ethanol [12]. In all four cases, they converted numerous
experimental datasets from the literature into the ReSpecTh standard."
Extended verion:
"... hydrogen/syngas [11], methanol and formaldehyde [C. Olm, T. Varga, É. Valkó, H. J. Curran, T.
Turányi: Uncertainty quantification of a newly optimized methanol and formaldehyde combustion
mechanism,
Combustion and Flame, in press] and ethanol [12]. In all five cases, they converted numerous
experimental datasets from the literature into the ReSpecTh standard. The database currently
contains 93240 experimental data points in 1376 XML-format data files
[http://respecth.chem.elte.hu/respecth/reac/CombustionData.php]".

Some work in 26ed03081b8ad99a1cabff3bc4c150124925457e
Needs response text and the "four" needs to be "five"


Add default value for shard_id and update_time in mysql

What changed?
Add default value for mysql newly added columns, or it will cause backwards compatible issue

Why?

How did you test it?
Manual test using mysql

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 0187de93-6060-4439-ac55-14328c49c19e

0 of 0   changed or added relevant lines in 0 files are covered.
130 unchanged lines in 17 files lost coverage.
Overall coverage decreased (-0.03%) to 57.226%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/sql/common.go
2
50.65%

common/persistence/sql/sqlplugin/mysql/db.go
2
83.33%

common/task/fifoTaskScheduler.go
2
87.63%

common/task/weightedRoundRobinTaskScheduler.go
2
89.12%

service/matching/matcher.go
2
91.46%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
59.1%

common/persistence/statsComputer.go
3
94.29%

service/history/queue/timer_gate.go
3
95.83%

common/persistence/serialization/parser.go
4
62.41%

common/persistence/serialization/thrift_decoder.go
4
53.06%

Totals

Change from base Build 0187de54-4c6e-42de-bed1-a20663a08057:
-0.03%

Covered Lines:
85752

Relevant Lines:
149849

💛  - Coveralls


Timepicker is not supporting the possibility to clear the date and time

When I clear the primary field with .val(null), the alternate field is still populated with time (without date part). I have set altFieldTimeOnly: false

+1


Adding enum for testing the build

Test PR to check core case data stability

Closing the PR as test got successfully deployed to preview.
https://build.platform.hmcts.net/blue/organizations/jenkins/HMCTS_d_to_i%2Fet-sya-api/detail/PR-73/1/pipeline/225


Re-enable code coverage plugin

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve

👍
/approve


Installing Manually

You have to change the get image method because it doesn't support your bundle.... I fixed it but still.

For future readers:
In SAConfettiView.swift
`   let path = NSBundle(forClass: SAConfettiView.self).pathForResource("SAConfettiView", ofType: "bundle")
let bundle = NSBundle(path: path!)
let imagePath = bundle?.pathForResource(fileName, ofType: "png")
let url = NSURL(fileURLWithPath: imagePath!)
let data = NSData(contentsOfURL: url)
if let data = data {
return UIImage(data: data)!
}
    let image = UIImage(named: fileName)
    return image
    return nil`

Replace with:
let image = UIImage(named: fileName)         return image

Probably too late but for anyone else wondering, drag the Assets folder somewhere in your project, and then replace the end of the imageForType method starting at let path = Bundle(for:  ... with the following:
        guard let imagePath = Bundle.main.path(forResource: fileName, ofType: "png") else { return nil }

        let url: URL = .init(fileURLWithPath: imagePath)

        do {
            let data = try Data(contentsOf: url)

            return UIImage.init(data: data)
        } catch {
            print(error)
        }

        return nil


Insufficient documentation build instructions.

We need a README or similar in .../numba/docs/ that explains how to build Numba documentation.
I had to guess that I needed to pip install sphinxjp.themecore, and now still can't build:
numba/docs$ make html
sphinx-build -b html -d _build/doctrees   source _build/html
Running Sphinx v1.1.3
loading pickled environment... not yet created

Theme error:
no theme named 'basicstrap' found (missing theme.conf?)
make: *** [html] Error 1

Was the docs README moved somewhere? I came here googling "numba basicstrap".

@Juanlu001, Take a look at http://numba.pydata.org/numba-doc/dev/developer/contributing.html#documentation


Support types that are specific to some formats

So far we have only supported data types that every single serialization format can support as well. However, there are certain datatypes that can only be supported by certain formats that we should support as well.
For instance:

Binary formats like CBOR, BSON, etc also support bytestrings. A common format for byte strings would be a good idea.
Some binary formats also have specific types for datetime and timestamps.
BSON also supports OID types.

@Lazrius , I have opened a feature branch for this issue. OID support is already implemented:
https://github.com/getml/reflect-cpp/tree/f/specific_types
There is a test for it as well:
https://github.com/getml/reflect-cpp/blob/f/specific_types/tests/bson/test_oid.cpp

@Lazrius , here is a list of the types supported by the BSON C API:
https://mongoc.org/libbson/current/bson_type_t.html
I think the obvious ones that we should support here are BSON_TYPE_BINARY, BSON_TYPE_DATE_TIME and BSON_TYPE_TIMESTAMP. Possibly also BSON_TYPE_REGEX.
I think in addition to the ones that we support already that should give us pretty good coverage. The way I see it, we wouldn't be supporting BSON_TYPE_EOD, BSON_TYPE_UNDEFINED, BSON_TYPE_DBPOINTER, BSON_TYPE_MAXKEY, BSON_TYPE_MINKEY...for most of these I am not even why anyone would need them.
But you are more experienced with BSON that I am...is there anything that I am missing here which you would regard to be very important?

@Lazrius...I get the problem...because OID is implemented as a struct with a byte array inside, so it treats it like that.
I have to think of a way to deal with that...

@Lazrius , this commit should fix the issue with the OID.

Just tested, everything working fine. As my code was able to proceed to the next phase, I've noticed that one of my types which I had listed as a std::vector<byte> in my C++ struct is in fact listed as Binary.createFromBase64('lJfYU049HowiTOr4f3cKrNuP/WE=', 0) within the database - I assume this corelates to a BSON Binary data type, and the aforementioned BSON_TYPE_BINARY C type. What is the plan to specify this type within C++, and correctly distingish it between an array of byte, because logically both are acceptable conversions from a std::vector<char> or std::vector<unsigned char>?

@liuzicheng1987 I have also had another consideration. BSON has a type of Decimal128. What internal C/C++ type would we use to represent this?

@Lazrius
for the decimal type we can just use this one:
https://mongoc.org/libbson/current/bson_decimal128_t.html
For binary strings, I think my approach is to define a type called rfl::Bytestring which contains a std::vector and some convenience methods. Bytestrings are supported by various other formats as well (most notably CBOR) and that why I want a solution that isn't specific to any particular format.

I would be interested in having support for bytestrings for cbor. Any updates on that?

@dcorbeil , I’ll give this higher priority

@dcorbeil we now officially habe support for
bytestrings.
You can use rfl::Bytestring or std::basic_stringstd::byte. It's the same thing.
It is supported by BSON, CBOR, flexbuffers and msgpack.

@liuzicheng1987 Great thank you!! I'll give that a try


An error occurs when nesting patches and changing the level of [tree structure data]

🐛 Bug Report
An error occurs when nesting patches and changing the level of [tree structure data]
Link to repro
https://codesandbox.io/s/minimal-repro-forked-xvb93p
To Reproduce
1.remove a node
2.Add a new node where it was previously removed
3.Add previously deleted nodes to a subset of new nodes
Observed behavior
An error occurs when using nextData
Expected behavior
should not go wrong
Environment
immer verson :9.0.12
Use default configuration

I think it's related to how Proxy.revocable() works (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/revocable).
You can use enableES5(true), and setUseProxies(false) as work around. But I guess the bug related to revoke() to be called too early (means it's need to be called after all drafts finished, but I don't think it will solve all this kind of these issues).


Docus currently broken

I just tried creating a fresh Docus project using the command on the website:
npx nuxi init docs -t themes/docus

It seems when I yarn dev, the localhost will just hang and nothing will show up.
I've always wondered about Nuxt, is there a way to run yarn dev --verbose or yarn dev -vvv to see a bit more about what might be going wrong?

I have the same issue as well. I used to only struggle with #680, but after a day of programming (lots of hot reloads, restarts etc.) Docus, even with a brand new scaffold is failing to start.
I have waited 10+ minutes for it to load and nothing happens. I do not get an error thrown. Therefore the only logs I have are:
Nuxi 3.0.0
Nuxt 3.0.0 with Nitro 1.0.0
✔ Using Nuxt Typography v0.0.13

  > Local:    http://localhost:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://[2a02:1810:cc2e:a300:187d:17d2:d8f8:4249]:3000/
  > Network:  http://[2a02:1810:cc2e:a300:6194:fbdc:35e7:cd5f]:3000/

ℹ Vite client warmed up in 78064ms
✔ Nitro built in 1191 ms

78 seconds already seems pretty long for vite to load (sometimes it is even longer).
Environment:
- Operating System: `Darwin`
- Node Version:     `v16.17.0`
- Nuxt Version:     `3.0.0`
- Nitro Version:    `1.0.0`
- Package Manager<EMAIL_ADDRESS>- Builder:          `vite`
- User Config:      `extends`
- Runtime Modules:  `-`
- Build Modules:    `-`

I am also using a M1 mac (IDK if that changes anything, but I have had it that it would react differently).
Other Nuxt3 projects are still running fine for me. Is there anything that might be specific to our machines that prevent vite from rendering docus properly? If you need any other information about my hardware or setup, I would be happy to provide it! Maybe there is something we should reinstall that might be broken internally on my setup?
Thank you to any help in advance!

Same Problem for me on an Intel Mac i9 on 12.6.1 Monterey.  Vite warmup takes minutes ... nothing happens in browser.

Probably related https://github.com/nuxt-themes/docus/issues/672

The same problem occurred for me when I run npx nuxi@latest init docs -t themes/docus install packages and run npm run dev.
It works, but it took about 5 minutes until I could see the application under localhost:3000.

Idk if it's broken. But I followed the official "Getting Started" guide and I got this error prompt. I'm new to nuxt and this is a blow to my confidence in nuxt. I'm on Windows with latest node.js npm and pnpm.

Same, very slow on start for local dev and build. The deploy on Netlify take 13mn 😵 ! https://presswind-doc.wp-performance.com/

Hello here,
Thank you all for reporting this issue.
I will try to solve it by today, this is extreme priority.

Idk if it's broken. But I followed the official "Getting Started" guide and I got this error prompt. I'm new to nuxt and this is a blow to my confidence in nuxt. I'm on Windows with latest node.js npm and pnpm.

This issue reminds me a lot of an issue we had in our module nuxt-session. AFAIK Windows parses URL structures differently then mac and linux. This can lead to issues like the one you showed above.
Here is our issue and PR where we fixed these issues for nuxt-session:
https://github.com/sidebase/nuxt-session/issues/12
https://github.com/sidebase/nuxt-session/pull/13

Hello here,
Thank you all for reporting this issue.
I will try to solve it by today, this is extreme priority.

If it can help, this issue was fixed recently in nuxt/i18n for nuxt3 just here https://github.com/nuxt-community/i18n-module/issues/1518

AFAIK Windows parses URL structures differently then mac and linux. This can lead to issues like the one you showed above.

Never came across a framework that cannot be used out-of-the-box. Vue ecosystem frameworks are usually very easy to get started smoothly. This frustrating error even let me ignore the pretty long vite warming up time. I'm a little speechless. Did official even run npm run dev on Windows before release?

Hey :)
I just published 0.3.2, could you guys try this version and keep me up to date if it solves your issue?
Please be cautious with reinstalling your dependencies with that new version.
I think we are tracking down two different issues here, so it might not work for all of you, but it's a first step.
Thank you again for your feedback.

Hey :)
I just published 0.3.2, could you try this version and keep me up to date if it solves your issue?
Please be cautious with reinstalling your dependencies with that new version.
I think we are tracking down two different issues here, so it might not work for all of you, but it's a first step.
Thank you again for your feedback.

Hi @Tahul! I just upgraded my docs and it did the trick!
Thank you for the quick response time ❤

Yep, you fixed it. Thanks a lot.

yep, fixed, thanks !!

@KyleRicardo ; could you tell me if this update solved your problem as well?
If not, could we start tracking that inside another issue?

I've just tried this myself and I'm afraid 0.3.2 doesn't appear to fix the windows pathing issue
I would like to say thanks very much for finally doing a public release though I've taken an interest in this for a while but the only source I've had access to has been via npmjs
Issue raised here - https://github.com/nuxt-themes/docus/issues/684

Fixed my problem, thank you !

Fixed, thank you.
In my case, I removed all node_modules/ in my monorepo.

@KyleRicardo ; we are now tracking in #684
As others has marked the original issue as resolved, I prefer to close this one and keep conversations in proper issue!
Thanks again for your feedback, and see you on #684 to resolve this one! :)

@Tahul Same problem like this after updating to version 1.0.1.
Startup does not come to proper end in time and processor load is rising ....

Hey @sfxcode ; could you try regenerating your lockfile ?
Reinstall all dependencies to grab Pinceau ^0.7.1.
I'm sorry, I think latest release I made rollbacked the fixed I push for this issue.
It should be fine now.

Hi @Tahul, worked like a a charm. Sorry to interrupt at sunday ...


No method to close Connection

There is no way to close session or client connection.

Yes, we need to add this.
I will need to factor out the reconnect part, to avoid integrating this too deep in the client. Then, I can more easily ensure that I can trigger the session close cleanly.


Can't interact with jest output

Environment

node -v: [v8.1.3]

npm -v: [5.0.3]

Operating system: [macOS 10.12.5]

Steps to Reproduce

Be in a test file
open the test runner
update a test that has snapshots multiple times
press u in the output panel

Expected Behavior
The tests would update. The same for the other characters that are relevant (w, a, p, etc.)
Actual Behavior
Nothing happens

Afraid this is just the constraints of showing the Jest SDTOUT in VS Code's - I talked about what would need to happen for this to change here: https://github.com/orta/vscode-jest/issues/117#issuecomment-306485667


Request for IPv6 support

Would you mind spend some time to add IPv6 support? Thanks very much.

I want IPv6 support.

should be solution

with ndp_proxy (must be configurated for every ipv6 address)
or remap the received /64 - and use at WAN-interface a /128 for it

Now this script works well with radvd  in a raspberrypi3
ipv6 nat
#!/bin/bash

ip6tables -A FORWARD -i wlan0 -j ACCEPT
ip6tables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

ip -6 addr add 6666:1:1:1::1/64 dev wlan0
service radvd restart

@ybw2016v At first thanks that you show your solution (of 1)

ipv6 was designed drop the bad idea of nat
on which way you decided to use 6666:: ? (maybe a /64 of the ULA-Range fc00::/7 should be better for nat)

Has create_ap any possibily to add hooks, so that we could add own scripts for testing ?

See https://github.com/dlenski/create_ap/commit/2af71320e838b65407ce530ac8a0f07c648ccece
This is my attempt at initial IPv6 support. New config options:

IPV6=1 must be set
DHCP_DNS6 can be set

Assumptions:

Your ISP gives you an /64 IPv6 address. (see https://en.wikipedia.org/wiki/Prefix_delegation)
This gives a whole /64 worth of addresses which can give be distributed to clients.
No NAT is needed or desired.

Currently, there is no support for firewalling of IPv6 hosts inside the local network. Anyone on the IPv6-enabled internet can contact any host inside the local network. This is delightful if you're trying to run an IPv6 server (end-to-end principle) but may be a security issue if you've been relying on NAT to keep your hosts safe.


"ui-tinymce" not render properly in ngDialog

Hello,
"ui-tinymce" editor got displayed easily and nicely on main screen/view, but not in ngDialog. I see no error Chrome console. I placed some debug point in both plugin but saw nothing suspicious.
I have tried to fix it myself but no luck.
https://github.com/likeastore/ngDialog

Hi @phuyem , maybe you are suffering the same issue I am, I am using google material's tab component (https://material.angularjs.org/latest/#/ ) , there is some weird behavior where the directive loads before I setup a value to uiTinymceConfig, in my environment I have to load assets from a different url by setting the baseUrl property, however it doesnt work since during loading the object uiTinymceConfig is coming undefined.  Maybe is not your exact issue but the fact that the directive is loaded somehow in a different way than usual ( main screen )  is causing some problems.

Hi rolandocc .
I wish I could have created a plunker but I am so bad at using that one...
As for the issue, I thought the same. However, I got a workaround by replacing ngDialog by bootstrap-ui-modal. (ngDialog is not responsive  anyway). I hope you can fix your issue

Please update issue with a Plunker or Fiddle reproducing the issue.

Closing due to inactivity and no Plunker. Please ask any questions you may have using the angular-ui-tinymce tag on StackOverflow.
If you have any bugs please create a Plunker reproducing and open a new issue.


New GPT request: Go

I'd be willing to contribute my GoGPT that I've been using lately. It has two decent knowledge base sources starting out. Let me know if interested.

We'd be happy to have you, just sent an invite to the project.


Wrong calendar.js comes from bower install ~0.9.0

I have a problem with "Week Switch" because I have a wrong calendar.js. I have install from bower with version "~0.9.0", but its coming the previous version o the calendar.js.
In javascript console an error is issued because calendars variable is undefined.
Can you check if I am correct ?
Thanks,

fixed in latest tag


Problems deriving typeclass instances for types with type-members

I thought the[T] ⟹ the[Lazy[T]], but here is a counterexample:
trait TC[T]  // example typeclass

 trait B { type T[_] }  // type with an HKT-member
object B { type Aux[_T[_]] = B { type T[U] = _T[U] } }  // "Aux" alias

implicit def bt[T[_]]: TC[B.Aux[T]] = ???

the[     TC[B.Aux[List]] ]  // ✅ works as expected
the[Lazy[TC[B.Aux[List]]]]  // 🚫 wrapping in `Lazy` breaks the summon!

scalafiddle
Digging further, there are a few issues deriving typeclass-instances (choosing from {Generic, LabelledGeneric} x {Lazy, non-Lazy}) for "Aux"-style aliases (where the type-member being "Aux"'d may be an HKT or not):
import shapeless._, labelled.FieldType

trait LL[T]  // typeclass with Lazy LabelledGeneric derivations
implicit val hnilLL: LL[HNil] = ???
implicit def consLL[K <: Symbol, H, T <: HList](implicit w: Witness.Aux[K], h: Lazy[LL[H]], t: Lazy[LL[T]]): LL[FieldType[K, H] :: T] = ???
implicit def ccLL[CC, L <: HList](implicit g: LabelledGeneric.Aux[CC, L], l: Lazy[LL[L]]): LL[CC] = ???

trait LG[T]  // typeclass with Lazy Generic derivations
implicit val hnilLG: LG[HNil] = ???
implicit def consLG[H, T <: HList](implicit h: Lazy[LG[H]], t: Lazy[LG[T]]): LG[H :: T] = ???
implicit def ccLG[CC, L <: HList](implicit g: Generic.Aux[CC, L], l: Lazy[LG[L]]): LG[CC] = ???

trait EL[T]  // typeclass with non-Lazy ("eager") LabelledGeneric derivations
implicit val hnilEL: EL[HNil] = ???
implicit def consEL[K <: Symbol, H, T <: HList](implicit w: Witness.Aux[K], h: EL[H], t: EL[T]): EL[FieldType[K, H] :: T] = ???
implicit def ccEL[CC, L <: HList](implicit g: LabelledGeneric.Aux[CC, L], l: EL[L]): EL[CC] = ???

trait EG[T]  // typeclass with non-Lazy ("eager") Generic derivations
implicit val hnilEG: EG[HNil] = ???
implicit def consEG[H, T <: HList](implicit h: EG[H], t: EG[T]): EG[H :: T] = ???
implicit def ccEG[CC, L <: HList](implicit g: Generic.Aux[CC, L], l: EG[L]): EG[CC] = ???

// tests on a type with a simple type-member:
 trait A { type T }
object A { type Aux[_T] = A { type T = _T } }  // "Aux" alias
case class A1[T](a1: A.Aux[T], a2: A.Aux[T])
case class A2[T](a1: A1   [T])

implicit def a1[T]: LL[A.Aux[T]] = ???
implicit def a2[T]: LG[A.Aux[T]] = ???
implicit def a3[T]: EL[A.Aux[T]] = ???
implicit def a4[T]: EG[A.Aux[T]] = ???

the[     LL[A.Aux[Int] ]]  // ✅
the[     LG[A.Aux[Int] ]]  // ✅
the[     EL[A.Aux[Int] ]]  // ✅
the[     EG[A.Aux[Int] ]]  // ✅

the[Lazy[LL[A.Aux[Int]]]]  // ✅
the[Lazy[LG[A.Aux[Int]]]]  // ✅
the[Lazy[EG[A.Aux[Int]]]]  // ✅
the[Lazy[EL[A.Aux[Int]]]]  // ✅

the[     LL[A1   [Int] ]]  // 🚫
the[     LG[A1   [Int] ]]  // ✅
the[     EL[A1   [Int] ]]  // ✅
the[     EG[A1   [Int] ]]  // ✅

the[     LL[A2   [Int] ]]  // 🚫
the[     LG[A2   [Int] ]]  // ✅
the[     EG[A2   [Int] ]]  // 🚫 this is expected: non-lazy derivation
the[     EL[A2   [Int] ]]  // 🚫 this is expected: non-lazy derivation

// tests on a type with a an HKT-member:
 trait B { type T[_] }
object B { type Aux[_T[_]] = B { type T[U] = _T[U] } }  // "Aux" alias
case class B1[T[_]](b1: B.Aux[T], b2: B.Aux[T])
case class B2[T[_]](b1: B1   [T])

implicit def b1[T[_]]: LL[B.Aux[T]] = ???
implicit def b2[T[_]]: EL[B.Aux[T]] = ???
implicit def b3[T[_]]: LG[B.Aux[T]] = ???
implicit def b4[T[_]]: EG[B.Aux[T]] = ???

the[     LL[B.Aux[List]] ]  // ✅
the[     LG[B.Aux[List]] ]  // ✅
the[     EL[B.Aux[List]] ]  // ✅
the[     EG[B.Aux[List]] ]  // ✅

the[Lazy[LL[B.Aux[List]]]]  // 🚫
the[Lazy[LG[B.Aux[List]]]]  // 🚫
the[Lazy[EL[B.Aux[List]]]]  // 🚫
the[Lazy[EG[B.Aux[List]]]]  // 🚫

the[     LL[B1   [List]] ]  // 🚫
the[     LG[B1   [List]] ]  // 🚫
the[     EL[B1   [List]] ]  // ✅
the[     EG[B1   [List]] ]  // ✅

the[     LL[B2   [List]] ]  // 🚫
the[     LG[B2   [List]] ]  // 🚫
the[     EL[B2   [List]] ]  // 🚫 this is expected: non-lazy derivation
the[     EG[B2   [List]] ]  // 🚫 this is expected: non-lazy derivation

scalafiddle
All the 🚫's should compile but don't, afaict (expect the ones I marked as "expected").
The simplest description of this data I can come up with is: "derivations of types with type-members only work if the type-member is a non-HKT and the derivation is non-'labelled'".
Put another way: LabelledGeneric derivations in the presence of a type-member – and all derivations if it's an HKT-member – don't work.
However, even these descriptions miss some subtleties about the how far the different cases get before they stop working.
This looks similar to #584, but that seems explicitly focused on tagged types; I'm not sure if #797 also fixes any/all of these.

Have you tried with latest scala 2.13?

I quickly tried it with 2.13.0-M5 here; the results are the same except that the 4 annotated with "this is expected: non-lazy derivation" above now pass!
Is that what you expected? Is Lazy not necessary in 2.13.0-M5, and so all my derivations will now work if I remove it?

(aside: using shapeless 2.4.0-SNAPSHOT from current HEAD doesn't change things in 2.12 or 2.13.0-M5)

By-name implicits are a replacement for Lazy. The only caveat is that by-name parameters aren't stable so you'll have to use the either the Aux pattern, which can be problematic with HKTs.
I'm also wondering if you might get further with (Labelled)Generic1 or, failing that, at least using its continuation passing style alternative to attempting to extract higher kinded types from instances.

#797 makes all examples compile, except the expected ones.

very cool, @joroKr21, thanks! hopefully it makes it in to 2.4.0 / soon. maybe I will experiment with using a fork that includes it.
@milessabin interesting! I've looked at Generic1 but don't really get it, or see how I could use it here. if there is documentation or an explanation (beyond the Functor example) I'd be interested to keep trying to learn. Also I haven't been able to find LabelledGeneric1.

Fixed by #797


Add Cypress directory structure and initial test

Including everything we need to get going with Cypress for UI testing. This does a lot of setup for mock testing which will be the basis of our TDD going forward.
To test just checkout my PR:

cd workspaces/frontend
npm i
npm run test:cypress-ci

@Griffin-Sullivan could you please also add those instructions to our frontend/README.md?

@Griffin-Sullivan when I'm running locally I get:

npx concurrently -P -k -s first "npm run cypress:server:build && npm run cypress:server" "npx wait-on tcp:<IP_ADDRESS>:9001 && npm run cypress:run:mock -- {@}" --

Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
I wonder if this will interfere in future CI action?

/ok-to-test

/retest

/test all

/retest

/retitle chore(ws): Add Cypress directory structure and initial test

/lgtm


199 채팅방이 빈 리스트

nullable을 inner join으로 가져와서 빈 리스트가 왔었음

Codecov Report

Merging #200 (b6b67f9) into main (aca03ae) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##               main     #200   +/-   ##
=========================================
  Coverage     48.27%   48.27%
  Complexity      427      427
=========================================
  Files           150      150
  Lines          1968     1968
  Branches         16       16
=========================================
  Hits            950      950
  Misses         1012     1012
  Partials          6        6

Impacted Files
Coverage Δ

...l/SellDreamChattingRoomQueryDslRepositoryImpl.java
22.22% <0.00%> (ø)

Continue to review full report at Codecov.

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


Discussion: login

Hey there, I am working on a similar project on Pixiv called Pikax. my api could not login into Pixiv from about 1 weeks ago. I see alot of people are using https://oauth.secure.pixiv.net/auth/token, however, I do not quiet understand how it works, do you mind make a little explaination to me? Thanks

It is an OAuth endpoint to authenticate with the Pixiv API used by their mobile applications. Thus, it returns an access token and refresh token, the latter of which can be used to generate new access tokens. These access tokens can be used to make requests to other endpoints in the API. If you are making requests to the browseable website, afaik the access tokens won't work. I believe my code is fairly clear in showing the exact request it makes.

Thanks! I will have a closer look at your code and try to understand it more!


Check Python variable names for case consistency

What is the issue?
This task is to review all Python code samples and ensure that variable names use snake_case and not camelCase, for consistency with language conventions. Update where required and also update accompanying text to reflect this change.
Relates to https://github.com/dagger/dagger/pull/4825 and https://github.com/dagger/dagger/pull/4851

hello, @vikram-dagger I want to work on this issue. Please assign

@FaithKovi Thanks for reaching out to help support! Please ping @vikram-dagger if you run into any issues with this one.

Okay, thanks @mircubed

@vikram-dagger
I wanted to confirm the location of the python code samples
From the root folder, sdk/python right?

@vikram-dagger I wanted to confirm the location of the python code samples
From the root folder, sdk/python right?

No, this refers to Python code snippets in the docs. Therefore, this will be all the snippets ending in .py under docs/current.

Okay noted, thanks @vikram-dagger

@vikram-dagger I checked the python code snippets in the docs and the variable names are all consistent

This was fixed by the recent doc snippet linting that was restored in:

https://github.com/dagger/dagger/pull/5311


Add Legalese Info To CONTRIBUTING.md

Adds a legalese section to CONTRIBUTING.md to indicate that any contributions will be open source.
Section was adapted from the actinia project

Replaced occurrences of a project steering committe with the core team. Please have a look again.
@chrismayer @marcjansen @KaiVolland

Thanks!

Thanks for reviewing!


Speed up homogeneous_DUO_update

After the amazing speedup in #53 / #79, the performance bottleneck has shifted to homogeneous_DUO_update, which now takes up around two thirds of the runtime.

The nested loop over all destinations and all links probably takes up the most runtime. If that can be vectorized that would improve general UXsim performance with up to ~3x.
https://github.com/toruseo/UXsim/blob/8c67dd03546e09193ab1e337fb7682f7fa8b2e79/uxsim/uxsim.py#L1303-L1326

Thanks for testing!
Vectorization may be possible. I will consider it later.
Please let me know if you come up with any ideas.

I think vectorization and using efficient data structures are the most logical to try initially. Some things that might be worthwhile trying:

Save the route preferences (route_pref) as a matrix. Since it will be very sparse (I think?), maybe try a dok_matrix from scipy.sparse.
Vectorize the weight update.
Maybe try if we can skip some links or do some lazy calculations based on graph theory principles.

Sounds reasonable. RouteChoice.route_pref is indeed sparse. Lazy calculation will be fine, but just skipping is not very good as it will lose generality.
Can you try?

On vacation for another two weeks. After that I could give it a shot!
Feel free to make a first attempt in the meantime, if you have the chance!

Well, Claude Sonnet implemented this one instantaneously. In a large scale scenario, the computation time was reduced from 10 sec to less than 1 sec.
I will merge it into the main after some testing and improvements.

Awesome! It’s insane how well these models are getting. I did a quick attempt with GPT-4o, but not that successful. Maybe I need to try 3.5 Sonnet more often!

On this network:
simulation setting:
 scenario name: MyUXsimWorld2
 simulation duration:	 7200 s
 number of vehicles:	 107325 veh
 total road length:	 2166279 m
 time discret. width:	 25 s
 platoon size:		 25 veh
 number of timesteps:	 288
 number of platoons:	 4293
 number of links:	 3272
 number of nodes:	 1545

uxsim 1.3.1 performance
      time| # of vehicles| ave speed| computation time
       0 s|        0 vehs|   0.0 m/s|     0.00 s
     300 s|     8575 vehs|   6.2 m/s|     8.12 s
     600 s|    17350 vehs|   5.8 m/s|    14.17 s
     900 s|    24775 vehs|   5.9 m/s|    20.19 s
    1200 s|    32200 vehs|   5.4 m/s|    26.20 s
    1500 s|    39025 vehs|   5.2 m/s|    32.27 s

uxsim 1.4.0 performance
      time| # of vehicles| ave speed| computation time
       0 s|        0 vehs|   0.0 m/s|     0.00 s
     300 s|     9400 vehs|   6.1 m/s|     1.77 s
     600 s|    17475 vehs|   5.7 m/s|     3.13 s
     900 s|    25550 vehs|   5.7 m/s|     4.55 s
    1200 s|    32900 vehs|   5.6 m/s|     6.04 s
    1500 s|    39900 vehs|   5.5 m/s|     7.59 s

Another very impressive 4x speedup!
This configuration took over 20 minutes before #53 was resolved, now under a minute!
A new profile also shows that homogeneous_DUO_update now takes less than 10% of runtime, down from around two-thirds before #89 was merged.


ToCsv with OpenCypher format

Be able to export elements from a graph into an openCypher formatted CSV file

The ToCsv Operation should be extended to create a Csv in the OpenCypher format. This Operation takes an Iterable of Elements and returns an Iterable of Strings representing a Csv.

Closed by https://github.com/gchq/Gaffer/pull/2704


feat: cron scheduler support

PR summary

Fixes: <! -- link to issue -->
https://github.ibm.com/Notification-Hub/planning/issues/12339
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Go Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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


ForkAwesome

Would you consider replacing the rather old FontAwesome 4.7 icons with the more recent ForkAwesome / accept a PR that replaces it?
https://forkaweso.me/Fork-Awesome/
For example, I could then use the Mastodon icon.

Hi @metbril,
that would be lovely.
It is actually one of the things I wanted to do for a long time, but I never got around to do it 👌.
Cheers,
Jan

I'll try to find some time to prepare a PR

Fixed with #23.


[Windows] Add .NET SDK 8.0 to Windows-2019

Description
Add missing tool to the image.
Related issue:
https://github.com/actions/runner-images/issues/9834
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019


Token Name and Logo Not updated on Solscan

I'm submitting a ...
[ ] bug report

Summary
I've added my token to the solana-labs/token-list repository and it's commited there but i'm not able to see the logo on solscan.

Only logo is not working now


go: shorten path template function names

Shorten path template name with the same mechanism we shorten
client type name.
This unfortunately will break logging/apiv2 by renaming
LoggingLogPath to LogPath and
LoggingProjectPath to ProjectPath.
Since logging has a handwritten client,
I think this is probably acceptable.

Codecov Report

Merging #1342 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #1342   +/-   ##
=========================================
  Coverage     86.45%   86.45%
  Complexity     3854     3854
=========================================
  Files           378      378
  Lines         15383    15383
  Branches       1707     1707
=========================================
  Hits          13299    13299
  Misses         1627     1627
  Partials        457      457

Impacted Files
Coverage Δ
Complexity Δ

...gle/api/codegen/transformer/go/GoSurfaceNamer.java
92.23% <100%> (ø)
54 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Improve PD connection issue's error log

NPE is outrageous. Make it better for user to understand.


fix check missing tablets before commit

Proposed changes
FE cannot tell if all replicas of one partition are missing.
So BE should check at least 1 replicas before commit.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall