New node for key_fetch/key_dump combo

Right now to fetch a key/value pair from a hash you need to do s(:block, s(:key_fetch, :name), s(:key_dump, :name)) and something is telling me this could be simplified.

There is now one in #27, called Morpher::Transform::Hash.


Girlscript Summer of Code Introduction/Tracking

👋 Hi @shyamtawli,
I am Prince,web developer(Core Team) Girlscript Summer of Code. I'll be collaborating with you on preparing your repo for GSSoC'24 Program
Why are these changes required?
After Analysing last year's contributions and feedback it would be great for students to have a couple of standard readme files on the repo to understand what the project is all about and some issues detailing what they can contribute. This will help you to see increased engagement in your repository as well.
As mentioned students get a chance to learn step by step, how to build this project as well as invite mentors to collaborate and add features to this repo. I will generate issues, which will provide guidance on how to prepare your repo for Girlscript summer of code 2024 on 10th May.
This issue will serve as a tracking issue to track all issues related to GSSoC'24. I recommend creating a new branch for every issue and opening a pull request to track changes so we can effectively collaborate with each other and merge changes when you and I feel like those changes are ready to be merged on your primary branch.
If you have any questions or concerns, please feel free to leave a comment on this issue or any of the other issues that are generated.
I look forward to working with you :octocat:

[x] #965
[x] #966
[ ] #967
[ ] #968
[ ] #969

I am GSSOC Contributor, would love to implement Database functionalities as well as Implementing a My Profile Page


Need to passthru bazel provider from one of command to multirun target

Hello!
I have a multirun that push and sign image sequential.
    multirun(
        name = "push_and_sign",
        commands = [
            ":push_index",
            ":attest",
            ":sign",
        ],
    )

In push_index target I have custom provider similar to PushInfo and need to be exposed after push_and_sign run.
Is it possible to do this?

Right now this isn't possible. As a quick workaround you could potentially wrap your multirun rule in another custom rule that used an aspect to extract the provider.
Thinking about how we could implement this in rules_multirun, the issue I see is about combining providers if multiple existed in the targets in commands.
In a theoretical world where you could pass an extra list of providers to the rule:
    multirun(
        name = "push_and_sign",
        commands = [
            ":push_index",
            ":attest",
            ":sign",
        ],
        propagate_providers = [PushInfo],
    )

We'd still have the issue in the implementation of how to pick these:
extra_providers = []
for command in ctx.attr.commands:
    for provider in ctx.attr.propagate_providers:
        if provider in command:
            extra_providers.append(provider) # This would cause issues if multiple targets had this provider

...

return extra_providers + ...

While this example wouldn't work I think if we could solve this issue we could come up with something. I think this example https://github.com/fmeum/rules_meta/blob/64ef1ae48adecb50d3101a7e7dff6c5c489cdc43/meta/internal/forwarding.bzl#L37-L40 does actually work how we'd need if we could solve this. I imagine we could do something complex around providing a way to pass a function to combine them, but that might get unwieldy from the caller side.


python38Packages.xdis: 5.0.5 -> 5.0.8

Motivation for this change
Fixes a failure on hydra.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117364 at 10cd7342 run on aarch64-linux 1

4 packages built successfully:

python38Packages.uncompyle6
unrpa (python38Packages.unrpa)
python38Packages.xdis
python39Packages.xdis

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/xdis/default.nix:27:3:
   |
27 |   meta = with lib; {
   |   ^

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/xdis/default.nix:30:5:
   |
30 |     license = licenses.gpl2;
   |     ^


Move libtorch download URL to global variables for friendlier setup.

Thanks to @branislavhesko for pointing me out the local runfile installer!

Very nice!! Thanks your continued improvements to OpenSpiel, this is great.


Always save e2e test logs

This PR ensures that logs from e2e tests are always saved, by default to ./bin/artifacts
Currently when running e2e tests locally with make the logs aren't saved by default.
This should not change the behaviour when tests are run in CI.
NONE

/kind cleanup
Signed-off-by: irbekrm<EMAIL_ADDRESS>

/test pull-cert-manager-e2e-v1-23


Add a Cypress test for secondary button color on hover

See https://github.com/pulumi/pulumi-hugo/issues/1308 and specifically https://github.com/pulumi/pulumi-hugo/issues/1308#issuecomment-1092342561 for further details

This is a great idea, but probably is not something we will prioritize soon. It has been in the backlog for 2.5 years. We will re-open if we decide to work on this.


Circularity detection, EmbeddedId and other fixes

The PR contains changes in the way circularity is detected (AssociationKey + mappedBy),  introduces EntitySelectFetchByUniqueKeyInitializer  and fixes some issues with EmbeddedId (circularity and PluralAttribute).
More tests have been backported

Thanks @NathanQingyangXu , applied your suggestions


Project > Goals > "Steps" value is fixed for "Ethno Art" and "Other" goal type

Roles: All
Describe the bug
Project > Goals > Steps value is fixed for Ethno Art and Other goal type
Steps to Reproduce

Login as a root user
Create a project and open a project detail page
Add LanguageEngagement and click on the View Details
Click on the Add Goal button and select Ethno Art goal type
Select methodology
Click on the Add Goal button and select Other goal type
Select methodology

Expected Result
Steps value should be changed according to goal type and methodology
Actual Result
Steps value is fixed for Ethno Art and Other goal type
See video -
https://user-images.githubusercontent.com/5212585/142390726-e43b66f7-0d4b-42b5-bdad-f1338f3d8c61.mp4
FYI: @ParkeBrown @michaelmarshall
cord-field# a43f7c0

I think this is working as expected. Here is a reference about the available steps for Ethno Art and Other goals.


Option to Draw Raw Waveform (which may be asymmetric)

In order to annotate certain signals (really, accelerometer data masquerading as .wav audio files), I need to be able to see if the signal transitions from high to low or low to high.
As I understand it, this is currently impossible with current framework, but I'm pretty sure a simple option to init() and a slight change to drawing code could provide this functionality.
Happy to write / test it, if you give me a hint as to where to look!
Thanks!

If I understand right, you want to achieve image like this:

You would need to change one or both of these functions:

getPeaks – extracts sampled maximum values from raw PCM data.

drawWave – the function that draws the waveform on Canvas.

Great, thanks! Have been playing with these.
Current struggle is that library seems to assume 44 kHz sampling rate...
resulting in drawing a width zero image for my ~100 Hz signal. Can you
suggest best place to make this change?
Thanks!
On May 10, 2015 1:52 PM, "katspaugh"<EMAIL_ADDRESS>wrote:

If I understand right, you want to achieve image like this:
[image: raw waveform]
https://camo.githubusercontent.com/e9595d9cb5bc2522ab597b1998b1ef4b026dd2a0/687474703a2f2f7765622e6d69742e6564752f392e32392f7777772f6e6576696c6c655f6a656e2f686d6d2f4d45415f5265706f72745f66696c65732f696d6167653030322e6a7067
You would need to change one or both of these functions:

getPeaks
https://github.com/katspaugh/wavesurfer.js/blob/a96738c6a1112252fe64289643ab3806a40643e2/src/webaudio.js#L180
– extracts sampled maximum values from raw PCM data.
drawWave
https://github.com/katspaugh/wavesurfer.js/blob/a96738c6a1112252fe64289643ab3806a40643e2/src/drawer.canvas.js#L68`
– the function that draws the waveform on Canvas.
—
Reply to this email directly or view it on GitHub
https://github.com/katspaugh/wavesurfer.js/issues/449#issuecomment-100699812
.

@nickarmstrongcrews the library isn't setting the sample rate anywhere. There might be an issue with low sample rates in Web Audio implementations (see a similar issue #353).


Better branding (icon and maybe also application name?)

I have made this issue for to-do list, because I don't have any straight suggestions right now but I'm working on it.
Current icon is good for starting, but it won't match with Adwaita or any other (for example Papirus I'm using) icon theme.
"No Sleep" seems to be simple and straightforward name, but it not easily translatable and won't mirror exact application functionality. For now it holds firstly screen alive and thanks to this system suspending is also avoided. So I think "No Sleep" is not the best name.
"Caffeine" is a good example with similar functionality - good name, icon and branding. We should do the same with this application. Good branding and icon have significant role to make application appealing, even if application is absolutely free and open source. App should be firstly so appealing, so users want to "buy" this for free.
@sigmaSd, can You agree with me?
EDIT
I made screenshots from my Dash to Dock with Papirus and Adwaita icon theme and No Sleep icon looks really out of place:

But I'm sure we can make things much better with time :+1:

I also had caffeine in mind , I even have it as a keyword in the metadata file.
I'm open to all suggestions you have thanks for your investment!

...I even have it as a keyword in the metadata file

I know it :wink:

I have concept for better branding.
Application name could be an Owl.
Quote from Wikipedia:

A night owl, evening person or simply owl, is a person who tends or prefers to be active late at night and into the early morning, and to sleep and wake up later than is considered normal; night owls often work or engage in recreational activities late into the night (in some cases, until around dawn), and sleep until relatively late in the day.

Owl is a bird, who stays awake when others are sleeping and staring with his/her big eyes. I think it's symbolizing very well this application functionality.
Icon is found from here: https://www.iconarchive.com/show/noto-emoji-animals-nature-icons-by-google/22278-owl-icon.html
It released under Apache 2.0 open source license so can be used and modified without any restrictions. I made icon colors brighter and changed look flatter, to meet better with up to date design language. This is WIP and not final:

@sigmaSd, if You don't like my concept for any reason, You are welcome to say that :wink:
My thoughts and visions are may not always the best and right ones.

The owl looks good actually, the name and the design is nice indeed.
But I want to entertain more ideas a bit more, How would caffeine looks (a coffee cup maybe) ?

But I want to entertain more ideas a bit more...

I agree, let's discuss this topic and there is no need to rush.
But if we change the name and icon, it would be wise to do that before the application becomes more mature and more users will use it.

... How would caffeine looks (a coffee cup maybe) ?

