adapter-static has issues with server endpoints

Describe the bug
One last issue on my big SvelteKit 350 to 551 upgrade... I'm using adapter-static to spit out some HTML files and serving those statically, some of those are even dynamic routes and that works fine with export const prerender = true.
The issue I'm having though is, I have a backend proxy I only use in development mode. You can see it added to my repro case in this commit: https://github.com/johnnysprinkles/sveltekit_static_dynamic/commit/e91dbdf61d410d817988b06c890513c76bbd6376 In that example it returns a simple string, but in real life is make an HTTP fetch to my actual backend.
With that in place, "npm run build" ends up failing with this message:
> Using @sveltejs/adapter-static
  @sveltejs/adapter-static: all routes must be fully prerenderable (unless using the 'fallback' option — see https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode). Try adding `export const prerender = true` to your root +layout.js/.ts file — see https://kit.svelte.dev/docs/page-options#prerender for more details
    - src/routes/api/[...rest]
error during build:
Error: Encountered dynamic routes
    at adapt (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/@sveltejs/adapter-static/index.js:35:12)
    at adapt (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/@sveltejs/kit/src/core/adapt/index.js:28:8)
    at Object.handler (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/@sveltejs/kit/src/exports/vite/index.js:488:12)
    at async PluginDriver.hookParallel (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/rollup/dist/es/shared/rollup.js:22632:17)
    at async Object.close (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/rollup/dist/es/shared/rollup.js:23709:13)
    at async Promise.all (index 0)
    at async build (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/vite/dist/node/chunks/dep-db16f19c.js:45667:13)
    at async CAC.<anonymous> (file:///Users/jpsimons/dev/sveltekit_static_dynamic/node_modules/vite/dist/node/cli.js:748:9)

Is there a way to make the "dynamic route" check logic ignore server endpoints?
Reproduction
The repro is in https://github.com/johnnysprinkles/sveltekit_static_dynamic
If you sync the latest version of that, you can "npm run dev" and everything works using the backend proxy. But "npm run build" fails. It seems like adapter static should just ignore any +server.js files.
Logs
No response
System Info
System:
    OS: macOS 12.2.1
    CPU: (8) arm64 Apple M1
    Memory: 141.84 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.10.0 - ~/.nvm/versions/node/v18.10.0/bin/node
    npm: 8.19.2 - ~/.nvm/versions/node/v18.10.0/bin/npm
  Browsers:
    Firefox: 105.0.1
    Safari: 15.3
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.80
    @sveltejs/adapter-static: ^1.0.0-next.44 => 1.0.0-next.44
    @sveltejs/kit: next => 1.0.0-next.511
    svelte: ^3.44.0 => 3.50.1
    vite: ^3.1.0 => 3.1.6

Severity
blocking an upgrade
Additional Information
No response

This happens with the skeleton project as well, with just adding adapter static.

I get this with a project with no dynamic routes and just a single +page.svelte

Same same, happens everywhere and it does not take in account any prerender = false or even config.kit.prerender.enabled = false

The issue I'm having though is, I have a backend proxy I only use in development mode. You can see it added to my repro case in this commit: johnnysprinkles/sveltekit_static_dynamic@e91dbdf In that example it returns a simple string, but in real life is make an HTTP fetch to my actual backend.

To clarify: you want to make SvelteKit ignore the endpoints, because after deployment there's an API at the given URL?

This happens with the skeleton project as well, with just adding adapter static.

I get this with a project with no dynamic routes and just a single +page.svelte

This is expected. You need to add export const prerender = true or else nothing is prerendered, as the error message suggests.

Same same, happens everywhere and it does not take in account any prerender = false or even config.kit.prerender.enabled = false

This needs more info. Also, config.kit.prerender.enabled was removed a while ago in favor of setting this inside +layout/page(.server).js.

The issue I'm having though is, I have a backend proxy I only use in development mode. You can see it added to my repro case in this commit: johnnysprinkles/sveltekit_static_dynamic@e91dbdf In that example it returns a simple string, but in real life is make an HTTP fetch to my actual backend.

To clarify: you want to make SvelteKit ignore the endpoints, because after deployment there's an API at the given URL?

This happens with the skeleton project as well, with just adding adapter static.

I get this with a project with no dynamic routes and just a single +page.svelte

This is expected. You need to add export const prerender = true or else nothing is prerendered, as the error message suggests.

Same same, happens everywhere and it does not take in account any prerender = false or even config.kit.prerender.enabled = false

This needs more info. Also, config.kit.prerender.enabled was removed a while ago in favor of setting this inside +layout/page(.server).js.

The thing is  that I have prerender=true  in root +layout.js
And all routes I don't want to prerender I have +server.js  export const prerender=false but I still get error either saying that it was marked as prerender but it wasn't or as above all routes must be fully prerenderable
and my +server.js only has a GET method.  So I am really confused, as no matter what I do I can't build with adapter-static.
Either I don't umnderstand documentation correctly or ... I don't know

That's what I was thinking (first comment). The endpoint in local development is super convenient. Without that I think I'd either have to prefix all my API calls and probably deal with CORS, or else put a proxy in front and split traffic between dev Vite and my real API.
Isn't the idea of prerendering an endpoint sort of nonsensical? Instead of saying "the fact that nonsensical to prerender things exist, you can't use adapter-static" I'm just wondering if it makes more sense to ignore the nonsensical to prerender things.

I'm lost. You have pages with dynamic data, but you're trying to prerender them?

I'm lost. You have pages with dynamic data, but you're trying to prerender them?

In my case I am trying not to prerender then but i either get the message with prerender false, that it  encouraged dynamic route and I should try setting layout prerender true, but if I set it to true, it says it wont prerender it.  So either I've  missed something in docs or there is some bugs.  Or maybe I am completely missing the point, but with whatever setting, I cant buils with adapter static.
Ive set global +layout.js with prerender true, and tried to set dynamic routes with prerender false. In all honesty I've tried all combinations, and I just can't build with static adapter.

You can't use adapter static and use dynamic endpoints. There is no server running on the backend, so there is nothing that can serve that GET request. You need to use a different adapter for that.
@johnnysprinkles case is different, he wants that endpoint only during dev mode but ignore it when building.

@johnnysprinkles case is different, he wants that endpoint only during dev mode but ignore it when building.

Well my case is similar, I have 2 environments, one uses node adapter and that node environment builds production with adapter static. So yeah i want to use dynamic ones for node env, but not on production with adapter static.

@Rich-Harris Yes, I have pages with dynamic data but since I'm static rendering the whole site, that data would be loaded client-side. You might wonder why I'm not just using an SPA style fallback in that case. Because, I like to prerender the skeleton of each individual page, as much as can be rendered without having any data, to get those appearing instantly before any hydration happens. Better experience, less spinners.
@dummdidumm Correct. It does seems like kind of an edge case I realize. At the moment I think my best workaround is to recursively name s/+server.js/server.js/ as part of the "build" script step, then rename it back after. (And thought those plus signs were pointless! Maybe they do have a good use.)

@gbkwiatt adapter-node will serve prerendered pages too. You probably don't need to use adapter-static separately.
@johnnysprinkles as an aside, it sounds like this will result in flashes of missing data as you navigate around the app — might be better to do the loading in load, but only if browser === true.
How many proxy endpoints are we talking about? Would it make sense to implement them via handle, rather than creating +server.js routes that will fall afoul of the 'this cannot be prerendered' rule?

@gbkwiatt adapter-node will serve prerendered pages too. You probably don't need to use adapter-static separately.

I am afraid I can't use node on production environment and that's where the problem is. Not sure why it used to be possible and worked fine and now it's not. But that just means I will need some script to remove dynamic routes before using adapter static, but also keep node environment still running. It is a bit of edge case, but I am in a bit of an impass now.

@Rich-Harris There's only one, so yeah, turns out I can make it a hook. See latest commit at https://github.com/johnnysprinkles/sveltekit_static_dynamic/commit/96852f58a344951b89c13eaf2cfa2b0d2c1ae72b
I think we should leave this issue open though just because an endpoint leveraging the routing system would be nicer and more elegant.
And yeah, for that aside, I can explore doing the loading in load. Based on this it seems like onMount is a pretty good place to do it though.

@Rich-Harris @gbkwiatt Think there is some confusion with how we are using adapater-static here. We've been using adapter-static for over a year now and without problems until the recent changes.
We have normal page routes like /jacks-page/+page.svelte and on these pages we have simple get requests to some of our server routes. For example we have a server route to handle all of our images (as they're stored on a CMS) so we have /images/[...slug]/+server.js so when /jacks-page requests /images/homepage.jpg it gets handled by the server route and produces a jpg file which can be downloaded and stored when crawling and statically generating the site.
We have many of these server routes like this, some which produce images, some produce json files. We obviously don't want these server routes to be directly prerendered themselves because that doesn't make sense. However, we require them to be present and running when the crawler is statically generating the site.
So with the new changes to the routing system, how would we achieve what we were doing before? We've tried converting our old server routes to the new +server.js format and adding export const prerender = false; to the top, however adapter static tries prerendering them anyway (which fails) and seems to ignore the prerender option.
Your comment earlier suggested we need to use a different adapter instead of adapter-static. We're open to picking another one as long as the end result is a fully statically generated site, which adapter are you recommending?

The reason we're using a sveltekit route to proxy requests to an external image source is because we want to store those images in the statically generated site, and deploy that to a CDN (we use CloudFlare). This way we don't have to worry about our CMS going down or anything like that.

but how do you prerender something like some.json/+server.js where it resolves to json  respone ?

If I mark this one as to prerender I get Error: The following routes were marked as prerenderable, but were not prerendered:
sounds like you have something in mind that we obviously missed

Well it all makes sense, but in our case we need both  at some point, have a static site and have a node site with dynamic routes.
Which basically comes to conclusion,  that upon building static site, we have to remove those dynamic routes, build it, and put them back.
Why does it have to be like this ? Why it can't just omit those marked as prerender = false ?

Because that's a much bigger footgun and source of confusion. It might seem silly to you, but people constantly ask whey their POST handlers don't work on GitHub Pages, etc.
adapter-static is for static sites. It's possible that we could add an iKnowWhatImDoing: true option, but honestly it sounds like you'd be better off using adapter-node and copying the build/client and build/prerendered directories to where you need them.

Because that's a much bigger footgun and source of confusion. It might seem silly to you, but people used to constantly ask why their POST handlers don't work on GitHub Pages, etc.
adapter-static is for static sites. It's possible that we could add an iKnowWhatImDoing: true option, but honestly it sounds like you'd be better off using adapter-node and copying the build/client and build/prerendered directories to where you need them.

But adapter-node doesn't produce a static site? So we'd then have to write our own crawler?
Considering we could do this before and we've now lost functionality, and seemingly the only option to get it back it to either completely change the way we're hosting our site (not an option) or to rewrite the functionality of adapter-static for our needs (which is also not ideal at all) Then surely an iKnowWhatImDoing: true option would be the best idea at the moment?

I'm thoroughly confused at this point. I have a site with completely static content (not a single .js file) and adapter-static still complains that that the routes must be "fully prerenderable".

A minimum reproducible would be great

A minimum reproducible would be great

https://github.com/jamesb93/static-site-repro
This produces the error if you pnpm run build but works with pnpm run dev

That's expected, by default nothing is prerendered, you need to opt in to that, and the error message even tells you how - by adding export const prerender = true in a +layout.js you create at the root. What about the error message was unclear that you didn't do that?

added +layout.js to jamesb93 repro and also a route /api/foo.json thats loaded in onMount of the page. running npm run dev works, but npm run build does not, throwing that the foo.json route is not prerenderable, despite root +layout.js exporting true.
https://stackblitz.com/edit/github-uwdjbe

From what I've noticed  +server.js routes have to  be specifically marked for prerender.
So you have to add export const prerender = true  in +server.js
Not sure why is that, since I was under impression, if you add +layout.js with prerender true, it will prerender all routes regardless (or will try at least).
But maybe it's because it treats +server.js as dynamic routes  by default

It's all there in the docs. +server.js files aren't affected by layouts, which are a page concept: https://kit.svelte.dev/docs/page-options#prerender-prerendering-server-routes

I'm still baffled by the change, not in terms of design but what I need to do to make it work "as before". I don't use any fancy databases or anything with Svelte and basically use it like a static site generator. There isn't a single bit of dynamic content that can't be pre-rendered AFAIK.
Can someone use my website as a learning lesson for me and other people on how to make it all work just fine with the static adapter?
https://github.com/jamesb93/my-website

You commented already on this thread, and my response to that is the solution:

That's expected, by default nothing is prerendered, you need to opt in to that, and the error message even tells you how - by adding export const prerender = true in a +layout.js you create at the root.

Did you try that yet? I also asked you some questions, so I'm asking them again:

Did you read the error message?
If you did, what about it was unclear to you that you didn't try the suggestion?

I don't mean to come across rude, I'm just curious.

export const prerender = true

That's fine. I understand you're trying to understand it from the user perspective.
I did try your suggestion of adding a +layout.js. There are two issues with this in reverse chronological order.

I'm not even sure how that would fix things, and it doesn't.
The error message doesn't suggest its not trying to prerender them. It is complaining that the routes are not fully prerenderable. I struggle to understand why this is the case.

@sveltejs/adapter-static: all routes must be fully prerenderable (unless using the 'fallback' option — see https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode). Try adding export const prerender = true to your root +layout.js/.ts file — see https://kit.svelte.dev/docs/page-options#prerender for more details.

For example, one of the routes that it whinges about is literally just this:

and another...
samplebrain max experimentation

You are on a rather old version of @sveltejs/kit (430, the latest is 516) which doesn't play well with the latest version of the adapter.

bump @sveltejs/kit to 1.0.0-next.516
remove default: true from your config
create src/routes/+layout.js and add export const prerender = true to it

You are on a rather old version of @sveltejs/kit (430, the latest is 516) which doesn't play well with the latest version of the adapter.

bump @sveltejs/kit to 1.0.0-next.516
remove default: true from your svelte.config.js
create src/routes/+layout.js and add export const prerender = true to it

Ah. I forgot that I pinned the version of kit and so pnpm upgrade was actually not bumping the package.
Thanks!

Regarding your aside @Rich-Harris, I'm still not sure that "params" would come across correctly for static rendered pages, correctly meaning it's determined from the URL at runtime. I'm going to rebase https://github.com/sveltejs/kit/pull/4935 and push for that to get in.

But adapter-node doesn't produce a static site? So we'd then have to write our own custom code for converting that?

As mentioned in the previous comment, the static parts of the site are written to build/client and build/prerendered when you use adapter-node.

As of #7264 there's a more comprehensive error message, and adapter-static has a strict: false message which is a less tongue-in-cheek version of the iKnowWhatImDoing option. I don't recommend its use, but it should help in the cases where you're colouring outside the lines.

Just to follow up here, I'm using strict: false and it's helpful, I reverted my hook.js file and restored my ... rest route for the API proxy in dev mode.

Also, another follow-up, I just switched to using Vite's built-in SSL capabilities with something like this in my vite.config.js
const config = {
  server: {
    proxy: {
      '/api': {
        target: process.env.VITE_DEV_PROXY || 'http://localhost:8080',
        secure: false,
        changeOrigin: true,
      }
    },
   ...

So no need for either a dev-only [...rest] route, nor the hooks.js file, and the issue is moot for me.

Because that's a much bigger footgun and source of confusion. It might seem silly to you, but people used to constantly ask why their POST handlers don't work on GitHub Pages, etc.
adapter-static is for static sites. It's possible that we could add an iKnowWhatImDoing: true option, but honestly it sounds like you'd be better off using adapter-node and copying the build/client and build/prerendered directories to where you need them.

This sounds like something I need. I am using capacitorJS that bundles in a javascript "front-end" together with a webview in  a native Android/iOS app. Thus, I only need the "frontend"-part of the build, so that I can embed that into the capacitorjs app on the phone. Then I need the "backend"-part to run on a server. Currently, I am using adapter-node to create the backend (and frontend) build that I run on the server. But if I then use adapter-static, it's not able to use things like FormActions. What is the correct way to solve this? Thus not serving the front-end from node, but rather separate the 2 to be hosted separately. If I do it the way you describe, how would I configure the base-url that the front-end part should use? Thanks!


[HybridApp] Share auth token in HybridApp

Details

TO DO:

[x] Implement cache clearing (different PR handled by @war-in)

Fixed Issues

$ https://github.com/Expensify/App/issues/46815
PROPOSAL:
Tests

[ ] Verify that transition works, it's not impacted by slow connection.

[ ] When account changes, data on NewDot changes as well and previous data is not visible

[ ] NewDot on HybridApp can be used without any issues the same way as pure version of NewDot.

Offline tests

[ ] Verify that NewDot opens without issues when offline. (NewDot should have loading skeletons when this is a first transition to NewDot and we're already offline)

QA Steps

Same as tests and offline
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

cc: @AndrewGable

Can we remove or suppress this log:
 LOG  Updating props for Surface "NewExpensify" with<EMAIL_ADDRESS>
We cannot have authTokens in the logs.

Can we remove or suppress this log:
 LOG  Updating props for Surface "NewExpensify" with<EMAIL_ADDRESS>
We cannot have authTokens in the logs.

It comes from AppRegistry.js. I'll introduce a patch to hide real values of sensitive data

LGTM! BTW, just curious, is the size of this latest patch file normal? I noticed it's much larger than the others. 😂

I also noticed this and I'm curious about it as well. I simply created a patch and it modified existing one 🤔
cc: @staszekscp @war-in
Let's hold on with merging until we confirm everything is fine here.

@AndrewGable @ntdiary The patch should be fixed now :) the changes introduced by @mateuuszzzzz are here and the log behaves as expected 🎉
Updating props for Surface "NewExpensify" with {"rootTag":1,"initialProps":{"url":"/home?email=marcin.warchol+exp.ht@swmansion.com&authToken=<REDACTED>&accountID=16530855&autoGeneratedLogin=<REDACTED>&autoGeneratedPassword=<REDACTED>&clearOnyxOnStart=true"},"fabric":true}

I think we're ready for merge 👀

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.29-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


A lot of log files might be pulled on errors

First up: The new "get log back to ansible controller" feature is really awesome - thanks a lot :)
However one might end up with quite a bunch of logs on the controller.
Do you think a possible feature would be to record the timestamp of the deployment start and pull only logs that are younger than that?
Maybe that could be called slim_logging :)
Also eg I am not sure if I really need all types of kafka logs (requests, authorizer etc) for debugging a failed deployment

Yes this is a great thought, I recently was debugging something w a user and we had to remove some kafka log files because he could not email the entire tar. At least we tar it haha. I think the GC logs aren't helpful/ waste space.
Do you have the full contents of one of these tars that you can paste? Lets try and pin point the "non-useful" files!

sure - I will get back at you asap with that

Hey @Fobhep
We would love to get such a list if you get time.


Package Request: intel/compute-runtime

Issue description
compute-runtime, also known as Intel NEO, is an updated OpenCL driver for Broadwell+ Intel processors. It is available here: https://github.com/intel/compute-runtime
Beignet and intel-ocl has been deprecated for all newer Intel processors (Broadwell+) in favor of compute-runtime. For legacy hardware, beignet is required.
For newer hardware, this package is a requirement for OpenCL functionality. For instance, Ice Lake processors will not be supported on beignet, but are fully supported by Intel NEO.
See the ebuild for https://packages.gentoo.org/packages/dev-libs/intel-neo and the PKGBUILD for https://www.archlinux.org/packages/community/x86_64/intel-compute-runtime/

I've been working on this for a couple of weeks now. I'll land a WIP soon but it's not building yet

That's great! It seems to update once a week... quite a fast pace. Hopefully once it builds it won't be difficult to maintain, just a simple version bump and hash update :)

Having packaged it, I don't share your optimism :P

Draft PR at https://github.com/NixOS/nixpkgs/pull/63705

Package was added in #63705


Sqrt does not render properly on web client

I am not sure whether I should report problems with web client issues here, but I did not find a specific repository for it.
When typesetting sqrt (e.g. $$\sqrt{2} > 1$$) in the web client on the chat.zulip.org, the square root does not get rendered properly (it appears for a quick duration and then is not shown). Other signs such as integrate work. I am using Firefox 67.0 on Linux 64 bits.

This seems likely a bug in the version of KaTeX we're using, probably already fixed upstream.  @tommyip can you test that this is fixed when you do the next KaTeX upgrade?

Yep this is fixed in upstream.


Based on EOS-based side chain BOS, is the PBFT solution of 3S LIB feasible? Will EOSIO use the same solution?

https://github.com/boscore/bos
https://github.com/boscore/Documentation/blob/master/BOSCoreTechnicalWhitePaper.md

@taokayan Does the issue eosio team have a technical assessment? Are you sure this plan is workable? Is there any plan to support the same?

@wanderingbort Any thoughts on this?

@Daniel Larimer @bytemaster @heifner  Any thoughts on this?

@arhag Is there anything I can reply to this mention? I look forward to this question being answered

@swatanabe-b1

@aclark-b1  What is the progress of this question now?

Almost a year has passed, getting more and more deserted


Correct dispose of flutter switch widget

Hi, first of all, thanks for publishing this package, it is awesome. In a project that I use it, I was getting an exception when I tried to force the widget to rebuilt. The exception was exception: disposed with an active ticker. The solution is to dispose the animation controller, so there you go.

Hi @douglasramos , thank you. I will apply this fix for the latest version of the package.

Hi @douglasramos , thank you. I will apply this fix for the latest version of the package.


feat: add smt benchmark on iden3's implementation

Tool: Circom + Snarkjs

Proof System
SMT Depth
Number of Constraints
Proof Generation Time (ms)
Proof Verification Time (ms)
Curve

groth16
10
6705
595.895638
238.5096
bn128

plonk
10
59649
23155.911704
239.083488
bn128

fflonk
10
59649
32036.210133
254.236632
bn128

groth16
254
128301
4370.937712
229.242474
bn128

plonk
254
1313624
814942.789944
335.704792
bn128

fflonk
254
1313624
N/A
N/A
bn128

We need LICENSE clarification and credit of original work, this PR has the same issue with internal one:
Originally posted by @chiro-hiro in https://github.com/orochi-network/zk-data-rollups/issues/1#issuecomment-2415754459


Won't launch

Exception in thread "main" java.lang.UnsupportedClassVersionError: streama/Application : Unsupported major.minor version 52.0
macOS Sierra 10.12.6, letest Java RE 8 update 102 & 144 ?!

What's the output of java -version on your system?

java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

This is my Legacy java install to get Adobe CS6 working...
I just installed 1.8.0_144, but have not restarted yet...
BRB
On 20 August 2017 at 10:49, Jeremy Ryan<EMAIL_ADDRESS>wrote:

What's the output of java -version on your system?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dularion/streama/issues/413#issuecomment-323556241,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZcroQqbhCHUkZ5Y_tqmZfgmR1AKTTdEks5sZ4KIgaJpZM4O8e34
.

If java 6 is your default, you'll probably need to run it with /path/to/java1.8/java -jar streama-[version].war I'm not sure where java is installed on macOS, have a look in /Library/Java/JavaVirtualMachines/ or /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/

Many thanks, got it working but it does not playback HEVC x265 files, so I will have to stick with my current video player box. Many thanks for the prompt replies and accurate info.

Currently only formats that your browser supports work. Video transcoding/conversion is on the todo list.


”Gogoșu”, ”Balta Verde”, ”Burila Mică”, ”Ostrovu Mare” are listed in the drop-down menu

Description:
When user writes ”Gogoșu”, ”Balta Verde”, ”Burila Mică”, ”Ostrovu Mare” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Gogoșu"

Expected results
The location appears in the drop-down menu as "Sat Gogoșu, MEHEDINȚI (Gogoșu)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Balta Verde"

Expected results
The location appears in the drop-down menu as "Sat Balta Verde, MEHEDINȚI (Gogoșu)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Burila Mică"

Expected results
The location appears in the drop-down menu as "Sat Burila Mică, MEHEDINȚI (Gogoșu)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Ostrovu Mare"

Expected results
The location appears in the drop-down menu as "Sat Ostrovu Mare, MEHEDINȚI (Gogoșu)".


ERROR: Your storage adapter does not inherit from the Storage Base.

Issue Summary
I know 0.10 brought a braking change for the s3 storage https://github.com/TryGhost/Ghost/wiki/Using-a-custom-storage-module
I now use this plug-in https://github.com/kelyvin/ghost-s3-service
Steps to Reproduce

When starting Ghost

> docker logs --follow $ctnID
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info prestart<EMAIL_ADDRESS>npm info start<EMAIL_ADDRESS>
><EMAIL_ADDRESS>start /usr/src/ghost
> node index

ERROR: Your storage adapter does not inherit from the Storage Base.

  Ghost enforces restrictions to make sure the module you have is valid and will work once installed. Your current setup is failing that restriction. As it's not a bug, I'm going to close this. If you're looking for help getting it installed, please use the #help channel on slack.
Please note: we're working hard on solidifying the API and processes around adapters ready for Ghost 1.0, the current system is LTS, so if it needs a bug fix, it will be done, but we won't be making improvements.

Make sense. Thank you!

@pascalandy do you have solution? I am running against the same problem :(
I am using the ghost-s3-storage-adapter

Sorry I give up.
I tried reeeaaly hard but at the end, I decided to mount the images folder to a storage object.
No more issues since.

@pascalandy Sorry to hear that and glad you found a way to fix it.
@marc101101 was able to fix this issue.
The problem is the following: If you have Ghost installed as sub dependency (ls -la node_modules/ghost), then the s3 adapter requires the base adapter from their. If not, it requires it from the project root.
https://github.com/kelyvin/ghost-s3-service/blob/master/index.js#L13
You need to ensure that the require path is the correct one.
If using Ghost as NPM module, it needs to be the path to the sub dependency.
If not, it needs to be the path to the project root.
We are using instanceof and this can fail, if the required file is a different one then we compare to.
We will work on getting rid of the dirty requires asap by outsourcing the base adapters into npm  modules.

Thanks for the explanation @kirrg001
It will be great!

We will work on getting rid of the dirty requires asap by outsourcing the base adapters into npm modules.

@kirrg001 Ran into the same exact error but I'm not that familiar with npm and those dependencies. Could you please elaborate exactly the way you managed to fix this issue?
Thanks a lot!

Hey @oligafner Sorry to hear that.
Did you read and try my comment https://github.com/TryGhost/Ghost/issues/7487#issuecomment-275205866?
If you still need help, can you please swing by our slack channel and ask in the #help channel?

@kirrg001 figured it out! Thanks for your help!


Make resizing action correct

Let me explain the point. The resize opertion in demo is like that:

If the cursor's position may make the window's size is too small, the size won't shrink more. That's all right. But when the cursor move backward the window's size enlarge directly rather than keep its size until the cursor move out of the origin press position, which windows in other GUI platforms perform.

I revise some code and this is the effect:

the modifications does not destroy the library's lightweight and  fixed-sized memory region.

I feel sorry that I ignored the version update on the source repository... fortunately this does not introduce merge conflicts.

I'm really sorry that I would close this PR, because I found there would be problems with my code when  more than one mu_Context works on the same thread.
I am really very, very sorry of  disturbing you. I will fix the problem soon.


Typescript Emitter makeParticles definition

Hi,
The currently version of the definition 2.4.4 in the repo of phaser.d.ts don't allow to call Phaser.Particles.Arcade.Emitter.makeParticles() without args but in the examples this works.
http://phaser.io/examples/v2/particles/particle-class
Also the particleClass property has a type of Phaser.Sprite when it should be any.
Thanks

This is now correct in the TS defs in the dev branch.


fix(atomic): add atomic to peer-deps of the cli

Proposed changes
Added @coveo/create-atomic to the CLI dependency, so that we can pinpoint the version to use (latest is currently defaulted on)

Will be done in #632


sdk 47

Description
This PR begins integration work for cosmos-sdk 47 and will be developed in tandem with

https://github.com/cosmos/cosmos-sdk/issues/13408
https://github.com/CosmWasm/wasmd/pull/1022

As before, this branch is meant for ecosystem devs to be able to reference

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Thanks @faddat for starting this work. Agreed that it'd be nice to make bumping a major version of the SDK as smooth as possible.
I'm going to mark this pr as a draft for now as it isn't ready for merging.
In my mind, I think it makes sense to have a feature branch which we merge all changes into after small scoped reviews. Similar to what we tried to do last time. We can use this as the feature branch, but it might be nicer to have a branch that is created on ibc-go so we have merge rights to that branch
I think it makes sense to do each change incrementally even if the tests don't pass immediately. I think getting all tests to pass is more important at the end
If you agree, maybe we can create a branch on ibc-go that will act as the branch to bump to SDK v0.47 and then you can open a draft pr for that branch? Then any change should be a pr opened against that branch (and these changes can be made without all tests passing so we can have smaller prs to review). We should create a tracking issue with all the changes that need to be made as well

hey :D!
I think that's a really great idea, that way we don't end up messing about with main too much.  This is surely a draft PR -- I figure there'll likely be a number of breaking changes.

hey @faddat, thanks very much for helping us with another SDK upgrade. :)
As per @colin-axner's suggestion here the feature branch we can use.


Update to Kestrel 2.1.3

I'm only now starting to look at this so I'm not sure how much work is involved, but could you see about upgrading to the latest Kestrel dependency, (pretty) please?

Will take a look at this, pipelines changes were pretty substantial though.

Yeh, it doesn't look simple at a glance but I have some commercials to justify taking a look at this so I might spend some time on it today. I'll make sure anything I do is on a public fork if anyone wants to help out


Transcript not seen in results

Hi,
Results for my gene transcript of interest (ENST00000450313) are not being displayed whereas results for other transcripts for the same gene are. Is there a limit on the number of transcripts displayed in the results output? If so, is there a way of selecting a specific gene transcript for analysis? The impacted exon in question is present in the majority of transcripts so I may expect to see somewhat similar results (the exon in my transcript is concordant with the gnomAD canonical transcript - ENST00000372098). Thank you in advance.

Hi @JohmaChroc , thanks for reporting this issue.
To reduce the number of transcripts in the results, I excluded most non-protein-coding transcripts that overlapped protein-coding ones. ENST00000450313 falls in this category as its transcript type is "nonsense_mediated_decay" rather than "protein_coding" in gencode 36.
My current set of GRCh38 annotations includes 176,560 transcripts, and excludes the follow transcripts by type:
     37121: lncRNA
      4085: processed_pseudogene
      3469: processed_transcript
      2077: retained_intron
      1415: miRNA
      1340: nonsense_mediated_decay
      1332: misc_RNA
      1068: snRNA
       827: transcribed_unprocessed_pseudogene
       658: snoRNA
       611: TEC
       573: unprocessed_pseudogene
       418: transcribed_processed_pseudogene
       283: rRNA_pseudogene
       128: transcribed_unitary_pseudogene
        34: scaRNA
        28: pseudogene
        26: unitary_pseudogene
        13: IG_V_pseudogene
        10: rRNA
         9: Mt_tRNA
         6: polymorphic_pseudogene
         6: IG_V_gene
         5: non_stop_decay
         3: ribozyme
         3: IG_C_pseudogene
         2: sRNA
         2: Mt_rRNA
         1: translated_processed_pseudogene
         1: scRNA
         1: IG_C_gene
         1: TR_V_gene
         1: TR_V_pseudogene

Since you (and probably others) want to see some of these, I'll try adding all transcripts.

A follow up question: Is there any difference with the included transcripts for GRCh37/hg19?

There's no difference in how SpliceAI-lookup treats GRCh37 and GRCh38 transcripts.
In Gencode though, there are currently 236230 GRCh37 transcripts vs. 234486 GRCh38.
(GRCh37 transcripts are downloaded from https://www.gencodegenes.org/human/release_37lift37.html
and GRCh38 transcripts from https://www.gencodegenes.org/human/)
Also, even after showing all non-coding transcripts, ENST00000450313 still doesn't appear because 1-45797036-GCCTGTGGATATAGCCTCAAAAGCCAACATC-G is ~800bp to the left of the transcript. Here's the relevant line from gencode.v37lift37.annotation.gtf:
chr1	HAVANA	transcript	45797868	45806071	.	-	.	gene_id "ENSG00000132781.19_12"; transcript_id "ENST00000450313.6_6"; gene_type "protein_coding"; gene_name "MUTYH"; transcript_type "nonsense_mediated_decay"; transcript_name "MUTYH-210"; level 2; protein_id "ENSP00000408176.2"; transcript_support_level 5; hgnc_id "HGNC:7527"; tag "mRNA_end_NF"; tag "RNA_Seq_supported_only"; havana_gene "OTTHUMG00000007682.11_12"; remap_num_mappings 1; remap_status "full_contig"; remap_target_status "overlap";

This transcript was quite different in the earlier gencode.v19.annotation.gtf:
chr1	ENSEMBL	transcript	45794915	45806142	.	-	.	gene_id "ENSG00000132781.13"; transcript_id "ENST00000450313.1"; gene_type "protein_coding"; gene_status "KNOWN"; gene_name "MUTYH"; transcript_type "protein_coding"; transcript_status "KNOWN"; transcript_name "MUTYH-202"; level 3; protein_id "ENSP00000408176.1"; tag "basic"; havana_gene "OTTHUMG00000007682.5";


Can provide a step parameter and a stepItemHeight parameter for step-by-step scrolling

I Want a step-by-step scrolling effect

If you need more functionality, using a carousel component might be better for your use case. Two that I would suggest are the vue3-carousel or egjs/vue-flicking.


How can I make only accept text files? example: Word doc

Is it possible to prevent audio, image, and video? I only want to upload a text doc for example a word doc or excel doc for parsing. I don't want to allow for images, audio, and video for my purposes. Thank you!

Nm. I found more in-depth accept mime types here. http://stackoverflow.com/questions/11832930/html-input-file-accept-attribute-file-type-csv


Image onLoad, onLoadEnd, onLoadStart not working

I am using Image component of React Native, sometimes images may load late and I need to add loading component, so to do this, I need to handle image load or not. There are methods for this(onLoad,onLoadEnd) but not working :(
React Native version:
System:
OS: macOS Mojave 10.14.4
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 19.46 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 22, 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.2, 28.0.3
System Images: android-26 | Google APIs Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
Steps To Reproduce
1.try image component onLoad
<Image
onLoad={() => console.warn('onLoad')}
onLoadStart={() => console.warn('onLoadStart')}
onLoadEnd={() => console.warn('onLoadEnd')}
source={source}
style={style}
/>
Describe what you expected to happen:
onLoadMethod work

same problem...

same problem

I had the same issue on Android while working with onLoadEnd.
I found two issues in my situation :

I was using elevation / zIndex to show skeleton screens above my component while it loads. But I did it without using position:'absolute', only elevation / zIndex. So I finally used position : 'absolute' and now onLoadEnd method is firing correctly.
The second problem was that I used FlatList. On Android, images outside the screen are rendered but events on images are not fired until the user scroll to those images.

Hope it might help 👋.

same problem

same problem, i can see the image but the event handlers don't seem to be triggered.

I was able to fix this using this issue.

In case this helps anyone else: at least in React Native Web, I was running into the issue where onLoad was never being called. It turned out that when the image was first rendered, I was passing it a null source (or a source of {uri: null }). When the source was later swapped out for a meaningful one, onLoad was never called.
I got around this by conditionally rendering the Image only after the URI had a meaningful value:
{imageSource && imageSource.uri && <Image source={imageSource} .../>}


Enable CA1012: Abstract types should not have public constructors

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012

Build failures are due to PowerShell Gallery unavailability, see #13946.

closing and reopening to restart tests


The TOF file I received will cause an error

Thank you for your work！
Now I am facing some strange problems：
The .mat file obtained from the TOF file I received is very different from the example you gave(Data_tof.mat)，
So the Compute_ tof_ music file will report an error

I will appreciate for your help.
Best,
Starever


_github-pages-challenge-onxs.mc

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

Link to Website

Hello. The record submitted in the morning, the access mc.is-local.org shows 404, the mc.is-local.org needs to be verified, now help add the following TXT record, "Add a verified domain" information I pasted on it to help set it up


Amazon Prime Video trailers

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.01.21. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[x] I've read about sharing account credentials and am willing to share it if required

Region
Worldwide
Example URLs
Site with trailer:
https://www.amazon.com/dp/B07RK3CBNQ/
https://www.amazon.com/Mission-Impossible-Fallout-4K-UHD/dp/B07RK3CBNQ/
Manifest file:
https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2$O2I7YyMfsiZnMWVzSIOZdM40UxA~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected.mpd?amznDtid=AOAGZA014O5RE&encoding=segmentBase
Description
Amazon Prime Video allows users to watch trailers, which are not protected by DRM and therefore downloadable.
For now, with the normal site only product videos seem to work but not trailers. --> [AmazonStore] B07RK3CBNQ: Unable to extract data
Applies on all regional Amazon stores.
An example with the manifest file is shown below.
Verbose log
[debug] Command-line config: ['-vU', '-f', 'bestvideo+audio_en-US_4=640000', 'https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected.mpd?amznDtid=AOAGZA014O5RE&encoding=segmentBase']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.01.21 [f20d607] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg 2021-08-18-git-dbe40478e2-full_build-www.gyan.dev (setts), ffprobe 2021-03-28-git-8b2bde0494-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.01.21, Current version: 2022.01.21
yt-dlp is up to date (2022.01.21)
[debug] [generic] Extracting URL: https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected.mpd?amznDtid=AOAGZA014O5RE&encoding=segmentBase
[generic] 91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected: Requesting header
WARNING: [generic] Could not send HEAD request to https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected.mpd?amznDtid=AOAGZA014O5RE&encoding=segmentBase: HTTP Error 403: Forbidden
[generic] 91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] 91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected: Extracting information
[debug] Identified a DASH manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] 91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected: Downloading 1 format(s): video=15000000+audio_en-US_4=640000
[debug] Invoking downloader on "https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_video_12.mp4"
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 3036, in process_info
  File "yt_dlp\YoutubeDL.py", line 2769, in dl
  File "yt_dlp\downloader\common.py", line 440, in download
  File "yt_dlp\downloader\http.py", line 371, in real_download
  File "yt_dlp\downloader\http.py", line 119, in establish_connection
  File "yt_dlp\downloader\http.py", line 113, in establish_connection
  File "yt_dlp\YoutubeDL.py", line 3526, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

I discovered a few interesting things:
In Windows Terminal (PowerShell) this part is ignored, leading to the 403 errors:
https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2 $NBOu0pbEtX2hhRKLDQ9nBRdaLwE ~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected.mpd?amznDtid=AOAGZA014O5RE&encoding=segmentBase
But because it is ignored (resulting in a different manifest file), more audio formats (e-ac-3) become available:

vs CMD (does not ignore the part between "2" and "~" /original link)

The better E-AC-3 audio and the video files only become available to download using the original link (with "$NBOu0pbEtX2hhRKLDQ9nBRdaLwE").
Example: https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/2$NBOu0pbEtX2hhRKLDQ9nBRdaLwE~/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_audio_9.mp4?amznDtid=AOAGZA014O5RE&encoding=segmentBase
Would it be possible to get the available formats from the new manifest file and then download the desired formats with the original link?

I don't have an Amazon Prime account, but have you tried actually downloading through the manifest with "better" audio?
I am getting error 403 with it while the original link works with its best audio.

I also tried to shorten the link of the manifest a bit with positive results, this is the shortest link which worked in yt-dlp:
yt-dlp -f audio_en-US_4=640000 "https://pop-iad-2.cf.dash.row.aiv-cdn.net/dm/87f5/ba0e/0bc1/4322-96bf-0e7f5f024e37/91f332c9-d66a-4321-9966-eeab0c0f7c81_corrected.mpd?encoding=segmentBase"
--> deleting "2$O2I7YyMfsiZnMWVzSIOZdM40UxA~/" from the original link does the trick. You can shorten it even further, to keep it working in yt-dlp, you have to at least keep "?encoding=segmentBase" at the end of the link.
So what remains is the way from the normal page to the manifest file

I am on final phase of coding a first version of this.

Right now to identify trailer or film, it need full url of the trailer (with ?autoplay=trailer)
https://www.amazon.com/gp/video/detail/B07RK3CBNQ/ref=atv_dp_watch_trailer?autoplay=trailer
or
https://www.amazon.com/gp/video/detail/B00AZNSLQM/ref=atv_dp_watch_trailer?autoplay=trailer
Just right click on trailer button and copy link.

What do you think about this solution?

It is fine if the normal URL downloads trailer too. But show a warning informing user what is happening. I just dont want to get issues like "amazon is only downloading trailers"
Something like:
WARNING: Amazon Prime videos use DRM and will not be supported. Downloading the trailer instead

Looks good so far!
Would it be possible to also include e-ac-3 audio by modifying the URL (as described in my post above)?

@redoXiD
I dont understand the modifying url part.
If you removed the "2$O2I7YyMfsiZnMWVzSIOZdM40UxA~/" part you got 403 error, so what is the point of that?
Now the URL is recovered from JSON returned from GetPlaybackResources POST.
I dont need to generate or modify it. It is pretty much useless to short this URL.
I just notice that primevideo have almost the same code of amazon. That makes sense...
So, I coded that too in the same extractor.

@pukkandan
I put the warning message.
I use print() instead of report_warning(), because report_warning triggers multiples errors on tests.
One thing i notice is amazon uses multiple sources of MPD manifests, each one with a different video host.
If I list video formats I get multiple repeated formats. Even using _remove_duplicate_formats.

Is there a way to have same format with multiples urls?
On monday I will create a draft pull request to share the code.

@Bricio The 403 errors existed because of an error in PowerShell, where the "$" caused to ignore a part of the URL. But if you remove the whole part (/dm/2 $NBOu0pbEtX2hhRKLDQ9nBRdaLwE ~/ 87f5/ba0e/0bc1/) and effectively shorten the URL, it works perfectly and even includes additional audio formats. It's great to see that you found another way, but does this method also include e-ac-3 audio for the trailers?

@Bricio The 403 errors existed because of an error in PowerShell, where the "$" caused to ignore a part of the URL. But if you remove the whole part (.../dm/2 $NBOu0pbEtX2hhRKLDQ9nBRdaLwE ~/ 87f5/ba0e/0bc1/...) and effectively shorten the URL, it works perfectly fine and even includes additional audio formats. It's great to see that you found another way, but would this method also include e-ac-3 audio for trailers?

redoXiD
ec-3 audio added.

I need help in a point.
Amazon store and Amazon prime have the same url format.
https://www.amazon.com/dp/B07YNLBS7R/
https://www.amazon.com/dp/B07RK3CBNQ/
I don't think valid URL regex can differentiate them.
How can I code to catch the extraction error in amazon store and call amazon trailer extractor?

How about suitable method ?


Add icon for banner

Iterate the banner design to try to increase the clickthrough rate.
Design details:

Mobile design matches the landing page header CTA
(breaks across two lines, with a larger arrow icon)
The CTA link needs a discretionary line break after the colon
Delete the line break between the last two sentences of the banner on both mobile and desktop (To match landing page)

Our analysis has shown that the switch from the red to black banner increased interaction (hides) but reduced clickthroughs.
CTR for old banner (red) = 4.3%
CTR for current banner (black) = 3.7%
Interaction rate for old banner= 5.2%
Interaction rate for current banner= 5.7%
https://trello.com/c/swfdTfOk/161-strengthen-the-emergency-banner-link

Unfortunately the change I suggested to fix the page in old IE has caused a new layout problem, see below. Let's forget trying to fix that in this PR (delete that commit) and we'll try to solve it separately.

Looks like it had an old deploy, here are the new changes:


Colored output for commandline

Added ColorFormatter class which creates colored strings using unix formatting codes.
Modified TestResults to use colored output.

Coverage increased (+0.48%) to 88.63% when pulling 2515e3f89552c332c6580ab3f967e36683c56226 on colors into 4f8c70ba7c34cdfa3b81ed8ee5c70b4d06dbff03 on master.


Seed updates

Hi recently seed app update with catch Worm on the tree. Can you add it to the script?
Thank you

Hi,
We are low on time this next 2-weeks, but we will look into what is required.
Thanks

Hi,
We are low on time this next 2-weeks, but we will look into what is required.
Thanks

hi i see that the script update check to collect worm but it auto sell the worm. Can I keep it? Because It's seem more benefit on the furture

Hi,
This is the main reason I don't like to add too much automation regarding upgrades, because different users all have different requirement.
Is it possible for you to just delete the lines 97-98 from the script?

Hi,
This is the main reason I don't like to add too much automation regarding upgrades, because different users all have different requirement.
Is it possible for you to just delete the lines 97-98 from the script?

Sorry I'm using docker and I cannot edit the line.
Just keep it in the Inventory, we can use it later?

Hi,
This is the main reason I don't like to add too much automation regarding upgrades, because different users all have different requirement.
Is it possible for you to just delete the lines 97-98 from the script?

Hi sir, can you update that in the next time. I think almost pepeole want to keep in inventory and after that, they do what they want

I'll ask the other guys regarding this, @jbr1989 contributed the code improvement and I don't want to change it if he set it for a reason.
If you really wanted to edit the file, you could do this:
apt-get install nano
nano games/seed.py

The top line installs a text editor, and the second line would edit the game file.

I thought the worm sale was the best option, but I don't mind if they are kept in stock.

It sounds like there's too much for me to handle with all the things going on. Whether people keep or sell the rat for me, I don't mind. I'm not even sure if the worm has been collected or not.

Hi,
This is the main reason I don't like to add too much automation regarding upgrades, because different users all have different requirement.
Is it possible for you to just delete the lines 97-98 from the script?

Hi sir, can you update that in the next time. I think almost pepeole want to keep in inventory and after that, they do what they want

Hello bscong i have do something on the seed code
you can folow the step inside the script updaped if yo uwant  keep worm
by doing this

Hi,
This is the main reason I don't like to add too much automation regarding upgrades, because different users all have different requirement.
Is it possible for you to just delete the lines 97-98 from the script?

Hi sir, can you update that in the next time. I think almost pepeole want to keep in inventory and after that, they do what they want

Hello bscong i have do something on the seed code
you can folow the step inside the script updaped if yo uwant keep worm by doing this

thank you I'll do that


{Help} Remove the localization information (en-us) for doc link

Description
Reviewed the CLI code for broken links to documentation and links containing localization information (en-us). No other changes made, no breaking changes introduced.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute

@mimckitt Since we have upgraded the api-version of storage in PR #https://github.com/Azure/azure-cli/pull/19510 recently, could you pull the latest code from the remote dev branch to solve the CI test issue?


Console UI

Console UI
Things  I have to work on

Write custom language
UI of console
Auto Complete the words

Hi @kartik-gupta-ij! Thanks for the PR, thanks a great start for the project!
Some feedback from my side - one part regarding UI

Other part is regarding functionality - it could be very useful to have multiple requests on the left side. So the user could select which request, without the need to remove everything else.

@generall
Can you please review it again...

Hi @kartik-gupta-ij, I think the run button messes with alignment. It feels like both code boxes should be on the same horizontal level.
But overall highlight and execution seems to work alright!

@generall  I tried placing the button inside the Editor but was unable to do so I would be grateful if you can help me around.

@generall  tried another approach, please check if Is it of any use...

Current UI :-

New run button looks much better then the previous iteration!

There only a few things I would change:

RUN button appears on selection, which automatically inserts a new line. As a result, code is shaking all the time you try to move around. I think it might be better to attach run button to each valid code block no matter were the cursor is, it should prevent shaking

RUN button is shown for empty strings, I think we can use solution from the previous item here

gray selection for the block looks too dark and redundant to me. I think yellow selection on the left side is already enough

There is a bunch of eslint warnings, might be worth fixing


Spring Boot Starter Vulnerable to CVE-2024-34447

Version 3.2.4 of mq-jms-spring-boot-starter is vulnerable to CVE-2024-34447 due to its transitive dependency on version 1.77 of org.bouncycastle:bcprov-jdk18on.

ibmmq-jms-spring version(s) that are affected by this issue: 3.2.4
Java version (including vendor and platform)openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)

