Feedback on the Compiler Documentation Guides

I have done the compiler documentation guides:

https://0xpolygonmiden.github.io/compiler/guides/rust_to_wasm.html
https://0xpolygonmiden.github.io/compiler/guides/wasm_to_masm.html

Here is a quick feedback.
Rust to WASM
Nicely written and easy to follow.
rust-toolchain.toml
Nit, I needed to put "wasm32-unknown-unknown" into brackets to make it work (I believe targets expects an array of values? So my rust-toolchain.toml looked like:
[toolchain]
channel = "nightly"
targets = "wasm32-unknown-unknown"

src/lib.rs
works fine and I like the well written comments to explain everything.
Only panic() works without unsafe (at least my compiler complained)
// Required for no-std crates
#[panic_handler]
fn panic(info: core::panic::PanicInfo) -> ! {
    core::intrinsics::abort()
}

compiling to WebAssembly
there is some error in the docs?

It seems not to be shown correctly. At least the GH page doesn't render what is here https://github.com/0xPolygonMiden/compiler/blob/main/docs/src/guides/rust_to_wasm.md
Remove the $ from the code snippets
Tiny nit: can you remove the $ from the code snippets, then I can copy and paste into my editor.
$ cargo build --release --target=bla

->
cargo build --release --target=bla

WASM to Masm
Nicely written and easy to follow. Two minor points:

Somehow the docs that are built here differ from main (here). Is there an old version built?

Can you explain the example a bit? Where does push.4294967295 come from?

Would be cool to use the compiled Masm file directly in the playground. For that, we should have a program (starting with begin) rather than a procedure (? starting with export). Then ppl could try the compiler example without needing to get the VM as well.

Thanks for the thorough review @Dominik1999! I'll go through and fix those typos and things today.

Somehow the docs that are built here differ from main (here). Is there an old version built?

The main branch hasn't been merged to in a long time, as we have not done any real releases per se. We can certainly start to do that on a regular basis though. I'll make a note to do that today as well.

Can you explain the example a bit? Where does push.4294967295 come from?

Like, explain it in the docs, or do you mean in a more meta-documentation sense, such as why I chose that specific example/etc? The constants in the generated code are almost always bitmasks to handle things like signed arithmetic using unsigned u32 values, occasionally its for assertions related to type casts, things of that nature, but it depends on the specific instruction sequence. That constant looks to me like u32::MAX, which could be getting used for a variety of reasons, I'd have to look at the IR to know for sure. Happy to add a note to the docs about that if you think it's something people are likely to be curious about.

Would be cool to use the compiled Masm file directly in the playground. For that, we should have a program (starting with begin) rather than a procedure (? starting with export). Then ppl could try the compiler example without needing to get the VM as well.

The example code here was being specifically compiled as a library to demonstrate a few other bits of the tooling, but we can emit programs as well, though in general what the compiler produces is probably not in an ideal form for the playground, since the assembler complains if we have "exported" procedures in a program module, and the compiler uses visibility information provided by the source language to determine whether a procedure is exported or not. Bottom line, we emit the program module (i.e. the module with begin) separately from everything else, and explicitly import things that are used. From what I gather, the playground is oriented more towards single-file examples. All very solvable things, but might preclude just compiling a program and then running it in the playground without any modification at the moment.

I believe all of your feedback has been addressed in #126, though there were a few questions above I had regarding one or two of the suggestions. I'm going to close this for now, but feel free to reopen if further action is required on any of those outstanding items. Thanks again for the thorough review!


Fix rare crash in table display activity

I will close this pull request as it doesn't compile.

Feel free to submit another pull request for the issue.  Also, when submitting pull requests for bugs/crashes, it would be great if you could include the repro steps as well.  I realize that this is a "rare" crash, but whatever you can provide would be helpful.  Thanks!


WIP: Use pure solve function

TODO: Review and/or merge only after reviewing and merging #109
Using a pure solve function and parallel symbolic evaluation seems promising; our state monad is hurting us a little, I might work on removing that state monad if not extremely necessary.
Also, another curious fact is that keeping the lock in pushMStack and popMStack causes a deadlock, but removing it makes everything go through. I'm a bit puzzled by it.

@0xd34df00d, a quick google gave me this: https://stackoverflow.com/questions/23471594/concurrent-stack-implementation-using-mvar/23499300#23499300

@0xd34df00d, a quick google gave me this: https://stackoverflow.com/questions/23471594/concurrent-stack-implementation-using-mvar/23499300#23499300

Oh welp, noticed this just now, sorry! Anyway, using QSem seems cleaner than what's in that answer.

Did GitHub get confused by the two PRs?

Either GitHub, Git or I got confused by the two PRs; I rebased this branch not inclusing the two initial commits on the latest dev (after merging #109) but now the web interface shows more commits than it should

I think it's good now. I know that if you force-push GitHub leaves anything above it unchanged, but the Files tab work as it should.

For the record; it's remarkable that Pirouette is significantly simpler and faster! This is CI's time for the isUnity test:
      isUnity Bug
        [correct_isUnity v] validate [\r _ -> r] counter:                                                 OK (2.71s)

A few PRs ago we were close to 10s! :tada:


Sort posts by latest first

Done via sort({genesis: -1}) on mongoose backend. Client still does not sort.


update the version of jQuery you are using

Nothing to do with us. Please report to phpunit. :)

In future, please never publically diclose something you think is a security vulnerability. Please follow the security disclosure policy of the repo, which you can find on the Security tab.


Improve findability of the CL Front Page website

Currently we have two main portals for CL:

A public-facing page (targeted to ontology reusers, e.g. CELLXGENE, HubMap, Bgee) : https://cell-ontology.github.io/index.html
A documentation portal (targeted to contributors and CL editors): https://obophenotype.github.io/cell-ontology/

Additionally, there are many pages that display CL, such as:

https://www.ebi.ac.uk/ols/ontologies/cl (OLS, the first Google result)
https://obofoundry.org/ontology/cl.html (The OBO Foundry page on CL, also a top result)
https://bioportal.bioontology.org/ontologies/CL (The BioPortal page, also a top result)

That multitude of pages is probably quite confusing for anyone new.
I am opening this ticket so we can better improve the findability of the CL main page and clarify a bit for external users.
A few ideas

[ ] Change https://obophenotype.github.io/cell-ontology/ to clarify it is a documentation page.

[ ] Add a more visible redirect from the documentation to the public-facing page

[ ] Add a better link from https://cell-ontology.github.io/index.html to the documentation

[ ] Change the OBO Foundry "homepage" link to https://obofoundry.org/ontology/cl.html and make it

[ ] Figure out a way to have OLS have a link to the CL main page

These are just some of the ideas. I'd be happy to implement the website changes if others are ok with it.

Figure out a way to have OLS have a link to the CL main page

If changing to the new OLS, you can see a link to the documentation page https://www.ebi.ac.uk/ols4/ontologies/cl as the "Homepage" button.

Adding the http://xmlns.com/foaf/0.1/homepage annotation to the ontology will change the link in OLS.


COM balancing and some fixed leaks

I've been doing some hunting in Debug mode and often when closing a session would trigger an assert in wincore.cpp, line 1055. I dug into the MFC code and it led me to this post: https://microsoft.public.vc.mfc.narkive.com/cGo3iW5V/afxmaphwnd-causing-an-assert-why.
Following the comments, I did a little further investigation and found that the CoInitialize(nullptr) done by the Windows simulator view is never answered by a CoUninitialize(). This is supposedly a source of leaks and such.
I had also seen there was a class, ScopedComInitializer, intended to address this, so I made that a member of CSimulatorView and removed the original call. Per the CoInitialize docs, I used the single-threaded apartment type.
The assert seems to have gone away when quitting normally. I think exiting while stepping through code might still be able to do it—there is audio code without benefit of the scoped initializer—however, this is a marked improvement. 😄

Also in Debug mode, when quitting via the window's "X" (in Windows), you also get a memory leak report.
I finally decided to track these all down. (This was with some simple applications; maybe something more significant would flush out others.)
A few of these are valid. The audio session manager was never closed (just a pointer, 4 bytes), nor was the simulator analytics Lua context (small allocations, but quite a few of them).
Oddly enough, Rtt_Allocator has defeated my efforts to fix. 😃This is reference-counted, but the create / destroy calls are not yet balanced, so it leaks a pointer (4 bytes, again).
There are some further "leaks" in audio code: a std::unordered_set of thread IDs and some AL config info. These are false positives, though. The memory report is issued before the DLL cleanup that does in fact unload them.
I've made notes in the allocator and those two audio bits.

For reference, you should now see something like this in a report:
{279} normal block at 0x005E4748, 4 bytes long.
 Data: <    > 00 00 00 00
{180} normal block at 0x005F8B58, 64 bytes long.
 Data: <8 _ 8 _ 8 _ 8 _ > 38 90 5F 00 38 90 5F 00 38 90 5F 00 38 90 5F 00
{179} normal block at 0x005F91C0, 8 bytes long.
 Data: <( !z    > 28 EC 21 7A 00 00 00 00
{178} normal block at 0x005F9620, 8 bytes long.
 Data: <  !z    > 1C EC 21 7A 00 00 00 00
{177} normal block at 0x005F9038, 12 bytes long.

 Data: <general > 67 65 6E 65 72 61 6C 00
{95} normal block at 0x005E2BD0, 12 bytes long.
 Data: < +^         > 98 2B 5E 00 00 00 00 00 00 00 00 00

On this run, allocation 279 was the Rtt_Allocator; 177 - 180 were the std::unordered_set; and 95 - 96 were the "first" AL ConfigBlock and its name ("general").

This will leak if the params are invalid. It also looks like the same resources get lost if the request isn't completed, but I haven't tested.
This was prompted by the title of an otherwise meandering forum post ("Is there a leak in network.download?") from the moderation queue; looks like that got rejected.
Maybe I'll make a round through the samples and see if anything else gets flushed out.


Cookies missing in Nextjs with app directory if set or refresh session in middleware

Bug report

[-] I confirm this is a bug with Supabase, not with my own application.
[-] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
Cookies missing in Nextjs with app directory if set or refresh session in middleware
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Run git clone https://github.com/iMuFeng/nextjs-app-cookie
Run cd nextjs-app-cookie && pnpm i && pnpm dev
Open http://<IP_ADDRESS>:3000
Create a new cookie named "cookie1" manually in the console with any value (like abc), and then refresh this page.

Expected behavior
There should display the value of "cookie1"
Screenshots

System information

Version of @supabase/auth-helpers-nextjs: 0.7.1
Version of nextjs: 13.4.4
Version of Node.js: 20.0.0

Additional context
Nextjs has a bug where the cookies from the response are parsed by nextjs/headers cookies instead of those from the request.
// Remove this line will help
// https://github.com/supabase/auth-helpers/blob/d33aa1b96b5d1b9684ae7fc50ecd86c24d6c066c/packages/nextjs/src/middlewareClient.ts#L58
res.headers.append('cookie', newSessionStr)

Can confirm this is causing issues. Try to set any cookie with next.js api route handler is reset if using the middleware wrapper createMiddlewareClient.

Same problem

Actually, this solution is also not very reliable. Haven't fully figured out when it fails but it does not work reliably either.

I found a potential cause & solution: caching!
The server component is cached and might not show the cookies for that reason. I added
export const revalidate = 0;

to my server component and now I see the cookie with next/headers cookies(). Not 100% tested yet though.

I believe these lines will always overwrite all of the cookies sent to the server in the request? https://github.com/supabase/auth-helpers/blob/main/packages/nextjs/src/middlewareClient.ts#L48-L61

Are there any workarounds for this? I'm experiencing this same problem myself, I have a second cookie set but the server never receives it when I'm logged in and have the supabase cookie set.
If I'm not logged in and don't have the supabase cookie the other cookie reaches the server.
I've tried copying my cookie from the request and then adding it to the response but that doesn't seem to work either.

I'm looking into this now and making the change requested by the OP would cause another issue. The PR that introduced this issue states that cookies won't be available in Server Components on first render if we don't append cookie. https://github.com/supabase/auth-helpers/pull/551 I'll look into this a bit more to find a solution that works for both cases.

It would seem that PR was before the Next team had finalized some features with the App router. I'm going to test out removing that line and testing it in a few scenarios. If it doesn't cause any unforseen side-effects then I'll try and get a version out by early next week.

Just to keep you all updated, I'm still looking into this and running some tests.

Any updates on this issue?


XHR failed

Error: XHR failed
at XMLHttpRequest.S.onerror (out/vs/workbench/workbench.desktop.main.js:83:27625)

Go to Errors Site

This item is unactionable, though has a decent set of hits. @lramos15 maybe we can buff the error logging for this?


Discord RPC Song Name Integration Is Broken

The hell?
Most of the times files display the full file path instead of file name or "artist + name" in Discord Rich Presence Integrations.
Screenshots
File №1
The displayed song name in RPC contains the full path to the file.

The Discord Rich Presence integration on the opened file
The opened file in Amethyst; all metadata is present and displayed correct

File №2
The artist name displayed in RPC is Various Artists instead of Geoxor.

The Discord Rich Presence integration on the opened file
The opened file in Amethyst; all metadata is present and displayed correct

File №3
The displayed song name in RPC contains the full path to the file.

The Discord Rich Presence integration on the opened file
The opened file in Amethyst; all metadata is present and displayed correct

File №4
Everything is fine.

The Discord Rich Presence integration on the opened file
The opened file in Amethyst; all metadata is present and displayed correct

Other Information

App Version: v1.2.9 as of commit ada27a
Desktop Environment: macOS 12.4

seems to work correctly, reopen the issue if not fixed


odo config - Default ignore list for odo watch

[kind/Enhancement]

Which functionality do you think we should update/improve?
One of the things that should be configurable using   #800 ( https://github.com/redhat-developer/odo/blob/master/docs/proposals/odo-config-file.md ) should be a list of the filters for odo watch --ignore.
There should be some default filters, that are always ignored if the user doesn't specify something else.
Why is this needed?
To be more user friendly. For most cases, the default value should be ok, and the user shouldn't need to configure this.

Implemented this after https://github.com/redhat-developer/odo/blob/master/docs/proposals/odo-config-file.md

I think that we should keep default ignore list as slim as possible.
If we try to put everything that we can think of there, it will just lead to confusions.
I would start with something that all users would need and that is .git.
I don't think that it makes sense to add there editor specific files.

Support for .odoignore file #1036
/close


Chore/daef 389 Update README file's NETWORK env variable options

This PR updates README file's "Development - network options" section. staging option is removed from available options list.

@domenkozar can you please merge this one after CI tests are done? Thanks :)


Community - Create Grants discord space

Overview
Create Grants space on discord
https://discord.gg/cS42wyG7

@bordumb need any other support on this?

@abbey-titcomb good here!


chart/sonarqube - support for SSL

This is my current values.yaml file:
ingress:
enabled: true
# Used to create an Ingress record.
hosts:
  - name: sonar.example.com
    # default paths for "/" and "/*" will be added
    path: /
    # If a different path is defined, that path and {path}/* will be added to the ingress resource
    # path: /sonarqube
    tls: true
    tlsHosts:
    - sonar.example.com
    tlsSecret: example-tls
annotations:
    kubernetes.io/ingress.class: nginx-internal
    #kubernetes.io/tls-acme: "true"
    #This property allows for reports up to a certain size to be uploaded to SonarQube
    nginx.ingress.kubernetes.io/proxy-body-size: "20m"

But, TLS is not working. Portal is running on port 80.

Should be something like
ingress:
  enabled: true
  # Used to create an Ingress record.
  hosts:
    - name: sonar.example.com
      # default paths for "/" and "/*" will be added
      path: /
      # If a different path is defined, that path and {path}/* will be added to the ingress resource
      # path: /sonarqube
      tls: true
      tlsHosts:
      - sonar.example.com
      tlsSecret: example-tls
  annotations:
    kubernetes.io/ingress.class: nginx-internal
    #kubernetes.io/tls-acme: "true"
    #This property allows for reports up to a certain size to be uploaded to SonarQube
    nginx.ingress.kubernetes.io/proxy-body-size: "20m"

I think your indentation was off


Repo sync for protected CLA branch

The pull request is created from main638042185361834174sync_temp to main to fix git push error for protected CLA branch

Learn Build status updates of commit df5fdb1:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Sleep issue

Hi.
First, i want to thank you for this great job.
I have an issue about sleep. After wakeup, i have only black screen with mouse pointer.
My system is i5-6200u with R7 m370.
What should i do?

Hi, sleep is working 50/50
It works well with an external monitor, but sometimes it goes into reboot or a black screen. This is normal for hackintosh.

Hi.
First, i want to thank you for this great job.
I have an issue about sleep. After wakeup, i have only black screen with mouse pointer.
My system is i5-6200u with R7 m370.
What should i do?

Hi, sleep is working 50/50
It works well with an external monitor, but sometimes it goes into reboot or a black screen. This is normal for hackintosh.

Hi.
First, i want to thank you for this great job.
I have an issue about sleep. After wakeup, i have only black screen with mouse pointer.
My system is i5-6200u with R7 m370.
What should i do?

Hi, sleep is working 50/50
It works well with an external monitor, but sometimes after wake up it goes into reboot or a black screen. This is normal for hackintosh.

Thnak you for replaying. But my hackintosh always displays black screen with mouse after wake. It's not sometimes.
Anything can help?

Thnak you for replaying. But my hackintosh always displays black screen with mouse after wake. It's not sometimes.
Anything can help?
Try boot with darkwake=1..10. Sometimes the right setting helps with sleep.

Thnak you for replaying. But my hackintosh always displays black screen with mouse after wake. It's not sometimes.
Anything can help?

Try boot with darkwake=0..10. Sometimes the right setting helps with sleep.

I tried them all, but sorry no luck.

I tried them all, but sorry no luck.

Some laptop will sleeping and wake problem which has discrete graphics card. Try disable discrete card with DSDT. I think methods _PTS for sleep and _WAK method for wake don't work through discrete card.

I'm already using HibernationFixup kext, but the discrete card is not already deactivated in the provided DSDT? because as I know macOS can't even start with an existing discrete card.

I'm already using the HibernationFixup kext, but the discrete card is not already deactivated in the provided DSDT? because as I know macOS can't even start with an existing discrete card.

As I know, to disable a discrete card, you need a clean dsdt from the laptop where is this card exist. Find the method responsible for the card and turn it off or disable in bios.

Solved, just add -wegnoegpu whatevergreen bootflag it wil disable the discrete card.
works better with catalina updtae


No error handling in Node.JS?

I have a huge folder of images i want to compress one by one. I wrote a small script that reads the directory and for each file tries to encode them with mozjpeg. Sometimes there is a corrupt image where the npm lib outputs an error but the script doesnt continue with the rest of them no matter what i try. Is there a way to keep the for loop running and just skip the corrupt image?

If anyone runs into the same problem the issue is that some images are in cmyk color space which results in an error (as other people in other issues already pointed out). To fix this you can either skip the image or convert it.
My fix (uses sharp to get metadata about the image):
const meta = await getMetaData(path.join(imageDir,file));
if(meta.space === 'cmyk'){
    // convert to 'srgb' or whatever you want and save with suffix '_converted'
    await sharp(path.join(imageDir,file)).toColorspace('srgb').toFile(path.join(imageDir,file.replace('.jpg','_converted.jpg')));
    // read image (the converted) and continue with the other steps
    const imgData = await fs.readFile(path.join(imageDir,file.replace('.jpg','_converted.jpg')));
    const image = await imagePool.ingestImage(imgData);
    const encoded = await image.encode(encodeOptions);
    // save encoded file (in my case i replace the original file)
    await fs.writeFile(path.join(imageDir,file),encoded.mozjpeg.binary);
    // delete converted file
    await fs.unlink(path.join(imageDir,file.replace('.jpg','_converted.jpg')));
    // continue with following files
    continue;
}
// else just take the image and encode it
const imgData = await fs.readFile(path.join(imageDir,file));
const image = await imagePool.ingestImage(imgData);
const encoded = await image.encode(encodeOptions);
await fs.writeFile(path.join(imageDir,file),encoded.mozjpeg.binary);

async function getMetaData(image){
    return new Promise((resolve,reject)=>{
        try {
            const img = sharp(image);
            img.metadata().then(resolve).catch(reject);
        } catch (e) {
            reject(e);
        }
    });
}

Hope this helps if anyone encounters this problem!


Inconsistent metrics deploying a Next.js app

When I run the Google Chrome Lighthouse plugin against my deployed site everything looks good: Performance, Accessibility, Best Practices and SEO all report scores of 90-100.
However, when the Netlify plugin runs, these numbers are invariably lower, especially with regards to Performance:
Expected category Performance to be greater or equal to 0.9 but got 0.63
   'First Contentful Paint' received a score of 0.95
   'Speed Index' received a score of 0.99
   'Largest Contentful Paint' received a score of 0.25
   'Time to Interactive' received a score of 0.75
   'Total Blocking Time' received a score of 0.65
   'Cumulative Layout Shift' received a score of 0.03

I keep reducing the Performance threshold to get the build passing, but that's obviously not a great solution.
Is this related to the fact that I'm deploying a Next.js app?

Hi @jonathanwelton, I don't think it is related to it being a Next.js app.
The plugin runs the audit on a local http serve and not on the live site, so that might explain some differences.
Also, the plugin runs in the Netlify build system, while you're probably running Lighthouse from your own machine.
To simulate the plugin run locally you can use our CLI:

npm install -g netlify-cli
netlify login
netlify link from the repo directory
netlify build and it should simulate the build locally

Do you have a public repo you can share or a way that can help us reproduce the issue? That will help a lot in finding a solution

Hi @erezrokah, sorry for the delayed response.
Unfortunately it's for a work project, so the repo is private.
I've tried running the commands you listed to simulate the plugin locally, but it doesn't appear to analyse anything:
────────────────────────────────────────────────────────────────   2. onPostBuild command from @netlify/plugin-lighthouse ────────────────────────────────────────────────────────────────  Serving and scanning site from directory out   ChromeLauncher Waiting for browser. +0ms   ChromeLauncher Waiting for browser... +0ms   ChromeLauncher Waiting for browser..... +508ms   ChromeLauncher Waiting for browser.....√ +3ms   ChromeLauncher Killing Chrome instance 27244 +27ms  (@netlify/plugin-lighthouse onPostBuild completed in 813ms)
Do I need to configure anything extra?

H @jonathanwelton.

Unfortunately it's for a work project, so the repo is private.

Is it possible to create another public repo that reproduces the issue?

Do I need to configure anything extra?

You shouldn't need to configure anything else, can you share the full log of the netlify build command?

@erezrokah here it is:
> next build

(node:24192) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Source\anw.acquisition\node_modules\postcss\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
info  - Loaded env from C:\Source\anw.acquisition\.env.production
warn  - Detected next.config.js, no exported configuration found. https://err.sh/vercel/next.js/empty-configuration
info  - Using external babel configuration from C:\Source\anw.acquisition\.babelrc
info  - Creating an optimized production build
info  - Compiled successfully
info  - Collecting page data
info  - Generating static pages (5/5)
info  - Finalizing page optimization

Page                                                           Size     First Load JS
┌ ○ /                                                          377 B           107 kB
├   /_app                                                      0 B             107 kB
├ ○ /404                                                       3.46 kB         110 kB
└ ● /browse/m/track/[slug]                                     2.35 kB         109 kB
    ├ /browse/m/track/sleepless-daze_1035198
    └ /browse/m/track/purple-beat_1008534
+ First Load JS shared by all                                  107 kB
  ├ chunks/44dec107c629fb51b77c176a452949187e0451e4.32dd51.js  26.9 kB
  ├ chunks/f6078781a05fe1bcb0902d23dbbb2662c8d200b3.55ee14.js  13.1 kB
  ├ chunks/framework.691eee.js                                 42.1 kB
  ├ chunks/main.016968.js                                      7.07 kB
  ├ chunks/pages/_app.a19a4e.js                                16.8 kB
  └ chunks/webpack.50bee0.js                                   751 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
   (ISR)     incremental static regeneration (uses revalidate in getStaticProps)

><EMAIL_ADDRESS>export
> next export

info  - Loaded env from C:\Source\anw.acquisition\.env.production
warn  - Detected next.config.js, no exported configuration found. https://err.sh/vercel/next.js/empty-configuration
info  - using build directory: C:\Source\anw.acquisition\.next
info  - Copying "static build" directory
info  - No "exportPathMap" found in "next.config.js". Generating map from "./pages"
info  - Launching 11 workers
info  - Copying "public" directory
info  - Exporting (2/2)
Export successful. Files written to C:\Source\anw.acquisition\out

(build.command completed in 16.1s)

────────────────────────────────────────────────────────────────
  2. onPostBuild command from @netlify/plugin-lighthouse
────────────────────────────────────────────────────────────────

Serving and scanning site from directory out
  ChromeLauncher Waiting for browser. +0ms
  ChromeLauncher Waiting for browser... +0ms
  ChromeLauncher Waiting for browser..... +508ms
  ChromeLauncher Waiting for browser.....√ +3ms
  ChromeLauncher Killing Chrome instance 27244 +27ms

(@netlify/plugin-lighthouse onPostBuild completed in 813ms)

────────────────────────────────────────────────────────────────
  Summary
────────────────────────────────────────────────────────────────

> Plugin @netlify/plugin-lighthouse ran successfully
  Summary for directory 'out': undefined

────────────────────────────────────────────────────────────────
  Netlify Build Complete
────────────────────────────────────────────────────────────────

(Netlify Build completed in 17.7s)

Thanks @jonathanwelton that's helpful. Can you share the output of npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli?
Looks like like Lighthouse is running, but not returning any results.

@erezrokah here it is:
  System:
    OS: Windows 10 10.0.18363
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 6.09 GB / 15.84 GB
  Binaries:
    Node: 16.0.0 - C:\Program Files\nodejs\node.EXE
    npm: 7.10.0 - C:\Program Files\nodejs\npm.CMD

Thanks @jonathanwelton, can you share a public repo so I can try this on my machine?
Also, can you trying using Lighthouse as a CLI and see if that works?
https://github.com/GoogleChrome/lighthouse#using-the-node-cli
The reason behind it is to understand if this is an issue with Lighthouse or the plugin.
Another option is to try with Node.js 15

Thanks for the additional information.
Maybe some of the settings of the Google Chrome Lighthouse plugin impact this:

Can you try with various settings?

Hey, I'm closing this as it's not been updated for a while.
If you're still using this Lighthouse plugin, v4 adds the ability to view full Lighthouse reports in the Netlify UI (read more in the docs). This allows for a much more detailed review of any audits which vary between platforms. The settings used for each run can be found in the footer of the Lighthouse report.


Reduce creator mark length limit to 1024

The field value length limit is 1024. If a creator mark is any longer, the info page of the element will not be able to be sent which defeats the entire purpose of the creator mark.

Fixed in f92a70961450e05df14ac50656a07d422c5753d6


Asking to pull 2 commits

Hi,
I'm playing with Nitrogen and found it very useful. During it I found that
action_event doesn't allow to distinguish between enter key and enter+shift key.
Fix for it is in this pull request.

Adding support for shift key detection in action_event
Adding $get_value - useful for user js code and enhancing $set_value to work with img tags

Milan Svoboda

Hi Jesse,

OK

Users of get_value are some my elements (version of inplace_textarea/textbox which correctly handle the cancel case by setting original value). The reason behind $get_value is that obj("id").val() doesn't work on dropdowns, images, etc.. Also $get_value is orthogonal to $set_value which works on that elements.

:-)

