Dev server not rendering anything

I'm trying to implement https://github.com/coreui/coreui-free-vue-admin-template here and can't seem to get npm run dev to render anything. Everything compiles fine and says that it is listening; however, visiting http://localhost:3000 just keepings loading.
What's strange is that if I go up to the october level and run php artisan serve I can view the site just fine.
Any thoughts?

Hmm, I've never tried using the dev server in combination with php artisan serve... Perhaps playing around with your dev proxy can solve this? You can find that value here, and it should probably match whatever url you're using to hit the website with your artisan serve command.

Are you sure? I'm following your video https://www.youtube.com/watch?v=nv55CLfWBcQ and you use npm run dev there to utilize hot loading, etc.

The dev command only starts the webpack server, which handles your frontend assets. If you're using artisan serve to run October itself, you'll need to have that running in addition to the webpack dev server. From there, making sure that your dev proxy is pointed at the url serving your October application should solve your problem.

Ahhh, ok. That makes more sense. Sorry for the trivial questions and thanks again for the speedy reply. Let me give that a go and if everything works out, I'll close this issue.

Perfect. Just in case anyone has similar questions in the future, make sure you are running php artisan serve and then npm run dev
Thanks Scott, excited about what this can do for my next app!

Great, glad you were able to get it working! And if you think the 2.x version of vuetober is exciting, just wait until you see 3.x. I'm currently working on tutorial videos for it, and hopefully it'll be ready to launch soon :)


Has anything come along to replace this gem? What are people using today?

Has anything come along to replace this gem? What are people using today?

Did you find the answer to this question?

I'm taking a look at manually setting it up via this approach https://stackoverflow.com/a/35046354


PhantomJS server module not able to receive POST data from Apache Bench

We wanted to perform some load testing on our PhantomJS script, but somewhere along the road the POST data is lost.
I've tested on PHP - the data is properly sent by AB. PhantomJS recognizes the POST request, but post or postRaw are not populated.
There is no issue using cURL - POST data is properly received by the PhantomJS script.

