Disable interprocedural optimization for VTR

By default the CMAKE_INTERPROCEDURAL_OPTIMIZATION flag is on for VTR, this may cause LTO version incompatibility when using the binaries out of VTR scope in other projects.
Thir PR disables INTERPROCEDURAL_OPTIMIZATION for VTR package while installing by turning off the VTR_IPO_BUILD flag in the build script.

@mithro the binaries from VTR package are needed in yosys-f4pga-plugins. LTO is enabled by default and creates issues when linking with other projects.

Do you have more information about the LTO issues?

As an example when linking yosys-f4pga-plugins with the binaries from VTR package (litex-hub) the following error pops out:

build locally

lto1: fatal error: bytecode stream in file ‘/lib/libarchfpga.a’ generated with LTO version 11.0 instead of the expected 11.3
compilation terminated.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

when running the CI:

lto1: fatal error: bytecode stream in file ‘/home/runner/work/yosys-f4pga-plugins/yosys-f4pga-plugins/env/conda/envs/yosys-plugins/lib/libarchfpga.a’ generated with LTO version 12979.5 instead of the expected 8.1
  compilation terminated.
  lto-wrapper: fatal error: /usr/bin/g++ returned 1 exit status
  make[1]: Leaving directory '/home/runner/work/yosys-f4pga-plugins/yosys-f4pga-plugins/parmys-plugin'
  compilation terminated.
  /usr/bin/ld: error: lto-wrapper failed
  collect2: error: ld returned 1 exit status

Perhaps the problem is from the compiler versions. I think the best solution is to disable LTO for VTR package and according to the VTR documentation, it only improves the performance and disabling should cause no harm.

Also, when the VTR binaries are built on the same machine that the linking is being performed later, there are no issues since the compilers are of the exact same version (and the system architectures are the same) . I'm no expert but AFAIK LTO depends on the compiler version and system architecture.

@mithro Do we need any changes?

@poname - I think the error points out there is something going wrong with the compiler toolchain being used. The fix is to understand that problem rather than disabling LTO.

@mithro I am usin the default compiler toolchain in yosys-f4pga-plugins build and I think resolvig the LTO version issue requires changing the compiler there, which is unlikely to be accepted.
Instead of changing the main VTR package here, can we have a new package named VTR-libs but whithout LTO?

@poname - I'm pretty sure the yosys-f4pga-plugins repository should be using the same compiler as hdl/conda-eda when building against tools from the hdl/conda-eda repository. The fact that it is not is somewhat concerning.

from the vtr-linux ci log in hdl/conda-eda actions:
 -- The CXX compiler identification is GNU 11.2.0
while the chipsalliance/yosys-f4pga-plugins explicitly uses g++-9:
       sudo apt-get install git g++-9 build-essential bison flex \ ...
I am closing this PR to keep other packages intact and a new PR will be added to introduce a new package named vtr-libs to provide a lightweight package of only VTR binaries with their header files.

@poname - If these are building against hdl/conda-eda then they should be also be using the compilers from conda not from the local system.

@mithro Yes,the chipsalliance/yosys-f4pga-plugins ci is not using the conda c/cxx compilers. This is hardcoded within the ci scripts  and I think changing their global ci ecosystem is not an option.
Since playing with build flags would solve the problem, if it is OK from your side we can have a new mini package of vtr binaries and use it without touching anything else.

@poname - I think we need to chat with chipsalliance/yosys-f4pga-plugins and get them to fix that.

@poname - Can you point out where you think they are not using the conda compilers?

@mithro check here: https://github.com/chipsalliance/yosys-f4pga-plugins/blob/main/.github/workflows/ci.yml
they are using apt-get install to get dependencies.
    - name: Install
      run: |
        sudo apt-get update
        sudo apt-get install git g++-9 build-essential bison flex \
          libreadline-dev gawk tcl-dev libffi-dev git graphviz xdot \
          pkg-config libboost-system-dev libboost-python-dev \
          libboost-filesystem-dev zlib1g-dev clang-format-8 cmake


fix: Move to talpa after creating a signup

Description
Move to talpa after creating a signup and a payment
Closes
LINK-1455

Codecov Report
Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (4524cc5) 99.40% compared to head (7e94381) 99.08%.

:exclamation: Current head 7e94381 differs from pull request most recent head f89e9e7. Consider uploading reports for the commit f89e9e7 to get more accurate results

Files
Patch %
Lines

src/domain/signup/hooks/useSignupActions.ts
84.00%
4 Missing :warning:

.../domain/signupGroup/hooks/useSignupGroupActions.ts
84.00%
4 Missing :warning:

src/domain/signupGroup/summaryPage/SummaryPage.tsx
90.00%
4 Missing :warning:

src/domain/payment/utils.ts
85.71%
1 Missing :warning:

Additional details and impacted files
@@                             Coverage Diff                             @@
##           feature/LINK-1454-select-price-category     #128      +/-   ##
===========================================================================
- Coverage                                    99.40%   99.08%   -0.33%
===========================================================================
  Files                                          192      194       +2
  Lines                                         3722     3826     +104
  Branches                                       619      624       +5
===========================================================================
+ Hits                                          3700     3791      +91
- Misses                                          21       34      +13
  Partials                                         1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove version: CrystalDewWorld.CrystalDiskInfo.ShizukuEdition version 9.3.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/crystaldiskinfo/files/9.3.0/CrystalDiskInfo9_3_0Shizuku.exe/download
OK
(Automated message - build 923)

Close with reason: Package still available;


Support editing expressions in workflows

[x] Hints and auto-complete for expression functions: https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#functions
[x] Smart-auto complete for env in expressions

Follow along here: https://github.com/cschleiden/vscode-github-actions/tree/edit-improvements
Also, there are nightly/manual releases with the preview functionality included.

In v0.8.0


[SPARK-27523][CORE] - Resolve scheme-less event log directory relative to default filesystem

What changes were proposed in this pull request?
evenlog.dir is resolved with respect to the default filesystem.
Why are the changes needed?
These changes needed for resolved evelog.dir when defaultFS is specified.
Does this PR introduce any user-facing change?
no
How was this patch tested?
this patch was tested manually and covered by the unit test.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

The code change looks good, but committer will need to enable the CI build.

cc. @vanzin @squito

This behavior was added a long, long time ago. And even though at the time I wasn't particular fond of it, I think at this point it's just not worth to change it back. The risk of breaking existing configs overrides the added convenience here, IMO.

What about explicitly documenting this behavior in configuration.md? I'm now a bit confused which configurations use which one for schema-less directory configuration, but it might worth to mention when we won't follow default filesystem.

IIRC everything set in SparkConf defaults to local paths (e.g. this config, jars, files, etc).

If that's consistent across some boundary (like everything in Spark configuration) it seems OK to leave this as it is.

Can one of the admins verify this patch?


Dialog is closing when sonner toast is clicked

Bug report
Current Behavior
Dialog is closed when sonner toast is clicked.
Expected behavior
Dialog should stay open when sonner toast is clicked.
Reproducible example
CodeSandbox
Steps:

Click "Open dialog"
Click "Trigger toast"
Click the toast and observe the dialog closing 😞

Suggested solution
🤔
Additional context
I tried to stop event propagation from the toast, but no luck.
Moreover, the toast is rendered as a sibling of the dialog, so I can't even see how the dialog would get the event (unless the dialog registers an event listener on the body or something?)
Is there a conflict between Dialog's implementation and sonner?
I also tried using the Radix Toast instead of sonner, and it's working fine: CodeSandbox
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-dialog
1.0.5

React
n/a
18.2.0

Browser
Chrome
121

Assistive tech
n/a

Node
n/a
20.11

npm/yarn
bun
1.0.26

Operating System
macOS
14.2.1

This worked for me on the DialogContent component:
<DialogContent
  onPointerDownOutside={(e) => {
    // don't dismiss dialog when clicking inside the toast
    if (
      e.target instanceof Element &&
      e.target.closest("[data-sonner-toast]")
    ) {
      e.preventDefault();
    }
    // if you are wrapping this component like shadcn, also call the caller's onPointerDownOutside method
    // onPointerDownOutside?.(e);
  }}
>
   // ...
</DialogContent>

Thanks for reporting. I'm going to close this as it has a solution and it's tricky to debug compatibility with other libraries.

This worked for me on the DialogContent component:
<DialogContent
  onPointerDownOutside={(e) => {
    // don't dismiss dialog when clicking inside the toast
    if (
      e.target instanceof Element &&
      e.target.closest("[data-sonner-toast]")
    ) {
      e.preventDefault();
    }
    // if you are wrapping this component like shadcn, also call the caller's onPointerDownOutside method
    // onPointerDownOutside?.(e);
  }}
>
   // ...
</DialogContent>