What do you think about case 2?
Milan


premium plugins cause errors with "composer update"

when I downloaded the repository, I ran "composer update". I got an error, that the environment variable PLUGIN_KEY_ACF is not set.
[FFraenz\PrivateComposerInstaller\Exception\MissingEnvException]   Can't resolve placeholder {%PLUGIN_KEY_ACF}. Environment variable 'PLUGIN_KEY_ACF' is not set.
When I copied it from the example env-file as
PLUGIN_KEY_ACF=pleasedontusethiskey
and used "composer update" again, I got the next error:
[Composer\Downloader\TransportException]
  The "https://connect.advancedcustomfields.com/index.php?a=download&p=pro&k=pleasedontusethiskey&t=5.8.9" file could not be downloaded
  (HTTP/1.1 404 Not Found)

When I than put in my licencse key in the env-file - what other developers can't do as they don't have our license key - it doesn't change anything. It still shows the error after "composer update" with the k=pleasedontusethiskey in the download URL.
The same for WP Migrate DB Pro.
I had to delete both from the composer.json to be able to finish the "composer update".
So I think we have to streamline this process to give other developers a smoother start.

This are private date that are not supposed to go into a public repo.
These information need to be sent to new developers in private communication.
Beside doing exact that - sending a new developer this information - there would be the way to place this information in a private place where developers with access rights to eg. our github organisation etc. can get through a link that we provide.