Great work @dshulepov, it took me all day yesterday to figure out that it was not a problem of nodejs proxies (I've tried about 8 (!) thinking I was using it wrong or theirs code was not complete to support post requests).
Do you know if there's a version 1 branch/fork with the fix?
thanks!!

Hey, I haven't been following the project for a long while, so I don't know if they released a version, which contains a fix. See my comment above. The trunk already contained (at the time of my check) the fix.


implementation of IncomingAccessControl for IdentityIdAccessControl

I want to understand the difference between this   and this

i moved this to Disccusions


Added Logo

Added the logo to the home page. This logo is only low resolution so a higher resolution one can be created if needed.

Logo designed, displays correctly and doesn't break any existing styling


[BUG] Cannot find module 'react' inside a CSUI

What happened?
Unable to import hooks from react such as useState or useEffect, I got the following error: Uncaught Error: Cannot find module 'react'
This happens on a CSUI named contents/widget.tsx with TailwindCSS setup:
import cssText from "data-text:~style.css";

import type { PlasmoCSConfig, PlasmoGetStyle } from "plasmo";
import { useState } from "react";

export const config: PlasmoCSConfig = {
  matches: ["[REDACTED]"],
};

export const getStyle: PlasmoGetStyle = () => {
  const style = document.createElement("style");

  style.textContent = cssText;

  return style;
}

const Widget = () => {
  const [activeSearch, setActiveSearch] = useState(false);

  return (
    <div className="w-[320px] absolute lg:top-[60px] lg:left-[500px] bg-white p-4 shadow-md antialiased rounded-md">
      <button
        type="button"
        className="flex items-center justify-center w-full text-base text-white bg-zinc-900 hover:bg-zinc-800 focus:outline-none px-6 py-1.5 font-medium rounded-md"
      >
        [REDACTED]
      </button>
    </div>
  );
};

export default Widget;

Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
❯ npm run dev

><EMAIL_ADDRESS>dev
> plasmo dev

🟣 Plasmo v0.83.0
🔴 The Browser Extension Framework
🔵 INFO   | Starting the extension development server...
🔵 INFO   | Loaded environment variables from: []
🟢 DONE   | Extension re-packaged in 1346ms! 🚀

(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Seconded with a devtool panel. Can render a component fine but importing anything from react breaks it.


Some questions about differential genes finding and dendrogram drawing

Hi, I also find a strange part in the code related to dendrogram drawing:

It seems that the variable group_markers appears without definition, and I think we also did not record the differential genes in different clusters. Could you please share your ideas about how to find it? Thanks a lot!

The entire repo was updated with an example, please check the latest version of the code.


"Echo" to send a test event

ISSUE TYPE

Feature Idea

Telemetry Streaming BUILD/ VERSION

N/A
BIGIP VERSION

N/A
SUMMARY

It would be useful if TS had a way to emit a static (or dynamic) test message to all configured consumers when invoked. This can aid in troubleshooting efforts to help determine where configuration issues exist (EG: HTTP Log Profiles, consumer config, etc).
It could be invoked through a POST to /mgmt/shared/telemetry/echo or something similar.
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

You can send data directly to the event listener with a tool like ncat or telnet. Depending on your configuration you should be able to use the management IP and the port that the event listener was configured on.

Would adding information on how to do that to a troubleshooting section of the Telemetry Streaming documentation be sufficient for your use case?

Adding the ncat or telnet documentation would be a great thing to do in addition to adding this new feature. IMO, the feature is still need in cases where a TS listener isn't defined.

We have started an epic AUTOTOOL-1632 to look into improving the debugging and troubleshooting tools of Telemetry Streaming. I have added this suggestion as an example use case. However, it is likely that we will cover this use case in a manner different than the echo endpoint described here. Because of this, I am closing out this issue.


Add the RISC-V entry point assembly to libtock_runtime

To support the entry point assembly, I rewrote the linker script (link to the new version in case you don't want to see the diff).
The rust toolchain is unable to compile raw assembly files on its own. I don't want a separate toolchain to be a build requirement of libtock-rs, so instead I committed the compiled library into the repository. To keep the compiled library and source code in sync, I added an actions workflow that verifies the compiled library matches the provided sources.
There is one part of this PR I am unhappy with. I have to manually strip local symbols from the compiled library -- i.e., removing the riscv64-linux-gnu-strip invocation from assemble.sh gives the following:
Disassembly of section .start:

00000000 <start>:
   0:   00000417                auipc   s0,0x0
   4:   87aa                    mv      a5,a0
   6:   4384                    lw      s1,0(a5)
   8:   00940c63                beq     s0,s1,20 <.Lset_brk>
   c:   4521                    li      a0,8
   e:   4585                    li      a1,1
  10:   4609                    li      a2,2
  12:   4709                    li      a4,2
  14:   00000073                ecall
  18:   4501                    li      a0,0
  1a:   4719                    li      a4,6
  1c:   00000073                ecall

00000020 <.Lset_brk>:
  20:   4501                    li      a0,0
  22:   43cc                    lw      a1,4(a5)
  24:   4715                    li      a4,5
  26:   00000073                ecall
  2a:   0087a103                lw      sp,8(a5)
  2e:   47c8                    lw      a0,12(a5)
  30:   c909                    beqz    a0,42 <.Lzero_bss>
  32:   4b8c                    lw      a1,16(a5)
  34:   4bd0                    lw      a2,20(a5)

00000036 <.Ldata_loop_body>:
  36:   4194                    lw      a3,0(a1)
  38:   c214                    sw      a3,0(a2)
  3a:   1571                    addi    a0,a0,-4
  3c:   0591                    addi    a1,a1,4
  3e:   0611                    addi    a2,a2,4
  40:   f97d                    bnez    a0,36 <.Ldata_loop_body>

00000042 <.Lzero_bss>:
  42:   4f88                    lw      a0,24(a5)
  44:   c519                    beqz    a0,52 <.Lcall_rust_start>
  46:   4fcc                    lw      a1,28(a5)

00000048 <.Lbss_loop_body>:
  48:   00058023                sb      zero,0(a1)
  4c:   157d                    addi    a0,a0,-1
  4e:   0585                    addi    a1,a1,1
  50:   fd65                    bnez    a0,48 <.Lbss_loop_body>

00000052 <.Lcall_rust_start>:
  52:   fafff0ef                jal     ra,0 <start>

I'd appreciate advice on how to prevent riscv64-linux-gnu-as from including the local symbols in its output.

Question: is there a reason that global_asm! is an unacceptable solution? I'm... slightly grossed out by the idea of checking in a binary so I want to see if there isn't a workaround.

AFAIK, there are four workable solutions for the entry point assembly (which I'll order from "least gross" to "grossest", as judged by me):
A. The naked_functions unstable feature
B. The global_asm unstable feature
C. Build the binary in build.rs
D. Check in a binary
The last time the Tock core WG discussed moving to stable Rust, the consensus was that Tock should try to move to stable Rust when asm is stabilized, but the group wasn't 100% sure that doing so was possible. I suggested that we use libtock-rs to evaluate the feasibility of that plan. As such, I am trying to avoid the use of any unstable features except asm. In particular, asm will probably be stabilized this year (or soon thereafter), while neither global_asm nor naked_functions appear to be nearing stabilization.
I chose to check in a binary rather than build the binary in build.rs because building the library in build.rs requires users to have a RISC-V toolchain installed, and they can be a lot of work to set up. We can't really write setup instructions because at this point the instructions would have to vary per distribution. E.g. we're using a 64-bit RISC-V toolchain in GitHub Actions because that's available.
I believe the GitHub Actions workflow I included in this PR minimizes the drawbacks of checking in a binary. Actually, writing this reminded me I need to add the new workflow to bors.toml so its failure blocks PR merges.

We shouldn't be checking in a binary. When a user edits some code and builds that code should be built. With this change we are ignoring their code and just linking with an existing binary. That is a bad idea.
Building the assembly in build.rs is an ok option, but I would say using either naked_functions or global_asm is a better option. It's not stable, but I don't see why that is such a problem. The kernel is built with unstable Rust so we aren't diverging from that.

Building the assembly in build.rs is an ok option, but I would say using either naked_functions or global_asm is a better option. It's not stable, but I don't see why that is such a problem. The kernel is built with unstable Rust so we aren't diverging from that.

I strongly prefer to avoid naked_functions and global_asm.
I am okay with building the assembly in build.rs. The main drawback is it would require all libtock-rs contributors to have both binutils-arm-none-eabi and binutils-riscv64-linux-gnu installed (my dev environment is Debian 10, so I don't have a riscv32 toolchain, so this is all I can support). If both you and @hudson-ayers are okay with that constraint then I will make that change.

What is the problem with naked_functions or global_asm?
It doesn't seem unreasonable that someone doing embedded development should install binutils. It does somewhat go against the ease of using Rust though, which is a downside.

What is the problem with naked_functions or global_asm?

Because I want at least libtock-rs (and hopefully also the Tock kernel) to move to stable Rust in the next year. Neither of those are on track for stabilization in that timeframe.

libtock-c already requires gcc-arm-none-eabi, which depends on binutils-arm-none-eabi, and optionally requires gcc-riscv64-unknown-elf, which depends on binutils-riscv64-unknown-elf.
It would probably be nice to require the same riscv toolchain for both userspace libraries, as I think there are plenty of people that use both. It would also let us re-use the installation instructions. Functionally I am not sure the difference between riscv64-unknown-elf and riscv64-linux-gnu
The way libtock-c makes the risc-v toolchain optional is by requiring an environment variable be set to turn on risc-v builds by default. I don't personally feel strongly either way about whether we should do something similar in libtock-rs. Overall I think the build.rs approach is fine

Debian 10 has riscv64-linux-gnu but not riscv64-unknown-elf, while Ubuntu 20.04 has both. I think we have the following possibilities:
A. Depend on riscv64-linux-gnu, which is distinct from libtock-c.
B. Have build.rs try riscv64-unknown-elf and fallback to riscv64-linux-gnu if it is not available. Use riscv64-unknown-elf in GitHub Actions.
I don't have a preference between the two options.

I still prefer naked_functions, it doesn't look like they are too far behind inline_asm https://github.com/rust-lang/rust/issues/32408#issuecomment-484726301
If using build.rs then option B is the better option. The Linux toolchain should only be a last resort for users that don't install the baremetal toolchain.

Unfortunately after looking some more into naked_fn stabilization timeline, I found this more recent comment by the same individual, on the rust zulip (https://rust-lang.zulipchat.com/#narrow/stream/216763-project-inline-asm/topic/Next.20steps.20for.20the.20group/near/197562883):

Amanieu 7:27 AM, May 14 2020:
I'm particularly interested in bringing global_asm! up to speed with the new features of asm!. As a bonus, this would allow us to deprecate the existing naked function support and replace it with a proc macro.

I believe we have a desire to not use procedural macros in libtock-rs, as they add several dependencies, so I am not sure we can be confident naked_fn will be a long-term solution.

Option B sounds good to me, but we should be careful that whatever we end up with works for developers on mac as well (assuming they follow the riscv toolchain instructions currently in libtock-c).

I've changed it to build the external assembly from libtock-rs, and removed the binary. This had several follow-on effects:

I discovered that the linker script selection is still broken. Evidently linker script includes are global rather than relative, and the INCLUDE layout_generic.ld lines in the per-board linker scripts was including libtock-rs' layout_generic.ld rather than libtock_runtime's layout_generic.ld. To avoid name collisions with application code, I renamed the generic layout to libtock_layout.ld.
build.rs now correctly fails when you try to build libtock_runtime on unsupported architectures (e.g. x86_64). The clippy and miri invocations that make test does started failing. I reworked these invocations to check as many things as possible without failing.
I updated the actions environments to Ubuntu 20.04 because Ubuntu 18.04 does not have the toolchain we need.
Last, I added a Mac OS workflow to see if it works on Mac OS. I expect this to take many tries to get right, so bear with me while I debug it live (I have never developed on Mac OS before, and don't have a Mac around to test on).

is there a reason TBF_HEADER_SIZE is specified per board? I guess that once we are adding permissions to the header the size might vary depending on the board?

I didn't think about this. This should probably be a per-process-binary value like stack size instead of a per-board value.
It's a bit difficult to test right now, as this PR doesn't contain a process binary to test with. I added a TODO to look at making this per-process-binary in the future (and yes, I do intend to go back through and handle my TODOs later, most of them are waiting on code that hasn't been merged upstream yet).

good catch on 16 byte stack alignment for risc-v, had we just gotten lucky that our previous 8-byte alignment didn't cause issues?

I believe so.

I re-ran the Mac workflow but with each command broken out into a separate step so GitHub gives me the times (run results). It took 72 minutes in total, of which 68 were spent on the brew install riscv-gnu-toolchain --with-multilib step.
If anyone who uses Mac OS knows a faster way to install binutils-riscv64-unknown-elf, that would be appreciated!

I know brad opened this issue to no avail. I am not sure if there can be some improvement from the fact you only need that single tool.
Alternatively, maybe this would be a good place to use GA caching, but I don't think its fair to require that of you and would probably recommend just removing the macOS CI on PRs and instead just run it on merges into master (so we would get after-the-fact notifications about breakages without slowing most people's development flow)

Alternatively, maybe this would be a good place to use GA caching, but I don't think its fair to require that of you

On the surface, GA caching sounds like it a solution -- but it's unclear to me what directories/files we would need to cache. If they're scattered everywhere then it wouldn't be very practical. I agree that I am not the person to do it, as my only access to Mac OS is through GitHub Actions...

and would probably recommend just removing the macOS CI on PRs and instead just run it on merges into master (so we would get after-the-fact notifications about breakages without slowing most people's development flow)

We could let it run on PRs but stop having Bors run it, so it doesn't slow down PR merges. That way we would typically catch issues before merging to master. May need to add a note to our code review document telling people not to wait for the Mac build.

+1 for not having bors run it

+1 for not having bors run it

I made that change. I also renamed it to mac-os from mac_os to be consistent with size-diff.

I tried asking about having the 32 bit tools pre-compiled, but that went nowhere: https://github.com/riscv/homebrew-riscv/issues/22#issuecomment-643840201
The with --multilib adds support for 32 bit, and with brew requires a full compile of the toolchain.

I tried asking about having the 32 bit tools pre-compiled, but that went nowhere: riscv/homebrew-riscv#22 (comment)
The with --multilib adds support for 32 bit, and with brew requires a full compile of the toolchain.

Thank you for confirming!

This PR is ready to merge now.

bors r+


Deploy automatically from master

Each push to master should deploy to prod, or at least to some test server where we can keep track of the current state of master on any device.

Resolved or?

Nope, but no longer needed.


Feature/150 entity serialization

Description

Introduce a new serializer able to serialize an entire entity and its components. Either from the list of components explicitly or taking all entity components.

Close #150
What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

[optional] Minor fixes

Fix FindToml++ file.
Added/updated tests?

[x] New tests written
[ ] Existing tests updated
[ ] Tests are not required because this is a documentation update
[ ] I need help with writing tests

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 81.48%. Comparing base (249352e) to head (5bed6e4).

Files
Patch %
Lines

src/ecstasy/storages/AStorage.hpp
0.00%
8 Missing :warning:

src/ecstasy/storages/MapStorage.hpp
0.00%
3 Missing :warning:

src/ecstasy/serialization/ComponentSerializer.hpp
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
- Coverage   82.75%   81.48%   -1.28%
==========================================
  Files          63       65       +2
  Lines        1096     1118      +22
  Branches      349      359      +10
==========================================
+ Hits          907      911       +4
- Misses        133      150      +17
- Partials       56       57       +1

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


Variant in canada overtime graph

yoffset is being initialized at several thousand pixels for some reason

I simplified the code calculating the position of the SVG element to adjust mouse coordinates:
    bodyRect = document.body.getBoundingClientRect(),
    elemRect = bpsvg.node().getBoundingClientRect(),
    yoffset = elemRect.top - bodyRect.top;

based on this thread.
Since the yoffset was still a huge value (around 3000 pixels), I tried moving the following code into the SVG event handler for mousemove:
      elemRect = bpsvg.node().getBoundingClientRect(),
      yoffset = elemRect.top - bodyRect.top;

^Streamgraph tooltip is broken issue.
Issue changed to a overall discussion on the variant over time graph

@ArtPoon Some inputs from you is needed for the silhouette plots. Specifically what does the Y-axis represent.

The y-axis in a silhouette plot only serves the purpose of providing a "ruler" for the user to judge the number of sequences represented by a given shape, based on its height:

In other words, the absolute position of a shape with respect to the ruler does not mean anything -- it is only the relative position of a shape's top and bottom that matter.
The only alternative to drawing a y-axis as a ruler is to draw a scale bar instead.  I've previously done this manually for static streamgraphs.


Linked List Cycle uploaded

Please create an issue first, Read the NOTE FOR CONTRIBUTORS.md file, follow the steps and then I'll accept your code


Props not available in component

After using the <TransitionSwitch parallel={false}> instead of <Switch> the props from the router are not available anymore in the component. Below my implementation:
<Router history={history}>

                    <TransitionSwitch parallel={false}>
                        <Route exact path="/" component={Index}/>
                        <Route exact path="/projects" component={Projects}/>
                        <Route exact path="/project/:path" component={Project}/>
                        <Route exact path="/programming" component={Programming}/>
                        <Route exact path="/about" component={About}/>
                        <Route path="notfound" component={NotFound}/>
                        <Route path="*" component={NotFound}/>
                    </TransitionSwitch>

        </Router>

Having same issue can no longer programmatically navigate

Having the same issues here,  after switching from  to   it give me "TypeError: Cannot read property 'path' of undefined"

I've fixed it in https://github.com/aboeglin/react-router-v4-transition/pull/10
You can use https://github.com/sylvainbaronnet/react-router-v4-transition until it's merged

I was on holidays, I should have time to fix it in about a week when I'm fully back. But I believe #10 isn't enough for the issue of @ray201314. If you look here https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Switch.js, line 59 the original Switch passes the location and computedMatch to the matching child. I guess the error comes from an access to location.path which doesn't exist. In the render method we need to pass these along.
If anyone has time in the coming days, feel free to provide a PR with a test.


Cannot integrate with jsdom

when i try to add jsdom with the basic boilerplate in the test-setup.js file
global.document = require('jsdom').jsdom('

');
global.window = document.defaultView;
global.navigator = window.navigator;

and i run npm test it trows some errors
WARNING in ./~/jsdom/lib/jsdom/utils.js
Module not found: Error: Cannot resolve module 'canvas' in /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom
resolve module canvas in /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom
  looking for modules in /Users/wardrakus/projects/react-boilerplate/client
    /Users/wardrakus/projects/react-boilerplate/client/canvas doesn't exist (module as directory)
    resolve 'file' canvas in /Users/wardrakus/projects/react-boilerplate/client
      resolve file
        /Users/wardrakus/projects/react-boilerplate/client/canvas doesn't exist
        /Users/wardrakus/projects/react-boilerplate/client/canvas.js doesn't exist
  looking for modules in /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules
    /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules/canvas doesn't exist (module as directory)
    resolve 'file' canvas in /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules
      resolve file
        /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules/canvas doesn't exist
        /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules/canvas.js doesn't exist
  looking for modules in /Users/wardrakus/projects/react-boilerplate/node_modules
    /Users/wardrakus/projects/react-boilerplate/node_modules/canvas doesn't exist (module as directory)
    resolve 'file' canvas in /Users/wardrakus/projects/react-boilerplate/node_modules
      resolve file
        /Users/wardrakus/projects/react-boilerplate/node_modules/canvas doesn't exist
        /Users/wardrakus/projects/react-boilerplate/node_modules/canvas.js doesn't exist
  looking for modules in /Users/wardrakus/projects/node_modules
    /Users/wardrakus/projects/node_modules/canvas doesn't exist (module as directory)
    resolve 'file' canvas in /Users/wardrakus/projects/node_modules
      resolve file
        /Users/wardrakus/projects/node_modules/canvas doesn't exist
        /Users/wardrakus/projects/node_modules/canvas.js doesn't exist
[/Users/wardrakus/projects/react-boilerplate/client/canvas]
[/Users/wardrakus/projects/react-boilerplate/client/canvas]
[/Users/wardrakus/projects/react-boilerplate/client/canvas.js]
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules/canvas]
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules/canvas]
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/node_modules/canvas.js]
[/Users/wardrakus/projects/react-boilerplate/node_modules/canvas]
[/Users/wardrakus/projects/react-boilerplate/node_modules/canvas]
[/Users/wardrakus/projects/react-boilerplate/node_modules/canvas.js]
[/Users/wardrakus/projects/node_modules/canvas]
[/Users/wardrakus/projects/node_modules/canvas]
[/Users/wardrakus/projects/node_modules/canvas.js]
 @ ./~/jsdom/lib/jsdom/utils.js 343:19-36

WARNING in ./~/jsdom/lib/jsdom/living/xmlhttprequest.js
Critical dependencies:
19:23-30 require function is used in a way in which dependencies cannot be statically extracted
 @ ./~/jsdom/lib/jsdom/living/xmlhttprequest.js 19:23-30
WARNING in ./~/jsdom/lib/jsdom/living/window/History.idl                                                                                [12/1355]
Module parse failed: /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/window/History.idl The keyword 'enum' is reserved (1:0)
You may need an appropriate loader to handle this file type.
SyntaxError: The keyword 'enum' is reserved (1:0)
    at Parser.pp.raise (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:918:13)
    at Parser.pp.parseIdent (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:669:203)
    at Parser.pp.parseExprAtom (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:283:21)
    at Parser.pp.parseExprSubscripts (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:225:19)
    at Parser.pp.parseMaybeUnary (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:204:17)
    at Parser.pp.parseExprOps (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:151:19)
    at Parser.pp.parseMaybeConditional (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:133:19)
    at Parser.pp.parseMaybeAssign (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:110:19)
    at Parser.pp.parseExpression (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:86:19)
    at Parser.pp.parseStatement (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:1750:23)
    at Parser.pp.parseTopLevel (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:1645:21)
    at Parser.parse (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:1613:17)
    at Object.parse (/Users/wardrakus/projects/react-boilerplate/node_modules/acorn/dist/acorn.js:880:44)
    at Parser.parse (/Users/wardrakus/projects/react-boilerplate/node_modules/webpack/lib/Parser.js:902:15)
    at DependenciesBlock.<anonymous> (/Users/wardrakus/projects/react-boilerplate/node_modules/webpack/lib/NormalModule.js:104:16)
    at DependenciesBlock.onModuleBuild (/Users/wardrakus/projects/react-boilerplate/node_modules/webpack-core/lib/NormalModuleMixin.js:310:10)
    at nextLoader (/Users/wardrakus/projects/react-boilerplate/node_modules/webpack-core/lib/NormalModuleMixin.js:275:25)
    at /Users/wardrakus/projects/react-boilerplate/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
    at Storage.finished (/Users/wardrakus/projects/react-boilerplate/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at /Users/wardrakus/projects/react-boilerplate/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)
 @ ./~/jsdom/lib/jsdom/living ^\.\/.*$
ERROR in ./~/jsdom/lib/jsdom/living/generated/DOMPointReadOnly.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../nodes/DOMPointReadOnly-impl.js in /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated
resolve file
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/nodes/DOMPointReadOnly-impl.js doesn't exist
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/nodes/DOMPointReadOnly-impl.js.js doesn't exist
resolve directory
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/nodes/DOMPointReadOnly-impl.js doesn't exist (directory default file)
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/nodes/DOMPointReadOnly-impl.js/package.json doesn't exist (directory description file)
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/nodes/DOMPointReadOnly-impl.js]
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/nodes/DOMPointReadOnly-impl.js.js]
 @ ./~/jsdom/lib/jsdom/living/generated/DOMPointReadOnly.js 135:13-57

ERROR in ./~/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./ScrollOptions in /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated
resolve file
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions doesn't exist
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js doesn't exist
resolve directory
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions doesn't exist (directory default file)
  /Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions/package.json doesn't exist (directory description file)
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions]
[/Users/wardrakus/projects/react-boilerplate/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js]
 @ ./~/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js 6:22-48

how do you run tests that needs the actual DOM?, it is posible to add jsdom to this setup?
thanks

Can you provide a repo or at least your webpack config?
Looks like webpack can't bundle jsdom. Ignore your node_modules and try it again.

hi @zinserjan, i can't post the repo but i'll post the conf files that i'm using
webpack.config.test.js
const path = require('path')
const webpack = require('webpack')
const ExtractTextPlugin = require('extract-text-webpack-plugin')

const extractCSS = new ExtractTextPlugin('vendor.css', {
  allChunks: true
})

module.exports = {
  entry: {
    test: [
      'sinon/pkg/sinon.js'
    ],
    client: [path.resolve(__dirname, './app/main.js')]
  },
  externals: {
    jsdom: 'window',
    'react/lib/ExecutionEnvironment': true,
    'react/lib/ReactContext': true,
    'react/addons': true,
    'text-encoding': 'window'
  },
  module: {
    noParse: [
        /\/sinon\.js/
    ],
    loaders: [
      {
        test: /\.scss$/,
        loaders: [
          'css/locals?modules&importLoaders=1' +
            '&localIdentName=[path][local]__[hash:base64:5]',
          'sass'
        ]
      },
      {
        test: /sinon\/pkg\/sinon\.js/,
        loader: 'imports?define=>false,require=>false'
      },
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loaders: ['babel']
      }, {
        test: /\.css$/,
        loader: extractCSS.extract('css')
      }, {
        test: /\.(eot|woff|woff2|ttf|svg|png|jpg)$/,
        loader: 'url-loader?limit=30000&name=[name]-[hash].[ext]'
      }, {
        test: /\.json$/,
        loader: 'json-loader'
      }
    ]
  },
  output: {
    path: path.resolve(__dirname, './dist'),
    filename: '[name].js'
  },
  plugins: [
    extractCSS,
    new webpack.optimize.OccurenceOrderPlugin()
  ],
  resolve: {
    alias: {
      sinon: 'sinon/pkg/sinon.js',
      'cheerio': 'cheerio/lib/cheerio'
    },
    root: path.resolve(__dirname, './app'),
    extensions: ['', '.js']
  },
  target: 'node'
}

test/setup
require("mock-local-storage");
// require('sinon-as-promised');
var chai = require('chai');
const chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);

global.document = require('jsdom').jsdom('

');
global.window = document.defaultView;
global.navigator = window.navigator;

mocha-webpack-opts
--include test/setup
--colors
--reporter spec
--webpack-config webpack.config.test.js
--recursive
test/**/*.spec.js

{
"test:webpack": "NODE_ENV=test ./node_modules/.bin/mocha-webpack"
}

Seems that you are trying to use a client side webpack config for testing with node?
The main problem is that webpack isn't able to bundle all kinds of node_modules.
Replace your externals block with the webpack-node-externals plugin and it should work.
I modified your config a bit:

replaced externals config with externals plugin --> jsdom should work now
removed entry & output --> will be overridden by mocha-webpack
removed sinon imports loader (whats the reason for that? sinon via npm is commonjs compatible)
removed OccurenceOrderPlugin --> size doesn't matter
replaced css loader with null loader

const path = require('path')
const webpack = require('webpack')
const nodeExternals = require('webpack-node-externals')

module.exports = {
  externals: [nodeExternals()],
  module: {
    loaders: [
      {
        test: /\.scss$/,
        loaders: [
          'css/locals?modules&importLoaders=1' +
            '&localIdentName=[path][local]__[hash:base64:5]',
          'sass'
        ]
      },
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loaders: ['babel']
      }, {
        test: /\.css$/,
        loader: 'null-loader'
      }, {
        test: /\.(eot|woff|woff2|ttf|svg|png|jpg)$/,
        loader: 'url-loader?limit=30000&name=[name]-[hash].[ext]'
      }, {
        test: /\.json$/,
        loader: 'json-loader'
      }
    ]
  },
  plugins: [],
  resolve: {
    alias: {
      sinon: 'sinon/pkg/sinon.js',
      'cheerio': 'cheerio/lib/cheerio'
    },
    root: path.resolve(__dirname, './app'),
    extensions: ['', '.js']
  },
  target: 'node'
}

@zinserjan thank you for your help, it is working as expected, i'll close this issue.
Thanks again 👍


Question on pong message and user-initiated write

Version of Beast
#define BOOST_BEAST_VERSION 144
(Boost overall version 1.66.0)
Details
This Beast Websocket Doc has below statement regarding pong control frame:

A consequence of this automatic behavior is that caller-initiated read operations can cause socket writes. However, these writes will not compete with caller-initiated write operations.

So if I do something like below in the websocket client:

register async_read on the websocket, which is on the boost ioservice thread;
do write (either sync write or async_write) from a different user thread

Will my own write and the automatic pong write be thread-safe? If not, how do I make sure my own write doesn't conflict with automatic pong write?
Thanks!

It's important to differentiate concurrency and parallelism when we talk with the networking model in ASIO (and by extension in the upcoming Networking TS).
Concurrent execution of operations means that operations may be in progress at the same time (regardless of the number of threads involved). In other words you may call
stream.async_read_some([](/*...*/){});
stream.async_write_some([](/*...*/){});
stream.async_ping([](/*...*/){});

On the other hand, you're not allowed to invoke those calls from 2 different threads at the same time. Access to I/O objects in the ASIO model requires user-provided synchronization (preferably via a strand).
Note that stream does not allow more than one async operation of a particular type (e.g. 2x async_write) to be executing at the same time, i.e. the second async_write must not be called before the CompletionHandler passed to the first one is executed.

I think I got what you mean. Just want to make it more clear under my scenario:
What I want is similar to post #1092, and I think it is a fairly common user case. What I want is to have one thread (which is default boost io_service::run) that does continuous async_read (i.e schedule another read at the end of readHandler). And another (only one) user thread does write to websocket on demand. And I want to make sure my write operation is intact/thread-safe. I think this is normally okay for a regular TCP socket, but not for beast websocket, because beast does pong write in read operation, and thus my question.
For beast websocket, can I do following? from my user thread, wrap the write (a blocking write) into a handler, and post it to io_service strand. In this way, I can post multiple write handler to strand, and don't worry about keeping only one outstanding async_write.

You will need to implement your own queue for outgoing messages.

To clarify, no you cannot use the io_context as an outgoing message queue. You need to implement your own queue and make sure only one write is outstanding. The pongs will be handled transparently, you don't need to worry about them. A sample chat server which demonstrates this is here: https://github.com/vinniefalco/CppCon2018

What I end up doing is, from my user thread, post a handler into default io_service::run thread, I copy my data into that handler, and do synchronous write in the handler. I didn't use a queue + async write because I dont want to maintain a thread-safe queue plus making sure only one outstanding async write. My write is small, so I hope it should finish soon, not blocking for too long.

Mixing synchronous and asynchronous operations on websocket::stream can produce undefined behavior.


Rotation handles issue [v.1.509]

In rotation (Unity's "E") object (RealtimeCSG Alt+F1) mode, rotation handles often doesn't appear when hovered mouse on the edge of object's wirebox. This started happening only in this version.
In this cases modified pivot of the model is not saved either.
RealtimeCSG - v.1.509
Unity v.2017.2.0f3

Upgraded to v2017.3, with Realtime CSG v1.509 for 2017.3, still same behaviour.

Ok thanks for letting me know, I'll take a look at this at the start of the new year (don't have time until then due to family obligations)

As a quick suggestion, note that you can rotate in both object and mesh mode, if it doesn't work in one mode, it might in the other mode?

I've just used default transform -> change value method. Haven't tested in mesh mode though.


打开index_zh.html 报错

能请教下吗

我的QQ是1770421128 能方便加下吗

这个代码是我从chrome扩展文件里扒下来的，我也记不清啦，不好意思

能加个QQ吗  我对这个很感兴趣  最近我也在弄一个markdown的东西

这是个chrome的扩展，需要在chrome的“扩展程序”里打开开发者模式，然后“加载已解压的扩展程序”

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Share this Airdrop

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
tjcjc, @Betzabesp94, @gbaygon, @wideinch, @impolska742, @azhargiri, @Ding-Fan, @inix, @erwinchan, @garethsprice, @14113, @bhushanjawle, @camilaavilarinho, @ztn0, @ptpkueqf, @ricardocanelas, @nvtiendung, @0xHumban, @ramaro, @WebWeave


volume ownership based on -u user

Currently docker sets the ownership and permissions for -v volumes based on those in the image mount point. This is inflexible when the image is used to run several containers with different user ids based on the --user option. In such case one typically wants for the volume to be owned by user:group passed to --user, not the owner of the mount point in the image. In fact unless the mount point has world-writable permissions, that volume would not be useful in the container.
I can workaround this by providing, for example, a setuid command in the container to change ownership of the volume on startup before running the main application or by using a host volume with explicitly set permissions, but this brings rather considerable complexity.
So it would be ideal if docker provided an option to set the volume ownership based on -u user:group option. Note that this should not affect the host volumes. As currently, they should keep their host ownership.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Thanks for suggesting, I think this is a duplicate of https://github.com/docker/docker/issues/7198. Some attempts were made to implement this in this PR: https://github.com/docker/docker/pull/14632, however, doing so will change ownership of the files on the host (there is no good solution to that yet, and may need support in the kernel to dynamically rewrite ownership)
I'll close this issue, because it's a duplicate of https://github.com/docker/docker/issues/7198. Please subscribe to that issue (using the "subscribe" button) to stay informed on progress. Feel free to comment here after I've closed this

@thaJeztah #7198 is very generic and little progress has been made. This bug is about volumes that docker creates when it creates the container, not the shared volumes on the host. There is already code that sets their ownership/permissions based on those from the mount point. This bug is about extending that to set the ownership of the newly created volume based on ---user=user:group.

Currently, volumes keep the permissions they have inside the image, so wondering; should that recursively change ownership of the volume's content?
For example;
docker build -t perms - << EOF
FROM ubuntu
RUN mkdir -p /foobar && touch /foobar/bla && chown -R 123:456 /foobar
EOF

docker run -v /foobar -t --rm perms sh -c 'ls -la /foobar'

total 8
drwxr-xr-x 2<PHONE_NUMBER> Dec 21 03:36 .
drwxr-xr-x 1 root root 4096 Dec 21 03:36 ..
-rw-r--r-- 1  123  456    0 Dec 21 03:34 bar

Would
docker run -v /foobar -t --rm -u 456:789 perms sh -c 'ls -la /foobar'

Result in:
total 8
drwxr-xr-x 2<PHONE_NUMBER> Dec 21 03:36 .
drwxr-xr-x 1 root root 4096 Dec 21 03:36 ..
-rw-r--r-- 1  456  789    0 Dec 21 03:34 bar

Or only the root-directory of the volume be owned by the user?

The idea is to have an option that makes any directory or file created by the docker when it initializes a new volume to be owned by --user=user:group and copied from the image. So yes, the ownership should be applied recursively.

That could obviously have side effects as well, i.e. files owned by "foo", and files owned by "bar" will both be owned by "user:group" upon initialization.
Perhaps it's something that should be implemented as a volume plugin? @cpuguy83 wdyt?


remote error: tls: bad certificate in manager logs

May need to do investigation what is the error for.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /global-hub-api/v1/managedclusters --> github.com/stolostron/multicluster-global-hub/manager/pkg/nonk8sapi/managedclusters.ListManagedClusters.func1 (4 handlers)
[GIN-debug] PATCH /global-hub-api/v1/managedcluster/:clusterID --> github.com/stolostron/multicluster-global-hub/manager/pkg/nonk8sapi.SetupRouter.PatchManagedCluster.func2 (4 handlers)
[GIN-debug] GET /global-hub-api/v1/policies --> github.com/stolostron/multicluster-global-hub/manager/pkg/nonk8sapi.SetupRouter.ListPolicies.func3 (4 handlers)
[GIN-debug] GET /global-hub-api/v1/policy/:policyID/status --> github.com/stolostron/multicluster-global-hub/manager/pkg/nonk8sapi.SetupRouter.GetPolicyStatus.func4 (4 handlers)
[GIN-debug] GET /global-hub-api/v1/subscriptions --> github.com/stolostron/multicluster-global-hub/manager/pkg/nonk8sapi.SetupRouter.ListSubscriptions.func5 (4 handlers)
[GIN-debug] GET /global-hub-api/v1/subscriptionreport/:subscriptionID --> github.com/stolostron/multicluster-global-hub/manager/pkg/nonk8sapi.SetupRouter.GetSubscriptionReport.func6 (4 handlers)
2024-06-03T09:27:01.912Z INFO	kafka-consumer transport consumer with cloudevents-kafka receiver
2024-06-03T09:27:01.913Z INFO	cronjob-scheduler set SyncLocalCompliance job {"scheduleAt": "00:00"}
2024-06-03T09:27:01.913Z INFO	cronjob-scheduler set DataRetention job {"scheduleAt": "00:00"}
2024-06-03T09:27:01.914Z INFO	setup registering webhooks to the webhook server
2024-06-03T09:27:01.914Z INFO	controller-runtime.webhook Registering webhook {"path": "/mutating"}
2024-06-03T09:27:01.914Z INFO	setup Starting the Manager
2024-06-03T09:27:01.914Z INFO	controller-runtime.metrics Starting metrics server
2024-06-03T09:27:01.914Z INFO	controller-runtime.webhook Starting webhook server
2024-06-03T09:27:01.915Z INFO	controller-runtime.metrics Serving metrics server {"bindAddress": "<IP_ADDRESS>:8384", "secure": false}
I0603 09:27:01.915119 1 leaderelection.go:250] attempting to acquire leader lease multicluster-global-hub/multicluster-global-hub-manager-lock...
2024-06-03T09:27:01.915Z INFO	controller-runtime.certwatcher Updated current TLS certificate
2024-06-03T09:27:01.915Z INFO	controller-runtime.webhook Serving webhook server {"host": "", "port": 9443}
2024-06-03T09:27:01.915Z INFO	controller-runtime.certwatcher Starting certificate watcher
2024/06/03 09:27:10 http: TLS handshake error from <IP_ADDRESS>:43312: remote error: tls: bad certificate

