Issue on IOS event detection

After the app is installed for the first time the event are triggered. But if the close and restarted the app its not detecting the threat.
Can i get some help on this or is there any config am missing

Hello @Kiran0791 ,
could you please explain what exact threat are you referring to? Or is it all threats?
Kind regards,
Talsec team

Hi,
Its on all threat looks like. on fresh install i am able to see secureHardwareNotAvailable but if i close the app and open again its not detecting

Hi @Kiran0791 ,
First, thanks for opening the issue.
Couple of questions, so we can determine where the problem is:

Do you close the app completely,  or just put it in the background?
How long do you wait after you reopen the app?
Do you launch the app on a simulator or real device?

You can also check our implementation in the demo app in example folder.
Kind regards,
Tomas

Completely closed the app
Reopened the app immediately and also waited for few mins
On both real device and simulator faced the issue. pen-test were able to bypass by relaunching the app

I have followed the similar implementation as in demo app

I tested the most recent version of freerasp but can't reproduce the problem. Do you use the useFreeRasp hook?

Yes useFreeRasp is used. also A common component created and its loaded from App.js
Below is the code
`import {useFreeRasp} from 'freerasp-react-native';
import React, {useEffect, useState} from 'react';
import {androidChecks, commonChecks, iosChecks} from './Check';
import {Image, Platform, StyleSheet, View} from 'react-native';
import {Icons} from '../assets/Images';
import {Text} from 'native-base';
import TextParse from '../components/common/TextParse';
import {fontMedium} from '../../themes/variables/Fonts';
import {LogEvent} from '../actions/LogActions';
const WhoIsIn = props => {
const [appChecks, setAppChecks] = useState([
...commonChecks,
...(Platform.OS === 'ios' ? iosChecks : androidChecks),
]);
const [isCompromised, setIsCompromised] = useState(false);
const isRelease = !DEV ? true : false;
const config = {
androidConfig: {
packageName: 'com.test',
certificateHashes: ['r************************8='],
supportedAlternativeStores: [],
},
iosConfig: {
appBundleId: 'com.test',
appTeamId: '',
},
watcherMail<EMAIL_ADDRESS>isProd: isRelease,
};
const actions = {
// Android & iOS
privilegedAccess: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Privileged Access'
? {...threat, status: isRelease ? 'nok' : 'ok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'privilegedAccess'});
},
// Android & iOS
debug: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Debug'
? {...threat, status: isRelease ? 'nok' : 'ok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'debug'});
},
// Android & iOS
simulator: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Simulator'
? {...threat, status: isRelease ? 'nok' : 'ok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'simulator'});
},
// Android & iOS
appIntegrity: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'App Integrity'
? {...threat, status: isRelease ? 'nok' : 'ok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'appIntegrity'});
},
// Android & iOS
unofficialStore: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Unofficial Store'
? {...threat, status: isRelease ? 'nok' : 'ok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'unofficialStore'});
},
// Android & iOS
hooks: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Hooks' ? {...threat, status: 'nok'} : threat,
),
);
LogEvent('Security Threat Detected', {type: 'hooks'});
},
// Android & iOS
deviceBinding: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Device Binding'
? {...threat, status: 'nok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'deviceBinding'});
},
// Android & iOS
secureHardwareNotAvailable: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Secure Hardware Not Available'
? {...threat, status: isRelease ? 'nok' : 'ok'}
: threat,
),
);
LogEvent('Security Threat Detected', {
type: 'secureHardwareNotAvailable',
});
},
// Android & iOS
passcode: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Passcode' ? {...threat, status: 'ok'} : threat,
),
);
LogEvent('Security Threat Detected', {type: 'passcode'});
},
// iOS only
deviceID: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Device ID' ? {...threat, status: 'ok'} : threat,
),
);
LogEvent('Security Threat Detected', {type: 'deviceID'});
},
// Android only
obfuscationIssues: () => {
setAppChecks(currentState =>
currentState.map(threat =>
threat.name === 'Obfuscation Issues'
? {...threat, status: 'nok'}
: threat,
),
);
LogEvent('Security Threat Detected', {type: 'obfuscationIssues'});
},
};
useEffect(() => {
setIsCompromised(checkWhoIsIn());
});
useEffect(() => {
setIsCompromised(checkWhoIsIn());
}, [JSON.stringify(appChecks)]);
const checkWhoIsIn = () => {
const isNokAvailable = appChecks.some(element => {
if (element.status === 'nok') {
return true;
}
  return false;
});

return isNokAvailable;

};
useFreeRasp(config, actions);
if (!isCompromised) {
return null;
}
return (
<View style={[StyleSheet.absoluteFillObject, styles.container]}>

Access Denied

{
'Sorry, You cannot access this app. Contact us at<EMAIL_ADDRESS>}

);
};
const styles = {
container: {
backgroundColor: '#ffffff',
zIndex: 9999,
justifyContent: 'center',
alignItems: 'center',
padding: 50,
},
icon: {
width: 80,
height: 80,
resizeMode: 'contain',
},
heading: {
fontFamily: fontMedium,
fontSize: 22,
textAlign: 'center',
color: '#292C4E',
marginTop: 10,
},
description: {
fontSize: 18,
textAlign: 'center',
color: '#292C4E',
marginTop: 8,
},
};
export default WhoIsIn;
`

Hi, the integration seems fine. I used your component with slight modifications, which you can check here. Then loaded this component in the App.tsx. However I receive the callbacks even after closing and reopening the app.
Are you testing dev or release build? If you are on simulator and use the out-of-the-box simulator without any modifications with dev build, then you will receive just secureHardwareNotAvailable check (some checks are ignored in the dev build by freerasp automatically, see docs here). However this check is later ignored in the code snippet provided. There should be only log visible, but UI won't change.
In the production build, however, you should always receive all the callbacks except passcode and deviceID, which are ignored again in the code snippet.

It happened on release build.
Wat is advisable. To show a screen or to crash app when threat is detected. Previously i was crashing the app and once the user relauched the app these events were not getting triggered

You can read more about threats and recommended actions in our wiki here.
Anyway, the bug you describe is concerning.
Can you explain step-by-step how to reproduce the bug?
You can also reach out to us at<EMAIL_ADDRESS>if that option suits you better.


FEAT(24): Criando as rotas para os destinos.

close #24

Codecov Report

Merging #25 (d6c8925) into main (5f058da) will increase coverage by 1.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   95.32%   96.38%   +1.06%
==========================================
  Files          32       38       +6
  Lines         620      802     +182
==========================================
+ Hits          591      773     +182
  Misses         29       29

Files Changed
Coverage Δ

jornada_milhas/core/urls.py
100.00% <ø> (ø)

...has/core/tests/api/destination_crud/test_create.py
100.00% <100.00%> (ø)

...has/core/tests/api/destination_crud/test_delete.py
100.00% <100.00%> (ø)

...ilhas/core/tests/api/destination_crud/test_list.py
100.00% <100.00%> (ø)

...lhas/core/tests/api/destination_crud/test_patch.py
100.00% <100.00%> (ø)

...milhas/core/tests/api/destination_crud/test_put.py
100.00% <100.00%> (ø)

...ilhas/core/tests/api/destination_crud/test_read.py
100.00% <100.00%> (ø)

...rnada_milhas/core/tests/api/post_crud/test_list.py
100.00% <100.00%> (ø)

jornada_milhas/core/views.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update aws-java-sdk-core to 1.12.406

Updates com.amazonaws:aws-java-sdk-core from 1.12.336 to 1.12.406.
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 = "com.amazonaws", artifactId = "aws-java-sdk-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" }
}]

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

Superseded by #232.


bottle: Add option --or-later [Linux]

Codecov Report

Merging #668 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #668      +/-   ##
==========================================
+ Coverage   68.73%   68.74%   +<.01%
==========================================
  Files         383      383
  Lines       20743    20746       +3
==========================================
+ Hits        14258    14261       +3
  Misses       6485     6485

Impacted Files
Coverage Δ

dev-cmd/bottle.rb
44.48% <0%> (+0.58%)
:arrow_up:

Continue to review full report at Codecov.

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


Tags

Description: add tags for objects that the user can search by
SP: 1
AC: users can add and search by tags

Going to move search to a separate ticket


Reconsider naming style of schedule syntax

Closing as @delegate family got obsoleted by new environment encoding with Has and ZLayer.


训练奖励模型时 --model_name_or_path 加载基础模型   --adapter_name_or_path 加载sft的lora模型 这个错误是什么原因

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
05/23/2024 15:47:51 - INFO - llmtuner.model.adapter - Loaded adapter(s): saves/Qwen1.5-7B-Chat/lora/train_2024-05-22-15-43-51
05/23/2024 15:47:51 - INFO - llmtuner.model.utils.valuehead - Failed to load value_head.safetensors: saves/Qwen1.5-7B-Chat/lora/train_2024-05-22-15-43-51 does not appear to have a file named value_head.safetensors. Checkout 'https://huggingface.co/saves/Qwen1.5-7B-Chat/lora/train_2024-05-22-15-43-51/tree/None' for available files.
05/23/2024 15:47:51 - INFO - llmtuner.model.utils.valuehead - Failed to load value_head.bin: saves/Qwen1.5-7B-Chat/lora/train_2024-05-22-15-43-51 does not appear to have a file named value_head.bin. Checkout 'https://huggingface.co/saves/Qwen1.5-7B-Chat/lora/train_2024-05-22-15-43-51/tree/None' for available files.
05/23/2024 15:47:51 - INFO - llmtuner.model.utils.valuehead - Provided path (saves/Qwen1.5-7B-Chat/lora/train_2024-05-22-15-43-51) does not contain value head weights.
Expected behavior
No response
System Info
No response
Others
No response

不是报错


Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
Originally posted by @welcome[bot] in https://github.com/github/docs/issues/1607#issuecomment-733924337

This issue is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!


Add formal grammar to syntax highlighter

This is a proof-of-concept to integrate ANTLR and a grammar with the syntax highlighter.
My problem with the existing approach employed by the JavaKeywords demo is that it uses a very simple string scanner, making it difficult to specify that anything other than a particular occurrence of a word needs to be highlighted. For more complex cases you could use a regex, but getting that exactly correct is often subtly difficult; simple highlighting problems you might think you can solve with a regex are provably unsolvable.
So the heavy-hitter is to use a full-bore LR or LL parser such as yacc, bison, or (as is the case in this PR), ANTLR.
A simple screen shot:

From the commit message:

Added runnable sample, looks pretty slick

with ANTLR you can make your syntax highlighter truely-IDE like. Since ANTLR has baked in its own concepts of text-ranges, this work represents a pretty direct mapping of ANTLR's text ranges for tokens to richtextfx's text ranges for CSS. Its rare that two API's map so directly onto each other, and it was a joy to work with.
I look at this as a proof-of-concept, and an attempt to drum-up interest. A huge number of todo's around validation, and I've heavily emphasized use of these types from FXML and then haven't included any.
I don't think richtextfx wants to deploy with a dependency on ANTLR, so I might try re-tooling this to do the nasty thing of having the dependency only resolved at runtime. In other words, use import antlr.stuff, but don't ship with the antlr runtime, and do a static check to see if the programmer using richtextfx has it, failing with a nice message if they don't. Maybe there's a better strategy.
Really, the most versatile thing we can do with the highligher type is to have it take a Predicate<Node> that simply tells you if this is the node you're looking for.
might try hacking that into event framework, such that you could do something like <Highlighter predicate="#isWhatever"/> and have a corresponding method on the controller, but it would likely be a very (very) serious hack.
for myself, I need to spend more time with gradle, its clear that its auto-magic can make my life easier, I just need to learn it. Needless to say I'm a gradle newbie, and I couldn't find any really established repo-layouts for generated code, so I rolled my own. I fully expect to get butchered for this in PR.
with respect to style, I'm not sure why I went so insane with java.util.functional this time around, I'm happy to refactor into more traditional if statements if so desired.

So, tasks to do before my next PR, assuming you guys are interested in this work:

[ ] come up with an automated test plan
[ ] add example for bracket highlighting
[ ] add validation of filters such that if the user creates a highlight that cant hit anything we raise a warning
[ ] replace heavy use of reflection with simpler (functional?) types, wrap that for FXML
[ ] the extension hierarchy here is getting strange but I'm not much of a css pro so I'm not sure how we can refactor this toward some kind of composition or bridge. Will investigate.

This is pretty cool! I've been hoping someone would do this a long time ago.
The regex-based parsing in the JavaKeywords demo is meant just as a demonstration of what's (also) possible with RichTextFX, not to suggest people should do parsing that way.
I would like to keep the concern of parsing separate from RichTextFX, in order to

keep the scope of RichTextFX limited; and
not to favor this parser or that parser.

Would you like to create a stand-alone project with a dependency on RichTextFX? I sure would link to it from RichTextFX.

So, rather than be responsible and write tests and a working build system, I broke the build system, wrote no tests, and added a mountain of features and code. :+1:
@TomasMikula, I think I'm coming up on forking this into a repo, I'd appreciate any input you're willing to give, in particular:

any feedback on easy ways I can get this to be more reactive react-UI like is appreciated
thoughts on names or needed features
I had to check in my generated antlr code because I couldn't figure out how to get the gradle antlr task working, this annoys me to no end. Is there something obvious that I'm missing?

I'm very much a newbie to CSS, and the 'free' css-style-class generation scheme for tokens (and terminal nodes, if i implement it) is likely to generate a fair number of css style classes. I'm wondering if there's an elegant way to alleviate some of the clobbering/no-such-style problems that are likely to result
would it be koscher (or is it even technically possible possible) to validate a css style name at runtime. In other words, before commiting a text range to a particular style class name, check to see if the style class actually exists, and throw it away if it doesn't.
use a parenting relationship with style classes, such that each type might have its own css-ancestry, something like lexer.[token] vs parser.[rule] or [grammer].lexer.[token] (eg javish-math.lexer.var and javish-math.parser.variable)

Looking at the W3C's CSS syntax guide, I'm SOL. briefly summarizing:

identifier selection #label assumes that the value of label will be unique on the page, and nothing about my flow can make that guarantee.
class selection .label works best, as per RichTextFX, however nested dots (like ip-style dotted-quad) would require a hack on the language.
using an element selector in conjunction with a class selector, eg label1.label2 (like [language]-[type].[rule|token] eg babel-lexer.sum) seems like the bestidea, but is tough to control programmatically.

I could simply allow the users to specify a class-prefix through a string property.
Hmm. More research here needs to be done, maybe a proof-of-concept for the above-point number 3.

Also, there was something I could write that was illegal under the supplied grammar that didn't result in any nodes getting hilighted, when I thought they should've, unfortunately I wrote that input down in a comment and now I cant find it. didn't mark it with TODO for intelliJ either. Stupid. Something about brackets...

@Groostav I'm closing this PR because it's outside the scope of this project. However, have you finished creating a separate repo that does the above? If so, we can update the ReadMe to link to it.


Problem occuring while using multiple Authentication providers

I'm using both ldapAuthProvider and kerberosServiceAuthenticationProvider.
All is going well when I try to login using Kerberos authentication mechanism, but when I use the ldap one, then I have this error:
java.lang.ClassCastException: org.springframework.security.authentication.UsernamePasswordAuthenticationToken cannot be cast to org.springframework.security.kerberos.authentication.KerberosServiceRequestToken
        at org.springframework.security.kerberos.web.authentication.ResponseHeaderSettingKerberosAuthenticatioSuccessHandler.onAuthenticationSuccess(ResponseHeaderSettingKerberosAuthenticationSuccessHandler.java:66)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.successfulAuthentication(AbstractAuthenticationProcessingFilter.java:331)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.successfulAuthentication(AbstractAuthenticationProcessingFilter.java:298)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:235)
        at grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:53)

It seems that this plugin replaces the successHandler of RequestHolderAuthenticationFilter with ResponseHeaderSettingKerberosAuthenticationSuccessHandler but does not handle the case when another Provider has logged-in the user:
    @Override
    public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response,
            Authentication authentication) throws IOException, ServletException {
        KerberosServiceRequestToken auth = (KerberosServiceRequestToken) authentication; // this is line 66 where the bug occurs
        if (auth.hasResponseToken()) {
            response.addHeader(headerName, headerPrefix + auth.getEncodedResponseToken());
        }
    }

Did you ever get this resolved? I am facing the same problem.
Using Kerberos as primary authentication, LDAP as fall back for systems that don't speak Kerberos. I get the login page, authentication is successful, but then the Kerberos onAuthenticationSuccess() throws an exception because it doesn't like the token.


🦾  stl.send() and poss other file upload helpers

add a helper that will allow users to just convert file_to_speckle for ez script file uploads eg for c4d and maya

It would be reasonable to move all file type parsing logic into an extra dependency in specklepy. The logic is already there, and used in the speckle-server repo.


Upgrade for Flutter 3.0

the widget uses inside a stack that no longer has the overflow property starting from Flutter 3.0. Consequently, during the build phase, the Circular Menu does not recognize the Stack and produces an error. I tried to add // near the overflow property in Circular Menu and worked fine.

Thank you for opening this issue.
Upgraded, please check the latest version.


Universal code with pin library

It would be nice to be able to not have to change/replicate entire libraries as we expand to new processors. This is currently being worked on in #3 in platform_defs.py. This way new users with different boards will only need to add/modify their processor's pin syntax in order to use the entire PS suite. We need to

Finalize the platform_defs and ensure that sys_infro reported from uos is consistent
-This includes testing multiple ESP-based sensors
Consolidation of PS libraries so users only need to pull a single directory for each sensor type

Completed with #3 merge


Bluetooth: Mesh: Large Composition Data Client async API

This PR adds asynchronous API to Large Composition Data Client model.

I guess the failing twister is non-related. It at least seems so to me.


[Housekeeping] Data schema for attributes and other dataset meta

This issue is to discuss data persistence for attribute data and custom styling data.
Option 1: All 1 json file
Unify all this data in the track json file, such that a single file is compatible with viame web and dive.

On VIAME Web, the data would actually go in folder metadata for faster access/update, so that the entire track json doesn't need to be read and deserialized just to get the header
At export time, this meta would be added to the json
At import time, it would be read out of the json and kept in folder meta.

This would require changing the track json schema to look something like this:
{
  "schema_version": 1.0,
  "attributes": {},
  "customStyle": {},
  "tracks": { /* current track schema */ }
}

Considerations

This would require some work to migrate to.  We might want to run a migration job to iterate over existing datasets and convert, or we might want to just lazy-convert as datasets are opened and saved in the editor.
This has a few upsides in that it helps us solve some other outstanding issues.  #454 (manifest) could go in this file.  FPS and other dataset meta could also be stored here, which is an outstanding problem in desktop.

Option 2: a separate file
Similar to option 1 where data "lives" in folder metadata, but at export time, separate files are generated for download.

This could potentially make configuration easier to "share" between datasets on desktop, IF your sharing method involves copy/pasting a file from one dataset folder to another.  If instead your sharing method is managed through the GUI i.e. "Import attributes from external dataset X" then it doesn't really make a difference.
If users want to edit this file directly, it might be nice to have a clutter-free single file you can edit without worrying about annotations.
Experience with the KPF, KW18 file formats has proved quite unpleasant on other projects, and several D&Aers have come to the conclusion that the multi-file format is at least partly to blame.
Importantly, the distinction between this and KPF is that these files would be totally independent of one another. There are not cross-file dependencies, so you can parse one without the other, and this doesn't change the context.

Hybrid/incremental option:
If you really want to break attributes out, maybe allow a copy-import override where it gets "written into" the main file when you do the import.

So I can, for example, email my attributes file to a colleague, and they can import it, but ti's actually just written into the track json.
Likewise, there could be a button in the UI to generate this separate attributes file, where it gets pulled out of track json and downloaded so you can edit/share it.

@subdavis thinks that, whether we do 1 or two files, the schema change in option 1 will be necessary for unrelated reasons.  Relying on filename as a convention and not being able to version our schema has been a painfully dumb choice on my part.  I'd prefer option 1 to start, then add hybrid if users want it.   I have a strong gut feeling that users would prefer to just manage their attrs through the UI and don't want to deal with our files at all.
Open to other perspectives, of course.

Tagging @BryonLewis for thoughts.

I like the idea of the hybrid approach where you can output the attributes/styles and import them as well.  I have a feeling once we have templated styles and attributes, someone is going to want to share them between web and VIAME-Dive and not necessarily the data that is associated with the template.  The other option is that they have to import the data and then use the internal sharing mechanism for their platform (desktop/web).  Although this could be nasty with stuff like uploading the whole dataset to the web and downloading the whole dataset to a desktop just to get the attributes and styles.

