org.openrewrite.maven.AddDependency: Inaccurate check of existing dependencies

Hi,
the AddDependency-Recipe checks if the dependency is already existing before adding it to the pom. Imho it should not take transitive dependencies into account.
Take as an example jackson-databind as a direct project dependency. This pulls in jackson-core as a transitive dependency, effectively disallowing to add jackson-core with the AddDependency recipe. If the project uses jackson-core directly it should be added as a direct dependency.
For an example, see the project https://github.com/thomaszub/rewrite-add-dep-issue-example (remove the second AddDependency as this triggers an error).
Kind regards
Thomas

Makes sense. Perhaps we make this another recipe option?

An optional flag for excluding transitive dependencies sounds good.

I think you're right that this is the expected behavior in most cases. Can defer a flag until later if such a case arises.


Special characters showing as question marks in Linux

Not like #4065: not getting a "character not in range" error. Updated powerline font from repo and ran install.sh, and set terminal font to the powerlinef font. Also tried locale fix.
echo $TERM yields xterm.

Any ideas? Sorry if this is a simple fix.

I've never seen a prompt like that, can you post the $PROMPT variable? Also, could you try with a different powerline font?

... This automagically fixed itself, probably after a computer restart. No idea what happened.
In case you're interested, the $PROMPT variable is
$(prompt_line_sep)%{%f%b%k%}$(build_prompt)$(prompt_line_sep)%{${fg_bold[default]}%}$(prompt_char) %{$reset_color%}

It's an adaptation of the bullet-train theme.
Thanks for responding!


Use ChainerX softmax cross entropy implementation in ChainerX examples

Follows #8250 .
https://github.com/takagi/chainer/compare/chainerx-softmax-cross-entropy...takagi:chainerx-example-softmax-cross-entropy
This PR fixes ChainerX examples to use ChainerX softmax cross entropy implementations introduced in #8250 .

#8250 is now merged.

Now I've merged the master!

Could you fix the style errors?

Fixed!

I missed to apply the change that ChainerX SCE now returns the batch-wise result without reduced. PTAL.

Could you merge with the latest master as it should fix the C++ example?

Merged!

LGTM!

Jenkins, test this please.

Jenkins CI test (for commit 7b3089cc3a21006f54909fce2f13dbd5e5c67b9f, target branch master) succeeded!


new feature

It would be really nice if you could handle imaginary numbers.

dumbass it all ready does this.


Question - NBT for MythicMobs drops

Hi, I want to know, how can I watch/copy the NBT of a key for a external plugin like MythicMobs?
I want to put a useful crate key on a boss drop. Thanks! :)
Sorry if my english is bad...

CrazyCrates has an item adder command, You can try that. https://github.com/Crazy-Crew/Crazy-Crates/wiki/In-Game-Editor-Information


support syncLocalSettings.json or github private repository

💡 support save config in syncLocalSettings.json or sync with github private repository
the gist can be seen by anyone who get the gist url.
It is unsafe.
hope for support to save some secret configs  like oauth token,password in syncLocalSettings.json or sync with github private repository.may be syncLocalSettings.json is simple to implement,but the private  repository is better experience.

Duplicate of #413


Webhook support

This PR, built on top of #4 and #5, adds support for the Telegram webhook updates. The bot can now be started either by polling or by serving.

Let me know if you are interested in this, and I can add a few lines to the README on its usage, as I haven't updated the documentation yet.

Of course I'm interested. Btw I thought there is no https server implementation in crystal, thanks for your work! The other changes are great too.
Feel free to add the missing parts to the readme, and sorry if a lot of documentation missing about my code too, I'll try write some when I have time.


Resolved Button Click Behavior Issue

This PR resolves the issue #214  where buttons were unresponsive when clicking directly on their button area. The issue has been fixed, and buttons now respond as expected when clicked anywhere on their visible area.
@Mr-Sunglasses  @akshatcoder-hash

Thanks, @aryanrajpoot27 That's an awesome catch of bug. 🥳

Thanks, @aryanrajpoot27 That's an awesome catch of bug. 🥳

Thankyou sir... 😄


feat(spotify-player): add more commands

Description

Multiple commands were added in this PR:

current track: shows the current track and artist/show, and the like state
seek: seek to an arbitrary position in the track
replay: go to the beginning of the song, replaying it
toggleRepeat -> cycleRepeat: there are three repeat states, now we can cycle between alll three
set volume: set the volume to an arbitrary percent, using an argument

Also, descriptions of the commands were shortened as the "Use this to" part gives no valuable information.
Screencast

This video goes over all of the commands added
https://github.com/raycast/extensions/assets/52634785/d06e96b5-e811-4bf1-965d-cbda51c7bce2

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Happens to also fix #8215

Which should the extension error with when there is no active device?

Nothing is currently playing (appears 10 before this PR)
No active device (appears 9 times before this PR)

@peduarte Hi, could you take a look at this PR?

@peduarte @pernielsentikaer @sxn Sorry to bother, but could you guys take a look at this PR?


error in demix_track function

i am training mel_band_roformer and changed train.py line 500 if 0 to if 1
when starting SDR evaluation
  File "train.py", line 517, in <module>
    train_model(None)
  File "train.py", line 501, in train_model
    sdr_avg = valid(model, args, config, device, verbose=False)
  File "train.py", line 136, in valid
    res = demix_track(config, model, mixture, device)
  File "utils.py", line 130, in demix_track
    result[..., start:start+l] += x[j][..., :l].cpu() * window[..., :l]
RuntimeError: The size of tensor a (131418) must match the size of tensor b (131584) at non-singleton dimension 1

arr.size() is torch.Size([4, 2, 131584])
x.size() is torch.Size([4, 2, 131418])

well I chosed the wrong config.

@anvuew hi, there. Can you please tell me how you solved this problem?
I just find the same error.

@anvuew hi, there. Can you please tell me how you solved this problem? I just find the same error.

well I chosed the wrong config.

I just used the default config (configs/config_vocals_mel_band_roformer.yaml) instead of viperx's config.

@anvuew hi, there. Can you please tell me how you solved this problem? I just find the same error.

well I chosed the wrong config.

I just used the default config (configs/config_vocals_mel_band_roformer.yaml) instead of viperx's config.

When I use the default config(configs/KimberleyJensen/config_vocals_mel_band_roformer_kj.yaml), the audio.chunk_size is 352800, everything is ok. Training and validation are both completed.
But when I change it to 131584, the error occurs again. I guess the preprocess of loading data is not consistent with the way to create windowingArray.

@anvuew hi, there. Can you please tell me how you solved this problem? I just find the same error.

well I chosed the wrong config.

I just used the default config (configs/config_vocals_mel_band_roformer.yaml) instead of viperx's config.

When I use the default config(configs/KimberleyJensen/config_vocals_mel_band_roformer_kj.yaml), the audio.chunk_size is 352800, everything is ok. Training and validation are both completed. But when I change it to 131584, the error occurs again. I guess the preprocess of loading data is not consistent with the way to create windowingArray.

The valid values for chunk_size may depend on hop_length.

@anvuew hi, there. Can you please tell me how you solved this problem? I just find the same error.

well I chosed the wrong config.

I just used the default config (configs/config_vocals_mel_band_roformer.yaml) instead of viperx's config.

When I use the default config(configs/KimberleyJensen/config_vocals_mel_band_roformer_kj.yaml), the audio.chunk_size is 352800, everything is ok. Training and validation are both completed. But when I change it to 131584, the error occurs again. I guess the preprocess of loading data is not consistent with the way to create windowingArray.

The valid values for chunk_size may depend on hop_length.

You're right. The chunk size should be an integer multiple of the hop length to ensure the alignment of the slice length.


CLN: Bring pandas up to date with pandas-datareader

Per: pydata/pandas-datareader#15
Fixes #9010, #9026

thanks @dstephens99
if there are any other corrections to bring these in sync. pls lmk asap.

@jreback Just diff'ed the pandas-datareader data file with the one in pandas - they are the same, everything is up to date.


Fixed syntax error in pages/content-ui/package.json

* Please fill in the required items.

Priority*

[x] High: This PR needs to be merged first for other tasks.
[ ] Middle: This PR should be merged quickly to prevent conflicts due to common changes. (default)
[ ] Low: This PR does not affect other tasks, so it can be merged later.

Purpose of the PR*
Tailwind build was not working in content-ui during hmr due to syntax error.
Changes*
Changed the package.json file of pages/content-ui

@Jonghakseo It works perfect for Win also.
IDN what's the reason of this PR

During hot module reload the changed tailwind classes inside content scripts doesn't build in the css file because of wrong build command in package.json. It doesn't work for me in windows but after I change it to these commands with pnpm dlx it starts to work.

@codergigachad I see the issue right now, but it's not that easy to fix it, as you done.
You put --watch into build:tailwindcss what's cause never ending build.
I fixed it in #654.
I need to close it, because it's fork, i wanted to open PR, to this but it isn't possible, and i don't want to push my commits here 😄
I hope, you won't feel gutted, and want to contribute more 😸

No problem, I like this repo and I would like to contribute in the future as well.


" OSError: [Errno 22] Invalid argument: " when using androdd.py

First of all, thank you very much for solving #339 , but when I tried executing androdd.py tool to get the source code all the classes packaged in an APK file I have another error as following:
" OSError: [Errno 22] Invalid argument: " (the error details below)
I don't sure if that Python version error or Windows 10 error but please provide me if there any hint or solution for this problem.
System Information

Androguard Version: master
Python Version: 3.6
Operating System: Windows 10 64bit.

Further Log Files and Output
E:\androguard>python androdd.py -i tv.peel.app.apk -o er
Dump information tv.peel.app.apk in er
Create directory er
Decompilation ... End
Dump La/a/a/a/a/a;  ()V ... source codes ... bytecodes ... Traceback (most recent call last):
File "androdd.py", line 218, in
main(options, arguments)
File "androdd.py", line 204, in main
options.jar, options.decompiler, options.format)
File "androdd.py", line 193, in export_apps_to_format
with open(filename + ".ag", "w") as fd:
OSError: [Errno 22] Invalid argument: 'er/a/a/a/a/a/a/--V.ag'

the problem is that the filename would contain invalid characters... A solution for this is not so straight forward, as there are so many versions how the name of a class can be messed up... And just replace all chars that are not allowed also does not help. :/
this is a duplicate of #130, closing this one


Add API to Witnesses for resolving an OOBI