I also needed to set pointer-events: auto on the Toaster for this fix to work:
E.g. with tailwind it may look like this. Maybe this is due to me using the unstyled option?
    <Toaster
          className="pointer-events-auto"
          toastOptions={{
            unstyled: true,
            // ...

This worked for me on the DialogContent component:
<DialogContent
  onPointerDownOutside={(e) => {
    // don't dismiss dialog when clicking inside the toast
    if (
      e.target instanceof Element &&
      e.target.closest("[data-sonner-toast]")
    ) {
      e.preventDefault();
    }
    // if you are wrapping this component like shadcn, also call the caller's onPointerDownOutside method
    // onPointerDownOutside?.(e);
  }}
>
   // ...
</DialogContent>

I am using shadcn/ui now and I am confused about the also call the caller's onPointerDownOutside method part. Do you mean I should call the e.preventDefault() outside or should I add the onPointerDownOutside props outside the content? Seems like there is no more onPointerDownOutside events in shadcn/ui.


❓ No controllers

Question
my code is simple, but I don't see the click controls, only the open camera.
why this not working?
What I tried
this works to show the camera, but it doesn't show the button controllers.
   if(device == null) return (<Text>Carregando....</Text>)     return (<Camera                         style={StyleSheet.absoluteFill}                         device={device}                         isActive={true}                     />)
VisionCamera Version
^2.15.2
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Vision Camera library is designed for multiple use cases, so the "Camera" component returns a simple camera page with no controllers, to give project based customizability. If you want to add the button controllers, you can take a look at the example project.

Vision Camera library is designed for multiple use cases, so the "Camera" component returns a simple camera page with no controllers, to give project based customizability. If you want to add the button controllers, you can take a look at the example project.

Thanks @EKOzkan

Thanks for the answer @EKOzkan, that's correct :)


Add option for multiple ports to be exposed and routed through the ELB

It's something in progress in commons


make: *** No rule to make target test-build', needed by test'.  Stop.

Summary of Bug
make test results in an error message
Version
https://github.com/celestiaorg/celestia-app/commit/7766a5e1832c6571f5600effd3438e577998cb5c
Steps to Reproduce
$ make test
?   	github.com/celestiaorg/celestia-app/app	[no test files]
?   	github.com/celestiaorg/celestia-app/app/encoding	[no test files]
ok  	github.com/celestiaorg/celestia-app/app/test	(cached)
?   	github.com/celestiaorg/celestia-app/cmd/celestia-appd	[no test files]
?   	github.com/celestiaorg/celestia-app/cmd/celestia-appd/cmd	[no test files]
ok  	github.com/celestiaorg/celestia-app/pkg/shares	(cached)
?   	github.com/celestiaorg/celestia-app/testutil	[no test files]
?   	github.com/celestiaorg/celestia-app/testutil/network	[no test files]
?   	github.com/celestiaorg/celestia-app/x/payment	[no test files]
?   	github.com/celestiaorg/celestia-app/x/payment/client/cli	[no test files]
ok  	github.com/celestiaorg/celestia-app/x/payment/client/testutil	(cached)
ok  	github.com/celestiaorg/celestia-app/x/payment/keeper	(cached)
ok  	github.com/celestiaorg/celestia-app/x/payment/types	(cached)
?   	github.com/celestiaorg/celestia-app/x/qgb	[no test files]
?   	github.com/celestiaorg/celestia-app/x/qgb/client/cli	[no test files]
?   	github.com/celestiaorg/celestia-app/x/qgb/keeper	[no test files]
?   	github.com/celestiaorg/celestia-app/x/qgb/types	[no test files]
make: *** No rule to make target `test-build', needed by `test'.  Stop.

No test-build exists but it is referenced here https://github.com/celestiaorg/celestia-app/blob/main/Makefile#L72

A reference to test-build was added in https://github.com/celestiaorg/celestia-app/commit/7d4b04136d4abc63e726e67c984103985da709c7 but no test-build task was added in that PR


Inject matched path name into http headers for client filter

@song-hao there are some merge conflicts. Can you please fix them.

@vikramraman resolved


[#noissue] Initialize the chart once when switching the tab on the transaction view page

Detach and insert the chart instead of removing it in switching the tab

Codecov Report

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

@@            Coverage Diff             @@
##           master    #5710      +/-   ##
==========================================
+ Coverage   40.58%   40.59%   +<.01%
==========================================
  Files        2910     2910
  Lines       87478    87478
  Branches    11553    11553
==========================================
+ Hits        35507    35508       +1
+ Misses      48891    48890       -1
  Partials     3080     3080

Impacted Files
Coverage Δ

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
65% <0%> (-1.43%)
:arrow_down:

...ollector/cluster/zookeeper/ZookeeperJobWorker.java
81.01% <0%> (-1.39%)
:arrow_down:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
18.6% <0%> (-1.17%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
74.16% <0%> (+1.66%)
:arrow_up:

...cluster/zookeeper/ZookeeperClusterDataManager.java
64.7% <0%> (+2.2%)
:arrow_up:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
85.36% <0%> (+2.43%)
:arrow_up:

...vercorp/pinpoint/web/vo/ApplicationAgentsList.java
69.23% <0%> (+2.56%)
:arrow_up:

...m/navercorp/pinpoint/rpc/client/ConnectFuture.java
85% <0%> (+5%)
:arrow_up:

Continue to review full report at Codecov.

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


Palomaswap Feedback Feb 15

UI

[ ] The wallet UI doesn't fill out the whole popup window for Nest

[ ] Please remove the floating question mark

[ ] Please update error message copy to "Swap failed. Output token amount is too low. Try adjusting slippage" (cc Yoya - not sure if this is too long?)

Nest connect issues

[ ] I can't connect to Palomaswap by importing an existing wallet https://www.loom.com/share/90dcfa4a6365447f99c0d35a120da81c

Metamask connect issues

[ ] Metamask wallet reconnects when page is refreshed even though I disconnected it https://www.loom.com/share/f1669e5b24c54001888e4a20450055eb
[ ] I'm not getting a message to add Binance smart chain when it's not yet added to my wallet https://www.loom.com/share/7c8a353ec2bf488ba2c4a9c894cdd7fd

@verabehr @wdev733 Also, when pressing "I don't have a Paloma Wallet" nothing happens.

We should show this view:

And then when the user presses "Download Nest" should open a new tab to: https://chrome.google.com/webstore/detail/paloma-nestbeta/cjmmdephaciiailjnoikekdebkcbcfmi

I actually left a comment for that in the new designs. Ideally the browser
should detect if you have it or not, so that you see the right call to
action right away.
On Wed, Feb 15, 2023 at 4:15 PM Joyce Hermosilla @.***>
wrote:

@verabehr https://github.com/verabehr @wdev733
https://github.com/wdev733 Also, when pressing "I don't have a Paloma
Wallet" nothing happens.
[image: Captura de pantalla 2023-02-15 a las 22 10 44]
https://user-images.githubusercontent.com/22323189/219166788-c6d5b994-9533-4a51-a463-3c292b7e3616.png
We should show this view:
[image: Captura de pantalla 2023-02-15 a las 22 13 38]
https://user-images.githubusercontent.com/22323189/219165924-cd0814bb-d300-492e-9612-c7792ef19080.png
And then when the user presses "Download Nest" should open a new tab to:
https://chrome.google.com/webstore/detail/paloma-nestbeta/cjmmdephaciiailjnoikekdebkcbcfmi
—
Reply to this email directly, view it on GitHub
https://github.com/palomachain/paloma/issues/723#issuecomment-1432043602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYIW35EZUENV5DZE6LDZBLWXVBPZANCNFSM6AAAAAAU5KKGHY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes agree. Adding the change here.  @verabehr @wdev733
Connect Nest.

a) If the user has installed the Paloma Nest Chrome Extention, the front end should detect it and open the Wallet.
b) If the user hasn't installed the Paloma Nest Chrome Extention, we should show this view:

So when the user presses the button: Download Nest, we should open the Chrome Store in a new tab. LINK: https://chrome.google.com/webstore/detail/paloma-nestbeta/cjmmdephaciiailjnoikekdebkcbcfmi

@wdev733 I'm still not able to connect paloma nest if I want to import my existing wallet using mnemonic.


WebSocket support

We love reqwest, but we also need to use websocket. :-)
Warp implements it at server-side, so it would be nice if reqwest could implement it at client-side allowing we to reuse all other features (e.g: TLS support) present in reqwest.
Cheers

Curious, why would you use websockets outside a browser context?

Some cryptocurrency exchange provide websocket API!
ex.
https://docs.pro.coinbase.com/#websocket-feed
https://www.bitstamp.net/websocket/v2/
https://docs.kraken.com/websockets/
I'm using ws-rs, but it's not support async/await.  It would be great if reqwest can support websocket!

Curious, why would you use websockets outside a browser context?

At the company, we are going to use websocket specially for sales terminal(s) monitoring, but there are many other features which websockets are useful outside a web browser, like real time gaming, embedded system remote control, industrial machine full-duplex communication via dedicated boards like STM32 and so on.

We need it also. Would it be possible to just return the underlying TCP/TLS socket, so that other libraries may be used to deal with it (like tungstenite)?

Is there any plan for support WebSockets ?

Curious, why would you use websockets outside a browser context?

I need websockets for integration testing.

Curious, why would you use websockets outside a browser context?

I need websockets for integration testing.

It would be nice if reqwest supported websockets to allow reverse proxying of servers using websockets with something like https://crates.io/crates/warp-reverse-proxy like go reverse proxy does.

Given that reqwest is building support for WebAssembly for use in web context, supporting websockets in wasm could be a great ergonomics improvement over using web-sys manually.

Curious, why would you use websockets outside a browser context?

An other data point: Chrome's DevTools protocol uses bidirectional websockets as its baseline transport.
It also supports custom pipes but that's not really easy to do in rust, and obviously only works when the controller is also the creator of the chrome instance.

Curious, why would you use websockets outside a browser context?

I'm building a client side application which needs to maintain an established connection with a web server so the web server can periodically send some instructions back to the client machine. Doing this with websockes would greatly improve the experience.

Curious, why would you use websockets outside a browser context?

Like the above, I'm building an embedded application controlled remotely via an HTML dashboard. One can send commands there that become events for the machines, which instead of polling every X seconds to see if there's any new event, I'd like to use websockets for faster and near real-time processing.

Is there any workaround ATM? I remember finding websocket client code that uses hyper.rs (but do not remember where right now), but apparently one also needs some additional crates (websocket? tokio-tungstenite?).
I am already using reqwest, so I was under the assumption that I should look for a hyper.rs solution, but maybe I should reconsider that? (I have not looked into what tungstenite even is yet, so maybe it's more compatible than I currently think.)

I'm successfully using reqwest and tungstenite in the same project. Please ping if I can help with any info.

I'm successfully using reqwest and tungstenite in the same project. Please ping if I can help with any info.

Would LOVE it if you could help us out with an example. Came here from Google and if we can have a gist (or even a comment with some example code, for that matter) that helps us understand how to use it, it would be super helpful

Of course, this is the code condensed that compiles:
use tokio_tungstenite::tungstenite::client::IntoClientRequest;

#[tokio::main]
async fn main() {
    let ws_url: url::Url = "wss://localhost".parse().unwrap();

    let tls = open_tls_stream(&ws_url).await;

    let (ws, _) = tokio_tungstenite::client_async(ws_url.into_client_request().unwrap(), tls)
        .await
        .unwrap();

    // Use ws object
}

async fn open_tls_stream(ws_url: &url::Url) -> tokio_native_tls::TlsStream<tokio::net::TcpStream> {
    let mut connector = tokio_native_tls::native_tls::TlsConnector::builder();

    // These certs should be shared between the reqwest and tungstenite clients
    let tls_ca: Vec<tokio_native_tls::native_tls::Certificate> = Vec::new();

    tls_ca.iter().for_each(|ca| {
        connector.add_root_certificate(ca.clone());
    });

    let connector = connector.build().unwrap();
    let connector: tokio_native_tls::TlsConnector = connector.into();
    let addrs = ws_url.socket_addrs(|| None).unwrap();
    let stream = tokio::net::TcpStream::connect(&*addrs).await.unwrap();
    let stream = connector
        .connect(ws_url.as_str(), stream)
        .await.unwrap();
    stream
}

For the actual code where I'm mixing reqwest and tungstenite, please see:
https://gitlab.com/avassa-public/avassa-client-rs
And in particular:
https://gitlab.com/avassa-public/avassa-client-rs/-/blob/main/src/volga/consumer.rs?ref_type=heads#L158
https://gitlab.com/avassa-public/avassa-client-rs/-/blob/main/src/lib.rs?ref_type=heads#L733
If this doesn't help or isn't what you're looking for, just comment here and I'll try to elaborate.

I'll try using this and see how it goes. Thanks a lot for this! Really appreciate it

reqwest can do protocol upgrades, so I just went ahead and combined it with tungstenite. Here's the crate.


Pretrained Model on COCO dataset?

I was wondering if the authors can provide pretrained network on COCO trainset.
If there is not a model available I guess I would have to train from scratch, but getting the pretrained one will be a lot more convenient :)
Thanks!!

This implementation isn't by the authors ;) I retrained it on COCO getting these results (lower than those reported in the paper). I guess I could find a place to upload the weights if you want.
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.147
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.324
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.117
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.031
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.157
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.234
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.166
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.238
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.242
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.048
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.274
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.405

That would be great!
Did you have to make any significant changes to the model architecture or test code besides switching the number of classes from 21 to 81?
Many Thanks! :)