I have thought about something similar too, but it would be a just copying and a cliché. There is already many Caffeine derivates, so names like Caffeine, Coffee (cup), Awake, Keep Awake and No Sleep would be just one of many: https://alternativeto.net/software/caffeine-for-linux/
As You can see, in this list is many similar apps with coffee cup icon.
We have to use more related keywords in app metadata (caffeine, no sleep, keep awake etc) to make app visible and bring it out better in the search, but I will always prefer create something more original and unique.
My goal is to create something more unique and original, which is still logical and related with app features. There is no any Owl-named app right now (most similar is Meeting Owl video conferencing app, but it is not even available for Linux).
Anyway I will let You know if I got some other concept :slightly_smiling_face:

I see your argument is convencing indeed
For now I won't have time to work on this, but I guess if no more idea arise from here to next week , we can go with owl

I was not able to accept your invite in matrix, also inviting you didn't work.
I'm reachable in discord __mrcool__ or by email

I was not able to accept your invite in matrix, also inviting you didn't work.

Interesting, why? I'm very new in Matrix and I don't now much about this protocol yet. Maybe issue is from minds.com Matrix server where I have account. Now I have matrix.org account too and I will try invite you again.

I have been thinking but I have no better ideas. In my opinion, owl is pretty good and also visually memorable.
Do You have also some ideas?

Fixed in 0.5.3
The app id is still no sleep but I'll try changing it if it's not too annoying


add upload section

a section  which will contain an upload button ,that helps in uploading pictures and videos to the website and saves those in a database

I want to work for on this issue under kwoc , please assign me


Extend external modules declared in @types npm dependency

TypeScript Version:  nightly (2.0.0-dev.201xxxxx)
Code
npm i @types/estree;

// myESTreeExtension.ts
declare module 'estree' {
    interface MyAddon {
   }
}

// Some other file.ts
import * as estree from 'estree';

let a: estree.Node; // ERROR: [ts] Module ''estree'' has no exported member 'Node'.

Expected behavior:
I would expect i can extend an external module as described here: #280
Actual behavior:
The ambient module in myESTreeExtension.ts overrides the @types/estree types
Remark: I'm a big fan of the new work flow with @types. Great job!

make sure the file that contains the module augmentation is itself a module (i.e. includes at least one top-level import or export).
so this should work:
import * as estree from 'estree';

declare module 'estree' {
    interface MyAddon {
   }
}

Thanks @mhegazy, this works. When using the extensions you need to do this:
import * as estree from 'estree';
import 'myESTreeExtension';

let a: estree.Node; // Works
let b: estree.MyAddon; // Works as well

Sorry to ask here since the bug is closed but i have a similar problem with KoaJS definitions here.
The Koa definition file looks like this:
declare namespace Koa { }
export = Koa;
declare namespace Koa {
    export interface Context extends Request, Response {
    }
    // ... more things
}
declare class Koa extends EventEmitter {
   // ... things
}

And i want to be able to do something like (as suggested here and here):
import * as Koa from 'koa';
const server: Koa = new Koa();
server.name = 'UrbanScope';
server.context.db = db; // server.context is Koa.Context

But i keep getting TS2339 errors from tsc like:
src/server.ts(60,10): error TS2339: Property 'name' does not exist on type 'Koa'.
src/server.ts(63,18): error TS2339: Property 'db' does not exist on type 'Context'.

Following your advice i created a augment.ts file with:
import * as Koa from 'koa';
import { Db } from 'mongodb';
declare module 'koa' {
    namespace Koa {
        interface Context {
            db: Db,
        }
    }
    class Koa {
        name?: string;
    }
}

But the errors are still there 😨 , i tried with a number of export/namespace/class/declare combinations with no luck. Any idea on how to solve it?

given the way Koa is authored extending the class is not possible. as for the interface context, you should be able to do that as:
import * as Koa from 'koa';
import { Db } from 'mongodb';

declare module 'koa' {
        interface Context {
            db: Db,
        }
}

It works!
Thanks for you support!

I am having a similar issue, but for interface merging (adding new interfaces works just fine).
// index.d.ts for Router5
declare module 'Router5' {
   // ...
   interface Router {
       // ....
       stop(): Router;
   }
}

// some_extension.ts
import * as Router from 'router5';
declare module 'router5' {
    interface Router {
        foo(): void;
    }
}

// test.ts
import { Router } from 'router5';
import 'some_extension';

function test(router: Router) {
    router.foo(); // this is ok
    router.stop(); // TS2339: Property 'stop' does not exist on type 'Router'.
}

I'm trying to extend a class, but it seems to override the whole class with my new definition. F.e.:
import * as THREE from 'three'

declare module 'three' {
	export class OrbitControls {
		setCamera( cam: THREE.Camera ): void
	}
}

Now my code has no errors when using the setCamera method, but there is now a type error on the use of all the other stuff in the OrbitControls class, so it looks like the @types/three version was replaced with my version.
How do we extend the class defintion of a module?


Make playlist tracks mobile responsive

This makes the playlist track listing look better on mobile

The Spotify Web Playback SDK only supports desktop browsers: https://beta.developer.spotify.com/documentation/web-playback-sdk/#supported-browsers
To play on mobile without going through the Spotify app, we would need to have access to the Spotify native SDKs somehow. A middle ground could be linking the mobile app to another Spotify player (the app) and controlling it through this project. Then we could (maybe) get the customized playlist and other features of this project on mobile... thoughts?

Womp womp. And shuffling folders is already possible on the desktop app, so no need to pursue web playback much further.
I think that we need to treat this project more like a queue manager/controller.


Instance for Functor and (->)

I'm experimenting with instances of StringConv like:
instance (StringConv c a, StringConv b d) => StringConv (a -> b) (c -> d) where
  strConv _ fa = \x -> toS (fa (toS x))

instance (Functor f, StringConv a b) => StringConv (f a) (f b) where
  strConv _ = fmap toS

This allows to build higher level function using toS. For example toS getArgs :: IO [Text] and toS System.FilePath.addExtension :: Text -> Text -> Text.
I think that the (a -> b) and Functor instances are enough for most use cases. However is this an overkill feature for minor convenience ?

Actually this may be more respectful of the Leniency:
instance (StringConv c a, StringConv b d) => StringConv (a -> b) (c -> d) where
  strConv leniency fa = \x -> strConv leniency (fa (strConv leniency x))

instance (Functor f, StringConv a b) => StringConv (f a) (f b) where
  strConv leniency = fmap (strConv leniency)

My first impression here is that it feels too abstract. The implicit convention of StringConv is that the type in the b position of StringConv a b be one of the common string-like types, and as such the library is providing a way to import one function that can convert between string representations rather than importing Data.ByteString.Char8, Data.Text.Encoding, etc etc.
With this addition, I suppose you'd get StringConv [String] [Text] for example, but [Text] isn't really a string-like type and I don't see how that's an improvement over calling toS <$> strings. At best these seem like they wouldn't be used 99% of the time, and when they are used the user would probably have to view the source to figure out what the instances actually do.

You are right ;)


Documentation: Missing Part for just executing the binary

Hi,
I've recently installed the postgres exporter and wondered why there is no documentation step for just executing the binary. The documentation reads to me as if I could either compile the code myself, or run it in a docker container. Is this desired, or is this kind of installation and executing simply missing in the documentation?

Running the binary is well, just running the binary. It's a static go binary so how it's packaged and deployed is up to users/distributions/whatever.


Action menu items aren't keyboard accessible

Description
While I can use my keyboard to tab to a block and open the action menu, it is not possible to select any of the action options, i.e save, publish, etc.
Expected behaviour
I can use my keyboard to navigate and select actions such as 'Save' or 'Publish' for a block.
Versions affected
I've experienced this with 4.1.x-dev 37af945
It seems to be a regression as this was working fine in 4.0.3
Console errors:
Seen when first expanding the block with a keyboard action:
Assertion failed: Input argument is not an HTMLInputElement
Uncaught TypeError: Cannot read property 'type' of undefined     at e.setFieldValue (onloadwff.js:71)     at HTMLFormElement.formKeydownListener (onloadwff.js:71)

A behat test seems worthwhile to avoid this regressing again

This is working correctly for me on 4.1.x-dev bc9043a5f2b5b4f0dbe4968dde8b770f55cf86cd (no code changes between these commits). I'm using Chrome 75 on Mac. Tested with tabs into the menu after pressing enter to open it, as well as arrow keys to navigate its options.
What were you using to reproduce this issue?
FWIW this may have been a change in the admin module in the time that this issue was raised to now.

Also testing using bc9043a5f
I can tab to, open, and select items in the menu.
At first there was a little confusion between pressing enter and using the space bar to select items

enter is non-standard, using it will always open the content edit form for the block
space is the standard, using this everything works fine (I can load both content and settings forms)
arrow keys to navigate the menu once open also work (as opposed to tab/shift+tab)

https://gfycat.com/poshcalculatingarachnid


mupdf: Update checkver url

Relates to Excavator checkver failure due to change in releases url: https://github.com/ScoopInstaller/Extras/runs/5954605801?check_suite_focus=true#step:3:264

[x] I have read the Contributing Guide.

/verify


Add host attribute to various Paper API routes

/docs/create, and /docs/update are Content-upload endpoints.
/docs/download is a Content-download endpoint.
Their style are defined, but they were missing the host definition.

This will allow us to generate working client code in https://github.com/dropbox/dropbox-sdk-go-unofficial/.
See official documentation https://www.dropbox.com/developers/documentation/http/documentation#paper-docs-create
ENDPOINT FORMAT
Content-upload

While these endpoints are Content-upload/Content-download style endpoints, they are not actually on the content host. These should use the api host, which is the default for host.

I see. But, I was under the impression it would work with the host set to content because of the official documentation, and because the code generator works as expected with content as a value for the unofficial Go client: https://github.com/dropbox/dropbox-sdk-go-unofficial/blob/master/generator/go_client.stoneg.py#L124.


Fixes for Non-Optional Crash and iOS Comp

[FIX] Converted substr to prefix for iv.
[FIX] Data was not optional, so would crash app on load. Fixed by using a optional check, and default value.

Thanks! please let the function return "" on error. Also if the String prefix fix is just working on Swift 4 then please use a compiler switch like this https://github.com/SwiftyBeaver/SwiftyBeaver/blob/master/Sources/BaseDestination.swift#L291

I can definitely return “” as that makes more sense. The String prefix fix is to stop the yellow warning flag on compile with iOS 11, but works on anything prior to 11 as well. I will make the “” change, and resubmit the merge request.
-Dakotah