A small code sample that demonstrates the issue+- com.ibm.mq:mq-jms-spring-boot-starter:jar:3.2.4:compile
|  +- com.ibm.mq:com.ibm.mq.jakarta.client:jar:<IP_ADDRESS>:compile
|  |  +- org.bouncycastle:bcprov-jdk18on:jar:1.77:compile
|  |  +- org.bouncycastle:bcpkix-jdk18on:jar:1.77:compile
|  |  +- org.bouncycastle:bcutil-jdk18on:jar:1.77:compile
|  |  +- jakarta.jms:jakarta.jms-api:jar:3.1.0:compile
|  |  \- org.json:json:jar:20231013:compile

If there is a vulnerability in the MQ client code (not this package), it will be reported via an IBM security bulletin.
So far, no version of the MQ client has been released with a later dependency level of the bouncy castle jars. (Version <IP_ADDRESS> didn't change those dependencies.) If and when a new MQ level comes out that uses the newer BC files, then it will get referenced through an update in this module. But right now, there's nothing that can be done here.

This vulnerability no longer exists in version 3.3.0 of mq-jms-spring-boot-starter.


add Nicegui Components handling

see e.g. https://github.com/jrieke/components-hub
and https://github.com/zauberzeug/nicegui/discussions/1618#discussioncomment-7853845

see https://github.com/jeffmm/pypi-simple-search

{
  "name": "niceguitools",
  "package": "niceguitools",
  "demo": null,
  "forum_post": null,
  "github": null,
  "pypi": null,
  "image_url": null,
  "stars": null,
  "github_description": "# niceguitools\r\n",
  "pypi_description": "A collection of tools for nicegui",
  "avatar": null,
  "search_text": null,
  "github_author": null,
  "pypi_author": null,
  "created_at": null,
  "downloads": null,
  "categories": [],
  "version": "0.0.1"
}


CAMEL-10411 - camel-blueprint. prevent automated restart in case of e…

…rrors

I'll review and merge tomorrow. Thanks @paoloantinori. Looks good to me. Nice catch! :-)

Merged on master, camel-2.18.x and camel-2.17.x :-) Thanks!