/assign @yanmxa

I am not sure whether this is an occasional issue or a frequent one. I will continue to observe some environments and troubleshoot when it occurs.


internal(clean-scripts): add script to clean libvirt pool

Description

Create hack/clean to store cleaning scripts
Move clean-edge.sh to it
Create clean-libvirt-pool.sh to clean unused images in /var/lib/libvirt/images

Fixes (issue)
Type of change
Please select the appropriate options:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change is a documentation update

Testing

[ ] Manual test from other peers needed

Checklist

[ ] I have performed a self-review of my own code
[ ] If a change is adding a feature, it should require a change to the README.md and the review should catch this.
[ ] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[ ] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[ ] PRs should not be merged unless positively reviewed.

no test in the PR, bad merged

:tada: This PR is included in version 1.8.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix broken tracking of fence retirement for WSI fences

Fixes #954.

Is clean on the farm.

LGTM :+1:


Change multiple hidden text inputs from one dropdown

I have this code and I am close but it only changes one input field. I need it to change more than one. This is a dumbed down version of the code. The dropdown option has two s-val items; cpt and price. Currently my code only changes the cpt, not the price. I am assuming it is the "name" on th select line.
<select sprig s-replace="#cptcode" name="cpt" class="form-select">
        <option value="">
          Code
        </option>
        {% for option in cpt_options %}
          <option s-val:cpt="{{ option.id }}" s-val:price="{{ option.number_price }}" {{ option.id == cpt ? ' selected' }}>
            {{ option.title~' : '~option.description }}
          </option>
        {% endfor %}
      </select>
      <div id="cptcode">
      <input type="text" name="fields[description]" value="{{ cpt }}"/>
      <input type="text" name="fields[billed]" value="{{ price }}"/>