On Feb 26, 2018, at 1:52 AM, Sebastian Kreutzberger<EMAIL_ADDRESS>wrote:
Thanks! please let the function return "" on error. Also if the String prefix fix is just working on Swift 4 then please use a compiler switch like this https://github.com/SwiftyBeaver/SwiftyBeaver/blob/master/Sources/BaseDestination.swift#L291 https://github.com/SwiftyBeaver/SwiftyBeaver/blob/master/Sources/BaseDestination.swift#L291
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SwiftyBeaver/AES256CBC/pull/27#issuecomment-368430155, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkAggmW91fwO7rP0BEs_9RQ6WFbqcqOks5tYnDMgaJpZM4SS3I6.

Great! Does it also work on Swift 3.1? I know there were changes between 3.1 and 3.2 / 4.0 and a lot users still are running on Swift 3.1

Somehow CircleCI never finished that issue. Can you please submit a small change or so so that CircleCI can run again?


Generate or refresh cheevos token at startup

Batocera needs this to support fixes for #13111

You should not do that in the main function, but in a thread instead !


Feature/ic2 45 cache unit test

Add Unit test to all caches
Fix minor bugs in ActivePrepCache
Change method name of GetSnapShot to Flush

We need to talk about empty cache management.
Reset() : revert the changes
Flush() : write cache to DB
I think empty cache must deleted in Reset() and Flush()
Error case

TX1 delete Account A -> cache of Account A is empty
TX1 failed and cache.Reset() -> Account A remains empty
following TXs do not lookup Account A
cache.Flush() will delete Account A

is it right?

We need to talk about empty cache management.
Reset() : revert the changes
Flush() : write cache to DB
I think empty cache must deleted in Reset() and Flush()
Error case

TX1 delete Account A -> cache of Account A is empty
TX1 failed and cache.Reset() -> Account A remains empty
following TXs do not lookup Account A
cache.Flush() will delete Account A

is it right?

I added PrepManage.go, removing BigIntZero

I added PrepManage.go, removing BigIntZero


feat(rating-menu): implement getRenderState and getWidgetRenderState

This implements the getRenderState and getWidgetRenderState widget lifecycle hooks in ratingMenu.

Fixed the tests, and yes since it is not a public API this change is fine IMHO :slightly_smiling_face:


[Servicebus/Eventhub]: Deprecation Alert for az servicebus migration update az eventhubs georecovery-alias update az servicebus georecovery-alias update cmdlets

… update az eventhubs georecovery-alias update az servicebus georecovery-alias update` cmdlets
Related command

Description

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.

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

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Servicebus/Eventhub


Address clippy lint warnings for rust 1.57

I noticed this while building Raspotify packages. Let's see if it doesn't trip up rust 1.48?

I still don't understand why we even test against 1.48 when no one is actually going to be building with 1.48? Our own compile instructions tell devs to use the latest rust version:

Install Rust
The easiest, and recommended way to get Rust is to use rustup. Once that’s installed, Rust's standard tools should be set up and ready to use.

What we recommend as a development environment is not the same as what we support as MSRV. If anything, that page should read that PR's should also be tested with cargo +1.48 build. I have nothing new to say about that MSRV.


Navigation pills with dropdown not toggling properly on tablet

On Safari on the iPad 3 (iOS 7.1):
When using the pills navigation with dropdowns, clicking on a pill will only show the dropdown when all menus are closed. Clicking any of the pills with a dropdown menu open will close the current one, but not open the one clicked.
Reproduced at http://getbootstrap.com/javascript/#dropdowns

Click on "Within pills" > "dropdown", the dropdown is now shown.
Click on "Within pills" > "dropdown 2", the previous dropdown is hidden, the new dropdown is not shown.

Issue does not affect desktop.
Disabling the creation of the '.dropdown-backdrop' div solves the issue, but then the menus won't close when clicking elsewhere in the website.
For as far as I can see, clicking the second pill invokes 2x "clearMenus()", but no "toggle()".

Any chance someone will look at this? I think there is some work around we just have to incorporate it.

The current behavior is documented in "Navbar Dropdowns" on http://getbootstrap.com/getting-started/#support-fixed-position-keyboards


Upgrade script should inform users that gitea service has to be running in order to upgrade it

Description
I'm running a non-docker install on a Debian VPS, and was upgrading from 1.18.3 to 1.19.0, using the upgrade script found here: https://github.com/go-gitea/gitea/blob/main/contrib/upgrade.sh
Following the backup steps, I stopped the gitea service with #systemctl stop gitea, did the manual backups, and then ran the upgrade script # ./upgrade.sh.
This upgrade script expects the service to be running (since it runs the flush queues command before making a backup), so when it encounters an Internal Server Error, it should suggest you have the service running before executing the upgrade script.
Gitea Version
1.18.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian
How are you running Gitea?
Using a prebuilt binary fetched with the Upgrade script. Original install came from Linode Marketplace (which had something like 1.16.x)
Database
PostgreSQL

Closed by #23949
But, actually, the script should not require Gitea is running, it should just ignore the "flush queue" failure if there is no running instance.

You linked this issue and not the PR, btw!


[SPARK-12541]  [SQL] support cube/rollup as function

This PR enable cube/rollup as function, so they can be used as this:
select a, b, sum(c) from t group by rollup(a, b)

Test build #48453 has started for PR 10522 at commit bf6603f.

Test build #48453 has finished for PR 10522 at commit bf6603f.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait GroupingSet extends Expression with CodegenFallback
case class Cube(children: Seq[Expression]) extends GroupingSet
case class Rollup(children: Seq[Expression]) extends GroupingSet

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48453/
Test FAILed.

Merged build finished. Test FAILed.

Test build #2262 has started for PR 10522 at commit cb3bf48.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48460/
Test FAILed.

Merged build finished. Test FAILed.

Test build #2262 has finished for PR 10522 at commit cb3bf48.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48676/
Test FAILed.

Test build #2312 has started for PR 10522 at commit 7350035.

LGTM

Test build #2312 has finished for PR 10522 at commit 7350035.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Cube(groupByExprs: Seq[Expression]) extends GroupingSet
case class Rollup(groupByExprs: Seq[Expression]) extends GroupingSet


[FLINK-16921][e2e] Disable K8s tests until instability is resolved

What is the purpose of the change
Disable an unstable e2e test.

Azure is almost green in my private build for this: https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7082&view=logs&j=e428c73e-5bb8-51ab-b1f4-da736192251d&t=fb85e9b1-9460-5259-9251-5d7b922523ea

Is this test always failing? I've seen it reported only once in the last 1+ month. If so, maybe disabling it is an overkill?

2/3 finished master builds today failed with this, yesterday all nightly runs failed with this.

Ahh, I'm getting old and blind. I was looking at https://issues.apache.org/jira/browse/FLINK-16291 instead of https://issues.apache.org/jira/browse/FLINK-16921


Bug fix on force getting of task when index input exceeds list size

Fixes Issue #75

Coverage decreased (-0.07%) to 40.781% when pulling 4bb5638eab6472d001986d67fd7e6c4994b71564 on features/fix_delete_feedback into db0ff0cae5326801a7a0bfbe573351f9192471d3 on master_V0.3.


when declare routes with out prefix "/", the swagger doc doesn't add it automated

this is my code here, and the actix allows this gramma, though it recommends to use #[post("/register")]  with the prefix  /
#[api_v2_operation]
#[post("register")]
async fn register() -> HttpResponse {
    HttpResponse::Ok().body("test app")
}

and I think it's better for paperclip to add the prefix / automated if it doesn't exist.

Wish to be better~


ijq: 1.1.0 -> 1.1.1

Description of changes
This PR includes a patch version bump, nix formatting, relocation to pkgs/by-name, and finally I'd like to volunteer to help maintain this package so I've added myself to the list of maintainers.
Version update changes: https://github.com/gpanders/ijq/compare/v1.1.0...v1.1.1.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 333783 run on x86_64-linux 1

1 package built:

ijq

Result of nixpkgs-review pr 333783 run on x86_64-darwin 1

1 package built:

ijq

I addressed PR feedback in the same commit as I ran the formatter.


Fix etcd KeyTest

Key creates use the PUT verb, not POST.
Also turned off parallel test execution which was causing test failures not to be reported.

⭐  Whoa, nice catch.

:star:


[WIP]DT-906: Moved and extended spy entity usage rule

Looks good to me.

typo in your changelog: Depricated
why deprecating if you make a minor (sem major)?


Replace anyhow with eyre

narwhal interface change to eyre, we should replace all anyhow with eyre in sui as well
Originally posted by @joyqvq in https://github.com/MystenLabs/sui/pull/3891#discussion_r942582735

working on this this week.


[QUESTION] How do I override the store and download methods in Maatwebsite\Excel\Exporter?

Prerequisites

[X ] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X ] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X ] Checked that your question isn't already asked before.
[ X] Filled in the entire issue template

Versions

PHP version: PHP 7.2.19 (cli) (built: May 29 2019 13:58:59) ( ZTS MSVC15 (Visual C++ 2017) x64)
Laravel version: Laravel Framework 5.8.28
Package version: 3.1.14

Description
How do I override the store and download functions in Maatwebsite\Excel\Exporter?
I want it to default to s3.
Additional Information
I want to implement the store and download functions in my export class:
class FilterReportExport implements FromCollection, WithHeadings, WithCustomCsvSettings, Exporter
But I'm not sure how to override the functions?

Read the custom disks section from the docs. You can pass the disk as the third parameter.

As @fabricecw said, you have to pass the disk as third parameter or use the protected $disk = 's3' property in combination with using the Exportable` trait in your export class.

The protected property is what I was looking for. Thank you for your help. Adding this to your docs will help quite a bit as well. Have a great day further.

Feel free to PR it to the docs!


[Snyk] Upgrade dockerode from 3.3.5 to 4.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade dockerode from 3.3.5 to 4.0.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

The recommended version is 1 version ahead of your current version.
The recommended version was released 23 days ago, on 2023-10-11.

Release notes

Package name: dockerode

4.0.0 - 2023-10-11v4.0.0

3.3.5 - 2023-03-12v3.3.5

    from dockerode GitHub release notes