New idea, given the constraint that we cannot expect a user to have a particular directory structure:
Project directory style
Instead of having media co-located with annotations, switch to a fixed user-project-directory location.
For example: /home/VIAME_DIVE
~$ ls -T VIAME_DIVE/
VIAME_DIVE
├── Projects
│  ├── Ehu_1
│  │  ├── auxiliary
│  │  ├── meta.json
│  │  └── results.json
│  └── whatever.mp4_1
│     ├── auxiliary
│     ├── meta.json
│     └── results.json
└── TrainedPipelines
   └── Ehu_1_training_config_name_timestamp

This sorta goes back on the unified single file, but since the requirement that sibling videos must be able to be opened as separate datasets breaks any ability of data/annotation co-location, it also breaks any ability for media/annotation portability.
In other words, it's no longer possible to take a DIVE Desktop directory and upload it to VIAME web, and it's not possible to drag your project into a thumb drive or google drive to share it, so making choices in service of portability may no longer be useful.
Regardless of how many json files there are, there will need to be a new concept of import/export instead of just "open".  Unfortunately, if a user moves their media (images/video) there will have to be some error handling to prompt the user to locate the old file after a move.
There are also risks to confusing/frustrating users.
For example, imagine they "import" a directory containing a video and a single csv.   The CSV will be moved into the project directory as a json, but what to do with the exiting CSV?  If we leave it where it was, the user may try to edit it by hand and get frustrated when their changes don't show up in the client.
Probably the new unit of portability will eventually have to be a .zip containing the media, annotations, etc.

More thoughts.
I want to more rigorously separate the code that runs in the renderer process and the code that runs in the background(main) process.  Thinking about how to write this such that both renderer and background are able to load dataset data is making me get sloppy.
Proposal

Disable node integration.  Add a REST api for loading JSON from disk to make the dekstop client more similar to web.
Only perform filesystem operations in main thread.

File separation.
I'm no longer convinced that migrating the old track schema is worth doing immediately.  Seems easier to just make a new meta.json file with all the metadata. Portability is no longer a concern, and this format will actually be easier to export from web anyway (only have to encode folder.meta as a file, instead of modifying a larger json file in the request thread).

This is pretty well out of date.


[Looking for advice] Overlapped Plant detection problem

Thanks for this awesome framework !
I'm currently working on a plant detection problem, with a FasterRCNN architecture.
My dataset annotations are not not perfectly consistent when plants are close to eachother.

(of course, I don't have automatic knowledge whether annotations is type A or type B).
Problematic predictions:
This inconsistency hurts my model training:
In prediction type A, the model get no reward, because it's maximum per object IoU is very low, even though it's prediction is visually okayish.
In prediction type B, the model get no reward, because it's maximum per object IoU is very low, even though it's prediction is visually okayish.
Non ideal solution 1)
I could manually re-annotate my groud truth to annotation A all the time, but this is too laborious.
Non ideal solution 2)
I could preprocess my dataset to merge al the touching BBox, effectively converting everything to annotation B .
This is a bad solution because ideally I would like to detect each plant individually.
Do you have another idea how to deal with this problem ? Maybe playing with the MaxIoUAssigner, or writing a new loss or using a different architecture ?

@joihn Hi, We have supported crowd detection, you can try it.


error

I'm getting an error that when i'm running "label.py" code it is showing as there is no module found "retrained_graph.pb".
How can i solve that error?  Can you please help me out with that.
Thank you

@srilekhapamarthi  You need to retrain the model before using the label.py program.  There is another program named retrain.py which you need to run with proper set of data as explained in the video: https://youtu.be/Dqa-3N8VZbw
Also, don't forget to follow the Steps as suggested in this repository.


Feature Request: New CLI Flag

Add CLI flag for passing in the path of templates instead of hardcoding the templates in a config file.

Sure thing. Adding to the backlog. @tonynv has offered to take this on.

/assign @tonynv

  -i INPUT_FILE, --input-file INPUT_FILE
                        path to either a taskat project config file or a CloudFormation template


chore(release): 2.34.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 7847e5557f909090346cb137a609f783d30aa51f
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 77188f8eacbee7c8f52a99b165d2d38fe75285c9
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 983fdf575919d0ea76f405afe4da2c69e84b5bb7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 54a6e3d46ba447f1a88b0141c8ccae10ed8ba29a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


what's the difference for master and advanced algorithm branch?

hi there,
Just want to know why we are maintaining master and advanced algorithm branches at the same time? I guess they are developed for different purposes?

Hi @chloe-wang,
Thanks for your question.
This is because the new version of QSTrader does not support asset short sales yet, while the version in Advanced Algorithmic Trading does. We are planning to include a more realistic approach to margin and asset shorting for the new version.
We have created the branch so that it is straightforward for readers of the book to be able to replicate the results in the book as well as to fix any issues that might arise (e.g. due to Python version changes) in a self-contained manner.
Kind regards,
Mike.

Hi @mhallsmoore,
Thanks for your clarifications.


Migrate to TypeScript

https://github.com/eslint-stylistic/eslint-stylistic/pull/66 has done the initial work and tooling setup to bundle and type checking.
We still have many rules rewritten in JavaScript. Help would be much appreciated!
If you want to help, please feel free to leave a comment below to say what rule you want to migrate, and send PRs to the main branch, one PR for a rule.
Migration examples:

Rules of eslint-plugin-js: https://github.com/eslint-stylistic/eslint-stylistic/commit/a88038ef8dcd854c79697381587a8932864b645c#diff-1c7f529705777d91ed7afa4e5549f6aebc607177bf49bd9f7c19d6c614defd4d
Rules of eslint-plugin-jsx: https://github.com/eslint-stylistic/eslint-stylistic/commit/a88038ef8dcd854c79697381587a8932864b645c#diff-f2ed5fbe59b664a37dd073cd140a7dd6812bc40757dd51f84a6fc3407becd0a7

I think we need a rule tracker for this. Below are the list of rules separated by its packages. Checked rules indicates the the rule has been successfully migrated to TypeScript.
@stylistic/js

[x] array-bracket-newline
[ ] array-bracket-spacing
[ ] array-element-newline
[ ] arrow-parens
[ ] arrow-spacing
[ ] block-spacing
[ ] brace-style
[ ] comma-dangle
[ ] comma-spacing
[ ] comma-style
[ ] computed-property-spacing
[x] dot-location
[ ] eol-last
[ ] func-call-spacing
[ ] function-call-argument-newline
[ ] function-call-spacing
[ ] function-paren-newline
[ ] generator-star-spacing
[ ] implicit-arrow-linebreak
[ ] indent
[ ] jsx-quotes
[ ] key-spacing
[ ] keyword-spacing
[ ] linebreak-style
[ ] lines-around-comment
[ ] lines-between-class-members
[ ] max-len
[ ] max-statements-per-line
[ ] multiline-ternary
[ ] new-parens
[ ] newline-per-chained-call
[ ] no-confusing-arrow
[ ] no-extra-parens
[ ] no-extra-semi
[ ] no-floating-decimal
[ ] no-mixed-operators
[ ] no-mixed-spaces-and-tabs
[ ] no-multi-spaces
[ ] no-multiple-empty-lines
[ ] no-tabs
[ ] no-trailing-spaces
[ ] no-whitespace-before-property
[ ] nonblock-statement-body-position
[ ] object-curly-newline
[ ] object-curly-spacing
[ ] object-property-newline
[ ] one-var-declaration-per-line
[ ] operator-linebreak
[ ] padded-blocks
[ ] padding-line-between-statements
[ ] quote-props
[ ] quotes
[ ] rest-spread-spacing
[ ] semi
[ ] semi-spacing
[ ] semi-style
[ ] space-before-blocks
[ ] space-before-function-paren
[ ] space-in-parens
[ ] space-infix-ops
[ ] space-unary-ops
[ ] spaced-comment
[ ] switch-colon-spacing
[ ] template-curly-spacing
[ ] template-tag-spacing
[ ] wrap-iife
[ ] wrap-regex
[ ] yield-star-spacing

@stylistic/jsx

[x] jsx-child-element-spacing
[ ] jsx-closing-bracket-location
[ ] jsx-closing-tag-location
[ ] jsx-curly-brace-presence
[ ] jsx-curly-newline
[ ] jsx-curly-spacing
[ ] jsx-equals-spacing
[ ] jsx-first-prop-new-line
[ ] jsx-indent
[ ] jsx-indent-props
[ ] jsx-max-props-per-line
[ ] jsx-newline
[ ] jsx-one-expression-per-line
[ ] jsx-props-no-multi-spaces
[ ] jsx-self-closing-comp
[ ] jsx-sort-props
[ ] jsx-tag-spacing
[ ] jsx-wrap-multilines

I'll migrate func-call-spacing

no-extra-parens for now blocked by https://github.com/eslint-community/eslint-utils/pull/60
Because @eslint-community/eslint-utils doesn't have type declarations (or we can just make temporary declarations for it on our end)
https://github.com/eslint-stylistic/eslint-stylistic/blob/1e62a46b457dbd12f6cd07ac1ce0f8986d84411d/packages/eslint-plugin-js/rules/no-extra-parens/no-extra-parens.js#L10

@auvred We could add a simple declaration for that function we use

If you want to check what is remaining, you can run npx esno scripts/list-js.ts:

Looks like the rules of js and jsx are all migrated, congratulations!

We made it! Thanks everyone for your contributions! @Namchee @alexzhang1030 @auvred @ntnyq @starknt @kecrily @Dhoni77 @coderwyd @albizures @aldillek


Sparc：未找到命令

xrp@xrp-Precision-T1700:~/source$ cd Sparc-master/
xrp@xrp-Precision-T1700:~/source/Sparc-master$ g++ -O3 -o Sparc *.cpp
xrp@xrp-Precision-T1700:~/source/Sparc-master$ Sparc
Sparc：未找到命令
xrp@xrp-Precision-T1700:~/source/Sparc-master$

Maybe you don't have a compiler here or don't have the code in the right place.

./Sparc   is   right. thank you !


[question] No pass

Hello, thank you for this great project.
How can I make it passwordless ?
I have I use case where I dont need/want a login prompt.
For the record, I have noticed that if the server has 2 pheditors, separeted dirs and phpfiles, when you login in one of them, you will be able to log the other, even if the password is different.
Thank you!