Compile Error In Examples

Error in SpinnerCell.swift
IGListKit-master/Example/IGListKitExamples/Views/SpinnerCell.swift:25:53: Cannot convert value of type '(IGListCollectionContext) -> CGSize' to expected argument type 'IGListSingleSectionCellSizeBlock' (aka '(Optional<IGListCollectionContext>) -> CGSize')

Error in SingleSectionViewController.swift
IGListKit-master/Example/IGListKitExamples/ViewControllers/SingleSectionViewController.swift:65:74: Cannot convert value of type '(IGListCollectionContext) -> CGSize' to expected argument type 'IGListSingleSectionCellSizeBlock' (aka '(Optional<IGListCollectionContext>) -> CGSize')

Xcode suggests fix using casting that allows project to build so that line goes from:
return IGListSingleSectionController(cellClass: SpinnerCell.self,
                                         `configureBlock:` configureBlock,
                                         sizeBlock: sizeBlock)

To:
return IGListSingleSectionController(cellClass: SpinnerCell.self,
                                         configureBlock: configureBlock,
                                         sizeBlock: sizeBlock as! IGListSingleSectionCellSizeBlock)

and from:
let sectionController = IGListSingleSectionController(nibName: NibCell.nibName,
                                                              bundle: nil,
                                                              configureBlock: configureBlock,
                                                              sizeBlock: sizeBlock)