Commit messages

Package name: dockerode

1848635 major bump
428f22a Update main.yml
a4a3776 Update main.yml
edf29cc readme
20f6a8d readme
bb88194 Merge pull request #720 from CoderPad/fix-put-archive-result
bd0e2d3 fix: putArchive should not return a stream
5078006 Merge pull request #695 from kb2ma/build_image_stuck
9e49cc7 package lock
7704374 package-lock
db00bd0 Add buildImage() tests that use no-callback, Promise based path
f0a5338 Remove promise nesting when no callback

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 98.209%. remained the same
when pulling 79a47aa31228da4d5d8255bd580fc28d1ed711ed on snyk-upgrade-5f38b07bd223125a34f0a3cb8241eba1
into 7640be864c24a776866bd18a7dc185e78db5b709 on main.


Theme back and apply button in preview

Make Apply button in the preview adhere to the them of the apply button in the list view
Allow for themeing of the back button in the preview
Make textsize of apply and back buttons in the preview the same as the ones in the list view

Edit: the CI seems to have some network problems.

Hey, since there's now PR #77 which seems to be clean, should we just forget about this one?
Also, just a question: Why did you want to make the apply and back text sizes in the preview smaller than the ones in the grid view?

@M3psipax
Thanks for you contribution anyway. I'll close this PR.
I checked the design again. It's my fault, I miscoded the text size. They all should be 16sp.

Okay, no worries. I'm glad the features are going into the library no matter who does it! :)


misplaced ECO and psi-mi ontology references

ECO term  (MI:1331)is described as :

The Evidence Ontology (ECO) describes types of scientific evidence
within the realm of biological research that can arise from laboratory
experiments, computational methods, manual literature curation, and
other means.

Interaction database branch (MI:0461)is described as:

Databases that contain experimental or predictive molecular interaction
data.

These two do not get together no matter how hard I try :o/  The same
actually applies to psi-mi self-reference term (MI:0488) - both are
describing ontologies, not interaction databases. Can they be moved out
of interaction database branch either one level up to 'database' (then
each is pretending to be a 'database' of terms, which seems to be
somewhat ok) or to a new, more specific, 'controlled vocabulary' term
within 'database' (MI:0444) with a definition that states, more or less,

A collection of words and phrases, which are used to tag units of
information (e.g. database records or their parts) so that they may be
more easily retrieved by a search.

The whole database branch needs thorough revision, I fully agree with this issue. I will devote some more time to revise the current classification and shuffle terms around and come back to you about this.

Both ECO and EDAM have been moved from being children of 'interaction database' to 'experiment database', which much more accurately describes the type of resources they really are.

On 11/19/19 8:43 AM, Pablo Porras wrote:

Both ECO and EDAM have been moved from being children of 'interaction database' to 'experiment database', which much more accurately describes the type of resources they really are.

looks better :o)
thanks
lukasz
--
Lukasz Salwinski                             PHONE:<PHONE_NUMBER>
UCLA-DOE Institute                             FAX:<PHONE_NUMBER>
UCLA, Los Angeles                            EMAIL<EMAIL_ADDRESS>


Document BioSources.tsv

Document the file.
Note: the last column is not relevant for computation. It's only for human readability/debugging.

@egonw is it still relevant?

I have not idea. If we do not know, let's just close it.


Passing context to functions passed into withText

Passing context to functions passed into withText. This is required for abstractions we have built on top of preact-i18n.
This is not a breaking change, and all tests pass.

That has been incorporated into version 1.1.2


Import-Module MicrosoftTeams - No error received, yet no Module imported

Hello,
running Import-Module MicrosoftTeams sometimes results in the command completing without error, yet the Module is not imported at all.
Previously I could help myself with the -Force switch, though throughout testing today, this was not successful either!
My current workaround is as follows:
Import-Module MicrosoftTeams -Force -Global
Why is that?
PowerShell v7.2.0-preview.2 does not seem to be affected.
PowerShell v5.1 however is:
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.610
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.610
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

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

ID: 6804423b-8e08-5916-9355-6bebe8bb08b0
Version Independent ID: aa669763-6470-cc61-ea8d-52aee886f986
Content: MicrosoftTeamsPowerShell Module
Content Source: teams/teams-ps/teams/teams.md
Service: teams-powershell
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Hello @DEberhardt David, how are you?
Tested to see if we needed to maybe correct any article..
I also have 5.1.19041.610 PSVersion, I tested and could successfully import the module every time.
Hope this information helps you,
Thanks!

@get-itips Thank you very much for the contribution and sharing this explanation. @DEberhardt Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Show modified date for the blog with creation date

There should be an option to show blog content updated/modified dates.

Can I work on this issue?

Should I add the modification date above the Related Posts section as shown in the example below or somewhere else?

@rajlomror @McTechie @AR10X
This will be at the same place where we have the published date. After new changes in any blog, this will be replaced with the last updated on .
This should not impact the order of blogs we are displaying.

Yes @BhandarkarPawan You can pick this

@BhandarkarPawan May we please know your status on this?


Deploy BOBA oracle on Rinkeby

Codecov Report

Merging #318 (32a95dd) into develop (6595c63) will increase coverage by 17.75%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #318       +/-   ##
============================================
+ Coverage    71.67%   89.43%   +17.75%
============================================
  Files           68       33       -35
  Lines         2270     1088     -1182
  Branches       336      151      -185
============================================
- Hits          1627      973      -654
+ Misses         643      115      -528

Flag
Coverage Δ

batch-submitter
?

contracts
89.43% <ø> (ø)

core-utils
?

data-transport-layer
?

message-relayer
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../src/services/l2-ingestion/handlers/transaction.ts

...ckages/data-transport-layer/src/utils/constants.ts

packages/data-transport-layer/src/utils/eth-tx.ts

packages/batch-submitter/src/utils/index.ts

packages/batch-submitter/hardhat.config.ts

packages/core-utils/src/index.ts

packages/core-utils/src/fees.ts

packages/core-utils/src/common/misc.ts

packages/core-utils/src/alias.ts

packages/data-transport-layer/src/utils/common.ts

... and 25 more

Continue to review full report at Codecov.

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


[Feature] iOS set file / folder attributes

Hello,
We already have ReactNativeBlobUtil.ios.excludeFromBackupKey for iOS. It would be great to also have a way to change file attributes (e.g., to set NSFileProtectionKey on files and folders).
Thoughts on how to accomplish this? I guess we could copy something like this https://github.com/itinance/react-native-fs/blob/master/RNFSManager.m#L123
Rather than a new method, it could also be part of mkdir and writeFile.  But if we want to follow the same idea of excludeFromBackupKey, it really has to be a new method

Personally I prefer to not have to make  multiple calls for first writing / moving a file and then setting the attribute (at least for the public api). But in general there should be the possibility to do it separately too.
Sadly I don't have the time to rework the whole library to clean such things up.
But I would suggest the following:

Internally make a own method for it
Public a new method like "set file properties" to set e.g. NSURLIsExcludedFromBackupKey andNSFileProtectionKey
keep old method for combability reasons
new options for move / write to directly set the options

But I probably won't have time to implement this before august


Question : Can it be used for cicd ?

here my usecase.  I want to deploy my applications on multiple namespaces

dev
qa
PR-111  (for Pull request)

my services could look like that
chuck-service:8080
quote-service:8080
I'm on premise with nginx-ingress and with metallb as loadbalancer
I'll expose nginx-controler as daemonset with a external IP : <IP_ADDRESS>
for ingress
/chuck  -> chuck-service:8080
/quote -> quote-service:8080
I want to have those applications to be accessible for from outside on <IP_ADDRESS> (I can't expose new IP)
the domain (inside-my-company.com) name it not register in external DNS
ex :
dev.inside-my-company.com/chuck
dev.inside-my-company.com/quote
qa.inside-my-company.com/chuck
qa.inside-my-company.com/quote
....

yeah, that should work out of the box. As soon as you define an Ingress, this plugin will return the IP of your ingress controller for every unique hostname of your Ingresses.

How can I do that ? For now I only have one version and it’s in the default namespace. like
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: chuck
  annotations:
    # this important https://docs.konghq.com/kubernetes-ingress-controller/1.3.x/references/annotations/#konghqcomstrip-path
    konghq.com/strip-path: "true"
spec:
  ingressClassName: kong
  rules:
    - http:
        paths:
          - path: /quote
            pathType: Prefix
            backend:
              service:
                name: reactive-quote-service
                port:
                  number: 8080
          - path: /chuck
            pathType: Prefix
            backend:
              service:
                name: chuck-quote-service
                port:
                  number: 8080

Here the list of my services. Kong is my ingress controller
vagrant@enroute-master:~$ kubectl get svc --all-namespaces
NAMESPACE     NAME                      TYPE           CLUSTER-IP       EXTERNAL-IP      PORT(S)                      AGE
default       chuck-quote-service       ClusterIP      <IP_ADDRESS>   <none>           8080/TCP                     12h
default       exdns-k8s-gateway         LoadBalancer   <IP_ADDRESS>    <IP_ADDRESS>   53:30186/UDP                 11h
default       kubernetes                ClusterIP      <IP_ADDRESS>        <none>           443/TCP                      13h
default       reactive-quote-service    ClusterIP      <IP_ADDRESS>    <none>           80/TCP                       12h
kong          kong-proxy                LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   80:30092/TCP,443:31098/TCP   12h
kong          kong-validation-webhook   ClusterIP      <IP_ADDRESS>    <none>           443/TCP                      12h
kube-system   exdns-2-k8s-gateway       LoadBalancer   <IP_ADDRESS>     <IP_ADDRESS>   53:30389/UDP                 11h
kube-system   ext-dns-tcp               LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   53:32759/TCP                 11h
kube-system   ext-dns-udp               LoadBalancer   <IP_ADDRESS>    <IP_ADDRESS>   53:31119/UDP                 11h
kube-system   kube-dns                  ClusterIP      <IP_ADDRESS>       <none>           53/UDP,53/TCP,9153/TCP       13h
test          chuck-quote-service       ClusterIP      <IP_ADDRESS>    <none>           8080/TCP                     12h
test          reactive-quote-service    ClusterIP      <IP_ADDRESS>    <none>           80/TCP                       12h
vagrant@enroute-master:~$

I have 2 applications
    chuck-quote-service
    reactive-quote-service

For those 2 applications, I want to deploy them in dev, qa… namespaces and modify the ingress rules for that.and I need to access those applications from outside my cluster, like
http://dev.example.org/chuck
http://qa.example.org/chuck

I’m looking to reproduce that setup on bare-metal with kubernetes 1.20 configured with kubeadm.

I try this but it didn't work
vagrant@enroute-master:~$ kubectl -n kube-system get cm coredns -o yaml
apiVersion: v1
data:
  Corefile: |
    .:53 {
        errors
        health {
           lameduck 5s
        }
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           fallthrough in-addr.arpa ip6.arpa
           ttl 30
        }
        k8s_external k8s.home.mydomain.com
        k8s_gateway example.org

        prometheus :9153
        forward . /etc/resolv.conf {
           max_concurrent 1000
        }
        cache 30
        loop
        reload
        loadbalance
    }