Hi @nagualcode,
I have added new feature to use Pheditor without login or password.
You just need to edit the file and delete password hash from PASSWORD constant.
define('PASSWORD', '');
The bug for multiple Pheditors on the same domain name will be fixed soon.

Bug fixed for using script on the same domain name and different paths.


More screen not loading

After pulling and merging from the last commit more screen no longer works. I can't find the problem. screenshot below of problem.

This was due to index.js inside the components folder where ButtonImage is "src/components/general was missing the export * from './ButtonImage'; statement so it could ButtonImage could be used using import { ButtonImage } from './src/components/general';
Fixed now.


Race condition while adding threads

I'm opening issue to notify you about and provide a potential solution for a bug in your code. There is a race condition when 2 threads call HikariPool.getConnection() while there are no idle connections available and minimumIdle is set to 0. Both threads will go into ConcurrentBag.borrow(long, TimeUnit), see that there are no available threads to borrow, and create new worker threads to add one connection each in HikariPool.addBagItem(). The borrowing threads will then wait until signalled, at which point they will wake up and check for available connections again. The workers will execute sequentially and each try to create a new connection. This is the execution that leads to the race condition:
Worker 1 adds a connection as usual, signalling the borrow threads to wake up.
Worker 1 finishes (isDone())
Before the borrow threads can check for new connections, worker 2 tries to add a new connection.
Worker 2 checks if getIdleConnections() <= minimumIdle, sees the connection worker 1 added, and skips the addConnection call.
Borrow thread 1 sucessfully borrows a connection.
Borrow thread 2 cannot borrow a connection and goes to sleep waiting for Worker 2 to signal.
Worker 2 finishes (isDone())
I have included a potential solution to this problem (signal at the end of the worker thread no matter what) and a test to reproduce this race condition (AddConnectionRaceConditionTest).
I have already sent you a pull here: brettwooldridge#451
Let me know if you have any questions.
(cc @shuyangzhou)

@mtambara @shuyangzhou HikariCP 2.4.2 has been released, containing a fix for this issue.

Awesome! Thanks @brettwooldridge !


Keycloak OIDC - bad request when enabling the auth provider on a newer Keycloak version

Rancher version: 2.6 master-head (07/06/2021)) 3e44415
Related issue: https://github.com/rancher/dashboard/issues/2191
Steps to Reproduce:

Rancher HA RKE1
Enable Auth Provider Keycloak OIDC

Result:
Request Payload included at the bottom of this issue description
{"POST":{"scheme":"https","host":"<REDACTED>","filename":"/v3/keyCloakOIDCConfigs/keycloakoidc","query":{"action":"testAndApply"},"remote":{"Address":"<REDACTED>"}}}
{
    "baseType": "error",
    "code": "ServerError",
    "message": "[generic oidc]: server error while authenticating: oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"error\":\"invalid_grant\",\"error_description\":\"Code not valid\"}",
    "status": 500,
    "type": "error"
}

Additional Details:
Keycloak version: 13.0.0
This works on Keycloak version: 3.3.0.Final

More info:
Request payload:
{
    "enabled": true,
    "oidcConfig": {
        "actions": {
            "configureTest": "https://<REDACTED>/v3/keyCloakOIDCConfigs/keycloakoidc?action=configureTest",
            "testAndApply": "https://<REDACTED>/v3/keyCloakOIDCConfigs/keycloakoidc?action=testAndApply"
        },
        "baseType": "authConfig",
        "created": "2021-07-06T16:44:33Z",
        "createdTS":<PHONE_NUMBER>000,
        "creatorId": null,
        "enabled": true,
        "id": "keycloakoidc",
        "labels": {},
        "links": {
            "self": "https://<REDACTED>/v3/keyCloakOIDCConfigs/keycloakoidc",
            "update": "https://<REDACTED>/v3/keyCloakOIDCConfigs/keycloakoidc"
        },
        "type": "keyCloakOIDCConfig",
        "uuid": "<REDACTED>",
        "_name": "keycloakoidc",
        "accessMode": "unrestricted",
        "rancherUrl": "https://<REDACTED>/verify-auth",
        "scope": "profile,email",
        "issuer": "http://<REDACTED>/auth/realms/amp",
        "authEndpoint": "http://<REDACTED>/auth/realms/amp/protocol/openid-connect/auth",
        "clientSecret": "<REDACTED>",
        "clientId": "<REDACTED>"
    }
}

I'm working with @brendarearden to address this. It looks like the real error was being hidden, I've created #3435 to address that. The underlying issue is scope related and could be either ui, backend or keycloak config related

Frontend fixes have merged via rancher/dashboard#3434, just waiting on backend fixes via https://github.com/rancher/rancher/pull/33580

13.0.0 On Rancher version 2.6 master-head (07/14/2021) 8073489
Sanity check of the Keycloak instance
3.3.0.Final On Rancher version 2.6 master-head (07/15/2021) e83ac8c
I was able to utilize the new keycloak oidc backend and the old too.


Fix inconsistent TestMoreFutures.testTimeout

There is a race between canceling the inner and outer future
Fixes #447

looks good


Added Topological sorting in C++ and Python

🔥🔥 Topological Sort algo | C++ | Python 🔥🔥

Fixed issue: #125

Summary:
Topological sort is an algorithm used to order the vertices of a directed acyclic graph (DAG) in a linear sequence such that for every directed edge ( u \rightarrow v ), vertex ( u ) appears before ( v ) in the ordering. This is particularly useful in scenarios like task scheduling, where certain tasks must be completed before others, and in resolving dependencies in systems like build processes or course prerequisites. The algorithm can be implemented using Depth-First Search (DFS) or Kahn’s algorithm, ensuring that all dependencies are respected in the final order.

@abhaysinghr516 pls review and merge the PR.


using ngIf with new dynamic  AgRendererComponent

When I have a component setup as follows:
@Component({
selector: 'address-cell',
template: `
{{row.addr1}}
{{row.addr2}}
`
})
I get the following error:
`Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngIf' since it isn't a known property of 'div'. ("
]*ngIf="row.addr1">{{row.addr1}}
{{row.addr2}}
"): AddressCellComponent@1:5
Property binding ngIf not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section. ("
[ERROR ->]{{row.addr1}}
{{row.addr2}}
"): AddressCellComponent@1:0`

Remember that angular 2 is case sensitive, so make sure to use ngIf, not ngif

I understand that it is case sensitive, but it is ignoring the directive, or I get the above error.  I have tried different syntax.
`none
none
`
They either get ignored or throws a syntax error.
I know that this works normally in angular2 because I have created some controls using embeddedviews and the syntax works with straight angular 2.  I noticed in the older syntax, there was an "importModule" something like that where you could the component use additional imports, does that still exists, it seems that might be the problem.

ok, it was worth mentioning
You'll need to ensure that dependant modules (in this case either BrowserModule or CommonModule) are imported in your module. This replaces the need for you to do so in the xxxxFramework properties.

ok, I see what I did.  I create the grid in a separate module and my component was in another module, that didn't have all of the imports.  thanks!!


Base on default config

Why add a whole lot of things which are unnecessary and just let the user copy the contents just needed for the theme?


Blending Layers (MapLibre Android)

I haven't been able to figure out a way to blend layers together (e.g. a Hillshade layer on top of a map). Currently, the Raster-Dem hillshade I am using tints the whole map slightly grey. (Compare the two attached images)
This is my configuration for the hillshade layer:
override fun layerJSON(): JSONObject {
        val result = JSONObject()
        val layout = JSONObject()

        result.put("id", name)
        result.put("type", "hillshade")
        result.put("source", name)

        layout.put("hillshade-shadow-color", "#000000")
        layout.put("hillshade-exaggeration", 0.35)

        result.put("layout", layout)

        return result
    }

I would also like to be able to blend map layers together.
Is there a way to do this that I'm missing? There may be a setting I'm missing on the Raster-Dem layer.

Not possible at the moment as far as I am aware. MapLibre GL JS issue: https://github.com/maplibre/maplibre-gl-js/issues/48


Karatsuba Multiplication

Can provide the code for karatsuba multiplication (<=20 lines).

Sounds good. I'll keep the thread open if you post it here and label it with something like "visualisation needed".

Here is the code
function karatsubaMulti(x, y) {
  let n = Math.min(('' + x).length, ('' + y).length); // Implicit coercision

  if(n == 1)
    return x * y;

  let bm = Math.pow(10, parseInt(n / 2));
  let bm2 = Math.pow(10, 2 * parseInt(n / 2));
  let a = parseInt(x / bm);
  let b = x % bm;
  let c = parseInt(y / bm);
  let d = y % bm;

  let caller = arguments.callee; // For recursive call, not using TCO
  return bm2 * caller(a, c) + bm * (caller(a, d) + caller(b, c)) + caller(b, d);
}

var a = karatsubaMulti(12345, 6789);
console.log(a); // 83810205

Just a heads up that arguments.callee is not allowed in strict mode.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments/callee

Oh ! Thanks for pointing this. I'll rewrite the code 😄


Remove local tests for Thread variables

They crash on Mac. For now the best course of action is just to remove them. The additions to the specs have been proposed as an upstream Pull Request, we should probably wait for them to get accepted before we change anything related to this code.

I'm working on the thread bugs in #1674, where the macos build is currently passing. 🎉
I'm fine with removing these, but I'm also fine with just ignoring CI errors for threads on macos for now. I'll get it all working eventually. 😅


Fixes to Precache Files with workbox-build article

What's changed, or what was fixed?
In the Precache Files with workbox-build article,

Changed "This command" to "This code" since it follows a code snippet
Added backticks around workbox-build where they were missing
Fixed punctuation of a sentence inside parentheses
Added missing punctuation

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


Files to database

Any file read/writes have been replaced with PostgreSQL queries

Reviewed PR as a team and will merge


Is3DSoundEnabled

Im getting an "unknown error", looks like this: https://imgur.com/a/wIz1Y7S

Sorry for the late reply, pretty busy lately..
Have you tried turning the option 'Always set clients 3D positions when available' on in the playback settings? Could be the database entry doesn't exist if the value has never been changed.


Update kafka-clients, kafka-streams, ... to 3.8.1

About this PR
📦 Updates

org.apache.kafka:kafka-clients
org.apache.kafka:kafka-streams
org.apache.kafka:kafka-streams-scala
org.apache.kafka:kafka-streams-test-utils

from 3.2.3 to 3.8.1
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 = "org.apache.kafka" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.kafka" }
}]

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