To:
let sectionController = IGListSingleSectionController(nibName: NibCell.nibName,
                                                              bundle: nil,
                                                              configureBlock: configureBlock,
                                                              sizeBlock: sizeBlock as! IGListSingleSectionCellSizeBlock)

However, this causes crash once the Single Section Controller or Tail Loading sections are accessed.
New issue checklist

[+ ] I have reviewed the README and documentation
[+ ] I have searched existing issues and this is not a duplicate

General information

Library version(s): 1.0.0 and master
iOS version(s): 10.0.2 and 9.3.5
Devices/Simulators affected: se/6
Reproducible in the demo project? (Yes/No): yes
Related issues:

Hey @namsoila I'm not able to reproduce any compilation errors on master or stable. Can you try pulling master and building again? Also make sure you're opening Example/IGListKitExamples.xcworkspace.

Thanks @rnystrom ! Pulled current master with addition of single section controller using alerts and is fine.


Amend @param documentation

Fixed typo's Obbject => Object

Coverage remained the same at 97.778% when pulling a80e3f85cf712397c24522782c72968fd9a7ce34 on shaned24:patch-1 into 28e7e5f110e8d0048fd8612ebddfd543a38699a7 on adonisjs:develop.

@shaned24 Thanks 😄


Teams service limits information for Bulk API - POST https://graph.microsoft.com/v1.0/teamwork/sendActivityNotificationToRecipients