kind: ConfigMap
metadata:
  creationTimestamp: "2021-06-18T22:44:15Z"
  name: coredns
  namespace: kube-system
  resourceVersion: "10708"
  uid: 66bfaf2a-5288-495f-b036-58f271efda35

and I obtain this
vagrant@enroute-master:~$ curl http://dev.example.org/chuck
curl: (6) Could not resolve host: dev.example.org

first of all, the domain you specify in k8s_gateway configuration MUST match the subdomain of your ingresses. you can have multiple domains if you wish, but at least one of them should match. For example, you can have a configmap with:
k8s_gateway k8s.home.mydomain.com k8s.work.mydomain.com
then in your ingress spec, you must have either spec.rules[0].host: "foo.k8s.home.mydomain.com" or spec.rules[0].host: "foo.k8s.work.mydomain.com".  As a side note, always make sure you explicitly set host in your ingress spec, don't leave if empty.
second, you must make sure your domain has been delegated correctly. what you're trying to do with example.org will never work since you don't own this domain(unless you modify your DNS resolver). Basically, you need to make sure that a DNS query ends up hitting <IP_ADDRESS>.
the right way to test would be to:

dig foo.k8s.work.mydomain.com @<IP_ADDRESS> -> make sure it returns the IP of your ingress controller
curl foo.k8s.work.mydomain.com

thanks.  The final setup will be in a closed network.  No internet.  So to make it work, I need to create a entry on each local computer in /etc/hosts  example.org -> <IP_ADDRESS>
or add that entry into our company dns server.

I should try with /etc/hosts locally (vagrant it's perfect for that),
when it works locally, find a way to persuade the IT network team to add those entry

is it possible to setup a private DNS server in kubernetes, that I could use in vagrant, to simulate that it works.  If you have a name of a opensource dns that could do that, just let me know.
and thanks again for your help and time

yes, you can use standard coredns for that. for example, you can use a file plugin to configure static entriesm including any zone delegation. https://coredns.io/plugins/file/

You pass the right header when it's in your URL. So curl http://dev.kubernetes.com would create the Host: dev.kubernetes.com header.
You can certainly have a different prefix for each environment as in your last example but this is not the best way to do it.
Ideally, you'd have different hosts for each ingress so that the output would look something like this :
root@test-pcl4014:~# kubectl -n dev get ingress
NAME               CLASS    HOSTS                       ADDRESS      PORTS   AGE
gateway            <none>   gw.kubernetes.comact.com   <IP_ADDRESS>   80      176m
production-wui     <none>   prod.kubernetes.comact.com   <IP_ADDRESS>   80      174m
twin-api-service   <none>   api.kubernetes.comact.com   <IP_ADDRESS>   80      13m
root@test-pcl4014:~#

Assuming you've got DNS zone delegation setup for kubernetes.compact.com and point it at the k8s_gateway IP, you should be able to do curl gw.kubernetes.comact.com and get to right backend.

The reason they all have the same host name it' because it will look like that
root@test-pcl4014:~# kubectl -n dev get ingress
NAME               CLASS    HOSTS                       ADDRESS      PORTS   AGE
gateway            <none>   dev.kubernetes.comact.com   <IP_ADDRESS>   80      176m
production-wui     <none>   dev.kubernetes.comact.com   <IP_ADDRESS>   80      174m
twin-api-service   <none>   dev.kubernetes.comact.com   <IP_ADDRESS>   80      13m
root@test-pcl4014:~#

root@test-pcl4014:~# kubectl -n qa get ingress
NAME               CLASS    HOSTS                       ADDRESS      PORTS   AGE
gateway            <none>   qa.kubernetes.comact.com   <IP_ADDRESS>   80      176m
production-wui     <none>   qa.kubernetes.comact.com   <IP_ADDRESS>   80      174m
twin-api-service   <none>   qa.kubernetes.comact.com   <IP_ADDRESS>   80      13m
root@test-pcl4014:~#

root@test-pcl4014:~# kubectl -n prod get ingress
NAME               CLASS    HOSTS                       ADDRESS      PORTS   AGE
gateway            <none>   prod.kubernetes.comact.com   <IP_ADDRESS>   80      176m
production-wui     <none>   prod.kubernetes.comact.com   <IP_ADDRESS>   80      174m
twin-api-service   <none>   prod.kubernetes.comact.com   <IP_ADDRESS>   80      13m
root@test-pcl4014:~#

and I don't have a dns server for now and I don't want to play with the hosts file on Windows on each computer.  I think it could work like that for a "DEV" setup.  and for production.. I'll have to come back to check how to setup the dns zone delegation.

I think my next step is to install a DNS Server and automatically push the new domain names into that DNS Server.
I'm on ubuntu 20.04  if you have any suggestions.

I followed this guide : https://www.linuxtechi.com/install-configure-bind-9-dns-server-ubuntu-debian/
and that one : https://www.linuxbabe.com/ubuntu/set-up-local-dns-resolver-ubuntu-20-04-bind9
from the first tutorial I replaced  : linuxtechi.local   by cluster114.local
node name : node114
and my node IP is : <IP_ADDRESS>
my loadbalancer is : <IP_ADDRESS>
I added on another node the DNS : <IP_ADDRESS>.14 and the netplan
and I'm able to reach my domain name
from node4
curl http://dev.cluster114.local
and I received a response  (host matched in ingress)
Now.. if I add a new ingress for a new host.. like  qa.cluster114.local
can that information to forwarded to BIND9 dns server automatically ?

for any dynamic behaviour  you need to delegate to k8s_gateway. By default a DNS server will have static configuration, that's not supposed to change much. So let's assume you want to delegate cluster114.local to your k8s cluster.  First, you'd need to deploy k8s_gateway and get the IP that got assigned to it by a LB, e.g.g <IP_ADDRESS>. Then your BIND zone file would looks like this ( I haven't actually tested this so there maybe errors)
...
k8s-ns1	IN	A	<IP_ADDRESS>	; glue record
;
$ORIGIN cluster114.local.
$TTL 1D
@		IN  NS  k8s-ns1.cluster114.local.

Once you have the domain delegation set up, k8s_gateway will do the rest for you. It will resolve any domain under cluster114.local, e.g. qa.cluster114.local or dev.cluster114.local based on the current state IPs assigned to those ingresses in your cluster.

Here the procedure that I try to apply to add k8s_gateway to handle the domain names.  It doesn't work so far.
I copied cluster114.local configuration to cluster111.local and try to redirect clsuter111.local -> k8s_gateway IP.
I installed k8s_gateway
helm install exdns --set domain=cluster111.local k8s_gateway/k8s-gateway

Here are the list of my loadbalancer
NAMESPACE       NAME                                       TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                               AGE
default         exdns-k8s-gateway                          LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>    53:31281/UDP                          25m
nginx-ingress   ingress-nginx-controller                   LoadBalancer   <IP_ADDRESS>     <IP_ADDRESS>    80:31224/TCP,443:31751/TCP            9d

Here are my 2 ingress
NAMESPACE   NAME                CLASS    HOSTS                  ADDRESS      PORTS   AGE
dev         production-wui      <none>   dev.cluster114.local   <IP_ADDRESS>   80      43h
qa          production-wui      <none>   qa.cluster111.local    <IP_ADDRESS>   80      69m

Here my ingress file for production-wui in qa namespace
root@test-pcl4014:/etc/bind# kubectl -n qa get ingress production-wui -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    meta.helm.sh/release-name: production-wui
    meta.helm.sh/release-namespace: qa
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
  creationTimestamp: "2021-07-01T13:28:56Z"
  generation: 2
  labels:
    app.kubernetes.io/managed-by: Helm
  name: production-wui
  namespace: qa
  resourceVersion: "17559724"
  uid: 2aa3b241-1499-4d5b-b0ae-f6908fc84b40
spec:
  rules:
  - host: qa.cluster111.local
    http:
      paths:
      - backend:
          service:
            name: production-wui
            port:
              number: 80
        path: /production(/|$)(.*)
        pathType: Prefix
status:
  loadBalancer:
    ingress:
    - ip: <IP_ADDRESS>

If I try to connect to the applications (dev.cluster114.local works)
root@test-pcl4014:/etc/bind# curl http://dev.cluster114.local/production
<!doctype html><html><head><meta charset="utf-8"><script>window.publicPath = "/" + window.location.pathname.split("/")[1] + "/";

root@test-pcl4014:/etc/bind# !curl
curl http://qa.cluster111.local/production
curl: (6) Could not resolve host: qa.cluster111.local
root@test-pcl4014:/etc/bind#

My node information
root@test-pcl4014:/etc/bind# hostname -I
<IP_ADDRESS> <IP_ADDRESS>

systemd-resolve --status
Global
       LLMNR setting: no
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
         DNS Servers: <IP_ADDRESS>
Fallback DNS Servers: <IP_ADDRESS>
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test
...