Not really, you can see my changes here: https://github.com/smallcorgi/Faster-RCNN_TF/compare/master...TheLaurens:master (some of the changes are for storing some of the intermediate features)

I downloaded the pretrained nets. Thanks for the help!
I will close this issue now 👍

Hi @TheLaurens
Could you clarify how you did with COCO dataset in detail? I ran the demo with your shared trained model but I didn't got good results, i.e. recognized objects were not right in many case.
Thanks so much!

 The current best performance on MS-COCO is 0.413, which is still not great, but far better than this. The score I got with these weights are also less then those reported by the original faster-RCNN paper, though not too much. (They report 0.212)
So yeah, I have not personally visualised the results, but I do not expect it to be super great unfortunately.
Also, you can see some of the changes I made to make it work with MSCOCO here

Hi @TheLaurens
So you simply downloaded the COCO dataset from their website and did the training, didn't you? Did you follow the guide from Girshick for the coco_proposals:
For COCO with Fast R-CNN, place object proposals under `coco_proposals` (inside the data directory).

I am trying to redo the COCO training in my system, so would like to know the details!
Thanks for the help!

Nope, I don't think I did, I do think it might help performance though, especially when using the MCG proposals. There were just so many litlle things wrong with the training script for COCO that I sort of stopped once I got the basics to finally work ;)

I have a question about training with COCO: the RCNN training needs images with object regions and their classes, but COCO doesn't have these, How can it be used to train RCNN  as PASCAL be used?

and you mentioned the paper's result on COCO is 19.7%?

Coco actually has bounding boxes, in the examples they just only show the segmentation for some reason. If you look here at the object instance annotations you see it comes with a bbox.
Also, no, I mentioned it is 0.212


Does this library work with React Native?

Is your feature request related to a problem? Please describe.
Does this library work with React Native?
Additional context
I was researching embedding a Unity scene in a react native app and found this library. So I'm wondering if it's possible to use this library in a React Native app?

No, this library is made for WebGL using ReactJS.

Ok I see, thanks. I was thinking of hooking it up with react-native-webgl and see how it goes. Unless someone has already tried this approach?

I don't think it's possible with Unity. It requires a custom integration. react-native-webgl only works for WebGL 1.0 and Unity uses 2.0. But you can always try or go web ReactJS and use a WebKitWebView in your React Native app. react-unity-webgl works on mobile as well.

@jeffreylanters thank you so much for your notes. I wasn't sure which version Unity used for webgl. Good point regarding embedding a WebkitWebView. I tried before with a WebView in the React Native side, but was choppy. However, I think using WebkitWebView as you suggested and just do it in the native side might lead to better results!
Thanks!

Thank you too! If you'd like, like me know if you manage to get it working using React Native. :)


Input focus breaks md-tab sliding animation

Bug, feature request, or proposal:
Bug (or feature request)
What is the expected behavior?
Tab animation should run flawless.
Or an alternative way should be provided to handle the focus when browsing tabs
What is the current behavior?
If the focus is set to an element in the new visible tab, the animation breaks
What are the steps to reproduce?
http://plnkr.co/edit/JOaZUON0G7JTBcEWlZTJ?p=preview
What is the use-case or motivation for changing an existing behavior?
Handle input focus when browsing tabs
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
4.2.3 / beta.6, at least chrome and opera
Is there anything else we should know?
Slide from the left side seems to work, slide from the right side is broken when focus is set.
Setting the focus within a 500ms timeout works, but has other problems like when users switches the tabs to fast (second tab-switch within the 500ms timeout). Also the 500ms would be hard coded in the component host and could not be compatible to future tab animation implementations.
Providing a hook to @translateTab.done could be a possible quick-fix.

@jelbourn - Are you ok w/ exposing the onCentered event from the body?

@amcdnl don't quite follow what you mean

@jelbourn - onCentered is an event emitted from the tab-body component when the animation has finished. Its hidden and not re-emitted for public consumption, my suggestion to address his issue was to expose this event for consumption by external consumers.

I wouldn't be a fan of that API. What's the underlying problem?

The user wants the ability to set focus once the animation has completed.

Doesn't necessarily need to be set once the animation is complete. Thats just one way to do it. The issue is, thats it's not possible to set the focus at all. Except for some dirty workarounds described above. I could imagine the underlaying issue could be the inputs focus animation breaking the tabs sliding animation... just a guess.

Something like (animationDone) would be more general. @matsko, do you have any input in general for use-cases like this?

@jelbourn - let me know if you want me to move forward with that API.

Matias said that such a feature would be reasonable to add to animations in general, but it wouldn't be any time soon. I suppose (animationDone) works for now


Output mismatch

您用于嵌入水印的那个所有权模型仅有两种输出，但是VGG16等预训练模型的输出却不是，它们inject以后怎样匹配他们的输出结果呢。

Hi @dame-C,
Thank you for your interest in our work! There might be a misunderstanding:

PTYNet can be trained to classify n kinds of watermarks (backgrounds), which is labeled as 0,..., n-1. During training, we augment PYTNet via adding some non-background images into the dataset (labeled as n). The class probability of n-th class is discarded during injection and only classes 0 to n-1 are injected into the target model.
In our prototype (i.e., this code), we assign n=1 for simplicity. This means that PTYNet learned to classify class 0 (images with watermark) and class 1 (images without watermarks). Then, PTYNet is injected into the target model (e.g., VGG as you mentioned). The final model output is: y_PTYNet +y_VGG for class 0, and y_VGG for other classes.
Note that this does not indicate we can only choose class 0 as the target class. We can choose to inject into VGG's arbitatry label.


PowerShellGet 3.0/PowerShellGallery should work with legacy TLS

We should add this to 3.0 interaction with the Gallery and incorporate legacy TLS into our testing:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

We are also considering adding a warning to update to TLS 1.2 instead

@alerickson is there a way to check if the issue is caused by the TLS issue and then be able to send a warning/error messaged based on that?

@mgreenegit


Initial upload

Will you add example in the package? (I guess you are in help file)
That would be useful to have good few example code in each function.
Looks good and i just made one little note about license (have no idea but you mentioned apache not use MIT so just left that comment!)

The examples are in the man directory so render when you use ?nhsbsaR::<function_name>. Agree we should probably add some to the README.md or cookbook in the future!


Add announcement component

Adds a component for setting announcements.
Options include:
(* req)

preEvent (announce a welcome party etc)
eventDays (set data for each day of the conference)*
postEvent (farewell message)

returns null if no pre or post event

Add ConferenceAnnouncements as a centralized place for setting the copy and, images, and links.
(perhaps refactor to use a json file on the server...?)

love the gif.   Did you do the specs in a trello card for @justinhuskey ?


Listening on device activity stopped working

The listening on device function has been working great for a while now.  The last time it worked was yesterday early in the morning.  I performed lots of testing the day (7/2/2022) before without issue as I was working on a project.
Nothing has changed system wise. All other functions appear to work just fine. I have restarted Node-Red, etc and still experience the issue.

Did you get this figured out?

Did you get this figured out?

Unfortunately, no. I’m open to suggestions.
Everything else seems to work perfectly. I’m using the most up-to-date Version of node JS and Applestrudel.


(PUP-3793) Check for agent's process owner instead of master's one for user property validation in exec type

Should fix that kind of stuffs : https://github.com/puppetlabs/puppetlabs-postgresql/pull/394

@kylog @MikaelSmith after much thought I think the problem comes from the fact that we are currently testing upon the master's process owner instead of the agent one.
What do you think of this new commit?

How can I stub id fact in unit tests so that it passes?

I'm still evaluating the impact of this.
You can stub the id fact with something like
@Facter.stubs(:value).with(:id).returns("a user")

@joshcooper OK that works fine. I don't need this PR anymore.
Maybe we should put this in puppetlabs_spec_helper


Crash on constructing mutable url request

The following crashes with a Thread 1 exc_bad_instruction - fatal error: unexpectedly found nil while unwrapping an Optional value
let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!)
    mutableURLRequest.HTTPMethod = method.rawValue

Reference to code
The following works as expected:
let encodedUrl = URLString.URLString.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLQueryAllowedCharacterSet())!
let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: encodedUrl)!)
mutableURLRequest.HTTPMethod = method.rawValue

Using latest version of Alamofire and Swift 2

This is the expected behavior @foffer. You need to make sure your URLString conforms to RFCs 1738 and 1808. Otherwise you will not be able to construct a valid NSURL as you have seen. This is documented clearly in the URLStringConvertible docstrings.
public protocol URLStringConvertible {
    /**
        A URL that conforms to RFC 2396.
        Methods accepting a `URLStringConvertible` type parameter parse it according to RFCs 1738 and 1808.
        See https://tools.ietf.org/html/rfc2396
        See https://tools.ietf.org/html/rfc1738
        See https://tools.ietf.org/html/rfc1808
    */
    var URLString: String { get }
}

I'm not completely sure what you're use case is, but if you can, you should leverage the ParameterEncoding enumeration encoding which can handle all this for you to ensure your URL is properly encoded.
Cheers. 🍻

Thanks for clarifying this @cnoon


Start unwinding use of mixin to support classes

ref #180

