How to build a DetectionPacket

Plugin Version or Commit ID
v0.12.0
Unity Version
2021.3.18f1
Your Host OS
Mac Venture 13.5
Target Platform
iOS
Description
I want to pass data between two graphs in MediaPipeUnity. The first graph runs PoseDetectionCpu, and Unity receives a DetectionVectorPacket. I want to split this DetectionVectorPacket into individual Detections, and then call PoseDetectionToRoi -> PoseLandmarkByRoiCpu sequentially to perform pose estimation.
However, this requires constructing a DetectionPacket from a Detection object. Is this possible? It appears that the only way to initialize a DetectionPacket is to pass an IntPtr, but the DetectionVectorPacket only has a pointer to a Vector, so there appears to be no direct way to get a pointer to the elements.
One idea I had was to create a bridge function similar that returns an IntPtr of the vector element of specific array index. Are there any other good ways?
Code to Reproduce the issue
No response
Additional Context
No response

I just created a native function as below but it looks like it can not find the c++ function.
What am I missing? Is there any steps to compile cc code?
DetectionVectorPacket.cs
    public DetectionPacket GetElementPointer(int index){
      UnsafeNativeMethods.mp__MakeDetectionPacketFromVector(mpPtr, index, out var ptr).Assert();
      GC.KeepAlive(this);
      return new DetectionPacket(ptr);
    }

protobuf_unsafe.cs
    [DllImport(MediaPipeLibrary, ExactSpelling = true)]
    public static extern MpReturnCode mp__MakeDetectionPacketFromVector(IntPtr packet, int index, out IntPtr ptr);

detection.cc
MpReturnCode mp__MakeDetectionPacketFromVector(mediapipe::Packet* vecPacket, int index, mediapipe::Packet** packet_out) {
  TRY
    mediapipe::Detection* pElem = &((*vec)[index]);
    *packet_out = new mediapipe::Packet{mediapipe::MakePacket<mediapipe::Detection>(pElem)};
    RETURN_CODE(MpReturnCode::Success);
  CATCH_EXCEPTION
}

detection.h
MP_CAPI(MpReturnCode) mp__MakeDetectionPacketFromVector(mediapipe::Packet* vecPacket, int index, mediapipe::Packet** packet_out);

Then I call from the solution's OnPoseDetectionOutput() as follows
# cast
OutputStream<DetectionVectorPacket, List<Detection>> _stream = stream as OutputStream<DetectionVectorPacket, List<Detection>>;
DetectionPacket packet = _stream.referencePacket.GetElementPointer(index);