@ibes
Sorry, but I don't see that as "done"...
I don't think that every person who helps us one time or forks the repo to just play around with it, learn and perhaps later give back a few pull requests will get our license keys and passwords... but at the same time they should be able to work with it.
Let's think about it a little bit.
My thoughts:

use as few premium plug-ins as possible

which do we have at the moment? (ACF Pro, WP Migrate DB Pro, MailPoet Premium, .... i think that's all)
do we really need them as premium?
is there a free alternative we could use?
is the free version of the premium plugin enough to work on local? (Yes for MailPoet, I think, as we can have just 5 subscribers in the dev-database for the website)
do we need all of this premium plugins in a local dev environment? (No for WP Migrate DB, for example)

have a composer.json as it is now - and a composer.json.local or composer.json.dev without these pro plugins or their free variants and make clear in the dev documentation, that they have to delete composer.json and rename the other one into composer.json

What do you think? Could it be worth to think in that direction?

Make sure to recognize that you are mixing two issues.

getting you set up - which is priority: high
finding ways to include other people in our work flow - which is far from priority: high.

Please start a new issue for "2)" and copy over the brainstorm.
I am very open to find solutions for "2)" in some weeks.
Will not answer to issue 2) here.

@ibes one last comment (and later I will create a new issue): This IS the issue 2, as you named it. As I found my way to finish the composer update way before writing this issue.....
But no problem, we will look over it, in a new issue, in some weeks.