</div>

I figured it out, I needed "sprig" in the "option" line.
<option sprig s-val:cpt="{{ option.id }}" s-val:price="{{ option.number_price }}" {{ option.id == cpt ? ' selected' }}>
   {{ option.title~' : '~option.description }}
</option>

So though this works. There is some weirdness with what is getting replaced. It seems to add duplicate text input fields when an option is selected. So the issue must be with my s-replace approach. Any suggestions?

Removing "s-replace" from the select altogether fixed it.

Great!


Add pass to remove DontInline function control

Swift shader needs a way to inline all functions, even those marked as
DontInline.  See https://github.com/KhronosGroup/SPIRV-Tools/pull/4471.
This implements the suggestion I made in the PR.  We add a pass that
will remove the DontInline function control, so that the inlining passes
will inline them.
SwiftShader will still have to modify their code to add this pass before
the other passes are run.

@c0d1f1ed FYI


CoreDNS operator :-a GSOC 2020 project proposal

This is in continuation the PR #127 and the required changes have been made.

@idvoretskyi  please approve.

Thanks!


Can not find CasperJS

Hi,
I am using php-casperjs in a wordpress plugin. I installed as recommended with
npm install phantomjs
npm install casperjs

then
composer require phpcasperjs/phpcasperjs
i can initialize casper without error like this:
try {
    $casperJSExecutable = trailingslashit(realpath(dirname(__FILE__) . '/node_modules/casperjs/bin/casperjs'));
    self::getLogger()->trace("Casper path : " . $casperJSExecutable);
    $this->casper = new Casper($casperJSExecutable, '/tmp');
} catch (Exception $e) {
    self::getLogger()->error($e->getMessage());
}