BIND configuration
I modified the file : named.conf.local  (I didn't include a reserve lookup for cluster111.local because I can't have 2 zones with the same name.. I didn't find how to fix that)
zone    "cluster114.local"   {
        type master;
        file    "/etc/bind/forward.cluster114.local";
 };

zone   "0.1.10.in-addr.arpa"        {
       type master;
       file    "/etc/bind/reverse.cluster114.local";
 };

zone    "cluster111.local"   {
        type master;
        file    "/etc/bind/forward.cluster111.local";
 };

Content of the file : forward.cluster114.local
$TTL    604800

@       IN      SOA     primary.cluster114.local. root.primary.cluster114.local. (
                              6         ; Serial
                         604820         ; Refresh
                          86600         ; Retry
                        2419600         ; Expire
                         604600 )       ; Negative Cache TTL

;Name Server Information
@       IN      NS      primary.cluster114.local.

;IP address of Your Domain Name Server(DNS)
primary IN       A      <IP_ADDRESS>

;Mail Server MX (Mail exchanger) Record
cluster114.local. IN  MX  10  mail.cluster114.local.

;A Record for Host names
www     IN       A       <IP_ADDRESS>
mail    IN       A       <IP_ADDRESS>
dev     IN       A       <IP_ADDRESS>

;CNAME Record
ftp     IN      CNAME    ftp.cluster114.local.

Content of the file :  reverse.cluster114.local
$TTL    604800
@       IN      SOA     cluster114.local. root.cluster114.local. (
                             21         ; Serial
                         604820         ; Refresh
                          864500        ; Retry
                        2419270         ; Expire
                         604880 )       ; Negative Cache TTL

;Your Name Server Info
@       IN      NS      primary.cluster114.local.
primary IN      A       <IP_ADDRESS>

;Reverse Lookup for Your DNS Server
14      IN      PTR     primary.cluster114.local.

;PTR Record IP address to HostName
14      IN      PTR     www.cluster114.local.
14      IN      PTR     mail.cluster114.local.
55      IN      PTR     dev.cluster114.local.

Here it's the content of forward.cluster111.local
k8s-ns1	IN	A	<IP_ADDRESS>	; glue record
;
$ORIGIN cluster111.local.
$TTL 1D
@		IN  NS  k8s-ns1.cluster111.local.

What I missed ?

                              IN      A

;; AUTHORITY SECTION:
cluster111.local.       604600  IN      SOA     k8s-ns1.cluster111.local. root.k8s-ns1.cluster111.local. 6<PHONE_NUMBER>0 2419600 604600

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Thu Jul 01 13:16:05 EDT 2021
;; MSG SIZE  rcvd: 141

root@test-pcl4014:~#

I added a new host in ingress, and the domain started with .qa are still not resolved.
root@test-pcl4014:~# kubectl -n qa get ingress
NAME             CLASS    HOSTS                                             ADDRESS      PORTS   AGE
production-wui   <none>   qa.cluster111.local,qa.ks8-ns1.cluster111.local   <IP_ADDRESS>   80      3h47m
root@test-pcl4014:~#

root@test-pcl4014:~# curl http://k8s-ns1.cluster111.local/production
curl: (7) Failed to connect to k8s-ns1.cluster111.local port 80: No route to host

root@test-pcl4014:~# curl http://qa.k8s-ns1.cluster111.local/production
curl: (6) Could not resolve host: qa.k8s-ns1.cluster111.local
root@test-pcl4014:~#

I think you've misconfigured you BIND.  You need to configure any zone delegation in the parent zone, which in your case is .local:
$ORIGIN local.
...
k8s-ns1	IN	A	<IP_ADDRESS>	; glue record
;
$ORIGIN cluster114.local.
$TTL 1D
@		IN  NS  k8s-ns1.cluster114.local.

What you've done instead is defined the cluster114.local inside BIND. you can see that by doing dig +trace and you'll see that your query never gets to k8s_gateway


web-to-file mapping

when viewing a recipe in a web browser, it should be easy to find the filename of the recipe markdown file in github/on disk, to reduce the hassle of editing.

added button to copy filename in https://github.com/escowles/recipes/commit/bf186cf4d0b84b08a5f779d4fc4648732932620c


improved error handing

When an error is thrown by stocator, it is very difficult to find the cause of the error.  For example:
Py4JJavaError: An error occurred while calling z:org.apache.spark.api.python.PythonRDD.collectAndServe.
: java.lang.NullPointerException
	at org.javaswift.joss.client.impl.ClientImpl.createAccount(ClientImpl.java:100)
	at org.javaswift.joss.client.impl.ClientImpl.createAccount(ClientImpl.java:27)
        ...

Stocator is quite difficult to work with because the error messages generally don't help you identify the root cause of the problem.

@snowch in general, Stocator provides many info when exception happens.
Can you show the whole trace? The exception you copy-paste here is from JOSS on create account.. this might happen when some auth related information is missing.
I need to see the whole flow, perhaps some scenarios in Stocator need better exception handling and provide better information.


xml tools not showing for large file in VS Code 64 bit Insiders

I downloaded the VS Code 64bit Insider in the hope that it could handle some rather large XML files (the 32 bit version complained the files were too large). I was able to load a large file (256 MB) with no problem but XML Tools options are not present for this file - No formatting or syntax highlighting. Smaller XML files do show XML Tools capability.

Moving to backlog for now until we can get more information.

I also have this problem opening large XML files (67MB). The new command you added does show up (Ctrl+Shift+P, "Format" -> "Xml Tools: Format as Xml", "Format Document") but when I activate it nothing happens. Same procedure on a 22kB xml file works fine.
I also noticed that the XML syntax highlighting stops working on large xml files. My guess is that there is some kind of restriction in VS Code.
Any how I found a large xml sample file on the page belowthat will show you the problem.
http://www.xml-benchmark.org/downloads.html, click on the ready-made document below the data generator downloads and you will get a 100 MB large xml file. I use VS Code 1.12.0 and XML Tools 1.9.2.

Same problem as Zyxious working with a 16.1MB XML file.
I have VS Code (x64 architecture) version 1.22.2 with XML Tools 1.9.2 installed.

Same here on Gentoo Linux
Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Datum 2018-05-10T16:04:33.747Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architektur x64

Open a 512 Mb xml with some base64 encoded images I recognized:
It takes 5s (i5-6700) to open and display something as unhighlighted text.
[shift][ctrl][F] - please format - shows: 'There is is no document formatter for 'xml' Files installed.'
Choosing the command from the command palette 'XML Tools: Format as XML' doesn't seem to do anything. No cpu increases activity, no additional memory is grabbed.
Take a look on dev tools / console thers is shown:```
[Extension Host] XML language client and server are ready
/home/peters/bin/VSCode-linux-x64/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] activate extension
console.ts:136 [Extension Host] Cannot execute xmlTools.formatAsXml because there is no active text editor.
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104

It seems there are a few limits, file Size? tag content size? execution time? on the editor or language server?
ervin
BTW: eclipse oxygen 3a opened the xml file after increasing the java memory limits dramaticaly (4G/8G) but also didn't format it.

So far, this seems like a limitation imposed by VS Code. The Format as XML command appears simply because it is defined in the extension's manifest. But Code is not activating the extension in time to respond to the command. As far as that language client/server message in the console, that isn't coming from XML Tools as it does not implement a language server at all.
I should also note that XML syntax highlighting is provided by VS Code, not XML Tools. So if Code fails to even highlight the document, it probably hasn't bothered to activate the extension either.
I'll keep this open to continue gathering info as it may be useful to the core VS Code team if they intend to address these large file issues. Thanks for taking the time to provide some info!

I've encountered this issue with a simple 40 MB XML file (Windows 10, latest VS Code 1.24).  Definitely not an XML Tools issue.  Not sure why (no time to debug VS Code), but during command execution, VS Code's commands.registerTextEditorCommand call to extHostEditors.getActiveTextEditor() in extHost.api.impl.ts returns nothing resulting in console.warn('Cannot execute ' + id + ' because there is no active text editor.'); - so, never getting to XML Tools.
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/node/extHost.api.impl.ts

It is sad, but this seem to be by design:
https://github.com/Microsoft/vscode/issues/33460

Interesting.  I saw the "...tokenization, wrapping and folding have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing" message and choose to "forcefully enable features", which sets "editor.largeFileOptimizations": false, so I thought that would be suffficient for overridding that large file limit, at least wrt extHostEditors.getActiveTextEditor().  Guess not.

Thanks for the input, everyone. With this being squarely in VS Code's court for now (and being by design), I'm closing this issue.


VST3 Parameter Menu support

Both VST3 and CLAP have parameter menu support, clap through an extension and vST3 through an iInterface
We should bridge these. It is a very useful property of VST3
Surge XT exercises this in both APIs today.
Not urgent, but before 1.0

solved in branch next

available in 0.9.0


Internal face and boundary face terms in GetEnergy [functional-dev]

My first mfem pull request here, so I apologize if I missed something.

I have added the code in NonlinearForm::GetGridFunctionEnergy so that internal and boundary face contributions are included.
This was basically a cut-and-paste from NonlinearForm::Mult with some minor changes.
I also added wrappers NonlinearForm::GetFunctional and ParNonlinearForm::GetFunctional that call GetEnergy, but that are more expressive of the general intent.

TODO

[ ] ParNonlinearForm::GetParGridFunctionEnergy does not include shared faces yet.  Any thoughts on how to do that?  We need to avoid double counting the shared face contributions to the global energy.
[x] In NonlinearForm::Mult, the vector x is prolongated first to px and then px is used in the integrators.  I noticed that this is not done in NonlinearForm::GetGridFunctionEnergy.  Should it?

Are there any further actions on my part needed at this time?

@jehicken, do you still want to merge this? Please mark this with the WIP or ready-for-review label to save it from being closed.

Thanks.  I have labelled in WIP.  The shared face contributions are still need to be handled, which I have not gotten around to.


installation fails at postinstall

npm install --global windows-build-tools

><EMAIL_ADDRESS>postinstall node_modules\windows-build-tools
> node ./dist/index.js

npm ERR! file bash
npm ERR! path bash
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn bash
npm ERR<EMAIL_ADDRESS>postinstall: `node ./dist/index.js`
npm ERR! spawn bash ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

> node -v
v8.12.0
> npm -v
6.4.1

Windows 10
Tried with Git Bash, cmd, and PowerShell as administrator
Additional logging:
4076 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>4077 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
4080 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'node ./dist/index.js' ]
4081 info lifecycle<EMAIL_ADDRESS>Failed to exec postinstall script
4082 silly lifecycle<EMAIL_ADDRESS>Returned: code: -4058  signal: null
4088 verbose stack Error<EMAIL_ADDRESS>postinstall: `node ./dist/index.js`
4088 verbose stack spawn bash ENOENT
4088 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
4088 verbose stack     at onErrorNT (internal/child_process.js:362:16)
4088 verbose stack     at _combinedTickCallback (internal/process/next_tick.js:139:11)
4088 verbose stack     at process._tickCallback (internal/process/next_tick.js:181:9)
4089 verbose pkgid<EMAIL_ADDRESS>4091 verbose Windows_NT 10.0.17134
4093 verbose node v8.12.0
4094 verbose npm  v6.4.1

I also have this issue


Node debugger fails to run when launching a process with NODE_OPTIONS=--no-node-snapshot

Does this issue occur when all extensions are disabled?: Yes

Version: 1.94.2 (system setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
Steps to Reproduce:

Create a simple project with the following package.json

{
  "name": "sandbox",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "start-no-snapshot": "NODE_OPTIONS=\"--no-node-snapshot\" node index.js"
  },
  "author": "",
  "license": "ISC",
  "description": ""
}

Create a simple index.js script

console.log('Hello World')

Add a breakpoint to your console.log
Run npm start in Debug mode. The breakpoint will work
Run npm start-no-snapshot in Debug Mode. The code will run, but no breakpoints will bind.

It is possible to debug with --no-node-snapshot IF i use --inspect-brk, and then Attach to Process. When I do that, I can debug the process even with --no-node-snapshot.
Traces
Traces of when running the normal process:
Verbose logs are written to:
/home/node/.vscode-server/data/logs/20241025T202720/exthost2/ms-vscode.js-debug/vscode-debugadapter-749c4983.json.gz
/usr/local/bin/npm start
runtime.launch Bootloader imported {
  env: {
    inspectorIpc: '/tmp/node-cdp.2598-829b6388-9.sock',
    deferredMode: false,
    waitForDebugger: '',
    execPath: '/usr/local/bin/node',
    onlyEntrypoint: false,
    verbose: true,
    autoAttachMode: 'always',
    mandatePortTracking: true,
    fileCallback: '/tmp/node-debug-callback-800ea730dae14384'
  },
  args: [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
}
runtime Set debug mode { mode: 0 }
Debugger attached.

><EMAIL_ADDRESS>start
> node index.js

runtime.launch Bootloader imported {
  env: {
    inspectorIpc: '/tmp/node-cdp.2598-829b6388-9.sock',
    deferredMode: false,
    waitForDebugger: '',
    execPath: '/usr/local/bin/node',
    onlyEntrypoint: false,
    verbose: true,
    autoAttachMode: 'always',
    mandatePortTracking: true,
    openerId: '4c1bab8095dd988d9018b069'
  },
  args: [ '/usr/local/bin/node', '/workspaces/vscode/sandbox/index.js' ]
}
runtime Set debug mode { mode: 0 }
Debugger attached.
Hello, world!
2
Waiting for the debugger to disconnect...

Traces for when running with --no-node-snapshot
Verbose logs are written to:
/home/node/.vscode-server/data/logs/20241025T202720/exthost2/ms-vscode.js-debug/vscode-debugadapter-384a28de.json.gz
/usr/local/bin/npm run start-no-snapshot
runtime.launch Bootloader imported {
  env: {
    inspectorIpc: '/tmp/node-cdp.2598-957b5608-19.sock',
    deferredMode: false,
    waitForDebugger: '',
    execPath: '/usr/local/bin/node',
    onlyEntrypoint: false,
    verbose: true,
    autoAttachMode: 'always',
    mandatePortTracking: true,
    fileCallback: '/tmp/node-debug-callback-361c66c988144d9a'
  },
  args: [
    '/usr/local/bin/node',
    '/usr/local/bin/npm',
    'run',
    'start-no-snapshot'
  ]
}
runtime Set debug mode { mode: 0 }
Debugger attached.

><EMAIL_ADDRESS>start-no-snapshot
> NODE_OPTIONS="--no-node-snapshot" node index.js

Hello, world!
Waiting for the debugger to disconnect...

Here is my launch.json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Normal",
            "runtimeExecutable": "npm",
            "runtimeArgs": [
                "start"
            ],
            "skipFiles": [
                "<node_internals>/**"
            ],
			"trace": true,
			"outputCapture": "std"
        },
		{
            "type": "node",
            "request": "launch",
            "name": "Launch Without Node snapshot",
            "runtimeExecutable": "npm",
            "runtimeArgs": [
				"run",
                "start-no-snapshot"
            ],
            "skipFiles": [
                "<node_internals>/**"
            ],
			"trace": true,
			"outputCapture": "std"
        },
    ]
}

I also ran VSCode from Source, and got the same behavior. My theory is that by disabling the node snapshot, it's throwing of some timing to attach the debugger, since now node will have to do extra work to init the process?

I just realized this might be a problem at https://github.com/microsoft/vscode-js-debug, and not the vscode repository, I'll move the issue

Moved to https://github.com/microsoft/vscode-js-debug/issues/2115


tensorflow-rocm needs hipErrorNoBinaryForGpu (does it need recompile?)

Environment

Hardware
description

GPU
-      Navi21 RX6800

CPU
-       AMD

Software
version

OS
-    20.04.2

ROCm
-  4.2

Python
-

What is the expected behavior
tensorflow-rocm works after completing the install in this repo
What actually happens
ian@xxxx~/Documents/Src$ /home/ian/.envs/py3tf2/bin/python /home/ian/Documents/Src/test.py
2021-05-27 12:35:24.176982: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-05-27 12:35:24.177308: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libamdhip64.so
/home/ian/Documents/rocm-build/ROCm/HIP/rocclr/hip_code_object.cpp:486: "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)
How to reproduce
pip install tensorflow-rocm
...
...
Successfully installed tensorflow-rocm-2.4.3
python
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout
model = Sequential()

Yes, you need recompile tensorflow with gfx1030, but  itis no guanrontee that we can run ROCm on gfx1030 properly.
Good news is ROCm said they will support navi in 2021. So my suggestion is waiting for official support.

I guess gfx1030 will be supported on ROCm-4.3.
https://github.com/ROCmSoftwarePlatform/rocBLAS/blob/release/rocm-rel-4.3/CMakeLists.txt#L169

Indeed. Thanks for this project.

Hi.
I have ROCm 4.3 with gfx1030. I installed tensorflow-rocm and when it imports fine. But when I run to check if it's using GPU, then I get this:
tf.config.list_physical_devices('GPU')
2021-09-11 09:15:31.830208: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libamdhip64.so
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)

Any suggestions?

@xuhuisheng  sadly ROCM still doesnt supper Navi. I was also hoping 4.3 would. Some of the libraries did add support.

Which deep learning frameworks can I use then?

@Flock1
The tensorflow cost more time than pytorch.
If I have a gfx1030, I will recompile pytorch to test.
Here is some scipts for gfx1030:
https://github.com/xuhuisheng/rocm-build/tree/master/navi21


Refactor the workflow notebook

I have enjoyed diving into your drake-powered workflow, and I am learning a lot about recipes and keras in the process. In this PR, I propose a modified workflow that trains multiple models and compares them in terms of performance. Advantages of the new R Markdown document:

It motivates the value that drake brings to a deep learning workflow. You can train multiple models in parallel (see the tips at the bottom) and skip models that are already up to date.
The new drake plan is easier to read, and it has more room for exploring multiple models, which is what plans were designed to do.
We duplicate less data in the new plan.
The new workflow serializes and unserializes the models according to keras best practices while preserving most of the convenience of drake's caching system. That way, make() can run post-processing on models trained in a previous session.

cc @edgararuiz

By the way, this PR fixes #4 and #5.

Awesome work, thank you Will!


APP have 0x20000000 Flags in CreateDeviceAndSwapChain function. When I capture, create device is well and generate rdc file, but replay is error.

Description
APP have 0x20000000 Flags in CreateDeviceAndSwapChain( , Flags = 0x20000000, ..) function. When I capture, renderdoc create device is well, but replay is error. In d3d11_replay.cpp, D3D11_CreateReplayDevice function.
WGF11FillRules_2023.11.28_06.13.56_frame0.rdc.zip
please remove .zip postfix to use.
Steps to reproduce
1 run capture, Flags is 0x20000000,create device well. capture a rdc file.
2 convert to xml. Show that "536870912",  536870912 is 0x20000000
3 open rdc file,  CreateDeviceAndSwapChain  is error in function D3D11_CreateReplayDevice
Environment

RenderDoc version: v1.29
Operating System: win10 profession
Graphics API: D3D11
GPU: intel

0x20000000 is not a valid flag to pass to device creation, your application should not be passing it. If you use the API in invalid ways RenderDoc may not function correctly.


move v3.11.0 to v4.1.0

/retest

@mfojtik also update https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/master/manifests/03_config.cr.yaml ?

/hold
lets wait for release cut before merging this.

@mfojtik bump (needs rebase)


Fix SystemTextJson read only properties handling

The SystemTextJsonReflectionService didn't properly handle when a setter (or getter) was missing. As a result read-only private properties and read-only static properties were not ignored when building type schema via reflection.
Fixes #1694

I just ran into the same problem and wanted to raise the same PR as a fix :) Nice job! Hope it get's merged soon!

thanks for the PR.


Choosing between normal fullscreen and windowed fullscreen mode

I'd like the user to be able to to select whether to use a normal fullscreen mode or a windowed fullscreen mode. By default, GLFW resorts to giving a windowed fullscreen mode if and only if the selected mode matches the current display mode. Is it possible to override this behavior in GLFW?

As noted in full screen windows documentation, you only get a full screen window if you specify a monitor for your window and as you said a windowed fullscreen mode is made by matching the selected mode with the current display mode.
You can choose a sensible default for your application, then offer the user the option of changing the behaviour, store their choice in some manner and on future execution of your application check whether the user has changed the options from the default behaviour before creating your window.
For switching between fullscreen mode and windowed fullscreen mode without recreating your window you would have to use the glfwSetWindowMonitor() function.
Assuming I understood your question, the above should give you a decent idea of what to do and where to look for the related documentation. I hope it helps!

Thanks for the quick response!
So I already let the user select between fullscreen and windowed fullscreen mode, as well is resolution (for normal fullscreen mode). The issue arises when the user selects a normal fullscreen mode at the desktop resolution, because GLFW by default wants to make this windowed fullscreen.
As far as I know, the only way to get the proper behavior is to first select any other resolution when creating the window (fullscreen mode), and then use glfwSetWindowMonitor() to switch back to the desktop resolution. This doesn't seem like a very robust or elegant solution.

After reading through the documentation and performing some tests myself I found out no way to force GLFW to create a fullscreen mode window at desktop resolution is that is not windowed fullscreen.
The next best thing I managed to do is setting the GLFW_RESIZABLE hint to GLFW_FALSE, then creating a window at a non-desired resolution that is a supported videomode and finally using glfwSetWindowMonitor() to change the window to the desired resolution. Which did require me to change the viewport with glViewport(). See relevant code sample below.
GLFWmonitor* primary = glfwGetPrimaryMonitor();
const GLFWvidmode* mode = glfwGetVideoMode(primary);
glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);

/* my native resolution is 1920x1080,
** it would be better to grab a videomode rather than hardcoding a resolution like below,
** but for testing purposes this works
*/

GLFWwindow* window = glfwCreateWindow(1680, 1050, "example", primary, NULL);
glfwSetWindowMonitor(window, primary, 0, 0, mode->width, mode->height, mode->refreshRate);
glfwMakeContextCurrent(window);

gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
glViewport(0, 0, mode->width, mode->height);
glfwShowWindow(window);

You didn't mention whether you hide the window at first before creating the window and showing it after switching to desktop resolution or not. If you aren't, could you try it and see if that helps you? I hope this at least gives you the desired behaviour!

Thanks for the example. Even though I hide the window initially, it does switch resolution to the temporary resolution. Which is not ideal as it messes with my other windows after I quit the application, and obviously is very flickery at startup so to say. But at least it seems like a work-around.
However, I do have some doubts whether I'm actually getting an exclusive fullscreen mode? At least alt-tabbing is as fast as in windowed fullscreen mode.
I also seem to have a separate issue (I think?) in that my refresh rate is always set to 60Hz whenever I change resolution through GLFW. My monitor supports up to 165 Hz. I have tried both setting the refresh rate to GLFW_DONT_CARE and 165 manually. I do get 165 Hz as a valid mode from GLFW, so it is detecting support for it.

With a dual monitor setup I do not get the messing with windows or flickery at startup that you describe, do you happen to have some minimal code in which you still encounter this? What platform(s) do you encounter this on? I don't think I can help you that much more, but I would expect that the answers to these questions could make it easier for someone else to help you.
Alt-tabbing should still be very fast when you are at a native resolution, at least this is my experience with games in general, regardless of windowed fullscreen.
As for your refreshrate issue, I've read through some of the source code and in all *_window.c files except wl_window.c, the function _glfwPlatformSetWindowMonitor accepts a refreshrate parameter, but does not seem to be doing anything with it(on the master branch, latest commit). This may or may not be relevant to your issue.
@elmindreda should know about this and would likely want to know since it sounds like a bug, regardless of whether the above is relevant.
I would love to try and reproduce your refreshrate issue, but I lack a high refreshrate monitor for this.

I used your exact code right now, by modifying simple.c, which resulted in the same problem. I'm on Windows 10 here. In fact, the GLFW_VISIBLE flag doesn't do anything for fullscreen it seems, only on normal windows. I never need to call glfwShowWindow() for it to show.
As for the refresh rate issue. I poked around a bit for debugging purposes, and the correct refresh rate is initially being sent through the Windows API in ChangeDisplaySettingsExW(). In fact, I think I'm getting the correct video mode for exactly two frames (according to glfwGetVideoMode() being run in the game loop), before it switches to 60 Hz.
I also tried a few other commercial games and they all seem to work as expected, giving me 165 Hz at any resolution.

By default, GLFW resorts to giving a windowed fullscreen mode if and only if the selected mode matches the current display mode. Is it possible to override this behavior in GLFW?

@mikke89 There is no difference between these things for OpenGL at the platform API level. The difference described in the documentation only refers to whether a video mode is set, but I phrased it in Direct3D terms as those are so pervasive in gamedev.
Technically there are ways to explicitly choose between copying and page flipping on Windows. However, modern drivers appear to ignore these requests and instead decide whether a window gets page flipping based on its size, position and z-order. This as far as I can tell is the cause of #527.

As far as I know, the only way to get the proper behavior is to first select any other resolution when creating the window (fullscreen mode), and then use glfwSetWindowMonitor() to switch back to the desktop resolution. This doesn't seem like a very robust or elegant solution.

@mikke89 That shouldn't affect the above behavior. Please don't do that.

The next best thing I managed to do is setting the GLFW_RESIZABLE hint to GLFW_FALSE, then creating a window at a non-desired resolution that is a supported videomode and finally using glfwSetWindowMonitor() to change the window to the desired resolution.

@FlandreScarlet That shouldn't affect anything either. Did it have any effect? If so that may be a bug in GLFW.

As for your refreshrate issue, I've read through some of the source code and in all *_window.c files except wl_window.c, the function _glfwPlatformSetWindowMonitor accepts a refreshrate parameter, but does not seem to be doing anything with it(on the master branch, latest commit).

@FlandreScarlet Yeah, that bit is a little hairy. The relevant line is this one, where the desired video mode is updated in preparation for this call which in turn calls _glfwSetVideoModeWin32, but...

As for the refresh rate issue. I poked around a bit for debugging purposes, and the correct refresh rate is initially being sent through the Windows API in ChangeDisplaySettingsExW(). In fact, I think I'm getting the correct video mode for exactly two frames (according to glfwGetVideoMode() being run in the game loop), before it switches to 60 Hz.
I also tried a few other commercial games and they all seem to work as expected, giving me 165 Hz at any resolution.

@mikke89 ...this does sound like a bug in GLFW. Will look into it.

The next best thing I managed to do is setting the GLFW_RESIZABLE hint to GLFW_FALSE, then creating a window at a non-desired resolution that is a supported videomode and finally using glfwSetWindowMonitor() to change the window to the desired resolution.

@FlandreScarlet That shouldn't affect anything either. Did it have any effect? If so that may be a bug in GLFW.

@elmindreda this bit was a typo/mistake on my part, it should have said GLFW_VISIBLE. To my knowledge and from what I've seen GLFW_RESIZABLE does not affect fullscreen windows.

@elmindreda Thanks for the clarification, I see there is no reason to distinguish between exclusive and windowed fullscreen mode then.
Please let me know if I can assist with the refresh rate issue.

@FlandreScarlet Ah, that makes sense. Thank you for the correction.
@mikke89 I can't seem to reproduce this with my Windows system and a monitor that supports the same resolution with different refresh rates. I always seem to get (and keep) the desired refresh rate. I'm not sure right now what information would be useful to get from your machine.

Not sure what changed, but the refresh rate issue is no longer present on my end. Closing this as I cannot reproduce it anymore.


GitHub action for updating SPDX licenses

Basically this: https://github.com/mdogan/homebrew-zulu/blob/master/.github/workflows/upgrade.yml

Fixed

Blocked on getting a token for our robot account


fix issue #86

fixes https://github.com/Idean/Flutter-Neumorphic/issues/86

added half of thumb size horizontal padding on slider
removed gradientBorderRadius

tested it an it works ! thanks a lot I merge it now !

I publish a 1.0.3+4 with this fix


Update the how to extend Ballerina page

Purpose

This PR removes the old content in the "How to extend Ballerina" page and adds new content in its place.

Related PR: https://github.com/ballerinax/hello/pull/18

@Thimuth @madhuramendis, To which branch, should we merge this fix?

Closing this since this was merged to the new website repo.


fix: PUT requests was mistakenly labeled as POST

Previously, the logger for PUT requests was mistakenly labeled as POST

Thanks for catching that! Silly mistake on my end.


Post dashboard voltages periodically

This feature posts the dashboard 3v3, 5v, 12v, and 24v rails as onto the CAN bus once every second.

Awaiting testing
The 3v3 and 5v rails are posting higher than expected voltages.

This may(?) be caused by a different resistor on the car than specified in the Altium design.

Changed your base branch to target the 2024 car, as master is now PER25. Keep in mind it has been a while, so you might want to rebase.


Some amd64 containers not running on arm64 host

Describe the bug
Cannot run some amd64 containers on arm64 host.
I am attempting to run an image based on https://hub.docker.com/_/microsoft-dotnet-nightly-runtime-deps, tag 8.0-alpine-aot with no luck.
However, running alpine, tag latest works as expected.
To Reproduce
$ docker run -it --rm --platform linux/amd64 my-dotnet-runtime-deps-app:8.0-alpine-aot
OrbStack ERROR: Dynamic loader not found: /lib64/ld-linux-x86-64.so.2

This usually means that you're running an x86 program on an arm64 OS without multi-arch libraries.
To fix this, you can:
  1. Use an Intel (amd64) container to run this program; or
  2. Install multi-arch libraries in this container.

This can also be caused by running a glibc executable in a musl distro, or vice versa.

For more details and instructions, see https://go.orbstack.dev/multiarch

$ docker run -it --rm --platform linux/amd64 alpine:latest
/ # echo 'Works!'
Works!
/ #

Expected behavior
amd64 containers are run under Rosetta with required libraries as expected here: https://docs.orbstack.dev/docker/#intel-x86-emulation
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.1.0
Commit: bfae870a3b9d4fba5c1c26711ac5a5b9183bdb74 (v1.1.0)
System info:
macOS: 14.1.2 (23B92)
CPU: arm64, 8 cores
CPU model: Apple M1 Pro
Model: MacBookPro18,3
Memory: 16 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-12-06T03-55-45.182244Z.zip
Screenshots and additional context (optional)
No response

This is because the program you're trying to run was complied for a glibc distro but your image is Alpine, which uses musl instead. It's not related to x86 emulation. You'll have to either compile the program for Alpine (musl) or use a glibc-based image.

Thanks, that should have been obvious in hindsight 👀
This comment outlines the issue I had: https://github.com/dotnet/dotnet-docker/issues/4388#issuecomment-1500965066