Hello Team,
As per documentation we don't see service limit information for Send notifications to multiple users in bulk
Could you please update appropriate information for same.
Documentation reference - https://learn.microsoft.com/en-US/graph/throttling-limits#microsoft-teams-service-limits

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

ID: ce39639f-5e2c-06d6-5775-ac16a6a4828e
Version Independent ID: ce39639f-5e2c-06d6-5775-ac16a6a4828e
Content: Microsoft Graph service-specific throttling limits - Microsoft Graph
Content Source: concepts/throttling-limits.md
Product: non-product-specific
Technology: microsoft-graph
GitHub Login: @MSGraphDocsvTeam
Microsoft Alias: MSGraphDocsVteam

We will check this internally and get the doc updated if required. Thank you.

The document has been updated, hence closing this issue.


Server Status - 500

I see 500 error when accessing server status page
https://www.codabench.org/server_status

I have the same problem

I close the issue as it is now working but we should keep an eye on this.


Improving Code Quality

Would be a good idea to do these (some are for better readability)

[ ] Use strict equality checks, replacing abstract checks
[ ] Scoping variables, removing shallow variables
[ ] Removing unused code (declarations, imports etc.)
[ ] Removing nested ternary operators

Probably doing some linting setup with pre-commit hooks would be better.
Thanks.