@gossi 👋 First question I have.  So we need to trigger didEnterViewport for example.  If we aren't attached to a component/other instance, we need to communicate and the user would need to listen to when we trigger events.  How do you think we can accomplish this?
In this PR, in addition to this.trigger('didEnterViewport'), I added this.inViewport.triggerEvent('didEnterViewport') to allow the end user to listen.  What do you think?

I like the refactorings :)
I was also wondering, what might the final consumer API look like. I think, it can be completely driven by modifiers:
<div
  {{configure-viewport this.viewportOptions}}
  {{enter-viewport this.enterViewport}}
  {{leave-viewport this.leaveViewport}}
>
  ...
</div>

and the class:
export default class MyComponent extends Component {
  @tracked viewportOptions = {...}

  enterViewport() {
  }

  leaveViewport() {
  }
}

Using ember-functional-modifiers they can access the service.
What you think?

@gossi Yeah that will be a great idea 👍.  I'm going to explore perhaps a solution without modifiers, but if/when that fails, I think that is probably the best option.  Thanks!


Add pandas dependency

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (48c6d2f) 100.00% compared to head (216097d) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #122   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          487       492    +5
  Branches       131       132    +1
=========================================
+ Hits           487       492    +5

Impacted Files
Coverage Δ

src/coola/testing.py
100.00% <100.00%> (ø)

src/coola/utils/imports.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Clarify authentication and token management

Based on the discussion on discord, clarifies authentication (token format) and adds a few more notes on how the token should be managed by the binary (validator client / remote signer).
These are just the basic requirements a client should support, and ideally be backward compatible for all clients and not break existing tooling (e.g dappnode). The goal is to make it clearer for consumers on what to expect and improve client interoperability.
Additional protections can be implemented based on client specific requirements such as application layer HTTPS or a more secure approach to store the token on the file system.
Related

https://github.com/ethereum/keymanager-APIs/issues/9
https://github.com/ethereum/pm/issues/973#issuecomment-1971391706

should we add a new endpoint that shows the token location like what lighthouse did? https://lighthouse-book.sigmaprime.io/api-vc-endpoints.html#get-lighthouseauth

It was brought up in https://github.com/ethereum/keymanager-APIs/issues/9 as well but what's the expected use case for this?

should we add a new endpoint that shows the token location like what lighthouse did? https://lighthouse-book.sigmaprime.io/api-vc-endpoints.html#get-lighthouseauth

It was brought up in #9 as well but what's the expected use case for this?

we just print it in the logs, if it's auto generated there's usually a default path, it might be useful for someone to want to get that value if they lose it. that's mostly it i think?

we just print it in the logs, if it's auto generated there's usually a default path, it might be useful for someone to want to get that value if they lose it. that's mostly it i think?

Having a hard time seeing anyone using this, especially since all clients should have a configuration parameter now to set the file path. Could add this later if there is demand for it.


add projects to lab?

[ ] #484
[ ]  maybe getting rid of the option to download for the current first part of the lab and just having people use the url would help to avoid confusion if people still don't realize they need a project set up and/or need to know where there data file is

Love the lab project idea!!!


too_fast_travel notice raised for high speed rail services

Bug report
Describe the bug
The threshold of 150 km/hr for raising the too_fast_travel notice is slower than many rail services around the world, many of which travel in excess of 350 km/hr (e.g. Shinkansen in Japan at 320 km/hr, HS2 350km/hr in the UK).
However, it is generally accepted that bus or ferry services do not travel this fast.  It may be useful to convert this notice into mode specific notices which are appropriate for those kinds of vehicles.
How we reproduce the bug
Steps to reproduce the behaviour:

Find a GTFS with a valid rail schedule for the UK
Run the validator
See too_fast_travel errors in the report

Expected behaviour
Only show too_fast_travel notices when the data is invalid, not when the service is operating as expected.
Observed behaviour
Services which run at high speeds between stops are flagged as having too_fast_travel notices.
Current Workaround
Filter out notices that are generated for known high speed routes, where the speed is slower than the running speed of the route.
Screenshots:
Visual examples can help us better understand the issue.
Environment versions

validator version: 2.0.0
Java version: 1.8.0_271
OS versions: Linux

Hi @naxxfish, thanks for opening the issue and helping us build a better tool. To help the conversation move forward, could you provide the link or the zip file of the dataset you tried to validate, please?

Hi - here is a sample GTFS for ICE trains in Germany.
I can't provide the GTFS I was validating against, but this one illustrates the problem. ICE trains have a top speed of 300kmph, so flagging warnings when they travel above 150kmph is unhelpful.

This is a very fair point. The Google implementation of travel speed validation is using different threshold depending on vehicle type.
private static double getMaxVehicleSpeed(RouteType.BasicType routeType) {
    switch (routeType) {
      case LIGHT_RAIL:
        return 100;
      case RAIL:
        return 300;
      case SUBWAY:
      case MONORAIL:
      case BUS:
      case TROLLEYBUS:
        return 150;
      case FERRY:
        return 80;
      case HORSE_CARRIAGE:
        return 75;
      default:
        return 50;
    }
  }private static double getMaxVehicleSpeed(RouteType.BasicType routeType) {
    switch (routeType) {
      case LIGHT_RAIL:
        return 100;
      case RAIL:
        return 300;
      case SUBWAY:
      case MONORAIL:
      case BUS:
      case TROLLEYBUS:
        return 150;
      case FERRY:
        return 80;
      case HORSE_CARRIAGE:
        return 75;
      default:
        return 50;
    }
  }

We at Google plan to open-source our travel speed validation and replace the current upstream one.

Interestingly the max speeds in your snippet @aababilov for rail - assuming they are kmph - are still too slow for the very high speed services that reach even as fast as 350 kmph - although it's unlikely they would sustain top speed for the whole duration between stops, it's still a relatively small safety margin for false positives compared to 150kmph subway/monorail/bus/trolleybus.


doom upgrade from within emacs does not work

What did you expect to happen?
To call M-x doom/upgrade and upgrade successfully.
What actually happened?
I called M-x doom/upgrade and was presented with:
-*- mode: compilation; default-directory: "~/bsab/" -*-
Compilation started at Sat Jan 25 22:32:05

/home/cody/.emacs.d/bin/doom upgrade
Loading /nix/store/gj66vn85p4brc2z33khgaw7pl5azplz8-emacs-27.0.50/share/emacs/site-lisp/site-start.el (source)...
> Preparing to upgrade Doom Emacs and its packages...
- A new version of Doom Emacs is available!

  Old revision: 12ebc58f2e (11 days ago)
  New revision: de6732b4ae (8 hours ago)

View the comparison diff in your browser? (y or n)

I hit yes and nothing happend, hit yes a second time, and then realized my focus was still in the org buffer I was in before calling upgrade.
Since you can't proceed past the yes or no question in any way, upgrading is not possible.
System information:

((emacs
  (version . "27.0.50")
  (features . "XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER GMP")
  (build . "Jan 25, 2020")
  (buildopts "--prefix=/nix/store/gj66vn85p4brc2z33khgaw7pl5azplz8-emacs-27.0.50 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200")
  (windowsys . batch)
  (daemonp . server-running))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop 12ebc58f2 2020-01-15 02:20:46 -0500")
  (dir . "~/.config/doom/"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/run/current-system/sw/bin/bash")
  (uname . "Linux 4.19.91 #1-NixOS SMP Sat Dec 21 09:57:45 UTC 2019 x86_64")
  (path "/nix/store/m9ckg7cvzv7anbygg7vyw432srcs45nd-emacs-packages-deps/bin" "/run/wrappers/bin" "~/.nix-profile/bin" "/etc/profiles/per-user/cody/bin" "/nix/var/nix/profiles/default/bin" "/run/current-system/sw/bin" "/nix/store/gj66vn85p4brc2z33khgaw7pl5azplz8-emacs-27.0.50/libexec/emacs/27.0.50/x86_64-pc-linux-gnu"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets word-wrap :emacs dired electric ibuffer vc :term eshell shell :checkers syntax :tools docker (eval +overlay) (lookup +docsets) magit :lang data emacs-lisp markdown nix (org +dragndrop +present) sh :config literate (default +bindings +smartparens))
  (packages prescient "(company-prescient :pin \"7fd8c3b8028da4733434940c4aac1209281bef58\")" all-the-icons-ivy counsel-tramp peep-dired "(diredfl :pin \"83567d00affce66a4e501563eddd0bd436ac48d0\")" yasnippet-snippets apache-mode pkgbuild-mode nginx-mode ob-http systemd flycheck-checkbashisms tldr "(doom-modeline :pin \"dbd9251979de2d94073197b406fe5a72aa593e5d\")" "(anzu :pin \"592f8ee6d0b1bc543943b36a30063c2d1aac4b22\")" "(evil-anzu :pin \"9bca6ca14d865e7e005bc02a28a09b4ae74facc9\")" "(om :recipe (:repo \"https://github.com/ndwarshuis/om.el.git\"))" highlight-indent-guides org-super-agenda dired-quick-sort org-starter org-reverse-datetree org-web-tools)
  (elpa "n/a")))

Sorry for the late response. This was fixed in 0e851ace9ba4, back in May. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!


Azure Extranet

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

Hello @Deez3 Thank you for your feedback. In order to best address your question with right team, could you provide us with the URL of the MS Doc that you were following?

@Deez3 Just following up here, let us know if we can assist with regards to any MS Doc :)

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Adaptation for Linux Os

Hello,
I work on a project to get VmWare statistics produce by a powershell script and integrate them on a php web page.
For my convenience, i decide that powershell will reside on linux server.
The web page will get these stats by REST service in powershell too (Polaris).
Then i found your work and it correspond to my need.
To work on linux powershell, i have adapted your module to run on this environment.
I've made tests on these environments:
Windows 2022 Standard - Powershell 7.2.5
Ubuntu 22.04 - Powershell 7.2.6
These changes mainly concern files handling and temporary files location.
I hope you'll enjoy this adaptation.
Best regards.
R. Lajaunie

Hi Lajaunie,
Thank you very much for your input. I gladly merge your changes!
I am glad my module was helpful.
Best regards,
Alex


Add IPv6 support (command-line and tuntap)

Purpose :writing_hand:
Add IPv6 support.
Issues

[x] tuntap refuses (even tested with ip addr add <v6addr> dev tnc0 to accept IPv6 addresses
[x] command-line parsing
[x] driver code (tuntap)
[ ] code review // clean up // safety checks // error handling

Progressing with most of what I can for adding Ipv6 to tncattach, all the code is done. Just need to bug fix. For some reason the interface tuntap interface being brought up gives "INVALID ARGUMENT" when trying to add the v6 address; but it works on other interfaces. Infact, it also fails on ip addr add ... dev tnc0; indicates something about the way the interface is setup that is problematic

Will continue on this when I have spare time again :)