Superseded by #469.


Error deserializing the unit type from an empty sequence

I stumbled across the following inconsistency in serde and wondered if this is a bug or not:
    let _: (i32,) = serde_json::from_value(json!([42])).unwrap(); // works fine
    let _: () = serde_json::from_value(json!([])).unwrap(); // panics

AFAIK the unit type is can be thought of a tuple of length 0 and there is no other way to express that in rust. But while deserialization of tuples with elements works fine, deserializing an empty sequence into a unit type fails. I know that I could work around this in various ways but this behaviour does not seem to be correct.
I found out about this behaviour while writing a macro where I deserialize function arguments into tuples.
Any thoughts?

Actually ability to deserialize () from empty sequence was removed in #839 (and ability to deserialize unit structs from empty sequences removed in #857).
However, there is still some inconsistency. Internal ContentDeserializer allows deserialization of () from empty maps / sequences:
https://github.com/serde-rs/serde/blob/05a5b7e3c6de502d45597cbc083f28bc1d4f4626/serde/src/private/de.rs#L1297-L1345
This is required, because this deserializer is used for internally tagged enums:
#[derive(Deserialize)]
#[serde(tag = "tag")]
enum InternallyTagged {
  Unit,
}

where InternallyTagged::Unit variant would be represented as ["Unit"] in JSON (for example). Because this is a sequence, it is deserialized using visit_seq and when deserializer consumes tag the sequence for the value becomes empty. In order to be able to read () (which is the representation of unit variants for internally tagged enums) the deserializer implements such conversions.
However, ContentDeserializer used not only for internally tagged enums, but for flattening types too, and using it for that creates inconsistency, because you are able to deserialize () from the empty sequence when it in flattened structure, but not able to do this when it in the ordinary type.

If I unterstand you correctly, you argue that () should never be deserialized from an empty sequence because it would be a type conversion?

I would not say what I argue, but this is the current behavior which was implemented in this way with such motivation. I actually agree with you, that it would be feasible to have #[serde(as_tuple)] or similar

I will draft a PR if I find time.


ReadOnlyDict not pickleable

Example:
import pickle
import sacred

cfg = sacred.config.custom_containers.ReadOnlyDict({'foo': {'fizz': 'buzz'}})
cfg_pkl = pickle.dumps(cfg)
cfg_depkl = pickle.loads(cfg_pkl)

Error:
Traceback (most recent call last):
  File "sacred_err2.py", line 6, in <module>
    cfg_depkl = pickle.loads(cfg_pkl)
  File ".../lib/python3.6/site-packages/sacred/config/custom_containers.py", line 232, in _readonly
    self.message,
AttributeError: 'ReadOnlyDict' object has no attribute 'message'

I think custom __getstate__ and __setstate__ methods need to be added. I suspect this will also be a problem for some of the other ReadOnlyContainers.

I believe this should be kept open for the benefit for others that may have the same issue. @gabrieldemarmiesse?

Sure, let's keep it open. It's not solved yet.

unstale

Would the maintainers be interested in a solution that replaces the custom+unpicklable ReadOnlyDict with pyrsistent.PMap, as brought up in https://github.com/IDSIA/sacred/pull/508#issuecomment-510468314 ?
I'd be happy to implement this with a go-ahead signal.

Would the maintainers be interested in a solution that replaces the custom+unpicklable ReadOnlyDict with pyrsistent.PMap, as brought up in #508 (comment) ?
I'd be happy to implement this with a go-ahead signal.

Just wanted to bump @shwang's comment here. This issue has been preventing me and several others in my lab from upgrading to Sacred 0.8.x, so it'd be great to hear from @JarnoRFB @gabrieldemarmiesse @thequilo or others on whether a solution based on pyristent would be acceptable.

I came across another good option that is worth considering here: OmegaConf.
It feels like a lot of features we want are provided by OmegaConf, including creating from/converting to dict, dotted access, setting/unsetting Read-Only, merging etc. It may off-load a lot of work from Sacred.
The only downside I've found so far is that it seems to require primitive Python types as config values e.g. int not np.int64.

OK, after looking through this issue and the comments on Adam's PR more carefully I've concluded that I had previously misunderstood the maintainers' comments/positions. To summarize my current understanding:
@AdamGleave and I wanted to make Sacred Configs picklable for distributed computing purposes. However, ReadOnlyDict and ReadOnlyList are not picklable which prevent us from pickling Configs.
In #508, Adam submitted a reimplementation of ReadOnly{Dict,List} that is picklable. However, as @boeddeker noted, it is not json.dump-compatible, because in the reimplementation the classes do not extend dict, and list (instead extending collections.abc.{Mapping,Sequence}. json.dump seems to do a direct type check for dict and fails when our ReadOnlyDict does not subclass dict. Furthermore, as @JarnoRFB and @thequilo discussed, many Python developers and the Sacred codebase itself use direct type checks like isinstance(x, dict) which will not be compatible with this implementation of ReadOnlyDict.
=> Decision: For JSON and direct-type-checking compatibility ReadOnlyDict and ReadOnlyList should subclass dict and list.
@JarnoRFB suggested that we use the 3rd party pyrsistent.{PMap,PVector} instead of ReadOnlyDict, however as @boeddeker pointed out PVector isn't a good choice because it doesn't properly ducktype basic operations of list. For example, list.append is in-place, but PVector.append returns a new PVector. What we actually want to happen here is for .append to result in "you can't do this because I'm read-only" error. (Additionally, since isinstance(PVector(), list) == False, it isn't JSON compatible).
=> Decision: We should not directly replace Sacred ReadOnly types with pyrsistent types.
Finally, @JarnoRFB suggested that we should write some tests to help clarify what sort of serialization requirements we collectively desire.
Yesterday I built on top of #508 to make a patch that:

Maintains JSON and type-checking compatibility by subclassing dict and list.
Is picklable.
Adds some tests for JSON and pickle serialization.

Yesterday I built on top of #508 to make a patch that:

Maintains JSON and type-checking compatibility by subclassing dict and list.
Is picklable.
Adds some tests for JSON and pickle serialization.

It looks and is very hacky though. Will post another PR after I try to reduce the hackiness.

As it turns out, adding a __reduce__ to ReadOnlyDict gets us most of the way to picklability!


Update LinearSearch.cpp

Finished the task assigned by @risingstar-bit

Finished the task assigned by @risingstar-bit

I haven't assigned it to you.
You missed to add README file (describing it's algorithm in details). Add your source code file and Readme file in a folder. ex- DSA/c++/Algorithm/LinearSearch contains linearSearch.cpp and README.md. Do it as mentioned then I will merge it


Templates: use handlebars or similar

Instead of custom string replace templates, consider an existing templating system. It'll simplify things a bit.

fixed by 3e35a9417e3edf0088ccc89128711a63d8c4418c


Link to home on every page

As noted on this page: https://browser.engineering/preface.html there is no UI given to navigate back to the home page of the book. If one is reading a chapter and navigates multiple pages into the book using the given buttons, it would require multiple presses of a browser's back button to finally come back to the home page.

The gray nav bar at the top / bottom of each page links to the WBE homepage. I'll consider how to make that more prominent when I next pass over the design.


Import Nessus (Tenable) plugin output

Is your feature request related to a problem? Please describe
Importing results from Nessus or Tenable Plugin Output field is not included. The field most of the times provides some important information about the vulnerability like how it was triggered or what was its indicator.
Describe the solution you'd like
There is no exact "Plugin output" field in Defect Dojo so problably the easiest way to include the data from Nessus would be import it to some unused (by Tenable importer) fields like: Request, Response or Steps to reproduce
You might say none of the fields would always be suitable according to Nessus Plugin Output which sometimes contains both request AND response sometimes only response or other data generated in some specific way by Nessus plugin. In this case the other way to not loosing information could be adding data from Plugin Output at the end of the Description field in Defect Dojo.

Hi @WojTecH94
Would you mind making a PR to correct this issue as you see fit? The Plugin Output field is used in both formats:

CSV

https://github.com/DefectDojo/django-DefectDojo/blob/dff45eaa8ed2e0d9b9483e7966e0ae5f92a94862/dojo/tools/tenable/csv_format.py#L136-L138

XML

https://github.com/DefectDojo/django-DefectDojo/blob/dff45eaa8ed2e0d9b9483e7966e0ae5f92a94862/dojo/tools/tenable/xml_format.py#L87-L91

Hello @Maffooch
It seems that recent changes have fixed that issue. Plugin output is added to description indeed. I had the problem on version 2.23.0 but when upgraded to v. 2.24.3 it is on place. Sorry for my carelessness.


Add several methods required for glow backend after gfx-rs PR #2663

Adds get_active_uniform, get_active_uniforms + descriptor structure
Adds blit_framebuffer method (only on WebGL2)
Implements bind_buffer_range, now unblocked by wasm-bindgen #1038 fix (only on
WebGL2)
Implements draw_buffer and draw_buffers, also unblocked by wasm-bindgen #1038
fix (only on WebGL2)
Only errors in polygon_mode if a mode other than GL_FILL is requested (In
webgl / OpenGL ES the polygon mode is always GL_FILL?)

All of this is obviously up for discussion... API style, OpenGL error handling (or lack thereof), error messages etc.


Ingress upgrade to networking.k8s.io/v1

Signed-off-by: Chris Ahl<EMAIL_ADDRESS>For issue https://github.com/open-cluster-management/backlog/issues/10925

/hold
need to test first

@haoqing0110 Are these changes what you are looking for?

@chrisahl yes, thanks, lgtm!

I ran a test on OCP 4.7 and 2.3.0-SNAPSHOT-2021-04-14-13-45-05 and the new chart installed.
NAME: console-chart
LAST DEPLOYED: Wed Apr 14 13:07:46 2021
NAMESPACE: open-cluster-management
STATUS: deployed
REVISION: 1
TEST SUITE: None

/hold cancel


Unable to run *.json postman collection

Hi. Thanks for the extension and understand it is early beta. Just tried to run json file but after selecting file nothing happened e.g. did not get show 'Environments' etc as is in your gif.

Thanks for report :-)
Are the environment files *.postman_environment.json inside the folder too?
They may be a known issue: I just tested it with collections that have folders.
I will revise the extension today after work and let you know 👍

hi @wfs,
I did a patch to support collections exported as v1 and v2. I saw that v1 was not supported and now it is.
Can you let me know if the latest version of the extension solve your problem?
Thanks a lot!