Good tips. Yes, linting, minification, and even use of TypeScript would greatly improve quality. At some point, I may add all this, but I don't like the idea of making this production ready code.

I'm not strict about === except where strict equality is necessary or when input is unknown. I prefer not using it everywhere (it removes the work of asking why or why not)
Not sure what/where you are referencing shallow variables.
Minification or production ready code is not a goal. Everything here is mostly experimental and for research.
I totally agree, nested ternary is bad for a welcoming readability. Personally, I don't mind them at all. Some code concepts are difficult to parse and reason with by design.

closing for now, but I will tag revisit


Convert expression evaluation exceptions to errors

Description
Expression evaluation for web currently throws an exception if frontend server has an internal error. Convert those exceptions to errors instead so IDEs can display or ignore them better, depending on where the expression was evaluated directly or via hovering over (or other scenarios).
This change is part of three changes (flutter, webdev, sdk) needed to convert exceptions to errors, all of which are needed to fix #54520

DWDS version 3.0.3 that propagates the errors instead of exceptions:
https://github.com/dart-lang/webdev/pull/954
Updated the dependency to match.

SDK change (in progress) to convert some exceptions to errors so recoverable failures in expression evaluation do not crash frontend server:
https://dart-review.googlesource.com/c/sdk/+/143660

Related Issues
#54520
Tests
I added the following tests:
packages/flutter_tools/test/general.shard/web/web_expression_compiler_test.dart
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