But the error message I received is
MediaPipeException: INTERNAL: Graph has errors:
System.EntryPointNotFoundException: mp__MakeDetectionPacketFromVector assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Mediapipe.UnsafeNativeMethods.mp__MakeDetectionPacketFromVector(intptr,int,intptr&)
  at Mediapipe.DetectionVectorPacket.GetElementPointer (System.Int32 index) [0x00000] in /Users/kazu/workspaces/harmonyunityexperiment/Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Packet/DetectionVectorPacket.cs:39
  at Mediapipe.Unity.Holistic.HarmonySolution.OnPoseDetectionOutput (System.Object stream, Mediapipe.Unity.OutputEventArgs`1[TValue] eventArgs) [0x00036] in /Users/kazu/workspaces/harmonyunityexperiment/Assets/MediaPipeUnity/Samples/Scenes/Holistic/HarmonySolution.cs:151
  at Mediapipe.Unity.OutputStream`2[TPacket,TValue].InvokeIfOutputStreamFound (System.IntPtr graphPtr, System.Int32 streamId, System.IntPtr packetPtr) [0x00076] in /Users/kazu/workspaces/harmonyunityexperiment/Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/OutputStream.cs:402
Mediapipe.Status.AssertOk () (at Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Port/Status.cs:149)
Mediapipe.Unity.GraphRunner.AddPacketToInputStream[T] (System.String streamName, Mediapipe.Packet`1[TValue] packet) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:183)
Mediapipe.Unity.GraphRunner.AddTextureFrameToInputStream (System.String streamName, Mediapipe.Unity.TextureFrame textureFrame) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:200)
Mediapipe.Unity.Holistic.HarmonyObjectDetectionGraph.AddTextureFrameToInputStream (Mediapipe.Unity.TextureFrame textureFrame) (at Assets/MediaPipeUnity/Samples/Scenes/Holistic/HarmonyObjectDetectionGraph.cs:70)
Mediapipe.Unity.Holistic.HarmonySolution.AddTextureFrameToInputStream (Mediapipe.Unity.TextureFrame textureFrame) (at Assets/MediaPipeUnity/Samples/Scenes/Holistic/HarmonySolution.cs:100)
Mediapipe.Unity.HarmonyBaseSolution+<Run>d__12.MoveNext () (at Assets/MediaPipeUnity/Samples/Scenes/Holistic/HarmonyBaseSolution.cs:112)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

I figured out that I have to build the library with build.py
thank you.

I want to pass data between two graphs in MediaPipeUnity. The first graph runs PoseDetectionCpu, and Unity receives a DetectionVectorPacket. I want to split this DetectionVectorPacket into individual Detections, and then call PoseDetectionToRoi -> PoseLandmarkByRoiCpu sequentially to perform pose estimation.

If it's possible, I think the best way is to build a single CalculatorGraphConfig which can do what you want.
However, if you need to receive the result from the first CalculatorGraph, I think your approach is better.

Thank you for your suggestion.
First I tried to do with single graph but I could not find the way to iterate over elements of a vector with pbtxt file only.
Also I need tracking multiple objects so I had to get object are rectangles to run tracker algorithm such as SortCS.
Anyway the above code just worked well so far. Thank you.

Thank you for your suggestion.
First I tried to go with single Graph but I could not find the way to iterate over a vector returned by the PoseDetectionCpu in Unity.
Also I want to run tracking algorithm such as SortCS to decide which rectangle we should run pose estimation.
Anyway the above fix worked. Thank you for your support.


Custom Metadata "records" not being synced

It seems like the **.md entry in .forceignore is interfering with processing the custom metadata records.
The file extension for the MDAPI files is .md, and the DX files are .md-meta.xml
I changed the entry to: *README.md to ignore the readme files and was able to pull/push/convert them.

I also did found on this that if you want to deploy the Records.
using SFDX force:source:deploy -x "manifest/package.xml" you will need to use a WildCard in the Members of the CustomMetadata, individual Records are just returning that the "File was not found" even if I used the same package to retrieve it.


projects not loading

MertricsReportingSanboxMvc and MetricsSandboxMvc is not loading.
VS Message - Project file is incomplete.Expected imports are missing

I don't get that, what ide and version are u using?


fix core-js aliasing link in FAQ

Thanks!

May I recommend that you use some sort of tool to ensure that none of these sorts of cross-references become broken like this in the future?

@cvrebert Probably, do you know of any?

Not offhand, but I'm sure they exist.


Implement pg_database_size().

In this implementation dbsize equals sum of all relation sizes, excluding shared ones.
This size will differ from upstream postgres calculations, because upstream counts all files in the database directory, including PG_VERSION and pg_relfilenode.map.
We can count them too. I guess we can even not access them and simply add some constant size of meta files.
Do we want to be 100% compatible with upstream here or we don't care?
Is there any better solution than introducing new hook?
This PR uses vendor/postgres pg_database_size branch.
issue #321

Why to do that along with smgr calls? You can do that one level up -- seems to be more clear -- just connect from pg_database_size() to pageserver and instead of pagestream call db_size(). That way we can leave smgr api untouched.

Why to do that along with smgr calls? You can do that one level up -- seems to be more clear -- just connect from pg_database_size() to pageserver and instead of pagestream call db_size(). That way we can leave smgr api untouched.

This PR doesn't change smgr_api. Maybe zenith_dbsize() name and code location are confusing..
It adds a new command to page_server_api. I chose this way because ZenithMessage provides a nice way to pack/unpack parameters. A separate request would require more boilerplate to parse and pack all the fields on both sides of the protocol.


ScrollView changes in RN 58 introduce serious performance regression in iOS 9 and 10

🐛 Bug Report
When a ScrollView contains enough children that they will not all fit on the screen, a runaway thread causes CPU usage to increase to 100% for a quiescent app in a debug build. The problem also occurs in Release builds, with CPU use running an average 50-80%.
For more info, see this issue
To Reproduce
git clone https://github.com/Purii/react-native-tableview-simple.git
cd react-native-tableview-simple/example
yarn

Open ios/example.xcodeproj in XCode. Select a simulator with iOS 9 or iOS 10. Build and run. Click on the Debug navigator in XCode. You will see the CPU usage at 100%.
Expected Behavior
CPU usage should be 0%. The app doesn't do anything but sit there and display some views.
Code Example
https://github.com/Purii/react-native-tableview-simple/tree/master/example
Environment
info
React Native Environment Info:
System:
OS: macOS 10.14.4
CPU: (4) x64 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
Memory: 8.69 GB / 40.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.15.0 - ~/.nodenv/versions/8.15.0/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.8.0 - ~/.nodenv/versions/8.15.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 28
Build Tools: 23.0.1, 23.0.2, 24.0.1, 26.0.3, 28.0.0, 28.0.3
IDEs:
Android Studio: 2.1 AI-143.2915827
Xcode: 10.2/10E125 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.3 => 0.59.3
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-create-library: 1.0.4
react-native-git-upgrade: 0.2.7
react-native-version: 2.0.1

Any progress on this?

I notice that the build produces warnings like:
/Users/maint/github/react-native-tableview-simple/example/node_modules/react-native/React/Views/ScrollView/RCTScrollViewManager.m:38:20: 'UIScrollViewContentInsetAdjustmentBehavior' is only available on iOS 11.0 or newer
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:35:28: 'UIScrollViewContentInsetAdjustmentBehavior' has been marked as being introduced in iOS 11.0 here, but the deployment target is iOS 9.0.0
/Users/maint/github/react-native-tableview-simple/example/node_modules/react-native/React/Views/ScrollView/RCTScrollViewManager.m:38:1: Annotate 'UIScrollViewContentInsetAdjustmentBehavior:' with an availability attribute to silence this warning

This happens when using SafeAreaView. Testing shows the regression appeared in v0.58 when PR #18534 landed, changing the behavior of SafeAreaView on iOS 9 and 10.
The example uses SafeAreaView components as children of ScrollView. I'm not sure whether it is acceptable to use it this way, as the docs say,

Simply wrap your top level view with a SafeAreaView with a flex: 1 style applied to it.

If it is an error to use SafeAreaView in a non-top-level view, there ought to be a Yellow Box warning about it.

@chetstone SafeAreaView in current implementation inherently inefficient and can't be with current architecture – it needs first render pass to show UI then it will "know" safe area value and report back to layout thread, then it will rerender and modify UI second time.
Probably in scroll context layoutSubviews (in which emulation code was written) called too many times that expose gigantic slowness. This can be mitigated in native code, moreover safe area can be much more effective in principle (with some support from yoga and shadow tree), but I'm not very interested because even my small PR was modified to be slower without any constructive explanation.
But you can easily fix this without native programming. You can use SafeAreaView in background layer outside ScrollView and measure real safe area value in onLayout (or something like react-native-safe-area for monitor safe area insets on root view, which is most efficient today), then use calculated value as you wish.

@vovkasm Thanks for the comment. It doesn't seem like this is going to be fixed any time soon. The workaround, of course, is to not use SafeAreaView on iOS 9/10, as I did in this PR.
By the way, for those who come across this thread in the future, in answer to my other question above, the owner of react-native-tableview-simple has offered an explanation of how SafeAreaView in a not-top-level context can be useful.


[Candle] Add Completed tag

When collapsing candles for mutiple timeframes, the candle will have the Indicator's generated on them on each append, therefore the indicator on a minute candle will keep updating everytime we feed it another second candle, while it's still on that minute candle.
There is no indication if the candle is 'complete', when it starts producing next candle, then prev is complete, but no clear indication.

The current implementation is how you would see it in a live chart, with the Candle and indicators constantly updating, and therefore i dont believe this is an issue. However when using it within an algorithm we should have some form of indication.
Options:

Time based

When the current UTC time is passed timeframe to consider candle complete (shiet option)

Index

When the candle is no longer the latest candle consider it complete
likely best Option, issue arises on loss of data. E.G On second candles timeframe you might not get a candle every second and therefore a candle could be considered uncomplete for longer than it really is as waiting for Candles that we dont receive.

Reverted, I really dont see the point, all it's doing is setting a bool to True if not latest Candle.


Line/Arrow note won't keep transparent background setting

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
The annotation for lines and arrows won't keep/use transparent settings.
To Reproduce
Steps to reproduce the behavior:

Create background color box
Create box and arrow
Create annotation with the arrow
Set the background while writing to transparent/none

Expected behavior
Being able to set the background of the annotation transparent
Screenshots

draw.io version 15.7.1

Desktop (please complete the following information):

OS: Win10
Browser: Firefox
Version: 94.0.1

Additional context
Using another color will work, but keeps a white frame.

Press escape and set the label background to transparent with the cell (not the text) selected. We're aware of the suboptimal UX with the two background colors for the cell and the selected text and are working on a fix.


Crash on 2.3

Was testing some things with active coolers and the creative water source when it crashed...
crash-2017-08-15_02.22.32-server.txt

Same crash on 1.11.2 using my own modpack.  Using NuclearCraft 2.3aFixaroo.  Player placed a infinite water source block between an active liquid cooler block and a supercooler block.  Right after that the server went into an infinite crash loop until I managed to destroy the water block.  Here is a couple of the reports.
crash-2017-08-21_17.04.43-server.txt
crash-2017-08-21_17.06.42-server.txt
crash-2017-08-21_17.08.45-server.txt

I think I've fixed this issue for the next release :)

Pretty sure that this is fixed in version 2.4 :)


How to run the demo in the video?

Hi，
Thanks for your outstanding work! I am reproducing the demo and the command I am executing is python -u run_demo.py --config_file config/config.yaml --output_file messages.json --log_file simulation.log.
However, the demo shows very little functionality, the figure is

But the interface in the demo video looks like this：

How to run the functionality of the demo in the video, such as system-level and agent-level interventions, the ability to change agent configurations, the ability to display social relationships, the ability to play roles?
Hope you reply!

@LIUQI-creat Hi, thank you for your interest in our work! The new version of the front-end code will be made public after the paper is accepted. For now, you can achieve intervention and role-playing functionalities through the command line. To enable intervention at the beginning of each round, uncomment line 1210 in simulator.py. To enable role-playing, add the command line parameter --play_role=True and replace asyncio.run in agents/roleagent.py with input.

@LIUQI-creat Hi, thank you for your interest in our work! The new version of the front-end code will be made public after the paper is accepted. For now, you can achieve intervention and role-playing functionalities through the command line. To enable intervention at the beginning of each round, uncomment line 1210 in simulator.py. To enable role-playing, add the command line parameter --play_role=True and replace asyncio.run in agents/roleagent.py with input.

Thank you for your patient reply! I sincerely wish your paper will be successfully accepted！

Thx for your kind words!


feat: support sglang and lmdeploy with custom server

Other changes were made to fix lint, please ignore.
custom-server/llama3-8b-instruct-lmdeploy/config.yaml
custom-server/llama3-8b-instruct-sglang/config.yaml
custom-server/llama3_eval.py

Locally verified with SGLang and LMDeploy.
MODEL_ID= OPENAI_API_KEY= python3 llama3_eval.py --task gsm8k


Make runtime Props validation optional

What problem does this feature solve?
Now that Vue is embracing TS, I think there’s much less value in validating component props via JS prototypes at runtime. It can still be a useful feature for a pure JS setup, but if someone has a TS setup where Volar is able to see the types without a runtime definition, they really don’t need the type to be validated at runtime.
Validating component props at runtime feels like trying to validate function params at runtime. It seems better to just let TS handle it.
What does the proposed API look like?
The goal would be for the app not to throw a runtime error for a setup such as in https://github.com/vuejs/core/issues/7832, and instead allow the prop to pass through to the child component.
Perhaps this could be controlled with a validateRuntimeProps boolean option in vite.config.

I like this proposal! It's worth mentioning that runtime type validation is on dev only. I also think now we're using TypeScript in development, the runtime type validation seems to be unnecessary. So there should be an option to disable this feature, just like Options API.
However, Vue still needs some type (like Boolean or Function), which will affect the runtime behavior. For example, if the prop has Boolean type, Vue will convert undefined to false in runtime.

@sxzz When you say "just like the Options API", do you mean that there's currently a way to opt out of props validation using the Options API?

I mean we can add a bundler build feature flag, to disable props validation, just like __VUE_OPTIONS_API__ for Options API.
https://github.com/vuejs/core/blob/main/packages/vue/README.md#bundler-build-feature-flags

I need this because otherwise I can't use complex types for my props during development, due to Vue being unable to convert them to runtime validators.


Liberty updates for power char and bus deinjfiotn

This pull request contains 2 changes:

Power characterization subtracts leakage from the total power measurements - 50x measured power over the last 2% of period is subtracted from total power measurement. gen_meas_power gets an additional 'leakage' parameter to indicate if this is a leakage-only measurement (in which case leakage is not subtracted) or not.
Liberty bus definitions were inverted, i.e. it was din[0:7] instead of din[7:0]

I don't know who to not include the modified .gitignore in this pull request.

Hi David,
How do you commit? If you do a "git commit -a" it will commit the
.gitignore as well. You should go through and do a "git add " for
each file you want to commit.
Matt
On Mon, Jul 13, 2020 at 12:57 PM David R<EMAIL_ADDRESS>wrote:

This pull request contains 2 changes:

Power characterization subtracts leakage from the total power
measurements - 50x measured power over the last 2% of period is subtracted
from total power measurement. gen_meas_power gets an additional 'leakage'
parameter to indicate if this is a leakage-only measurement (in which case
leakage is not subtracted) or not.
Liberty bus definitions were inverted, i.e. it was din[0:7] instead
of din[7:0]

I don't know who to not include the modified .gitignore in this pull
request.
You can view, comment on, or merge this pull request online at:
https://github.com/VLSIDA/OpenRAM/pull/80
Commit Summary

Remove file from tracking
Fix voltage_map names (these do not need to match pg_pin names)
Merge branch 'dev' of github.com:VLSIDA/OpenRAM into dev
Merge branch 'dev' of github.com:VLSIDA/OpenRAM into dev
Subtract leakage from total power measurement. Leakage is power for
the last 2% of the period.
Fix bus ordering in Liberty

File Changes

D .gitignore
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-a084b794bc0759e7a6b77810e01874f2
(12)
M compiler/characterizer/delay.py
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-f2b5d938f8790eded68e2dfa9ec12bec
(2)
M compiler/characterizer/lib.py
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-34f6b2f3aef9758fca654912693337d3
(15)
M compiler/characterizer/stimuli.py
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-9765eb221da9dfb7d121ddbe35fd3e90
(23)

Patch Links:

https://github.com/VLSIDA/OpenRAM/pull/80.patch
https://github.com/VLSIDA/OpenRAM/pull/80.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/VLSIDA/OpenRAM/pull/80, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC67SL7CVQMZK25J2IFCZMDR3NRJXANCNFSM4OYZ4ZEQ
.

--
Matthew Guthaus
Associate Dean of Graduate Studies
Professor, Computer Science & Engineering
Baskin School of Engineering
University of California Santa Cruz
https://www.soe.ucsc.edu/people/mrg

The .gitignore is an old mess I created - I thought, mistakenly, I had committed it accidentally, so I removed it from teh repo with one of my older commits. I then proceeded with a few more commits after that.
What I am thinking is since I get the .gitignore from your dev branch, I can add/track it in my branch, so when you pull my branch if should just do a noop on the .gitgnore?
-dave

On Jul 13, 2020, at 12:59 PM, Matt Guthaus<EMAIL_ADDRESS>wrote:
Hi David,
How do you commit? If you do a "git commit -a" it will commit the
.gitignore as well. You should go through and do a "git add " for
each file you want to commit.
Matt
On Mon, Jul 13, 2020 at 12:57 PM David R<EMAIL_ADDRESS>wrote:

This pull request contains 2 changes:

Power characterization subtracts leakage from the total power
measurements - 50x measured power over the last 2% of period is subtracted
from total power measurement. gen_meas_power gets an additional 'leakage'
parameter to indicate if this is a leakage-only measurement (in which case
leakage is not subtracted) or not.
Liberty bus definitions were inverted, i.e. it was din[0:7] instead
of din[7:0]

I don't know who to not include the modified .gitignore in this pull
request.
You can view, comment on, or merge this pull request online at:
https://github.com/VLSIDA/OpenRAM/pull/80
Commit Summary

Remove file from tracking
Fix voltage_map names (these do not need to match pg_pin names)
Merge branch 'dev' of github.com:VLSIDA/OpenRAM into dev
Merge branch 'dev' of github.com:VLSIDA/OpenRAM into dev
Subtract leakage from total power measurement. Leakage is power for
the last 2% of the period.
Fix bus ordering in Liberty

File Changes

D .gitignore
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-a084b794bc0759e7a6b77810e01874f2
(12)
M compiler/characterizer/delay.py
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-f2b5d938f8790eded68e2dfa9ec12bec
(2)
M compiler/characterizer/lib.py
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-34f6b2f3aef9758fca654912693337d3
(15)
M compiler/characterizer/stimuli.py
https://github.com/VLSIDA/OpenRAM/pull/80/files#diff-9765eb221da9dfb7d121ddbe35fd3e90
(23)

Patch Links:

https://github.com/VLSIDA/OpenRAM/pull/80.patch
https://github.com/VLSIDA/OpenRAM/pull/80.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/VLSIDA/OpenRAM/pull/80, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC67SL7CVQMZK25J2IFCZMDR3NRJXANCNFSM4OYZ4ZEQ
.

--
Matthew Guthaus
Associate Dean of Graduate Studies
Professor, Computer Science & Engineering
Baskin School of Engineering
University of California Santa Cruz
https://www.soe.ucsc.edu/people/mrg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/VLSIDA/OpenRAM/pull/80#issuecomment-657761147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC63FWKKG3FMTHM46OCBZILR3NRR7ANCNFSM4OYZ4ZEQ.

I pushed a new commit, which includes a merge of your dev branch, and the .gitignore. This should bring us at the same level, .gitignore wise.

I have also added the following additional enhancements:

Fix for leakage subtraction from dynamic power measurements (removed the 50X factor)
Added --num_threads command line option
Modified POST=0 if purge_temp is True, else POST=1.

This code also adds support for Empyrean's ALPS simulator.

Hi David,
I'm seeing some regression issues with this contribution:
runTest (21_hspice_delay_test.timing_sram_test) ... ERROR: file testutils.py: line 151: NOT CLOSE	disabled_write1_power	-0.006	0.187	diff=103.1%
ERROR: file testutils.py: line 151: NOT CLOSE	write1_power	0.032	0.266	diff=87.8%
ERROR: file testutils.py: line 151: NOT CLOSE	write0_power	0.095	0.333	diff=71.5%
ERROR: file testutils.py: line 151: NOT CLOSE	read0_power	0.205	0.301	diff=31.8%
ERROR: file testutils.py: line 151: NOT CLOSE	disabled_write0_power	0.047	0.178	diff=73.7%
ERROR: file testutils.py: line 151: NOT CLOSE	read1_power	0.205	0.301	diff=31.7%
ERROR: file testutils.py: line 139: Results exceeded 25.0% tolerance compared to golden results:
Also, the .lib results in the "golden" directory have changed. If the new ones are correct, can you update them with correct results?
file1=/tmp/openram_gitlab-runner_18147_temp//sram_2_16_1_freepdk45_FF_1p0V_25C.lib
file2=/home/gitlab-runner/builds/2fd64746/0/mrg/PrivateRAM/compiler/tests/golden/sram_2_16_1_freepdk45_FF_1p0V_25C_analytical.lib
ERROR: file testutils.py: line 242: MISMATCH Line (64):
downto : true;
!=
}
ERROR: file testutils.py: line 242: MISMATCH Line (65):
}
!=
ERROR: file testutils.py: line 242: MISMATCH Line (66):
!=
type (addr){
ERROR: file testutils.py: line 242: MISMATCH Line (67):
type (addr){
!=
base_type : array;
ERROR: file testutils.py: line 242: MISMATCH Line (68):
base_type : array;
!=
data_type : bit;
ERROR: file testutils.py: line 242: MISMATCH Line (69):
data_type : bit;
!=
bit_width : ;
ERROR: file testutils.py: line 242: MISMATCH Line (70):
bit_width : ;
!=
bit_from : ;
ERROR: file testutils.py: line 242: MISMATCH Line (71):
bit_from : ;
!=
bit_to : ;
ERROR: file testutils.py: line 242: MISMATCH Line (72):
bit_to : ;
!=
}
ERROR: file testutils.py: line 242: MISMATCH Line (73):
downto : true;
!=
ERROR: file testutils.py: line 242: MISMATCH Line (74):
}
!=
cell (sram____freepdk){

I will take care of these.

On Aug 3, 2020, at 1:59 PM, Matt Guthaus<EMAIL_ADDRESS>wrote:
Hi David,
I'm seeing some regression issues with this contribution:
runTest (21_hspice_delay_test.timing_sram_test) ... ERROR: file testutils.py: line 151: NOT CLOSE	disabled_write1_power	-0.006	0.187	diff=103.1%
ERROR: file testutils.py: line 151: NOT CLOSE	write1_power	0.032	0.266	diff=87.8%
ERROR: file testutils.py: line 151: NOT CLOSE	write0_power	0.095	0.333	diff=71.5%
ERROR: file testutils.py: line 151: NOT CLOSE	read0_power	0.205	0.301	diff=31.8%
ERROR: file testutils.py: line 151: NOT CLOSE	disabled_write0_power	0.047	0.178	diff=73.7%
ERROR: file testutils.py: line 151: NOT CLOSE	read1_power	0.205	0.301	diff=31.7%
ERROR: file testutils.py: line 139: Results exceeded 25.0% tolerance compared to golden results:
Also, the .lib results in the "golden" directory have changed. If the new ones are correct, can you update them with correct results?
file1=/tmp/openram_gitlab-runner_18147_temp//sram_2_16_1_freepdk45_FF_1p0V_25C.lib
file2=/home/gitlab-runner/builds/2fd64746/0/mrg/PrivateRAM/compiler/tests/golden/sram_2_16_1_freepdk45_FF_1p0V_25C_analytical.lib
ERROR: file testutils.py: line 242: MISMATCH Line (64):
downto : true;
!=
}
ERROR: file testutils.py: line 242: MISMATCH Line (65):
}
!=
ERROR: file testutils.py: line 242: MISMATCH Line (66):
!=
type (addr){
ERROR: file testutils.py: line 242: MISMATCH Line (67):
type (addr){
!=
base_type : array;
ERROR: file testutils.py: line 242: MISMATCH Line (68):
base_type : array;
!=
data_type : bit;
ERROR: file testutils.py: line 242: MISMATCH Line (69):
data_type : bit;
!=
bit_width : ;
ERROR: file testutils.py: line 242: MISMATCH Line (70):
bit_width : ;
!=
bit_from : ;
ERROR: file testutils.py: line 242: MISMATCH Line (71):
bit_from : ;
!=
bit_to : ;
ERROR: file testutils.py: line 242: MISMATCH Line (72):
bit_to : ;
!=
}
ERROR: file testutils.py: line 242: MISMATCH Line (73):
downto : true;
!=
ERROR: file testutils.py: line 242: MISMATCH Line (74):
}
!=
cell (sram____freepdk){
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/VLSIDA/OpenRAM/pull/80#issuecomment-668238584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC63FWORPYUIOD75HHC4AKTR64QJ7ANCNFSM4OYZ4ZEQ.

There are still errors in the unit tests, but this may just be replacing the "golden" results with updated ones. I'll take a look at this soon.

Hi Prof Guthaus,
Yes, I will take care of those too.
-dave
Sent from my iPhone

On Sep 29, 2020, at 6:59 AM, Matt Guthaus<EMAIL_ADDRESS>wrote:

There are still errors in the unit tests, but this may just be replacing the "golden" results with updated ones. I'll take a look at this soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


作用域变量也被.value了

Describe the bug

Reproduction
❤
System Info
❤

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

The issue is caused by a conflict between the JSX directive and reactivity transform. For now, avoid using the same identifier in both reactivity transform and JSX directive.

/cc @zhiyuanzmj

Oh, JsxDirective should be executed before ReactivityTransfrom


update Wallets doc page

Update the wallets page to include the updates made here
https://github.com/celo-org/celo-monorepo/commit/258083816dd37a5fb2b486f66e976e031aa01130#diff-ae04f052d7be6458ee093327ccd1c092565224fdc1bc95427add2353cc8e69a9
and here
https://github.com/celo-org/celo-monorepo/commit/7c31d37ab75ac545eaeaba63baba08e14b7b71df#diff-ae04f052d7be6458ee093327ccd1c092565224fdc1bc95427add2353cc8e69a9

included here https://github.com/celo-org/docs/pull/36


RedirectToCanonicalUrlAttribute lowercase rule breaks password reset tokens

RedirectToCanonicalUrlAttribute's lowercase rule should probably only force URL's path part to be lowercase. QueryString often contains case-sensitive data as is the case with ASP.NET 5 Identity's password reset and email confirmation links with the security tokens which are case-sensitive. Using the lowercase rule breaks the token authorization since the token is altered.
Maybe this part should be deleted, or give more control over the rule:
https://github.com/RehanSaeed/ASP.NET-MVC-Boilerplate/blob/master/Source/MVC6/Boilerplate.Web.Mvc6/Filters/RedirectToCanonicalUrlAttribute.cs#L151-L162

If you allow lower/upper case differences in the query string of a URL, then those are different URL's according to search engines. That said, there are times when you want to allow upper case query string parameters so:
I added a new [NoLowercaseQueryString] last night which you can add to the account controller. This allows uppercase characters in the query string. You can update to the latest Boilerplate.Web.Mvc6 NuGet package, I'll do the same for MVC 5 soon.
Please give this a try and let me know if you have any issues.

I tested out ASP.NET Identity, using the new [NoLowercaseQueryString] attribute on the AccountController (Or just the actions where it is needed) does the trick. All released in the NuGet update.

Seems like a good solution and works for me, thanks.

Had trouble getting forgot password functionality working, but after debugging I noticed that the whole code was in lower case and I remembered that there was a setting for converting all URLs to lower case. Adding the [NoLowercaseQueryString] attribute to the ResetPassword view solved this, thanks for implementing it!


Rename ordered_steps to ordered_stories

Proposed changes:
The ordered_steps function was actually returning a list of stories (with the steps within each story ordered as a DAG). So it makes more sense to call it ordered_stories (since it's a list of stories that are ordered) as opposed to ordered_steps.
Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[ ] reformat files using black (please check Readme for instructions)

Oka


M03-Configuring Agent Pools and Understanding Pipeline Styles: Agent Pool needs to be removed from pipeline

Contact Details
No response
What happened?
Exercise: 03
Task: 01
Step: 04 (adding)
Description of issue:
In the lab "Configuring Agent Pools and Understanding Pipeline Styles" we import from file /.ado/eshoponweb-ci-pr.yml and label the pipeline "eShopOnWeb". In the lab we then change the file to use the created agent pool which is deleted at the end of this exercise. But the pipeline is still configured to use the pool.
Since the eshoponweb-ci-pr.yml is at least used in the following lab again, it needs to be reverted to its previous state.
Different solutions:

working with a separate file for this pipeline (or the next)
using a branch and revert as part of the cleanup
manually changing the vmImage line again

Lab
Configuring agent pools and understanding pipeline styles
Relevant screenshots
No response
Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

fixed with PR #538


lxc: Switches to use Instance functions of client package

Switches lxc CLI tool to use the client Instance functions.
Adds --instance-only command line param and updates --container-only help to indicate it is deprecated (both still work).

Testsuite passed

@stgraber apart from the .pot file issue. I've commented that out locally and run the tests and this passes.

@tomponline the way you solve those is with:

make i18n
git add po/
git commit -s -m "i18n: Update translation templates" po/

@stgraber thanks, I'd tried committing them, just without that specific message.

@stgraber ready for review when you get a chance.

Looks good to me


fix: create tool folders with 775 for openshift

Closes #304
Closes https://github.com/whitesource/renovate-on-prem/issues/193 after updating.

@viceice Let me know if root created tool folders should keep 755.
In that case I can add a line to make a switch


Need URL changed for project

This is regarding project https://bestpractices.coreinfrastructure.org/en/projects/6714
The git hub url changed for our project from Secure Device Onboard(FDO) to Fido Device Onboard (FDO).  Need to change from  https://github.com/sdo-device-onboard to https://github.com/fido-device-onboard.   However, when I attempt to change it in the badge app under
What is the URL for the version control repository (it may be the same as the project URL)?
I get the following error
You may only change your repo_url if it is (1) more than 180 days since it was last changed, or (2) it is only a switch between http and https. Please file an issue (with rationale) if you need to change it sooner.
The justification is found at  https://www.lfedge.org/projects/fidodeviceonboard/
Origin & History
FIDO Device Onboard was originally known as Secure Device Onboard and was released as open source software by Intel Corporation and joined LF Edge as a Stage 1, “At Large” project in February 2020, based on Intel® SDO Version 1.8.
The original Intel® SDO launched in September 2017 as a stand-alone Intel product reflecting the original SDO protocol and architecture specifications. With the complex ecosystem needed for success of this product, Intel decided to open source and donate the core functions of Intel® SDO to the community in order to drive an industry standard, resolve key industry friction points, and allow the IOT market to grow faster. Intel believes that open sourcing with a vibrant ecosystem will allow SDO to evolve into a true industry standard.

Thanks for letting us know! The limited renaming rule is to counter some weird attacks. I've changed the repo URL per your request.


WebGL Errors

Hi,
Thanks for the library, I know this has been over a year, but wanted to ask what these errors are all about, the errors show up on initial page load, any subsequent page loads, no errors.
The Code:
https://hastebin.com/esuzebunox.js

and then after a refresh, the colors are working and nothing is logged in the console.

Hello,
I am not sure why this happens, but the first thing I would guess is the first time the element where the canvas is bound is not ready. Try adding some delay with setTimeout


Updated for swift 2.2 syntax

I've updated the project to use Swift 2.2 syntax.  I also made a slight change to the unit tests to make them runnable (had to change the NSCalendar property on the tests to be of type "NSCalendar!").
I figure this update will be helpful for anyone (like myself) that happens to find the article on the VIPER architecture now and want to try loading up the sample Swift project with the updates to Swift.

I realized that this repo was just a fork of the original project from Mutual Mobile.  They have the appropriate changes in their repo there, so there's no point in this pull request when you can just grab the changes from them.


Fix sidebar

There's two major fixes in this PR.

fbc5f54aa77d490b5a18835b01ce43c3148ea596 Was implemented on the anchor tags to ensure the navigation bar (for smaller viewports) had enough spacing around them. And also to create a consistent background for the navigation items and a separate background for the other sections in the navigation bar (like the slack item in the navigation)
Noticed Captain's Log text color was extremely hard to see so it's resolved with e4192447d4e376c2a281117e9f09d793efc12d94

to

Merging it .


Add Admin Tag

Where necessary, admin tags should be added to all nuspec's where an administrative helper function is being used.  This is inline with the package validator wiki article here:
https://github.com/chocolatey/package-validator/wiki/AdminTagShouldBeUsedWhenUsingAdminHelper

@gep13 did you do this manually or script?
rel: https://github.com/dtgm/chocolatey-packages/issues/213

@dtgm fairly sure that this would have been done manually, after doing a search for each of the admin helpers.  I have started doing what you do and adding the script that is used in PR's where a chunk of work was done.


Feat: Support both Google Colab and Paperspace Gradient notebook architectures

Goal
Paperspace offers a public notebook with free GPUs that for some users prefer to use instead of Google's Colab product. This PR adds notebook compatibility for both Google Colab and Gradient. Gradient has a few differences including persistent storage that does not require Google Drive and a slightly different storage model that supports multiple files and subdirectories.
Major Changes:

refactor hardcoded Google Drive and /content directories as configurable {persistent_storage_dir}, {working_notebook_dir}, and {packages_dir}
check for if IN_PAPERSPACE as opposed to in Colab to set up

Test Plan:

[ ] confirm works in Google Colab
[ ] confirm works in Paperspace Gradient
[ ] test all configurations

@TheLastBen Thanks for all your work in this repo! I was trying to get this to work as a notebook in Paperspace and figured it might be more useful upstreamed. Let me know if this direction of making the directories more modular is an abstraction that you would support.

It's great to see Paperspace engaged in bringing great Colabs from the community to Paperspace. Great work!

@dte Hi, contact me on discord : TheLastBen#0087

PLEASE YES!!!!

Here's some repos that might help:

stable-diffusion-paperspace
universal-fast-stable-diffusion

Warning: I haven't updated this in a long time, but you should be able to use the basic things (working_dir and site_packages)


Added Support for Quantum Conumdrum

I could not get the game to work if i added a custom layer for it. I wanted to apply color enhancing, so I added a native layer.

Thanks for the contribution!


DateRange component changes months if I select whole date range in one Calendar

Hello,
If you try to setup default DateRange component <DateRange/> and try to select whole date period on left calendar, you will see that component rapidly change months.
I can reproduce on master branch's demo, but can't on http://adphorus.github.io/react-date-range/
Seems like something is broken.

I had the same issue

It works correctly just in 0.2.4 version ((

Seeing this issue as well.


Purpose of this package

I saw this in my GH feed and was hooked in by "cassette" + "overlay" :). Is/will there be some writeup about what this library is good for, how it compares to https://github.com/JuliaCompilerPlugins/Mixtape.jl and the original Cassette, etc?

It's just a small package that uses the cassette mechanism to provide overlay table support. Overlay tables can be used directly by abstract interpreters, but tend to have a bad debugging experience, because the absint interface isn't particularly stable, so we don't have any debug tooling for it. This helps a bit.


win-10 low on disk space for local Temp directory.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
win-10 low on disk space for local Temp directory.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Win-10 low on disk space on local Temp directory, removing old files and directories local Temp directory to clear the error.


Is Manticore worth it?

What's your opinion on Manticore? It's compatible with ThinkingSphinx, correct?
It doesn't seem like the performance is worth it. We're currently running Sphinx 2.3.2-id64-beta (4409612).
https://manticoresearch.com/2019/01/28/manticore-2-7-5-vs-sphinx-3-1-1/

I'm not sure how performance has changed with Manticore in their 3.x releases, but yes, Thinking Sphinx supports Manticore as well - well, for the core functionality that Sphinx has as well. Manticore seems to be more active at the moment in terms of development, and they're adding additional features that TS doesn't take advantage of.
Sphinx is perhaps adding other things too, but - likely prompted by Manticore being a fork - it's gone closed source, so it's harder to get a sense of progress.
Right now: it may be worth trying both and seeing which performs better for your setup. In the future: if you see features in Manticore that you'd like TS to support, do let me know :) Same goes for any new Sphinx features too, of course!

Thanks Pat!


Point GitHub workflow Node version to .nvmrc

Current dependencies on/for this PR:

master

PR #81

PR #82   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: RGnphUs1ewEbeV56UCBG


Print clearer error message to console if user tries to launch tui when no .bins are present

Done in 0.9.4


Clipping gradient w.r.t. inputs at each time step for RNN/LSTM

New feature request:
While training LSTMs, is it often useful to clip the derivates w.r.t the inputs into the LSTM at each time step (Alex Graves, Sec 2.1). This is different from clipping the overall gradient. Theano supports this feature with theano.gradient.grad_clip(tensor_var). Can we have a similar feature in tensorflow?

It seems reasonable to add a clip_gradient op.  That said, you can always look through the output of tf.gradients(), find the gradient you want to clip, and pass it through a thresholding function before passing it to the optimizer.  That'll do what you want.  See ops/clip_ops.py to get a sense of how one may inspect the set of gradients and add modifications to some/all of them.
Marking as "contributions welcome" for the clip_gradient op.  Happy to review.

anyone working on this? If not, I'll be glad to work on it.

any update?

No updates but we did just look at this issue during a big bug scrub.

@alextp do you know of a way to do this with weights?

It's easy to implement a clip_gradient "op" which acts like identity but clips the gradients using tfe.custom_gradient (which works normally in graph mode). Something like
@tfe.custom_gradient
def clip_gradient(x, clip):
  def grad(dresult):
    return [tf.clip_by_norm(dresult, clip)]
  return x, grad


Ability to access network during build

Docker build now supports a --network flag that can, for example, let you access docker-compose services running on the host in your build (similar to how you can access the habitus server). Is it or would it be possible to have access to that through a habitus parameter?

Thank you @neverfox
I think this can definitely be a possible forward as long as it's not only limited to compose (habitus uses Docker daemon directly)

Hi!
Indeed it isn't docker-compose specific. Actually, I had been suggested by a moby maintainer to try it for a secure secret injection to build context.
Implemtation-wise, would introducing a network key in build.yaml would be ok?
Like:
build:
  version: 2016-03-14
  steps:
    test:
      name: test
      dockerfile: Dockerfile
      network: myprivatenet

@neverfox Oh, btw, what was your concrete use-case for this? Are you trying to inject secrets in a way other than habitat's?

@neverfox Or perhaps you'd like to run integration tests w/ e.g. mysql inside docker-build?

Let me say no to my own suggestion above!
Similarly to #87, setting network in build.yml isn't a good practice, as it basically means that your build depends on existence of a specific network. In other words, the network in which a build is run is an operational concern. We shouldn't leak it to build.yml.
More concretely, there might be a shared secret network per project for builds in CI, and a default bridge network for builds in my own machine. Fixing it in build.yml doesn't make sense.
I'd rather suggest to add a -network flag to specify in which docker network the builds are being run.

I have submitted #94 to address this.


Auth suggestions

Captchaless login for skype accounts
(Windows) Live SOAP support for Microsoft accounts

Live SOAP request:
https://login.live.com/RST2.srf
http://hastebin.com/tojuzejoge.xml
POST/application/json
(Stripped from Tridan Client ("Ghost Client"), which uses MSNP over RESTFUL, but that should be the right wsa address)

Captchaless login (less hacky)
POST: https://api.skype.com/login/skypetoken
DATA: scopes=client&clientVersion=0%2F<IP_ADDRESS>%2F%2F&username=itsgghost&passwordHash={REDACTED}
Hash = the classic "username\nskyper\npassword" base64 encoded MD5 BINARY

:+1: I will try to implement these after midterms. Thank you for the help!

Might be worth noting when converting the md5 to base64, it must be in a binary form and not an ascii string.


animated profile card

connect with me -
Github : https://github.com/Durgesh4993
LinkedIn : https://www.linkedin.com/in/durgesh4993/
And don't forget to star

done


Some question about the evaluation on KITTI dataset

Hi,
Thanks for the amazing mmdetection3d which helps me a lot when I develop me own 3D detection method.
I have some general question about the evaluation part and wonder if I could get some help from here.
My 3D detection method predict 3D bounding box for each car instance the the whole scene, but few car instances have gt labels. Thus, those bounding boxes for unlabeled car instances are calculated as FP samples and leads to bad evaluation result. Could you please tell me how to modify my method and avoid such a situation?
Best regrads

Do you mean some car instances don't have corresponding GT boxes? Can you show some examples to help me better understand your questions?

Hi @Wuziyi616
here are some examples
red boxes are predictions, green boxes are gts
As you can see, my method predict bounding box for some car instance without gt labels
will they be calculated as FP samples and make the evaluation result worse?

Hi, it seems indeed a problem to me. However, I am not very familiar with KITTI dataset (I personally am responsible for 3D Seg code). I am asking someone in our team and he may return to you soon.

I asked someone and they told me the KITTI dataset has some truck instances that are not used for training (we only use car). But I think the instances missed in your visualizations are indeed cars not trucks. Can you provide the data id of these results and I will look into it?

Hi @Wuziyi616,
Thanks for your help!
the file ids of the above test result are 000019 and 000025

I did a quick visualization and I didn't miss that GT in data 000019 (shown below)

However in data 000025, the car in the left is indeed not annotated (shown below)

I look into the raw data and find out that, the missed car's GT is not provided by KITTI. It's true that it will be regarded as FP and affect the evaluated performance. But everyone suffer from this and that's fair? Did you discover many such issues? Or maybe something is wrong with your code (e.g. I didn't miss that car in data 000019)?
Some reasons that a GT might be misses:

The number of points belonging to that instance is very small, and it's filtered out by our data pre-processing. These instances may seem obvious in image, but very sparse in LIDAR point cloud.
KITTI annotated GT in LiDAR point clouds rather than images, so some instances which are obvious in images might be hard to distinguish given only point cloud

Hope this can help you!

Hi @Wuziyi616 ,
Sincerely thanks for your patience and help!
I am just wondering how to reduce the negetive influence comes from those unlabeled car instance. Cause I use semantic instance segmentation module to find car instances and predict bbox for each instance. Hence, there are lots of bounding boxes corresponding to unlabeled instance and they will be calculated as FP. Could you please give me some advice about how to improve and deal with such a situation?
Best regards

I don't think there is an easy way to achieve so because, after all, this issue is caused by the dataset. I suggest you to test some of our pre-trained models on KITTI, and see if they are also affected? If so, then the comparison is also fair I think?
Also I really don't think such missing GT is very common in KITTI. I may be wrong because I am not familiar with it.

Feel free to re-open this issue should you have any further questions :)


Not hyper linking URLs in Footer and Side of PDF pages.

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Chrome 74.0.3729.169
Operating system and its version: Windows 7
PDF.js version: 2.0.943
Is a browser extension: No

Steps to reproduce the problem:

Pdf with link in footer and side area

What is the expected behavior? (add screenshot)
PDFJS should make links of URL.
In Chrome's default pdf reader links are working, but PDF JS is rendering them as plain text.
Yellow highlighted urls in below screen shots are not working

while the links which are not in footer or side are working fine

Any help will be highly appreciated
Thanks!

Attach (recommended) or Link to PDF file here:

Without this information, the issue will be closed as INVALID.
Most likely, given the missing information, this is a duplicate of issue #3172.

This is the PDF file
https://www.tandfonline.com/doi/pdf/10.1080/13528165.2019.1593732

It turns out that https://github.com/mozilla/pdf.js/issues/10932#issuecomment-506365973 was spot on, hence this should be closed as a duplicate of #3172.


Cannot open drop-down lists in settings in Hyprland

I cannot open any of the drop-down lists in Spotify's settings when using this theme with Spicetify and using Hyprland as my window manager.
This issue was not present in the pre-#48 version of the theme.

this has nothing to do with this theme

My bad. Thanks anyways.

My bad. Thanks anyways.

did you figure out the issue? couldn't recreate it personally lol

did you figure out the issue? couldn't recreate it personally lol

Not really, but I think it's most likely a NixOS thing, judging by this issue that describes having the same problem she using this theme: https://github.com/the-argus/spicetify-nix/issues/44


Support Glue catalog in iceberg

Problem
Currently, Glue catalog is not supported for spark iceberg integration.
Solution
Support Glue catalog based on the 'catalog-impl' property (in this case we will not have a 'type' property).

Note: All schema changes require discussion. Please link the issue for context.

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
One-line summary:
Checklist

[ ] You've signed-off your work
[ ] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

Hi @nataliezeller1, integration test for this would be perfect, but may be a tedious task. What if we just added unit test here
https://github.com/OpenLineage/OpenLineage/blob/main/integration/spark/spark3/src/test/java/io/openlineage/spark3/agent/lifecycle/plan/catalog/IcebergHandlerTest.java ?

Hi @nataliezeller1 , hope all is well. Would really love to get this contribution in, popping this back on your radar, did you see @pawel-big-lebowski 's comment above?

hi @harels @pawel-big-lebowski
Sorry for the delay, I've added the test :)

@nataliezeller1 Thanks. What a start for the year 🥇 💯


Task34

Completed

SourceCode/2024/Basics-April2024/Madhu/Task34/project.json
Subtraction.xaml

Log Message not used in workflow Subtraction. Please consider removing or using this message to provide more context about the flow path.
Activity Assign has a default name. Consider adding a more descriptive title to make it easier to understand what this activity does.

Addition.xaml

Log Message not used in workflow Addition. Please consider removing or using this message to provide more context about the flow path.
Activity Assign has a default name. Consider adding a more descriptive title to make it easier to understand what this activity does.

dispatcher.xaml

Log Message not used in workflow dispatcher. Please consider removing or using this message to provide more context about the flow path.

performer.xaml

Log Message display name is defined many times. Current allowed threshold is 1. Code contains 3. Please avoid duplicate names.
Flowchart Flowchart is used in a secondary layer. It's recommended to use it only in the top layer for maintainability and readability reasons.
Potential infinite loop detected in Flowchart. Make sure to add a termination condition or document your code if this is intentional.

Variable Addition

Variable Addition is not used. Please consider removing unused variables.

Score: 4/5

@madhu-1219
Task -33
Code verified.
Task -34
Code verified.


np.nan_to_num ValueError: ValueError: Unable to avoid copy

https://tutorial.xarray.dev/fundamentals/03.1_computation_with_xarray.html#applying-arbitrary-functions
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[6], line 1
----> 1 np.nan_to_num(ds.sst, 0)

File ~/miniforge3/envs/xarray-tutorial-v1/lib/python3.12/site-packages/numpy/lib/_type_check_impl.py:460, in nan_to_num(x, copy, nan, posinf, neginf)
    366 @array_function_dispatch(_nan_to_num_dispatcher)
    367 def nan_to_num(x, copy=True, nan=0.0, posinf=None, neginf=None):
    368     """
    369     Replace NaN with zero and infinity with large finite numbers (default
    370     behaviour) or with the numbers defined by the user using the `nan`,
   (...)
    458     array([222222.+111111.j, 111111.     +0.j, 111111.+222222.j])
    459     """
--> 460     x = _nx.array(x, subok=True, copy=copy)
    461     xtype = x.dtype.type
    463     isscalar = (x.ndim == 0)

ValueError: Unable to avoid copy while creating an array as requested.
If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x).
For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.

Seen upgrading package versions (#270) if numpy>=2 in environment

Looks like the tutorial code should just use named keywords instead of positional
np.nan_to_num(ds.sst, 0) is actually intended to be np.nan_to_num(ds.sst, nan=0) but according to the docstring order is actually setting copy=0 (copy=False):
np.nan_to_num(x, copy=True, nan=0.0, posinf=None, neginf=None)


Start kube-keepalived-vip via dumb-init

Best practice would be to put dumb-init into the ENTRYPOINT and kube-keepalived-vip into CMD. This commit puts both of them into ENTRYPOINT to be backwards compatible with current deployments which overwrite CMD.
I've tested the resulting image as a replacement for a deployment which has been running 0.29 up to now and have found no issues so far. Everything is as expected.
Fixes aledbf/kube-keepalived-vip#66
Signed-off-by: Lars Fenneberg<EMAIL_ADDRESS>

@elemental-lf thanks!

Coverage remained the same at 16.54% when pulling 6196d677d76505e5e362b37cfcb8f3c26b45f29d on elemental-lf:dumb-init into<PHONE_NUMBER>7279feb116e95c55152bd3c5a48b45 on aledbf:master.


feat: hex and base64 encoding

Super weird error, never encountered this before. Thoughts @kt3k?

That is quite the error -- it works fine locally on my own machine as well.

Super weird error, never encountered this before. Thoughts @kt3k?

I guess Deploy is not happy with the branch name, which conflicts with main of this repo. Could you try to change the branch name?


update examples for react 0.14.0

@mjackson should I fix the imports here as well?

Ya, that would be great just to keep it consistent.

@mjackson done!

thanks for the fix @mjackson

You're welcome ;)
On Thu, Oct 8, 2015 at 3:25 PM Mateusz Zatorski<EMAIL_ADDRESS>wrote:

thanks for the fix @mjackson https://github.com/mjackson
—
Reply to this email directly or view it on GitHub
https://github.com/rackt/react-router/pull/2191#issuecomment-146703650.


v0.6.2

#712  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alanvardy and the rest of your teammates on  Graphite


New version: Mozilla.Thunderbird version 115.2.0

Pull request has been created with WinGet Automation :rocket:

Most likely validation will fail for this one also. See https://github.com/vedantmgoyal2009/vedantmgoyal2009/issues/1334


postinstall script fails on Linux when installing globally using sudo

When installing the package on Linux using sudo:
"sudo npm install -g nwjs"
The postinstall script fails because the process loses elevated privileges most likely due to invoking the "node" command.
/usr/bin/nw -> /usr/lib/node_modules/nwjs/nw

><EMAIL_ADDRESS>postinstall /usr/lib/node_modules/nwjs
> node postinstall.js

shell.js: internal error
Error: EACCES: permission denied, mkdir '/root/.nwjs'
    at Object.fs.mkdirSync (fs.js:846:18)
    at mkdirSyncRecursive (/usr/lib/node_modules/nwjs/node_modules/shelljs/src/mkdir.js:11:8)
    at /usr/lib/node_modules/nwjs/node_modules/shelljs/src/mkdir.js:63:7
    at Array.forEach (native)
    at _mkdir (/usr/lib/node_modules/nwjs/node_modules/shelljs/src/mkdir.js:48:8)
    at /usr/lib/node_modules/nwjs/node_modules/shelljs/src/common.js:240:23
    at Object.<anonymous> (/usr/lib/node_modules/nwjs/postinstall.js:6:1)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
npm ERR! Linux 4.8.6-1-ARCH

The workaround I found was elevating to root before invoking npm and then manually creating the cache directory for the correct user "mkdir ~/.nwjs". However since this is the first time I've encountered an issue like that with a global npm package this can probably be considered a bug.
Another issue with creating the directory at install time is: Should the directory ever be removed or the command be invoked by another user the nw command will fail:
> nw ls
Error: ENOENT: no such file or directory, scandir '/home/benni/.nwjs'

This could be fixed if the command would create the directory at runtime and not during installation.

I think I ran into the same problem: https://gitter.im/nwjs/nw.js?at=5842fc4290f847041bf2fb7e

https://gist.github.com/mythril/31eb0d99297d8e01b2d49a813fd9551c

my solution:
first make directory manually
mkdir /home/user/.nwjs
and then
sudo npm i -g nwjs
xubuntu 16.04


cmd/cue: non-concrete string value when tool/file.Create depends on stdout from tool/exec.Run step

What version of CUE are you using (cue version)?

$ cue version
cue version +304b02e linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
exec cue cmd writefile
-- cue.mod/module.cue --
module: "mod.com"
-- hello.txt --
Hello, world!
-- x_tool.cue --
package x

import (
	"strings"
	"tool/exec"
	"tool/file"
)

command: writefile: {
	echo: exec.Run & {
		cmd:    "echo hello.txt"
		stdout: string
	}

	write: file.Create & {
		filename: strings.TrimSpace(echo.stdout)
		contents: "Hello, world!"
	}
}

What did you expect to see?
Succeess.
What did you see instead?
command.writefile: invalid operands _|_(error in call to strings.TrimSpace: non-concrete value string (and 1 more errors)) and "" to '!=' (type _|_ and string)

Updated the title to better reflect the issue. This problem appears to be limited to the case where a tool/file.Create depends on the stdout from a tool/exec.Run step, as above. Because there are various tests that demonstrate that dependencies between tasks (including tool/exec.Run tasks) are working just fine.

This issue has been migrated to https://github.com/cue-lang/cue/issues/461.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


rxjs as dependency

Wondering why you choose to mark rxjs as peerDependency instead of normal dependency.

no special reason. its a transitive dependency as such peer felt right for a library style project


Crash related to permissions

Minecraft version & Mod Version: 1.12.2 | 1.14.9
Single player or Server: Server
Describe problem (what you were doing / what happened): Just running, the game crashed
Crash log (if any): https://pastebin.com/3vqVPGPe

This happens when I have torch placer on

Thanks for reporting! This was fixed in a previous version https://github.com/PrinceOfAmber/Cyclic/issues/796

Sorry for reporting already fixed bug, I was just playing a modpack with outdated version of the mod when it happened.


⚠ Mobitopup has degraded performance

In a7fae48, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 9774 ms

Resolved: Mobitopup performance has improved in 9022fd2.


Create presentation to share with NHSx about the NHS digital service manual, related to service assessments

What
Create a presentation that details the NHS digital service manual and its history for an audience of design assessors from NHSx to share how the service manual can help with service assessments.
Why
So design assessors can utilise guidance, standards and principles that already exist in the NHS digital service manual to do service assessments against.
Tasks

[x] Consolidate the slides Karl shared in his handover
[ ] Add detail about the GOV.UK and NHS service standard, which both say that teams need to use the GOV.UK or NHS design systems (this is what design assessors will be assessing people against)
[ ] Add detail around the fact that the GOV.UK and NHS design systems have a lot in common but some differences too
[x] Add detail around the ways that teams can engage with the service manual, in particular the service manual public Slack workspace, where they can also get input from other NHS teams

Started a presentation that originated with some slides Karl worked on, covering the design system. I have expanded the deck to cover a wider (but still high-level) overview of the NHS digital service manual: https://docs.google.com/presentation/d/1ZG33iwcIHQrdwy9pKK8uU6XbqSmsE_nYFdFOrC3Yw7o/edit?usp=sharing

A lot of the detail which could be suitable to add to this deck could be found in the "vision and strategy for the NHS digital service manual" deck @georginaplatt is working on


isNotHighlighted has bad rexExp

Hey.
function isNotHighlighted(language) {
    return /no-?highlight|plain|text/.test(language);
}

This peace of code has a bug.
When I use such class as "text-toggle__content js-clipboard-text" for PRE or CODE,  highlight.js isn't initialize.
Can you fix this regular expression please, that is detect only "text" class without prefixes(sufixes).
Recommend do the same thing with another words in regular (no-?highlight an plain)!
You can use this regExp
/no-?highlight|plain|(?:^|\s)text(?:\s|$)/

Thank you.

Alright, I fixed the regular expression to no long match class names containing a no highlight keyword. Thanks for reporting this.


sketch-measure is not compatible to m1 MacBook (ARM architecture)

Model Name:	MacBook Air
Model Identifier:	MacBookAir10,1
Chip:	Apple M1
Total Number of Cores:	8 (4 performance and 4 efficiency)
Memory:	8 GB

Yeah, I have the same issue.

You can use "sketch-meaxure" pluging and update Sketch to 70.4.
Apparently, "sketch-measure" don't updated any longer.


Integrate Scheduled backup for Docker

Integrate Scheduled backup for Docker
This tool can be run as CronJob in Kubernetes for a regular backup which makes deployment on Kubernetes easy as Kubernetes has CronJob resources.
For docker, you need to create and execute a script from the host machine with crontab, so why not integrate crontab into it?
Integrate scheduled mode (normal as default mode, scheduled as scheduled mode so the container can still be running and backup database periodically depending on the period set by the user)
Integrate Crontab

Integrated


Reporter errors when test name is long (242 char limit)

Describe the bug
CI fails when test name is very long. On the CircleCI docker image I'm running the character limit is 242 characters for the file name. I have confirmed this manually by setting the test name such that the filename produced fails at 243 characters, but passes at 242.
This is very similar to https://github.com/presidenten/wdio-video-reporter/issues/1. Instead of setting the limit to 250, it should be set to 242 or be a configurable option.
Error: ENAMETOOLONG: name too long, mkdir '/home/circleci/lgc/ui-xxxxxxxxx-components/results/videos/rawSeleniumVideoGrabs/xxx-xxx-xxx--xxxxxxxxx-text-wrapping-and-truncation--in-standard-cells--should-reset-wrap-text-for-cells-of-a-column-and-header-action-changed-to-Clip-Text-when-wrapText-is-changed-to-false-in-columnDefinition--CHROME--07-28-2020--23-50-45-981

To Reproduce
describe("abcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsacaasddsdsdasdasdadaswd", function(){
it("abcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcsabcs", function() {
browser.url("https://webdriver.io");
assert.equal(1,2,"error");
});
});
Expected behavior
No errors when a test name is very long.
Environment (please complete the following information):

wdio-video-reporter version: 2.0.1
WebdriverIO version: 6.0.16
Mode: wdio testrunner
If WDIO Testrunner, running sync/async: sync
Node.js version: 12.16.2
NPM version: 6.14.4
Browser name and version: Chrome 80
Platform name and version: Linux

Sorry for the long wait! Im finally back after a long vacation and will have a look at this issue.
Ill make it into an option that defaults to 250chars to be backwards compatible.
I had a few incoming PRs that will be bundled together with the fix. So it will be fixed and released within a week or two.

Fixed in v3.1.0

Check the option maxTestNameCharacters
https://github.com/presidenten/wdio-video-reporter#normal-configuration-parameters

Awesome, thank you!


IPython 1.0dev is giving "ImportError: No module named kernelmanager"

From<EMAIL_ADDRESS>on 2013-04-30T14:59:02Z
spyder
Traceback (most recent call last):
File "/usr/bin/spyder", line 3, in <module>
start_app.main()
File "/usr/lib/python2.7/dist-packages/spyderlib/start_app.py", line 64, in main
from spyderlib import spyder
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 107, in <module>
from spyderlib.plugins.ipythonconsole import IPythonConsole
File "/usr/lib/python2.7/dist-packages/spyderlib/plugins/ipythonconsole.py", line 31, in <module>
from IPython.frontend.qt.kernelmanager import QtKernelManager
ImportError: No module named kernelmanager
## versions
dpkg -l |grep spyder
ii  python-spyderlib                                            2.2.0~ppa4~revno-2130~raring1                all          python IDE for scientists
ii  spyder                                                      2.2.0~ppa4~revno-2130~raring1                all          python IDE for scientists
## ipython
dpkg -l |grep ipython
ii  ipython                                                     0.13.2+3140-0~41~raring1                     all          enhanced interactive Python shell
ii  ipython-doc                                                 0.13.2+3140-0~41~raring1                     all          enhanced interactive Python shell - Documentation
ii  ipython-notebook                                            0.13.2+3140-0~41~raring1                     all          interactive Python html notebook
ii  ipython-notebook-common                                     0.13.2+3140-0~41~raring1                     all          interactive Python html notebook data package
ii  ipython-qtconsole                                           0.13.2+3140-0~41~raring1                     all          enhanced interactive Python shell - Qt console
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1374

From pierre.raybaut on 2013-05-01T05:29:03Z
As I understand:
Spyder 2.2 will support IPython 0.13 (0.13, 0.13.1, 0.13.2)
Spyder 2.3 will support IPython >=1.0
This should be written somewhere.
In the meantime, I've handled this error due to the fact that IPython 1.0 is not yet supported: see revision eef2db1f35a5 .
Status: Started

From ccordoba12 on 2013-04-30T14:18:35Z
Summary: IPython 1.0dev is giving "ImportError: No module named kernelmanager"  <span class="oldvalue"> (was: ImportError: No module named kernelmanager) </span>
Owner: ccordoba12

From ccordoba12 on 2013-04-30T14:17:35Z
This is due to a recent PR in the IPython side that breaks compatibility with 0.13.
It's going to be fixed in our side in 2.3 because it's not possible to make 0.13 and 1.0 work within the same codebase.
Labels: MS-v2.3 Cat-IPythonConsole

From<EMAIL_ADDRESS>on 2013-05-01T06:30:56Z
These two pages on the IPython Github site describe the source of the incompatibility with IPython 1.0. Spyder is not yet ready to handle the splitting of KernelClient from KernelManager and the new kernel/client pattern this requires. https://github.com/ipython/ipython/wiki/IPEP-12%3A-Splitting-KernelManager-and-KernelClient https://github.com/ipython/ipython/pull/3011

From<EMAIL_ADDRESS>on 2013-05-01T13:28:08Z
The commit https://code.google.com/p/spyderlib/source/detail?r=eef2db1f35a5582c50b8b6258666c9c577c774b0 was tested.
the program did not start:
spyder
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2086, in main
mainwindow = run_spyder(app, options, args)
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 1991, in run_spyder
main.post_visible_setup()
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 1029, in post_visible_setup
self.extconsole.open_interpreter_at_startup()
File "/usr/lib/python2.7/dist-packages/spyderlib/plugins/externalconsole.py", line 1141, in open_interpreter_at_startup
self.start_ipykernel()
File "/usr/lib/python2.7/dist-packages/spyderlib/plugins/externalconsole.py", line 1168, in start_ipykernel
self.main.ipyconsole.visibility_changed(True)
AttributeError: 'NoneType' object has no attribute 'visibility_changed'
after a spyder --reset:
the program started, but no IPython console is available.
I use Ubuntu 13.04,
ipython --version
1.0.dev
(from IPython PPA: https://launchpad.net/~jtaylor/+archive/ipython-dev )
after downgrading to
ipython --version
0.13.2
(ordinary Ubuntu package)
I get the IPython console!!!
THX Pierre.
So I guess the issue can be closed for V.2.2

From pierre.raybaut on 2013-05-02T01:45:01Z
This issue was updated by revision 1ebc50c40bca .
Fixes bug reported in comment #5.
Status: Fixed


[FEAT] is there anyway to add REST API for fetching data?

I think it would be cool to add some REST API to fetch this data from your server for third-party apps.
Maybe also I can help to build some cool frontend with this API :)

We are currently working on exactly that API, but we have not discussed whether we want it to be available to be used by third-parties.
You have the option to just host this project yourself and change the CORS-setting to your own liking, as this is a FOSS project.
We will have an internal discussion about it as I cannot decide this alone.
You have to understand, that we have concerns about increased traffic and as such increased loads on our own server, which we need to finance ourself. If the loads are drastically increased we have concerns about not being able to fund ourself anymore. This is also the reason we had to add a sponsored section, which we would have really liked to not have to add it, but we made a big minus every month and some mods had to pay it all of their own pockets

Okie, so now it's a work in progress because I cannot find this API in the source code. Any estimation to add this? Or maybe I can help somehow?

It is a WIP and currently only in the branch db-migration at https://github.com/ranimepiracy/index/blob/db-migration/piracymoe/api.py. We want to migrate fully away from github-pages to the self-hosted docker-image

Thank you, I will take a look

Take a look at https://github.com/ranimepiracy/index/blob/master/docs/API.MD, we would appreciate it if you use proper caching and don't abuse our service


DBZ-1400 Record with same flush LSN should not be skipped for the fir…

…st record
https://issues.jboss.org/browse/DBZ-1400

LGTM, merged.  Thanks @jpechane.


Add utilities functions in TypeScript

As is
There is not any TypeScript files to help us in this project.
To be

List up some features and use cases
Add utility functions

Doing
https://github.com/Kazuki-tam/vitam/tree/feature/%234


Installation of mne_icalabel

@rnawaz reposting in a separate issue.
Hello all, I am trying to install/import iclabel-mne but not successful. For a starting purpose I will try to execute the above example by @adam2392 but I am not sure what I am doing wrong. I tried to install mne-iclabel via pip install method mentioned in here via following
(NOTE: i am working in colab that's why exclamation mark before pip command)
!pip install --user -U https://api.github.com/repos/jacobf18/iclabel-python/zipball/main
and get the message that mne-icalabel-0.1.dev0 is successfully installed, see below
Collecting https://api.github.com/repos/jacobf18/iclabel-python/zipball/main
  Downloading https://api.github.com/repos/jacobf18/iclabel-python/zipball/main
     - 122.7 MB 1.2 MB/s
Collecting mne>=0.24
  Downloading mne-0.24.1-py3-none-any.whl (7.4 MB)`
     |████████████████████████████████| 7.4 MB 6.0 MB/s
Requirement already satisfied: numpy>=1.16.0 in /usr/local/lib/python3.7/dist-packages (from mne-icalabel==0.1.dev0) (1.21.5)
Requirement already satisfied: scipy>=1.2.0 in /usr/local/lib/python3.7/dist-packages (from mne-icalabel==0.1.dev0) (1.4.1)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from mne-icalabel==0.1.dev0) (57.4.0)
Building wheels for collected packages: mne-icalabel
  Building wheel for mne-icalabel (setup.py) ... done
  Created wheel for mne-icalabel: filename=mne_icalabel-0.1.dev0-py2.py3-none-any.whl size=17612 sha256=6e077310f31de483cd83b50dcf6f88df93ba8f12a45b8cee05938a163e46a054
  Stored in directory: /tmp/pip-ephem-wheel-cache-be7s5va2/wheels/d4/00/98/7e59c6dea60d544087ce3d8d4067578061db5645b5538a1890`
Successfully built mne-icalabel
Installing collected packages: mne, mne-icalabel
  WARNING: The script mne is installed in '/root/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed mne-0.24.1 mne-icalabel-0.1.dev0

but when I try to import the modules it says "ModuleNotFoundError: No module named 'mne_icalabel'". see below
# import
from mne_icalabel.ica_label import ica_eeg_features
from mne_icalabel.ica_net import run_iclabel

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-a755f923046f> in <module>()
      # import
----> from mne_icalabel.ica_label import ica_eeg_features
      from mne_icalabel.ica_net import run_iclabel
ModuleNotFoundError: No module named 'mne_icalabel'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Could you please let me know if my installation is not correct? Should there be another way to install mne-iclable? if yes, could you please update its procedure in the main repo for future users.
any help would be much appreciated.
thanks
Rab
Originally posted by @rnawaz in https://github.com/jacobf18/iclabel-python/issues/5#issuecomment-1070797656

Thanks @mscheltienne for re-posting and opening a new issue. But, could you please link #5 (comment) to "above example" in the second sentence of my post. Just to avoid any mismatching of the thoughts.

@rnawaz Your problem is not related to the import lines. You copy/pasted the code from the other issue and it is correct.
The problem is that despite the installation, the package is not present in your environment.
As I am not familiar with colab, I don't think I can help you much with this part.
Also, this package is still under development and has not yet been fully tested/verified against the Matlab implementation, so use it at your own risk.

@mscheltienne Colab is just a cloud IDE for python.
Anyway, I tried to install the mne-iclabel in my local python setup via the following command
pip install --user -U https://api.github.com/repos/jacobf18/iclabel-python/zipball/main
and again the installation was successful. But when I tried to import using the following lines
from mne_icalabel.ica_label import ica_eeg_features
from mne_icalabel.ica_net import run_iclabel
I get the same module error saying "ModuleNotFoundError: No module named 'mne_icalabel'".
This time I am using Jupyter notebook and not Colab.

Yes, I know what Colab is, and I thought the cloud-aspect might have caused the problem.
Clone the repository and then run python setup.py install or python setup.py develop, or with pip:
pip install git+https://github.com/jacobf18/iclabel-python

P.S: also for code formatting on GitHub, you can use triple backticks ` before and after a code block to format multiple lines.

That is a surprising one.. I'm even surprised pip install worked on a Windows command prompt. On windows I use py -m pip install instead. I'm guessing you have multiple installs of pythons (environments) and the command python points to this 3.8.2 install while the command pip points to another one.
Probably if you do python -m pip install git+https://github.com/jacobf18/iclabel-python that will work (since this time you call the command python so you should be in the same env.)

I cannot replicate this installation issue, so not sure how to help :/.
But also this repo is in super-alpha mode, so there is no guarantee of anything yet.
Once we establish an explicit understanding of how this repo differs from EEGLab's implementation of ICLabel, then we will thoroughly document and possibly move this repo under mne.tools GitHub organization.

Great. So I'll close this one, as the install part is solved.
But don't expect much support on the use-part for now, as Adam pointed out, this is a very early version, not verified, not tested, not documented, and not ready for use. You can play with it as much as you want, but you'll have to figure out on your own how it works, and there is no guarantee that the results outputted by the network are correct (at least for now).


Tagto id updated

Refer to the code added on the latest commit (getTagToID function and addPairToTagMap function)
Design:
getTagToID()
First run terraform show -json to the output for all the deployed resources.
Unmarshall the json output to a State structure given in the tfjson library (this library will need to be imported)
First extract the ids and the yor tags for the resources present in the root module.
Then using a nested loop, iterate over all of the child modules, and then in an inner loop, all of the resources present in the child module and add to the map.
addPairToTagMap()
This function does the job of actually adding the pair to the map
Since AttributeValues, as given in the tfjson library, is a map from string to a generic interface object{}, after extracting any data, it'll need to be typecasted to the right type before it can be used. Before typecasting, check if the data that you're trying to extract is actually present. If you try and typecast data that isn't present, the program will panic.
First, extract the id. And then extract yor_trace from within the tags. Trim off any new line characters and quotes from the extracted data and add them to the map.

Definition of done:

If both the id and yor_trace is present, they should be added to the map.
If yor_trace is not present, the program should not panic. It should just move on from this particular resource.


[firebase_auth] equivalent to admin.auth().generateEmailVerificationLink()

Describe the bug
admin.auth().generatePasswordResetLink() is a method from the node.js admin firebase package. There seems no equivalent in the dart world with Firebase auth. Same goes for generatePasswordResetLink() ?
Expected behavior
API for getting the email link and ResetLink
To elaborate further on this one: The goal is to send a custom email verficiation email which looks better than what firebase provides but for that i need the URL which firebase would generate for their very own verify-email. Dont know if generateEmailVerificationLink() even does that...

perhaps its not a bug but a featRequest?

@logemann  you read my mind
thank you for your contribution

Tested the node.js version (in fact i used typesript but anyway) on cloud function on auth.createUser() event and the following worked perfect:
let verifyLink = await auth.generateEmailVerificationLink(user.email!);
this got me the firebase URL for link verification. I used that for my custom email i sent via Sendgrid. But still would like to see that in the dart package. Perhaps the  generatePasswordResetLink() is even more important beacause this cant be done easily in the backend cause the trigger will be the frontend. Of course i can circumvent this by calling a custom function on the backend but still a workaround.

generateEmailVerificationLink is a admin only feature and requires elevated privileges (e.g. via the firebase-admin Node SDK). It can't be handled on client side applications unfortunately.


Bug: F-Stage PDF attached an wrong logical div

Description
Actually, when creating PDF an enrich them into the METS, the file pointer gets attached to the wrong logical container, i.e. to the C-Stage instead to the F-Stage.
This leads to the situation, that also the Download-Link in the DFG-Viewer is broken.

Problem arises, since the PDF file pointer is currently hard-coded to the first logical container, without any further regards. Where this doesn't matter for monographs, it doesn't hold for complex structured digital stuff.


mypy CI is failing on main

The most recent runs of the mypy CI on main are failing with:
xarray/core/dataset.py:6934: error: Incompatible types in assignment (expression has type "str", variable has type "Optional[Optional[Literal['Y', 'M', 'W', 'D', 'h', 'm', 's', 'ms', 'us', 'ns', 'ps', 'fs', 'as']]]")  [assignment]

I'm not sure what changed since the last pass, though.

Fixed in https://github.com/pydata/xarray/pull/6706


C header-only functions and functional macros not getting translated

Currently, windows-rs is missing a handful of APIs that only exists in the Win32 SDK in the form of header-only static functions or function-like macros. While this is to be expected on a certain level, since windows-rs works through codegen, it'd be nonetheless nice to bring some of this functionality, as some of them are really useful.
Two examples that's come up multiple times already while using windows-rs:

The IsWindows*OrGreater functions from um/VersionHelpers.h
The HRESULT_FROM_WIN32 macro from shared/winerror.h

Is there any plans to allow them in windows-rs, either in the form of "manual" implementations, or maybe through more involved codegen?

@roblabla I opened this ticket too, #921 .  You can't do it with metadata as-is, but you might be able to contribute to the win32metadata project to generate it.


FreedomIntelligence/Apollo-0.5B failed to run

I'd like to try the inference effect of FreedomIntelligence/Apollo-0.5B's model, which by his model_type is  qwen2, which theoretically has current model type support. However, when running it, it encounters the following problem, and I'm not sure what's causing it.
FreedomIntelligence/Apollo-0.5B The result of the execution is as follows:
python -m mlx_lm.generate --model FreedomIntelligence/Apollo-0.5B --max-tokens 50 --temp 0 --colorize --prompt "hello"
Fetching 8 files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:00<00:00, 112977.89it/s]
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/homebrew/lib/python3.11/site-packages/mlx_lm/generate.py", line 139, in <module>
    main(args)
  File "/opt/homebrew/lib/python3.11/site-packages/mlx_lm/generate.py", line 107, in main
    model, tokenizer = load(
                       ^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/mlx_lm/utils.py", line 382, in load
    model = load_model(model_path, lazy)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/mlx_lm/utils.py", line 346, in load_model
    model.load_weights(list(weights.items()))
  File "/opt/homebrew/lib/python3.11/site-packages/mlx/nn/layers/base.py", line 206, in load_weights
    raise ValueError(f"Missing parameters: {missing}.")
ValueError: Missing parameters: lm_head.weight.

PS: The Qwen/Qwen1.5-0.5B-Chat model can run normally.

It looks like the tie_word_embeddings has been enabled.


Unable to use rollup.js with protobuf-ts due to circular dependency

Versions:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
rollup.js fails to bundle my project because of a circular dependency inside of the @protobuf-ts/runtime package.

npx protoc --ts_out generates code with these imports:

// @generated by protobuf-ts 2.4.0,// @generated from protobuf file "msg-readme.proto" (syntax proto3),// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import { MessageType } from "@protobuf-ts/runtime";

My project imports this generated code

Rollup attempts to bundle my project's code, and fails with this error:

{
  code: 'CIRCULAR_DEPENDENCY',
  cycle: [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  ],
  importer<EMAIL_ADDRESS>  message: 'Circular dependency<EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>}

Upon investigating, I see that rollup is indeed correct.
binary-format-contract.js contains this import:
import { BinaryReader } from "./binary-reader";

and binary-reader.js contains this import:
import { WireType } from "./binary-format-contract";

Thanks for the report, Taylor.
Looks like binaryReadOptions() and binaryWriteOptions() should simply move to binary-reader.ts / binary-writer.ts.

Fixed in https://github.com/timostamm/protobuf-ts/pull/271.
Would appreciate if you could try this or give it a :eyes:.

yes this fixes it :) just verified it locally.
thank you for responding to this issue so fast!
Can you publish this update to NPM so I can avoid creating a fork?
Also, it looks like the rollup build does in fact finish and produce the correct output bundle, but my build system (Bazel) which calls rollup is configure to exit on unexpected warnings.

The fix is released in v2.5.0.

awesome!


Add location permission

This allows to do scanning on screen wakeup on M.

FYI @nondebug

new change up with coarse location...apparently that's good enough

LGTM


Patch Grammatica to compile on Ubuntu 18.04 and 20.04

Fixes #379. This PR implements my solution to set source and target to 1.6 for javac in Grammatica's build.xml.

FYI, Grammatica is included in standard Ubuntu repositories as libgrammatica-java, starting from 20.04. We could considerably shorten the CI runs by depending on libgrammatica-java and using prebuilt JAR. However, we should still retain current Makefile rules to fetch and build Grammatica for older/other OSes.

Superseded by #404


Wait for Docker to start before running /etc/rc.local

This kills two birds with one stone.  One, it makes the behaviour of
/etc/rc.local more consistent in that you can assume that user Docker is
running.  Second, it prevents a race condition that causes ctrl+c to not
work.

@imikushin

https://github.com/rancher/os/issues/687

LGTM


Randao reveal verification

Issue
As this line said: https://github.com/ethereum/beacon_chain/blob/29fb10e49b76eaf1d9be20f0a39e0406620ef809/beacon_chain/state/state_transition.py#L371
How to fix it?
The concept is described in the spec: https://notes.ethereum.org/s/Syj3QZSxm#Miscellaneous
The RecentProposerRecord part depends on #7.

I've looked into this a little. This seems to be blocked by missing specification on the used hash function and the required/allowed "hashing depth" of the commitment.

Per @vbuterin and @JustinDrake 's suggestion, since the RNG process has not been finalized yet (exploring RANDAO + VDF), we can just use blockhash for generation randomness for now if it's a bottleneck.


check /usr/local/go/src/pkg for packages

This adds $GOROOT/src/pkg to the list of directories checked for packages. Go distros put packages in here, so this can cause swagger not to find the correct packages.
fixes #5

Looks good, thanks!


Crash on start - 'std::runtime_error' - Wrong size of RFKILL event

I run Fedora Rawhide, with wlroots and sway from git master.
Building and running git master results in the following:
waybar -l debug
[2021-01-23 15:04:20.085] [info] Resources files: /home/dturner/.config/waybar/config, /home/dturner/.config/waybar/style.css
[2021-01-23 15:04:45.167] [debug] Output detection done: DVI-D-1 (Ancor Communications Inc ASUS VW224 A4LMTF074092)
[2021-01-23 15:04:45.250] [debug] Cmd exited with code 127
[2021-01-23 15:04:45.250] [error] media stopped unexpectedly, is it endless?
[2021-01-23 15:04:45.250] [debug] Received SIGCHLD in signalThread
[2021-01-23 15:04:45.274] [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity
terminate called after throwing an instance of 'std::runtime_error'
what():  Wrong size of RFKILL event
Aborted (core dumped)
Any thoughts?

Same here, also Fedora Rawhide:
waybar -l debug
[2021-01-28 14:29:16.900] [info] Resources files: /home/lpcs/.config/waybar/config, /etc/xdg/waybar/style.css
[2021-01-28 14:29:16.904] [debug] Output detected: eDP-1 (Chimei Innolux Corporation 0x14C9)
[2021-01-28 14:29:16.904] [debug] Output detected: HDMI-A-2 (Philips Consumer Electronics Company PHL 325E1)
[2021-01-28 14:29:16.906] [debug] mpd: Disconnected: enabled interval timer.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Wrong size of RFKILL event
[1]    3635320 IOT instruction (core dumped)  waybar -l debug

Same here, also Fedora Rawhide:
waybar -l debug
[2021-01-28 14:29:16.900] [info] Resources files: /home/lpcs/.config/waybar/config, /etc/xdg/waybar/style.css
[2021-01-28 14:29:16.904] [debug] Output detected: eDP-1 (Chimei Innolux Corporation 0x14C9)
[2021-01-28 14:29:16.904] [debug] Output detected: HDMI-A-2 (Philips Consumer Electronics Company PHL 325E1)
[2021-01-28 14:29:16.906] [debug] mpd: Disconnected: enabled interval timer.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Wrong size of RFKILL event
[1]    3635320 IOT instruction (core dumped)  waybar -l debug

The rfkill code in waybar is written with assumption that RFKILL_EVENT_SIZE_V1 is the expected size of a rfkill event. The comment in /usr/include/linux/rfkill.h suggests that anything >= RFKILL_EVENT_SIZE_V1 is an acceptable value though.
Kernel 5.11 available in rawhide extends struct rfkill_event with an additional field and the assumption is no longer true.
rfkill.h changes in 5.11
--- /usr/include/linux/rfkill.h 2021-01-27 08:03:41.000000000 -0800
+++ /var/lib/mock/fedora-rawhide-x86_64/root/usr/include/linux/rfkill.h 2021-01-25 06:52:07.000000000 -0800
@@ -70,12 +70,24 @@
 };

 /**
+ * enum rfkill_hard_block_reasons - hard block reasons
+ * @RFKILL_HARD_BLOCK_SIGNAL: the hardware rfkill signal is active
+ * @RFKILL_HARD_BLOCK_NOT_OWNER: the NIC is not owned by the host
+ */
+enum rfkill_hard_block_reasons {
+       RFKILL_HARD_BLOCK_SIGNAL        = 1 << 0,
+       RFKILL_HARD_BLOCK_NOT_OWNER     = 1 << 1,
+};
+
+/**
  * struct rfkill_event - events for userspace on /dev/rfkill
  * @idx: index of dev rfkill
  * @type: type of the rfkill struct
  * @op: operation code
  * @hard: hard state (0/1)
  * @soft: soft state (0/1)
+ * @hard_block_reasons: valid if hard is set. One or several reasons from
+ *     &enum rfkill_hard_block_reasons.
  *
  * Structure used for userspace communication on /dev/rfkill,
  * used for events from the kernel and control to the kernel.
@@ -84,7 +96,9 @@
        __u32 idx;
        __u8  type;
        __u8  op;
-       __u8  soft, hard;
+       __u8  soft;
+       __u8  hard;
+       __u8  hard_block_reasons;
 } __attribute__((packed));

 /*

The only solution for now is to disable network and bluetooth modules in the waybar configuration file. I'll look into fixing the code.

The rfkill code in waybar is written with assumption that RFKILL_EVENT_SIZE_V1 is the expected size of a rfkill event. The comment in /usr/include/linux/rfkill.h suggests that anything >= RFKILL_EVENT_SIZE_V1 is an acceptable value though.
Kernel 5.11 available in rawhide extends struct rfkill_event with an additional field and the assumption is no longer true.
rfkill.h changes in 5.11
--- /usr/include/linux/rfkill.h 2021-01-27 08:03:41.000000000 -0800
+++ /var/lib/mock/fedora-rawhide-x86_64/root/usr/include/linux/rfkill.h 2021-01-25 06:52:07.000000000 -0800
@@ -70,12 +70,24 @@
 };

 /**
+ * enum rfkill_hard_block_reasons - hard block reasons
+ * @RFKILL_HARD_BLOCK_SIGNAL: the hardware rfkill signal is active
+ * @RFKILL_HARD_BLOCK_NOT_OWNER: the NIC is not owned by the host
+ */
+enum rfkill_hard_block_reasons {
+       RFKILL_HARD_BLOCK_SIGNAL        = 1 << 0,
+       RFKILL_HARD_BLOCK_NOT_OWNER     = 1 << 1,
+};
+
+/**
  * struct rfkill_event - events for userspace on /dev/rfkill
  * @idx: index of dev rfkill
  * @type: type of the rfkill struct
  * @op: operation code
  * @hard: hard state (0/1)
  * @soft: soft state (0/1)
+ * @hard_block_reasons: valid if hard is set. One or several reasons from
+ *     &enum rfkill_hard_block_reasons.
  *
  * Structure used for userspace communication on /dev/rfkill,
  * used for events from the kernel and control to the kernel.
@@ -84,7 +96,9 @@
        __u32 idx;
        __u8  type;
        __u8  op;
-       __u8  soft, hard;
+       __u8  soft;
+       __u8  hard;
+       __u8  hard_block_reasons;
 } __attribute__((packed));

 /*

The only solution for now is to disable network and bluetooth modules in the waybar configuration file. I'll look into fixing the code.