How to properly import in next app

I have done 'npm install mouse-follower --save' on my next app. How do I correctly import it. I managed to import somehow in _app.tsx but every time page refresh the line 'const cursor = new MouseFollower();' throws an server error and crasheh the web page. But if I commented it and uncomment it then it works fine. But after this if the page refresh it again shows the same error.

Please show your code with import statement.

I downloaded the file and copied all files from js and scss folder and imported them like this in _app.tsx
import Cursor from '../../public/assets/mouse/js/cursor'

function MyApp({ Component, pageProps }: AppProps) {
  const cursor = new Cursor()

  return (
    <>
      {/* <NavLink /> */}
      <Component {...pageProps} />
    </>
  )
}

This works fine and shows mouse follower as well but after making some changes in the components it crashes with this error

You are using an older version of library from another repo. Please read the instructions carefully, you do not need to download anything manually.

At first, I tried the same way from the instruction but also got the same result. After this I downloaded the file and also got the same result.

First I tried the same way shown in the instruction and got the same error above. After this I downloaded the file and still got the same result.

Do you have any instructions to add this to a next js app

This library manipulates document, and document is not available until client render.
With a useEffect on your index.js file (or _app.js if you are using custom structure) you solve this problem.
import MouseFollower from "mouse-follower";
import gsap from "gsap";

MouseFollower.registerGSAP(gsap);

export default function MyApp({ Component, pageProps }) {
    useEffect(() => {
        const cursor = new MouseFollower();
    })

    return (
        <>

            <Component {...pageProps} />
        </>
    )
}

This works without any error thank you very much for the tip.
As you suggested, I import mouse-follower in _app.tsx. It does not show any error like previous. If I want to use different features like sticky or magnetic on different component how can i do it ?

This works without any error thank you very much for the tip. As you suggested, I import mouse-follower in _app.tsx. It does not show any error like previous. If I want to use different features like sticky or magnetic on different component how can i do it ?

It's explained in the library documentation.
Sticky effect is here.

Hover me to stick cursor!

If it doesn't work because of React try this:

Hover
me
 to stick cursor!

Thank You very much for the tip.
I think I found some bug. Or it might be just me who doesn't know how to use properly.

Here I am trying to achieve something like this

But, I am getting following result.

What's that class you are using? If you need to style something try to do it inside of the div.
Also make sure that the color of the text is not the same as the one of the cursor.

 .. </>

This is what I am getting.
https://user-images.githubusercontent.com/25609902/196871586-3d27311c-fa94-4684-909c-029e876ba017.mp4
And this is the code in the component
`

		{work.map((ourWork, index) => (

		))}

`

This issue is probably related to the fact you are using a map function with each element having the same data-cursor.
Try to use it on a single item (without map), if it works it means this is the problem. There probably is some documentation about having the cursor available for multiple items.

I don't think map function is a problem here. As you mentioned I tried this on another element which is not mapped and still the situation is same. Here is the screenshot

Is the style initialized correctly? I had to import index.scss of the library from node_modules
@import "../node_modules/mouse-follower/src/scss/index.scss";

I  also imported index.scss in global.scss file
@import "/node_modules/mouse-follower/src/scss/index.scss";

@sagarkhadka am unable to understand what to import and where to import...

@gaurdivit In next.js I did following things:

npm install gsap and npm install mouse-follower
In your _app.tsx/.jsx file import

hello @sagarkhadka can you explain more about your solution please becuz i did exactly what you said but it doesnt work
it creates another scrollbar but doesnt show anything

@h3ma209 after you mentioned the issue I tried in new fresh next js project and I also got the same issue as you. The mouse follower is not visible and is showing weird behavior like overflowing the page. Since the MouseFollower is using scss in their source file I tried npm i sass and renamed the global.css to global.scss and it is working as expected. So, try installing sass it will work.

it works thank you very much

@sagarkhadka can I use it in react js?

if yes then are the steps same as of next js?

Syntax error: /Users/divitgaur/Documents/stuff/Personal/WEB/Projects/myown_portfolio/node_modules/mouse-follower/src/scss/index.scss Unknown word (102:11)
100 |         transition:opacity 0.4s, transform 0.3s;
101 |

102 |         #{$root}.-text &, #{$root}.-icon & {
|           ^
103 |             opacity:1;
104 |             transform:scale(1);
WARNING in [eslint]
src/App.js
Line 15:11:  'cursor' is assigned a value but never used  no-unused-vars

this error is showing @sagarkhadka

In react as well the step is same. I just checked in fresh vite react project it is working fine please check the following steps.

npm i gsap mouse-follower sass
rename your index.css to index.scss and include @import "/node_modules/mouse-follower/src/scss/index.scss";
In your app.js
`
import gsap from 'gsap'
import MouseFollower from 'mouse-follower'

MouseFollower.registerGSAP(gsap)
useEffect(() => {
const cursor = new MouseFollower()
}, [])
`
This should do the thing.

@sagarkhadka also please how can i put the image behind the title or text when it hovers
for example cubertos landing section
when i land on website shows the video and puts it behind the title instead of being over the title and hiding it

It's working perfectly fine didn't change my app.css to app.scss
Thanks you so much @sagarkhadka
Wanna connect?

@sagarkhadka please can you answer my question

@h3ma209 I haven't used this feature previously so it took time to know the issue. When image is shown on hover the mouse follower uses .-media class so in your scss file you can do .-media { z-index: -99 } which will put the images and videos you use to the back side of your text element. There might be some other ways too but this also works.

To resize you can do transform: scale(1.75) in ::before class of .-media. But, when doing this image is not filling the gap.

ok thank you it did work but also i wanted to the title to change color so its visible like
i tried using mix-blend-mode: difference but didn't work

Is there a way to make this work with tailwind?

Hey @joshAntoniuk, what problem are you facing. I think even when using tailwind css, the process should be same as shown here. I tried on fresh next 13.4.4 with tailwind with the same process it is working. If you want to change the color or something I think you can do it using @apply rule of tailwind this in scss file
.mf-cursor {
  @apply text-emerald-600;

  @media screen and (max-width: 900px) {
    @apply hidden;
  }
}


I dont get the code