Allow for telling a witness about other witnesses in its witness pool

#243


feat: tar & zip in rust

TODO:

[x] Add the primary compression formats for tar support
[x] Add zip archive support
[x] Detect compression format from extension
[x] Add tests

Nice work!


[FLINK-4074] Make metric reporters less blocking

adds a cancel flag to the StatsDReporter, which is checked before sending every metric. set to true when stop() is called.
switched from Timer to ScheduledExecutorService, in the hopes of better forced termination.
also contains a hotfix preventing exceptions occurring in (un)register to be propagated

Good improvements to make the Reporters less blocking @zentol. I had only some minor comments. After addressing them, I think the PR is good to be merged :-)

@tillrohrmann Addressed all your comments.

Very good work @zentol.
+1 for merging.

merging


On adding a text filter, set input focus to allow immediate typing

Upon choosing a text filter to add, it would be useful to be able to immediately type into the text box rather than first having to click in the box.

The TravisCI build failed upon submitting this pull request, but the failure does not appear to have to do with the pull request. One test failed: flask_admin.tests.test_form_upload.test_image_upload_field

Will resubmit this request in order to clean up its commits.


Symbols need a font fallback

The symbols that show text, e.g. Ammeter, have a font family defined of "Gotham Black, Open Sans".
If neither of these fonts are available on the target system, the font displayed is unpredictable (e.g. Times New Roman).
We should add a fallback to these values to at least use a Sans Serif font: "Gotham Black, Open Sans, sans-serif"

If it is easy to fix then we'd fix it; will close it otherwise due to low popularity


login renders 500 error - but no php output on stdout