You'll need to use flutter update-packages --force-upgrade to update dwds`


Relax constraint on Storage

It is perfectly fine to use generic as storage and not its reference, as Storage implements &mut for its trait here: https://github.com/FuelLabs/fuel-storage/blob/21319d8412edda0dc1387ca201408ccb8c112d6b/src/lib.rs#L43
And rust will be able to match both storage and &mut storage bcs of that.
Added change for both sparse and sum Merkle tree

LGTM. Maybe add a description with some rationale of the gains brought by this change.
Deferring to @bvrooman

Did this before going to sleep as i was currious and forgot about writeup/description.

I think i missed to remove some things, will check on monday to be sure

@bvrooman I did the same for sum tree, pls check it again.

@rakita @bvrooman what about changes in /binary/merkle_tree.rs ? it seems same relaxation could be done there ?


Mock-up for data entry form

Data entry flow -- how would a research assistant enter new data into the database, starting from the sources.

Source overview => user selects/adds source
Entity overview (Agents / Objects / Places) => user selects/adds entity
Entity detail form => user enters details of agent/object/place as they occur in the source.
Uniquely identifiable: is the entity generic (e.g. 'a shepherd', 'a forest', 'a cask of beer') or unique identifiable ('St. Radegund', 'the monastery of Toulouse', 'the sceptre of Charlemagne')?
Link to existing records. (Should the research assistant do this, or will core team members do this?)

See photo below.

Current status:
#35 implements a menu to edit the data for a source, and a form to edit a depiction of an agent in a source.
I'm currently working on adding some more detail for objects and spaces. We'll try to work out actions as well in the future.


QOL changes

Verify LUKS password (code based on: https://stackoverflow.com/a/22249163), prompt for user password at beginning of script, enable pacman parallel downloading, only show stderr during pacstraps and avoid reinstalling packages.

Very useful features, tysm for the commit! ❤


fix: Fix umd build

Related Issues
https://github.com/descope/etc/issues/3140
Description
imports broke due to addition of named import (see more context in https://github.com/rollup/rollup/issues/1044)
splited into 2 index files

fixing test

@asafshen lint fails here

@asafshen lint fails here

I'm working on a fix

please wait with the merge
I also want to release this and want to sync with Shriki about that

@asafshen whats the status ? don't we need to merge ASAP ? due to https://github.com/descope/etc/issues/3140#issuecomment-1610093950 ?

@asafshen whats the status ? don't we need to merge ASAP ? due to https://github.com/descope/etc/issues/3140#issuecomment-1610093950 ?

Pending discussion with Shriki
We'll merge it today, in the meantime there is a workaround, I agree it is relatively urgent but it can wait an hour to communicate this

web-sdk version 1.3.3 now working well FYI


Not getting output

Firstly, congratulations!
I dont seem to be able to get the STL output from the script. I have tried both the Jupyter and nbconverted versions of the script with no luck. I am not too familiar with python so any help is appreciated. All libraries are installed except for matplotlib is binary only due to not having a visual studio install.

I cloned this repository and executed the notebook, and it outputs the stl files correctly. Are you are missing the /stl directory? There needs to be /stl inside the directory the notebook is contained in, and I don't think it will create this folder if it doesn't already exist.

That was it, i didnt know that the folder would not be created automatically.
I even tried running python in administrator mode.


Fix issue #297

Thanks to @jaune for pointing out the source of the problem. Without him, I wouldn't have said to myself :

hey, maybe I can fix this !

Anyway, I think it also fixes issue #309 and #294 but I'm not sure. At least the cause of those other issues is probably the same : a project being saved without a directory.

Thanks for the help :)


Null pointer to imported experiment (run?)

I am trying to export-import mlflow objects from a deprecated databricks workspace to a new one. Thereby, I figured out following miss behavior when using local setup:

export-model (from deprecated ws) works without any warning or error
import-model (to new ws) works without any warning or error
I see the model in the registry of the the new ws
I see the experiment the model stems from in the new ws
clicking the migrated experiment results in a null pointer
clicking the run of the migrated model version in registry results in a null pointer

See also below screenshots.
Do you have an idea why that happens? To me it seems that the imported (meta-) data are not complete and the run might be not available in the migrated object.
Doing the same with objects only involving the same (new) ws seems to work fine. I cannot test it with the notebooks since I don't have a mounted storage that is shared by the two workspaces.
All mlflow objects that I used for my tests were generated with mlflow version 1.24.0 and on a databricks cluster with runtime 10.4 LTS ML.

Not enough information to diagnose. Can you send me the exported zip file to email andre at databricks?


Change gtk+ documentation URL to correct one

"/documentation.php" returns 404

Looks good, the gtk.org website was redone and it wasn't updated since. Thanks!

Fixed in #1057.

#1057 changes different link (link to gtk-rs in Readme.md); this PR fixes link to GTK website in src/lib.rs.

Oh indeed, sorry!

Thanks!


scala console not working

Hi:
Came back to use ironvim after a while and it just stopped working.
After I send a code in, I get:
Welcome to Scala 2.11.12 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_201)
.
Type in expressions for evaluation. Or try :help.

scala> // Entering paste mode (ctrl-D to finish)

When I hit ctrl-D, it just hangs.
If I do not send code, val x = 1
I get

scala>
scala> <console>:13: error: not found: value xval
val $ires0 = x\u007fval.x
             ^
<console>:11: error: not found: value xval
       x\u007fval x =1

So, seems like I am getting extra characters as well.
After this the console will take command when type in directly, but still will not take code sent in from the editor. I get
scala> // Entering paste mode (ctrl-D to finish)

where it hangs again.
Thank you,

Darn problem was with scala version messing up & not issue with iron.vim. I reinstalled scala & it's now working!
Sorry for the confusion. Leaving this for someone who might have same issue as I did for future reference.
Closing


Numerous Software Dependencies of Scripts

The preprocessing scripts have a number of software dependencies, some of which seem unnecessary. For example, bamUtil is required by the script, but the same task can done by samtools.
samtools fastq -1 aSample_R1.fastq -2 aSample_R2.fastq aSample.bam

Also, some of the progress messages are also wrong. For example, in the script alignAndExtract_hs38.sh, on line 69:
echo ">>>>>>>>>>>>>>>> extracting reads mapping to HLA loci and ALT contigs (38)"

The script is for when the reads were not mapped to HLA and ALT contigs.
It'd be convenient if it was available as a Docker container to make it easier to use.

We find bamUtil's fastq extraction more convenient for our purpose.
The progress message you are referring to is actually correct, it uses -F 0x4filtering to exclude unmapped reads and include only the mapped.


[Bug] Potential issue on Mac OSX Sonoma

Can't run on Mac OS Sonoma

INFO: FONT: Default font loaded successfully (224 glyphs)
INFO: SYSTEM: Working Directory: /Users/lucassousa
WARNING: FILEIO: [resources/profile-picture.png] Failed to open file
WARNING: IMAGE: Data is not valid to load texture
WARNING: FILEIO: [resources/Roboto-Regular.ttf] Failed to open file
WARNING: FILEIO: [resources/Roboto-Regular.ttf] Failed to open file
zsh: segmentation fault

Hello, sorry to hear that you're having issues. It appears from the log like the example isn't able to load the font files from the disk, so the renderer is segfaulting when trying to measure text. Would you be able to tell me about your toolchain? Are you running the examples with CMake?

Hello.  Thanks for the swift reply
I tried some things and was actually able to run one of the examples, namely raylib-sidebar-scrolling-container:

Yes, I am using cmake, mkdir build; cd build; cmake ..; make; typical workflow.
clay_examples_cpp_project_example builds, but running does nothing. (I don't know if it is intended)
The official website I seem to have a problem with generating code for the target wasm32
Generating with cmake builds, but the binary does nothing:
./clay_official_website (does nothing)
Using sh build.sh  leads to

error: unable to create target: 'No available targets are compatible with triple "wasm32"'

I tried changing the target options and changing the compiler but got nowhere.
 clang --version

Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: x86_64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

cmake --version

cmake version 3.30.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).

Tried using zig cc as well:
zig version

0.12.0

@LucasMW Thanks for the info, I will get the documentation cleaned up a bit. Just for posterity:

The C++ project is just there as a stub at the moment and for tests, to make sure that we maintain C++20 syntax compatibility with any changes.
The official website CMakeLists.txt is just there because I personally use CLion, and it refuses to give me intellisense if files aren't included in a cmake project. As you discovered the build should be done through build.sh 🙂

I suspect that you may have to install llvm via brew to get the wasm example to compile, as clang goes out to llvm for it's wasm compile target. Let me know if you have issues and I can try to dig up the process I used. (Note to self: document this properly)

Hello!
I managed to make the website work using zig cc 0.14.0+ (master branch by now)
--- a/examples/clay-official-website/build.sh
+++ b/examples/clay-official-website/build.sh
-&& clang
+&& zig-macos-x86_64-0.14.0-dev.1694+3b465ebec/zig cc    \
---target=wasm32
+--target=wasm32-freestanding    \

@LucasMW Apologies for the delayed response, I forgot to reply. That's awesome, well done! 😁


waydroid: 1.3.3 -> 1.3.4

Description of changes
https://github.com/waydroid/waydroid/releases/tag/1.3.4

Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/767

@SuperSandro2000 sh not being found by waydroid-container.service is still an issue even if all NixOS systems have a /bin/sh. As it happens the service doesn't have in its PATH neither /run/current-system/sw/bin nor /bin. This issue is visible only when initializing Waydroid. sudo systemctl stop waydroid-container.service && sudo rm -rf /var/lib/waydroid ~/.local/share/waydroid && sudo systemctl start waydroid-container.service && waydroid first-launch should trigger the bug.

okay, fine, we can add it back with a short comment.


[1127] Add an ENV variable to log rake emails

Resolves #1127
this shouldn't be merged until #1203 is merged

This works fine, but I think we can come up with a DRY-er solution. Is it possible for us to add a method to either both of the Mailer classes (AdminMailer and UserMailer), still slightly duplicated, or even possibly to create an abstract Mailer that inherits from ActionMailer::Base and includes an optional logging method that we then use as the base class for our custom mailers.

Ooh, never mind! Rails supports Mailer Observers - that looks perfect to me. We'll basically set up an initializer that only creates and registers the Observer if the environment variable is set - if it's registered it will log the sending of each e-mail, which might be overkill but for debugging purposes seems acceptable to me. There's also an SO Thread on creating Observers. Let me know how that sounds!

is it okay if it logs all emails, not just the ones sent by rake task?

Yea I think that's fine. This should only be activated for debugging purposes (e.g. we'd need console access to the application server to add it to the .env file), so if we're seeing a specific e-mail problem we can have ITS flip this on for us to see if we can identify what's going on (and turn it off when we're done). Does that sound reasonable to you?

yup, just wanted to make sure because I'm not sure how to implement this only for specific emails

this now has tests!

This works! Strangely, it's also logging that an e-mail was sent without the flag sent, even at logger level :info:
Sent mail to<EMAIL_ADDRESS>(25.9ms)
  Rendered html template (0.0ms)
  Rendered user_mailer/_overdue.html.erb (3.9ms)
  Rendered user_mailer/reservation_status_update.html.erb (26.3ms)

whereas with the ENV variable set it looks like:
Sent mail to<EMAIL_ADDRESS>(20.2ms)
Sent [Reservations] Troune gps auto mount 5447 Overdue to<EMAIL_ADDRESS>  Rendered html template (0.0ms)
  Rendered user_mailer/_overdue.html.erb (9.5ms)
  Rendered user_mailer/reservation_status_update.html.erb (27.5ms)

The latter is clearly better since it includes the subject, but I'm wondering if the former has something to do with the fact that I'm in the development environment and just simulating the log level of production. In any case, this does what we need and the code looks good, so let's go those commits squashed!

should be good to go

Note to self: it is true that Rails already logs e-mails, but only logs the recipient. The original issue which inspired this (#1125) was a case where the instance was, in fact, not sending the e-mails we were looking for so I didn't realize that this logging was occurring. In any event, having some more details for debugging (the subject, essentially) is still useful. Merging!


Media sometimes displays tiny when opened

Describe the bug
When opening media (images, videos) sometimes the size of the media is tiny. Clicking on it multiple times changes it size somewhat randomly.
This happens on Firefox, but not on Chrome.
To Reproduce
Steps to reproduce the behavior:

Go to a post with a picture or video
Click on it

Expected behavior
The picture or video should be visible and use all the screen.
Screenshots
Screen record from 2023-06-04 16.40.36.webm
Desktop (please complete the following information):

OS:  elementary OS 6.1 Jólnir Built on Ubuntu 20.04.6 LTS
Browser Firefox
Version 113.0.2 (64-bit)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@eliocamp is it possible to provide the link to that post? (so that I can replicate this issue on my side). If you're concerned about privacy, you can private mention me on<EMAIL_ADDRESS>🙇♂

Hi! I think I might have more information regarding this bug. I generally use my laptop with a second screen which I set up as the primary screen. But I noticed that I wasn't experiencing this issue when only using one monitor. Maybe some part of the code is computing the screen size to display media and getting the wrong size when there are multiple screens?

Well, scratch that. I'm now using the same laptop with just one screen and it's happening again. 😭

@eliocamp is it possible to try a different browser?

Chrome doesn't seem to have the issue.

I don't know if you changed something, but it now seems to be working correctly!

@eliocamp I didn't… change anything 😂 I suspect the browser got updated?

Maybe! I'm now on Firefox 121.0 and I'm not experiencing the issue. Since the issue was always sporadic, I'll give it a few days and if it doesn't return, I'll close the issue.

The bug still hasn't returned after several sessions, so I'm closing this. Thank you for all the work! 🤣


[UNDERTOW-1868] Use proper stream Id in HttpFramePriority to allow mo…

…re than initial push
Issue: https://issues.redhat.com/browse/JBEAP-21353
Upstream: https://issues.redhat.com/browse/UNDERTOW-1832

@baranowb This is already present at #1066 and #1067

Ach, ok, it wasnt linked to issue so I assumed its not, going to close it.


App crashes when running on iOS devices

error.txt
Details

Target Platform: iOS
Target OS version/browser: iOS 14.5
Devices: iPhone 12 pro Max
Logs

Logs

Analyzing gitter_lite...

   info • The value of the field '_initialUri' isn't used • lib/ui/pages/splash_page.dart:55:8 • unused_field
   info • The value of the field '_latestUri' isn't used • lib/ui/pages/splash_page.dart:56:8 • unused_field
   info • The value of the field '_err' isn't used • lib/ui/pages/splash_page.dart:57:11 • unused_field
   info • Unnecessary cast • lib/ui/pages/tab_navigator.dart:83:25 • unnecessary_cast
warning • Publishable packages can't have 'git' dependencies • pubspec.yaml:56:5 • invalid_dependency

5 issues found. (ran in 11.1s)

[✓] Flutter (Channel stable, 2.5.0, on macOS 11.5.2 20G95 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.5.0 at /Users/ying/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (4 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/ying/Library/Android/sdk
    • Platform android-31, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /Users/ying/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 59.0.4
    • Dart plugin version 212.4746.57

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5F5A06F-FC37-42B3-903A-B49A9E147131 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5
      (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 11.5.2 20G95 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 93.0.4577.63

• No issues found!

Same here after upgrade to Flutter 2.5

Hi @realkimmy I just tried running a flutter sample app on the iphone 12 pro max Simulator and it seems to work fine. Please share the output of flutter doctor -v and a minimal and complete reproducible code to better address the issue.
Also does the same code sample works on the older flutter version 2.2.3?
Thanks

@maheshmnj The app works fine when running on an android device.

a minimal and complete reproducible code to better address the issue.

@realkimmy  Could you please share?

Same here after upgrade to Flutter 2.5

@alejandrogiubel what version did you upgrade from?

I think that problem was Wakelock package. I downgrade to 0.5.3 and downgrade to flutter 2.3 and solve the problem.

I removed the ^ in front of the version number and solved it.

I removed the ^ in front of the version number and solved it.

Removing caret (^) indicates you will be using that specific version of the package for more you may refer this docs for more on the caret syntax. Provided your last comment I feel its safe to close this issue. If you disagree feel free to write in the comments and I will reopen it.
Thank you.


Implement http client / roundtripper support

Include support for Retry-After headers.
Include a default predicate for handling common connection related errors.

Added initial HTTP support 21327bb9e2251665f3db772040ba2ecfca5c61c6
TODO:

add defaults for Retry-After
add defaults for handling common connection related errors

HTTP support is now in main and will be released in 0.6.0.