@michael-voit
I am not confinced this was issue 2 from the start 😆

@ibes no matter, if you are convinced or not - if you would read the last two sentences of the issue, you would see: "i found my way to do it - let's help other developers to have an easier start".
But lets close that here - makes no sense to discuss such a quibbling.


Homebridge - SmartLife - Fastwarm Thermostats

Describe the bug
I have 2 thermostats that control my underfloor heating and work fine in the SmartLife app. The make of the thermostats are FastWarm - https://www.fastwarm.com/fastwarm-smart-wifi-thermostat---black-16amp-11067-p.asp
With the plugin they show in the homeapp, but show unresponsive. I can seem to turn them on and off from Home app but nothing updates within Home.
I have other devices which are working ok, including radiators.
Any ideas? Thanks for your help
Steps To Reproduce
Thermostat shows in the plugin ok
Shows in Home App but unresponsive
Can turn it off and on but no other controls available
Plugin Version
1.1.5
{
   "bridge": {
       "name": "Homebridge 2DB5",
       "username": "0E:25:4E:35:2D:B5",
       "port": 51883,
       "pin": "REDACTED",
       "advertiser": "avahi"
   },
   "accessories": [],
   "platforms": [
       {
           "name": "Config",
           "port": 8581,
           "platform": "config"
       },
       {
           "name": "TuyaWebPlatform",
           "options": {
               "username": "REDACTED",
               "password": "",
               "countryCode": "44",
               "platform": "smart_life"
           },
           "defaults": [
               {
                   "device_type": "dimmer"
               }
           ],
           "scenes": false,
           "platform": "TuyaWebPlatform"
       }
   ]
}

Any idea what this error means?
￼
Thanks

On 12 Dec 2024, at 15:11, Milo Cesar @.***> wrote:
Please post the result of the steps under "How to check whether the api this library uses can control your device". https://github.com/milo526/homebridge-tuya-web#how-to-check-whether-the-api-this-library-uses-can-control-your-device
Without this it is hard for me to help you with regards to this specific issue.
—
Reply to this email directly, view it on GitHub https://github.com/milo526/homebridge-tuya-web/issues/628#issuecomment-2539235038, or unsubscribe https://github.com/notifications/unsubscribe-auth/BNU6NEEEQZFE5GGJNT5GQWL2FGRTXAVCNFSM6AAAAABTP7V6LKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZZGIZTKMBTHA.
You are receiving this because you authored the thread.


Discolored squares are showing up on the right side of the code

VSCode Version: 1.44.2
OS Version: Ubuntu 20.04

Steps to Reproduce:

Use a dark color theme such as Noctis Uva
Open a file and move around a bit

Outcome:

Does this issue occur when all extensions are disabled?: Yes
The issue does not occur if I start code with --disable-gpu.
I think the issue could be related to the fact that I have a very recent GPU. It's a 10th generation i7 with Iris graphics.

/duplicate of #85452
This is upstream issue and looks like it's only workaround for now. See https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration on how to disable it without need to always pass --disable-gpu flag.

Sorry about the duplicate. Thanks for the --disable-gpu workaround.


Responsive issues in smaller screen sizes

Describe the bug
The landing page has some issues related to the responsiveness in the mobile version.
To Reproduce
Steps to reproduce the behavior:
Go to the landing-page using mobile or open dev tools and select toggle device toolbar.
Expected behavior
A hamburger can be created as the navbar that will contain all the links of the navbar for devices with smaller screen sizes.
Screenshots
Here are some images:

Smartphone (please complete the following information):

Device: Honor 9n
OS: Android 9
Browser: chrome
Version 89.0.4389.86

Additional context
Media queries should be created targeting different screen sizes.

I am working on it


Added a way to perform assert-news on local repositories

Description
Added a way to use assert-news locally.
After merged, it can be added to pre-commit as assert-news -l
Test Coverage

[ ]  This change is covered by existing or additional automated tests.
[x]  Manual testing has been performed (and evidence provided) as automated testing was not feasible.
[ ]  Additional tests are not required for this change (e.g. documentation update).

I'm a bit unfamiliar with how this works. Could there be a bit of documentation about how it is run?
Would it work in a similar way to flake8 and mypy ie. assert-news --local?
Would it make sense for local to be the default and non-local the override, that way the extra words can be put in scripts and we don't have to type them out each time?

I'm a bit unfamiliar with how this works. Could there be a bit of documentation about how it is run?
What kind of documentation would you like to see and where? Would you want more documentation for assert-news or for the git utilities?
Would it work in a similar way to flake8 and mypy ie. assert-news --local?
I am not sure I fully understand the question but yes assert-news --local would be the way to use it on you environment and it will be added to the pre-commit hooks such as mypy and flake8 and black.
Would it make sense for local to be the default and non-local the override, that way the extra words can be put in scripts and we don't have to type them out each time?

I would agree with your suggestion of making local the default. However, this utility was done primarily to be run in CI rather than locally so changing the default would mean, we need to change all the project CI scripts when this gets released.


Cannot read property 'split' of undefined?

yarn run v1.22.15
$ yarn setup-solana-dev && yarn setup-metaplex-dev && yarn setup-envs-dev
$ ./devtools/dev/setup-solana-dev.sh
$ node ./devtools/dev/setup-metaplex-dev.js
Type mint price [default 1 sol]:
Type start date of the minting [default 16 Sep 2021 00:00:00]:
'sh' is not recognized as an internal or external command,
operable program or batch file.
$ node ./devtools/dev/setup-envs-dev.js
C:\Users\nelso\Documents\candy factory\solana-candy-factory\devtools\dev\setup-envs-dev.js:33
      NEXT_PUBLIC_TREASURY_ADDRESS = fileContent.toString().split('\n')[4].split(' ')[1].trim();
                                                                          ^

TypeError: Cannot read property 'split' of undefined
    at C:\Users\nelso\Documents\candy factory\solana-candy-factory\devtools\dev\setup-envs-dev.js:33:75
    at Array.forEach (<anonymous>)
    at C:\Users\nelso\Documents\candy factory\solana-candy-factory\devtools\dev\setup-envs-dev.js:13:9
    at FSReqCallback.oncomplete (fs.js:179:23)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I am getting this error when I finally run the yarn setup-dev command, and it says that fileContent.toString().split('\n')[4] is undefined. I can't seem to figure out what is wrong.

Hey bro! The repo and scripts have been updated.
Please clone the updated version and test again. If the issue remains, reopen the issue with your codebase so I can validate what is happening.


Make path to plugins configurable in new pluginsystem

Description
Please describe your pull request:

Why is it necessary?
Unify with "old" pluginsystem
What does it improve?
Made plugin folder configureable
Does it have side effects?
Nope

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?

How to test?
Change the folder in the config.php and try something with your plugins :)

@janbuecker travis need restart :3

Seems to be broken on travis. Bamboo's last build was successful. I've have a look into this.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-17848.
Please use this issue to track the state of your pull request.


Controller_Heuristic needs to dynamically update Heuristic values as it explore

The initial heuristic values are set assuming there is no walls.  As the robot explores in the maze, we need to adjust the heuristic values to reflect those newly found walls.

This was one idea to improve the Controller_Heuristic but it turns out not really necessary.  Simple heuristic function works very well with the visit counter logic in the Controller_Counter.


How to capture the raw request from GH

Hello,
For various reasons, my Probot app is not writing logs - either my company infra is easting it up or I'm not clear about it.
Could you let me know which file will be best for me to add code to write the HTTP request payload and headers to a file?
I tried @octokit/webhooks/dist-src/verify-and-receive.js, but didn't work.
Thanks!

See this part of the gh documentation
https://docs.github.com/en/webhooks/testing-and-troubleshooting-webhooks/redelivering-webhooks


libvirt-guests.sh: unable to connect to libvirt

Issue description
On shutdown, the error prevents my system from properly shutting down, requiring a hard shutdown. Don't actually know if this is what's blocking my system from shutting down since it "exits", but setting virtualisation.libvirtd.enable = false gets me a clean shutdown.
The logs I can spot pertaining to libvirt.
Jun 29 17:45:18 nixos systemd[1]: Reloading.
Jun 29 17:45:18 nixos systemd[1]: libvirtd.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Jun 29 17:45:18 nixos systemd[1]: libvirt-guests.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Jun 29 17:45:18 nixos systemd[1]: Stopped target Remote File Systems.
Jun 29 17:45:18 nixos systemd[1]: Stopped target Local File Systems.
Jun 29 17:45:18 nixos systemd[1]: Stopped target virt-guest-shutdown.target.
Jun 29 17:45:18 nixos systemd[1]: Stopping libvirtd.service...
Jun 29 17:45:18 nixos .libvirtd-wrapp[27257]: internal error: Child process (/nix/store/dqswl7i664qvr89dlc1vfypn8jwpfkm4-iptables-1.8.3/bin/ebtables --concurrent -L) unexpected fatal signal 15
Jun 29 17:45:18 nixos systemd[1]: libvirtd.service: Succeeded.
Jun 29 17:45:18 nixos systemd[1]: Stopped libvirtd.service.
...
Jun 29 17:45:19 nixos libvirt-guests.sh[651]: Unable to connect to libvirt currently. Retrying .. 10
...
Jun 29 17:45:24 nixos libvirt-guests.sh[651]: Unable to connect to libvirt currently. Retrying .. 5
Jun 29 17:45:25 nixos libvirt-guests.sh[651]: Unable to connect to libvirt currently. Retrying .. 4
Jun 29 17:45:26 nixos libvirt-guests.sh[651]: Unable to connect to libvirt currently. Retrying .. 3
Jun 29 17:45:27 nixos libvirt-guests.sh[651]: Unable to connect to libvirt currently. Retrying .. 2
Jun 29 17:45:28 nixos libvirt-guests.sh[651]: Unable to connect to libvirt currently. Retrying .. 1Can't connect to default. Skipping.
Jun 29 17:45:28 nixos systemd[1]: libvirt-guests.service: Succeeded.
Jun 29 17:45:28 nixos systemd[1]: Stopped libvirt-guests.service.