but as soon as i run it, the error in the title of this post appears
try {
    $this->casper->run();
} catch (Exception $e) {
    self::getLogger()->error("####### ERROR #######");
    self::getLogger()->error($e->getMessage());
    return null;
}

Any idea ?
Thanks a lot

Is there an other way i should use to pass to php-casperjs the path to casperjs executable, which is done here during Casper instanciation:
$casperJSExecutable = trailingslashit(realpath(dirname(__FILE__) . '/node_modules/casperjs/bin/casperjs'));
    self::getLogger()->trace("Casper path : " . $casperJSExecutable);
    $this->casper = new Casper($casperJSExecutable, '/tmp');

Is there a problem here ?
Thanks

Ok, the path was not good, need to provide the parent directory, not the exe file:
$casperJSExecutable = trailingslashit(realpath(dirname(__FILE__) . '/node_modules/casperjs/bin/'));

Thanks for this!


seq2seq.py: Fixed the documentation to be consistent with the code

A fix for https://github.com/tensorflow/tensorflow/issues/3800

Can one of the admins verify this patch?

I signed it!

Hi sahiliitm . I looked at your changed comments, but I don't understand them. What is output_size, what part of arguments is it? Are the current comments not correct? Can you explain?

Hi Lukas,
I have documented the bug here. Please let me know if it is not clear. :)
In short, the outputs of the two functions (for which I have changed the comments) do not return tensors of size (batch_size, num_decoder_symbols) but rather of size (batch_size, output_size) where output_size is the same parameter as documented for the function embedding_rnn_decoder

Oh, I see, what is meant by output_size is cell.output_size (the comment just missed that). But I think you're not fully correct -- the functions do output num_decoder_symbol-sized tensors sometimes, it depends on the output_projection. If you're correcting it, please make it fully correct. I'll be away from github for a few weeks now, so there might be a delay in my answers, sorry.

Are you sure that is the case?
The reason I doubt that is because of this line of code. We do pass the parameters output_projection to the function tf.nn.seq2seq.model_with_buckets (indirectly through the function defined at this line) in seq2seq_model.py but the output returned by it is still a cell.output_size sized tensor. Which is why the line of code I pointed out is needed to project it back to the size num_decoder_symbols.
I guess what I'm asking is that if output_projection parameters are not None, is that the case when the functions under question would return num_decoder_symbol sized tensors? That does not seem to be the case.

I think the seq2seq module behaves like you say in the end: if output_projection is not None, it returns cell.output_size - sized tensors. If it is None, it returns num_decoder_symbol - sized tensors. Is it not so?
The seq2seq_model example is a bit different. It uses sampled softmax, but that's only good for training. When decoding, it cannot sample from the softmax, so it just returns the dense logits. But that's seq2seq_model -- let's keep it separate from this issue, which is changing the seq2seq module.
Or am I missing something? Let me know!

Hi Lukas,
Sorry for the delayed reply. I was a bit busy. I agree with you. I've changed the comments accordingly.
thanks

It looks good to me now, great thanks for clarifying and making the code better! There is one small nit: it looks like the indentation of your comments is off. I'm not even sure if that's the case of if it's just the online viewer, but could you take a look and make sure they're indented ok? (I mean: the multi-line argument comments should be a few spaces to the left -- same as other comments in the file.)
Except for this, we should merge this. Some checks seem to still be running...

Hi,
Sorry! Indeed, some of the comments were badly formatted. I've fixed that now.
Thanks for pointing it out.

Looks good to me, thanks! Can we merge this one? Thanks! (Assigned vrv@ just for merging.)

@tensorflow-jenkins test this please


[Editor] Do not update editor help theme, if calculated margin hasn't changed.

Remove unnecessary theme changes, causing full help text reshaping on each resize.
Fixed #56900

Thanks!


File path problem

想请问下，我是用docker部署的最新版本，要是使用python节点创建一个工作流，内容是新建文件写入helloworld，这个文件路径可以写我部署的服务器的绝对路径吗？这个文件创建后在服务器哪里可以看见呢？我测试了下在可视化下新建了文件，并用python脚本写入，但一直提示IOError: [Errno 13] Permission denied: './test1.txt'，求大佬指教。

Please use Englis.In addition, I see Permission denied

I am using the latest version of Docker deployment. If I use Python node to create a workflow, the content is to create a new file and write to HelloWorld, can this file path write the absolute path of the server I deployed?Where can I see this file on the server after it is created?I tested the new file under the visualization and wrote it with Python script.but the error:IOError: [Errno 13] Permission denied: './test1.txt'，my python script like this:
with open('test1.txt','w',encoding='utf-8') as f1:
f1.write('hello')

I am using the latest version of Docker deployment. If I use Python node to create a workflow, the content is to create a new file and write to HelloWorld, can this file path write the absolute path of the server I deployed?Where can I see this file on the server after it is created?I tested the new file under the visualization and wrote it with Python script.but the error:IOError: [Errno 13] Permission denied: './test1.txt'，my python script like this:
with open('test1.txt','w',encoding='utf-8') as f1:
f1.write('hello')

It seems that the executing tenant does not have permission to create files

However, I created the tenant with the admin account and did not see any authorized actions on the create tenant page, so what can I do to successfully execute this Python script, create and write to the file?

@s348268281
it seems that we can't see file on server unless you have mounted the path where the file is in. See mount and mountVolume for detail.
For the permission problem, you should make sure the problem source is inside docker or server. In my opinion, maybe the problem comes from docker directory permission.
Maybe you can specify absolute file name instead relative one ,and docker directory diffs from server one.

@s348268281 Which version of ds? And please show us the python script. If you want to write the file into the host server, you should use volume