Found the problem, an mtu of at least 1280 is required for IPv6 on Linux, added a warning for this

Found the problem, an mtu of at least 1280 is required for IPv6 on Linux, added a warning for this

Fixing this means I can also technically remove the code I just added for adding link-local as now one is added by the kernel automagically (since meeting the mtu requirement)

Done :heavy_check_mark: . Keeping option to have a no-user-specified mode for Ipv6 addresses, but no longer need to generate and add such a link-local address

Actually, just setting mtu is fine enough

Oki doki, looks to be done. Maybe just some clean up but looks good to me

tncattach

Now parse IPv6 address and prefix in opt-args

TAP

Removed parsing from here

I think this just need a little code review now @markqvist

Thanks. Have you verified that this is still working correctly with both TUN and TAP devices while not using IPv6?

I will test today:

TUN v6
Non-v6 TUN and TAP

On 19 December 2024 11:34:33 SAST, markqvist @.***> wrote:

Thanks. Have you verified that this is still working correctly with both TUN and TAP devices while not using IPv6?
--
Reply to this email directly or view it on GitHub:
https://github.com/markqvist/tncattach/pull/16#issuecomment-2553195353
You are receiving this because you authored the thread.
Message ID: @.***>

Tristan B. Velloza Kildaire
Web: https://deavmi.assigned.network
BNET IRC: deavmi
Email: @.***

I will test today: 1. TUN v6 2. Non-v6 TUN and TAP
…
On 19 December 2024 11:34:33 SAST, markqvist @.> wrote: Thanks. Have you verified that this is still working correctly with both TUN and TAP devices while not using IPv6? -- Reply to this email directly or view it on GitHub: #16 (comment) You are receiving this because you authored the thread. Message ID: @.>
---- Tristan B. Velloza Kildaire Web: https://deavmi.assigned.network BNET IRC: deavmi Email: @.***

TUN v6 :heavy_check_mark:
TUN v4 :heavy_check_mark:
TAP v6 :heavy_check_mark:
TAP v4 :heavy_check_mark:

To be extra precautious you could sqaush merge this PR for easy reverting

I will test today: 1. TUN v6 2. Non-v6 TUN and TAP
…
On 19 December 2024 11:34:33 SAST, markqvist @.> wrote: Thanks. Have you verified that this is still working correctly with both TUN and TAP devices while not using IPv6? -- Reply to this email directly or view it on GitHub: #16 (comment) You are receiving this because you authored the thread. Message ID<EMAIL_ADDRESS>---- Tristan B. Velloza Kildaire Web: https://deavmi.assigned.network BNET IRC: deavmi Email<EMAIL_ADDRESS>
TUN v6 ✔ TUN v4 ✔ TAP v6 ✔ TAP v4 ✔

@markqvist

Cleaned up indentation now, if there is any code styling you want me to follow before you merge, then let
me know. I shall happily comply.

Awesome. Everything looking good. Will be merging this now.

Thanks a lot for your work and initiative on this PR. Great to finally have v6 support in tncattach!

Thanks a lot for your work and initiative on this PR. Great to finally have v6 support in tncattach!

Technically was always there, basic support but having an option that ups the MTU to the minimum required on Linux is more explicit.
The real addition is that you can add an address now (other than link-local which will automatically be added by the kernel when the MTU is 1280 or above).
Thanks for merging!

One more thing, update the readme.MD with the new optargs usage screen output! :-)
On 22 December 2024 15:28:21 SAST, markqvist @.***> wrote:

Thanks a lot for your work and initiative on this PR. Great to finally have v6 support in tncattach!
--
Reply to this email directly or view it on GitHub:
https://github.com/markqvist/tncattach/pull/16#issuecomment-2558457161
You are receiving this because you authored the thread.
Message ID: @.***>

Tristan B. Velloza Kildaire
Web: https://deavmi.assigned.network
BNET IRC: deavmi
Email: @.***


Line spacing in word output

@wjschne is there a way to change line spacing (from 2 to 1.5) for word document output? I've tried linestretch, however, this doesn't work for word documents.

Thank you @wjschne. I think, I will make this small change directly in the word document.


Fix BS and Border entry in Link and FreeText annotations

@MaximPlusov please create individual new Errata corrections against ISO 32000-2 in https://github.com/pdf-association/pdf-issues/ for corrections that do not match the text in ISO 32000-2:2020. Arlington needs to be a precise match against the spec.
Table 176 BS entry for Link annot and Table 177 BS entry for Free text annot both explicitly state they were introduced in PDF 1.6.


Out-of-date version of fabric-sdk