After adding my number, i receive the error:
ERROR: {"statusCode":400,"errorKey":null,"data":null,"fields":null,"timestamp":" etc etc

which country code?

I don't know about them, but I received the same error with country code +49


Writing debug stats despite the debug flag set to false

Looks like this is the offending line. Shouldn't that be if (debug) {?

Yeah, it's always written in dev mode.
Maybe it should only be written in debug mode instead.
I think it should.
https://github.com/halt-hammerzeit/webpack-isomorphic-tools/blob/master/source/plugin/write assets.js#L29

It was in the past. Thanks for the fix!

FYI
I'm posting this in every issue and PR to notify whoever may be interested:
today I've released an alternative helper library called universal-webpack.
It takes a different approach than webpack-ismorphic-tools and instead of hacking Node.js require() calls it just compiles all code with target: 'node' webpack configuration option.
As a result, all Webpack plugins and features are supported.
If you think you might need that here's an example project:
https://github.com/halt-hammerzeit/webpack-react-redux-isomorphic-render-example


[fix#269] Removed Load more button from featured circuits page

Fixes #269
Describe the changes you have made in this PR -

[x] Removed Load more button from featured circuits page
[x] Added Loading animation while loading the circuits

Screenshots of the changes (If any) -
simplescreenrecorder-2023-03-02_03.48.19.webm

Looks fine . I think it's not formatted. Kindly format the code by dart format .

Hey it's already formatted. Check the reason why the build failed.
There were multiple deprecation warnings. I will open an issue shortly for this and fix the warnings.

@tachyons can you run the workflow again

@danger-ahead please merge your code with latest commits in main branch. As the old code consists some deprecation that has been fixed in latest update

@danger-ahead please merge your code with latest commits in main branch. As the old code consists some deprecation that has been fixed in latest update

@Tanmoy741127 Pushed after merging with master. Have a look!

@vedant-jain03 @tachyons can you run the workflow

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 64.618%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
4047

Relevant Lines:
6263

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 19 (57.89%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 64.618%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ui/views/projects/featured_projects_view.dart
11
19
57.89%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
4047

Relevant Lines:
6263

💛  - Coveralls

@danger-ahead Can we show loader when next set of circuits are being loaded ?

Also, please rebase your branch to pass CI checks

simplescreenrecorder-2023-03-05_07.55.19.webm
@vedant-jain03 @Tanmoy741127 @manjotsidhu
Added loader while the next batch of circuits is being loaded. Have a look!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-8 of 24 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 64.635%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ui/views/projects/featured_projects_view.dart
16
24
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
4050

Relevant Lines:
6266

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 24 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 64.635%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ui/views/projects/featured_projects_view.dart
16
24
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
4050

Relevant Lines:
6266

💛  - Coveralls


Autofix only the file in a specific directory

Looking at the readme there is a way to include/exclude files but if I want that a behavior is different based on the command?
Like I want the fix automatic on blade files but on the other stuff I want only the lint and report?

This is currently not possible. One way we could implement this is to allow Duster to accept a --config parameter. This way, you could point it to one for lint and another for fixing. However, things will get messy when considering support for the other configuration files (TLint, PHP_CodeSniffer, PHP CS Fixer, and Pint).
I'm closing for now as this is not currently planned.

This is very sad as it will be handy as parameter to have a exclude parameter in this way will work with any tool.

@Mte90 An exclude parameter would be a better solution and would be easier to implement in all tools.


cmd: introduce Env - an Environment for CLI commands

This is a slight refactoring of cmd package to:

Have more granular control over flags

So Light node doesn't have Core related flags
Bridge node doesn't have trustedPeer flags and etc

Have a pattern on how we add additional flags and node types
Have encapsulated shared environment for commands to put common things into

Flag parsing
(Soon) RPC Client related initializations
more

Have an ergonomic API for us while developing commands

Also, the PR removes completion and help(use --help instead) commands for simplicity until we really need them.
Commands and flags are tested manually, but still, there are might be some issues, so look carefully.

Linter is failing for some weird issue. It says there are line duplicates but if you look closely, there are no duplicates, even those lines really look similar, but they just follow the same pattern.

Is this one ready for review?

@adlerjohn, Why not? Not a draft, and all the checks are ok, so yes, is ready


Feature: GPG signing with action commits

https://github.com/aormsby/Fork-Sync-With-Upstream-action/wiki/Scenarios-for-Advanced-Input
git_pull_args: is not valid anymore. I would submit a correction but unsure which of the _args is the current one and don't want to create more work.
Also, is there a way to specify a secret that contains a PGP key for checking to show the commit as verified?

Ha! Not as simple as I thought. I didn't realize GPG signing in Actions was such a challenge for so many devs, but I've learned a few things today.
Right now, I don't think that supporting GPG setup during the sync makes a whole lot of sense, because the requirements there are sort of beyond the scope of the action. Instead, I think adding a GPG config step to the workflow before the sync would work better overall.
There's an action called Import GPG that other users find effective for this task, and I'm going to try it out with my syn action. Maybe some minor adjustments are needed to avoid git config conflicts. If it works, this will be what I recommend for you as well.

Yep, this is working for me with very small changes. @glexiasvc  I'd love if you would try it out - instructions in PR #35

Confirmed fixed. Thank you! The issue is able to be resolved.

Thank you again, @aormsby

Merged and release as v3.1 👍


Add link to lightkube in Community-maintained client libraries.

This change adds a link to the Community-maintained client library lightkube.

I signed it

@gtsystem I think you have misunderstood how localization teams pick up changes to the English content.
Please revise this PR to omit the changes you have made to the localized content. If this merges, you are welcome to open 2 follow up PRs (one for updating the Korean page, and another for the Chinese page).

All right, I kept the English version only.

/remove-language ko
/remove-language zh


Varnish 4.1

Update for varnish 4.1.
I do not think it's backwards compatible. Maybe create a branch for version 4.0 and 4.1?

Hey @ksperis, thanks for the PR - I don't have a varnish 4.1 install to play with right now, but I like the idea of a branch to cover 4.x - should your code be expected to work on any 4.x, or is there something specific to 4.0/4.1 we should be aware of?

Hi, I have not had the opportunity to try on varnish 4.0, but unfortunately, I do not think that the type of init function is compatible between 4.0 and 4.1.


apps/bttester: change macro value

Change BLE_L2CAP_COC_MAX_NUM value to 3.

@piotrnarajowski Please describe why this change is needed

also, it is not a macro :)

#AutoPTS run mynewt L2CAP

Scheduled PR #https://github.com/apache/mynewt-nimble/pull/1711#issuecomment-1968386547 after 08:33:46.


/src/github.com/haccer/subjack/fingerprints.json: no such file or directory

Hello
I am using the newest version of subjack with go1.10.4 on Ubuntu, but have the following error:
/src/github.com/haccer/subjack/fingerprints.json: no such file or directory
Subjack tries to find fingerprints.json by absolute path, not in directory marked as GOPATH.
Could you please help me fixing this?
I am sorry for this issue if i'm not right.
Thank you

What's the output of this echo $GOPATH?  @ttmyst

@madaratech output is /home/tati/go
subject binary is in /home/tati/go/bin directory, sources are in /home/tati/go/src/github.com/haccer/subjack

No, as par code it looks with your $GOPATH https://github.com/haccer/subjack/blob/99fe2fff937aa6aa3d30679c52320fb874f3eec9/main.go#L15

Anyway you can always feed that file location with -c so, use -c /home/tati/go/src/github.com/haccer/subjack/fingerprints.json while running subjack.

@madaratech thank you! it works with -c flag
Stranger things :)

I'm having the same issue on Ubuntu 18.0.4
"open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory"
I can confirm file and directory exists on my system.

Thanks, I will look into this possibly tomorrow @jdonsec @ttmyst.

It’s possible this is happening because the environment variable GOPATH is not set.

@haccer this is what I have at the end of file for ~/ .profile
export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

same problem... i am using go 1.10... gopath is true..
subjack -d twitter.com -c fingerprints.json
2019/04/18 12:34:02 open : no such file or directory

the -c flag workarounded for me. thanks.

can't load package: package subjack.go: cannot find package "subjack.go" in any of:
/usr/lib/go-1.14/src/subjack.go (from $GOROOT)
/home/indira/go/src/subjack.go (from $GOPATH)

I have the same issue using subjack on MacOS (10.15.4 Catalina) and Go 1.14.4 via brew.
I literally followed the install info and ran go get github.com/haccer/subjack, made a domains file in w.txt and ran ~/go/bin/subjack -w w.txt -a -ssl:
2020/07/15 17:51:03 open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory
2020/07/15 17:51:03 open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory

My $GOPATH is empty, seems that on MacOS via brew that doesn't get set.
I see that I do have ~/go/src/github.com/haccer/subjack/fingerprints.json and using the -c workaround fixes it. Is the issue just the lack of $GOPATH? Maybe worth using a default if that doesn't exist?


Feature/knockback extension

Tweaked some movement settings and hitboxes of the giant fans and super fans.
Air trigger is also now no longer a collider being considered by the projectiles.
Added the knockback extension with a boxing glove model!
The knockback extension works by creating a normal that pushes players forwards, and the player who shots gets pushed backwards.

After testing I notice that

the shotgun barrel only shoots one bullet with the knockback extension equipped
the range of the knockback effect seems really low, you have to get really close to trigger it
the effect might be made a tad stronger?
the extension model is damn fine :+1:


Missing emoticons

I think adding emoticons would be great.

this is already planned, take a look at the top of the chat window (:

we have emojis now, next up is to add BetterTTV custom emotes

Emoji mart have support of emoticons I will work on it

@nadirabbas hello will you please tell me how do you want emoticons feature.

@tanay-pingalkar We just need custom BetterTTV emotes support.

Yea that's good and possible, but from where can i get that  emojis like pogs..... Is there any site who have free
Emojis

BetterTTV

Oki

I have asked betterTTV for support for dogehouse...till now  we can  add some custom emojis

@tanay-pingalkar is it not possible to download those emotes directly from their website? https://betterttv.com/emotes/top IDK

@tanay-pingalkar is it not possible to download those emotes directly from their website? https://betterttv.com/emotes/top IDK

Yea


Improve and expand conventions

Help contributors by clarifying the preferred conventions.

@kw-fn if you are happy, please feel free to merge.

Look good to me! Thanks!


Ender card upgrade / Wireless Card Upgrade

Describe the feature you'd like to have added
Hello there, I a suggestion that might work if you have a card that can wirelessly connect to a chest or tank and or energy after upgrading the cards to the ender version by combining with a ender chest and a ender pearl for the upgrade, and to link them you shift right click on the chest or the tank that you want to link to so you can use more of the laser node slots and are not wasting the node and can maximize it to its fullest use.
Additional information
No response

Planned Feature :)


Modify packer to use iso file

The packer build process takes a long time for me and one way to speed things up would be to use an existing iso file. But being unfamiliar with 'packer' I am not sure how to modify the build script to do so.

You can add parameters to the packer build, have a look at my command line that I use with local ISO files:
https://github.com/StefanScherer/packer-windows/blob/my/build_windows_2016_docker.sh#L5

Thank you. What does 'autounattend' do?

Each --var key=value replaces the default given in the json file. With this I can use a different autounattend.xml file without modifying my Git repo (eg. product keys inserted). Just leave the option away to use the default xml file.

Thank you.


Page contains text

Amazing library!
What's the best way for me to do something like
assert.ok(page.containsText('Foo bar');

? I tried
containsText: contains('*')

but got the warning about multiple matches, then tried multiple: true but that checks that every matched element contains the text. I want to check that one (or more) matched elements contains the text.

@samselikoff: One way I can think of would be to create a collection of all elements containing the text, and make sure that the number of matching elements is correct (or greater than 0).

@samselikoff @jeradg you can use the :first selector to target the whole application.
var page = create({
  scope: ':first'
});

// test
assert.ok(page.contains('foo')); // will work out-of-the-box

I'm almost sure this works with the current version of ember-cli-page-object.
Apart from that, I've opened this PR (#209) to add this behavior by default so if no selector is defined then :first is used.
var page = create({});

// test
assert.ok(page.contains('foo'));

Just a comment about the auto-generated contains property.
There are several properties that are auto-generated for every page object, you can see the list here. So just declaring a scope you can use these properties which is nice because it reduces the size of page objects.
An example of this
var page = create({
  scope: '.a-scope',

  foo: {
    scope: '.a-component'
  }
});

// tests
assert.ok(page.contains('lorem ipsum')); // ".a-scope :contains('lorem ipsum')"
assert.ok(page.foo.contains('lorem ipsum')); // ".a-scope .a-component :contains('lorem ipsum')"

You can also redefine these methods if you need
var page = create({
  scope: '.a-scope',
  contains: contains('.another-scope')
});

// tests
assert.ok(page.contains('lorem ipsum')); // ".a-scope .another-scope :contains('lorem ipsum')"

And lastly you can add a different property if you want to use a more semantic name
var page = create({
  scope: '.a-scope',
  mySemanticProp: contains()
});

// tests
assert.ok(page.mySemanticProp('lorem ipsum')); // ".a-scope :contains('lorem ipsum')"

PS: contains doesn't actually generate a :contains selector, I've used this selector just as an example. You can see the real implementation here.

Scope is exactly what I needs - thank you!


Szabist University Domain Added

https://www.szabist-isb.pk/
https://www.szabist-isb.edu.pk/MSCS_Program.asp

@JunaidIshaqcs I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host szabist-isb.edu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!

@philipto Sorry i have placed this file in edu directory instead of pk. i have replaced it. I have requested you again. please see it. thanks.


The intrinsic paramters of Cambridge dataset

Hi @ebrach,
I want to generate 3D coordinates from depth images. However, I didn't find the camara intrinsic parameters in Cambridge dataset after checking the package linked in readme. Could you tell me the intrinsic paramters of Cambridge dataset or where I can find it.
regards.

Hi,
in the readme there is a data package linked. It contains a folder for the Cambridge dataset with a default.config file. This file states the intrinsics that we use. Focal length: 744.375 (for images rescaled to 480px height) and principal point assumed in the image center.
Kind regards,
Eric


Generate @SafeVarargs when necessary

Collection properties can generate varargs addAllX methods that require a @SafeVarargs annotation for warning-free usage. We should check the method is not overridden and mark it as @SafeVarargs final if possible.

I came to the issues to file a bug about the heap pollution warning, but it seems the project is already aware
So in case others experience the heap pollution warning, if your usage of FreeBuilder tolerates doing so, one can change the builder method to return Optional<> and it switches out of the add(Thing<>... items) generation mode to just a traditional set(Collection<Thing<>> value) mode
For example, change:
interface Polluter<T> { T getT(); }
@FreeBuilder
interface MyData {
  Collection<Polluter<String>> getHeapPolluter();
}

to:
interface Polluter<T> { T getT(); }
@FreeBuilder
interface MyData {
  Optional<Collection<Polluter<String>>> getNonPolluting();
}

You can also override the varargs method in the Builder and add the missing annotation

This has been fixed in v1.14.2.


Do you have any idea why metalsmith doesn't generate anymore my website?

Since I've updated metalsmith / nodejs (0.12), it doesn't generate any files.
https://github.com/kud/diary/blob/master/gulpfile.js#L15-L73

Apparently not well formed markdown.


added pretty printing json, storing all chains and updated tests

Signed-off-by: RinkiyaKeDad<EMAIL_ADDRESS>Fixes #26, prerequisite for #24.

Earlier we were only storing the longest chain of a particular length in a map[int][]string but with this PR we will be storing all chains of a particular length in a map[int][][]string. This is needed for #24.
Added tests for this change.
Pretty printing the JSON output which was a part of this commit was not added to the original depstat repo so I've done that too in this PR.
Introducing the Chain type which is basically a []string.

@alenkacz looks like you were right. We didn't at all need maps for the chains. I tried converting the code to use the two structs we had discussed but that was unnecessarily introducing complications.
So instead of that I simplified everything by using a simple type Chain []string and some additional functions. PTAL 🙂


[Bug report]:

Platform
Desktop
Version
1.7.3
Description
App Version: 1.7.3
platform: macOS
platformVersion: 10.13.6
platformArchitecture: x64
cpuCount: 4
totalMem: 4096.0 MB
freeMem: 834.7 MB
Error Type: [Preload Context] Error
Error: node-loader:
Error: dlopen(/Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node, 1): Symbol not found: __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj
Referenced from: /Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libc++.1.dylib
in /Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node
Expected behaviour
App up and running
Actual behaviour
App Version: 1.7.3
platform: macOS
platformVersion: 10.13.6
platformArchitecture: x64
cpuCount: 4
totalMem: 4096.0 MB
freeMem: 834.7 MB
Error Type: [Preload Context] Error
Error: node-loader:
Error: dlopen(/Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node, 1): Symbol not found: __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj
Referenced from: /Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libc++.1.dylib
in /Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
No response
Operating System
Mac
Diagnostics
No response
Developer Profile
No
Profile Type
Software (Stronghold)
Staking
None
Crash Status
None of the above
Error Messages
App Version: 1.7.3
platform: macOS
platformVersion: 10.13.6
platformArchitecture: x64
cpuCount: 4
totalMem: 4096.0 MB
freeMem: 834.7 MB
Error Type: [Preload Context] Error
Error: node-loader:
Error: dlopen(/Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node, 1): Symbol not found: __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj
Referenced from: /Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libc++.1.dylib
in /Applications/Firefly.app/Contents/Resources/app.asar.unpacked/public/build/index.node
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

We have mitigated this issue recent version, please upgrade to V1.7.5, you can download it from the official website https://firefly.iota.org/. We do not support macOS version < 10.14 though, since those versions have reached the official end of life some time ago. We recommend you upgrade your macOS version so you can receive official security updates


Remove "coming up" section until we have anything to show

The current pages makes it look like there's no talks at all on the page.

The simplest fix to this is to remove the section altogether, maybe conditionally if we can detect when there are upcoming talks.

It needs a review from a design pov since removing the "coming soon" card breaks the layout

A quick&dirty alternative would be to remove the card, but leaving a min-height for the header, so it would be somehow fixed.
example:

Anyhow, I think it would be better if the content of the first section would be the past talks when there are no upcoming talks. That way, the "most relevant content" in that scenario would be our last sessions, instead of "nothing".
example:

What do you think about it?

I like the last version best, but how does it display in a narrower screen?

Not that bad...

That looks pretty good, SGTM

This will be handled by the website redesign.

Indeed. 👍


post-hook support

From what I can tell, hooks execute before the built-in code. I want a way to execute something after as well. E.g. post-exec

Sorry, the current hook support is all we have. Some use-cases will simply not be possible with hooks.


langchain-aws has not working with some of the  Bedrock Cohere and Amazon model

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
None
Error Message and Stack Trace (if applicable)
Traceback (most recent call last):
.....
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 1332, in atransform
async for output in self.astream(final, config, **kwargs):
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\branch.py", line 451, in astream
async for chunk in self.default.astream(
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 3287, in astream
async for chunk in self.atransform(input_aiter(), config, **kwargs):
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 3270, in atransform
async for chunk in self._atransform_stream_with_config(
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 2161, in _atransform_stream_with_config
chunk: Output = await asyncio.create_task(  # type: ignore[call-arg]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 3240, in _atransform
async for output in final_pipeline:
File "E:\Projects\CloudApper\AI-ML\Lang Sense\lang_chain_wrapper\cache.py", line 132, in atransform
async for content in _input:
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\output_parsers\transform.py", line 85, in atransform
async for chunk in self._atransform_stream_with_config(
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 2161, in _atransform_stream_with_config
chunk: Output = await asyncio.create_task(  # type: ignore[call-arg]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\output_parsers\transform.py", line 39, in _atransform
async for chunk in input:
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\utils\aiter.py", line 127, in tee_peer
item = await iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\runnables\base.py", line 1332, in atransform
async for output in self.astream(final, config, **kwargs):
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\language_models\llms.py", line 588, in astream
raise e
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\language_models\llms.py", line 581, in astream
generation += chunk
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\outputs\generation.py", line 58, in add
generation_info = merge_dicts(
^^^^^^^^^^^^
File "E:\Projects\CloudApper\AI-ML\Lang Sense\venv\Lib\site-packages\langchain_core\utils_merge.py", line 52, in merge_dicts
raise TypeError(
TypeError: Additional kwargs key index already exists in left dict and value has unsupported type <class 'int'>.
Description
Bug 1
These two models are not working cohere.command-r-plus-v1:0 and cohere.command-r-v1:0 but cohere.command-text-v14 working fine for the same request body.
Error:  An error occurred (ValidationException) when calling the InvokeModelWithResponseStream operation: Malformed input request: #: extraneous key [stream] is not permitted#: extraneous key [prompt] is not permitted, please reformat your input and try again.
Root Cause: LLMInputOutputAdapter.prepare_input doesn't create the body accordingly for the r model as the error message clearly state that it doesn't accept stream and prompt params. I think this is because all cohere model payload are not similar to each other. If I add the prompt value to message and remove those params in the input_body dict,  the api will work. Though this is not the solution for this problem.
Ref:
Cohere Command models: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-cohere-command.html
Cohere Command R: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-cohere-command-r-plus.html
Bug 2
amazon.titan-text-premier-v1:0 raise Additional kwargs key index already exists in left dict and value has unsupported type <class 'int'>. where same request is working as expected amazon.titan-text-express-v1
See the stack trace to find the root cause.
 ChatBedrock or ChatBedrockConverse?
A quick snippet to reproduce would be helpful. Thanks!

from langchain_aws import ChatBedrock, BedrockLLM
def get_language_model(self, streaming: bool = False, temperature: int = 0, callbacks: Callbacks = None) -> BaseLanguageModel:
  llm_provider = self.get_provider(self._chat_model.model)
  if llm_provider in ['cohere', 'amazon']:
         return BedrockLLM(client=client, model_id=self._chat_model.model, streaming=streaming, callbacks=callbacks, model_kwargs={"temperature": temperature})
  return ChatBedrock(client=client, model_id=self._chat_model.model, streaming=streaming, callbacks=callbacks, model_kwargs={"temperature": temperature})

 @staticmethod
  def get_provider(model: str):
      return model.split('.')[0]

Note: If I use ChatBedrock for cohere and amazon for RAG chain and create_react_agent it will produces different error. I am not sure why there are two classes (ChatBedrock & BedrockLLM) for the same feature.

For cohere bug please see the reference provided (the request payload) earlier and the implementation of LLMInputOutputAdapter.prepare_input method. You will easily find the bug I hope.

@ccurme Full code:
```
async def bedrock_test_async(self):
client = boto3.client(
'bedrock-runtime',
region_name=self.model.chat_model.bedrock_aws_region_name,
aws_access_key_id=self.model.chat_model.bedrock_aws_access_key_id,
aws_secret_access_key=self.model.chat_model.bedrock_aws_secret_access_key
)
llm_provider = self.model.chat_model.model.split('.')[0]
if llm_provider not in ['cohere', 'amazon']:
llm = BedrockLLM(client=client, model_id=self.model.chat_model.model)
else:
llm = ChatBedrock(client=client, model_id=self.model.chat_model.model)
async for token in llm.astream("What is RightPatient"):
print(token)

**Model list for Generate the Error:**

- amazon.titan-text-premier-v1:0
- cohere.command-r-plus-v1:0
- cohere.command-r-v1:0
- ai21.jamba-instruct-v1:0

Note: We should have a facility to use `ChatBedrock` for all bedrock models. You see I have to use if/else block which I don't want

@ccurme Is there any update?

@efriis Could you please looking into this issue? The library is not working with any basic functionality. There are lots of bug in this library.

Hi @hasansustcse13,
Thanks for flagging these. AWS recommends using its newer Converse API for conversational applications. LangChain supports this via the ChatBedrockConverse, which appears to work on all models mentioned here.
Example:
from langchain_aws import ChatBedrockConverse

llm = ChatBedrockConverse(model="cohere.command-r-v1:0")

# Invoke

llm.invoke("hi")

AIMessage(content="Hi! How's it going? I hope you're having a fantastic day! Is there anything I can help you with?", response_metadata={'ResponseMetadata': {'RequestId': 'f2e10fa0-d616-4dfd-a624-45054e4f21af', 'HTTPStatusCode': 200, 'HTTPHeaders': {'date': 'Tue, 20 Aug 2024 13:27:37 GMT', 'content-type': 'application/json', 'content-length': '276', 'connection': 'keep-alive', 'x-amzn-requestid': 'f2e10fa0-d616-4dfd-a624-45054e4f21af'}, 'RetryAttempts': 0}, 'stopReason': 'end_turn', 'metrics': {'latencyMs': 355}}, id='run-c01698ad-a4da-46ef-825c-60346435b3c9-0', usage_metadata={'input_tokens': 1, 'output_tokens': 25, 'total_tokens': 26})

# Stream

from langchain_core.output_parsers import StrOutputParser

chain = llm | StrOutputParser()  # if we just want text

async for chunk in chain.astream("hi"):
    print(chunk, end="|")

|Hi|!| How|'s| it| going|?| I| hope| you|'re| having| a| fantastic| day|!| Is| there| anything| I| can| help| you| with|?||||

Regarding BedrockLLM: LangChain makes a distinction between chat models-- which interact with message objects that can have roles and other metadata-- and text-in text-out LLMs. BedrockLLM is an example of the latter.
Let me know if using ChatBedrockConverse is not viable or does not solve your problem. Thanks!

@ccurme Thank you for the response. Though all the model is working fine for the above example but when I use some of the model with system prompt it produce error.
Bug 1 (Major):
Code:
async def bedrock_test_async(self):
     client = boto3.client(
         'bedrock-runtime',
         region_name=self.model.chat_model.bedrock_aws_region_name,
         aws_access_key_id=self.model.chat_model.bedrock_aws_access_key_id,
         aws_secret_access_key=self.model.chat_model.bedrock_aws_secret_access_key
     )
     answer_prompt = ChatPromptTemplate.from_messages([
         ("system", "You are a QA chat bot name `Raven`. You can answer question from your knowledge."),
         ("human", "Query: ```{question}```"),
     ])
     callbacks = [LLMLogCallbackHandlerAsync()]
     # callbacks = []
     llm = ChatBedrockConverse(client=client, model=self.model.chat_model.model, callbacks=callbacks, temperature=0.1)

     chain = answer_prompt | llm | StrOutputParser()
     async for token in chain.astream({"question": "What is your name and What can you do?"}):
         if not callbacks:
             print(token, end='')

Error:
An error occurred (ValidationException) when calling the ConverseStream operation: This model doesn't support system messages. Try again without a system message or use a model that supports system messages.
Models

amazon.titan-text-express-v1
amazon.titan-text-premier-v1:0
cohere.command-text-v14
mistral.mistral-7b-instruct-v0:2
mistral.mixtral-8x7b-instruct-v0:1

Possible Reason:
It is possible that the mentioned models provider really don't support system message or langchain-aws library doesn't prepare the request body as expected. If the models don't have the system message facility langchain should convert the system message to human message or anything else similar to ChatGoogleGenerativeAI. This class has a property named convert_system_message_to_human and this property has been added after report this bug. And this flag should only react for the not supported model.
#14710  Merged Issue
Bug 2 (Minor):
Some of the models pass array (e.g [{'type': 'text', 'text': ' M', 'index': 0}]) of object instead of str on on_llm_new_token callbacks. It should only pass the value of text property as other provider like openai gemini push only the token nothing else and also signature of the method is str
Callback:
import time
from datetime import datetime
from typing import Dict, Any, List, Optional, Union
from uuid import UUID

from colorama import Fore
from langchain_core.callbacks import AsyncCallbackHandler
from langchain_core.outputs import LLMResult, GenerationChunk, ChatGenerationChunk

class LLMLogCallbackHandlerAsync(AsyncCallbackHandler):

    def __init__(self):
        self.start: Optional[float] = None
        self.first = True
        self.llm_logs = []

    async def on_llm_start(
            self,
            serialized: Dict[str, Any],
            prompts: List[str],
            *,
            run_id: UUID,
            parent_run_id: Optional[UUID] = None,
            tags: Optional[List[str]] = None,
            metadata: Optional[Dict[str, Any]] = None,
            invocation_params: Optional[Dict[str, Any]] = None,
            **kwargs: Any,
    ) -> None:
        from sense_log import logger

        self.start = time.time()
        self.first = True
        self.llm_logs.append({'run_id': str(run_id), 'prompts': prompts})

        logger.clog(f"LLM START - {datetime.now()} RUNNER - {run_id}", Fore.RED)
        joined_prompts = '\n\n'.join(prompts)
        logger.clog(f"{joined_prompts}", Fore.GREEN)

    async def on_llm_new_token(
            self,
            token: str,
            *,
            chunk: Optional[Union[GenerationChunk, ChatGenerationChunk]] = None,
            run_id: UUID,
            parent_run_id: Optional[UUID] = None,
            tags: Optional[List[str]] = None,
            **kwargs: Any,
    ) -> None:
        if self.first:
            print(f"COMPLETION - START ON - {datetime.now()} - START AFTER - {time.time() - self.start}", Fore.YELLOW)
            self.first = False
        print(token)

    async def on_llm_end(self, response: LLMResult, *, run_id: UUID, parent_run_id: Optional[UUID] = None, **kwargs: Any) -> Any:
        texts = [generation.text for generation_list in response.generations for generation in generation_list]
        [log.update({'completion': texts}) for log in self.llm_logs if log.get('run_id') == str(run_id)]

        joined_texts = '\n\n'.join(texts)
        print(f"\nLLM END - {datetime.now()} RUNNER - {run_id}", Fore.RED)
        print(f"TOTAL COMPLETION TIME - {time.time() - self.start}", Fore.YELLOW)
        print(f"{joined_texts}", Fore.CYAN)

Models

ai21.jamba-instruct-v1:0
anthropic.claude-3-5-sonnet-20240620-v1:0
anthropic.claude-3-sonnet-20240229-v1:0
anthropic.claude-3-haiku-20240307-v1:0
cohere.command-r-plus-v1:0
cohere.command-r-v1:0
meta.llama3-8b-instruct-v1:0
meta.llama3-70b-instruct-v1:0
mistral.mistral-large-2402-v1:0

Note:
Please note that some of the providers (mistral) present in both bug but the model is not same. I think 2nd bug exist in bug 1's model also.
Also not that, mistra large is working as expected with system message but mistra instruct not working.
CC: @efriis


Multi-stage build

Implemented quick multi-stage build resulting in smaller container.
Added dependencies that seemed to be missing for my current build to be successful.
Feel free to merge or request changes.

Aewsome. Thanks @ck3mp3r


Rename events

https://github.com/distillpub/template/blob/08fafcf2ee03839ffb7b27b1450b9713ab147d72/src/components/d-figure.js#L9
We should simplify these events.
ready -> onscreen -> offscreen
are probably all we need. Ready will only ever fire once, for use when the figure is first close to or is in view, for loading resources and initializing code.

Agreed and implemented in https://github.com/distillpub/template/commit/9993a679c1b4481dc25c580dd3e20bbf5eed9289 !


samples: refactor certificate generation script

Separate commands for root and device certificates

Don't require device to already exist in Golioth console

Move to samples/common/scripts

Separate commands for root and device certificates
Don't require device to already exist in Golioth console
Move to samples/common/scripts

Can we split those 3 changes to separate commits to make is easier to review (and get back to it once needed with git log)?

Separate commands for root and device certificates
Don't require device to already exist in Golioth console
Move to samples/common/scripts

Can we split those 3 changes to separate commits to make is easier to review (and get back to it once needed with git log)?

I split it into 2 commits, one for moving the file and another for the code changes, which should make the diff easier to use.

Code changes look fine. However I would like to clarify the "device primary hardware id" vs "device name" thing. This is new to me, since I was 100% sure that so far a "hardware id" was used, not a "name".

It surprised me too. Here's the relevant part of the backend code: https://github.com/golioth/golioth/blob/main/internal/services/deviceauth/certificates_auth.go#L113


[BUG] Central grafana datasource script behaves strangely

Context

When I've added new clusters to the central grafana, I get strange error messages from the script. First run through says the new cluster was added successfully but there was also an error, though no error messages appear. The second run through shows that the cluster was indeed added, but again says there was an error even though there were no error messages?
Proposal
No response
Updates and actions
No response

cc @GeorgianaElena in case she has a quick hint about it!


Ref: https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/config.py
Removed most of the resource_setup as
The "rbac_utils.RbacUtilsMixin" will create the project and there is no
need for that moreover it throws project already created /present error.
Change-Id: I1fbff22fbcc74bdcba9fd5a96fc81f41208ddc56

This depends on #4

thanks


Adjusting URL and Display Settings for Chinese Categories and Tags in Astrowind Theme

Hello,
First off, I want to express my appreciation for the Astrowind theme; it's fantastic, and your hard work is truly valued.
I'm currently applying Astrowind to a project in Chinese and have encountered some issues that I hope to get your guidance on:

When the category and tags in the frontmatter of MDX files located in src/content/post/ are in Chinese, the URLs for categories and tags are generated with syllable-based pinyin. For instance, the tag “数字技术” results in a URL like https://astrowind2.vercel.app/category/shu4-zi4-ji4-shu4. How can I modify the code so that the URL appears as https://astrowind2.vercel.app/category/shu-zi-ji-shu without the tone marks?

On the blog post detail pages, such as https://astrowind2.vercel.app/20240324-dong1-zhi4, the URL includes syllable tone marks. How can I remove these tone marks from the URLs?

Similarly, on the blog post detail pages (e.g., https://astrowind2.vercel.app/20240324-dong1-zhi), both categories and tags are displayed in pinyin with tone marks. Is there a way to display them in Chinese, as per the frontmatter's categories and tags?

Your advice on these matters would be greatly appreciated. You can view the code at https://github.com/zipziz/astrowind/.
Thank you for your time and assistance.

Hello,
I'm currently utilizing the Astrowind theme for a project involving Chinese language content, and I've encountered some issues with how URLs are generated for categories and tags, as well as the display of categories and tags in Chinese. My understanding of code is quite limited, but I was advised that these issues might be related to how strings are processed and converted into slugs, particularly with regard to the inclusion of tone marks in pinyin.
Issues Identified:

URLs for Categories and Tags: The URLs generated for categories and tags are in pinyin with tone marks (e.g., shu4-zi4-ji4-shu4 for “数字技术”). I'm hoping to have URLs without tone marks (e.g., shu-zi-ji-shu).

Display of Categories and Tags on Blog Posts: On detail pages, categories and tags are displayed in pinyin with tone marks rather than in Chinese characters.

Possible Clues for Modification:

The slugify function from the limax library is used in permalinks.ts for generating slugs. It appears that this function includes tone marks by default. A potential adjustment could involve modifying the slugify function calls to exclude tone marks ({ tone: false } option).

The processing and display logic for categories and tags may need to be reviewed to ensure that Chinese characters are displayed correctly on the blog posts' detail pages rather than their pinyin transliteration.

Since I'm not proficient in coding, I'm unable to make these modifications myself. Thus, I'm reaching out to see if you could kindly consider making these adjustments to the theme's source code. Such changes would greatly enhance the usability of the Astrowind theme for projects involving Chinese content.
Thank you very much for your time and consideration. Your effort and contribution to the open-source community are deeply appreciated.

Hi @zipziz
Thank you very much for bringing this to the table. There are aspects about the Chinese language that we do not know in depth and we ended up using limax due to a recommendation from a long time ago. Your idea of having a configuration to decide different characteristics of slug generation seems very good to us. There may even be a setting to disable this conversion completely. We will be working on it.
If you have any more suggestions related to how to deal with Chinese language slugs please let us know.

Hi again @zipziz
We were reviewing the idea of adding settings for limax in the config.yaml file but seeing that you can solve your problem very easily with one line of code, we preferred not to make major changes to AstroWind since we are already starting the new AstroWind 2.0 version.
Better we are going to give you the solution here of what you need for not use tone in slugs.
Go to this file on the marked line:
https://github.com/onwidget/astrowind/blob/main/src/utils/permalinks.ts#L21
export const cleanSlug = (text = '') =>
  trimSlash(text)
    .split('/')
    .map((slug) => slugify(slug))
    .join('/');

And replace it with this code:
export const cleanSlug = (text = '') =>
  trimSlash(text)
    .split('/')
    .map((slug) => slugify(slug, { tone: false }))
    .join('/');

In that case all slug conversions will stop using the tone

Please let us know if this solution works for you and if everything works ok for you. Thank you

Thank you for the work on this project. I've encountered an issue regarding the tone: false solution, which successfully addresses the issue of tones in URLs. This solution works as expected, and tones are correctly removed from the URLs. However, I've noticed that on the category page titles and the category tags on the blog detail pages, the displayed text is still the converted pinyin, rather than the original Chinese characters defined in the MDX files' tags and categories.
Steps to Reproduce:

Define categories and tags in Chinese within the MDX frontmatter.---
publishDate: 2023-07-17T00:00:00Z
title: 处暑
excerpt: 为了测试 Markdown 的各种样式，下面是一篇包含各种 Markdown 元素的示例文章。这篇文章将包括标题、段落、强调样式、列表、代码块、引用、链接和图片等元素。
image: https://images.unsplash.com/photo-1546984575-757f4f7c13cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80
category: 数字技术
tags:
  - 数字城市
  - 稀罕物价
  - astro
metadata:
  canonical: https://astrowind.vercel.app/astrowind-template-in-depth
---

Access the category page generated from the above MDX file (for example, https://astrowind2.vercel.app/category/shu-zi-ji-shu).

Expected Result:
The category title on the page should display the original Chinese characters, i.e., "数字技术".
Actual Result:
The category title is displayed in pinyin as "Shu Zi Ji Shu", not in the original Chinese characters "数字技术".
Suggested Fix:
It would be greatly appreciated if there's a way to display the original Chinese characters for categories and tags on the category pages and blog detail pages, alongside handling the URL conversion without tones.
Thank you for considering this issue. I look forward to any suggestions or updates on this matter.

Thank you for the work on this project. I've encountered an issue regarding the tone: false solution, which successfully addresses the issue of tones in URLs. This solution works as expected, and tones are correctly removed from the URLs. However, I've noticed that on the category page titles and the category tags on the blog detail pages, the displayed text is still the converted pinyin, rather than the original Chinese characters defined in the MDX files' tags and categories.
Steps to Reproduce:

Define categories and tags in Chinese within the MDX frontmatter.---
publishDate: 2023-07-17T00:00:00Z
title: 处暑
excerpt: 为了测试 Markdown 的各种样式，下面是一篇包含各种 Markdown 元素的示例文章。这篇文章将包括标题、段落、强调样式、列表、代码块、引用、链接和图片等元素。
image: https://images.unsplash.com/photo-1546984575-757f4f7c13cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80
category: 数字技术
tags:
  - 数字城市
  - 稀罕物价
  - astro
metadata:
  canonical: https://astrowind.vercel.app/astrowind-template-in-depth
---

Access the category page generated from the above MDX file ，for example, https://astrowind2.vercel.app/category/shu-zi-ji-shu

Expected Result:
The category title on the page should display the original Chinese characters, i.e., "数字技术".
Actual Result:
The category title is displayed in pinyin as "Shu Zi Ji Shu", not in the original Chinese characters "数字技术".
Suggested Fix:
It would be greatly appreciated if there's a way to display the original Chinese characters for categories and tags on the category pages and blog detail pages, alongside handling the URL conversion without tones.
Thank you for considering this issue. I look forward to any suggestions or updates on this matter.

Hi @zipziz
We have noticed the problem. Usually it does not feel strange in the English language or others that do not have conversion with limax but the change is very noticeable in languages like Chinese.
We were reviewing in depth and the only idea we can think of is that for cases like these, the template will have to define Contents Collections for Categories and Tags.
We think it should be optional in case you need the title to be displayed correctly. Most users probably don't want to put in the effort of creating a new Category in their Content collection every time they add a Category to a Post.
We will be working on it and we will let you know very soon.
Thank you

Hi @zipziz
We have fixed the issue with https://github.com/onwidget/astrowind/commit/f234e63eb468e2f554cd3623b1acb271d7de1113.
Please review and tell us how it is.
Thank you.

Hi @prototypa
I've checked the solution for f234e63, and I'm happy to report that the original issue has been resolved. Thank you for your diligent work on this!


When installing pods, Error Occurs

[!] Error installing SwiftLocation
[!] /usr/local/bin/git clone https://github.com/malcommac/SwiftLocation.git /var/folders/05/qdbzr3rd6t34x70bwjnl2gmh0000gn/T/d20170527-5864-1nkjv0b --template= --single-branch --depth 1 --branch 2.0.2
Cloning into '/var/folders/05/qdbzr3rd6t34x70bwjnl2gmh0000gn/T/d20170527-5864-1nkjv0b'...
warning: Could not find remote branch 2.0.2 to clone.
fatal: Remote branch 2.0.2 not found in upstream origin

Thank you for your contribution.
A new rewritten version is available both on master and CocoaPods (marked as 3.0.0-beta). It requires iOS9 and Swift 4.
If you encounter any other problem feel free to open an issue; I'll close because with the new version its now invalid.


Fix recovery state transition

Coverage increased (+0.7%) to 43.947% when pulling b768a8ca74272cd4fd7aa68a354df92f9bc920d4 on dmvk:recovery-state-transition into 8fc5df6050780ed7d84931eff6bf42ae31f1a308 on atomix:master.

@kuujo Any plans to get this released? Thanks.


Suggestion : Use browser's notification

When I get in a room, set myself as "ready" and wait for others, I'd like to be notified when the game starts.
This way, I could set myself ready, go do something else on my computer without waiting for a long time that everyone sets "ready".
The events could be "New player incoming, you are now {nb} in the room", "Get ready, the game is starting !", "New chat message : ......."

Nice suggestion!
There is actually a Notifier service to handle that issue, but it only use the page title and a sound:
https://github.com/Elao/curvytron/blob/develop/src/client/service/Notifier.js
We could make it support Browser notifications :)


"WARNING: Storage class not found for docProps/core.xml"

This is with a fresh filed created by LibreOffice Calc <IP_ADDRESS>. The full warning message reads:
*** WARNING: storage class not found for docProps/core.xml (http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core
-properties)
WARNING: RubyXL::WorkbookRoot is not aware how to process RubyXL::GenericStorageObject

And here's the contents of docProps/core.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dcterms:created xsi:type="dcterms:W3CDTF">2021-01-29T14:38:16Z</dcterms:created><dc:creator></dc:creator><dc:description></dc:description><dc:language>de-DE</dc:language><cp:lastModifiedBy></cp:lastModifiedBy><dcterms:modified xsi:type="dcterms:W3CDTF">2021-01-29T16:14:59Z</dcterms:modified><cp:revision>16</cp:revision><dc:subject></dc:subject><dc:title></dc:title></cp:coreProperties>

Can you please provide the file you are trying to parse so I can examine what is wrong with it?

Can't reproduce it anymore now. Assuming something changed in RubyXL. Will reopen if it ever reoccurs and attach full .xlsx then.


[INFO] Wrong username and password combination

If someone evere encounter wrong username and combination . Run https://github.com/afsalashyana/Library-Assistant/blob/master/src/library/assistant/settings/SettingsLoader.java under your project and change the username and password

Thanks for sharing.
I accidentally pushed the config.txt file that changed the username and password to 'gc' and 'root' respectively. The file has been recommitted with default 'admin' and 'admin'


rs_azure_storage: Add "update" action

Plugin Name
rs_azure_storage
Issue Type
Feature Request
Use Case (Feature Request -or- New Plugin Request Only)
Add "update" action to plugin
Plugin version (Bug Only)
n/a
Code Snippet (Bug Only)
n/a
Error Messages (Bug Only)
n/a

Tracked internally as PSASSET-798

Fixed in #136


fix: solved asyncapi help

fixed the bug of asyncpi help
Description
Related issue(s)
https://github.com/asyncapi/cli/issues/559

@Souvikns @derberg please review it

@ayushnau good progress, I see you figured out how the hooks work, I have a couple of things to add.
1. Instead of logging `help command not found.` it would be useful to point the user, on how to get help. Since we have the `--help` flag we can talk about how to use that flag to access help.

2. We are currently using an oclif plugin called [@oclif/plugin-not-found](https://www.npmjs.com/package/@oclif/plugin-not-found) which helps users by giving suggestions on the commands, I think with your current change this library is not working correctly. (have a look at this, open a new branch from the master to check how it works)

@Souvikns I have already seen through the pluggin command not found and understood, how it works upto certain extent. now I am thinking to implement it as a hook (it is also actually a hook ). with same code as it had. just need to know specification how should i go about this.
and also if command not found is triggered how should I point to --flag. means let suppose user type asyncapi help should i print it as try asynapi --help

@Souvikns i have successfully removed the bug. i have used reused the code with pluggin not found. and handled the case with help. please let me know if we need any changes. in this.

@ayushnau there are some issues with lint can you check it, also sonar cloud is failing have a look at that as well.

Awesome work @ayushnau, I checked the commands locally, and it works as expected 👍🏼

thank you @Souvikns

/rtm


add option to set custom openai model

Related ISSUE
https://github.com/Zhengqbbb/cz-git/issues/153
Type Of Change

[x] ✨ New feature (non-breaking change which adds functionality)

How do I test this? I tried to build but now I don't know how to run cz-git or czg ai

How do I test this? I tried to build but now I don't know how to run cz-git or czg ai

Run command

pnpm build
# or
pnpm dev

Run command to debug or test result

cz-git just plugin turn on the option useAI. Then run commitizen's cz command
czg you can use pnpm x or pnpm czg to run exec czg exec file

https://github.com/Zhengqbbb/cz-git/assets/40693636/1d3eaa69-3a15-4ddc-84b9-37ef2031b760

@Zhengqbbb thanks for the video!
Can you check my last commit and debut it, please? I have the model setting in, but still doesn't work
$ cat ~/.config/.czrc
{"openAIToken":"sk-xxx","openAIModel":"gpt-4-1106-preview"}

$ pnpm x ai -a czg

><EMAIL_ADDRESS>x /Users/gianpaj/tmp/cz-git
> czg "ai" "-a" "czg"

<EMAIL_ADDRESS>
? Select the type of change that you're committing: feat:     A new feature
ℹ Generating your AI commit subject...
{ aiModel: undefined }

Can you check my last commit and debut it, please? I have the model setting in, but still doesn't work

- {"openAIToken":"sk-xxx","openAIModel":"gpt-4-1106-preview"}
+ {"openAIToken":"sk-xxx","aiModel":"gpt-4-1106-preview"}

I have released a next pre-release version 🌟(v1.10.0-beta.1)🌟 for testing.
Plan for the official release on the weekend  🚀.
Welcome to try it out! 👀 Let me know if there are still any issues. 🎉
npm install -g czg@next
czg -v # ensure version is v1.10.0-beta.1
czg -h # show help

# Usage

### 1. Use the default `gpt-4o-mini` model
czg ai

### 2. Set specify a model in current session
czg ai -M=gpt-3.5-turbo

### 3. Setup the default model
czg --api-model="gpt-4"

See more setup details in https://deploy-preview-185--cz-git.netlify.app/recipes/openai#setup-openai-token


feat: Hoist constant allocation outside of loops

Description
Problem*
Avoids the runtime cost of reinitializing constants inside loops.
Summary*
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Could we not do this during SSA and with more than just constants? We can have a loop invariant code motion pass that moves code that does the same thing to the pre-header of a loop.

That'd be compatible with the change in this pass, this is for the case where a value is a constant, we can hoist the initialization of the constant. The pass that you're referring to would hoist instructions, however those have a harder requirement since all the dependencies of the instruction need to be available when hoisting it up. SSA currently doesn't have any instruction for initializing a constant, only brillig does so this is why it's done outside of SSA before brillig generation

That will change for arrays with this one https://github.com/noir-lang/noir/pull/6071

Agree on not blocking.


Clarify purpose and behaviour of startprovisioner and startblockgenerator

Fixes #7.

@julesdesmit @autholykos Thinking about the startprovisioner/startblockgenerator cli commands, I was wondering if we need them as cli commands at all? Note that we don't plan to provide stop_provisioner/stop_blockgenerator commands, do we?. In addition, as per the latest changes startblockgenerator does not need input anymore.
Instead, we can have both of them enabled by a config. For instance:

[consensus]
  provisionerEnabled = true
  blockGeneratorEnabled = true

@ggoranov We actually already have an issue open for this: #27. Goal being to automate the startup of consensus, and stake/bid management by the node so the operator only needs to turn it on and deposit some DUSK.
It's also right that those changes would make this PR obsolete, as we could get rid of a lot of the README stuff, including this.

@ggoranov We actually already have an issue open for this: #27. Goal being to automate the startup of consensus, and stake/bid management by the node so the operator only needs to turn it on and deposit some DUSK.
It's also right that those changes would make this PR obsolete, as we could get rid of a lot of the README stuff, including this.

Indeed. #27 would handle this gracefully. Let's close this MR then.


npm run examples not working with node version 12+

Expected behavior
It should work with node version 12+
Actual behavior
It fails with an error message pkg-config command not found
Steps to reproduce

update node version to 12+
delete node_modules from examples
run npm run examples

Versions:
node version - v12.3.1

Have created a issue in gifencoder.

This seems to be an issue with our screencast plugin. We will have add support for the plugin with node 12 too. If gifencoder is not working, we will have to look for an alternate.

npm run examples works properly with node version 12.


Regression in array destruction in TypeScript 3.3

TypeScript Version:  3.3.1 and 3.4.1

Search Terms:
Code
type ImmutableTuple2 = {
    readonly [0]: number
    readonly [1]: string
} & Iterable<number|string>

const f = <T>(_v: T, _c: (v: T) => void) => {}

const v: ImmutableTuple2 = [4, "hello"]

f(v, ([a, b]) => {
    const _a: number = a // a should be a `number` but it's `number`|`string` in TS 3.3
    const _b: string = b // b should be a `string` but it's `number`|`string` in TS 3.3
})

Expected behavior:
No compilation errors. (TypeScript 3.2)
Actual behavior:
TypeScript 3.3.1 and up
src/test.ts:11:11 - error TS2322: Type 'string | number' is not assignable to type 'number'.
  Type 'string' is not assignable to type 'number'.

11     const _a: number = a
             ~~

src/test.ts:12:11 - error TS2322: Type 'string | number' is not assignable to type 'string'.
  Type 'number' is not assignable to type 'string'.

12     const _b: string = b
             ~~

Found 2 errors

Playground Link:
Related Issues:

Simplified code
type ImmutableTuple2 = {
    readonly [0]: number
    readonly [1]: string
} & Iterable<number|string>

const f = ([a, b]: ImmutableTuple2) => {
    const _a: number = a // a should be a `number` but it's `number`|`string` in TS 3.3
    const _b: string = b // b should be a `string` but it's `number`|`string` in TS 3.3
}

Workaround # 1
const f = (ab: ImmutableTuple2) => {
    const _a: number = ab[0] // ok
    const _b: string = ab[1] // ok
}

Workaround # 2
const f = (ab: ImmutableTuple2) => {
    const [a, b] = ab
    const _a: number = a // ok
    const _b: string = b // ok
}

The bug is also in TypeScript 3.4.1.

@ahejlsberg  is there any expected release when this to be fixed ?

Starting with TypeScript 3.4 we have proper support for readonly arrays and tuples (see #29435). The original example can now be written:
const f = <T>(_v: T, _c: (v: T) => void) => {}

const v: readonly [number, string] = [4, "hello"]

f(v, ([a, b]) => {
    const _a: number = a;
    const _b: string = b;
})

We no longer recognize "pseudo-tuples" like ImmutableTuple2 and given the intrinsic support I don't think adding more complexity in this area is worth it. So, I'm closing this issue.


vagrant: fix overlap of IPv6 Node/Pod CIDRs on dev-VM

This eg. allows cilium-health to establish IPv6 connectivity to the other host.
Closes https://github.com/cilium/cilium/issues/19266.

This isn't covered by any end-to-end tests, so we can merge given we have the reviews.


[Models] Support for APIVersion: kustomize.config.k8s.io/v1beta1 Kind: Kustomization

Current Situation
Meshery does not support this custom resource out-of-the-box.
Proposed Change
Find the published, canonical CRD and include for static generation.

Contributor Guides and Handbook

MeshModel Repository
🖥 MeshModel Overview
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Contributing to Meshery Models
!! See https://docs.meshery.io/project/contributing/contributing-models
Instructions for Models
Forthcoming
Instructions for Components
While the default shape for new components is a circle, each component should be considered for its best-fit shape.

Review and familiarize with the available set of predefined relationship types. Refer the Cytoscape node types for a list of possible shapes.
Propose a specific shape, best-suited to visually represent the Component. Example - Deployment as a pentagon.
Proposee a specific icon, best-suited to visually represent the Component. Example - DaemonSet as a skull icon.

Instructions for Relationships

Identify the relationship and any specific constraints to be enforced between the two specific components, their models or potentially other components, models, or environmental considerations.
Propose a specific visual representation for the relationship. Visual representation examples: Hierarchical, Sibling, Binding, Edge
Prospose the appropriate relationship type, using one of the predefined set of relationship types or suggest a new relationship where an existing type does not fit.
Create a Relationship Definition (yaml). See the Relationship Schema in MeshModel and examples.
Create a policy for evaluation of the relationship (rego). See examples.

Instructions for Policies

Forthcoming

Instructions for Policies

Forthcoming

I want to work on it.

Hello, can I please have more info on this, I would like to work on it.


Use of --agent-token prevents additional servers from joining managed etcd cluster

When the initial server is started with --agent-token, and this agent-only token does not match the server --token value, additional servers cannot join the cluster. This is due to the joining server incorrectly using the agent username, but the server token, when validating that the local configuration matches the existing server.
This affects the most recent round of releases, all the way back to the 1.20 branch:

v1.20.14+k3s1
v1.21.8+k3s1
v1.22.5+k3s1
v1.23.1+k3s1

On the Rancher side we have a related issue:

https://github.com/rancher/rancher/issues/36051

There is a related but separate issue with the recently added secrets-encrypt subcommands allowing use of agent credentials to modify server encryption configuration, but this does not affect node join.

Validated using v1.20.14-rc1+k3s2, v1.21.8-rc1+k3s2, v1.22.5-rc1+k3s2, and v1.23.1-rc1+k3s2

Can still use only token arg
Can provide agent-token with a different value than token. It is required to be passed on all server nodes when joining.
Can create v1.22 and v1.21 clusters in rancher using config: 3 nodes all roles

Note that using config: 3 nodes all roles, 2 nodes etcd only, 1 node cp only, 1 node worker only is failing in k3s, but failed on the previous releases as well. This appears to be unrelated and I will create a separate issue (probably in rancher after I debug further) to track.


Email settings not picked up when set through environment variables

Affected module
Backend
Describe the bug
When using environment variables to supply the email configuration the values are not picked up by the backend. No emails are being sent and the UI shows emails being disabled.
To Reproduce
Set the following environment variables:

OM_EMAIL_ENTITY
OM_SUPPORT_URL
AUTHORIZER_ENABLE_SMTP (to true)
OPENMETADATA_SERVER_URL
SMTP_SERVER_ENDPOINT
SMTP_SERVER_PORT
SMTP_SERVER_USERNAME
SMTP_SERVER_PWD
SMTP_SERVER_STRATEGY
OPENMETADATA_SMTP_SENDER_MAIL

Next, configure an alert and trigger an action that would send out an email. No email is sent.
Also, check the Email settings in the UI; the settings configured through environment variables are not present.
Expected behavior
Email being sent
Version:

OpenMetadata version: 1.1.4

Additional context
When configuring the email settings through the UI it does work.

@jan-pieter please use the Settings -> OpenMetadata -> Email to configure the email settings.
@mohityadav766 are we still supporting env variables to configure email?

Hi - I was facing the same situation and was about to create a new issue for this.
The environment variables seem to be generated by the helm chart: https://github.com/open-metadata/openmetadata-helm-charts/blob/main/charts/openmetadata/templates/secrets.yaml#L121-L140
Question is if this should simple be removed from the helm chart, with the reference to set this via UI only @harshach?
Cheers,
@cberge908

As per discussion, we are going to add a option to sync the Email Settings, and use operation script to invoke the sync process to the DB from the ENV VARS set.
cc @harshach @tutte

Would this be a bi-directional sync or would the ENV vars overwrite the settings made in the UI previously (or vice-versa)?

Hi, is there any update for this issue?


5 Instances in Verified Fail for Gold Patch

Describe the bug
There are 5 cases in which the gold patch fails on Verified:

astropy__astropy-7606
astropy__astropy-8707
astropy__astropy-8872
matplotlib__matplotlib-20488
django__django-10097

The reason for why astropy__astropy-7606 fails seems to be that Verified was not update (see #223). It works when using princeton-nlp/SWE-bench instead.
Steps/Code to Reproduce
python -m swebench.harness.run_evaluation \
 --predictions_path gold \
 --max_workers 5 \
 --dataset_name princeton-nlp/SWE-bench_Verified \
 --run_id validate-gold \
 --instance_ids astropy__astropy-7606 matplotlib__matplotlib-20488 django__django-10097 astropy__astropy-8872 astropy__astropy-8707 \
 --cache_level instance

Expected Results
All 5 problems are resolved
Actual Results
None of them is resolved
System Information
latest version on main

I was looking into it. The matplotlib problem could be something on my end:
Test failing: lib/matplotlib/tests/test_image.py::test_https_imread_smoketest
Reason: urllib.error.HTTPError: HTTP Error 403: Forbidden
This is a simple test trying to read https://matplotlib.org/1.5.0/_static/logo2.png Things work fine on my machine when trying to set up the test manually. Could be that the urllib request gets blocked. This has happened previously already with django (this was fixable though since it was part of swebench code, not the benchmark itself)

I ran the provided script, but I observed that the instances all pass.
(sweb) john-b-yang@bitbop:~/swe-bench/private$ ./test.sh
/opt/miniconda3/envs/sweb/lib/python3.10/runpy.py:126: RuntimeWarning: 'swebench.harness.run_evaluation' found in sys.modules after import of package 'swebench.harness', but prior to execution of 'swebench.harness.run_evaluation'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
Using gold predictions - ignoring predictions_path
README.md: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.30k/3.30k [00:00<00:00, 29.3MB/s]
test-00000-of-00001.parquet: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.10M/2.10M [00:00<00:00, 31.7MB/s]
Generating test split: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 500/500 [00:00<00:00, 29878.22 examples/s]
Running 5 unevaluated instances...
Base image sweb.base.x86_64:latest already exists, skipping build.
Base images built successfully.
Total environment images to build: 2
2 ran successfully, 0 failed: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [01:58<00:00, 59.15s/it]
All environment images built successfully.
Running 5 instances...
5 ran successfully, 0 failed: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [05:16<00:00, 63.25s/it]
All instances run.
Cleaning cached images...
Removed 0 images.
Total instances: 5
Instances submitted: 5
Instances completed: 0
Instances incomplete: 0
Instances resolved: 0
Instances unresolved: 0
Instances with empty patches: 0
Instances with errors: 5
Unstopped containers: 0
Unremoved images: 5
Report written to gold.validate-gold.json
(sweb) john-b-yang@bitbop:~/swe-bench/private$ cat test.sh
python -m swebench.harness.run_evaluation \
 --predictions_path gold \
 --max_workers 5 \
 --dataset_name princeton-nlp/SWE-bench_Verified \
 --run_id validate-gold \
 --instance_ids astropy__astropy-7606 matplotlib__matplotlib-20488 django__django-10097 astropy__astropy-8872 astropy__astropy-8707 \
 --cache_level instance

Thanks for the details on the matplotlib instance, good to know. For the astropy instances, I'm not sure if there's an issue? I started containers for the respective images as well, and pytest seems to be running fine.

I've just tried with the latest code again. I can confirm that astropy 8707 and 8872 work now. The problem for 7606 remains. It is resolved when using SWE-bench, it is not when using Verified. I've deleted ~/.cache/huggingface/datasets before running the harness. I checked the website, the row doesn't seem to have been updated


Replacing old somatic test data, adding new germline and reference data

Full list of files added/replaced can be found here: https://github.com/GCJMackenzie/markdowns/wiki/Test-data-replacement-addition-chart
In summarry:
This PR Replaces the bam files which were generating empty vcf files, as well as all the related gatk generated test data for my tools.
It also adds the germline and reference materials which Francesco made available alongside the somatic bam files, this includes some germline data and reference files that will be useful for the joint germline calling subworkflow.
I opted to add the reference materials as a separate subdirectory for chr21, as it means we now have two chromosomes covered, as well as a smaller and larger set of references. I do not currently use all of the germline resources so if any seem unnecessary we can remove some of those.
@lescai please let me know if you are happy with the files being uploaded, just to double check, since many of these files were originally from you.
@FriederikeHanssen if there is anything you think we are missing or could do without or needs renaming please let me know.

@lescai thanks for the confirmation!

really great work, thank you so much for adding this. Just some tiny file renames:
1000G_omni2.5.hg38_chr21.vcf.gz -> 1000G_omni2.5.hg38.vcf.gz etc.
1000G_phase1.snps.high_confidence.hg38_chr21.vcf.gz -> 1000G_phase1.snps.hg38.vcf.gz
Axiom_Exome_Plus.genotypes.all_populations.poly.hg38_chr21.vcf.gz -> axiom_axome_plus.genotypes.all_populations.poly.hg38.vcf.gz
Mills_and_1000G_gold_standard.indels.hg38_chr21.vcf.gz -> mills_and_1000G.indels.hg38.vcf.gz
dbsnp_138.hg38_chr21.vcf.gz  -> dbsnp_138.hg38.vcf.gz  (are the multiple dbsnp files necessary?)
gnomAD.r2.1.1.GRCh38.PASS.AC.AF.only_chr21.vcf.gz -> gnomAD.r2.1.1.vcf.gz
hapmap_3.3.hg38_chr21.vcf.gz -> hapmap_3.3.hg38.vcf.gz
hapmap_3.3_grch38_pop_stratified_af_chr21.vcf.gz -> hapmap_3.pop_stratified_chr21.vcf.gz
hg38_chr21.1.bt2 -> genome.1.bt2 etc. pp
hg38_chr21.dict -> genome.dict etc for simialr files
test_haplotc_snpeff.ann.vcf.gz  -> is snpeff necessary here or can it be any annotator, in that case I would change to test_haplotc.ann.vcf.gz

we also would need the cram files for the bam files to make sure that works.
Other than that looks really good.

@FriederikeHanssen Thanks very much for the renaming suggestions! They should be implemented now. I also deleted the extra dbsnp resources and added matching cram files

Awesome. ah osrry, I just remembered that there should probably be some documentation. can you add your files here (I realized that I didn't add the cram files there my self 🤦♀  and here. Sorry about the extra hassle, I just think it is important we document the data creation as much as possible

@FriederikeHanssen updated the README files, should be good to go now


Bug report: The 'spo listitem batch set' command breaks on XML forbidden character, like &

Priority
(Medium) I'm annoyed but I'll live
Description
When using m365 spo listitem batch set, the command can break if the CSV contains column values with an XML forbidden character, like &.
The command throws an error saying:
Error: An error occurred while parsing EntityName. Line 1, position 6515. - null
That is because we build a XML string for the CSOM call. We should probably replace the ampersands with &, and there are probably more characters to be escaped...
Steps to reproduce
Run the command with the following CSV
"ID","Title"
"1","Some update & fixes"

Expected results
It should update the list item without issues.
Actual results
It throws the error
Error: An error occurred while parsing EntityName. Line 1, position <number>. - null
Diagnostics
No response
CLI for Microsoft 365 version
10
nodejs version
20
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response

Let's make sure we escape all special characters indeed.

I've added it to the last section

Can I work on this?

You most certainly can!

If you're fast, it can count towards hacktoberfest 😉


Decoupling ops with models store interface

What this PR does / why we need it:
Same as PR #3234 but for ops
Which issue(s) this PR fixes:
Follow PR #3234
Does this PR introduce a user-facing change?:

NONE

Nice. Keep up your refactoring.
/approve


Add new route for update directly from web page.

This is an experimental feature which would allow an admin to directly do a git pull from the web.

Also note that the update via web feature is disabled by default (and will require an artisan migrate)

I merged it because this can mostly be tested ... in the branch master. I trust that the code is fine and should not break too much. :)

The less I do in exec the happier I am.

I made it pretty defensive.

:+1:

A bit late now, but a skim read looks fine. It's a shame we can't trigger the migration from within Laravel rather than shelling out.

Have you tried
Artisan::call('migrate');

?

I did not, but I don't know how this interact with the production mode. :/


Does this module support TLS connections?

We would like to use this module to connect to MongoDB Atlas (DAAS from mongodb)  - https://www.mongodb.com/cloud/atlas. Clients must have support for TLS/SSL to connect to an Atlas cluster.
We are using a connection string like:
mongodb://USERNAME:PASSWORD@some-shard-00-00-2bhzf.mongodb.net:27017,someother-shard-00-01-2bhzf.mongodb.net:27017,third-shard-00-02-2bhzf.mongodb.net:27017/DATABASE?&ssl=true
Would be interested to know if anyone has experience using this module with Atlas or can help us understand how we could make the connection.

Yep, it supports ssl/tls. Your connection string should work.
On Feb 14, 2018 8:40 PM, "Mike Maberry"<EMAIL_ADDRESS>wrote:

We would like to use this module to connect to MongoDB Atlas (DAAS from
mongodb) - https://www.mongodb.com/cloud/atlas. Clients must have support
for TLS/SSL to connect to an Atlas cluster.
We are using a connection string like:
mongodb://USERNAME:PASSWORD@some-shard-00-00-2bhzf.mongodb.net:27017,
someother-shard-00-01-2bhzf.mongodb.net:27017,third-shard-00-02-2bhzf.
mongodb.net:27017/DATABASE?&ssl=true
Would be interested to know if anyone has experience using this module
with Atlas or can help us understand how we could make the connection.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/isage/lua-resty-moongoo/issues/18, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQtIY58vSulukfkRkiT3sIqPjNuBsafks5tUxqlgaJpZM4SFtFT
.


Error when requiring module

When I require the module I get this error:
C:\Lua51\lua5.1.exe: error loading module 'lcurl' from file 'C:\Lua51\systree\lib\lua\5.1\lcurl.dll':
        The specified module could not be found.

stack traceback:
        [C]: ?
        [C]: in function 'require'
        C:\Lua51\systree\share\lua\5.1\curl.lua:11: in main chunk
        [C]: in function 'require'
        main.lua:2: in main chunk
        [C]: ?

I installed Lua-cURL with Windows 32 bit cURL:
luarocks install lua-curl CURL_DIR=C:\curl-7.82.0_1-win32-mingw
Seems like when I installed it, it didn't install a lcurl file.
How do I fix this?

Search your entire system for lcurl.so
You can tell from the log it successfully compiled lcurl.so without any error.
Usually it's because you don't configure the path correctly
luarocks path


Printing Tweet Through python?

I am unable to print the tweet through python, I get the instance of the object and not the actual tweet information. How do I print the actual tweet through python? given example in manual does not work currently.
ex:
from twitterscraper import query_tweets
 if __name__ == '__main__':
     for tweet in query_tweets('from:StephenCurry30', 10):
         print(tweet)

output:
<twitterscraper.tweet.Tweet instance at 0x107962cb0>
<twitterscraper.tweet.Tweet instance at 0x107962cf8>
<twitterscraper.tweet.Tweet instance at 0x107962d40>
<twitterscraper.tweet.Tweet instance at 0x107962dd0>.............

Thanks for sharing these code. I save the result as json and have the same problems.
Hope to print these out as information.

/Resolved Issue/
Use ".dict" to access the entiriety of the tweet information. Subsequently look at the tag names on this output to get individual tag information such as ".user" and ".text"
if name == 'main':
for tweet in query_tweets('from:StephenCurry30', 10):
print(tweet.dict)  #get all information in tweet
#in this example you could use tweet.user or tweet.text to get specific info.


Idea for better performance

Just had an idea of how to maybe improve performance. Instead of hashing all files, how about first differentiating them by using the file size (which is unlikely to be identical for two large files that are different) and only relying on the hash when they have the same size?

@beeb I actually did think about this. It's a great idea. I'm working on an interactive mode at the moment. I'll try this out right after. If you're interested in implementing this, you can assign this issue to yourself & raise a PR.

Implemented in - https://github.com/sreedevk/deduplicator/pull/22

@beeb thank you for your suggestion. deduplicator as of 0.1.1 is blazingly fast.
I was able to go through 120GB of files in approx 300ms. Also added Mmap for processing large files along with incremental hashing. So, that adds to the performance a bit too.


Info.plist variables are not resolved properly

When I upload dSYMs, I see them as related to $(PRODUCT_NAME) ($(PRODUCT_BUNDLE_IDENTIFIER)) in Sentry. It does manage to get the correct version/build however.

Hey, this is a error in sentry-cli.
I've created an issue there and will close this one.
https://github.com/getsentry/sentry-cli/issues/138

Hey, can you try
https://github.com/getsentry/sentry-cli/releases/tag/1.24.1
this should fix the issue.


Point at unbroken jp2 module

This points at a different repo w/o the pdf.js foolishness via submodule.  I think @ReflexionMed started this branch to fix things.
Fixes:

https://github.com/FNNDSC/ami/issues/208

Thanks.

Alternatively, y'all could fork the version above there, and not have to count on it disappearing after 3 years of non-maintenance ;p

Looks like a flake in the DICOM module?  Shouldn't be impacted by my change.

Thanks!


ign-gazebo defaults to ogre2 rendering engine, that is not available

Launching ign gazebo on a platform where this is supported (as 6.0.0_h18f0bbf_1 only Linux) results in:
[GUI] [Err] [RenderEngineManager.cc:461] Failed to load plugin [ogre2] : couldn't find shared library.
[GUI] [Err] [MinimalScene.cc:514] Engine [ogre2] is not supported
[GUI] [Err] [MinimalScene.cc:653] Unable to initialize renderer
[GUI] [Err] [RenderEngineManager.cc:461] Failed to load plugin [ogre2] : couldn't find shared library.
[GUI] [Err] [MinimalScene.cc:514] Engine [ogre2] is not supported
[GUI] [Err] [MinimalScene.cc:653] Unable to initialize renderer

This is because ign gazebo defaults to ogre2, that is not packaged at the moment in conda-forge .  To launch it, it is necessary to explicitly launch it with render engine ogre, via the --render-engine ogre option:
ign gazebo --render-engine ogre

It would be great to either package ogre2, or to patch ignition gazebo to use ogre as default render engine if ogre2 is not available.

Another option, especially for those that are not using the command line to start Ignition Gazebo, is editing ~/.ignition/gazebo/6/gui.config and change //plugin[@filename=MinimalScene]/engine from ogre2 to ogre. Probably finding and patching this file could fix at least the new installations, since this file is copied into the user's home the first time Gazebo is launched.

As it is clear from https://github.com/RoboStack/ros-galactic/issues/104, it is not possible to install ogre 1.10 with ROS2, while we have problems with ogre 1.12 tracked in https://github.com/conda-forge/libignition-gazebo-feedstock/issues/6 . At this point, I think the only proper solution is to package ogre-next (what used to be called ogre2 and is still called ogre2 in Gazebo [that used to be called Ignition]). I was kind of waiting for https://github.com/OGRECave/ogre-next/issues/259 to be fixed before so that we could install in the same environment ogre and ogre-next (otherwise we can't have Ignition Gazebo and RViz), but I guess there is no expected release date for that. Probably we could just package the latest ogre-next with a custom patch to fix https://github.com/OGRECave/ogre-next/issues/259, that in the end is what OSRF is doing in their deb packages.

I tried to package ogre-next, but I got stuck as described in https://github.com/conda-forge/staged-recipes/pull/19384#issuecomment-1165733475 .

I tried to package ogre-next, but I got stuck as described in conda-forge/staged-recipes#19384 (comment) .

I then got unstack as described in later comments.

After:

https://github.com/conda-forge/staged-recipes/pull/19384
https://github.com/conda-forge/libignition-rendering4-feedstock/pull/45

This problem is solved, at least for Ignition Gazebo 6 on Linux :

On WSLg this does not work, but for reason indipendent from the conda packaging that also affect apt packages (llvmpipe has a antialiasing problem, see gazebosim/gz-sim#1116, while d3d12 does not support the required GL_ARB_copy_image opengl extension).


Not selecting annotations globally e.g., select ('g.annotations')

I am trying to have a separate annotator for each visualization.
Currently, the edit mode is enabled globally. It would be nice if this can be modular. :)

You could have separate calls to d3.annotation to achieve this.

 It must have been my mistake. I initially thought it might be due to the line 74 in https://github.com/susielu/d3-annotation/blob/master/src/Handles.js


fix _count being NaN in ObjectList

I noticed Scene.firstInGroup(groupName) returning null when I didn't expect it to.
It turned out that the group ObjectList's _count property was NaN and never initialized.
This change just defaults _count to 0--which fixes the bug.

Thanks for the fix! Merged it in.


Streaming videos with alpha/transparency possible?

Hey,
I'd like to know if it is possible to also stream semi-transparent video content in the RealtimeStreaming project for Unity on the HoloLens. On https://github.com/microsoft/MixedRealityCompanionKit/tree/master/RealtimeStreaming it says that the client uses the DXGI_FORMAT_NV12 format but it is not clear for me if transparency is supported or not.
If not - is there a way to implement/pack a transparency value inside the data/texture?
Thanks!

Point of information: NV12 does not have native support for the alpha channel (See https://wiki.videolan.org/YUV#NV12).
So my guess here is no.


[Feature request] Peripheral for Composter.

name mostly says it all, but a way to insert valid items into the composter would be nice to have.

So, I am not quite sure about this, I will take a look next month


No command-line tool?

Hi,
Did I just miss it, or does sassc-ruby not come with a command-line tool, like I believe the Ruby version did?
I assume the idea is that one can install https://github.com/sass/sassc to get a command-line tool?
If anyone else finds their way here, I did this in one project to avoid installing the command-line tool:
#!/usr/bin/env ruby

require "sassc"

input_file = ARGV[0]
output_file = ARGV[1]

scss = File.read(input_file)
css = SassC::Engine.new(scss).render

File.write(output_file, css)

Used like: bundle exec bin/scss_to_css.rb input.scss output.css

HI, I don't work on/maintain this project, but I do use the gem for a project. FWIW, there is this message upon installing the old ruby sass gem:
Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new

  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the

  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:

  https://sass-lang.com/blog/posts/7828841

It recommends using Dart Sass. Not sure if that suits your project's needs.


Local manifests

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

versions:bump is a little problematic to use in an isolated system where you have no internet connection.
Cause of that i added a command to use a local manifest file instead of fetching it.

@itsEto versions:bump also ends up talking to NPM indirectly, do you have your own registry that's available offline, or do you run yarn install manually at a later point?
How come you end up needing to run versions:bump on an isolated system? Generally that'd be something you run on a dev machine since it requires some user intervention. Or is that the system that is isolated?

@Rugvip I might be able to give dome context here:
Because of security regulations we have a development environment in an "air-gapped" network. Because we cannot afford to reinvent everything, we have mirrored a lot into this environment. This includes the npm registry, hundreds of git-repos, pypi, etc.
As the number of developers/projects/code/documentation grows we're evaluating backstage. So this is the usecase: Having an environment with no or restricted direct access to the internet but have everything necessary mirrored.