@s348268281 In 1.3.6 of docker, it is best to use a tenant named root, otherwise it may cause Permission denied problems.
As for volume, you can add the     - ${PWD}/data:/opt/data for dolphinscheduler-worker volumes in docker-compose.yml like:
  dolphinscheduler-worker:
    image: apache/dolphinscheduler:latest
    command: worker-server
    environment:
      TZ: Asia/Shanghai
    env_file: config.env.sh
    healthcheck:
      test: ["CMD", "/root/checkpoint.sh", "WorkerServer"]
      interval: 30s
      timeout: 5s
      retries: 3
    depends_on:
    - dolphinscheduler-postgresql
    - dolphinscheduler-zookeeper
    volumes:
    - dolphinscheduler-worker-data:/tmp/dolphinscheduler
    - dolphinscheduler-logs:/opt/dolphinscheduler/logs
    - dolphinscheduler-shared-local:/opt/soft
    - dolphinscheduler-resource-local:/dolphinscheduler
    - ${PWD}/data:/opt/data
    restart: unless-stopped
    networks:
    - dolphinscheduler

After running docker-compose up -d, you can create a python task with the tenant named root:
with open('/opt/data/test.txt', 'w') as f:
  f.write('hello world\n')

After the task runs successfully, you can view cat data/test.txt on the host

Close since it has replied


Error in Ixx equation in pvsystem.sapm

The SAPM function uses Aisc (temperature coefficient for Isc) in the equation for Ixx, where it should be Aimp (temperature coefficient for Imp). This line.
Equation 10 of the 2004 Sandia report shows Aimp is intended.
Discussion among the Sandia staff concluded that there is a typo in PVLib for Matlab, in this line.
This error was propagated when the Matlab code was ported to python by R. Andrews (see pvl_sapm.py file in the prearizona tag for pvlib).
The comment originated with W. Holmgren, who may have been looking at the Matlab code as the authoritative source.
Expected behavior
Correct this line to use Aimp.
Versions:

pvlib.__version__:  all versions

Additional context
The error only affects Ixx from pvsystem.sapm and nothing else.
PVLib for Matlab issue https://github.com/sandialabs/MATLAB_PV_LIB/issues/37

Every reference for these equations that I was able to locate with reasonable effort supports the conclusion that the equation should use Aimp.
I also agree that the error is limited to the line of code linked above.


Adding deprecation note

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

#sign-off Not sure if signing off works.

@veronicagg is this the recommended way for deprecating properties?

@olydis @veronicagg It's more that the property is unsupported -- we've had customer questions on it and a request to add a note to the docs.

@olydis @sethmanheim It makes sense to add a note in the description as it helps customers, and as far as I know we have no good way in swagger itself to indicate it. Hopefully in the next api-version, the property can be removed.

@olydis @veronicagg Sounds good, can you please merge?

@olydis @veronicagg Please make a decision on merging so we can close this PR.

@veronicagg Sounds reasonable, thanks for the info!

No modification for AutorestCI/azure-sdk-for-python

No modification for AutorestCI/azure-sdk-for-node

No modification for AutorestCI/azure-sdk-for-ruby


Four body example

Closes #37
Branch with notebooks, including:

4 body example showing non-trivial phi, theta and psi angles for the final state rotation
5 body example sampling phase space and showing histograms of the angles

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

Project coverage is 87.63%. Comparing base (5f80f34) to head (e318d6a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   87.63%   87.63%
=======================================
  Files           6        6
  Lines         631      631
  Branches      107      107
=======================================
  Hits          553      553
  Misses         41       41
  Partials       37       37

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

Nice! How long does it take to run? Would the notebooks be useful as a part of documentation.
If the running time is short, I'd be nice to run them in CI and reference html in the github pages for the ## Examples section.
Meanwhile, I suggest removing cell output fron the PR.

An example of extended conf.py that renders notebooks (feel like should be a separate PR since requires more work)


Move to OCR-D namespace?

If this is of interest for OCR-D, it should probably eventually live under the OCR-D namespace.

No feedback for this as of today.

I'm closing this for now, due to perceived lack of interest. I will however continue using this for my own projects as I prefer sourcing the version from one* place. (* Well there's also the version tag in git, but that one I check via CI)
If I unexpectedly see interest in the OCR-D ecosystem, we can still re-open.


Add caching to improve the loading speed

Enabled Caching to improve the loading speed.

Changes proposed in this pull request:

Enabled service workers feature and added its configuration file.

Link to live demo: http://pr-XXX-evalai.surge.sh

The offline option was selected in the Network menu of chrome dev tools for simulating a real-life network situation. After reloading it again, keeping the "Offline" checked, it was still able to load the page quickly because it had cached all the static assets during the previous loading instance.

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   53.43%   53.43%
=======================================
  Files          55       55
  Lines        2358     2358
  Branches      253      253
=======================================
  Hits         1260     1260
  Misses       1023     1023
  Partials       75       75

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 69ae0ff...9a28cd1. Read the comment docs.

Let's keep it on hold for now. We need to revisit this later for sure before launching v1.


Optionally disable caching in worker function

Caching of worker function results creates a lot of extra items in the DynamoDB task table.  We don't need these partial cached results because worker results returned directly to the parent invoking function, and then cached as one big result.
Solution: add a disableCache: boolean flag to worker lambda invocation that disables caching of result.

Resolved via #342


OTA:an issue about OTA/mcumgr

hi all:
i am now testing a demo about OTA fuction, and meet some issues, my target boards are two Nordic nrf52_pca10040, one run SMP Server Samplehttps://github.com/zephyrproject-rtos/zephyr/tree/master/samples/subsys/mgmt/mcumgr/smp_svr, and another run Bluetooth: HCI UART https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/bluetooth/hci_uart .
i am sure that the SMP Server Sample runs will, when it is running, it is printk some debug informations as below:

***** Booting Zephyr OS 1.11.99 *****
[MCUBOOT] [INF] main: Starting bootloader
[MCUBOOT] [INF] boot_status_source: Image 0: magic=unset, copy_done=0xff, image_ok=0xff
[MCUBOOT] [INF] boot_status_source: Scratch: ***** Booting Zephyr OS 1.11.99 *****
[MCUBOOT] [INF] main: Starting bootloader
[MCUBOOT] [INF] boot_status_source: Image 0: magic=unset, copy_done=0xff, image_ok=0xff
[MCUBOOT] [INF] boot_status_source: Scratch: magic=unset, copy_done=0x0, image_ok=0xff
[MCUBOOT] [INF] boot_status_source: Boot source: slot 0
[MCUBOOT] [INF] boot_swap_type: Swap type: none
[MCUBOOT] [INF] main: Bootloader chainload address offset: 0xc000
[MCUBOOT] [INF] main: Jumping to the first image slot
***** Booting Zephyr OS 1.11.99 *****
Zephyr Shell, Zephyr version: 1.11.99
Type 'help' for a list of available commands
shell> Bluetooth initialized
Advertising successfully started

