Allow skip ingest if exists

During notebook/doc work this week (see also the public soma-testing notebook, I found myself skipping ingest for alread-uploaded data.
I suspect our users will be doing a lot of iffing unless we help them out with a way to express this common desire in a single line.

What about an overwrite=false option to from_h5ad and from_10xand handling it in the existing functions?

I think I would personally leave this out of the API and let the users add their own if tests, but that's just a personal preference to keep the number of methods smaller/focused.

@aaronwolen I thought the same, and also looked at every single uploader cell in my notebook having if-tests ... and imagined the replication ... I think this one is worthwhile. :)

What about an overwrite=false option to from_h5ad and from_10xand handling it in the existing functions?

@gspowley just saw this, after I merged on @aaronwolen 's accept --

There are actually a few ways for if-exists: do nothing; spend the time to overwrite the data (maybe with new/updated content); remove and replace.
I want to distinguish between the first & second especially
The second doesn't exist yet due to open TileDB-Py PR https://github.com/TileDB-Inc/TileDB-Py/pull/1185 not yet merged/released -- this affects uns` data and is the only remaining reason users can't do option 2 yet

@gspowley once https://github.com/TileDB-Inc/TileDB-Py/pull/1185 is in place (soon! -- and we're still on 0.0.x revs with room to iterate) I think the best option will be:

tiledbsc.io.from_h5ad(soma, path, overwrite=False)
If false: do what from_h5ad_unless_exists() is doing now
If true: re-write the new data over top of the old

I thought the same, and also looked at every single uploader cell in my notebook having if-tests ... and imagined the replication ... I think this one is worthwhile. :)

Another option would for the particular demo use case would be to have the notebook optionally cleanup after itself. I do something similar in the R vignettes for local testing: https://github.com/TileDB-Inc/tiledbsc/blob/bc1b25262765f14e074c75794cdf928563ab4961/vignettes/introduction.Rmd#L185-L187.

@aaronwolen what about tiledb-cloud notebooks?

@aaronwolen nice! I need to think about this for various backends ...


Move angular and reactjs to framework

Since Both Angular and React are web development frameworks, it makes sense to move them to the framework category in the Tags object.

Hi  @gkulin , @hemarina , @rajeshkamal5050 and @vhvb1989, would you help to review this PR? Thanks!


[BUG] No scene when using one click deploy on Android

This is for the latest nighly on the website (Godot_v2.0_alpha_20151003_x11)
The application starts correctly but there's nothing on the scene (it shows only the gray background) and there's no crash.
This only occurs when using any or both "Visible Collision Shapes" and "Deploy Remote Debug" on the options list.
LogCat info after settting on Live Editing & Deploy Remote Debug

10-13 20:52:40.987: D/GODOT(16388): ** GODOT ACTIVITY CREATED HERE ***
10-13 20:52:41.268: D/GODOT(16388): command_line is null? no
10-13 20:52:41.268: I/godot(16388): **INIT EVENT! - 0x41388188
10-13 20:52:41.268: I/godot(16388): ***************** HELLO FROM JNI!!!!!!!!
10-13 20:52:41.268: I/godot(16388): *******CLASS FOUND!!!
10-13 20:52:41.268: I/godot(16388): STEP2, 0x1d20021e
10-13 20:52:41.268: I/godot(16388): STEP3<PHONE_NUMBER>
10-13 20:52:41.268: I/godot(16388): STEP4, 0xc230002d
10-13 20:52:41.268: I/godot(16388): STEP4.5, 0x1d200222
10-13 20:52:41.268: I/godot(16388): STEP7
10-13 20:52:41.268: I/godot(16388): STEP8
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _dir_open ok!!
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _dir_next ok!!
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _dir_close ok!!
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _dir_is_dir ok!!
10-13 20:52:41.268: I/godot(16388): starting to attempt get methods
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _init_audio ok!!
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _write_buffer ok!!
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _quit ok!!
10-13 20:52:41.268: I/godot(16388): *******GOT METHOD _pause ok!!
10-13 20:52:41.268: I/godot(16388): CMDLINE LEN 2 - APK EXPANSION I
10-13 20:52:41.283: I/godot(16388): ERROR: create: Condition ' !create_func ' is true. returned: 0
10-13 20:52:41.283: I/godot(16388):    At: core/os/mutex.cpp:39.
10-13 20:52:41.283: I/godot(16388): test construction 5
10-13 20:52:41.283: I/godot(16388): running from dir /
10-13 20:52:41.283: I/godot(16388): **SETUP
10-13 20:52:42.073: I/godot(16388): ERROR: _resolve_hostname: gethostbyname failed!
10-13 20:52:42.073: I/godot(16388):    At: drivers/unix/ip_unix.cpp:69.
10-13 20:52:42.096: I/godot(16388): ERROR: connect: Condition ' p_host.host == 0 ' is true. returned: ERR_INVALID_PARAMETER
10-13 20:52:42.096: I/godot(16388):    At: drivers/unix/stream_peer_tcp_posix.cpp:138.
10-13 20:52:43.096: I/godot(16388): Remote Debugger: Connection failed with status: 0'', retrying in 1 sec.
10-13 20:52:44.096: I/godot(16388): Remote Debugger: Connection failed with status: 0'', retrying in 1 sec.
10-13 20:52:45.096: I/godot(16388): Remote Debugger: Connection failed with status: 0'', retrying in 1 sec.
10-13 20:52:45.096: I/godot(16388): Remote Debugger: Unable to connect
10-13 20:52:45.096: I/godot(16388): pre-removing print handler...
10-13 20:52:45.096: I/godot(16388): removing print handler...
10-13 20:52:45.096: I/godot(16388): found
10-13 20:52:45.096: I/godot(16388): print hanlder list is 0x0
10-13 20:52:45.112: I/godot(16388): has res dir:
10-13 20:52:45.112: I/godot(16388): exists engine cfg? 0
10-13 20:52:45.135: I/godot(16388): *****SETUP OK
10-13 20:52:45.354: I/godot(16388): **START
10-13 20:52:45.627: W/GodotView(16388): creating OpenGL ES 2.0 context :
10-13 20:52:45.744: I/godot(16388): ^_^_^_^_^ newcontext<PHONE_NUMBER>
10-13 20:52:45.744: I/godot(16388): ^_^_^_^_^ resize<PHONE_NUMBER>, 1280, 752
10-13 20:52:45.744: I/godot(16388): ANDROID MODULES :
10-13 20:52:45.744: I/godot(16388): mod count: 0
10-13 20:52:46.362: I/godot(16388): GL_EXT_debug_marker
10-13 20:52:46.362: I/godot(16388): GL_EXT_discard_framebuffer
10-13 20:52:46.362: I/godot(16388): GL_EXT_multi_draw_arrays
10-13 20:52:46.369: I/godot(16388): GL_EXT_shader_texture_lod
10-13 20:52:46.369: I/godot(16388): GL_EXT_texture_format_BGRA8888
10-13 20:52:46.369: I/godot(16388): GL_IMG_multisampled_render_to_texture
10-13 20:52:46.369: I/godot(16388): GL_IMG_program_binary
10-13 20:52:46.369: I/godot(16388): GL_IMG_read_format
10-13 20:52:46.369: I/godot(16388): GL_IMG_shader_binary
10-13 20:52:46.369: I/godot(16388): GL_IMG_texture_compression_pvrtc
10-13 20:52:46.369: I/godot(16388): GL_IMG_texture_format_BGRA8888
10-13 20:52:46.369: I/godot(16388): GL_IMG_texture_npot
10-13 20:52:46.369: I/godot(16388): GL_IMG_uniform_buffer_object
10-13 20:52:46.369: I/godot(16388): GL_OES_EGL_image
10-13 20:52:46.369: I/godot(16388): GL_OES_EGL_image_external
10-13 20:52:46.369: I/godot(16388): GL_OES_compressed_ETC1_RGB8_texture
10-13 20:52:46.369: I/godot(16388): GL_OES_depth24
10-13 20:52:46.369: I/godot(16388): GL_OES_depth_texture
10-13 20:52:46.369: I/godot(16388): GL_OES_egl_sync
10-13 20:52:46.369: I/godot(16388): GL_OES_element_index_uint
10-13 20:52:46.369: I/godot(16388): GL_OES_fragment_precision_high
10-13 20:52:46.369: I/godot(16388): GL_OES_get_program_binary
10-13 20:52:46.369: I/godot(16388): GL_OES_mapbuffer
10-13 20:52:46.369: I/godot(16388): GL_OES_packed_depth_stencil
10-13 20:52:46.369: I/godot(16388): GL_OES_required_internalformat
10-13 20:52:46.369: I/godot(16388): GL_OES_rgb8_rgba8
10-13 20:52:46.369: I/godot(16388): GL_OES_standard_derivatives
10-13 20:52:46.377: I/godot(16388): GL_OES_texture_float
10-13 20:52:46.377: I/godot(16388): GL_OES_texture_half_float
10-13 20:52:46.377: I/godot(16388): GL_OES_vertex_array_object
10-13 20:52:46.377: I/godot(16388): GL_OES_vertex_half_float
10-13 20:52:46.377: I/godot(16388): S3TC: 0 ATITC: 0
10-13 20:52:46.627: I/godot(16388): OpenSL Init OK!
10-13 20:52:46.948: I/godot(16388): BOOT SPLASH:
10-13 20:52:46.948: I/godot(16388): BOOT SPLASH IS :
10-13 20:52:52.307: I/godot(16388): BACK PRESSED