it`s useful tutorial\example, but why you use older version of fabric-sdk, there are some reasons for this?
In the current version of sdk, package util not exist, it was be removed on commit - [FAB-4890] Fabric Txn API and removed utils.
Thx.

@sg3des and @xuchenhao001 the new version was merged on master (#4). If you have any suggestions, don't hesitate to come back to me.


Is Coveralls more annoyance than it is worth?

I don't have time to look into alternative configurations, but I am open to the possibility that Coveralls commenting every time coverage changes by %0.001 is more noise than help. Thoughts, @sferik?

:+1: I completely agree about @coveralls There’s a new service called @codecov that claims to do the same thing but better. Want to try swapping that in? https://codecov.io/

Just took a quick stab at it, but the recommended travis config errorred out :-(

Hey @avdi, I'm the founder at @codecov and wanted to jump in and help so see what happened during your CI build. Could you provide me with a link to the Travis build that failed. Thanks!

Here it is: https://travis-ci.org/avdi/naught/builds/66235188

Read more here: https://github.com/codecov/codecov-ruby

@@ .travis.yml @@
- before_install:
-  pip install codecov
- after_success:
-  codecov

@@ naught/spec/spec_helper.rb @@
+ require 'codecov'
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov

@@ Gemfile @@
+ gem 'codecov', :require => false, :group => :test

Let me know if these changes work :) Cheers!

@stevepeak When I try implementing the change you suggest, I get the following output after running the tests in my development environment:
{"message": "token or build not found", "meta": {"request": "19fb93a2-d8de-4830-bfe7-2eddd2d74ef9", "status": 400}, "uploaded": false}

This change also It also seems to generate a tmp.json artifact that is not removed, despite the fact that the upload seems to fail with a 400 error. I could add tmp.json to this project’s .gitignore but I would rather it just clean itself up.

@sferik this 400 would be expected when running locally with on token or CI build.
I do notice the tmp.json created here. I dont believe this line is actually necessary. I'll see to removing it.

@sferik was your project going to integrate with Codecov? Let me know how I can help out in any way. Thank you!

@stevepeak We tried it out but decided against it. Thanks anyway for your help!


support the toc on the top/left/right of the output xml, maybe that be cool.

Hello @shasky2014, I am not sure I understand what you mean, could you elaborate on your improvement suggestion?
jonasbn

@naokazuterada I do not understand this question, unless you can clarify I suggest for this issue to be closed.

@jonasbn I'm not sure too...
OK, I close this.


Removed AWSClient.signURL

Removed AWSClient.signURL that is just a proxy to the AWSSigner. Keep the API clean. With 5.0.0 we can remove it!

I think this should stay. It is something I get asked about all the time, and if we remove it, it will make it quite hard to find the functionality. Having a helper function for popular features is not necessarily indicative of an untidy api.

@adam-fowler I would like to argue that we should expose AWSSignerV4 as a library product. Users can use the signer directly then.

@adam-fowler I would like to argue that we should expose AWSSignerV4 as a library product. Users can use the signer directly then.

Funny you were arguing for it to be implementation only a few months back :-)
I’m adding some public symbols to it for the s3 chunked signing which don’t make sense outside of aws-sdk-swift-core so not sure about it being a library product.

I’m adding some public symbols to it for the s3 chunked signing which don’t make sense outside of aws-sdk-swift-core so not sure about it being a library product.

Could those be extensions within AWSSDKSwiftCore?

If we remove the signURL function we'll need to add a function to provide a signer to the user, so they can call the signer functions.
The s3 chunk signing stuff uses internal symbols from AWSSignerV4, so moving it to AWSSDKSwiftCore would require exposing more of AWSSignerV4. I would suggest we remove AWSSignerV4 from exports.swift (shouldnt really be there) and leave the one signURL function in AWSClient.


[Xcode] Expand Macro and Inline Macro commands put extension macro expansion in nested type and not at top level.

Description
No response
Reproduction
https://forums.swift.org/t/extensionmacro-on-a-nested-type-does-not-generate-extension-at-top-level/71349
Here is a diff on swift-syntax to repro:
diff --git a/Examples/Sources/MacroExamples/Playground/main.swift b/Examples/Sources/MacroExamples/Playground/main.swift
index 6df22c09..00df357b 100644
--- a/Examples/Sources/MacroExamples/Playground/main.swift
+++ b/Examples/Sources/MacroExamples/Playground/main.swift
@@ -84,6 +84,11 @@ print("Point storage contains only the value we set:  \(point)")

 // MARK: - ObservableMacro

+struct Outer {
+  @Observable
+  struct Inner {}
+}
+
 struct Treat {}

 @Observable

Expected behavior
Similar behavior to assertMacroExpansion.
Environment
Xcode 15.3 and Swift-Syntax 510.0.1.
Additional information
No response

cc @ahoppen


Place: Providing BOTH the room name AND the building name

I stumbled upon a case where I was extremely challenged in retrieving the Offer page for a show that I wanted to recommend to a friend. Here's what I recounted to the presenting organization:

"La page "Programmation" de votre site ne fonctionne pas aujourd'hui : il n'y a aucun événement à venir.
C'est dommage, car j'essayais de récupérer le lien vers la page de "Durant des années" afin de recommander ce spectacle à une amie.
J'ai appelé votre billetterie et la personne très gentille et courtoise qui m'a répondu a suggéré que je consulte directement le site de la billetterie Tuxedo. Ça n'a toutefois pas été facile puisque Tuxedo n'affiche pas les événements sur son site principal. Il m'aura fallu plusieurs recherches sur Google pour que j'arrive finalement au mini-site de LNSGD/Tuxedo, qui n'est lui-même pas super bien optimisé pour la découverte. Les mots-clés «La Nouvelle Scène Gilles Desjardins» n'apparaissent ni dans le corps de la page, ni dans les données structurées en arrière-plan (résultat Schema Validator)."

Indeed, the structured data on this page identifies the Place entity with a location.name that corresponds to the specific room ("Studio A") rather than the more commonly known building name ("La Nouvelle Scène Gilles Desjardins").
I suspect this issue is likely to be frequently experienced with event data from ticketing service providers. Their particular use case requires offers to be attached to a specific room, with a specific capacity, rather than to a building. A quick look at the lepointdevente.com reveals other examples of venue names that even local arts goers may not be familiar with, such as salle Fenplast (at Collège Charles-Lemoyne).
I believe this is the kind of issue that Artsdata is apt at solving.
Could run automated inference on Artsdata minted events to retrieve the building name and push it as a value under location.alternativeName, if applicable?
Beyond serving a basic discoverability use case, I believe this feature could be useful to data reusers who might wish to populate both values on their webpage (possibly using different heading or body styles).
See also this other discussion on Event alternateName: https://github.com/culturecreates/artsdata-data-model/issues/96

FYI - I was curious to know if alternateName had any impact whatsoever on SEO. My Google search found several blog posts that recommended the property for businesses. This is consistent with Google's own recommendations for organization structured data:

We recommend focusing on properties that are useful to your users, such as name or alternateName for your business name as well as an indication of real-world presence (for example, address or telephone) and online presence (for example, url or logo).
Source: Google, Organization Structured Data

If the property can improve the SEO of businesses, I guess it would also improve the SEO (and discoverability) of venues.


Ask your questions on Slack!

Slack: https://cpplang.now.sh/, the #vcpkg channel

I think this project must use Microsoft Teams :)

I tried to join the slack channel and got back "no_perms". Any idea what I should do?

Having the same problem, also getting "no_perms".

I am also having this issue, we're supposed to put our e-mail address into the<EMAIL_ADDRESS>

I could get the e-mail through https://cpplang-inviter.cppalliance.org/

Looks like it's been fixed

wtf is manifest mode? and what problem does it solve?

The website is no longer available.

This deployment is no longer available.
ZEIT Now 1.0 has been shut down. As part of this, all ZEIT Now 1.0 Deployments are now inaccessible.
If you are the owner of this ZEIT Now 1.0 Project, click here to learn more →

Closing this issue as the Slack invite is in the readme.


Fix issues reported by staticcheck

Codecov Report

Merging #268 (02c9652) into master (5a49c43) will increase coverage by 0.19%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master     #268      +/-   ##
==========================================
+ Coverage   63.57%   63.76%   +0.19%
==========================================
  Files          79       75       -4
  Lines        5655     5636      -19
==========================================
- Hits         3595     3594       -1
+ Misses       1697     1679      -18
  Partials      363      363

Impacted Files
Coverage Δ

examples/dtls/pki/cert_gen.go
73.33% <0.00%> (-2.53%)
:arrow_down:

examples/dtls/psk/server/main.go
0.00% <0.00%> (ø)

examples/simple/server/main.go
0.00% <0.00%> (ø)

net/dtlslistener.go
70.00% <ø> (ø)

tcp/session.go
71.75% <ø> (+0.98%)
:arrow_up:

udp/client/clientobserve.go
71.71% <ø> (ø)

net/connUDP.go
61.62% <80.00%> (-0.23%)
:arrow_down:

udp/session.go
88.73% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix the CheckBox component's onChange parameters

I noticed a bug in the CheckBox component. The onChange function was only getting "on" passed to it instead of the actual checkbox state.
Let me know if I did something dumb, I'm new to all of this.

Coverage increased (+0.02%) to 98.396% when pulling 5454303ee109d9eb6a307088f90aa06a0cc0a2b7 on thallada/fix-checkbox-onchange into 11388501b42593ab76d0f91374eab98c3de317ea on master.


Using Vapid with Vue.js

Hi all, I'm super excited about Vapid. Up front, I've not dealt much with CMS before, and I figured it would be a great point of entry for me. My development experience is almost all front-end.
And so, I'll be the first to ask it:
How would I get up and running using Vapid with Vue.js?
I usually initialize my Vue projects with either vue-cli, or I use Nuxt, which spoils me and sets everything up. As I understand it, Nuxt, being a SSR framework, wouldn't play nicely with Vapid, so I'm going with plain Vue.
My guess is that I'll want to be passing the contents of dist to Vapid, essentially as a replacement for the www folder that vapid-cli creates. As I've never done this before though, I don't know if that's actually correct, and I'm just playing around at the moment to see what I can learn.
Some specific questions I have:

Where/how is webpack configured in projects created using vapid-cli?
Would the vapid start command and associated script replace the npm run serve script I usually use while developing Vue apps?
Will Vapid work running Vue in SPA mode?
Should I try to configure webpack to build my Vue files and components into www (essentially replacing dist)?

I'd really appreciate even just a point in the right direction. Thanks!

@alecmarcus I see you started a topic in the forums—thank you. That's a good place for us to discuss Vapid and Vue, and hopefully, others can jump in. I'm going to close this issue, and reply in the forum thread.


Windows Authentication: Different Groups returned for Auto-Login or Explicit Manual Login

I have an ASP.NET Core 3.0 application that works with local Intranet Windows Authentication to identify logged in users. Using the standard Windows Authentication behaviors I'm able to capture the user's WindowsIdentity without an issue.
However, depending on how the user is logged into the browser using either automatic Intranet Browser login (ie. no password dialog) or explicitly logging in using the browser Password dialog box, I get different results for the user's groups.
The following is an API request that echos back user information including a filtered group membership list (that excludes built-in accounts). The one on the left is a manual login, the one on the right an auto-login.
For the explicit login I correctly see all the custom groups the user is part of. However, for the auto-login, those same groups do not show up:

I also took a close look at the User and Identity instances on the server, and it's referencing the exact same SIDs for the user, so it seems strange that different results are being returned for the Group Membership.
Any ideas why the group list is different when I am getting the same account returned? Note the groups are local so it shouldn't be an issue due to domain access.

Note: I'm testing locally on localhost even, and to test this I set the Windows Proxy Settings here:

With the checkboxes off I'm forced to login. With them on (in Chromium browsers anyway) I have to explicitly enter my credentials into the browser's login dialog.

Environment

Windows 10
Local Logons
Using Chrome/Edgium (they auto-logon by default)
Using Kestrel or IIS Express (tried both same behavior)

Repro Steps

Create a Web Application with Windows Auth enabled.
Add an endpoint or middleware Use handler after authentication
Make sure you have or add some user defined roles (Local is what I'm using here)
Access via Edge Chrome on local machine
Expected: Auto-login and you won't be able to see the custom groups
Now switch to forced logins in Internet Settings

Open Internet Settings | Security | Local Intranet Zone
Open Advanced | Custom Level | User Authentication | Logon
Set to: Prompt for username and password

Shut down browser and re-run same request
Expected: you should now properly get the custom groups returned

// in `Configure()`
app.UseAuthentication();
app.UseAuthorization();

// Pick up Windows Authentication
app.Use(async (context, next) =>
{

    // First off ensure that user is authenticated with NTLM Auth
    if (!context.User.Identity.IsAuthenticated)
    {
        context.Response.StatusCode = 401;
        context.Response.Headers.Add("www-authenticate",
            new Microsoft.Extensions.Primitives.StringValues(new string[]
            {
                "Negotiate", "NTLM"
            }));

        await context.Response.WriteAsync("Unauthorized");
        return;
    }

    // check for your group here
    var isInGroup = context.User.IsInRole("FTDB-Technician");

    var groups = GetGroups(user.Identity as WindowsIdentity);
    await next();

});

// windows identity
public static List<WindowsGroup> GetGroups(WindowsIdentity identity)
{
    var groups = new List<WindowsGroup>();

    foreach (var group in identity.Groups)
    {
        var sid = group.Value;
        var groupName = GetGroupNameBySid(sid);
        var (username, domain) = SplitUserDomain(groupName);

        if (groupName.StartsWith("NT AUTHORITY") ||
            groupName.StartsWith("BUILTIN") ||
            username == "Everyone" ||
            username == "None" ||
            username == "docker-users")

            continue;

        groups.Add(new WindowsGroup() {Name = username , Domain = domain + "," + sid + "," + identity.Name});
    }

    return groups;
}

public static string GetGroupNameBySid(string sid)
{
    try
    {
        return new SecurityIdentifier(sid).Translate(typeof(NTAccount)).ToString();
    }
    catch
    {
        return sid;
    }
}

Expected Behavior
Expecting to see the same user data regardless of whether the login is 'automatic' or manual.

Does IsInRole still work for the "missing" groups? WindowsIdentity doesn't populate the roles in the way cookies or JWT does.

This is on Windows. Same result using Kestrel directly or using IIS Express.
Again - the problem isn't that it doesn't it work at all - it's that it doesn't work when automatically logged in vs. explicitly being logged.
Different behavior for what should result in the same account being returned with the same exact attributes.
The questions that come to my mind is this:

Is Chrome sending a different user context that makes this different
depending on whether it uses explicitly forced log in or auto-login?

Why would ASP.NET Care about above? Windows is picking up the same
exact user SID, so why the different group memberships here?

Just for reference I'm pasting the request traces for each of the three types of requests I tend to make:

Http Client (explicitly provides uid/pwd on each request) - works
Edgium/Chrome with auto-login - doesn't work
Edgium/Chrome with auto-login disable forcing explicit login - works

Comparing request traces:
Works (from my HTTP Client):
GET https://localhost:5001/account/userstate HTTP/1.1
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3915.0 Safari/537.36 Edg/79.0.287.3
Authorization: Negotiate TlR22VNTUAADAAAAGAAYAHIAAADuAO4AigAAAAAAAABYAAAADgAOAFgAAAAMAAwAZgAAABAAEAB4AQAAFYKI4goA6kkAAAAPOU/w7N9731GENKwO8PjeZ3IAcwB0AHIAYQBoAGwAUgBBAFMAVwBJAE4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9G0vfxZ+ZEoaKItYU6VcUwEBAAAAAAAAGUz1Unt81QHDEL7Hd3KNbAAAAAACAAwAUgBBAFMAVwBJAE4AAQAMAFIAQQBTAFcASQBOAAQADABSAEEAUwBXAEkATgADAAwAUgBBAFMAVwBJAE4ABwAIABlM9VJ7fNUBBgAEAAIAAAAIADAAMAAAAAAAAAABAAAAACAAADmayz0EVIkTD7fPcH/qMN9F2ruH6zvDQe/tOeG8atdtCgAQAKBzSKrJJNkmrnS0V0gR6uIJABYASABUAFQAUAAvAFIAQQBTAFcASQBOAAAAAAAAAAAAAAAAADIZrqxQdxpVnwAAFnZCHMQ=
Host: localhost:5001

Doesn't work from Web Browser with Auto-Login:
GET https://localhost:5001/account/userstate HTTP/1.1
Host: localhost:5001
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Authorization: Negotiate oXcwdaADCgEBoloEWE5UTE1TU1AAAwAAAAAAAABYAAAAAAAAAFgAAAAAAAAAWAAAAAAAAABYAAAAAAAAAFgAAAAAAAAAWAAAABXCiOIKAOpJAAAAD90Uv02K71nzNItLOLlDRtijEgQQAQAAABTPl7JCSaeOAAAAAA==
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3915.0 Safari/537.36 Edg/79.0.287.3
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: __utmz=111872281.1557000280.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); WebStoreUser=; _ga=GA1.1.1593582071.1557000280; .AspNet.Consent=yes; weblog_user=Rick Strahl<EMAIL_ADDRESS>wwt=6EYWGHcnCkBkUyCL; __utma=111872281.1593582071.1557000280.1569911705.1569917482.17; ftdb-token=023AD39E6344ACF2DF291525080B9B1AE79823956E5C1FC3351DE8AC24E4CA328F7868AC8F7DE6A8AE8935D4A0C3394D46D6A0CBAFBE597E75008462DF3386E0

Works: In Chrome with Explicit Login Forced via Connection Settings
GET https://localhost:5001/account/userstate HTTP/1.1
Host: localhost:5001
Connection: keep-alive
Cache-Control: max-age=0
Authorization: Negotiate TlRMTVNTUAADAAAAGAAYAHIAAAD0APQAigAAAAAAAABYAAAADgAOAFgAAAAMAAwAZgAAABAAEAB+AQAAFYKI4goA6kkAAAAPa8DwLNe4FougDeH7X6mJxnIAcwB0AHIAYQBoAGwAUgBBAFMAVwBJAE4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAi0KZu2oJYAS5lGjLTOvqtwEBAAAAAAAAeHZyDH181QGOd5Wg5/pHlwAAAAACAAwAUgBBAFMAVwBJAE4AAQAMAFIAQQBTAFcASQBOAAQADABSAEEAUwBXAEkATgADAAwAUgBBAFMAVwBJAE4ABwAIAHh2cgx9fNUBBgAEAAIAAAAIADAAMAAAAAAAAAABAAAAACAAADmayz0EVIkTD7fPcH/qMN9F2ruH6zvDQe/tOeG8atdtCgAQAE+uI73nPkm2PKAT+XvLeuMJABwASABUAFQAUAAvAGwAbwBjAGEAbABoAG8AcwB0AAAAAAAAAAAAAAAAAEYojwOzCSd/O7DIsuho0XU=
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3915.0 Safari/537.36 Edg/79.0.287.3
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: __utmz=111872281.1557000280.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); WebStoreUser=; _ga=GA1.1.1593582071.1557000280; .AspNet.Consent=yes; weblog_user=Rick Strahl<EMAIL_ADDRESS>wwt=6EYWGHcnCkBkUyCL; __utma=111872281.1593582071.1557000280.1569911705.1569917482.17

You missed one thing I asked, does IsInRole() work?
Also does it work under IIS proper?

Sorry must have edited it ou. No it doesn’t work when the groups are missing in the claims.

Weird.
Ok. @brentschmaltz you own WindowsIdentity and WindowsPrincipal. Do you have any idea what's happening here?

Ok, I've set up a simple repo project that demonstrates the behavior I'm talking about here.
https://github.com/RickStrahl-Content/WindowsAuthWithGroupsIssue
Code is a single file here.
This project uses a super simple challenge and middleware endpoint to echo back what groups it sees after the login succeeds.
The two scenarios that differ are:

Intranet Auto-logon
Forced Browser Dialog Logon

As mentinoed above I get very different results for the auto-login vs. a forced browser login. The Auto-login is not returning any of my custom groups. In fact it's returning quite a different set of groups.

Note in all the shots below the User Sid is always the same - IOW, we're talking about the same user, on the same machine in the same environment, returning different results here!

Explicit Browser Login get the full list of Groups:

This works as it should - it's retrieving the list of custom accounts I've added.
Automatic Browser Login on Chrome, Edge, FireFox

IIS Proper
Finally I also published the site (locally) and used IIS to access it. Enabled Windows Authentication on the new site, then added the site to local Intranet groups.
With Auto-logon enabled once again - no groups are returned.

To clarfify the behavior occurs in Chrome, Edgium. FireFox is Ok because it doesn't support auto-login and always forces a login. Classic Edge fails to load the page (WTF?)...

Any update on this?

Ok - figured it out. Turns out it's sort of Operator Error, but related to the way Windows logons are apparently handled.
The issue is that I created new groups in Windows and then tried to use these groups in the application. These days, I don't reboot or log out of Windows very much so even though this discussion has dragged on for a week and more, I never logged out.
Apparently when you do Auto-Logon, Windows picks up a cached token of the user when the logon occurred. IOW, it looks like it shows only the groups that were present when I logged in. When logging in explicitly it refreshes credentials completely rather than re-using the cached credential.
When I finally decided to reboot my machine, the automatic login started returning the missing groups just fine. I verified if I add additional groups after the logon, they don't show up until I either log out or reboot.
This might be worthwhile to document in relation to groups with Windows Authentication.
Many thanks to Gabriel Luci, who actually suggested this in this StackOverflow issue I posted related to this issue.


added convex hull plugin for maya 2017 64bit

thanks for compiling a 2016 version for me, its merged into master now


Various fixes and workaround for auto-conforming protocols

Derived storage should not conform to the auto-conforming protocols if its containing struct manually implements the requirement.
Tons of workarounds for Equatable-related compiler bugs.
Support for CodingKeys.

I've reviewed all the contents of this PR. It is mainly trying to solve two issues:

@COW-applied structs that have their own static func == implemented cannot compile.
@COW-applied structs that have their own CodingKeys defined cannot compile.

The solution is almost sophisticated. However, it still needs to modify several places to make this PR fit this repository.
Plus, I also think that the solution to the issue 1 could be simpler.
[Coding style] Create syntax from API instead of string literals.
I found several places that creates syntax from string literal. This involves a parser to parse the texts and is not guaranteed by Swift compiler's semantic analysis. Creating syntax from API could be more efficient and we can precisely get what we want.
[Coding Style] Explicit access control in non-test, non-executable targets
This coding style is learned from Swift Standard Library. Explicit access control can help us think more clearly in finding the scope of a declaration.
[Functionality] A simpler Equatable workaround
When a @COW-applied struct that has its own static func == implemented, the derived storage hasn't no longer to be Equatable. Making the derived storage to be Equatable is a workaround and the behavior of its static func == is actually undefined.
Why cannot we just return true or false is the static func == function of the derived storage?
This also eliminates transferring members from the @COW-applied struct which may involve new issues.

Some SwiftSyntax APIs are so frustrating to work with so I just used string literals as a shortcut when I was trying to come up with a working solution. I have replaced most of them into strong-typed initializer calls (except for those creating TokenSyntax); if you still find some left please let me know.
While I agree that API calls may have slightly better performance, they are so long to write (for even an oneliner) and definitely hurt readability. Just look at the revised encode() and decode() expansion.

After offline discussion with @WeZZard we came up with a new idea working around dispatching dynamic == calls to correct implementation by using underscore attribute @_implements. Despite being a private API technically, it results in a much simpler workaround and both of us thinks it is acceptable.

I found an additional test case that cannot compile: With COWMacro, developers can define a custom storage type by themselves by introducing an @COWStorage-makred sub-struct. The @COW macro does not generate the Equatable workaround in this case.
@COW
  struct ManuallyConformedEquatableStructWithCustomStorage: Hashable, Equatable {

    @COWStorage
    struct CustomStorage {

    }

    var value: Int = 0
    var wrappedValue: Int { value }

    func hash(into hasher: inout Hasher) {
      hasher.combine(value)
    }

    static func == (lhs: Self, rhs: Self) -> Bool {
      return lhs.wrappedValue == rhs.wrappedValue
    }

  }

Plus, it was spot that the compiler bug you've encountered that Equatable-conformed struct having custom implementation of == won't compile with @COW also happens when the struct conforms to protocols involving static operator functions like Comparable. This is really a serious bug. Do you have further plan or interest to report this bug to Apple or fix it? Or, I might try to investigate the root cause of this bug and fix it.

I also wrote an additional test case for the Codable workaround. The test is passed. But I think we can add this test case to the COWIntegratedTests test suite thus we can regress it all the time.
  @COW
  struct CodableStructWithCustomStorageType: Codable {

    @COWStorage
    struct CustomStorage: Codable {

    }

    var value: Int = 0

  }

  func testCodableStructWithCustomStorageType() {
    var fee = CodableStructWithCustomStorageType()
    primitiveTestCRUD(&fee, properties: (\.value, 0, 100))
    do {
      let encoder = JSONEncoder()
      let data = try encoder.encode(fee)
      let decoder = JSONDecoder()
      let codededFee = try decoder.decode(CodableStruct.self, from: data)
      XCTAssertEqual(fee.value, codededFee.value)
    } catch _ {
      XCTFail()
    }
  }

Plus, it was spot that the compiler bug you've encountered that Equatable-conformed struct having custom implementation of == won't compile with @COW also happens when the struct conforms to protocols involving static operator functions like Comparable. The demo code is posted below.

I think the best we can do for now is to relax the protocol list check (i.e. to just check if there is a manual conformance to ==).

But I think even we enumerated all the protocols that potentially have this issue in the Standard Library, it is still far from thoroughly solving this issue. The compiler has to be fixed. This is really a serious bug. Do you have further plan or interest to report this bug to Apple or fix it? Or, I might try to investigate the root cause of this bug and fix it.

The forums post to which I paste the link at the beginning of the comment to applyEquatableWorkaroundIfNeeded is what I've been done. Sadly it seems that it haven't drawn enough attention.
Last week I noticed that apple/swift#73681 has been merged which I think could be possible to resolve the issue by just reading the description. I haven't got free time to test the latest nightly toolchain though.


ERROR TypeError: "this.container is undefined"

I am getting issue with angular 9
    setStyles ng-simple-slideshow.js:517
    ngDoCheck ng-simple-slideshow.js:189
    Angular 27
    RxJS 5
    Angular 9
core.js:5871:19

Above error on Mozilla firefox and getting below error On Chrome
ERROR TypeError: Cannot read property 'nativeElement' of undefined     at SlideshowComponent.setStyles (ng-simple-slideshow.js:517)     at SlideshowComponent.ngDoCheck (ng-simple-slideshow.js:189)     at callHook (core.js:3939)     at callHooks (core.js:3899)     at executeInitAndCheckHooks (core.js:3840)     at refreshView (core.js:11791)     at refreshDynamicEmbeddedViews (core.js:13138)     at refreshView (core.js:11796)     at refreshComponent (core.js:13213)     at refreshChildComponents (core.js:11504) defaultErrorLogger @ core.js:5871

@Guley in the interest of transparency, I have not tried anything in Angular 9 yet... I can't say for certain what is causing this. I will look as soon as I have time. In the meantime, could you send some sample code or a way to reproduce this error? That would help a lot! Thanks

Setup a new angular setup using the latest cli and latest version of angular.

Here is my sample code which I used in my work

IImage.ts:

export interface IImage {
    url: string | null;
    caption?: string;
    title?: string;
}

Tempalte:
<section class="slider" >
  <slideshow #slideshow id="slideshow" [imageUrls]="imageUrls"  [autoPlay]="true" ></slideshow>
</section>

Component.ts

import { Component, OnInit} from '@angular/core';
import {HttpService} from '../../services/http.service';
import { Router, ActivatedRoute } from '@angular/router';
import { PlatformLocation } from '@angular/common';
import { IImage } from '../../interfaces/IImage';

@Component({
  selector: 'app-slider',
  templateUrl: './slider.component.html',
  styleUrls: ['./slider.component.css'],
})

export class SliderComponent implements OnInit {
  resultdata: any = {};
  imageUrls: (string | IImage)[] = [{
          url : 'https://example.com/image/1.png',
          caption: 'Image 1',
          title: 'Image 1',
  },{
          url : 'https://example.com/image/2.png',
          caption: 'Image 2',
          title: 'Image 2',
  },{
          url : 'https://example.com/image/3.png',
          caption: 'Image 3',
          title: 'Image 3',
  }];
  constructor(private HttpService: HttpService,private router: Router){}

 /*Add images urls*/
  ngOnInit() {
    this.HttpService.postdata({}).subscribe( result  =>  {
           this.resultdata = result;
           if(this.resultdata.data.banners.length > 0){
              for (var i in this.resultdata.data.banners) {
                this.imageUrls.push({
                          url : this.resultdata.data.banners[i].image.medium,
                          caption: this.resultdata.data.banners[i].description,
                          title: this.resultdata.data.banners[i].description,
                  });
              }
           }
          });
  }
}```