just run up with docker-compose - set host to localhost - and when I try to login, I get a 500 in apache2 output - but php errors is unfortunately NOT logged anywhere as far as i can see :(

I added this do Dockerfile - to enable display_errors:
RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini
and then I can see in the http reponse that the error is:
Cache unable to write to /var/www/html/api/writable/cache/

I tried chmod 777 - R /var/www/html/api/writable inside running docker image and perms were fine - but it still fails with same error :(

rubbish above worked - I just did not clear network console :)
The error I get after this is: Table 'exam.sq_user' doesn't exist
so it seems it does not load default dataset

check in database.. complete sql file was imported ?

The permissions problem was the first bug - after that - I found database.sql was not loaded in docker setup - so I did that manually and it worked.

I tried just adding correct permissions in RUN chmod.. but that did not work - so I think it needs in the entry script instead.

@KlavsKlavsen  , check if intl extension is installed and enabled in php.ini file.
if it is not enabled recent codeigniter version thows this exception and this might be causing 500 error.
PHP Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in savsoftquiz/api/system/CodeIgniter.php:184


Output panchanga in csv format

Hello,
I want to create a panchage in csv format with date and  Features of panchanga as columns
Date, Tithi, nakshatra, yoga, karana, varna, moon_rashi, sun_rashi,paksha, panchanga_siddhaanta, ayanamsha, ritu, maasa, moon_postion, sun_postion, etc
Here date can be specific instance of time in iso format. Eg 2020-03-20T14:28:23.382748
I am new to concepts on panchana. Donot have much domain knowledge.

Kindly let me know what all features i can use as columns
Will all values be single valued for specfic cell? If not we will have to split rows into multiple rows
Any code pointer to where i can start this? I was using

 dt =  datetime.datetime.now()
  panchaanga = daily.DailyPanchaanga.from_city_and_julian_day(
    city=chennai, julian_day=time.utc_gregorian_to_jd(dt))

Sample output https://gist.github.com/code4passion/a03f812dcc06438410e7dceab8b2c2c6

Just noticed that the docs were broken - now fixed. Please refer to https://jyotisham.github.io/jyotisha/software/for_users/ . Just emit the panchAnga object you get however you like. Following through calls at jyotisha/panchaanga/writer/generation_project/summary.py would help. see example outputs at https://jyotisham.github.io/jyotisha/output/Hampi/MULTI_NEW_MOON_SIDEREAL_MONTH_ADHIKA__CHITRA_AT_180/gregorian/1300s/1310s/1311_summary/


Add a version switch to the command line

Fixes #84.
Added a simple version switch to the CLI which outputs the package.json's version field.

I signed it!

no longer needed, polymer-cli has this.


get all photo from picker

hello, as your tutorial i just see the way to get single photo
if let photo = items.singlePhoto

so if i want to get all photo that i picked, please update the doc plz

sorry im wrong in doc knowledge,
for item in items {
                        switch item {
                        case .photo(let photo):
                            self.insertMessages([photo.image])
                        case .video(let video):
                            print(video)
                        }
                    }

its work


Re-enable API server CA injector e2e tests

We should re-enable the API server e2e tests for the CA injector.
This was disabled in an effort to reduce test flakes.
When this test is run, it makes commands like tiller install to fail.
These failures contribute to other tests failing when running at the same time.
We should investigate a way to run this test  in serial.

/assign @wallrj

/milestone v1.3
@wallrj to investigate

If that's OK I will postpone this issue to v1.4 (planned for Friday 11 June 2021). The v1.3 is now frozen.
/milestone v1.4

It was fixed in https://github.com/jetstack/cert-manager/pull/3838
/milestone v1.3


Add tests and fix bugs

Added tests for:

Tutorial
MarkAttendanceCommand + Parser
UnmarkAttendanceCommand + Parser

Fix bugs in:

Comment: Try to remove or add a comment  for a fresh student edited into the save file manually resulted in an error. Fixed by generating attendance records on every comment command call.

Attendance: IndexOutOfBounds exception due to incorrect handling of loop variable. Fixed.

Codecov Report

Merging #220 (c702e3d) into master (69181df) will increase coverage by 4.73%.
The diff coverage is 91.30%.

@@             Coverage Diff              @@
##             master     #220      +/-   ##
============================================
+ Coverage     44.71%   49.45%   +4.73%
- Complexity      774      856      +82
============================================
  Files           161      161
  Lines          3853     3874      +21
  Branches        494      500       +6
============================================
+ Hits           1723     1916     +193
+ Misses         2003     1823     -180
- Partials        127      135       +8

Impacted Files
Coverage Δ

...ddress/logic/commands/UnmarkAttendanceCommand.java
80.55% <88.88%> (+80.55%)
:arrow_up:

.../address/logic/commands/MarkAttendanceCommand.java
81.57% <90.00%> (+81.57%)
:arrow_up:

...seedu/address/model/attendance/AttendanceList.java
88.88% <100.00%> (+50.00%)
:arrow_up:

...in/java/seedu/address/model/tutorial/Tutorial.java
75.20% <100.00%> (+27.74%)
:arrow_up:

.../main/java/seedu/address/model/person/Student.java
26.82% <0.00%> (+2.43%)
:arrow_up:

...in/java/seedu/address/logic/parser/ParserUtil.java
64.00% <0.00%> (+5.00%)
:arrow_up:

...va/seedu/address/logic/commands/CommandResult.java
73.68% <0.00%> (+7.89%)
:arrow_up:

...ava/seedu/address/model/attendance/Attendance.java
70.00% <0.00%> (+12.50%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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


AWS > QA Landscape:  Deploy Front-End and Backends in AWS

Create QA Landscape

[x] Request an account in SLN (cf Olena's email)
[x] Deploy in AWS our QA front-end/backends + External free MongoDB instance
[x] Serge to provide credentials of Free Atlas instance (Maybe we can use free instance in new Atlas account)
[x] Use a free MongoDB instance as QA database

The QA landscape is fully functional and available under https://qa.e-mobility-group.com.
The DB used is the same as the one on the SCP QA landscape.

The QA landscape is fully functional and available under https://qa.e-mobility-group.com.
The DB used is the same as the one on the SCP QA landscape.

Does the CI is operative ? So we can disrupt the QA on SCP ?

The QA landscape is fully functional and available under qa.e-mobility-group.com.
The DB used is the same as the one on the SCP QA landscape.

Does the CI is operative ? So we can disrupt the QA on SCP ?

The 4 QA pipelines are working. They just need to be switched to the main repositories under your account, as stated in the tasks list above.

The QA landscape is fully functional and available under qa.e-mobility-group.com.
The DB used is the same as the one on the SCP QA landscape.

Does the CI is operative ? So we can disrupt the QA on SCP ?

The 4 QA pipelines are working. They just need to be switched to the main repositories under your account, as stated in the tasks list above.

Vamos !

I can't do it, only the account owner can do it. Try with the emobility-qa-simulator on codepipeline first to change in the source step the target repo. Not sure it will recreate the webhook properly on GitHub. I'll reconfigure the rest of the pipeline after and remove the webhook on the repo under my account.
All the demo related instances on SCP QA are not on AWS QA. I do not have access to the sources/repos/etc.


Having issues with absolute positioning elements over map

Summary
I have some elements that I am positioning over top of the map, and sometimes they are positioned in the intended position and sometimes they are not.  I haven't been able to figure out what that cause is, but I'm thinking that it might have to do with the order the rendering takes place.
Intended positions marker geo-location button (top right) and view list button (bottom right):

One element out of place

Both elements are out of place

Reproducible sample code
import React, { useState, useRef } from 'react'
import {StyleSheet, FlatList, Pressable, Image, TouchableOpacity, Animated} from 'react-native'
import { Icon, View, Text } from 'native-base'

import locationButtonImage from '../../../assets/images/icon/location.png'

import MapView, { UrlTile, PROVIDER_GOOGLE, Marker } from 'react-native-maps';
import Ionicons from 'react-native-vector-icons/Ionicons'

import { globalStyles } from "../../../assets/styles/globalStyles"
import locationImage from '../../../assets/images/icon/location.png'

...

    const [ mapRegion, setMapRegion ] = useState({
        latitude: 35.256,
        longitude:-75.520,
        latitudeDelta: 0.5,
        longitudeDelta: 0.5
    })

    return (
        <View>
            <MapView
                provider={PROVIDER_GOOGLE}
                style={styles.mapContainer}
                region={mapRegion}
                mapType='satellite'
                showsUserLocation={true}
            >
                {nearbyList.data.map((loc, index) => (
                    <Marker
                        key={loc.locationBeachId}
                        title={loc.title}
                        coordinate={{latitude:loc.locationLat,longitude:loc.locationLon}}
                        image={{uri: 'map_marker'}}
                    />
                ))}
                <TouchableOpacity
                    onPress={showUsersMapLocation}
                    style={{width:56, height:56, position: "absolute", right:0, top: 6}}
                    activeOpacity={0.8}
                >
                    <Image source={locationButtonImage} />
                </TouchableOpacity>
                <Animated.View
                    style={[
                        {
                            position:'absolute',
                            right:12,
                            bottom:100,
                            width: animatedBtnWidth
                        },
                    ]}>
                    <Pressable
                        onPress={toggleNearbyView}
                        style={({pressed}) => [
                            {
                                backgroundColor: pressed ? globalStyles.colors.blue300 : globalStyles.colors.blue500
                            },
                            styles.toggleListBtn,
                        ]}
                    >
                        <Icon
                            as={Ionicons}
                            name="list"
                            size='lg'
                            style={{color:'#fff' }}
                        />
                        <Text style={styles.toggleListBtnText}>View List</Text>
                    </Pressable>
                </Animated.View>
            </MapView>
        </View>
    )

...

const styles = StyleSheet.create({
    container: {
        width: wp(100),
        height: '100%',
        backgroundColor: globalStyles.colors.paleBlue
    },
    mainContent: {
        zIndex:1
    },
    mapContainer: {
        width:'100%',
        height:'100%',
    },
    toggleListBtn: {
        height: 48,
        paddingHorizontal: 16,
        borderRadius: 28,
        shadowColor: '#000000',
        shadowOpacity: 0.2,
        shadowOffset: {width: 0, height: 3},
        shadowRadius: 8,
        display:'flex',
        flexDirection:'row',
        alignItems: 'center',
        justifyContent: 'flex-start'
    },
    toggleListBtnText: {
        color:'#fff',
        fontSize:13,
        fontFamily:'Roboto-Medium',
        fontWeight:'500',
        paddingLeft:10
    }
})

Steps to reproduce
when toggling back and forth from the view that includes the MapView, sometimes the elements are absolute positioned corrected and sometimes not.
Expected result
The geo location button should be in the top right, and the view list button should be in the bottom right.
Actual result
When the overlayed elements are not in the proper position, they show up in the top left.
React Native Maps Version
1.4.0
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.70.4
What version of Expo are you using?
Not using Expo
Device(s)
iPhone 14, IOS 16.2
Additional information
No response

I have found that if I wrap the  in a , and move the absolute positioned elements outside the  then the problem goes away.

I have found that if I wrap the <MapView> in a <View>, and move the absolute positioned elements outside the then the problem goes away.

Same problem, same fix.


The “continue” button should not disappear after you click it

Describe the bug
If you follow a permalink, the continue to open in element button disappears after being clicked. This is very confusing if you want to click it again
To Reproduce
Steps to reproduce the behavior:

Go to a matrix.to event permalink
Click on open in Element; click continue

Expected behavior
Permalink opens in Element; continue button remains present on the matrix.to tab rather than vanishing.
Screenshots

First screen
Second screen

Come back, blue button!
Smartphone (please complete the following information):

Device: iPhone 12
OS: iOS 15
Browser: Mobile Safari

Hi, @ara4n  I would like to work on this issue, so can you please assign me this issue.

is this issue still open?

@ara4n It's unclear what your ideal layout and flow is here.
I'm assuming you want the "Continue in your browser" button to still be available. Instead of only having the option to download the app from the app store.
As a note, this flow is broken in a different way nowadays to go straight from "Continue" to https://app.element.io (see https://github.com/matrix-org/matrix.to/issues/262#issuecomment-1092377481)

Synced out of band with @ara4n, here is the ideal/expected UI here:

We should never shuffle people over to mobile web
"Continue" takes you to install Element iOS, or deeplinks the app if you already have it installed

Potential solutions
Universal links

Synced out of band with @ara4n, here is the ideal/expected UI here:

We should never shuffle people over to mobile web

"Continue" takes you to install Element iOS, or deeplinks the app if you already have it installed

If app not installed, "Continue" brings you to app store to install (doesn't go to deeplinked content after install)
If app installed, "Continue" opens to deeplinked content in app

To accomplish this, I was thinking that on matrix.to, the "Continue" button link would look like https://app.element.io/#/room%2F%23Wgpu%3Amatrix.org?redirect=appstore. Then:

If the app is installed, the universal link will kick in and open the content in the app
If the app is not installed, it will open in mobile Safari.  Universal links are just normal https://app.element.io/ links except that you can register to handle them in your app. This sounds good but the first-time you try a matrix.to link after you have the Element app installed, it still opens mobile Safari first https://app.element.io/ and then has a banner at the top to ask you whether you want to open the link the Element app (see Step 3 in the images below).  This means that we can't just blindly redirect to the iOS App Store when we see ?redirect=appstore because the user could also be on https://app.element.io/?redirect=appstore in order to press "Open" in the Safari app banner allow flow.

Step 1
Step 2
Step 3 (click "Open" in the Safari app banner)
Step 4 (finally the app is open)

Note: After you have allowed the "Open in Element app" by pressing "Open" the first time in the Safari banner, subsequent matrix.to links you visit, the "Continue" button starts opening directly in the app now.
If someone starts without the app installed, we could get the same banner experience by adding a "Smart App Banner", where it prompts the user to go view the Element iOS app on the app store, see https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners
But all of this isn't very viable because we want to avoid going to Element web on mobile altogether. Someone can easily just dismiss the banners or ignore them and try to use mobile Element web which will be a bad time. Even when the user has the app installed, they can ignore the "Open" banner.
If I was an iOS user, I kinda like this behavior because I don't like when websites force me to install apps in order to view content. We should really look into optimizing the main views you would see in mobile Element web coming from  matrix.to flows (space, room, message permalink).
Get what we want, custom URL scheme
I think we could get what we want if we used a custom URL scheme and registered to handle that in the Element iOS app.
The scheme could be matrix:// or our own custom element:// one.
When the app is not installed and the user tries to open the app via the custom URL scheme, it will simply throw a "Safari cannot open the page because the address is invalid" toast. We get a preview to see how this could look like because FluffyChat does this:

Initial error when the app is not installed
We get a app store badge to install the app

When the Element iOS app is installed, the custom URL scheme, simply opens the app seamlessly.
But as @ara4n originally points out, we should also keep the "Continue" button with the custom URL scheme link on screen so the user can retry the matrix.to link after they install the native app to get to the content they wanted to see in first place.

So EW specifically doesn't forward you to the mobile_guide when you're hitting a permalink, iirc this is important for 3pid invites which require EW
https://github.com/vector-im/element-web/blob/384903361d5ff3c608fedecf2105100201c00ca8/src/vector/index.ts#L134
Related https://github.com/vector-im/element-web/issues/7378

Thanks for the details @t3chguy. I think we can workaround to still allow "verifying a 3pid (but after we've loaded the config)" and load the mobile guide otherwise.
Based on https://github.com/vector-im/element-web/issues/7378 saying redirects stopped the universal links from working, I think we're going to have to load the mobile guide at various URL's instead of redirecting there.


dts: rt5xx: rt6xx: Fix DTC sram warnings

Fix DTC warnings caused by sram node definition:
Warning (simple_bus_reg): /soc/sram@30000000: simple-bus unit address format error, expected "10000000"

I don't think this is the proper solution to this warning, you're changing it from the data bus address to the code bus address

Hi @decsny
This is the way how to fix the "expected 10000000" warning.
Would you rather to stay with the warning?

I don't think this is the proper solution to this warning, you're changing it from the data bus address to the code bus address

Hi @decsny This is the way how to fix the "expected 10000000" warning. Would you rather to stay with the warning?

just switch the order of the indexes in the property. ie, 20000000->30000000 first, and 0->10000000 second.

I don't think this is the proper solution to this warning, you're changing it from the data bus address to the code bus address

Hi @decsny This is the way how to fix the "expected 10000000" warning. Would you rather to stay with the warning?

just switch the order of the indexes in the ranges property. ie, 20000000->30000000 first, and 0->10000000 second.

OK. Updated.


Expose RA change/remove role commands

Depends on https://github.com/SURFnet/Stepup-Middleware/pull/83

:exclamation: @rjkip

:ship:


For asymmetric keys, this was a pleasant experience. It was straightforward to expose ECDSA keys via crypto.Signer. The interface was obviously designed with HSMs in mind (and we appreciate the thought l-)
Currently I am adding support for symmetric keys. This can be made to work but certain operations are very slow, due to a mismatch between the PKCS#11 API and the Go crypto/cipher APIs.
Specifically, to efficiently perform 'bulk' crypto operations, the PKCS#11 API requires a sequence of three calls:

C_EncryptInit
C_EncryptUpdate (any number of times)
C_EncryptFinal

Even if the mode in question does not produce any ciphertext in the call to C_EncryptFinal, it is necessary to call it in order to release resources.
However, cipher.Block and cipher.BlockMode provide no way for the caller to signal that they are finished. Essentially they lack a Close method. So an implementation of either of these interfaces that uses an HSM is not possible.
It is possible, of course, for a cipher.Block to encrypt a single block and clean up after itself (and this is what I've done). However using such an implementation from cipher.NewCBCEncrypter can be hundreds of times slower than an idiomatic PKCS#11-aware implementation.
My questions/requests in this issue are:

Is there any possibility of adding Close() methods to the existing cipher.Block and cipher.BlockMode interfaces?
Failing that is there any way for an implementation to detect that its object is no longer referenced and the underlying resources can be released? i.e. something analogous to, or attacking the same problem as, a C# finalizer?

See https://github.com/thalesignite/crypto11/issues/6 for additional information, although I believe I've captured everything relevant above.
What version of Go are you using (go version)?
go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/rjk/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/rjk/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build914934708=/tmp/go-build -gno-record-gcc-switches"

CC @FiloSottile @agl

The AEAD interface might be better suited here as I don't believe that we can add a Close method at this point.
However, r.e. your #2, set you aware of SetFinalizer?

Thankyou, I've adopted both suggestions.
Is there any work being done on future crypto APIs in Go? If so where can I go to help make them HSM-friendly?


Remove time units for activeTime and timestamp fields

Addresses #197

@saik-intel @sanilkumar0 @joshuaranjan @jandres742 @wdamon-intel

lgtm

I think “implementation specific” is better. Obfuscation is not a meaning any spec should convey. Another term that might work OK here is “opaque”, but "implementation specific" is preferable.  It allows for the most flexibility in terms of implementation, while informing the user that the type or representation of some object or metric is purposefully opaque for their purposes.

From: Jaime Arteaga @.>
Sent: Tuesday, September 19, 2023 6:52:54 PM
To: oneapi-src/level-zero-spec @.>
Cc: Damon, Will @.>; Mention @.>
Subject: Re: [oneapi-src/level-zero-spec] Remove time units for activeTime and timestamp fields (PR #208)
@jandres742 commented on this pull request.

In scripts/sysman/engine.ymlhttps://github.com/oneapi-src/level-zero-spec/pull/208#discussion_r1330781891:

@@ -69,11 +69,13 @@ name: $s_engine_stats_t
members:
- type: uint64_t
name: "activeTime"

 desc: "[out] Monotonic counter for time in microseconds that this resource is actively running workloads."

 desc: |

       [out] Monotonic counter where the resource is actively running workloads.

in terms of specifications, "implementation specific" is more used than "obfuscated". Basically what we are saying is that user shouldn't assume anything about the time units.
@wdamon-intelhttps://github.com/wdamon-intel : what do you think?
—
Reply to this email directly, view it on GitHubhttps://github.com/oneapi-src/level-zero-spec/pull/208#discussion_r1330781891, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A25YXTICFH7OFACSUK6JVO3X3IO4NANCNFSM6AAAAAA4H67J3U.
You are receiving this because you were mentioned.Message ID: @.***>


Ember-CLI 0.2.2 warns about deprecations

I have updated ember cli to the latest version in our app and here are some warning messages
[Deprecated] this.mergeTrees is deprecated, please use broccoli-merge-trees directly instead  [addon: ember-intl]
[Deprecated] this.pickFiles is deprecated, please use broccoli-funnel directly instead  [addon: ember-intl]
[Deprecated] this.pickFiles is deprecated, please use broccoli-funnel directly instead  [addon: ember-intl]
[Deprecated] this.mergeTrees is deprecated, please use broccoli-merge-trees directly instead  [addon: ember-intl]
[Deprecated] this.pickFiles is deprecated, please use broccoli-funnel directly instead  [addon: ember-intl]
[Deprecated] this.pickFiles is deprecated, please use broccoli-funnel directly instead  [addon: ember-intl]
[Deprecated] this.mergeTrees is deprecated, please use broccoli-merge-trees directly instead  [addon: ember-intl]

I suppose it needs to update index.js to support new ember-cli api.

https://github.com/yahoo/ember-intl/releases/tag/1.2.2 resolves this, thanks!


Unexpected character "&" in app\Resources\views\jquery.collection.html.twig at line 755.

Hello. I followed the steps for installation but I keep getting this error.
How can I fix this?

Hello,
Can you please give me more details?
The jquery.collection.html.twig file is only 34 lines, so this error may be related to the way you're using it more than itself.

Hey. I don't know what happened but I apparently I downloaded the wrong file. Downloaded it again and it works fine. Thank you very much.


Update endpoint list to include Function Apps

According to this link, Function Apps are now a first-class endpoint for Event Grid and can be set as such via the create command.

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

ID: 63e73e1b-aad9-0ce8-be1f-a9b9d02ca6d4
Version Independent ID: 73525c5f-94f3-1c07-e3b6-3a022aab2a10
Content: az eventgrid event-subscription
Content Source: src/azure-cli/azure/cli/command_modules/eventgrid/_help.py
Service: event-grid
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

eventgrid

this is a feature request

Apparently it is not part of main AzureCli feature, but does require installation of cli extension:
https://github.com/Azure/azure-cli-extensions/issues/1713#issuecomment-629667760

this is dup issue. closing it


Error Encountered

Running this in verbose
VERBOSE: Start-ActiveDirectoryDocumentation - Getting domain information
Get-GPO : The term 'Get-GPO' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\marshph-adm\Documents\WindowsPowerShell\Modules\pswindocumentation\0.0.5\Private\PSADDomain.ps1:26 char:35

$ADSnapshot.GroupPolicies = $(Get-GPO -Domain $Domain -All)

                              ~~~~~~~

CategoryInfo          : ObjectNotFound: (Get-GPO:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

You need to install GPMC.
Install-WindowsFeature –Name GPMC

or
Import-Module servermanager
Add-WindowsFeature –Name GPMC


App not working due to load error

Load function is resolved what should I do.

@asadbukh
Check this https://github.com/sagnikghoshcr7/gif-maker


Upgrade snap

Description
This pull request changes the following:

Upgraded some dependencies

Related Issues

Closes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.31%. Comparing base (736e331) to head (e4405f4).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #612   +/-   ##
=======================================
  Coverage   49.31%   49.31%
=======================================
  Files          12       12
  Lines        1310     1310
  Branches      452      452
=======================================
  Hits          646      646
  Misses        664      664


A large mount of data to load and fit to train  causing Anaconda kernel died and restart

I‘m doing a semantic segmentation task，i have thousands of pictures and labels. The kernel will died and restart when i use anaconda to train pictures that exceed 1600, but the kernel will not died when i train 1000 pictures.But the result is so bad and i want to train more than 10000 pictures.It hint the information when i use the Pycharm:
2021-04-09 11:06:08.187912: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cupti64_110.dll'; dlerror: cupti64_110.dll not found
2021-04-09 11:06:08.190073: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cupti.dll'; dlerror: cupti.dll not found
2021-04-09 11:06:08.191626: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1415] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2021-04-09 11:06:08.192304: I tensorflow/core/profiler/lib/profiler_session.cc:172] Profiler session tear down.
2021-04-09 11:06:08.192482: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1496] function cupti_interface_->Finalize()failed with error CUPTI could not be loaded or symbol could not be found.
Process finished with exit code -1073741819 (0xC0000005)
I tried to solve this problem but failed.
My system information are:
Python version: 3.8
CUDA/cuDNN version: 10.1、7.6
TensorFlow version : 2.4.1
Windows10
Fallowing is my code of loading the datasets：
import cv2
from PIL import Image
import numpy as np
import os
path = 'D:\CDS\cropped\label_label_1_6.png'
def create_one_hot_labels(path):
NCLASSES = 6
img = cv2.imread(path)
labels = np.zeros((img.shape[0], img.shape[1], NCLASSES))
for i in range(img.shape[0]):
for j in range(img.shape[1]):
if (img[i, j, 0] == 0.) and (img[i, j, 1] == 0.) and (img[i, j, 2] == 0.):  #black
labels[i, j, 0] = 1  #to create one-hot-label making the third dimension have shape of six
elif (img[i, j, 0] == 0.) and (img[i, j, 1] == 0.) and (img[i, j, 2] == 255.): #red
labels[i, j, 1] = 1
elif (img[i, j, 0] == 0.) and (img[i, j, 1] == 255.) and (img[i, j, 2] == 0.): #green
labels[i, j, 2] = 1
elif (img[i, j, 0] == 255.) and (img[i, j, 1] == 0.) and (img[i, j, 2] == 0.): #blue
labels[i, j, 3] = 1
elif (img[i, j, 0] == 255.) and (img[i, j, 1] == 255.) and (img[i, j, 2] == 0.): #cyan
labels[i, j, 4] = 1
else:
labels[i, j, 5] = 1
labels = np.reshape(labels, (-1, NCLASSES))
return labels
for i in range(1200):
one_hot_label = create_one_hot_labels(paths_label[i*16])
one_hot_label = np.array(one_hot_label).astype(np.float32)
labels.append(one_hot_label)      #train labels
X_train = []
for j in range(1200):
img = cv2.imread(paths_image[j*16])
img = (np.array(img) / 255).astype(np.float32)
X_train.append(img)           #train data
for i in range(700):
one_hot_label = create_one_hot_labels(paths_label[i*37])
one_hot_label = np.array(one_hot_label).astype(np.float32)
val_labels.append(one_hot_label)
X_val = []
for j in range(700):
img = cv2.imread(paths_image[j*37])
img = (np.array(img) / 255.).astype(np.float32)
X_val.append(img)        #validation data
import tensorflow as tf
import numpy as np
AUTOTUNE = tf.data.experimental.AUTOTUNE
BATCH_SIZE = 20
train_ds = tf.data.Dataset.from_tensor_slices((X_train, labels))
val_ds = tf.data.Dataset.from_tensor_slices((X_val, val_labels))
val_ds = tf.data.Dataset.from_tensor_slices((X_val, val_labels))
train_ds = train_ds.cache()
train_ds = train_ds.apply(
tf.data.experimental.shuffle_and_repeat(buffer_size=200))
train_ds = train_ds.batch(BATCH_SIZE).prefetch(buffer_size=AUTOTUNE)
val_ds = val_ds.batch(BATCH_SIZE)
miou = tf.keras.metrics.MeanIoU(num_classes=6)
model.compile(optimizer=keras.optimizers.Adam(3e-3),
loss='categorical_crossentropy',
metrics=['accuracy', tf.keras.metrics.MeanIoU(num_classes=6)])
import tensorflow as tf
EPOCHS = 500
VAL_SUBSPLITS = 5
VALIDATION_STEPS = 700//BATCH_SIZE//VAL_SUBSPLITS
STEPS_PER_EPOCH = 1200//BATCH_SIZE
model_history = model.fit(train_ds, epochs=EPOCHS,
steps_per_epoch=STEPS_PER_EPOCH,
validation_steps=VALIDATION_STEPS,
validation_data=val_ds,
                      callbacks=[early_stopping, tensorboard_callback, csv_log])

So my problem is if the way of loading the dataset is wrong and how can i load more than 10000 pictures to train. Or if i have the problem in the version of the configuration.
Many thanks

@Cuids
Code shared is full of indentation errors, could you please share a colab gist with issue reported or simple stand alone indented code with all dependencies such that we can replicate the issue reported.
Thanks.


Suggestion: Use std::unique_ptr to manage memory resource may be better?

I found there are many of new and delete in source code, using std::unique_ptr to control them may be better? It can release memory automatically by RAII to avoid memory leak when forgot delete ptr;.
More about std::unique_ptr: https://en.cppreference.com/w/cpp/memory/unique_ptr

I'll think about it.

The updates has been completed and merged into 'dev' branch, which will appear in v0.6.0.


Receptor ligand activity

Hi @vanaukenk
If you are now happy with this, please merge ASAP (I'd like to pull this into the receptor refactoring branch).  Cheers, David

Hmmm - build just failed claiming missing IDs.  No missing IDs in diff so assume this is from a check against a different file (master?).  In attempt to fix, I've merge master and pushed again.


Adds ability to use custom separators in CSV.build

Closes #5987

No specs? :-(

@sdogruyol originally requested specs (https://github.com/crystal-lang/crystal/pull/5998#pullrequestreview-114806601) but merged anyway?

@straight-shoota yeah, that was incoherent... 😕 I'll make a followup PR with them if that's alright.


Update contents of the timetable.

The current state of the timetable looks something like this:
[[['obj1', 'abc/img1.png', · · ·], [], [], [], [], []], · · · [[], [], [], [], [], ['obj6', 'abc/img6.png', · · ·]]]
(Example is given that there are six layers for the images.)
The problem I have with this is that position is hard-coded; the Timetable class has a variable dedicated to grabbing the specific index for the sake of readability. So, I begun to think of another way, and perhaps OOP has my answer.
Perhaps I could define a class that stores the attributes of an object. It's start time, the y coordinate, when it's moved three pixel to the rights, etc. Then, a dictionary can store a reference to an object, and call that reference when the name of it appears. This is immediately more useful than a hard-coded array based on position.

This functionality is in place.


Add tests

... for npm test
I would be happy to have help with this.

CI Tests should be added to automatically run the existing tests, then we should be good for now


thank you that was so easy and helpful

[Enter feedback here]

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

ID: 03e3ba56-450a-ff3f-6f76-2153e4941621
Version Independent ID: 6e9f3066-f40b-b83f-5175-8abf2dda3da0
Content: Build dataset in Dataset Designer (.NET Framework) - Visual Studio (Windows)
Content Source: docs/data-tools/walkthrough-creating-a-dataset-with-the-dataset-designer.md
Service: visual-studio-windows
Sub-service: data-tools
GitHub Login: @ghogen
Microsoft Alias: ghogen

@sabaMK47 -- Maryam, thank you for your kind words.  They are much appreciated.
cc @ghogen, @j-martens


Add a Gitter chat badge to README.md

intel-hpdd/intel-manager-for-lustre now has a Chat Room on Gitter
@jgrund has just created a chat room. You can visit it here: https://gitter.im/intel-hpdd/intel-manager-for-lustre.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Can one of the admins verify this patch?


Remove swiftshader dir from signing list

The swiftshader directory is no longer in the build output and causing a failure during signing.  Unfortunately the ad-hoc builds don't do signing so this didn't show up until the official builds.  I'm running a signed ad-hoc build now to confirm this fixes the build break.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 41.98%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
28755

Relevant Lines:
63637

💛  - Coveralls


feat: bump node core to 5.0.0

PR summary
This commit bumps the node core dependency to 5.0.0, and also bumps the min supported version of node to be 18.
PR Checklist
Please make sure that your PR fulfills the following requirements:

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

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dependency refactor

Slim down dependencies you have to add with yarn to none
move types from dev dependencies to regular dependencies
update readme to install mailing as a regular dependency
some small updates to the e2e tests

e2e tests ran and verified that npx next build runs

any conclusions on the best way to include react and react-dom?

any conclusions on the best way to include react and react-dom?

Can we mark all react dependencies as peer dependencies? That's what I've seen in other projects

@mrlubos thanks for the peer dependency idea, I will check that out!

@psugihara We already mark those react dependencies as pier dependencies in the CLI package. When I tested it in our branch it seemed to work though I’m not sure what changed from the other day when it didn’t. Give it a try if you have a second or we can look at it on Monday

I get a module not found error with yarn 1.22.18 because it doesn't install peer deps. It looks like some versions of npm do, which might be what you're seeing.
> mkdir test && cd test && yarn init
> yarn add mailing
> yarn mailing
yarn run v1.22.18
$ /Users/petersugihara/test-standalone-install/node_modules/.bin/mailing
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'react-dom/server'
Require stack:
- /Users/petersugihara/test-standalone-install/node_modules/mjml-react/dist/src/index.js
- /Users/petersugihara/test-standalone-install/node_modules/mailing/dist/mailing.cjs.dev.js
- /Users/petersugihara/test-standalone-install/node_modules/mailing/dist/mailing.cjs.js
- /Users/petersugihara/test-standalone-install/node_modules/mailing/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/petersugihara/test-standalone-install/node_modules/mjml-react/dist/src/index.js:8:38)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/petersugihara/test-standalone-install/node_modules/mjml-react/dist/src/index.js',
    '/Users/petersugihara/test-standalone-install/node_modules/mailing/dist/mailing.cjs.dev.js',
    '/Users/petersugihara/test-standalone-install/node_modules/mailing/dist/mailing.cjs.js',
    '/Users/petersugihara/test-standalone-install/node_modules/mailing/bin.js'
  ]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Not sure the best thing to do here. Perhaps it's catching this error and offering to install the deps? Otherwise, seems like we should call it out in the readme?


Switch to Bootstrap Sass & Render mobile view earlier

Upcoming PR #1511 makes the menu larger, so we need to render the mobile view earlier so that the menu doesn't overflow (it was affecting tablets in portrait mode).
This PR switches Bootstrap CSS to dynamic generation through Sass (incl. minify), to which we add our custom breakpoint variables.
All files under assets/css/bootstrap come from Bootstrap source code.
This should be merged just before PR #1511.
Let me know if you have any questions :)

Is there a way we could use the Bootstrap gem, instead of adding all the files in our project?
https://rubygems.org/gems/bootstrap/
Also we could look at upgrading Bootstrap at the same time.  4.6 is the latest.

@smellems Good idea! This PR now uses Bootstrap gem. It needs to be merged after our switch to GitHub Actions for website deployment (#1535). I'll update the documentation as team members will need to use Bundler commands from now on to test (e.g., bundle install, bundle exec jekyll serve)
Regarding updating Bootstrap, I'll start a new PR :)
@gcharest As it's related to "single words per line" overflowing, the solution I see would be to reduce the font size for this small screen width. However, as this is happening at around 230px width, are there devices of this small of a size?

This is nice!
I'm still using docker run -p 4000:4000 -v $(pwd):/srv/jekyll -it --rm jekyll/jekyll:3 jekyll serve
and this also fixes an issue, where I was having to install jekyll-redirect-from every time


Updated 'Environment variable' in 'Request.Pre' was not updated in the request body.

I found that the updated value of variable 'counter'
in 'pm.environment' was not be replaced correctly
in the 'request body'.
Environment

k6 version: k6 v0.29.0 (2020-11-11T13:27:03+0000/d9bced3, go1.15.4, linux/amd64)
OS and version: WSL2 Ubuntu-20.04

Expected Behavior
Value of 'counter' that was set in
the 'pm.environment' variable
should be replaced correctly in
the sent request data.
Actual Behavior
The 'counter' value of first '/echo/'
request is 'undefined'.
Steps to Reproduce the Problem

k6 run test.js

To fix this

I found that the problem is in below function
at the commented line (line contains pm[Var])
which can be fixed by replace it with
'pm.environment.get'.
function evaluate(string) {
// return string.replace(expression.variables, (match, name) => pm[Var](name));
return string.replace(expression.variables, (match, name) => pm.environment.get(name));
}

test.js.txt

I saw that this wasn't recreated, so I moved the whole issue :sweat_smile:

I saw that this wasn't recreated, so I moved the whole issue :sweat_smile:

Apologies for the inactivity on this project.
Due to the inability to properly support this project, the k6 team has decided not to continue its development. The primary reason is that k6 scope has grown significantly with the launch of k6 extensions. The team is prioritizing extending k6 capabilities over the converters.
We suggest you post your issue at api-deck/postman-to-k6. The project is active and maintained on this fork.


fix race condition on ObjectLRU

With concurrent usage, it could lead to a concurrent map access panic on runtime.
Sadly, the test only adds value with -race enabled. If you have any idea how to get that panic on the test, it would improve its robustness.

@orirawlings amended with usage of Clear and Get as well


Add share button on trader detail page

Share specific Store directly on SoMe

I receive this message, when trying to share a store on Facebook

That is the same link, but another message that we use on the public share area.
Does this one still work?

I get the same message from facebook on both ways that the message:

@lukaesch maybe you can have a look into that?

please check again - seems to work now again - was a facebook bug

I was able to share without any error but instead of the trader page Lokalkauf .org was posted.

hmmm - might need to have another look into it

Just tried it on security-testing with my FB account and all meta data is displayed correctly.

@Dipanjana1990 that is the general share on facebook link.
The other sharing functionality is "just" on security-testing and not on staging

tested and is Okay


Uncaught Error: Blocked remote.getCurrentWindow()

version: 1.37.0
提交: 036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8
date: 2019-08-08T01:22:37.660Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 18.7.0
Steps to Reproduce:
when nodeRequire('electron').remote.getCurrentWindow(),unable to get current window.

Does this issue occur when all extensions are disabled?: Yes/No

@flipp3d how are you calling this code at all?

@flipp3d how are you calling this code at all?

console printing

@flipp3d how are you calling this code at all?
vscode developer tools,

remote.getCurrentWindow() can be used on vscode 1.36 with Custom CSS and JS，but it is blocked on 1.37，why

Is there any alternatives to remote.getCurrentWindow()? Also why now it marks as as-designed? Can you share a design doc?


comeback to existing convo thread after event

Hello,
I manage to successfully send message to the user after closing a webview. but I don't know how to come back to my previous convo.
I use this code for send a message after an event:
controller.on('note_created', function(userId) {
        var bot = controller.spawn({});

        bot.say(
            {
                text: '5) note received',
                user: process.env.page_id,
                channel: userId
            }
        );
    });

How can I call a callback in my previous convo now ?:
convo.addQuestion({
                attachment: {
                    type: 'template',
                    payload: {
                        template_type: 'button',
                        text: '4) Ask note',
                        buttons: [
                            {
                                type: 'web_url',
                                url: process.env.dev_domain + '/note',
                                messenger_extensions: true,
                                title: 'Write a note'
                            }
                        ]
                    }
                }
            }, function(response, convo) => {
                // Fire code here
            }, {}, 'ask_note');

Any idea ? Thanks for your help :-)

I finally found a solution...
I use it in my post callback (called by the webview close function):
var bot = controller.spawn({});

var message = {
    user: user,
    channel: user,
    page: process.env.page_id,
    text: 'note_created',
    type: 'webview_postback'
}

controller.receiveMessage(bot, message);

In this way I can send a specific message to the convo "webview_postback" for check if the user closed the webview and then comeback to the convo.
That seems to work perfectly...
Is it a good way to manage it?


Prometheus Pod restarting multiple times

What did you do?
Prometheus server getting error restarting pod irregularly
2024-09-04T12:33:48.0863293217
ts-2024-09-04T12:33:48.0852
caller-query_logger.go:71 level-error
component-activeQueryTracker msg-"Failed to read
query log file" err="read/data/queries.active: input/ output error" 2024-09-04T12:33:48.0863554222
ts-2024-09-04T12:33:48.0862
caller-query_logger.go:90 level-error
component-activeQueryTracker Deployed in kubernetes using nfs share whenever we redeploying the pod again comes into running state what might be the issue we faced multiple times we installed in on aks cluster which is perfectly working in other cluster
This is prod please help me on this urgently need
has context menu
What did you expect to see?
No response
What did you see instead? Under which circumstances?
Not using anything how to overcome this
System information
No response
Prometheus version
No response
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

Please take a look at the CAUTION block at https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects, also Prometheus emits a log about NFS FS not being supported.
I'll convert this into a discussion instead someone from the community could help.


Update handling of repeated resource names for C#

Fixes https://github.com/googleapis/toolkit/issues/1085

Codecov Report

Merging #1107 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1107      +/-   ##
============================================
+ Coverage     85.92%   85.93%   +<.01%
- Complexity     3559     3562       +3
============================================
  Files           366      367       +1
  Lines         13943    13952       +9
  Branches       1594     1594
============================================
+ Hits          11981    11990       +9
  Misses         1527     1527
  Partials        435      435

Impacted Files
Coverage Δ
Complexity Δ

...n/viewmodel/RepeatedResourceNameInitValueView.java
100% <100%> (ø)
3 <3> (?)

...e/api/codegen/transformer/InitCodeTransformer.java
94.56% <100%> (+0.07%)
59 <0> (ø)
:x:

Continue to review full report at Codecov.

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

LGTM


fix(unmount): attempt to fix setState after unmount

Ref: #390

I am running into the exact issue you have referenced, do you mind fixing the conflicts and get this fix merged?

Can this fix get merged?


Doc issue re: error R-1 on Fedora

I have a laptop that has an nvidia card and the builtin intel HD 530. I kept getting this R-1 issue under both pure nvidia and intel.
Solution was:
./ShadowBeta.AppImage --appimage-extract
cd squashfs-root
./shadow-preprod
This works for both intel and nvidia.
Maybe could add as a known issue? Happy to troubleshoot further.

Hi! Do you mind giving more information about your OS? Could be really useful to find out what the issue was. Because extracting the AppImage is more a workaround than a real fix to me ^^
Thanks for the reporting though :)

Sure. It's a Fedora 33 box (although F32 was the same for me).
I tracked it down to the following:
[pid 368144] writev(2, [{iov_base="./Shadow", iov_len=8}, {iov_base=": ", iov_len=2}, {iov_base="/tmp/Shadow/resources/app.asar.unpacked/release/native/libcrypto.so.1.1", iov_len=71}, {iov_base=": ", iov_len=2}, {iov_base="version `OPENSSL_1_1_1b' not found (required by /lib64/libk5crypto.so.3)", iov_len=72}, {iov_base="\n", iov_len=1}], 6) = 156
If I remove the libcrypto.so.1.1 out of resources/app.asar.unpacked/release/native/ then I can run ./AppRun in the unpacked AppImage dir and it all works fine.
Root cause:
/lib64/libk5crypto.so.3.1: /tmp/Shadow/resources/app.asar.unpacked/release/native/libcrypto.so.1.1: version `OPENSSL_1_1_1b' not found (required by /lib64/li
bk5crypto.so.3.1)
        linux-vdso.so.1 (0x00007ffec11f3000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007ff3b0e9b000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007ff3b0e94000)
        libcrypto.so.1.1 => /tmp/Shadow/resources/app.asar.unpacked/release/native/libcrypto.so.1.1 (0x00007ff3b0bc9000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff3b0baf000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff3b09e4000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff3b09b7000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007ff3b09ae000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff3b098c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff3b0ef0000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007ff3b08f6000)

        Version information:
        /lib64/libk5crypto.so.3.1:
                libkrb5support.so.0 (krb5support_0_MIT) => /lib64/libkrb5support.so.0
                libc.so.6 (GLIBC_2.14) => /lib64/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6
                libc.so.6 (GLIBC_2.25) => /lib64/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
                **libcrypto.so.1.1 (OPENSSL_1_1_1b) => not found**
                libcrypto.so.1.1 (OPENSSL_1_1_0) => /tmp/Shadow/resources/app.asar.unpacked/release/native/libcrypto.so.1.1```

Let me know if you need anything else.

Thanks!

I have confirmed removing the conflicting libcrypto.so.1.1 file on the stable version also corrects the R-1 error on Fedora 33

I have confirmed removing the conflicting libcrypto.so.1.1 file on the stable version also corrects the R-1 error on Fedora 33

Maybe the AppImage ships too much library, and it starts to be outdated or is in conflict with the current libraries you have. I guess I'll give this issue to a dev to check why it bugs like that.
I don't like to mess with the libraries ^^

Maybe the AppImage ships too much library, and it starts to be outdated or is in conflict with the current libraries you have. I guess I'll give this issue to a dev to check why it bugs like that.
I don't like to mess with the libraries ^^

Thank you so much ! I extracted the AppImage, removed the faulty crypto library and add the other one, then repack it all as a AppImage. It works like a charm under Fedora 33 !

Thank you so much ! I extracted the AppImage, removed the faulty crypto library and add the other one, then repack it all as a AppImage. It works like a charm under Fedora 33 !

When there is an update, it erases all changes so, I have made a script to automatically apply the fix :
#!/bin/bash

# Move modified and original
rm -f ./ShadowBeta.Original.AppImage
mv ShadowBeta.Modified.AppImage ShadowBeta.Original.AppImage

# Extract Image
chmod +x ShadowBeta.Original.AppImage
./ShadowBeta.Original.AppImage --appimage-extract
pushd squashfs-root/resources/app.asar.unpacked/release/native/
rm -f libcrypto.so.1.1
cp -f /usr/lib64/libk5crypto.so.3 .
popd

# Rebuild image
./appimagetool-x86_64.AppImage squashfs-root ShadowBeta.Modified.AppImage

# Clean up
rm -rf squashfs-root

If it can help someone ;)


protocol VP storage and default implicit VP

reopened #915, based on fd4b7ab36929f47369ae82c82966891cb0ccc625 and with edited history (may require further splitting)

pls update wasm


chore: tweak ci installs

Codecov Report

Merging #70 (c141186) into main (f0c90a9) will decrease coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
- Coverage   98.15%   97.81%   -0.34%
==========================================
  Files          76       76
  Lines        2380     2378       -2
  Branches      388      256     -132
==========================================
- Hits         2336     2326      -10
- Misses         35       39       +4
- Partials        9       13       +4

Impacted Files
Coverage Δ

di/api/executor.py
88.23% <0.00%> (-11.77%)
:arrow_down:

di/api/dependencies.py
92.59% <0.00%> (-7.41%)
:arrow_down:

docs_src/bind_as_a_dep.py
92.59% <0.00%> (-7.41%)
:arrow_down:

tests/test_execute.py
94.41% <0.00%> (-1.12%)
:arrow_down:

di/executors.py
76.92% <0.00%> (-0.69%)
:arrow_down:


Keep the TitleView showing above the overlay

I want to keep the tiltleView of the UINavigationItem above the overlay.
Is there an easy way to do it?

Hey @eliekarouz, sadly it's not really possible at the moment. The feature may be implemented in the future, though.

Hey @ephread,
I am bringing this up again because we really need it. Two years ago, I forked the repo last time and did some changes but they weren't that clean (at least to put it back in the main repo). What I actually did is took a snapshot of the title view and add it to the overlay view at the same position of the main title view. I had to hide the title view of the main screen because the its borders looked thicker when adding the title view of the overlay above the real title view.
I would like to submit a pull request for this but I would like to hear any feedback from you on how you think the API should be... I am still confused if it's better to pass the real titleView to the CoachMarkController and we take a snapshot of it and add it to the overlay view OR let the user be in control so he creates a new titleView and passes it the CoachMarkController along with the the position where we are going to add it.

@eliekarouz I believe you can achieve something similar as of 1.2.2, just use the viewController presentation context and Instructions should be added to UIViewController.view. Be careful to not change the existing hierarchy too much while the coach marks are displayed though.

But I think that the whole navigation bar including the bar items will not be covered by the overlay.


Split out environment discovery/load from running

/cc @nhibberd @markhibberd @EduardSergeev
Because I'm lazy it depends on https://github.com/ambiata/mismi/pull/184

@nhibberd @EduardSergeev This look OK to you?

When builds are :green_book:

Builds are green. Renamed discoverAWSEnv. Going to merge first thing after lunch.

:+1:


Some security issues

Found some security issues which may interfere with gameplay. I sent a disclosure report to @Cheneth. If this repo is no longer maintained (if I receive no word from the owner and if no edits are made to remove the vulnerabilities), I will post the report here as well so that the forks can take appropriate measures.

zzzz


Move around quickstart to fix 404s.

Right now, the links in quickstart.md are setup to work in github,
and are rendered broken in armadaproject.io.
This change, and it's accompanying change in master branch, corrects
this and adds documentation to guide people making this kind of change
in the future.
#1169 must merge before this change!
Issue: #889

Honestly, safer change might be to merge the master change then rebase this into just a removal of _pages/quickstart.md...

Superseded by https://github.com/G-Research/armada/pull/1186


Cannot download files

Hello Guys,
You have an Amazing project, really like it, but I have an issue when I try to download some file from another computer outside my network I receive this response
Dat could not find any connections for that link.
There may not be any sources online.
Run 'dat doctor' if you keep having trouble.

And when I run a dat doctor command I receive
[info] Testing connection to public peer
[error] FAIL - Connection timeout, fail.
[error] FAIL - Connection timeout, fail.
[error] FAIL - Unable to connect to public server.
[error] FAIL - Data was not echoed back from public server.
[error] FAIL - Unable to connect to public server.
[error] FAIL - Data was not echoed back from public server.

[info] End of phase one (Public Server), moving on to phase two (Peer to Peer via DNS)

[error] Could not detect public ip / port

Environment information:
Windows 10
NodeJs - v8.11.2
Dat - 13.10.0

What kind of a network are you on? Is it possible there's a very restrictive firewall?

I'm having similar problems, mostly behind a university firewall. Does anyone have any suggestions to possibly get around this? I'm not opposed to hosting something centralized in the cloud to provide some kind of tunneling out of the university's network.

I'm having this problem as well. On a corporate network so I suspect they have certain things locked down. Not sure if there's something I can do.
Welcome to Dat Doctor!

Software Info:
  darwin x64
  Node v11.8.0
  Dat Doctor v2.1.2
  dat v13.11.5

Running Basic Tests (Checks your Dat installation and network setup)

✖ Who am I?
    ERROR: Could not detect public ip / port
✔ Loaded native modules
✔ Resolved Dat Doctor Server
✔ Successful data transfer with Dat Doctor via TCP
✖ Public Peer Test via UDP Failed
  Unable to connect to Dat public server

FAIL
3 of 5 tests passed

Your network may be preventing you from using Dat.
For further troubleshooting, visit https://docs.datproject.org/troubleshooting

❯ dat doctor 778f8d955175c92e4ced5e4f5563f69bfec0c86cc6f670352c457943666fe639
Welcome to Dat Doctor!

Software Info:
  darwin x64
  Node v11.8.0
  Dat Doctor v2.1.2
  dat v13.11.5

✖ Who am I?
    ERROR: Could not detect public ip / port
✔ Loaded native modules

Joining existing Peer-to-Peer test:

  dat doctor 778f8d955175c92e4ced5e4f5563f69bfec0c86cc6f670352c457943666fe639

Trying to Connect:
  <IP_ADDRESS>:51192

It hangs there.

Try dat@next, I wonder if it works for you @Sigafoos, @IvanAbadzhiev ?

same problem :
Welcome to Dat Doctor!
Software Info:
darwin x64
Node v14.0.0
Dat Doctor v2.1.2
dat v13.13.1
Running Basic Tests (Checks your Dat installation and network setup)
✖ Who am I?
ERROR: Could not detect public ip / port
✔ Loaded native modules
✔ Resolved Dat Doctor Server
✔ Successful data transfer with Dat Doctor via TCP
✔ Successful data transfer with Dat Doctor via UDP
FAIL
4 of 5 tests passed
Your network may be preventing you from using Dat.
For further troubleshooting, visit https://docs.datproject.org/troubleshooting

@VincentHanrion can you try npm install -g dat@next?


ci: checkout before release

fix CI
Signed-off-by: Zxilly<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 996238535

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.234%

Totals

Change from base Build 996224103:
0.0%

Covered Lines:
108

Relevant Lines:
134

💛  - Coveralls

@hsluoyz @Kininaru plz review


Add a way to universally disable sourcemaps

Description
Since vite produces modern javascript, sourcemaps in development are often unnecessary as there is no significant transpilation that would make debugging difficult without them.
On the other hand, sourcemaps are notoriously difficult to get correct, and if they're ever wrong then it can ruin the whole debugging experience.
While they can be turned off for individual components of vite (e.g. esbuild.sourcemap and css.devSourcemap), the dev server will still unconditionally inject sourcemaps from any plugin that produces them (like vite-plugin-vue2).
Suggested solution
Add a setting server.sourcemap that can be set to false to prevent the automatic injection of sourcemaps that happens here https://github.com/vitejs/vite/blob/ba62be40b4f46c98872fb10990b559fee88f4a29/packages/vite/src/node/server/send.ts#L59-L63.
Or, a bit more ambitiously, add a top level sourcemap setting that, if set, would supercede build.sourcemap, esbuild.sourcemap, build.rollupOptions.output.sourcemap* and css.devSourcemap. I realize that individual plugins could still inject their own inline sourcemaps into their emitted code, but having a single central setting for this would also encourage plugin authors to respect this setting.
Alternative
Disabling sourcemaps in the browser dev tools can achieve this end, but this has a few problems:

Is a per-machine setting, so while one project might not benefit from sourcemaps, another project might still need them, requiring repeated toggling through context switches.
Is a per-machine setting, so if it is known that the sourcemaps for a particular project are problematic, they cannot be turned off for all developers on that project.

Additional context
This would likely allow users to overcome (not a fix, but at least allow for a workaround) for the following issues:

https://github.com/vitejs/vite-plugin-vue/issues/33
https://github.com/vitejs/vite/issues/5834
https://github.com/underfin/vite-plugin-vue2/issues/208

Validations

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

Or, a bit more ambitiously, add a top level sourcemap setting that, if set, would supercede build.sourcemap, esbuild.sourcemap, build.rollupOptions.output.sourcemap* and css.devSourcemap

A single top-level sourcemap option to control them all would be nice. Similar to Webpack's SourceMapDevToolPlugin which fulfills the same purpose there.
I'm especially hoping for a option to exclude assets by path regexp from emitting a source map, so that for example third-party chunks can be excluded.

I second this use case.
I was surprised to find the proposed setting didn't already exist in some form.

Basically you can't stop vite from changing your source JS files, in dev mode. And in production mode you have to constantly rebuild because vite build won't.
So the better option is to use tsc -w and python -m http.server if you want your files intact...

I also need to disable it. Did anyone find a way to do this in the dev server ?

You can achieve this by adding a plugin.
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [
    {
      name: 'remove-sourcemaps',
      transform(code) {
        return {
          code,
          map: { mappings: '' }
        }
      }
    }
  ]
})