Steps to reproduce
  virtualisation = {
    libvirtd.enable = true;
  };

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.1.15-hardened, NixOS, 19.09.git.5b7e371 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3pre6779_324a5dc9`
 - channels(root): `"nixos-19.09pre182971.a1dd419c1ff"`
 - nixpkgs: `$HOME/Projects/nixpkgs`

what is libvirt version ?

Looks like 5.4.0, /nix/store/r2ygqxys7fdybdmawr6dc8kkifzdmf06-libvirt-5.4.0, from libvirtd.service.

Doesn't seem to a problem anymore.

I'm still facing this issue on NixOS 21.05


TIPP: Matching "Remove-PnPTenantSite"-function

Remove-PnPSite not Found
use "Remove-PnPTenantSite" to Remove a created Site.

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

ID: fa5e3530-a63e-71ce-97c8-c904619aafa8
Version Independent ID: 2c961b64-5c27-6331-b704-716ccfb8c5a7
Content: New-PnPSite (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/New-PnPSite.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

We want to make sure your PnP issue is handled appropriatly.
We have a separate repo for the PnP PowerShell issues. We want your issue to get the proper attention it deserves.
Please open your issue in this repo: https://github.com/SharePoint/PnP-PowerShell
I am going to close this issue so that we can track to correct one in the PnP PowerShell repo.


Introduce e2e test for GitHub integration

We need an e2e test suite covering our GitHub integration, ensure  it renders properly in a notebook.

Duplicate of #748 ?

Yep, duplicate of https://github.com/stateful/vscode-runme/issues/748


[CN DateTime] Increase the recognition for "後|之後"

@felaray, PRs that change the YAML resource files should also contain the generated code files in the different platforms. Please add the files to PR #900.
Thanks.


Times and Status on Bounty Boards

The metrics bounty board entries (i.e individual bounty questoin page/card has two flaws in it that have been brought up several times, which I feel would be easy to address:

The time should include the time zone. We have a very international crew so UTC is probably what should be used, but it should be on there.
The current week's bounties, which are still being worked on are labeled "completed". While this may be an accurate status report for other purposes, this is the board that the hunters (and hopefully a lot of new ones) see when they are thinking about entering a bounty, so it should not be listed as such.

@davidenoch the system that shows bounties is different one than this codebase. It has limited capabilities when it comes to configuring it.  Having said that I agree with both points you mentioned.
We have plan to migrate bounties list to this web app and when we move it here we will have better control on how we show the information. These two requests will be considered when designing the new page.

Sorry, I was making the suggestion about the notion site, and was told to post here. That is something I would hope that is not a big deal to fix. Even editing manually is easy because there aren't that many questions. -potmo


Implement Arm Modes

Arm has the following modes:
enum class Modes : char {
      kHomeArm    = 'A',
      kHomeHand   = 'H',
      kConcurrent = 'C',
      kRotunda    = 'R',
      kShoulder   = 'S',
      kElbow      = 'E',
      kWrist      = 'W'
    };

Need to make sure logic for selecting correct arm mode is implemented and that the logic for that is working properly too.

Initial modes have been implemented now need to refine


fix ch3 overlapped next button bug

please test it on ipad, i made the modals shorter, let's see if it's enough

please test it on ipad, i made the modals shorter, let's see if it's short enough

thanks for fixing the typo!

actual this is the fixed view :)


Previous request token checking in oauth strategy doesn't work

Right now the code looks like this:
self.provider.previousRequestToken(requestParameters['oauth_consumer_key'], function(err, result) {

But previousRequestToken in the example provider looks like this:
OAuthDataProvider.prototype.previousRequestToken = function(token, callback) {
  for(var key in this.oauth_previous_users_request_tokens) {
    if( this.oauth_previous_users_request_tokens[key] && this.oauth_previous_users_request_tokens[key].token == token ) {
      callback(new Error("Previously used token"));
      return;
    }
  }
  callback(null, token);
}

It's checking the value of token, which definitely is not the oauth_consumer_key, it's the oauth_token.  The code on line 89 of _oauthservices.js needs to use oauth_token otherwise people could resubmit request tokens for access token generation.

Presumably this applies atop your other patches?   I'm so sorry I've still not merged this in yet, life seems crazy busy atm!

This change is actually entirely unrelated.  It's just something else I noticed in the code itself.
I think there's at least one more parallel request bug that's a little harder to address, but I'll see if I can come up with a way to fix it.

With the connect 2 release I'm going to do some merging tonight :)

merged.


Add text filter

Describe the feature
Add a text input to filter repositories on the stats page
It should be implemented because
The filter allows to easily find a repository
Did you think about any alternative?
No response
Additional context
Should only filter locally, there's no need to call the API again as we expect all repositories to be there already
Extra fields

[X] I have used the search function to check if an issue already exists
[ ] I'd like to work on this issue

I will liked to work on this issues .

@luckyklyist sure! Go ahead :)

@Balastrong, I have sent a PR. I'm waiting for your review. Are there any improvements needed in the UI or the code part? Please let me know.


Hey! Does your app use Paper? How many users it has?

Share your experience, I would be glad to know more details how lib is applied for your cases? 🙃
Do you mind for putting app name on the front page?

I am using Paper with Firebase Datastore to locally Store Data. I like Paper due to is simplicity. Thanks for your Great library!

This Engineering Blog Android App is using 'Paper' to Store user's Read-later bookmarks, then display on listview!

I'm using Paper in Hryvnia to store serialized responses as a cached data:)


Built in str is not implemented

I created a file int2str.py in CLI
these are the contents:
def Main(num):
    result = ''
    result = int2str(num)
    return result

def int2str(num):
    res = ''
    lastdigit = 0
    while num > 9:
        lastdigit = num % 10
        num = num / 10
        res = str(lastdigit) + res
    res = str(num) + res
    return res

but when i build the file using the command: neo> build int2str.py test 02 07 True False 112
I got error:
Could not execute command: [Compilation error] Built in str is not implemented
File "/usr/lib/python3.6/threading.py", line 884, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/twisted/_threads/_threadworker.py", line 46, in work
task()
File "/usr/local/lib/python3.6/dist-packages/twisted/_threads/_team.py", line 190, in doWork
task()
File "/usr/local/lib/python3.6/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/local/lib/python3.6/dist-packages/twisted/python/threadpool.py", line 266, in
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/local/lib/python3.6/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python3.6/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/neo-python/neo/bin/prompt.py", line 999, in run
traceback.print_stack()
Traceback (most recent call last):
File "/neo-python/neo/bin/prompt.py", line 948, in run
self.do_build(arguments)
File "/neo-python/neo/bin/prompt.py", line 393, in do_build
BuildAndRun(arguments, self.Wallet)
File "/neo-python/neo/Prompt/Commands/BuildNRun.py", line 46, in BuildAndRun
contract_script = Compiler.instance().load_and_save(path)
File "/usr/local/lib/python3.6/dist-packages/boa/compiler.py", line 97, in load_and_save
data = compiler.write()
File "/usr/local/lib/python3.6/dist-packages/boa/compiler.py", line 73, in write
out_bytes = bytes(self.entry_module.write())
File "/usr/local/lib/python3.6/dist-packages/boa/code/module.py", line 206, in write
self.link_methods()
File "/usr/local/lib/python3.6/dist-packages/boa/code/module.py", line 235, in link_methods
method.prepare()
File "/usr/local/lib/python3.6/dist-packages/boa/code/method.py", line 180, in prepare
exp.tokenize()
File "/usr/local/lib/python3.6/dist-packages/boa/code/expression.py", line 286, in tokenize
token.to_vm(self.tokenizer, last_token)
File "/usr/local/lib/python3.6/dist-packages/boa/code/pytoken.py", line 263, in to_vm
tokenizer.convert_method_call(self)
File "/usr/local/lib/python3.6/dist-packages/boa/code/vmtoken.py", line 464, in convert_method_call
vmtoken = self.convert_built_in(fname, pytoken)
File "/usr/local/lib/python3.6/dist-packages/boa/code/vmtoken.py", line 648, in convert_built_in
"[Compilation error] Built in %s is not implemented" % op)
NotImplementedError: [Compilation error] Built in str is not implemented
Anyone who knows how to fix it? Thanks..

@Razeyer When I ran your program on private net, I get the same errors but it is still able to run the program
Calling Projects/int2str.py with arguments ['1234']
Test deploy invoke successful
Used total of 201 operations
Result [{'type': 'String', 'value': '10'}]
Invoke TX gas cost: 0.0001

Are you still having the issue?

There's no real types in the VM, it is all a bytearray.  For this reason, you can't use the str function.


Systemctl disable datadog-agent does not disable service, still starts on reboot

$ datadog-agent version
Agent 6.14.0 - Commit: 748545e - Serialization version: 4.12.0 - Go version: go1.12.9

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

$ sudo systemctl stop datadog-agent

$ sudo systemctl disable datadog-agent
Synchronizing state of datadog-agent.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable datadog-agent
insserv: warning: current start runlevel(s) (empty) of script `datadog-agent' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `datadog-agent' overrides LSB defaults (0 1 6).
insserv: warning: current start runlevel(s) (empty) of script `datadog-agent' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `datadog-agent' overrides LSB defaults (0 1 6).