Here what I got while debugging issue. may this will help you out
Package "ng-simple-slideshow" has an incompatible peer dependency to "@angular/core" (requires "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" (extended), would install "9.1.0-next.4")

That helps quite a bit actually!

check beta.11, I have updated the peer dependencies

Do upgrade angular version from 6.0.1 to 9.1.0-next.4. Code working fine up to version 8 but issue arise in version 9

In Angular9 ViewChild requires to specify {static: boolean}.
I think it can be fixed(maybe not completely) by adding {static: true} to below lines.
https://github.com/dockleryxk/ng-simple-slideshow/blob/f563ac58b8c20e27caeaa0be9b2258560604b99a/src/app/modules/slideshow/slideshow.component.ts#L66
  @ViewChild('container', { static: true }) container: ElementRef;
  @ViewChild('prevArrow', { static: true }) prevArrow: ElementRef;
  @ViewChild('nextArrow', { static: true }) nextArrow: ElementRef;

In Angular9 ViewChild requires to specify {static: boolean}.
I think it can be fixed(maybe not completely) by adding {static: true} to below lines.
https://github.com/dockleryxk/ng-simple-slideshow/blob/f563ac58b8c20e27caeaa0be9b2258560604b99a/src/app/modules/slideshow/slideshow.component.ts#L66
  @ViewChild('container', { static: true }) container: ElementRef;
  @ViewChild('prevArrow', { static: true }) prevArrow: ElementRef;
  @ViewChild('nextArrow', { static: true }) nextArrow: ElementRef;