I'm using the latest binaries from the website for Linux 32 and the latest templates.
This is running on a Samsung Galaxy Tab 2

I guess this part causes problem.
10-13 20:52:42.073: I/godot(16388): �[1;31;40mERROR: _resolve_hostname: �[1;37;40mgethostbyname failed!
10-13 20:52:42.073: I/godot(16388): �[0;31;40m   At: drivers/unix/ip_unix.cpp:69.�[0;0;37m
10-13 20:52:42.096: I/godot(16388): �[1;31;40mERROR: connect: �[1;37;40mCondition ' p_host.host == 0 ' is true. returned: ERR_INVALID_PARAMETER
10-13 20:52:42.096: I/godot(16388): �[0;31;40m   At: drivers/unix/stream_peer_tcp_posix.cpp:138.�[0;0;37m
10-13 20:52:43.096: I/godot(16388): Remote Debugger: Connection failed with status: 0'', retrying in 1 sec.
10-13 20:52:44.096: I/godot(16388): Remote Debugger: Connection failed with status: 0'', retrying in 1 sec.
10-13 20:52:45.096: I/godot(16388): Remote Debugger: Connection failed with status: 0'', retrying in 1 sec.
10-13 20:52:45.096: I/godot(16388): Remote Debugger: Unable to connect

try to set correct IP address at Settings > Editor Settings > Network > Debug host.
and deploy again.

Nope. I've checked it out and the IP adress is ok both inside the editor and in the file.
I've tested ping back and forth between the device and the computer and it works fine.

Oh. I've made another try and now it shows some debug info in the editor console.
Nothing on the device screen tough.
Also, when I pressed the back button to quit the game, my linux session crashed and I had to loggin again.
I don't know if this is related to Godot. I might try it on another pc and see what happens.

any good news? :)

I tried but still no luck.
I also noticed that for some reason files are not being exported (I needed to read some files from my game that weren't there). So I went the export dialog > Resources and set "Export all files in the directory ". Now I can read the files.
I don't know what "Connection failed with status: 2" means, I can see the debug text on the editor console.
I also checked using netstat in the tablet and it says there is a connection established between <IP_ADDRESS>:34722 (tablet) and <IP_ADDRESS>:6007 (pc) while running the app.
Am I missing some kind of permission setup?
I'm using Android SDK Tools v23, Platform Tools v20 and SDK for Android 4.0.3 (API 15).
Should I update some of these libs?

Oh, may it be your export templates are old?

Nope. I compiled several times from the repo and still the same behaiviour.
Log: https://gist.github.com/FEDE0D/b569185f211333be618e
It's wierd because It makes the same thing on another phone, a Sony Xperia ST21a

May it be something on my network config? I don't think so, because the IP it's there on the editor and I tried pinging back and forth between pc and phone.

I will try hardcoding the IP on the engine code and see if that works.

Do you still get the same issue with 2.0.3?

Yeap, the same with 2.0.3. I got the same error message about gethostbyname failed

It seems like I'm the only one getting this error.
I'll try to test this on windows and on another computer and see if the device I'm using (Samsung Galaxy Tab 2.0) has something to do with it.

PR #8699 mentions that it might have fixed this issue - given that 2 years passed since it was last reported, I'll close it. Please comment if you can still reproduce it on Godot 3.0.x.


I cannot add "hello world" SPFX client side webpart on Modern Page on Dev tenant

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

Expected or Desired Behavior
I am creating a new hello world webpart with yo @microsoft/sharepoint
I am building the solution with gulp serve - and it appears correctly on wokbench
I am packaging the solution with gulp package-solution - and HelloWorld.spapp is created
I am adding the .sppapp to the AppCatalog and it deploys fine
I am adding the app to https://ininadev.sharepoint.com/sites/SummitRomania and it appears in Site Contents
I am creating a new modern page and I try to add the client side web part -> but it does not appear in the list - only the message "There was an error fetching the web parts. Not all web parts may be available"
Observed Behavior
Hello World client side webparts cannot be added to Modern Pages.
They still appear for the classic pages but give error when trying to add them.
Steps to Reproduce
I am creating a new hello world webpart with yo @microsoft/sharepoint
I am building the solution with gulp serve - and it appears correctly on wokbench
I am packaging the solution with gulp package-solution - and HelloWorld.spapp is created
I am adding the .sppapp to the AppCatalog and it deploys fine
I am adding the app to https://ininadev.sharepoint.com/sites/SummitRomania and it appears in Site Contents
I am creating a new modern page and I try to add the client side web part -> but it does not appear in the list - only the message "There was an error fetching the web parts. Not all web parts may be available"
The same behavior seems described here https://github.com/SharePoint/sp-dev-docs/issues/276 in the post from 2 days ago.

Hi OvidiuSt,
This problem should be resolved, could you let me know if you are still experiencing this symptom?
If for some reason it is still happening please let me know.  In the meantime, you could use your webpart on a classic page to unblock yourself if it is still happening, however, it should now be resolved.
Sorry for the inconvenience,
Graham

Hello,
now I am able to see the webpart in the list and no error shows when clicking on the adding menu.
However when I am trying to add the webpart to the page I get the below message:

Sorry for the inconvenience. Can you please add the following like in the web part json file just below the like that contains the "id". And then recompile and try ?
"alias": "HelloWorldWebPart",

I added "alias":"WebPartName", in the manifest.json, in webpart folder and recompiled,
I get this message when compiling
Error - [writemanifests] Manifest validation error (./src/webparts/graphSpfx/Gra
phSpfxWebPart.manifest.json):
(#/) Data does not match any schemas from 'oneOf'
(#/) Missing required property: description
(#/componentType) No enum match for: WebPart
(#/) Additional properties not allowed: alias
Anyway, still does not work

The alias is part of Drop 6.  Which drop are you running?

Hi, I am trying to repro the issue. In the meantime, could you please post any errors that you see in your console?

Not sure what drop I was but I ran  npm i -g @microsoft/generator-sharepoint@latest so I should be in 6 now. I no longer see errors in console when doing gulp serve.
and this "alias": "GraphSpfxWebPart", - already in the *.manifest.json.
I still receive the same spinning when trying to add webpart to the modern page and the same error message.

node --version v6.9.1
gulp --version
CLI version 1.2.2
Local version 3.9.1

Hi @OvidiuSt, thank you for reporting the issue. This issue has been there for a while and lots of bugs have been fixed since then. Do you still notice the issue in the latest Yeoman generated web parts?


upgrade jackson version 2.9.9 to <IP_ADDRESS>

Motivation:
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

Codecov Report

Merging #723 into master will decrease coverage by 0.24%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #723      +/-   ##
============================================
- Coverage     72.16%   71.91%   -0.25%
+ Complexity     1079     1075       -4
============================================
  Files           373      373
  Lines         15301    15301
  Branches       2440     2440
============================================
- Hits          11042    11004      -38
- Misses         2996     3032      +36
- Partials       1263     1265       +2

Impacted Files
Coverage Δ
Complexity Δ

...java/com/alipay/sofa/rpc/module/LookoutModule.java
52.63% <0%> (-31.58%)
3% <0%> (-1%)

...m/alipay/sofa/rpc/module/FaultToleranceModule.java
68.75% <0%> (-25%)
4% <0%> (-1%)

...ipay/sofa/rpc/server/bolt/BoltServerProcessor.java
64.92% <0%> (-5.23%)
24% <0%> (-3%)

...ofa/rpc/registry/consul/HealthServiceInformer.java
84.09% <0%> (-4.55%)
9% <0%> (ø)

.../main/java/com/alipay/sofa/rpc/tracer/Tracers.java
41.02% <0%> (-2.57%)
0% <0%> (ø)

...y/sofa/rpc/bootstrap/DefaultProviderBootstrap.java
71.23% <0%> (-2.29%)
0% <0%> (ø)

.../main/java/com/alipay/sofa/rpc/event/EventBus.java
70.58% <0%> (-1.97%)
0% <0%> (ø)

...n/java/com/alipay/sofa/rpc/common/SofaConfigs.java
80.35% <0%> (-1.79%)
0% <0%> (ø)

...ofa/rpc/registry/zk/ZookeeperOverrideObserver.java
39.34% <0%> (-1.64%)
0% <0%> (ø)

.../sofa/rpc/bootstrap/DefaultClientProxyInvoker.java
90.32% <0%> (-1.62%)
0% <0%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


CH Core v6.0.0-ballot: Transfer VS Treatment Reason (Michaela Ziegler, ahdis ag)

In CH Core v6.0.0-ballot will the profile CH Core Claim be integrated, see https://github.com/hl7ch/ch-core/issues/292
The VS Treatment Reason should then be transfered to CH Term.

https://build.fhir.org/ig/hl7ch/ch-term/branches/master/ValueSet-treatmentreason.html


[$250] Migrate ThreeDotsMenu/index.js to function component

Class Component Migration
Filenames

[ ] src/components/ThreeDotsMenu/index.js

type: React.Component
has state values: true
has refs: true
has context: false
lifecycle methods: none

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01dc503ac4e0afb293
Upwork Job ID:<PHONE_NUMBER>058012672
Last Price Increase: 2023-07-29

I'd love to work on this.

I am ready to work on this ticket. :)

I would like to work on this issue.

I can work on this issue.

I'm able to work on this if needed!

Proposal
Please re-state the problem that we are trying to solve in this issue.
Migrate ThreeDotsMenu/index.js to function component
What is the root cause of that problem?
need to change class based component to functional
What changes do you think we should make in order to solve the problem?

component state and props from class to function syntax
render method from class to function syntax
lifecycle methods to hooks(if any)
update callbacks from class to function syntax (possibly with useCallback hook)
update refs from class to function syntax
any other class component logic to function component
and ensure no regressions occur.

What alternative solutions did you explore? (Optional)
N/A

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~011277782388b06ca8
Proposal
Please re-state the problem that we are trying to solve in this issue.
Migrate the class component in ThreeDotsMenu/index.js to a functional component
What is the root cause of that problem?
Class based component to Functional based component
What changes do you think we should make in order to solve the problem?

Turn the class into a function.
Use props directly, no need for this.props.
For each state in the class, use useState in the function.
Change this.state.variable to the variable from useState.
Change this.setState({variable: value}) to the setter function from useState.
Switch React.createRef() to useRef().
Use useEffect hooks instead of lifecycle methods (if any).
Test everything to make sure it still works.

What alternative solutions did you explore? (Optional)
N/A

I would love to work on this issue

I would love to work on this issue

I am ready to work on this ticket. :)

can I do this

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~011277782388b06ca8

Contributor details
Your Expensify account email: [ashusingh15673<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~011277782388b06ca8

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~011277782388b06ca8

Can I work this one?

Proposal
Please re-state the problem that we are trying to solve in this issue.
Migration of src/components/ThreeDotsMenu/index.js to the function component.
What is the root cause of that problem?
No root cause, just need to migrate class component to function component.
What changes do you think we should make in order to solve the problem?

Convert the class components to function components.
Replace state management with React hooks, such as useState.
Replace lifecycle methods with appropriate hooks, if necessary.
Remove any unnecessary instance variables (this.someVar) and use hooks like useRef if needed.
Remove componentDidUpdate, componentDidMount, componentWillUnmount, etc., and handle side effects with hooks like useEffect.
Update any references to this.props to use the props parameter directly in function components.
Remove propTypes and defaultProps declarations and handle them at the call sites or with TypeScript, if applicable.
Finally make sure there is no regression.

What alternative solutions did you explore? (Optional)
N/A

Proporsal
export const ThreeDotsMeny = (props) => {
  const buttonRef = useRef();

  const [isPopuMenuVisible, setPopupMenuVisibility] = useState(false);
  const hidePopoverMenu = useCallback(() => setPopupMenuVisibility(false), []);
  const showPopoverMenu= useCallback(() => setPopupMenuVisibility(true), []);

  return (
            <>
                <View>
                    <Tooltip text={props.translate(props.iconTooltip)}>
                        <PressableWithoutFeedback
                            onPress={() => {
                                showPopoverMenu();
                                if (props.onIconPress) {
                                    props.onIconPress();
                                }
                            }}
                            ref={buttonRef}
                            style={[styles.touchableButtonImage, ....props.iconStyles]}
                            accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
                            accessibilityLabel={props.translate(props.iconTooltip)}
                        >
                            <Icon
                                src={props.icon}
                                fill={props.iconFill}
                            />
                        </PressableWithoutFeedback>
                    </Tooltip>
                </View>
                <PopoverMenu
                    onClose={hidePopoverMenu}
                    isVisible={isPopupMenuVisible}
                    anchorPosition={props.anchorPosition}
                    anchorAlignment={props.anchorAlignment}
                    onItemSelected={hidePopoverMenu}
                    menuItems={props.menuItems}
                />
            </>
        );
}

Also we can remove buttonRef since it isn't used in original file

Would love to work on this

I need to use the useState hook to manage the state, and the useRef hook to handle the button reference
constants outside the function component :
const propTypes = {
};
const defaultProps = {
};
I use the useState hook to manage state, and I don't need to bind methods. Instead, I can define functions as regular functions within the functional component
Methods like componentDidMount or componentWillUnmount. For function components, i would use the useEffect hook instead.
The JSX code inside the render() method is directly placed inside the function component.
In your code you access props using this.props.    In function components, I directly use the props object that is passed as a parameter to the function component.
useState for state management and useEffect for handling lifecycle methods. Other than that, the logic remains the same.

Proposal
I need to use the useState hook to manage the state, and the useRef hook to handle the button reference
constants outside the function component :
const propTypes = {
};
const defaultProps = {
};
I use the useState hook to manage state, and I don't need to bind methods. Instead, I can define functions as regular functions within the functional component
Methods like componentDidMount or componentWillUnmount. For function components, i would use the useEffect hook instead.
The JSX code inside the render() method is directly placed inside the function component.
In your code you access props using this.props.    In function components, I directly use the props object that is passed as a parameter to the function component.
useState for state management and useEffect for handling lifecycle methods. Other than that, the logic remains the same.
Above is my explanation. So go through it and do let me know. So I can post proposal on Upwork.
Thanks
Nilesh

Proposal
My Expensify Account Email<EMAIL_ADDRESS>My Upwork Profile : https://www.upwork.com/freelancers/~0150a88664353f6900
Please re-state the problem that we are trying to solve in this issue.
Migration of [src/components/ThreeDotsMenu/index.js] to the function component.
What changes do you think we should make in order to solve the problem?
import React, {Component,useState} from 'react';
import {View} from 'react-native';
import PropTypes from 'prop-types';
import _ from 'underscore';
import Icon from '../Icon';
import PopoverMenu from '../PopoverMenu';
import styles from '../../styles/styles';
import withLocalize, {withLocalizePropTypes} from '../withLocalize';
import Tooltip from '../Tooltip';
import * as Expensicons from '../Icon/Expensicons';
import ThreeDotsMenuItemPropTypes from './ThreeDotsMenuItemPropTypes';
import CONST from '../../CONST';
import PressableWithoutFeedback from '../Pressable/PressableWithoutFeedback';
export default function App({translate,iconTooltip,onIconPress,iconStyles,icon,iconFill,menuItems,anchorAlignment,anchorPosition    }) {
const  [isPopupMenuVisible,setIsPopupMenuVisible] = useState({isPopupMenuVisible: false})
let  [button,setButton] = useState(false)
// {isPopupMenuVisible: true}
const hidePopoverMenu = () =>{
setIsPopupMenuVisible({isPopupMenuVisible: false})
setButton(null)
}
const showPopoverMenu = () =>{
setIsPopupMenuVisible({isPopupMenuVisible: true})
setButton(null)
}
return (

 <>

 {
                                showPopoverMenu();
                                if (onIconPress) {
                                    onIconPress();
                                }
                            }}
                            ref={(el) => (button = el)}
                            style={[styles.touchableButtonImage, iconStyles]}
                            accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
                            accessibilityLabel={translate(iconTooltip)}
                        >

  );
}
I have done the convertion of the code. So please go through the code and let me know so that I can send proposal on Upwork.
Thanks.

Hi @MelvinBot
I have follow your instructions already. Check my proposal.
Thanks
Nilesh

My Expensify Account Email<EMAIL_ADDRESS>My Upwork Profile : https://www.upwork.com/freelancers/~0126f3665fe23ff297?s=996364627857502209
Proposal
I need to use the useState hook to manage the state, and the useRef hook to handle the button reference
constants outside the function component : const propTypes = {
};
const defaultProps = {
};
I use the useState hook to manage state, and I don't need to bind methods. Instead, I can define functions as regular functions within the functional component
Methods like componentDidMount or componentWillUnmount. For function components, i would use the useEffect hook instead.
The JSX code inside the render() method is directly placed inside the function component. In your code you access props using this.props. In function components, I directly use the props object that is passed as a parameter to the function component.
useState for state management and useEffect for handling lifecycle methods. Other than that, the logic remains the same.
Above is my explanation. So go through it and do let me know. So I can post proposal on Upwork.
I have already convert the code.
Thanks Nilesh

Here is my Proposal
Thanks

@Santhosh-Sellavel gently bump here.

Left a comment here for volunteers to take over

but @rayane-djouah you got to work on a similar task this one. this is not assigned yet and the other one is merged. all this is due to delay from C+, but that should not do injustice to other contributors.

Thank you @allroundexperts ! The PR will be ready in few hours.

oh sorry! this got hidden on my dashboard b/c of the reviewing label so I didn't realize I was blocking here (just another reason to wait for the PR til you're assigned 😉)

Hey,
Can you assign me this stuff?
I can do it today and generate the PR.
Thanks
Nilesh

@kadiealexander can you handle getting this paid out https://github.com/Expensify/App/issues/16209#issuecomment-1681556325

Payouts due:
Contributor: $250 @adityaaa-r
Contributor+: $250 @allroundexperts
Eligible for 50% #urgency bonus? No
Upwork job is here.

@adityaaa-r could you please apply here? I'm not able to find your Upwork profile to send you a contract. Thanks!

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/sully

Proposal
Convert class names into functional names
Example "class Form extend React.Component" to "function Form"
Check state management and life cycles and carefully undersatnd the component
Thoroughly test the new functional component before submiting the code

@sullyAL Thanks for taking the time to put a proposal together for this! Sorry if it wasn't clear, but we are only looking for proposals on issues with the Help Wanted label here. Please take a look at those and feel free to submit a proposal if you think you can fix anything.

Thanks @adityaaa-r! Let me know when you've accepted the contract I sent across.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01604e3bea5d2959e5

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01a31facdaca69896a

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01a31facdaca69896a

Payouts due:
Contributor: $250 @adityaaa-r
Contributor+: $250 @allroundexperts
Eligible for 50% #urgency bonus? No
Upwork job is here.

@allroundexperts are you being paid in Upwork or NewDot?

Reviewed the details for @allroundexperts. $250 payment approved via NewDot based on BZ summary.


[docs] Add link to apt package manager

I just added a link to the apt package manager from Debian man pages.

@mislav


No checker found for process - unending loop

Describe the bug
When a transfer is initiated the state model on the consumer side is stuck in Started with no hope of reaching the next Completed stage due to absence of a checker.
In this instance HttpProxy was used and the logs show:
No checker found for process 6ffc948e-d583-4ed5-a7c8-92212a46ffa9. The process will not advance to the COMPLETED state.
Should there not be some default implementations even if a Noop to move the process along? This infinite loop appears to be using up increasing amount of resources as transfer requests pile up.
To Reproduce
After contract negotiation, invoke /v2/transferprocess to initiate a transfer with dataDestination as HttpProxy.
Expected behavior
Once the EDR is transmitted, the state should transition to Completed.
Screenshots/Error Messages
No checker found for process 6ffc948e-d583-4ed5-a7c8-92212a46ffa9. The process will not advance to the COMPLETED state.
Context Information
Used version: sha-4b38aa4
tractusx/edc-controlplane-postgresql-hashicorp-vault:sha-4b38aa4
Possible Implementation
Suggest either removing the checker if redundant or adding appropriate checkers for HttpProxy and any other standard dataDestinations even if Noops

Hi @arunsworld
thanks for raising this issue. The fix has already been applied in upstream EDC see here. It will be available in the next EDC release 0.3.1 and then incorporated in tractusx-edc
Thanks

Thanks for the prompt update, much appreciated.


cobolscanner - change message for link option

vscode generates "clickable" links on files and includes a comma in this name, leading to links that can be clicked and then result in an error message, the change prevents that

metadata support is depreciated, so please don't waste your time on it.

metadata support is depreciated, so please don't waste your time on it.

Please don't deprecate it as long as there is no working replacement. The version found in 7.0.9 works actually quite good and "live parsing" from reading the copybooks when editing a program has a too bad performance with many copybooks and network share (it actually makes editing unusable as it is redone even after adding a space somewhere [which could be tweaked of course to only re-read in the "changed" file - in this case the program]).

Please don't deprecate it as long as there is no working replacement. The version found in 7.0.9 works actually quite good and "live parsing" from reading the copybooks when editing a program has a too bad performance with many copybooks and network share (it actually makes editing unusable as it is redone even after adding a space somewhere [which could be tweaked of course to only re-read in the "changed" file - in this case the program]).

You are being unfair, your scenario is dependent on your hardware/network architecture, as time moves on hardware is deprecated or fails, it gets replaced with better maybe cheaper solutions.
The same is true for your computer etc..

You are being unfair, your scenario is dependent on your hardware/network architecture, as time moves on hardware is deprecated or fails, it gets replaced with better maybe cheaper solutions.
The same is true for your computer etc..

It is totally true that this is an issue highly depending on my scenario. I try don't be unfair, but instead highlight that for using this real useful extension with a different scenario than yours (big programs, many copybooks, all on a single network share for multiple developers) the "live parsing" cannot work. Please excuse me if I wasn't able to phrase that in an understandable way up-front.
The metadata approach (complete pre-computation on start) actually solves this very good now, which is the reason that I urge you to not remove that working option which also reduces network io in general (and I totally see that this has other possible issues, but as long as this is only an option and not the default I consider that fine).
Resource-wise it seems to be reasonable to not recheck the copybooks automatically if one changes the program's source code, so it looks reasonable to only update the changed part (the data in the editor window itself), and handle parse_copybooks_for_references only on opening the file the first time (then leave that part of the data "untouched").

It is totally true that this is an issue highly depending on my scenario. I try don't be unfair, but instead highlight that for using this real useful extension with a different scenario than yours (big programs, many copybooks, all on a single network share for multiple developers) the "live parsing" cannot work. Please excuse me if I wasn't able to phrase that in an understandable way up-front.
The metadata approach (complete pre-computation on start) actually solves this very good now, which is the reason that I urge you to not remove that working option which also reduces network io in general (and I totally see that this has other possible issues, but as long as this is only an option and not the default I consider that fine).
Resource-wise it seems to be reasonable to not recheck the copybooks automatically if one changes the program's source code, so it looks reasonable to only update the changed part (the data in the editor window itself), and handle parse_copybooks_for_references only on opening the file the first time (then leave that part of the data "untouched").

metadata support is depreciated, so please don't waste your time on it.

As I already invested my time on this and the new result can be auto-parsed by vscode after the change I suggest to pull it in.

metadata support is depreciated, so please don't waste your time on it.

As I already invested my time on this and the new result can be auto-parsed by vscode after the change I suggest to pull it in.

friendly ping @spgennard


Extension isn't able to detect recent reports while using filters

Describe the issue/bug:
Filter Reports feature in Reported Contents doesn't detect reports which were made only some time ago if you try to filter them on the basis of their content using the filters available to sort reports.
To Reproduce:

Visit Reported Contents (Beta)
Pick any keyword from the newly reported content and trying using the contains filter under Additional Data to filter reports with that keyword.
The newly reported content doesn't appear in the filtered reports.

The Additional data filter is used to filter reports by their additional data field


Issue1695_Survey

Added survey feature that may occasionally appear in the same section as alerts and TOTDs

We are very, very close now. However I am still having a hard time with actually consistently testing it, and with 'testability".
So here's my sequence. The items marked TOFIX need addressing (I have put this tag afterwards).

Reload, sc, reload, sc. Not sure why/if I had to do that twice. But I believe my browser should be 100% in the 'pure' state now. This should not normally be needed in a new browser. But I believe it is just to clear any previous state.
Do a little work
sp (I believe this should set the timer and edit count. I am NOT expecting it to refresh the screen and get rid of my edits, but it does. TOFIX. It would be better if it was silent other than setting some variables so that one more edit would bring up the message. Furthermore it immediately brings up the survey message after the refresh, when I was expecting to do one more edit (to verify that editing in fact brings it up). TOFIX.
I hover over the one-line message and the larger box pos up. Good. I move cursor off it and it goes away. Good.
I click on 'not today'. The box goes away temporarily but I was expecting the one-line message to go away. TOFIX

For the backdoors, I was expecting them to be super easy to understand and to use for manual (and later on, automatic) testing.

sc. I was expecting this just to clear cookies and clear any state
sp. I was expecting this not to set any cookies at all, and not to have any effect after a reload, but just to affect the current session

The fact that sp sets a cookie is, to me, not helpful and confusing. If after doing sp and you refresh, the fact that sp was done should, I think be entirely forgotten. If you have a reason for storing and refreshing, let me know, but it doesn't seem to so that I was looking for and doesn't seem to be useful.
I think I was not expecting cookies to be used as much in this feature. I was expecting to have:

A cookie to indicate that a each particular survey had been started (to ensure that it wasn't prompted-for again)
A cookie to indicate that a survey had been specified as 'not today' that it wouldn't appear today (but perhaps if the dice rolls, then maybe tomorrow and afterwards).


Any interest in dropping dependency on "dockerize"

Is your feature request related to a problem? Please describe.
I noticed that start-server-ui.sh uses dockerize for templating this file.
This isn't a problem per se, but it does add ~6MB to your image size to do some fairly mundane template rendering.
Describe the solution you'd like
Looking at the template, I see that it uses default and split functions, which are not particularly complicated. This seems like something that could be implemented in the fs_config_loader directly rather than via packaging an additional binary in the docker image.
Would there be any interest in a PR that does something like this? Either through a separate subcommand of ui-server or via a flag?
Describe alternatives you've considered
Do nothing.
Additional context

We are currently migrating the templating into the temporal binary to avoid the dep, and more importantly, to avoid having to write the config out to the container filesystem. Would welcome a similar change here.


Add Demandbase

Demandbase is one of the largest enterprise B2B personalization and analytics companies in the market.

Thanks!


[SPARK-25508][SQL][TEST] Refactor OrcReadBenchmark to use main method

What changes were proposed in this pull request?
Refactor OrcReadBenchmark to use main method.
Generate benchmark result:
SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "hive/test:runMain org.apache.spark.sql.hive.orc.OrcReadBenchmark"

How was this patch tested?
manual tests

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #96743 has started for PR 22580 at commit 4b6ea87.

Test build #96743 has finished for PR 22580 at commit 4b6ea87.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96743/
Test PASSed.

Merged build finished. Test PASSed.

Test build #96782 has started for PR 22580 at commit 391d06a.

Test build #96782 has finished for PR 22580 at commit 391d06a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96782/
Test FAILed.

retest this please

Test build #96788 has started for PR 22580 at commit 391d06a.

Test build #96788 has finished for PR 22580 at commit 391d06a.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96788/
Test FAILed.

Merged build finished. Test FAILed.

retest this please

Test build #96790 has started for PR 22580 at commit 391d06a.

Test build #96790 has finished for PR 22580 at commit 391d06a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96790/
Test PASSed.

Merged to master.


Can't modify frame in HEAD version

In the latest version, the frame of a UIView shows up as NSRect and you can't edit it anymore:

Which app are you testing this in? I am able to modify frames of views on my device

In the app I'm working on. I'll try to reproduce it and get back to you. Are you using Xcode 10 as well?

Yep!
How are you accessing the frame?

I'm selecting a view, then tap the frame property:

I will look into this, thanks!

The same problem

This has since been fixed in a more recent commit, I forgot to close this. It's after 3.0.0 but not in a release yet.

Yup, it works, thanks a lot!


Typos

Typo in
packages/community_store/single_pages/dashboard/store/settings.php:297
"Do no save ..." -> "Do not save ..."
packages/community_store/single_pages/dashboard/store/settings.php:314
"Do no save ..." -> "Do not save ..."

Thank you, I've adjusted this


browser.runtime.onMessage.addListener only accepts 2 arguments

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage
The actual browser.runtime.onMessage.addListener  accepts 3 arguments:, message, sender, sendResponse. However, the current implementation only accepts 2 arguments: message, sender

created pull request here:
https://github.com/Lusito/webextension-polyfill-ts/pull/55

Please merge this ASAP

As you can see in the page you linked: "Returning a Promise is now preferred, as sendResponse() will be removed from the W3C spec."
Please use a promise as return value instead of using sendResponse.
I'm going to keep this open, as this pops up regularly, as people don't seem to search before opening new tickets: #53, #46, #45, #31, #7

I landed here from Chrome Developer website where I found no mention about returning a Promise, however I gave it a try and just wanted to confirm that this works the same as calling sendResponse:
browser.runtime.onMessage.addListener((message: string) => {
    if (message == "whatever") {
        // Do something
        return Promise.resolve("response");
    }
});

Chrome documentation is not about the W3C standard. They don't care about the standard at all. If you try to target multiple browsers, I suggest you use the MDN documentation. Of course, there will be things you need to check if you want chrome-only features and for that you'll need to use the chrome documentation.

This makes it not easy to pass Observable from backgroundScript to contentScript, an Observable need to send multiple times, after subscribe.
I need something like
    const ovserver = {
      next: (value) => sender.send(subscriptionId, { type: ResponseType.Next, value }),
      error: (error: Error) => sender.send(subscriptionId, { type: ResponseType.Error, error: Errio.stringify(error) }),
      complete: () => sender.send(subscriptionId, { type: ResponseType.Complete }),
    };

To achieve something like https://github.com/frankwallis/electron-ipc-proxy

That's now how sendResponse works.
If the function is called, then chrome.runtime.sendMessage will wait before calling its callback (or in promise-land, before resolving its Promise)
If you call sendReponse multiple times, all calls past the first one will just be ignored. There's no such sender.send function

As seen in https://github.com/mozilla/webextension-polyfill/issues/386#issue-1282698182 sendResponse should now be supported by this package.
See also updated MDN documentation: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage

@Lusito I think the post from joshsmith is important, wouldn't it make sense to update the specification?

Will be fixed in the next version.
For the record: I don't think it's a good idea, because people easily misunderstand this and think they can call it multiple times.


Make exceptions compatible with 702

I finally solved the puzzle on how to make the developer version work on 702.
702 does not deserialize exception classes correctly that have a constructor in a super-class (see #1273). Adding an explicit constructor that calls the super-constructor, the issue is avoided.
Closes #1273

@larshp not sure what broke the transpiler test

check_syntax, Method importing parameter "TEXTID" does not exist, zcx_abapgit_not_found.clas.abap:23
need to add TEXTID to the constructor in https://github.com/open-abap/open-abap/blob/main/src/exceptions/cx_static_check.clas.abap

ok, i will update it

https://github.com/open-abap/open-abap/pull/205 merged

changes pulled without problems and without syntax errors


File selection and Global Options panels appear white?

I'm using the Modern theme. Happens with Sky as well.

On MacOS, we don't have an open file dialog like that nor are my global options white. Since I don't own a Windows laptop & don't want to use Bootcamp, I can't really fix this. Hopefully someone who does have one will open a PR. Sorry 😬

Oh, this is actually on Archlinux, not on Windows. 😓


Bugfix - ArrayList class type

This was preventing the project from being compiled in my environment. Specifying ArrayList<NativeModule> resolved it

Thank you for your PR


s/AWS/Azure/

This change is

I signed it!

Thank you for this contribution. A couple of people noticed this problem, and jumped in to fix it. The change is in the prior PR https://github.com/kubeflow/website/pull/787, currently under review, so I'll put a hold on this PR.
/hold

/assign

PR https://github.com/kubeflow/website/pull/787 has fixed the problem.
/close


Default board Level 1 Mechanics?

Now we've added more content, the default board as Physics, Level 1 includes things like Thermo and Optics and Resistors. Is this what we want?
When we added fields, this wasn't an issue because there were no level 1 questions. We might have to change the default state. It's nice to have diverse content; but some of the L1 stuff is not at the same standard as the L1 mechanics (especially Thermo) on the full-suite-of-hints front . . .

Replaced by #580


Fix #241 Task label checked after edit

Fix #241

Dude great work but Why did you delete it already?


npm_lazy contacts registry on every request even if metadata is present and fresher than cacheAge

Even when I have fresh metadata files only minutes old (my cacheAge is set to 120 minutes), every single registry request to npm_lazy incurs a small roundtrip to the upstream server to check for freshness.
Simulating a network failure to force it to serve the locally cached version would require significantly more logic in my testing environment.
The whole point of a local cache is to avoid network roundtrips.  It's latency, not throughput - the amount of data that is cached is under 50 megabytes, which is a fast download.  It's the hundreds of roundtrips to fetch metadata that slow it down.  There should be an option to operate entirely locally if the metadata is less than cacheAge old, and hit the upstream registry only if it is older (even avoiding the HEAD request to check for modifications).  I really don't need to worry about package updates in the last hour.  If I did, I wouldn't be using a cache.

You can get this behavior by modifying the cacheAge in https://github.com/mixu/npm_lazy/blob/master/config.js. The default is zero (meaning it will request metadata updates every time), despite documentation in the README that says the default is an hour.

I've updated the README to mention the max age is defaulted to 0.
@sneak if you could try changing the config.js cacheAge to "60 * 60 * 1000" and try again, that'd be great.

For information, the unit of cacheAge is millisecond.
So if you want to set the cache age to avoid registry request for the next 120 minutes, you need to set
cacheAge: 7200000 or cacheAge: 120 * 60 * 1000


Add fresnelc

Resolves #137.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines, including the relevant style guides.
[x] Read and understand the Code of Conduct.
[x] Read and understood the licensing terms.
[x] Searched for existing issues and pull requests before submitting this pull request.
[x] Filed an issue (or an issue already existed) prior to submitting this pull request.
[x] Rebased onto latest develop.
[x] Submitted against develop branch.

Description

What is the purpose of this pull request?

This pull request adds fresnelc.
Related Issues

Does this pull request have any related issues?

#137, #140, #135.
Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Once fully merged, I'm considering submitting a small refactor in which fresnel uses fresnels and fresnelc for separate evaluation of S(x) and C(x) for small x. That will remove some redundant coefficients from fresnel at the cost of maybe one extra absolute value evaluation. Otherwise the duplicate coefficients aren't a big deal. I have no strong preference. Honestly I'd hazard a guess that the presence and ease of access of obscure functions greatly greatly outweighs a 20ns difference in evaluation speed.

@stdlib-js/reviewers

I guess what I'm trying to say is that the only reason for fresnels and fresnelc to exist is to avoid the extra line of code it takes to to calculate both S(x) and C(x) and throw one away when you just want one of two.

@rreusser Sounds reasonable. Will do the reviews later tonight/tomorrow. You have a preference for review order?

No strong preference. Probably fresnel, then fresnels, then fresnelc. They're very similar.

@rreusser Thanks yet again! Will merge once CircleCI finishes. :)


Loading CSV data using papa parse and displaying chart with ReactHighcharts

I'm trying to recreate this using ReactHighcharts:
http://jsfiddle.net/mhbf5b2g/
I pass in the exact same config object yet nothing renders. Is this supposed to work and if so, what am I doing wrong?
<ReactHighcharts config={config} /> (config object same as in fiddle above)

Needed to:
HighchartsData(ReactHighcharts.Highcharts)```


PaDiM Shared Performance

How much is the difference in performance compare to original PaDiM?

I think it really depends on the kind of images you are dealing with.
For texture images where the normal data has a small number of modalities then a shared variant may be good enough.
For objects where the location is the patches are very different based on their location on the image then it won't work as well.
Doing a quick test on 2 mvtec datasets:

Dataset
PRO Score
ROCAUC

Tile (texture)
86%
84%

Pill (objects)
82%
44%

The main advantage being the much smaller memory footprint and not really performance.

How much did you test batch size? Wouldn't the performance be close if it was a little large test batch size?

I won't expect the batch size to have any impact on the performance since batch samples don't interact with each other. What impact do you think it could have ?

I'll leave it after a test


anesthetic as optional inputs

It would be good to set up margarine to take in anesthetic pandas tables as an optional argument that overrides theta and weights in maf.MAF and kde.KDE.
Should be fairly straight forward to do this.

Can also make the weights optional, with a default of np.ones(len(theta)).

Resolved in #25 and #32.


[Bug Report]: Documentation for

Module path
/modules/storage/cosmos-db
Bicep version
N/A
Describe the bug
The README for the /modules/storage/cosmos-db gives incorrect examples for configuring private endpoints.
This syntax is incorrect, the format does not match the expected custom type -
Incorrect:
privateEndpoints: {
      endpoint1: {
        subnetId: dependencies.outputs.subnetIds[0]
        isManualApproval: true
        groupId: 'Sql'
      }
      endpoint2: {
        subnetId: dependencies.outputs.subnetIds[1]
        privateDnsZoneId: dependencies.outputs.privateDNSZoneId
        groupId: 'Gremlin'
      }
    }
  }

Correct:
privateEndpoints: [
    {
      name: 'endpoint1'
      subnetId: dependencies.outputs.subnetIds[0]
      groupId: 'Sql'
    }
]

https://github.com/Azure/bicep-registry-modules/blob/2bfceaa924e59bea4d7783cc3e1354745f58955c/modules/storage/cosmos-db/README.md?plain=1#L399
To reproduce
To reproduce try to configure a private endpoint as per the README
Code snippet
No response
Relevant log output
No response

@alastairwigg - Have you checked out the AVM Module https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/document-db/database-account which uses a common interface accross all AVM Module for deploying private endpoints.
Is we don't receive a response for 3 days I will close this issue :)

Dear @alastairwigg , Azure Verified Modules (AVM) will become the single Microsoft standard for Bicep modules. Transitioning to AVM, requests for new features or bug fixes will need to be submitted against the appropriate AVM module via AVM Module Issues.
For bugs or new features with existing modules in the /modules directory of this repository, we encourage you to first try the AVM equivalent module if available and if the module is lacking any features, you can file an AVM Module Issue. If the module is not available yet, you can file a new AVM Module Proposal.
See this informational notice for more details on the upcoming changes.
Thank you for your understanding!


Derive Eq on SignedHeader and Commit

Closes: #969

[x] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[x] Added entry in .changelog/

Codecov Report

Merging #970 (f8ec064) into master (b99c937) will increase coverage by 0.0%.
The diff coverage is 81.8%.

@@          Coverage Diff           @@
##           master    #970   +/-   ##
======================================
  Coverage    72.1%   72.1%
======================================
  Files         203     203
  Lines       16589   16576   -13
======================================
- Hits        11964   11960    -4
+ Misses       4625    4616    -9

Impacted Files
Coverage Δ

rpc/src/error.rs
0.0% <0.0%> (ø)

tendermint/src/error.rs
0.0% <0.0%> (ø)

tendermint/src/block/commit.rs
96.8% <100.0%> (ø)

tendermint/src/block/commit_sig.rs
78.7% <100.0%> (ø)

tendermint/src/block/header.rs
99.1% <100.0%> (ø)

tendermint/src/block/signed_header.rs
91.6% <100.0%> (ø)

tendermint/src/hash.rs
36.8% <100.0%> (-1.0%)
:arrow_down:

tendermint/src/signature.rs
60.7% <100.0%> (+4.0%)
:arrow_up:

tendermint/src/validator.rs
69.2% <100.0%> (ø)

testgen/src/vote.rs
84.7% <0.0%> (-0.9%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Can I control the opening or closing of a cell?

Sometimes if some of the instructions are short, I would like the DetailsCell or ExamplesCell to be in an opening state.
Is this option achievable?

And here's something interesting, maybe helpful to your CompatibilityChecker:
https://resources.wolframcloud.com/FunctionRepository/resources/SymbolDependencies

Thanks for the suggestion and sorry for the delay in answering. I thought I could quickly implement this, but I ran into a few design decisions and nasty bugs…
Anyway, the latest version of the paclet has options to control the state of the Details/Examples sections.
You can set the defaults with
SetDocumentationOptions[Details,Open->...]
SetDocumentationOptions[Examples,Open->...]

You can also change the settings for individual symbols using
SetDocumentationOptions[Details[sym],Open->...]
SetDocumentationOptions[Examples[sym],Open->...]

See the documentation of Details/Examples for more information on the supported settings.


when install odk aggregate 1.3.4 then cannot login usin google account as google gives error messaage of unregistered domain

Originally reported on Google Code with ID 1087
i have installed ODKAggregate v 1.3.4 on ubuntu 12.04. after installation when i open
the ODKAggregate page and try to login using google account via open id then error
message appears like this " Unregistered Domain: google cannot authenticate it".

Reported by dgmon2014 on 2014-11-22 06:47:31

Please ask any questions such as this in the Google group.
Thanks,
Dev Team


chore: update quay wrapper

Description
Update the Quay plugin wrapper to use @backstage-community/plugin-quay
Which issue(s) does this PR fix

Fixes: https://issues.redhat.com/browse/RHIDP-3802

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/retest


Avoid testing full combinations in F.lstm test parameterization

F.lstm test is taking too much time.
Separates grad_outputs parameterization.

Jenkins, test this please

Jenkins CI test (for commit 4b441bc9a6fdcfd83082f19cb3cf0949fb14ed5e, target branch master) succeeded!


Bug: Flags don't show up in language selector in Chromium

URL(s)
https://es.eslint.org
https://es.eslint.org/languages
What did you do?
Scroll all the way to the bottom to the language picker.
What did you expect to happen?
To see a flag next to "Spanish (ES)" as in Firefox/Windows:

What actually happened?
I just saw "ES" instead of the flag. From Chrome/Windows:

Participation

[X] I am willing to submit a pull request for this issue.

Additional comments
This appears on all language sites, not just Spanish.

@SaraSoueidan do you have any idea what might be happening here?

No, that’s odd. I just checked on my macOS and in my Windows VM and it seems that this is happening only on Chrome on Windows. I'm not sure why. I've never come across this before. 🤔

Apparently it's a known Windows 10 issue: https://answers.microsoft.com/en-us/windows/forum/all/flag-emoji/85b163bc-786a-4918-9042-763ccf4b6c05
Do you get the same problem in Windows 11? I can't test on Win 11 because I don't have its VM yet.

I haven’t upgraded to Windows 11, so I’ll not sure. It seems like there’s not a good solution here. Maybe worth filing a bug on Chrome.

I think others have already done that. It seems to be a Windows issue more so than a Chrome issue.

It works in Firefox on Windows, so it must be solvable.


TestProxyInvalidConfig periodic failure in CI

The TestProxyInvalidConfig test is occasionally failing in CI. It appears to be failing at the same spot each time it does fail.
Example test run: https://github.com/nexodus-io/nexodus/actions/runs/4872240432/jobs/8690269022?pr=886
    helper_test.go:67: proxy_test.go:607: Running command on /TestProxyInvalidConfig-node1: --username kittehf4700c9d-e9b4-11ed-89a2-6045bd09c431 -*** proxy --ingress tcp:90000:<IP_ADDRESS>:8080
    proxy_test.go:609:
        	Error Trace:	/home/runner/work/nexodus/nexodus/integration-tests/proxy_test.go:609
        	Error:      	An error is expected but got nil.
        	Test:       	TestProxyInvalidConfig

https://github.com/nexodus-io/nexodus/actions/runs/4872240432/jobs/8690269022
    helper_test.go:67: proxy_test.go:607: Running command on /TestProxyInvalidConfig-node1: --username kittehf4700c9d-e9b4-11ed-89a2-6045bd09c431 -*** proxy --ingress tcp:90000:<IP_ADDRESS>:8080
    proxy_test.go:609:
        	Error Trace:	/home/runner/work/nexodus/nexodus/integration-tests/proxy_test.go:609
        	Error:      	An error is expected but got nil.
        	Test:       	TestProxyInvalidConfig

https://github.com/nexodus-io/nexodus/actions/runs/4855535480/jobs/8654230289
    helper_test.go:67: proxy_test.go:607: Running command on /TestProxyInvalidConfig-node1: --username kitteh7579bda6-e871-11ed-9e63-000d3a33f669 -*** proxy --ingress tcp:90000:<IP_ADDRESS>:8080
    proxy_test.go:609:
        	Error Trace:	/home/runner/work/nexodus/nexodus/integration-tests/proxy_test.go:609
        	Error:      	An error is expected but got nil.
        	Test:       	TestProxyInvalidConfig

Reproduced a failure locally, though it was a different test case than the 3 quoted above:
    helper_test.go:67: proxy_test.go:618: Running command on /TestProxyInvalidConfig-node1: --username kitteh644d5e62-e9e0-11ed-8973-98039b8e6d5c --password floofykittens proxy --egress tcp:8080:<IP_ADDRESS>:80 --egress tcp:8080:<IP_ADDRESS>:81
=== NAME  TestProxyInvalidConfig
    proxy_test.go:619: nexd output: �OCI runtime exec failed: exec failed: unable to start container process: exec: "--username": executable file not found in $PATH: unknown
    proxy_test.go:620:
                Error Trace:    /home/rbryant/go/src/github.com/nexodus-io/nexodus/integration-tests/proxy_test.go:620
                Error:          An error is expected but got nil.
                Test:           TestProxyInvalidConfig
                ```

omg ... nexd is never actually run. It's just passing because the command --username is invalid and usually returns an error, but it seems occasionally it'll return success, but the error is visible in the output.


Example of blob move command fails

az storage blob move -c MyContainer -d DestinationBlobPath -s SourceBlobPath --account-name MyStorageAccount

Fails with
'move' is misspelled or not recognized by the system

My az cli is up to date
az --version
azure-cli                         2.22.1

core                              2.22.1
telemetry                          1.0.6

Extensions:
account                            0.2.1
application-insights              0.1.13
subscription                       0.1.4

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\N16263\.azure\cliextensions'

Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

Is the example incorrect or am I doing something wrong?

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

ID: 472d5f5f-3ce0-1220-3058-4b27068f512b
Version Independent ID: 76e1699e-e6ba-c0dd-aad4-c5a7ab58260d
Content: az storage blob
Content Source: latest/docs-ref-autogen/storage/blob.yml
Service: storage
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Storage

Hi @realrubberduckdev, az storage blob move is in storage-preview extension. You need to install extension first. In addition, this command has been deprecated, you can use az storage fs file move instead.


Add retry broker

Adds a new retryable Broker to paper over temporary network failures.

Things should be working in this PR, but I'm still experimenting with a few things. After spending a few hours diving into RMQ, the upstream AMQP library from streadway, and relay, here are a few notes:
I feel like at some point there is going to have to be a retry/backoff mechanism. It doesn't seem possible to replace the underlying connection without also replacing the AMQP channel the consumer is attached to, so short of tracking each consumer or making the consumer responsible for recreating its own channel, I'm not yet clear on how a reconnect can successfully happen in relay as we use a one-to-many connection-to-consumer pattern almost exclusively.
Relevant:

https://www.rabbitmq.com/reliability.html:

In the event of a connection failure, the client will need to establish a new
connection to the broker. Any channels opened on the previous connection will
have been automatically closed and these will need re-opening too.

AMQP re-dial: https://github.com/streadway/amqp/blob/master/reconnect_test.go#L11

@ryanuber Did we still need this?

@armon getting back into this, I do think we are still going to need it. Relay can handle the low-level reconnection, but the caller must re-open any publisher/consumer channels and re-attempt whatever operation it may have been doing once re-established. I thought a specialized broker made sense for this additional layered logic but let me know if you had something else in mind.
I also added an integration test for this, which survives multiple connection resets both while publishing and consuming, and preserves the message order.

@ryanuber Left some minor comments, but overall LGTM!

@armon addressed the feedback and left a question. Thanks for the review!


When a user clicks on the permissions tab when on this query: https://graph.microsoft.com/v1.0 they should see all permissions listed.

Is your feature request related to a problem? Please describe.
there are expert users who know the permissions they require and want to consent to, and we need to take care of them too. they dont have to get to a query to see the permission. The only way is to list all the permissions for them.
Describe the solution you'd like
When a user clicks on permissions tab when on this query: https://graph.microsoft.com/v1.0 they should see the list of all permissions in Graph/Graph explorer.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Does the devX api support this?
The current implementation of the api dictates that we need to add a request url like '/me' with a method so that it can pass the relevant permissions


Support "unique" constraint on relationships

CIR-2017-173
Related to #172
There are some graphs where you want to ensure there are no duplicate relationships.
http://neo4j.com/docs/developer-manual/current/cypher/clauses/create-unique/ does exist but that requires all developers to remember to do it!
It would be great to be able to say
create constraint on ()-[r:R]-() assert unique(r)

and have cypher throw an error if a duplicate is attempted.

Could you elaborate on what you mean by unique for relationships. It seems like you have something useful in mind, but I fail to understand exactly what the scope of the uniqueness should be. Should there only be one relationship with label R in the entire dataset? Should there only be one relationship with label R and the same combination of properties? Or should there only be one relationship with label R and the same source and target node?
The intent of the specification of Cypher around constraints has been to only provide the syntax for defining constraints, and an understanding of the semantics. Not to define which constraints an implementation should (or should not) support. Coming up with a good understanding of the use case, and then a clear way of expressing it is still very valuable here.

Unique as in the same source and target node - i.e. what CREATE UNIQUE currently does but force it.
So if someone uses CREATE UNIQUE to add a relationship and a copy already exists then do nothing as now.
But if someone uses a bare CREATE to create a relationship where one already exists with the same source, target and label then throw an error.

Like my comment on #173 the syntax could be simplified to
CREATE CONSTRAINT [:R] ASSERT UNIQUE

and the word "ASSERT" isn't really needed either.

Ah, now I've read https://github.com/opencypher/openCypher/pull/166 I guess the syntax could be
CREATE CONSTRAINT Rdag FOR [r:R] REQUIRE ACYCLIC r

with the same source, target and label

So relationships of another type between the same nodes are fine?
This is essentially a cardinality constraint, and could be expressed a bit more generally like this:
CREATE CONSTRAINT only_one_R_between_nodes
FOR (n)
REQUIRE size((n)-[:R]-()) < 2

Nearly, I'm looking for there to be only one link of type R between any pair of nodes. A node may be start or finish of any number of R. So, perhaps:
CREATE CONSTRAINT enforce_dag_unique_for_R_links
FOR p=(a)-[:R]-(b)
REQUIRE size(p) < 2

I'm not that bothered by the syntax though :-) - with this, and #172, I just want to be able to enforce a DAG.

Ah, yes, you're right.

Updated the original comment to include the name of the CIR

I've tried to capture this CIR in #166.

The example above using size() won't work, as size() is not defined over paths. I think the below example would give the requested semantics, but it is not very elegant:
CREATE CONSTRAINT enforce_dag_unique_for_R_links
FOR p = (a)-[:R]-(b)
REQUIRE size(collect(DISTINCT p)) < 2

How about we start simple (as I started in the beginning :) and just do:
CREATE CONSTRAINT enforce_dag_unique_for_R_links
FOR p = (a)-[:R]-(b)
REQUIRE UNIQUE p

as I'd suggest that covers a large set of the use cases (enforcing a DAG like a pert chart) and it already has a precedent in the CREATE UNIQUE example.
To enforce a tree (the remaining set of use cases I think) would need:
CREATE CONSTRAINT enforce_tree_for_T_links
FOR p = (a)-[:T*]->(b)
REQUIRE UNIQUE p

I think (i.e. the multiple length and added direction) - but I'd be happy to leave that out of this discussion.
If someone wants to make a case for the general "size" form then perhaps do so in a different ticket.

I am also looking for something similar. I would like a unique constraint on relationship properties.
For example, I create the graph incrementally (say in batches from Kafka by repeatedly the below operation):
CALL apoc.periodic.iterate("
MATCH (a:Dense1)
WHERE a.id <> '1'
MATCH (b:Dense1)
WHERE b.id = '1' AND a.key = b.key
RETURN a, b",
"CREATE (a)-[:PARENT_OF]->(b)",
{}) YIELD batches, total, errorMessages
RETURN batches, total, errorMessages

The above will create duplicates and I understand that I could use MERGE instead of CREATE but that is draining the write performance by a significant margin because of double locking.
For my use case, I actually don't want neo4j to do anything if the "same relationship" (as defined by the uniqueness constraint below) already exists or even better throw an exception so the application can use that info to do something else. This way the double locking can be avoided and I can finally build the graph incrementally as fast as possible.
CREATE CONSTRAINT ON ()-[r:PARENT_OF]-() ASSERT r.edge_id IS UNIQUE;


Failing to store large Events in database

Information

Onefuzz version: 6.1
OS: N/A

Provide detailed reproduction steps (if any)
The request body is too large and exceeds the maximum permissible limit.
RequestId:f7182370-a003-006c-8063-1103c5000000
Time:2022-12-16T15:31:13.8423274Z
Status: 413 (The request body is too large and exceeds the maximum permissible limit.)
ErrorCode: RequestBodyTooLarge

Additional Information:
MaxLimit: 131584

Content:
<?xml version="1.0" encoding="utf-8"?><Error>RequestBodyTooLarge<Message>The request body is too large and exceeds the maximum permissible limit.
RequestId:f7182370-a003-006c-8063-1103c5000000
Time:2022-12-16T15:31:13.8423274Z</Message><MaxLimit>131584</MaxLimit></Error>

Headers:
Server: Windows-Azure-Queue/1.0,Microsoft-HTTPAPI/2.0
x-ms-request-id: f7182370-a003-006c-8063-1103c5000000
x-ms-version: 2018-11-09
x-ms-error-code: RequestBodyTooLarge
Date: Fri, 16 Dec 2022 15:31:13 GMT
Content-Length: 287
Content-Type: application/xml

This error is being thrown here: https://github.com/microsoft/onefuzz/blob/349604f03adb9821add877cd0880798fcf328e18/src/ApiService/ApiService/onefuzzlib/WebhookOperations.cs#L47
This is likely caused by the WebhookMessageLog.Event.Report field being too large when trying to store the entry.
The discussed solution is to omit the Report field when storing in our database.
Important note: We should not omit the Report field when enqueueing the webhook message. as that would be a breaking change.
AB#42650375

We should:

Add a ReportLink field to WebhookMessageLog. This will allow it to exist in the DB and in future webhooks
Make WebhookMessageLog.Report optional. So that it can continue existing in webhooks (so it's not a breaking change)

Update: When sending webhooks, we load the message to send from the WebhookMessageLog so we must store it in the database.
Proposal: Add a report link field to the WebhookMessageLog. Limit the maximum size of an Event such that it fits in Azure Table. This would not be a breaking change because we were never able to send those large events in the first place since the code would throw an exception. We could also document this limitation.


Some rendering tests

Our rendering-code does not have awesome test-coverage, is pretty fragile, and have a lot of requirements encoded in the same logic. So it's a good idea to have some testing going on here. Let's add a couple of tests.
While we're at it, do a few cleanups, like fixing the coordinate-system used in the GL.ReadPixels helpers.
This PR contains:

[x] Tests

@mortoray: Fixed!


Failed to load cookies: EISDIR: illegal operation on a directory, read

docker run -it -v ~/cookie/coin:/cookie hyperbola/shopee-coins-bot:1 -u 'username' -p 'password' -c /cookie
Start shopee coins bot v1.0.17.
Passing password from command line is considered insecure. Should use environment variable or password file.
Start to load cookies.
Failed to load cookies: EISDIR: illegal operation on a directory, read
Start to login shopee.
Try to login by username and password.
Login form submitted. Waiting for redirect.
Login failed: wrong password.

已经确定密码无误，但还是不让进。

docker run -it -v ~/cookie/coin:/cookie hyperbola/shopee-coins-bot:1 -u 'username' -p 'password' -c /cookie
Start shopee coins bot v1.0.17.
Passing password from command line is considered insecure. Should use environment variable or password file.
Start to load cookies.
Failed to load cookies: EISDIR: illegal operation on a directory, read
Start to login shopee.
Try to login by username and password.
Login form submitted. Waiting for redirect.
Login failed: wrong password.

已经确定密码无误，但还是不让进。

先把cookie的檔案建立好
/cookie/coin  <-- 在cookie資料夾下建立coin這個 "檔案"
就正常了

谢谢，我会先建立文档然后再做尝试。


How to output feature maps

I  use resnet101 and now i want to output feature maps. i write the linear_head.py but it doest work
 def __init__(self,
                 num_classes,
                 in_channels,
                 init_cfg=dict(type='Normal', layer='Linear', std=0.01),
                 *args,
                 **kwargs):
        super(LinearClsHead, self).__init__(init_cfg=init_cfg, *args, **kwargs)

        self.in_channels = in_channels
        self.num_classes = num_classes

        if self.num_classes <= 0:
            raise ValueError(
                f'num_classes={num_classes} must be a positive integer')

        self._init_layers()

    def _init_layers(self):
        self.fc = nn.Linear(self.in_channels, self.num_classes)

    def init_weights(self):
        normal_init(self.fc, mean=0, std=0.01, bias=0)

    def simple_test(self, img):
        """Test without augmentation."""
        cls_score = self.fc(img)
        x = self.extract_feat(img)
        print(type(x))
        #mmcv.imwrite("test.img",img)
        #x = self.extract_feat(img)

        if isinstance(cls_score, list):
            cls_score = sum(cls_score) / float(len(cls_score))
        pred = F.softmax(cls_score, dim=1) if cls_score is not None else None

        on_trace = is_tracing()
        if torch.onnx.is_in_onnx_export() or on_trace:
            return pred
        pred = list(pred.detach().cpu().numpy())
        return pred

how to do?thz

Hello, if you just want the feature map, you can build the backbone only.
For example,
>>> import torch
>>> from mmcv import Config
>>> from mmcls.models import build_classifier
>>>
>>> cfg = Config.fromfile("./configs/_base_/models/resnet101.py")
>>> cfg.model.backbone.out_indices = (0, 1, 2, 3)  # Output the feature map of all stages.
>>>
>>> inputs = torch.rand(8, 3, 224, 224)
>>> resnet = build_classifier(cfg.model)
>>> outputs = resnet.extract_feat(inputs)  # with neck
>>> for out in outputs:
...     print(out.shape)
torch.Size([8, 256])
torch.Size([8, 512])
torch.Size([8, 1024])
torch.Size([8, 2048])
>>> outputs = resnet.backbone(inputs)      # without neck
>>> for out in outputs:
...     print(out.shape)
torch.Size([8, 256, 56, 56])
torch.Size([8, 512, 28, 28])
torch.Size([8, 1024, 14, 14])
torch.Size([8, 2048, 7, 7])

hello sir thank you very much but i still have some question
1.inputs = torch.rand(8, 3, 224, 224)    what the 8 means?
2.i still want the Activation value（after fc,before softmax). do you have the ways?
wish u have a happy day

hello sir thank you very much but i still have some question 1.inputs = torch.rand(8, 3, 224, 224) what the 8 means? 2.i still want the Activation value（after fc,before softmax). do you have the ways? wish u have a happy day

The 8 is just batch size.
Well, we don't have the final feature extraction API by now, we will add it later. For now, you can modify the simple_test function like:

    def simple_test(self, x):
        """Test without augmentation."""
        if isinstance(x, tuple):
            x = x[-1]
        cls_score = self.fc(x)
        return cls_score

The part of final feature extraction is too hard for me .I really look forward to this API！Thank you for your contribution

@mzr1996
i still have some questions about your backbone.

cfg = Config.fromfile("./configs/base/models/resnet101.py")
abs it onlyhave cfg，i want to use my checkpoints(such as epoch_100.pth),how do i do?
thank！

Please try:
cfg.model.init_cfg = dict(type='Pretrained', checkpoint='./epoch_100.pth')
resnet = build_classifier(cfg.model)

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。