$ sudo systemctl status datadog-agent
● datadog-agent.service - Datadog Agent
   Loaded: loaded (/lib/systemd/system/datadog-agent.service; disabled; vendor preset: enabled)
   Active: inactive (dead) since Thu 2019-09-19 10:27:17 PDT; 1min 26s ago
 Main PID: 1050 (code=exited, status=0/SUCCESS)

$ sudo reboot

$ sudo systemctl status datadog-agent
● datadog-agent.service - Datadog Agent
   Loaded: loaded (/lib/systemd/system/datadog-agent.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2019-09-19 10:29:55 PDT; 10s ago
 Main PID: 1080 (agent)
    Tasks: 8 (limit: 1107)
   CGroup: /system.slice/datadog-agent.service
           └─1080 /opt/datadog-agent/bin/agent/agent run -p /opt/datadog-agent/run/agent.pid

Systemd service is disabled, yet it still starts on reboot. Improper unit file?

Seems there's some direct dependencies with the correlating agents. If you run the following command:
systemctl list-unit-files --type=service | grep datadog
You should see all of the correlating agents and their startup state. All Datadog agents will need to be disabled using systemctl to get the desired disabled state of the single datadog-agent.

If you disable datadog-agent I would expect it to disable all the datadog-agent services.  On CentOS systems this seems to be the default behavior, but not on Ubuntu.  This is still an issue.


List all blurs sorted by speed in a table in README

It is not clear from the text if e.g. fast-gaussian-next takes 5ms more than fast-gaussian or gaussian (10ms vs 15ms). fast-gaussian-suprior description is missing, etc.
It would be great to have a table that lists all blurs sorted by speed. Or multiple tables for different hardware, if different.

stack_blur -> fast_gaussian -> fast_gaussian_next -> fast_gaussian_superior -> gaussian_blur -> bilateral -> median (  median and bilateral depends on blurrings sizes, might change sometimes but there is no clear way to determine it ) ?
Do you want to do a PR ?
Are you using fast_gaussian_superior? It missing a description because I'm not sure if it is useful. This algorithm already almost x3-x7 times slower and does not bring any notable benefits against fast_gaussian_next.

On that note, that table should also list the max. radius for each blur for each data type. For example, the README says about fast-gaussian:

Max radius ~320 for u8, for u16 will be less.

What does "approax" 320 mean? Will 321 still work? What does less mean? What about f32?

I can make a PR but your list misses gaussian-box, box and tent (is that the same as a triangle filter btw?).

stack_blur -> fast_gaussian -> fast_gaussian_next -> fast_gaussian_superior -> box_blur -> tent_blur -> gaussian_box_blur -> gaussian_blur -> bilateral -> median
Here is examples of tent filter:

[1 2 1
2 4 2
1 2 1]

On that note, that table should also list the max. radius for each blur for each data type. For example, the README says about fast-gaussian:

Max radius ~320 for u8, for u16 will be less.

What does "approax" 320 mean? Will 321 still work? What does "less" mean? What about f32?

"320" means: I tried it, it do have numerical stability on this radius, when it will increase it will loss numerical stability but I don't know the exact number. "Less" for u16 means it will loss numerical stability and produce artifacts earlier, I haven't checked exact number, it is also depends on data stored in u16, if there 10-bit image or 12-bit or 16-bit they will have different maximum possible radius. If data in f32 is normalized, what is very common case, it should handle any reasonably large radiuses ( up to many thousands ), however as floating point math have error on each operation, 1-2k radius might add notable error on some images. If data in f32 is not normalized, it depends on actual range of data, as it becomes larger, then error accumulating will become also faster.


Avoid stop call in runPipeline function

@jhmigueles is the stop() on line 32 of https://github.com/wadpac/testGGIR/blob/main/R/runPipeline.R#L32 really needed?
It gives an alarming error message when in fact there is no real problem.
Can we replace by message()?

Hi Vincent, thanks, I just did it but I went to quick and I commited directly to tha main branch. I should have created a new branch for this but I realized that too late, sorry about that.
Now the runPipeline function contains a message instead of an error if this is run for first time, and I included an else statement to avoide the comparison part of the pipeline to be run if this is the case.


⚠ ETF has degraded performance

In f4de67d, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 5969 ms

Resolved: 신규상장 performance has improved in 959eee0.


Resolve the unclear null apWriter in ReadSingleClusterData

This is still not making sense to me.  If the caller does not care about the value, what do they care about?  Just whether it exists?
But looking at the ReadSingleClusterData implemetations:

The one in TestCommandInteraction.cpp leaves apDataExists unset if apWriter is null.
The one in TestReportingEngine.cpp, same thing.
The one in chip_im_initiator.cpp, same thing.
The one in chip_im_responder.cpp, same thing.
The one in ember-compatibility-functions.cpp seems to implement the "just set apDataExists" semantics, ok.

And more to the point: is there ever a caller that actually passes null for apWriter?  I don't obviously see one.
Originally posted by @bzbarsky-apple in https://github.com/project-chip/connectedhomeip/pull/7634#r659998747

This is fixed now, since ReadSingleClusterData gets a AttributeReportIBs::Builder and hence always has a TLVWriter.


Added support for cronjob suspend

Added support for cronjob suspend

/assign @seanmalloy

/retest-required

/retest-required

/assign @damemi

/lgtm


Doesn't load all comments

Some comment trees have a "continue this thread" option. Currently JRAW doesn't expand the full comment tree:
see e.g.
http://www.reddit.com/r/test/comments/2onit4/test_depth_0/
(scroll down to depth 10)
This is a known issue and has recently been fixed on PRAW, see e.g.
http://www.reddit.com/r/redditdev/comments/2onkd8/praw_maximum_depth_of_subtrees/

Ok thanks I'll take a look at it

Commits fc968c5 and cf384d1 address this issue.
To see it in action, see this example:
RedditClient reddit = // <whatever>
CommentNode root = reddit.getSubmission("2onit4").getComments();
root.loadFully(reddit); // Expand all MoreChildren objects
root.visualize(); // Preview the thread using the Logger

This results in this output:
[main] INFO JRAW - (1↑) hooked_dev: test - depth 1
[main] INFO JRAW -   (1↑) hooked_dev: test - depth 2
[main] INFO JRAW -     (1↑) hooked_dev: test - depth 3
[main] INFO JRAW -       (1↑) hooked_dev: test - depth 4
[main] INFO JRAW -         (1↑) hooked_dev: test - depth 5
[main] INFO JRAW -           (1↑) hooked_dev: test - depth 6
[main] INFO JRAW -             (1↑) hooked_dev: test - depth 7
[main] INFO JRAW -               (1↑) hooked_dev: test - depth 8
[main] INFO JRAW -                 (1↑) hooked_dev: test - depth 9
[main] INFO JRAW -                   (1↑) hooked_dev: test - depth 10
[main] INFO JRAW -                     (1↑) hooked_dev: test - depth 11
[main] INFO JRAW -                       (1↑) hooked_dev: test - depth 12
[main] INFO JRAW -                         (1↑) hooked_dev: test - depth 13
[main] INFO JRAW -                           (1↑) hooked_dev: test - depth 14
[main] INFO JRAW -                             (1↑) hooked_dev: test - depth 15
[main] INFO JRAW -             (1↑) hooked_dev: Alternate - depth 7
[main] INFO JRAW -               (1↑) hooked_dev: Alternate - depth 8
[main] INFO JRAW -                 (1↑) hooked_dev: Alternate - depth 9
[main] INFO JRAW -                   (1↑) hooked_dev: Alternate - depth 10
[main] INFO JRAW -                     (1↑) hooked_dev: Alternate - depth 11
[main] INFO JRAW -                       (1↑) hooked_dev: Alternate - depth 12
[main] INFO JRAW -                         (1↑) hooked_dev: Alternate - depth 13
[main] INFO JRAW -                           (1↑) hooked_dev: Alternate - depth 14
[main] INFO JRAW -                             (1↑) hooked_dev: Alternate - depth 15
[main] INFO JRAW -                               (1↑) hooked_dev: Alternate - depth 16
[main] INFO JRAW -                                 (1↑) hooked_dev: Alternate - depth 17
[main] INFO JRAW -                                   (1↑) hooked_dev: Alternate - depth 18
[main] INFO JRAW -                                     (1↑) hooked_dev: Alternate - depth 19


feat: implement playwright for browser compatibility testing

Proof of concept implementation of browser compatibility testing for #284 using both jest and playwright.
I tried a couple different frameworks including puppeteer, cypress but had the most success with a jest and playwright hybrid. This has allowed for minimal alteration to our current testing setup, apart from the approach to grouping which I'll discuss below and seems to be the most light weight.
Browser testing
I've introduced a package which comes with an adapted playwright runner, so when the jest config that utilises the runner is specified, tests will be run using playwright within a chromium browser. This easily slots into our current jest configuration and test setup.
Test grouping
So the implementation I have introduced utilises the file name to drive the testing environment and configuration that is used for a test. I.e. a-test.node.test.ts will use the jest.node.config.ts configuration, same with browser respectively. Regex is used to ensure that a test can be ran in multiple environments. This approach is based on comments from the previous iteration of this work in #728.
I know we had originally hoped to use jest-runner-groups for the grouping implementation. This is still TBC however I ran into a few issues when trying to implement it with playwright. It will require a custom runner to be developed that takes both elements of jest-runner-groups and jest and remains compatible with playwright. I would prefer to introduce this in a further iteration.
Another option would be to introduce a search string that could be used in test()/describe() calls. For example:
describe('(group:node)  ${__filename}', () => { could be used to match on jest.node.config.ts. This is up for debate what people's preference is.
Coverage reporting
I've introduced a tool called nyc which was used by @Dhaiwat10 in the previous iteration which allows us to merge coverage reports (with a minor file structure change so we only have to merge 1 directory).
However, this means we can no longer use our current GitHub action to report on coverage as it requires the Jest coverage JSON format. A format that cannot be merged by NYC. I could've written something custom, however using a opting for NYC will benefit us if we incorporate further tools. Therefore I have also switched out the action for an LCOV reporter.

Thanks for the thoughts so far @FuelLabs/sdk-ts - going to be converting to draft to amend a few points raised on call

Change approach to grouping so we don't use the file name and required tests are loaded in
Create a test to confirm the node / browser functionality
Change pnpm:test to run node and browser tests sequentially and remove the all as node configuration
Resolve the coverage workflow

I've done a more complete writeup of progress so far in https://github.com/FuelLabs/fuels-ts/issues/284#issuecomment-1699072679

Closing as playwright was found to not be a suitable alternative as has been superseded by the investigation in #1310.  However the approach to grouping, coverage merging and CI can be taken across.


Fix for Dependency Injection of classes Vertx and Context

Internally Vertx is using VertxInternal and ContextInternal and haphazardly
casts Vertx and Context to those interfaces. The proxy classes for Vertx and
Context created by Weld could not be casted.
To fix this VertxInternal and ContextInternal were added to their respective
beans.

Hi @Eymux and thanks for the pull request. The PR looks good. My only concern is that VertxInternal is not part of the public API and so in theory it could be removed/changed at any time.
Could you please describe the problem you encounter a little more?

Every time I try to use the injected Vertx instance, Vertx is trying to cast it to VertxInternal. I've looked at the source code of Vertx and it is littered with those casts (and casts to ContextInternal). Since the injected proxy doesn't support VertxInternal, the cast fails.
Without my change the injected Vertx instance is more or less useless. Or at least I couldn't get it to work.
Adding those internal interfaces makes it work. I know that it's bad design, but so are those internal interfaces in the first place.

Every time I try to use the injected Vertx instance, Vertx is trying to cast it to VertxInternal. I've looked at the source code of Vertx and it is littered with those casts (and casts to ContextInternal). Since the injected proxy doesn't support VertxInternal, the cast fails.
Without my change the injected Vertx instance is more or less useless. Or at least I couldn't get it to work.
Adding those internal interfaces makes it work. I know that it's bad design, but so are those internal interfaces in the first place.

Hm, our test is calling io.vertx.core.Vertx.eventBus() and io.vertx.core.Context.deploymentID() and it works. I did try to lookup (VertxInternal) casts in the vert.x core and only found it in few classes. What exactly do you try to do?
Nevertheless, I understand the issue and I think we should fix it even at the cost of losing clear design ;-).

I was trying to create a ServiceLocator and got a ClassCastException. If necessary I'll try to replicate it, but of course I've fixed it now :).

@Eymux ServiceLocator, could you be more specific? Thanks :-)