Is possible to create a beta version with this change?
Thanks!

Would be nice indeed if you can make an update that is compatible with Angular 9

In Angular9 ViewChild requires to specify {static: boolean}.
I think it can be fixed(maybe not completely) by adding {static: true} to below lines.
https://github.com/dockleryxk/ng-simple-slideshow/blob/f563ac58b8c20e27caeaa0be9b2258560604b99a/src/app/modules/slideshow/slideshow.component.ts#L66
  @ViewChild('container', { static: true }) container: ElementRef;
  @ViewChild('prevArrow', { static: true }) prevArrow: ElementRef;
  @ViewChild('nextArrow', { static: true }) nextArrow: ElementRef;

Is possible to create a beta version with this change?
Thanks!

I can upgrade library to Angular 9 and make a PR. But @dockleryxk can approve and create a beta version.


UI: Upgrade dependency to newer versions

There are many warnings about deprecated package during Longhorn UI build:
---> Running in 178bd9f58e10
npm WARN deprecated<EMAIL_ADDRESS>rc-radio is deprecated, please use rc-checkbox instead.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
npm WARN deprecated<EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated<EMAIL_ADDRESS>This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.

Also, need to check UI against vulnerability scanner.

[WIP] Features to be tested:

Dashboard

Node

[ ] As UI user, i was able to list/sort all nodes details.
[ ] As UI user, i was able to disable scheduling on a node.
[ ] As UI user, i was able to filter nodes, using Name or Status (Schedulable, Unschedulable, Disabled, Down).
[ ] As UI user, i was able to add disk to node.
[ ] As UI user, i was able to enable/Disable Scheduling on a disk in a node.
[ ] As UI user, i was able to enable/disable scheduling on a node.
[ ] As UI user, i was able to Expand/Collapse nodes with all their disks.

Volume

[ ] As UI user, i was able to create a volume
[ ] As UI user, i was able to create a PV
[ ] As UI user, i was able to create a PVC to an existing volume in default/user created namespace.
[ ] As UI user, i was able to create a backup from volume.
[ ] As UI user, i was able to attach/detach  a volume.

Backup

[ ] As UI user, i was able to list/sort all volumes backup list.

Settings

General:

[ ] As UI user, i was able to configure backup target with backup target credentials
[ ] As UI user, i was able to configure Recurring Snapshot and Backup Schedule
[ ] As UI user, i was able to configure Storage Over Provisioning Percentage

Engine Image:

Reopen to track for merging the code.

Merged. Please file new bugs in the new issues.


Module is great, remapping from legacy site tools?

This module is great, thanks!
Any ideas on a tool to just crawl an old site that is being migrated to SS, and produce a spreadsheet to upload into this module?
I have a massive site that is being rebuilt and i need to redirect all the old legacy links.
Thanks in advance

This module has been superceded by the misdirection module, and is therefore no longer maintained.
https://github.com/nglasl/silverstripe-misdirection


Make deep copy of fileds from class attr to instance attr

The fields resource class attribute is the class-wide definition of
fields. Because a particular instance of the class might want to
alter self.fields, we create self.fields here by copying cls.fields.
Instances should always modify self.fields; they should not modify
cls.fields.

Thanks for the contribution! Could you add a test for this behaviour?

Ok, I'll do it a little bit later

I've added some tests which cover this functional

Thanks @andrew-bro for PR, @shaggyfrog for review!


Temperature Module Disables thermal_zone does not exist

I have run sensors_detect and successfully have CPU temperatures listed when I run sensors. However, running polybar with the temperature module I get the error:
error: Disabling module "temperature" (reason: The file '/sys/class/thermal/thermal_zone0/temp' does not exist)

looking in the /sys/class/thermal directory I have no thermal_zone*s, only cooling_device*s. Am I missing a way to have my detected CPU sensor discoverable by polybar temperature module by default?

Try having a look at the hwmon-path setting: https://github.com/polybar/polybar/wiki/Module:-temperature

Closing due to inactivity

Try having a look at the hwmon-path setting: https://github.com/polybar/polybar/wiki/Module:-temperature

It seems like hwmon-path ignored.
[module/temperature]
type = internal/temperature
interval = 0.5
hwmon-path = /sys/devices/pci0000:00/0000:00:14.3/hwmon/hwmon2/temp1_input
label =  %temperature-c%

And result still the same
error: Disabling module "temperature" (reason: The file '/sys/class/thermal/thermal_zone2/temp' does not exist)

 for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
coretemp: Core 9 /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp11_input
coretemp: Core 10 /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp12_input
coretemp: Core 0 /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input
coretemp: Core 1 /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input
coretemp: Core 9 /sys/devices/platform/coretemp.1/hwmon/hwmon1/temp11_input
coretemp: Core 10 /sys/devices/platform/coretemp.1/hwmon/hwmon1/temp12_input
coretemp: Core 0 /sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_input
coretemp: Core 1 /sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_input
**intel5500: temp1 /sys/devices/pci0000:00/0000:00:14.3/hwmon/hwmon2/temp1_input**

polybar -vvv
polybar 3.0.5

Features: +alsa -curl +i3 +mpd +network

X extensions: +randr (-monitors) -render -damage -sync -composite +xkb +xrm

Build type: None
Compiler: /usr/bin/x86_64-linux-gnu-g++
Compiler flags: -g -O2 -fdebug-prefix-map=/build/polybar-Ql3liE/polybar-3.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors
Linker flags:  -Wl,-Bsymbolic-functions -Wl,-z,relro

@Shtucer Update your polybar. It's three years out of date

@Shtucer Update your polybar. It's three years out of date

Yeah. It was Ubuntu package. Building from source solve this issue.

i had the same issue, here my path always dynamic sometimes is
k10temp: temp1 /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input
after restart
k10temp: temp1 /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
how to solve?

same problem

The same problem with me but it all happened suddenly.
I'm using i3-wm in Ubuntu and everything was working fine for many years and suddenly on the status bar the temperature field had the error 'No such file or directory: /sys/class/thermal/thermal_zone0/temp' and also my wifi device went missing. I wasn't able to find the adapter. It was saying 'Please plugin a wifi adapter'.
I don't how this can be helpful but that's what happened to me. I tried everything to get my wifi working again but I couldn't and then I re-installed the OS as well and tried a different distro but it's still same. Don't know what's happening.
Any help would be appreciated! Thanks.

same issue, whatever it wants in /sys/class/thermal, literally does not exist