now the problem is i have install all the things follow the guides:
[https://github.com/zephyrproject-rtos/zephyr/tree/master/ext/lib/mgmt/mcumgr](url)
[https://github.com/apache/mynewt-mcumgr-cli/blob/master/README.md](url)
[https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/subsys/mgmt/mcumgr/smp_svr](url)
[https://devzone.nordicsemi.com/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos](url)

but when i run:
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
sometimes the target can reply hello, but more times the target reply nothing, and the terminal will be blocked, and I had to kill the terminal thread.

so who can help me or anyone else has used OTA.

@Jeepgoing I will take a look to see if I can reproduce and get back to you

@Jeepgoing I just tested this with vanilla Zephyr master, using a Virtual Machine just like you, but VMWare instead of VirtualBox. I used the following hardware:

nRF51822 dongle for the hci_uart controller
nRF52832 Devkit for the smp_svr board

I ran this 10 times with 10/10 connections:
carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
[sudo] password for carles:
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

carles@zephyr ~/src/zephyr (master)
$ sudo ~/bin/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
hello

Could you please tell me which hardware exactly you are using in order to try it in the same conditions as you are?

thank you for your answer, and i will do more test.@carlescufi

@Jeepgoing can you please let us know if this is still an issue or if we can close it? Thanks!

sorry, i haven't done this lately, but i think you are right, this issue maybe caused by my development environment, and when i have time, i will do more test, now i will close this issue.


Response in Chat isn't displayed during generation until it's finished

What happened?
When using this plugin, model's response in the Chat tab displays empty response until AI completes the entire message, unlike any other chat clients where each new incoming token is immediately displayed.

With slower local models (Ollama), in practice this makes plugin's chat unusable.
Relevant log output or stack trace
No response
Steps to reproduce
No response
CodeGPT version
2.9.0-241.1
Operating System
Windows

How are you connecting to Ollama? It sounds like the stream request parameter is set to false.

I don't see any settings

Hmm, if you're connecting via Ollama provider, then this parameter isn't configurable.
I'm unable to reproduce this issue, I've tried multiple models, including the Llama 3.1 8b with the most recent version of Ollama.
How did you ensure that ChatGPT waits for the entire response before rendering it on the screen?

It has an interesting behavior, I tried a prompt write numbers from 1 to 1000 and it got stuck as usual, but after a couple of minutes around number 500 it suddenly wrote everything and started slowly continuing token by token (before getting stuck around 650). Though I'm unable to reproduce it - right now at the very moment when CodeGPT starts showing any output, Ollama gets unlocked, meaning my other client starts generating its new response after being blocked, so it's definitely not streaming. Are there any logs for the requests?

I am getting the same issue here: Just install the plugin from the marketplace, and set backend to Ollama, chat and you see the bug.

I am getting the same issue here: Just install the plugin from the marketplace, and set backend to Ollama, chat and you see the bug.

And if you set Provider to "Custom OpenAI" and configure ollama URL & model manually, it will be fine, so it seems that this is an issue only for Provider "Ollama"

oke, I think I found the issue. Their POST /api/chat API streaming seems to be broken. I will change the underlying API to use the /v1/chat/completions endpoint instead.

Hi @carlrobertoh ... This is not resolved for me, using version 2.11.7-241.1 in PyCharm 2024.2.1 (Professional Edition).
It is still using /api/chat


Added mpv support, hit alt+w to seamlessly convert and then switch over

Just load auto_convert into mpv, then set the path for the sofa file, and for the DSVSCA executable
also, in the .lua file, change the hardcoded sofa file to be wherever your sofa file is, and same for the DSVSCA executable.

For the makefiles, I had to add llzma and -lbz2 to get it to compile for me.
Also still have uncommented ui lines in makefile.

Figured out why it paused.
I have a plugin that automatically remembers the state of all video files I played, so when I exit and resume, it resumes with same position, volume, and... pause/unpause state.
So when I showed you, I started the file, converted, then once converted, paused and closed....
So when the file was reloaded, it it unpaused, but then the plugin to restore video state ran and overrode my unpause.

This looks good, I'm going to make some changes over the week to integrate it with the CLI.

Sounds good, I'll be keeping an eye on it.

Lua also has a really good functionality to call into C code.
I've worked with lua calling to C before, and it's really easy to do, so maybe could interface in a nicer manner than os.execute.

Merged in the pr you created.


New Search App and Customer Namespaces "/" are not working

Hi @oblomov-dev,
I found a Error in the new Search App - please check.
I guess it is the NameSpace, the slashes seem to create a probelm (/***/)

Thanks in advance!

fixed with:
https://github.com/abap2UI5/abap2UI5/pull/922
you can try again.

Runs perfectly, thanks!


Can't add an index on a newly added column

Hi,
I've tried adding this to my existing model:
    @Index("some_index")
    @ForeignKey(update = ReferentialAction.CASCADE)
    @ManyToOne
    Service serviceModel;

I use it to create a "unique together" index on a few columns. However, it doesn't work. I keep on getting:
java.lang.RuntimeException: Unable to start receiver com.etesync.syncadapter.App$AppUpdatedReceiver: io.requery.PersistenceException: java.sql.SQLException: android.database.sqlite.SQLiteException: table Journal has no column named serviceModel (code 1): , while compiling: create index if not exists journal_unique_together on Journal (serviceModel, uid)

I have another model to which I only added the index (the field existed already) and it works there. Also, if I remove the @Index directive, it correctly adds the column, so it's definitely not a problem there.
In addition, adding a new model with a unique together index works, which leads to the conclusion, the problem only occurs when adding a column and an index to an already existing model.
Please let me know if I'm doing anything wrong or if you need more information.
Thanks.

Looks like the serviceModel column doesn't exist which would happen if your database wasn't updated to match the current model.
For Android you need to increment the schema version to make a change. For regular java projects run the SchemaModifier with TableCreationMode.CREATE_NOT_EXISTS

Hey,
Please reopen, as I said, if I remove the index directive, it correctly creates the column. Please re-read the text, I tested a few paths that lead me to this conclusion, I know I need to update the schema version (and I did).

1.3.1 has this change

Thanks.


Actionable messages are not working for user who don't EXO license

Type of issue
Missing information
Feedback
Actionable messages can be posted using incoming webhook in Teams. But actions will work only when user Exchange online license. Otherwise, Actionable messages will not work for user. So, please mention the same as prerequisite in documentation.
It was mentioned in outlook related documentation, but it helps to mention in teams documentation as well: https://learn.microsoft.com/en-us/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
Author
@laujan
Document Id
8a250e46-2a30-af86-839d-9f83a8b48041

Hello @surbhigupta12 - Please help to update the documentation.


Replaced NAT instances with NAT gateway service.

Replaced NAT instances with NAT gateway service.

Tested and successfully deployed ADOP on top of infrastructure from this PR, as far as i know @dsingh07 also tested it - thank you. Great job, thank you @SachinKSingh28


[Event Request] codeunit 1255 "Match Bank Payments" procedure ApplyRecords

Describe the request
We could use a new publisher in codeunit 1255 "Match Bank Payments".
In procedure ApplyRecords - existing code:
    local procedure ApplyRecords(BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary): Boolean
    var
        AppliedPaymentEntry: Record "Applied Payment Entry";
    begin
        if TempBankStatementMatchingBuffer.Quality = 0 then
            exit(false);

        if TempBankStatementMatchingBuffer."One to Many Match" then
            ApplyOneToMany(BankAccReconciliationLine, TempBankStatementMatchingBuffer)
        else begin
            if EntryAlreadyApplied(TempBankStatementMatchingBuffer, BankAccReconciliationLine, TempBankStatementMatchingBuffer."Entry No.")
            then
                if not CanApplyManyToOne(TempBankStatementMatchingBuffer, BankAccReconciliationLine) then
                    exit(false);

            AppliedPaymentEntry.ApplyFromBankStmtMatchingBuf(BankAccReconciliationLine, TempBankStatementMatchingBuffer,
              BankAccReconciliationLine."Statement Amount", TempBankStatementMatchingBuffer."Entry No.");
        end;

        SendTraceTag('0000DKA', PaymentkRecPreformanceCategoryLbl, Verbosity::Normal, StrSubstNo(AppliedEntriesToBankStatementLineTxt, BankAccReconciliationLine.SystemId, TempBankStatementMatchingBuffer."Account Type", TempBankStatementMatchingBuffer."One to Many Match", TempBankStatementMatchingBuffer.Quality), DataClassification::SystemMetadata);

        exit(true);
    end;

Our suggestion:
    local procedure ApplyRecords(BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary): Boolean
    var
        AppliedPaymentEntry: Record "Applied Payment Entry";
    begin
        if TempBankStatementMatchingBuffer.Quality = 0 then
            exit(false);

        if TempBankStatementMatchingBuffer."One to Many Match" then
            ApplyOneToMany(BankAccReconciliationLine, TempBankStatementMatchingBuffer)
        else begin
            if EntryAlreadyApplied(TempBankStatementMatchingBuffer, BankAccReconciliationLine, TempBankStatementMatchingBuffer."Entry No.")
            then
                if not CanApplyManyToOne(TempBankStatementMatchingBuffer, BankAccReconciliationLine) then
                    exit(false);

            AppliedPaymentEntry.ApplyFromBankStmtMatchingBuf(BankAccReconciliationLine, TempBankStatementMatchingBuffer,
              BankAccReconciliationLine."Statement Amount", TempBankStatementMatchingBuffer."Entry No.");
        end;

        SendTraceTag('0000DKA', PaymentkRecPreformanceCategoryLbl, Verbosity::Normal, StrSubstNo(AppliedEntriesToBankStatementLineTxt, BankAccReconciliationLine.SystemId, TempBankStatementMatchingBuffer."Account Type", TempBankStatementMatchingBuffer."One to Many Match", TempBankStatementMatchingBuffer.Quality), DataClassification::SystemMetadata);

        OnApplyRecordsOnAfterSendTraceTag(BankAccReconciliationLine, TempBankStatementMatchingBuffer);

        exit(true);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnApplyRecordsOnAfterSendTraceTag(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var TempBankStatementMatchingBuffer: Record "Bank Statement Matching Buffer" temporary);
    begin
    end;

Additional context
We need extensibility for one of our customers.
Internal work item: AB#538390

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 21267.

Availability update: We will publish a fix for this issue in the next update for release 24.
Build ID to track: 21287.


working gcc update procedure

I used the procedure here to update gcc from v9 to v11 with the option to select either using update-alternatives and also installed the gui galternatives to help configure and select the default compiler.
https://tutorialforlinux.com/2021/05/23/step-by-step-gcc-11-1-linux-mint-20-installation/
The demos build and run using Qemu in Linux Mint 20.3, I have not yet tried using a floppy on a real PC.

Thanks for reporting back, I'll include this in the README.


[Port dspace-7_x] Update dependencies for Node v20

Manual port of #2356 by @mwoodiupui to dspace-7_x.
I've built DSpace 7.6.2-SNAPSHOT with Node.js v20.11.0 and done some basic tests (browse, submit).

Oops, I accidentally opened this PR against main and then switched base branches as the test were running and it seems they got stuck. I will try closing and re-opening this PR to trigger them again.


Include  in pose_graph/node.h and pose_2d.h

Makes MSVC happy.

Thank you, Juraj! I'll add it.

@wally-the-cartographer merge

Merge requested by authorized user pifon2a. Merge queue now has a length of 1.

Error: PUT https://api.github.com/repos/googlecartographer/cartographer/pulls/1280/merge: 405 At least 1 approving review is required by reviewers with write access. []
Log:
=> handle work item: PR 1280 on googlecartographer/cartographer.
 => Switching to branch master.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 07a9efee Add metrics: real time ratio and cpu time ratio. (#1275)
 $ git clean -fd [data/cartographer]
 $ git checkout master [data/cartographer]
Already on 'master'
Your branch is up to date with 'origin/master'.
 $ git pull [data/cartographer]
Already up to date.
Current branch master is up to date.
 => Checking out ojura/patch-1 as local branch pr_1280.
 $ git remote add ojura git@github.com:ojura/cartographer.git [data/cartographer]
fatal: remote ojura already exists.
 $ git fetch ojura [data/cartographer]
 $ git branch --track pr_1280 ojura/patch-1 [data/cartographer]
Branch 'pr_1280' set up to track remote branch 'patch-1' from 'ojura'.
 => Switching to branch pr_1280.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 07a9efee Add metrics: real time ratio and cpu time ratio. (#1275)
 $ git clean -fd [data/cartographer]
 $ git checkout pr_1280 [data/cartographer]
Switched to branch 'pr_1280'
Your branch is up to date with 'ojura/patch-1'.
 $ git pull --force [data/cartographer]
Already up to date.
Current branch pr_1280 is up to date.
 => merge master.
 $ git merge master [data/cartographer]
Already up to date.
 => Running clang-format on all *.cc and *.h files
 $ git commit -am Ran clang-format. [data/cartographer]
On branch pr_1280
Your branch is up to date with 'ojura/patch-1'.

nothing to commit, working tree clean
 $ git push --force ojura HEAD:patch-1 [data/cartographer]
Everything up-to-date
 => Abandoning branch pr_1280.
 => Switching to branch master.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at d5891251 Update pose_2d.h
 $ git clean -fd [data/cartographer]
 $ git checkout master [data/cartographer]
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
 $ git branch -D pr_1280 [data/cartographer]
Deleted branch pr_1280 (was d5891251).


compilation broken after flow layers added

@safchain  I am getting the following since adding flow layers, this appears to be only on my host (based on fc28) please assist:
[vagrant@dev skydive]$ make flow/layers/generated.proto                         mv /home/vagrant/.skydive-build-tool bin || true; ln -s vendor src || mv vendor src; cd src/gopkg.in/src-d/proteus.v1/cli/proteus; (unset GOARCH; unset CC; GOPATH=$GOPATH/src/github.com/skydive-project/skydive go install gopkg.in/src-d/proteus.v1/cli/proteus); cd -; mv bin /home/vagrant/.skydive-build-tool; unlink src || mv src vendor;
/home/vagrant/src/github.com/skydive-project/skydive
proteus proto -f ${GOPATH}/src -p github.com/skydive-project/skydive/flow/layers
error scanning package "github.com/skydive-project/skydive/flow/layers": /home/vagrant/src/github.com/skydive-project/skydive/flow/layers/layers.go:25:8: could not import github.com/google/gopacket/layers (/home/vagrant/src/github.com/skydive-project/skydive/vendor/github.com/google/gopacket/layers/arp.go:11:2: could not import encoding/binary (/home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/encoding/binary/binary.go:26:2: could not import io (/home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/io/pipe.go:12:2: could not import sync (/home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/sync/cond.go:8:2: could not import sync/atomic (/home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/sync/atomic/value.go:31:37: cannot convert v (variable of type *Value) to /home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/unsafe.Pointer)))))
make: *** [Makefile:226: flow/layers/generated.proto] Error 1

This is the offending commit: https://github.com/skydive-project/skydive/commit/e8cf79963e5d85b203becdc290df2cd2c6f38195
The error message is:
/home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/sync/atomic/value.go:31:37: cannot convert v (variable of type *Value) to /home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/unsafe.Pointer

but when attempting to build under go build all is ok:
cd flow/layers
go build

Thus indicating that the issue is due to promious compilation.
NOTE: that on other build machines there are no apparent issues ...

did you try to remove $GOPATH/.cache $GOPATH/pkg ?

rm websocket/structmessage.pb.go flow/*.pb.go filters/*.pb.go
make install

@safchain / @lebauce - tried all what was recommended - but I still get the reported issue

@hunchback can you try to delete  /home/vagrant/.skydive-build-tool

@hunchback Did you try to remove the vendor directory and do git checkout vendor ?

i did a fresh git clone skydive.git which did not resolve issue
On Thu, Oct 18, 2018, 12:09 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@hunchback https://github.com/hunchback Did you try to remove the vendor
directory and do git checkout vendor ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/issues/1394#issuecomment-430934283,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogIzQj65eY4jZNzrBAu9_xt-wOTXw6ks5umEVKgaJpZM4XkBNi
.

did you try to use a new GOPATH
are you sure that you didn't break/alter your GOROOT ?  (reinstall golang package)

when i revert to an older commit on master (prior to the 15th of October
all workas fine)
On Thu, Oct 18, 2018, 15:12 Nicolas PLANEL<EMAIL_ADDRESS>wrote:

did you try to use a new GOPATH
are you sure that you didn't break/alter your GOROOT ? (reinstall golang
package)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/issues/1394#issuecomment-430984906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI0gJIN_74fcJWaYkCAjFZMmNmRuqks5umHAxgaJpZM4XkBNi
.

can you confirm that you tried with

reinstalling the protoc tooling ? binary + include
a fresh or new golang install using another GOROOT ?
a new empty GOPATH ?

I did install twice fresh environment this afternoon without any issue. I guess for you the best is to reboostrap a golang environment.

i will check and get back on this ...
On Thu, Oct 18, 2018, 23:09 Sylvain Afchain<EMAIL_ADDRESS>wrote:

can you confirm that you tried with

reinstalling the protoc tooling ? binary + include
a fresh or new golang install using another GOROOT ?
a new empty GOPATH ?

I did install twice fresh environment this afternoon without any issue. I
guess for you the best is to reboostrap a golang environment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/issues/1394#issuecomment-431143603,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI6b0AkGWgaJGjLKewj-PAvG2BwyZks5umN_7gaJpZM4XkBNi
.

I have managed to minimally reproduce the issue:
On the following file $GOPATH/src/check.go:
package check

import "unsafe"

var ptr *int

var uptr = unsafe.Pointer(ptr)

When running go build all is ok but when running:
[vagrant@dev check]$ pwd
/home/vagrant/src/check
[vagrant@dev check]$ ~/.skydive-build-tool/proteus proto -f /home/vagrant/src -p check
error scanning package "check": /home/vagrant/src/check/check.go:7:27: cannot convert ptr (variable of type *int) to /home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/unsafe.Pointer
[vagrant@dev check]$

rm -rf /home/vagrant/.gimme
eval $(gimme 1.9.1)

[vagrant@dev check]$ rm -rf /home/vagrant/.gimme
[vagrant@dev check]$ eval $(gimme 1.9.1)
go version go1.9.1 linux/amd64
[vagrant@dev check]$ proteus proto -f /home/vagrant/src -p check
error scanning package "check": /home/vagrant/src/check/check.go:4:28: cannot convert ptr (variable of type *int) to /home/vagrant/.gimme/versions/go1.9.1.linux.amd64/src/unsafe.Pointer
[vagrant@dev check]$ cat check.go
package check
import "unsafe"
var ptr *int
var uptr1 = unsafe.Pointer(ptr)
[vagrant@dev check]$

rm -rf ~/.skydive-build-tool
cd ~/src/github.com/skydive-project/skydive
make clean
touch flow/layers/layers.go
make flow/layers/generated.proto
 ~/.skydive-build-tool/proteus proto -f /home/vagrant/src -p check

@hunchback We discussed with @tomerlange about this. This seem to be related to the use VirtualBox shared folders. If I remember correctly, these should not be used by default on Windows (https://github.com/skydive-project/skydive/blob/master/contrib/dev/Vagrantfile#L17). Any idea ? Thanks !

rm -rf ~/.skydive-build-tool cd ~/src/github.com/skydive-project/skydive make clean touch flow/layers/layers.go make flow/layers/generated.proto ~/.skydive-build-tool/proteus proto -f /home/vagrant/src -p check

did not help ...

@hunchback We discussed with @tomerlange about this. This seem to be related to the use VirtualBox shared folders. If I remember correctly, these should not be used by default on Windows (https://github.com/skydive-project/skydive/blob/master/contrib/dev/Vagrantfile#L17). Any idea ? Thanks !

I am not using shared folders but still have the issue ..

@hunchback Please check in the VirtualBox GUI (Settings / Shared folders) that there is no shared folder.

@lebauce - I have no shared folders (I setup without the skydive shared folder due to performance issues and later I deleted the ansible shared folders)

@lebauce - yesterday @eranra discovered that this issue is solved when installing Go directly (and not vie gimme) as follows:
wget https://dl.google.com/go/go19.1.linux-amd64.tar.gz
tar -xvf go1.9.1.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo mv go /usr/local

cat <<EOF >>.bashrc
export GOROOT=/usr/local/go
export PATH=\$GOROOT/bin:\$PATH
EOF

do we want to change scripts/ci/install-go.sh (as for now devmode is broken)

@hunchback The problem comes from the fact that GOROOT is inside GOPATH (check my last comment on the issue). There is a PR that tries to fix the devmode with modifying scripts/ci/install-go.sh

ok, great, then this issue can be closed
On Tue, Oct 30, 2018, 15:05 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@hunchback https://github.com/hunchback The problem comes from the fact
that GOROOT is inside GOPATH (check my last comment on the issue). There is
a PR that tries to fix the devmode with modifying scripts/ci/install-go.sh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/issues/1394#issuecomment-434290757,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI6Pb9k-P2pM_cVgPYYLavN7MN0Jhks5uqE62gaJpZM4XkBNi
.


README fix

I have almost missed the latest version of the driver that adds compatibility to Cassandra 3.x only due to the old version being stated in the installation instructions in the readme.

Thanks, I forgot to change that indeed :+1:


Image grid in Live Preview

Image grid in Minimal 4.2.0 works great. The only thing is that it is not rendered in Live Preview, only in Reading/Preview mode, if I am not mistaken.
Will you add LP support?

Unfortunately this is not possible because of the way images are grouped in Live Preview. Image grids rely on consecutive image elements being grouped within one parent container, but that is not how they are treated in Live preview. To do so would require a change in Obsidian.

OK, that's a pity, but it is now clear why. Many thanks for the feedback. I'll close this issue.


long wrapped line at bottom won't visually unselect

Describe the bug
Visually selecting from the bottom up, while wordwrap is on, and then unselecting still leaves  the appearance of selected text if the last displayed line extends beyond the length of the window.
To Reproduce

Load this file long.txt
:set wrap
:set display+=lastline
:set lines=25
:set columns=69
Scroll to bottom, move cursor to last character. Using v, enter visual mode and select from the bottom of the file to the top. Scroll to top, select to first character. Last line should extend beyond the length of the screen.
Unselect using <Esc>
Observe artifact (Done)
<C-L> to clear

Expected behavior
Appearance of selection should not be there
Screenshots

Environment (please complete the following information):
Confirmed on multiple:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)
Included patches: 1-503, 505-680, 682-1283
MacVim Custom Version 8.1.950 (155)
NVIM v0.3.4

MacOS 10.14.5
MacOS Terminal Version 2.9.5 (421.2)

Some pieces are missing.  At least need to set 'display' to "lastline".
Please start with "vim --clean".
Also mention how you move to the position where you start Visual mode (for me it makes the whole line appear).

Updated based on input.

Thanks for the update, now I reproduce the problem.