Sorry it's ServiceDiscovery of course. AFAIK it just crashed when I tried to create one. I'll try to provide a stacktrace next week. I'm just about to leave for the weekend :).

perhaps that deserve an integration test to replicate the problem ?

@vietj @Eymux Yep, good idea. It seems vertx-service-discovery is casting Vertx for some clustering stuff, see for example https://github.com/vert-x3/vertx-service-discovery/blob/master/vertx-service-discovery/src/main/java/io/vertx/servicediscovery/impl/DiscoveryImpl.java#L69.

@mkouba yes these casts are expected, what we need to ensure is that Vert.x does not uses VertxImpl internally and only cast to VertxInternal

@vietj Ok, so do you think it's safe to use VertxInternal in our integration code (even if it's not part of public API)?

@mkouba if you have good reason yes, it might change though but for the improvements purpose

And here's the promised stacktrace:
The code that produced the error:
ServiceDiscovery serviceDiscovery = ServiceDiscovery.create(vertx);
Stacktrace:
org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke protected void de.muenchen.wollmux.conf.service.ServiceCache.init() on de.muenchen.wollmux.conf.service.ServiceCache@56e1372f
	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:99)
	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:80)
	at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:122)
	at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:171)
	at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)
	at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100)
	at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:140)
	at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
	at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:844)
	at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
	at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:362)
	at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:373)
	at org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
	at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
	at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:72)
	at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:117)
	at org.jboss.weld.vertx.web.RouteExtension.newHandlerInstance(RouteExtension.java:160)
	at org.jboss.weld.vertx.web.RouteExtension.registerRoutes(RouteExtension.java:110)
	at org.jboss.weld.vertx.web.WeldWebVerticle.registerRoutes(WeldWebVerticle.java:63)
	at de.muenchen.wollmux.conf.service.ConfGatewayVerticle.lambda$1(ConfGatewayVerticle.java:52)
	at io.vertx.core.impl.DeploymentManager.lambda$reportResult$6(DeploymentManager.java:396)
	at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:316)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:440)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:97)
	... 27 more
Caused by: java.lang.ClassCastException: io.vertx.core.Vertx$402939929$Proxy$_$$_WeldClientProxy cannot be cast to io.vertx.core.impl.VertxInternal
	at io.vertx.servicediscovery.impl.AsyncMap.<init>(AsyncMap.java:50)
	at io.vertx.servicediscovery.impl.DefaultServiceDiscoveryBackend.init(DefaultServiceDiscoveryBackend.java:40)
	at io.vertx.servicediscovery.impl.DiscoveryImpl.<init>(DiscoveryImpl.java:61)
	at io.vertx.servicediscovery.ServiceDiscovery.create(ServiceDiscovery.java:80)
	at io.vertx.servicediscovery.ServiceDiscovery.create(ServiceDiscovery.java:90)
	at de.muenchen.wollmux.conf.service.ServiceCache.init(ServiceCache.java:38)
	... 32 more

@Eymux @vietj Ok, so to sum it up: we need to include VertxInternal in the set of bean types of a custom bean we provide for injectable Vertx so that it works with vertx-service-discovery.
I think we should modify the logic to always include Vertx interface and then inspect the current Vertx instance we have via Reflection and dynamically add other public interfaces it implements directly (VertxInternal and MetricsProvider atm). WDYT?

you don't need to do that dynamically, the only implemnetation of Vertx is VertxImpl that implements these interfaces.

Sure, but VertxImpl is also not part of the public API. My point is that we can fix this and still don't depend on vertx internals...

good point, as you whish :-) either way looks good to me

Don't forget Context. Since it can be injected, it potentially suffers from the same problem.
I'm curious to see your solution. After almost a day of searching my patch is the best I could come up with.

good point @Eymux

I don't think we ever really pass a Context instance like a Vert.x instance, however I do know that vertx-jdbc-client uses ContextInternal so might be good to have an integration test of vertx-jdbc-client with an injected Vertx instance

@Eymux Pls take a look at https://github.com/weld/weld-vertx/pull/8. If it works for you I'll close this PR in favor of https://github.com/weld/weld-vertx/pull/8.

Closing in favor of https://github.com/weld/weld-vertx/pull/8.

@mkouba actually it makes no sense to inject a proxy of Vertx as Vertx is always there, is there a way to force Weld to never inject a proxy for this particular object ?

@vietj Well, we could use @Singleton or @Dependent pseudo-scope instead of @ApplicationScoped and risk potential issues with bean passivation/serialization (see also http://docs.jboss.org/weld/reference/latest/en-US/html/scopescontexts.html#_the_singleton_pseudo_scope).
I think that the fix from https://github.com/weld/weld-vertx/pull/8 is good enough ;-).


Release the first version of the .Net library

First version.
https://www.nuget.org/packages/amadeus-dotnet/


Bug: ContainerGetToConstructorInjectionRector replaces constant with object

I've seen this issue also while running against the Drupal codebase. I've got a reproducable test :)
https://getrector.com/demo/0c616439-8d54-46f3-925c-73aefd8ce429
Reopens #439

I've added a PR that fixes this issue @TomasVotruba  :)


IGNITE-18442 Sql. JOIN with DISTINCT FROM fails.

@ygerzhedovich thanks for review, partially fixed.

@ygerzhedovich all done.

@ygerzhedovich all done


Error during deployment

Get the below error when using push_and_deploy_pf.ipynb to deploy on the 'pf_azure_client.flows.create_or_update' step. Also notice the logs message is truncated so don't see full extent of what happened. Thoughts?
ResourceNotFoundError: (UserError) Please make sure that you are passing valid secret names and that the keyvault https://ainorthcentus/
Code: UserError
Message: Please make sure that you are passing valid secret names and that the keyvault https://ainorthcentus/

My guess is that this is related to #45 - in the step that you identify, the code is looking up the prompt-flow and pushing up that flow (with state) to the cloud. Which means it probably checks that the connections associated with it are valid.
The only secrets that go into the local keyvault are the connection keys (if I recall correctly). And the cosmos key1 "value" (in your other issue) was not valid. It was a string ("test"?) and should have been a complex integer key value.

created a new project/new region and deployment now worked. Not sure resolution of earlier error


ATS Config File Generation, add logging.config

ATS 7.1 requires logging.config to be configured instead of logs_xml.config.
Need to add logging.config parameters with the same params as logs_xml.config.

Added in https://github.com/apache/trafficcontrol/pull/1635

@ezelkow1 Is this ready to be closed then?

@limited yes it can be


create-service-broker error