hi @wfs, I will close the issue. Please let me know if you have other problems.


is not a valid SSR component

Hey there 👋
Firstly, nice job on this project. It's exactly what I've needed for a long time🫂.
I keep getting this error and I'm confused. Usually, I'd switch dependencies, but nextlint is too good to pass on😊.
Error: <SvelteEditor> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <SvelteEditor>.
I'm kind of confused 🥲 and I haven't gotten any real closure on this. I've gotten this with some dependencies in the past using svelte(kit) + vite, and I haven't been able to go forward without switching dependencies.
I hope I can get some help here, and perhaps some background (down-to-earth) info on what exactly causes this error using svelte(kit) + vite. Thanks in advance!

Yes actually.
I actually found a workaround yesterday and should have updated this issue. My bad ☺
Thanks for the prompt response and great work

Cool @digitaldrreamer.

Hello again @lynhan318
We switched to tinymce on that project.
Now I'm back and trying to use nextlint on my own project. But I keep getting this same error.
I can't seem to remember the fix since I deleted the branch for it after being told we'll switch to tinymce :(
Here's my code, after hours of (unsuccessful) debugging:

{#if browser && loaded}

Hello World

		<EditorTheme>
			<SvelteEditor
				onChange={(_editor) => {
					editor = _editor;
					value = _editor.getJSON().text ?? '';
				}}
				onCreated={(_editor) => {
					editor = _editor;
				}}
				content=""
				placeholder="Start editing..."
			/>
		</EditorTheme>

{/if}

I've also tried this.

    <EditorTheme>
      <SvelteEditor content="" placeholder="Start editing..." />
    </EditorTheme>

I keep getting a 500. Help would be greatly appreciated.
Running on SvelteKit, svelte 4.2.7, @nextlint/svelte v3.1.0


Brief explanation on what probot/settings does

Hello great people,
Thanks for a great tool. However I am having difficulty understanding what exactly it does. I do understand very well the probot framework and its greatness. I would like a brief overview on probot/settings, what it does and how it can be beneficial to my organisation in term of managing github repo. We are contemplating using terraform github provider but the learning curve can be tedious at time.
Once again thanks

ProBot Settings utilizes the concepts of Settings-as-Code and GitOps by utilizing a .github/settings.yml in a repository.
One that has a push permissions (a contributor) to your repository, can offer a change to the repository settings by raising a pull-request that holds changes to .github/settings.yml file.
The pull-request is then reviewed by the repository maintainers and once merged, ProBot Settings kicks in (by tracking changes to .github/settings.yml file) and apply the changes in by utilizing GitHub REST API.
The repository settings are audited in Git and continuously delivered\deployed without forcing the repository administrator or the organization owner to take actions (manage the repository settings).


Privacy Issue: Allow toggling between Message/Memo download settings

It's my understanding that the lightwallet server learns which tx ids belong to a user who opts to download their memos from the blockchain. This potential privacy issue is mitigated by either downloading all memos (requires a lot more bandwidth) or not downloading memos.
Zecwallet Lite presents these options to the user and allows them to toggle between them. This functionality should be implemented into Zwallet/Ywallet
IMO the default should be not download memos and allow the user to opt-in to memo downloading since it potentially degrades privacy by allowing the lightwallet server learn information about a users transactions.

This option is present in the settings.
https://ywallet.app/settings/misc/

Thank you for the reply and for correcting me.
Is this feature checked by default?

Yes, because most people want to see their messages and transaction info.

I'm not sure that most people know that utilizing memos will leak their tx id and metadata to the lightwallet server.


TITLE: Text to Speech Convertor

Describe the project you want to add with tech stack

Many times we just can't pronounce a particular word due to difficult spelling. But what if a web app converts any text and narrates it to us?
Expected behavior

Yes, For the same I would like to make an JavaScript project through which we can convert any text into narration/speech.
Screenshots (optional)

Additional context (optional )

Consider this issue under Hacktoberfest 2022 and put Hacktoberfest tags.
Please assign this issue to me.

I Guess this project is already added.


Add spark-derived-feature-view example

@yunfengzhou-hub  Could you help review again?

@lindong28 Could you help review again? I removed the dependencies of HDFS and simplify the docker-compose.yaml. However, the main.py is still running in the container to avoid the connection issues between Spark driver and cluster.

@lindong28 Could you help review it again?

Thanks for the update. LGTM.


caching/update.py failing because Tuxmake metadata is empty

We're getting RuntimeError: Could not find a suitable git sha or compiler version in any build during the Update cache phase.
This is probably because the tuxmake_metadata field is empty. We can see that here: https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/8335729494/job/22811740883
Why is this field empty for some builds?
edit: It seems this is caused when a patch fails to apply. I never noticed this exact failure in that instance though. I will look to refine this error path with better handling/messaging and then close this issue.

Opened a PR here: https://github.com/ClangBuiltLinux/continuous-integration2/pull/733. closing this issue.


DOMException: Failed to execute 'replaceChild' on 'Node': The new child element contains the parent.

This bug appears to occur when using some odd combination of higher order components.

I also tested the same component tree with React to be sure and it works as expected.

This appears to be fixed with preact 6.0.0 beta

@ganemone - the latest release (not beta) is 6.4.0 - are you seeing the issue there?

We tested the generic example (https://github.com/ganemone/preact-boilerplate) using 6.4.0

@mlmorg like tested and it worked? I haven't seen anything around this bug in 6.4. might be missing something though.

Sorry, should have clarified. If you clone, install and run the forked preact-boilerplate above, you will see the exception using 6.4.0.

Here's the actual commit making changes to the default preact-boilerplate: https://github.com/ganemone/preact-boilerplate/commit/5088b54627b2213b651173268a0a9940e540f681
The comments mention how changing a line here or there (removing a div, removing the hoc, etc.) makes it work again.

Hey @developit, just bumping this thread to see what the status of this issue is. I've also tried the example with 7.0.3 and it continues to have the same issue. Thanks!

I'm working on 7.1.0 which I'm (really!) hoping will fix this.  It's an issue that can be caused by a number of different things, but I think there are a lot fewer possibilities in 7.1.0.

Awesome, thanks for the update!

Sorry to leave this hanging, there!

Still present in 7.1.0

Might have a repro around now actually.

I am seeing this issue as well.

I am on version 7.1 too.

7.1.0
I also see it

Repros appreciated if anyone has this issue.

I have just upgraded to 7.2.0. It is still present. Sometimes it could be fixed by replacing  with , but it is very dirty. Are there any more news about this issue?

Update: This will be fixed by the PFC rewrite! 🎉

And is there some temporary fix to use now, because this thing completely crashes my app?
Also it is very interesting, that this bug depends on chrome devtools opened/closed state. If My devtools panel is opened, bug is not present. But if I close it, bug appears

@nowaalex This is because when DevTools is open, the preact/devtools hook is active, which transforms Pure Functional Components into classful components for tracking purposes. That circumvents the issue in a similar way to the rewrite above.  I'm going to prioritize this fix for 8.0, likely cutting some of the planned breaking changes in order to get things out faster.

@developit, do you have an approximate release schedule of 8.0 ?

I wish I could give a more firm time, but I've learned that causes more harm than good.  The problem is that people expect major releases to include huge performance improvements, so I have had to spend the last few weeks trying to find some.  I did, so now I'm just working through the list of breaking change that need to get into the release.  I don't have anything on this weekend, so hopefully I'll be able to publish a beta!

Is there a strategy to work around this in the meantime? I want to move radio.garden over to preact, but am stuck on this error..

It's caused by errant recycling and the recycler is internal. I know @nekr worked around it by forking and disabling the recycler.
Some have found success by adding keys, but it's hard know which component is causing the issue.

Yeah, using a fork is a sad thing :-(

Adding key fixes it for me, and then changing my wrapping container from <div> to <section> fixed it without the key. Kappa.

Recycling is gone in 8 :)


borgmatic: fix systemd service

due to https://github.com/borgmatic-collective/borgmatic/commit/2e9f70d49647d47fb4ca05f428c592b0e4319544 there is another "sleep", which is now wrongly substituted.
This fixes the error:
Failed to inhibit: Invalid what specification
/nix/store/if12v01xkqladifvk8yqjdpbp6sisg74-coreutils-9.1/bin/sleep:shutdown

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks!


Ghosting external record

@seg1129 I have a record that is jumping between subject records then is showing up under two subjects in ETL. It comes and goes and also produces and error:
URL Redacted.
'''
Environment:
Request Method: GET
Request URL:
Django Version: 1.9.13
Python Version: 3.5.1
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.flatpages',
'markdown_deux',
'rest_framework.authtoken',
'rest_framework',
'registration',
'session_security',
'accounts',
'brp',
'api',
'dataentry']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'brp.middleware.LoggingMiddleware',
'brp.middleware.MaintenanceMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'session_security.middleware.SessionSecurityMiddleware',
'dataentry.middleware.CheckPdsCredentialsMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'accounts.middleware.CheckEulaMiddleware']
Traceback:
File "/usr/lib/python3.5/site-packages/django/core/handlers/base.py" in get_response
149.                     response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python3.5/site-packages/django/core/handlers/base.py" in get_response
147.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.5/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
23.                 return view_func(request, *args, **kwargs)
File "/usr/lib/python3.5/site-packages/django/views/generic/base.py" in view
68.             return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python3.5/site-packages/django/views/generic/base.py" in dispatch
88.         return handler(request, *args, **kwargs)
File "/usr/lib/python3.5/site-packages/django/views/generic/base.py" in get
157.         context = self.get_context_data(**kwargs)
File "/opt/app/dataentry/views/pds.py" in get_context_data
50.             context['record'].record_id,
Exception Type:
Exception Value: 'NoneType' object has no attribute 'record_id'
'''

For what it's worth, it appears that the last successful CBTTC ETL would have been "5 days 10 hr ago" (according to Jenkin's nightly ETL attempts), so if this is not specific to the data itself, this error could be due to a change that went live in the last 4-5 days?

issue resolved Temporarily. This issue was caused by an external record being deleted and then added again. The resolution was to update the caching for the given protocol which fixed the UI and ETL process. A permanent solution for this should include removing caching from ETL process and updating caching nightly.

@alexanderkgonzalez can you remove caching links from the ETL process?

We decided not to remove the process of grabbing BRP data from the BRP Cache in the nightly ETL process. There were many additional features added to the ETL since it was modified to pull data from the cache that rely on the cache formatting and making changes to this will take a large refactoring of the current stable working ETL.
The job to re-cache subjects nightly has remediated this issue.


Editing Tamil - statistical to neural

As requested by Krishna Doss Mohan from Translator team

@amandasong : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Re-opening in azure-docs-pr


[IOTDB-514] Fix avg calculation

What is this PR for?

for optimize the calculation of avg, prevent exceeding the MAX_VALUE


yarn global install & exec in yarn temp env (dlx) fail; local install OK

local install into project appears to work
lsb_release -rd
	Description:    Fedora release 37 (Thirty Seven)
	Release:        37

yarn -v
	3.5.0
node -v
	v18.15.0
npm -v
	9.5.0
npx -v
	9.5.0

yarn global add @sandworm/audit
	Usage Error: The 'yarn global' commands have been removed in 2.x - consider using 'yarn dlx' or a third-party plugin instead
	$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...

yarn dlx @sandworm/audit@latest
	➤ YN0000: ┌ Resolution step
	➤ YN0061: │ w3c-hr-time@npm:1.0.2 is deprecated: Use your platform's native performance.now() and performance.timeOrigin.
	➤ YN0000: └ Completed in 3s 595ms
	➤ YN0000: ┌ Fetch step
	➤ YN0000: └ Completed
	➤ YN0000: ┌ Link step
	➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
	➤ YN0000: └ Completed
	➤ YN0000: Done with warnings in 3s 806ms

	Internal Error: Binary not found (audit) for root-workspace-0b6124@workspace:.
	    at h7 (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:423:1806)
	    at Object.mRe (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:423:2322)
	    at /var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:601:297
	    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	    at async $t.mktempPromise (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:314:69429)
	    at async Lu.execute (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:597:62990)
	    at async Lu.validateAndExecute (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:345:664)
	    at async Un.run (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:359:2057)
	    at async Un.runExit (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:359:2241)
	    at async i (/var/lib/wwwrun/.cache/node/corepack/yarn/3.5.0/yarn.js:446:12054)

yarn add @sandworm/audit@latest
	➤ YN0000: ┌ Resolution step
	➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
	➤ YN0000: └ Completed in 3s 567ms
	➤ YN0000: ┌ Fetch step
	➤ YN0013: │ write-file-atomic@npm:4.0.2 can't be found in the cache and will be fetched from the remote regis
	➤ YN0013: │ xml-name-validator@npm:3.0.0 can't be found in the cache and will be fetched from the remote regi
	➤ YN0013: │ xmlchars@npm:2.2.0 can't be found in the cache and will be fetched from the remote registry
	➤ YN0013: │ yargs-parser@npm:21.1.1 can't be found in the cache and will be fetched from the remote registry
	➤ YN0013: │ yargs@npm:17.6.0 can't be found in the cache and will be fetched from the remote registry
	➤ YN0000: └ Completed in 0s 430ms
	➤ YN0000: ┌ Link step
	➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
	➤ YN0008: │ sharp@npm:0.32.0 must be rebuilt because its dependency tree changed
	➤ YN0000: └ Completed in 0s 744ms
	➤ YN0000: Done with warnings in 4s 886ms

yarn info --name-only @sandworm/audit
	└─ @sandworm/audit@npm:1.35.0

yarn sandworm -d --sv
	Sandworm 🪱Security and License Compliance Audit
	√ Built dependency graph
	//
	// 💡 Save issue resolution info to your repo
	//    resolved-issues.json
	//    https://docs.sandworm.dev/audit/resolving-issues
	//
	√ Got vulnerabilities
	√ Scanned licenses
	√ Scanned issues
	√ Tree chart done
	√ Treemap chart done
	√ CSV done
	√ Report written to disk

	⚠ Identified 2 high severity, 1 low severity issues
	🟠<EMAIL_ADDRESS>Atypical license SWRM-104-caniuse-lite-1.0.30001431
	🟠<EMAIL_ADDRESS>Uses postinstall script SWRM-201-esbuild-0.15.14-postinstall
	⚪<EMAIL_ADDRESS>License not OSI approved SWRM-102-caniuse-lite-1.0.30001431

	✨ Done

Thank you for submitting this, @pgnd! Looking into it now.

It turns out the proper command to use is:
yarn dlx -p @sandworm/audit sandworm

See https://github.com/yarnpkg/berry/issues/2013.
@pgnd if you can, please let me know if the command above works for you. Thanks!

@gabidobo
sorry, i missed gh notification of your ping :-/

please let me know if the command above works for you

it no longer fails immediately, does progress, but fails "Done, but with errors:"
and it's seemingly slow ... 6+ minutes; i've no sense yet what's typical
e.g.,
time yarn dlx -p @sandworm/audit sandworm
➤ YN0000: ┌ Resolution step
➤ YN0061: │ w3c-hr-time@npm:1.0.2 is deprecated: Use your platform's native performance.now() and performance.timeOrigin.
➤ YN0000: └ Completed in 56s 262ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed in 0s 409ms
➤ YN0000: Done with warnings in 56s 872ms

Sandworm 🪱Security and License Compliance Audit
√ Built dependency graph
√ Got vulnerabilities
√ Scanned licenses
√ Scanned issues
√ Tree chart done
√ Treemap chart done
√ CSV done
√ Report written to disk

⚠ Identified 10 high severity, 1 low severity issues
🟠<EMAIL_ADDRESS>Atypical license<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Atypical license<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Atypical license<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Atypical license SWRM-104-caniuse-lite-1.0.30001481
🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>🟠<EMAIL_ADDRESS>Deprecated package SWRM-200-w3c-hr-time-1.0.2
⚪<EMAIL_ADDRESS>License not OSI approved SWRM-102-caniuse-lite-1.0.30001481

✨ Done, but with errors:
❌ SyntaxError: Unexpected token ➤ in JSON at position 0
❌ Failing because of errors

real    6m11.929s
user    0m12.243s
sys     0m1.298s

Ok, this seems to be an error with retrieving vulnerabilities from the package manager.
I just released v1.40.0 with better console messaging around these errors, could you please give it a try? It should clarify what the underlying issue is.

@gabidobo
time yarn dlx -p @sandworm/audit sandworm
	➤ YN0000: ┌ Resolution step
	➤ YN0061: │ w3c-hr-time@npm:1.0.2 is deprecated: Use your platform's native performance.now() and performance.timeOrigin.
	➤ YN0000: └ Completed in 58s 827ms
	➤ YN0000: ┌ Fetch step
	➤ YN0013: │ ini@npm:4.1.1 can't be found in the cache and will be fetched from the remote registry
	➤ YN0013: │ semver@npm:7.5.1 can't be found in the cache and will be fetched from the remote registry
	➤ YN0013: │ signal-exit@npm:4.0.2 can't be found in the cache and will be fetched from the remote registry
	➤ YN0013: │ tslib@npm:2.5.2 can't be found in the cache and will be fetched from the remote registry
	➤ YN0000: └ Completed in 0s 521ms
	➤ YN0000: ┌ Link step
	➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
	➤ YN0000: └ Completed in 0s 401ms
	➤ YN0000: Done with warnings in 59s 807ms

	Sandworm 🪱Security and License Compliance Audit
	√ Built dependency graph
	√ Got vulnerabilities
	√ Scanned licenses
	√ Scanned issues
	√ Tree chart done
	√ Treemap chart done
	√ CSV done
	√ Report written to disk

	⚠ Identified 10 high severity, 1 low severity issues
	🟠<EMAIL_ADDRESS>Atypical license<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Atypical license<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Atypical license<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Atypical license SWRM-104-caniuse-lite-1.0.30001481
	🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Uses postinstall script<EMAIL_ADDRESS>	🟠<EMAIL_ADDRESS>Deprecated package SWRM-200-w3c-hr-time-1.0.2
	⚪<EMAIL_ADDRESS>License not OSI approved SWRM-102-caniuse-lite-1.0.30001481

	✨ Done, but with errors:
	❌ Error: Error getting vulnerability report from yarn: Unexpected token ➤ in JSON at position 0 => ➤ YN0035: Bad Request
	➤ YN0035:   Response Code: 400 (Bad Request)
	➤ YN0035:   Request Method: POST
	➤ YN0035:   Request URL: https://registry.yarnpkg.com/-/npm/v1/security/audits/quick

	➤ Errors happened when preparing the environment required to run this command.
	➤ This might be caused by packages being missing from the lockfile, in which case running "yarn install" might help.

	    at getDependencyVulnerabilities (/var/lib/wwwrun/.yarn/berry/cache/@sandworm-audit-npm-1.42.0-fab3def249-8.zip/node_modules/@sandworm/audit/src/issues/vulnerabilities.js:149:11)
	    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	    at async getReport (/var/lib/wwwrun/.yarn/berry/cache/@sandworm-audit-npm-1.42.0-fab3def249-8.zip/node_modules/@sandworm/audit/src/index.js:68:33)
	    at async exports.handler (/var/lib/wwwrun/.yarn/berry/cache/@sandworm-audit-npm-1.42.0-fab3def249-8.zip/node_modules/@sandworm/audit/src/cli/cmds/audit.js:248:9)
	❌ Failing because of errors

	real    5m59.922s
	user    0m12.831s
	sys     0m1.433s

@pgnd this seems to be an underlying issue with Yarn audit: https://github.com/yarnpkg/berry/issues/4117
Can you please try to run yarn audit and see if the error replicates? If it does, maybe leave a comment on the issue above, so the Yarn team prioritizes a fix.


Need standalone Player Code

Since there is no comments in the code, and there is no independent document for the portal app, If you can help with the finding the player code, which as discussed should be independent and self sufficient.
Since I am exploring, it would be much helpful, if we can have a demo page, which just demonstrates the player, with some hard-coded .ekar file input.
I also tried to explore the mobile source code, as it also uses the web-view of android to load the content, but the entire js file was a bundle, and I was not able to extract the player code.
From my exploration till now, My understanding of player is that there is some bare-bone structure of player code, which downloads the renderer as well along with any other plugin file required.
Since I am planning to modify some of the features of the player, like menu etc. It would be of much help, if I can have access to some of the documentation of flow of data and function in the player.

Issue moved to project-sunbird/sunbird-commons #109 via ZenHub


Link in Readme.md not working

The first link
https://developers.sap.com/tutorials/cp-wdi5-cap.html
is leading nowhere.

Hi @cloudyafternoon,
nice catch! The tutorial is not finished yet. As soon as we are finished the link will work 😄
Regards,
Simon


chore: Bump version to 0.0.5a1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Signed-off-by: Christopher T. Lee<EMAIL_ADDRESS>

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Data folder broken in README

I'm trying to run the demo as described in the README, but it appears that the data folder to download in the README is broken: https://drive.google.com/drive/folders/1WL6pMfoAaar5uDEV-SWLalsAzCEPsuzJp?usp=sharing
It's not the same data as the hospital_data below based on working through the README.
I'd love to replicate this experiment—let me know if you're willing to fix the link either on here or privately.

Apologies for the delay @mokolodi1 , and thank you for flagging this! README should now be updated with the correct link.


Top Gun DLC broke it?

I think the Top Gun Maverick DLC has broken this solution. Will there be an update?

Sure did.. just got the game after watching the new movie and can't play it, woohoo.
Last talk about this stuff was back in March, before the release of the movie/dlc update: https://github.com/mpm11011/ac7-ultrawide/issues/22
Shelved yet another game..

Hey everyone, I will take a look at it when I get the time. Unfortunately I have some other stuff to work on at the moment, but I will try to get around to it.

@WhoIsMoloBartell @DAOWAce Could you please specify what is broken, it seems to work fine on my end.

Uh.. well that's weird.  Was there a game update since posting that changed something?
The patcher used to error out even on the Steamless.exe, now it patches fine.
Though, the UI still goes nuts ingame, constantly changing between some scenes, and it's letterboxed in the main menus.  Here's a demo recording:
Stock: https://www.youtube.com/watch?v=5RuhjJ3STKQ
Ultrawide: https://www.youtube.com/watch?v=DPzGzK0DvIg
Unless this is a known issue (which it would be useful to list!).  Just seemed broken.

@DAOWAce I see a couple things in your video

Splash screen and main menu are zoomed out, this is due to the FOV modification, as they seem to be sort of(?) present in 3D space. You can see how the menu can be seen in the "off-screen" area.
Zoom in/out in the hangar while changing aircraft. Note how this happens only while it is loading, not sure what part of the fix causes that.
Fade in screen being offset, this is due to having to shift the HUD, which also affects the black texture that fades out.
In the rocket camera, the subtitles are shifted to the left, we are using a suboptimal way of determining if we're in-game since we can't apply the HUD-shifting system at all times as this would cause other issues. The rocket camera happens to be a place where this fails.
Also, the loading screen looks slightly different due to text and image alignment stuff.

If there are any issues I missed, let me know and I can say if they're known or unexpected behavior.
I played through the entire AC7 story + DLC with the fix and it was never too immersion breaking for me. While actually playing, the distraction should be minimal.

@WhoIsMoloBartell @DAOWAce Could you please specify what is broken, it seems to work fine on my end.
(As I said in the other thread, you need to use Steamless before patching. Make sure to rename Ace7Game.exe.unpacked.exe to Ace7Game.exe so the script finds it.
Edit: Also tagging @Batate1 (they reacted to my reply)

Hi there,
Sorry for the delay in replying, I was away from my PC for a few weeks.
A bit of background: this is the first time I have played the game and tried the 32:9 patch. For whatever reason at the time it wasn't working for me, but is fine now - and the only explanation I found (reddit) was that the Top Gun DLC broke it. I can confirm that the process works for current version.
However my issue now is that the HUD is off centre (attachment)
No idea if this is something i'm missing or a genuine issue, but I can't find any info on this.

@WhoIsMoloBartell I see you closed the issue, is the off-center HUD fixed for you?
Off center HUD means 3Dmigoto wasn't applied properly, try deleting everything from the game folder except the "Engine" and "Game" folders, verifying game files in Steam and then reinstalling the fix. Make sure you have the unextracted "3Dmigoto-1.3.16.zip" file in the game folder, as per the instructions.

Your suggestion of deleting everyone worked - OK to be closed now.
Thanks a million for your tool - and help.

Your suggestion of deleting everyone worked - OK to be closed now.
Thanks a million for your tool - and help.

Glad to hear it works now. For the record: Here's who is responsible for what:

Widescreen Gaming Forum (that was pre-reddit move) user susahamat came up with the FOV change and black bar removal
I, with guidance from DarkStarSword, came up with the initial HUD fix. I also did the very first black bar removal with hex edits from another Bandai Namco UE4 game (Tekken I think?), can't remember what the differences between the two are exactly (they look a bit different in some cases), but we're preferring susahamat's version.
mpm11011 made the Python script and reworked parts of the HUD fix to work generically via Regex expressions.


US CNN Vessel seg - Generalize old code and consolidate preprocessing, training, and testing

This PR consolidates the data preprocessing, CNN training and testing into just three scripts for which involved running several scripts earlier:

PrepareTrainingData.py - This generates the Z-MIP slabs for all datasets, splits control and tumor datasets equally into training and validation sets, generates +ve and -ve patches for training the CNN, and creates the caffe LMDB files

TrainNet.py - This defines the CNN architecture, trains the CNN in an epoch-wise (earlier we were doing in terms of iteration), saves the CNN filters after each epoch, plots the learning curve, and random samples of patches falling in each element of the confusion matrix for debugging.

TestNet.py - This uses the trained CNN to segment vessels on all datasets in the testing set. Specifically, it applies the CNN to segment patches in the Z_MIP slabs, takes the vessel probability volume and maps it back to the input image space, thresholds the probability volume at a high confidence threshold to generate vessel seeds, and then uses TubeTK's SegmentTubes Application to trace vessels starting from these seed points.

This PR also reduces hardcoding all old files (ConvertData.py, PreProcessing.py, ProcessNet.py, reconstructSlabs.py, saveSlabs.py, Unshrink.py),  and exposes things in params.json as necessary. Eventually I plan to remove these old files and keep only the three consolidated scripts mentioned above.

@aylward Can you please take a look? Once merged neal will start building on this code.

Looks good - except why are you using subprocess to call TubeTK methods.   Are they not wrapped in python?

I just haven't switched to python wrapped TubeTK yet. That is one of the things to be done.


Build von-network-base image

This is needed for the ledger explorer in
https://github.com/IDunion/indy-node-container/blob/main/test/docker-compose.yaml

discussion 2020-05-21:

fork von-network
add CI build

Waiting for https://github.com/bcgov/von-network/pull/146


Contact redesign

Fixes Issue🛠
[Style] Enhance the Contact form #718

Closes #718
Description👨💻

i redesign and update contact form css to look good and suit with theme

Type of change📄

redesign contact form
update style

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

How this has been tested✅

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100
please check this and merge it

@Rakesh9100
please response
i completed contact form
please merge it and add level label

Congrats on getting your PR merged to the repo under GSSOC 2k24 🥳 @dhruv8433

@Rakesh9100
Thank you :)


How to disable MQ Advanced capabilities in production build

We don't want to use any of the advanced capabilities at present. We built a production image of <IP_ADDRESS> using a modified install-mq.sh file - we altered the genmqpkg_incams variable from 1 to 0. The genmqpkg_incmqft and genmqpkg_incmqxr variables were already set to 0. When I started a container with this image and ran DIS QMGR ADVCAP it returned ADVCAP(ENABLED). I was expecting the parameter to show DISABLED. Can you advise the correct way to disable advanced capabilities. Thanks.

Ideally the process that you have documented is what would be required, unfortunately it doesn't quite do everything needed. To complete the process you need to edit Dockerfile-server to remove a couple license files:
RUN rm /opt/mqm/swidtag/ibm.com_IBM_MQ_Advanced-9.2.1.swidtag /opt/mqm/swidtag/IBM_MQ_Advanced-9.2.1.mqtag
I verified this worked when I added this to line 107

This worked for me, thanks for the quick response.

Thanks for pointing in the right direction, I nearly got mad that ADVCAP never got disabled, although all features were uninstalled.
@bony-cas  We should not close this issue, it is definitely a bug resolving ADVCAP. According to the IBM documentation, if the features are not installed it should be DISABLED.


feat: support ESM, CJS and UMD

Features
BREAKING CHANGE: fetch-magic not only support UMD but also ESM and CJS for your module type
Chore

ci: add bundlemon
build: upgrade node

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Reparations and recommendations for the dev/IPv6_integration branch v2

Description
This PR takes over my earlier PR #664 which had severe merging problems.
As merging problems in PR #664 are solved, please refer to that branch
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing this temporary PR, continuing in my earlier PR #664


Flow generics are not handled correctly

I don't know if this is an issue with prettier or prettier-standard, but this how this code gets formatted into invalid syntax:
import { withRouter } from 'next/router'
import type { Router } from 'next/router'

type Props = {
  router: Router
}

-const MyComponent = withRouter<Props>(({ router }: Props) => ())
+const MyComponent = withRouter < Props > (({ router }: Props) => ())

I tried ignoring the line, but that doesn't seem to work:
// prettier-ignore
export default withRouter<Props>(Index)

Same issue filed in the prettier repo: https://github.com/prettier/prettier/issues/5460

// prettier-ignore works if I create .eslintrc with:
{
  "extends": ["plugin:flowtype/recommended"],
  "plugins": ["flowtype"],
}

Kinda works now after .. updating all dependencies. I think it might be ok after all. Will come back after I double check.


Investigate why optipng is slow

kevva/imagemin#23.

What has been done to improve speed?

This is still an issue


upload a page for my project

Closes # .

Changes proposed in this pull request: hi, I am student from the Taiwan and we finish the final project and add to the repository in project folder, our project is called Investigating the effect of alpha band on TRFs

Hi, I just upload the new version of the index.md, please take a look at it.


⚠ PrivateHD has degraded performance

In 7321ffb, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2262 ms

Resolved: PrivateHD performance has improved in ccc54e5.


Escape quotes and commas in CSV for downloading

Fields like status_history contain quotes and commas, breaking the CSV parsing. Address this in the UI code in a generic method to also cover fields like ingest_task, which the users may enter free text.

Addressed via PR #137


Add and translate LNURL-Auth strings to Portuguese Brazilian

This help to understand the feature LNURL-Auth in Pt-Br.


Allow leads to sync contributions

e-944-allow-leads-to-sync-contributions-with-github-when-rewarding

Test comment


Nuget packages specify incorrect author.

The packages specify the assembly name as the author. It should be something like AzureAD or AzureActiveDirectory.

PR sent on devex-build repo