'num' support a tensor as input in tf.unstack(#17266)

@rmlarsen I think We should modify gen_array_ops.py, But this file is MACHINE GENERATED. So, we should edit array_ops.cc. However, I don't know how to generate gen_array_ops.py file by array_ops.cc. Can you give me a way to generate this file??

@jason9693 gen_array_ops.py gets generate automatically during the build.

@rmlarsen  Is it only available to build in ubuntu or windows os, not in mac?

@jason9693 It is available on all platforms.

@jason9693 there are many errors, including the sanity check. Could you fix and push again?

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

It has been 44 days that this pull-request has stalled. Please create a new pull-request with the requested changes.


classgraph 4.8.168 (was 4.8.165)

About this PR
📦 Updates io.github.classgraph:classgraph from 4.8.165 to 4.8.168
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.classgraph", artifactId = "classgraph" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.github.classgraph", artifactId = "classgraph" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #279.


Update gliderlist.csv

I REALIZED THAT MY GLIDER IS NOT ON THE LIST, SO I PROPOSE TO INCLUDE IT ON THE LIST

Thanks for contributing. The following parts need to be resolved:

When I google "KW-1", I do not find a glider directly. Can you provide a more clearer name?
Can you provide me a link to the glider to review?
How is the Index of 78 calculated?
club in the scoring class needs to be changed to uppercase (the all the other gliders)

Hello,
the kw-1 glider is a Brazillian training glider from 80's you can find it at the link below:
https://pt.wikipedia.org/wiki/IPE_KW1
[https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/Kw-1.jpg/1200px-Kw-1.jpg]https://pt.wikipedia.org/wiki/IPE_KW1
IPE KW1 – Wikipédia, a enciclopédia livrehttps://pt.wikipedia.org/wiki/IPE_KW1
pt.wikipedia.org
The index 78 is the index used in competitions here in Brazil, we do use the french handicap list.
Thank you for your attention.
Giuliano Messa

De: Moritz Althaus @.>
Enviado: domingo, 7 de julho de 2024 08:02
Para: weglide/GliderList @.>
Cc: MESSAGIU @.>; Author @.>
Assunto: Re: [weglide/GliderList] Update gliderlist.csv (PR #69)
Thanks for contributing. The following parts need to be resolved:

When I google "KW-1", I do not find a glider directly. Can you provide a more clearer name?
Can you provide me a link to the glider to review?
How is the Index of 78 calculated?
club in the scoring class needs to be changed to uppercase (the all the other gliders)

—
Reply to this email directly, view it on GitHubhttps://github.com/weglide/GliderList/pull/69#issuecomment-2212361701, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJVGRCRME7XPWCFDYKYHQVLZLDY2RAVCNFSM6AAAAABKMDGCGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGM3DCNZQGE.
You are receiving this because you authored the thread.Message ID: @.***>


la-x-axis and la-y-axis not showing

i just copied your sample code to my project ,  chart is ok , but  x and y axis and tooltip not showing .

I have same problem. I could not find a solution how to fix, but it solved. May be this helpful for someone.
If you use on demand import, you mast import
import { Cartesian, Line, XAxis, YAxis, Tooltip } from 'laue';

And also remember to register it properly:
import { Cartesian, Line, XAxis, YAxis } from 'laue'; ... components: {     LaLine: Line,     LaCartesian: Cartesian,     LaXAxis: XAxis,     LaYAxis: YAxis,   },


Issue with sending/receiving  ETH and ERC20 Tokens

[ ] Send Controller: After the user clicks on send in "Send confirm", the balance should be changed
[ ] Receive: Unconfirmed transactions for ETH and ERC20, these transactions should observe they protocol for unconfirmed transactions. In other words the transaction affects balance only after it’s confirmed. In the same way not possible to use pending funds for new transactions.
[ ] When sending ERC20 Tokens the transaction is duplicated

When sending ERC20 Tokens the transaction is duplicated

Fixed by #709


Multiple Calender

The calendar shows only 1 calendar, we have a requirement that it must show multiple calendars in the day view (e.g. a shared calendar in google calendar) for comparison.
Will this be implemented? This there an easy way to implement this?

It's not something I'm planning to implement at the moment.  I think it would be quite a big change.


enrich JSON output

add the percentage per rule
add a human-readable label per rule

Right, I saw now that the name of the check is already in the stats output from Sorald. The percentages per rule probably wouldn't be appropriate here in the raw Sorald output, it's better to just have the absolute values to reduce duplication.
So @khaes-kth I get what you were saying now, we don't need to add this in Sorald, it should be added in your experiments output, and doing so manually wouldn't be much work. I'm closing this as it's not actionable for this project.

Right, I saw now that the name of the check is already in the stats output from Sorald. The percentages per rule probably wouldn't be appropriate here in the raw Sorald output, it's better to just have the absolute values to reduce duplication.
So @khaes-kth I get what you were saying now, we don't need to add this in Sorald, it should be added in your experiments output, and doing so manually wouldn't be much work. I'm closing this as it's not actionable for this project.

@slarse
Good, I will do the postprocessing to compute the percentage.
Thanks.

@slarse
Good, I will do the postprocessing to compute the percentage.
Thanks.


How do I pick no date?

update returns , Maybe Date), in which Nothing signals that the date has not changed. What if I want to pick no date at all, by say blanking out the text field? I can make DatePicker respond correctly, but external update listeners won't be able to tell.

I must say that personally I think the update function returning Nothing to signal that the date has not changed makes for a confusing api. I think it would be better if it always returned the selected date. It's a breaking change of course, but it definitely feels better to me.


feat: modularizing css into scss

Thanks @snowwhitedev. This looks good, I see that this is a foundation implementation e.g. we haven't switched the actual css around to use mixins, variables etc.
Let one of us test this out on our local machines, then we can bring it into staging.

Thanks @snowwhitedev. This looks good, I see that this is a foundation implementation e.g. we haven't switched the actual css around to use mixins, variables etc.
Let one of us test this out on our local machines, then we can bring it into staging.

I  agree. I tested on my local already and attaching short video in the jira

@snowwhitedev could you take a look at the UMD version, it doesn't seem to work.
Steps:

inside the TKN repo run, npm run build-umd
then run http-server

Tested this through and works well for both UMD and NPM package with examples.
Thanks @snowwhitedev

Tested this through and works well for both UMD and NPM package with examples.
Thanks @snowwhitedev

Thank you @nicktaras


Turtlebot Doesn't Move When I Publish To cmd_vel

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[X] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[X] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[X] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[X] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[X] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

Compiled and ran the following code:
#include <memory>
#include <chrono>
#include "rclcpp/rclcpp.hpp"
#include "geometry_msgs/msg/twist.hpp"
using namespace std::chrono_literals;
class MinimalPublisher : public rclcpp::Node
{
public:
        MinimalPublisher() : Node("pub_node")
        {
                publisher_ = this->create_publisher<geometry_msgs::msg::Twist>("cmd_vel", 1);
                timer_ = this->create_wall_timer(250ms, std::bind(&MinimalPublisher::publish_message, this));
        }
private:
        void publish_message()
        {
                geometry_msgs::msg::Twist cmd_vel;
                cmd_vel.linear.x = 10.0;
                RCLCPP_INFO(this->get_logger(), "Sending Linear: '%f'", cmd_vel.linear.x);
                publisher_->publish(cmd_vel);
        }
        rclcpp::TimerBase::SharedPtr timer_;
        rclcpp::Publisher<geometry_msgs::msg::Twist>::SharedPtr publisher_;
};
int main(int argc, char * argv[])
{
        rclcpp::init(argc, argv);
        rclcpp::spin(std::make_shared<MinimalPublisher>());
        rclcpp::shutdown();
        return 0;
}

Copy and Paste the error messages on terminal.

Recently, every time I start Bringup, it shows the following message:
/opt/ros/foxy/share/hls_lfcd_lds_driver/launch/hlds_laser.launch.py:46: UserWarning: The parameter 'node_executable' is deprecated, use 'executable' instead
  Node(
/opt/ros/foxy/share/hls_lfcd_lds_driver/launch/hlds_laser.launch.py:46: UserWarning: The parameter 'node_name' is deprecated, use 'name' instead
  Node(

Please describe the issue in detail.

The raspberry pi on Turtlebot seems to be subscribing cmd_vel as it should be, and running ros2 topic info cmd_vel with the code running and bringup running also shows one publisher and one subscriber. Using ros2 topic echo cmd_vel echos the message I published no problem, but still, Turtlebot is not moving. However, when I run keyboard teleop, which is written in python for foxy, works no problem. Turtlebot is moving normally, but I don't know why Turtlebot is not moving when running the code since the format of the message being published is all the same.

Hi @Bo-Ru .
BURGER_MAX_LIN_VEL is 0.22 (link)
Set cmd_vel.linear.x to less than 0.22.
Thank you.

Hi @Bo-Ru
Regarding the UserWarning, this is a deprecation warning and is not critical in operating the robot.
At the moment, please clone the source and build from it if you don't want to see them.
https://github.com/ros/rosdistro/pull/29243
Will fix this issue soon.
Thanks!

👍Thanks, changing the linear value below 0.22 worked!


Prevent downstream miri false positives

The use of mem::uninitialized induces a miri false positive: https://github.com/japaric/hash32/blob/main/src/murmur3.rs#L73
This is problematic as it prevents downstream crates from using miri to check for UB in their own crates.
If you change the example to use Murmur3 instead of FNV, you can see this plainly:
[addisoncrump@addisoncrump-main hash32]$ cargo miri run --example derive
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `/home/addisoncrump/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo-miri target/miri/x86_64-unknown-linux-gnu/debug/examples/derive`
error: Undefined Behavior: constructing invalid value at .value.bytes[0]: encountered uninitialized bytes
  --> /home/addisoncrump/Dokumente/experiments/libafl/hash32/src/murmur3.rs:73:27
   |
73 |             buf: unsafe { mem::uninitialized() },
   |                           ^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .value.bytes[0]: encountered uninitialized bytes
   |
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: backtrace:
   = note: inside `<hash32::Murmur3Hasher as std::default::Default>::default` at /home/addisoncrump/Dokumente/experiments/libafl/hash32/src/murmur3.rs:73:27
note: inside `main` at examples/derive.rs:21:19
  --> examples/derive.rs:21:19
   |
21 |     let mut mm3 = Murmur3Hasher::default();
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to previous error

This PR switches out the buffer for a MaybeUninit to remove the false positive in miri.

bors merge

bors cancel
(need to fix bors configuration)


ENG-307: Add differential tests to the StarkEx.Crypto.SDK

Describe your changes
The recent bug in signature verification on the StarkEx.Crypto.SDK raised awareness for the need to add a testing suit comparing our implementation of cryptographic operations against another (battle tested) codebase.
This PR adds a differential testing campaign against Starkware's Python implementation for the following methods:

PedersenHash:CreateHash
StarkExSigner:SignMessage
StarkExSigner:VerifySignature
MathUtils:MimicEcMultiplicationAir

Issue ticket number and link
https://linear.app/threesigma/issue/ENG-307
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics?
[ ] Will this be part of a product update? If yes, please write one phrase about this update.

Reviewers
@JoseAfonsoThreeSigma @asynctomatic

@JoseAfonsoThreeSigma Your approach makes sense @JoseAfonsoThreeSigma even thought would probably always need to manually update our python SDK wrapper that is called in the differential tests. I think the approach here if using a submodule would be to lock a specific commit and manually update it when needed (I don't expect this core functionality in their crypto SDK to change much thought).


Add "Easy" label to issue tracker for OpenHatch

From<EMAIL_ADDRESS>on 2013-12-06T10:59:56Z
OpenHatch is a spider (written in Python) that searches open source bug trackers for easy issues and exposes them to people new to open source. We need to help the folks attract people to Spyder development by adding Easy label to issue tracker.
I can then configure tracker settings on Spyder page http://openhatch.org/projects/spyder that I've just created.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1668

From<EMAIL_ADDRESS>on 2013-12-12T13:07:33Z
I am helping myself too. =)
Labels: Easy

From ccordoba12 on 2013-12-11T17:46:45Z
Let's hope we can get some contributors from OpenHatch. Thanks for your interest in helping us through this.
Status: Done


Realm: cancel_operation crashes with profiling

I have tried to remove the unstable sleep with events for the test_profiling test.
The original code:
    cargs.sleep_useconds = 5000000;
    Event e4 = task_proc.spawn(CHILD_TASK, &cargs, sizeof(cargs), prs);
    sleep(2);
    int info = 111;
    e4.cancel_operation(&info, sizeof(info));
    bool poisoned = false;
    e4.wait_faultaware(poisoned);
    assert(poisoned);

The new one:
    cargs.sleep_useconds = 5000000;
    UserEvent u = UserEvent::create_user_event();
    cargs.wait_on = u;
    UserEvent trigger_event = UserEvent::create_user_event();
    cargs.trigger_event = trigger_event;
    Event e4 = task_proc.spawn(CHILD_TASK, &cargs, sizeof(cargs), prs);
    trigger_event.wait();
    int info = 111;
    e4.cancel_operation(&info, sizeof(info)); // make sure the cancel is called after CHILD_TASK is launched (using trigger_event.wait();), but before it is finished (using u.trigger()).
    u.trigger();
    bool poisoned = false;
    e4.wait_faultaware(poisoned);
    assert(poisoned);

However, a new bug is trigged https://gitlab.com/StanfordLegion/legion/-/jobs/5856518802
test_profiling: /builds/StanfordLegion/legion/runtime/realm/tasks.cc:1189: void Realm::ThreadedTaskScheduler::scheduler_loop(): Assertion `yield_to != Thread::self()' failed.
Signal 6 received by node 1, process 19525 (thread 7f7f6432ec00) - obtaining backtrace
Signal 6 received by process 19525 (thread 7f7f6432ec00) at: stack trace: 9 frames
  [0] = unknown symbol at unknown file:0 [00007f7f895b141f]
  [1] = raise at ../sysdeps/unix/sysv/linux/raise.c:51 [00007f7f88fa100b]
  [2] = abort at /build/glibc-wuryBv/glibc-2.31/stdlib/abort.c:79 [00007f7f88f80858]
  [3] = __assert_fail_base.cold at /build/glibc-wuryBv/glibc-2.31/assert/assert.c:92 [00007f7f88f80728]
  [4] = __assert_fail at /build/glibc-wuryBv/glibc-2.31/assert/assert.c:101 [00007f7f88f91fd5]
  [5] = Realm::ThreadedTaskScheduler::scheduler_loop() at /builds/StanfordLegion/legion/runtime/realm/tasks.cc:1189 [00005591947c59f0]
  [6] = void Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop>(void*) at /builds/StanfordLegion/legion/runtime/realm/threads.inl:97 [00005591947ce94d]
  [7] = Realm::UserThread::uthread_entry() at /builds/StanfordLegion/legion/runtime/realm/threads.cc:1355 [00005591947de1a7]
  [8] = unknown symbol at ../sysdeps/unix/sysv/linux/x86_64/__start_context.S:91 [00007f7f88fb94df]

Here is the PR to reproduce the bug https://gitlab.com/StanfordLegion/legion/-/merge_requests/1049
We decided to disable the cancel_operation test cases, and use this issue to track the bug.

However, a new bug is trigged

This seems like a real bug isn't it? That assertion is in the task scheduler and is saying that we're not on the thread that we thought we were on.

Yes, it is a real bug if nothing wrong in my test code. We do not have stress tests for canceling events, so we did not catch the bug before. I just create this issue to reminder us to pick the bug up later.