Hi,
I've build and pushed the app to cloud foundry.But when I try
cf create-service-broker mongobroker admin admin <>
I'm getting a
Creating service broker mongobroker as admin...
FAILED
Server error, status code: 502, error code: 10001, message: The service broker r
ejected the request to https://mongodb-service-broker.in-XXX.XXX.com/
/v2/catalog. Status Code: 404 Not Found, Body: {"timestamp":1487310707790,"statu
s":404,"error":"Not Found","message":"No message available","path":"/catalog"}
Am I missing something here ?
Thanks
Sravya

I got the same problem before and get it resolved by removing the slash of the URL at the end


AMBARI-23943. Hiveserver2 fails to start on viewFS enabled cluster

This duplicate of https://github.com/apache/ambari/pull/1365 and was mistakenly reverted.
All review and checks are done there.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2453/
Test PASSed.


Switch macOS to using mach ports for trap handling

This commit moves macOS to using mach ports instead of signals for
handling traps. The motivation for this is listed in #2456, namely that
once mach ports are used in a process that means traditional UNIX signal
handlers won't get used. This means that if Wasmtime is integrated with
Breakpad, for example, then Wasmtime's trap handler never fires and
traps don't work.
The traphandlers module is refactored as part of this commit to split
the platform-specific bits into their own files (it was growing quite a
lot for one inline cfg_if!). The unix.rs and windows.rs files
remain the same as they were before with a few minor tweaks for some
refactored interfaces. The macos.rs file is brand new and lifts almost
its entire implementation from SpiderMonkey, adapted for Wasmtime
though.
The main gotcha with mach ports is that a separate thread is what
services the exception. Some unsafe magic allows this separate thread to
read non-Send and temporary state from other threads, but is hoped to
be safe in this context. The unfortunate downside is that calling wasm
on macOS now involves taking a global lock and modifying a global hash
map twice-per-call. I'm not entirely sure how to get out of this cost
for now, but hopefully for any embeddings on macOS it's not the end of
the world.
Closes #2456

One thing worth pointing out is that I believe Wasmtime currently complies for arm64 macOS (although it doesn't work AFAIK), but this PR would break that. Structures for the thread state would need to be copied over from various headers to get that working.

We actually run aarch64 mac CI on our project that uses wasmtime, so I think we can just add a PR that builds off of this one for the aarch64 specific things that would need to change. :slightly_smiling_face:

Oh wait, I was just reminded that we might not be able to verify this PR on the aarch64 mac though, due to https://github.com/bytecodealliance/wasmtime/issues/2552, we actually had to disable the tests we had that purposefully paniced inside the wasm module for aarch64 mac due to it actually crashing our host program.

Ah ok, I didn't realize it already worked well enough to at least have some testing! I've pushed up https://github.com/bytecodealliance/wasmtime/pull/2632/commits/d07d29b83f92a66c761fc9f207f93a60e3f7562e although it is entirely untested on my end (I don't have arm64 hardware). It should compile but I suspect at least some tests fail.

Great, thanks!

I've based my work in #2723 from this PR, which has been rebased and tweaked. Thanks a lot @alexcrichton for all the initial work on this!


Can't hide property moveTo and copyTo

Hi the team,
I tried to hide the button 'move to' and 'copy to but it seems not to be working.
I have no issue with others properties but i'm stuck with these 2.
I tried on many SP site and it's the same behavior.
{
"key": "copyTo",
"hide": true
}
Could you give try it on your side?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 22dffaf9-de6c-5ec3-bd61-23b995c256ce
Version Independent ID: 22dffaf9-de6c-5ec3-bd61-23b995c256ce
Content: Command bar customization syntax reference
Content Source: docs/declarative-customization/view-commandbar-formatting.md
Product: sharepoint
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

@tocri We are unable to reproduce this issue locally. Can you please confirm if this still reproduces?
Please do share complete JSON to help us reproduce and resolve this issue.

Hi the team,
It was a cache issue. Works perfectly. Thanls the team for your great job
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Shreyansh Agrawal @.>
Sent: Thursday, June 16, 2022 5:16:02 PM
To: SharePoint/sp-dev-docs @.>
Cc: tocri @.>; Mention @.>
Subject: Re: [SharePoint/sp-dev-docs] Can't hide property moveTo and copyTo (Issue #7801)
@tocrihttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftocri&data=05|01||3ffc0226268c403e21d908da4fab206e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637909893651835853|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=q4hskmz9MFX3CDvS1uYArvZffXyv75PFlctj4ffrC1E%3D&reserved=0 We are unable to reproduce this issue locally. Can you please confirm if this still reproduces?
Please do share complete JSON to help us reproduce and resolve this issue.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F7801%23issuecomment-1157782258&data=05|01||3ffc0226268c403e21d908da4fab206e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637909893651835853|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=mSvfDiAFYYiFPdQ8Jwk1yAXQ2TKz8CenrZeMGOtO58o%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACNEKNF4OG26XAFLCJLZX63VPNALFANCNFSM5QQYKHLA&data=05|01||3ffc0226268c403e21d908da4fab206e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637909893651835853|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=FEOooaSg2vv5MDfVtgU0E1nzPR1MBb30Gt1csbZtOPg%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Is it possible to have a nuget package with https support?

More and more online videos are using https protocol, a nuget package with https support will definitely help, thanks.

Hi @TaoziDB, I tried to get FFmpeg to compile with GnuTLS but it failed for me. The build setup is very complicated with lots of required submodules. The other option is using openssl. @villagra tried to integrate it, see #179, but I think it was not successful yet. Current Openssl has a bad license, forcing you to put advertisements in all app descriptions. Openssl 3 will have a much better license. It is planned for end of the year.
If someone can show how to build FFmpeg with either openssl or GnuTLS, I will integrate it and create NuGet packages for that. I can also try again with openssl. But I don't like to put too much effort in it, knowing that openssl 3 is soon to come. It is a complete re-write and will probably have a very different build system again.

FYI, openssl3 was just released, let's hope that https support is coming soon :)

Cool, thanks for letting me know @TaoziDB! I can also see that some work has been done in ffmpeg to support openssl 3.0. I am still rather busy, but I will try to take a chance on this within the next weeks.

Oh man, it is really annoying that every lib brings its own build system with its own dependencies, limitations and specialities. Openssl uses perl for building. We already have perl in MSYS2. Openssl supports MSYS2 in general, and has configurations for MSVC compilers. But when compiling with MSVC toolchain, the Openssl build system requires a perl version that uses Windows path syntax with '' instead of '/'. It refuses to compile with MSYS2 perl. I tried to hack the build script and got the basic compile steps working, but then comes lots of postprocessing code that is all hard coded with Windows paths - way too much to fix up.
So it looks like it is only possible to build Openssl with a Windows Perl installation (Strawberry Perl is recommended) and run in a PS or CMD environment. I really don't like the idea to blow up build dependencies, but it looks like this is the only way to get Openssl in.

Luckily there is a portable version available of Strawberry Perl. I am working on an updated build script that will automatically download and configure missing dependencies such as MSYS2, Perl and NASM.
With Strawberry Pie I was able to build Openssl 3.0.0 for x64 UWP target and link it successfully with FFmpeg. However, the openssl build fails on x86 due to unresolved external methods (also on master branch). Not sure why that is happening. I need to look into that and maybe open an issue on the openssl project.

Hi @TaoziDB, I have some good news for you: We have a first prerelease build that includes openssl 3.0.1! Theoretically, this should allow you to use https based streaming protocols. If you want to give it a try, check out the ffmpeg-4.4 branch and run one of the sample apps. Or in your app, update FFmpegInteropX.FFmpegUWP to 4.4.0-pre4.

@lukasf, it works, thanks so much.

Cool, glad to hear that it works!

The PR is merged and https support is now officially available using FFmpegInteropX 0.9.3 and FFmpegInteropX.FFmpegUWP 4.4.100!


Labels for series data

Summary
It would be good if I could set a name (label) for each entry, so it would show the name instead of the number.
API Changes
Include a list of all API changes, additions, subtractions as would be required by your proposal. These APIs should be considered placeholders, so the naming is not as important as getting the concepts correct. If possible you should include some "example" code of usage of your new API.
series: [
    {
        data: [
            {
                x: "category"
                y: 150,
                label: "150.00"
            }
        ]
    }
]

Intended Use Case
I want to use this in my benchmark where I want to see formatted numbers in the chart.

You can format your tooltips: https://apexcharts.com/docs/tooltip/

I don't want format it, I want statically set it.


Apply unsafe more consistently

There are some functions like new_buffer_with_data which accept raw pointers, but not marked unsafe even though certain guarantees are necessary to safely use it. There are already many functions marked unsafe but we're not applying it consistently across the entire crate yet.
For new_buffer_with_data specifically we might consider accepting a slice (as mentioned in #42). But for other functions (especially any dealing with raw pointers) we should try to add unsafe and document any safety requirements.

(This came up on the xi Zulip – thanks!)


pretrained model for TinaFace?

Hello, I was wondering if there's a pretrained model for TinaFace.
I just want to see the quick output of the detected images, but it seems like there's no pretrained model.
Thank you!!

Please refer to this https://github.com/Media-Smart/vedadet/tree/main/configs/trainval/tinaface.

@mileistone there are literally no instructions on how to download the weights in the linked README.

in the triainval/tinaface/readme,you can download


Support for sudo

Previously: https://github.com/umass-compsci220/Ocelot/issues/22
Branch: https://github.com/plasma-umass/ElementaryJS/tree/sudo

Not sure why this is assigned to me. I don't think this feature is really needed. When designing 220, we thought we would periodically present how "real JavaScript" works. But, that turns out to be unnecessary and undesirable.

I had a hunch this wasn't on the roadmap anymore given it's been stagnant for such a long time. Nonetheless when I transferred it from Ocelot, it had you assigned there so I kept it consistent.


Fixes #2051 --- manual for 2.13

Submisison Checklist

[ ] Run unit tests: ./runTests.py src/test/unit
[ ] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Update manual for all comments brought up in #2051 (feature is numbered 2050, but should've been 2051).
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

@mitzimorris The review needs to go into the GitHub interface before I can merge without pulling admin rank.

done.
On Sun, 20 Nov 2016, Bob Carpenter wrote:

@mitzimorris The review needs to go into the GitHub interface before I can merge without pulling admin rank.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/stan-dev/stan/pull/2118#issuecomment-261863138

There is a line too long in the file stan/src/docs/stan-reference/examples.tex in the line 4669. I don't know if report this here or pull a request.

What do you mean by a line too long?  Are you
compiling it with our fonts or the Times Roman
that things default to?
In any case, this isn't the right place to report
this, because this is a pull request and the branch
has already been merged.

Bob

On Nov 21, 2016, at 10:58 AM, alvaro1101<EMAIL_ADDRESS>wrote:
There is a line too long in the file stan/src/docs/stan-reference/examples.tex in the line 4669. I don't know if report this here or pull a request.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.